forked from extern/shorewall_code
a05226db9f
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6889 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
114 lines
3.3 KiB
RPMSpec
114 lines
3.3 KiB
RPMSpec
%define name shorewall-perl
|
|
%define version 4.0.0
|
|
%define release 1
|
|
|
|
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
|
|
Requires: perl shorewall-common >= 4.0.0
|
|
Conflicts: shorewall < 3.4.2
|
|
Provides: shorewall_compiler = %{version}-%{release}
|
|
Provides: shorewall = %{version}-%{release}
|
|
|
|
%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.
|
|
|
|
Shorewall-perl is a part of Shorewall that allows faster compilation and
|
|
execution than the legacy shorewall-shell compiler.
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
%build
|
|
|
|
%install
|
|
export PREFIX=$RPM_BUILD_ROOT ; \
|
|
export OWNER=`id -n -u` ; \
|
|
export GROUP=`id -n -g` ;\
|
|
./install.sh -n -P
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%pre
|
|
|
|
%post
|
|
|
|
if /usr/share/shorewall-perl/buildports.pl > /usr/share/shorewall-perl/Shorewall/Ports.pm; then
|
|
chmod 0644 /usr/share/shorewall-perl/Shorewall/Ports.pm
|
|
else
|
|
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
|
|
fi
|
|
|
|
%preun
|
|
|
|
%files
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%attr(0755,root,root) %dir /usr/share/shorewall-perl
|
|
%attr(0755,root,root) %dir /usr/share/shorewall-perl/Shorewall
|
|
|
|
%attr(755,root,root) /usr/share/shorewall-perl/buildports.pl
|
|
%attr(755,root,root) /usr/share/shorewall-perl/compiler.pl
|
|
%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
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/version
|
|
%attr(0644,root,root) /usr/share/shorewall-perl/Shorewall/*.pm
|
|
|
|
%doc COPYING releasenotes.txt
|
|
|
|
%changelog
|
|
* Wed Jul 11 2007 Tom Eastep tom@shorewall.net
|
|
- Updated to 4.0.0-1
|
|
* Sun Jul 08 2007 Tom Eastep tom@shorewall.net
|
|
- Updated to 4.0.0-0RC2
|
|
* Fri Jun 29 2007 Tom EAstep tom@shorewall.net
|
|
- Updated to 4.0.0-0RC1
|
|
* Sun Jun 24 2007 Tom Eastep tom@shorewall.net
|
|
- Updated to 4.0.0-0Beta7
|
|
* Wed Jun 20 2007 Tom Eastep tom@shorewall.net
|
|
- Updated to 4.0.0-0Beta6
|
|
- Add new components.
|
|
* Thu Jun 14 2007 Tom Eastep tom@shorewall.net
|
|
- Updated to 4.0.0-0Beta5
|
|
* Fri Jun 08 2007 Tom Eastep tom@shorewall.net
|
|
- Updated to 4.0.0-0Beta4
|
|
* Tue Jun 05 2007 Tom Eastep tom@shorewall.net
|
|
- Updated to 4.0.0-0Beta3
|
|
* Sat May 26 2007 Tom Eastep tom@shorewall.net
|
|
- Updated to 4.0.0-0Beta2
|
|
* Tue May 15 2007 Tom Eastep tom@shorewall.net
|
|
- Updated to 4.0.0-0Beta1
|
|
* Fri May 11 2007 Tom Eastep tom@shorewall.net
|
|
- Updated to 3.9.7-1
|
|
* Sat May 05 2007 Tom Eastep tom@shorewall.net
|
|
- Updated to 3.9.6-1
|
|
* Mon Apr 30 2007 Tom Eastep tom@shorewall.net
|
|
- Updated to 3.9.5-1
|
|
* Mon Apr 23 2007 Tom Eastep tom@shorewall.net
|
|
- Updated to 3.9.4-1
|
|
* Wed Apr 18 2007 Tom Eastep tom@shorewall.net
|
|
- Updated to 3.9.3-1
|
|
* Sat Apr 14 2007 Tom Eastep tom@shorewall.net
|
|
- Updated to 3.9.2-1
|
|
* Sat Apr 07 2007 Tom Eastep tom@shorewall.net
|
|
- Initial version 3.9.1-1
|
|
* Sat Mar 24 2007 Tom Eastep tom@shorewall.net
|
|
- Initial version 3.9.0-1
|
|
|
|
|