Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2012 13:20:19 -0600
From:      Bryan Drewery <bdrewery@freebsd.org>
To:        Pietro Cerutti <gahr@freebsd.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r307836 - head/Mk
Message-ID:  <50B51273.7050200@FreeBSD.org>
In-Reply-To: <201211271132.qARBW6VU054528@svn.freebsd.org>
References:  <201211271132.qARBW6VU054528@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig877B96D229F0632345A9524A
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 11/27/2012 5:32 AM, Pietro Cerutti wrote:
> Author: gahr
> Date: Tue Nov 27 11:32:06 2012
> New Revision: 307836
> URL: http://svnweb.freebsd.org/changeset/ports/307836
>=20
> Log:
>   - Add support for cloud.github.com when using USE_GITHUB
>  =20
>   Feature safe:	yes
>   Approved by:	bapt (portmgr@)


Unless I am using this wrong, it doesn't set proper WRKSRC.

- (~/freebsd/ports/ftp/yafc) $ svn diff
-MASTER_SITES=3D  http://cloud.github.com/downloads/sebastinas/yafc/
+MASTER_SITES=3D  GHC
+USE_GITHUB=3D    yes
+GH_ACCOUNT=3D    sebastinas
$ make PORTSDIR=3D~/freebsd/ports DISTDIR=3D/tmp/distfiles -V MASTER_SITE=
S
http://cloud.github.com/downloads/sebastinas/yafc/
$ make PORTSDIR=3D~/freebsd/ports DISTDIR=3D/tmp/distfiles -V WRKSRC
/usr/home/bryan/freebsd/ports/ftp/yafc/work/sebastinas-yafc-
$ make PORTSDIR=3D~/freebsd/ports DISTDIR=3D/tmp/distfiles extract
$ ls work/
=2E/                             ../
=2Eextract_done.yafc._usr_local  yafc-1.2.3/



>=20
> Modified:
>   head/Mk/bsd.sites.mk
>=20
> Modified: head/Mk/bsd.sites.mk
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/Mk/bsd.sites.mk	Tue Nov 27 11:12:36 2012	(r307835)
> +++ head/Mk/bsd.sites.mk	Tue Nov 27 11:32:06 2012	(r307836)
> @@ -517,9 +517,10 @@ MASTER_SITE_GENTOO+=3D \
>  #                 default: not set, mandatory
>  #           =20
>  .if defined(USE_GITHUB)
> -MASTER_SITE_GITHUB+=3D https://nodeload.github.com/%SUBDIR%
> -.if !defined(MASTER_SITES) || !${MASTER_SITES:MGH}
> -MASTER_SITES+=3D	GH
> +MASTER_SITE_GITHUB+=3D		https://nodeload.github.com/%SUBDIR%
> +MASTER_SITE_GITHUB_CLOUD+=3D	http://cloud.github.com/downloads/%SUBDIR=
%
> +.if !defined(MASTER_SITES) || !${MASTER_SITES:MGH} && !${MASTER_SITES:=
MGHC}
> +MASTER_SITES+=3D	GH GHC
>  .endif
>  GH_PROJECT?=3D	${PORTNAME}
>  GH_TAGNAME?=3D	${DISTVERSION}
> @@ -1427,6 +1428,7 @@ MASTER_SITE_KERNEL_ORG+=3D \
> =20
>  MASTER_SITES_ABBREVS=3D	CPAN:PERL_CPAN \
>  			GH:GITHUB \
> +			GHC:GITHUB_CLOUD \
>  			NL:NETLIB \
>  			SF:SOURCEFORGE \
>  			SFJP:SOURCEFORGE_JP \
> @@ -1441,6 +1443,7 @@ MASTER_SITES_SUBDIRS=3D	\
>  			DEBIAN:pool/main/${PORTNAME:C/^((lib)?.).*$/\1/}/${PORTNAME} \
>  			GCC:releases/${DISTNAME} \
>  			GITHUB:${GH_ACCOUNT}/${GH_PROJECT}/legacy.tar.gz/${GH_TAGNAME}?dumm=
y=3D/ \
> +			GITHUB_CLOUD:${GH_ACCOUNT}/${GH_PROJECT}/ \
>  			GNOME:sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} =
\
>  			GNU:${PORTNAME} \
>  			HORDE:${PORTNAME} \
>=20


--=20
Regards,
Bryan Drewery
bdrewery@freenode/EFNet


--------------enig877B96D229F0632345A9524A
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQIcBAEBAgAGBQJQtRJ3AAoJEG54KsA8mwz5jgkQAIeykAdBH3F9bdiQ8YdSrHcu
pVBPjJNkRpnzUadDc3WxkD0mEcNDHC+VTq8RIEpXmvjon3zJ/O4/3tozPEfBjXFd
eGDR29/adu4z8EFHUjddJCfHfAspthAuB2phessl8gMpf0Yhi6aJzu+WCEJk7hXw
k+rR16IECGjJA9rVUY4+zo93uZwx68xtfbq4AyNMXNk7WWDMUcUqrPO3phKgeCTc
yRH4qLwf/uzg2P/DT2p5sqBpzzJxZ+QoqVjZhFUV8qVdaKYaTTUjlTl7jrmTTfLu
yx7jrpwwKFH9w9Qgtb/VY1MkaOJupuBgFMMZVRy7uY8eYibnTiJPOQIK7pUEV3Ni
hLYa2lhPImM4E2CN+oyG7hgAMEk2J11v0IWzzZ9UX3uxi9BGUBC3dvuY0H8rbMzY
pgaKMgbykDHSauZy7YVYng5cTY5Cl8korT7VGQCQ+/piRIxT6QdVhhrz7GM5X+7l
SzXqN1y0VvJoHBOYxW4zGB1PJcbU1+zKJBBqQf6DKGX06UQWvktNx4iY/lDl5nW4
08+ktFOmybFvj2QIwvFgG2jI2O1kkdK6VYfVV/3MQB9Qmjnh8s3VY1CTuKceTZa6
hzgCeH1UEd5EloY49E0lLdOKW6dLxymuIBUW4FqYC+g3lNBI3YRr98HprkXPamBd
kcTO+Qt4zhf+7KF/7sru
=gcpI
-----END PGP SIGNATURE-----

--------------enig877B96D229F0632345A9524A--



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