ports/152230: [patch] databases/p5-DBD-mysql add optional SSL support
Emanuel Haupt
ehaupt at FreeBSD.org
Sun Nov 14 11:00:19 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list