Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37567829
en ru br
ALT Linux repos
S:0.5.3-alt3
5.0: 0.5.3-alt3
4.1: 0.5.3-alt2
4.0: 0.5.3-alt2

Group :: Security/Networking
RPM: dwall

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

Full changelog you can see here

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