Blame SPECS/conntrack-tools.spec

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