2007-04-03 18:13:36 +02:00
|
|
|
%define name shorewall-shell
|
2009-01-14 02:18:11 +01:00
|
|
|
%define version 4.2.5
|
|
|
|
%define release 0base
|
2007-04-03 18:13:36 +02:00
|
|
|
|
|
|
|
Summary: Shoreline Firewall is an iptables-based firewall for Linux systems.
|
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
|
|
|
Release: %{release}
|
|
|
|
License: GPL
|
|
|
|
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
|
2007-07-03 00:51:36 +02:00
|
|
|
Requires: iptables
|
|
|
|
Requires: iproute
|
|
|
|
Requires: shorewall-common >= 4.0.0-0RC1
|
2007-07-02 16:50:57 +02:00
|
|
|
Provides: shorewall_compiler = %{version}-%{release}
|
2007-06-29 17:46:32 +02:00
|
|
|
Provides: shorewall = %{version}-%{release}
|
2007-06-29 21:52:32 +02:00
|
|
|
Obsoletes: shorewall < 4.0.0-0Beta7
|
2007-04-03 18:13:36 +02: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.
|
|
|
|
|
2007-07-02 16:54:49 +02:00
|
|
|
Shorewall-shell is a part of Shorewall that alows running shorewall with
|
2007-07-03 00:51:36 +02:00
|
|
|
legacy configurations. Shorewall-perl is the preferred compiler, please use
|
|
|
|
it for new installations.
|
2007-07-02 16:54:49 +02:00
|
|
|
|
2007-04-03 18:13:36 +02:00
|
|
|
%prep
|
|
|
|
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
export PREFIX=$RPM_BUILD_ROOT ; \
|
|
|
|
export OWNER=`id -n -u` ; \
|
|
|
|
export GROUP=`id -n -g` ;\
|
|
|
|
./install.sh -n
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
2007-07-11 17:06:44 +02:00
|
|
|
%postun
|
|
|
|
|
|
|
|
if [ "$1" -eq 0 -a -f /etc/shorewall/shorewall.conf ]; then
|
|
|
|
sed -i.rpmsave -e 's/SHOREWALL_COMPILER=shell/SHOREWALL_COMPILER=/' /etc/shorewall/shorewall.conf
|
|
|
|
if cmp -s /etc/shorewall/shorewall.conf.rpmsave /etc/shorewall/shorewall.conf; then
|
|
|
|
rm -f /etc/shorewall/shorewall.conf.rpmsave
|
|
|
|
else
|
|
|
|
echo "/etc/shorewall/shorewall.conf modified - original saved as /etc/shorewall/shorewall.conf.rpmsave"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2007-04-03 18:13:36 +02:00
|
|
|
%files
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%attr(0755,root,root) %dir /usr/share/shorewall-shell
|
|
|
|
|
2007-07-02 16:50:57 +02:00
|
|
|
%attr(0755,root,root) /usr/share/shorewall-shell/compiler
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-shell/lib.accounting
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-shell/lib.actions
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-shell/lib.maclist
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-shell/lib.nat
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-shell/lib.providers
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-shell/lib.proxyarp
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-shell/lib.tc
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-shell/lib.tcrules
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-shell/lib.tunnels
|
2007-04-07 21:31:07 +02:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall-shell/prog.footer
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-shell/prog.header
|
2007-05-18 00:21:54 +02:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall-shell/version
|
2007-04-03 18:13:36 +02:00
|
|
|
|
|
|
|
%doc COPYING INSTALL
|
|
|
|
|
|
|
|
%changelog
|
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-10-08 18:54:57 +02:00
|
|
|
* Wed Oct 08 2008 Tom Eastep tom@shorewall.net
|
2008-10-08 18:55:31 +02:00
|
|
|
- Updated to 4.2.1-0base
|
2008-10-03 17:20:51 +02:00
|
|
|
* Fri Oct 03 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.0-0base
|
2008-09-23 18:15:42 +02:00
|
|
|
* Tue Sep 23 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.0-0RC4
|
2008-09-15 19:40:57 +02:00
|
|
|
* Mon Sep 15 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.0-0RC3
|
2008-09-08 16:29:42 +02:00
|
|
|
* Mon Sep 08 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.0-0RC2
|
2008-08-20 01:28:47 +02:00
|
|
|
* Tue Aug 19 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.0-0RC1
|
2008-07-03 22:08:13 +02:00
|
|
|
* Thu Jul 03 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.0-0Beta3
|
2008-06-02 21:39:35 +02:00
|
|
|
* Mon Jun 02 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.0-0Beta2
|
2008-05-07 20:28:13 +02:00
|
|
|
* Wed May 07 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.0-0Beta1
|
2008-04-28 19:36:56 +02:00
|
|
|
* Mon Apr 28 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.1.8-0base
|
2008-03-24 23:50:40 +01:00
|
|
|
* Mon Mar 24 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.1.7-0base
|
2008-03-14 03:18:59 +01:00
|
|
|
* Thu Mar 13 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.1.6-0base
|
2008-02-06 00:35:53 +01:00
|
|
|
* Tue Feb 05 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.1.5-0base
|
2008-01-04 18:51:45 +01:00
|
|
|
* Fri Jan 04 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.1.4-0base
|
2007-12-12 20:08:11 +01:00
|
|
|
* Wed Dec 12 2007 Tom Eastep tom@shorewall.net
|
2007-12-12 20:43:42 +01:00
|
|
|
- Updated to 4.1.3-0base
|
2007-12-07 22:17:14 +01:00
|
|
|
* Fri Dec 07 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.1.3-1
|
2007-11-27 19:11:01 +01:00
|
|
|
* Tue Nov 27 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.1.2-1
|
2007-11-21 19:48:23 +01:00
|
|
|
* Wed Nov 21 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.1.1-1
|
2007-11-19 22:15:36 +01:00
|
|
|
* Mon Nov 19 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.1.0-1
|
2007-11-16 00:24:54 +01:00
|
|
|
* 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
|
|
|
|
* Thu Oct 25 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.6-0RC2
|
2007-10-19 21:43:14 +02:00
|
|
|
* Tue Oct 03 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.5-1
|
2007-09-10 17:52:57 +02:00
|
|
|
* Wed Sep 05 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.4-1
|
2007-08-26 17:10:25 +02:00
|
|
|
* Mon Aug 13 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.3-1
|
2007-08-10 19:37:02 +02:00
|
|
|
* Thu Aug 09 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.2-1
|
2007-07-21 16:17:27 +02:00
|
|
|
* Sat Jul 21 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.1-1
|
2007-07-11 19:40:25 +02:00
|
|
|
* Wed Jul 11 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Modify shorewall.conf on uninstall
|
|
|
|
- Updated to 4.0.0-1
|
2007-07-08 21:19:46 +02:00
|
|
|
* Sun Jul 08 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.0-0RC2
|
2007-06-29 23:11:29 +02:00
|
|
|
* Fri Jun 29 2007 Tom EAstep tom@shorewall.net
|
|
|
|
- Updated to 4.0.0-0RC1
|
2007-06-24 16:07:53 +02:00
|
|
|
* Sun Jun 24 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.0-0Beta7
|
2007-06-20 23:14:32 +02:00
|
|
|
* Wed Jun 20 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.0-0Beta6
|
2007-06-14 22:27:40 +02:00
|
|
|
* Thu Jun 14 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.0-0Beta5
|
2007-06-08 18:27:21 +02:00
|
|
|
* Fri Jun 08 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.0-0Beta4
|
2007-06-05 17:00:02 +02:00
|
|
|
* Tue Jun 05 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.0-0Beta3
|
2007-05-16 00:42:00 +02:00
|
|
|
* Tue May 15 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.0-0Beta1
|
2007-05-14 01:11:32 +02:00
|
|
|
* Fri May 11 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.9.6-1
|
|
|
|
* Sat May 05 2007 Tom Eastep tom@shorewall.net
|
2007-05-05 21:32:22 +02:00
|
|
|
- Updated to 3.9.6-1
|
2007-05-01 00:00:07 +02:00
|
|
|
* Mon Apr 30 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.9.5-1
|
2007-04-23 19:26:17 +02:00
|
|
|
* Mon Apr 23 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.9.4-1
|
2007-04-18 22:03:59 +02:00
|
|
|
* Wed Apr 18 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.9.3-1
|
2007-04-17 00:51:53 +02:00
|
|
|
* Mon Apr 16 2007 Tom Eastep tom@shorewall.net
|
2007-04-17 00:39:29 +02:00
|
|
|
- Moved lib.dynamiczones to Shorewall-common
|
2007-04-15 04:31:08 +02:00
|
|
|
* Sat Apr 14 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.9.2-1
|
2007-04-03 18:13:36 +02:00
|
|
|
* Tue Apr 03 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Initial Version
|
|
|
|
|
|
|
|
|