From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 22:11:24 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 0049716A4CE for ; Mon, 10 Jan 2005 22:11:24 +0000 (GMT) Received: from mci-mail.nodes.net.ad-flow.com (mci-mail.nodes.net.ad-flow.com [66.48.68.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F07743D3F for ; Mon, 10 Jan 2005 22:11:23 +0000 (GMT) (envelope-from freebsd@danielquinn.org) Received: from douglas ([66.59.162.146]) (authenticated)j0AM88d04856 for ; Mon, 10 Jan 2005 22:08:08 GMT Exocomm-Delivery-Date: Mon, 10 Jan 2005 22:08:08 GMT Exocomm-URL: www.exocomm.com From: daniel quinn To: freebsd-questions@freebsd.org Date: Mon, 10 Jan 2005 17:10:10 -0500 User-Agent: KMail/1.7.2 References: <200501101628.24793.freebsd@danielquinn.org> <41E2FB7D.4090606@tvog.net> In-Reply-To: <41E2FB7D.4090606@tvog.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501101710.10453.freebsd@danielquinn.org> 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:11:24 -0000 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. -- Now think real hard. You've been bird-dogging this township a while now. They wouldn't mind a corpse of you. Now you can luxuriate in a nice jail cell, but if your hand touches metal, I swear by my pretty floral bonnet, I will end you. - Mal, Firefly, "Our Mrs. Reynolds"