Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2012 04:28:04 -0400
From:      "b. f." <bf1783@googlemail.com>
To:        freebsd-ports@FreeBSD.org
Cc:        johans@FreeBSD.org, "Julian H. Stacey" <jhs@berklix.com>
Subject:   Re: Mk macros & print/texinfo/distinfo variant SHA256 SIZE
Message-ID:  <CAGFTUwO%2BS3qVj70%2BYcSwqCjVZtJQ1c2LxiVegtPStsLq3_oOig@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
> Hi johans at FreeBSD.org
> & cc ports@
> A 9.0-RELEASE ports fails on
>         cd print/texinfo ; make fetch
> unless one imports newer values from current,

...

> So how best to modify Makefile to not break on size & sha256 of
> some but not all files ?
>
> The question can't be unique to this port,

...

> Thoughts ?

It isn't unique to this port. We already have such a construct:
IGNOREFILES, (See ports/Mk/bsd.port.mk,  or

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-checksum.html

.)  Its use is discouraged because of security concerns.  It would
_not_ be wise to
ignore checksums in the case of the texinfo sources -- instead, the
maintainer can simply place copies of the unversioned sources in a
separate, fully-versioned subdirectory on his mirror (e.g.,
${PORTVERSION} rather than ${PORTVERSION:E}), so that they would be
available there after they had been supplanted by newer versions on
the upstream mirrors.  The versioned sources could reside in an
unversioned or partly-versioned subdirectory, to avoid unnecessary
copies.  The maintainer probably knows how to do this; it is described
at:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html#PORTING-MASTER-SITES-N

b.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGFTUwO%2BS3qVj70%2BYcSwqCjVZtJQ1c2LxiVegtPStsLq3_oOig>