From jarrod@downtools.com.au  Sun Jul 10 02:11:57 2011
Return-Path: <jarrod@downtools.com.au>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 308CF1065670
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 10 Jul 2011 02:11:57 +0000 (UTC)
	(envelope-from jarrod@downtools.com.au)
Received: from mail.downtools.com.au (mail.downtools.com.au [123.136.33.243])
	by mx1.freebsd.org (Postfix) with ESMTP id B48A58FC1A
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 10 Jul 2011 02:11:56 +0000 (UTC)
Received: from burbank.downtools.com.au (burbank.downtools.com.au [123.136.33.245])
	by mail.downtools.com.au (8.14.4/8.14.4) with ESMTP id p6A1pb5c055156
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sun, 10 Jul 2011 11:21:38 +0930 (CST)
	(envelope-from jarrod@burbank.downtools.com.au)
Received: from burbank.downtools.com.au (localhost [127.0.0.1])
	by burbank.downtools.com.au (8.14.5/8.14.4) with ESMTP id p6A1pbCq055153;
	Sun, 10 Jul 2011 11:21:37 +0930 (CST)
	(envelope-from jarrod@burbank.downtools.com.au)
Received: (from jarrod@localhost)
	by burbank.downtools.com.au (8.14.5/8.14.4/Submit) id p6A1pbjh055152;
	Sun, 10 Jul 2011 11:21:37 +0930 (CST)
	(envelope-from jarrod)
Message-Id: <201107100151.p6A1pbjh055152@burbank.downtools.com.au>
Date: Sun, 10 Jul 2011 11:21:37 +0930 (CST)
From: Jarrod Sayers <jarrod@downtools.com.au>
Reply-To: Jarrod Sayers <jarrod@downtools.com.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] databases/mysql-connector-java: Distribution not available as a .tar.gz archive, switch to .zip
X-Send-Pr-Version: 3.113
X-GNATS-Notify: m.seaman@infracaninophile.co.uk

>Number:         158754
>Category:       ports
>Synopsis:       [patch] databases/mysql-connector-java: Distribution not available as a .tar.gz archive, switch to .zip
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 10 02:20:10 UTC 2011
>Closed-Date:    Sun Jul 10 18:24:08 UTC 2011
>Last-Modified:  Sun Jul 10 18:30:11 UTC 2011
>Originator:     Jarrod Sayers
>Release:        FreeBSD 8.1-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD burbank.downtools.com.au 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #7: Sat Dec 18 19:18:08 CST 2010 root@burbank.downtools.com.au:/usr/obj/usr/src/sys/BURBANK i386
>Description:
The distribution file for Connector/J 5.1.17 does not appear to be available in
.tar.gz format which prevents the port from being upgraded.  Offered below is a
patch which switches the port to the .zip format and corrects this issue.
>How-To-Repeat:
Attempt to source the distribution manually.

bender# fetch http://mysql.mirrors.ilisys.com.au/Downloads/Connector-J/mysql-connector-java-5.1.17.tar.gz
fetch: http://mysql.mirrors.ilisys.com.au/Downloads/Connector-J/mysql-connector-java-5.1.17.tar.gz: Not Found
bender# fetch http://mysql.he.net/Downloads/Connector-J/mysql-connector-java-5.1.17.tar.gz
fetch: http://mysql.he.net/Downloads/Connector-J/mysql-connector-java-5.1.17.tar.gz: Not Found
bender#
>Fix:
Patch offered below.
 
--- databases-mysql-connector-java-use_zip.diff begins here ---
diff -ruN ports/databases/mysql-connector-java.orig/Makefile ports/databases/mysql-connector-java/Makefile
--- ports/databases/mysql-connector-java.orig/Makefile	2011-07-10 03:33:01.000000000 +0930
+++ ports/databases/mysql-connector-java/Makefile	2011-07-10 11:08:53.000000000 +0930
@@ -16,6 +16,8 @@
 
 RUN_DEPENDS=	${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j
 
+USE_ZIP=	yes
+
 CONFLICTS=	mysql-connector-java*-5.0.*
 
 LICENSE=	GPLv2
diff -ruN ports/databases/mysql-connector-java.orig/distinfo ports/databases/mysql-connector-java/distinfo
--- ports/databases/mysql-connector-java.orig/distinfo	2011-07-10 03:33:01.000000000 +0930
+++ ports/databases/mysql-connector-java/distinfo	2011-07-10 11:09:29.000000000 +0930
@@ -1,2 +1,2 @@
-SHA256 (mysql-connector-java-5.1.17.tar.gz) = 43f10bc17283e0f155f9fb7a676ee4a0f372bad793da5d38251d5759eaed34ed
-SIZE (mysql-connector-java-5.1.17.tar.gz) = 3826020
+SHA256 (mysql-connector-java-5.1.17.zip) = b75121b22c12679fca4d152b922dc62fc52fa0b294b6a08cb9792c8e41d790b0
+SIZE (mysql-connector-java-5.1.17.zip) = 4055461
--- databases-mysql-connector-java-use_zip.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Jul 10 02:20:20 UTC 2011 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: m.seaman@infracaninophile.co.uk
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/158754: [patch] databases/mysql-connector-java: Distribution not available as a .tar.gz archive, switch to .zip
Date: Sun, 10 Jul 2011 02:20:18 UT

 Maintainer of databases/mysql-connector-java,
 
 Please note that PR ports/158754 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/158754
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Matthew Seaman <m.seaman@infracaninophile.co.uk>
To: bug-followup@FreeBSD.ORG
Cc: Edwin Groothuis <edwin@FreeBSD.ORG>
Subject: Re: ports/158754: [patch] databases/mysql-connector-java: Distribution
 not available as a .tar.gz archive, switch to .zip
Date: Sun, 10 Jul 2011 07:31:13 +0100

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --------------enigFD9454DD8777FC710627C645
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 On 10/07/2011 03:20, Edwin Groothuis wrote:
 > Maintainer of databases/mysql-connector-java,
 >=20
 > Please note that PR ports/158754 has just been submitted.
 >=20
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 >=20
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/158754
 >=20
 
 Yes, MySQL seem to be supplying this software only in zip format now.
 Maintainer approves.
 
 	Cheers,
 
 	Matthew
 
 --=20
 Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                   Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
 JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW
 
 
 --------------enigFD9454DD8777FC710627C645
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAk4ZRzYACgkQ8Mjk52CukIzF7gCfbu5Ud4yodRyLeeiDjIJVuM7n
 YPQAoJHoaU5P3vseqapmvjGPci+iICde
 =/ATc
 -----END PGP SIGNATURE-----
 
 --------------enigFD9454DD8777FC710627C645--
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Sun Jul 10 06:58:23 UTC 2011 
State-Changed-Why:  
Maintainer approved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158754 
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Sun Jul 10 18:23:58 UTC 2011 
State-Changed-Why:  
Committed, thanks 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/158754: commit references a PR
Date: Sun, 10 Jul 2011 18:23:39 +0000 (UTC)

 arved       2011-07-10 18:23:30 UTC
 
   FreeBSD ports repository
 
   Modified files:
     databases/mysql-connector-java Makefile distinfo 
   Log:
   Switch to zipfile as tar.gz became unavailable
   
   PR:             158754
   Submitted by:   Jarrod Sayers
   Approved by:    Maintainer
   
   Revision  Changes    Path
   1.59      +2 -0      ports/databases/mysql-connector-java/Makefile
   1.37      +2 -2      ports/databases/mysql-connector-java/distinfo
 _______________________________________________
 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:
