pinentry*: updated to 1.3.0 Noteworthy changes in version 1.3.0 (2024-03-18) ------------------------------------------------ * qt: Add new Qt6 frontend. * qt: Set parent window on Wayland. * qt: Fix capslock detection on Wayland. * qt: Fix window icon on Wayland. * qt: Add support for external password manager with libsecret. * qt: Remove focus indication by text selection. * qt: Use same focus indication for labels as Kleopatra. * qt: Improve accessibility. * gnome3: Prefer gcr-4. * curses: Fix timeout handling. * curses: Add SETREPEATOK and quality bar colors. * curses: Add password quality meter. * curses,tty: Upon SIGINT, let pinentry exit gracefully. * w32: Fix non-focused window and simplify code. * Disable secret storage integration when running on KDE Plasma. * The Windows CE support has been removed.diff -r1.53 -r1.54 pkgsrc/security/pinentry/Makefile
(adam)
@@ -1,22 +1,23 @@ | @@ -1,22 +1,23 @@ | |||
1 | # $NetBSD: Makefile,v 1.53 2022/01/13 08:05:48 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.54 2024/03/20 15:46:37 adam Exp $ | |
2 | 2 | |||
3 | COMMENT= Applications for entering PINs or Passphrases | 3 | COMMENT= Applications for entering PINs or Passphrases | |
4 | 4 | |||
5 | CONFIGURE_ARGS+= --enable-pinentry-tty | |||
6 | CONFIGURE_ARGS+= --enable-pinentry-emacs | |||
7 | CONFIGURE_ARGS+= --disable-pinentry-fltk | 5 | CONFIGURE_ARGS+= --disable-pinentry-fltk | |
8 | CONFIGURE_ARGS+= --disable-pinentry-gnome3 | 6 | CONFIGURE_ARGS+= --disable-pinentry-gnome3 | |
9 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 | 7 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 | |
8 | CONFIGURE_ARGS+= --disable-pinentry-qt | |||
10 | CONFIGURE_ARGS+= --disable-pinentry-qt5 | 9 | CONFIGURE_ARGS+= --disable-pinentry-qt5 | |
11 | CONFIGURE_ARGS+= --disable-pinentry-tqt | 10 | CONFIGURE_ARGS+= --disable-pinentry-tqt | |
11 | CONFIGURE_ARGS+= --enable-pinentry-emacs | |||
12 | CONFIGURE_ARGS+= --enable-pinentry-tty | |||
12 | 13 | |||
13 | .include "../../security/pinentry/Makefile.common" | 14 | .include "../../security/pinentry/Makefile.common" | |
14 | 15 | |||
15 | .if defined(PINENTRY_DEFAULT) | 16 | .if defined(PINENTRY_DEFAULT) | |
16 | post-install: | 17 | post-install: | |
17 | cd ${DESTDIR}${PREFIX}/bin && \ | 18 | cd ${DESTDIR}${PREFIX}/bin && \ | |
18 | ${LN} -sf pinentry-${PINENTRY_DEFAULT} pinentry | 19 | ${LN} -sf pinentry-${PINENTRY_DEFAULT} pinentry | |
19 | .endif | 20 | .endif | |
20 | 21 | |||
21 | .include "../../security/libksba/buildlink3.mk" | 22 | .include "../../security/libksba/buildlink3.mk" | |
22 | .include "../../mk/bsd.pkg.mk" | 23 | .include "../../mk/bsd.pkg.mk" |
@@ -1,22 +1,23 @@ | @@ -1,22 +1,23 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.17 2022/09/01 09:15:16 adam Exp $ | 1 | # $NetBSD: Makefile.common,v 1.18 2024/03/20 15:46:37 adam Exp $ | |
2 | # | 2 | # | |
3 | # used by security/pinentry/Makefile | 3 | # used by security/pinentry/Makefile | |
4 | # used by security/pinentry-fltk/Makefile | 4 | # used by security/pinentry-fltk/Makefile | |
5 | # used by security/pinentry-gnome3/Makefile | 5 | # used by security/pinentry-gnome3/Makefile | |
6 | # used by security/pinentry-gtk2/Makefile | 6 | # used by security/pinentry-gtk2/Makefile | |
7 | # used by security/pinentry-qt5/Makefile | 7 | # used by security/pinentry-qt5/Makefile | |
8 | # used by security/pinentry-qt6/Makefile | |||
8 | 9 | |||
9 | DISTNAME= pinentry-1.2.1 | 10 | DISTNAME= pinentry-1.3.0 | |
10 | 11 | |||
11 | CATEGORIES= security | 12 | CATEGORIES= security | |
12 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/ | 13 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/ | |
13 | EXTRACT_SUFX= .tar.bz2 | 14 | EXTRACT_SUFX= .tar.bz2 | |
14 | 15 | |||
15 | MAINTAINER= pkgsrc-users@NetBSD.org | 16 | MAINTAINER= pkgsrc-users@NetBSD.org | |
16 | HOMEPAGE= https://gnupg.org/related_software/pinentry/index.html | 17 | HOMEPAGE= https://gnupg.org/related_software/pinentry/index.html | |
17 | LICENSE= gnu-gpl-v2 | 18 | LICENSE= gnu-gpl-v2 | |
18 | 19 | |||
19 | DISTINFO_FILE= ${.CURDIR}/../../security/pinentry/distinfo | 20 | DISTINFO_FILE= ${.CURDIR}/../../security/pinentry/distinfo | |
20 | PATCHDIR= ${.CURDIR}/../../security/pinentry/patches | 21 | PATCHDIR= ${.CURDIR}/../../security/pinentry/patches | |
21 | 22 | |||
22 | GNU_CONFIGURE= yes | 23 | GNU_CONFIGURE= yes |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.29 2022/09/01 09:15:16 adam Exp $ | 1 | $NetBSD: distinfo,v 1.30 2024/03/20 15:46:37 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (pinentry-1.2.1.tar.bz2) = 818e0aa67ef36f51704e031882eb3b74196dcbcc7df5dbbc80c6ee8c3ab7c603 | 3 | BLAKE2s (pinentry-1.3.0.tar.bz2) = 39e01333ae946a46c30cbbb90672068f56a7ec94463ce66e162acc737dded6e5 | |
4 | SHA512 (pinentry-1.2.1.tar.bz2) = a665315628f4dcf07e16a22db3f3be15d7e7e93b3deec0546c7275b71b0e3bd65535a08af5e12d6339fd6595132df86529401d9d12bd17c428a3466e8dfafab6 | 4 | SHA512 (pinentry-1.3.0.tar.bz2) = 1bbac81c6811cffc8969a46494e6daa6b8447802f47ff6fa3e4dc9ac244cf6e5f629834c9b6a60770d06bff6c9932ad4059f10d2fdf93fd9e26fd5d21c0e3732 | |
5 | Size (pinentry-1.2.1.tar.bz2) = 547698 bytes | 5 | Size (pinentry-1.3.0.tar.bz2) = 610363 bytes | |
6 | SHA1 (patch-m4_qt.m4) = eeb1e8fcba15c0458d9ccf8ab77a5bb66bc1bae8 | 6 | SHA1 (patch-m4_qt5.m4) = 2c436880dc564386e7548a1834848c0a50252ad2 |
@@ -1,24 +1,23 @@ | @@ -1,24 +1,23 @@ | |||
1 | # $NetBSD: Makefile,v 1.8 2023/11/12 13:23:25 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.9 2024/03/20 15:46:37 adam Exp $ | |
2 | 2 | |||
3 | PKGNAME= ${DISTNAME:S/pinentry-/pinentry-fltk-/} | 3 | PKGNAME= ${DISTNAME:S/pinentry-/pinentry-fltk-/} | |
4 | PKGREVISION= 2 | |||
5 | COMMENT= Applications for entering PINs or Passphrases, FLTK enabled | 4 | COMMENT= Applications for entering PINs or Passphrases, FLTK enabled | |
6 | 5 | |||
7 | .include "../../security/pinentry/Makefile.common" | 6 | .include "../../security/pinentry/Makefile.common" | |
8 | 7 | |||
9 | USE_LANGUAGES+= c c++ | 8 | USE_LANGUAGES= c c++ | |
10 | USE_TOOLS+= pkg-config | 9 | USE_TOOLS+= pkg-config | |
11 | 10 | CONFIGURE_ARGS+= --disable-libsecret | ||
12 | CONFIGURE_ARGS+= --disable-pinentry-curses | 11 | CONFIGURE_ARGS+= --disable-pinentry-curses | |
13 | CONFIGURE_ARGS+= --disable-pinentry-efl | 12 | CONFIGURE_ARGS+= --disable-pinentry-efl | |
14 | CONFIGURE_ARGS+= --disable-pinentry-emacs | 13 | CONFIGURE_ARGS+= --disable-pinentry-emacs | |
15 | CONFIGURE_ARGS+= --disable-pinentry-gnome3 | 14 | CONFIGURE_ARGS+= --disable-pinentry-gnome3 | |
16 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 | 15 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 | |
17 | CONFIGURE_ARGS+= --disable-pinentry-qt | 16 | CONFIGURE_ARGS+= --disable-pinentry-qt | |
18 | CONFIGURE_ARGS+= --disable-libsecret | 17 | CONFIGURE_ARGS+= --disable-pinentry-qt5 | |
19 | CONFIGURE_ARGS+= --enable-pinentry-fltk | 18 | CONFIGURE_ARGS+= --enable-pinentry-fltk | |
20 | 19 | |||
21 | INSTALL_DIRS= fltk | 20 | INSTALL_DIRS= fltk | |
22 | 21 | |||
23 | .include "../../x11/fltk13/buildlink3.mk" | 22 | .include "../../x11/fltk13/buildlink3.mk" | |
24 | .include "../../mk/bsd.pkg.mk" | 23 | .include "../../mk/bsd.pkg.mk" |
@@ -1,22 +1,22 @@ | @@ -1,22 +1,22 @@ | |||
1 | # $NetBSD: Makefile,v 1.11 2023/11/14 14:02:48 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.12 2024/03/20 15:46:38 adam Exp $ | |
2 | 2 | |||
3 | PKGNAME= ${DISTNAME:S/pinentry-/pinentry-gnome3-/} | 3 | PKGNAME= ${DISTNAME:S/pinentry-/pinentry-gnome3-/} | |
4 | PKGREVISION= 5 | |||
5 | COMMENT= Applications for entering PINs or Passphrases, GNOME 3 enabled | 4 | COMMENT= Applications for entering PINs or Passphrases, GNOME 3 enabled | |
6 | 5 | |||
7 | .include "../../security/pinentry/Makefile.common" | 6 | .include "../../security/pinentry/Makefile.common" | |
8 | 7 | |||
9 | USE_TOOLS+= pkg-config | 8 | USE_TOOLS+= pkg-config | |
9 | CONFIGURE_ARGS+= --disable-libsecret | |||
10 | CONFIGURE_ARGS+= --disable-pinentry-curses | 10 | CONFIGURE_ARGS+= --disable-pinentry-curses | |
11 | CONFIGURE_ARGS+= --disable-pinentry-emacs | 11 | CONFIGURE_ARGS+= --disable-pinentry-emacs | |
12 | CONFIGURE_ARGS+= --disable-pinentry-efl | 12 | CONFIGURE_ARGS+= --disable-pinentry-efl | |
13 | CONFIGURE_ARGS+= --disable-pinentry-fltk | 13 | CONFIGURE_ARGS+= --disable-pinentry-fltk | |
14 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 | 14 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 | |
15 | CONFIGURE_ARGS+= --disable-pinentry-qt | 15 | CONFIGURE_ARGS+= --disable-pinentry-qt | |
16 | CONFIGURE_ARGS+= --disable-libsecret | 16 | CONFIGURE_ARGS+= --disable-pinentry-qt5 | |
17 | CONFIGURE_ARGS+= --enable-pinentry-gnome3 | 17 | CONFIGURE_ARGS+= --enable-pinentry-gnome3 | |
18 | 18 | |||
19 | INSTALL_DIRS= gnome3 | 19 | INSTALL_DIRS= gnome3 | |
20 | 20 | |||
21 | .include "../../security/gcr/buildlink3.mk" | 21 | .include "../../security/gcr/buildlink3.mk" | |
22 | .include "../../mk/bsd.pkg.mk" | 22 | .include "../../mk/bsd.pkg.mk" |
@@ -1,23 +1,23 @@ | @@ -1,23 +1,23 @@ | |||
1 | # $NetBSD: Makefile,v 1.60 2023/11/14 14:02:48 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.61 2024/03/20 15:46:38 adam Exp $ | |
2 | 2 | |||
3 | PKGNAME= ${DISTNAME:S/pinentry-/pinentry-gtk2-/} | 3 | PKGNAME= ${DISTNAME:S/pinentry-/pinentry-gtk2-/} | |
4 | PKGREVISION= 5 | |||
5 | COMMENT= Applications for entering PINs or Passphrases, GTK+ enabled | 4 | COMMENT= Applications for entering PINs or Passphrases, GTK+ enabled | |
6 | 5 | |||
7 | .include "../../security/pinentry/Makefile.common" | 6 | .include "../../security/pinentry/Makefile.common" | |
8 | 7 | |||
9 | USE_TOOLS+= pkg-config | 8 | USE_TOOLS+= pkg-config | |
10 | CONFIGURE_ARGS+= --enable-pinentry-gtk2 | 9 | CONFIGURE_ARGS+= --disable-libsecret | |
11 | CONFIGURE_ARGS+= --disable-pinentry-curses | 10 | CONFIGURE_ARGS+= --disable-pinentry-curses | |
12 | CONFIGURE_ARGS+= --disable-pinentry-emacs | 11 | CONFIGURE_ARGS+= --disable-pinentry-emacs | |
13 | CONFIGURE_ARGS+= --disable-pinentry-efl | 12 | CONFIGURE_ARGS+= --disable-pinentry-efl | |
14 | CONFIGURE_ARGS+= --disable-pinentry-fltk | 13 | CONFIGURE_ARGS+= --disable-pinentry-fltk | |
15 | CONFIGURE_ARGS+= --disable-pinentry-gnome3 | 14 | CONFIGURE_ARGS+= --disable-pinentry-gnome3 | |
16 | CONFIGURE_ARGS+= --disable-pinentry-qt | 15 | CONFIGURE_ARGS+= --disable-pinentry-qt | |
17 | CONFIGURE_ARGS+= --disable-libsecret | 16 | CONFIGURE_ARGS+= --disable-pinentry-qt5 | |
17 | CONFIGURE_ARGS+= --enable-pinentry-gtk2 | |||
18 | 18 | |||
19 | INSTALL_DIRS= gtk+-2 | 19 | INSTALL_DIRS= gtk+-2 | |
20 | 20 | |||
21 | BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.12.0 | 21 | BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.12.0 | |
22 | .include "../../x11/gtk2/buildlink3.mk" | 22 | .include "../../x11/gtk2/buildlink3.mk" | |
23 | .include "../../mk/bsd.pkg.mk" | 23 | .include "../../mk/bsd.pkg.mk" |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | This is a collection of simple PIN or passphrase entry dialogs which | 1 | This is a collection of simple PIN or passphrase entry dialogs which | |
2 | utilize the Assuan protocol as described by the aegypten project. | 2 | utilize the Assuan protocol as described by the aegypten project. | |
3 | It provides programs for several graphical toolkits, such as GTK+ and | 3 | It provides programs for several graphical toolkits, such as GTK+ and | |
4 | QT, as well as for the console, using curses. | 4 | QT, as well as for the console, using curses. | |
5 | 5 | |||
6 | This package contains the QT5 frontend. | 6 | This package contains the Qt5 frontend. |
@@ -1,2 +1,3 @@ | @@ -1,2 +1,3 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2021/02/06 10:26:54 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2024/03/20 15:46:38 adam Exp $ | |
2 | bin/pinentry-qt | 2 | bin/pinentry-qt5 | |
3 | share/applications/org.gnupg.pinentry-qt5.desktop |
@@ -1,29 +1,30 @@ | @@ -1,29 +1,30 @@ | |||
1 | # $NetBSD: Makefile,v 1.14 2023/11/12 13:23:25 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.15 2024/03/20 15:46:38 adam Exp $ | |
2 | 2 | |||
3 | PKGNAME= ${DISTNAME:S/pinentry-/pinentry-qt5-/} | 3 | PKGNAME= ${DISTNAME:S/pinentry-/pinentry-qt5-/} | |
4 | PKGREVISION= 8 | 4 | COMMENT= Applications for entering PINs or Passphrases, Qt5 enabled | |
5 | COMMENT= Applications for entering PINs or Passphrases, qt5 enabled | |||
6 | CONFLICTS= pinentry-qt4-[0-9]* | 5 | CONFLICTS= pinentry-qt4-[0-9]* | |
7 | 6 | |||
8 | .include "../../security/pinentry/Makefile.common" | 7 | .include "../../security/pinentry/Makefile.common" | |
9 | 8 | |||
10 | USE_LANGUAGES+= c c++ | 9 | USE_LANGUAGES+= c c++ | |
11 | USE_TOOLS+= pkg-config gmake autoconf | 10 | USE_TOOLS+= pkg-config gmake autoconf | |
11 | CONFIGURE_ARGS+= --disable-libsecret | |||
12 | CONFIGURE_ARGS+= --disable-pinentry-curses | 12 | CONFIGURE_ARGS+= --disable-pinentry-curses | |
13 | CONFIGURE_ARGS+= --disable-pinentry-emacs | 13 | CONFIGURE_ARGS+= --disable-pinentry-emacs | |
14 | CONFIGURE_ARGS+= --disable-pinentry-efl | 14 | CONFIGURE_ARGS+= --disable-pinentry-efl | |
15 | CONFIGURE_ARGS+= --disable-pinentry-fltk | 15 | CONFIGURE_ARGS+= --disable-pinentry-fltk | |
16 | CONFIGURE_ARGS+= --disable-pinentry-gnome3 | 16 | CONFIGURE_ARGS+= --disable-pinentry-gnome3 | |
17 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 | 17 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 | |
18 | CONFIGURE_ARGS+= --disable-libsecret | 18 | CONFIGURE_ARGS+= --disable-pinentry-qt | |
19 | CONFIGURE_ARGS+= --enable-pinentry-qt | 19 | CONFIGURE_ARGS+= --enable-pinentry-qt5 | |
20 | CONFIGURE_ENV+= RCC="${QTDIR}/bin/rcc" | 20 | CONFIGURE_ENV+= MOC5="${QTDIR}/bin/moc" | |
21 | CONFIGURE_ENV+= RCC5="${QTDIR}/bin/rcc" | |||
21 | 22 | |||
22 | INSTALL_DIRS= qt | 23 | INSTALL_DIRS= qt5 | |
23 | 24 | |||
24 | pre-configure: | 25 | pre-configure: | |
25 | cd ${WRKSRC} && autoreconf -i -f | 26 | cd ${WRKSRC} && autoreconf -i -f | |
26 | 27 | |||
27 | BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0 | 28 | BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0 | |
28 | .include "../../x11/qt5-qtbase/buildlink3.mk" | 29 | .include "../../x11/qt5-qtbase/buildlink3.mk" | |
29 | .include "../../mk/bsd.pkg.mk" | 30 | .include "../../mk/bsd.pkg.mk" |
This is a collection of simple PIN or passphrase entry dialogs which
utilize the Assuan protocol as described by the aegypten project.
It provides programs for several graphical toolkits, such as GTK+ and
QT, as well as for the console, using curses.
This package contains the Qt6 frontend.
# $NetBSD: Makefile,v 1.1 2024/03/20 15:46:38 adam Exp $
PKGNAME= ${DISTNAME:S/pinentry-/pinentry-qt6-/}
COMMENT= Applications for entering PINs or Passphrases, Qt6 enabled
CONFLICTS= pinentry-qt4-[0-9]*
.include "../../security/pinentry/Makefile.common"
USE_CXX_FEATURES= c++17
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config gmake autoconf
FORCE_CXX_STD= c++17
CONFIGURE_ARGS+= --disable-libsecret
CONFIGURE_ARGS+= --disable-pinentry-curses
CONFIGURE_ARGS+= --disable-pinentry-emacs
CONFIGURE_ARGS+= --disable-pinentry-efl
CONFIGURE_ARGS+= --disable-pinentry-fltk
CONFIGURE_ARGS+= --disable-pinentry-gnome3
CONFIGURE_ARGS+= --disable-pinentry-gtk2
CONFIGURE_ARGS+= --disable-pinentry-qt5
CONFIGURE_ARGS+= --enable-pinentry-qt
CONFIGURE_ENV+= MOC6="${QTDIR}/libexec/moc"
CONFIGURE_ENV+= RCC6="${QTDIR}/libexec/rcc"
INSTALL_DIRS= qt
pre-configure:
cd ${WRKSRC} && autoreconf -i -f
BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0
.include "../../x11/qt6-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2024/03/20 15:46:38 adam Exp $
bin/pinentry-qt
share/applications/org.gnupg.pinentry-qt.desktop
$NetBSD: patch-m4_qt5.m4,v 1.1 2024/03/20 15:46:37 adam Exp $
The "-rpath" option requires an equal sign.
--- m4/qt5.m4.orig 2023-03-20 07:10:22.000000000 +0000
+++ m4/qt5.m4
@@ -59,7 +59,7 @@ AC_DEFUN([FIND_QT5],
qt5libdir=`"$PKG_CONFIG" --variable libdir Qt5Core`
if test -n "$qt5libdir"; then
if test "$enable_rpath" != "no"; then
- PINENTRY_QT5_LDFLAGS="$PINENTRY_QT5_LDFLAGS -Wl,-rpath \"$qt5libdir\""
+ PINENTRY_QT5_LDFLAGS="$PINENTRY_QT5_LDFLAGS -Wl,-rpath=\"$qt5libdir\""
fi
fi