Mercurial > syslog2iptables
annotate Makefile.am @ 71:79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 09 Feb 2017 12:44:31 -0800 |
parents | d80641be405b |
children | ea7b7a0d0039 |
rev | line source |
---|---|
44
9e9f09cf411c
Add fixes for Solaris from sm-archive.
Carl Byington <carl@five-ten-sg.com>
parents:
42
diff
changeset
|
1 ACLOCAL_AMFLAGS = -I m4 |
9e9f09cf411c
Add fixes for Solaris from sm-archive.
Carl Byington <carl@five-ten-sg.com>
parents:
42
diff
changeset
|
2 |
11 | 3 SUBDIRS = src man html info |
10 | 4 hackdir = $(sysconfdir) |
71
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
61
diff
changeset
|
5 hack_SCRIPTS = syslog2iptables syslog2iptables.service |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
61
diff
changeset
|
6 hack_DATA = syslog2iptables.conf.make syslog2iptables.conf.top syslog2iptables.conf.bottom |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
61
diff
changeset
|
7 syslog2iptables.conf.httpd |
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
|
8 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
|
9 html_DATA = AUTHORS COPYING ChangeLog NEWS README |
71
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
61
diff
changeset
|
10 CLEANFILES = syslog2iptables syslog2iptables.service xml/syslog2iptables xml/Makefile |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
61
diff
changeset
|
11 EXTRA_DIST = syslog2iptables.rc syslog2iptables.service.rc $(hack_DATA) syslog2iptables.spec xml/header.sgml xml/header.xml xml/Makefile.am xml/Makefile.in xml/syslog2iptables.in |
1 | 12 |
32 | 13 syslog2iptables: syslog2iptables.rc |
14 cat syslog2iptables.rc | \ | |
10 | 15 sed -e "s,SBINDIR,$(sbindir),g" | \ |
16 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>syslog2iptables | |
5 | 17 |
71
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
61
diff
changeset
|
18 syslog2iptables.service: syslog2iptables.service.rc |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
61
diff
changeset
|
19 cat syslog2iptables.rc | \ |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
61
diff
changeset
|
20 sed -e "s,SBINDIR,$(sbindir),g" | \ |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
61
diff
changeset
|
21 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >>syslog2iptables.service |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
61
diff
changeset
|
22 |
10 | 23 chkconfig: syslog2iptables |
24 mv -f $(sysconfdir)/syslog2iptables /etc/rc.d/init.d | |
9 | 25 /sbin/chkconfig --del syslog2iptables |
26 /sbin/chkconfig --add syslog2iptables | |
27 |