Commit graph

19 commits

Author SHA1 Message Date
tnn
c177dc4572 Improve verbose mode:
- sprinkle whitespace so pkgnames get neatly aligned
- prepend a progress counter to printfs
2008-02-24 15:35:42 +00:00
joerg
e09da90e38 pbulk-0.27:
When running the start script in master mode, already accept incoming
connections. This makes the start script more useful when using more
clients than the default listen back log.
2008-01-27 14:01:23 +00:00
joerg
d84d1ca637 pbulk-0.24:
When all jobs are processed in master mode, close the listen socket
and shutdown(2) all peers. Give them a second to close(2) the
connection themselve, so that the port remains usable on the master.
This is the standard compliant fix for PR 37002.
2008-01-26 00:34:57 +00:00
joerg
dd293c5fa6 Use %lu + casts instead of depending on size_t's %z. Some Operating
Systems like Solaris don't implement %z.
2008-01-15 22:14:30 +00:00
joerg
a4b00a08e7 pbulk 0.18:
- If not running on NetBSD or not using /usr/bin/make, set the default
  of pbulk's make to ${prefix}/bin/bmake.
- Make path to neato an option and don't install it on demand.
- Fix a bug in the master mode that should fix the strange faults seen
  with native libevent on NetBSD.
- Add option to skip checksum computation. Don't upload a checksum file
  if that option is active.
2008-01-15 21:43:31 +00:00
rillig
085721094b In error messages, it is important to be as specific as possible, to
help the user understand the problem.
2007-11-30 17:31:38 +00:00
rillig
532c6fad52 Added some comments that explain the data structures. 2007-11-28 11:34:20 +00:00
joerg
515bcbf499 Shorten wording. 2007-08-15 20:55:28 +00:00
joerg
7d8b7c6596 Fix grammar. From salo@ 2007-08-15 20:52:02 +00:00
joerg
e2a9c6ca63 Don't compare a function name against NULL, master_mode is meant here.
Thanks tnn@.

Reverse the test for extracting the bootstrap kit as the old version
hits set -e error handling.

Bump to pbulk-1.11.
2007-08-05 14:15:55 +00:00
joerg
20911999c4 Some people actually watch the pbulk-build client output, so add
a newline after each message. Bump to pbulk-0.10.
2007-07-27 09:59:36 +00:00
tnn
0466c89ba4 Wrap inclusion of inttypes.h in #ifdef HAVE_INTTYPES_H 2007-07-21 15:44:02 +00:00
tnn
0cf99d1015 Uses ntohl(), so include <arpa/inet.h> 2007-07-21 15:36:36 +00:00
tnn
d600ba1e7f Add workaround for broken 'struct sigaction' on Interix. 2007-07-21 15:29:50 +00:00
joerg
e00c79e3eb Always call setprogname for platforms that don't have __progname.
Don't depend on date to implement %s or even %F and %R or support -r,
compute dates as one comment and split. This works even with the very
special HP-UX date. Requested and tested by tnn@

Bump to pbulk-0.7.
2007-07-20 19:39:33 +00:00
wiz
2ba0c80af0 Fix a typo. Improve heading for top ten. 2007-07-07 13:54:36 +00:00
joerg
08e238e949 Use libnbcompat and fix build issues on Solaris.
Don't depend on sin_len. Slightly factor out code for setting
non-blocking IO.

Bump to pbulk-0.2. Tested by dmcmahill@.
2007-06-25 21:38:43 +00:00
joerg
19c1ea3335 Two more includes of sys/types.h to fix build on Mac OS X.
From schmonz@
2007-06-19 21:06:05 +00:00
joerg
8d27258d17 Initial import of pbulk, the new pkgsrc bulk build framework.
Discussion of various parts of the design with jlam@, wiz@, tls@
and many other developers. Special thanks to David Maxwell for
testing the initial prototype and finding some bugs with
Coverity Prevent.

Supported by Google's Summer of Code 2007 project.

OK for import during the freeze: jlam@

From DESCR:
pbulk is the modular bulk build framework for pkgsrc.

This package contains:

- pbulk-scan, a program to scan the entire pkgsrc tree
  or a list of directories therein for packages and
  dependencies. Distributed operation using a master/client
  mode is supported.

- pbulk-resolve, a program to resolve the dependencies
  from the output of pbulk-scan

- pbulk-build, the build scheduler. Distributed builds via TCP
  are supported.

- bulkbuild and related scripts to implement full and limited
  bulk builds on top of those programs.

The pbulk framework is considered experimental.
2007-06-19 19:49:55 +00:00