building a package without installing it

Frank J. Laszlo laszlof at vonostingroup.com
Mon Jan 10 14:53:17 PST 2005


Chuck Swiger wrote:

> daniel quinn wrote:
>
>> On January 10, 2005 05:17 pm, Michael C. Shultz wrote:
>>
>>> If the port is allready installed try:
>>>   pkg_create -b {name of installed port as listed under /var/db/pkg}
>>
>>
>> cool, thanks
>> and what if i don't want it installed on this machine?  if i just 
>> want to build it here for use elsewhere?
>
>
> You could set up a jail and chroot into that before building the port, 
> if you really want to keep your base system untouched.  The pointyhat 
> cluster used to build packages for the FTP servers does roughly this 
> in order to provide a clean environment for testing.
>
I meant to send this before I left work, But here is a script I wrote 
for doing just this.

http://www.franksworld.org/localuser_portinstall.html

Let me know if you have any questions regarding setup, This should suit 
you nicely, as it will build most any port without root accessm within a 
chroot type environment.

-Frank Laszlo


More information about the freebsd-questions mailing list