Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2009 16:53:15 -0800 (PST)
From:      Matthew Ekstrand-Abueg <mattea@rescomp.berkeley.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/132081: No GNUTLS port make option for databases/freetds
Message-ID:  <200902250053.n1P0rFHE086415@yakko.housing.berkeley.edu>
Resent-Message-ID: <200902250130.n1P1U2cD041161@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         132081
>Category:       ports
>Synopsis:       No GNUTLS port make option for databases/freetds
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 25 01:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Ekstrand-Abueg
>Release:        FreeBSD 7.0-RELEASE-p6 amd64
>Organization:
RSSP-IT, UC Berkeley
>Environment:
>Description:
    freetds-6.4 allows gnutls support if configured with --with-gnutls, but
    there is no configuration option for this in the port makefile.  So I am
    simply proposing an addition of a make argument to add that configure flag
    and adding a dependency for gnutls to match.

    The reason this was needed was for encryption support with MSSQL 2005,
    which wasn't working with OPENSSL, but works with GNUTLS (has been reported
    to be true on other systems as well).
>How-To-Repeat:
>Fix:

	

--- freetds.patch begins here ---
--- Makefile	2009-02-23 17:03:09.000000000 -0800
+++ Makefile.patched	2009-02-23 17:02:40.000000000 -0800
@@ -34,6 +34,11 @@
 CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
 .endif
 
+.if defined(WITH_GNUTLS)
+LIB_DEPENDS+=	gnutls:${PORTSDIR}/security/gnutls
+CONFIGURE_ARGS+=--with-gnutls
+.endif
+
 .if defined(WITH_IODBC)
 LIB_DEPENDS+=	iodbc:${PORTSDIR}/databases/libiodbc
 CONFIGURE_ARGS+=	--with-iodbc=${LOCALBASE}
--- freetds.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902250053.n1P0rFHE086415>