From alex@greenwood.homeip.net  Sun Jul 13 18:35:51 2008
Return-Path: <alex@greenwood.homeip.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 193401065670
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 13 Jul 2008 18:35:51 +0000 (UTC)
	(envelope-from alex@greenwood.homeip.net)
Received: from ispmxmta05-srv.windstream.net (ispmxmta05-srv.windstream.net [166.102.165.166])
	by mx1.freebsd.org (Postfix) with ESMTP id A98DE8FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 13 Jul 2008 18:35:50 +0000 (UTC)
	(envelope-from alex@greenwood.homeip.net)
Received: from ispmxaamta08-gx.windstream.net ([98.17.9.107])
          by ispmxmta06-srv.windstream.net with ESMTP
          id <20080713181432.SUOA29060.ispmxmta06-srv.windstream.net@ispmxaamta08-gx.windstream.net>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Sun, 13 Jul 2008 13:14:32 -0500
Received: from alexandria.greenwood.homeip.net ([98.17.9.107])
          by ispmxaamta08-gx.windstream.net with ESMTP
          id <20080713181432.WGMQ6463.ispmxaamta08-gx.windstream.net@alexandria.greenwood.homeip.net>;
          Sun, 13 Jul 2008 13:14:32 -0500
Received: from greenwood.homeip.net (localhost [127.0.0.1])
	by alexandria.greenwood.homeip.net (Postfix) with ESMTP id C5A921143D;
	Sun, 13 Jul 2008 14:14:20 -0400 (EDT)
Received: (from alex@localhost)
	by greenwood.homeip.net (8.14.2/8.14.2/Submit) id m6DIEKFX001480;
	Sun, 13 Jul 2008 14:14:20 -0400 (EDT)
	(envelope-from alex)
Message-Id: <200807131814.m6DIEKFX001480@greenwood.homeip.net>
Date: Sun, 13 Jul 2008 14:14:20 -0400 (EDT)
From: Alex Kloss <klossalex@gmail.com>
Reply-To: Alex Kloss <klossalex@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: klossalex@gmail.com
Subject: [PATCH] Update databases/mysql2pgsql to 1.2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         125580
>Category:       ports
>Synopsis:       [PATCH] Update databases/mysql2pgsql to 1.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rafan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 13 18:40:05 UTC 2008
>Closed-Date:    Sun Jul 20 07:45:42 UTC 2008
>Last-Modified:  Sun Jul 20 07:50:02 UTC 2008
>Originator:     Alex Kloss
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD alexandria.greenwood.homeip.net 7.0-STABLE FreeBSD 7.0-STABLE #0: Wed Jul 9 22:32:42 EDT 2008 root@alexandria:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	The attached patch updates the mysql2pgsql port to version 1.2.

	The patch takes care of most of the update, but the files/ directory 
	and all files below it should be removed as well, as no patches are 
	necessary to install this properly.

	Also, this is my first port update, so any feedback would be appreciated!

	Thanks!
	
>How-To-Repeat:
	
>Fix:

	

--- mysql2pgsql-1.2.patch begins here ---
diff -ruN mysql2pgsql/Makefile mysql2pgsql.new/Makefile
--- mysql2pgsql/Makefile	2008-06-06 09:16:55.000000000 -0400
+++ mysql2pgsql.new/Makefile	2008-07-13 12:54:25.000000000 -0400
@@ -6,29 +6,24 @@
 #
 
 PORTNAME=	mysql2pgsql
-PORTVERSION=	20010527
-PORTREVISION=	2
+PORTVERSION=	1.2
 CATEGORIES=	databases
-MASTER_SITES=	http://www.rot13.org/~dpavlin/projects/sql/
+MASTER_SITES=	http://pgfoundry.org/frs/download.php/1535/
 DISTNAME=	${PORTNAME}
-EXTRACT_SUFX=
-EXTRACT_ONLY=	${PORTNAME}
+EXTRACT_SUFX=	.perl
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	klossalex@gmail.com
 COMMENT=	Convert a MySQL dump to a PostgreSQL dump
 
-RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
-
-PATCH_WRKSRC=	${WRKDIR}
 PLIST_FILES=	bin/mysql2pgsql
 USE_PERL5=	yes
 NO_BUILD=	yes
 
 do-extract:
 	${MKDIR} ${WRKDIR}
-	${CP} -p ${DISTDIR}/mysql2pgsql ${WRKDIR}
+	${CP} -p ${DISTDIR}/mysql2pgsql.perl ${WRKDIR}
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/mysql2pgsql ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKDIR}/mysql2pgsql.perl ${PREFIX}/bin/mysql2pgsql
 
 .include <bsd.port.mk>
