distbb - distributed bulk build tool for pkgsrc

Key features:
   - several packages can be built at the same time on different
        machines or chroots
   - good design ;-)
   - flexibility
   - compactness
   - no limit on a number of "slave" machines and/or chroots
   - fault tolerance, e.g. failures of slave hosts is not a problem
   - nice logging
This commit is contained in:
cheusov 2011-05-18 19:36:39 +00:00
parent 495e0ec5c5
commit ece269c2b2
5 changed files with 107 additions and 0 deletions

11
pkgtools/distbb/DESCR Normal file
View file

@ -0,0 +1,11 @@
distbb - distributed bulk build tool for pkgsrc
Key features:
- several packages can be built at the same time on different
machines or chroots
- good design ;-)
- flexibility
- compactness
- no limit on a number of "slave" machines and/or chroots
- fault tolerance, e.g. failures of slave hosts is not a problem
- nice logging

6
pkgtools/distbb/MESSAGE Normal file
View file

@ -0,0 +1,6 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2011/05/18 19:36:39 cheusov Exp $
Additional software necessary to run bulk builds
(rsync, sodo, mailx or whatever you want)
should be installed separately.
===========================================================================

52
pkgtools/distbb/Makefile Normal file
View file

@ -0,0 +1,52 @@
# $NetBSD: Makefile,v 1.1.1.1 2011/05/18 19:36:39 cheusov Exp $
#
DISTNAME= distbb-0.40.0
CATEGORIES= pkgtools
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/cheusov/distbb/ \
http://mova.org/~cheusov/pub/distbb/
MAINTAINER= cheusov@tut.by
HOMEPAGE= http://mova.org/~cheusov/pub/distbb/
COMMENT= DISTributed Bulk Build tool for pkgsrc
LICENSE= 2-clause-bsd
DEPENDS+= pkg_summary-utils>=0.53:../../pkgtools/pkg_summary-utils
DEPENDS+= paexec>=0.16.0:../../parallel/paexec
DEPENDS+= runawk>=1.1.0:../../lang/runawk
DEPENDS+= pipestatus>=0.6.0:../../devel/pipestatus
DEPENDS+= digest-[0-9]*:../../pkgtools/digest
BUILD_DEPENDS+= mk-configure>=0.21:../../devel/mk-configure
USE_LANGUAGES= # none
REPLACE_SH+= distbb.in distbb_diff.in slave.in stage_*.in
REPLACE_INTERPRETER+= runawk
REPLACE.runawk.old= /usr/bin/env runawk
REPLACE.runawk.new= ${PREFIX}/bin/runawk
REPLACE_FILES.runawk= gen_weights.in gen_queue.in
PKG_DESTDIR_SUPPORT= user-destdir
EGDIR= ${PREFIX}/share/examples/distbb
DOCDIR= ${PREFIX}/share/doc/distbb
CONF_FILES= ${EGDIR}/distbb.conf ${PKG_SYSCONFDIR}/distbb.conf
CONF_FILES+= ${EGDIR}/distbb.local.mk ${PKG_SYSCONFDIR}/distbb.local.mk
DOCFILES= README NEWS TODO
MAKE_FLAGS+= EGDIR=${EGDIR}
AUTO_MKDIRS= yes
post-install:
.for f in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR}
.endfor
MAKE_PROGRAM= mkcmake
.include "../../mk/bsd.pkg.mk"

33
pkgtools/distbb/PLIST Normal file
View file

@ -0,0 +1,33 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/05/18 19:36:39 cheusov Exp $
bin/distbb
bin/distbb_diff
libexec/distbb/common
libexec/distbb/gen_queue
libexec/distbb/gen_weights
libexec/distbb/make-depends
libexec/distbb/slave
libexec/distbb/stage_build
libexec/distbb/stage_checksum
libexec/distbb/stage_gen_report
libexec/distbb/stage_init
libexec/distbb/stage_report
libexec/distbb/stage_summary
libexec/distbb/stage_update_best
libexec/distbb/stage_upload
libexec/distbb/stage_upload_logs
libexec/distbb/stage_upload_pkgs
libexec/distbb/upload_pkgs_all_files
libexec/distbb/upload_pkgs_built_total
libexec/distbb/upload_pkgs_no_bin_on_cdrom
libexec/distbb/upload_pkgs_no_bin_on_ftp
libexec/distbb/wrapper
libexec/distbb/wrapper_unpriv
share/distbb/distbb.css
share/distbb/distbb.default.conf
share/distbb/distbb.ico
share/distbb/distbb.mk
share/doc/distbb/NEWS
share/doc/distbb/README
share/doc/distbb/TODO
share/examples/distbb/distbb.conf
share/examples/distbb/distbb.local.mk

5
pkgtools/distbb/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2011/05/18 19:36:39 cheusov Exp $
SHA1 (distbb-0.40.0.tar.gz) = 45091e1d41e8a934bf47685beb93cfcc87b77edc
RMD160 (distbb-0.40.0.tar.gz) = bae3831e2bc41f96ed009b485cc93ba111cf1920
Size (distbb-0.40.0.tar.gz) = 93098 bytes