Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37569803
en ru br
ALT Linux repositórios
S:2.2.8-alt1
5.0: 2.2.6-alt2
4.1: 2.2.6-alt2
4.0: 2.2.6-alt2
3.0: 2.2.5-alt2

Group :: Sistema/Servidores
RPM: scanlogd

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009