Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 2009 18:00:04 GMT
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/130897: [maintainer] databases/phpmyadmin211 -- drop the MYSQLI option
Message-ID:  <200901221800.n0MI04O9030301@happy-idiot-talk.infracaninophile.co.uk>
Resent-Message-ID: <200901221810.n0MIA1hI088063@freefall.freebsd.org>

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

>Number:         130897
>Category:       ports
>Synopsis:       [maintainer] databases/phpmyadmin211 -- drop the MYSQLI option
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 22 18:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Seaman
>Release:        FreeBSD 7.1-STABLE i386
>Organization:
Infracaninophile
>Environment:
System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 7.1-STABLE FreeBSD 7.1-STABLE #53: Mon Jan 19 23:37:23 GMT 2009 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386


	
>Description:

As pointed out in private e-mail by Alexander Voropay, the MYSQLI
option doesn't make any sense for the legacy version of phpmyadmin:
there's no php4-mysqli module and it only works with recent versions
of MySQL. People that want to use mysqli should be installing
databases/phpmyadmin instead.


>How-To-Repeat:
	
>Fix:

	

--- phpmyadmin211.diff begins here ---
diff -Nur /usr/ports/databases/phpmyadmin211/Makefile phpmyadmin211/Makefile
--- /usr/ports/databases/phpmyadmin211/Makefile	2008-12-13 13:06:59.000000000 +0000
+++ phpmyadmin211/Makefile	2009-01-22 17:49:31.000000000 +0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	phpMyAdmin211
 DISTVERSION=	2.11.9.4
+PORTREVISION=	1
 CATEGORIES=	databases www
 MASTER_SITES=	SF/phpmyadmin
 DISTNAME=	${PORTNAME:S/211//}-${DISTVERSION}-all-languages
@@ -71,7 +72,6 @@
 
 OPTIONS=	BZ2	 "bzip2 library support" on \
 		GD	 "GD library support" on \
-		MYSQLI	 "Improved MySQL support" off \
 		OPENSSL	 "OpenSSL support" on \
 		PDF	 "PDFlib support (implies GD)" on \
 		ZLIB	 "ZLIB support" on \
@@ -93,13 +93,6 @@
 USE_PHP+=	${opt:L}
 .    endif
 .endfor
-
-# Options that default to off:
-.for opt in MYSQLI
-.    if defined(WITH_${opt}) && !defined(WITHOUT_${opt})
-USE_PHP+=	${opt:L}
-.    endif
-.endfor
 .endif
 
 .include <bsd.port.pre.mk>
@@ -128,8 +121,8 @@
 	${ECHO_MSG} "    WITH_SUPHP=yes   Install appropriately for use with"
 	${ECHO_MSG} "                     the www/suphp port [default: no]"
 	${ECHO_MSG} ""
-	${ECHO_MSG} "Note that selecting the MYSQLI option will only work"
-	${ECHO_MSG} "with PHP5 and MySQL 4.1.x"
+	${ECHO_MSG} "Note that the mysqli option is not available with this"
+	${ECHO_MSG} "port.  Please use databases/phpmyadmin instead."
 	${ECHO_MSG} ""
 	${ECHO_MSG} "If you want to use PHP4, for best results, please"
 	${ECHO_MSG} "install lang/php4 before attempting to install"
--- phpmyadmin211.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901221800.n0MI04O9030301>