Пакет shorewall6-lite: Specfile

Name: shorewall6-lite
Release: alt3
Summary: Shoreline Firewall 6 Lite is an iptables-based firewall for Linux systems.
License: GPLv2
Group: Security/Networking
Url: http://www.shorewall.net/
Source0: %name-%version.tar.bz2
Source1: %name.init
Source3: %name-control

Packager: Alexey Shabalin <shaba@altlinux.ru>

BuildArch: noarch
Requires: iptables iproute2 iptables-ipv6

The Shoreline Firewall, more commonly known as "Shorewall", is a Netfilter
(iptables) based firewall that can be used on a dedicated firewall system,
a multi-function gateway/ router/server or on a standalone GNU/Linux system.

Shorewall Lite is a companion product to Shorewall that allows network
administrators to centralize the configuration of Shorewall-based firewalls.

%setup -q

PREFIX=%buildroot DEST=%_initdir SYSTEMD=Yes %_buildshell install.sh
install -m 0755 -p %SOURCE1 %buildroot%_initdir/%name
install -D -m 0755 %SOURCE3 %buildroot%_controldir/%name

%post_service %name

%preun_service %name

%doc COPYING changelog.txt releasenotes.txt
%config %_initdir/%name
%dir %_sysconfdir/%name
%attr(0600,root,root) %config(noreplace) %_sysconfdir/%name/[a-z]*
%attr(0600,root,root) %_sysconfdir/%name/Makefile
%config(noreplace) %_sysconfdir/logrotate.d/%name
%dir %_datadir/%name
%dir %_localstatedir/%name

* Wed Oct 05 2011 Alexey Shabalin <shaba@altlinux.ru>
- only root have access to config files

* Wed Sep 21 2011 Alexey Shabalin <shaba@altlinux.ru>
- drop all %%attr

* Wed Sep 21 2011 Alexey Shabalin <shaba@altlinux.ru>

* Fri Dec 17 2010 Alexey Shabalin <shaba@altlinux.ru>

* Mon Sep 27 2010 Alexey Shabalin <shaba@altlinux.ru>

* Thu Feb 11 2010 Alexey Shabalin <shaba@altlinux.ru> 4.4.6-alt1
- 4.4.6

* Tue Dec 15 2009 Alexey Shabalin <shaba@altlinux.ru>

* Fri Nov 06 2009 Alexey Shabalin <shaba@altlinux.ru> 4.4.3-alt1
- 4.4.3

* Fri Oct 23 2009 Alexey Shabalin <shaba@altlinux.ru> 4.4.2-alt1
- 4.4.2

* Fri Oct 02 2009 Alexey Shabalin <shaba@altlinux.ru> 4.4.1-alt1
- Initial build for Sisyphus