Fetching binaries from GitHub

Mathieu Arnold mat at FreeBSD.org
Tue May 2 18:16:36 UTC 2017


Le 01/05/2017 à 08:43, Alexander Moisseev via freebsd-ports a écrit :
> Is there a way to fetch binaries from GitHub instead of sources?
> In particular I need to fetch BackupPC-4.1.2.tar.gz from
> https://github.com/backuppc/backuppc/releases/tag/4.1.2
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
You simply set:

PORTNAME=    BackupPC
PORTVERSION=    4.1.2
MASTER_SITES=   
https://github.com/backuppc/backuppc/releases/tag/${PORTVERSION}

or set PORTNAME to a lowercase version and set DISTNAME=
BackupPC-${PORTVERSION}


There used to be a GITHUB_RELEASE shortcut, but GitHub deprecated it
years ago and as far as I remember, asked us to not provide it.


-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20170502/f2acd6c0/attachment.sig>


More information about the freebsd-ports mailing list