Two patches for isusable issues in 4.5.1-RC1.

Install patch should fix install.sh to work as documented.
Syntax patch is to fix shorewall6 isusable to proper sh syntax.

-- 
Tuomo Soini <[email protected]>
Foobar Linux services
+358 40 5240030
Foobar Oy <http://foobar.fi/>
commit e79cf30c7fc5ed9fdd0ad5f406f5411a049fad8d
Author: Tuomo Soini <[email protected]>
Date:   Mon Mar 12 09:04:13 2012 +0200

    install isusable to configfiles/ - fixes commit 05f025e42

diff --git a/Shorewall/install.sh b/Shorewall/install.sh
index 76eddd1..a266a75 100755
--- a/Shorewall/install.sh
+++ b/Shorewall/install.sh
@@ -917,6 +917,10 @@ if [ -z "$SPARSE" -a ! -f ${DESTDIR}/etc/$PRODUCT/clear ]; then
     echo "Clear file installed as ${DESTDIR}/etc/$PRODUCT/clear"
 fi
 #
+# Install the Isusable file
+#
+run_install $OWNERSHIP -m 0644 isusable ${DESTDIR}/usr/share/$PRODUCT/configfiles/isusable
+#
 # Install the Refresh file
 #
 run_install $OWNERSHIP -m 0644 refresh ${DESTDIR}/usr/share/$PRODUCT/configfiles/refresh
commit 3acdda396f184f119b14ca56e9cd9a3adcdcd9a8
Author: Tuomo Soini <[email protected]>
Date:   Mon Mar 12 08:56:24 2012 +0200

    shorewall6: fix isusable to use proper sh syntax

diff --git a/Shorewall6/configfiles/isusable b/Shorewall6/configfiles/isusable
index 4225743..7a4dd97 100644
--- a/Shorewall6/configfiles/isusable
+++ b/Shorewall6/configfiles/isusable
@@ -8,13 +8,15 @@
 #
 #	The script is invoked inside a function that accepts an interface
 #	name as a single argument. The file below is designed to work with
-#	both swping and lsm as described at http://www.shorewall.net/MultiISP.html
+#	both swping and lsm as described at
+#	http://www.shorewall.net/MultiISP.html
 #
 # See http://shorewall.net/shorewall_extension_scripts.htm for additional
 # information.
 #
 ###############################################################################
-local status=0
+local status
+status=0
 
 [ -f ${VARDIR}/${1}.status ] && status=$(cat ${VARDIR}/${1}.status)
 
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to