rpms/shorewall/EL-5 patch-perl-4.0.12.1, NONE, 1.1 shorewall.spec, 1.48, 1.49
Jonathan G. Underwood (jgu)
fedora-extras-commits at redhat.com
Sat Jul 5 14:10:15 UTC 2008
Author: jgu
Update of /cvs/extras/rpms/shorewall/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14062
Modified Files:
shorewall.spec
Added Files:
patch-perl-4.0.12.1
Log Message:
* Sat Jul 5 2008 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 4.0.12-2
- Apply patch-perl-4.0.12.1 from upstream
--- NEW FILE patch-perl-4.0.12.1 ---
diff -Naur -X /usr/local/bin/exclude.txt shorewall-perl-4.0.12/install.sh shorewall-perl-4.0.12.1/install.sh
--- shorewall-perl-4.0.12/install.sh 2008-06-24 06:40:32.000000000 -0700
+++ shorewall-perl-4.0.12.1/install.sh 2008-06-29 16:16:25.000000000 -0700
@@ -22,7 +22,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
-VERSION=4.0.12
+VERSION=4.0.12.1
usage() # $1 = exit status
{
diff -Naur -X /usr/local/bin/exclude.txt shorewall-perl-4.0.12/patch-perl-4.0.12.1 shorewall-perl-4.0.12.1/patch-perl-4.0.12.1
--- shorewall-perl-4.0.12/patch-perl-4.0.12.1 1969-12-31 16:00:00.000000000 -0800
+++ shorewall-perl-4.0.12.1/patch-perl-4.0.12.1 2008-06-29 16:14:07.000000000 -0700
@@ -0,0 +1,16 @@
+Index: Shorewall/Compiler.pm
+===================================================================
+--- Shorewall/Compiler.pm (revision 8500)
++++ Shorewall/Compiler.pm (working copy)
+@@ -657,6 +657,11 @@
+ else
+ fatal_error "$iptables_save_file does not exist"
+ fi
++EOF
++ pop_indent;
++ setup_forwarding;
++ push_indent;
++ emit<<'EOF';
+ set_state "Started"
+ else
+ if [ $COMMAND = refresh ]; then
diff -Naur -X /usr/local/bin/exclude.txt shorewall-perl-4.0.12/Shorewall/Compiler.pm shorewall-perl-4.0.12.1/Shorewall/Compiler.pm
--- shorewall-perl-4.0.12/Shorewall/Compiler.pm 2008-04-06 06:57:42.000000000 -0700
+++ shorewall-perl-4.0.12.1/Shorewall/Compiler.pm 2008-06-29 16:09:35.000000000 -0700
@@ -657,6 +657,11 @@
else
fatal_error "$iptables_save_file does not exist"
fi
+EOF
+ pop_indent;
+ setup_forwarding;
+ push_indent;
+ emit<<'EOF';
set_state "Started"
else
if [ $COMMAND = refresh ]; then
diff -Naur -X /usr/local/bin/exclude.txt shorewall-perl-4.0.12/Shorewall/Config.pm shorewall-perl-4.0.12.1/Shorewall/Config.pm
--- shorewall-perl-4.0.12/Shorewall/Config.pm 2008-06-24 06:40:32.000000000 -0700
+++ shorewall-perl-4.0.12.1/Shorewall/Config.pm 2008-06-29 16:16:25.000000000 -0700
@@ -244,7 +244,7 @@
ORIGINAL_POLICY_MATCH => '',
LOGPARMS => '',
TC_SCRIPT => '',
- VERSION => "4.0.12",
+ VERSION => "4.0.12.1",
CAPVERSION => 40006 ,
);
#
diff -Naur -X /usr/local/bin/exclude.txt shorewall-perl-4.0.12/Shorewall/Rules.pm shorewall-perl-4.0.12.1/Shorewall/Rules.pm
--- shorewall-perl-4.0.12/Shorewall/Rules.pm 2008-06-16 14:39:28.000000000 -0700
+++ shorewall-perl-4.0.12.1/Shorewall/Rules.pm 2008-04-19 10:31:03.000000000 -0700
@@ -1570,7 +1570,7 @@
if ( $config{DYNAMIC_ZONES} ) {
push @rule_chains , [ firewall_zone , $zone , $chain1 ] if $chain1;
- push @rule_chains , [ $zone , firewall_zone , $chain2 ] if $chain2;
+ push @rule_chains , [ $zone , firewall_zone , $chain2 ];
}
#
diff -Naur -X /usr/local/bin/exclude.txt shorewall-perl-4.0.12/shorewall-perl.spec shorewall-perl-4.0.12.1/shorewall-perl.spec
--- shorewall-perl-4.0.12/shorewall-perl.spec 2008-06-24 06:40:32.000000000 -0700
+++ shorewall-perl-4.0.12.1/shorewall-perl.spec 2008-06-29 16:16:25.000000000 -0700
@@ -1,6 +1,6 @@
%define name shorewall-perl
%define version 4.0.12
-%define release 0base
+%define release 1
Summary: Shoreline Firewall Perl-based compiler.
Name: %{name}
@@ -64,6 +64,8 @@
%doc COPYING releasenotes.txt
%changelog
+* Sun Jun 29 2008 Tom Eastep tom at shorewall.net
+- Updated to 4.0.12-1
* Tue Jun 24 2008 Tom Eastep tom at shorewall.net
- Updated to 4.0.12-0base
* Mon May 19 2008 Tom Eastep tom at shorewall.net
Index: shorewall.spec
===================================================================
RCS file: /cvs/extras/rpms/shorewall/EL-5/shorewall.spec,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- shorewall.spec 26 Jun 2008 23:54:02 -0000 1.48
+++ shorewall.spec 5 Jul 2008 14:09:02 -0000 1.49
@@ -11,7 +11,7 @@
Name: shorewall
Version: 4.0.12
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: An iptables front end for firewall configuration
Group: Applications/System
License: GPLv2+
@@ -24,6 +24,7 @@
Source3: %{_baseurl}%{name}-lite-%{version}.tar.bz2
Patch0: shorewall-4.0.4-init.patch
Patch1: shorewall-lite-4.0.4-init.patch
+Patch2: patch-perl-4.0.12.1
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl
@@ -100,6 +101,10 @@
%patch1 -p1
popd
+pushd shorewall-perl-%{version}
+%patch2 -p1
+popd
+
# Remove hash-bang from files which are not directly executed as shell
# scripts. This silences some rpmlint errors.
find . -name "lib.*" -exec sed -i -e '/\#\!\/bin\/sh/d' {} \;
@@ -263,6 +268,9 @@
%{_mandir}/man8/shorewall-lite.8.gz
%changelog
+* Sat Jul 5 2008 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 4.0.12-2
+- Apply patch-perl-4.0.12.1 from upstream
+
* Fri Jun 27 2008 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 4.0.12-1
- Update to version 4.0.12
More information about the fedora-extras-commits
mailing list