summaryrefslogtreecommitdiff
path: root/security/pinentry
diff options
context:
space:
mode:
authorshannonjr <shannonjr@pkgsrc.org>2004-10-23 13:30:10 +0000
committershannonjr <shannonjr@pkgsrc.org>2004-10-23 13:30:10 +0000
commitaa464f7c7b8a6d236f6a82a2378aa02188c35065 (patch)
tree5ab98f38e461cdf87f6ae40bf7e6be91b7b3fc6c /security/pinentry
parent097ee20b3272015c21724bda97df23f047a1945a (diff)
downloadpkgsrc-aa464f7c7b8a6d236f6a82a2378aa02188c35065.tar.gz
Applications for entering PINs or Passphrases. Used in conjunction with
gpg-agent that's part of gnupg-devel
Diffstat (limited to 'security/pinentry')
-rw-r--r--security/pinentry/DESCR3
-rw-r--r--security/pinentry/Makefile41
-rw-r--r--security/pinentry/PLIST3
-rw-r--r--security/pinentry/buildlink3.mk18
-rw-r--r--security/pinentry/distinfo4
5 files changed, 69 insertions, 0 deletions
diff --git a/security/pinentry/DESCR b/security/pinentry/DESCR
new file mode 100644
index 00000000000..ebb1d93ed80
--- /dev/null
+++ b/security/pinentry/DESCR
@@ -0,0 +1,3 @@
+A module that contains various interfaces
+(qt, gtk, curses, terminal) to enter a
+PIN/passphrase.
diff --git a/security/pinentry/Makefile b/security/pinentry/Makefile
new file mode 100644
index 00000000000..5c6ffd29ce0
--- /dev/null
+++ b/security/pinentry/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1 2004/10/23 13:30:10 shannonjr Exp $
+#
+
+DISTNAME= pinentry-0.7.1
+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
+
+USE_BUILDLINK3= yes
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+USE_GNU_TOOLS+= make
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.pinentry
+PKG_SUPPORTED_OPTIONS= qt gtk
+.include "../../mk/bsd.options.mk"
+
+post-install:
+ ${CP} -f ${PKGDIR}/PLIST ${PLIST_SRC}
+.if !empty(PKG_OPTIONS:Mqt)
+ ${ECHO} "bin/pinentry-qt" >>${PLIST_SRC}
+.endif
+.if !empty(PKG_OPTIONS:Mgtk)
+ ${ECHO} "bin/pinentry-gtk" >>${PLIST_SRC}
+.endif
+
+BUILDLINK_DEPENDS.libgpg-erro>= 1.0.0
+.include "../../security/libgpg-error/buildlink3.mk"
+.include "../../security/libksba/buildlink3.mk"
+.if !empty(PKG_OPTIONS:Mqt)
+.include "../../x11/qt3-libs/buildlink3.mk"
+.endif
+.if !empty(PKG_OPTIONS:Mgtk)
+.include "../../x11/gtk/buildlink3.mk"
+.endif
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/pinentry/PLIST b/security/pinentry/PLIST
new file mode 100644
index 00000000000..660faf88852
--- /dev/null
+++ b/security/pinentry/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2004/10/23 13:30:10 shannonjr Exp $
+bin/pinentry-curses
+info/pinentry.info
diff --git a/security/pinentry/buildlink3.mk b/security/pinentry/buildlink3.mk
new file mode 100644
index 00000000000..3525fb8a545
--- /dev/null
+++ b/security/pinentry/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/10/23 13:30:10 shannonjr Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PINENTRY_BUILDLINK3_MK:= ${PINENTRY_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= pinentry
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npinentry}
+BUILDLINK_PACKAGES+= pinentry
+
+.if !empty(PINENTRY_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.pinentry+= pinentry>=0.7.1
+BUILDLINK_PKGSRCDIR.pinentry?= ../../security/pinentry
+.endif # PINENTRY_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/security/pinentry/distinfo b/security/pinentry/distinfo
new file mode 100644
index 00000000000..252e40c540b
--- /dev/null
+++ b/security/pinentry/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1 2004/10/23 13:30:10 shannonjr Exp $
+
+SHA1 (pinentry-0.7.1.tar.gz) = fb1a17b603a0fa234cdf3a08d0efde3f33f5926c
+Size (pinentry-0.7.1.tar.gz) = 347047 bytes