-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathiptstate.spec
44 lines (35 loc) · 1.05 KB
/
iptstate.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
%define name iptstate
%define version 2.2.7
%define release 1
Name: %{name}
Summary: Display IP Tables state table information in a "top"-like interface
Version: %{version}
Release: %{release}
Group: Monitoring
License: zlib License
Source: http://www.phildev.net/iptstate/%{name}-%{version}.tar.gz
URL: http://www.phildev.net/iptstate/
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildRequires: libncurses.so.5 libnetfilter_conntrack.so.1
%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.
Since IP Tables doesn't have a built in way to easily
display this information even once, an option was
added to just display the state table once and exit.
%prep
rm -rf $RPM_BUILD_ROOT
%setup
%build
make
%install
make install PREFIX=$RPM_BUILD_ROOT/usr
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(755, root, bin, 755)
/usr/sbin/%{name}
/usr/share/man/man8/%{name}.8*
%doc README BUGS Changelog LICENSE CONTRIB WISHLIST