[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Naming (Re: Unified packages. )



 * From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>

 * Thanks for describing this, I'll have a look.
 * It's basically what NetBSD has as bulk build framework, without
 * the chroot environment, though. (We just pkg_delete -rR \* :).

We also parallelize the builds.  This is necessary as we have to build
three sets of 3,000 packages (for 3-stable, 4-stable and 5-current).
The multiple chroot environments per machine is to amortize the cost
fetching and disk access.

 * The page mentions ports/INDEX - what role does that file play, and where
 * is it used? pkg_version? 

It is used to generate the Makefile that drives the entire build.  The
Makefile looks something like this:

===
all:: archivers-all
all:: astro-all
 :
archivers-all:: 9e-1.0.tgz
9e-1.0.tgz:  
        @/a/asami/portbuild/scripts/pdispatch 4 /a/asami/portbuild/scripts/portbuild
 9e-1.0.tgz /usr/ports/archivers/9e
 :
archivers-all:: deepforest-1.0a.tgz
deepforest-1.0a.tgz: XFree86-3.3.6.tgz jpeg-6b.tgz libimg-1.2.2.tgz \
	png-1.0.8.tgz tcl-8.2.3.tgz tiff-3.5.5.tgz tk-8.2.3.tgz \
	XFree86-3.3.6.tgz jpeg-6b.tgz libimg-1.2.2.tgz png-1.0.8.tgz \
	tcl-8.0.5.tgz tcl-8.2.3.tgz tiff-3.5.5.tgz tk-8.2.3.tgz \
	tkstep-8.0.4.tgz xpm-3.4k.tgz
        @/a/asami/portbuild/scripts/pdispatch 4 /a/asami/portbuild/scripts/portbuild \
		deepforest-1.0a.tgz /usr/ports/archivers/deepforest \
		XFree86-3.3.6.tgz jpeg-6b.tgz libimg-1.2.2.tgz ...
 :
===

All the packages listed after deepforest are its dependencies.  When
deepforest is built in one of the chrooted areas, the packages listed
in the pdispatch command line is copied over to that area and
installed via pkg_add before the deepforest compilation is run.

Satoshi

To unsubscribe: send mail to <majordomo@unixathome.org>
with "unsubscribe bsdports" in the body of the message