1
0
forked from ports/opt

polkit: Moved from kde4 to opt

This commit is contained in:
Alan Mizrahi 2013-09-28 08:24:07 +09:00
parent c0c1ec0f51
commit 1baf5b9db5
4 changed files with 111 additions and 0 deletions

70
polkit/.footprint Normal file
View File

@ -0,0 +1,70 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/pk-example-frobnicate
-rwxr-xr-x root/root usr/bin/pkaction
-rwxr-xr-x root/root usr/bin/pkcheck
-rwsr-xr-x root/root usr/bin/pkexec
-rwxr-xr-x root/root usr/bin/pkttyagent
drwxr-xr-x root/root usr/etc/
drwxr-xr-x root/root usr/etc/dbus-1/
drwxr-xr-x root/root usr/etc/dbus-1/system.d/
-rw-r--r-- root/root usr/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
drwxr-xr-x root/root usr/etc/polkit-1/
drwx------ polkitd/root usr/etc/polkit-1/rules.d/
-rw-r--r-- root/root usr/etc/polkit-1/rules.d/50-default.rules
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/polkit-1/
drwxr-xr-x root/root usr/include/polkit-1/polkit/
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkit.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkitactiondescription.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkitauthority.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkitauthorityfeatures.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkitauthorizationresult.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkitcheckauthorizationflags.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkitdetails.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkitenumtypes.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkiterror.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkitidentity.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkitimplicitauthorization.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkitpermission.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkitprivate.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkitsubject.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkitsystembusname.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkittemporaryauthorization.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkittypes.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkitunixgroup.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkitunixnetgroup.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkitunixprocess.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkitunixsession.h
-rw-r--r-- root/root usr/include/polkit-1/polkit/polkitunixuser.h
drwxr-xr-x root/root usr/include/polkit-1/polkitagent/
-rw-r--r-- root/root usr/include/polkit-1/polkitagent/polkitagent.h
-rw-r--r-- root/root usr/include/polkit-1/polkitagent/polkitagentenumtypes.h
-rw-r--r-- root/root usr/include/polkit-1/polkitagent/polkitagentlistener.h
-rw-r--r-- root/root usr/include/polkit-1/polkitagent/polkitagentsession.h
-rw-r--r-- root/root usr/include/polkit-1/polkitagent/polkitagenttextlistener.h
-rw-r--r-- root/root usr/include/polkit-1/polkitagent/polkitagenttypes.h
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libpolkit-agent-1.la
lrwxrwxrwx root/root usr/lib/libpolkit-agent-1.so -> libpolkit-agent-1.so.0.0.0
lrwxrwxrwx root/root usr/lib/libpolkit-agent-1.so.0 -> libpolkit-agent-1.so.0.0.0
-rwxr-xr-x root/root usr/lib/libpolkit-agent-1.so.0.0.0
-rwxr-xr-x root/root usr/lib/libpolkit-gobject-1.la
lrwxrwxrwx root/root usr/lib/libpolkit-gobject-1.so -> libpolkit-gobject-1.so.0.0.0
lrwxrwxrwx root/root usr/lib/libpolkit-gobject-1.so.0 -> libpolkit-gobject-1.so.0.0.0
-rwxr-xr-x root/root usr/lib/libpolkit-gobject-1.so.0.0.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/polkit-agent-1.pc
-rw-r--r-- root/root usr/lib/pkgconfig/polkit-gobject-1.pc
drwxr-xr-x root/root usr/lib/polkit-1/
-rwsr-xr-x root/root usr/lib/polkit-1/polkit-agent-helper-1
-rwxr-xr-x root/root usr/lib/polkit-1/polkitd
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/dbus-1/
drwxr-xr-x root/root usr/share/dbus-1/system-services/
-rw-r--r-- root/root usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service
drwxr-xr-x root/root usr/share/polkit-1/
drwxr-xr-x root/root usr/share/polkit-1/actions/
-rw-r--r-- root/root usr/share/polkit-1/actions/org.freedesktop.policykit.examples.pkexec.policy
-rw-r--r-- root/root usr/share/polkit-1/actions/org.freedesktop.policykit.policy
drwx------ polkitd/root usr/share/polkit-1/rules.d/

1
polkit/.md5sum Normal file
View File

@ -0,0 +1 @@
b0f2fa00a55f47c6a5d88e9b73f80127 polkit-0.112.tar.gz

33
polkit/Pkgfile Normal file
View File

@ -0,0 +1,33 @@
# 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: spidermonkey
name=polkit
version=0.112
release=1
source=(http://www.freedesktop.org/software/$name/releases/$name-$version.tar.gz)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--sysconfdir=/usr/etc \
--localstatedir=/var \
--mandir=/usr/man \
--disable-tests \
--disable-nls \
--disable-static \
--with-polkit-user=polkit \
--with-polkit-group=polkit \
--with-authfw=shadow \
--disable-man-pages
# --disable-man-pages to bypass a problem with docbook
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/man $PKG/etc/pam.d $PKG/usr/share/locale
}

7
polkit/pre-install Normal file
View File

@ -0,0 +1,7 @@
#!/bin/sh
getent group polkitd || /usr/sbin/groupadd -g 83 polkitd
getent passwd polkitd || /usr/sbin/useradd -g polkitd -u 83 -d /var/empty -s /bin/false -c "PolicyKit User" polkitd
/usr/bin/passwd -l polkitd