public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/argon2/
Date: Sat, 16 Mar 2019 04:55:51 +0000 (UTC)	[thread overview]
Message-ID: <1552712131.60c0897b68f5e4a80e733a7ef0716b4bba421762.kensington@gentoo> (raw)

commit:     60c0897b68f5e4a80e733a7ef0716b4bba421762
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 16 04:51:26 2019 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 04:55:31 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60c0897b

app-crypt/argon2: revision bump

* Port to EAPI 7
* Install documentation
* Respect CC
* Install pkg-config file

Closes: https://bugs.gentoo.org/674918
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org>

 app-crypt/argon2/argon2-20171227-r1.ebuild | 40 ++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/app-crypt/argon2/argon2-20171227-r1.ebuild b/app-crypt/argon2/argon2-20171227-r1.ebuild
new file mode 100644
index 00000000000..c7176327af1
--- /dev/null
+++ b/app-crypt/argon2/argon2-20171227-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Password hashing software that won the Password Hashing Competition (PHC)"
+HOMEPAGE="https://github.com/P-H-C/phc-winner-argon2"
+SRC_URI="https://github.com/P-H-C/phc-winner-argon2/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( Apache-2.0 CC0-1.0 )"
+SLOT="0/1"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd"
+IUSE="static-libs"
+
+S="${WORKDIR}/phc-winner-${P}"
+
+DOCS=( argon2-specs.pdf CHANGELOG.md README.md )
+
+src_prepare() {
+	default
+	if ! use static-libs; then
+		sed -i -e 's/LIBRARIES = \$(LIB_SH) \$(LIB_ST)/LIBRARIES = \$(LIB_SH)/' Makefile || die "sed failed!"
+	fi
+	sed -i -e 's/-O3 //' -e 's/-g //' -e "s/-march=\$(OPTTARGET) /${CFLAGS} /" -e 's/CFLAGS += -march=\$(OPTTARGET)//' Makefile || die "sed failed"
+
+	sed -i -e "s/lib\/@HOST_MULTIARCH@/$(get_libdir)/" -e "s/@UPSTREAM_VER@/${PV}/" lib${PN}.pc || die
+
+	tc-export CC
+}
+
+src_install() {
+	emake DESTDIR="${ED}" LIBRARY_REL="$(get_libdir)" install
+	einstalldocs
+	doman man/${PN}.1
+
+	insinto /usr/$(get_libdir)/pkgconfig
+	doins lib${PN}.pc
+}


             reply	other threads:[~2019-03-16  4:55 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-16  4:55 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-10-29 14:45 [gentoo-commits] repo/gentoo:master commit in: app-crypt/argon2/ Sam James
2022-05-19  2:03 Sam James
2022-05-05 23:48 WANG Xuerui
2022-01-30 11:33 James Le Cuirot
2021-12-07 19:33 Sam James
2021-01-11 19:01 Fabian Groffen
2020-12-08 21:55 Sam James
2020-04-08 20:40 Göktürk Yüksek
2020-01-01 22:00 Michał Górny
2020-01-01 19:43 Agostino Sarubbo
2019-12-31 17:45 Michał Górny
2019-12-31  8:18 Agostino Sarubbo
2019-12-31  8:15 Agostino Sarubbo
2019-12-30 15:30 Agostino Sarubbo
2019-12-30 12:29 Agostino Sarubbo
2019-12-29  9:00 Mikle Kolyada
2019-12-28 19:44 Michał Górny
2019-12-28 12:31 Sergei Trofimovich
2019-12-28 10:17 Sergei Trofimovich
2019-12-27 23:15 Aaron Bauman
2019-12-27 16:43 Agostino Sarubbo
2019-10-26 20:35 Sergei Trofimovich
2019-10-23 15:54 Michał Górny
2019-10-23  8:14 Michał Górny
2019-10-23  8:14 Michał Górny
2019-10-23  8:14 Michał Górny
2019-07-31  9:04 Agostino Sarubbo
2019-07-18 10:04 Agostino Sarubbo
2019-07-18 10:03 Agostino Sarubbo
2019-05-12 22:03 Sergei Trofimovich
2019-05-10  4:41 Markus Meier
2019-05-07  6:26 Sergei Trofimovich
2019-04-17 11:49 Mikle Kolyada
2019-04-15 23:55 Aaron Bauman
2019-01-08 21:32 Jeroen Roovers
2018-12-30 18:16 Mikle Kolyada
2018-12-06 15:51 Mikle Kolyada
2018-10-24  4:10 Matt Turner
2018-10-17 15:57 Tobias Klausmann
2018-09-22 11:31 Sergei Trofimovich
2018-09-22 11:12 Sergei Trofimovich
2018-09-21  7:02 Sergei Trofimovich
2018-09-20 18:39 Michał Górny
2018-08-30  8:45 Mikle Kolyada
2018-08-29  1:07 Thomas Deutschmann
2018-03-19 18:06 Guilherme Amadio
2018-01-02 17:21 Thomas Deutschmann
2018-01-02 15:50 Craig Andrews
2017-12-21  5:45 Markus Meier
2017-08-21  2:20 Michał Górny
2017-02-02 15:13 Thomas Deutschmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1552712131.60c0897b68f5e4a80e733a7ef0716b4bba421762.kensington@gentoo \
    --to=kensington@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox