Add SSL Knob to database/freetds to enable encryption

Anish Mistry amistry at am-productions.biz
Fri Oct 5 11:00:20 PDT 2007


>Submitter-Id:	current-users 
>Originator:	Anish Mistry 
>Organization:	AM Productions 
>Confidential:	no 
>Synopsis:	Add SSL Knob to database/freetds to enable encryption 
>Severity:	non-critical 
>Priority:	low 
>Category:	ports 
>Class:		change-request 
>Release:	FreeBSD 6.2-RELEASE-p2 i386 
>Environment:


System: FreeBSD 6.2-RELEASE-p2 #0: Tue Jul 31 13:27:00 EDT 2007
    amistry at bigguy.am-productions.biz:/usr/home/amistry/storage/temp/usr/home/amistry/windows-share/build/src/sys/BIGGUY



>Description:


FreeTDS support SSL encryption, but currently there is no knob to enable it.


>How-To-Repeat:





>Fix:


--- Makefile.diff begins here ---
--- Makefile.orig	Fri Oct  5 13:30:37 2007
+++ Makefile	Fri Oct  5 13:32:30 2007
@@ -28,6 +28,11 @@
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
 MAN1=		datacopy.1 freebcp.1 tsql.1 bsqldb.1 defncopy.1
 
+.if defined(WITH_OPENSSL)
+USE_OPENSSL=    yes
+CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
+.endif
+
 .if defined(WITH_IODBC)
 LIB_DEPENDS+=	iodbc:${PORTSDIR}/databases/libiodbc
 CONFIGURE_ARGS+=	--with-iodbc=${LOCALBASE}
--- Makefile.diff ends here ---





More information about the freebsd-ports mailing list