Sisyphus repository
Last update: 11 december 2019 | SRPMs: 17498 | Visits: 16056778
en ru br
ALT Linux repos
S:0.6-alt2

Group :: Networking/Other
RPM: ddos-deflate

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: ddos-deflate
Version: 0.6
Release: alt2
License: Artistic License
Group: Networking/Other
Summary: (D)DoS Deflate

Source0: %name-%version.tar
Source1: ddos-deflate.cron

BuildArch: noarch

%description
(D)DoS Deflate is a lightweight bash shell script designed to
assist in the process of blocking a denial of service attack.

%prep
%setup

%build
# Disable APF usage
sed -i 's/^APF_BAN=1/APF_BAN=0/' ddos.conf

%install
mkdir -p %buildroot/%_sbindir
mkdir -p %buildroot/%_sysconfdir/%name
mkdir -p %buildroot/%_datadir/%name
mkdir -p %buildroot/%_sysconfdir/cron.d
install -m755 ddos.sh %buildroot/%_sbindir/%name
install -m644 ddos.conf %buildroot/%_sysconfdir/%name/
install -m644 ignore.ip.list %buildroot/%_sysconfdir/%name/
install -m644 LICENSE %buildroot/%_datadir/%name/
install -m644 %SOURCE1 %buildroot/%_sysconfdir/cron.d/%name

%files
%_sbindir/%name
%_sysconfdir/%name
%_sysconfdir/%name/*
%_datadir/%name
%_datadir/%name/*
%_sysconfdir/cron.d/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin