Commit graph

120 commits

Author SHA1 Message Date
seanb
69f6c2d377 - pass fullpath in argv[0] when pkg-scan spawns bmake so that
the same gets inherited across a sub make.
2011-03-06 02:23:32 +00:00
joerg
b3ca539ed1 pbulk-0.48: If pkg_add fails, remove binary package 2010-07-23 21:19:40 +00:00
joerg
4e7162d393 pbulk-0.47:
- Explicitly call make create-usergroup if USERGROUP_PHASE is specified
  and DESTDIR is active
- If the current user is not root, don't use su.
- Skip lines starting with # in the limited bulk build list.
2010-06-15 21:11:43 +00:00
joerg
8f3632e1c4 pbulk-base-0.41:
Improve diagnostic message for dependency cycles by actually showing the
path.
2010-05-05 00:07:07 +00:00
tnn
02bdd7f80e remove unused leftover 2010-03-11 16:31:43 +00:00
tnn
eed2e13931 simplify previous fix 2010-03-11 16:31:11 +00:00
tnn
f42e28d849 mawk(1) doesn't know how to take length() of an array. 2010-03-11 13:18:16 +00:00
joerg
8415684b47 pbulk-base-0.40:
Don't print all failed/successful jobs at the beginning, just a small
message when it is done.
2010-02-26 16:25:49 +00:00
joerg
c7694cd1b1 pbulk-0.46: Use stage-install instead of install.
[Change in pbulk-0.45, but be explicit here]
2010-02-24 22:54:54 +00:00
joerg
df57266292 pbulk-0.45:
Make the age check for packages an option, but keep it enabled by
default.
2010-02-24 22:51:37 +00:00
joerg
281f4b0008 pbulk-0.44: Remove a second call to pscan from a failed merge. 2009-12-30 21:14:43 +00:00
joerg
97f015e506 pbulk-0.43:
Remove the content of bulklog, not the directory. Much nicer if nullfs
is used. Log error output of pscan.
2009-12-16 19:41:41 +00:00
joerg
2e5fcf7003 pbulk-0.41:
- Consider packages silently outdated if recorded files are missing.
- Explicitly pass down tar to pbulk-save-wrkdir, TAR is unset at that
  point.
2009-10-25 23:08:02 +00:00
joerg
2cb7d28f75 pbulk-0.41:
Create & chown work.log for destdir builds too, as the normal build is
run unprivileged.
2009-09-04 22:06:18 +00:00
joerg
6b62715557 pbulk-base-0.39:
Fix ordering of event handler vs queue modification. This can result in
queue corruption or use after free when the master can't handle a
request before the next arrives. From Matt Dillon.
2009-08-23 18:02:04 +00:00
joerg
d289453e83 Remove @dirrm entries from PLISTs 2009-06-14 18:10:40 +00:00
joerg
d596921ce7 pbulk-0.40:
Use plain sed to extract RCS IDs. GNU ident has issues with unexpanded
RCS IDs.
2009-06-08 16:02:52 +00:00
joerg
572a17ab80 Add forgotten file from pbulk-base split off. 2009-06-08 15:37:50 +00:00
joerg
a4cc1cb439 Split pbulk into pbulk-base (the backend programs) and pbulk (rest). 2009-06-07 18:07:00 +00:00
joerg
4d5c60b865 pbulk-0.38:
Skip lines starting with # in the limited list.
2009-06-07 17:59:50 +00:00
joerg
368d71b62e Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions. 2009-04-09 00:48:06 +00:00
tnn
5d68b98b8d joergs says the problem is with &&, so revert to revision 1.4 which should
be safe everywhere.
2009-03-06 15:53:21 +00:00
joerg
0e85145c05 Add explicit cast to silence GCC on comparing different signs. 2009-03-06 15:21:17 +00:00
joerg
4778d3c99e Merge lib/dewey.c rev 1.11 from pkg_install:
Avoid sign comparision issues.
2009-03-06 15:19:04 +00:00
tnn
83c08423d2 fix previous:
actually, if our /bin/sh has some bug related to set -e,
it's better to write the test with if-then-fi instead.
2009-03-06 13:05:21 +00:00
tnn
2c965309de Invert logic of the package timestamp check, as at least ksh and bash
terminate the shell due to "set -e" when the [ ... ] part is false.
This behaviour seems correct to me, but I can't explain why this code
doesn't fail with our /bin/sh.
2009-03-06 13:00:29 +00:00
joerg
f774c82b95 Include sys/poll.h and poll.h directly if they exist.
nbcompat/poll.h conflicts with the system header on Solaris
and is implicitly included by nbcompat.h already, if needed.
Fixes PR 40756.
2009-02-25 19:31:53 +00:00
joerg
360471cf79 pbulk-0.37:
- replace libevent dependency with internal event loop to make the pbulk
  core standalone
- open success and error log with O_APPEND, which allows e.g. cleaning
  up the error build during build without breaking it if done with care.
2009-01-31 23:25:37 +00:00
wiz
d150578c8e PKGREVISION bump for libevent shlib name change. 2008-10-16 21:52:16 +00:00
joerg
66667a43ee pbulk-0.36:
Avoid grep -q and use awk instead. This has the side effect of parsing
presolve only once for each file. grep -q doesn't exist on Solaris.
2008-10-08 16:43:34 +00:00
joerg
212f32736f pbulk-0.35:
Sync Dewey with pkg_install(-renovation) and add a fast check if a
pattern could ever match. This reduces the time for pbulk-resolve on a
full tree on my laptop from 12.9s to 5.3s.
2008-09-22 11:31:16 +00:00
joerg
b049ec1593 pbulk-0.34:
- version configuration file, object if the version doesn't match
- add an option for pbulk-resolve to ignore unresolvable dependencies
similiar to the incremental mode
- use this option to run pbulk-resolve again if ignore_missing_depencies
is set to yes. Report this explicitly to un-confuse readers and point
them to the logfile.
2008-09-16 18:21:30 +00:00
joerg
a40b8ff745 pbulk-0.34:
Isolate rules to compute the restricted subset in the upload script.
Make the upload script independent from the report file to allow
uploading partial builds.
Only depend on NO_BIN_ON_FTP to decide what to upload and what not.
2008-09-14 18:59:02 +00:00
wiz
6d32cfc00d Bump PKGREVISION for libevent users due to 1.4.3->1.4.5 shlib name change. 2008-09-06 21:39:52 +00:00
joerg
626e23e91b pbulk-0.33: Don't try to install/deinstall bootstrap packages.
This allows a destdir build to package bootstrap components.
2008-07-14 13:02:00 +00:00
joerg
5aae7fc973 pbulk-0.32:
Make bulkbuild-rebuild over 200 times faster when running against a full
tree scan by using awk to filter out the data instead of the while read
shell builtin.
2008-06-20 11:51:50 +00:00
joerg
32f6af9043 Use full path for chown. 2008-06-12 13:29:27 +00:00
joerg
09969f8983 pbulk-0.31:
- For direct build failures, make the package location in the first
column a hyper link to the last (supposedly failing) phase.
- For indirect failures, list the first 10 failing dependencies.
2008-06-11 19:27:03 +00:00
bjs
dbbd4d1284 Mark this package MAKE_JOBS_SAFE=no. 2008-04-18 06:30:47 +00:00
joerg
e3dcc57333 pbulk-0.30:
Print the collected PKG_FAIL_REASON in the HTML version of the report.
2008-04-07 19:41:07 +00:00
joerg
3c5055ef91 pbulk-0.29:
Add bulkbuild-restart script that checks if error/success files exist
and makes sense and continues the previous build if they do.
2008-04-04 17:58:59 +00:00
rillig
6329c16a16 Removed trailing white-space. 2008-03-01 19:04:37 +00:00
joerg
1c42d625e1 pbulk-0.28:
- don't try to deinstall (and fail) on packages marked not for uninstall
2008-02-26 13:57:51 +00:00
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
tnn
4c718bd4e0 No sin_len on IRIX. 2008-02-21 14:40:43 +00:00
tnn
a348868a92 Add horisontal rulers. 2008-02-13 21:04:10 +00:00
tnn
7ad4bee3e9 Needs GNU nroff to format catpages.
(But for this case it would make life simpler for bulk builders if the
 catpages were pregenerated.)
2008-02-07 13:41:26 +00:00
tnn
082e811cfa Enable compression (-z) in report_rsync_args.
Partially addresses PR pkg/37946.
2008-02-03 21:20:46 +00:00
joerg
8fee404627 Fix a limit check. 2008-01-30 21:52:09 +00:00
joerg
dca74e43dd Add another check for the cross-compiling case. 2008-01-30 15:01:04 +00:00