public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/ykpers/
Date: Wed, 15 Jun 2022 09:53:25 +0000 (UTC)	[thread overview]
Message-ID: <1655286787.4b8d933eca47b522ab4d30f9474a153143b9d615.marecki@gentoo> (raw)

commit:     4b8d933eca47b522ab4d30f9474a153143b9d615
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 15 09:28:46 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Jun 15 09:53:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b8d933e

sys-auth/ykpers: general overhaul

Update to EAPI 8, drop IUSE=static-libs, call udev_reload, cosmetics.

Closes: https://bugs.gentoo.org/851906
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 sys-auth/ykpers/ykpers-1.20.0-r1.ebuild | 61 +++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)

diff --git a/sys-auth/ykpers/ykpers-1.20.0-r1.ebuild b/sys-auth/ykpers/ykpers-1.20.0-r1.ebuild
new file mode 100644
index 000000000000..839ecf070e7e
--- /dev/null
+++ b/sys-auth/ykpers/ykpers-1.20.0-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools udev
+
+MY_PN="yubikey-personalization"
+
+DESCRIPTION="Library and tool for personalization of Yubico's YubiKey"
+HOMEPAGE="https://github.com/Yubico/yubikey-personalization"
+SRC_URI="https://github.com/Yubico/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="dev-libs/json-c:=
+	>=sys-auth/libyubikey-1.6
+	virtual/libusb:1"
+DEPEND="${RDEPEND}"
+BDEPEND="app-text/asciidoc
+	virtual/pkgconfig"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.20.0-fix-gcc10-fno-common.patch
+	"${FILESDIR}"/${PN}-1.20.0-json-boolean.patch
+)
+
+DOCS=( doc/. AUTHORS NEWS README )
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		--libdir=/usr/$(get_libdir)
+		--localstatedir=/var
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+
+	udev_dorules 69-yubikey.rules
+
+	find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+	udev_reload
+}
+
+pkg_postrm() {
+	udev_reload
+}


             reply	other threads:[~2022-06-15  9:53 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-15  9:53 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-04  1:15 [gentoo-commits] repo/gentoo:master commit in: sys-auth/ykpers/ Sam James
2022-09-01 23:22 Marek Szuba
2022-09-01 19:14 Sam James
2022-09-01 19:14 Sam James
2021-10-10 20:44 Marek Szuba
2021-09-13 16:26 Marek Szuba
2021-09-13 16:26 Marek Szuba
2021-08-10  0:22 Göktürk Yüksek
2021-01-04 20:14 Andreas K. Hüttel
2020-10-04 19:46 Mikle Kolyada
2020-09-07  7:35 Sergei Trofimovich
2020-05-18 15:13 Agostino Sarubbo
2020-05-18 15:08 Agostino Sarubbo
2020-05-09  8:47 Mart Raudsepp
2019-12-02 21:07 Göktürk Yüksek
2019-12-02 21:07 Göktürk Yüksek
2019-08-06  9:42 Agostino Sarubbo
2019-08-06  8:00 Agostino Sarubbo
2019-06-05 15:35 Lars Wendler
2019-05-16  9:37 Lars Wendler
2019-05-16  8:32 Lars Wendler
2019-05-16  8:13 Manuel Rüger
2019-02-27 13:11 Michael Palimaka
2019-02-22 10:17 Mikle Kolyada
2019-02-20 21:50 Thomas Deutschmann
2018-10-02 19:36 Richard Farina
2018-03-04 10:19 Jason Zaman
2018-03-04  6:51 Thomas Deutschmann
2018-03-03  5:20 Göktürk Yüksek
2017-10-04  7:13 Göktürk Yüksek
2017-10-03  7:09 Jonas Stein
2017-05-28 22:17 Manuel Rüger
2017-05-05  4:27 Patrick McLean
2017-04-28 16:15 Alexys Jacob
2016-08-07  9:30 Pacho Ramos
2016-01-08  0:00 Manuel Rüger
2016-01-08  0:00 Manuel Rüger
2015-10-05 22:58 Manuel Rüger

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=1655286787.4b8d933eca47b522ab4d30f9474a153143b9d615.marecki@gentoo \
    --to=marecki@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