[Pkg-samba-maint] r3077 - in trunk/ctdb/debian: . patches

sathieu at alioth.debian.org sathieu at alioth.debian.org
Sun Oct 4 16:40:30 UTC 2009


Author: sathieu
Date: 2009-10-04 16:40:30 +0000 (Sun, 04 Oct 2009)
New Revision: 3077

Added:
   trunk/ctdb/debian/patches/50-fix-bashism.diff
Modified:
   trunk/ctdb/debian/changelog
Log:
 * 50-fix-bashism.diff is back for another bashism in
    config/events.d/11.natgw


Modified: trunk/ctdb/debian/changelog
===================================================================
--- trunk/ctdb/debian/changelog	2009-10-04 05:34:31 UTC (rev 3076)
+++ trunk/ctdb/debian/changelog	2009-10-04 16:40:30 UTC (rev 3077)
@@ -1,11 +1,13 @@
-ctdb (1.0.90-1) UNRELEASED; urgency=low
+ctdb (1.0.92-1) UNRELEASED; urgency=low
 
   * New upstream release, patches integrated :
     - 30_outdated-autotools.diff 
     - 50-fix-bashism.diff
   * Change my email address, as I am now Debian developer 
+  * 50-fix-bashism.diff is back for another bashism in
+    config/events.d/11.natgw
 
- -- Mathieu Parent <sathieu at debian.org>  Wed, 23 Sep 2009 21:41:00 +0200
+ -- Mathieu Parent <sathieu at debian.org>  Sun, 04 Oct 2009 18:39:27 +0200
 
 ctdb (1.0.88-1) unstable; urgency=low
 

Added: trunk/ctdb/debian/patches/50-fix-bashism.diff
===================================================================
--- trunk/ctdb/debian/patches/50-fix-bashism.diff	                        (rev 0)
+++ trunk/ctdb/debian/patches/50-fix-bashism.diff	2009-10-04 16:40:30 UTC (rev 3077)
@@ -0,0 +1,24 @@
+Goal: Fix bashism
+
+See http://bugs.debian.org/547741
+
+Author: Mathieu Parent <math.parent at gmail.com>
+
+Upstream status: https://bugzilla.samba.org/show_bug.cgi?id=6407
+
+diff --git a/config/events.d/11.natgw b/config/events.d/11.natgw
+index bd31197..4d97b9a 100644
+--- a/config/events.d/11.natgw
++++ b/config/events.d/11.natgw
+@@ -43,7 +43,7 @@ case $cmd in
+ 	NATGWIP=`ctdb natgwlist | head -1 | sed -e "s/^[^ ]* *//"`
+ 
+ 	CTDB_NATGW_PUBLIC_IP_HOST=`echo $CTDB_NATGW_PUBLIC_IP | sed -e "s/\/.*/\/32/"`
+-	if [ "$NATGWMASTER" == "-1" ]; then
++	if [ "$NATGWMASTER" = "-1" ]; then
+ 		echo "There is not NATGW master node"
+ 		exit 1
+ 	fi
+-- 
+1.6.3.3
+




More information about the Pkg-samba-maint mailing list