72 lines
1.7 KiB
RPMSpec
72 lines
1.7 KiB
RPMSpec
|
Name: iptables
|
|||
|
Summary: Tools for managing Linux kernel packet filtering capabilities.
|
|||
|
Version: 1.1.1
|
|||
|
Release: 2
|
|||
|
Source: http://netfilter.kernelnotes.org/%{name}-%{version}.tar.bz2
|
|||
|
Group: System Environment/Base
|
|||
|
URL: http://netfilter.kernelnotes.org/
|
|||
|
BuildRoot: %{_tmppath}/%{name}-buildroot
|
|||
|
License: GPL
|
|||
|
BuildPrereq: /usr/bin/perl
|
|||
|
#Requires: kernel >= 2.3.99
|
|||
|
#Obsoletes: ipchains
|
|||
|
Prefix: %{_prefix}
|
|||
|
Patch: iptables-nopatchcheck.patch
|
|||
|
# ICE
|
|||
|
ExcludeArch: alpha
|
|||
|
|
|||
|
%description
|
|||
|
iptables controls the Linux kernel network packet filtering code.
|
|||
|
It allows you to set up firewalls and IP masquerading, etc.
|
|||
|
|
|||
|
Install iptables if you need to set up firewalling for your
|
|||
|
network.
|
|||
|
|
|||
|
%prep
|
|||
|
rm -rf %{buildroot}
|
|||
|
|
|||
|
%setup -q
|
|||
|
%patch -p1
|
|||
|
# Put it to a reasonable place
|
|||
|
perl -pi -e "s,/usr/local,%{prefix},g" * */*
|
|||
|
|
|||
|
%build
|
|||
|
make COPT_FLAGS="$RPM_OPT_FLAGS"
|
|||
|
|
|||
|
%install
|
|||
|
make install DESTDIR=%{buildroot} BINDIR=/sbin MANDIR=%{_mandir}
|
|||
|
|
|||
|
%clean
|
|||
|
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/file.list.%{name}
|
|||
|
|
|||
|
%files
|
|||
|
%defattr(-,root,root,0755)
|
|||
|
/sbin/iptables
|
|||
|
%{_mandir}/*/*
|
|||
|
%dir %{prefix}/lib/iptables
|
|||
|
%{prefix}/lib/iptables/*
|
|||
|
|
|||
|
%changelog
|
|||
|
* Thu Aug 17 2000 Bill Nottingham <notting@redhat.com>
|
|||
|
- build everywhere
|
|||
|
|
|||
|
* Tue Jul 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|||
|
- 1.1.1
|
|||
|
|
|||
|
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
|||
|
- automatic rebuild
|
|||
|
|
|||
|
* Tue Jun 27 2000 Preston Brown <pbrown@redhat.com>
|
|||
|
- move iptables to /sbin.
|
|||
|
- excludearch alpha for now, not building there because of compiler bug(?)
|
|||
|
|
|||
|
* Fri Jun 9 2000 Bill Nottingham <notting@redhat.com>
|
|||
|
- don't obsolete ipchains either
|
|||
|
- update to 1.1.0
|
|||
|
|
|||
|
* Mon Jun 4 2000 Bill Nottingham <notting@redhat.com>
|
|||
|
- remove explicit kernel requirement
|
|||
|
|
|||
|
* Tue May 2 2000 Bernhard Rosenkr<EFBFBD>nzer <bero@redhat.com>
|
|||
|
- initial package
|