Update to 99b, and honor DEFAULT_VERSIONS=ssl=openssl.

Reported by:	Allan Kintigh
This commit is contained in:
David Thiel 2017-07-19 19:36:41 +00:00
parent 618b391a02
commit c0d838587c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=446229
2 changed files with 10 additions and 5 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= ucspi-ssl
PORTVERSION= 0.99
PORTVERSION= 0.99b
CATEGORIES= sysutils
MASTER_SITES= http://www.fehcom.de/ipnet/ucspi-ssl/
@ -21,6 +21,8 @@ WRKSRC= ${WRKDIR}/host/superscript.com/net/${DISTNAME}
SCRIPTS_TO_INSTALL= https@ sslcat sslconnect
.include <bsd.port.pre.mk>
post-patch:
.for x in ${SCRIPTS_TO_INSTALL}
@${REINPLACE_CMD} -i '' -e 's|HOME/command/|${PREFIX}/bin/|' \
@ -35,6 +37,9 @@ do-configure:
${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
.if ${SSL_DEFAULT} != base
${ECHO_CMD} "-lssl -lcrypto -L${LOCALBASE}/lib" > ${WRKSRC}/conf-ssllib
.endif
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} package/compile
@ -49,4 +54,4 @@ do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1490029311
SHA256 (ucspi-ssl-0.99.tgz) = 083421b4da939221e01f3e576a3d7c7d49c78ab46e782ef31f6310e8a847d6c3
SIZE (ucspi-ssl-0.99.tgz) = 112640
TIMESTAMP = 1500491820
SHA256 (ucspi-ssl-0.99b.tgz) = 2a442474e78896203e66d5e5828d9a3c229aa6a083238dedd0f42bdafa3de50f
SIZE (ucspi-ssl-0.99b.tgz) = 112640