[Lunar-commits] <moonbase> polkit: Version bump to 0.103. Adjusting the BUILD as noted within.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Tue Dec 6 22:30:21 CET 2011


commit 0e32c2d98d2b4375343adc1edfa1b5853687857f
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Tue Dec 6 16:30:21 2011 -0500

    polkit: Version bump to 0.103. Adjusting the BUILD as noted within.
    
    Fixing optional_depends flub.
---
 devel/polkit/BUILD   |   25 +++++++++++++++++++++----
 devel/polkit/DEPENDS |    2 +-
 devel/polkit/DETAILS |    6 +++---
 3 files changed, 25 insertions(+), 8 deletions(-)

diff --git a/devel/polkit/BUILD b/devel/polkit/BUILD
index 0437dd8..fd11dd8 100644
--- a/devel/polkit/BUILD
+++ b/devel/polkit/BUILD
@@ -1,11 +1,28 @@
 (
 
-  OPTS+=" --disable-man-pages "  &&
-  default_build &&
+  OPTS+=" --disable-man-pages"  &&
+
+# If expat is yes the make tanks on "line 5975: cd: yes/lib: No such file or directory"
+  sedit "s:\$withval/:/usr/:g" configure.ac &&
+  autoconf &&
+  automake &&
+  default_build  &&
 
 # The following notes are from the ./confiugre summary;
-# NOTE: The directory ${prefix}/etc/polkit-1/localauthority must be owned
+#NOTE: The directory /etc/polkit-1/localauthority must be owned
+#      by root and have mode 700
+  chmod 700 /etc/polkit-1/localauthority &&
+
+#NOTE: The directory /var/lib/polkit-1 must be owned
 #      by root and have mode 700
-  chmod 700 /etc/polkit-1 
+  chmod 700 /var/lib/polkit-1 &&
+
+#NOTE: The file ${exec_prefix}/libexec/polkit-agent-helper-1 must be owned
+#      by root and have mode 4755 (setuid root binary)
+  chmod 4755 /usr/libexec/polkit-agent-helper-1 &&
+
+#NOTE: The file ${exec_prefix}/bin/pkexec must be owned by root and
+#      have mode 4755 (setuid root binary)
+  chmod 4755 /usr/bin/pkexec
 
 ) > $C_FIFO 2>&1
diff --git a/devel/polkit/DEPENDS b/devel/polkit/DEPENDS
index 453e956..eb050bb 100644
--- a/devel/polkit/DEPENDS
+++ b/devel/polkit/DEPENDS
@@ -1,3 +1,3 @@
 optional_depends gobject-introspection "--enable-introspection" "--disable-introspection" "for API collection support"
-optional_depends polkit                "--with-expat"           "--without-expat"         "XML parsing support"
+optional_depends expat                 "--with-expat"           "--without-expat"         "XML parsing support"
 
diff --git a/devel/polkit/DETAILS b/devel/polkit/DETAILS
index da09917..7000657 100644
--- a/devel/polkit/DETAILS
+++ b/devel/polkit/DETAILS
@@ -1,11 +1,11 @@
           MODULE=polkit
-         VERSION=0.102
+         VERSION=0.103
           SOURCE=$MODULE-$VERSION.tar.gz
       SOURCE_URL=http://hal.freedesktop.org/releases
-      SOURCE_VFY=sha1:62907e1c9ffc45a8cd5f2cec2b5eabb168551f0e
+      SOURCE_VFY=sha1:024e213dde0b96e1fc94524e21e0706462a87892
         WEB_SITE=http://hal.freedesktop.org/releases
          ENTERED=20091226
-         UPDATED=20110820
+         UPDATED=20111206
            SHORT="polkit"
 
 cat << EOF


More information about the Lunar-commits mailing list