Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 1998 14:32:12 -0500 (CDT)
From:      Dave Duchscher <Dave.Duchscher@net.tamu.edu>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6765: p5-Mysql port out of date
Message-ID:  <199805261932.OAA08347@orion.tamu.edu>

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

>Number:         6765
>Category:       ports
>Synopsis:       p5-Mysql port out of date
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 26 12:30:01 PDT 1998
>Last-Modified:
>Originator:     Dave Duchscher
>Organization:
Texas A&M University
>Release:        FreeBSD 2.2.6-RELEASE i386
>Environment:

	2.2.6-RELEASE

>Description:

	p5-Mysql port is out of date.  It is still referring to
        version 1.1810 which is no longer carried on CPAN sites.

>How-To-Repeat:

	make

>Fix:
	
Index: Makefile
===================================================================
RCS file: /home/freebsd-cvs/ports/databases/p5-Mysql/Makefile,v
retrieving revision 1.4
diff -r1.4 Makefile
2c2
< # Version required:			1.1810
---
> # Version required:			1.1830
9,10c9,11
< DISTNAME=	Mysql-modules-1.1810
< PKGNAME=	p5-Mysql-modules-1.1810
---
> DISTNAME=	Msql-mysql-modules-1.1830
> WRKSRC=		${WRKDIR}/Msql-Mysql-modules-1.1830
> PKGNAME=	p5-Mysql-modules-1.1830
Index: files/md5
===================================================================
RCS file: /home/freebsd-cvs/ports/databases/p5-Mysql/files/md5,v
retrieving revision 1.3
diff -r1.3 md5
1c1
< MD5 (Mysql-modules-1.1810.tar.gz) = 11b0d4d050f4dab4f132ef391297a55a
---
> MD5 (Msql-mysql-modules-1.1830.tar.gz) = a0d9aeb472f38c8334d06ca8895c5ad7
Index: patches/patch-aa
===================================================================
RCS file: /home/freebsd-cvs/ports/databases/p5-Mysql/patches/patch-aa,v
retrieving revision 1.2
diff -r1.2 patch-aa
1,4c1,23
< --- Makefile.PL.orig	Wed Sep 17 09:48:15 1997
< +++ Makefile.PL	Wed Sep 17 09:48:46 1997
< @@ -198,10 +198,7 @@
<    	}
---
> --- Makefile.lib.orig	Tue May 26 09:15:11 1998
> +++ Makefile.lib	Tue May 26 09:30:07 1998
> @@ -82,17 +82,7 @@
>  
>  
>  	while (1) {
> -	    my $reply;
> -	    if (exists $ENV{IN_MYSQL_DISTRIBUTION}) {
> -		$reply = $ENV{IN_MYSQL_DISTRIBUTION} || 1;
> -	    } else {
> -		$reply = ExtUtils::MakeMaker::prompt(
> -		    "\n\nWhich DBMS do you want to use?\n\n" .
> -		    "  1) MySQL\n" .
> -	            "  2) mSQL\n" .
> -		    "  3) Both\n\n" .
> -		    "Enter your choice: ", "3");
> -	    }
> +	    my $reply = 1;
>  	    if ($reply =~ /^1/) {
>  	        _MY::Config::disableMsql();
>  		last;
> @@ -284,9 +274,6 @@
>  	}
6,11c25,28
<      $gooddir ||= $mysqldir[0];
< -    $gooddir = prompt("
< -Where is your mysql installed? Please tell me the directory that contains
< -the subdirs lib/ and include/.",$gooddir) || $gooddir # || for 5.002
< -    unless exists $ENV{MYSQL_HOME} && $gooddir eq $ENV{MYSQL_HOME};
< +    $gooddir = $ENV{PREFIX};
---
>      $gooddir ||= $$gooddirs[0] || $$dirs[0];
> -
> -    $gooddir = ExtUtils::MakeMaker::prompt($prompt, $gooddir)
> -	||  $gooddir;  # for 5.002;
13,14c30,31
<      my $headerdir;
<      if (-f "$gooddir/include/mysql/mysql.h") {
---
>      foreach $file (@$files) {
>  	if (-f ($realfile = "$gooddir/$file")) {
Index: pkg/COMMENT
===================================================================
RCS file: /home/freebsd-cvs/ports/databases/p5-Mysql/pkg/COMMENT,v
retrieving revision 1.2
diff -r1.2 COMMENT
1c1
< perl5 modules for accessing MiniSQL (mSQL) databases.
---
> perl5 modules for accessing MySQL databases.
Index: pkg/DESCR
===================================================================
RCS file: /home/freebsd-cvs/ports/databases/p5-Mysql/pkg/DESCR,v
retrieving revision 1.2
diff -r1.2 DESCR
1,9c1,10
< Msql.pm and DBD::mSQL implement two different approaches to
< communicate with an mSQL server. DBD::mSQL is built upon the DBI, the
< generic Perl Database Interface. It brings you an identical interface
< to a broad variety of databases and is in this regard comparable to
< ODBC. The advantage of the DBI approach is portability and
< interoperability. Msql.pm is the elder species. It was written before
< DBI was available but it was inspired by an early draft of the DBI
< specification. As it has been circulating longer it is more mature and
< pretty stable. It's also more complete than DBD::mSQL.
---
> M(y)sql.pm and DBD::mSQL(mysql) implement two different approaches to
> communicate with an mSQL or mysql server. DBD::mSQL(mysql) is built
> upon the DBI, the generic Perl Database Interface. It brings you an
> identical interface to a broad variety of databases and is in this
> regard comparable to ODBC. The advantage of the DBI approach is
> portability and interoperability. M(y)sql.pm are the elder species.
> They were written before DBI was available but inspired by an early
> draft of the DBI specification. As they have been circulating longer
> they are more mature and pretty stable. They're also more complete
> than DBD::mSQL and DBD::mysql.
11,12c12,14
< Some day in the future DBD::mSQL will probably be the clearly superior
< competitor in this package. Today you have to decide on your own about
---
> As of Msql-Mysql-modules 1.1815, we consider DBD::mSQL and DBD::mysql
> superior over MsqlPerl and MysqlPerl: They are sufficiently stable
> and definitely faster. Anyways, you have to decide on your own about


>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



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