Skip site navigation (1)Skip section navigation (2)
Date:      15 Jan 2003 14:58:34 -0000
From:      Sergei Kolobov <sergei@kolobov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47103: [NEW PORT] security/opencdk: Open Crypto Development Kit
Message-ID:  <20030115145834.8329.qmail@outpost.globcon.net>

next in thread | raw e-mail | index | archive | help

>Number:         47103
>Category:       ports
>Synopsis:       [NEW PORT] security/opencdk: Open Crypto Development Kit
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 15 07:00:15 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Kolobov
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD outpost.globcon.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Mon Oct 14 02:23:23 MSD 2002     sgk@outpost.globcon.net:/data/FreeBSD/obj/data/FreeBSD/src/sys/OUTPOST  i386
>Description:
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/

This port is a part of GnuTLS (security/gnutls) framework.

>How-To-Repeat:
>Fix:

--- opencdk.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	opencdk
#	opencdk/Makefile
#	opencdk/files
#	opencdk/files/patch-src::keyserver.c
#	opencdk/distinfo
#	opencdk/pkg-comment
#	opencdk/pkg-descr
#	opencdk/pkg-plist
#
echo c - opencdk
mkdir -p opencdk > /dev/null 2>&1
echo x - opencdk/Makefile
sed 's/^X//' >opencdk/Makefile << 'END-of-opencdk/Makefile'
X# New ports collection makefile for:	opencdk
X# Date created:		15 Jan 2003
X# Whom:			Sergei Kolobov <sergei@kolobov.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	opencdk
XPORTVERSION=	0.4.1
XCATEGORIES=	security
XMASTER_SITES=	ftp://ftp.gnutls.org/pub/gnutls/opencdk/ \
X ftp://ftp.gnupg.org/pub/gcrypt/alpha/gnutls/opencdk/ \
X http://www.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
X ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/
X
XMAINTAINER=	sergei@kolobov.com
X
XLIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt \
X		gcrypt:${PORTSDIR}/security/libgcrypt
X
XUSE_LIBTOOL=	yes
XINSTALLS_SHLIB=	yes
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
X
XDOCS=		AUTHORS NEWS README THANKS
X
Xpost-install:
X	@${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/tests/*.c ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/tests/*.gpg ${EXAMPLESDIR}
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for file in ${DOCS}
X	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
X.endfor
X	${INSTALL_DATA} ${WRKSRC}/doc/opencdk-api.html ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-opencdk/Makefile
echo c - opencdk/files
mkdir -p opencdk/files > /dev/null 2>&1
echo x - opencdk/files/patch-src::keyserver.c
sed 's/^X//' >opencdk/files/patch-src::keyserver.c << 'END-of-opencdk/files/patch-src::keyserver.c'
X--- src/keyserver.c.orig	Wed Jan 15 16:52:09 2003
X+++ src/keyserver.c	Wed Jan 15 16:52:34 2003
X@@ -24,6 +24,7 @@
X #endif
X #include <stdio.h>
X #ifdef HAVE_NETDB_H
X+# include <sys/types.h>
X # include <sys/socket.h>
X # include <netinet/in.h>
X # include <arpa/inet.h>
END-of-opencdk/files/patch-src::keyserver.c
echo x - opencdk/distinfo
sed 's/^X//' >opencdk/distinfo << 'END-of-opencdk/distinfo'
XMD5 (opencdk-0.4.1.tar.gz) = 428f93034dbdbded596746c9656e270b
END-of-opencdk/distinfo
echo x - opencdk/pkg-comment
sed 's/^X//' >opencdk/pkg-comment << 'END-of-opencdk/pkg-comment'
XOpen Crypto Development Kit
END-of-opencdk/pkg-comment
echo x - opencdk/pkg-descr
sed 's/^X//' >opencdk/pkg-descr << 'END-of-opencdk/pkg-descr'
XOpenCDK - Open Crypto Development Kit
X
XThis library provides basic parts of the OpenPGP message format.
XThe aim of the library is *not* to replace any available OpenPGP version.
XThere will be no real support for key management (sign, revoke,
Xalter preferences, ...) and some other parts are only rudimentary
Xavailable. The main purpose is to handle and understand OpenPGP
Xpackets and to use basic operations. For example to encrypt/decrypt
Xor to sign/verify and packet routines.
X
XHint: Because of the fact that sentensive data is used, the library
X      doesn't contain any real cryptographic code. For all crypto
X      routines we referring to the Libgcrypt library!
X	
XWWW:	http://www.gnutls.org/
END-of-opencdk/pkg-descr
echo x - opencdk/pkg-plist
sed 's/^X//' >opencdk/pkg-plist << 'END-of-opencdk/pkg-plist'
Xbin/opencdk-config
Xinclude/opencdk.h
Xlib/libopencdk.so.5
Xlib/libopencdk.so
Xlib/libopencdk.la
Xlib/libopencdk.a
X%%PORTDOCS%%share/doc/opencdk/AUTHORS
X%%PORTDOCS%%share/doc/opencdk/NEWS
X%%PORTDOCS%%share/doc/opencdk/README
X%%PORTDOCS%%share/doc/opencdk/THANKS
X%%PORTDOCS%%share/doc/opencdk/opencdk-api.html
X%%PORTDOCS%%@dirrm share/doc/opencdk
Xshare/examples/opencdk/minpg.c
Xshare/examples/opencdk/pub.gpg
Xshare/examples/opencdk/sec-with-pwd.gpg
Xshare/examples/opencdk/sec.gpg
Xshare/examples/opencdk/t-stream.c
Xshare/examples/opencdk/ts.gpg
Xshare/examples/opencdk/wkold.gpg
X@dirrm share/examples/opencdk
END-of-opencdk/pkg-plist
exit
--- opencdk.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030115145834.8329.qmail>