Date: Wed, 3 Sep 2008 13:01:14 +0200 From: Matthias Apitz <matthias.apitz@oclc.org> To: Manolis Kiagias <sonic2000gr@gmail.com> Cc: Matias Surdi <matiassurdi@gmail.com>, freebsd-questions@freebsd.org Subject: Re: pkg_create Message-ID: <20080903110114.GA7293@rebelion.Sisis.de> In-Reply-To: <48BE6B99.6090609@gmail.com> References: <g9loua$782$1@ger.gmane.org> <48BE6B99.6090609@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
El día Wednesday, September 03, 2008 a las 01:48:57PM +0300, Manolis Kiagias escribió: > Matias Surdi wrote: > >I've a directory tree structure in /usr/local from wich I'd like to > >create a package. > > > >How are pkg_create arguments supposed to be? > > > >Where can I find an example? > > > >I've read the manpage, but an example would be really usefull. > > > >Thanks for your help again. > > > > pkg_create can create packages from your installed ports (or packages), > it will not create a mega-package of all your system, if thats is what > you are looking for. Of course, you can instruct pkg_create to create > packages for *all* your installed programs. > > Typical use is something like: > > pkg_create -Rb foo-1.2.3_4 ... I've until now only used the above mentioned form to create package files from installed packages to installe them into another computer; but, if I understand the man-page of pkg_create(1) correctly, one can also create with this packages from the files in the file system; create a package with 'pkg_create -Rb foo-1.2.3_4' and have a look into the resulting tar file foo-1.2.3_4.tbz; this will give you an idea of what you must provide on the command line for building a package from certain files; this is what I would start with; hih matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e <matthias.apitz@oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ We should all learn from the peoples of The Netherlands, France and Ireland. Aprendamos todos de los pueblos de Holanda, Francia e Irlanda.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080903110114.GA7293>