how do i automate building packages?
kline at thought.org
Sat Nov 28 20:15:22 UTC 2009
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 <OOo-tarball>.
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?
> 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
Gary Kline kline at thought.org http://www.thought.org Public Service Unix
The 7.31a release of Jottings: http://jottings.thought.org/index.php
More information about the freebsd-questions