Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2014 08:00:07 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r351326 - head/Mk
Message-ID:  <534D2D57.60001@FreeBSD.org>
In-Reply-To: <201404151249.s3FCnkvQ026905@svn.freebsd.org>
References:  <201404151249.s3FCnkvQ026905@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--HgDThNfwkl1c5DJ1v4R0mku39qWo625n0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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/
>=20
> Log:
>   Register deprecation and expiration in packages
>=20
> Modified:
>   head/Mk/bsd.pkgng.mk
>=20
> Modified: head/Mk/bsd.pkgng.mk
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- 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 \
>=20

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.

--=20
Regards,
Bryan Drewery


--HgDThNfwkl1c5DJ1v4R0mku39qWo625n0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTTS1XAAoJEDXXcbtuRpfPHSkH/1QCdOAMyhSd6nQBTrGk2LHX
JoYmGIiLbeUQIeWyIbMpmaZ9TOh3EibGLJPU3ZjEXqEfm3vkHyYT/XHleXVYu+gH
8sSh9TyqWSP3xmDzDr81DXF/OXPNE/QyP5E4S3tdSSYqCMHfF1SWGbpY79oYB7rX
8tujxHOsj+pBkYACs56aezDi6eoToIupKRHp8JUj6383qtmoUCYCp4WU0ryJnyuJ
DOzcdSdcdG5n2mCUw0qOLlbdM8FEoOi0fNBioqKz7Cvutomy6m7HncGNFEb3yLiG
0wYBb3jGelNbOOu7Nbkmbns15Dm8ldRXj+mW598zLdY858sgbsyMYjP6y2a5Sw8=
=Va+s
-----END PGP SIGNATURE-----

--HgDThNfwkl1c5DJ1v4R0mku39qWo625n0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?534D2D57.60001>