annotate Makefile.am @ 210:cf2ecf5bacc9

Added tag stable-6-0-17 for changeset 0fc1899391b6
author Carl Byington <carl@five-ten-sg.com>
date Wed, 05 Mar 2008 18:24:36 -0800
parents 0fc1899391b6
children 4db1457cd11a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
105
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
1 SUBDIRS = src man html info
112
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 111
diff changeset
2 hackdir = $(sysconfdir)/dnsbl
108
1c7677042b78 move to autoconf/automake/docbook
carl
parents: 105
diff changeset
3 hack_SCRIPTS = dnsbl
179
8b86a894514d embedded dcc filtering
carl
parents: 178
diff changeset
4 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
5 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
6 html_DATA = AUTHORS COPYING ChangeLog NEWS README
108
1c7677042b78 move to autoconf/automake/docbook
carl
parents: 105
diff changeset
7 CLEANFILES = dnsbl xml/dnsbl xml/Makefile
177
a4d313c2460b start embedded dcc filtering
carl
parents: 174
diff changeset
8 EXTRA_DIST = $(hack_DATA) dnsbl.spec $(wildcard xml/h*) $(wildcard xml/M*) $(wildcard xml/d*)
105
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
9
163
97d7da45fe2a spamassassin changes
carl
parents: 155
diff changeset
10 dnsbl: dnsbl.rc
97d7da45fe2a spamassassin changes
carl
parents: 155
diff changeset
11 cat dnsbl.rc | \
105
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
12 sed -e "s,SBINDIR,$(sbindir),g" | \
163
97d7da45fe2a spamassassin changes
carl
parents: 155
diff changeset
13 sed -e "s,SYSCONFDIR,$(sysconfdir),g" >dnsbl
105
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
14
108
1c7677042b78 move to autoconf/automake/docbook
carl
parents: 105
diff changeset
15 chkconfig: dnsbl
174
da0c41b9f672 don't whitelist addresses with embedded spaces
carl
parents: 164
diff changeset
16 /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
96b2eb7f25f5 move to autoconf/automake/docbook
carl
parents: 111
diff changeset
17 mv -f $(sysconfdir)/dnsbl/dnsbl /etc/rc.d/init.d
178
d6531c702be3 embedded dcc filtering
carl
parents: 177
diff changeset
18 mkdir -p $(sysconfdir)/dnsbl/autowhite
153
8d7c439bb6fa add auto whitelisting
carl
parents: 117
diff changeset
19 chown dnsbl:root $(sysconfdir)/dnsbl/autowhite
178
d6531c702be3 embedded dcc filtering
carl
parents: 177
diff changeset
20 mkdir -p $(sysconfdir)/dnsbl/.spamassassin
164
5809bcdc325b spamassassin changes
carl
parents: 163
diff changeset
21 chown dnsbl:root $(sysconfdir)/dnsbl/.spamassassin
108
1c7677042b78 move to autoconf/automake/docbook
carl
parents: 105
diff changeset
22 /sbin/chkconfig --del dnsbl
1c7677042b78 move to autoconf/automake/docbook
carl
parents: 105
diff changeset
23 /sbin/chkconfig --add dnsbl
180
7a722f482bfb embedded dcc filtering
carl
parents: 179
diff changeset
24 mkdir -p /var/dcc/userdirs/local/dnsblnogrey && mv -f $(sysconfdir)/dnsbl/dnsblnogrey /var/dcc/userdirs/local/dnsblnogrey/whiteclnt
105
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
25