comparison src/package @ 28:33e1e3910506

add configurable list of tlds
author carl
date Thu, 27 May 2004 10:08:51 -0700
parents 2e23b7184d2b
children 8f43f8fa1ad7
comparison
equal deleted inserted replaced
27:43a4f6b3e668 28:33e1e3910506
1 #!/bin/bash 1 #!/bin/bash
2 2
3 VER=dnsbl-2.2 3 VER=dnsbl-2.4
4 mkdir $VER 4 mkdir $VER
5 target1=/home/httpd/html/510sg/util/dnsbl.tar.gz 5 target1=/home/httpd/html/510sg/util/dnsbl.tar.gz
6 target2=/home/httpd/html/510sg/dnsbl.conf 6 target2=/home/httpd/html/510sg/dnsbl.conf
7 target3=/home/httpd/html/510sg/dnsbl.html 7 target3=/home/httpd/html/510sg/dnsbl.html
8 8
9 cp sample.conf $VER/dnsbl.conf 9 cp sample.conf $VER/dnsbl.conf
10 cp html-tags.conf $VER/html-tags.conf 10 cp html-tags.conf $VER
11 cp tld.conf $VER
11 cp *cpp $VER 12 cp *cpp $VER
12 cp *rc $VER 13 cp *rc $VER
13 cp install.bash $VER 14 cp install.bash $VER
14 cp LICENSE $VER 15 cp LICENSE $VER
15 tar cfvz $target1 $VER 16 tar cfvz $target1 $VER
18 cp dnsbl.html $target3 19 cp dnsbl.html $target3
19 20
20 echo scp $target1 ns1:$target1 21 echo scp $target1 ns1:$target1
21 echo scp $target2 ns1:$target2 22 echo scp $target2 ns1:$target2
22 echo scp $target3 ns1:$target3 23 echo scp $target3 ns1:$target3
24 scp $target1 ams:/tmp/`basename $target1`
25 scp $target2 ams:/tmp/`basename $target2`
26 scp $target3 ams:/tmp/`basename $target3`
23 rm -rf $VER 27 rm -rf $VER