[NLUUG]   Welcome to ftp.nluug.nl
Current directory: /NetBSD/misc/asau/pbulk-serial-8/
 
Current bandwidth utilization 59.75 Mbit/s
Bandwidth utilization bar
Contents of README:
pbulk in five steps


1. Prepare a clear system (real one, chroot environment, jail, zone, virtual machine).
Configure network access to fetch distribution files.
Create user with name "pbulk".

2. Fetch and extract pkgsrc. E.g.:

(cd /usr && ftp -o - http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc.tar.gz | tar -zxf-)
(cd /usr && fetch -o - http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc.tar.gz | tar -zxf-)
(cd /usr && cvs -Q -z3 -d anoncvs@anoncvs.netbsd.org:/cvsroot get -P pkgsrc)

or using curl, wget, whatever fits.

3. Deploy and configure pbulk tools, e.g.:

sh pbulk.sh -n # native (NetBSD)
sh pbulk.sh -n -c mk.conf.frag # native, apply settings from given mk.conf fragment
sh pbulk.sh -nlc mk.conf.frag # native, apply settings, configure for limited build

4. If configured for limited list, replace the list in /usr/pbulk/etc/pbulk.list
with your list of packages one per line without empty lines or comments. E.g.:

www/firefox
mail/thunderbird
misc/libreoffice4

5. Start it:

/usr/pbulk/bin/bulkbuild


After it finishes, you'll have /mnt filled with distribution files, binary packages, and reports,
plain text summary in /mnt/bulklog/meta/report.txt



Notes

1. It is possible to run unprivileged bulk build.
2. It is possible to use this script to configure distributed bulk builds.
3. More complex configurations possible.

All these cases are not covered here. The script is small enough for understanding.

Icon  Name                    Last modified      Size  
[DIR] Parent Directory - [TXT] README 13-Apr-2015 21:54 1.4K [   ] mk.conf.frag 13-Apr-2015 21:54 121 [   ] pbulk-serial.tar.gz 13-Apr-2015 21:54 2.6K [   ] pbulk.sh 13-Apr-2015 21:54 4.8K

NLUUG - Open Systems. Open Standards
Become a member and get discounts on conferences and more, see the NLUUG website!