Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2010 01:59:27 +0800 (CST)
From:      Joe Horn <joehorn@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        itetcu@FreeBSD.org
Subject:   ports/143730: [PATCH] mail/dspam: Add support for MySQL 5.5
Message-ID:  <20100210175927.6C10D4DFC5A@Leo.mi.chu.edu.tw>
Resent-Message-ID: <201002101800.o1AI03ek000641@freefall.freebsd.org>

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

>Number:         143730
>Category:       ports
>Synopsis:       [PATCH] mail/dspam: Add support for MySQL 5.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 10 18:00:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Joe Horn
>Release:        FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
Taiwanese User
>Environment:
System: FreeBSD joehorn.idv.tw 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #1: Fri Jan  8 23:08:25 CST
>Description:
- Add support for MySQL 5.5
- Bump PORTREVISION

Port maintainer (itetcu@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- dspam-3.9.0_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/dspam/Makefile /home/admin/joehorn/dspam/Makefile
--- /usr/ports/mail/dspam/Makefile	2010-01-20 02:25:26.000000000 +0800
+++ /home/admin/joehorn/dspam/Makefile	2010-02-11 01:55:50.000000000 +0800
@@ -12,6 +12,7 @@
 
 PORTNAME=	dspam
 PORTVERSION=	3.9.0
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	SF \
 		http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/
@@ -39,6 +40,7 @@
 OPTIONS+=	MYSQL41 "Use MySQL 4.1.x as back-end" off
 OPTIONS+=	MYSQL50 "Use MySQL 5.0.x as back-end" on
 OPTIONS+=	MYSQL51 "Use MySQL 5.1.x as back-end" off
+OPTIONS+=	MYSQL55 "Use MySQL 5.5.x as back-end" off
 OPTIONS+=	MYSQL_COMPRESS "Compress dspam <--> MySQL" off
 OPTIONS+=	MYSQL_LOCAL "RUN_DEPEND on selected MySQL server ver." off
 OPTIONS+=	POSTGRESQL "Use PostgreSQL as back-end" on
@@ -250,10 +252,13 @@
 .elifdef(WITH_MYSQL51)
 WANT_MYSQL_VER=	51
 #PKGNAMESUFFIX=	-mysql51
+.elifdef(WITH_MYSQL55)
+WANT_MYSQL_VER=	55
+#PKGNAMESUFFIX=	-mysql55
 .endif
 
 .if defined(WITH_MYSQL40) || defined(WITH_MYSQL41) || \
-	!defined(WITHOUT_MYSQL50) || defined(WITH_MYSQL51)
+	!defined(WITHOUT_MYSQL50) || defined(WITH_MYSQL51) || defined(WITH_MYSQL55)
 USE_MYSQL=	yes
 CONFIGURE_ARGS+=	--with-mysql-includes=${LOCALBASE}/include/mysql \
 		--with-mysql-libraries=${LOCALBASE}/lib/mysql
--- dspam-3.9.0_1.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?20100210175927.6C10D4DFC5A>