Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37400532
en ru br
Репозитории ALT
S:1.4.7-alt1
5.1: 0.9.6-alt1
4.1: 0.9.3-alt0.1
www.altlinux.org/Changes

Группа :: Система/Ядро и оборудование
Пакет: conntrack-tools

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: conntrack-tools
Version: 1.4.7
Release: alt1
Summary: Tool to manipulate netfilter connection tracking table
Group: System/Kernel and hardware
License: GPLv2
Url: http://netfilter.org
Source0: http://netfilter.org/projects/conntrack-tools/files/%name-%version.tar

Source11: conntrackd.conf
Source12: conntrackd.sysconfig
Source13: conntrackd.init
Source14: conntrackd.service
Source15: conntrackd.logrotate

BuildRequires: flex libnetfilter_conntrack-devel >= 1.0.9 libmnl-devel
BuildRequires: libnetfilter_cttimeout-devel libnetfilter_cthelper-devel libnetfilter_queue-devel
BuildRequires: libsystemd-devel
BuildRequires: libtirpc-devel

%description
%name  is  used to search, list, inspect and maintain the netfilter
connection tracking subsystem of the Linux kernel.
Using conntrack , you can dump a list of all (or a filtered selection  of)
currently  tracked  connections, delete connections from the state table,
and even add new ones.
In  addition,  you  can  also  monitor connection tracking events, e.g.
show an event message (one line) per newly established connection.

%prep
%setup

%build
%autoreconf
%configure --disable-static --enable-systemd
%make

%install
%makeinstall_std
rm -f %buildroot%_libdir/conntrack-tools/*.la

mkdir -p %buildroot{%_sysconfdir/{conntrackd,sysconfig},%_logrotatedir,%_initdir,%_unitdir}
install -pm0600 %SOURCE11 %buildroot%_sysconfdir/conntrackd/conntrackd.conf
install -pm0644 %SOURCE12 %buildroot%_sysconfdir/sysconfig/conntrackd
install -pm0755 %SOURCE13 %buildroot%_initdir/conntrackd
install -pm0644 %SOURCE14 %buildroot%_unitdir/conntrackd.service
install -pm0644 %SOURCE15 %buildroot%_logrotatedir/conntrackd

%post
%post_service conntrackd

%preun
%preun_service conntrackd

%files
%doc COPYING AUTHORS doc
%config(noreplace) %_sysconfdir/conntrackd/conntrackd.conf
%config(noreplace) %_sysconfdir/sysconfig/conntrackd
%config(noreplace) %_logrotatedir/conntrackd
%_sbindir/conntrack
%_sbindir/nfct
%_sbindir/conntrackd
%_unitdir/conntrackd.service
%_initdir/conntrackd
%dir %_libdir/%name
%_libdir/%name/*.so
%_man8dir/*
%_man5dir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin