[BRAINSTORMING] simplifying maintainer's life

Matthias Andree matthias.andree at gmx.de
Wed Sep 3 21:35:49 UTC 2014


Am 03.09.2014 um 14:56 schrieb Tijl Coosemans:
> On Wed, 3 Sep 2014 10:25:39 +0200 Baptiste Daroussin <bapt at FreeBSD.org> wrote:
>> On of the most borring thing IMHO in the plist maintainance is all the
>> directories.
> 
> Another idea is to support shell glob patterns (*?[) in pkg-plist.  This
> is possible now thanks to staging.  It would allow moving PORTDOCS,
> PORTDATA and PORTEXAMPLES to pkg-plist.  But more importantly, it would
> allow automatic plists that some ports create in post-install to be
> turned back into a real pkg-plist.  Without glob patterns some pkg-plists
> are just too long or too complicated depending on options.

That is a bad idea.  We have scripts to generate the pkg-plist to
stdout, and something like

make makeplist >/tmp/plist.new
vim -o pkg-plist /tmp/plist.new

works like a breeze for me, meaning it is very easy to maintain the
list.  With graphical editors that show two files at the same time, or
with mouse support in vim, it's even easier to copy and paste entire
blocks, for instance, from auto-generated HTML documentation.

There is no reason to facilitate throwing away robustness and stability
of the package build and listen to complaints about missing files.



More information about the freebsd-ports mailing list