annotate src/package @ 27:43a4f6b3e668 stable-2-3

add configurable host name limit and bad html tag limits.
author carl
date Sat, 22 May 2004 22:30:45 -0700
parents 2e23b7184d2b
children 33e1e3910506
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
21
19f11ae628df change version number
carl
parents: 14
diff changeset
3 VER=dnsbl-2.2
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
2e23b7184d2b start coding for bad html tag detection
carl
parents: 21
diff changeset
10 cp html-tags.conf $VER/html-tags.conf
2e23b7184d2b start coding for bad html tag detection
carl
parents: 21
diff changeset
11 cp *cpp $VER
2e23b7184d2b start coding for bad html tag detection
carl
parents: 21
diff changeset
12 cp *rc $VER
2e23b7184d2b start coding for bad html tag detection
carl
parents: 21
diff changeset
13 cp install.bash $VER
2e23b7184d2b start coding for bad html tag detection
carl
parents: 21
diff changeset
14 cp LICENSE $VER
14
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
15 tar cfvz $target1 $VER
0
96a9758165cd Initial revision
carl
parents:
diff changeset
16
14
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
17 cp sample.conf $target2
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
18 cp dnsbl.html $target3
0
96a9758165cd Initial revision
carl
parents:
diff changeset
19
24
2e23b7184d2b start coding for bad html tag detection
carl
parents: 21
diff changeset
20 echo scp $target1 ns1:$target1
2e23b7184d2b start coding for bad html tag detection
carl
parents: 21
diff changeset
21 echo scp $target2 ns1:$target2
2e23b7184d2b start coding for bad html tag detection
carl
parents: 21
diff changeset
22 echo scp $target3 ns1:$target3
14
443aa0e8c6fa changes suggested by Nigel Horne
carl
parents: 13
diff changeset
23 rm -rf $VER