svn commit: r351326 - head/Mk

Bryan Drewery bdrewery at FreeBSD.org
Tue Apr 15 13:00:13 UTC 2014


On 4/15/2014 7:49 AM, Baptiste Daroussin wrote:
> Author: bapt
> Date: Tue Apr 15 12:49:46 2014
> New Revision: 351326
> URL: http://svnweb.freebsd.org/changeset/ports/351326
> QAT: https://qat.redports.org/buildarchive/r351326/
> 
> Log:
>   Register deprecation and expiration in packages
> 
> Modified:
>   head/Mk/bsd.pkgng.mk
> 
> Modified: head/Mk/bsd.pkgng.mk
> ==============================================================================
> --- head/Mk/bsd.pkgng.mk	Tue Apr 15 12:21:49 2014	(r351325)
> +++ head/Mk/bsd.pkgng.mk	Tue Apr 15 12:49:46 2014	(r351326)
> @@ -85,6 +85,14 @@ create-manifest:
>  .endfor
>  .undef opt
>  	@${ECHO_CMD} "}" >> ${MANIFESTF}
> +.if defined(DEPRECATED)
> +	@${ECHO_CMD} -n "annotations: {" >> ${MANIFESTF}
> +	@${ECHO_CMD} -n "deprecated: \"${DEPRECATED:Q}\"," >> ${MANIFESTF}
> +.if defined(EXPIRATION_DATE)
> +	@${ECHO_CMD} -n "expiration: ${EXPIRATION_DATE}" >> ${MANIFESTF}
> +.endif
> +	@${ECHO_CMD} " }" >> ${MANIFESTF}
> +.endif
>  	@[ -f ${PKGINSTALL} ] && ${CP} ${PKGINSTALL} ${METADIR}/+INSTALL; \
>  	${RM} -f ${METADIR}/+PRE_INSTALL ; \
>  	for a in ${PKGPREINSTALL}; do \
> 

This will require bumping PORTREVISION for DEPRECATED and EXPIRE_DATE
changes, resulting in a 100% useless rebuild.

It would be much better to not have this in the packages at all and only
in the repo.

-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20140415/473fd3a6/attachment.sig>


More information about the svn-ports-all mailing list