summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/package.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2016-10-11 15:04:25 +0200
committerAllan McRae <allan@archlinux.org>2016-10-22 12:50:55 +0200
commit577701250d645d1fc1a505cde34aedbeb3208ea5 (patch)
tree779183b41b3a84fd012a4dbb38337aed00ad0025 /lib/libalpm/package.c
parent603f087cd73aff0d39bf0ebfb23aaae5626cb814 (diff)
downloadpacman-577701250d645d1fc1a505cde34aedbeb3208ea5.tar.gz
pacman-577701250d645d1fc1a505cde34aedbeb3208ea5.tar.xz
Use coreutils binaries for checking/generating checksums
If pacman is build against a crypto library other than openssl, it makes no sense to require makepkg to use it. The only currently considered alternative to openssl is nettle, which has no binary for base64 encode/decode. This means that we could replace the hashing cacluations with nettle-hash, but would require base64 from coreutils. Given makepkg already relies heavily on coreutils, we might as well use all the coreutils hashing binaries too. This patch also improves the checking of required binaries for hashing operations. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.c')
0 files changed, 0 insertions, 0 deletions