Группа :: Безопасность/Сети
Пакет: shorewall
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: shorewall
Version: 4.4.2.3
Release: alt1
Summary: Shoreline Firewall is an iptables-based firewall for Linux systems.
License: GPLv2
Group: Security/Networking
Url: http://www.shorewall.net/
Source0: %name-%version.tar.bz2
Source1: shorewall.init
Source3: shorewall-control
Source4: shorewall-README.ALT.RU.UTF8
Packager: Alexey Shabalin <shaba at altlinux.ru>
BuildArch: noarch
Requires: iptables iproute2
Provides: shorewall-common = %version-%release
Obsoletes: shorewall-common < %version-%release
Provides: shorewall-compiler = %version-%release
Obsoletes: shorewall-compiler < %version-%release
%description
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.
%prep
%setup -q
%install
PREFIX=%buildroot DEST=%_initdir %_buildshell install.sh
%__install -m 0755 -p %SOURCE1 %buildroot%_initdir/%name
%__install -D -m 0755 %SOURCE3 %buildroot%_controldir/%name
%__install -m 0644 %SOURCE4 README.ALT.RU.UTF8
mkdir -p %buildroot%perl_vendor_privlib
mv -f %buildroot%_datadir/%name/Shorewall %buildroot%perl_vendor_privlib/
%post
%post_service %name
%preun
%preun_service %name
%files
%doc COPYING INSTALL changelog.txt releasenotes.txt Samples Contrib
%doc README.ALT.RU.UTF8
%attr(0700,root,root) /sbin/%name
%attr(0755,root,root) %config %_initdir/%name
%attr(0755,root,root) %dir %_sysconfdir/%name
%attr(0600,root,root) %config(noreplace) %_sysconfdir/%name/[a-z]*
%_controldir/%name
%attr(0600,root,root) %_sysconfdir/%name/Makefile
%attr(0755,root,root) %dir %_datadir/%name
%attr(0755,root,root) %dir %_datadir/%name/configfiles
%attr(0600,root,root) %_datadir/%name/configfiles/*
%attr(0600,root,root) %_datadir/%name/a*
%attr(0600,root,root) %_datadir/%name/configpath
%attr(0600,root,root) %_datadir/%name/functions
%attr(0600,root,root) %_datadir/%name/[l-z,A-Z]*
%attr(0700,root,root) %dir %_var/lib/%name
%perl_vendor_privlib/Shorewall
%attr(0755,root,root) %_datadir/%name/compiler.pl
%_man5dir/*
%_man8dir/*
%changelog
…
Полный changelog можно просмотреть здесь
Name: shorewall
Version: 4.4.2.3
Release: alt1
Summary: Shoreline Firewall is an iptables-based firewall for Linux systems.
License: GPLv2
Group: Security/Networking
Url: http://www.shorewall.net/
Source0: %name-%version.tar.bz2
Source1: shorewall.init
Source3: shorewall-control
Source4: shorewall-README.ALT.RU.UTF8
Packager: Alexey Shabalin <shaba at altlinux.ru>
BuildArch: noarch
Requires: iptables iproute2
Provides: shorewall-common = %version-%release
Obsoletes: shorewall-common < %version-%release
Provides: shorewall-compiler = %version-%release
Obsoletes: shorewall-compiler < %version-%release
%description
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.
%prep
%setup -q
%install
PREFIX=%buildroot DEST=%_initdir %_buildshell install.sh
%__install -m 0755 -p %SOURCE1 %buildroot%_initdir/%name
%__install -D -m 0755 %SOURCE3 %buildroot%_controldir/%name
%__install -m 0644 %SOURCE4 README.ALT.RU.UTF8
mkdir -p %buildroot%perl_vendor_privlib
mv -f %buildroot%_datadir/%name/Shorewall %buildroot%perl_vendor_privlib/
%post
%post_service %name
%preun
%preun_service %name
%files
%doc COPYING INSTALL changelog.txt releasenotes.txt Samples Contrib
%doc README.ALT.RU.UTF8
%attr(0700,root,root) /sbin/%name
%attr(0755,root,root) %config %_initdir/%name
%attr(0755,root,root) %dir %_sysconfdir/%name
%attr(0600,root,root) %config(noreplace) %_sysconfdir/%name/[a-z]*
%_controldir/%name
%attr(0600,root,root) %_sysconfdir/%name/Makefile
%attr(0755,root,root) %dir %_datadir/%name
%attr(0755,root,root) %dir %_datadir/%name/configfiles
%attr(0600,root,root) %_datadir/%name/configfiles/*
%attr(0600,root,root) %_datadir/%name/a*
%attr(0600,root,root) %_datadir/%name/configpath
%attr(0600,root,root) %_datadir/%name/functions
%attr(0600,root,root) %_datadir/%name/[l-z,A-Z]*
%attr(0700,root,root) %dir %_var/lib/%name
%perl_vendor_privlib/Shorewall
%attr(0755,root,root) %_datadir/%name/compiler.pl
%_man5dir/*
%_man8dir/*
%changelog
…
Полный changelog можно просмотреть здесь