summaryrefslogtreecommitdiff
path: root/security/dirmngr
diff options
context:
space:
mode:
authorshannonjr <shannonjr@pkgsrc.org>2004-10-23 14:41:53 +0000
committershannonjr <shannonjr@pkgsrc.org>2004-10-23 14:41:53 +0000
commit608849d61b0b3847d00ab7c4085639a057062c49 (patch)
tree7ffe230061461bcb67459f5e4e9146198448f67a /security/dirmngr
parentcbe9794cd697436113dd9a56b9997ad67c3406dd (diff)
downloadpkgsrc-608849d61b0b3847d00ab7c4085639a057062c49.tar.gz
DirMngr is a server for managing and downloading
certificate revocation lists (CRLs) for X.509 certificates and for downloading the certificates themselves. DirMngr also handles OCSP requests as an alternative to CRLs. DirMngr is usually invoked by gpgsm and in general not used directly.
Diffstat (limited to 'security/dirmngr')
-rw-r--r--security/dirmngr/DESCR6
-rw-r--r--security/dirmngr/Makefile49
-rw-r--r--security/dirmngr/PLIST3
-rw-r--r--security/dirmngr/buildlink3.mk18
-rw-r--r--security/dirmngr/distinfo5
5 files changed, 81 insertions, 0 deletions
diff --git a/security/dirmngr/DESCR b/security/dirmngr/DESCR
new file mode 100644
index 00000000000..e31adaf6a11
--- /dev/null
+++ b/security/dirmngr/DESCR
@@ -0,0 +1,6 @@
+DirMngr is a server for managing and downloading
+certificate revocation lists (CRLs) for X.509
+certificates and for downloading the certificates
+themselves. DirMngr also handles OCSP requests as
+an alternative to CRLs. DirMngr is usually invoked
+by gpgsm and in general not used directly.
diff --git a/security/dirmngr/Makefile b/security/dirmngr/Makefile
new file mode 100644
index 00000000000..aa4ea5c82b1
--- /dev/null
+++ b/security/dirmngr/Makefile
@@ -0,0 +1,49 @@
+# $NetBSD: Makefile,v 1.1 2004/10/23 14:41:53 shannonjr Exp $
+#
+
+DISTNAME= dirmngr-0.5.6
+CATEGORIES= security
+MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/alpha/dirmngr/
+
+MAINTAINER= shannonjr@NetBSD.org
+HOMEPAGE= http://www.gnupg.org/aegypten2
+COMMENT= X509 certificate and CRL downloader
+
+BUILD_USES_MSGFMT= yes
+DEPENDS+= libksba>=0.9.6
+DEPENDS+= libassuan>=0.6.5
+
+.include "../../mk/bsd.prefs.mk"
+
+INFO_FILES= dirmngr.info
+USE_BUILDLINK3= yes
+USE_PKGLOCALEDIR= yes
+GNU_CONFIGURE= yes
+USE_GNU_TOOLS+= make
+USE_GNU_TOOLS+= awk
+AUTOCONF_REQD= 2.52
+CONFIGURE_ENV+= LOCALBASE="${LOCALBASE}"
+
+# gettext Version 0.12.1 or newer is required for NLS support
+.include "../../devel/gettext-lib/buildlink3.mk"
+GETTEXT_IS_TOO_OLD!=if ${PKG_ADMIN} pmatch 'gettext-lib < 0.12.1' gettext-lib ; then \
+ ${ECHO} "yes"; \
+ else \
+ ${ECHO} "no"; \
+ fi
+
+.if GETTEXT_IS_TOO_OLD
+CONFIGURE_ARGS+= --disable-nls
+.endif
+
+pre-configure:
+ cd ${WRKSRC} && ${AUTOCONF}
+
+.include "../../security/libgpg-error/buildlink3.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
+.include "../../security/libksba/buildlink3.mk"
+.include "../../security/libassuan/buildlink3.mk"
+.include "../../devel/libgetopt/buildlink3.mk"
+.include "../../databases/openldap/buildlink3.mk"
+.include "../../mk/autoconf.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/dirmngr/PLIST b/security/dirmngr/PLIST
new file mode 100644
index 00000000000..2ee6967623e
--- /dev/null
+++ b/security/dirmngr/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2004/10/23 14:41:53 shannonjr Exp $
+bin/dirmngr
+info/dirmngr.info
diff --git a/security/dirmngr/buildlink3.mk b/security/dirmngr/buildlink3.mk
new file mode 100644
index 00000000000..8e61e94f003
--- /dev/null
+++ b/security/dirmngr/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/10/23 14:41:53 shannonjr Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+DIRMNGR_BUILDLINK3_MK:= ${DIRMNGR_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= dirmngr
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndirmngr}
+BUILDLINK_PACKAGES+= dirmngr
+
+.if !empty(DIRMNGR_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.dirmngr+= dirmngr>=0.5.6
+BUILDLINK_PKGSRCDIR.dirmngr?= ../../security/dirmngr
+.endif # DIRMNGR_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/security/dirmngr/distinfo b/security/dirmngr/distinfo
new file mode 100644
index 00000000000..1727f044c83
--- /dev/null
+++ b/security/dirmngr/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2004/10/23 14:41:53 shannonjr Exp $
+
+SHA1 (dirmngr-0.5.6.tar.gz) = 584ee44d60b9385fcf0d0afa08f801fd05eba968
+Size (dirmngr-0.5.6.tar.gz) = 516196 bytes
+SHA1 (patch-aa) = 8f6ce061cd89cd34450e904d3a87e3508cf89847