From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 22:20:21 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E6A716A4D0 for ; Mon, 10 Jan 2005 22:20:21 +0000 (GMT) Received: from out012.verizon.net (out012pub.verizon.net [206.46.170.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E87743D2F for ; Mon, 10 Jan 2005 22:20:20 +0000 (GMT) (envelope-from reso3w83@verizon.net) Received: from ringworm.mechee.com ([4.26.84.7]) by out012.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20050110222019.PUGZ10436.out012.verizon.net@ringworm.mechee.com> for ; Mon, 10 Jan 2005 16:20:19 -0600 Received: by ringworm.mechee.com (Postfix, from userid 1001) id 4F4372CE742; Mon, 10 Jan 2005 14:17:04 -0800 (PST) From: "Michael C. Shultz" To: freebsd-questions@freebsd.org Date: Mon, 10 Jan 2005 14:17:03 -0800 User-Agent: KMail/1.7.2 References: <200501101628.24793.freebsd@danielquinn.org> <41E2FB7D.4090606@tvog.net> <200501101710.10453.freebsd@danielquinn.org> In-Reply-To: <200501101710.10453.freebsd@danielquinn.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501101417.03984.reso3w83@verizon.net> X-Authentication-Info: Submitted using SMTP AUTH at out012.verizon.net from [4.26.84.7] at Mon, 10 Jan 2005 16:20:19 -0600 Subject: Re: building a package without installing it X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jan 2005 22:20:21 -0000 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