2004-01-31 17:11:22 +01:00
|
|
|
%define name shorewall
|
2005-05-15 16:20:46 +02:00
|
|
|
%define version 2.3.1
|
2005-01-24 23:44:11 +01:00
|
|
|
%define release 1
|
2004-01-31 17:11:22 +01:00
|
|
|
%define prefix /usr
|
|
|
|
|
|
|
|
Summary: Shoreline Firewall is an iptables-based firewall for Linux systems.
|
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
|
|
|
Release: %{release}
|
|
|
|
Prefix: %{prefix}
|
|
|
|
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
|
|
|
|
Requires: iptables iproute
|
|
|
|
|
|
|
|
%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` ;\
|
2004-02-29 16:51:08 +01:00
|
|
|
./install.sh
|
2004-01-31 17:11:22 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
2004-09-07 01:46:26 +02:00
|
|
|
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
|
|
|
|
|
2004-01-31 17:11:22 +01:00
|
|
|
%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
|
|
|
|
|
|
|
|
%files
|
2004-06-14 18:16:12 +02:00
|
|
|
%attr(0544,root,root) /etc/init.d/shorewall
|
2004-01-31 17:11:22 +01:00
|
|
|
%attr(0700,root,root) %dir /etc/shorewall
|
|
|
|
%attr(0700,root,root) %dir /usr/share/shorewall
|
|
|
|
%attr(0700,root,root) %dir /var/lib/shorewall
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/shorewall.conf
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/zones
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/policy
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/interfaces
|
2004-08-19 00:29:09 +02:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/ipsec
|
2004-01-31 17:11:22 +01:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/rules
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/nat
|
2004-03-18 22:36:27 +01:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/netmap
|
2004-01-31 17:11:22 +01:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/params
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/proxyarp
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/routestopped
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/maclist
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/masq
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/modules
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/tcrules
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/tos
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/tunnels
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/hosts
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/blacklist
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/init
|
2004-05-11 03:47:45 +02:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/initdone
|
2004-01-31 17:11:22 +01:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/start
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/stop
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/stopped
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/ecn
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/accounting
|
2004-02-10 00:52:01 +01:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/actions
|
2005-04-08 16:38:46 +02:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/continue
|
2005-04-08 22:57:59 +02:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/started
|
2005-05-16 01:23:03 +02:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/routes
|
2004-02-10 00:52:01 +01:00
|
|
|
|
2004-01-31 17:11:22 +01:00
|
|
|
%attr(0544,root,root) /sbin/shorewall
|
2004-02-15 18:52:27 +01:00
|
|
|
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/version
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/actions.std
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowAuth
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowDNS
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowFTP
|
2004-10-08 00:56:35 +02:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowICMPs
|
2004-02-15 18:52:27 +01:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowIMAP
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowNNTP
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowNTP
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowPCA
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowPing
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowPOP3
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowRdate
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowSMB
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowSMTP
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowSNMP
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowSSH
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowTelnet
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowTrcrt
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowVNC
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowVNCL
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.AllowWeb
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.Drop
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.DropDNSrep
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.DropPing
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.DropSMB
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.DropUPnP
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.Reject
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.RejectAuth
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.RejectSMB
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.template
|
2004-01-31 17:11:22 +01:00
|
|
|
%attr(0444,root,root) /usr/share/shorewall/functions
|
|
|
|
%attr(0544,root,root) /usr/share/shorewall/firewall
|
|
|
|
%attr(0544,root,root) /usr/share/shorewall/help
|
2004-02-16 22:05:28 +01:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/rfc1918
|
2004-03-17 20:06:54 +01:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/bogons
|
2004-04-15 15:51:55 +02:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/configpath
|
2004-02-15 18:52:27 +01:00
|
|
|
|
2004-12-19 17:52:13 +01:00
|
|
|
%doc COPYING INSTALL changelog.txt releasenotes.txt tunnel ipsecvpn
|
2004-01-31 17:11:22 +01:00
|
|
|
|
|
|
|
%changelog
|
2005-05-15 16:20:46 +02:00
|
|
|
* Sun May 15 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.3.1-1
|
2005-04-11 23:46:07 +02:00
|
|
|
* Mon Apr 11 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.4-1
|
2005-04-11 20:15:09 +02:00
|
|
|
* Fri Apr 08 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Added /etc/shorewall/started
|
2005-04-06 01:10:27 +02:00
|
|
|
* Tue Apr 05 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.3-1
|
2005-03-07 23:32:05 +01:00
|
|
|
* Mon Mar 07 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.2-1
|
2005-01-24 23:44:11 +01:00
|
|
|
* Mon Jan 24 2005 Tom Eastep tom@shorewall.net
|
2005-02-16 00:45:27 +01:00
|
|
|
- Updated to 2.2.1-1
|
|
|
|
* Mon Jan 24 2005 Tom Eastep tom@shorewall.net
|
2005-01-24 23:44:11 +01:00
|
|
|
- Updated to 2.2.0-1
|
2005-01-17 16:53:08 +01:00
|
|
|
* Mon Jan 17 2005 Tom Eastep tom@shorewall.net
|
2005-01-07 05:09:56 +01:00
|
|
|
- Updated to 2.2.0-0RC5
|
2005-01-17 16:53:08 +01:00
|
|
|
* Thu Jan 06 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0RC4
|
2004-12-30 19:09:55 +01:00
|
|
|
* Thu Dec 30 2004 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0RC3
|
2004-12-25 03:49:48 +01:00
|
|
|
* Fri Dec 24 2004 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0RC2
|
2004-12-19 17:52:13 +01:00
|
|
|
* Sun Dec 19 2004 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0RC1
|
|
|
|
- Added ipsecvpn file
|
2004-12-11 16:35:24 +01:00
|
|
|
* Sat Dec 11 2004 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0Beta8
|
2004-11-29 17:00:37 +01:00
|
|
|
* Mon Nov 29 2004 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0Beta7
|
2004-11-26 19:53:04 +01:00
|
|
|
* Fri Nov 26 2004 Tom Eastep tom@shorewall.net
|
2004-11-27 01:03:16 +01:00
|
|
|
- Updated to 2.2.0-0Beta6
|
|
|
|
* Fri Nov 26 2004 Tom Eastep tom@shorewall.net
|
2004-11-26 19:53:04 +01:00
|
|
|
- Updated to 2.2.0-0Beta5
|
2004-11-19 18:58:59 +01:00
|
|
|
* Fri Nov 19 2004 Tom Eastep tom@shorewall.net
|
2004-11-26 19:53:04 +01:00
|
|
|
- Updated to 2.2.0-0Beta4
|
2004-11-09 22:55:11 +01:00
|
|
|
* Tue Nov 09 2004 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0Beta3
|
2004-11-02 19:26:28 +01:00
|
|
|
* Tue Nov 02 2004 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0Beta2
|
2004-10-22 21:53:18 +02:00
|
|
|
* Fri Oct 22 2004 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0Beta1
|
2004-01-31 17:11:22 +01:00
|
|
|
|
|
|
|
|