[SCM] Debian packaging for apr branch, master, updated. 4cb4448f5f3b4c6cb3a6ed28edae733ace806ad0

Stefan Fritsch sf at sfritsch.de
Wed Aug 15 18:03:18 UTC 2012


The following commit has been merged in the master branch:
commit 4cb4448f5f3b4c6cb3a6ed28edae733ace806ad0
Author: Stefan Fritsch <sf at sfritsch.de>
Date:   Wed Aug 15 20:02:47 2012 +0200

    Make the /dev/shm sanity check work if it is a symbolic link.

diff --git a/debian/changelog b/debian/changelog
index 2380106..82d97ab 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+apr (1.4.6-4) UNRELEASED; urgency=low
+
+  * Make the /dev/shm sanity check during build work if it is a symbolic link.
+
+ -- Stefan Fritsch <sf at debian.org>  Wed, 15 Aug 2012 19:58:25 +0200
+
 apr (1.4.6-3) unstable; urgency=low
 
   * Fix some issues with resolving loopback addresses of a protocol family
diff --git a/debian/rules b/debian/rules
index 837ea65..df9c076 100755
--- a/debian/rules
+++ b/debian/rules
@@ -82,7 +82,7 @@ ifeq (linux, $(DEB_BUILD_ARCH_OS))
 	if grep -q APR_HAS_POSIXSEM_SERIALIZE.*0 $(BUILDDIR)/include/apr.h ;\
 	then \
 		echo "WARNING: This is Linux but configure did not detect POSIX semaphores." ;\
-		if [ "$(stat -c '%d' /dev/shm)" = "$(stat -c '%d' /dev)" ] ;\
+		if ! df /dev/shm/.|grep -q ^tmpfs ;\
 		then \
 			echo "ERROR: POSIX semaphores not usable and /dev/shm not mounted." ;\
 			echo "ERROR: Aborting." ;\

-- 
Debian packaging for apr



More information about the Pkg-apache-commits mailing list