From owner-freebsd-ports@freebsd.org Thu Apr 16 11:20:29 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 793E12B9E1D for ; Thu, 16 Apr 2020 11:20:29 +0000 (UTC) (envelope-from mbeis.bsd@xs4all.nl) Received: from lb3-smtp-cloud8.xs4all.net (lb3-smtp-cloud8.xs4all.net [194.109.24.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.xs4all.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 492xbc2rcsz4MNY for ; Thu, 16 Apr 2020 11:20:27 +0000 (UTC) (envelope-from mbeis.bsd@xs4all.nl) Received: from yokozuna.lan ([IPv6:2001:980:66e8:1:48a9:1d04:74f6:98cb]) by smtp-cloud8.xs4all.net with ESMTP id P2ZFjzPoYlKa1P2ZGjSQiQ; Thu, 16 Apr 2020 13:20:26 +0200 Received: from yokozuna (yokozuna [IPv6:0:0:0:0:0:0:0:1]) by yokozuna.lan (8.15.2/8.15.2) with ESMTPS id 03GBKPWS053777 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Thu, 16 Apr 2020 13:20:25 +0200 (CEST) (envelope-from mbeis.bsd@xs4all.nl) Date: Thu, 16 Apr 2020 13:20:20 +0200 (CEST) From: Marco Beishuizen Reply-To: Marco Beishuizen To: freebsd-ports@freebsd.org Subject: creating a new port from github: "_GH0" suffix in the filename Message-ID: User-Agent: Alpine 2.22 (BSF 395 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-CMAE-Envelope: MS4wfOhV4hCWy7IIzvROHa4B/O3RfsJ7ysw6t++8qM88EVpdpPinQBQpqH8qHmd/PxxJq/7+xEiKjsljTTkRKcd91zLgyzZzxv23s/XMLwcCbDgRL0q+n9tY lDCbkg0neooY4CEwEckhxVUpTV5m4C/J/gZXV++5eQD4L49w/4YSCy74Q3X/OPIjNsua9BFG1Ycezq0YEXR83tI/fC3m62K9+4oD081y+AqGkf6itMn9ccvu X-Rspamd-Queue-Id: 492xbc2rcsz4MNY X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mbeis.bsd@xs4all.nl designates 194.109.24.29 as permitted sender) smtp.mailfrom=mbeis.bsd@xs4all.nl X-Spamd-Result: default: False [-1.90 / 15.00]; HAS_REPLYTO(0.00)[mbeis.bsd@xs4all.nl]; RWL_MAILSPIKE_GOOD(0.00)[29.24.109.194.rep.mailspike.net : 127.0.0.18]; R_SPF_ALLOW(-0.20)[+ip4:194.109.24.0/24]; FREEMAIL_FROM(0.00)[xs4all.nl]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_IN_DNSWL_LOW(-0.10)[29.24.109.194.list.dnswl.org : 127.0.5.1]; IP_SCORE(0.00)[ip: (-6.43), ipnet: 194.109.0.0/16(-0.16), asn: 3265(-0.04), country: NL(0.03)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[xs4all.nl]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; FREEMAIL_REPLYTO(0.00)[xs4all.nl]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[xs4all.nl]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2020 11:20:29 -0000 Hi, I'm trying to create a new port which is hosted on github (the luakit development version). The Makefile is just a modified version of the one from www/luakit. The Makefile I got so far is: [...] # Created by: Stefan Hagen # $FreeBSD: head/www/luakit/Makefile 531700 2020-04-14 15:49:36Z mat $ PORTNAME= luakit-devel DISTVERSION= 2.1-33 PORTEPOCH= 1 CATEGORIES= www MAINTAINER= mbeis@xs4all.nl COMMENT= Fast, small, webkit2 based browser framework extensible with Lua LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING.GPLv3 NOT_FOR_ARCHS= sparc64 NOT_FOR_ARCHS_REASON_sparc64= Does not install on sparc64 BUILD_DEPENDS= help2man:misc/help2man \ ${LUA_MODLIBDIR}/lfs.so:devel/luafilesystem@${LUA_FLAVOR} LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ libsoup-2.4.so:devel/libsoup \ libfreetype.so:print/freetype2 \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= ${LUA_PKGNAMEPREFIX}luafilesystem>=0:devel/luafilesystem@${LUA_FLAVOR} USES= compiler:c++11-lang desktop-file-utils gettext-runtime gmake \ gnome lua:51 pkgconfig sqlite USE_GITHUB= yes GH_ACCOUNT= luakit GH_PROJECT= luakit GH_TAGNAME= g0de4b1c USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 OPTIONS_DEFINE= DOCS LUAJIT LUAJIT_DESC= Use the Just-In-Time compiler for lua LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit LUAJIT_MAKE_ARGS= USE_LUAJIT=1 LUAJIT_MAKE_ARGS_OFF= USE_LUAJIT=0 CONFLICTS_INSTALL= luakit post-extract: @${REINPLACE_CMD} -e \ 's|share/man|man| ; s|luakit/doc|doc/luakit| ; \ s|/etc/xdg|${PREFIX}/etc/xdg| ; /MANPREFIX */s|?=|=| ; \ s|gnu99|gnu11| ; s|-ggdb||' \ ${WRKSRC}/config.mk @${REINPLACE_CMD} -e 's|bin/env lua|&${LUA_VER_STR}|' \ ${WRKSRC}/build-utils/gentokens.lua post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/luakit .include [...] The tarball isn't downloaded because "_GH0" is being added to the name of the file to be downloaded. So I get an error message: [...] => luakit-luakit-2.1-33-gOde4b1c_GH0.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch https://codeload.github.com/luakit/luakit/tar.gz/gOde4b1c?dummy=/luakit-luakit-2.1-33-gOde4b1c_GH0.tar.gz fetch: https://codeload.github.com/luakit/luakit/tar.gz/gOde4b1c?dummy=/luakit-luakit-2.1-33-gOde4b1c_GH0.tar.gz: Not Found => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/luakit-luakit-2.1-33-gOde4b1c_GH0.tar.gz fetch: http://distcache.FreeBSD.org/ports-distfiles/luakit-luakit-2.1-33-gOde4b1c_GH0.tar.gz: Not Found => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again. *** Error code 1 [...] The name of the file is correct, except for the added "_GH0". How can I download the file without the "_GH0" suffix? Thanks, Marco -- My own dear love, he is strong and bold And he cares not what comes after. His words ring sweet as a chime of gold, And his eyes are lit with laughter. He is jubilant as a flag unfurled -- Oh, a girl, she'd not forget him. My own dear love, he is all my world -- And I wish I'd never met him. -- Dorothy Parker, part 1