porter handbook MASTER_SITES section outdated?

b. f. bf1783 at googlemail.com
Mon Aug 1 14:42:15 UTC 2011


> In sec 5.4.2 MASTER_SITES in the porter handbook:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html#AEN1512
>
> the example given is:
>
> MASTER_SITES=         ${MASTER_SITE_GNU}
>
> However, sunpoet@ has just committed my patch
> changing my ${IGNORE_MASTER_SITE_XCONTRIB} and
> ${MASTER_SITE_LOCAL} to:
>
> MASTER_SITES=   XCONTRIB/applications \
>                 http://seis.bris.ac.uk/~mexas/ \
>                 LOCAL/simon
>
> Are both forms acceptable? Or is the form
> given in the porters handbook outdated?

Yes. No.  He is just making use of an abbreviation that is translated
into the full urls by the macros at the end of ports/Mk/bsd.sites.mk.
You can do the same in your own submissions, but you should check that
they actually work by using "make fetch-urlall-list" or the like.

b.


More information about the freebsd-ports mailing list