Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1492227
 поиск   регистрация   авторизация 
 
Группа :: Безопасность/Сети
Пакет: apache-honeypot

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

Name: apache-honeypot
Version: 0.1
Release: alt0.M24.1

Summary: setup for ALT Linux Apache 1.3 to help detect kiddies
License: GPL v2
Group: Security/Networking

Source1: %name-wget
Source2: %name.README
Packager: Michael Shigorin <mike at altlinux.org>

Requires: apache-common >= 1.3.33rusPL30.20-alt2.M24.1

BuildArch: noarch

%define conffile %_sysconfdir/sysconfig/apache
%define potdir %_libdir/%name/bin

%description
This package includes settings and scripts to help kiddies
warn the hostmaster of security breaches they could have
exploited successfully.  It's not warranty or 100% solution
but yet another inconvenience for a casual attacker.

%prep

%install
%__install -pD -m755 %SOURCE1 %buildroot%potdir/wget
%__install -m644 %SOURCE2 README

%post
if grep -qs "^PATH" "%conffile"; then
echo "info: PATH already in %conffile" >&2
else
echo "export PATH=%potdir:$PATH" >> %conffile
fi

%postun
# maybe there should be conffile cleanup... *yaawn*

%files
%potdir/*
%doc README

%changelog

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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005