Changeset a0dec5f in freewrt


Ignore:
Timestamp:
Feb 13, 2007, 1:01:31 PM (19 years ago)
Author:
Ralph Paßgang <tha@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
aae7eb1
Parents:
a0a4b6a
Message:
  • merging the last trunk changes to branch

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@1963 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package/shorewall
Files:
8 added
6 edited

Legend:

Unmodified
Added
Removed
  • package/shorewall/Makefile

    ra0a4b6a ra0dec5f  
    3434        install -d -m0755 ${IDIR_SHOREWALL}/etc/shorewall
    3535        install -d -m0755 ${IDIR_SHOREWALL}/usr/share/shorewall
    36         install -d -m0755 ${IDIR_SHOREWALL}/var/lib/shorewall
    3736        install -d -m0755 ${IDIR_SHOREWALL}/sbin
    3837        install -m0755 ./files/shorewall.init ${IDIR_SHOREWALL}/etc/init.d/S${PKG_INIT}${PKG_NAME}
  • package/shorewall/ipkg/shorewall.postinst

    ra0a4b6a ra0dec5f  
    22. $IPKG_INSTROOT/etc/functions.sh
    33add_rcconf shorewall shorewall NO
     4
     5mkdir -p $IPKG_INSTROOT/usr/share/shorewall/runtime
     6chmod 0700 $IPKG_INSTROOT/usr/share/shorewall/runtime
  • package/shorewall/patches/patch-functions

    ra0a4b6a ra0dec5f  
    11$FreeWRT$
    22--- 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 
    413@@ -2331,7 +2331,7 @@ get_routed_networks() # $1 = interface n
    514     local address
  • package/shorewall/patches/patch-install_sh

    ra0a4b6a ra0dec5f  
    11$FreeWRT$
    22--- 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
     3+++ shorewall-3.2.8/install.sh  2007-02-13 00:06:58.000000000 +0100
    44@@ -183,7 +183,6 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/
    55 #
     
    2626 
    2727 #
    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 
    2944 #
    3045 # Install the Firewall Script
     
    4257 echo  "Shorewall script installed in ${PREFIX}${DEST}/$INIT"
    4358 
     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
    4468@@ -273,10 +256,6 @@ if [ ! -f ${PREFIX}/etc/shorewall/shorew
    4569    echo "Config file installed as ${PREFIX}/etc/shorewall/shorewall.conf"
  • package/shorewall/patches/patch-shorewall

    ra0a4b6a ra0dec5f  
    11$FreeWRT$
    22--- shorewall-3.2.8.orig/shorewall      2006-12-12 18:40:34.000000000 +0100
    3 +++ shorewall-3.2.8/shorewall   2007-01-27 19:33:27.000000000 +0100
     3+++ shorewall-3.2.8/shorewall   2007-02-13 00:07:33.000000000 +0100
    44@@ -202,13 +202,17 @@ get_config() {
    55 
     
    2222 
    2323        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  
    11$FreeWRT$
    22--- shorewall-3.2.8.orig/shorewall.conf 2006-10-13 20:03:18.000000000 +0200
    3 +++ shorewall-3.2.8/shorewall.conf      2007-01-27 19:24:08.000000000 +0100
     3+++ shorewall-3.2.8/shorewall.conf      2007-02-13 00:07:50.000000000 +0100
    44@@ -125,7 +125,7 @@ VERBOSITY=1
    55 #             http://www.shorewall.net/shorewall_logging.html
     
    1111 #
    1212 # LOG FORMAT
    13 @@ -329,7 +329,7 @@
     13@@ -329,7 +329,7 @@ SHOREWALL_SHELL=/bin/sh
    1414 # use lock files, set this to "".
    1515 #
    16 
     16 
    1717-SUBSYSLOCK=/var/lock/subsys/shorewall
    1818+SUBSYSLOCK=/var/run/shorewall
    19 
     19 
    2020 #
    2121 # 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.