annotate src/package @ 39:6e9d0b2d0720

fix handling of missing include files
author carl
date Mon, 07 Jun 2004 21:07:40 -0700
parents 038521f9490a
children dc3d8d1aa2d2
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
38
038521f9490a new version
carl
parents: 34
diff changeset
3 VER=dnsbl-3.0
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
32
ccb02fc678aa new version
carl
parents: 31
diff changeset
24 bt1=`basename $target1`
ccb02fc678aa new version
carl
parents: 31
diff changeset
25 bt2=`basename $target2`
ccb02fc678aa new version
carl
parents: 31
diff changeset
26 bt3=`basename $target3`
ccb02fc678aa new version
carl
parents: 31
diff changeset
27 scp $target1 ams:/tmp/$bt1
ccb02fc678aa new version
carl
parents: 31
diff changeset
28 scp $target2 ams:/tmp/$bt2
ccb02fc678aa new version
carl
parents: 31
diff changeset
29 scp $target3 ams:/tmp/$bt3
34
fc7f8f3ea90f look for NS records on the SBL also
carl
parents: 32
diff changeset
30 ssh -t ams "scp /tmp/$bt1 ns1.five-ten-sg.com:$target1"
fc7f8f3ea90f look for NS records on the SBL also
carl
parents: 32
diff changeset
31 ssh -t ams "scp /tmp/$bt2 ns1.five-ten-sg.com:$target2"
fc7f8f3ea90f look for NS records on the SBL also
carl
parents: 32
diff changeset
32 ssh -t ams "scp /tmp/$bt3 ns1.five-ten-sg.com:$target3"
14
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
33 rm -rf $VER