summaryrefslogtreecommitdiff
path: root/package/shorewall-common
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-12 00:43:43 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-12 00:43:43 +0100
commit965bf8becf63a12169cd964973e3a56fd96e21fe (patch)
tree5c9459da5196712c9153304804a1b44510b6e00b /package/shorewall-common
parent070cac9d32fa7a0f7f4d52eddec901d248cdfae3 (diff)
a bunch of FreeBSD compatibility patches
Diffstat (limited to 'package/shorewall-common')
-rw-r--r--package/shorewall-common/patches/patch-install_sh27
-rw-r--r--package/shorewall-common/patches/patch-shorewall_conf6
2 files changed, 27 insertions, 6 deletions
diff --git a/package/shorewall-common/patches/patch-install_sh b/package/shorewall-common/patches/patch-install_sh
index 715d0130a..b9ed10574 100644
--- a/package/shorewall-common/patches/patch-install_sh
+++ b/package/shorewall-common/patches/patch-install_sh
@@ -1,6 +1,6 @@
$Id$
---- shorewall-common-4.0.5.orig/install.sh 2007-10-19 16:33:06.000000000 +0000
-+++ shorewall-common-4.0.5/install.sh 2007-10-23 23:33:47.000000000 +0000
+--- shorewall-common-4.0.7.orig/install.sh 2007-12-26 22:15:47.000000000 +0100
++++ shorewall-common-4.0.7/install.sh 2009-12-11 23:10:40.000000000 +0100
@@ -183,7 +183,6 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/
#
# Determine where to install the firewall script
@@ -52,7 +52,28 @@ $Id$
#
# Install the zones file
#
-@@ -704,43 +683,6 @@ echo "Man Pages Installed"
+@@ -683,15 +662,18 @@ fi
+
+ cd manpages
+
++run_install -d ${PREFIX}/usr/share/man/man5
++run_install -d ${PREFIX}/usr/share/man/man8
++
+ for f in *.5; do
+ gzip -c $f > $f.gz
+- run_install -D -m 0644 $f.gz ${PREFIX}/usr/share/man/man5/$f.gz
++ run_install -m 0644 $f.gz ${PREFIX}/usr/share/man/man5/$f.gz
+ echo "Man page $f.gz installed to /usr/share/man/man5/$f.gz"
+ done
+
+ for f in *.8; do
+ gzip -c $f > $f.gz
+- run_install -D -m 0644 $f.gz ${PREFIX}/usr/share/man/man8/$f.gz
++ run_install -m 0644 $f.gz ${PREFIX}/usr/share/man/man8/$f.gz
+ echo "Man page $f.gz installed to /usr/share/man/man8/$f.gz"
+ done
+
+@@ -704,43 +686,6 @@ echo "Man Pages Installed"
#
install_file firewall ${PREFIX}/usr/share/shorewall/firewall 0755
diff --git a/package/shorewall-common/patches/patch-shorewall_conf b/package/shorewall-common/patches/patch-shorewall_conf
index 80a55f3e9..c6b781088 100644
--- a/package/shorewall-common/patches/patch-shorewall_conf
+++ b/package/shorewall-common/patches/patch-shorewall_conf
@@ -1,7 +1,7 @@
$Id$
---- shorewall-3.4.5.orig/shorewall.conf 2007-06-20 14:30:57.000000000 +0000
-+++ shorewall-3.4.5/shorewall.conf 2007-07-17 11:08:12.000000000 +0000
-@@ -71,7 +71,7 @@ SHOREWALL_SHELL=/bin/sh
+--- shorewall-common-4.0.7.orig/shorewall.conf 2007-12-10 22:17:04.000000000 +0100
++++ shorewall-common-4.0.7/shorewall.conf 2009-12-11 22:58:41.000000000 +0100
+@@ -72,7 +72,7 @@ SHOREWALL_SHELL=/bin/sh
SUBSYSLOCK=/var/lock/subsys/shorewall