From owner-freebsd-questions@FreeBSD.ORG Sun Nov 29 07:14:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3A331065670 for ; Sun, 29 Nov 2009 07:14:58 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from dd12710.kasserver.com (dd12710.kasserver.com [85.13.134.233]) by mx1.freebsd.org (Postfix) with ESMTP id 6C9758FC0A for ; Sun, 29 Nov 2009 07:14:58 +0000 (UTC) Received: from current.Sisis.de (ppp-93-104-112-230.dynamic.mnet-online.de [93.104.112.230]) by dd12710.kasserver.com (Postfix) with ESMTP id 0B24B18312879; Sun, 29 Nov 2009 08:14:56 +0100 (CET) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id nAT7ExxV002292; Sun, 29 Nov 2009 08:14:59 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Sun, 29 Nov 2009 08:14:59 +0100 From: Matthias Apitz To: Gary Kline Message-ID: <20091129071459.GB2182@current.Sisis.de> References: <20091128090544.GA80636@thought.org> <4B10ECDF.5010509@otenet.gr> <20091128115809.GA3467@current.Sisis.de> <20091128201511.GB80767@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20091128201511.GB80767@thought.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) Cc: Manolis Kiagias , Matthias Apitz , FreeBSD Mailing List Subject: Re: how do i automate building packages? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2009 07:14:58 -0000 El día Saturday, November 28, 2009 a las 12:15:11PM -0800, Gary Kline escribió: > On Sat, Nov 28, 2009 at 12:58:09PM +0100, Matthias Apitz wrote: > > El día Saturday, November 28, 2009 a las 11:26:55AM +0200, Manolis Kiagias escribió: > > > > > Now that you got it installed, you may use pkg_create: > > > > > > pkg_create -Rb openoffice.org-3.1.1 > > > > > > (You can get the exact package name using pkg_info -Ix openoffice) > > > The -R flag will also build all dependencies of openoffice. > > ... > > > > If you build more than one package don't forget the flag -n > > > There are things I don't understand about this entire process. > That is, if I was a tarball to give to someone for > distribution anywhere among FBSD users. > > Somegow I wound up with 109 *tbz tarballs. These among them: ... After compiling and installing all ports I'm using I just do something like this: # mkdir PKGDIR # cd PKGDIR # ls /var/db/pkg > ../list # while read name ; do pkg_create -Rnb $name done < ../list this gives some 1000++ packages; # scp * toSomeOtherHost:. and can install all package ther by just do pkg_add(1M); matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu