Recent ports removal

Matthew Seaman m.seaman at infracaninophile.co.uk
Wed Nov 16 08:52:23 UTC 2011


On 16/11/2011 08:20, Doug Barton wrote:
> On 11/15/2011 11: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.
>>
>>> 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.
>>
>> How about something like the attached?  Rather than adding to the INDEX,
>> this appends DEPRECATED, FORBIDDEN, IGNORE, BROKEN and EXPIRATION_DATE
>> values to pkg-message, creating one if the port doesn't already have it.
> 
> Won't work for my use case, which is 'portmaster -L --index-only'

Orthogonal to your use case: adding this sort of stuff to the INDEX is a
good idea too.  Not everyone uses portmaster though.  Also changing the
format of the INDEX has ramifications with various 3rd party software
that uses it, so it's going to be some effort to get it all sorted and
debugged.  (BTW.  Very happy to code up any proposed experimental INDEX
formats in my FreeBSD::Portindex modules or receive patches.)

The change I propose here is fairly minimal, and it should ensure that
any user of ports or packages sees notification through mechanisms that
already exist.  Since they will see this at the point they install a
deprecated port -- coupling that with bumping PORTREVISION at the point
the port is deprecated should bring such changes to the attention of
users in time for them to raise any objections / provide fixes etc.

In fact, as I think about it this morning, another idea is this sort of
mechanism could be used to notify users of unmaintained ports and ask
for volunteers to maintain them.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20111116/08b8c644/signature-0001.pgp


More information about the freebsd-ports mailing list