pkg_create v make package

Chris Whitehouse cwhiteh at onetel.com
Sun Jun 1 02:43:11 UTC 2008


Giorgos Keramidas wrote:
> On Thu, 29 May 2008 22:06:22 +0100, Chris Whitehouse <cwhiteh at onetel.com> wrote:
>> Hi
>>
>> What's the difference between packages made by these two methods?
>>
>> Eg I have youtube_dl installed. From within the youtube_dl port directory
>>
>> # make package-recursive
>>
>> resulted in
>> -rw-r--r--  1 root  wheel  8389 29 May 21:14 /usr/ports/packages/All/youtube_dl-2008.04.20.tbz
>>
>> whereas from within my home directory
>>
>> % pkg_create -Rb youtube_dl-2008.04.20
>>
>> resulted in
>> -rw-r--r--  1 chrisw  chrisw  8281 29 May 21:22 youtube_dl-2008.04.20.tbz
> 
> Packages are just 'tarballs with extra stuff'.  You can extract the
> two tarballs and use `diff -r' to see where they differ :)
> 
> 
Of course you can, thank you.  Sometimes fear of magic stops me
seeing obvious things.

Chris



More information about the freebsd-questions mailing list