Mercurial > dnsbl
annotate Makefile.am @ 257:d11b529ce9c5 stable-6-0-31
Fix uribl lookups on client dns name, need to strip the ip address in brackets
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sun, 01 Jul 2012 10:13:30 -0700 |
parents | 784030ac71f1 |
children | f92f24950bd3 |
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 |
108 | 5 hack_SCRIPTS = dnsbl |
179 | 6 hack_DATA = dnsbl.conf hosts-ignore.conf html-tags.conf tld.conf cctld.conf dnsblnogrey |
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 |
108 | 9 CLEANFILES = dnsbl xml/dnsbl xml/Makefile |
216
784030ac71f1
Never whitelist self addressed mail. Changes for Fedora 10 and const correctness.
Carl Byington <carl@five-ten-sg.com>
parents:
211
diff
changeset
|
10 EXTRA_DIST = $(hack_DATA) dnsbl.spec 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 |
108 | 17 chkconfig: dnsbl |
174 | 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 |
112 | 19 mv -f $(sysconfdir)/dnsbl/dnsbl /etc/rc.d/init.d |
178 | 20 mkdir -p $(sysconfdir)/dnsbl/autowhite |
153 | 21 chown dnsbl:root $(sysconfdir)/dnsbl/autowhite |
178 | 22 mkdir -p $(sysconfdir)/dnsbl/.spamassassin |
164 | 23 chown dnsbl:root $(sysconfdir)/dnsbl/.spamassassin |
108 | 24 /sbin/chkconfig --del dnsbl |
25 /sbin/chkconfig --add dnsbl | |
180 | 26 mkdir -p /var/dcc/userdirs/local/dnsblnogrey && mv -f $(sysconfdir)/dnsbl/dnsblnogrey /var/dcc/userdirs/local/dnsblnogrey/whiteclnt |
105 | 27 |