Commit graph

108 commits

Author SHA1 Message Date
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
tnn
4ed291d5f2 $${bulklog} -> ${bulklog} 2008-01-29 08:14:44 +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
e076545b94 pbulk-0.26:
Add first pile of patches for cross-compiling support.
This still depends on the packages being pre-installed to
the normal prefix, but otherwise works. Cross-compiling
needs pkg_install-20080126. While here, simplify configuration
and allow using one pkg_install installation for everything.
As a side effect remove the pkgdb limitation for NetBSD builds.
Add a message that tells users to check the configuration file
on updates.
2008-01-26 23:44:08 +00:00
joerg
d8d13db647 Explain unprivileged_user. 2008-01-26 03:14:18 +00:00
joerg
e562ac2e2f pbulk-0.25:
Add bulkbuild-rebuild which can be used to build packages individually.
It assumes that all dependencies are built and the results of the scan
phase exists. That means it can be used after a bulk build to try to
rebuild a failing package. Fixes PR 37407.
2008-01-26 01:57:00 +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
tnn
34692a4cfc Fixed a problem in pkg-build, bump rev. 2008-01-21 13:11:56 +00:00
tnn
44711aada0 Fix a hardcoded path (probably a mistake in rev 1.8) 2008-01-21 12:37:46 +00:00
joerg
235f1bf734 No revision bump for pkgsrc native tools, update version. 2008-01-18 15:46:22 +00:00
rillig
a83158c015 PKGREVISION++ for the invalid definition of shell functions. 2008-01-18 11:38:17 +00:00
rillig
06c878c3b1 Fixed the definition of shell functions, as reported in PR 37795.
See also:
http://www.opengroup.org/onlinepubs/000095399/utilities/xcu_chap02.html#tag_02_09_05
http://www.opengroup.org/onlinepubs/000095399/utilities/xcu_chap02.html#tag_02_09_04
2008-01-18 11:36:18 +00:00
joerg
5eda607514 pbulk-0.21:
Don't try to remove a non-existing file if no package had an error
during the build.
2008-01-17 19:25:33 +00:00