Mercurial > syslog2iptables
annotate Makefile.am @ 42:d9ae11033b4b stable-1-9
Add default config to firewall systems that send bounces to non-existant accounts.
Switch to Mercurial source control. Update spec file for fedora packaging.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 21 Mar 2008 14:02:32 -0700 |
parents | 3eb867c9beb2 |
children | 9e9f09cf411c |
rev | line source |
---|---|
11 | 1 SUBDIRS = src man html info |
10 | 2 hackdir = $(sysconfdir) |
3 hack_SCRIPTS = syslog2iptables | |
4 sysconf_DATA = syslog2iptables.conf | |
42
d9ae11033b4b
Add default config to firewall systems that send bounces to non-existant accounts.
Carl Byington <carl@five-ten-sg.com>
parents:
32
diff
changeset
|
5 htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@ |
d9ae11033b4b
Add default config to firewall systems that send bounces to non-existant accounts.
Carl Byington <carl@five-ten-sg.com>
parents:
32
diff
changeset
|
6 html_DATA = AUTHORS COPYING ChangeLog NEWS README |
11 | 7 CLEANFILES = syslog2iptables xml/syslog2iptables xml/Makefile |
32 | 8 EXTRA_DIST = syslog2iptables.conf syslog2iptables.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/s*) |
1 | 9 |
32 | 10 syslog2iptables: syslog2iptables.rc |
11 cat syslog2iptables.rc | \ | |
10 | 12 sed -e "s,SBINDIR,$(sbindir),g" | \ |
13 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>syslog2iptables | |
5 | 14 |
10 | 15 chkconfig: syslog2iptables |
16 mv -f $(sysconfdir)/syslog2iptables /etc/rc.d/init.d | |
9 | 17 /sbin/chkconfig --del syslog2iptables |
18 /sbin/chkconfig --add syslog2iptables | |
19 |