Changeset 31cd7a3 in freewrt


Ignore:
Timestamp:
Mar 1, 2007, 9:01:17 PM (19 years ago)
Author:
Christian Gmeiner <austriancoder@…>
Children:
2d889fc
Parents:
34bd252
Message:

update shorewall to recent version with patches found in errata

git-svn-id: svn://www.freewrt.org/trunk/freewrt@2120 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package/shorewall
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • package/shorewall/Makefile

    r34bd252 r31cd7a3  
    88
    99PKG_NAME:=              shorewall
    10 PKG_VERSION:=           3.2.8
    11 PKG_RELEASE:=           2
    12 PKG_MD5SUM:=            d9e354b3f2670ceb021eea51419ff0e9
     10PKG_VERSION:=           3.2.9
     11PKG_RELEASE:=           1
     12PKG_MD5SUM:=            2527f79eb57fb06dbd0432ba050e0221
    1313PKG_INIT:=              45
    1414PKG_SOURCE_URL:=        http://www1.shorewall.net/pub/${PKG_NAME}/3.2/${PKG_NAME}-${PKG_VERSION}
  • package/shorewall/patches/patch-compiler

    r34bd252 r31cd7a3  
    11$FreeWRT$
    2 --- shorewall-3.2.8.orig/compiler       2007-01-09 16:59:41.000000000 +0100
    3 +++ shorewall-3.2.8/compiler    2007-02-13 00:04:01.000000000 +0100
    4 @@ -7948,7 +7948,7 @@ __EOF__
     2--- shorewall-3.2.9.orig/compiler       2007-02-09 18:59:34.000000000 +0100
     3+++ shorewall-3.2.9/compiler    2007-03-01 20:52:37.000000000 +0100
     4@@ -835,18 +835,20 @@ validate_policy()
     5            eval parents=\$${zone}_parents
     6            if [ -n "$parents" ]; then
     7                for zone1 in $ZONES $FW; do
     8-                   chain=${zone}2${zone1}
     9-                   eval ${chain}_is_policy=Yes
     10-                   eval ${chain}_is_optional=Yes
     11-                   eval ${chain}_policy=CONTINUE
     12-                   eval ${chain}_policychain=$chain
     13-                   ALL_POLICY_CHAINS="$ALL_POLICY_CHAINS $chain"
     14-                   chain=${zone1}2${zone}
     15-                   eval ${chain}_is_policy=Yes
     16-                   eval ${chain}_is_optional=Yes
     17-                   eval ${chain}_policy=CONTINUE
     18-                   eval ${chain}_policychain=$chain
     19-                   ALL_POLICY_CHAINS="$ALL_POLICY_CHAINS $chain"
     20+                   if [ $zone != $zone1 ]; then
     21+                       chain=${zone}2${zone1}
     22+                       eval ${chain}_is_policy=Yes
     23+                       eval ${chain}_is_optional=Yes
     24+                       eval ${chain}_policy=CONTINUE
     25+                       eval ${chain}_policychain=$chain
     26+                       ALL_POLICY_CHAINS="$ALL_POLICY_CHAINS $chain"
     27+                       chain=${zone1}2${zone}
     28+                       eval ${chain}_is_policy=Yes
     29+                       eval ${chain}_is_optional=Yes
     30+                       eval ${chain}_policy=CONTINUE
     31+                       eval ${chain}_policychain=$chain
     32+                       ALL_POLICY_CHAINS="$ALL_POLICY_CHAINS $chain"
     33+                   fi
     34                done
     35            fi
     36        fi
     37@@ -7961,7 +7963,7 @@ __EOF__
    538        cat >&3 << __EOF__
    639 SHAREDIR=/usr/share/shorewall-lite
     
    1144 __EOF__
    1245        cat >&3 ${SHAREDIR}/functions
    13 @@ -7956,7 +7956,7 @@ __EOF__
     46@@ -7969,7 +7971,7 @@ __EOF__
    1447        cat >&3 << __EOF__
    1548 SHAREDIR=/usr/share/shorewall
     
    2053 . \${SHAREDIR}/functions
    2154 __EOF__
    22 @@ -8429,7 +8429,7 @@ NOLOCK=
     55@@ -8442,7 +8444,7 @@ NOLOCK=
    2356 trap "exit 2" 1 2 3 4 5 6 9
    2457 
  • package/shorewall/patches/patch-shorewall

    r34bd252 r31cd7a3  
    11$FreeWRT$
    2 --- shorewall-3.2.8.orig/shorewall      2006-12-12 18:40:34.000000000 +0100
    3 +++ shorewall-3.2.8/shorewall   2007-02-13 00:07:33.000000000 +0100
     2--- shorewall-3.2.9.orig/shorewall      2007-01-24 20:12:15.000000000 +0100
     3+++ shorewall-3.2.9/shorewall   2007-03-01 20:51:47.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/
     24@@ -537,8 +541,8 @@ start_command() {
     25            ${VARDIR}/.start $debugging start
     26            rc=$?
     27        else
     28-           logger -p kern.err "ERROR:Shorewall start failed"
     29            rc=$?
     30+           logger -p kern.err "ERROR:Shorewall start failed"
     31        fi
     32 
     33        [ -n "$nolock" ] || mutex_off
     34@@ -852,8 +856,8 @@ restart_command() {
     35        $SHOREWALL_SHELL ${VARDIR}/.restart $debugging restart
     36        rc=$?
     37     else
     38-       logger -p kern.err "ERROR:Shorewall restart failed"
     39        rc=$?
     40+       logger -p kern.err "ERROR:Shorewall restart failed"
     41     fi
     42 
     43     [ -n "$nolock" ] || mutex_off
     44@@ -919,7 +923,11 @@ refresh_command() {
     45        $SHOREWALL_SHELL ${VARDIR}/.refresh $debugging refresh
     46     fi
     47 
     48+    rc=$?
     49+
     50     [ -n "$nolock" ] || mutex_off
     51+
     52+    return $rc
     53 }
     54 
     55 #
     56@@ -1815,7 +1823,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/
    2557 MUTEX_TIMEOUT=
    2658 
Note: See TracChangeset for help on using the changeset viewer.