Subject: Re: generate PLIST
To: Joe Reed <jnr@po.cwru.edu>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: tech-pkg
Date: 06/23/2002 23:45:59
--envbJBWh7q8WU6mo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jun 23, 2002 at 04:33:17PM -0500, Joe Reed wrote:
> is there a way to easily generate the PLIST ???=20
>=20
> i'm new to pkg creation and the only way i can think of to create the pli=
st=20
> it to do it manually (look through the output of a `make install`).=20
>=20
> is there a better way of doing it? or does a document exist that explains=
=20
> this process?=20
>=20
> i've looked through pkgsrc/Packages.txt and packages (7).  they explain t=
he=20
> syntax of the file, and what it does, but not how to create it.=20
>=20
> help is appreciated,


from pkgsrc/Packages.txt:


 5 PLIST* issues
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

 ...

 5.1 Miscellaneous
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

 ...

 * Semi-automatic PLIST generation:
   You can use the "make print-PLIST" command to output a PLIST that matches
   any new files since the package was extracted. See below for more=20
   information on this target.

 ...

 7.2 Main targets
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

 ...

  * print-PLIST:
   After a 'make install' from a new or upgraded pkg, this prints out an
   attempt to generate a new PLIST from a 'find -newer work/.extract_done'.
   An attempt is made to care for shared libs etc., but it is STRONGLY=20
   recommended to review the result before putting it into PLIST. On
   upgrades, it's useful to diff the output of this command against an alre=
ady
   existing PLIST file.

   If the package installs files via tar(1) or other methods that don't upd=
ate
   file access times, be sure to add these files manually to your PLIST,
   as 'find -newer' won't catch them!


regards,

--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>   ASCII Ribbon campaign against  /"\=
 --
--                  <salo@silcnet.org>   e-mail in gratuitous HTML and  \ /=
 --
--                                       Microsoft proprietary formats   X =
 --
-- PGPkey: http://Xtrmntr.org/salo.pgp                                  / \=
 --
-- Key Fingerprint: DBEC 8BEC 9A90 ECEC 0FEF  716E 59CE B70B 7E3B 70E2     =
 --

--envbJBWh7q8WU6mo
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)

iD8DBQE9FkGXWc63C347cOIRAg/2AKCjxQoRlI3am/g63nDkCI4enMVtcwCgiMml
Lf6QcYyHRFXBcMetPeDmwHA=
=PqQv
-----END PGP SIGNATURE-----

--envbJBWh7q8WU6mo--