upg ell iwd libvirt
This commit is contained in:
parent
af5c8ceae1
commit
0507f2ade5
15
ell/PKGBUILD
15
ell/PKGBUILD
|
@ -6,7 +6,7 @@
|
||||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||||
|
|
||||||
pkgname=ell
|
pkgname=ell
|
||||||
pkgver=0.63
|
pkgver=0.64
|
||||||
pkgrel=01
|
pkgrel=01
|
||||||
pkgdesc="Embedded Linux library"
|
pkgdesc="Embedded Linux library"
|
||||||
url="https://01.org/ell"
|
url="https://01.org/ell"
|
||||||
|
@ -19,9 +19,14 @@ source=(https://mirrors.edge.kernel.org/pub/linux/libs/$pkgname/$pkgname-$pkgver
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
|
## we try those configurations but source doesn't accept them
|
||||||
|
## at least we tried
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--disable-dbus
|
--without-zstd \
|
||||||
|
--without-dbus \
|
||||||
|
--disable-ipv6 \
|
||||||
|
--disable-dhcp6
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,8 +48,8 @@ license=('LGPL-2.1-or-later')
|
||||||
|
|
||||||
validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # "Marcel Holtmann <marcel@holtmann.org>"
|
validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # "Marcel Holtmann <marcel@holtmann.org>"
|
||||||
|
|
||||||
sha256sums=(7397c76996d7646b9917ebf016cd67586b10166295af2e0e18cdb5b8f6659965 # ell-0.63.tar.xz
|
sha256sums=(760f3901078409f66cadf1bb24c8bdc60f13d53f6dd66b88631221d2494f8405 # ell-0.64.tar.xz
|
||||||
f881bedb4e08a0543e07e012695ed081d2b734b93cd2b2a2196cac0aa9e5c51a) # ell-0.63.tar.sign
|
89deeced603d17f1bde6a33d9311f7943fe7c87fb553de5df96cb24198221af8) # ell-0.64.tar.sign
|
||||||
|
|
||||||
## 2a6434f44618ec3b8f88f03a7d2221fb9c0c2008e6dad40f626ef71c9ac9e4ad ell-0.63-01-x86_64.pkg.tar.lz
|
## 2637cfbbc172fe691ba24b1b3d2311e66b6e0e445822dc05d3adf3d2b0407ac7 ell-0.64-01-x86_64.pkg.tar.lz
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Contributor: Jameson Pugh <imntreal@gmail.com>
|
# Contributor: Jameson Pugh <imntreal@gmail.com>
|
||||||
|
|
||||||
pkgname=ell
|
pkgname=ell
|
||||||
pkgver=0.63
|
pkgver=0.64
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Embedded Linux library"
|
pkgdesc="Embedded Linux library"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
|
@ -13,7 +13,7 @@ depends=('gcc-libs' 'glibc')
|
||||||
checkdepends=('dbus' 'procps-ng')
|
checkdepends=('dbus' 'procps-ng')
|
||||||
# https://mirrors.edge.kernel.org/pub/linux/libs/ell/sha256sums.asc
|
# https://mirrors.edge.kernel.org/pub/linux/libs/ell/sha256sums.asc
|
||||||
source=(https://mirrors.edge.kernel.org/pub/linux/libs/$pkgname/$pkgname-$pkgver.tar.{xz,sign})
|
source=(https://mirrors.edge.kernel.org/pub/linux/libs/$pkgname/$pkgname-$pkgver.tar.{xz,sign})
|
||||||
sha256sums=('7397c76996d7646b9917ebf016cd67586b10166295af2e0e18cdb5b8f6659965'
|
sha256sums=('760f3901078409f66cadf1bb24c8bdc60f13d53f6dd66b88631221d2494f8405'
|
||||||
'SKIP')
|
'SKIP')
|
||||||
validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # "Marcel Holtmann <marcel@holtmann.org>"
|
validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # "Marcel Holtmann <marcel@holtmann.org>"
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,127 @@
|
||||||
|
`configure' configures ell 0.64 to adapt to many kinds of systems.
|
||||||
|
|
||||||
|
Usage: src/ell-0.64/configure [OPTION]... [VAR=VALUE]...
|
||||||
|
|
||||||
|
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
||||||
|
VAR=VALUE. See below for descriptions of some of the useful variables.
|
||||||
|
|
||||||
|
Defaults for the options are specified in brackets.
|
||||||
|
|
||||||
|
Configuration:
|
||||||
|
-h, --help display this help and exit
|
||||||
|
--help=short display options specific to this package
|
||||||
|
--help=recursive display the short help of all the included packages
|
||||||
|
-V, --version display version information and exit
|
||||||
|
-q, --quiet, --silent do not print `checking ...' messages
|
||||||
|
--cache-file=FILE cache test results in FILE [disabled]
|
||||||
|
-C, --config-cache alias for `--cache-file=config.cache'
|
||||||
|
-n, --no-create do not create output files
|
||||||
|
--srcdir=DIR find the sources in DIR [configure dir or `..']
|
||||||
|
|
||||||
|
Installation directories:
|
||||||
|
--prefix=PREFIX install architecture-independent files in PREFIX
|
||||||
|
[/usr/local]
|
||||||
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
||||||
|
[PREFIX]
|
||||||
|
|
||||||
|
By default, `make install' will install all the files in
|
||||||
|
`/usr/local/bin', `/usr/local/lib' etc. You can specify
|
||||||
|
an installation prefix other than `/usr/local' using `--prefix',
|
||||||
|
for instance `--prefix=$HOME'.
|
||||||
|
|
||||||
|
For better control, use the options below.
|
||||||
|
|
||||||
|
Fine tuning of the installation directories:
|
||||||
|
--bindir=DIR user executables [EPREFIX/bin]
|
||||||
|
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
||||||
|
--libexecdir=DIR program executables [EPREFIX/libexec]
|
||||||
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
||||||
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
||||||
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
||||||
|
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
|
||||||
|
--libdir=DIR object code libraries [EPREFIX/lib]
|
||||||
|
--includedir=DIR C header files [PREFIX/include]
|
||||||
|
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
||||||
|
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
||||||
|
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
||||||
|
--infodir=DIR info documentation [DATAROOTDIR/info]
|
||||||
|
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
||||||
|
--mandir=DIR man documentation [DATAROOTDIR/man]
|
||||||
|
--docdir=DIR documentation root [DATAROOTDIR/doc/ell]
|
||||||
|
--htmldir=DIR html documentation [DOCDIR]
|
||||||
|
--dvidir=DIR dvi documentation [DOCDIR]
|
||||||
|
--pdfdir=DIR pdf documentation [DOCDIR]
|
||||||
|
--psdir=DIR ps documentation [DOCDIR]
|
||||||
|
|
||||||
|
Program names:
|
||||||
|
--program-prefix=PREFIX prepend PREFIX to installed program names
|
||||||
|
--program-suffix=SUFFIX append SUFFIX to installed program names
|
||||||
|
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
||||||
|
|
||||||
|
System types:
|
||||||
|
--build=BUILD configure for building on BUILD [guessed]
|
||||||
|
--host=HOST cross-compile to build programs to run on HOST [BUILD]
|
||||||
|
|
||||||
|
Optional Features:
|
||||||
|
--disable-option-checking ignore unrecognized --enable/--with options
|
||||||
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
||||||
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
||||||
|
--enable-silent-rules less verbose build output (undo: "make V=1")
|
||||||
|
--disable-silent-rules verbose build output (undo: "make V=0")
|
||||||
|
--enable-maintainer-mode
|
||||||
|
enable make rules and dependencies not useful (and
|
||||||
|
sometimes confusing) to the casual installer
|
||||||
|
--enable-dependency-tracking
|
||||||
|
do not reject slow dependency extractors
|
||||||
|
--disable-dependency-tracking
|
||||||
|
speeds up one-time build
|
||||||
|
--enable-static[=PKGS] build static libraries [default=no]
|
||||||
|
--enable-shared[=PKGS] build shared libraries [default=yes]
|
||||||
|
--enable-fast-install[=PKGS]
|
||||||
|
optimize for fast installation [default=yes]
|
||||||
|
--disable-libtool-lock avoid locking (might break parallel builds)
|
||||||
|
--disable-optimization disable code optimization through compiler
|
||||||
|
--enable-debug enable compiling with debugging information
|
||||||
|
--enable-pie enable position independent executables flag
|
||||||
|
--enable-asan enable linking with address sanitizer
|
||||||
|
--enable-lsan enable linking with leak sanitizer
|
||||||
|
--enable-ubsan enable linking with undefined behavior sanitizer
|
||||||
|
--enable-glib enable ell/glib main loop example
|
||||||
|
--disable-tests disable unit tests compilation
|
||||||
|
--disable-tools disable extra tools compilation
|
||||||
|
--disable-examples disable code examples compilation
|
||||||
|
|
||||||
|
Optional Packages:
|
||||||
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
||||||
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
||||||
|
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
|
||||||
|
both]
|
||||||
|
--with-aix-soname=aix|svr4|both
|
||||||
|
shared library versioning (aka "SONAME") variant to
|
||||||
|
provide on AIX, [default=aix].
|
||||||
|
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
||||||
|
--with-sysroot[=DIR] Search for dependent libraries within DIR (or the
|
||||||
|
compiler's sysroot if not specified).
|
||||||
|
|
||||||
|
Some influential environment variables:
|
||||||
|
CC C compiler command
|
||||||
|
CFLAGS C compiler flags
|
||||||
|
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
||||||
|
nonstandard directory <lib dir>
|
||||||
|
LIBS libraries to pass to the linker, e.g. -l<library>
|
||||||
|
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
||||||
|
you have headers in a nonstandard directory <include dir>
|
||||||
|
LT_SYS_LIBRARY_PATH
|
||||||
|
User-defined run-time library search path.
|
||||||
|
PKG_CONFIG path to pkg-config utility
|
||||||
|
PKG_CONFIG_PATH
|
||||||
|
directories to add to pkg-config's search path
|
||||||
|
PKG_CONFIG_LIBDIR
|
||||||
|
path overriding pkg-config's built-in search path
|
||||||
|
GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
|
||||||
|
GLIB_LIBS linker flags for GLIB, overriding pkg-config
|
||||||
|
|
||||||
|
Use these variables to override the choices made by `configure' or to help
|
||||||
|
it to find libraries and programs with nonstandard names/locations.
|
||||||
|
|
||||||
|
Report bugs to the package provider.
|
|
@ -6,7 +6,7 @@
|
||||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||||
|
|
||||||
pkgname=iwd
|
pkgname=iwd
|
||||||
pkgver=2.16
|
pkgver=2.17
|
||||||
pkgrel=01
|
pkgrel=01
|
||||||
pkgdesc='Internet Wireless Daemon w/o systemd'
|
pkgdesc='Internet Wireless Daemon w/o systemd'
|
||||||
url='https://git.kernel.org/cgit/network/wireless/iwd.git/'
|
url='https://git.kernel.org/cgit/network/wireless/iwd.git/'
|
||||||
|
@ -72,9 +72,10 @@ license=('LGPL-2.1-or-later')
|
||||||
|
|
||||||
validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659')
|
validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659')
|
||||||
|
|
||||||
sha256sums=(c1a82032e994861e794cf3b5a16d07ae1aa03a6674f716c73408ffeae2a233ba # iwd-2.16.tar.xz
|
sha256sums=(5901ab3fbb74bb75ec9adda35daeff595e4d238882fee7fc8c805b30ca79d943 # iwd-2.17.tar.xz
|
||||||
1c741a5829fa043dfbe7afae11a38ff44c569c54df24d7a46d0ce0cb84678263 # iwd-2.16.tar.sign
|
57c46389ac953737d5a1fb91e2cecfe972dfcf8f192823b777e3f5735dcafbc5 # iwd-2.17.tar.sign
|
||||||
d5fb4fb864b7a0632117aa2039df535ab5c1d024ae618a1f09e34dfab8ee0cc7) # 0001-use-network-group-for-unprivileged-access.diff
|
d5fb4fb864b7a0632117aa2039df535ab5c1d024ae618a1f09e34dfab8ee0cc7) # 0001-use-network-group-for-unprivileged-access.diff
|
||||||
|
|
||||||
## ca947f5ff7dd9dd3493b500a3ff7d30f68fe635ac7007e809897bd3e2b5dc800 iwd-2.16-01-x86_64.pkg.tar.lz
|
|
||||||
|
## 33f83f43585f8975905614f2d7f73ee740e9e202408042cac9ef380d0f18f1ac iwd-2.17-01-x86_64.pkg.tar.lz
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Contributor: AndyRTR <andyrtr at archlinux.org>
|
# Contributor: AndyRTR <andyrtr at archlinux.org>
|
||||||
|
|
||||||
pkgname=iwd
|
pkgname=iwd
|
||||||
pkgver=2.16
|
pkgver=2.17
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Internet Wireless Daemon'
|
pkgdesc='Internet Wireless Daemon'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
@ -15,7 +15,7 @@ optdepends=('qrencode: for displaying QR code after DPP is started')
|
||||||
source=(https://www.kernel.org/pub/linux/network/wireless/iwd-${pkgver}.tar{.xz,.sign}
|
source=(https://www.kernel.org/pub/linux/network/wireless/iwd-${pkgver}.tar{.xz,.sign}
|
||||||
0001-use-network-group-for-unprivileged-access.diff)
|
0001-use-network-group-for-unprivileged-access.diff)
|
||||||
# https://mirrors.edge.kernel.org/pub/linux/network/wireless/sha256sums.asc
|
# https://mirrors.edge.kernel.org/pub/linux/network/wireless/sha256sums.asc
|
||||||
sha256sums=('c1a82032e994861e794cf3b5a16d07ae1aa03a6674f716c73408ffeae2a233ba'
|
sha256sums=('5901ab3fbb74bb75ec9adda35daeff595e4d238882fee7fc8c805b30ca79d943'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'd5fb4fb864b7a0632117aa2039df535ab5c1d024ae618a1f09e34dfab8ee0cc7')
|
'd5fb4fb864b7a0632117aa2039df535ab5c1d024ae618a1f09e34dfab8ee0cc7')
|
||||||
validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659')
|
validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659')
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
pkgname=(libvirt) # (libvirt-storage-gluster libvirt-storage-iscsi-direct libvirt-storage-rbd)
|
pkgname=(libvirt) # (libvirt-storage-gluster libvirt-storage-iscsi-direct libvirt-storage-rbd)
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgver=10.1.0
|
pkgver=10.1.0
|
||||||
pkgrel=01
|
pkgrel=02
|
||||||
pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc) w/o zstd iscsi systemd"
|
pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc) w/o zstd iscsi systemd"
|
||||||
url="https://libvirt.org/"
|
url="https://libvirt.org/"
|
||||||
depends=('libpciaccess' 'yajl' 'fuse3' 'gnutls' 'parted' 'libssh' 'libxml2' 'numactl' 'polkit' 'libnbd' 'libnl')
|
depends=('libpciaccess' 'yajl' 'fuse3' 'gnutls' 'parted' 'libssh' 'libxml2' 'numactl' 'polkit' 'libnbd' 'libnl')
|
||||||
|
@ -221,5 +221,5 @@ sha256sums=(36d9077e2b0ef6b0c6df3b42e42a67411b6ce3b1564b427b55e65019dde60eed #
|
||||||
6dc7907d6d4d883ac5ea15c195af673c97cff13f4c0493d23196e94bc87f04db # libvirt.sysusers
|
6dc7907d6d4d883ac5ea15c195af673c97cff13f4c0493d23196e94bc87f04db # libvirt.sysusers
|
||||||
465a3e535cdc5549beaf82b41f53b27d5352aab1313277fd0c2f33004d0d59ba) # libvirt.tmpfiles
|
465a3e535cdc5549beaf82b41f53b27d5352aab1313277fd0c2f33004d0d59ba) # libvirt.tmpfiles
|
||||||
|
|
||||||
## b348c4ae469d8a2a2d16a6fb3fd34531cf5dba0b6ecf2787b5623d122fb01418 libvirt-1_10.1.0-01-x86_64.pkg.tar.lz
|
## 5018af914c0c42d483a2d5ef18b7f9f73db0e89ac88e7dc17511cf1ace0105a6 /var/cache/jobextra/libvirt-1_10.1.0-02-x86_64.pkg.tar.lz
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
pkgname=(libvirt libvirt-storage-gluster libvirt-storage-iscsi-direct)
|
pkgname=(libvirt libvirt-storage-gluster libvirt-storage-iscsi-direct)
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgver=10.1.0
|
pkgver=10.1.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)"
|
pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://libvirt.org/"
|
url="https://libvirt.org/"
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
|
|
||||||
pkgname=polkit
|
pkgname=polkit
|
||||||
pkgver=124
|
pkgver=124
|
||||||
pkgrel=02
|
pkgrel=04
|
||||||
pkgdesc="Applicaion development toolkit for controlling system-wide privileges with ConsoleKit support"
|
pkgdesc="Application development toolkit for controlling system-wide privileges with ConsoleKit support"
|
||||||
url="https://gitlab.freedesktop.org/polkit/polkit"
|
url="https://gitlab.freedesktop.org/polkit/polkit"
|
||||||
depends=(duktape expat glib2 pam)
|
depends=(duktape expat glib2 pam)
|
||||||
makedepends=(git gobject-introspection gtk-doc meson)
|
makedepends=(git gobject-introspection gtk-doc meson)
|
||||||
|
@ -16,26 +16,26 @@ checkdepends=(python-dbusmock)
|
||||||
provides=(polkit=$pkgver libpolkit-{agent,gobject}-1.so)
|
provides=(polkit=$pkgver libpolkit-{agent,gobject}-1.so)
|
||||||
backup=(etc/pam.d/polkit-1)
|
backup=(etc/pam.d/polkit-1)
|
||||||
install=polkit.install
|
install=polkit.install
|
||||||
options=('!libtool')
|
#options=('!libtool')
|
||||||
_commit=82f0924dc0eb23b9df68e88dbaf9e07c81940a5a # tags/124
|
_commit=82f0924dc0eb23b9df68e88dbaf9e07c81940a5a # tags/124
|
||||||
source=("git+https://gitlab.freedesktop.org/polkit/polkit.git#commit=$_commit"
|
source=("git+https://gitlab.freedesktop.org/polkit/polkit.git#commit=$_commit"
|
||||||
0001-meson-Pass-polkitd_uid-to-meson_post_install.py.patch
|
0001-meson-Pass-polkitd_uid-to-meson_post_install.py.patch
|
||||||
polkit.sysusers.conf
|
polkit.pam)
|
||||||
99-consolekit.rules)
|
# polkit.sysusers.conf
|
||||||
|
# 99-consolekit.rules)
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd polkit
|
cd polkit
|
||||||
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
|
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
|
||||||
git apply -3 ../0001-meson-Pass-polkitd_uid-to-meson_post_install.py.patch
|
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd polkit
|
cd polkit
|
||||||
|
git apply -3 ../0001-meson-Pass-polkitd_uid-to-meson_post_install.py.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
local meson_options=(
|
local meson_options=(
|
||||||
-D systemdsystemunitdir=foo
|
|
||||||
-D examples=true
|
-D examples=true
|
||||||
-D gtk_doc=true
|
-D gtk_doc=true
|
||||||
-D man=true
|
-D man=true
|
||||||
|
@ -44,6 +44,7 @@ build() {
|
||||||
-D polkitd_user=polkitd
|
-D polkitd_user=polkitd
|
||||||
-D session_tracking=ConsoleKit
|
-D session_tracking=ConsoleKit
|
||||||
-D tests=true
|
-D tests=true
|
||||||
|
-D systemdsystemunitdir=foo
|
||||||
)
|
)
|
||||||
|
|
||||||
arch-meson polkit build "${meson_options[@]}"
|
arch-meson polkit build "${meson_options[@]}"
|
||||||
|
@ -56,6 +57,8 @@ check() {
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
meson install -C build --destdir "$pkgdir"
|
meson install -C build --destdir "$pkgdir"
|
||||||
|
#install -Dm644 "$srcdir/polkit.sysusers" "$pkgdir/usr/lib/sysusers.d/polkit.conf"
|
||||||
|
install -Dm644 "$srcdir/polkit.pam" "$pkgdir/etc/pam.d/polkit-1"
|
||||||
rm -rf $pkgdir/foo
|
rm -rf $pkgdir/foo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,8 +69,8 @@ arch=(x86_64)
|
||||||
license=(LGPL-2.0-or-later)
|
license=(LGPL-2.0-or-later)
|
||||||
|
|
||||||
sha256sums=(SKIP # polkit
|
sha256sums=(SKIP # polkit
|
||||||
3f38c437a792accd2ae22e46f41460d23ba7f1e389deef10b7015cccae15ab0d # 0001-meson-Pass-polkitd_uid-to-meson_post_install.py.patch
|
3f38c437a792accd2ae22e46f41460d23ba7f1e389deef10b7015cccae15ab0d) # 0001-meson-Pass-polkitd_uid-to-meson_post_install.py.patch
|
||||||
f12f590cf5ad621710f75a40b5af88e186d3a0a17d682a8bbe03b833525a3a39 # polkit.sysusers.conf
|
# c7f887e1a8429106b43e8e81849c731e18b3055ef5e9ce0d44706ec23e9ef99e) # 99-consolekit.rules
|
||||||
c7f887e1a8429106b43e8e81849c731e18b3055ef5e9ce0d44706ec23e9ef99e) # 99-consolekit.rules
|
# f12f590cf5ad621710f75a40b5af88e186d3a0a17d682a8bbe03b833525a3a39 # polkit.sysusers.conf
|
||||||
|
|
||||||
## 214a6fd467e52a5771396ece9fac33ff70a6548121faf3cb21521194ee6bcd1d polkit-124-02-x86_64.pkg.tar.lz
|
##
|
||||||
|
|
|
@ -0,0 +1,74 @@
|
||||||
|
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||||
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||||
|
|
||||||
|
pkgname=polkit
|
||||||
|
pkgver=124
|
||||||
|
pkgrel=4
|
||||||
|
pkgdesc="Application development toolkit for controlling system-wide privileges"
|
||||||
|
url="https://gitlab.freedesktop.org/polkit/polkit"
|
||||||
|
arch=(x86_64)
|
||||||
|
license=(LGPL-2.0-or-later)
|
||||||
|
depends=(
|
||||||
|
duktape
|
||||||
|
expat
|
||||||
|
glib2
|
||||||
|
pam
|
||||||
|
)
|
||||||
|
makedepends=(
|
||||||
|
git
|
||||||
|
gobject-introspection
|
||||||
|
gtk-doc
|
||||||
|
meson
|
||||||
|
)
|
||||||
|
checkdepends=(python-dbusmock)
|
||||||
|
provides=(libpolkit-{agent,gobject}-1.so)
|
||||||
|
backup=(etc/pam.d/polkit-1)
|
||||||
|
install=polkit.install
|
||||||
|
_commit=82f0924dc0eb23b9df68e88dbaf9e07c81940a5a # tags/124
|
||||||
|
source=(
|
||||||
|
"git+https://gitlab.freedesktop.org/polkit/polkit.git#commit=$_commit"
|
||||||
|
0001-meson-Pass-polkitd_uid-to-meson_post_install.py.patch
|
||||||
|
polkit.pam)
|
||||||
|
b2sums=('a79cae1f57c652bba5d979ff88101ce6840a5b68a8178c11b813d66efd04c61e8bfb675ea4868d11ee7121e2d4cfe8143bdd7a514e1dd4b49e040831fae361d9'
|
||||||
|
'51200f8600e48fdec61403c2d16d499478dabcb8826d11bd388ab0f32a05531130b45566d4716769043695863dbd9a8e9b9f6b5222316d60bc2e1749ec93b20b'
|
||||||
|
'ead7b003be8f614d18fa1d12740ff00c374c216a52b07631760a4735a11de2d00402f9a93a0cac8eff274a5a39d39048b840eb29e6a5362d2b021369ed2ac0f1')
|
||||||
|
install=polkit.install
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd polkit
|
||||||
|
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
|
||||||
|
}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd polkit
|
||||||
|
git apply -3 ../0001-meson-Pass-polkitd_uid-to-meson_post_install.py.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
local meson_options=(
|
||||||
|
-D examples=true
|
||||||
|
-D gtk_doc=true
|
||||||
|
-D man=true
|
||||||
|
-D os_type=redhat
|
||||||
|
-D polkitd_uid=102
|
||||||
|
-D polkitd_user=polkitd
|
||||||
|
-D session_tracking=ConsoleKit
|
||||||
|
-D tests=true
|
||||||
|
)
|
||||||
|
|
||||||
|
arch-meson polkit build "${meson_options[@]}"
|
||||||
|
meson compile -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
meson test -C build --print-errorlogs -t 3
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
meson install -C build --destdir "$pkgdir"
|
||||||
|
#install -Dm644 "$srcdir/polkit.sysusers" "$pkgdir/usr/lib/sysusers.d/polkit.conf"
|
||||||
|
install -Dm644 "$srcdir/polkit.pam" "$pkgdir/etc/pam.d/polkit-1"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set sw=2 sts=-1 et:
|
||||||
|
|
|
@ -1,5 +1,29 @@
|
||||||
pre_upgrade() {
|
pre_install() {
|
||||||
if (( $(vercmp $2 124-2) < 0 )); then
|
local polkituser=polkitd
|
||||||
install -d -o root -g root -m 755 usr/share/polkit-1/rules.d
|
local polkitgroup=polkitd
|
||||||
fi
|
|
||||||
|
if ! getent group ${polkitgroup} >/dev/null 2>&1 ; then
|
||||||
|
echo "Creating Group: "$polkitgroup" "
|
||||||
|
groupadd -r -g 102 ${polkitgroup}
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! getent passwd ${polkituser} >/dev/null 2>&1 ; then
|
||||||
|
echo "Creating User: "$polkituser" "
|
||||||
|
useradd -M -N -r -u 102 -g 102 -G proc -d / -s /sbin/nologin -c "policykit daemon" ${polkituser}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
|
||||||
|
## See polkit's configure script which tells us what permissions to set
|
||||||
|
|
||||||
|
chown polkitd:polkitd /etc/polkit-1/rules.d /usr/share/polkit-1/rules.d
|
||||||
|
chmod 700 /etc/polkit-1/rules.d /usr/share/polkit-1/rules.d
|
||||||
|
chmod 4755 /usr/lib/polkit-1/polkit-agent-helper-1
|
||||||
|
chmod 4755 /usr/bin/pkexec
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
|
||||||
|
post_install
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
pre_install() {
|
||||||
|
local polkituser=polkitd
|
||||||
|
local polkitgroup=polkitd
|
||||||
|
|
||||||
|
if ! getent group ${polkitgroup} >/dev/null 2>&1 ; then
|
||||||
|
echo "Creating Group: "$polkitgroup" "
|
||||||
|
groupadd -r -g 102 ${polkitgroup}
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! getent passwd ${polkituser} >/dev/null 2>&1 ; then
|
||||||
|
echo "Creating User: "$polkituser" "
|
||||||
|
useradd -M -N -r -u 102 -g 102 -G proc -d / -s /sbin/nologin -c "policykit daemon" ${polkituser}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
|
||||||
|
## See polkit's configure script which tells us what permissions to set
|
||||||
|
|
||||||
|
chown polkitd:polkitd /etc/polkit-1/rules.d /usr/share/polkit-1/rules.d
|
||||||
|
chmod 700 /etc/polkit-1/rules.d /usr/share/polkit-1/rules.d
|
||||||
|
chmod 4755 /usr/lib/polkit-1/polkit-agent-helper-1
|
||||||
|
chmod 4755 /usr/bin/pkexec
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
|
||||||
|
post_install
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
pre_upgrade() {
|
||||||
|
if (( $(vercmp $2 124-2) < 0 )); then
|
||||||
|
install -d -o root -g root -m 755 usr/share/polkit-1/rules.d
|
||||||
|
fi
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
auth requisite pam_nologin.so
|
||||||
|
auth required pam_env.so
|
||||||
|
auth required pam_unix.so
|
||||||
|
account required pam_unix.so
|
||||||
|
session required pam_limits.so
|
||||||
|
session required pam_unix.so
|
||||||
|
password required pam_unix.so
|
Loading…
Reference in New Issue