2002-05-01 01:13:15 +02:00
|
|
|
%define name shorewall
|
2006-08-31 00:17:12 +02:00
|
|
|
%define version 3.3.1
|
2006-07-08 17:36:06 +02: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
|
2006-01-21 00:51:44 +01:00
|
|
|
%attr(0755,root,root) %dir /etc/shorewall
|
|
|
|
%attr(0755,root,root) %dir /usr/share/shorewall
|
2006-06-18 17:17:45 +02:00
|
|
|
%attr(0755,root,root) %dir /usr/share/shorewall/configfiles
|
2002-06-15 19:27:41 +02:00
|
|
|
%attr(0700,root,root) %dir /var/lib/shorewall
|
2006-01-21 00:50:45 +01:00
|
|
|
%attr(0644,root,root) %config(noreplace) /etc/shorewall/shorewall.conf
|
2002-05-01 01:13:15 +02:00
|
|
|
%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
|
2006-06-28 17:22:01 +02:00
|
|
|
%attr(0644,root,root) %config(noreplace) /etc/shorewall/params
|
2002-05-01 01:13:15 +02:00
|
|
|
%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/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
|
2006-04-14 19:10:14 +02:00
|
|
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/route_rules
|
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
|
2006-03-25 16:44:48 +01:00
|
|
|
%attr(0600,root,root) /etc/shorewall/Makefile
|
2005-07-09 06:45:32 +02:00
|
|
|
|
2006-06-12 19:48:20 +02:00
|
|
|
%attr(0555,root,root) /sbin/shorewall
|
|
|
|
|
2006-01-21 00:50:45 +01:00
|
|
|
%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
|
2006-01-22 17:29:33 +01:00
|
|
|
%attr(0555,root,root) /usr/share/shorewall/compiler
|
2003-02-08 21:58:44 +01:00
|
|
|
%attr(0444,root,root) /usr/share/shorewall/functions
|
2006-06-19 03:35:35 +02:00
|
|
|
%attr(0555,root,root) /usr/share/shorewall/firewall
|
|
|
|
%attr(0555,root,root) /usr/share/shorewall/help
|
2006-08-27 22:44:43 +02:00
|
|
|
%attr(0444,root,root) /usr/share/shorewall/lib.accounting
|
2006-08-31 00:24:39 +02:00
|
|
|
%attr(0444,root,root) /usr/share/shorewall/lib.actions
|
2006-08-27 20:42:30 +02:00
|
|
|
%attr(0444,root,root) /usr/share/shorewall/lib.dynamiczones
|
2006-08-27 23:05:08 +02:00
|
|
|
%attr(0444,root,root) /usr/share/shorewall/lib.maclist
|
2006-08-27 21:42:06 +02:00
|
|
|
%attr(0444,root,root) /usr/share/shorewall/lib.nat
|
2006-08-27 22:44:43 +02:00
|
|
|
%attr(0444,root,root) /usr/share/shorewall/lib.providers
|
|
|
|
%attr(0444,root,root) /usr/share/shorewall/lib.proxyarp
|
2006-08-27 20:42:30 +02:00
|
|
|
%attr(0444,root,root) /usr/share/shorewall/lib.tc
|
2006-08-27 21:28:20 +02:00
|
|
|
%attr(0444,root,root) /usr/share/shorewall/lib.tcrules
|
2006-08-27 21:42:06 +02:00
|
|
|
%attr(0444,root,root) /usr/share/shorewall/lib.tunnels
|
2006-01-21 00:50:45 +01:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.AllowICMPs
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.Amanda
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.Auth
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.BitTorrent
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.CVS
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.Distcc
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.DNS
|
2006-08-29 22:21:59 +02:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.Drop
|
2006-01-21 00:50:45 +01:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.DropDNSrep
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.DropUPnP
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.Edonkey
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.FTP
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.Gnutella
|
2006-01-29 19:09:06 +01:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.HTTP
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.HTTPS
|
2006-01-21 00:50:45 +01:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.ICQ
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.IMAP
|
2006-01-29 19:09:06 +01:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.IMAPS
|
2006-01-21 00:50:45 +01:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.LDAP
|
2006-01-29 19:09:06 +01:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.LDAPS
|
2006-01-21 00:50:45 +01:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.MySQL
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.NNTP
|
2006-01-29 19:09:06 +01:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.NNTPS
|
2006-01-21 00:50:45 +01:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.NTP
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.NTPbrd
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.PCA
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.Ping
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.POP3
|
2006-01-29 19:09:06 +01:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.POP3S
|
2006-01-21 00:50:45 +01:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.PostgreSQL
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.Rdate
|
2006-08-29 22:21:59 +02:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.Reject
|
2006-01-21 00:50:45 +01:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.Rsync
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.SMB
|
2006-02-10 21:17:55 +01:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.SMBBI
|
2006-01-21 00:50:45 +01:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.SMBswat
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.SMTP
|
2006-01-29 19:10:49 +01:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.SMTPS
|
2006-01-21 00:50:45 +01:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.SNMP
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.SPAMD
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.SSH
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.Submission
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.SVN
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.Syslog
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.Telnet
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.template
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.Trcrt
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.VNC
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.VNCL
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.Web
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.Webmin
|
2006-01-21 15:42:56 +01:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/macro.Whois
|
2006-05-20 17:24:06 +02:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/modules
|
2006-01-21 00:50:45 +01:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/prog.footer
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/prog.header
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/rfc1918
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configpath
|
2006-05-20 17:24:06 +02:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/xmodules
|
2005-07-09 06:45:32 +02:00
|
|
|
|
2006-05-30 22:10:52 +02:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/shorewall.conf
|
2006-06-16 22:45:12 +02:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/zones
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/policy
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/interfaces
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/ipsec
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/rules
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/nat
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/netmap
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/params
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/proxyarp
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/routestopped
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/maclist
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/masq
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/tcrules
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/tos
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/tunnels
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/hosts
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/blacklist
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/init
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/initdone
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/start
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/stop
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/stopped
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/ecn
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/accounting
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/actions
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/continue
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/started
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/providers
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/route_rules
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/tcclasses
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/tcdevices
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall/configfiles/Makefile
|
2006-05-30 22:10:52 +02:00
|
|
|
|
2006-03-03 00:31:27 +01:00
|
|
|
%doc COPYING INSTALL changelog.txt releasenotes.txt tunnel ipsecvpn Samples
|
2002-05-01 01:13:15 +02:00
|
|
|
|
|
|
|
%changelog
|
2006-08-31 00:17:12 +02:00
|
|
|
* Wed Aug 30 2006 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.3.1-1
|
2006-08-27 19:36:11 +02:00
|
|
|
* Sun Aug 27 2006 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.3.0-1
|
2006-08-27 19:27:48 +02:00
|
|
|
* Fri Aug 25 2006 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.2.3-1
|
2002-05-01 01:13:15 +02:00
|
|
|
|
|
|
|
|