Blame SPECS/conntrack-tools.spec

e8fceb
Name:           conntrack-tools
e8fceb
Version:        1.4.4
e8fceb
Release:        4%{?dist}
e8fceb
Summary:        Manipulate netfilter connection tracking table and run High Availability
e8fceb
Group:          System Environment/Base
e8fceb
License:        GPLv2
e8fceb
URL:            http://netfilter.org
e8fceb
Source0:        http://netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2
e8fceb
Source1:        conntrackd.service
e8fceb
Source2:        conntrackd.conf
e8fceb
BuildRequires:  libnfnetlink-devel >= 1.0.1, libnetfilter_conntrack-devel >= 1.0.6
e8fceb
BuildRequires:  libnetfilter_cttimeout-devel >= 1.0.0, libnetfilter_cthelper-devel >= 1.0.0
e8fceb
BuildRequires:  libmnl-devel >= 1.0.3, libnetfilter_queue-devel >= 1.0.2
e8fceb
BuildRequires:  pkgconfig bison flex
e8fceb
Requires:  libnetfilter_conntrack >= 1.0.6
e8fceb
Provides:       conntrack = 1.0-1
e8fceb
Obsoletes:      conntrack < 1.0-1
e8fceb
Requires(post): systemd
e8fceb
Requires(preun): systemd
e8fceb
Requires(postun): systemd
e8fceb
BuildRequires: systemd
e8fceb
e8fceb
Patch1: conntrack-tools-1.4.4-conntrack.patch
e8fceb
e8fceb
%description
e8fceb
With conntrack-tools you can setup a High Availability cluster and
e8fceb
synchronize conntrack state between multiple firewalls.
e8fceb
e8fceb
The conntrack-tools package contains two programs:
e8fceb
- conntrack: the command line interface to interact with the connection
e8fceb
             tracking system.
e8fceb
- conntrackd: the connection tracking userspace daemon that can be used to
e8fceb
              deploy highly available GNU/Linux firewalls and collect
e8fceb
              statistics of the firewall use.
e8fceb
e8fceb
conntrack is used to search, list, inspect and maintain the netfilter
e8fceb
connection tracking subsystem of the Linux kernel.
e8fceb
Using conntrack, you can dump a list of all (or a filtered selection  of)
e8fceb
currently tracked connections, delete connections from the state table, 
e8fceb
and even add new ones.
e8fceb
In addition, you can also monitor connection tracking events, e.g. 
e8fceb
show an event message (one line) per newly established connection.
e8fceb
e8fceb
%prep
e8fceb
%setup -q
e8fceb
%patch1 -p1
e8fceb
e8fceb
%build
e8fceb
# do not use --enable-cthelper --enable-cttimeout, it causes disabling of these features
e8fceb
%configure --disable-static
e8fceb
%{__make} %{?_smp_mflags}
e8fceb
chmod 644 doc/sync/primary-backup.sh
e8fceb
rm -f doc/sync/notrack/conntrackd.conf.orig doc/sync/alarm/conntrackd.conf.orig doc/helper/conntrackd.conf.orig
e8fceb
e8fceb
%install
e8fceb
%{__make} install DESTDIR=%{buildroot}
e8fceb
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
e8fceb
mkdir -p %{buildroot}%{_sysconfdir}/conntrackd
e8fceb
install -d 0755 %{buildroot}%{_unitdir}
e8fceb
install -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/
e8fceb
install -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/conntrackd/
e8fceb
e8fceb
%files
e8fceb
%doc COPYING AUTHORS TODO doc
e8fceb
%dir %{_sysconfdir}/conntrackd
e8fceb
%config(noreplace) %{_sysconfdir}/conntrackd/conntrackd.conf
e8fceb
%{_unitdir}/conntrackd.service
e8fceb
%{_sbindir}/conntrack
e8fceb
%{_sbindir}/conntrackd
e8fceb
%{_sbindir}/nfct
e8fceb
%{_mandir}/man8/*
e8fceb
%{_mandir}/man5/*
e8fceb
%dir %{_libdir}/conntrack-tools
e8fceb
%{_libdir}/conntrack-tools/*
e8fceb
e8fceb
%post
e8fceb
%systemd_post conntrackd.service
e8fceb
e8fceb
%preun
e8fceb
%systemd_preun conntrackd.service
e8fceb
e8fceb
%postun
e8fceb
%systemd_postun conntrackd.service 
e8fceb
e8fceb
%changelog
e8fceb
* Fri Aug 24 2018 Paul Wouters <pwouters@redhat.com> - 1.4.4-4
e8fceb
- Resolves: rhbz#1578059 Greatest NVR version of conntrack-tools for ppc64le and x86_64 are different
e8fceb
e8fceb
* Mon Apr 03 2017 Paul Wouters <pwouters@redhat.com> - 1.4.4-3
e8fceb
- Resolves: rhbz#1425552 (explicitely Require: libnetfilter_conntrack >= 1.0.6 as it is same .so version)
e8fceb
e8fceb
* Thu Mar 16 2017 Paul Wouters <pwouters@redhat.com> - 1.4.4-2
e8fceb
- Resolves: rhbz#1425552 (conntrack cmd was missing IPv6 support as well)
e8fceb
e8fceb
* Fri Mar 03 2017 Paul Wouters <pwouters@redhat.com> - 1.4.4-1
e8fceb
- Resolves: rhbz#1425552 conntrack does not support Ipv6 NAT
e8fceb
e8fceb
* Fri Aug 12 2016 Paul Wouters <pwouters@redhat.com> - 1.4.3-1
e8fceb
- Resolves: rhbz#1351701 conntrackd -d throws "ERROR: Helper support is disabled"
e8fceb
e8fceb
* Fri Aug 21 2015 Paul Wouters <pwouters@redhat.com> - 1.4.2-9
e8fceb
- Resolves: rhbz#1255578 conntrackd could neither be started nor be stopped
e8fceb
e8fceb
* Tue Aug 18 2015 Paul Wouters <pwouters@redhat.com> - 1.4.2-8
e8fceb
- Resolves: rhbz#CVE-2015-6496
e8fceb
- Fold in upstream patches since 1.4.2 release up to git 900d7e8
e8fceb
- Fold in upstream patch set of 2015-08-18 for coverity issues
e8fceb
e8fceb
* Thu May 21 2015 Paul Wouters <pwouters@redhat.com> - 1.4.2-7
e8fceb
- Resolves: rhbz#1122611 [BNE] Add conntrack-tools package to RHEL-7