update to p5-Net-MySQL-0.07

- When old Perl was used, the problem which cannot encode a password
  correctly was corrected.
- UNIX Socket connection support.
- The version of Perl to demand was lowered to 5.004.
- Fixed the problem which cannot acquire the field with a length
  of 16 bits or more.
- Fixed some uncanny typoes.
This commit is contained in:
wilfried 2002-08-09 10:32:25 +00:00
parent 2c687458ff
commit 33ca157c6f
4 changed files with 42 additions and 6 deletions

View File

@ -1,12 +1,11 @@
# $OpenBSD: Makefile,v 1.3 2002/07/01 15:34:30 wilfried Exp $
# $OpenBSD: Makefile,v 1.4 2002/08/09 10:32:25 wilfried Exp $
COMMENT= "Pure Perl MySQL network protocol interface"
VERSION= 0.05
VERSION= 0.07
DISTNAME= Net-MySQL-${VERSION}
PKGNAME= p5-${DISTNAME}
CATEGORIES= net perl5
NEED_VERSION= 1.528
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>

View File

@ -1,3 +1,3 @@
MD5 (Net-MySQL-0.05.tar.gz) = c1d04309995dae60a53f45539a9a2087
RMD160 (Net-MySQL-0.05.tar.gz) = 3288af1ea43a12c8965494fe3e047e7120b9219b
SHA1 (Net-MySQL-0.05.tar.gz) = 72c067eb4479a83e7141d1de5ecc754b5dc84261
MD5 (Net-MySQL-0.07.tar.gz) = 1517f68e51d27f65031407d30ffaa88d
RMD160 (Net-MySQL-0.07.tar.gz) = dd1dfaaa98507dd2c570d4810b1f7b8b663a789d
SHA1 (Net-MySQL-0.07.tar.gz) = 037358a5025e4b5bc5a08b1540cf22234d4119dd

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-MySQL_pm,v 1.1 2002/08/09 10:32:25 wilfried Exp $
--- MySQL.pm.orig Wed Jul 24 08:49:56 2002
+++ MySQL.pm Fri Aug 9 12:28:33 2002
@@ -31,7 +31,7 @@ use constant COMMAND_CONNECT_OUT => "
use constant DEFAULT_PORT_NUMBER => 3306;
use constant BUFFER_LENGTH => 1460;
-use constant DEFAULT_UNIX_SOCKET => '/tmp/mysql.sock';
+use constant DEFAULT_UNIX_SOCKET => '/var/run/mysql/mysql.sock';
sub new {
@@ -785,7 +785,7 @@ The constructor of Net::MySQL. Connectio
=item unixsocket
-Path of the UNIX socket where MySQL daemon. default is F</tmp/mysql.sock>.
+Path of the UNIX socket where MySQL daemon. default is F</var/run/mysql/mysql.sock>.
Supposing I<hostname> is omitted, it will connect by I<UNIX Socket>.
=item hostname

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-script_mysql_pl,v 1.1 2002/08/09 10:32:25 wilfried Exp $
--- script/mysql.pl.orig Mon Jul 22 05:12:53 2002
+++ script/mysql.pl Fri Aug 9 12:28:27 2002
@@ -70,10 +70,10 @@ exit;
sub show_usage
{
die <<__USAGE__;
-Usage: mysq.pl [-?v] [-s /tmp/mysql.sock] [-h HOSTNAME] [-P PORT] [-u USER] DATABASE
+Usage: mysq.pl [-?v] [-s /var/run/mysql/mysql.sock] [-h HOSTNAME] [-P PORT] [-u USER] DATABASE
-? Display this help and exit.
- -s Path to Unix socket. (default /tmp/mysql.sock)
+ -s Path to Unix socket. (default /var/run/mysql/mysql.sock)
-h Connect to host.
-P Port number to user for connection.(default 3306)
-u User for login if not current user.