public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/pinentry/
Date: Thu,  4 Jul 2024 05:07:46 +0000 (UTC)	[thread overview]
Message-ID: <1720069639.5f8fad56cb06fc038c5d3a75c2193b1ec0ffdf5a.sam@gentoo> (raw)

commit:     5f8fad56cb06fc038c5d3a75c2193b1ec0ffdf5a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  4 05:06:32 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul  4 05:07:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f8fad56

app-crypt/pinentry: add 1.3.1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/pinentry/Manifest              |   2 +
 app-crypt/pinentry/pinentry-1.3.1.ebuild | 143 +++++++++++++++++++++++++++++++
 2 files changed, 145 insertions(+)

diff --git a/app-crypt/pinentry/Manifest b/app-crypt/pinentry/Manifest
index 3d0f5457e97a..cc830bd7a039 100644
--- a/app-crypt/pinentry/Manifest
+++ b/app-crypt/pinentry/Manifest
@@ -2,3 +2,5 @@ DIST pinentry-1.2.1.tar.bz2 547698 BLAKE2B aa47612aa3a6f74c3676bf4018780356cb22e
 DIST pinentry-1.2.1.tar.bz2.sig 238 BLAKE2B 01ba3dc296a8e76c546d21d0bb0cd13778476d5d5b3ef55a3401c6a0353a56d79250d11555afb31c77c5a77e63847ded0f8eaef395bb0dc2ee3ff1d6a4ed83bd SHA512 d0e8435dc169a58f111f057f1c9fbb6c70da32a850f1107d6abdf41357c1714832728109ae61507db313d7eaef9596e5faf92fd21bed78adcc46a8c8a590430b
 DIST pinentry-1.3.0.tar.bz2 610363 BLAKE2B a55b80754ef37d18ebdf0bd50e134a7b1bf6362b859b7069a9e4ebd86cd7e733d51f3c21a16779a18aa0d0dfab1f7a3df070d4f7e39e0840339078c4e9cb58bc SHA512 1bbac81c6811cffc8969a46494e6daa6b8447802f47ff6fa3e4dc9ac244cf6e5f629834c9b6a60770d06bff6c9932ad4059f10d2fdf93fd9e26fd5d21c0e3732
 DIST pinentry-1.3.0.tar.bz2.sig 119 BLAKE2B 0f11126761b2a06f8b08cf971f5d610cacbde1a5ee419523a6e704ac21fef4cce26495a160a51bee5ed5f68eca7d6864dfa03efa48030ba2cf783e767b925e1c SHA512 77a61877adf241d67caeea3af4c12a2c7c13ddc423ac001fab79bcec463a5853d8806052d61504fae0c67e0a9d1edf6a12d24b560ff7b4083eea5e86f9b54a90
+DIST pinentry-1.3.1.tar.bz2 611233 BLAKE2B 47a510b3746fc8cdd83b56302132f4f4d9c61324fc857ce0867387f70f79490dad375bca4dc72e5d1cdca707bf89a16e1c9a20bf1aa0e857d69e59dc59403afd SHA512 3b72034dc1792b1475acb6d605ff7c1bd7647a0f02d1b6bdcd475acdef24bc802f49e275055436c3271261c4b7a64168477a698aab812a145962146b2f67a0e2
+DIST pinentry-1.3.1.tar.bz2.sig 119 BLAKE2B ca562d2903c88c4297e641ddc39f6cd99db3e3fd40cf5d69e7b4335f006c7717c874fa4b5e47920af3ec97385a96c0c96aafb849cf399d11a7f9f1a6b693f479 SHA512 22bd94f74486300eb84c1c9c371a43b05fb6179118518004fba0d42b6d3e6731f94d79b37c2a3a6b0c5886578c4575f75d2460accd36cd4874342e7239521be9

