Update ucspi-ssl to Erwin Hoffman's version, which includes IPv6 and TLS support. Deprecate ucspi-ssl-tls port.

This commit is contained in:
David Thiel 2017-03-20 18:18:51 +00:00
parent 0bc83f30f7
commit bba1ae753a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=436557
6 changed files with 31 additions and 56 deletions

1
MOVED
View file

@ -9143,3 +9143,4 @@ devel/rubygem-devise-rails4|devel/rubygem-devise|2017-03-16|Has expired: Please
textproc/rubygem-github-markdown||2017-03-16|Has expired: This gem is not maintained and not supported by upstream
chinese/irssi|irc/irssi|2017-03-17|Use irc/irssi, which can handle Chinese locales
archivers/macutils||2017-03-19|Has expired: Not maintained in 16 years, many missing header inclusions
sysutils/ucspi-ssl-tls|sysutils/ucspi-ssl|2017-03-20|Current ucspi-ssl supports TLS

View file

@ -1173,7 +1173,6 @@
SUBDIR += ucspi-ipc
SUBDIR += ucspi-proxy
SUBDIR += ucspi-ssl
SUBDIR += ucspi-ssl-tls
SUBDIR += ucspi-tcp
SUBDIR += ucspi-unix
SUBDIR += udfclient

View file

@ -1,19 +0,0 @@
# $FreeBSD$
PORTREVISION= 4
PORTEPOCH= 0
PKGNAMESUFFIX= -tls
MAINTAINER= ports@FreeBSD.org
COMMENT= UCSPI tools for building SSL client-server applications w/ TLS support
CONFLICTS= ucspi-ssl-[0-9]*
PATCH_SITES+= http://www.fehcom.de/qmail/spamcontrol/:tls \
LOCAL/garga/ucspi-ssl/:tls
PATCHFILES+= ucspi-ssl-0.70_ucspitls-0.6.patch_:tls
PATCH_WRKSRC= ${WRKSRC}/src
MASTERDIR= ${.CURDIR}/../ucspi-ssl
.include "${MASTERDIR}/Makefile"

View file

@ -2,47 +2,39 @@
# $FreeBSD$
PORTNAME= ucspi-ssl
PORTVERSION?= 0.70
PORTREVISION= 1
PORTVERSION= 0.99
CATEGORIES= sysutils
MASTER_SITES= LOCAL/garga/ucspi-ssl \
http://www.superscript.com/ucspi-ssl/ \
http://dev.qmailrocks.org/downloads/qmailrocks_3.0-beta/ \
GENTOO
MASTER_SITES= http://www.fehcom.de/ipnet/ucspi-ssl/
MAINTAINER?= lx@FreeBSD.org
COMMENT?= UCSPI tools for building SSL client-server applications
MAINTAINER= lx@FreeBSD.org
COMMENT= UCSPI tools for building SSL client-server applications
RUN_DEPENDS= tcpserver:sysutils/ucspi-tcp \
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
CONFLICTS?= ucspi-ssl-tls-[0-9]*
USES= perl5 ssl
USES= perl5 ssl tar:tgz
CFLAGS+= -I${OPENSSLINC}
PORTDOCS= CHANGES TODO UCSPI-SSL
PORTDOCS= CERTS CHAIN-SSL CHANGES TODO UCSPI-SSL
WRKSRC= ${WRKDIR}/host/superscript.com/net/${DISTNAME}
SCRIPTS_TO_INSTALL= https@ sslcat sslconnect
post-patch:
${REINPLACE_CMD} -e "s|\(-lssl -lcrypto\)|-L${OPENSSLLIB} \1|g" \
${WRKSRC}/src/ssl.lib
.for x in ${SCRIPTS_TO_INSTALL}
@${REINPLACE_CMD} -i '' -e 's|HOME/command/|${PREFIX}/bin/|' \
${WRKSRC}/src/${x}.sh
.endfor
do-configure:
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-ld
${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/src/conf-home
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/src/conf-tcpbin
${ECHO_CMD} "/etc/ssl" > ${WRKSRC}/src/conf-cadir
${ECHO_CMD} "/etc/ssl/cert.pem" > ${WRKSRC}/src/conf-cafile
${ECHO_CMD} "/etc/ssl/dh1024.pem" > ${WRKSRC}/src/conf-dhfile
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-tcpbin
${ECHO_CMD} "/etc/ssl" > ${WRKSRC}/conf-cadir
${ECHO_CMD} "/etc/ssl/cert.pem" > ${WRKSRC}/conf-cafile
${ECHO_CMD} "/etc/ssl/dh1024.pem" > ${WRKSRC}/conf-dhfile
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} package/compile
@ -55,6 +47,6 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/command/${x} ${STAGEDIR}${PREFIX}/bin
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/src && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View file

@ -1,4 +1,3 @@
SHA256 (ucspi-ssl-0.70.tar.gz) = 8834aaa83a6862457c853818ce829291285043a553d4466671c05663bc580cf5
SIZE (ucspi-ssl-0.70.tar.gz) = 85111
SHA256 (ucspi-ssl-0.70_ucspitls-0.6.patch_) = 35ae45bd17a9ecb9cd79c25a751af47af787189c8b833b26d464b47bed1472ac
SIZE (ucspi-ssl-0.70_ucspitls-0.6.patch_) = 12351
TIMESTAMP = 1490029311
SHA256 (ucspi-ssl-0.99.tgz) = 083421b4da939221e01f3e576a3d7c7d49c78ab46e782ef31f6310e8a847d6c3
SIZE (ucspi-ssl-0.99.tgz) = 112640

View file

@ -1,14 +1,17 @@
sslserver and sslclient are command-line tools for building SSL
client-server applications. They conform to the UNIX Client-Server
sslserver, sslclient, and sslhandle 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.
sslserver listens for IPv6 and/or IPv4 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 supporting CIDR IP address notation. sslserver supports
STARTTLS and STLS.
sslclient requests a connection to a TCP socket, and runs a program. The
program environment includes the same variables as for sslserver.
sslclient requests a connection to either a IPv6 or IPv4 TCP sockets,
and runs a program. The program environment includes the same variables
as for sslserver.
WWW: http://www.superscript.com/ucspi-ssl/intro.html
WWW: http://www.fehcom.de/ipnet/ucspi-ssl.html