Mercurial > dnsbl
annotate package.bash @ 42:afcf403709ef
updates for 3.2, try to drop root privileges
author | carl |
---|---|
date | Mon, 05 Jul 2004 13:09:44 -0700 |
parents | d95af8129dfa |
children | 4f9e3dc55d38 |
rev | line source |
---|---|
41
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
1 #!/bin/bash |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
2 |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
3 VER=dnsbl-3.2 |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
4 mkdir $VER |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
5 target1=/home/httpd/html/510sg/util/dnsbl.tar.gz |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
6 target2=/home/httpd/html/510sg/dnsbl.conf |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
7 target3=/home/httpd/html/510sg/dnsbl.html |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
8 |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
9 cp sample1.conf $VER/dnsbl.conf |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
10 cp sample.conf $VER |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
11 cp html-tags.conf $VER |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
12 cp tld.conf $VER |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
13 cp *cpp $VER |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
14 cp *rc $VER |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
15 cp install.bash $VER |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
16 cp *spec $VER |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
17 cp LICENSE $VER |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
18 cp RELEASE_NOTES $VER |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
19 tar cfvz $target1 $VER |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
20 |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
21 cp sample.conf $target2 |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
22 cp dnsbl.html $target3 |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
23 |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
24 scp $target1 ns1:$target1 |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
25 scp $target2 ns1:$target2 |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
26 scp $target3 ns1:$target3 |
d95af8129dfa
updates for 3.2, changing file layout, add queueid to messages
carl
parents:
diff
changeset
|
27 rm -rf $VER |