2002-05-01 01:13:15 +02:00
|
|
|
%define name shorewall
|
2006-01-15 20:27:57 +01:00
|
|
|
%define version 3.1.2
|
2005-11-04 00:48:58 +01:00
|
|
|
%define release 1
|
2002-05-01 01:13:15 +02: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
|
2002-07-18 15:50:01 +02:00
|
|
|
Source: %{name}-%{version}.tgz
|
2002-05-01 01:13:15 +02:00
|
|
|
URL: http://www.shorewall.net/
|
|
|
|
BuildArch: noarch
|
2002-07-18 15:50:01 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
2003-02-21 23:55:36 +01:00
|
|
|
Requires: iptables iproute
|
2002-05-01 01:13:15 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
|
2002-07-18 15:53:13 +02:00
|
|
|
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.
|
2002-05-01 01:13:15 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
|
2002-07-18 15:50:01 +02:00
|
|
|
%setup
|
2002-05-01 01:13:15 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
export PREFIX=$RPM_BUILD_ROOT ; \
|
|
|
|
export OWNER=`id -n -u` ; \
|
|
|
|
export GROUP=`id -n -g` ;\
|
2005-07-09 06:45:32 +02:00
|
|
|
./install.sh
|
2002-05-01 01:13:15 +02:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
2002-09-19 22:40:10 +02:00
|
|
|
|
|
|
|
if [ $1 -eq 1 ]; then
|
2003-02-23 15:10:37 +01:00
|
|
|
if [ -x /sbin/insserv ]; then
|
2002-09-20 02:53:19 +02:00
|
|
|
/sbin/insserv /etc/rc.d/shorewall
|
|
|
|
elif [ -x /sbin/chkconfig ]; then
|
2003-02-23 15:10:37 +01:00
|
|
|
/sbin/chkconfig --add shorewall;
|
2002-09-20 02:53:19 +02:00
|
|
|
fi
|
2002-09-19 22:40:10 +02:00
|
|
|
fi
|
2002-05-01 01:13:15 +02:00
|
|
|
|
|
|
|
%preun
|
2002-09-20 02:53:19 +02:00
|
|
|
|
2002-09-19 22:40:10 +02:00
|
|
|
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
|
2002-09-25 01:13:36 +02:00
|
|
|
|
|
|
|
rm -f /etc/shorewall/startup_disabled
|
|
|
|
|
2002-09-19 22:40:10 +02:00
|
|
|
fi
|
2002-05-01 01:13:15 +02:00
|
|
|
|
2003-02-23 15:10:37 +01:00
|
|
|
%files
|
2005-08-24 21:02:09 +02:00
|
|
|
%defattr(0644,root,root,0755)
|
2005-07-09 06:45:32 +02:00
|
|
|
%attr(0544,root,root) /etc/init.d/shorewall
|
2002-05-01 01:13:15 +02:00
|
|
|
%attr(0700,root,root) %dir /etc/shorewall
|
2003-02-08 21:58:44 +01:00
|
|
|
%attr(0700,root,root) %dir /usr/share/shorewall
|
2002-06-15 19:27:41 +02:00
|
|
|
%attr(0700,root,root) %dir /var/lib/shorewall
|
2002-05-01 01:13:15 +02:00
|
|
|
%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
|
2005-07-09 07:45:05 +02:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/ipsec
|
2002-05-01 01:13:15 +02:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/rules
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/nat
|
2005-07-09 06:45:32 +02:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/netmap
|
2002-05-01 01:13:15 +02:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/params
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/proxyarp
|
2002-07-11 02:01:45 +02:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/routestopped
|
2002-10-22 20:07:52 +02:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/maclist
|
2002-05-01 01:13:15 +02:00
|
|
|
%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
|
2002-12-19 21:14:10 +01:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/init
|
2005-07-09 06:45:32 +02:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/initdone
|
2002-12-19 21:14:10 +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
|
2003-02-24 16:24:55 +01:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/ecn
|
2003-08-10 03:11:50 +02:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/accounting
|
2003-12-04 03:01:08 +01:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/actions
|
2005-07-09 07:45:05 +02:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/continue
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/started
|
2005-07-09 07:55:29 +02:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/providers
|
2005-08-31 22:48:22 +02:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/tcclasses
|
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/tcdevices
|
2005-08-06 18:58:18 +02:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/Makefile
|
2005-07-09 06:45:32 +02:00
|
|
|
|
2002-05-01 01:13:15 +02:00
|
|
|
%attr(0544,root,root) /sbin/shorewall
|
2005-07-09 06:45:32 +02: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.Drop
|
2005-12-15 23:42:39 +01:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.Limit
|
2005-07-09 06:45:32 +02:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.Reject
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/action.template
|
2003-02-08 21:58:44 +01:00
|
|
|
%attr(0444,root,root) /usr/share/shorewall/functions
|
|
|
|
%attr(0544,root,root) /usr/share/shorewall/firewall
|
2003-07-27 20:17:39 +02:00
|
|
|
%attr(0544,root,root) /usr/share/shorewall/help
|
2005-12-15 23:42:39 +01:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/Limit
|
2005-07-26 01:08:09 +02:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.AllowICMPs
|
2005-07-26 16:02:50 +02:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.Amanda
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.Auth
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.BitTorrent
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.CVS
|
2005-07-26 16:22:29 +02:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.Distcc
|
2005-07-26 16:02:50 +02:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.DNS
|
2005-07-26 01:08:09 +02:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.DropDNSrep
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.DropUPnP
|
2005-07-26 16:02:50 +02:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.Edonkey
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.FTP
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.Gnutella
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.ICQ
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.IMAP
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.LDAP
|
2005-07-26 16:22:29 +02:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.MySQL
|
2005-07-26 16:02:50 +02:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.NNTP
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.NTP
|
2005-08-07 20:45:40 +02:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.NTPbrd
|
2005-07-26 16:02:50 +02:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.PCA
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.Ping
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.POP3
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.PostgreSQL
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.Rdate
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.Rsync
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.SMB
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.SMBswat
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.SMTP
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.SNMP
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.SPAMD
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.SSH
|
2005-08-07 20:45:40 +02:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.Submission
|
2005-07-26 16:02:50 +02:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.SVN
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.Syslog
|
2005-07-26 16:09:57 +02:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.Telnet
|
2005-12-17 17:04:26 +01:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.template
|
2005-07-26 16:05:23 +02:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.Trcrt
|
2005-07-26 16:02:50 +02:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.VNC
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.VNCL
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.Web
|
2005-11-22 23:48:18 +01:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/macro.Webmin
|
2006-01-18 00:27:54 +01:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/prog.footer
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/prog.header
|
2005-07-09 06:45:32 +02:00
|
|
|
%attr(0600,root,root) /usr/share/shorewall/rfc1918
|
|
|
|
%attr(0600,root,root) /usr/share/shorewall/configpath
|
|
|
|
|
2005-10-21 00:10:10 +02:00
|
|
|
%doc COPYING INSTALL changelog.txt releasenotes.txt tunnel ipsecvpn Samples
|
2002-05-01 01:13:15 +02:00
|
|
|
|
|
|
|
%changelog
|
2006-01-18 00:27:54 +01:00
|
|
|
* Sun Tue 17 2006 Tom Eastep tom@shorewall.net
|
|
|
|
- Added program skeleton Files
|
2006-01-15 20:27:57 +01:00
|
|
|
* Sun Jan 15 2006 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.1.2-1
|
2006-01-13 01:10:03 +01:00
|
|
|
* Thu Jan 12 2006 Tom Eastep tom@shorewall.net
|
2006-01-13 01:08:43 +01:00
|
|
|
- Updated to 3.1.1-1
|
2005-12-24 23:08:49 +01:00
|
|
|
* Sat Dec 24 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.1.0-1
|
2005-12-15 23:42:39 +01:00
|
|
|
* Thu Dec 15 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Add Limit action
|
2005-12-12 21:55:54 +01:00
|
|
|
* Mon Dec 12 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.0.3-1
|
2005-11-22 22:29:18 +01:00
|
|
|
* Tue Nov 22 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.0.2-1
|
2005-11-17 19:37:25 +01:00
|
|
|
* Thu Nov 17 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.0.1-1
|
2005-11-04 00:48:58 +01:00
|
|
|
* Wed Nov 03 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.0.0-1
|
2005-11-02 23:30:20 +01:00
|
|
|
* Wed Nov 02 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.0.0-0RC3
|
2005-11-04 00:48:58 +01:00
|
|
|
Sat Oct 22 2005 Tom Eastep tom@shorewall.net
|
2005-10-22 17:20:26 +02:00
|
|
|
- Updated to 3.0.0-0RC2
|
2005-10-17 16:09:50 +02:00
|
|
|
* Mon Oct 17 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.0.0-0RC1
|
2005-10-09 21:42:27 +02:00
|
|
|
* Sun Oct 09 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.0.0-0Beta1
|
2005-10-07 19:13:46 +02:00
|
|
|
* Fri Oct 07 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.5.7-1
|
2005-10-04 22:17:30 +02:00
|
|
|
* Tue Oct 04 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.5.7-1
|
2005-09-18 00:32:37 +02:00
|
|
|
* Sat Sep 17 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.5.6-1
|
2005-08-30 22:34:15 +02:00
|
|
|
* Tue Aug 30 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.5.4-1
|
2005-08-27 00:42:35 +02:00
|
|
|
* Fri Aug 26 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.5.3-1
|
2005-08-16 18:54:03 +02:00
|
|
|
* Tue Aug 16 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.5.2-1
|
2005-08-07 20:37:15 +02:00
|
|
|
* Sun Aug 07 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.5.1-1
|
2005-07-26 16:02:50 +02:00
|
|
|
* Tue Jul 26 2005 Tom Eastep tom@shorewall.net
|
2005-08-02 18:46:30 +02:00
|
|
|
- Fix omissions/errors
|
2005-07-26 01:08:09 +02:00
|
|
|
* Mon Jul 25 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.5.0-1
|
|
|
|
- Add macros and convert most actions to macros
|
2005-07-09 07:55:29 +02:00
|
|
|
* Thu Jun 02 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.4.0-1
|
|
|
|
* Sun May 30 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.4.0-0RC2
|
|
|
|
* Thu May 19 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.4.0-0RC1
|
|
|
|
* Thu May 19 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.3.2-1
|
|
|
|
* Sun May 15 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.3.1-1
|
2005-07-09 07:45:05 +02:00
|
|
|
* Mon Apr 11 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.4-1
|
|
|
|
* Fri Apr 08 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Added /etc/shorewall/started
|
|
|
|
* Tue Apr 05 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.3-1
|
|
|
|
* Mon Mar 07 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.2-1
|
|
|
|
* Mon Jan 24 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.1-1
|
|
|
|
* Mon Jan 24 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-1
|
|
|
|
* Mon Jan 17 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0RC5
|
|
|
|
* Thu Jan 06 2005 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0RC4
|
|
|
|
* Thu Dec 30 2004 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0RC3
|
|
|
|
* Fri Dec 24 2004 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0RC2
|
|
|
|
* Sun Dec 19 2004 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0RC1
|
|
|
|
- Added ipsecvpn file
|
|
|
|
* Sat Dec 11 2004 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0Beta8
|
|
|
|
* Mon Nov 29 2004 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0Beta7
|
|
|
|
* Fri Nov 26 2004 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0Beta6
|
|
|
|
* Fri Nov 26 2004 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0Beta5
|
|
|
|
* Fri Nov 19 2004 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0Beta4
|
|
|
|
* Tue Nov 09 2004 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0Beta3
|
|
|
|
* Tue Nov 02 2004 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0Beta2
|
|
|
|
* Fri Oct 22 2004 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 2.2.0-0Beta1
|
2002-05-01 01:13:15 +02:00
|
|
|
|
|
|
|
|