lxpanel done

This commit is contained in:
aliriza committed 2023-03-16 07:49:39 +00:00
1 parent 2157bf3d33
commit 468a52716c
10 files changed
+88 -22

No files matched your search

+1
View File
@@ -0,0 +1 @@
polkitd:x:102:polkitd
+12
View File
@@ -0,0 +1,12 @@
#!/sbin/openrc-run
supervisor=supervise-daemon
name="Polkit System Daemon"
description="Provide System authentication via PolicyKit1 D-Bus service"
command=/usr/lib/polkit-1/polkitd
command_args="${POLKIT_OPTS:---no-debug}"
depend() {
need dbus
}
+1
View File
@@ -0,0 +1 @@
polkitd:x:102:102:User for polkitd:/var/empty:/sbin/nologin
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
if [ ! -f /var/lib/ymp/sysconf/polkit/postinstall.done ] ; then
install -d /usr/share/polkit-1/rules.d
install -d /etc/polkit-1/rules.d
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
+17 -4
View File
@@ -7,10 +7,16 @@ description='Application development toolkit for controlling system-wide privile
email='akarsu@protonmail.com'
maintainer='akarsu'
license=('GPLv3')
source=("https://gitlab.freedesktop.org/polkit/polkit/-/archive/$version/polkit-$version.tar.gz")
source=("https://gitlab.freedesktop.org/polkit/polkit/-/archive/$version/polkit-$version.tar.gz"
"polkit.groups"
"polkit.passwd"
"polkit.sysconf")
depends=(duktape expat glib pam elogind)
makedepends=(git gobject-introspection gtk-doc meson)
md5sums=('bbe3e745fc5bc1a41f1b5044f09a0f26')
makedepends=(gobject-introspection gtk-doc meson)
md5sums=('bbe3e745fc5bc1a41f1b5044f09a0f26'
'SKIP'
'SKIP'
'SKIP')
group=(sys.auth)
uses=()
arch=('x86_64')
@@ -19,7 +25,9 @@ cd $name-$version
setup(){
meson setup build --prefix=/usr \
--libdir=/usr/lib64/
--libdir=/usr/lib64/ \
-Dsession_tracking="libelogind" \
-Dsystemdsystemunitdir=/garbage
}
build(){
@@ -28,5 +36,10 @@ build(){
package(){
ninja -C build install $jobs
rm -rf $DESTDIR/garbage
install -d $DESTDIR/etc/{passwd,group,sysconf}.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
}