mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-30 17:39:33 +01:00
Don't strip files if the perl compiler will be used
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5745 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
eb3ef2e636
commit
3271f183e8
@ -862,9 +862,14 @@ setup_ecn() # $1 = file name
|
|||||||
flushmangle $chain
|
flushmangle $chain
|
||||||
else
|
else
|
||||||
createmanglechain $chain
|
createmanglechain $chain
|
||||||
|
|
||||||
|
if [ -n "$MANGLE_FORWARD" ]; then
|
||||||
|
run_iptables -t mangle -A PREROUTING -p tcp -o $interface -j $chain
|
||||||
|
else
|
||||||
run_iptables -t mangle -A POSTROUTING -p tcp -o $interface -j $chain
|
run_iptables -t mangle -A POSTROUTING -p tcp -o $interface -j $chain
|
||||||
run_iptables -t mangle -A OUTPUT -p tcp -o $interface -j $chain
|
run_iptables -t mangle -A OUTPUT -p tcp -o $interface -j $chain
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
for host in $hosts; do
|
for host in $hosts; do
|
||||||
|
@ -2087,6 +2087,7 @@ do_initialize() {
|
|||||||
strip_file hosts
|
strip_file hosts
|
||||||
|
|
||||||
if [ $PROGRAM = compiler ]; then
|
if [ $PROGRAM = compiler ]; then
|
||||||
|
if [ $SHOREWALL_COMPILER = 'shell' ]; then
|
||||||
strip_file_and_lib_load accounting accounting
|
strip_file_and_lib_load accounting accounting
|
||||||
|
|
||||||
if [ -n "$USE_ACTIONS" ]; then
|
if [ -n "$USE_ACTIONS" ]; then
|
||||||
@ -2115,16 +2116,13 @@ do_initialize() {
|
|||||||
strip_file_and_lib_load tcrules tcrules
|
strip_file_and_lib_load tcrules tcrules
|
||||||
strip_file tos
|
strip_file tos
|
||||||
strip_file_and_lib_load tunnels tunnels
|
strip_file_and_lib_load tunnels tunnels
|
||||||
if [ "$SHOREWALL_COMPILER" = perl ]; then
|
FW=
|
||||||
|
else
|
||||||
report_capabilities1 > $TMP_DIR/capabilities
|
report_capabilities1 > $TMP_DIR/capabilities
|
||||||
export TMP_DIR
|
export TMP_DIR
|
||||||
export CONFIG_PATH
|
export CONFIG_PATH
|
||||||
export VERSION
|
export VERSION
|
||||||
|
export FW
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
#
|
|
||||||
# Clear $FW
|
|
||||||
#
|
|
||||||
FW=
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user