'functions' symbolic link to lib.base

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4557 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-09-09 16:35:27 +00:00
parent 66e7bf74df
commit 4523a4836e
3 changed files with 20 additions and 8 deletions

View File

@ -470,10 +470,6 @@ delete_file ${PREFIX}/usr/share/shorewall/tcstart
delete_file ${PREFIX}/usr/share/shorewall/action.Limit
delete_file ${PREFIX}/usr/share/shorewall/Limit
#
# Delete the functions file
#
delete_file ${PREFIX}/usr/share/shorewall/functions
#
# Delete the xmodules file
#
delete_file ${PREFIX}/usr/share/shorewall/xmodules
@ -655,6 +651,10 @@ for f in lib.* ; do
fi
done
#
# Symbolically link 'functions' to lib.base
#
ln -sf lib.base ${PREFIX}/usr/share/shorewall/functions
#
# Install the program skeleton files
#
for f in prog.* ; do

View File

@ -45,11 +45,22 @@ Problems Corrected in 3.3.2
Other changes in 3.3.2
1) /etc/shorewall/functions has been renamed
/etc/shorewall/lib.base. If you soure the 'functions' file in any
of your own scripts, please modify them accordingly.
1) /usr/share/shorewall/functions has been renamed
/usr/share/shorewall/lib.base. It remains symbolically linked by
its old name so that existing scripts that source this file will
continue to work.
2) The output of "shorewall show log" and "shorewall logwatch" now
2) /usr/share/shorewall/lib.base (formerly /etc/shorewall/functions)
has been split into two libraries:
- /usr/share/shorewall/lib.base -- code common to all Shorewall
components. This file is also released as part of Shorewall Lite.
- /usr/share/shorewall/lib.conf -- configuration file parsing code
common to /usr/share/shorewall/compiler and
/usr/share/shorewall/firewall.
3) The output of "shorewall show log" and "shorewall logwatch" now
include the name of the log file being accessed.
Migration Considerations:

View File

@ -111,6 +111,7 @@ fi
%attr(0644,root,root) /usr/share/shorewall/action.template
%attr(0555,root,root) /usr/share/shorewall/compiler
%attr(0555,root,root) /usr/share/shorewall/firewall
/usr/share/shorewall/functions
%attr(0555,root,root) /usr/share/shorewall/help
%attr(0444,root,root) /usr/share/shorewall/lib.accounting
%attr(0444,root,root) /usr/share/shorewall/lib.actions