Mercurial > dnsbl
comparison Makefile.am @ 370:5380552644e2
RHEL7 systemd and /var/run on tmpfs
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 07 Feb 2017 18:09:52 -0800 |
parents | f92f24950bd3 |
children | 7361afe0df4f |
comparison
equal
deleted
inserted
replaced
369:f15c694c31d2 | 370:5380552644e2 |
---|---|
1 ACLOCAL_AMFLAGS = -I m4 | 1 ACLOCAL_AMFLAGS = -I m4 |
2 | 2 |
3 SUBDIRS = src man html info | 3 SUBDIRS = src man html info |
4 hackdir = $(sysconfdir)/dnsbl | 4 hackdir = $(sysconfdir)/dnsbl |
5 hack_SCRIPTS = dnsbl | 5 hack_SCRIPTS = dnsbl dnsbl.service dnsbl-tmpfs.conf |
6 hack_DATA = dnsbl.conf hosts-ignore.conf html-tags.conf tld.conf dnsblnogrey | 6 hack_DATA = dnsbl.conf hosts-ignore.conf html-tags.conf tld.conf dnsblnogrey |
7 htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@ | 7 htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@ |
8 html_DATA = AUTHORS COPYING ChangeLog NEWS README | 8 html_DATA = AUTHORS COPYING ChangeLog NEWS README |
9 CLEANFILES = dnsbl xml/dnsbl xml/Makefile | 9 CLEANFILES = dnsbl dnsbl.service dnsbl-tmpfs.conf xml/dnsbl xml/Makefile |
10 EXTRA_DIST = $(hack_DATA) dnsbl.spec make-tld-conf.py xml/header.sgml xml/header.xml xml/Makefile.am xml/Makefile.in xml/dnsbl.in | 10 EXTRA_DIST = dnsbl-tmpfs.conf dnsbl.rc dnsbl.service.rc $(hack_DATA) dnsbl.spec make-tld-conf.py xml/header.sgml xml/header.xml xml/Makefile.am xml/Makefile.in xml/dnsbl.in |
11 | 11 |
12 dnsbl: dnsbl.rc | 12 dnsbl: dnsbl.rc |
13 cat dnsbl.rc | \ | 13 cat dnsbl.rc | \ |
14 sed -e "s,SBINDIR,$(sbindir),g" | \ | 14 sed -e "s,SBINDIR,$(sbindir),g" | \ |
15 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >dnsbl | 15 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >dnsbl |
16 | |
17 dnsbl.service: dnsbl.service.rc | |
18 cat dnsbl.service.rc | \ | |
19 sed -e "s,SBINDIR,$(sbindir),g" | \ | |
20 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >dnsbl.service | |
16 | 21 |
17 chkconfig: dnsbl | 22 chkconfig: dnsbl |
18 /usr/bin/getent passwd dnsbl >/dev/null || /usr/sbin/useradd -r -d $(sysconfdir)/dnsbl -M -c "dnsbl pseudo-user" -s /sbin/nologin dnsbl >/dev/null | 23 /usr/bin/getent passwd dnsbl >/dev/null || /usr/sbin/useradd -r -d $(sysconfdir)/dnsbl -M -c "dnsbl pseudo-user" -s /sbin/nologin dnsbl >/dev/null |
19 mv -f $(sysconfdir)/dnsbl/dnsbl /etc/rc.d/init.d | 24 mv -f $(sysconfdir)/dnsbl/dnsbl /etc/rc.d/init.d |
20 mkdir -p $(sysconfdir)/dnsbl/autowhite | 25 mkdir -p $(sysconfdir)/dnsbl/autowhite |