polkit: adopted port

This commit is contained in:
Tim Biermann 2021-01-29 00:03:01 +00:00
parent c98bf02c69
commit a2fabe2958
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 24 additions and 25 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/TWMfezeX3y2Nq3FbZ/JjpsLxOEHBhLLr3pVWe3bjyraDoDJZdbvuy71Wgios2zhS8eG3VtNz6GbnsGVoK7QawQ=
SHA256 (Pkgfile) = 88270ac8dcd7fc597fee7a88216c1a033de9b1d9426027b6af852e2543709f8b
RWSE3ohX2g5d/XeY+txngf6yX5QN7/dOPDalw7U3FYD9NhO0ISCT1z4sMCm5EQ1oGgRWtzgqTzKCwWKlu1e4pH/XJ/XB/+mNdAc=
SHA256 (Pkgfile) = b64fbadba5e579e8edb4c97c394d60b6f2c82116bca72f6ff90a1f1bc9b73a47
SHA256 (.footprint) = fc826b09ef35bbd0e77b49333ddd6b25dc453415eb52ed3fa8a4047593d42398
SHA256 (polkit-0.118.tar.gz) = 6d54e984e7072339f0d3147179e16e34e5fe0705158f259a765d772dcf78956b
SHA256 (polkit-1) = a7638983d4f629c992dc108a956f8c3bea18404d88efd711a3b877a3dca925ed
SHA256 (polkit-0.118.tar.bz2) = e5ef749afce9b9b5147f3604bd1da2c4e0875bfa99960d3e1d4cf94302931cf9
SHA256 (polkit-1) = 9045eb2a1e2e403b0144d14a5cfe903dc97cfef979c956815a56777c0eb1bf1a

View File

@ -1,32 +1,32 @@
# Description: Application development toolkit for controlling system-wide privileges
# URL: http://www.freedesktop.org/wiki/Software/PolicyKit
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends on: glib util-linux nspr mozjs78 intltool gobject-introspection
# URL: https://gitlab.freedesktop.org/polkit/polkit/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: glib gobject-introspection intltool mozjs78 nspr util-linux
name=polkit
version=0.118
release=1
source=(http://www.freedesktop.org/software/$name/releases/$name-$version.tar.gz
polkit-1)
source=(https://gitlab.freedesktop.org/polkit/polkit/-/archive/$version/$name-$version.tar.bz2
polkit-1)
build() {
cd $name-$version
cd $name-$version
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-tests \
--disable-nls \
--enable-libelogind=no \
--enable-libsystemd-login=no \
--with-authfw=pam \
--disable-man-pages
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-libelogind=no \
--enable-libsystemd-login=no \
--with-authfw=pam \
--disable-tests \
--disable-nls \
--disable-man-pages
make
make DESTDIR=$PKG install
make
make DESTDIR=$PKG install
install -m 0644 $SRC/polkit-1 $PKG/etc/pam.d
install -m 0644 $SRC/polkit-1 $PKG/etc/pam.d
rm -r $PKG/usr/share/locale
rm -r $PKG/usr/share/locale
}

View File

@ -6,4 +6,3 @@ auth include common-auth
account include common-account
password include common-password
session include common-session