ports/opt (3.0): polkit: Moved from kde4 to opt
commit 1baf5b9db5f10fef2e3ed610e2b3c1183f5d1c97 Author: Alan Mizrahi <alan+crux@mizrahi.com.ve> Date: Sat Sep 28 08:24:07 2013 +0900 polkit: Moved from kde4 to opt diff --git a/polkit/.footprint b/polkit/.footprint new file mode 100644 index 0000000..50c922d --- /dev/null +++ b/polkit/.footprint @@ -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/ diff --git a/polkit/.md5sum b/polkit/.md5sum new file mode 100644 index 0000000..cd97ba3 --- /dev/null +++ b/polkit/.md5sum @@ -0,0 +1 @@ +b0f2fa00a55f47c6a5d88e9b73f80127 polkit-0.112.tar.gz diff --git a/polkit/Pkgfile b/polkit/Pkgfile new file mode 100644 index 0000000..9ba1811 --- /dev/null +++ b/polkit/Pkgfile @@ -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 +} diff --git a/polkit/pre-install b/polkit/pre-install new file mode 100644 index 0000000..5ec99f6 --- /dev/null +++ b/polkit/pre-install @@ -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
participants (1)
-
crux@crux.nu