2010-03-02 12:26:39 +01:00
|
|
|
#
|
2011-08-12 23:34:26 +02:00
|
|
|
# spec file for package conntrack-tools
|
2010-03-02 12:26:39 +01:00
|
|
|
#
|
2012-01-04 21:18:10 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2010-03-02 12:26:39 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: conntrack-tools
|
2012-10-08 15:02:51 +02:00
|
|
|
Version: 1.4.0
|
2012-05-26 20:47:50 +02:00
|
|
|
Release: 0
|
2011-08-12 23:34:26 +02:00
|
|
|
Url: http://conntrack-tools.netfilter.org/
|
2012-06-30 15:30:54 +02:00
|
|
|
Summary: Userspace tools for interacting with the Connection Tracking System
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Networking/Security
|
2012-01-04 21:18:10 +01:00
|
|
|
|
|
|
|
#Git-Clone: git://git.netfilter.org/conntrack-tools
|
2012-10-08 15:02:51 +02:00
|
|
|
#DL-URL: http://netfilter.org/projects/conntrack-tools/files/
|
2012-01-04 21:18:10 +01:00
|
|
|
Source: http://netfilter.org/projects/conntrack-tools/files/%name-%version.tar.bz2
|
|
|
|
Source2: http://netfilter.org/projects/conntrack-tools/files/%name-%version.tar.bz2.sig
|
2012-12-10 15:22:38 +01:00
|
|
|
Source3: %name.keyring
|
2012-06-30 15:30:54 +02:00
|
|
|
|
2011-08-12 23:34:26 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-05-26 20:47:50 +02:00
|
|
|
BuildRequires: bison
|
2012-05-26 21:33:45 +02:00
|
|
|
BuildRequires: flex >= 2.5.33
|
2012-05-26 20:47:50 +02:00
|
|
|
BuildRequires: pkgconfig >= 0.21
|
2012-06-30 15:30:54 +02:00
|
|
|
%if 0%{?suse_version} >= 1140
|
2012-05-26 20:47:50 +02:00
|
|
|
BuildRequires: pkgconfig(libmnl) >= 1.0.0
|
2012-10-08 15:02:51 +02:00
|
|
|
BuildRequires: pkgconfig(libnetfilter_conntrack) >= 1.0.2
|
|
|
|
BuildRequires: pkgconfig(libnetfilter_cthelper) >= 1.0.0
|
2012-05-26 20:47:50 +02:00
|
|
|
BuildRequires: pkgconfig(libnetfilter_cttimeout) >= 1.0.0
|
2012-10-08 15:02:51 +02:00
|
|
|
BuildRequires: pkgconfig(libnetfilter_queue) >= 1.0.2
|
|
|
|
BuildRequires: pkgconfig(libnfnetlink) >= 1.0.1
|
2012-06-30 15:30:54 +02:00
|
|
|
%else
|
|
|
|
BuildRequires: libmnl-devel >= 1.0.0
|
2012-10-08 15:02:51 +02:00
|
|
|
BuildRequires: libnetfilter_conntrack-devel >= 1.0.2
|
|
|
|
BuildRequires: libnetfilter_cthelper-devel >= 1.0.0
|
2012-06-30 15:30:54 +02:00
|
|
|
BuildRequires: libnetfilter_cttimeout-devel >= 1.0.0
|
2012-10-08 15:02:51 +02:00
|
|
|
BuildRequires: libnetfilter_queue-devel >= 1.0.2
|
|
|
|
BuildRequires: libnfnetlink-devel >= 1.0.1
|
2012-06-30 15:30:54 +02:00
|
|
|
%endif
|
2012-12-03 23:18:58 +01:00
|
|
|
%if 0%{?suse_version} >= 1230
|
|
|
|
BuildRequires: gpg-offline
|
|
|
|
%endif
|
2010-03-02 12:26:39 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The conntrack-tools are a set of tools targeted at system
|
|
|
|
administrators. They are conntrack, the userspace command line
|
|
|
|
interface, and conntrackd, the userspace daemon. The tool conntrack
|
2011-08-04 10:20:43 +02:00
|
|
|
provides a full featured interface that has replaced the old procfs
|
|
|
|
interface. Using conntrack, you can view and manage the in-kernel
|
|
|
|
connection tracking state table from userspace. On the other hand,
|
|
|
|
conntrackd covers the specific aspects of stateful firewalls to
|
|
|
|
enable highly available scenarios, and can be used as statistics
|
|
|
|
collector as well.
|
2010-03-02 12:26:39 +01:00
|
|
|
|
|
|
|
%prep
|
2012-12-03 23:18:58 +01:00
|
|
|
%if 0%{?gpg_verify:1}
|
|
|
|
%gpg_verify %{S:2}
|
|
|
|
%endif
|
2010-03-02 12:26:39 +01:00
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
2011-08-04 10:20:43 +02:00
|
|
|
make %{?_smp_mflags}
|
2010-03-02 12:26:39 +01:00
|
|
|
|
|
|
|
%install
|
2012-10-08 15:02:51 +02:00
|
|
|
b="%buildroot";
|
|
|
|
make install DESTDIR="$b";
|
|
|
|
find "$b/%_libdir" -type f -name "*.la" -delete;
|
2010-03-02 12:26:39 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS TODO doc/stats/conntrackd.conf
|
2011-08-04 10:20:43 +02:00
|
|
|
%_sbindir/conntrack
|
|
|
|
%_sbindir/conntrackd
|
2012-05-26 21:33:45 +02:00
|
|
|
%_sbindir/nfct
|
2012-10-08 15:02:51 +02:00
|
|
|
%_libdir/%name
|
2012-05-26 21:33:45 +02:00
|
|
|
%_mandir/man8/*
|
2010-03-02 12:26:39 +01:00
|
|
|
|
|
|
|
%changelog
|