[Midnightbsd-cvs] mports: mports/security: Add opencdk, an optional dependancy for gnutls,
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Dec 29 20:32:07 EST 2007
Log Message:
-----------
Add opencdk, an optional dependancy for gnutls, etc.
Modified Files:
--------------
mports/security:
Makefile (r1.70 -> r1.71)
Added Files:
-----------
mports/security/opencdk:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
mports/security/opencdk/files:
patch-src::keyserver.c (r1.1)
-------------- next part --------------
--- /dev/null
+++ security/opencdk/pkg-descr
@@ -0,0 +1,15 @@
+OpenCDK - Open Crypto Development Kit
+
+This library 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.
+
+Hint: Because of the fact that sentensive data is used, the library
+ doesn't contain any real cryptographic code. For all crypto
+ routines we referring to the Libgcrypt library!
+
+WWW: http://www.gnutls.org/
--- /dev/null
+++ security/opencdk/pkg-plist
@@ -0,0 +1,23 @@
+ at comment $FreeBSD: ports/security/opencdk/pkg-plist,v 1.9 2007/02/14 12:09:24 novel Exp $
+bin/opencdk-config
+include/opencdk.h
+lib/libopencdk.a
+lib/libopencdk.la
+lib/libopencdk.so
+lib/libopencdk.so.9
+libdata/pkgconfig/opencdk.pc
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/THANKS
+%%PORTDOCS%%%%DOCSDIR%%/opencdk-api.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%EXAMPLESDIR%%/basic.c
+%%EXAMPLESDIR%%/minpg.c
+%%EXAMPLESDIR%%/pub.gpg
+%%EXAMPLESDIR%%/sec-with-pwd.gpg
+%%EXAMPLESDIR%%/sec.gpg
+%%EXAMPLESDIR%%/t-stream.c
+%%EXAMPLESDIR%%/ts.gpg
+%%EXAMPLESDIR%%/wkold.gpg
+ at dirrm %%EXAMPLESDIR%%
--- /dev/null
+++ security/opencdk/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: opencdk
+# Date created: 15 Jan 2003
+# Whom: Sergei Kolobov <sergei at kolobov.com>
+#
+# $MidnightBSD: mports/security/opencdk/Makefile,v 1.1 2007/12/30 01:32:04 laffer1 Exp $
+# $FreeBSD: ports/security/opencdk/Makefile,v 1.26 2007/02/14 12:09:24 novel Exp $
+#
+
+PORTNAME= opencdk
+PORTVERSION= 0.5.13
+PORTEPOCH= 1
+CATEGORIES= security
+MASTER_SITES= http://josefsson.org/gnutls/releases/opencdk/ \
+ ${MASTER_SITE_GNUPG} \
+ http://www.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
+ ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
+ ftp://ftp.gnutls.org/pub/gnutls/opencdk/
+MASTER_SITE_SUBDIR= alpha/gnutls/opencdk
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Open Crypto Development Kit
+
+LIB_DEPENDS= gcrypt.13:${PORTSDIR}/security/libgcrypt
+
+GNU_CONFIGURE= yes
+USE_GNOME= pkgconfig
+USE_LDCONFIG= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd6.0
+CONFIGURE_ARGS= --with-libgcrypt-prefix=${LOCALBASE}
+
+DOCS= AUTHORS NEWS README THANKS doc/opencdk-api.html
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' \
+ ${WRKSRC}/src/Makefile.in
+
+post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/tests/*.c ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/tests/*.gpg ${EXAMPLESDIR}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
--- /dev/null
+++ security/opencdk/distinfo
@@ -0,0 +1,3 @@
+MD5 (opencdk-0.5.13.tar.gz) = 65324874074ba7c67028b93979e6d1d9
+SHA256 (opencdk-0.5.13.tar.gz) = a37841a7f4edf94715f8f0d60bba6af80bae0f3760709622f3fef1c2e219130a
+SIZE (opencdk-0.5.13.tar.gz) = 597475
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/security/Makefile,v
retrieving revision 1.70
retrieving revision 1.71
diff -L security/Makefile -L security/Makefile -u -r1.70 -r1.71
--- security/Makefile
+++ security/Makefile
@@ -41,6 +41,7 @@
SUBDIR += nmap
SUBDIR += nmapfe
SUBDIR += nss
+ SUBDIR += opencdk
SUBDIR += openssh-portable
SUBDIR += openvpn
SUBDIR += p5-Authen-SASL
--- /dev/null
+++ security/opencdk/files/patch-src::keyserver.c
@@ -0,0 +1,10 @@
+--- src/keyserver.c.orig Wed Jan 15 16:52:09 2003
++++ src/keyserver.c Wed Jan 15 16:52:34 2003
+@@ -24,6 +24,7 @@
+ #endif
+ #include <stdio.h>
+ #ifdef HAVE_NETDB_H
++# include <sys/types.h>
+ # include <sys/socket.h>
+ # include <netinet/in.h>
+ # include <arpa/inet.h>
More information about the Midnightbsd-cvs
mailing list