Changeset a0dec5f in freewrt
- Timestamp:
- Feb 13, 2007, 1:01:31 PM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- aae7eb1
- Parents:
- a0a4b6a
- Location:
- package/shorewall
- Files:
-
- 8 added
- 6 edited
-
Makefile (modified) (1 diff)
-
ipkg/shorewall.postinst (modified) (1 diff)
-
ipkg/shorewall.prerm (added)
-
patches/patch-Makefile (added)
-
patches/patch-compiler (added)
-
patches/patch-configpath (added)
-
patches/patch-fallback_sh (added)
-
patches/patch-firewall (added)
-
patches/patch-functions (modified) (1 diff)
-
patches/patch-install_sh (modified) (3 diffs)
-
patches/patch-shorewall (modified) (2 diffs)
-
patches/patch-shorewall_conf (modified) (2 diffs)
-
patches/patch-shorewall_spec (added)
-
patches/patch-uninstall_sh (added)
Legend:
- Unmodified
- Added
- Removed
-
package/shorewall/Makefile
ra0a4b6a ra0dec5f 34 34 install -d -m0755 ${IDIR_SHOREWALL}/etc/shorewall 35 35 install -d -m0755 ${IDIR_SHOREWALL}/usr/share/shorewall 36 install -d -m0755 ${IDIR_SHOREWALL}/var/lib/shorewall37 36 install -d -m0755 ${IDIR_SHOREWALL}/sbin 38 37 install -m0755 ./files/shorewall.init ${IDIR_SHOREWALL}/etc/init.d/S${PKG_INIT}${PKG_NAME} -
package/shorewall/ipkg/shorewall.postinst
ra0a4b6a ra0dec5f 2 2 . $IPKG_INSTROOT/etc/functions.sh 3 3 add_rcconf shorewall shorewall NO 4 5 mkdir -p $IPKG_INSTROOT/usr/share/shorewall/runtime 6 chmod 0700 $IPKG_INSTROOT/usr/share/shorewall/runtime -
package/shorewall/patches/patch-functions
ra0a4b6a ra0dec5f 1 1 $FreeWRT$ 2 2 --- shorewall-3.2.8.orig/functions 2007-01-09 16:59:41.000000000 +0100 3 +++ shorewall-3.2.8/functions 2007-01-30 22:06:54.000000000 +0100 3 +++ shorewall-3.2.8/functions 2007-02-13 00:06:32.000000000 +0100 4 @@ -23,7 +23,7 @@ 5 6 LIBVERSION=30200 7 8 -[ -n "${VARDIR:=/var/lib/shorewall}" ] 9 +[ -n "${VARDIR:=/usr/share/shorewall/runtime}" ] 10 [ -n "${SHAREDIR:=/usr/share/shorewall}" ] 11 [ -n "${CONFDIR:=/etc/shorewall}" ] 12 4 13 @@ -2331,7 +2331,7 @@ get_routed_networks() # $1 = interface n 5 14 local address -
package/shorewall/patches/patch-install_sh
ra0a4b6a ra0dec5f 1 1 $FreeWRT$ 2 2 --- shorewall-3.2.8.orig/install.sh 2007-01-17 00:44:59.000000000 +0100 3 +++ shorewall-3.2.8/install.sh 2007-0 1-27 19:25:56.000000000 +01003 +++ shorewall-3.2.8/install.sh 2007-02-13 00:06:58.000000000 +0100 4 4 @@ -183,7 +183,6 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/ 5 5 # … … 26 26 27 27 # 28 @@ -238,14 +228,7 @@ echo "shorewall control program installe 28 @@ -225,27 +215,20 @@ if [ -d ${PREFIX}/etc/shorewall ]; then 29 if [ -z "$NOBACKUP" ]; then 30 backup_directory ${PREFIX}/etc/shorewall 31 backup_directory ${PREFIX}/usr/share/shorewall 32 - backup_directory ${PREFIX}/var/lib/shorewall 33 + backup_directory ${PREFIX}/usr/share/shorewall/runtime 34 fi 35 else 36 first_install="Yes" 37 fi 38 39 -install_file_with_backup shorewall ${PREFIX}/sbin/shorewall 0555 ${PREFIX}/var/lib/shorewall-${VERSION}.bkout 40 +install_file_with_backup shorewall ${PREFIX}/sbin/shorewall 0555 ${PREFIX}/usr/share/shorewall/runtime-${VERSION}.bkout 41 42 echo "shorewall control program installed in ${PREFIX}/sbin/shorewall" 43 29 44 # 30 45 # Install the Firewall Script … … 42 57 echo "Shorewall script installed in ${PREFIX}${DEST}/$INIT" 43 58 59 @@ -255,7 +238,7 @@ echo "Shorewall script installed in ${P 60 mkdir -p ${PREFIX}/etc/shorewall 61 mkdir -p ${PREFIX}/usr/share/shorewall 62 mkdir -p ${PREFIX}/usr/share/shorewall/configfiles 63 -mkdir -p ${PREFIX}/var/lib/shorewall 64 +mkdir -p ${PREFIX}/usr/share/shorewall/runtime 65 66 chmod 755 ${PREFIX}/etc/shorewall 67 chmod 755 ${PREFIX}/usr/share/shorewall 44 68 @@ -273,10 +256,6 @@ if [ ! -f ${PREFIX}/etc/shorewall/shorew 45 69 echo "Config file installed as ${PREFIX}/etc/shorewall/shorewall.conf" -
package/shorewall/patches/patch-shorewall
ra0a4b6a ra0dec5f 1 1 $FreeWRT$ 2 2 --- shorewall-3.2.8.orig/shorewall 2006-12-12 18:40:34.000000000 +0100 3 +++ shorewall-3.2.8/shorewall 2007-0 1-27 19:33:27.000000000 +01003 +++ shorewall-3.2.8/shorewall 2007-02-13 00:07:33.000000000 +0100 4 4 @@ -202,13 +202,17 @@ get_config() { 5 5 … … 22 22 23 23 if [ -n "$IPTABLES" ]; then 24 @@ -1804,7 +1808,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/ 25 MUTEX_TIMEOUT= 26 27 SHAREDIR=/usr/share/shorewall 28 -VARDIR=/var/lib/shorewall 29 +VARDIR=/usr/share/shorewall/runtime 30 CONFDIR=/etc/shorewall 31 export PRODUCT="Shorewall" 32 -
package/shorewall/patches/patch-shorewall_conf
ra0a4b6a ra0dec5f 1 1 $FreeWRT$ 2 2 --- shorewall-3.2.8.orig/shorewall.conf 2006-10-13 20:03:18.000000000 +0200 3 +++ shorewall-3.2.8/shorewall.conf 2007-0 1-27 19:24:08.000000000 +01003 +++ shorewall-3.2.8/shorewall.conf 2007-02-13 00:07:50.000000000 +0100 4 4 @@ -125,7 +125,7 @@ VERBOSITY=1 5 5 # http://www.shorewall.net/shorewall_logging.html … … 11 11 # 12 12 # LOG FORMAT 13 @@ -329,7 +329,7 @@ 13 @@ -329,7 +329,7 @@ SHOREWALL_SHELL=/bin/sh 14 14 # use lock files, set this to "". 15 15 # 16 16 17 17 -SUBSYSLOCK=/var/lock/subsys/shorewall 18 18 +SUBSYSLOCK=/var/run/shorewall 19 19 20 20 # 21 21 # KERNEL MODULE DIRECTORY 22 22 @@ -370,7 +370,7 @@ CONFIG_PATH=/etc/shorewall:/usr/share/sh 23 # Failure of shorewall start or shorewall restart 24 # 25 # The value of the option must be the name of an executable file in the 26 -# directory /var/lib/shorewall. If this option is not set or if it is 27 +# directory /usr/share/shorewall/runtime. If this option is not set or if it is 28 # set to the empty value (RESTOREFILE="") then RESTOREFILE=restore is 29 # assumed. 30 #
Note:
See TracChangeset
for help on using the changeset viewer.
