bfa5afa17b
Wed Mar 21 2001 Bernhard Rosenkraenzer <bero@redhat.com> - 1.2.1a, fixes #28412, #31136, #31460, #31133 Thu Mar 01 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Yet another initscript fix (#30173) - Fix the fixes; they fixed some issues but broke more important stuff :/ (#30176) Tue Feb 27 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Fix up initscript (#27962) - Add fixes from CVS to iptables-{restore,save}, fixing #28412 Fri Feb 09 2001 Karsten Hopp <karsten@redhat.de> - create /etc/sysconfig/iptables mode 600 (same problem as #24245) Mon Feb 05 2001 Karsten Hopp <karsten@redhat.de> - fix bugzilla #25986 (initscript not marked as config file) - fix bugzilla #25962 (iptables-restore) - mv chkconfig --del from postun to preun Thu Feb 01 2001 Trond Eivind Glomsrød <teg@redhat.com> - Fix check for ipchains Mon Jan 29 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Some fixes to init scripts Wed Jan 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Add some fixes from CVS, fixes among other things Bug #24732 Wed Jan 17 2001 Bernhard Rosenkraenzer <bero@redhat.com> - Add missing man pages, fix up init script (Bug #17676) Mon Jan 15 2001 Bill Nottingham <notting@redhat.com> - add init script Mon Jan 15 2001 Bernhard Rosenkraenzer <bero@redhat.com> - 1.2 - fix up ipv6 split - add init script - Move the plugins from /usr/lib/iptables to /lib/iptables. This needs to work before /usr is mounted... - Use -O1 on alpha (compiler bug) Sat Jan 06 2001 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.2 - Add IPv6 support (in separate package)
157 lines
4.2 KiB
RPMSpec
157 lines
4.2 KiB
RPMSpec
Name: iptables
|
||
Summary: Tools for managing Linux kernel packet filtering capabilities.
|
||
Version: 1.2.1a
|
||
Release: 1
|
||
Source: http://netfilter.kernelnotes.org/%{name}-%{version}.tar.bz2
|
||
Source1: iptables.init
|
||
Group: System Environment/Base
|
||
URL: http://netfilter.kernelnotes.org/
|
||
BuildRoot: %{_tmppath}/%{name}-buildroot
|
||
License: GPL
|
||
BuildPrereq: /usr/bin/perl
|
||
Requires: kernel >= 2.4.0
|
||
Requires(post,postun): chkconfig
|
||
# Obsoletes: ipchains
|
||
Prefix: %{_prefix}
|
||
|
||
%package ipv6
|
||
Summary: IPv6 support for iptables
|
||
Group: System Environment/Base
|
||
Requires: %{name} = %{version}
|
||
|
||
%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.
|
||
|
||
%description ipv6
|
||
IPv6 support for iptables.
|
||
|
||
iptables controls the Linux kernel network packet filtering code.
|
||
It allows you to set up firewalls and IP masquerading, etc.
|
||
|
||
IPv6 is the next version of the IP protocol.
|
||
|
||
Install iptables-ipv6 if you need to set up firewalling for your
|
||
network and you're using ipv6.
|
||
|
||
|
||
%prep
|
||
rm -rf %{buildroot}
|
||
|
||
%setup -q
|
||
# Put it to a reasonable place
|
||
perl -pi -e "s,/usr/local,%{prefix},g" * */*
|
||
|
||
%build
|
||
%ifarch alpha
|
||
OPT=`echo $RPM_OPT_FLAGS | sed -e "s/-O./-O1/"`
|
||
%else
|
||
OPT="$RPM_OPT_FLAGS"
|
||
%endif
|
||
make COPT_FLAGS="$OPT" LIBDIR=/lib
|
||
make COPT_FLAGS="$OPT" LIBDIR=/lib iptables-save iptables-restore
|
||
|
||
%install
|
||
make install DESTDIR=%{buildroot} BINDIR=/sbin LIBDIR=/lib MANDIR=%{_mandir}
|
||
cp iptables-save $RPM_BUILD_ROOT/sbin
|
||
cp iptables-restore $RPM_BUILD_ROOT/sbin
|
||
cp iptables-*.8 $RPM_BUILD_ROOT%{_mandir}/man8
|
||
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
|
||
install -c -m755 %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/iptables
|
||
|
||
%clean
|
||
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%{name}-%{version}
|
||
|
||
%post
|
||
chkconfig --add iptables
|
||
|
||
%preun
|
||
chkconfig --del iptables
|
||
|
||
%files
|
||
%defattr(-,root,root,0755)
|
||
%config /etc/rc.d/init.d/iptables
|
||
/sbin/iptables*
|
||
%{_mandir}/*/*
|
||
%dir /lib/iptables
|
||
/lib/iptables/libipt*
|
||
|
||
%files ipv6
|
||
%defattr(-,root,root,0755)
|
||
/sbin/ip6tables
|
||
/lib/iptables/libip6t*
|
||
|
||
%changelog
|
||
* Wed Mar 21 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- 1.2.1a, fixes #28412, #31136, #31460, #31133
|
||
|
||
* Thu Mar 1 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- Yet another initscript fix (#30173)
|
||
- Fix the fixes; they fixed some issues but broke more important
|
||
stuff :/ (#30176)
|
||
|
||
* Tue Feb 27 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- Fix up initscript (#27962)
|
||
- Add fixes from CVS to iptables-{restore,save}, fixing #28412
|
||
|
||
* Fri Feb 09 2001 Karsten Hopp <karsten@redhat.de>
|
||
- create /etc/sysconfig/iptables mode 600 (same problem as #24245)
|
||
|
||
* Mon Feb 05 2001 Karsten Hopp <karsten@redhat.de>
|
||
- fix bugzilla #25986 (initscript not marked as config file)
|
||
- fix bugzilla #25962 (iptables-restore)
|
||
- mv chkconfig --del from postun to preun
|
||
|
||
* Thu Feb 1 2001 Trond Eivind Glomsr<73>d <teg@redhat.com>
|
||
- Fix check for ipchains
|
||
|
||
* Mon Jan 29 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- Some fixes to init scripts
|
||
|
||
* Wed Jan 24 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- Add some fixes from CVS, fixes among other things Bug #24732
|
||
|
||
* Wed Jan 17 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- Add missing man pages, fix up init script (Bug #17676)
|
||
|
||
* Mon Jan 15 2001 Bill Nottingham <notting@redhat.com>
|
||
- add init script
|
||
|
||
* Mon Jan 15 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- 1.2
|
||
- fix up ipv6 split
|
||
- add init script
|
||
- Move the plugins from /usr/lib/iptables to /lib/iptables.
|
||
This needs to work before /usr is mounted...
|
||
- Use -O1 on alpha (compiler bug)
|
||
|
||
* Sat Jan 6 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
||
- 1.1.2
|
||
- Add IPv6 support (in separate package)
|
||
|
||
* 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<6B>nzer <bero@redhat.com>
|
||
- initial package
|