Date: Fri, 29 Jul 2016 18:33:43 +0100 From: Andrew Wood <andrewjameswood@ymail.com> To: freebsd-questions@freebsd.org Subject: Re: Creating a pkg Message-ID: <e493d7ea-9c94-c929-bb46-a2f86a6447a1@ymail.com> In-Reply-To: <4e9ba369-ea20-03d4-f549-17a5bd73e66e@FreeBSD.org> References: <981a28ca-09a4-995b-fee3-55d4a6dc5fb3@ymail.com> <ab6bf712-f7ff-f5c6-3dc8-3b3980a3e33d@freebsd.org> <889eda92-91ce-ecd0-3426-97b688093102@ymail.com> <4e9ba369-ea20-03d4-f549-17a5bd73e66e@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 28/07/16 22:14, Matthew Seaman wrote: > Note that > pkg(8) will automatically calculate the file checksums so you can leave those bits out of > your manifest What is the syntax for doing this, what would I put in the files {} section where the hash would normally go? > You need to enumerate each file in your package separately. 'dir' > entries will create a directory -- frequently one that is left empty. > You don't need to list every directory needed to install all the files > in the package. They are created automatically when the file is > installed. You only need a dir entry if the directory wouldn't > otherwise be created. Will that directory also be deleted automatically when the package is removed, I dont need to include an rm in a post deinstall script? Thanks Andrew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e493d7ea-9c94-c929-bb46-a2f86a6447a1>