Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 2009 08:14:59 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Gary Kline <kline@thought.org>
Cc:        Manolis Kiagias <sonicy@otenet.gr>, Matthias Apitz <guru@unixarea.de>, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: how do i automate building packages?
Message-ID:  <20091129071459.GB2182@current.Sisis.de>
In-Reply-To: <20091128201511.GB80767@thought.org>
References:  <20091128090544.GA80636@thought.org> <4B10ECDF.5010509@otenet.gr> <20091128115809.GA3467@current.Sisis.de> <20091128201511.GB80767@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <guru@unixarea.de> - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091129071459.GB2182>