iptstate/iptstate.spec

Name: iptstate
Summary: Display IP Tables state table information in a "top"-like interface
Version: 2.2.1
Release: 1
License: zlib License
Group: Applications/System
URL: http://www.phildev.net/iptstate/
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.

CentOS 7 x86_64

The build was not successful.

Build Status

CentOS 6 x86_64

The build was not successful.

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

### EL6 ships with iptstate-2.2.2-4.el6
### EL5 ships with iptstate-1.4-1.1.2.2
%{?el5:# Tag: rfx}
### EL4 ships with iptstate-1.3-4
%{?el4:# Tag: rfx}
### ExclusiveDist: el2 el3 el4 el5

Summary: Display IP Tables state table information in a "top"-like interface
Name: iptstate
Version: 2.2.1
Release: 1%{?dist}
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}/man8/iptstate.8*
%{_sbindir}/iptstate

%changelog
* Sat Nov 08 2008 Dag Wieers <dag@wieers.com> - 2.2.1-1
- Updated to release 2.2.1.

* Wed Sep 14 2005 Dries Verachtert <dries@ulyssis.org> - 1.4-1
- Updated to release 1.4.

* Tue Jan 27 2004 Dag Wieers <dag@wieers.com> - 1.3-0
- Initial package. (using DAR)