GSoC:Complete Package support in the pkg_install tools and cleanup

Julien Laffaye kimelto at gmail.com
Thu May 6 02:58:47 UTC 2010


On Wed, May 5, 2010 at 7:34 PM, Wesley Shields <wxs at freebsd.org> wrote:
> On Tue, May 04, 2010 at 10:30:13AM -0700, Julien Laffaye wrote:
>> On Tue, May 4, 2010 at 3:15 AM, Andrew Brampton
>> <brampton+freebsd at gmail.com> wrote:
>> >
>> > Hi Julien,
>> >
>> > Glad you got onto the GSoC programme. I'm curious, what benefit is a
>> > complete package over many individual ones?
>>
>> Hi Andrew,
>>
>> If you cant or dont want to use the remote feature of of pkg_add (ex.
>> your packages are built with non default options and you think its
>> overkill to setup a server to distribute them) then you make a
>> complete package. You only have to copy one file (say on an usb
>> device), which is less error prone than 150 files.
>> The global idea is to write a meta port which depends on the desired
>> ports, type `make complete-package`, copy the output file on the
>> machine to bootstrap, pkg_add /path/to/complete-pkg and voila!
>
> Do you intend to add the "complete-package" target also or is that out
> of scope?
>

Yes, it is scheduled to add the ability to build complete packages
from the ports tree.
The name of the target is not yet endorsed but I think that
"complete-package" is pretty straight forward.

Regards,
Julien


More information about the freebsd-hackers mailing list