forked from pool/conntrack-tools
Jan Engelhardt
2a1f250c51
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/conntrack-tools?expand=0&rev=28
77 lines
2.6 KiB
RPMSpec
77 lines
2.6 KiB
RPMSpec
#
|
|
# spec file for package conntrack-tools
|
|
#
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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
|
|
Version: 1.2.2
|
|
Release: 0
|
|
Url: http://conntrack-tools.netfilter.org/
|
|
Summary: Userspace tools for interacting with the Connection Tracking System
|
|
License: GPL-2.0+
|
|
Group: Productivity/Networking/Security
|
|
|
|
#Git-Clone: git://git.netfilter.org/conntrack-tools
|
|
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
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: bison
|
|
BuildRequires: flex >= 2.5.33
|
|
BuildRequires: pkgconfig >= 0.21
|
|
%if 0%{?suse_version} >= 1140
|
|
BuildRequires: pkgconfig(libmnl) >= 1.0.0
|
|
BuildRequires: pkgconfig(libnetfilter_conntrack) >= 1.0.1
|
|
BuildRequires: pkgconfig(libnetfilter_cttimeout) >= 1.0.0
|
|
BuildRequires: pkgconfig(libnfnetlink) >= 1.0.0
|
|
%else
|
|
BuildRequires: libmnl-devel >= 1.0.0
|
|
BuildRequires: libnetfilter_conntrack-devel >= 1.0.1
|
|
BuildRequires: libnetfilter_cttimeout-devel >= 1.0.0
|
|
BuildRequires: libnfnetlink-devel >= 1.0.0
|
|
%endif
|
|
|
|
%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
|
|
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.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --disable-static
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%makeinstall
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS TODO doc/stats/conntrackd.conf
|
|
%_sbindir/conntrack
|
|
%_sbindir/conntrackd
|
|
%_sbindir/nfct
|
|
%_mandir/man8/*
|
|
|
|
%changelog
|