Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2011 16:10:36 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-ports@freebsd.org
Subject:   Re: Recent ports removal
Message-ID:  <4ED3B27C.6000909@infracaninophile.co.uk>
In-Reply-To: <4EC379BA.1060800@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> <4EC3724F.4030006@FreeBSD.org> <4EC379BA.1060800@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)
--------------enig2B57CDD9C68D542D4DDA41AC
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 16/11/2011 08:52, Matthew Seaman wrote:
>> How about something like the attached?  Rather than adding to the INDE=
X,
>> >> this appends DEPRECATED, FORBIDDEN, IGNORE, BROKEN and EXPIRATION_D=
ATE
>> >> values to pkg-message, creating one if the port doesn't already hav=
e it.

So I spent a bit of time polishing up my idea and have submitted it:
http://www.freebsd.org/cgi/query-pr.cgi?pr=3D162924

> Won't work for my use case, which is 'portmaster -L --index-only'

With this change you could display the pkg-message with all the flags
for DEPRECATION etc. before doing any package update.  You'ld have to
download the package tarball first though.

Anyhow, as an aside from all that, while working on this I discovered
that some 1958 ports contain explicit code which is some variation on

post-install:
	@${CAT} ${PKGMESSAGE}

Surely a candidate for genericizing and factoring out into bsd.ports.mk?
 Except that some hundred-ish of those ports are non-trivial to modify
simply by running a script, due to conditionalising the display of
pkg-message on other settings, or using pkg-message for messages at the
pre-build stage or other oddities.


	Cheers,

	Matthew

--=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


--------------enig2B57CDD9C68D542D4DDA41AC
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/

iEYEARECAAYFAk7TsoUACgkQ8Mjk52CukIzfBQCcDTi/VsS5w3ZdEoQyxXIG5aEZ
MNkAn0SK89LT2GZEZq8dYZATgTpd51vC
=DL8r
-----END PGP SIGNATURE-----

--------------enig2B57CDD9C68D542D4DDA41AC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ED3B27C.6000909>