Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aevseev
conntrack-tools
conntrack-tools.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File conntrack-tools.spec of Package conntrack-tools
%define realname conntrack-tools %define realver 1.4.7 %define srcext tar.bz2 # Common info Name: %{realname} Version: %{realver} Release: wiz%{?extraver:0.}1%{?dist} License: GPL-2.0 Group: Productivity/Networking/Diagnostic URL: http://conntrack-tools.netfilter.org/ Summary: Connection tracking userspace tools for Linux # Build-time parameters BuildRequires: pkgconfig bison flex >= 2.5.33 BuildRequires: systemd-devel BuildRequires: pkgconfig(libtirpc) BuildRequires: libnfnetlink-devel >= 1.0.1 libmnl-devel >= 1.0.3 BuildRequires: libnetfilter_conntrack-devel >= 1.0.8 libnetfilter_cttimeout-devel >= 1.0.0 BuildRequires: libnetfilter_cthelper-devel >= 1.0.0 libnetfilter_queue-devel >= 1.0.2 BuildRoot: %{_tmppath}/%{name}-root Source0: http://www.netfilter.org/projects/conntrack-tools/files/%{realname}-%{realver}%{?extraver}.%{srcext} Source2: conntrackd.service %description The conntrack-tools are a set of free software userspace tools for Linux that allow system administrators interact with the Connection Tracking System, which is the module that provides stateful packet inspection for iptables. The conntrack-tools are the userspace daemon conntrackd and the command line interface conntrack. The userspace daemon conntrackd can be used to enable high availability of cluster-based stateful firewalls and to collect statistics of the stateful firewall use (although ulogd is the preferred option for logging). The command line interface conntrack provides a more flexible interface than the traditional /proc/net/nf_conntrack interface. # Preparation step (unpackung and patching if necessary) %prep %setup -q -n %{realname}-%{realver}%{?extraver} %build %configure \ --disable-static \ --enable-systemd \ CFLAGS="%{optflags} %{?gcc_lto}" \ LDFLAGS="-Wl,--as-needed -Wl,--strip-all %{?gcc_lto}" %{__make} %{?_smp_mflags} V=1 %install %{__make} install DESTDIR=%{buildroot} %{__install} -D -m644 doc/stats/conntrackd.conf %{buildroot}%{_sysconfdir}/conntrackd/conntrackd.conf %{__install} -D -m644 %{S:2} %{buildroot}%{_unitdir}/conntrackd.service %{__chmod} a-x doc/sync/primary-backup.sh %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root) %license COPYING %doc AUTHORS TODO %doc doc/sync %dir %{_sysconfdir}/conntrackd %config(noreplace) %{_sysconfdir}/conntrackd/conntrackd.conf %{_unitdir}/*.service %{_sbindir}/* %dir %{_libdir}/conntrack-tools/ %{_libdir}/conntrack-tools/*.so %exclude %{_libdir}/conntrack-tools/*.la %doc %{_mandir}/man5/* %doc %{_mandir}/man8/* %if 0%{?suse_version} %pre %{service_add_pre conntrackd.service} %post %{service_add_post conntrackd.service} %preun %{service_del_preun conntrackd.service} %postun %{service_del_postun conntrackd.service} %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor