Date: Tue, 13 Sep 2016 17:17:27 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r422041 - head/security/hydra Message-ID: <201609131717.u8DHHR8j067254@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Tue Sep 13 17:17:27 2016 New Revision: 422041 URL: https://svnweb.freebsd.org/changeset/ports/422041 Log: security/hydra: Configure for any SSL base and IGNORE LibreSSL Several symbols including RSA_get0_key are unreferenced while linking with LibreSSL so IGNORE this port if SSL_DEFAULT matches "libressl". Approved by: SSL blanket Modified: head/security/hydra/Makefile Modified: head/security/hydra/Makefile ============================================================================== --- head/security/hydra/Makefile Tue Sep 13 17:11:55 2016 (r422040) +++ head/security/hydra/Makefile Tue Sep 13 17:17:27 2016 (r422041) @@ -23,6 +23,8 @@ PLIST_FILES= bin/hydra bin/pw-inspector man/man1/hydra.1.gz man/man1/pw-inspector.1.gz GNU_CONFIGURE= yes USES= gmake localbase ssl +CONFIGURE_ARGS= --with-ssl=${OPENSSLINC} \ + --with-ssl-lib=${OPENSSLLIB} OPTIONS_DEFINE= FIREBIRD SSH SVN X11 OPTIONS_DEFAULT=SSH @@ -36,6 +38,12 @@ X11_LIB_DEPENDS= libfontconfig.so:x11-fo X11_USE= gnome=atk,cairo,gdkpixbuf2,glib20,gtk20,pango X11_PLIST_FILES= bin/xhydra man/man1/xhydra.1.gz +.include <bsd.port.pre.mk> + +.if ${SSL_DEFAULT:Mlibressl*} +IGNORE= Detected LibreSSL (missing RSA_get0_key and others) +.endif + post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|CC=gcc||; s|-O3|${CFLAGS}|;' \ @@ -52,4 +60,4 @@ post-install-X11-on: ${INSTALL_PROGRAM} ${WRKSRC}/hydra-gtk/src/xhydra ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/xhydra.1 ${STAGEDIR}${MANPREFIX}/man/man1 -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609131717.u8DHHR8j067254>