summaryrefslogtreecommitdiff
path: root/pkgtools/distbb
diff options
context:
space:
mode:
authorcheusov <cheusov>2011-05-18 19:36:39 +0000
committercheusov <cheusov>2011-05-18 19:36:39 +0000
commit99e3bd894a19c9b70700d1f09d9008985c3eb678 (patch)
treebb31d4b6fb17324bebd72e3ea5588896ed5686d4 /pkgtools/distbb
parentfe1772ba9d695090b9b6c798fb24e7679c1c5352 (diff)
downloadpkgsrc-99e3bd894a19c9b70700d1f09d9008985c3eb678.tar.gz
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
Diffstat (limited to 'pkgtools/distbb')
-rw-r--r--pkgtools/distbb/DESCR11
-rw-r--r--pkgtools/distbb/MESSAGE6
-rw-r--r--pkgtools/distbb/Makefile52
-rw-r--r--pkgtools/distbb/PLIST33
-rw-r--r--pkgtools/distbb/distinfo5
5 files changed, 107 insertions, 0 deletions
diff --git a/pkgtools/distbb/DESCR b/pkgtools/distbb/DESCR
new file mode 100644
index 00000000000..6531c365f99
--- /dev/null
+++ b/pkgtools/distbb/DESCR
@@ -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
diff --git a/pkgtools/distbb/MESSAGE b/pkgtools/distbb/MESSAGE
new file mode 100644
index 00000000000..485bfbe2c87
--- /dev/null
+++ b/pkgtools/distbb/MESSAGE
@@ -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.
+===========================================================================
diff --git a/pkgtools/distbb/Makefile b/pkgtools/distbb/Makefile
new file mode 100644
index 00000000000..51ab3a6967e
--- /dev/null
+++ b/pkgtools/distbb/Makefile
@@ -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"
diff --git a/pkgtools/distbb/PLIST b/pkgtools/distbb/PLIST
new file mode 100644
index 00000000000..6fa185506f9
--- /dev/null
+++ b/pkgtools/distbb/PLIST
@@ -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
diff --git a/pkgtools/distbb/distinfo b/pkgtools/distbb/distinfo
new file mode 100644
index 00000000000..bd0df6b97b7
--- /dev/null
+++ b/pkgtools/distbb/distinfo
@@ -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