summaryrefslogtreecommitdiff
path: root/security/opencdk
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-05-14 03:16:23 +0000
committersalo <salo@pkgsrc.org>2003-05-14 03:16:23 +0000
commit436cec638be992e985742a62e984c8a002a57280 (patch)
tree698c8d042d47a61ed2a952844053f636091e95fa /security/opencdk
parent15690631471e5de63c60bff52e85e5bdf3b88faa (diff)
downloadpkgsrc-436cec638be992e985742a62e984c8a002a57280.tar.gz
Import of opencdk-0.4.5: Open Crypto Development Kit.
OpenCDK (Open Crypto Development Kit) provides basic parts of the OpenPGP message format. The aim of the library is *not* to replace any available OpenPGP version. There will be no real support for key management (sign, revoke, alter preferences, ...) and some other parts are only rudimentary available. The main purpose is to handle and understand OpenPGP packets and to use basic operations. For example to encrypt/decrypt or to sign/verify and packet routines. Provided by Juan RP via pkgsrc-wip with some modifications by me.
Diffstat (limited to 'security/opencdk')
-rw-r--r--security/opencdk/DESCR7
-rw-r--r--security/opencdk/Makefile36
-rw-r--r--security/opencdk/PLIST20
-rw-r--r--security/opencdk/buildlink2.mk27
-rw-r--r--security/opencdk/distinfo4
5 files changed, 94 insertions, 0 deletions
diff --git a/security/opencdk/DESCR b/security/opencdk/DESCR
new file mode 100644
index 00000000000..d97c3dc8a93
--- /dev/null
+++ b/security/opencdk/DESCR
@@ -0,0 +1,7 @@
+OpenCDK (Open Crypto Development Kit) provides basic parts of the OpenPGP
+message format. The aim of the library is *not* to replace any available
+OpenPGP version. There will be no real support for key management (sign,
+revoke, alter preferences, ...) and some other parts are only rudimentary
+available. The main purpose is to handle and understand OpenPGP packets and
+to use basic operations. For example to encrypt/decrypt or to sign/verify
+and packet routines.
diff --git a/security/opencdk/Makefile b/security/opencdk/Makefile
new file mode 100644
index 00000000000..1f028adecd5
--- /dev/null
+++ b/security/opencdk/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/05/14 03:16:23 salo Exp $
+#
+
+DISTNAME= opencdk-0.4.5
+CATEGORIES= security devel
+MASTER_SITES= ftp://ftp.gnutls.org/pub/gnutls/opencdk/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.gnutls.org/
+COMMENT= Open Crypto Development Kit
+
+USE_BUILDLINK2= YES
+USE_LIBTOOL= YES
+GNU_CONFIGURE= YES
+USE_PERL5= build
+
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+REPLACE_PERL= doc/gdoc
+
+DOCDIR= ${PREFIX}/share/doc/opencdk
+EGDIR= ${PREFIX}/share/examples/opencdk
+HTMLDIR= ${PREFIX}/share/doc/html/opencdk
+
+pre-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/DETAILS ${DOCDIR}
+ ${INSTALL_DATA_DIR} ${HTMLDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/opencdk-api.html ${HTMLDIR}
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ cd ${WRKSRC}/tests && ${INSTALL_DATA} *.gpg *.c ${EGDIR}
+
+.include "../../devel/zlib/buildlink2.mk"
+.include "../../lang/perl5/buildlink2.mk"
+.include "../../security/libgcrypt/buildlink2.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/opencdk/PLIST b/security/opencdk/PLIST
new file mode 100644
index 00000000000..55eb411feb8
--- /dev/null
+++ b/security/opencdk/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/05/14 03:16:23 salo Exp $
+bin/opencdk-config
+include/opencdk.h
+lib/libopencdk.a
+lib/libopencdk.la
+lib/libopencdk.so
+lib/libopencdk.so.6
+lib/libopencdk.so.6.1
+share/doc/html/opencdk/opencdk-api.html
+share/doc/opencdk/DETAILS
+share/examples/opencdk/minpg.c
+share/examples/opencdk/pub.gpg
+share/examples/opencdk/sec-with-pwd.gpg
+share/examples/opencdk/sec.gpg
+share/examples/opencdk/t-stream.c
+share/examples/opencdk/ts.gpg
+share/examples/opencdk/wkold.gpg
+@dirrm share/examples/opencdk
+@dirrm share/doc/opencdk
+@dirrm share/doc/html/opencdk
diff --git a/security/opencdk/buildlink2.mk b/security/opencdk/buildlink2.mk
new file mode 100644
index 00000000000..3976ad170c4
--- /dev/null
+++ b/security/opencdk/buildlink2.mk
@@ -0,0 +1,27 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/05/14 03:16:23 salo Exp $
+#
+# This Makefile fragment is included by packages that use opencdk.
+#
+# This file was created automatically using createbuildlink 2.6.
+#
+
+.if !defined(OPENCDK_BUILDLINK2_MK)
+OPENCDK_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= opencdk
+BUILDLINK_DEPENDS.opencdk?= opencdk>=0.4.5
+BUILDLINK_PKGSRCDIR.opencdk?= ../../wip/opencdk
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.opencdk=opencdk
+BUILDLINK_PREFIX.opencdk_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.opencdk+= include/opencdk.h
+BUILDLINK_FILES.opencdk+= lib/libopencdk.*
+
+.include "../../devel/zlib/buildlink2.mk"
+.include "../../security/libgcrypt/buildlink2.mk"
+
+BUILDLINK_TARGETS+= opencdk-buildlink
+
+opencdk-buildlink: _BUILDLINK_USE
+
+.endif # OPENCDK_BUILDLINK2_MK
diff --git a/security/opencdk/distinfo b/security/opencdk/distinfo
new file mode 100644
index 00000000000..fc5d56d3c1f
--- /dev/null
+++ b/security/opencdk/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/05/14 03:16:23 salo Exp $
+
+SHA1 (opencdk-0.4.5.tar.gz) = 2736a64c871e69cf3799959229e59a92528608bf
+Size (opencdk-0.4.5.tar.gz) = 331641 bytes