diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-08-29 08:49:29 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-09-18 13:53:21 +0200 |
commit | d03409ccde5a995f19e40a12d61b22be9d4c3af7 (patch) | |
tree | 71abfea607817f6804219fd8cba734aa28e9df3f /scripts | |
parent | 62eef5bbdb025d9557a1609760b42d7fbac16ad2 (diff) | |
download | pacman-d03409ccde5a995f19e40a12d61b22be9d4c3af7.tar.gz pacman-d03409ccde5a995f19e40a12d61b22be9d4c3af7.tar.xz |
Revert "makepkg: add whirlpool to the list of hashing algorithms"
This reverts commit 9cdfd18739cc4b0e2b2efeb9a92a3ea612c8505f.
We've never documented whirlpoolsums support in the manpage and no one
really seems to have realized we support it, let alone use it -- except
for a few parabola packages, being the contributor's motivation for
adding support.
The problem is that for two years the code has been broken. In commit
577701250d645d1fc1a505cde34aedbeb3208ea5 we moved to coreutils to
provide checksum commands, rather than openssl, but there is no
whirlpoolsums binary.
Properly fixing this would require re-adding a dependency on openssl,
independent of the libalpm crypto backend -- which defeats the purpose
of moving to coreutils in the general case. nettle-hash does not provide
a whirlpool algorithm any more than it does base64 (the original reason
for moving to coreutils).
Therefore, we should just drop support for this again.
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 89a31148..3c6aa39e 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -54,7 +54,7 @@ splitpkg_overrides=('pkgdesc' 'arch' 'url' 'license' 'groups' 'depends' 'options' 'install' 'changelog') readonly -a build_options splitpkg_overrides -known_hash_algos=('md5' 'sha1' 'sha224' 'sha256' 'sha384' 'sha512' 'whirlpool') +known_hash_algos=('md5' 'sha1' 'sha224' 'sha256' 'sha384' 'sha512') # Options ASDEPS=0 |