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

Группа :: Безопасность/Сети
Пакет: dwall

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

Name: dwall
Version: 0.5.3
Release: alt3
License: GPL
Summary: All-purpose iptables firewall generator
Group: Security/Networking
URL: http://dag.wieers.com/home-made/dwall/
Packager: Denis Medvedev <nbr at altlinux.ru>
Source0: dwall-%{version}.tar.bz2
Source1: changelog.old
Source2: dwall.init

BuildRequires: iptables
Requires: iptables, iproute, bash

%description
Dwall is a versatile firewall frontend to configure and manage iptables
firewalls. It generates an iptables firewall based on simple config
files. It allows you to give a simple overview of your whole network.

%prep
%setup

%build

%install
%makeinstall

mkdir -p %buildroot%_initdir/
cp %SOURCE2 %buildroot/%_initdir/dwall
mkdir -p %buildroot%_datadir/%name-%version/
cp %SOURCE1 %buildroot%_datadir/%name-%version/changelog.old

%post
/sbin/chkconfig --add dwall
if ! grep -q "/var/log/dwall" /etc/syslog.conf; then
echo -e "#kern.debug\t\t\t\t\t\t\t/var/log/dwall" >>%_sysconfdir/syslog.conf
fi

%preun
if [ $1 -eq 0 ]; then
/sbin/chkconfig --del dwall
fi

%files
%doc AUTHORS ChangeLog EXAMPLE README TODO chains-example/
%_datadir/%name-%version/changelog.old
%config(noreplace) %_sysconfdir/%name/*.conf
%config(noreplace) %_sysconfdir/%name/scripts/
%config %_sysconfdir/dwall/services/
%config %_sysconfdir/logrotate.d/*
%config %_initrddir/*
%dir %_sysconfdir/%name/
%dir %_sysconfdir/%name/backup/
%dir %_sysconfdir/%name/tmp/
%_bindir/*
/usr/lib/%name/


%changelog

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

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