Name: conntrack-tools Version: 0.9.13 Release: 3%{?dist}.art 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 Source1: conntrackd.init Source2: conntrackd.sysconfig BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libnfnetlink-devel >= 1.0.0, libnetfilter_conntrack-devel >= 0.0.100 BuildRequires: pkgconfig bison flex Requires(post): chkconfig Requires(preun): chkconfig Requires(preun): initscripts Requires(postun): initscripts %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 %build %configure --disable-static %{__make} %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_initddir} install -m 755 -p %SOURCE1 $RPM_BUILD_ROOT%{_initddir}/conntrackd mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig cp -p %SOURCE2 $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/conntrackd mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/conntrackd touch $RPM_BUILD_ROOT%{_sysconfdir}/conntrackd/conntrackd.conf %clean rm -rf $RPM_BUILD_ROOT %post /sbin/chkconfig --add conntrackd %preun if [ $1 -eq 0 ] ; then /sbin/service conntrackd stop >/dev/null 2>&1 /sbin/chkconfig --del conntrackd fi %postun if [ "$1" -ge "1" ] ; then /sbin/service conntrackd condrestart >/dev/null 2>&1 || : fi %files %defattr(-,root,root,-) %doc COPYING AUTHORS INSTALL TODO doc %config(noreplace) %{_sysconfdir}/sysconfig/conntrackd %ghost %{_sysconfdir}/conntrackd/conntrackd.conf %{_initddir}/conntrackd %{_sbindir}/conntrack %{_sbindir}/conntrackd %{_mandir}/man8/* %changelog * Wed May 7 2014 Orion Poplawski - 0.9.13-3 - Add init script * Tue Nov 10 2009 Paul P. Komkoff Jr - 0.9.13-2 - failed to properly commit the package :( * Tue Oct 13 2009 Paul P. Komkoff Jr - 0.9.13-1 - new upstream version * Fri Jul 24 2009 Fedora Release Engineering - 0.9.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sun May 24 2009 Paul P. Komkoff Jr - 0.9.12-3 - new upstream version * Sun May 24 2009 Paul P. Komkoff Jr - 0.9.12-2 - versioning screwup * Sun May 24 2009 Paul P. Komkoff Jr - 0.9.12-1 - new upstream version * Tue Feb 24 2009 Fedora Release Engineering - 0.9.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Jan 13 2009 Paul P. Komkoff Jr - 0.9.9-1 - new upstream version * Sun Oct 26 2008 Paul P. Komkoff Jr - 0.9.8-1 - new upstream version - remove rollup patch * Wed Jul 16 2008 Paul P. Komkoff Jr - 0.9.7-2 - fix Patch0/%patch. * Wed Jul 16 2008 Paul P. Komkoff Jr - 0.9.7-1 - new upstream version * Sat Feb 23 2008 Paul P. Komkoff Jr - 0.9.6-0.1.svn7382 - new version from svn * Fri Feb 22 2008 Paul P. Komkoff Jr - 0.9.5-5 - fix the PATH_MAX-related compilation problem * Tue Feb 19 2008 Fedora Release Engineering - 0.9.5-4 - Autorebuild for GCC 4.3 * Tue Oct 23 2007 Paul P. Komkoff Jr - 0.9.5-3 - review fixes * Sun Oct 21 2007 Paul P. Komkoff Jr - 0.9.5-2 - review fixes * Fri Oct 19 2007 Paul P. Komkoff Jr - 0.9.5-1 - new upstream version * Sun Jul 22 2007 Paul P. Komkoff Jr - 0.9.4-1 - replace conntrack with conntrack-tools