Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37046743
en ru br
Репозитории ALT
S:2.2.8-alt1
5.1: 2.2.6-alt2
4.1: 2.2.6-alt2
4.0: 2.2.6-alt2
3.0: 2.2.5-alt2
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: scanlogd

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

Name: scanlogd
Version: 2.2.8
Release: alt1

Summary: A tool to detect and log TCP port scans
License: GPLv2+
Group: System/Servers
Url: https://www.openwall.com/scanlogd/
Packager: Dmitry V. Levin <ldv at altlinux.org>
# git://git.altlinux.org/gears/s/scanlogd.git
Source: %name-%version-%release.tar

%description
scanlogd detects port scans and writes one line per scan via the
syslog(3) mechanism.  If a source address sends multiple packets to
different ports in a short time, the event will be logged.

%prep
%setup -n %name-%version-%release

%build
make clean
make linux CFLAGS="-c $RPM_OPT_FLAGS %optflags_notraceback $(getconf LFS_CFLAGS)" LDFLAGS=

%install
mkdir -p %buildroot{%_sbindir,%_mandir/man8,%_initdir}
install -pm755 scanlogd %buildroot%_sbindir/
install -pm644 scanlogd.8 %buildroot%_man8dir/
install -pm755 scanlogd.init %buildroot%_initdir/%name

%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict

%post
/usr/sbin/groupadd -r -f %name
/usr/sbin/useradd -r -g %name -d /dev/null -s /dev/null -n %name >/dev/null 2>&1 ||:
%post_service %name

%preun
%preun_service %name

%files
%config %_initdir/*
%_sbindir/*
%_mandir/man?/*

%changelog

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

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