diff options
-rw-r--r-- | sysutils/polkit/Makefile | 6 | ||||
-rw-r--r-- | sysutils/polkit/distinfo | 6 | ||||
-rw-r--r-- | sysutils/polkit/pkg-install | 39 | ||||
-rw-r--r-- | sysutils/polkit/pkg-plist | 3 |
4 files changed, 6 insertions, 48 deletions
diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile index d5ac2ac0e..e5f40eff1 100644 --- a/sysutils/polkit/Makefile +++ b/sysutils/polkit/Makefile @@ -3,12 +3,11 @@ # Whom: Koop Mast<kwm@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/sysutils/polkit/Makefile,v 1.1 2009/08/17 16:49:09 kwm Exp $ +# $MCom: ports/sysutils/polkit/Makefile,v 1.2 2009/09/10 04:34:25 marcus Exp $ # PORTNAME= polkit -PORTVERSION= 0.94 -PORTREVISION= 1 +PORTVERSION= 0.95 CATEGORIES= sysutils gnome MASTER_SITES= http://hal.freedesktop.org/releases/ @@ -29,7 +28,6 @@ CONFIGURE_ARGS= --disable-gtk-doc \ --with-os-type=freebsd \ --disable-introspection \ --localstatedir=/var \ - --with-polkit-user=polkit CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ GTKDOC="false" diff --git a/sysutils/polkit/distinfo b/sysutils/polkit/distinfo index 177f8a6c5..b37677cf9 100644 --- a/sysutils/polkit/distinfo +++ b/sysutils/polkit/distinfo @@ -1,3 +1,3 @@ -MD5 (polkit-0.94.tar.gz) = 5abc9f858e7b614ef41161db36d53915 -SHA256 (polkit-0.94.tar.gz) = 8fd1dc321a700d78b43a62b1987f321b428bd2d8065468982069cb86bc8ef44f -SIZE (polkit-0.94.tar.gz) = 1009990 +MD5 (polkit-0.95.tar.gz) = 10971f5d334550025897b02d779fddd1 +SHA256 (polkit-0.95.tar.gz) = b484248ed8fa7419170cf98d7cba51d68290783c3c7cac7c5dab7605dfe3c79c +SIZE (polkit-0.95.tar.gz) = 1025805 diff --git a/sysutils/polkit/pkg-install b/sysutils/polkit/pkg-install index 161197c6b..93efeea22 100644 --- a/sysutils/polkit/pkg-install +++ b/sysutils/polkit/pkg-install @@ -2,50 +2,11 @@ case $2 in POST-INSTALL) - USER=polkit - GROUP=${USER} - UID=562 - GID=${UID} - PW=/usr/sbin/pw - - if ${PW} group show "${GROUP}" 2>/dev/null; then - echo "You already have a group \"${GROUP}\", so I will use it." - else - if ${PW} groupadd ${GROUP} -g ${GID}; then - echo "Added group \"${GROUP}\"." - else - echo "Adding group \"${GROUP}\" failed..." - exit 1 - fi - fi - - if ${PW} user show "${USER}" 2>/dev/null; then - echo "You already have a user \"${USER}\", so I will use it." - else - if ${PW} useradd ${USER} -u ${UID} -g ${GROUP} -h - \ - -d "/nonexistent" -s /sbin/nologin -c "PolicyKit Daemon User" - then - echo "Added user \"${USER}\"." - else - echo "Adding user \"${USER}\" failed..." - exit 1 - fi - fi - -# /usr/bin/install -d -o root -m 0770 -g ${GROUP} /var/run/PolicyKit mkdir -p /var/lib/polkit-1 for i in 10-vendor.d 20-org.d 30-site.d 50-local.d 90-mandatory.d; do mkdir -p /var/lib/polkit-1/${i} done chmod 0700 /var/lib/polkit-1 -# /usr/bin/install -d -o ${USER} -m 0755 -g wheel /var/lib/PolicyKit-public -# /bin/mkdir -p /var/lib/misc -# /usr/bin/touch -f /var/lib/misc/PolicyKit.reload -# /usr/sbin/chown ${USER}:${GROUP} /var/lib/misc/PolicyKit.reload -# /bin/chmod 0664 /var/lib/misc/PolicyKit.reload -# for i in ${PKG_PREFIX}/libexec/polkit-read-auth-helper ${PKG_PREFIX}/libexec/polkit-set-default-helper ${PKG_PREFIX}/libexec/polkit-grant-helper ${PKG_PREFIX}/libexec/polkit-grant-helper-pam ${PKG_PREFIX}/libexec/polkit-explicit-grant-helper ${PKG_PREFIX}/libexec/polkit-revoke-helper /var/lib/misc/PolicyKit.reload; do -# /usr/bin/chgrp ${GROUP} ${i} -# done exit 0 ;; esac diff --git a/sysutils/polkit/pkg-plist b/sysutils/polkit/pkg-plist index db209b490..65b9c4c15 100644 --- a/sysutils/polkit/pkg-plist +++ b/sysutils/polkit/pkg-plist @@ -1,4 +1,3 @@ -bin/pk-example-frobnicate bin/pkaction bin/pkcheck bin/pkexec @@ -10,6 +9,7 @@ etc/polkit-1/localauthority.conf.d/50-localauthority.conf etc/polkit-1/nullbackend.conf.d/50-nullbackend.conf include/polkit-1/polkit/polkit.h include/polkit-1/polkit/polkitactiondescription.h +include/polkit-1/polkit/polkitauthorityfeatures.h include/polkit-1/polkit/polkitauthority.h include/polkit-1/polkit/polkitauthorizationresult.h include/polkit-1/polkit/polkitcheckauthorizationflags.h @@ -66,7 +66,6 @@ libexec/polkit-agent-helper-1 libexec/polkitd share/dbus-1/system-services/org.freedesktop.PolicyKit1.service share/locale/da/LC_MESSAGES/polkit-1.mo -share/polkit-1/actions/org.freedesktop.policykit.examples.pkexec.policy share/polkit-1/actions/org.freedesktop.policykit.policy @dirrmtry share/polkit-1/actions @dirrmtry share/polkit-1 |