From owner-freebsd-ports@freebsd.org Sun Mar 18 20:53:14 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3AD0CF52B96 for ; Sun, 18 Mar 2018 20:53:14 +0000 (UTC) (envelope-from SRS0=xO/A=GI=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CF510863C9 for ; Sun, 18 Mar 2018 20:53:13 +0000 (UTC) (envelope-from SRS0=xO/A=GI=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 6697728417; Sun, 18 Mar 2018 21:53:11 +0100 (CET) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 9485128422; Sun, 18 Mar 2018 21:53:00 +0100 (CET) Subject: Re: github fetch not working To: freebsd@dreamchaser.org, FreeBSD Mailing List References: <442fe78c-0a9a-8b40-237f-5aecdffa8e57@dreamchaser.org> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: Date: Sun, 18 Mar 2018 21:53:00 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.1 MIME-Version: 1.0 In-Reply-To: <442fe78c-0a9a-8b40-237f-5aecdffa8e57@dreamchaser.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2018 20:53:14 -0000 Gary Aitken wrote on 2018/03/18 20:04: > Trying to work up a development port of ufraw, fetching from >   https://github.com/sergiomb2/ufraw.git > (or at least that's where I can get the source manually) > Going slowly, just trying to get the source fetched properly: > > /!\ ufraw-devel-g20161113: Makefile warnings, please consider fixing /!\ > > Not validating first entry in CATEGORIES due to being outside of PORTSDIR. > Please ensure this is proper when committing. > > ===>  License GPLv2 accepted by the user > ===>   ufraw-devel-g20161113 depends on file: /usr/local/sbin/pkg - found > => sergiomb2-ufraw-g20161113_GH0.tar.gz doesn't seem to exist in > ../../distfiles/ufraw-devel. > => Attempting to fetch > https://codeload.github.com/sergiomb2/ufraw/tar.gz/g20161113?dummy=/sergiomb2-ufraw-g20161113_GH0.tar.gz > > fetch: > https://codeload.github.com/sergiomb2/ufraw/tar.gz/g20161113?dummy=/sergiomb2-ufraw-g20161113_GH0.tar.gz: > Not Found > => Attempting to fetch > http://distcache.FreeBSD.org/ports-distfiles/ufraw-devel/sergiomb2-ufraw-g20161113_GH0.tar.gz > > fetch: > http://distcache.FreeBSD.org/ports-distfiles/ufraw-devel/sergiomb2-ufraw-g20161113_GH0.tar.gz: > Not Found > => Couldn't fetch it - please try to retrieve this > => port manually into ../../distfiles/ufraw-devel and try again. > > It was my understanding that the USE_GITHUB target would somehow > magically clone the tree and build the requisite tarball, or unpack > the whole thing into distfiles.  Obviously I'm missing something. > Clues? > > Makefile: > # $FreeBSD$ > > DISTDIR=        ../../distfiles > PORTNAME=       ufraw-devel > DISTVERSION=    g20161113 > CATEGORIES=     graphics > #MASTER_SITES=  https://github.com/sergiomb2/ufraw.git > > USE_GITHUB=     yes > GH_ACCOUNT=     sergiomb2 > GH_PROJECT=     ufraw > #GH_TAGNAME=    g6d3259aa > > DIST_SUBDIR=${PORTNAME} > > MAINTAINER=     freebsd@dreamchaser.org > COMMENT=        Read and manipulate raw images from digital cameras > LICENSE=        GPLv2 > > .include Where did you get this version number? DISTVERSION= g20161113 What about this PORTNAME= ufraw-devel PORTVERSION= g20161113 CATEGORIES= graphics MASTER_SITES= GH MAINTAINER= freebsd@dreamchaser.org COMMENT= Read and manipulate raw images from digital cameras LICENSE= GPLv2 USE_GITHUB= yes GH_ACCOUNT= sergiomb2 GH_PROJECT= ufraw GH_TAGNAME= 6d3259a .include