Date: Wed, 3 Sep 2014 10:25:39 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports@freebsd.org Subject: [BRAINSTORMING] simplifying maintainer's life Message-ID: <20140903082538.GE63085@ivaldir.etoilebsd.net>
next in thread | raw e-mail | index | archive | help
--2hMgfIw2X+zgXrFs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi all, On of the most borring thing IMHO in the plist maintainance is all the directories. I have been working on some evolutions I want to share and discuss before making them official. First you have to know that since pkg 1.3 @dirrm and @dirrmtry are equivalent. Evolutions: 1/ stop prepending directories in plist with @dir*: let pkg discover the path correspond to a directory and handle it as such (easy) 2/ make pkg automatically remove directories under PREFIX without the need of adding them in plist, such as only empty directories and directories not under PREFIX will have to be listed. Of course pkg will not try to remove directories owned by another package. To achieve the point 2 that will mean we will stop using the mtree inside packages and create a "hier" package that will have the default hierarchy and every package but pkg will depend on this hier package (except if PREFIX != LOCALBASE) 2 bonus of this approach: - it will speed up pkg operation by avoiding to have to extract the mtree for each package installation - it will simplify a lot check-plist Any opinion here? regards, Bapt --2hMgfIw2X+zgXrFs Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlQG0IIACgkQ8kTtMUmk6EzmLACfbWIvRQC/qqCbzsafzBupyv9M JXYAniTA+xdmeEkm5dSHjNiBm/GET3gf =7FZq -----END PGP SIGNATURE----- --2hMgfIw2X+zgXrFs--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140903082538.GE63085>