2009-02-22 18:43:56 +01:00
|
|
|
%define name shorewall
|
2009-10-02 20:31:08 +02:00
|
|
|
%define version 4.4.3
|
2009-11-01 17:03:16 +01:00
|
|
|
%define release 1
|
2008-12-07 19:17:26 +01:00
|
|
|
|
|
|
|
Summary: Shoreline Firewall is an iptables-based firewall for Linux systems.
|
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
|
|
|
Release: %{release}
|
2009-02-23 17:39:18 +01:00
|
|
|
License: GPLv2
|
2008-12-07 19:17:26 +01:00
|
|
|
Packager: Tom Eastep <teastep@shorewall.net>
|
|
|
|
Group: Networking/Utilities
|
|
|
|
Source: %{name}-%{version}.tgz
|
|
|
|
URL: http://www.shorewall.net/
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
2009-08-09 17:38:55 +02:00
|
|
|
Requires: iptables iproute perl
|
2009-02-22 22:36:43 +01:00
|
|
|
Obsoletes: shorewall-common shorewall-perl shorewall-shell
|
2008-12-07 19:17:26 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
|
|
The Shoreline Firewall, more commonly known as "Shorewall", is a Netfilter
|
|
|
|
(iptables) based firewall that can be used on a dedicated firewall system,
|
|
|
|
a multi-function gateway/ router/server or on a standalone GNU/Linux system.
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
export PREFIX=$RPM_BUILD_ROOT ; \
|
|
|
|
export OWNER=`id -n -u` ; \
|
|
|
|
export GROUP=`id -n -g` ;\
|
2009-02-22 20:28:32 +01:00
|
|
|
./install.sh
|
2008-12-07 19:17:26 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
if [ -x /sbin/insserv ]; then
|
|
|
|
/sbin/insserv /etc/rc.d/shorewall
|
|
|
|
elif [ -x /sbin/chkconfig ]; then
|
|
|
|
/sbin/chkconfig --add shorewall;
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
if [ -x /sbin/insserv ]; then
|
|
|
|
/sbin/insserv -r /etc/init.d/shorewall
|
|
|
|
elif [ -x /sbin/chkconfig ]; then
|
|
|
|
/sbin/chkconfig --del shorewall
|
|
|
|
fi
|
|
|
|
|
|
|
|
rm -f /etc/shorewall/startup_disabled
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
2009-07-21 15:53:00 +02:00
|
|
|
%triggerpostun -- shorewall-common < 4.4.0
|
2008-12-07 19:17:26 +01:00
|
|
|
|
|
|
|
if [ -x /sbin/insserv ]; then
|
|
|
|
/sbin/insserv /etc/rc.d/shorewall
|
|
|
|
elif [ -x /sbin/chkconfig ]; then
|
|
|
|
/sbin/chkconfig --add shorewall;
|
|
|
|
fi
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%attr(0544,root,root) /etc/init.d/shorewall
|
|
|
|
%attr(0755,root,root) %dir /etc/shorewall
|
|
|
|
%attr(0755,root,root) %dir /usr/share/shorewall
|
|
|
|
%attr(0755,root,root) %dir /usr/share/shorewall/configfiles
|
|
|
|
%attr(0700,root,root) %dir /var/lib/shorewall
|
2009-05-20 02:31:12 +02:00
|
|
|
%attr(0644,root,root) %config(noreplace) /etc/shorewall/*
|
2008-12-07 19:17:26 +01:00
|
|
|
%attr(0600,root,root) /etc/shorewall/Makefile
|
|
|
|
|
|
|
|
%attr(0755,root,root) /sbin/shorewall
|
|
|
|
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/version
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/actions.std
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/action.Drop
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/action.Reject
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/action.template
|
|
|
|
%attr(- ,root,root) /usr/share/shorewall/functions
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/lib.base
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/lib.cli
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.*
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/modules
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configpath
|
|
|
|
%attr(0755,root,root) /usr/share/shorewall/wait4ifup
|
|
|
|
|
2009-02-22 18:43:56 +01:00
|
|
|
%attr(755,root,root) /usr/share/shorewall/compiler.pl
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/prog.*
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/Shorewall/*.pm
|
|
|
|
|
2009-05-20 02:31:12 +02:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/*
|
2008-12-07 19:17:26 +01:00
|
|
|
|
|
|
|
%attr(0644,root,root) %{_mandir}/man5/*
|
|
|
|
%attr(0644,root,root) %{_mandir}/man8/shorewall.8.gz
|
|
|
|
|
2009-03-04 17:44:44 +01:00
|
|
|
%doc COPYING INSTALL changelog.txt releasenotes.txt Contrib/* Samples
|
2008-12-07 19:17:26 +01:00
|
|
|
|
|
|
|
%changelog
|
2009-11-01 17:03:16 +01:00
|
|
|
* Sun Nov 01 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.4.3-1
|
2009-10-02 20:31:08 +02:00
|
|
|
* Fri Oct 02 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.4.3-0base
|
2009-09-06 20:43:46 +02:00
|
|
|
* Sun Sep 06 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.4.2-0base
|
2009-09-04 20:40:34 +02:00
|
|
|
* Fri Sep 04 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.4.2-0base
|
2009-08-14 23:46:31 +02:00
|
|
|
* Fri Aug 14 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.4.1-0base
|
2009-08-09 20:38:18 +02:00
|
|
|
* Sun Aug 09 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Made Perl a dependency
|
2009-08-03 19:16:37 +02:00
|
|
|
* Mon Aug 03 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.4.0-0base
|
2009-07-28 22:45:26 +02:00
|
|
|
* Tue Jul 28 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.4.0-0RC2
|
2009-07-12 19:06:57 +02:00
|
|
|
* Sun Jul 12 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.4.0-0RC1
|
2009-07-10 01:41:10 +02:00
|
|
|
* Thu Jul 09 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.4.0-0Beta4
|
2009-06-27 17:26:41 +02:00
|
|
|
* Sat Jun 27 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.4.0-0Beta3
|
2009-06-15 15:50:21 +02:00
|
|
|
* Mon Jun 15 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.4.0-0Beta2
|
2009-06-13 00:51:43 +02:00
|
|
|
* Fri Jun 12 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.4.0-0Beta1
|
2009-06-07 19:52:53 +02:00
|
|
|
* Sun Jun 07 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.3.13-0base
|
2009-06-05 19:51:30 +02:00
|
|
|
* Fri Jun 05 2009 Tom Eastep tom@shorewall.net
|
2009-06-05 20:53:01 +02:00
|
|
|
- Updated to 4.3.12-0base
|
|
|
|
* Fri Jun 05 2009 Tom Eastep tom@shorewall.net
|
2009-06-05 19:51:30 +02:00
|
|
|
- Remove 'rfc1918' file
|
2009-05-10 16:08:47 +02:00
|
|
|
* Sun May 10 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.3.11-0base
|
2009-04-20 02:39:28 +02:00
|
|
|
* Sun Apr 19 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.3.10-0base
|
2009-04-11 17:31:25 +02:00
|
|
|
* Sat Apr 11 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.3.9-0base
|
2009-03-17 19:51:17 +01:00
|
|
|
* Tue Mar 17 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.3.8-0base
|
2009-03-01 20:46:30 +01:00
|
|
|
* Sun Mar 01 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.3.7-0base
|
2009-02-27 16:19:42 +01:00
|
|
|
* Fri Feb 27 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.3.6-0base
|
2009-02-22 19:53:08 +01:00
|
|
|
* Sun Feb 22 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.3.5-0base
|
2009-02-22 16:11:11 +01:00
|
|
|
* Sat Feb 21 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.7-0base
|
2009-02-05 21:38:50 +01:00
|
|
|
* Thu Feb 05 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Add 'restored' script
|
|
|
|
* Wed Feb 04 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.6-0base
|
|
|
|
* Fri Jan 30 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Added swping files to the doc directory
|
|
|
|
* Thu Jan 29 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.6-0base
|
2009-01-14 02:18:11 +01:00
|
|
|
* Tue Jan 06 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.5-0base
|
|
|
|
* Thu Dec 25 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.4-0base
|
2008-12-21 18:52:43 +01:00
|
|
|
* Sun Dec 21 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.4-0RC2
|
2008-12-17 20:31:10 +01:00
|
|
|
* Wed Dec 17 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.4-0RC1
|
2008-12-16 18:21:18 +01:00
|
|
|
* Tue Dec 16 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.3.4-0base
|
2008-12-13 19:34:58 +01:00
|
|
|
* Sat Dec 13 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.3.3-0base
|
2008-12-13 05:13:09 +01:00
|
|
|
* Fri Dec 12 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.3.2-0base
|
2008-12-12 01:45:25 +01:00
|
|
|
* Thu Dec 11 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.3.1-0base
|
2008-12-12 01:48:41 +01:00
|
|
|
* Thu Dec 11 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.3.1-0base
|
2008-12-10 19:24:42 +01:00
|
|
|
* Wed Dec 10 2008 Tom Eastep tom@shorewall.net
|
2008-12-10 19:43:37 +01:00
|
|
|
- Updated to 4.3.0-0base
|
|
|
|
* Wed Dec 10 2008 Tom Eastep tom@shorewall.net
|
2008-12-10 19:24:42 +01:00
|
|
|
- Updated to 2.3.0-0base
|
2008-12-07 19:17:26 +01:00
|
|
|
* Fri Dec 05 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.3-0base
|
|
|
|
* Wed Nov 05 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.2-0base
|
|
|
|
* Wed Oct 08 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.1-0base
|
|
|
|
* Fri Oct 03 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.0-0base
|
|
|
|
* Tue Sep 23 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.0-0RC4
|
|
|
|
* Mon Sep 15 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.0-0RC3
|
|
|
|
* Mon Sep 08 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.0-0RC2
|
|
|
|
* Tue Aug 19 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.0-0RC1
|
|
|
|
* Thu Jul 03 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.0-0Beta3
|
|
|
|
* Mon Jun 02 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.0-0Beta2
|
|
|
|
* Wed May 07 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.0-0Beta1
|
|
|
|
* Mon Apr 28 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.1.8-0base
|
|
|
|
* Mon Mar 24 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.1.7-0base
|
|
|
|
* Thu Mar 13 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.1.6-0base
|
|
|
|
* Tue Feb 05 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.1.5-0base
|
|
|
|
* Fri Jan 04 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.1.4-0base
|
|
|
|
* Wed Dec 12 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.1.3-0base
|
|
|
|
* Fri Dec 07 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.1.3-1
|
|
|
|
* Tue Nov 27 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.1.2-1
|
|
|
|
* Wed Nov 21 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.1.1-1
|
|
|
|
* Mon Nov 19 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.1.0-1
|
|
|
|
* Thu Nov 15 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.6-1
|
|
|
|
* Sat Nov 10 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.6-0RC3
|
|
|
|
* Wed Nov 07 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.6-0RC2
|
|
|
|
* Thu Oct 25 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.6-0RC1
|
|
|
|
* Tue Oct 03 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.5-1
|
|
|
|
* Wed Sep 05 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.4-1
|
|
|
|
* Mon Aug 13 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.3-1
|
|
|
|
* Thu Aug 09 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.2-1
|
|
|
|
* Sat Jul 21 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.1-1
|
|
|
|
* Wed Jul 11 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.0-1
|
|
|
|
* Sun Jul 08 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.0-0RC2
|
|
|
|
* Fri Jun 29 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.0-0RC1
|
|
|
|
* Sun Jun 24 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.0-0Beta7
|
|
|
|
* Wed Jun 20 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.0-0Beta6
|
|
|
|
* Thu Jun 14 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.0-0Beta5
|
|
|
|
* Fri Jun 08 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.0-0Beta4
|
|
|
|
* Tue Jun 05 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.0-0Beta3
|
|
|
|
* Tue May 15 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.0-0Beta1
|
|
|
|
* Fri May 11 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.9.7-1
|
|
|
|
* Sat May 05 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.9.6-1
|
|
|
|
* Mon Apr 30 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.9.5-1
|
|
|
|
* Mon Apr 23 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.9.4-1
|
|
|
|
* Wed Apr 18 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.9.3-1
|
|
|
|
* Mon Apr 16 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Moved lib.dynamiczones from Shorewall-shell
|
|
|
|
* Sat Apr 14 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.9.2-1
|
|
|
|
* Tue Apr 03 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.9.1-1
|
|
|
|
* Thu Mar 24 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.4.2-1
|
|
|
|
* Thu Mar 15 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.4.1-1
|
|
|
|
* Sat Mar 10 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.4.0-1
|
|
|
|
* Sun Feb 25 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.4.0-0RC3
|
|
|
|
* Sun Feb 04 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.4.0-0RC2
|
|
|
|
* Wed Jan 24 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.4.0-0RC1
|
|
|
|
* Mon Jan 22 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.4.0-0Beta3
|
|
|
|
* Wed Jan 03 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.4.0-0Beta2
|
|
|
|
* Thu Dec 14 2006 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.4.0-0Beta1
|
|
|
|
* Sat Nov 25 2006 Tom Eastep tom@shorewall.net
|
|
|
|
- Added shorewall-exclusion(5)
|
|
|
|
- Updated to 3.3.6-1
|
|
|
|
* Sun Nov 19 2006 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.3.5-1
|
|
|
|
* Sat Nov 18 2006 Tom Eastep tom@shorewall.net
|
|
|
|
- Add Man Pages.
|
|
|
|
* Sun Oct 29 2006 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.3.4-1
|
|
|
|
* Mon Oct 16 2006 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.3.3-1
|
|
|
|
* Sat Sep 30 2006 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.3.2-1
|
|
|
|
* Wed Aug 30 2006 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.3.1-1
|
|
|
|
* Sun Aug 27 2006 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.3.0-1
|
|
|
|
* Fri Aug 25 2006 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.2.3-1
|
|
|
|
|
|
|
|
|