Index | Thread | Search

From:
Marc Espie <marc.espie.openbsd@gmail.com>
Subject:
Re: redux Re: patch: update-plist + texlive
To:
ports@openbsd.org, edd@openbsd.org
Cc:
stu@spacehopper.org
Date:
Mon, 6 Jul 2026 19:21:18 +0200

Download raw body.

Thread
  • Edd Barrett:

    redux Re: patch: update-plist + texlive

  • On Mon, Jul 06, 2026 at 05:30:19PM +0100, Stuart Henderson wrote:
    > > > Adds two options (-h/-H and -t) to update-plist.
    > 
    > -H is already there but not documented (at least in the update-plist
    > manual), what do these options do?
    It doesn't do anything so far !
    
    I sent a separate early patch earlier with the documentation.
    
    I didn't send it again because cvs src/ports tsplit is annoying.
    The currentg patch does whatever the latest patch says, for the
    most part.
    
    Index: update-plist.1
    ===================================================================
    RCS file: /build/data/openbsd/cvs/src/share/man/man1/update-plist.1,v
    diff -u -p -r1.10 update-plist.1
    --- update-plist.1	14 Apr 2024 17:24:15 -0000	1.10
    +++ update-plist.1	2 Jul 2026 14:35:39 -0000
    @@ -29,11 +29,14 @@
     .Op Fl c Ar var
     .Op Fl E Ar ext
     .Op Fl e Ar ext
    +.Op Fl H Ar hints
    +.Op Fl h Ar hints
     .Op Fl I Ar var
     .Op Fl i Ar var
     .Op Fl j Ar jobs
     .Op Fl S Ar var
     .Op Fl s Ar var
    +.Op Fl t Ar pkgpath
     .Op Fl X Ar path
     .Op Fl w Ar suffix
     .Fl -
    @@ -114,6 +117,20 @@ Variable
     may expand to nothing, in which case the variable from
     .Fl c Ar var
     can be used to prevent duplicate entries.
    +.It Fl H Ar hints
    +Add an
    +.Ar hints
    +file, that contains locations of files in the format
    +.Dl path subpackage
    +as used for the texlive packages.
    +Those hints are absolute and will preempt already existing entries.
    +.It Fl h Ar hints
    +Add an
    +.Ar hints
    +file, that contains locations of files in the format
    +.Dl path subpackage
    +as used for the texlive packages.
    +Those hints are indicative and will not preempt already existing entries.
     .It Fl i Ar var
     Ignore variable
     .Ar var
    @@ -152,6 +169,9 @@ e.g., for directories like
     .Pa /etc/rc.d
     or
     .Pa /usr/local .
    +.It Fl t Ar pkgpath
    +Trim files corresponding to another package in the ports tree,
    +by ignoring entries in the corresponding packing-list.
     .It Fl v
     Verbose mode.
     Explain about directories stripped from dependencies.
    @@ -164,6 +184,11 @@ that (usually) should not end into packi
     Exclude file at absolute
     .Ar path
     from the information recorded in the packing-list.
    +The
    +.Ar path
    +goes through glob,
    +as documented in
    +.Xr perlfunc 3p .
     .El
     .Pp
     .Nm
    
    > it would be nice if we can split to subpackages by install path.
    > python, mariadb, erlang all have directories where any new files
    > should be directed to specific plists (respectively: tests, tests,
    > wx) and it would be great if that could be encoded in the Makefile.
    
    
    Again: update-plist(1) already discriminates beased on PREFIX.
    If you need something more, please spell it out !
    
    
  • Edd Barrett:

    redux Re: patch: update-plist + texlive