Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2012 10:55:41 GMT
From:      Mickael Maillot <mickael.maillot@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/173359: github download link changed
Message-ID:  <201211041055.qA4AtfYJ011134@red.freebsd.org>
Resent-Message-ID: <201211041100.qA4B00JL060177@freefall.freebsd.org>

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

>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:



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