how do i automate building packages?
Matthias Apitz
guru at unixarea.de
Sun Nov 29 07:14:58 UTC 2009
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 at unixarea.de> - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
More information about the freebsd-questions
mailing list