summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-10-03 01:38:15 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-10-03 01:38:15 -0400
commit212bea978d04dcd0ccb48bba3a630afad6d06c50 (patch)
tree2c3e1fdefdbc10058ae516c7d2a483ebd3467d61 /SConstruct
parent1ec4167b11d22dce16199a63cadaf9b231b8725b (diff)
downloadgpsd-212bea978d04dcd0ccb48bba3a630afad6d06c50.tar.gz
Use GPG signatures for tarball integrity checks, not just shasums.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 3 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index cfe08f57..b9daae2d 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1498,9 +1498,9 @@ if os.path.exists("gpsd.c") and os.path.exists(".gitignore"):
# The chmod copes with the fact that scp will give a
# replacement the files of the *original*...
upload_release = Utility('upload-release', 'gpsd-${VERSION}.tar.gz', [
- 'shasum gpsd-${VERSION}.tar.gz >gpsd-${VERSION}.sum',
- 'chmod ug=rw,o=r gpsd-${VERSION}.tar.gz gpsd-${VERSION}.sum'
- 'scp $SOURCE gpsd-${VERSION}.sum" ' + scpupload,
+ 'gpg -b gpsd-${VERSION}.tar.gz;',
+ 'chmod ug=rw,o=r gpsd-${VERSION}.tar.gz gpsd-${VERSION}.tar.gz.sig;',
+ 'scp $SOURCE gpsd-${VERSION}.tar.gz.sig ' + scpupload + ';',
])