packages (DEVEL): sshguard/sshguard.spec - create new chain for sshguard ip...

lisu lisu at pld-linux.org
Wed Jul 8 09:57:50 CEST 2009


Author: lisu                         Date: Wed Jul  8 07:57:50 2009 GMT
Module: packages                      Tag: DEVEL
---- Log message:
- create new chain for sshguard iptables rules and remove it after uninstall (%%post and %%postun)

---- Files affected:
packages/sshguard:
   sshguard.spec (1.18.2.2 -> 1.18.2.3) 

---- Diffs:

================================================================
Index: packages/sshguard/sshguard.spec
diff -u packages/sshguard/sshguard.spec:1.18.2.2 packages/sshguard/sshguard.spec:1.18.2.3
--- packages/sshguard/sshguard.spec:1.18.2.2	Tue Jul  7 09:53:50 2009
+++ packages/sshguard/sshguard.spec	Wed Jul  8 09:57:43 2009
@@ -56,6 +56,12 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+iptables -N sshguard
+
+%postun
+iptables -X sshguard 
+
 %files
 %doc README examples/whitelistfile.example
 %defattr(644,root,root,755)
@@ -68,6 +74,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18.2.3  2009/07/08 07:57:43  lisu
+- create new chain for sshguard iptables rules and remove it after uninstall (%%post and %%postun)
+
 Revision 1.18.2.2  2009/07/07 07:53:50  lisu
 - rpmbuild(macros) no longer required
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/sshguard/sshguard.spec?r1=1.18.2.2&r2=1.18.2.3&f=u



More information about the pld-cvs-commit mailing list