firewall-init: firewall-init.spec - merged all changes from packages repo
baggins
baggins at pld-linux.org
Tue Dec 29 23:48:58 CET 2009
Author: baggins Date: Tue Dec 29 22:48:58 2009 GMT
Module: firewall-init Tag: HEAD
---- Log message:
- merged all changes from packages repo
---- Files affected:
firewall-init:
firewall-init.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: firewall-init/firewall-init.spec
diff -u firewall-init/firewall-init.spec:1.2 firewall-init/firewall-init.spec:1.3
--- firewall-init/firewall-init.spec:1.2 Tue May 29 22:11:02 2001
+++ firewall-init/firewall-init.spec Tue Dec 29 23:48:53 2009
@@ -1,27 +1,28 @@
# $Revision$, $Date$
Summary: Firewall SysV-init style start-up script
-Summary(pl): Skrypt startowy firewalla
+Summary(pl.UTF-8): Skrypt startowy firewalla
Name: firewall-init
-Version: 2.99.5
+Version: 2.99.9
Release: 1
License: GPL
Group: Networking/Admin
-Group(de): Netzwerkwesen/Administration
-Group(pl): Sieciowe/Administacyjne
-Source0: ftp://ftp.pld.org.pl/software/firewall-init/%{name}-%{version}.tar.gz
+Source0: ftp://ftp.pld-linux.org/software/firewall-init/%{name}-%{version}.tar.bz2
+# Source0-md5: b3bd68e812a2b30b0963c8ce9968af5e
+BuildRequires: rpmbuild(macros) >= 1.194
+Requires(post,preun): /sbin/chkconfig
Requires: iptables >= 1.2.2-2
-Prereq: rc-scripts
-Prereq: /sbin/chkconfig
-Buildarch: noarch
+Requires: rc-scripts
+Obsoletes: iptables-init
+BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Firewall-init is meant to provide an easy to use interface to start
-and stopping the kernel IP packet filter through iptables(8).
+Firewall-init is meant to provide an easy to use interface for
+starting and stopping the kernel IP packet filter through iptables(8).
-%description -l pl
-Dziêki firewall-init uzyskuje siê ³atwy interfejs do startowania i
-stopowania filtrów IP j±dra poprzez iptables(8).
+%description -l pl.UTF-8
+DziÄki firewall-init uzyskuje siÄ Åatwy interfejs do startowania i
+stopowania filtrów IP jÄ
dra poprzez iptables(8).
%prep
%setup -q
@@ -29,62 +30,106 @@
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
-gzip -9nf README
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%triggerpostun -- %{name} < 2.5
+%banner -e %{name} <<'EOF'
+You need to manually convert your rules to iptables or install
+firewall-init-ipchains
+EOF
%post
/sbin/chkconfig --add firewall
/sbin/chkconfig --add firewall-pre
-%postun
+%preun
if [ "$1" = "0" ]; then
/sbin/chkconfig --del firewall
/sbin/chkconfig --del firewall-pre
fi
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(644,root,root,755)
-%doc README.gz
+%doc README
%defattr(640,root,root,750)
-%verify(not size mtime md5) %config(noreplace) /etc/sysconfig/firewall
-%verify(not size mtime md5) %config(noreplace) /etc/sysconfig/firewall.d/ip*
-%verify(not size mtime md5) %config(noreplace) /etc/sysconfig/firewall.d/functions.rules
+%verify(not md5 mtime size) %config(noreplace) /etc/sysconfig/firewall
+%verify(not md5 mtime size) %config(noreplace) /etc/sysconfig/firewall.d/ip*
+%verify(not md5 mtime size) %config(noreplace) /etc/sysconfig/firewall.d/functions.rules
/etc/sysconfig/firewall.d/functions
%attr(754,root,root) /etc/rc.d/init.d/firewall*
%dir /etc/sysconfig/firewall.d
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
-* %{date} PLD Team <pld-list at pld.org.pl>
-All persons listed below can be reached at <cvs_login>@pld.org.pl
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
-Revision 1.2 2001/05/29 20:11:02 baggins
-- old ipchains based version went on IPCHAINS branch
-- merged IPTABLES branch on HEAD
+Revision 1.3 2009/12/29 22:48:53 baggins
+- merged all changes from packages repo
+
+Revision 1.50 2009/12/29 22:45:07 baggins
+- removed ancient changelog
+
+Revision 1.49 2007/02/12 21:23:55 glen
+- tabs in preamble
+
+Revision 1.48 2007/02/12 00:48:49 baggins
+- converted to UTF-8
+
+Revision 1.47 2006/12/04 13:32:56 baggins
+- 2.99.9
+
+Revision 1.46 2006/05/21 15:57:16 glen
+- convert some weird pre-script to trigger; rel 3
+
+Revision 1.45 2005/12/12 16:24:19 glen
+- adapterized (sorted %verify attrs)
+
+Revision 1.44 2005/10/16 12:30:25 kolodko
+- missing log
+
+Revision 1.43 2005/10/16 12:28:31 kolodko
+- "chkconfig --del firewall" must be in %preun
+ thx for Krzysztof MoÅcicki <stivi (at) kity.pl>
+- rel 2, STBR
+
+Revision 1.42 2005/09/19 18:03:10 baggins
+- 2.99.8
+
+Revision 1.41 2004/10/18 14:25:12 baggins
+- typo
+
+Revision 1.40 2004/10/18 14:22:28 baggins
+- 2.99.7
+- had to kill new syntax, the gain was not worth the problems it had
+- mmazur - put new version on www
+
+Revision 1.39 2004/08/08 11:04:24 havner
+- rel 2
-Revision 1.1.2.7 2001/05/21 12:16:11 baggins
-- requires iptables >= 1.2.2-2
+Revision 1.38 2004/04/08 18:09:34 mmazur
+- I'll think of something later
-Revision 1.1.2.6 2001/05/17 17:46:09 baggins
-- version 2.99.5
+Revision 1.37 2004/04/08 15:24:04 mmazur
+- up to 2.99.6; nfy
-Revision 1.1.2.5 2001/03/08 20:59:39 baggins
-- 2.99.4
-- added firewall-pre.init
+Revision 1.36 2003/08/26 12:20:20 havner
+- added obsoletes: iptable-init
-Revision 1.1.2.4 2001/03/07 23:53:39 baggins
-- 2.99.3
+Revision 1.35 2003/08/11 20:44:54 ankry
+- cosmetics
-Revision 1.1.2.3 2001/02/26 14:02:43 baggins
-- 2.99.1
+Revision 1.34 2003/07/29 15:12:20 qboosh
+- more specific Requires
-Revision 1.1.2.2 2001/02/19 16:06:40 baggins
-- removed old changelog entries
+Revision 1.33 2003/06/17 19:09:49 mmazur
+- pld-linux.org
+- new %doc
-Revision 1.1.2.1 2001/02/19 16:05:49 baggins
-- new stuff for version 3.0.0 (for iptables)
+Revision 1.32 2003/06/17 19:04:48 mmazur
+- merging IPTABLES branch to HEAD
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/firewall-init/firewall-init.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list