Date: Tue, 21 Jan 2014 02:03:50 GMT From: Claus Endres <claus@endresconsulting.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/185950: www/libmicrohttpd port not enabling htttps Message-ID: <201401210203.s0L23ooY066902@oldred.freebsd.org> Resent-Message-ID: <201401210210.s0L2A0MF024635@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 185950 >Category: ports >Synopsis: www/libmicrohttpd port not enabling htttps >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 21 02:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Claus Endres >Release: 9.2-STABLE >Organization: Endres Consulting Pty Ltd >Environment: FreeBSD monitor1.mov.vic.gov.au 9.2-STABLE FreeBSD 9.2-STABLE #0 r259211: Wed Dec 11 20:18:00 EST 2013 claus@monitor1.mov.vic.gov.au:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The makefile of the port of www/libmicrohttpd does not handle the GNUTLS option correctly, resulting in HTTPS being disabled. >How-To-Repeat: build www/libmicrohttpd with GNUTLS option, and check build results. Among other things, src/examples/https_fileserver_example will not be built. >Fix: Patch attached with submission follows: --- www/libmicrohttpd/Makefile.orig 2014-01-17 15:54:39.000000000 +1100 +++ www/libmicrohttpd/Makefile 2014-01-17 20:15:03.000000000 +1100 @@ -17,9 +17,13 @@ MAKE_ARGS+= pkgconfigdir=${PREFIX}/libdata/pkgconfig USE_LDCONFIG= yes -GNUTLS_LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \ +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MGNUTLS} +LIB_DEPENDS+= libgcrypt.so:${PORTSDIR}/security/libgcrypt \ libgnutls.so:${PORTSDIR}/security/gnutls -GNUTLS_CONFIGURE_ARGS= --with-gnutls=${LOCALBASE} --enable-https +CONFIGURE_ARGS+= --with-libgcrypt-prefix=${LOCALBASE} --with-gnutls=${LOCALBASE} --enable-https=yes +.endif INFO= libmicrohttpd libmicrohttpd-tutorial >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401210203.s0L23ooY066902>