2007-03-28 18:19:35 +02:00
|
|
|
%define name shorewall-perl
|
2007-05-16 00:42:00 +02:00
|
|
|
%define version 4.0.0
|
2007-06-29 23:11:29 +02:00
|
|
|
%define release 0RC1
|
2007-03-24 23:45:05 +01:00
|
|
|
|
|
|
|
Summary: Shoreline Firewall Perl-based compiler.
|
|
|
|
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-02 16:50:57 +02:00
|
|
|
Requires: perl shorewall-common >= 4.0.0
|
|
|
|
Conflicts: shorewall < 3.4.2
|
|
|
|
Provides: shorewall_compiler = %{version}-%{release}
|
2007-06-29 20:58:42 +02:00
|
|
|
Provides: shorewall = %{version}-%{release}
|
2007-03-24 23:45:05 +01: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:50:57 +02:00
|
|
|
Shorewall-perl is a part of Shorewall that allows faster compilation and
|
|
|
|
execution than the legacy shorewall-shell compiler.
|
2007-03-24 23:45:05 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
export PREFIX=$RPM_BUILD_ROOT ; \
|
|
|
|
export OWNER=`id -n -u` ; \
|
|
|
|
export GROUP=`id -n -g` ;\
|
2007-06-21 01:33:40 +02:00
|
|
|
./install.sh -n -P
|
2007-03-24 23:45:05 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%pre
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
2007-06-22 00:55:35 +02:00
|
|
|
if /usr/share/shorewall-perl/buildports.pl > /usr/share/shorewall-perl/Shorewall/Ports.pm; then
|
2007-07-02 17:10:01 +02:00
|
|
|
chmod 0644 /usr/share/shorewall-perl/Shorewall/Ports.pm
|
2007-06-22 00:55:35 +02:00
|
|
|
else
|
2007-06-22 00:58:15 +02:00
|
|
|
echo "The buildports.pl tool failed -- installing the fallback Protocol/Ports Module"
|
|
|
|
cp -a /usr/share/shorewall-perl/Shorewall/FallbackPorts.pm /usr/share/shorewall-perl/Shorewall/Ports.pm
|
2007-06-22 00:55:35 +02:00
|
|
|
fi
|
2007-06-21 00:39:19 +02:00
|
|
|
|
2007-03-24 23:45:05 +01:00
|
|
|
%preun
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
|
2007-03-28 18:19:35 +02:00
|
|
|
%attr(0755,root,root) %dir /usr/share/shorewall-perl
|
|
|
|
%attr(0755,root,root) %dir /usr/share/shorewall-perl/Shorewall
|
|
|
|
|
2007-07-02 16:50:57 +02:00
|
|
|
%attr(755,root,root) /usr/share/shorewall-perl/buildports.pl
|
|
|
|
%attr(755,root,root) /usr/share/shorewall-perl/compiler.pl
|
2007-07-02 21:47:46 +02:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/lib.base
|
2007-03-28 18:19:35 +02:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/prog.header
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/prog.functions
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/prog.footer
|
2007-05-18 00:24:01 +02:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/version
|
2007-07-02 17:10:01 +02:00
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/Accounting.pm
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/Actions.pm
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/Chains.pm
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/Common.pm
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/Compiler.pm
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/Config.pm
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/FallbackPorts.pm
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/Hosts.pm
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/Interfaces.pm
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/IPAddrs.pm
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/Macros.pm
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/Nat.pm
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/Policy.pm
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/Proc.pm
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/Providers.pm
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/Proxyarp.pm
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/Rules.pm
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/Tc.pm
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/Tunnels.pm
|
|
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/Zones.pm
|
2007-03-24 23:45:05 +01:00
|
|
|
|
|
|
|
%doc COPYING releasenotes.txt
|
|
|
|
|
|
|
|
%changelog
|
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
|
|
|
|
- Add new components.
|
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-26 13:27:09 +02:00
|
|
|
* Sat May 26 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 4.0.0-0Beta2
|
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-11 22:09:48 +02:00
|
|
|
* Fri May 11 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.9.7-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-15 04:31:08 +02:00
|
|
|
* Sat Apr 14 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Updated to 3.9.2-1
|
2007-04-07 19:14:55 +02:00
|
|
|
* Sat Apr 07 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Initial version 3.9.1-1
|
2007-03-24 23:45:05 +01:00
|
|
|
* Sat Mar 24 2007 Tom Eastep tom@shorewall.net
|
|
|
|
- Initial version 3.9.0-1
|
|
|
|
|
|
|
|
|