Skip site navigation (1)Skip section navigation (2)
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
--Signature=_Sun__4_Sep_2005_20_40_37_+0200_ovtMMy.9T9D_noZC
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
> =20
> > > >   Log:
> > > >   Add linux-ut2003-demo.
> > >=20
> > > 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 mag=
ic
> > > to prevent the installation of files depending on a complex set of
> > > options or the state of the moon.
> >=20
> > It reduces the size of the port by about 40kb, and eases future updates.
>=20
> 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.

--=20
Jean-Yves Lefort

jylefort@FreeBSD.org
http://lefort.be.eu.org/

--Signature=_Sun__4_Sep_2005_20_40_37_+0200_ovtMMy.9T9D_noZC
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFDGz+lyzD7UaO4AGoRAl/4AJ4huD7dw51zt9HdkpJazqvTAMkoxgCfer4p
oKU0kDEUTE/eV7btmaM8Rts=
=Gkge
-----END PGP SIGNATURE-----

--Signature=_Sun__4_Sep_2005_20_40_37_+0200_ovtMMy.9T9D_noZC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050904204037.04bda915.jylefort>