Ravenports generated: 07 Jan 2024 05:04
[ravenports.git] / bucket_C7 / argon2
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               argon2
4 VERSION=                20190702
5 KEYWORDS=               security
6 VARIANTS=               standard
7 SDESC[standard]=        Reference C implementation of the Argon2 hash
8 HOMEPAGE=               https://github.com/P-H-C/phc-winner-argon2
9 CONTACT=                Michael_Reim[kraileth@elderlinux.org]
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://github.com/P-H-C/phc-winner-argon2/archive/
13 DISTFILE[1]=            20190702.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 USES=                   gmake
21
22 DISTNAME=               phc-winner-argon2-20190702
23
24 LICENSE=                CC0_10:single APACHE20:single
25 LICENSE_TERMS=          single:{{WRKDIR}}/TERMS
26 LICENSE_FILE=           CC0_10:stock
27                         APACHE20:stock
28 LICENSE_AWK=            TERMS:"^$$"
29 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/src/core.h
30 LICENSE_SCHEME=         dual
31
32 FPC_EQUIVALENT=         security/libargon2
33
34 MAKE_ARGS=              PKGCONFIG_REL=lib
35                         LIBRARY_REL=lib
36
37 INSTALL_REQ_TOOLCHAIN=  yes
38
39 post-install:
40         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/argon2
41         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libargon2.so
42
43 pre-configure:
44         ${REINPLACE_CMD} -e "s|PREFIX = /usr|PREFIX = ${PREFIX}|" \
45                 ${WRKSRC}/Makefile
46
47 [FILE:554:descriptions/desc.single]
48 Argon2 is a password-hashing function created by by Alex Biryukov, Daniel 
49 Dinu, and Dmitry Khovratovich. It was declared the winner of the Password 
50 Hashing Competition (PHC) in 2015. The PHC recommends using it rather than 
51 legacy algorithms. Argon2 is in the public domain.
52
53 There are two versions of Argon2. Argon2d provides the highest resistance 
54 against GPU cracking attacks. Argon2i is designed to resist side-channel 
55 attacks. Argon2id is a hybrid that should generally be used unless special 
56 reasons exist to prefer one of the other versions.
57
58
59 [FILE:94:distinfo]
60 daf972a89577f8772602bf2eb38b6a3dd3d922bf5724d45e7f9589b5e830442c      1505307 20190702.tar.gz
61
62
63 [FILE:103:manifests/plist.single]
64 bin/argon2
65 include/argon2.h
66 lib/
67  libargon2.a
68  libargon2.so
69  libargon2.so.1
70 lib/pkgconfig/libargon2.pc
71
72
73 [FILE:549:patches/patch-Makefile]
74 --- Makefile.orig       2019-05-20 09:18:00 UTC
75 +++ Makefile
76 @@ -76,9 +76,11 @@ ifeq ($(KERNEL_NAME), Linux)
77         LINKED_LIB_EXT := so
78         PC_EXTRA_LIBS ?= -lrt -ldl
79  endif
80 -ifeq ($(KERNEL_NAME), $(filter $(KERNEL_NAME),DragonFly FreeBSD NetBSD OpenBSD))
81 -       LIB_EXT := so
82 +ifeq ($(KERNEL_NAME), $(filter $(KERNEL_NAME),DragonFly FreeBSD NetBSD OpenBSD MidnightBSD))
83 +       LIB_EXT := so.$(ABI_VERSION)
84         LIB_CFLAGS := -shared -fPIC
85 +       SO_LDFLAGS := -Wl,-soname,lib$(LIB_NAME).$(LIB_EXT)
86 +       LINKED_LIB_EXT := so
87         PC_EXTRA_LIBS ?=
88  endif
89  ifeq ($(KERNEL_NAME), Darwin)
90