Accepted sbuild 0.42 (source all)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Mon, 13 Mar 2006 00:14:00 +0000
Source: sbuild
Binary: sbuild
Architecture: source all
Version: 0.42
Distribution: unstable
Urgency: low
Maintainer: Debian buildd-tools Developers <buildd-tools-devel@lists.alioth.debian.org>
Changed-By: Roger Leigh <rleigh@debian.org>
Description:
sbuild - Tool for building Debian binary packages from Debian sources
Closes: 170742 183022 355040 355043 355072 355604 355802 355861
Changes:
sbuild (0.42) unstable; urgency=low
.
* sbuild:
- get_apt_command_internal(): Always add $main::chroot_apt_options.
- log_command(): Add an additional priority argument. If nonzero,
the message is always logged, otherwise is only logged if debug is
enabled.
- get_command_internal(): When running schroot, preserve the user
environment, needed for APT_CONFIG, DEBIAN_FRONTEND, etc..
- get_command(), run_command(), exec_command(), get_apt_command(),
run_apt_command():
+ chdir to $main::cwd to make sure the directory location also exists
inside the chroot.
+ Add an additional priority argument to control the urgency of the
log message, and pass this to log_command().
- get_virtuals(): Remove usage of $main::chroot_apt_options, which is
added automatically by get_apt_command().
- get_command(), run_command() and exec_command() only log the full
command when debugging is enabled, otherwise only the short form is
logged (Closes: #355043).
- setup_options():
+ Ensure APT_CONFIG is set to the correct path depending upon the
chroot_mode. $chroot_aptconf is the absolute path to the file from
the host system, while $aptconf is the absolute path when apt is
run.
+ Only set $main::chroot_apt_options when chroot_mode is "split".
+ Always regenerate apt.conf, because when chroot_mode is changed, it
will break APT unless rewritten.
+ Don't set "Dir" in $chroot_aptconf when in chroot_mode is "schroot"
(because apt is run inside the chroot).
- Remove setpgrp() calls, so that all child processes run in the same
process group as the parent.
- Add a $conf::sbuild_mode, used to switch behaviour between user and
buildd defaults. The default is "buildd". This allows package build
errors to be reported (Closes: #170742).
- Add a --quiet option, the opposite action to --verbose.
- open_pkg_log():
+ Use correct Sbuild:: namespace for binNMU_version (Closes: #355861).
+ Create current-distribution symlink in addition to current.
- Set the in the environment SHELL=/bin/sh, in case the user
invoking sbuild uses a shell not available inside the chroot.
- Remove unused variables @dist_parts and $main::nomail.
- Use correct use syntax for File::Temp and Cwd, and initialise a
number of variables which would otherwise be undefined, in order
to remove run-time warnings.
- Add a number of checks for undefined variables to remove run-time
warnings.
- Add -w to the shebang line, so sbuild always runs with warnings
enabled.
- All exec commands other than writing logfiles now use exec_command,
so they get logged.
- Require /usr/share/sbuild/sbuild.conf and optionally require
/etc/sbuild/sbuild.conf.
- Use named signals, rather than numbers, for portability.
- close_log(), close_pkg_log: If verbose is enabled, flush the log and
wait a second before killing tee, to prevent data loss in the pipeline.
- $main::verbose is set by default if running on a tty (Closes: #355802).
- LOG and PLOG are set to autoflush using IO::Handle.
- $conf::build_dir defaults to $main::cwd if undefined. It is used as
the directory containing the build chroots, build logs, and current
symlinks (Closes: #183022).
- Always print toolchain packages. This is done by always calling
merge_pkg_build_deps(), and running all the way through
install_deps(), even when the package does not supply any build
dependencies or conflicts (Closes: #355040).
- install_deps():
+ If there are no package dependencies, create an
empty anonymous array reference to hold the (nonexistent)
dependencies, required by filter_dependencies.
+ Make sure %entries is initialised.
- fetch_source_files(): Check that the dsc specified is valid.
* sbuild.conf: Don't require local config file.
* sbuild.conf.local: Add $sbuild_mode, defaulting to "buildd".
* example.sbuildrc: Add $build_dir example.
* sbuild.1: Document --quiet.
* sbuild-setup.5:
- Split chroot setup and user setup into two sections.
- Document sudoers env_keep setup (Closes: #355072, #355604).
* Sbuild.pm: Remove unused module 'IO'.
* chroot/add_sbuild_user: Add sudoers env_keep example.
* debian/README.Debian: Document existence of sbuild-setup(7).
* debian/control:
- Depend on perl-modules (for File::Temp).
- Recommend schroot 0.2.7 or later (for preserving the environment).
* debian/dirs: Add etc/sbuild.
* debian/rules:
- Remove "make clean" in clean target; there is no Makefile, so this is
redundant.
- Install sbuild.conf as /usr/share/sbuild/sbuild.conf and
sbuild.conf.local as /etc/sbuild/sbuild.conf.
* debian/preinst:
- New conffile.
- Remove /etc/sbuild.conf.local if not locally modified.
* debian/postinst:
- Move /etc/sbuild.conf.local to /etc/sbuild/sbuild.conf if needed.
- Reindent.
* debian/postrm:
- Unlink /etc/sbuild.conf if present.
- Unlink files under /var/lib/sbuild.
- Reindent.
Files:
953480dc56644586da02e3596658f7e1 661 devel extra sbuild_0.42.dsc
70a16cbbade055b330acbdf21c5ef876 64669 devel extra sbuild_0.42.tar.gz
13ed3a09af4808e9becb2a38b563f8ba 71942 devel extra sbuild_0.42_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFEFLmmVcFcaSW/uEgRAjthAJ9d8YFeQExNljQYGqLsP7Iy+StHZQCeKVBH
qWw4evYt2Ue8ltyJPfnIZac=
=Mujd
-----END PGP SIGNATURE-----
Accepted:
sbuild_0.42.dsc
to pool/main/s/sbuild/sbuild_0.42.dsc
sbuild_0.42.tar.gz
to pool/main/s/sbuild/sbuild_0.42.tar.gz
sbuild_0.42_all.deb
to pool/main/s/sbuild/sbuild_0.42_all.deb
Reply to: