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