mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 09:47:51 +02:00
Add 'clean' target to Makefiles
This commit is contained in:
parent
267bc808f5
commit
e24dbb9aea
@ -14,4 +14,8 @@ $(VARDIR)/${RESTOREFILE}: $(CONFDIR)/*
|
|||||||
/sbin/shorewall -q restart 2>&1 | tail >&2; \
|
/sbin/shorewall -q restart 2>&1 | tail >&2; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@rm -f $(CONFDIR)/*~
|
||||||
|
.PHONY: clean
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
|
@ -1406,6 +1406,11 @@ sub pop_open() {
|
|||||||
pop_include;
|
pop_include;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#
|
||||||
|
# This function is called by in-line PERL to generate a line of input for the current file.
|
||||||
|
# If the in-line PERL returns an indication of success, then the generated lines will be
|
||||||
|
# processed as regular file input.
|
||||||
|
#
|
||||||
sub shorewall {
|
sub shorewall {
|
||||||
unless ( $scriptfile ) {
|
unless ( $scriptfile ) {
|
||||||
fatal_error "shorewall() may not be called in this context" unless $currentfile;
|
fatal_error "shorewall() may not be called in this context" unless $currentfile;
|
||||||
@ -1585,6 +1590,10 @@ sub read_a_line() {
|
|||||||
# Line not blank -- Handle any first-entry message/capabilities check
|
# Line not blank -- Handle any first-entry message/capabilities check
|
||||||
#
|
#
|
||||||
if ( $first_entry ) {
|
if ( $first_entry ) {
|
||||||
|
#
|
||||||
|
# $first_entry can contain either a function reference or a message. If it
|
||||||
|
# contains a reference, call the function -- otherwise issue the message
|
||||||
|
#
|
||||||
reftype( $first_entry ) ? $first_entry->() : progress_message2( $first_entry );
|
reftype( $first_entry ) ? $first_entry->() : progress_message2( $first_entry );
|
||||||
$first_entry = 0;
|
$first_entry = 0;
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,8 @@ Changes in Shorewall 4.4.1
|
|||||||
|
|
||||||
5) Minor performance improvements.
|
5) Minor performance improvements.
|
||||||
|
|
||||||
|
6) Add 'clean' target to Makefile.
|
||||||
|
|
||||||
Changes in Shorewall 4.4.0
|
Changes in Shorewall 4.4.0
|
||||||
|
|
||||||
1) Fix 'compile ... -' so that it no longer requires '-v-1'
|
1) Fix 'compile ... -' so that it no longer requires '-v-1'
|
||||||
|
@ -206,7 +206,9 @@ None.
|
|||||||
kernel does not, there is no way for Shorewall to determine that
|
kernel does not, there is no way for Shorewall to determine that
|
||||||
persistent SNAT isn't going to work. The kernel SNAT code blindly
|
persistent SNAT isn't going to work. The kernel SNAT code blindly
|
||||||
accepts all SNAT flags without verifying them and returns them to
|
accepts all SNAT flags without verifying them and returns them to
|
||||||
iptables when asked.
|
iptables when asked.
|
||||||
|
|
||||||
|
2) A 'clean' target has been added to the Makefiles.
|
||||||
|
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
N E W F E A T U R E S I N 4 . 4
|
N E W F E A T U R E S I N 4 . 4
|
||||||
|
@ -14,4 +14,8 @@ $(VARDIR)/${RESTOREFILE}: $(CONFDIR)/*
|
|||||||
/sbin/shorewall6 -q restart 2>&1 | tail >&2; \
|
/sbin/shorewall6 -q restart 2>&1 | tail >&2; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@rm -f $(CONFDIR)/*~
|
||||||
|
.PHONY: clean
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user