Sophie

Sophie

distrib > Mageia > 3 > x86_64 > media > core-release-src > by-pkgid > fcc5dd645b3f12bb1a637e4f456afe8e > files > 3

invictus-firewall-0.1-12.mga3.src.rpm

%define name invictus-firewall
%define version 0.1
%define release %mkrel 12
%define service ct_sync

Summary: Invictus Firewall
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{service}.init
Source1: %{service}.sysconfig
Source2: ucarp-action.sh
Source3: ucarp-up.sh
Source4: ucarp-down.sh
License: GPL
Group: System/Networking
Url: http://www.mandriva.com/
BuildArch: noarch
Requires(post):  rpm-helper
Requires(preun): rpm-helper
Requires: ucarp


%description
Invictus Firewall allows to setup a redundant firewall using ucarp to
handle failover and ct_sync to replicate connection tracking state.

%prep
%setup -q -c -T

%install
install -m755 -D %{SOURCE0} %{buildroot}%{_initrddir}/%{service}
install -m644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/%{service}
install -d %{buildroot}%{_datadir}/%{name}/
install -m755 %{SOURCE2} %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/%{name}/

%post
%_post_service %{service}

%preun
%_preun_service %{service}

%files
%{_initrddir}/%{service}
%config(noreplace) %{_sysconfdir}/sysconfig/%{service}
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/ucarp-*.sh


%changelog

* Tue Jan 22 2013 fwang <fwang> 0.1-12.mga3
+ Revision: 390880
- update rpm group

* Sat Jan 12 2013 umeabot <umeabot> 0.1-11.mga3
+ Revision: 354425
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Mar 28 2011 steletch <steletch> 0.1-10.mga1
+ Revision: 78577
- imported package invictus-firewall