Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 2010 11:50:12 +0100 (CET)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/152230: [patch] databases/p5-DBD-mysql add optional SSL support
Message-ID:  <201011141050.oAEAoBnR028373@freefall.freebsd.org>
Resent-Message-ID: <201011141100.oAEB0Hke037062@freefall.freebsd.org>

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

>Number:         152230
>Category:       ports
>Synopsis:       [patch] databases/p5-DBD-mysql add optional SSL support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 14 11:00:16 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Emanuel Haupt
>Release:        FreeBSD 8.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #44 r209978: Tue Jul 13 08:42:03 UTC 2010 simon@freefall.freebsd.org:/usr/src/sys/i386/compile/FREEFALL i386


	
>Description:
Add optional ssl support for databases/p5-DBD-mysql
>How-To-Repeat:
	
>Fix:

	

--- p5-DBD-mysql.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/p5-DBD-mysql/Makefile,v
retrieving revision 1.77
diff -u -r1.77 Makefile
--- Makefile	1 Sep 2010 09:43:55 -0000	1.77
+++ Makefile	14 Nov 2010 10:47:23 -0000
@@ -26,4 +26,13 @@
 
 MAN3=	Bundle::DBD::mysql.3 DBD::mysql.3 DBD::mysql::INSTALL.3
 
-.include <bsd.port.mk>
+OPTIONS=	SSL	"build with OpenSSL support" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_SSL)
+CONFIGURE_ARGS+=	--ssl
+RUN_DEPENDS+=		p5-security/p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay
+.endif
+
+.include <bsd.port.post.mk>
--- p5-DBD-mysql.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?201011141050.oAEAoBnR028373>