Package Details: argon2-git 20171227.r0.g670229c-1

Git Clone URL: https://aur.archlinux.org/argon2-git.git (read-only, click to copy)
Package Base: argon2-git
Description: The password hash Argon2, winner of PHC
Upstream URL: https://github.com/P-H-C/phc-winner-argon2
Licenses: CC-0
Conflicts: argon2
Provides: argon2
Submitter: quininer
Maintainer: sangy
Last Packager: sangy
Votes: 1
Popularity: 0.000000
First Submitted: 2016-01-08 08:19 (UTC)
Last Updated: 2018-07-28 00:35 (UTC)

Required by (421)

Sources (1)

Latest Comments

EndlessEden commented on 2022-07-08 18:21 (UTC)

please add "libargon2.so=$pkgver" to the provides list.

quininer commented on 2017-05-14 01:06 (UTC)

@moustafine thanks!

moustafine commented on 2017-05-13 19:55 (UTC)

diff --git a/PKGBUILD b/PKGBUILD index c2fb216..e72de27 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -18,6 +18,12 @@ pkgver() { git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } +prepare() { + cd $_gitname + sed -i "/^#/d;s/\/@HOST_MULTIARCH@//g;s/@UPSTREAM_VER@/$pkgver/g" libargon2.pc + sed -i '1d' libargon2.pc +} + build() { cd $_gitname make @@ -31,4 +37,5 @@ check() { package() { cd $_gitname make DESTDIR="$pkgdir" install + install -Dm644 libargon2.pc $pkgdir/usr/lib/pkgconfig/libargon2.pc }

ras commented on 2017-03-20 15:13 (UTC)

For me the build is failing. If I do a 'make' in the package source directory before retrying, it succeeds. See the failing log: ==> Building and installing package ==> Making package: argon2-git 20161029.r31.g6f5427f-1 (Mon 20 Mar 14:53:58 GMT 2017) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Cloning phc-winner-argon2 git repo... Cloning into bare repository '/tmp/yaourt-tmp-ras/aur-argon2-git/phc-winner-argon2'... remote: Counting objects: 2578, done. remote: Compressing objects: 100% (5/5), done. remote: Total 2578 (delta 0), reused 0 (delta 0), pack-reused 2573 Receiving objects: 100% (2578/2578), 4.74 MiB | 1.82 MiB/s, done. Resolving deltas: 100% (1723/1723), done. ==> Validating source files with sha256sums... phc-winner-argon2 ... Skipped ==> Extracting sources... -> Creating working copy of phc-winner-argon2 git repo... Cloning into 'phc-winner-argon2'... done. ==> Starting pkgver()... ==> Starting build()... Building with optimizations for native rm -f argon2 bench genkat cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -std=c89 -O3 -Wall -g -Iinclude -Isrc -pthread -march=native -Wl,-O1,--sort-common,--as-needed,-z,relro src/argon2.c src/core.c src/blake2/blake2b.c src/thread.c src/encoding.c src/opt.c src/run.c -o argon2 rm -f libargon2.so.0 libargon2.a kat-argon2* cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -std=c89 -O3 -Wall -g -Iinclude -Isrc -pthread -march=native -shared -fPIC -fvisibility=hidden -DA2_VISCTL=1 -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,-soname,libargon2.so.0 src/argon2.c src/core.c src/blake2/blake2b.c src/thread.c src/encoding.c src/opt.c -o libargon2.so.0 cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -std=c89 -O3 -Wall -g -Iinclude -Isrc -pthread -march=native -D_FORTIFY_SOURCE=2 -c -o src/argon2.o src/argon2.c rm -f testcase rm -rf *.dSYM cd src/ && rm -f *.o cd src/blake2/ && rm -f *.o cd kats/ && rm -f kat-* diff* run_* make_* cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -std=c89 -O3 -Wall -g -Iinclude -Isrc -pthread -march=native -D_FORTIFY_SOURCE=2 -c -o src/core.o src/core.c cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -std=c89 -O3 -Wall -g -Iinclude -Isrc -pthread -march=native -D_FORTIFY_SOURCE=2 -c -o src/blake2/blake2b.o src/blake2/blake2b.c cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -std=c89 -O3 -Wall -g -Iinclude -Isrc -pthread -march=native -D_FORTIFY_SOURCE=2 -c -o src/thread.o src/thread.c cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -std=c89 -O3 -Wall -g -Iinclude -Isrc -pthread -march=native -D_FORTIFY_SOURCE=2 -c -o src/encoding.o src/encoding.c cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -std=c89 -O3 -Wall -g -Iinclude -Isrc -pthread -march=native -D_FORTIFY_SOURCE=2 -c -o src/opt.o src/opt.c ar rcs libargon2.a src/argon2.o src/core.o src/blake2/blake2b.o src/thread.o src/encoding.o src/opt.o ar: src/argon2.o: No such file or directory make: *** [Makefile:142: libargon2.a] Error 1 make: *** Waiting for unfinished jobs.... ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build argon2-git.