Change version to 3.4.0-Beta2

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5196 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-01-03 23:26:13 +00:00
parent 4fe788319f
commit c6459aaa27
12 changed files with 44 additions and 38 deletions

View File

@ -28,7 +28,7 @@
# shown below. Simply run this script to revert to your prior version of # shown below. Simply run this script to revert to your prior version of
# Shoreline Firewall. # Shoreline Firewall.
VERSION=3.4.0-Beta1 VERSION=3.4.0-Beta2
usage() # $1 = exit status usage() # $1 = exit status
{ {

View File

@ -22,7 +22,7 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA
# #
VERSION=3.4.0-Beta1 VERSION=3.4.0-Beta2
usage() # $1 = exit status usage() # $1 = exit status
{ {
@ -227,6 +227,8 @@ if [ -z "$PREFIX" -a -d /etc/shorewall-lite ]; then
backup_directory /usr/share/shorewall-lite backup_directory /usr/share/shorewall-lite
backup_directory /var/lib/shorewall-lite backup_directory /var/lib/shorewall-lite
fi fi
[ -f /etc/shorewall-lite/shorewall.conf ] && \
mv -f /etc/shorewall-lite/shorewall.conf /etc/shorewall-lite/shorewall-lite.conf
else else
first_install="Yes" first_install="Yes"
rm -rf ${PREFIX}/etc/shorewall-lite rm -rf ${PREFIX}/etc/shorewall-lite
@ -267,9 +269,9 @@ chmod 755 ${PREFIX}/usr/share/shorewall-lite
# #
# Install the config file # Install the config file
# #
if [ ! -f ${PREFIX}/etc/shorewall-lite/shorewall.conf ]; then if [ ! -f ${PREFIX}/etc/shorewall-lite/shorewall-lite.conf ]; then
run_install $OWNERSHIP -m 0744 shorewall.conf ${PREFIX}/etc/shorewall-lite/shorewall.conf run_install $OWNERSHIP -m 0744 shorewall-lite.conf ${PREFIX}/etc/shorewall-lite/shorewall-lite.conf
echo "Config file installed as ${PREFIX}/etc/shorewall-lite/shorewall.conf" echo "Config file installed as ${PREFIX}/etc/shorewall-lite/shorewall-lite.conf"
fi fi
if [ -n "$ARCHLINUX" ] ; then if [ -n "$ARCHLINUX" ] ; then

View File

@ -84,7 +84,7 @@
# address and vice versa. # address and vice versa.
# #
# Set the configuration variables from shorewall.conf # Set the configuration variables from shorewall-lite.conf
# #
get_config() { get_config() {
@ -535,9 +535,7 @@ done
ensure_config_path ensure_config_path
config=$(find_file shorewall.conf) config=$(find_file shorewall-lite.conf)
[ -f $config ] || config=$(find_file shorewall-lite.conf)
if [ -f $config ]; then if [ -f $config ]; then
if [ -r $config ]; then if [ -r $config ]; then

View File

@ -1,6 +1,6 @@
%define name shorewall-lite %define name shorewall-lite
%define version 3.4.0 %define version 3.4.0
%define release 0Beta1 %define release 0Beta2
%define prefix /usr %define prefix /usr
Summary: Shoreline Firewall Lite is an iptables-based firewall for Linux systems. Summary: Shoreline Firewall Lite is an iptables-based firewall for Linux systems.
@ -41,6 +41,12 @@ export GROUP=`id -n -g` ;\
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%pre
if [ $1 -eq 2 -a -f /etc/shorewall-lite/shorewall.conf ]; then
mv -f /etc/shorewall-lite/shorewall.conf /etc/shorewall-lite/shorewall-lite.conf
fi
%post %post
if [ $1 -eq 1 ]; then if [ $1 -eq 1 ]; then
@ -53,13 +59,12 @@ fi
%preun %preun
if [ $1 = 0 ]; then if [ $1 -eq 0 ]; then
if [ -x /sbin/insserv ]; then if [ -x /sbin/insserv ]; then
/sbin/insserv -r /etc/init.d/shorewall-lite /sbin/insserv -r /etc/init.d/shorewall-lite
elif [ -x /sbin/chkconfig ]; then elif [ -x /sbin/chkconfig ]; then
/sbin/chkconfig --del shorewall-lite /sbin/chkconfig --del shorewall-lite
fi fi
fi fi
%files %files
@ -89,6 +94,9 @@ fi
%doc COPYING changelog.txt releasenotes.txt %doc COPYING changelog.txt releasenotes.txt
%changelog %changelog
* Wed Jan 03 2007 Tom Eastep tom@shorewall.net
- Updated to 3.4.0-0Beta2
- Handle rename of shorewall.conf
* Thu Dec 14 2006 Tom Eastep tom@shorewall.net * Thu Dec 14 2006 Tom Eastep tom@shorewall.net
- Updated to 3.4.0-0Beta1 - Updated to 3.4.0-0Beta1
* Sat Nov 25 2006 Tom Eastep tom@shorewall.net * Sat Nov 25 2006 Tom Eastep tom@shorewall.net

View File

@ -26,7 +26,7 @@
# You may only use this script to uninstall the version # You may only use this script to uninstall the version
# shown below. Simply run this script to remove Shorewall Firewall # shown below. Simply run this script to remove Shorewall Firewall
VERSION=3.4.0-Beta1 VERSION=3.4.0-Beta2
usage() # $1 = exit status usage() # $1 = exit status
{ {

View File

@ -28,7 +28,7 @@
# shown below. Simply run this script to revert to your prior version of # shown below. Simply run this script to revert to your prior version of
# Shoreline Firewall. # Shoreline Firewall.
VERSION=3.4.0-Beta1 VERSION=3.4.0-Beta2
usage() # $1 = exit status usage() # $1 = exit status
{ {

View File

@ -22,7 +22,7 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA
# #
VERSION=3.4.0-Beta1 VERSION=3.4.0-Beta2
usage() # $1 = exit status usage() # $1 = exit status
{ {

View File

@ -117,13 +117,8 @@ Migration Considerations:
4) This issue only applies if you run Shorewall Lite. 4) This issue only applies if you run Shorewall Lite.
The /etc/shorewall-lite/shorewall.conf file has been renamed The /etc/shorewall-lite/shorewall.conf file has been renamed
/etc/shorewall-lite/shorewall-lite.conf. If you use the /etc/shorewall-lite/shorewall-lite.conf. When you upgrade,
tarball to install, your shorewall.conf file will be your shorewall.conf file will be renamed shorewall-lite.conf.
retained and Shorewall Lite will continue to use it.
If you use an RPM and you have modified the existing
/etc/shorewall/shorewall.conf, make a copy of the file
so that you can restore the changes once you have upgraded.
New Features in Shorewall 3.4: New Features in Shorewall 3.4:

View File

@ -1,6 +1,6 @@
%define name shorewall %define name shorewall
%define version 3.4.0 %define version 3.4.0
%define release 0Beta1 %define release 0Beta2
%define prefix /usr %define prefix /usr
Summary: Shoreline Firewall is an iptables-based firewall for Linux systems. Summary: Shoreline Firewall is an iptables-based firewall for Linux systems.
@ -257,6 +257,8 @@ fi
%doc COPYING INSTALL changelog.txt releasenotes.txt tunnel ipsecvpn Samples %doc COPYING INSTALL changelog.txt releasenotes.txt tunnel ipsecvpn Samples
%changelog %changelog
* Wed Jan 03 2007 Tom Eastep tom@shorewall.net
- Updated to 3.4.0-0Beta2
* Thu Dec 14 2006 Tom Eastep tom@shorewall.net * Thu Dec 14 2006 Tom Eastep tom@shorewall.net
- Updated to 3.4.0-0Beta1 - Updated to 3.4.0-0Beta1
* Sat Nov 25 2006 Tom Eastep tom@shorewall.net * Sat Nov 25 2006 Tom Eastep tom@shorewall.net

View File

@ -26,7 +26,7 @@
# You may only use this script to uninstall the version # You may only use this script to uninstall the version
# shown below. Simply run this script to remove Shorewall Firewall # shown below. Simply run this script to remove Shorewall Firewall
VERSION=3.4.0-Beta1 VERSION=3.4.0-Beta2
usage() # $1 = exit status usage() # $1 = exit status
{ {

View File

@ -32,7 +32,8 @@
<para>Any option not specified in this file gets its value from the <para>Any option not specified in this file gets its value from the
shorewall.conf file used during compilation of shorewall.conf file used during compilation of
/var/lib/shorewall-lite/firewall.</para> /var/lib/shorewall-lite/firewall. Those settings may be found in the file
/var/lib/shorewall-lite/firewall.conf.</para>
</refsect1> </refsect1>
<refsect1> <refsect1>

View File

@ -28,7 +28,8 @@ Documentation License</a></span>”.<br>
style="font-weight: bold;">Index</span> of all style="font-weight: bold;">Index</span> of all
Articles</a> <a href="http://gomix.homelinux.net/gomix/shorewall/">(En Articles</a> <a href="http://gomix.homelinux.net/gomix/shorewall/">(En
Español)</a></li> Español)</a></li>
<li><a href="FAQ.htm"><span style="font-weight: bold;">FAQ</span>s</a></li> <li><a href="FAQ.htm"><span style="font-weight: bold;">FAQ</span>s<br>
</a></li>
<li><a href="shorewall_quickstart_guide.htm">QuickStart Guides <li><a href="shorewall_quickstart_guide.htm">QuickStart Guides
(<span style="font-weight: bold;">HOWTO</span>s for setting up (<span style="font-weight: bold;">HOWTO</span>s for setting up
Shorewall in popular configurations)</a></li> Shorewall in popular configurations)</a></li>
@ -43,8 +44,7 @@ cannot do)</a></li>
<li><a href="troubleshoot.htm"><span style="font-weight: bold;">Troubleshooting</span> <li><a href="troubleshoot.htm"><span style="font-weight: bold;">Troubleshooting</span>
Guide</a></li> Guide</a></li>
<li><a href="upgrade_issues.htm"><span style="font-weight: bold;">Upgrade</span>&nbsp;Issues</a> <li><a href="upgrade_issues.htm"><span style="font-weight: bold;">Upgrade</span>&nbsp;Issues</a>
(when you (avoid problems when upgrading your Shorewall installation)</li>
encounter problems after upgrading your Shorewall installation)</li>
</ul> </ul>
<br> <br>
<div style="margin-left: 40px;"><a href="2.0/">Shorewall 2.x <div style="margin-left: 40px;"><a href="2.0/">Shorewall 2.x