Date: Tue, 15 Nov 2011 19:19:10 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-ports@freebsd.org Subject: Re: Recent ports removal Message-ID: <4EC2BB2E.7060404@infracaninophile.co.uk> In-Reply-To: <4EC2B720.4000605@infracaninophile.co.uk> References: <20111109124325.17efc0d1.stas@deglitch.com> <20111109222435.GD92221@azathoth.lan> <20111110110637.GA3514@hades.panopticon> <4EBCC587.10701@FreeBSD.org> <20111111100708.GA24126@hades.panopticon> <20111111124012.3ec48cb3.stas@deglitch.com> <20111111213817.GB8896@lonesome.com> <4EBD9E6F.3040708@delphij.net> <4EBDA077.5070105@FreeBSD.org> <4EC2B720.4000605@infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig30AD3C8C7F22EDB2AE64BBD8 Content-Type: multipart/mixed; boundary="------------080503050607070302080206" This is a multi-part message in MIME format. --------------080503050607070302080206 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 15/11/2011 19:01, Matthew Seaman wrote: > On 11/11/2011 22:23, Doug Barton wrote: >>> By its >>>> nature, deprecated ports tends not to be updated for long time, port= >>>> tools like portmaster, portupgrade will not even see it because no >>>> PORTREVISION bump happen. >=20 >> portmaster -L will warn you about ports marked >> DEPRECATED/FORBIDDEN/IGNORE/BROKEN if you run it against an updated >> ports tree. One area where we actually can improve here is to also put= >> this information in the INDEX. I have an idea for that, just haven't >> been able to put the time into making it happen. >=20 > How about something like the attached?=20 Ooops. Wrong diff. Like this: --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------080503050607070302080206 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="bsd.port.mk.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="bsd.port.mk.diff" Index: bsd.port.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 RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.699 diff -u -u -r1.699 bsd.port.mk --- bsd.port.mk 9 Nov 2011 08:53:12 -0000 1.699 +++ bsd.port.mk 15 Nov 2011 18:59:49 -0000 @@ -4293,8 +4293,9 @@ _BUILD_SEQ=3D build-message pre-build pre-build-script do-build \ post-build post-build-script _INSTALL_DEP=3D build -_INSTALL_SEQ=3D install-message check-install-conflicts run-depends lib-= depends apply-slist pre-install \ - pre-install-script generate-plist check-already-installed +_INSTALL_SEQ=3D install-message check-install-conflicts run-depends lib-= depends \ + apply-slist deprecate-and-expire pre-install pre-install-script \ + generate-plist check-already-installed=20 _INSTALL_SUSEQ=3D check-umask install-mtree pre-su-install \ pre-su-install-script create-users-groups do-install \ install-desktop-entries install-license install-rc-script \ @@ -5615,6 +5616,34 @@ .endif .endif =20 +.if !target(deprecate-and-expire) +deprecate-and-expire: +.if defined(DEPRECATED) || defined(FORBIDDEN) || defined(BROKEN) || \ + defined(IGNORE) || defined(EXPIRATION_DATE) + @if [ -f ${_PKGMESSAGE_SAVE} -a ! -f ${PKGMESSAGE} ] ; then \ + ${CP} ${_PKGMESSAGE_SAVE} ${PKGMESSAGE} ; \ + fi +.for i in DEPRECATED FORBIDDEN BROKEN +.if defined(${i}) + @${ECHO_MSG} "=3D=3D=3D> This port is ${i}: ${${i}}" + @${ECHO_CMD} "=3D=3D=3D> This port is ${i}: ${${i}}" >> ${PKGMESSAGE} +.endif +.endfor +.if defined(IGNORE) + @${ECHO_MSG} "=3D=3D=3D> This port should have been IGNORED: ${IGNORE}= " + @${ECHO_CMD} "=3D=3D=3D> This port should have been IGNORED: ${IGNORE}= " >> \ + ${PKGMESSAGE} +.endif +.if defined(EXPIRATION_DATE) + @${ECHO_MSG} "=3D=3D=3D> EXPIRATION DATE is set to: ${EXPIRATION_DATE}= " + @${ECHO_CMD} "=3D=3D=3D> EXPIRATION DATE is set to: ${EXPIRATION_DATE}= " >> \ + ${PKGMESSAGE} +.endif +_PKGMESSAGE_SAVE :=3D ${PKGMESSAGE} +PKGMESSAGE =3D ${WRKDIR}/${_PKGMESSAGE_SAVE:T} +.endif +.endif + # Generate packing list. Also tests to make sure all required package # files exist. =20 --------------080503050607070302080206-- --------------enig30AD3C8C7F22EDB2AE64BBD8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7CuzQACgkQ8Mjk52CukIxiqACeKmJO1LLQ9zsuTayg7UXpgDUh zLAAn0Zb78Ucuk8NNjCFe3g1biYDjQ6R =rFeZ -----END PGP SIGNATURE----- --------------enig30AD3C8C7F22EDB2AE64BBD8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EC2BB2E.7060404>