Sun Feb 7 15:36:58 2010 UTC ()
put the pinentry variants which depend on a toolkit into seperate
pkgs rather than having their build controlled by options
(no change in the default case)
(drochner)
diff -r1.371 -r1.372 pkgsrc/security/Makefile
diff -r1.22 -r1.23 pkgsrc/security/pinentry/Makefile
diff -r1.7 -r1.8 pkgsrc/security/pinentry/PLIST
diff -r1.5 -r1.6 pkgsrc/security/pinentry/options.mk
diff -r0 -r1.1 pkgsrc/security/pinentry-gtk/DESCR
diff -r0 -r1.1 pkgsrc/security/pinentry-gtk/Makefile
diff -r0 -r1.1 pkgsrc/security/pinentry-gtk/PLIST
diff -r0 -r1.1 pkgsrc/security/pinentry-gtk/distinfo
diff -r0 -r1.1 pkgsrc/security/pinentry-gtk2/DESCR
diff -r0 -r1.1 pkgsrc/security/pinentry-gtk2/Makefile
diff -r0 -r1.1 pkgsrc/security/pinentry-gtk2/PLIST
diff -r0 -r1.1 pkgsrc/security/pinentry-gtk2/distinfo
diff -r0 -r1.1 pkgsrc/security/pinentry-qt/DESCR
diff -r0 -r1.1 pkgsrc/security/pinentry-qt/Makefile
diff -r0 -r1.1 pkgsrc/security/pinentry-qt/PLIST
diff -r0 -r1.1 pkgsrc/security/pinentry-qt/distinfo
--- pkgsrc/security/Makefile 2010/01/27 10:32:20 1.371
+++ pkgsrc/security/Makefile 2010/02/07 15:36:58 1.372
| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.371 2010/01/27 10:32:20 sno Exp $ | | 1 | # $NetBSD: Makefile,v 1.372 2010/02/07 15:36:58 drochner Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | COMMENT= Security tools | | 4 | COMMENT= Security tools |
5 | | | 5 | |
6 | SUBDIR+= Bastille | | 6 | SUBDIR+= Bastille |
7 | SUBDIR+= CSP | | 7 | SUBDIR+= CSP |
8 | SUBDIR+= CoolKey | | 8 | SUBDIR+= CoolKey |
9 | SUBDIR+= EasyPG | | 9 | SUBDIR+= EasyPG |
10 | SUBDIR+= MyPasswordSafe | | 10 | SUBDIR+= MyPasswordSafe |
11 | SUBDIR+= PAM | | 11 | SUBDIR+= PAM |
12 | SUBDIR+= aide | | 12 | SUBDIR+= aide |
13 | SUBDIR+= aide06 | | 13 | SUBDIR+= aide06 |
14 | SUBDIR+= amap | | 14 | SUBDIR+= amap |
| @@ -239,26 +239,29 @@ SUBDIR+= pam-pwauth_suid | | | @@ -239,26 +239,29 @@ SUBDIR+= pam-pwauth_suid |
239 | SUBDIR+= pam-radius | | 239 | SUBDIR+= pam-radius |
240 | SUBDIR+= pam-saml | | 240 | SUBDIR+= pam-saml |
241 | SUBDIR+= pam_ssh_agent_auth | | 241 | SUBDIR+= pam_ssh_agent_auth |
242 | SUBDIR+= pcsc-lite | | 242 | SUBDIR+= pcsc-lite |
243 | SUBDIR+= pcsc-tools | | 243 | SUBDIR+= pcsc-tools |
244 | SUBDIR+= pgp2 | | 244 | SUBDIR+= pgp2 |
245 | SUBDIR+= pgp5 | | 245 | SUBDIR+= pgp5 |
246 | SUBDIR+= pgpdump | | 246 | SUBDIR+= pgpdump |
247 | SUBDIR+= pgpenvelope | | 247 | SUBDIR+= pgpenvelope |
248 | SUBDIR+= php-mcrypt | | 248 | SUBDIR+= php-mcrypt |
249 | SUBDIR+= php-mhash | | 249 | SUBDIR+= php-mhash |
250 | SUBDIR+= php-suhosin | | 250 | SUBDIR+= php-suhosin |
251 | SUBDIR+= pinentry | | 251 | SUBDIR+= pinentry |
| | | 252 | SUBDIR+= pinentry-gtk |
| | | 253 | SUBDIR+= pinentry-gtk2 |
| | | 254 | SUBDIR+= pinentry-qt |
252 | SUBDIR+= pinepgp | | 255 | SUBDIR+= pinepgp |
253 | SUBDIR+= pkcs11-helper | | 256 | SUBDIR+= pkcs11-helper |
254 | SUBDIR+= pks | | 257 | SUBDIR+= pks |
255 | SUBDIR+= policykit | | 258 | SUBDIR+= policykit |
256 | SUBDIR+= policykit-gnome | | 259 | SUBDIR+= policykit-gnome |
257 | SUBDIR+= polkit-qt | | 260 | SUBDIR+= polkit-qt |
258 | SUBDIR+= portsentry | | 261 | SUBDIR+= portsentry |
259 | SUBDIR+= prelude-correlator | | 262 | SUBDIR+= prelude-correlator |
260 | SUBDIR+= prelude-lml | | 263 | SUBDIR+= prelude-lml |
261 | SUBDIR+= prelude-manager | | 264 | SUBDIR+= prelude-manager |
262 | SUBDIR+= prelude-pflogger | | 265 | SUBDIR+= prelude-pflogger |
263 | SUBDIR+= priv | | 266 | SUBDIR+= priv |
264 | SUBDIR+= prngd | | 267 | SUBDIR+= prngd |
--- pkgsrc/security/pinentry/Makefile 2009/12/15 19:50:47 1.22
+++ pkgsrc/security/pinentry/Makefile 2010/02/07 15:36:58 1.23
| @@ -1,27 +1,33 @@ | | | @@ -1,27 +1,33 @@ |
1 | # $NetBSD: Makefile,v 1.22 2009/12/15 19:50:47 drochner Exp $ | | 1 | # $NetBSD: Makefile,v 1.23 2010/02/07 15:36:58 drochner Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= pinentry-0.7.6 | | 4 | DISTNAME= pinentry-0.7.6 |
5 | CATEGORIES= security | | 5 | CATEGORIES= security |
6 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/ | | 6 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/ |
7 | | | 7 | |
8 | MAINTAINER= shannonjr@NetBSD.org | | 8 | MAINTAINER= shannonjr@NetBSD.org |
9 | HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/ | | 9 | HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/ |
10 | COMMENT= Applications for entering PINs or Passphrases | | 10 | COMMENT= Applications for entering PINs or Passphrases |
11 | | | 11 | |
12 | PKG_DESTDIR_SUPPORT= user-destdir | | 12 | PKG_DESTDIR_SUPPORT= user-destdir |
13 | | | 13 | |
14 | GNU_CONFIGURE= yes | | 14 | GNU_CONFIGURE= yes |
15 | CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv} | | 15 | CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv} |
16 | | | 16 | |
17 | INFO_FILES= yes | | 17 | INFO_FILES= yes |
18 | | | 18 | |
19 | .include "options.mk" | | 19 | .include "options.mk" |
20 | | | 20 | |
| | | 21 | .if defined(PINENTRY_DEFAULT) |
| | | 22 | post-install: |
| | | 23 | ${LN} -sf ${DESTDIR}${PREFIX}/bin/pinentry-${PINENTRY_DEFAULT} \ |
| | | 24 | ${DESTDIR}${PREFIX}/bin/pinentry |
| | | 25 | .endif |
| | | 26 | |
21 | BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0 | | 27 | BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0 |
22 | | | 28 | |
23 | .include "../../converters/libiconv/buildlink3.mk" | | 29 | .include "../../converters/libiconv/buildlink3.mk" |
24 | .include "../../security/libgpg-error/buildlink3.mk" | | 30 | .include "../../security/libgpg-error/buildlink3.mk" |
25 | .include "../../security/libksba/buildlink3.mk" | | 31 | .include "../../security/libksba/buildlink3.mk" |
26 | .include "../../mk/pthread.buildlink3.mk" | | 32 | .include "../../mk/pthread.buildlink3.mk" |
27 | .include "../../mk/bsd.pkg.mk" | | 33 | .include "../../mk/bsd.pkg.mk" |
--- pkgsrc/security/pinentry/PLIST 2008/04/12 22:43:12 1.7
+++ pkgsrc/security/pinentry/PLIST 2010/02/07 15:36:58 1.8
| @@ -1,7 +1,4 @@ | | | @@ -1,7 +1,4 @@ |
1 | @comment $NetBSD: PLIST,v 1.7 2008/04/12 22:43:12 jlam Exp $ | | 1 | @comment $NetBSD: PLIST,v 1.8 2010/02/07 15:36:58 drochner Exp $ |
2 | bin/pinentry | | 2 | bin/pinentry |
3 | bin/pinentry-curses | | 3 | bin/pinentry-curses |
4 | info/pinentry.info | | 4 | info/pinentry.info |
5 | ${PLIST.gtk}bin/pinentry-gtk | | | |
6 | ${PLIST.gtk2}bin/pinentry-gtk-2 | | | |
7 | ${PLIST.qt}bin/pinentry-qt | | | |
--- pkgsrc/security/pinentry/Attic/options.mk 2008/04/12 22:43:12 1.5
+++ pkgsrc/security/pinentry/Attic/options.mk 2010/02/07 15:36:58 1.6
| @@ -1,43 +1,30 @@ | | | @@ -1,43 +1,30 @@ |
1 | # $NetBSD: options.mk,v 1.5 2008/04/12 22:43:12 jlam Exp $ | | 1 | # $NetBSD: options.mk,v 1.6 2010/02/07 15:36:58 drochner Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | # XXX This usage of bsd.options.mk is incorrect. The package should | | 4 | # XXX This usage of bsd.options.mk is incorrect. The package should |
5 | # to be split into three packages | | 5 | # to be split into three packages |
6 | # pinentry-curses | | 6 | # pinentry-curses |
7 | # pinentry-gtk | | 7 | # pinentry-gtk |
8 | # pinentry-qt | | 8 | # pinentry-qt |
9 | | | 9 | |
10 | PKG_OPTIONS_VAR= PKG_OPTIONS.pinentry | | 10 | PKG_OPTIONS_VAR= PKG_OPTIONS.pinentry |
11 | PKG_SUPPORTED_OPTIONS= gtk gtk2 qt | | 11 | PKG_SUPPORTED_OPTIONS= gtk gtk2 qt |
12 | .include "../../mk/bsd.options.mk" | | 12 | .include "../../mk/bsd.options.mk" |
13 | | | 13 | |
14 | PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} | | | |
15 | | | | |
16 | .if !empty(PKG_OPTIONS:Mgtk) | | | |
17 | CONFIGURE_ARGS+= --enable-pinentry-gtk | | | |
18 | PLIST.gtk= yes | | | |
19 | . include "../../x11/gtk/buildlink3.mk" | | | |
20 | .else | | | |
21 | CONFIGURE_ARGS+= --disable-pinentry-gtk | | 14 | CONFIGURE_ARGS+= --disable-pinentry-gtk |
| | | 15 | .if !empty(PKG_OPTIONS:Mgtk) |
| | | 16 | DEPENDS+= pinentry-gtk-[0-9]*:../../security/pinentry-gtk |
| | | 17 | PINENTRY_DEFAULT= gtk |
22 | .endif | | 18 | .endif |
23 | | | 19 | |
24 | .if !empty(PKG_OPTIONS:Mgtk2) | | | |
25 | CONFIGURE_ARGS+= --enable-pinentry-gtk2 | | | |
26 | PLIST.gtk2= yes | | | |
27 | . include "../../x11/gtk2/buildlink3.mk" | | | |
28 | .else | | | |
29 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 | | 20 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 |
| | | 21 | .if !empty(PKG_OPTIONS:Mgtk2) |
| | | 22 | DEPENDS+= pinentry-gtk2-[0-9]*:../../security/pinentry-gtk2 |
| | | 23 | PINENTRY_DEFAULT= gtk2 |
30 | .endif | | 24 | .endif |
31 | | | 25 | |
32 | .if !empty(PKG_OPTIONS:Mqt) | | | |
33 | USE_LANGUAGES+= c c++ | | | |
34 | USE_TOOLS+= gmake | | | |
35 | CONFIGURE_ARGS+= --enable-pinentry-qt | | | |
36 | CONFIGURE_ARGS+= --with-qt-dir=${QTDIR:Q} | | | |
37 | CONFIGURE_ARGS+= --with-qt-includes=${BUILDLINK_PREFIX.qt3-libs}/qt3/include | | | |
38 | CONFIGURE_ARGS+= --with-qt-libraries=${BUILDLINK_PREFIX.qt3-libs}/qt3/lib | | | |
39 | PLIST.qt= yes | | | |
40 | . include "../../x11/qt3-libs/buildlink3.mk" | | | |
41 | .else | | | |
42 | CONFIGURE_ARGS+= --disable-pinentry-qt | | 26 | CONFIGURE_ARGS+= --disable-pinentry-qt |
| | | 27 | .if !empty(PKG_OPTIONS:Mqt) |
| | | 28 | DEPENDS+= pinentry-qt-[0-9]*:../../security/pinentry-qt |
| | | 29 | PINENTRY_DEFAULT= qt |
43 | .endif | | 30 | .endif |
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.
# $NetBSD: Makefile,v 1.1 2010/02/07 15:36:58 drochner Exp $
#
DISTNAME= pinentry-0.7.6
PKGNAME= pinentry-gtk-0.7.6
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/
MAINTAINER= shannonjr@NetBSD.org
HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/
COMMENT= Applications for entering PINs or Passphrases
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
CONFIGURE_ARGS+= --enable-pinentry-gtk
CONFIGURE_ARGS+= --disable-pinentry-curses
#CONFIGURE_ARGS+= --disable-fallback-curses
CONFIGURE_ARGS+= --disable-pinentry-gtk2
CONFIGURE_ARGS+= --disable-pinentry-qt
CONFIGURE_ARGS+= --disable-pinentry-qt4
INFO_FILES= yes
INSTALL_DIRS= gtk
BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0
.include "../../x11/gtk/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
#.include "../../security/libgpg-error/buildlink3.mk"
#.include "../../security/libksba/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2010/02/07 15:36:58 drochner Exp $
bin/pinentry-gtk
$NetBSD: distinfo,v 1.1 2010/02/07 15:36:58 drochner Exp $
SHA1 (pinentry-0.7.6.tar.gz) = 0c525ce81e5589bc9a4f2eb72705bed2b3e9a8b9
RMD160 (pinentry-0.7.6.tar.gz) = 6e69eee88b5cbb919ced79971cd4794f5e659023
Size (pinentry-0.7.6.tar.gz) = 475101 bytes
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.
# $NetBSD: Makefile,v 1.1 2010/02/07 15:36:58 drochner Exp $
#
DISTNAME= pinentry-0.7.6
PKGNAME= pinentry-gtk2-0.7.6
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/
MAINTAINER= shannonjr@NetBSD.org
HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/
COMMENT= Applications for entering PINs or Passphrases
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
CONFIGURE_ARGS+= --enable-pinentry-gtk2
CONFIGURE_ARGS+= --disable-pinentry-curses
#CONFIGURE_ARGS+= --disable-fallback-curses
CONFIGURE_ARGS+= --disable-pinentry-gtk
CONFIGURE_ARGS+= --disable-pinentry-qt
CONFIGURE_ARGS+= --disable-pinentry-qt4
INFO_FILES= yes
INSTALL_DIRS= gtk+-2
BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0
.include "../../x11/gtk2/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
#.include "../../security/libgpg-error/buildlink3.mk"
#.include "../../security/libksba/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2010/02/07 15:36:58 drochner Exp $
bin/pinentry-gtk-2
$NetBSD: distinfo,v 1.1 2010/02/07 15:36:58 drochner Exp $
SHA1 (pinentry-0.7.6.tar.gz) = 0c525ce81e5589bc9a4f2eb72705bed2b3e9a8b9
RMD160 (pinentry-0.7.6.tar.gz) = 6e69eee88b5cbb919ced79971cd4794f5e659023
Size (pinentry-0.7.6.tar.gz) = 475101 bytes
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.
# $NetBSD: Makefile,v 1.1 2010/02/07 15:36:58 drochner Exp $
#
DISTNAME= pinentry-0.7.6
PKGNAME= pinentry-qt-0.7.6
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/
MAINTAINER= shannonjr@NetBSD.org
HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/
COMMENT= Applications for entering PINs or Passphrases
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
CONFIGURE_ARGS+= --enable-pinentry-qt
CONFIGURE_ARGS+= --with-qt-dir=${QTDIR:Q}
CONFIGURE_ARGS+= --with-qt-includes=${BUILDLINK_PREFIX.qt3-libs}/qt3/include
CONFIGURE_ARGS+= --with-qt-libraries=${BUILDLINK_PREFIX.qt3-libs}/qt3/lib
CONFIGURE_ARGS+= --disable-pinentry-curses
#CONFIGURE_ARGS+= --disable-fallback-curses
CONFIGURE_ARGS+= --disable-pinentry-gtk
CONFIGURE_ARGS+= --disable-pinentry-gtk2
CONFIGURE_ARGS+= --disable-pinentry-qt4
USE_LANGUAGES+= c c++
USE_TOOLS+= gmake
INFO_FILES= yes
INSTALL_DIRS= qt
BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0
.include "../../x11/qt3-libs/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
#.include "../../security/libgpg-error/buildlink3.mk"
#.include "../../security/libksba/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2010/02/07 15:36:58 drochner Exp $
bin/pinentry-qt
$NetBSD: distinfo,v 1.1 2010/02/07 15:36:58 drochner Exp $
SHA1 (pinentry-0.7.6.tar.gz) = 0c525ce81e5589bc9a4f2eb72705bed2b3e9a8b9
RMD160 (pinentry-0.7.6.tar.gz) = 6e69eee88b5cbb919ced79971cd4794f5e659023
Size (pinentry-0.7.6.tar.gz) = 475101 bytes