diff --git a/app-crypt/pinentry/pinentry-1.3.1.ebuild b/app-crypt/pinentry/pinentry-1.3.1.ebuild
new file mode 100644
index 000000000000..be893ab7c6ba
--- /dev/null
+++ b/app-crypt/pinentry/pinentry-1.3.1.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gnupg.asc
+inherit autotools qmake-utils verify-sig
+
+DESCRIPTION="Simple passphrase entry dialogs which utilize the Assuan protocol"
+HOMEPAGE="https://gnupg.org/related_software/pinentry/"
+SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
+SRC_URI+=" verify-sig? ( mirror://gnupg/${PN}/${P}.tar.bz2.sig )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="caps efl emacs gtk keyring ncurses qt5 qt6 wayland X"
+
+DEPEND="
+	>=dev-libs/libassuan-2.1:=
+	>=dev-libs/libgcrypt-1.6.3
+	>=dev-libs/libgpg-error-1.17
+	efl? ( dev-libs/efl[X] )
+	keyring? ( app-crypt/libsecret )
+	ncurses? ( sys-libs/ncurses:= )
+	qt5? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qtwidgets:5
+		wayland? ( kde-plasma/kwayland:5 )
+		X? (
+			dev-qt/qtx11extras:5
+			x11-libs/libX11
+		)
+	)
+	qt6? (
+		dev-qt/qtbase:6[gui,widgets]
+		wayland? (
+			kde-frameworks/kguiaddons:6
+			kde-frameworks/kwindowsystem:6
+		)
+	)
+"
+RDEPEND="
+	${DEPEND}
+	gtk? ( app-crypt/gcr:4[gtk] )
+"
+BDEPEND="
+	sys-devel/gettext
+	virtual/pkgconfig
+	verify-sig? ( sec-keys/openpgp-keys-gnupg )
+"
+PDEPEND="emacs? ( app-emacs/pinentry )"
+IDEPEND=">=app-eselect/eselect-pinentry-0.7.4"
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
+
+PATCHES=(
+	"${FILESDIR}/${PN}-1.0.0-AR.patch"
+	"${FILESDIR}/${PN}-1.3.0-automagic.patch" # bug #819939, bug #837719
+)
+
+src_prepare() {
+	default
+
+	eautoreconf
+}
+
+src_configure() {
+	unset FLTK_CONFIG
+
+	local myeconfargs=(
+		$(use_enable efl pinentry-efl)
+		$(use_enable emacs pinentry-emacs)
+		$(use_enable keyring libsecret)
+		$(use_enable gtk pinentry-gnome3)
+		$(use_enable ncurses fallback-curses)
+		$(use_enable ncurses pinentry-curses)
+		$(use_enable qt5 pinentry-qt5)
+		$(use_enable qt6 pinentry-qt)
+		# TODO: could split this up into qt5/qt6?
+		$(use_enable X qtx11extras)
+		$(use_with X x)
+
+		--enable-pinentry-tty
+		--disable-pinentry-fltk
+		--disable-pinentry-gtk2
+
+		ac_cv_path_GPGRT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpgrt-config"
+
+		$("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g')
+	)
+
+	if use qt5 ; then
+		export PATH="$(qt5_get_bindir):${PATH}"
+		export QTLIB="$(qt5_get_libdir):${QTLIB}"
+		export MOC5="$(qt5_get_bindir)"/moc
+
+		myeconfargs+=(
+			$(use_enable wayland kf5-wayland)
+		)
+	else
+		myeconfargs+=(
+			--disable-kf5-wayland
+		)
+	fi
+
+	if use qt6 ; then
+		export PATH="$(qt6_get_bindir):${PATH}"
+		export QTLIB="$(qt6_get_libdir):${QTLIB}"
+		export MOC="$(qt6_get_libdir)/qt6/libexec/moc"
+
+		myeconfargs+=(
+			$(use_enable wayland kf6-wayland)
+		)
+	else
+		myeconfargs+=(
+			--disable-kf6-wayland
+		)
+	fi
+
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+
+	rm "${ED}"/usr/bin/pinentry || die
+
+	# The preferred Qt implementation upstream gets installed as just 'qt'.
+	# Make a symlink for eselect-pinentry and friends.
+	if use qt6 ; then
+		dosym pinentry-qt /usr/bin/pinentry-qt6
+	fi
+}
+
+pkg_postinst() {
+	eselect pinentry update ifunset
+}
+
+pkg_postrm() {
+	eselect pinentry update ifunset
+}


             reply	other threads:[~2024-07-04  5:07 UTC|newest]

Thread overview: 150+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-04  5:07 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-01 16:33 [gentoo-commits] repo/gentoo:master commit in: app-crypt/pinentry/ Andreas Sturmlechner
2025-03-01 16:33 Andreas Sturmlechner
2024-11-02  6:18 Sam James
2024-10-13 21:41 Sam James
2024-10-10 16:20 Arthur Zamarin
2024-10-04 21:40 Andreas Sturmlechner
2024-10-03 16:11 Arthur Zamarin
2024-10-03 10:18 Sam James
2024-09-06 10:38 Arthur Zamarin
2024-09-06 10:38 Arthur Zamarin
2024-09-05  2:09 Sam James
2024-07-23  5:02 Sam James
2024-07-23  5:02 Sam James
2024-07-23  5:02 Sam James
2024-07-23  5:02 Sam James
2024-07-23  5:02 Sam James
2024-06-23  2:46 Sam James
2024-06-23  2:40 Sam James
2024-03-19  9:41 Sam James
2024-03-18 14:59 Sam James
2024-03-04  3:00 Sam James
2024-02-24 23:11 James Le Cuirot
2024-01-10  6:33 Ulrich Müller
2024-01-08 12:43 Sam James
2023-11-27 11:23 Sam James
2023-11-27 11:23 Sam James
2023-11-23  6:45 Jakov Smolić
2023-11-20 20:43 Ulrich Müller
2023-05-20  6:17 Sam James
2023-05-20  5:45 Sam James
2023-05-20  5:43 Sam James
2023-05-20  5:33 Sam James
2023-05-20  5:30 Sam James
2023-05-20  5:24 Sam James
2023-05-20  2:06 Sam James
2023-05-20  0:54 Sam James
2023-05-20  0:54 Sam James
2023-05-19 23:50 Sam James
2023-05-18 12:17 Andreas Sturmlechner
2022-10-04  9:50 Sam James
2022-10-01 17:16 Matt Turner
2022-09-25 20:22 Arthur Zamarin
2022-09-25  7:49 Arthur Zamarin
2022-09-25  6:25 Agostino Sarubbo
2022-09-25  6:24 Agostino Sarubbo
2022-09-25  4:46 Sam James
2022-09-25  4:46 Sam James
2022-09-25  4:43 Sam James
2022-09-25  4:36 Sam James
2022-08-25  7:27 Sam James
2022-06-17 20:50 Sam James
2022-05-17  6:01 Sam James
2022-05-17  5:59 Sam James
2022-05-17  5:34 Sam James
2021-10-29  5:55 Agostino Sarubbo
2021-10-29  5:54 Agostino Sarubbo
2021-10-28 15:04 Sam James
2021-10-20  0:22 Sam James
2021-10-18 23:49 Sam James
2021-10-16  7:11 Agostino Sarubbo
2021-10-16  7:10 Agostino Sarubbo
2021-10-16  5:19 Sam James
2021-09-17 12:28 Lars Wendler
2021-09-17 12:28 Lars Wendler
2021-09-17  9:01 Mikle Kolyada
2021-08-29 15:49 Mikle Kolyada
2021-08-29 15:45 Mikle Kolyada
2021-08-21 22:15 James Le Cuirot
2021-03-01 11:46 Fabian Groffen
2021-02-27 12:01 Mikle Kolyada
2021-02-27 12:01 Mikle Kolyada
2021-02-23 15:33 Mikle Kolyada
2021-01-25 16:24 Mikle Kolyada
2021-01-25 16:09 Mikle Kolyada
2021-01-25 13:34 Mikle Kolyada
2021-01-06 12:55 Fabian Groffen
2020-12-27 13:36 Fabian Groffen
2020-09-20 13:41 Mikle Kolyada
2020-09-07 17:52 Mikle Kolyada
2020-06-03 15:12 Agostino Sarubbo
2020-06-03  9:22 Agostino Sarubbo
2020-05-27  6:28 Sergei Trofimovich
2020-05-25 21:33 Sergei Trofimovich
2020-05-25 12:29 Mikle Kolyada
2020-05-25  9:36 Sergei Trofimovich
2020-05-25  9:29 Sergei Trofimovich
2019-05-03 23:24 Andreas K. Hüttel
2018-12-18 19:45 Sergei Trofimovich
2018-12-04 17:16 Mikle Kolyada
2018-11-29 20:06 Sergei Trofimovich
2018-10-29  8:50 Alon Bar-Lev
2018-10-12 13:56 Mikle Kolyada
2018-10-11 18:49 Tobias Klausmann
2018-10-06 20:42 Alon Bar-Lev
2018-10-06 19:46 Matt Turner
2018-10-06 19:46 Matt Turner
2018-10-06  0:32 Alon Bar-Lev
2018-10-05 19:27 Alon Bar-Lev
2018-09-30 21:38 Sergei Trofimovich
2018-09-28  8:14 Mikle Kolyada
2018-06-03 10:01 Mikle Kolyada
2018-05-12 15:54 Kristian Fiskerstrand
2018-04-30 22:12 Mikle Kolyada
2018-04-12  8:29 Kristian Fiskerstrand
2018-04-12  8:29 Kristian Fiskerstrand
2018-04-10 16:52 Kristian Fiskerstrand
2018-03-02 23:51 Mart Raudsepp
2017-12-26 22:40 Sergei Trofimovich
2017-12-08  8:03 Jeroen Roovers
2017-11-25 11:55 Markus Meier
2017-11-19 18:48 Sergei Trofimovich
2017-11-14 20:04 Alon Bar-Lev
2017-11-13 22:37 Sergei Trofimovich
2017-11-07 17:57 Thomas Deutschmann
2017-11-07 11:32 Manuel Rüger
2017-11-06  8:01 Sergei Trofimovich
2017-09-20 12:39 Kristian Fiskerstrand
2017-09-20 12:39 Kristian Fiskerstrand
2017-09-20 12:39 Kristian Fiskerstrand
2017-09-20 12:39 Kristian Fiskerstrand
2017-09-20 12:39 Kristian Fiskerstrand
2017-09-20 12:39 Kristian Fiskerstrand
2017-03-25 21:46 Alon Bar-Lev
2017-03-17 11:12 Michael Haubenwallner
2017-02-24  4:16 Mike Frysinger
2017-01-15 20:23 Markus Meier
2017-01-15 19:37 Jeroen Roovers
2016-12-10 22:36 Alon Bar-Lev
2016-12-08  6:10 Michael Palimaka
2016-12-02 18:10 Tobias Klausmann
2016-11-22 18:31 Kristian Fiskerstrand
2016-08-14 18:50 Kristian Fiskerstrand
2015-12-15 19:51 Kristian Fiskerstrand
2015-12-15 19:51 Kristian Fiskerstrand
2015-11-10 11:50 Agostino Sarubbo
2015-11-10 11:50 Agostino Sarubbo
2015-10-26 17:14 Kristian Fiskerstrand
2015-10-10 15:50 Mikle Kolyada
2015-09-29 19:31 Kristian Fiskerstrand
2015-09-27  8:59 Markus Meier
2015-09-24 20:47 Kristian Fiskerstrand
2015-09-21 17:42 Kristian Fiskerstrand
2015-09-16  8:43 Tobias Klausmann
2015-09-14 22:06 Kristian Fiskerstrand
2015-09-14 21:46 Kristian Fiskerstrand
2015-09-12  8:25 Agostino Sarubbo
2015-09-08  4:26 Jeroen Roovers
2015-09-05 16:51 Mikle Kolyada
2015-08-16 11:30 Justin Lecher

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=1720069639.5f8fad56cb06fc038c5d3a75c2193b1ec0ffdf5a.sam@gentoo \
    --to=sam@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