diff options
author | schmonz <schmonz@pkgsrc.org> | 2006-01-11 20:17:58 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2006-01-11 20:17:58 +0000 |
commit | e9e64bb9660163bc6007f766acb78d06c07851fa (patch) | |
tree | 6984cc64e4d1e89b574af1fe05017eebef01c462 /net | |
parent | c62d942d9b43e8ea8b3f870c36e041f3ce2d8877 (diff) | |
download | pkgsrc-e9e64bb9660163bc6007f766acb78d06c07851fa.tar.gz |
Initial import of ucspi-ssl, a set of command-line tools for SSL
client-server applications. They conform to the UNIX Client-Server
Program Interface, UCSPI.
sslserver listens for connections, and runs a program for each
connection it accepts. The program environment includes variables
that hold the local and remote host names, IP addresses, and port
numbers. sslserver offers a concurrency limit on acceptance of new
connections, and selective handling of connections based on client
identity.
sslclient requests a connection to a TCP socket, and runs a program.
The program environment includes the same variables as for sslserver.
The "tls" option applies Scott Gifford's patch to implement UCSPI-TLS
in sslserver.
Diffstat (limited to 'net')
-rw-r--r-- | net/ucspi-ssl/DESCR | 13 | ||||
-rw-r--r-- | net/ucspi-ssl/Makefile | 59 | ||||
-rw-r--r-- | net/ucspi-ssl/PLIST | 11 | ||||
-rw-r--r-- | net/ucspi-ssl/distinfo | 8 | ||||
-rw-r--r-- | net/ucspi-ssl/options.mk | 13 |
5 files changed, 104 insertions, 0 deletions
diff --git a/net/ucspi-ssl/DESCR b/net/ucspi-ssl/DESCR new file mode 100644 index 00000000000..7cb2d13e028 --- /dev/null +++ b/net/ucspi-ssl/DESCR @@ -0,0 +1,13 @@ +sslserver and sslclient are command-line tools for building SSL +client-server applications. They conform to the UNIX Client-Server +Program Interface, UCSPI. + +sslserver listens for connections, and runs a program for each +connection it accepts. The program environment includes variables +that hold the local and remote host names, IP addresses, and port +numbers. sslserver offers a concurrency limit on acceptance of new +connections, and selective handling of connections based on client +identity. + +sslclient requests a connection to a TCP socket, and runs a program. +The program environment includes the same variables as for sslserver. diff --git a/net/ucspi-ssl/Makefile b/net/ucspi-ssl/Makefile new file mode 100644 index 00000000000..e0dc5403025 --- /dev/null +++ b/net/ucspi-ssl/Makefile @@ -0,0 +1,59 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/01/11 20:17:58 schmonz Exp $ +# + +DISTNAME= ucspi-ssl-0.70 +CATEGORIES= net +MASTER_SITES= http://www.superscript.com/ucspi-ssl/ + +MAINTAINER= schmonz@NetBSD.org +HOMEPAGE= http://www.superscript.com/ucspi-ssl/intro.html +COMMENT= Command-line tools for SSL client-server applications + +DEPENDS+= ucspi-tcp-[0-9]*:../../net/ucspi-tcp + +WRKSRC= ${WRKDIR}/host/superscript.com/net/${PKGNAME_NOREV} +DJB_SLASHPACKAGE= YES + +USE_TOOLS+= perl:run + +SSL_SCRIPTS= https@ sslcat sslconnect + +SUBST_CLASSES+= paths +SUBST_STAGE.paths= do-configure +SUBST_FILES.paths= ${SSL_SCRIPTS:S/^/src\//g:S/$/.sh/g} +SUBST_SED.paths= -e 's|HOME/command/|${PREFIX}/bin/|g' +SUBST_MESSAGE.paths= "Fixing paths." + +DJB_CONFIG_CMDS= \ + ${ECHO} ${LOCALBASE}/bin > conf-tcpbin; \ + ${ECHO} > conf-ssl; \ + ${ECHO} ${PERL5} > conf-perl; \ + ${ECHO} ${PKG_SYSCONFDIR} > conf-cadir + +.include "../../mk/bsd.prefs.mk" + +# from ../../security/openssl/Makefile +.if ${OPSYS} == "NetBSD" +PKG_SYSCONFDIR.ucspi-ssl?= /etc/openssl +.endif +PKG_SYSCONFSUBDIR= openssl + +INSTALLATION_DIRS= bin share/doc/ucspi-ssl + +do-install: +. for i in ${SSL_SCRIPTS} + ${INSTALL_SCRIPT} ${WRKSRC}/command/${i} ${PREFIX}/bin +. endfor + +. for i in sslclient sslserver sslperl + ${INSTALL_PROGRAM} ${WRKSRC}/command/${i} ${PREFIX}/bin +. endfor + +. for i in CHANGES TODO UCSPI-SSL + ${INSTALL_DATA} ${WRKSRC}/src/${i} ${PREFIX}/share/doc/ucspi-ssl +. endfor + +.include "../../lang/perl5/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" +.include "../../mk/djbware.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/ucspi-ssl/PLIST b/net/ucspi-ssl/PLIST new file mode 100644 index 00000000000..73d8d363af8 --- /dev/null +++ b/net/ucspi-ssl/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/01/11 20:17:58 schmonz Exp $ +bin/https@ +bin/sslcat +bin/sslclient +bin/sslconnect +bin/sslperl +bin/sslserver +share/doc/ucspi-ssl/CHANGES +share/doc/ucspi-ssl/TODO +share/doc/ucspi-ssl/UCSPI-SSL +@dirrm share/doc/ucspi-ssl diff --git a/net/ucspi-ssl/distinfo b/net/ucspi-ssl/distinfo new file mode 100644 index 00000000000..5594425552a --- /dev/null +++ b/net/ucspi-ssl/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/01/11 20:17:58 schmonz Exp $ + +SHA1 (ucspi-ssl-0.70.tar.gz) = 56466bc4a7272ebd937f4ae20dbdcce30235be27 +RMD160 (ucspi-ssl-0.70.tar.gz) = 68e8118b954e0f626b8fede95f562bdaa1f72659 +Size (ucspi-ssl-0.70.tar.gz) = 85111 bytes +SHA1 (ucspi-ssl-0.70-ucspitls-0.1.patch) = f49b9363ae69698c925aba4d3eb76ffce58f4e5b +RMD160 (ucspi-ssl-0.70-ucspitls-0.1.patch) = 83f6dda689d3c5713d034c100dc09d6fc199dc0c +Size (ucspi-ssl-0.70-ucspitls-0.1.patch) = 11967 bytes diff --git a/net/ucspi-ssl/options.mk b/net/ucspi-ssl/options.mk new file mode 100644 index 00000000000..8bfa7c78033 --- /dev/null +++ b/net/ucspi-ssl/options.mk @@ -0,0 +1,13 @@ +# $NetBSD: options.mk,v 1.1.1.1 2006/01/11 20:17:58 schmonz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.ucspi-ssl +PKG_SUPPORTED_OPTIONS+= tls + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mtls) +TLS_PATCH= ucspi-ssl-0.70-ucspitls-0.1.patch +PATCHFILES+= ${TLS_PATCH} +SITES_${TLS_PATCH}= http://www.suspectclass.com/~sgifford/ucspi-tls/files/ +PATCH_DIST_STRIP.${TLS_PATCH}= -p1 +.endif |