Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Mar 2020 12:53:56 +0100
From:      Stefan Bethke <stb@lassitu.de>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Downloading source archive from GitHub release instead of repo tar
Message-ID:  <AF78C4D9-E80A-43A9-BDA0-F05780966770@lassitu.de>

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

--Apple-Mail=_AC1D41EE-DE83-49BD-BDC7-81EB42334874
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

I'm working on updating the Gitea port to 1.11, and I need to download =
the source archive off the release page, instead of an archive of the =
Github repo. The source archive on the release page contains additional =
files that are needed for the build (Go and node modules that would need =
to be downloaded during the build otherwise).

PORTNAME=3D       gitea
DISTVERSIONPREFIX=3D      v
DISTVERSION=3D    1.11.2
USE_GITHUB=3D     yes

How do I tell make that I do want to download the release tar.gz instead =
of the repo archive? Specifically, I need to download
=
https://github.com/go-gitea/gitea/releases/download/v1.11.2/gitea-src-1.11=
.2.tar.gz
instead of
=
https://codeload.github.com/go-gitea/gitea/tar.gz/v1.11.2?dummy=3D/go-gite=
a-gitea-v1.11.2_GH0.tar.gz


Stefan

--
Stefan Bethke <stb@lassitu.de>   Fon +49 151 14070811


--Apple-Mail=_AC1D41EE-DE83-49BD-BDC7-81EB42334874
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEzBAEBCgAdFiEEJ+hF98o4r3eU/HiPD885WK4W4sEFAl5ji1QACgkQD885WK4W
4sEvUgf8C30tak+GQlxl64vT0WZcOZ31yvZAFL7mRjjXLF3N190AKYQPqi0b6KOW
lDAg/eB1APV/2ynZGpn3QoEJpCERCQezuxydc/VEBU1+0zRLl1lLqReyvMTjx4XC
OWUeIhrAqep/F72mVTYWarLS7d2RxzKBknrCCPXt0FWau3Z5wm0hPhCY/9p3+cR6
EjTYRra9okrtjMEQmqH1cbH/ArbfgwXh/crvqAtVopfMICthj+V7JNsV99wwCNEC
wh5ez7Qowl9vWaVqnCT0B0wP9tvEDh7RiZX0gjBItEX+8uYSHv46+HF2WvVT6TCC
T4bRkrBprMH7TTuQ3m5aiJvljmK8WQ==
=9eaW
-----END PGP SIGNATURE-----

--Apple-Mail=_AC1D41EE-DE83-49BD-BDC7-81EB42334874--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AF78C4D9-E80A-43A9-BDA0-F05780966770>