[SM-Commit] GIT changes to master grimoire by Eric Sandall (6d367e2968996fc9fbf08dc40b73d865808538c7)

Eric Sandall scm at sourcemage.org
Tue Jun 23 02:37:20 EDT 2009


GIT changes to master grimoire by Eric Sandall <sandalle at sourcemage.org>:

 disk/udev/BUILD     |    1 +
 disk/udev/CONFIGURE |    5 +++++
 disk/udev/DEPENDS   |    5 +++++
 disk/udev/HISTORY   |    6 ++++++
 4 files changed, 17 insertions(+)

New commits:
commit 6d367e2968996fc9fbf08dc40b73d865808538c7
Author: Eric Sandall <sandalle at sourcemage.org>
Commit: Eric Sandall <sandalle at sourcemage.org>

    udev: Query for enabling acl and gperf extra functionality
    Without '--disable-extras' udev fails to compile if acl is not installed
    Depends on acl and gperf when enabling extras
    Pass UDEV_EXTRAS to OPTS

diff --git a/disk/udev/BUILD b/disk/udev/BUILD
index 27bbb52..4f68377 100755
--- a/disk/udev/BUILD
+++ b/disk/udev/BUILD
@@ -1,6 +1,7 @@
 OPTS="--prefix=$INSTALL_ROOT/usr \
       --exec-prefix=$INSTALL_ROOT \
       $UDEV_DEBUG \
+      $UDEV_EXTRAS \
       $OPTS" &&
 
 default_build
diff --git a/disk/udev/CONFIGURE b/disk/udev/CONFIGURE
index fdde761..a2f71ad 100755
--- a/disk/udev/CONFIGURE
+++ b/disk/udev/CONFIGURE
@@ -3,6 +3,11 @@ config_query_option UDEV_DEBUG \
                     "--enable-debug" \
                     "--disable-debug" &&
 
+config_query_option UDEV_EXTRAS                                                    \
+                    "Compile hash function generator and access control lists"  n  \
+                    "--enable-extras"                                              \
+                    "--disable-extras"                                             &&
+
 if spell_ok hotplug; then
   message "You seem to have hotplug installed. Hotplug has been" \
           "officially\ndeprecated in favor of udev, and it is" \
diff --git a/disk/udev/DEPENDS b/disk/udev/DEPENDS
index 14efccc..972c246 100755
--- a/disk/udev/DEPENDS
+++ b/disk/udev/DEPENDS
@@ -1,6 +1,11 @@
 depends gnupg &&
 depends smgl-fhs &&
 
+if [[ "$UDEV_EXTRAS" == "y" ]]; then
+  depends  acl    &&
+  depends  gperf
+fi  &&
+
 optional_depends libselinux \
                  "--with-selinux" \
                  "--without-selinux" \
diff --git a/disk/udev/HISTORY b/disk/udev/HISTORY
index a648e64..3e714fb 100644
--- a/disk/udev/HISTORY
+++ b/disk/udev/HISTORY
@@ -1,3 +1,9 @@
+2009-06-22 Eric Sandall <sandalle at sourcemage.org>
+	* CONFIGURE: Query for enabling acl and gperf extra functionality
+	  Without '--disable-extras' udev fails to compile if acl is not installed
+	* DEPENDS: Depends on acl and gperf when enabling extras
+	* BUILD: Pass UDEV_EXTRAS to OPTS
+
 2009-06-22 Ladislav Hagara <hgr at vabo.cz>
 	* DETAILS: 143
 	* PRE_BUILD: sed fixed, install-udevconfDATA -> install-dist_udevconfDA.



More information about the SM-Commit mailing list