annotate src/package @ 29:4dfdf33f1db0 stable-2-4

add syslog msg freeing memory, use bare tld names without leading period
author carl
date Thu, 27 May 2004 16:17:48 -0700
parents 33e1e3910506
children 8f43f8fa1ad7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
96a9758165cd Initial revision
carl
parents:
diff changeset
1 #!/bin/bash
96a9758165cd Initial revision
carl
parents:
diff changeset
2
28
33e1e3910506 add configurable list of tlds
carl
parents: 24
diff changeset
3 VER=dnsbl-2.4
14
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
4 mkdir $VER
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
5 target1=/home/httpd/html/510sg/util/dnsbl.tar.gz
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
6 target2=/home/httpd/html/510sg/dnsbl.conf
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
7 target3=/home/httpd/html/510sg/dnsbl.html
0
96a9758165cd Initial revision
carl
parents:
diff changeset
8
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 21
diff changeset
9 cp sample.conf $VER/dnsbl.conf
28
33e1e3910506 add configurable list of tlds
carl
parents: 24
diff changeset
10 cp html-tags.conf $VER
33e1e3910506 add configurable list of tlds
carl
parents: 24
diff changeset
11 cp tld.conf $VER
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 21
diff changeset
12 cp *cpp $VER
2e23b7184d2b start coding for bad html tag detection
carl
parents: 21
diff changeset
13 cp *rc $VER
2e23b7184d2b start coding for bad html tag detection
carl
parents: 21
diff changeset
14 cp install.bash $VER
2e23b7184d2b start coding for bad html tag detection
carl
parents: 21
diff changeset
15 cp LICENSE $VER
14
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
16 tar cfvz $target1 $VER
0
96a9758165cd Initial revision
carl
parents:
diff changeset
17
14
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
18 cp sample.conf $target2
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
19 cp dnsbl.html $target3
0
96a9758165cd Initial revision
carl
parents:
diff changeset
20
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 21
diff changeset
21 echo scp $target1 ns1:$target1
2e23b7184d2b start coding for bad html tag detection
carl
parents: 21
diff changeset
22 echo scp $target2 ns1:$target2
2e23b7184d2b start coding for bad html tag detection
carl
parents: 21
diff changeset
23 echo scp $target3 ns1:$target3
28
33e1e3910506 add configurable list of tlds
carl
parents: 24
diff changeset
24 scp $target1 ams:/tmp/`basename $target1`
33e1e3910506 add configurable list of tlds
carl
parents: 24
diff changeset
25 scp $target2 ams:/tmp/`basename $target2`
33e1e3910506 add configurable list of tlds
carl
parents: 24
diff changeset
26 scp $target3 ams:/tmp/`basename $target3`
14
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
27 rm -rf $VER