diff syslog2iptables.spec.in @ 11:a9b52f657f08

finish coding 1.0 version
author carl
date Thu, 15 Dec 2005 16:20:17 -0800
parents 5dfe0138b4f9
children c2a2e35a85ac
line wrap: on
line diff
--- a/syslog2iptables.spec.in	Thu Dec 08 13:58:08 2005 -0800
+++ b/syslog2iptables.spec.in	Thu Dec 15 16:20:17 2005 -0800
@@ -1,12 +1,14 @@
+%define localstatedir   /var/lib
 Summary:            Syslog to iptables dynamic firewall
 Name:               @PACKAGE@
 Version:            @VERSION@
 Release:            %{?custom_release}%{!?custom_release:1}
 Copyright:          GPL
 Group:              System Environment/Daemons
-Source:             http://www.five-ten-sg.com/util/@PACKAGE@-@VERSION@.tar.gz
+Source:             http://www.five-ten-sg.com/@PACKAGE@/packages/@PACKAGE@-@VERSION@.tar.gz
 BuildRoot:          %{_tmppath}/%{name}-%{version}-buildroot
-URL:                http://www.five-ten-sg.com/@PACKAGE@
+URL:                http://www.five-ten-sg.com/@PACKAGE@/
 Vendor:             510 Software Group
 Packager:           510 Software Group
 Requires(post,preun):   /sbin/chkconfig /sbin/service
@@ -16,7 +18,8 @@
-@PACKAGE@ reads a configuration file /etc/@PACKAGE@.conf that defines a collection of syslog files to be parsed for ip addresses to be added to the iptables INPUT chain with DROP rules.
+@PACKAGE@ is a simple adaptive firewall.  It maintains the INPUT chain of the iptables firewall set based on syslog entries.
 This package cannot co-exist with any other daemon that tries to maintain the INPUT chain, since it periodically flushes and recreates the INPUT chain.
@@ -77,6 +80,7 @@
 %config(noreplace) %{_sysconfdir}/@PACKAGE@.conf