Gentoo Archives: gentoo-commits

From: Craig Andrews <candrews@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/argon2/
Date: Tue, 02 Jan 2018 15:50:56
Message-Id: 1514908239.1ade9cbd223a4d7f6237e5fe3d22c37a08edbab3.candrews@gentoo
1 commit: 1ade9cbd223a4d7f6237e5fe3d22c37a08edbab3
2 Author: Simon Levermann <simon <AT> slevermann <DOT> de>
3 AuthorDate: Tue Jan 2 14:20:02 2018 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 2 15:50:39 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ade9cbd
7
8 app-crypt/argon2: Version bump to 20171227
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11 Closes: https://bugs.gentoo.org/641390
12
13 app-crypt/argon2/Manifest | 1 +
14 app-crypt/argon2/argon2-20171227.ebuild | 27 +++++++++++++++++++++++++++
15 2 files changed, 28 insertions(+)
16
17 diff --git a/app-crypt/argon2/Manifest b/app-crypt/argon2/Manifest
18 index 4ba3d5eb2e2..6bc6809f343 100644
19 --- a/app-crypt/argon2/Manifest
20 +++ b/app-crypt/argon2/Manifest
21 @@ -1,2 +1,3 @@
22 DIST argon2-20160821.tar.gz 1170019 BLAKE2B c69e918376ec064702fc59dd92f1b240c66686932db7fcbf0b475307cd96e2354aaa06dfa5493744b71749b90d5935265990bea93ab6734a51085fbe74f1a48d SHA512 e5b7484a2f3212d78481e7994457d69e5f42d6132b31f86d8de106e8e3fa8ffa3b7244fd74b63d15846be3a0fd407e6c57c6f766cdfa0ee1e3d7706124853b5f
23 DIST argon2-20161029.tar.gz 1506864 BLAKE2B fbb0588439e811666af027710d1e5ef182b4d1c9012ca2c60d22ce103ceca14bb392dd8916b37c1c07799dc97f9401aa66d3bd08b250dd48314aa57a8599dff5 SHA512 e1f947a97e8b5f292dd32a6f1ea0ef3f2e411629218653821886ec4e1d5f8289d5b8f4b8bf0a37e69c344a83b975c695947d6b49fd2001a0e4273bebd4792892
24 +DIST argon2-20171227.tar.gz 1503745 BLAKE2B 70171ce1b446974e18e6f7077f436c6b78f29fd3eb075314014219280fd984e51b00137d901175da5fcb8a8472df0cbb16ff0333a2f2f098e52d3e0ea496e2cc SHA512 9c9e1a3905e61ac6913d1e073c104477e419ddd0506adc4487e88e98d19165ed8901fe8bb11246ed0cc71b3523c190da9692d5926642f86be09c3e67510afe4d
25
26 diff --git a/app-crypt/argon2/argon2-20171227.ebuild b/app-crypt/argon2/argon2-20171227.ebuild
27 new file mode 100644
28 index 00000000000..93273567ab3
29 --- /dev/null
30 +++ b/app-crypt/argon2/argon2-20171227.ebuild
31 @@ -0,0 +1,27 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +DESCRIPTION="Password hashing software that won the Password Hashing Competition (PHC)"
38 +HOMEPAGE="https://github.com/P-H-C/phc-winner-argon2"
39 +SRC_URI="https://github.com/P-H-C/phc-winner-argon2/archive/${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="|| ( Apache-2.0 CC0-1.0 )"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~arm64 ~x86"
44 +IUSE="static-libs"
45 +
46 +S="${WORKDIR}/phc-winner-${P}"
47 +
48 +src_prepare() {
49 + default
50 + if ! use static-libs; then
51 + sed -i -e 's/LIBRARIES = \$(LIB_SH) \$(LIB_ST)/LIBRARIES = \$(LIB_SH)/' Makefile || die "sed failed!"
52 + fi
53 + sed -i -e 's/-O3 //' -e 's/-g //' -e "s/-march=\$(OPTTARGET) /${CFLAGS} /" -e 's/CFLAGS += -march=\$(OPTTARGET)//' Makefile || die "sed failed"
54 +}
55 +
56 +src_install() {
57 + emake DESTDIR="${D}" LIBRARY_REL="$(get_libdir)" install || die
58 +}