dholland
6bc842729f
Minor tidyup to error reporting. (This has been sitting in one of my trees
...
for a year and a half and I don't remember the context.) ok'd by joerg
2013-04-14 17:03:30 +00:00
jperkin
5e67cd4147
pbulk-base-0.47: Portability fixes
...
- Prefer fcntl FD_CLOEXEC to ioctl FIOCLEX.
- Reset SIGPIPE action to default for the build child, avoids 'yes' spinning
indefinitely on EPIPE in Solaris builds, notably for print/pdf2djvu.
2013-01-14 14:33:28 +00:00
jperkin
df44cc14a3
Fix a couple of typos.
2013-01-07 14:15:35 +00:00
joerg
8a16e0811e
Make GCC happy and set s_start and s_end explicitly.
2012-11-30 16:22:49 +00:00
joerg
13b6f43825
Update pbulk to 0.51 and pbulk-base to 0.46. Add support for reusing old
...
scan results to speed up the process. Fix a bug that overwrote the
package.log during installation.
2012-11-23 12:13:34 +00:00
asau
5c2dd9e784
"user-destdir" is default these days
2012-09-11 23:19:33 +00:00
jperkin
93ab156fde
pbulk-0.50: Portability fix, use 'id' instead of 'whoami'.
2012-06-19 13:40:07 +00:00
joerg
e73e24e9bd
pbulk-0.49: Fix a bug in the computation of the restricted subset.
2012-05-20 20:12:02 +00:00
joerg
4ff3985282
pbulk-0.45: make order function stable
2012-03-19 12:17:15 +00:00
joerg
3fc8d211eb
Shut up cast warning.
2012-01-19 18:53:32 +00:00
joerg
4900ea76d8
pbulk-base-0.44: Fix hash function to actually do proper hashing.
...
Do some further tweaking to improve matching by storing string size.
While here, add the necessary .WAIT to allow parallel builds.
2011-11-27 19:53:30 +00:00
joerg
eb1b3b9290
Simplify to not trigger non-literal format string warnings.
2011-09-24 12:58:55 +00:00
joerg
b7e0ba370b
pbulk-base-0.43: Explicitly re-run make clean after create-usergroup, if
...
it was run before configure. This ensures that the work directory gets
the correct owner. Fixes strange error in qmail build.
2011-09-21 11:55:15 +00:00
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