Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  7 Oct 2011 01:44:13 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        andrew@scoop.co.nz
Subject:   ports/161342: [PATCH] databases/p5-Mysql-Diff: update to 0.42
Message-ID:  <20111006174413.64CB05166@sunpoet.net>
Resent-Message-ID: <201110061750.p96Ho7fv075033@freefall.freebsd.org>

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

>Number:         161342
>Category:       ports
>Synopsis:       [PATCH] databases/p5-Mysql-Diff: update to 0.42
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 06 17:50:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Sep 28 22:36:13 CST 2011
>Description:
- Update to 0.42
- Pet portlint

To maintainer:

I propose to rename this port as databases/p5-MySQL-Diff to match its name as
well as our naming tradition of Perl modules.
Do you agree with that?

Port maintainer (andrew@scoop.co.nz) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- p5-MySQL-Diff-0.42.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/p5-Mysql-Diff/Makefile,v
retrieving revision 1.2
diff -u -u -r1.2 Makefile
--- Makefile	17 Apr 2008 14:24:33 -0000	1.2
+++ Makefile	6 Oct 2011 17:40:39 -0000
@@ -5,8 +5,8 @@
 # $FreeBSD: ports/databases/p5-Mysql-Diff/Makefile,v 1.2 2008/04/17 14:24:33 araujo Exp $
 #
 
-PORTNAME=       MySQL-Diff
-PORTVERSION=	0.33
+PORTNAME=	MySQL-Diff
+PORTVERSION=	0.42
 CATEGORIES=	databases perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -14,13 +14,23 @@
 MAINTAINER=	andrew@scoop.co.nz
 COMMENT=	Perl module for comparing the table structure of two MySQL databases
 
-BUILD_DEPENDS=	${SITE_PERL}/Class/MakeMethods/Template.pm:${PORTSDIR}/devel/p5-Class-MakeMethods \
-		${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
-RUN_DEPENDS=	${BUILD_DEPENDS}
+BUILD_DEPENDS=	p5-Class-MakeMethods>=0:${PORTSDIR}/devel/p5-Class-MakeMethods \
+		p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql \
+		p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp
+RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	yes
 
+MAN1=		mysqldiff.1
+MAN3=		MySQL::Diff.3 \
+		MySQL::Diff::Database.3 \
+		MySQL::Diff::Table.3 \
+		MySQL::Diff::Utils.3
+
+post-patch:
+	@${REINPLACE_CMD} -e '1 s|/usr/bin/perl|${PERL}|' ${WRKSRC}/bin/mysqldiff
+
 post-install:
-	$(INSTALL_SCRIPT) $(WRKSRC)/mysqldiff $(PREFIX)/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/bin/mysqldiff ${PREFIX}/bin/
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/databases/p5-Mysql-Diff/distinfo,v
retrieving revision 1.4
diff -u -u -r1.4 distinfo
--- distinfo	20 Mar 2011 12:47:37 -0000	1.4
+++ distinfo	6 Oct 2011 17:40:39 -0000
@@ -1,2 +1,2 @@
-SHA256 (MySQL-Diff-0.33.tar.gz) = d0eb30ee54147f9d408c22947dcb7195c5b8db07eb0ed7275de3f0df0f3d6021
-SIZE (MySQL-Diff-0.33.tar.gz) = 12071
+SHA256 (MySQL-Diff-0.42.tar.gz) = bde928ed0183f68f7a6d2d311bcf473a851ec91236af6ff674ea53db00d8a60f
+SIZE (MySQL-Diff-0.42.tar.gz) = 21840
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/databases/p5-Mysql-Diff/pkg-plist,v
retrieving revision 1.2
diff -u -u -r1.2 pkg-plist
--- pkg-plist	22 Jan 2006 01:29:07 -0000	1.2
+++ pkg-plist	6 Oct 2011 17:40:39 -0000
@@ -1,9 +1,10 @@
-%%SITE_PERL%%/MySQL/Table.pm
-%%SITE_PERL%%/MySQL/Diff.pm
-%%SITE_PERL%%/MySQL/Utils.pm
-%%SITE_PERL%%/MySQL/Database.pm
 bin/mysqldiff
+%%SITE_PERL%%/MySQL/Diff.pm
+%%SITE_PERL%%/MySQL/Diff/Database.pm
+%%SITE_PERL%%/MySQL/Diff/Table.pm
+%%SITE_PERL%%/MySQL/Diff/Utils.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/MySQL/Diff/.packlist
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MySQL/Diff
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MySQL
+@dirrm %%SITE_PERL%%/MySQL/Diff
 @dirrmtry %%SITE_PERL%%/MySQL
--- p5-MySQL-Diff-0.42.patch ends here ---

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



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