ports/137886: scrollz fails to compile with any SSL (gnutls config script changed and no openssl option)
Philip Kizer
pckizer at nostrum.com
Mon Aug 17 22:10:02 UTC 2009
>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 at 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:
<ftp://ftp.debian.org/debian/pool/main/s/scrollz/scrollz_2.0-1.diff.gz>
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:
More information about the freebsd-ports-bugs
mailing list