svn commit: r307836 - head/Mk
Pietro Cerutti
gahr at FreeBSD.org
Tue Nov 27 19:27:07 UTC 2012
On 2012-Nov-27, 13:20, Bryan Drewery wrote:
> 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
> >
> > Log:
> > - Add support for cloud.github.com when using USE_GITHUB
> >
> > 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= http://cloud.github.com/downloads/sebastinas/yafc/
> +MASTER_SITES= GHC
> +USE_GITHUB= yes
> +GH_ACCOUNT= sebastinas
> $ make PORTSDIR=~/freebsd/ports DISTDIR=/tmp/distfiles -V MASTER_SITES
> http://cloud.github.com/downloads/sebastinas/yafc/
> $ make PORTSDIR=~/freebsd/ports DISTDIR=/tmp/distfiles -V WRKSRC
> /usr/home/bryan/freebsd/ports/ftp/yafc/work/sebastinas-yafc-
here you miss GH_COMMIT, from bsd.sites.mk:
#
# GH_COMMIT - first 7 digits of the commit that generated GH_TAGNAME
# (man git-describe(1))
# default: not set, mandatory
> $ make PORTSDIR=~/freebsd/ports DISTDIR=/tmp/distfiles extract
> $ ls work/
> ./ ../
> .extract_done.yafc._usr_local yafc-1.2.3/
Unfortunately, some come as above, some as you see it here.. I suggest
that you set WRKSRC according to your needs..
> >
> > Modified:
> > head/Mk/bsd.sites.mk
> >
> > Modified: head/Mk/bsd.sites.mk
> > ==============================================================================
> > --- 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+= \
> > # default: not set, mandatory
> > #
> > .if defined(USE_GITHUB)
> > -MASTER_SITE_GITHUB+= https://nodeload.github.com/%SUBDIR%
> > -.if !defined(MASTER_SITES) || !${MASTER_SITES:MGH}
> > -MASTER_SITES+= GH
> > +MASTER_SITE_GITHUB+= https://nodeload.github.com/%SUBDIR%
> > +MASTER_SITE_GITHUB_CLOUD+= http://cloud.github.com/downloads/%SUBDIR%
> > +.if !defined(MASTER_SITES) || !${MASTER_SITES:MGH} && !${MASTER_SITES:MGHC}
> > +MASTER_SITES+= GH GHC
> > .endif
> > GH_PROJECT?= ${PORTNAME}
> > GH_TAGNAME?= ${DISTVERSION}
> > @@ -1427,6 +1428,7 @@ MASTER_SITE_KERNEL_ORG+= \
> >
> > MASTER_SITES_ABBREVS= CPAN:PERL_CPAN \
> > GH:GITHUB \
> > + GHC:GITHUB_CLOUD \
> > NL:NETLIB \
> > SF:SOURCEFORGE \
> > SFJP:SOURCEFORGE_JP \
> > @@ -1441,6 +1443,7 @@ MASTER_SITES_SUBDIRS= \
> > DEBIAN:pool/main/${PORTNAME:C/^((lib)?.).*$/\1/}/${PORTNAME} \
> > GCC:releases/${DISTNAME} \
> > GITHUB:${GH_ACCOUNT}/${GH_PROJECT}/legacy.tar.gz/${GH_TAGNAME}?dummy=/ \
> > + GITHUB_CLOUD:${GH_ACCOUNT}/${GH_PROJECT}/ \
> > GNOME:sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} \
> > GNU:${PORTNAME} \
> > HORDE:${PORTNAME} \
> >
>
>
> --
> Regards,
> Bryan Drewery
> bdrewery at freenode/EFNet
>
--
Pietro Cerutti
The FreeBSD Project
gahr at FreeBSD.org
PGP Public Key:
http://gahr.ch/pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20121127/bcb7c4e3/attachment.sig>
More information about the svn-ports-all
mailing list