Mercurial > dnsbl
annotate Makefile.am @ 466:8ad675a5d448
update tld list
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 25 Apr 2019 09:47:36 -0700 |
parents | 1b7a785610f5 |
children |
rev | line source |
---|---|
211
4db1457cd11a
Extend auto-whitelisting when receiving mail even if the auto whitelist is specified in a parent context.
Carl Byington <carl@five-ten-sg.com>
parents:
209
diff
changeset
|
1 ACLOCAL_AMFLAGS = -I m4 |
4db1457cd11a
Extend auto-whitelisting when receiving mail even if the auto whitelist is specified in a parent context.
Carl Byington <carl@five-ten-sg.com>
parents:
209
diff
changeset
|
2 |
105 | 3 SUBDIRS = src man html info |
112 | 4 hackdir = $(sysconfdir)/dnsbl |
375
aeb4480a2a95
avoid packaging generated dnsbl.service file
Carl Byington <carl@five-ten-sg.com>
parents:
373
diff
changeset
|
5 hack_SCRIPTS = dnsbl dnsbl.service |
425
1b7a785610f5
hosts-ignore.conf can be used to ignore nameserver names
Carl Byington <carl@five-ten-sg.com>
parents:
375
diff
changeset
|
6 hack_DATA = dnsbl.conf dnsbl.dkim.conf hosts-ignore.conf html-tags.conf tld.conf dnsblnogrey dnsbl-tmpfs.conf |
209
0fc1899391b6
use autoconf to package the standard gnu documentation
Carl Byington <carl@five-ten-sg.com>
parents:
180
diff
changeset
|
7 htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@ |
0fc1899391b6
use autoconf to package the standard gnu documentation
Carl Byington <carl@five-ten-sg.com>
parents:
180
diff
changeset
|
8 html_DATA = AUTHORS COPYING ChangeLog NEWS README |
373
7361afe0df4f
avoid makedist removing dnsbl-tmpfs.conf
Carl Byington <carl@five-ten-sg.com>
parents:
370
diff
changeset
|
9 CLEANFILES = dnsbl dnsbl.service xml/dnsbl xml/Makefile |
7361afe0df4f
avoid makedist removing dnsbl-tmpfs.conf
Carl Byington <carl@five-ten-sg.com>
parents:
370
diff
changeset
|
10 EXTRA_DIST = 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 |
105 | 11 |
163 | 12 dnsbl: dnsbl.rc |
13 cat dnsbl.rc | \ | |
105 | 14 sed -e "s,SBINDIR,$(sbindir),g" | \ |
163 | 15 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >dnsbl |
105 | 16 |
370
5380552644e2
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
270
diff
changeset
|
17 dnsbl.service: dnsbl.service.rc |
5380552644e2
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
270
diff
changeset
|
18 cat dnsbl.service.rc | \ |
5380552644e2
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
270
diff
changeset
|
19 sed -e "s,SBINDIR,$(sbindir),g" | \ |
5380552644e2
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
270
diff
changeset
|
20 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >dnsbl.service |
5380552644e2
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
270
diff
changeset
|
21 |
108 | 22 chkconfig: dnsbl |
174 | 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 |
112 | 24 mv -f $(sysconfdir)/dnsbl/dnsbl /etc/rc.d/init.d |
178 | 25 mkdir -p $(sysconfdir)/dnsbl/autowhite |
153 | 26 chown dnsbl:root $(sysconfdir)/dnsbl/autowhite |
178 | 27 mkdir -p $(sysconfdir)/dnsbl/.spamassassin |
164 | 28 chown dnsbl:root $(sysconfdir)/dnsbl/.spamassassin |
108 | 29 /sbin/chkconfig --del dnsbl |
30 /sbin/chkconfig --add dnsbl | |
180 | 31 mkdir -p /var/dcc/userdirs/local/dnsblnogrey && mv -f $(sysconfdir)/dnsbl/dnsblnogrey /var/dcc/userdirs/local/dnsblnogrey/whiteclnt |
105 | 32 |