diff -ruN mysql2pgsql/distinfo mysql2pgsql.new/distinfo
--- mysql2pgsql/distinfo	2006-01-22 03:23:21.000000000 -0500
+++ mysql2pgsql.new/distinfo	2008-07-13 12:54:25.000000000 -0400
@@ -1,3 +1,3 @@
-MD5 (mysql2pgsql) = 5ffeb56aacb9ab60753727b3358e0d75
-SHA256 (mysql2pgsql) = bcc2ca51f302b1c5362270e87dd1fea90090fa7408d56e7e986774f758f45ac9
-SIZE (mysql2pgsql) = 6467
+MD5 (mysql2pgsql.perl) = 544a64a9d15efb37c6860d912ce23e3e
+SHA256 (mysql2pgsql.perl) = e98597a849f70e27879bd33fd0b8729c6e84b5e4ef68cd640f7c3f9b12e67965
+SIZE (mysql2pgsql.perl) = 41961
diff -ruN mysql2pgsql/files/patch-arguments mysql2pgsql.new/files/patch-arguments
--- mysql2pgsql/files/patch-arguments	2001-06-23 12:30:27.000000000 -0400
+++ mysql2pgsql.new/files/patch-arguments	1969-12-31 19:00:00.000000000 -0500
@@ -1,11 +0,0 @@
---- mysql2pgsql.old	Sat Jun 23 16:12:18 2001
-+++ mysql2pgsql	Sat Jun 23 16:11:51 2001
-@@ -49,7 +49,7 @@
- 		exit 1;
- 	} else {
- 		$dump="$ARGV[1]";
--		$database="$ARGV[1]";
-+		$database="$ARGV[2]";
- 	}
- } else {
- 	$dump="$ARGV[0]";
diff -ruN mysql2pgsql/pkg-descr mysql2pgsql.new/pkg-descr
--- mysql2pgsql/pkg-descr	2001-06-22 22:36:54.000000000 -0400
+++ mysql2pgsql.new/pkg-descr	2008-07-13 12:54:25.000000000 -0400
@@ -1,10 +1,7 @@
-The perl script mysql2pgsql can be used to convert MySQL database
-dumps to a -compatible format (so the data can be imported into
-PostgreSQL).  This can be useful if you are switching from MySQL
+The Perl script mysql2pgsql can be used to convert MySQL database
+dumps to a PostgreSQL-compatible format (so the data can be imported
+into PostgreSQL).  This can be useful if you are switching from MySQL
 to PostgreSQL and you have quite a bit of data in your MySQL
 databases.
 
-WWW: http://www.rot13.org/~dpavlin/projects.html
-
-- Pete
-petef@databits.net
+WWW: http://pgfoundry.org/projects/mysql2pgsql/
--- mysql2pgsql-1.2.patch ends here ---


>Release-Note:
>Audit-Trail:

From: "Alex Kloss" <klossalex@gmail.com>
To: bug-followup@FreeBSD.org, klossalex@gmail.com
Cc:  
Subject: Re: ports/125580: [PATCH] Update databases/mysql2pgsql to 1.2
Date: Tue, 15 Jul 2008 19:11:03 -0400

 I should also mention that the patch gives maintainership to me.
Responsible-Changed-From-To: freebsd-ports-bugs->rafan 
Responsible-Changed-By: rafan 
Responsible-Changed-When: Sat Jul 19 08:51:18 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125580 
State-Changed-From-To: open->closed 
State-Changed-By: rafan 
State-Changed-When: Sun Jul 20 07:45:41 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125580 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/125580: commit references a PR
Date: Sun, 20 Jul 2008 07:45:48 +0000 (UTC)

 rafan       2008-07-20 07:45:34 UTC
 
   FreeBSD ports repository
 
   Modified files:
     databases/mysql2pgsql Makefile distinfo pkg-descr 
   Removed files:
     databases/mysql2pgsql/files patch-arguments 
   Log:
   - Update to 1.2
     The original mysql2pgsql has changed maintainership. So this port is also
     changed to based on the new maintainer's version.
   - Pass maintainership to submitter
   
   PR:             ports/125580
   Submitted by:   Alex Kloss <klossalex at gmail.com> (maintainer)
   
   Revision  Changes    Path
   1.13      +7 -11     ports/databases/mysql2pgsql/Makefile
   1.4       +3 -3      ports/databases/mysql2pgsql/distinfo
   1.2       +0 -11     ports/databases/mysql2pgsql/files/patch-arguments (dead)
   1.2       +4 -7      ports/databases/mysql2pgsql/pkg-descr
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
