Date: Sun, 4 Sep 2005 20:40:37 +0200 From: Jean-Yves Lefort <jylefort@FreeBSD.org> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: cvs-ports@FreeBSD.org, alejandro@varnet.biz, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/games Makefile ports/games/linux-ut2003-demo Makefile distinfo pkg-descr ports/games/linux-ut2003-demo/files ut2003-demo.in Message-ID: <20050904204037.04bda915.jylefort@FreeBSD.org> In-Reply-To: <20050904185122.29cc5e11@Magellan.Leidinger.net> References: <200509032046.j83KkpQL082427@repoman.freebsd.org> <20050904124420.545395cb@Magellan.Leidinger.net> <20050904171849.21d7613c.jylefort@FreeBSD.org> <20050904185122.29cc5e11@Magellan.Leidinger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Sun, 4 Sep 2005 18:51:22 +0200
Alexander Leidinger <Alexander@Leidinger.net> wrote:
> On Sun, 4 Sep 2005 17:18:49 +0200
> Jean-Yves Lefort <jylefort@FreeBSD.org> wrote:
>
> > > > Log:
> > > > Add linux-ut2003-demo.
> > >
> > > Why is it necessary to generate the plist at install time? As far as I
> > > can see the port installs a fixed set of files and doesn't do any magic
> > > to prevent the installation of files depending on a complex set of
> > > options or the state of the moon.
> >
> > It reduces the size of the port by about 40kb, and eases future updates.
>
> We had a discussion on ports@ a while ago: As long as there are no very
> urgent reasons to use a install-time generated plist a maintainer
> should (as in: we point with fingers on you if you don't do it) use a
> static plist since it is more beneficial for most people.
The pkg-plist/PLIST_*/MAN*/PORTDOCS/... set is not meant to be
human-readable. See x11/nvidia-driver/pkg-plist for an example.
What about moving package metadata (files starting with +) to a
separate file ${PKGNAME}.metadata${PKG_SUFX} and modifying the
pkgtools accordingly?
When passed an uninstalled package name as argument, pkg_info would
fetch the metadata tarball from the packages site, cache it somewhere
beneath ${PACKAGESDIR}, and display the metadata contained in that
tarball.
Furthermore, the metadata files could be used to maintain a pkg_locate
database.
--
Jean-Yves Lefort
jylefort@FreeBSD.org
http://lefort.be.eu.org/
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)
iD8DBQFDGz+lyzD7UaO4AGoRAl/4AJ4huD7dw51zt9HdkpJazqvTAMkoxgCfer4p
oKU0kDEUTE/eV7btmaM8Rts=
=Gkge
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050904204037.04bda915.jylefort>
