Mk macros & print/texinfo/distinfo variant SHA256 SIZE
b. f.
bf1783 at googlemail.com
Sat Jun 16 08:28:06 UTC 2012
> 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.
More information about the freebsd-ports
mailing list