Date: Mon, 10 Jan 2005 17:42:56 -0500 From: Chuck Swiger <cswiger@mac.com> To: daniel quinn <freebsd@danielquinn.org> Cc: freebsd-questions@freebsd.org Subject: Re: building a package without installing it Message-ID: <41E304F0.3040209@mac.com> In-Reply-To: <200501101723.20716.freebsd@danielquinn.org> References: <200501101628.24793.freebsd@danielquinn.org> <200501101710.10453.freebsd@danielquinn.org> <200501101417.03984.reso3w83@verizon.net> <200501101723.20716.freebsd@danielquinn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 suppose you could also just do a "make" on the build machine, then scp -r or rsync the work subdirectory of the port to the machine you want to install on, and then finish by doing the "make install" on that target machine. So long as all of the dependencies are up-to-date, anyway... -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41E304F0.3040209>