]> git.pld-linux.org Git - packages/sshguard.git/commitdiff
- create new chain for sshguard iptables rules and remove it after uninstall (%%post...
authorlisu <lisu@pld-linux.org>
Wed, 8 Jul 2009 07:57:43 +0000 (07:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sshguard.spec -> 1.18.2.3

sshguard.spec

index 46744b98ce91e20480ca5ebfe1d0d7fcd8525d67..667f1cc0e24f0af356fc96a233415bfa89ea2a11 100644 (file)
@@ -55,6 +55,12 @@ rm -rf $RPM_BUILD_ROOT
 %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)
This page took 0.059382 seconds and 4 git commands to generate.