diff --git a/sys/apps/shadow/shadow.sysconf b/sys/apps/shadow/shadow.sysconf index ac6577ef..68b058c2 100644 --- a/sys/apps/shadow/shadow.sysconf +++ b/sys/apps/shadow/shadow.sysconf @@ -1,8 +1,5 @@ #!/bin/sh if [ ! -f /var/lib/ymp/sysconf/shadow/postinstall.done ] ; then - for app in su chage chsh expiry ; do - chmod u+s /usr/bin/$app - done touch /etc/group date > /var/lib/ymp/sysconf/shadow/postinstall.done fi diff --git a/sys/auth/polkit/polkit.sysconf b/sys/auth/polkit/polkit.sysconf index 0e0b1cf5..320794ad 100644 --- a/sys/auth/polkit/polkit.sysconf +++ b/sys/auth/polkit/polkit.sysconf @@ -5,7 +5,5 @@ if [ ! -f /var/lib/ymp/sysconf/polkit/postinstall.done ] ; then chown -R polkitd:polkitd /{etc,usr/share}/polkit-1/rules.d chmod -R 700 /etc/polkit-1/rules.d chmod -R 700 /usr/share/polkit-1/rules.d - chmod 4755 /usr/lib/polkit-1/polkit-agent-helper-1 - chmod 4755 /usr/bin/pkexec date > /var/lib/ymp/sysconf/polkit/postinstall.done fi diff --git a/sys/auth/polkit/ympbuild b/sys/auth/polkit/ympbuild index 0a08be55..34bd2bd1 100644 --- a/sys/auth/polkit/ympbuild +++ b/sys/auth/polkit/ympbuild @@ -9,11 +9,13 @@ maintainer='akarsu' license=('GPLv3') source=("https://gitlab.freedesktop.org/polkit/polkit/-/archive/$version/polkit-$version.tar.gz" "polkit.groups" + "polkit.initd" "polkit.passwd" "polkit.sysconf") depends=(duktape expat glib pam elogind) makedepends=(gobject-introspection gtk-doc meson) md5sums=('bbe3e745fc5bc1a41f1b5044f09a0f26' + 'SKIP' 'SKIP' 'SKIP' 'SKIP') @@ -37,9 +39,10 @@ build(){ package(){ ninja -C build install $jobs rm -rf $DESTDIR/garbage - install -d $DESTDIR/etc/{passwd,group,sysconf}.d + install -d $DESTDIR/etc/{passwd,group,sysconf,init}.d install ../polkit.sysconf $DESTDIR/etc/sysconf.d/polkit install ../polkit.groups $DESTDIR/etc/group.d/polkit install ../polkit.passwd $DESTDIR/etc/passwd.d/polkit + install ../polkit.initd $DESTDIR/etc/init.d/polkit }