mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-23 14:09:39 +08:00
ITS#8839 - Only generate SHA3 hash now that we also have GPG, drop MD5/SHA1
This commit is contained in:
parent
8d9a99b29f
commit
32761fa3a1
@ -43,9 +43,9 @@ shift
|
||||
#SHA="sha1"
|
||||
#MD="md5"
|
||||
#OpenSSL
|
||||
SHA="openssl sha1"
|
||||
#SHA="openssl sha1"
|
||||
SHA3="openssl sha3-512"
|
||||
MD="openssl md5"
|
||||
#MD="openssl md5"
|
||||
|
||||
if test -e $RELNAME ; then
|
||||
echo "error: $RELNAME exists"
|
||||
@ -86,8 +86,8 @@ echo "Rolling up $OL_STRING ..."
|
||||
|
||||
tar cf $RELNAME.tar $RELNAME
|
||||
gzip -9 -c $RELNAME.tar > $RELNAME.tgz
|
||||
${MD} $RELNAME.tgz > $RELNAME.md5
|
||||
${SHA} $RELNAME.tgz > $RELNAME.sha1
|
||||
#${MD} $RELNAME.tgz > $RELNAME.md5
|
||||
#${SHA} $RELNAME.tgz > $RELNAME.sha1
|
||||
${SHA3} $RELNAME.tgz > $RELNAME.sha3-512
|
||||
rm -f $RELNAME.tar
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user