Commit graph

79 commits

Author SHA1 Message Date
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
joerg
a166fd74ea pbulk-0.20:
- 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.
2008-01-17 17:47:09 +00:00
joerg
4498fe021c pbulk-0.19:
- add support for building using DESTDIR.
2008-01-16 14:20:08 +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
joerg
026ceb86b5 Force dependency on libevent from pkgsrc on NetBSD, the native version
is broken. This shows e.g. as querying the status can trigger a signal
10. Bump version.
2007-12-15 11:06:12 +00:00
joerg
88572b8312 Skip empty lines in the limited list. Bump to 1.16. 2007-12-05 21:33:58 +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
rillig
800c101860 Some shells, for example /bin/ksh on Solaris, don't like "else fi"
without any commands in between.
2007-11-14 12:38:18 +00:00
rillig
32b2e77b19 There are several error messages with the same words. To make finding
the cause easier, add more information to one of them.
2007-11-13 19:30:26 +00:00
joerg
e725e20c42 Bump version or revision of all packages that have a runtime dependency
on gzip.
2007-11-08 19:39:42 +00:00
joerg
a82568cd03 Make language lawyers happy and rename report_recipient to plural. 2007-10-17 20:42:30 +00:00
rillig
f44cba8d1a I just removed the $bulklog directory once again, due to running
bin/bulkbuild when instead I wanted to resume the bulk build. To prevent
this frustration, added a warning and a five second waiting period.
2007-10-15 07:26:34 +00:00
rillig
4d0642f1f2 When installing the bootstrap kit from a directory, correctly handle the
case when ${prefix} already exists.
2007-10-10 09:04:21 +00:00
rillig
ca6b5bf2c5 Reverted two of my recent changes.
See: http://mail-index.netbsd.org/pkgsrc-changes/2007/09/21/0046.html
2007-09-22 00:12:33 +00:00
rillig
468f3fe28a Removed code duplication by calling the client-clean script.
Before removing prefix, fix the permissions. Everything inside that
directory must be writable and all directories must be searchable.
NetBSD's chmod has an option -P which I would have liked to use, but
POSIX requires only -R to be implemented. Therefore, it is possible that
permissions of files outside the prefix are changed due to symlinks.

The client-clean program promises to clean $prefix, so fail if that is
not possible. A common cause for this is that some files inside have
their flags set (see chflags(1) on NetBSD).

When installing the bootstrap kit, the source may be either a regular
file (which is then assumed to be a tar archive) or a directory (which
is copied directly). The latter option is new and allows for easier
changes of files once the bulk build has started.
2007-09-21 13:42:54 +00:00
rillig
a51fc4af4a Only save PREFIX in a tar file if the package has reached the install
phase. This saves some disk space, and in most cases the contents of
PREFIX is not interesting before.

Added quotes around keep_wrkdir and keep_prefix because they were
missing in a previous version of the example configuration file.
2007-09-21 13:34:52 +00:00
rillig
de9db037a8 Thou shalt not nest double quotes in backticks, for the Solaris /bin/ksh
cannot handle it.
2007-09-21 09:08:08 +00:00
jlam
2761568ac2 Convert to use the features framework. 2007-09-08 21:57:57 +00:00
rillig
91c415b938 The WRKDIR and PREFIX can be saved in the log directory when a package
doesn't build properly. These options are off by default since they
require much disk space.
2007-09-07 15:51:53 +00:00
rillig
b289c83c80 Clean up the old log files when retrying to build a package. 2007-08-24 07:17:46 +00:00
rillig
8e4f54e5cc Added some comments to the configuration file, to help the uninitiated
reader.
2007-08-24 06:32:41 +00:00
joerg
1d9752887b close is a function, fix C&P errors. From Aleksey Cheusov.
Bump version, remove pkgrevision.
2007-08-16 13:02:05 +00:00
joerg
6eee19dc11 Work around broken default visibility in Linux (PR 36790).
Linux has sin_len either (PR 36791).
2007-08-16 12:50:34 +00:00
tnn
38c78edf17 Revbump sweep of all libevent consumers due to update to libevent-1.3d. 2007-08-16 09:27:03 +00:00
joerg
020f22df97 Don't hard-code tar as tar, but make it an option and use the tool
version correctly. Fixes issues on platforms where the first tar
in path doesn't support -z. Bump to pbulk-0.12.
2007-08-15 21:10:54 +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
f8f97243e2 Fix indentation. 2007-08-14 13:15:58 +00:00