Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/argon2/
Date: Wed, 01 Jan 2020 22:00:43
Message-Id: 1577916035.a8985eb11290e7827b5b6fd9c8759642e854c2e4.mgorny@gentoo
1 commit: a8985eb11290e7827b5b6fd9c8759642e854c2e4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 1 20:45:58 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 1 22:00:35 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8985eb1
7
8 app-crypt/argon2: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 app-crypt/argon2/Manifest | 1 -
13 app-crypt/argon2/argon2-20171227-r1.ebuild | 40 ------------------------------
14 2 files changed, 41 deletions(-)
15
16 diff --git a/app-crypt/argon2/Manifest b/app-crypt/argon2/Manifest
17 index 2f970b45cb3..cc1597d7b37 100644
18 --- a/app-crypt/argon2/Manifest
19 +++ b/app-crypt/argon2/Manifest
20 @@ -1,2 +1 @@
21 -DIST argon2-20171227.tar.gz 1503745 BLAKE2B 70171ce1b446974e18e6f7077f436c6b78f29fd3eb075314014219280fd984e51b00137d901175da5fcb8a8472df0cbb16ff0333a2f2f098e52d3e0ea496e2cc SHA512 9c9e1a3905e61ac6913d1e073c104477e419ddd0506adc4487e88e98d19165ed8901fe8bb11246ed0cc71b3523c190da9692d5926642f86be09c3e67510afe4d
22 DIST argon2-20190702.tar.gz 1505307 BLAKE2B fa9c3dde7b39c8d797a3d6b52992ebfe35f5eba1c7d7b3aa02c440edc36a3f5186cacee2e39e27ed7c6356dc1970dac0e8198d6f2065eb63ff77f9dfb2937cf8 SHA512 0a4cb89e8e63399f7df069e2862ccd05308b7652bf4ab74372842f66bcc60776399e0eaf979a7b7e31436b5e6913fe5b0a6949549d8c82ebd06e0629b106e85f
23
24 diff --git a/app-crypt/argon2/argon2-20171227-r1.ebuild b/app-crypt/argon2/argon2-20171227-r1.ebuild
25 deleted file mode 100644
26 index e8a9219e21b..00000000000
27 --- a/app-crypt/argon2/argon2-20171227-r1.ebuild
28 +++ /dev/null
29 @@ -1,40 +0,0 @@
30 -# Copyright 1999-2019 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -inherit toolchain-funcs
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/1"
43 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86"
44 -IUSE="static-libs"
45 -
46 -S="${WORKDIR}/phc-winner-${P}"
47 -
48 -DOCS=( argon2-specs.pdf CHANGELOG.md README.md )
49 -
50 -src_prepare() {
51 - default
52 - if ! use static-libs; then
53 - sed -i -e 's/LIBRARIES = \$(LIB_SH) \$(LIB_ST)/LIBRARIES = \$(LIB_SH)/' Makefile || die "sed failed!"
54 - fi
55 - sed -i -e 's/-O3 //' -e 's/-g //' -e "s/-march=\$(OPTTARGET) /${CFLAGS} /" -e 's/CFLAGS += -march=\$(OPTTARGET)//' Makefile || die "sed failed"
56 -
57 - sed -i -e "s/lib\/@HOST_MULTIARCH@/$(get_libdir)/" -e "s/@UPSTREAM_VER@/${PV}/" lib${PN}.pc || die
58 -
59 - tc-export CC
60 -}
61 -
62 -src_install() {
63 - emake DESTDIR="${ED}" LIBRARY_REL="$(get_libdir)" install
64 - einstalldocs
65 - doman man/${PN}.1
66 -
67 - insinto /usr/$(get_libdir)/pkgconfig
68 - doins lib${PN}.pc
69 -}