added argon2

This commit is contained in:
Malte Kiefer
2021-05-23 22:26:01 +02:00
parent 2e16bdb67f
commit 8cf330caea
3 changed files with 30 additions and 0 deletions

1
main/argon2/.checksums Normal file
View File

@@ -0,0 +1 @@
0f234cc21ac6cebfe373da6afa70bb1d argon2-20190702.tar.gz

12
main/argon2/.pkgfiles Normal file
View File

@@ -0,0 +1,12 @@
argon2-20190702-1
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/argon2
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/argon2.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libargon2.a
lrwxrwxrwx root/root usr/lib/libargon2.so -> libargon2.so.1
-rw-r--r-- root/root usr/lib/libargon2.so.1
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libargon2.pc

17
main/argon2/spkgbuild Normal file
View File

@@ -0,0 +1,17 @@
# description : A password-hashing function (reference C implementation)
# homepage : https://github.com/P-H-C/phc-winner-argon2
# depends : glibc
name=argon2
version=20190702
release=1
noextract=""
backup=""
source="https://github.com/P-H-C/phc-winner-argon2/archive/${version}/${name}-${version}.tar.gz"
build() {
cd "$SRC/phc-winner-$name-$version"
make OPTTARGET='none' LIBRARY_REL='lib'
make OPTTARGET='none' LIBRARY_REL='lib' DESTDIR="$PKG" install
}