Date: Mon, 10 Jan 2005 14:17:03 -0800 From: "Michael C. Shultz" <reso3w83@verizon.net> To: freebsd-questions@freebsd.org Subject: Re: building a package without installing it Message-ID: <200501101417.03984.reso3w83@verizon.net> In-Reply-To: <200501101710.10453.freebsd@danielquinn.org> References: <200501101628.24793.freebsd@danielquinn.org> <41E2FB7D.4090606@tvog.net> <200501101710.10453.freebsd@danielquinn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 10 January 2005 02:10 pm, daniel quinn wrote: > On January 10, 2005 05:02 pm, Frank Laszlo wrote: > > daniel quinn wrote: > > >is this even possible? a number of google results have informed > > > me that it isn't, but i'm hoping there's a hack or a work around. > > > essentially, i want to build the packages on one box, copy them > > > to many boxes and run package_add there. > > > > > >suggestions/comments? > > > > FYI, this belongs on -ports. > > sorry 'bout that. i wasn't sure since it's both a question and > something concerning ports ;-) > > > what is wrong with 'make package' ? > > from the ports manual: > package Make a binary package for the port. The port will be > installed if it has not already been. The package is a > .tbz file that you can use to install the port on other > machines with pkg_add(1). If the directory specified by > PACKAGES does not exist, the package will be put into > the current directory. See PKGREPOSITORY and PKGFILE. > > sounds encouraging, but here's what happens when i actually try it: > > # cd /usr/ports/shells/bash > # make package > ===> Installing for bash-3.0.16_1 > ===> bash-3.0.16_1 depends on shared library: intl - found > ===> Generating temporary packing list > ===> Checking if shells/bash already installed > ===> bash-3.0.16_1 is already installed > You may wish to ``make deinstall'' and install this port > again by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of shells/bash > without deleting it first, set the variable > "FORCE_PKG_REGISTER" in your environment or the "make install" > command line. *** Error code 1 > > Stop in /usr/ports/shells/bash. > > there's nowhere for me to specify that i don't want bash installed on > this machine. If the port is allready installed try: pkg_create -b {name of installed port as listed under /var/db/pkg} -Mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501101417.03984.reso3w83>