Bug 144282

Summary: [PATCH] www/wordpress-mu: Change DISTNAME for preventing from distfile checksum and size mismatch
Product: Ports & Packages Reporter: joehorn
Component: Individual Port(s)Assignee: Marcelo Araujo <araujo>
Status: Closed FIXED    
Severity: Affects Only Me CC: araujo
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
wordpress-mu-2.9.1.1,2.patch none

Description joehorn 2010-02-25 10:20:04 UTC
- 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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-02-25 10:20:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->araujo

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Marcelo Araujo freebsd_committer freebsd_triage 2010-02-25 11:46:16 UTC
State Changed
From-To: open->feedback

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.
Comment 3 joehorn 2010-02-25 12:11:47 UTC
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
>
Comment 4 dfilter service freebsd_committer freebsd_triage 2010-02-25 13:46:31 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"
Comment 5 Marcelo Araujo freebsd_committer freebsd_triage 2010-02-25 13:53:06 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!