From root@Leo.mi.chu.edu.tw  Thu Feb 25 10:13:08 2010
Return-Path: <root@Leo.mi.chu.edu.tw>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3DDAE106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Feb 2010 10:13:08 +0000 (UTC)
	(envelope-from root@Leo.mi.chu.edu.tw)
Received: from Leo.mi.chu.edu.tw (Leo.mi.chu.edu.tw [140.126.143.63])
	by mx1.freebsd.org (Postfix) with ESMTP id 8EC8E8FC15
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Feb 2010 10:13:07 +0000 (UTC)
Received: from Leo.mi.chu.edu.tw (localhost [127.0.0.1])
	by Leo.mi.chu.edu.tw (Postfix) with ESMTP id E20DE4DFC23;
	Thu, 25 Feb 2010 18:13:04 +0800 (CST)
Received: from Leo.mi.chu.edu.tw ([127.0.0.1])
	by Leo.mi.chu.edu.tw (Leo.mi.chu.edu.tw [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id zMCUZeksfoNF; Thu, 25 Feb 2010 18:12:57 +0800 (CST)
Received: by Leo.mi.chu.edu.tw (Postfix, from userid 0)
	id 63B254DFC1F; Thu, 25 Feb 2010 18:12:57 +0800 (CST)
Message-Id: <20100225101257.63B254DFC1F@Leo.mi.chu.edu.tw>
Date: Thu, 25 Feb 2010 18:12:57 +0800 (CST)
From: Joe Horn <joehorn@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: araujo@FreeBSD.org
Subject: [PATCH] www/wordpress-mu: Change DISTNAME for preventing from distfile checksum and size mismatch
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         144282
>Category:       ports
>Synopsis:       [PATCH] www/wordpress-mu: Change DISTNAME for preventing from distfile checksum and size mismatch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    araujo
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 25 10:20:04 UTC 2010
>Closed-Date:    Thu Feb 25 13:53:06 UTC 2010
>Last-Modified:  Thu Feb 25 13:53:06 UTC 2010
>Originator:     Joe Horn
>Release:        FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
Taiwanese User
>Environment:
System: FreeBSD joehorn.idv.tw 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #1: Fri Jan  8 23:08:25 CST
>Description:
- Change DISTNAME for preventing from distfile checksum and size mismatch.

If the ports couldn't be detected as newer version while PORTVERSION changed from 2.9.1 to 2.9.1.1,
bump PORTREVISION or change PORTEPOCH, please.

Port maintainer (araujo@FreeBSD.org) is cc'd.

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

--- wordpress-mu-2.9.1.1,2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/wordpress-mu/Makefile /home/admin/joehorn/wordpress-mu/Makefile
--- /usr/ports/www/wordpress-mu/Makefile	2010-02-25 17:27:13.000000000 +0800
+++ /home/admin/joehorn/wordpress-mu/Makefile	2010-02-25 17:35:59.000000000 +0800
@@ -6,12 +6,11 @@
 #
 
 PORTNAME=	wordpress-mu
-PORTVERSION=	2.9.1
+PORTVERSION=	2.9.1.1
 PORTEPOCH=	2
 CATEGORIES=	www
 MASTER_SITES=	http://mu.wordpress.org/
-DISTNAME=	latest
-DIST_SUBDIR=	${PORTNAME}/${PORTVERSION}
+DISTNAME=	${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	araujo@FreeBSD.org
 COMMENT=	Multi-user version of the famous WordPress blogging application
diff -ruN --exclude=CVS /usr/ports/www/wordpress-mu/distinfo /home/admin/joehorn/wordpress-mu/distinfo
--- /usr/ports/www/wordpress-mu/distinfo	2010-02-25 17:27:13.000000000 +0800
+++ /home/admin/joehorn/wordpress-mu/distinfo	2010-02-25 17:41:46.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (wordpress-mu/2.9.1/latest.tar.gz) = 85ffe0c80032257e99ca65c8fe978d3a
-SHA256 (wordpress-mu/2.9.1/latest.tar.gz) = 798fc2e925d6c7b35cea9fd5a804431f67b4c0a96fd1a64cbdb471ba47a31764
-SIZE (wordpress-mu/2.9.1/latest.tar.gz) = 2343910
+MD5 (wordpress-mu-2.9.1.1.tar.gz) = 85ffe0c80032257e99ca65c8fe978d3a
+SHA256 (wordpress-mu-2.9.1.1.tar.gz) = 798fc2e925d6c7b35cea9fd5a804431f67b4c0a96fd1a64cbdb471ba47a31764
+SIZE (wordpress-mu-2.9.1.1.tar.gz) = 2343910
--- wordpress-mu-2.9.1.1,2.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->araujo 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Feb 25 10:20:14 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144282 
State-Changed-From-To: open->feedback 
State-Changed-By: araujo 
State-Changed-When: Thu Feb 25 11:46:16 UTC 2010 
State-Changed-Why:  
Thanks to suggestion this new way, but I did some tests and I got the 
same problem: 

===>  Vulnerability check disabled, database not found => 
wordpress-mu-2.9.1.1.tar.gz doesn't seem to exist in 
/usr/ports/distfiles/wordpress-mu-2.9.1.1.  => Attempting to fetch from 
http://mu.wordpress.org/.  fetch: 
http://mu.wordpress.org/wordpress-mu-2.9.1.1.tar.gz: size unknown fetch: 
http://mu.wordpress.org/wordpress-mu-2.9.1.1.tar.gz: size of remote file 
is not known 

What do you think about? 

Best Regards. 

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

From: Joe Horn <joehorn@gmail.com>
To: araujo@freebsd.org, bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/144282: [PATCH] www/wordpress-mu: Change DISTNAME for 
	preventing from distfile checksum and size mismatch
Date: Thu, 25 Feb 2010 20:11:47 +0800

 If we sitll using latest.tar.gz as DISTNAME, and there is newer
 version released, the size and checksum of latest.tar.gz will not
 match the information we described in "distinfo" file.
 
 Please consider the situation in PR/143475 (
 http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/143475 ) .
 The file http://mu.wordpress.org/wordpress-mu-2.8.6.tar.gz could still
 be fetched now, and the information described in "distinfo" file still
 match.
 
 Thus, using ${PORTNAME}-${PORTVERSION} as DISTNAME will prevent the
 checksum and size mismatch errors while installing.
 
 2010/2/25  <araujo@freebsd.org>:
 > Synopsis: [PATCH] www/wordpress-mu: Change DISTNAME for preventing from d=
 istfile checksum and size mismatch
 >
 > State-Changed-From-To: open->feedback
 > State-Changed-By: araujo
 > State-Changed-When: Thu Feb 25 11:46:16 UTC 2010
 > State-Changed-Why:
 > Thanks to suggestion this new way, but I did some tests and I got the
 > same problem:
 >
 > =3D=3D=3D> =C2=A0Vulnerability check disabled, database not found =3D>
 > wordpress-mu-2.9.1.1.tar.gz doesn't seem to exist in
 > /usr/ports/distfiles/wordpress-mu-2.9.1.1. =C2=A0=3D> Attempting to fetch=
  from
 > http://mu.wordpress.org/. =C2=A0fetch:
 > http://mu.wordpress.org/wordpress-mu-2.9.1.1.tar.gz: size unknown fetch:
 > http://mu.wordpress.org/wordpress-mu-2.9.1.1.tar.gz: size of remote file
 > is not known
 >
 > What do you think about?
 >
 > Best Regards.
 >
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D144282
 >

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/144282: commit references a PR
Date: Thu, 25 Feb 2010 13:46:31 +0000 (UTC)

 araujo      2010-02-25 13:46:22 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/wordpress-mu     Makefile distinfo 
   Log:
   - Now the DISTNAME can get a package version.
   - Update version from 2.9.1 to 2.9.1.1.
   
   PR:             ports/143475, ports/144282
   Submitted by:   Helmut Schneider <jumper99@gmx.de>,
                   Joe Horn <joehorn@gmail.com>
   Feature safe:   YES
   
   Revision  Changes    Path
   1.34      +2 -3      ports/www/wordpress-mu/Makefile
   1.28      +3 -3      ports/www/wordpress-mu/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"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: araujo 
State-Changed-When: Thu Feb 25 13:53:06 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144282 
>Unformatted:
