From nobody Wed Apr 3 02:31:10 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V8TJZ63l5z5GGM6; Wed, 3 Apr 2024 02:31:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V8TJZ53kcz4Mcn; Wed, 3 Apr 2024 02:31:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712111470; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VG7XwI7rAUzPRG76Gdh7hv4J22TU5tEz0YjEgLRpGns=; b=owsn9CQpL/X/hvETpkZTTlN2URj0G2ZuUtJwGaGzSurrz2KvZjSWQTFv4sMzM1Y1Nltr4a ur+4timaDu/a9q9GLpg0I9XkPBDRsmc3UinxwJKzDMK77Qnq7bPaoIaWma+IZBG9Jo8BlM bv+vK1SFgYugauLkujrxKcEbXXHgszEqGK/DSx109Jmy2YKP5DkhRvv3o9DFwmZdmiRrD2 EirlLDQi8LdSwtZDLFPSTSNvCfHJzYRRizPK+zdB3Q91woiwOrDkekHGo5xQRIu1jsYp7r MVVbYGH5UUrIu5BjRHtpEwARdiNGOogwkJV8TdYys/XOdL2PR2PdCeFZb/8ugA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712111470; a=rsa-sha256; cv=none; b=n7o3/pL+6XBy4WRyPS8UthgLVn4sT4B7UQthInFdzSPERJ6VGjogCHsodUsIbuYScpBwUi edUhD+5CvJ/s0yCFZFF3cE6ywhetU3P4DiqaOFIxMOOmnqhCV3xvo5MajrFnLmBzvthaCQ IuS98a8+xlN3T1UqYAzyQer10UbYhtaY9h06Py5li3hgixsgDl4hKktdw3JToX7zR6IHb0 SgXCeRLhsc34Zxqry4TW5TZZW2HIUdSqGNahG6fse/mG2f5Y9bZo1iiK62scMjReGRm66H LHwPVKaAeWWU93bXPCVDQrPXoh3ZXzb9BCO2ufdev16qV5ooRE+OQpUZUGuQHw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712111470; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VG7XwI7rAUzPRG76Gdh7hv4J22TU5tEz0YjEgLRpGns=; b=nqBPASD2VVuVk7HxjeG36rZOGTsJb0aP6ocjlNhQrWDi++HMuxsvsbaxBcogXp7Z8yMIdf zL6WweomhTN9sT7NTELlVm7gzCRzCK/zW0mWQhouKEeLccOr6z1fd491ETWS4tca2/HCmC 83McXTHlTUXXsKwYAX+uwHhkZe6I11TvMDAk48+wPIJgh5XOEY1iME9R7gyBUwBwvKszyS HaLs6kZuneJx7p1z78FZDzmgCNV4JjxdhmXEStRiVmhrBNxTf7ulHDZvqHLwGiQcbWzv0J ZgVBAtW+uGJmdEz7ppLa3sy0dzEYmbcAYzNCB4CZBKjeM7LpGqTge0U5NPOQKQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V8TJZ3kXbzFfj; Wed, 3 Apr 2024 02:31:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4332VAYF002616; Wed, 3 Apr 2024 02:31:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4332VAL3002613; Wed, 3 Apr 2024 02:31:10 GMT (envelope-from git) Date: Wed, 3 Apr 2024 02:31:10 GMT Message-Id: <202404030231.4332VAL3002613@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason E. Hale" Subject: git: a17ad22b735a - main - security/pinentry: Update to 1.3.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhale X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a17ad22b735a0a44eeda7ead165c29cfd421a4a9 Auto-Submitted: auto-generated The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=a17ad22b735a0a44eeda7ead165c29cfd421a4a9 commit a17ad22b735a0a44eeda7ead165c29cfd421a4a9 Author: Jason E. Hale AuthorDate: 2024-04-03 01:10:00 +0000 Commit: Jason E. Hale CommitDate: 2024-04-03 02:31:02 +0000 security/pinentry: Update to 1.3.0 Add security/pinentry-qt6 for the new Qt 6 pinentry frontend. Make a more generic pkg-message for pinentry frontends that have a dependency loop with the main port. Previously, only the gnome frontend had this problem, but a dependency loop was also discovered in the efl frontend. https://dev.gnupg.org/T7046 --- security/Makefile | 1 + security/pinentry-efl/Makefile | 2 +- security/pinentry-gtk2/Makefile | 2 +- security/pinentry-qt6/Makefile | 10 +++++ security/pinentry/Makefile | 51 +++++++++++++++++++------ security/pinentry/distinfo | 8 ++-- security/pinentry/files/pkg-message.dep-loop.in | 26 +++++++++++++ security/pinentry/pkg-message.gnome | 26 ------------- 8 files changed, 84 insertions(+), 42 deletions(-) diff --git a/security/Makefile b/security/Makefile index 107e284f3daa..e1fbc80b9320 100644 --- a/security/Makefile +++ b/security/Makefile @@ -822,6 +822,7 @@ SUBDIR += pinentry-gnome SUBDIR += pinentry-gtk2 SUBDIR += pinentry-qt5 + SUBDIR += pinentry-qt6 SUBDIR += pinentry-tty SUBDIR += pixiewps SUBDIR += pkcrack diff --git a/security/pinentry-efl/Makefile b/security/pinentry-efl/Makefile index ffbf49cf7b8e..1bb829cc34ca 100644 --- a/security/pinentry-efl/Makefile +++ b/security/pinentry-efl/Makefile @@ -1,5 +1,5 @@ PORTNAME= pinentry -PORTREVISION= 1 +PORTREVISION= 0 COMMENT= EFL version of the GnuPG password dialog diff --git a/security/pinentry-gtk2/Makefile b/security/pinentry-gtk2/Makefile index 870428af55e6..6e01e0bf1d9e 100644 --- a/security/pinentry-gtk2/Makefile +++ b/security/pinentry-gtk2/Makefile @@ -1,5 +1,5 @@ PORTNAME= pinentry -PORTREVISION= 1 +PORTREVISION= 0 COMMENT= GTK 2.0 version of the GnuPG password dialog diff --git a/security/pinentry-qt6/Makefile b/security/pinentry-qt6/Makefile new file mode 100644 index 000000000000..608d035ceb5d --- /dev/null +++ b/security/pinentry-qt6/Makefile @@ -0,0 +1,10 @@ +PORTNAME= pinentry +PORTREVISION= 0 + +COMMENT= Qt 6 version of the GnuPG password dialog + +PINENTRY_GUI= qt6 + +MASTERDIR= ${.CURDIR}/../pinentry + +.include "${MASTERDIR}/Makefile" diff --git a/security/pinentry/Makefile b/security/pinentry/Makefile index 82c1ae50dcbe..87217f55c00c 100644 --- a/security/pinentry/Makefile +++ b/security/pinentry/Makefile @@ -1,9 +1,12 @@ PORTNAME= pinentry -PORTVERSION= 1.2.1 +PORTVERSION= 1.3.0 PORTREVISION?= 0 CATEGORIES= security MASTER_SITES= GNUPG/pinentry +PATCH_SITES= https://github.com/gpg/pinentry/commit/ +PATCHFILES+= 844360c9c99d2f11dc4236c0ab6bdb9b56758898.patch:-p1 + MAINTAINER= jhale@FreeBSD.org COMMENT?= Collection of simple PIN or passphrase entry dialogs WWW= https://www.gnupg.org/aegypten2 @@ -20,7 +23,7 @@ NO_BUILD= yes PLIST_FILES= bin/pinentry OPTIONS_SINGLE= FRONTEND -OPTIONS_SINGLE_FRONTEND= EFL FLTK GNOME GTK2 NCURSES QT5 TTY +OPTIONS_SINGLE_FRONTEND= EFL FLTK GNOME GTK2 NCURSES QT5 QT6 TTY OPTIONS_DEFAULT= NCURSES FRONTEND_DESC= Default frontend @@ -35,7 +38,14 @@ NCURSES_RUN_DEPENDS= ${PINENTRY_NCURSES}:security/pinentry-curses EFL_DESC= EFL frontend PINENTRY_EFL= pinentry-efl -EFL_RUN_DEPENDS= ${PINENTRY_EFL}:security/pinentry-efl +# Due to a dependency loop that exists between security/pinentry-efl, +# devel/elf, graphics/poppler, security/gpgme-cpp, security/gpgme, +# security/gnupg and security/pinentry, the user must install +# pinentry-efl manually. See pkg-message.dep-loop for more details. +#EFL_RUN_DEPENDS= ${PINENTRY_EFL}:security/pinentry-efl +EFL_SUB_FILES= pkg-message.dep-loop +EFL_SUB_LIST= PKGNAME="pinentry-efl" +EFL_VARS= PKGMESSAGE+=${WRKDIR}/pkg-message.dep-loop FLTK_DESC= FLTK frontend PINENTRY_FLTK= pinentry-fltk @@ -49,13 +59,19 @@ QT5_DESC= Qt 5 frontend PINENTRY_QT5= pinentry-qt5 QT5_RUN_DEPENDS= ${PINENTRY_QT5}:security/pinentry-qt5 +QT6_DESC= Qt 6 frontend +PINENTRY_QT6= pinentry-qt +QT6_RUN_DEPENDS= ${PINENTRY_QT6}:security/pinentry-qt6 + GNOME_DESC= GNOME frontend PINENTRY_GNOME= pinentry-gnome3 # Due to a dependency loop that exists between security/pinentry-gnome, # security/gcr, security/gnupg and security/pinentry, the user must install -# pinentry-gnome manually. See pkg-message.gnome for more details. +# pinentry-gnome manually. See pkg-message.dep-loop for more details. #GNOME_RUN_DEPENDS= ${PINENTRY_GNOME}:security/pinentry-gnome -GNOME_VARS= PKGMESSAGE+=${.CURDIR}/pkg-message.gnome +GNOME_SUB_FILES=pkg-message.dep-loop +GNOME_SUB_LIST= PKGNAME="pinentry-gnome" +GNOME_VARS= PKGMESSAGE+=${WRKDIR}/pkg-message.dep-loop .include @@ -96,13 +112,26 @@ CONFIGURE_ARGS+=--disable-pinentry-gnome3 .endif .if ${PINENTRY_GUI} == "qt5" -USES+= compiler:c++11-lib qt:5 -USE_QT= core gui widgets buildtools:build -PLIST_FILES= bin/pinentry-qt5 -CONFIGURE_ARGS+=--enable-pinentry-qt5 \ - --program-suffix=5 +USES+= compiler:c++11-lang kde:5 qt:5 xorg +USE_KDE= wayland +USE_QT= core gui widgets x11extras buildtools:build +USE_XORG= x11 +PLIST_FILES= bin/pinentry-qt5 \ + share/applications/org.gnupg.pinentry-qt5.desktop +CONFIGURE_ARGS+=--enable-pinentry-qt5 +.else +CONFIGURE_ARGS+=--disable-pinentry-qt5 +.endif + +.if ${PINENTRY_GUI} == "qt6" +USES+= compiler:c++17-lang kde:6 qt:6 +USE_KDE= guiaddons windowsystem +USE_QT= base +PLIST_FILES= bin/pinentry-qt \ + share/applications/org.gnupg.pinentry-qt.desktop +CONFIGURE_ARGS+=--enable-pinentry-qt .else -CONFIGURE_ARGS+=--disable-pinentry-qt --disable-pinentry-qt5 +CONFIGURE_ARGS+=--disable-pinentry-qt .endif .if ${PINENTRY_GUI} == "gtk2" diff --git a/security/pinentry/distinfo b/security/pinentry/distinfo index 290a23b46707..112363030ce9 100644 --- a/security/pinentry/distinfo +++ b/security/pinentry/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1662933240 -SHA256 (pinentry-1.2.1.tar.bz2) = 457a185e5a85238fb945a955dc6352ab962dc8b48720b62fc9fa48c7540a4067 -SIZE (pinentry-1.2.1.tar.bz2) = 547698 +TIMESTAMP = 1712087076 +SHA256 (pinentry-1.3.0.tar.bz2) = 9b3cd5226e7597f2fded399a3bc659923351536559e9db0826981bca316494de +SIZE (pinentry-1.3.0.tar.bz2) = 610363 +SHA256 (844360c9c99d2f11dc4236c0ab6bdb9b56758898.patch) = 80804d34202a3c8c700226e77431cd4585b760de038bd84d3a1ae9813f25d924 +SIZE (844360c9c99d2f11dc4236c0ab6bdb9b56758898.patch) = 3846 diff --git a/security/pinentry/files/pkg-message.dep-loop.in b/security/pinentry/files/pkg-message.dep-loop.in new file mode 100644 index 000000000000..f996f4211d03 --- /dev/null +++ b/security/pinentry/files/pkg-message.dep-loop.in @@ -0,0 +1,26 @@ +[ +{ type: install + message: <