ports/173359: github download link changed

Mickael Maillot mickael.maillot at gmail.com
Sun Nov 4 11:00:01 UTC 2012


>Number:         173359
>Category:       ports
>Synopsis:       github download link changed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 04 11:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mickael Maillot
>Release:        
>Organization:
>Environment:
>Description:
github chanded his tar.gz download link, so now you can't fetch any tar.gz with macro USE_GITHUB.
the link is now: .../tar.gz/... instead of .../tarball/...

side effect: all tar.gz file size changed, so we need to update all distinfo.

>How-To-Repeat:
make -C /usr/ports/ports-mgmt/portmaster fetch
and the the distfile will fail on github then download from freebsd master site
>Fix:
change bsd.sites.mk and update all distfiles.

Patch attached with submission follows:

--- bsd.sites.mk.orig	2012-11-04 11:42:50.000000000 +0100
+++ bsd.sites.mk	2012-11-04 11:43:00.000000000 +0100
@@ -1440,7 +1440,7 @@
 			CSME:myports \
 			DEBIAN:pool/main/${PORTNAME:C/^((lib)?.).*$/\1/}/${PORTNAME} \
 			GCC:releases/${DISTNAME} \
-			GITHUB:${GH_ACCOUNT}/${GH_PROJECT}/tarball/${GH_TAGNAME}?dummy=/ \
+			GITHUB:${GH_ACCOUNT}/${GH_PROJECT}/tar.gz/${GH_TAGNAME}?dummy=/ \
 			GNOME:sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} \
 			GNU:${PORTNAME} \
 			HORDE:${PORTNAME} \


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


More information about the freebsd-ports-bugs mailing list