annotate package.bash @ 49:4f9e3dc55d38 stable-3-3

properly drop root privs
author carl
date Fri, 09 Jul 2004 14:09:02 -0700
parents d95af8129dfa
children a84752107aca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
49
4f9e3dc55d38 properly drop root privs
carl
parents: 41
diff changeset
3 VER=dnsbl-3.3
41
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