ports/132081: No GNUTLS port make option for databases/freetds

Matthew Ekstrand-Abueg mattea at rescomp.berkeley.edu
Wed Feb 25 01:30:02 UTC 2009


>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:



More information about the freebsd-ports-bugs mailing list