From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 21 02:10:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DD92295C for ; Tue, 21 Jan 2014 02:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B88BD13D7 for ; Tue, 21 Jan 2014 02:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0L2A0ot024636 for ; Tue, 21 Jan 2014 02:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0L2A0MF024635; Tue, 21 Jan 2014 02:10:00 GMT (envelope-from gnats) Resent-Date: Tue, 21 Jan 2014 02:10:00 GMT Resent-Message-Id: <201401210210.s0L2A0MF024635@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Claus Endres Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 32FDB937 for ; Tue, 21 Jan 2014 02:03:51 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1FAE513BF for ; Tue, 21 Jan 2014 02:03:51 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s0L23oF2066903 for ; Tue, 21 Jan 2014 02:03:50 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s0L23ooY066902; Tue, 21 Jan 2014 02:03:50 GMT (envelope-from nobody) Message-Id: <201401210203.s0L23ooY066902@oldred.freebsd.org> Date: Tue, 21 Jan 2014 02:03:50 GMT From: Claus Endres To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/185950: www/libmicrohttpd port not enabling htttps X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 02:10:01 -0000 >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 + +.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: