pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ucspi-ssl Initial import of ucspi-ssl, a set of co...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0c6f6e650db7
branches:  trunk
changeset: 506089:0c6f6e650db7
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Jan 11 20:17:58 2006 +0000

description:
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:

 net/ucspi-ssl/DESCR      |  13 ++++++++++
 net/ucspi-ssl/Makefile   |  59 ++++++++++++++++++++++++++++++++++++++++++++++++
 net/ucspi-ssl/PLIST      |  11 ++++++++
 net/ucspi-ssl/distinfo   |   8 ++++++
 net/ucspi-ssl/options.mk |  13 ++++++++++
 5 files changed, 104 insertions(+), 0 deletions(-)

diffs (124 lines):

diff -r 76b75a0039fd -r 0c6f6e650db7 net/ucspi-ssl/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ucspi-ssl/DESCR       Wed Jan 11 20:17:58 2006 +0000
@@ -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 -r 76b75a0039fd -r 0c6f6e650db7 net/ucspi-ssl/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ucspi-ssl/Makefile    Wed Jan 11 20:17:58 2006 +0000
@@ -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@localhost
+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 -r 76b75a0039fd -r 0c6f6e650db7 net/ucspi-ssl/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ucspi-ssl/PLIST       Wed Jan 11 20:17:58 2006 +0000
@@ -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 -r 76b75a0039fd -r 0c6f6e650db7 net/ucspi-ssl/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ucspi-ssl/distinfo    Wed Jan 11 20:17:58 2006 +0000
@@ -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 -r 76b75a0039fd -r 0c6f6e650db7 net/ucspi-ssl/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ucspi-ssl/options.mk  Wed Jan 11 20:17:58 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index