pinentry: updated to 1.2.0 Noteworthy changes in version 1.2.0 (2021-08-25) ------------------------------------------------ * qt: Show a warning if Caps Lock is on on Windows, X11 (requires libX11 and Qt5X11Extras), and Wayland (requires KF5WaylandClient). [T4950] * qt: Support password formatting. This makes generated passwords easier to transcript. [T5517] * qt: Fix showing of pinentry window on Wayland. [T5528] * qt: Check passphrase constraints before accepting passphrase if passphrase constraints are requested to be enforced. [T5532] * qt: Improve detection of running in a GUI session. [T3659] * qt: Improve accessibility when entering new password.diff -r1.52 -r1.53 pkgsrc/security/pinentry/Makefile
(adam)
@@ -1,21 +1,22 @@ | @@ -1,21 +1,22 @@ | |||
1 | # $NetBSD: Makefile,v 1.52 2021/02/06 10:26:53 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.53 2022/01/13 08:05:48 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 | 5 | CONFIGURE_ARGS+= --enable-pinentry-tty | |
6 | CONFIGURE_ARGS+= --enable-pinentry-emacs | 6 | CONFIGURE_ARGS+= --enable-pinentry-emacs | |
7 | CONFIGURE_ARGS+= --disable-pinentry-qt5 | 7 | CONFIGURE_ARGS+= --disable-pinentry-fltk | |
8 | CONFIGURE_ARGS+= --disable-pinentry-gnome3 | 8 | CONFIGURE_ARGS+= --disable-pinentry-gnome3 | |
9 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 | 9 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 | |
10 | CONFIGURE_ARGS+= --disable-pinentry-fltk | 10 | CONFIGURE_ARGS+= --disable-pinentry-qt5 | |
11 | CONFIGURE_ARGS+= --disable-pinentry-tqt | |||
11 | 12 | |||
12 | .include "../../security/pinentry/Makefile.common" | 13 | .include "../../security/pinentry/Makefile.common" | |
13 | 14 | |||
14 | .if defined(PINENTRY_DEFAULT) | 15 | .if defined(PINENTRY_DEFAULT) | |
15 | post-install: | 16 | post-install: | |
16 | cd ${DESTDIR}${PREFIX}/bin && \ | 17 | cd ${DESTDIR}${PREFIX}/bin && \ | |
17 | ${LN} -sf pinentry-${PINENTRY_DEFAULT} pinentry | 18 | ${LN} -sf pinentry-${PINENTRY_DEFAULT} pinentry | |
18 | .endif | 19 | .endif | |
19 | 20 | |||
20 | .include "../../security/libksba/buildlink3.mk" | 21 | .include "../../security/libksba/buildlink3.mk" | |
21 | .include "../../mk/bsd.pkg.mk" | 22 | .include "../../mk/bsd.pkg.mk" |
@@ -1,34 +1,31 @@ | @@ -1,34 +1,31 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.15 2021/02/06 10:26:53 wiz Exp $ | 1 | # $NetBSD: Makefile.common,v 1.16 2022/01/13 08:05:48 adam Exp $ | |
2 | # -*- Makefile -*- | |||
3 | # | 2 | # | |
4 | # used by security/pinentry/Makefile | 3 | # used by security/pinentry/Makefile | |
5 | # used by security/pinentry-fltk/Makefile | 4 | # used by security/pinentry-fltk/Makefile | |
6 | # used by security/pinentry-gnome3/Makefile | 5 | # used by security/pinentry-gnome3/Makefile | |
7 | # used by security/pinentry-gtk2/Makefile | 6 | # used by security/pinentry-gtk2/Makefile | |
8 | # used by security/pinentry-qt5/Makefile | 7 | # used by security/pinentry-qt5/Makefile | |
9 | 8 | |||
10 | PINENTRY_VERSION= 1.1.1 | 9 | DISTNAME= pinentry-1.2.0 | |
11 | DISTNAME= pinentry-${PINENTRY_VERSION} | |||
12 | 10 | |||
13 | CATEGORIES= security | 11 | CATEGORIES= security | |
14 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/ | 12 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/ | |
15 | EXTRACT_SUFX= .tar.bz2 | 13 | EXTRACT_SUFX= .tar.bz2 | |
16 | 14 | |||
17 | MAINTAINER= pkgsrc-users@NetBSD.org | 15 | MAINTAINER= pkgsrc-users@NetBSD.org | |
18 | HOMEPAGE= https://gnupg.org/related_software/pinentry/index.html | 16 | HOMEPAGE= https://gnupg.org/related_software/pinentry/index.html | |
19 | LICENSE= gnu-gpl-v2 | 17 | LICENSE= gnu-gpl-v2 | |
20 | 18 | |||
21 | #PATCHDIR= ${.CURDIR}/../../security/pinentry/patches | 19 | DISTINFO_FILE= ${.CURDIR}/../../security/pinentry/distinfo | |
22 | DISTINFO_FILE= ${.CURDIR}/../../security/pinentry/distinfo | 20 | PATCHDIR= ${.CURDIR}/../../security/pinentry/patches | |
23 | 21 | |||
24 | GNU_CONFIGURE= yes | 22 | GNU_CONFIGURE= yes | |
25 | CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv} | 23 | CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv} | |
26 | ||||
27 | INFO_FILES= yes | 24 | INFO_FILES= yes | |
28 | 25 | |||
29 | .include "../../security/libassuan2/buildlink3.mk" | 26 | .include "../../security/libassuan2/buildlink3.mk" | |
30 | BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.16 | 27 | BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.16 | |
31 | .include "../../security/libgpg-error/buildlink3.mk" | 28 | .include "../../security/libgpg-error/buildlink3.mk" | |
32 | .include "../../converters/libiconv/buildlink3.mk" | 29 | .include "../../converters/libiconv/buildlink3.mk" | |
33 | .include "../../mk/curses.buildlink3.mk" | 30 | .include "../../mk/curses.buildlink3.mk" | |
34 | .include "../../mk/pthread.buildlink3.mk" | 31 | .include "../../mk/pthread.buildlink3.mk" |
@@ -1,5 +1,6 @@ | @@ -1,5 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.27 2021/10/26 11:17:37 nia Exp $ | 1 | $NetBSD: distinfo,v 1.28 2022/01/13 08:05:48 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (pinentry-1.1.1.tar.bz2) = c3a245e52cb3244e2a76f914baee022adc3164708a93d1eec98b6fc55091bf05 | 3 | BLAKE2s (pinentry-1.2.0.tar.bz2) = a79231dae318f09b9fe1f749f7b37d17ba80a29117ea53aad70d30342d838928 | |
4 | SHA512 (pinentry-1.1.1.tar.bz2) = d6ab5af8ac2f3c9c05e09703e95d8e2676f9b2b7ceb97f6a31d101d0e9da7a1e106a6d3eabe86cab1bb35a4b119a7cba1380ac64bf13c61af0b3c48803116c12 | 4 | SHA512 (pinentry-1.2.0.tar.bz2) = 19cea79aa3982d1f0d75220c8e24ca38d6c49475c6f4c5aa7101151b4690db23ed316096a4a411136e716ba4eb471f48f9b09556e5c9837533c2356b9b384b63 | |
5 | Size (pinentry-1.1.1.tar.bz2) = 515723 bytes | 5 | Size (pinentry-1.2.0.tar.bz2) = 498390 bytes | |
6 | SHA1 (patch-m4_qt.m4) = eeb1e8fcba15c0458d9ccf8ab77a5bb66bc1bae8 |
@@ -1,24 +1,23 @@ | @@ -1,24 +1,23 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2021/02/06 10:26:53 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2022/01/13 08:05:48 adam Exp $ | |
2 | 2 | |||
3 | PKGNAME= ${DISTNAME:S/pinentry-/pinentry-fltk-/} | 3 | PKGNAME= ${DISTNAME:S/pinentry-/pinentry-fltk-/} | |
4 | COMMENT= Applications for entering PINs or Passphrases, FLTK enabled | 4 | COMMENT= Applications for entering PINs or Passphrases, FLTK enabled | |
5 | 5 | |||
6 | .include "../../security/pinentry/Makefile.common" | 6 | .include "../../security/pinentry/Makefile.common" | |
7 | 7 | |||
8 | #DISTINFO_FILE= ${.CURDIR}/distinfo | |||
9 | USE_LANGUAGES+= c c++ | 8 | USE_LANGUAGES+= c c++ | |
10 | USE_TOOLS+= pkg-config | 9 | USE_TOOLS+= pkg-config | |
11 | 10 | |||
12 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 | |||
13 | CONFIGURE_ARGS+= --disable-pinentry-qt | |||
14 | CONFIGURE_ARGS+= --disable-pinentry-curses | 11 | CONFIGURE_ARGS+= --disable-pinentry-curses | |
12 | CONFIGURE_ARGS+= --disable-pinentry-efl | |||
15 | CONFIGURE_ARGS+= --disable-pinentry-emacs | 13 | CONFIGURE_ARGS+= --disable-pinentry-emacs | |
16 | #CONFIGURE_ARGS+= --disable-fallback-curses | |||
17 | CONFIGURE_ARGS+= --disable-pinentry-gnome3 | 14 | CONFIGURE_ARGS+= --disable-pinentry-gnome3 | |
18 | CONFIGURE_ARGS+= --disable-pinentry-efl | 15 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 | |
16 | CONFIGURE_ARGS+= --disable-pinentry-qt | |||
19 | CONFIGURE_ARGS+= --disable-libsecret | 17 | CONFIGURE_ARGS+= --disable-libsecret | |
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,23 +1,21 @@ | @@ -1,23 +1,21 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2021/12/08 16:06:22 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2022/01/13 08:05:48 adam Exp $ | |
2 | 2 | |||
3 | PKGNAME= ${DISTNAME:S/pinentry-/pinentry-gnome3-/} | 3 | PKGNAME= ${DISTNAME:S/pinentry-/pinentry-gnome3-/} | |
4 | PKGREVISION= 1 | 4 | COMMENT= Applications for entering PINs or Passphrases, GNOME 3 enabled | |
5 | 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 | |
10 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 | |||
11 | CONFIGURE_ARGS+= --disable-pinentry-qt | |||
12 | CONFIGURE_ARGS+= --disable-pinentry-curses | 9 | CONFIGURE_ARGS+= --disable-pinentry-curses | |
13 | CONFIGURE_ARGS+= --disable-pinentry-emacs | 10 | CONFIGURE_ARGS+= --disable-pinentry-emacs | |
14 | #CONFIGURE_ARGS+= --disable-fallback-curses | |||
15 | CONFIGURE_ARGS+= --enable-pinentry-gnome3 | |||
16 | CONFIGURE_ARGS+= --disable-pinentry-fltk | |||
17 | CONFIGURE_ARGS+= --disable-pinentry-efl | 11 | CONFIGURE_ARGS+= --disable-pinentry-efl | |
12 | CONFIGURE_ARGS+= --disable-pinentry-fltk | |||
13 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 | |||
14 | CONFIGURE_ARGS+= --disable-pinentry-qt | |||
18 | CONFIGURE_ARGS+= --disable-libsecret | 15 | CONFIGURE_ARGS+= --disable-libsecret | |
16 | CONFIGURE_ARGS+= --enable-pinentry-gnome3 | |||
19 | 17 | |||
20 | INSTALL_DIRS= gnome3 | 18 | INSTALL_DIRS= gnome3 | |
21 | 19 | |||
22 | .include "../../security/gcr/buildlink3.mk" | 20 | .include "../../security/gcr/buildlink3.mk" | |
23 | .include "../../mk/bsd.pkg.mk" | 21 | .include "../../mk/bsd.pkg.mk" |
@@ -1,24 +1,22 @@ | @@ -1,24 +1,22 @@ | |||
1 | # $NetBSD: Makefile,v 1.54 2021/12/08 16:06:22 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.55 2022/01/13 08:05:48 adam Exp $ | |
2 | 2 | |||
3 | PKGNAME= ${DISTNAME:S/pinentry-/pinentry-gtk2-/} | 3 | PKGNAME= ${DISTNAME:S/pinentry-/pinentry-gtk2-/} | |
4 | PKGREVISION= 1 | 4 | COMMENT= Applications for entering PINs or Passphrases, GTK+ enabled | |
5 | 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+= --enable-pinentry-gtk2 | |
11 | CONFIGURE_ARGS+= --disable-pinentry-qt | |||
12 | CONFIGURE_ARGS+= --disable-pinentry-curses | 10 | CONFIGURE_ARGS+= --disable-pinentry-curses | |
13 | CONFIGURE_ARGS+= --disable-pinentry-emacs | 11 | CONFIGURE_ARGS+= --disable-pinentry-emacs | |
14 | #CONFIGURE_ARGS+= --disable-fallback-curses | |||
15 | CONFIGURE_ARGS+= --disable-pinentry-gnome3 | |||
16 | CONFIGURE_ARGS+= --disable-pinentry-fltk | |||
17 | CONFIGURE_ARGS+= --disable-pinentry-efl | 12 | CONFIGURE_ARGS+= --disable-pinentry-efl | |
13 | CONFIGURE_ARGS+= --disable-pinentry-fltk | |||
14 | CONFIGURE_ARGS+= --disable-pinentry-gnome3 | |||
15 | CONFIGURE_ARGS+= --disable-pinentry-qt | |||
18 | CONFIGURE_ARGS+= --disable-libsecret | 16 | CONFIGURE_ARGS+= --disable-libsecret | |
19 | 17 | |||
20 | INSTALL_DIRS= gtk+-2 | 18 | INSTALL_DIRS= gtk+-2 | |
21 | 19 | |||
22 | BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.12.0 | 20 | BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.12.0 | |
23 | .include "../../x11/gtk2/buildlink3.mk" | 21 | .include "../../x11/gtk2/buildlink3.mk" | |
24 | .include "../../mk/bsd.pkg.mk" | 22 | .include "../../mk/bsd.pkg.mk" |
@@ -1,32 +1,27 @@ | @@ -1,32 +1,27 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2021/12/08 16:06:22 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2022/01/13 08:05:49 adam Exp $ | |
2 | 2 | |||
3 | PKGNAME= ${DISTNAME:S/pinentry-/pinentry-qt5-/} | 3 | PKGNAME= ${DISTNAME:S/pinentry-/pinentry-qt5-/} | |
4 | PKGREVISION= 2 | 4 | COMMENT= Applications for entering PINs or Passphrases, qt5 enabled | |
5 | COMMENT= Applications for entering PINs or Passphrases, qt5 enabled | 5 | CONFLICTS= pinentry-qt4-[0-9]* | |
6 | CONFLICTS= pinentry-qt4-[0-9]* | |||
7 | 6 | |||
8 | .include "../../security/pinentry/Makefile.common" | 7 | .include "../../security/pinentry/Makefile.common" | |
9 | 8 | |||
10 | DISTINFO_FILE= ${.CURDIR}/distinfo | |||
11 | USE_LANGUAGES+= c c++ | 9 | USE_LANGUAGES+= c c++ | |
12 | USE_TOOLS+= pkg-config gmake autoconf | 10 | USE_TOOLS+= pkg-config gmake autoconf | |
13 | ||||
14 | CONFIGURE_ARGS+= --enable-pinentry-qt | |||
15 | CONFIGURE_ARGS+= --disable-pinentry-curses | 11 | CONFIGURE_ARGS+= --disable-pinentry-curses | |
16 | CONFIGURE_ARGS+= --disable-pinentry-emacs | 12 | CONFIGURE_ARGS+= --disable-pinentry-emacs | |
17 | #CONFIGURE_ARGS+= --disable-fallback-curses | 13 | CONFIGURE_ARGS+= --disable-pinentry-efl | |
14 | CONFIGURE_ARGS+= --disable-pinentry-fltk | |||
18 | CONFIGURE_ARGS+= --disable-pinentry-gnome3 | 15 | CONFIGURE_ARGS+= --disable-pinentry-gnome3 | |
19 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 | 16 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 | |
20 | CONFIGURE_ARGS+= --disable-pinentry-fltk | |||
21 | CONFIGURE_ARGS+= --disable-pinentry-efl | |||
22 | CONFIGURE_ARGS+= --disable-libsecret | 17 | CONFIGURE_ARGS+= --disable-libsecret | |
18 | CONFIGURE_ARGS+= --enable-pinentry-qt | |||
23 | 19 | |||
24 | INSTALL_DIRS= qt | 20 | INSTALL_DIRS= qt | |
25 | 21 | |||
26 | pre-configure: | 22 | pre-configure: | |
27 | cd ${WRKSRC} && autoreconf -i -f | 23 | cd ${WRKSRC} && autoreconf -i -f | |
28 | 24 | |||
29 | BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0 | 25 | BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0 | |
30 | .include "../../x11/qt5-qtbase/buildlink3.mk" | 26 | .include "../../x11/qt5-qtbase/buildlink3.mk" | |
31 | ||||
32 | .include "../../mk/bsd.pkg.mk" | 27 | .include "../../mk/bsd.pkg.mk" |
$NetBSD: patch-m4_qt.m4,v 1.1 2022/01/13 08:05:48 adam Exp $
The "-rpath" option requires an equal sign.
--- m4/qt.m4.orig 2021-08-12 14:30:43.000000000 +0000
+++ m4/qt.m4
@@ -60,7 +60,7 @@ AC_DEFUN([FIND_QT],
qtlibdir=`"$PKG_CONFIG" --variable libdir Qt5Core`
if test -n "$qtlibdir"; then
if test "$enable_rpath" != "no"; then
- PINENTRY_QT_LDFLAGS="$PINENTRY_QT_LDFLAGS -Wl,-rpath \"$qtlibdir\""
+ PINENTRY_QT_LDFLAGS="$PINENTRY_QT_LDFLAGS -Wl,-rpath=\"$qtlibdir\""
fi
fi