Date: Thu, 4 Nov 2004 13:52:11 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Gert Cuykens <gert.cuykens@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: pkg_create Message-ID: <20041104135211.GB4296@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <ef60af090411040517644ab610@mail.gmail.com> References: <ef60af090411040517644ab610@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--R3G7APHDIzY6R/pk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 04, 2004 at 02:17:55PM +0100, Gert Cuykens wrote: > When you do make install in a ports application /usr/ports/... > Does it create a pkg in /var/db/pkg/... ? No. The stuff that gets stored in /var/db/pkg is *part* of what's required to make a package -- given that, and an installed port you can use # pkg_create -b pkg-name to generate a complete package. The contents of /var/db/pkg serve to document all of the files belonging to the package, their checksums, various scripts used to install or deinstall the package, what the package depends on, etc. =20 > And do you use pkg_create like this pkg_create pkgname > /var/db/pkg/... or like this pkg_create pkgname /usr/ports/... >=20 > Whats the difference between /var/db/pkg/... and /usr/ports/pakages/... ? No -- you shouldn't output anything to /var/db/pkg, except for what pkg_add(1) etc. produce automatically. Packages you create for later installation elsewhere can be profitably saved under /usr/ports/packages which lets other package management tools find them automatically. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --R3G7APHDIzY6R/pk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBijQLiD657aJF7eIRAkm0AKCJCJgOewPPSWNp5V+Qe3OXto3Z4wCdGYOY J7aI/+BXXBAuegLNaQ/KTVs= =tRWS -----END PGP SIGNATURE----- --R3G7APHDIzY6R/pk--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041104135211.GB4296>