summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-05-27 17:25:02 +0000
committerng0 <ng0@n0.is>2019-05-27 17:25:02 +0000
commite661b4f8796254f4a4178ccc8c57f7ec90a16615 (patch)
tree26082dd99fbd2882c21c37bf30a1a5ea392cbe7d
parent4a2a945f8bd5876878f19c5cdeb2f0fc75235e08 (diff)
downloadgnurl-e661b4f8796254f4a4178ccc8c57f7ec90a16615.tar.gz
gnurl-e661b4f8796254f4a4178ccc8c57f7ec90a16615.tar.bz2
gnurl-e661b4f8796254f4a4178ccc8c57f7ec90a16615.zip
maketgz keeps eating RAM. eventually this should be fixed, but not this time.
-rwxr-xr-xmaketgz25
1 files changed, 11 insertions, 14 deletions
diff --git a/maketgz b/maketgz
index e252e6cd4..b6086949f 100755
--- a/maketgz
+++ b/maketgz
@@ -153,7 +153,7 @@ tarball="gnurl-$version.tar"
tardir="gnurl-$version"
# TODO: Here's something we need to fix for nbsd make to work.
# MAKE=gmake is required.
-gmake dist VERSION=$version
+gmake -sj1 dist VERSION=$version
# Now make an Z archive from the tar.gz original
@@ -217,16 +217,13 @@ echo "maketgz report:"
echo ""
ls -l $targz $compressfile $paxz
-FILES=$targz $compressfile $paxz
-
-echo "Run this:"
-echo "gpg2 -b -a $targz && gpg2 -b -a $compressfile && gpg2 -b -a $paxz"
-if [ -x sha1 ]; then
- sha1 $FILES
-fi
-if [ -x sum ]; then
- sum -a SHA512 $FILES
-fi
-if [ -x rmd160 ]; then
- rmd160 $FILES
-fi
+echo "Signing the files..."
+gpg2 -b -a $targz && gpg2 -b -a $compressfile && gpg2 -b -a $paxz
+# The lines below assume that you are me,
+# in other words you do this on a NetBSD system.
+rm -f gnurl-$version.sum.txt
+sha1 $targz $compressfile $paxz >> gnurl-$version.sum.txt
+sum -a SHA512 $targz $compressfile $paxz >> gnurl-$version.sum.txt
+rmd160 $targz $compressfile $paxz >> gnurl-$version.sum.txt
+echo "Signing the sum file..."
+gpg2 -b -a gnurl-$version.sum.txt