ports/77284: Update port: databases/py-MySQLdb new default options
Marcus Grando
marcus at corp.grupos.com.br
Wed Feb 9 17:10:27 UTC 2005
The following reply was made to PR ports/77284; it has been noted by GNATS.
From: Marcus Grando <marcus at corp.grupos.com.br>
To: freebsd-gnats-submit at FreeBSD.org
Cc:
Subject: Re: ports/77284: Update port: databases/py-MySQLdb new default options
Date: Wed, 09 Feb 2005 15:04:54 -0200
This is a multi-part message in MIME format.
--------------090209090900020600050208
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Update port: databases/py-MySQLdb new default options
- Change default mysql lib to libmysqlclient_r.
WITHOUT_MYSQLCLIENT_R=yes use libmysqlclient.
- Update very old pkg-descr
Attached
--
Marcus Grando
Grupos Internet S/A
marcus(at)corp.grupos.com.br
--------------090209090900020600050208
Content-Type: text/plain;
name="py-MySQLdb.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="py-MySQLdb.patch"
diff -ruN py-MySQLdb.old/Makefile py-MySQLdb/Makefile
--- py-MySQLdb.old/Makefile Tue Feb 8 20:14:31 2005
+++ py-MySQLdb/Makefile Wed Feb 9 14:59:57 2005
@@ -27,12 +27,13 @@
@${ECHO} ""
@${ECHO} "You may use the following build options:"
@${ECHO} ""
- @${ECHO} " WITH_MYSQLCLIENT_R=yes Use mysqlclient_r lib"
+ @${ECHO} " WITHOUT_MYSQLCLIENT_R=yes Don't use mysqlclient_r lib"
+ @${ECHO} " but is not guarantee thread-safe."
+ @${ECHO} ""
+ @${ECHO} " Default use mysqlclient_r"
@${ECHO} ""
-.if defined(WITH_MYSQLCLIENT_R)
-MAKE_ENV+= mysqlclient="mysqlclient_r"
-.else
+.if defined(WITHOUT_MYSQLCLIENT_R)
MAKE_ENV+= mysqlclient="mysqlclient"
.endif
diff -ruN py-MySQLdb.old/pkg-descr py-MySQLdb/pkg-descr
--- py-MySQLdb.old/pkg-descr Sat May 8 01:17:38 2004
+++ py-MySQLdb/pkg-descr Wed Feb 9 15:00:46 2005
@@ -1,15 +1,17 @@
-You can easily access a MySQL database through the Python MySQL module.
+Python interface to MySQL
-This module should be mostly compatible with an older interface written by
-Joe Skinner and others. However, the older version is
+MySQLdb is an interface to the popular MySQL database server for Python.
+The design goals are:
- a) not thread-friendly (database operations could cause all other threads to
- block),
- b) written for MySQL 3.21 (does not compile against newer versions without
- patches),
- c) apparently not actively maintained.
+- Compliance with Python database API version 2.0
+- Thread-safety
+- Thread-friendliness (threads will not block each other)
+- Compatibility with MySQL-3.22 and later
-MySQLdb is a completely new module, distributed free of charge under a license
-derived from the Python license.
+This module should be mostly compatible with an older interface
+written by Joe Skinner and others. However, the older version is
+a) not thread-friendly, b) written for MySQL 3.21, c) apparently
+not actively maintained. No code from that version is used in
+MySQLdb. MySQLdb is free software.
WWW: http://sourceforge.net/projects/mysql-python/
--------------090209090900020600050208--
More information about the freebsd-ports-bugs
mailing list