Remove need for '-v-1' when compiling to stdout

This commit is contained in:
Tom Eastep 2009-08-03 11:20:34 -07:00
parent 3efaef813f
commit 999a00dc77
4 changed files with 19 additions and 14 deletions

View File

@ -1,3 +1,7 @@
Changes in Shorewall 4.4.0
1) Fix 'compile ... -' so that it no longer requires '-v-1'
Changes in Shorewall 4.4.0-RC2 Changes in Shorewall 4.4.0-RC2
1) Fix capabilities file with Shorewall6. 1) Fix capabilities file with Shorewall6.

View File

@ -120,7 +120,8 @@ Shorewall 4.4.0
P R O B L E M S C O R R E C T E D I N 4 . 4 . 0 P R O B L E M S C O R R E C T E D I N 4 . 4 . 0
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
None. 1) When compiling to standard out, it is no longer necessary to
specify '-v-1' to suppress the 'Compiling...' progress message
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
K N O W N P R O B L E M S R E M A I N I N G K N O W N P R O B L E M S R E M A I N I N G
@ -522,7 +523,7 @@ None.
(host IP addresses 192.168.1.1 - 192.168.1.6). Your first notion (host IP addresses 192.168.1.1 - 192.168.1.6). Your first notion
might be to use IPMARK(src,0xFF,0x10000) so as to produce class IDs might be to use IPMARK(src,0xFF,0x10000) so as to produce class IDs
1:1 through 1:6. But 1:1 is the class ID if the base HTB class on 1:1 through 1:6. But 1:1 is the class ID if the base HTB class on
interface 1. So you might chose instent to use interface 1. So you might chose instead to use
IPMARK(src,0xFF,0x10100) as shown in the example above so as to IPMARK(src,0xFF,0x10100) as shown in the example above so as to
avoid minor class 1. avoid minor class 1.
@ -593,17 +594,13 @@ None.
Examples: Examples:
shorewall compile -v-1 -- - # Compile the configuration in shorewall compile -- - # Compile the configuration in
# /etc/shorewall and send the # /etc/shorewall and send the
# output to STDOUT # output to STDOUT
shorewall compile -v-1 . - # Compile the configuration in the shorewall compile . - # Compile the configuration in the
# current working directory # current working directory
# and send the output to STDOUT # and send the output to STDOUT
Note that the '-v-1' suppresses the 'Compiling...' message normally
issued by /sbin/shorewall (/sbin/shorewall6) when a compilation
begins.
17) Supplying an interface name in the SOURCE column of 17) Supplying an interface name in the SOURCE column of
/etc/shorewall/masq is now deprecated. Entering the name of an /etc/shorewall/masq is now deprecated. Entering the name of an
interface there will result in a compile-time warning. interface there will result in a compile-time warning.

View File

@ -698,7 +698,9 @@ compile_command() {
export EXPORT export EXPORT
if [ x$file != x- ]; then
progress_message3 "Compiling..." progress_message3 "Compiling..."
fi
compiler $debugging compile $file compiler $debugging compile $file
} }

View File

@ -610,7 +610,9 @@ compile_command() {
export EXPORT export EXPORT
if [ x$file != x- ]; then
progress_message3 "Compiling..." progress_message3 "Compiling..."
fi
compiler exec $debugging compile $file compiler exec $debugging compile $file
} }