2008-12-10 01:33:55 +01:00
|
|
|
%define name shorewall6-lite
|
2009-04-20 02:39:28 +02:00
|
|
|
%define version 4.3.10
|
2009-01-14 02:18:11 +01:00
|
|
|
%define release 0base
|
2008-12-09 17:50:17 +01:00
|
|
|
|
2008-12-10 01:33:55 +01:00
|
|
|
Summary: Shoreline Firewall 6 Lite is an ip6tables-based firewall for Linux systems.
|
2008-12-09 17:50:17 +01:00
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
|
|
|
Release: %{release}
|
2009-02-23 17:39:18 +01:00
|
|
|
License: GPLv2
|
2008-12-09 17:50:17 +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
|
|
|
|
Requires: iptables iproute
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
2008-12-10 01:33:55 +01:00
|
|
|
The Shoreline Firewall 6, more commonly known as "Shorewall6", is a Netfilter
|
|
|
|
(ip6tables) based firewall that can be used on a dedicated firewall system,
|
2008-12-09 17:50:17 +01:00
|
|
|
a multi-function gateway/ router/server or on a standalone GNU/Linux system.
|
|
|
|
|
2008-12-11 18:23:51 +01:00
|
|
|
Shorewall6 Lite is a companion product to Shorewall6 that allows network
|
2008-12-10 01:33:55 +01:00
|
|
|
administrators to centralize the configuration of Shorewall6-based firewalls.
|
2008-12-09 17:50:17 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
export PREFIX=$RPM_BUILD_ROOT ; \
|
|
|
|
export OWNER=`id -n -u` ; \
|
|
|
|
export GROUP=`id -n -g` ;\
|
2009-02-22 22:06:51 +01:00
|
|
|
./install.sh
|
2008-12-09 17:50:17 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%pre
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
if [ -x /sbin/insserv ]; then
|
2008-12-10 01:33:55 +01:00
|
|
|
/sbin/insserv /etc/rc.d/shorewall6-lite
|
2008-12-09 17:50:17 +01:00
|
|
|
elif [ -x /sbin/chkconfig ]; then
|
2008-12-10 01:33:55 +01:00
|
|
|
/sbin/chkconfig --add shorewall6-lite;
|
2008-12-09 17:50:17 +01:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
if [ -x /sbin/insserv ]; then
|
2008-12-10 01:33:55 +01:00
|
|
|
/sbin/insserv -r /etc/init.d/shorewall6-lite
|
2008-12-09 17:50:17 +01:00
|
|
|
elif [ -x /sbin/chkconfig ]; then
|
2008-12-10 01:33:55 +01:00
|
|
|
/sbin/chkconfig --del shorewall6-lite
|
2008-12-09 17:50:17 +01:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(0644,root,root,0755)
|
2008-12-10 01:33:55 +01:00
|
|
|
%attr(0755,root,root) %dir /etc/shorewall6-lite
|
|
|
|
%attr(0644,root,root) %config(noreplace) /etc/shorewall6-lite/shorewall6-lite.conf
|
|
|
|
%attr(0644,root,root) /etc/shorewall6-lite/Makefile
|
|
|
|
%attr(0544,root,root) /etc/init.d/shorewall6-lite
|
|
|
|
%attr(0755,root,root) %dir /usr/share/shorewall6-lite
|
|
|
|
%attr(0700,root,root) %dir /var/lib/shorewall6-lite
|
|
|
|
|
|
|
|
%attr(0755,root,root) /sbin/shorewall6-lite
|
|
|
|
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall6-lite/version
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall6-lite/configpath
|
|
|
|
%attr(- ,root,root) /usr/share/shorewall6-lite/functions
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall6-lite/lib.base
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall6-lite/lib.cli
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall6-lite/modules
|
|
|
|
%attr(0544,root,root) /usr/share/shorewall6-lite/shorecap
|
|
|
|
%attr(0755,root,root) /usr/share/shorewall6-lite/wait4ifup
|
|
|
|
|
2008-12-14 19:08:56 +01:00
|
|
|
%attr(0644,root,root) %{_mandir}/man5/shorewall6-lite.conf.5.gz
|
|
|
|
%attr(0644,root,root) %{_mandir}/man5/shorewall6-lite-vardir.5.gz
|
|
|
|
|
|
|
|
%attr(0644,root,root) %{_mandir}/man8/shorewall6-lite.8.gz
|
|
|
|
|
2008-12-09 17:50:17 +01:00
|
|
|
%doc COPYING changelog.txt releasenotes.txt
|
|
|
|
|
|
|
|
%changelog
|
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-21 18:21:51 +01:00
|
|
|
* Wed Feb 04 2009 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.2.6-0base
|
|
|
|
* 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: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-10 01:33:55 +01:00
|
|
|
* Tue Dec 09 2008 Tom Eastep tom@shorewall.net
|
|
|
|
- Initial Version
|
2008-12-09 17:50:17 +01:00
|
|
|
|
|
|
|
|