Changeset 45c2d26 in freewrt
- Timestamp:
- Jan 28, 2007, 9:26:26 PM (19 years ago)
- Children:
- b79caca
- Parents:
- d979a96
- Location:
- package/shorewall
- Files:
-
- 2 added
- 3 deleted
- 1 edited
- 1 moved
-
Makefile (modified) (1 diff)
-
patches/01-whoami.patch (deleted)
-
patches/02-config.patch (deleted)
-
patches/04-autocreatelogfile.patch (deleted)
-
patches/patch-install_sh (moved) (moved from package/shorewall/patches/03-installscript.patch ) (4 diffs)
-
patches/patch-shorewall (added)
-
patches/patch-shorewall_conf (added)
Legend:
- Unmodified
- Added
- Removed
-
package/shorewall/Makefile
rd979a96 r45c2d26 8 8 9 9 PKG_NAME:= shorewall 10 PKG_VERSION:= 3.2. 610 PKG_VERSION:= 3.2.8 11 11 PKG_RELEASE:= 1 12 PKG_MD5SUM:= 4be5e3af5180252492dcaf48f699404f12 PKG_MD5SUM:= d9e354b3f2670ceb021eea51419ff0e9 13 13 PKG_INIT:= 45 14 14 PKG_SOURCE_URL:= http://www1.shorewall.net/pub/${PKG_NAME}/3.2/${PKG_NAME}-${PKG_VERSION} -
package/shorewall/patches/patch-install_sh
rd979a96 r45c2d26 1 diff -Nur shorewall-3.2.6_org/install.sh shorewall-3.2.6/install.sh 2 --- shorewall-3.2.6_org/install.sh 2006-11-12 16:50:09.000000000 +0100 3 +++ shorewall-3.2.6/install.sh 2006-11-29 18:20:35.000000000 +0100 4 @@ -180,23 +180,8 @@ 1 $FreeWRT$ 2 --- shorewall-3.2.8.orig/install.sh 2007-01-17 00:44:59.000000000 +0100 3 +++ shorewall-3.2.8/install.sh 2007-01-27 19:25:56.000000000 +0100 4 @@ -183,7 +183,6 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/ 5 # 6 # Determine where to install the firewall script 7 # 8 -DEBIAN= 5 9 6 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin7 8 -#9 -# Determine where to install the firewall script10 -#11 -DEBIAN=12 -13 10 OWNERSHIP="-o $OWNER -g $GROUP" 14 11 15 -if [ -d /etc/apt -a -e /usr/bin/dpkg ]; then 12 @@ -195,15 +194,6 @@ if [ -n "$PREFIX" ]; then 13 14 install -d $OWNERSHIP -m 755 ${PREFIX}/sbin 15 install -d $OWNERSHIP -m 755 ${PREFIX}${DEST} 16 -elif [ -d /etc/apt -a -e /usr/bin/dpkg ]; then 16 17 - DEBIAN=yes 17 18 -elif [ -f /etc/slackware-version ] ; then … … 22 23 - INIT="shorewall" 23 24 - ARCHLINUX=yes 24 -fi 25 if [ -n "$PREFIX" ]; then 26 if [ `id -u` != 0 ] ; then 27 echo "Not setting file owner/group permissions, not running as root." 28 @@ -239,14 +224,7 @@ 25 fi 26 27 # 28 @@ -238,14 +228,7 @@ echo "shorewall control program installe 29 29 # 30 30 # Install the Firewall Script 31 31 # 32 32 -if [ -n "$DEBIAN" ]; then 33 - install_file_with_backup init.debian.sh /etc/init.d/shorewall 0544 ${PREFIX}/usr/share/shorewall-${VERSION}.bkout33 - install_file_with_backup init.debian.sh ${PREFIX}/etc/init.d/shorewall 0544 ${PREFIX}/usr/share/shorewall-${VERSION}.bkout 34 34 -elif [ -n "$ARCHLINUX" ]; then 35 35 - install_file_with_backup init.archlinux.sh ${PREFIX}${DEST}/$INIT 0544 ${PREFIX}/usr/share/shorewall-${VERSION}.bkout … … 42 42 echo "Shorewall script installed in ${PREFIX}${DEST}/$INIT" 43 43 44 @@ -27 4,10 +252,6 @@44 @@ -273,10 +256,6 @@ if [ ! -f ${PREFIX}/etc/shorewall/shorew 45 45 echo "Config file installed as ${PREFIX}/etc/shorewall/shorewall.conf" 46 46 fi … … 53 53 # Install the zones file 54 54 # 55 @@ -67 6,43 +650,6 @@55 @@ -675,43 +654,6 @@ fi 56 56 # 57 57 install_file firewall ${PREFIX}/usr/share/shorewall/firewall 0555
Note:
See TracChangeset
for help on using the changeset viewer.
