comparison 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
comparison
equal deleted inserted replaced
10:5dfe0138b4f9 11:a9b52f657f08
1 %define localstatedir /var/lib
2
1 Summary: Syslog to iptables dynamic firewall 3 Summary: Syslog to iptables dynamic firewall
2 Name: @PACKAGE@ 4 Name: @PACKAGE@
3 Version: @VERSION@ 5 Version: @VERSION@
4 Release: %{?custom_release}%{!?custom_release:1} 6 Release: %{?custom_release}%{!?custom_release:1}
5 Copyright: GPL 7 Copyright: GPL
6 Group: System Environment/Daemons 8 Group: System Environment/Daemons
7 Source: http://www.five-ten-sg.com/util/@PACKAGE@-@VERSION@.tar.gz 9 Source: http://www.five-ten-sg.com/@PACKAGE@/packages/@PACKAGE@-@VERSION@.tar.gz
8 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot 10 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
9 URL: http://www.five-ten-sg.com/@PACKAGE@ 11 URL: http://www.five-ten-sg.com/@PACKAGE@/
10 Vendor: 510 Software Group 12 Vendor: 510 Software Group
11 Packager: 510 Software Group 13 Packager: 510 Software Group
12 Requires(post,preun): /sbin/chkconfig /sbin/service 14 Requires(post,preun): /sbin/chkconfig /sbin/service
13 Requires: iptables 15 Requires: iptables
14 Requires: coreutils 16 Requires: coreutils
15 BuildRequires: gcc gcc-c++ 17 BuildRequires: gcc gcc-c++
16 18
17 19
18 %description 20 %description
19 @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. 21
22 @PACKAGE@ is a simple adaptive firewall. It maintains the INPUT chain of the iptables firewall set based on syslog entries.
20 23
21 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. 24 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.
22 25
23 26
24 %prep 27 %prep
75 78
76 %files 79 %files
77 %doc AUTHORS COPYING ChangeLog NEWS README 80 %doc AUTHORS COPYING ChangeLog NEWS README
78 %defattr(-,root,root) 81 %defattr(-,root,root)
79 %{_sbindir}/* 82 %{_sbindir}/*
83 %{_mandir}/*
80 %config(noreplace) %{_sysconfdir}/@PACKAGE@.conf 84 %config(noreplace) %{_sysconfdir}/@PACKAGE@.conf
81 /etc/rc.d/init.d/@PACKAGE@ 85 /etc/rc.d/init.d/@PACKAGE@
82 86
83 87
84 %changelog 88 %changelog