Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Use plain sed to extract RCS IDs. GNU ident has issues with unexpanded
RCS IDs.
|
|
|
|
|
|
Skip lines starting with # in the limited list.
|
|
|
|
be safe everywhere.
|
|
|
|
Avoid sign comparision issues.
|
|
actually, if our /bin/sh has some bug related to set -e,
it's better to write the test with if-then-fi instead.
|
|
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.
|
|
nbcompat/poll.h conflicts with the system header on Solaris
and is implicitly included by nbcompat.h already, if needed.
Fixes PR 40756.
|
|
- 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.
|
|
|
|
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.
|
|
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.
|
|
- 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.
|
|
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.
|
|
|
|
This allows a destdir build to package bootstrap components.
|
|
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.
|
|
|
|
- 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.
|
|
|
|
Print the collected PKG_FAIL_REASON in the HTML version of the report.
|
|
Add bulkbuild-restart script that checks if error/success files exist
and makes sense and continues the previous build if they do.
|
|
|
|
- don't try to deinstall (and fail) on packages marked not for uninstall
|
|
- sprinkle whitespace so pkgnames get neatly aligned
- prepend a progress counter to printfs
|
|
|
|
|
|
(But for this case it would make life simpler for bulk builders if the
catpages were pregenerated.)
|
|
Partially addresses PR pkg/37946.
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
|
|
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
|
|
Don't try to remove a non-existing file if no package had an error
during the build.
|
|
- run checksum stage of a build with the privileged user, as DISTDIR
might not be writeable
- create the actual package as privileged user as well
- pre-create work.log when using user-destdir
- in pre-build, only wait if the meta subdirectory exists. bulklog itself
can often be a mount point.
|
|
- add support for building using DESTDIR.
|
|
Systems like Solaris don't implement %z.
|