General
Start
APT/YUM/Smart config
List of packages
GPG key
Mirrors
Recent changes
How you can help
Pydar2
Thanks:
Primary buildsystem hosted at ithomi
SUSE and Mandrake builds made by the openSUSE build service
Static site hosted at ULYSSIS
Primary mirrors hosted at BELNET, HEAnet, 3TI
Varia:
Random picture!
Looking for a java job?
Leuven blogt

iptstate spec file : Dries RPM Repository

Back to the iptstate rpms

Current spec in pydar2:


# $Id: iptstate.spec 5242 2007-03-25 23:09:36Z dag $
# Authority: dag

### EL4 ships with iptstate 1.3-4
### EL5 ships with iptstate 1.4-1.1.2.2
# ExclusiveDist: el2 rh7 rh9 el3

Summary: Display IP Tables state table information in a "top"-like interface
Name: iptstate
Version: 2.2.0
Release: 1
License: zlib License
Group: Applications/System
URL: http://www.phildev.net/iptstate/

Source: http://www.phildev.net/iptstate/iptstate-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: ncurses-devel, gcc-c++

%description
IP Tables State (iptstate) was originally written to
impliment the "state top" feature of IP Filter.
"State top" displays the states held by your stateful
firewall in a "top"-like manner.

%prep
%setup

%{__perl} -pi.orig -e 's|^(CXXFLAGS .*)$|$1 %{optflags}|' Makefile

%build
%{__make} %{?_smp_mflags} \
	CXXFLAGS="%{optflags}"

%install
%{__rm} -rf %{buildroot}
%makeinstall \
	PREFIX="%{buildroot}%{_prefix}"

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc BUGS Changelog CONTRIB LICENSE README WISHLIST
%doc %{_mandir}/man?/*
%{_sbindir}/*

%changelog
* Sat Apr 08 2006 Dries Verachtert  - 1.4-1.2
- Rebuild for Fedora Core 5.

* Wed Sep 14 2005 Dries Verachtert  - 1.4-1
- Updated to release 1.4.

* Tue Jan 27 2004 Dag Wieers  - 1.3-0
- Initial package. (using DAR)