Mercurial > masqmail
annotate devel/gen-dist @ 354:08932c629849
reworked the route concept; removed the idea of the localnet
Renamed to reflect the actual meaning more clearly:
s/online_routes/query_routes/g
s/local_net_route/permanent_routes/g
Removed local_nets, which are now represented by allowed_recipients
in a permanent route. (See. examples/localnet.route)
There is no more abiguity between `local' and `local net'.
Run admin/config-transition on your config to learn how to update it.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Sun, 04 Sep 2011 11:25:38 +0200 |
parents | 7b70bf4f1f42 |
children |
rev | line source |
---|---|
47 | 1 #!/bin/sh |
2 # | |
3 # generate a tar.gz archive to distribute | |
4 # generate an md5sum and a detached signature of the archive | |
5 # | |
6 # requires: | |
7 # - mercurial (hg) | |
8 # - md5sum | |
9 # - gnupg | |
10 | |
11 if [ $# -ne 1 -o -e "$1" ] ; then | |
60 | 12 echo "usage: gen-dist DEST.tar.gz" 2>&1 |
47 | 13 exit 1 |
14 fi | |
15 | |
50
1761b3bde646
fixed wrong paths in the md5sum file (gen-dist)
meillo@marmaro.de
parents:
47
diff
changeset
|
16 dir="${1%/*}" |
1761b3bde646
fixed wrong paths in the md5sum file (gen-dist)
meillo@marmaro.de
parents:
47
diff
changeset
|
17 file="${1##*/}" |
1761b3bde646
fixed wrong paths in the md5sum file (gen-dist)
meillo@marmaro.de
parents:
47
diff
changeset
|
18 |
104
b212da6385a8
remove all mercurial files from distribution
meillo@marmaro.de
parents:
60
diff
changeset
|
19 hg archive -t tgz -X .hg\* "$1" |
50
1761b3bde646
fixed wrong paths in the md5sum file (gen-dist)
meillo@marmaro.de
parents:
47
diff
changeset
|
20 |
1761b3bde646
fixed wrong paths in the md5sum file (gen-dist)
meillo@marmaro.de
parents:
47
diff
changeset
|
21 cd "$dir" |
1761b3bde646
fixed wrong paths in the md5sum file (gen-dist)
meillo@marmaro.de
parents:
47
diff
changeset
|
22 md5sum "$file" >"$file.md5sum" |
1761b3bde646
fixed wrong paths in the md5sum file (gen-dist)
meillo@marmaro.de
parents:
47
diff
changeset
|
23 gpg -ab "$file" |