| 1 |
Name: iptstate
|
| 2 |
Summary: A top-like display of IP Tables state table entries
|
| 3 |
Version: 2.2.1
|
| 4 |
Release: 1%{?dist}
|
| 5 |
Source: iptstate-%{version}.tar.bz2
|
| 6 |
Patch0: iptstate-2.1-man8.patch
|
| 7 |
Group: System Environment/Base
|
| 8 |
URL: http://www.phildev.net/iptstate/
|
| 9 |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
| 10 |
License: zlib
|
| 11 |
Requires: iptables
|
| 12 |
BuildRequires: ncurses-devel
|
| 13 |
BuildRequires: libnetfilter_conntrack-devel
|
| 14 |
|
| 15 |
%description
|
| 16 |
IP Tables State (iptstate) was originally written to implement
|
| 17 |
the "state top" feature of IP Filter (see "The Idea" below) in
|
| 18 |
IP Tables. "State top" displays the states held by your stateful
|
| 19 |
firewall in a top-like manner.
|
| 20 |
|
| 21 |
Since IP Tables doesn't have a built in way to easily display
|
| 22 |
this information even once, an option was added to just have it
|
| 23 |
display the state table once.
|
| 24 |
|
| 25 |
Features include:
|
| 26 |
- Top-like realtime state table information
|
| 27 |
- Sorting by any field
|
| 28 |
- Reversible sorting
|
| 29 |
- Single display of state table
|
| 30 |
- Customizable refresh rate
|
| 31 |
- Open Source (specifically I'm using the zlib license)
|
| 32 |
|
| 33 |
|
| 34 |
%prep
|
| 35 |
%setup -q
|
| 36 |
%patch0 -p1 -b .man8
|
| 37 |
|
| 38 |
%build
|
| 39 |
make CXXFLAGS="$RPM_OPT_FLAGS"
|
| 40 |
|
| 41 |
%install
|
| 42 |
rm -rf %{buildroot}
|
| 43 |
%makeinstall PREFIX=%{buildroot}%{_prefix}
|
| 44 |
|
| 45 |
%clean
|
| 46 |
rm -rf %{buildroot}
|
| 47 |
|
| 48 |
%files
|
| 49 |
%defattr(-,root,root,0755)
|
| 50 |
%doc LICENSE README
|
| 51 |
%{_sbindir}/iptstate
|
| 52 |
%{_mandir}/man8/iptstate.*
|
| 53 |
|
| 54 |
%changelog
|
| 55 |
* Thu Aug 23 2007 Thomas Woerner <twoerner@redhat.com> 2.2.1-1
|
| 56 |
- added dist tag
|
| 57 |
|
| 58 |
* Tue Aug 21 2007 Thomas Woerner <twoerner@redhat.com> 2.2.1-1
|
| 59 |
- new version 2.2.1
|
| 60 |
- spec file fixes
|
| 61 |
|
| 62 |
* Wed Oct 25 2006 Thomas Woerner <twoerner@redhat.com> 2.1-1
|
| 63 |
- new version 2.1
|
| 64 |
|
| 65 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.4-1.1.2.2
|
| 66 |
- rebuild
|
| 67 |
|
| 68 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.4-1.1.2.1
|
| 69 |
- bump again for double-long bug on ppc(64)
|
| 70 |
|
| 71 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.4-1.1.2
|
| 72 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
| 73 |
|
| 74 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
| 75 |
- rebuilt
|
| 76 |
|
| 77 |
* Mon Apr 18 2005 Thomas Woerner <twoerner@redhat.com> 1.4-1.1
|
| 78 |
- fixed man page: install as man8 instead of man1, fixed reference for
|
| 79 |
iptables(8)
|
| 80 |
|
| 81 |
* Sun Apr 17 2005 Warren Togami <wtogami@redhat.com> 1.4-1
|
| 82 |
- 1.4
|
| 83 |
|
| 84 |
* Wed Feb 9 2005 Thomas Woerner <twoerner@redhat.com> 1.3-5
|
| 85 |
- rebuild
|
| 86 |
|
| 87 |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
| 88 |
- rebuilt
|
| 89 |
|
| 90 |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
| 91 |
- rebuilt
|
| 92 |
|
| 93 |
* Mon Feb 2 2004 Thomas Woerner <twoerner@redhat.com> 1.3-2
|
| 94 |
- added BuildRequires for ncurses-devel
|
| 95 |
|
| 96 |
* Mon Jan 26 2004 Thomas Woerner <twoerner@redhat.com> 1.3-1
|
| 97 |
- initial package
|