conntrack-tools/conntrack-tools.spec

76 lines
2.4 KiB
RPMSpec
Raw Normal View History

2007-10-29 23:05:53 +00:00
Name: conntrack-tools
Version: 0.9.5
2008-02-22 22:58:59 +00:00
Release: 5%{?dist}
2007-10-29 23:05:53 +00:00
Summary: Tools to manipulate netfilter connection tracking table
Group: System Environment/Base
License: GPLv2
URL: http://netfilter.org
Source0: http://netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2
Patch0: conntrack-tools-0.9.5-open.patch
2008-02-22 22:58:59 +00:00
Patch1: conntrack-tools-pathmax.patch
2007-10-29 23:05:53 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libnfnetlink-devel libnetfilter_conntrack-devel pkgconfig bison flex
2008-02-22 22:58:59 +00:00
BuildRequires: autoconf automake libtool
2007-10-29 23:05:53 +00:00
Provides: conntrack = 1.0-1
Obsoletes: conntrack < 1.0-1
%description
The conntrack-tools package contains two programs:
- conntrack: the command line interface to interact with the connection
tracking system.
- conntrackd: the connection tracking userspace daemon that can be used to
deploy highly available GNU/Linux firewalls and collect
statistics of the firewall use.
conntrack is used to search, list, inspect and maintain the netfilter
connection tracking subsystem of the Linux kernel.
Using conntrack, you can dump a list of all (or a filtered selection of)
currently tracked connections, delete connections from the state table,
and even add new ones.
In addition, you can also monitor connection tracking events, e.g.
show an event message (one line) per newly established connection.
%prep
%setup -q
%patch0 -p1
2008-02-22 22:58:59 +00:00
%patch1 -p1
autoreconf -i --force
2007-10-29 23:05:53 +00:00
%build
%configure --disable-static
%{__make} %{?_smp_mflags}
find examples -type f | xargs chmod a-x
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING AUTHORS INSTALL TODO examples
%{_sbindir}/conntrack
%{_sbindir}/conntrackd
%{_mandir}/man8/*
%changelog
2008-02-22 22:58:59 +00:00
* Fri Feb 22 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.9.5-5
- fix the PATH_MAX-related compilation problem
2008-02-20 03:19:52 +00:00
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.5-4
- Autorebuild for GCC 4.3
2007-10-29 23:05:53 +00:00
* Tue Oct 23 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.9.5-3
- review fixes
* Sun Oct 21 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.9.5-2
- review fixes
* Fri Oct 19 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.9.5-1
- new upstream version
* Sun Jul 22 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.9.4-1
- replace conntrack with conntrack-tools