From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 17 22:10:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 700AB106568C for ; Mon, 17 Aug 2009 22:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4AA2A8FC6D for ; Mon, 17 Aug 2009 22:10:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7HMA17o094974 for ; Mon, 17 Aug 2009 22:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7HMA13J094973; Mon, 17 Aug 2009 22:10:01 GMT (envelope-from gnats) Resent-Date: Mon, 17 Aug 2009 22:10:01 GMT Resent-Message-Id: <200908172210.n7HMA13J094973@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, Philip Kizer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73017106568B for ; Mon, 17 Aug 2009 22:07:00 +0000 (UTC) (envelope-from pckizer@nostrum.com) Received: from nostrum.com (nostrum-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:267::2]) by mx1.freebsd.org (Postfix) with ESMTP id 29E878FC43 for ; Mon, 17 Aug 2009 22:06:59 +0000 (UTC) Received: from shaman.nostrum.com (pckizer@localhost.nostrum.com [127.0.0.1]) by nostrum.com (8.14.3/8.14.3) with ESMTP id n7HM6wPs079733 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 17 Aug 2009 17:06:59 -0500 (CDT) (envelope-from pckizer@shaman.nostrum.com) Received: (from pckizer@localhost) by shaman.nostrum.com (8.14.3/8.14.3/Submit) id n7HM6wUO079732; Mon, 17 Aug 2009 17:06:58 -0500 (CDT) (envelope-from pckizer) Message-Id: <200908172206.n7HM6wUO079732@shaman.nostrum.com> Date: Mon, 17 Aug 2009 17:06:58 -0500 (CDT) From: Philip Kizer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/137886: scrollz fails to compile with any SSL (gnutls config script changed and no openssl option) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Philip Kizer List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2009 22:10:02 -0000 >Number: 137886 >Category: ports >Synopsis: scrollz fails to compile with any SSL (gnutls config script changed and no openssl option) >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: Mon Aug 17 22:10:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Philip Kizer >Release: FreeBSD 6.4-STABLE i386 >Organization: n/a >Environment: System: FreeBSD shaman.nostrum.com 6.4-STABLE FreeBSD 6.4-STABLE #19: Mon Dec 29 14:51:15 CST 2008 root@shaman:/usr/obj/usr/src/sys/CUSTOM i386 # portversion -FOv scrollz\* gnutls\* gnutls-2.8.3 = up-to-date with port scrollz-2.0_1 = up-to-date with port >Description: When trying to compile scrollz using WITH_SSL=1, the configure script get the following: checking whether to enable SSL... yes checking for GNU TLS... libgnutls-config: not found no checking whether to enable OpenSSL... no That is because that version of scrolls is still trying to use: libgnutls-config --version and the newer version of gnutls expect the following to be used: pkg-config --exists gnutls Additionally, there is no irc/scrollz/Makefile option to enable OpenSSL rather than GnuTLS. >How-To-Repeat: # cd /usr/ports/irc/scrollz # make WITH_SSL=yes >Fix: There is a patch for updating ScrollZ to use the newer GnuTLS configure mechanism at: that I have played with, but not added as a patch. Preferable for me, though, I have also enabled SSL via OpenSSL with the following Makefile addition: --- Makefile.orig 2009-08-17 16:17:39.000000000 -0500 +++ Makefile 2009-08-17 16:08:29.000000000 -0500 @@ -33,6 +33,10 @@ CONFIGURE_ARGS+= --with-ssl .endif +.if defined(WITH_OPENSSL) +CONFIGURE_ARGS+= --with-openssl +.endif + pre-build: .if !defined(BATCH) @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} -o SZdist SZdist.c) >Release-Note: >Audit-Trail: >Unformatted: