aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-07-08 10:06:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-07-08 10:11:10 +0000
commit7155035b6f2096543de30afe8ad25a4f017864b3 (patch)
tree85b279daf22fc5d3b2a7fc35d87682dab0e1af01 /main
parent020dff29376c1139bfad79d219a30b8fe8dbd16f (diff)
downloadaports-7155035b6f2096543de30afe8ad25a4f017864b3.tar.bz2
aports-7155035b6f2096543de30afe8ad25a4f017864b3.tar.xz
main/argon2: upgrade to 20190702
Diffstat (limited to 'main')
-rw-r--r--main/argon2/APKBUILD15
-rw-r--r--main/argon2/libargon2.pc12
2 files changed, 5 insertions, 22 deletions
diff --git a/main/argon2/APKBUILD b/main/argon2/APKBUILD
index 073d977e27..7ce733ad9e 100644
--- a/main/argon2/APKBUILD
+++ b/main/argon2/APKBUILD
@@ -3,15 +3,14 @@
# Maintainer: Corey Oliver <coreyjonoliver@gmail.com>
pkgname=argon2
_pkgname=phc-winner-argon2
-pkgver=20171227
-pkgrel=2
+pkgver=20190702
+pkgrel=0
pkgdesc="The password hash Argon2, winner of PHC"
url="https://github.com/P-H-C/phc-winner-argon2"
arch="all"
license="Apache-2.0 CC0-1.0"
-subpackages="$pkgname-dev $pkgname-dev $pkgname-libs"
+subpackages="$pkgname-static $pkgname-dev $pkgname-libs"
source="$pkgname-$pkgver.tar.gz::https://github.com/P-H-C/$_pkgname/archive/$pkgver.tar.gz
- libargon2.pc
"
builddir="$srcdir/$_pkgname-$pkgver"
@@ -27,11 +26,7 @@ check() {
package() {
cd "$builddir"
- make OPTTARGET=none DESTDIR="$pkgdir" install
-
- install -Dm0644 libargon2.pc "$pkgdir"/usr/lib/pkgconfig/libargon2.pc
- sed -i -e "s/@UPSTREAM_VER@/${pkgver}/" "$pkgdir"/usr/lib/pkgconfig/libargon2.pc
+ make OPTTARGET=none LIBRARY_REL=lib DESTDIR="$pkgdir" install
}
-sha512sums="9c9e1a3905e61ac6913d1e073c104477e419ddd0506adc4487e88e98d19165ed8901fe8bb11246ed0cc71b3523c190da9692d5926642f86be09c3e67510afe4d argon2-20171227.tar.gz
-299d72d3cd6a9d8167e69b2cefc8f854e1c3abd0897e44acdc78bb5c6fdb62eee6b75e2deeb51f9c46bda543b61268fe7b89adc274c624609d4cec39294b81d8 libargon2.pc"
+sha512sums="0a4cb89e8e63399f7df069e2862ccd05308b7652bf4ab74372842f66bcc60776399e0eaf979a7b7e31436b5e6913fe5b0a6949549d8c82ebd06e0629b106e85f argon2-20190702.tar.gz"
diff --git a/main/argon2/libargon2.pc b/main/argon2/libargon2.pc
deleted file mode 100644
index 56ce2dc0fa..0000000000
--- a/main/argon2/libargon2.pc
+++ /dev/null
@@ -1,12 +0,0 @@
-prefix=/usr
-exec_prefix=${prefix}
-libdir=${prefix}/lib
-includedir=${prefix}/include
-
-Name: libargon2
-Description: Development libraries for libargon2
-Version: @UPSTREAM_VER@
-Libs: -L${libdir} -largon2 -lrt -ldl
-Cflags:
-URL: https://github.com/P-H-C/phc-winner-argon2
-