From owner-freebsd-questions@FreeBSD.ORG Sat Nov 28 20:15:22 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 6AEB3106566C for ; Sat, 28 Nov 2009 20:15:22 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id CD7F18FC08 for ; Sat, 28 Nov 2009 20:15:21 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id nASKEjes064129; Sat, 28 Nov 2009 12:14:45 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sat, 28 Nov 2009 12:15:13 -0800 (PST) Date: Sat, 28 Nov 2009 12:15:11 -0800 From: Gary Kline To: Matthias Apitz Message-ID: <20091128201511.GB80767@thought.org> References: <20091128090544.GA80636@thought.org> <4B10ECDF.5010509@otenet.gr> <20091128115809.GA3467@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20091128115809.GA3467@current.Sisis.de> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Manolis Kiagias , 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Nov 2009 20:15:22 -0000 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: 6 -rw-r--r-- 1 root wheel 5918 Nov 28 01:33 mkfontdir-1.0.4.tbz 18 -rw-r--r-- 1 root wheel 17429 Nov 28 01:33 mkfontscale-1.0.6.tbz 146256 -rw-r--r-- 1 root wheel 149655791 Nov 28 01:33 openoffice.org-3.1.1.tbz 528 -rw-r--r-- 1 root wheel 520386 Nov 28 01:34 pango-1.24.5.tbz 152 -rw-r--r-- 1 root wheel 155011 Nov 28 01:33 pciids-20090807.tbz 608 -rw-r--r-- 1 root wheel 599789 Nov 28 01:33 pcre-8.00.tbz 11440 -rw-r--r-- 1 root wheel 11697094 Nov 28 01:33 perl-5.8.9_3.tbz These I eventually scp'd over to 'tao', my current desktop, and stored in /usr/ports/packages/All. My 311 version of OOo would not complete until I figured out that pkg_add required the -F flag. (Actually, I did pkg_add -vFf . I chose the font packages and a few others from the 3D dialogs when I build openoffice. Nutshell, is there a means of building only openoffice-3..1.tbz and letting the user of this use pkg_add and install or build his own additional ports, if any? gary > > 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 -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php