-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Tue, 21 Feb 2006 23:44:19 +0000 Source: sbuild Binary: sbuild Architecture: source all Version: 0.39 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: 287669 308065 311363 311589 331506 341327 342357 Changes: sbuild (0.39) unstable; urgency=low . * sbuild: - fetch_source_files(): Merge from upstream SVN (cset 94); Strip trailing whitespace from each line in $dscfile/debian/.sbuild-build-deps early on, making all subsequent regexes simpler. - Update copyright notice (add myself as a copyright holder). - Add %main::sessioncaps to store whether or not a chroot is session-capable. Check the schroot "Session Managed" attribute to determine session capability. - If a chroot is session-capable, skip running uninstall_deps() (thanks to Reinhard Tartler). - Add debugging messages for distribution selection and schroot session creation (thanks to Reinhard Tartler). * debian/control: - Recommend schroot (>= 0.2.3-2), for its "Session Managed" information in --info output, used for skipping chroot cleanup. . sbuild (0.38) experimental; urgency=low . * Full sudo access is no longer mandatory when using the schroot chroot_mode (Closes: #287669, #331506). * schroot session management is now fully implemented and completely functional. * sbuild: - Move schroot metadata parsing to a separate function, get_schroot_info(). Parse both "Location" (for backwards-compatibility) and "Mount Location". - Move path and APT setup into a separate function, setup_options(). - Remove check_dpkg_version(). This has not been necessary since the release of potato (Debian 2.2), which had a dpkg version 1.6.14. - When $chroot_mode == "schroot", clear %main::dist_order and %main::dist_locations using an empty array, rather than undef. - New functions get_command(), run_command(), get_apt_command() and run_apt_command() to run a command inside or outside the build chroot under the specified user, or run apt inside or outside the chroot (depending on the chroot_mode), respectively. - New function exec_command(). This is the same as run_command(), but runs the command with exec rather than system(). - New functions log_command() to log a command being run, get_command_internal() and get_apt_command_internal() to get a command string without logging it; these are used by get_command(), run_command, exec_command(), get_apt_command() and run_apt_command(), which do log the command being run. Commands are logged in for all chroot modes. - get_apt_command() and run_apt_command() take an additional parameter, the command to run (apt-get or apt-cache). - get_apt_command() and run_apt_command() take an additional parameter, the user to run as, because not all commands need (or should) run as root. - Use new commands for running commands inside and outside chroots: + Signing options for dpkg-buildpackage are double-quoted rather than single-quoted (because the main command is single-quoted). + All commands run in a pipeline are obtained with get_command() or get_apt_command(). + All other commands are run with run_command(), exec_command() or run_apt_command(). + check_space() only requires root access in the chroot. - Add schroot session management. Sessions are created, run and removed automatically. The current session is stored in $main::schroot_session. setup_options is called once per build, in order to set up the session options. - Add missing newline to log message. * sbuild.1: - Update outdated information. - Correct macro usage and reindent. - Correct command-line summary (Closes: #311589). * sbuild-setup.7: New manpage. This describes how to set up a chroot (Closes: #311363). * avg-pkg-build-time.1: Clean up. * update-sourcedeps.1: Clean up. * sbuild.conf: $schroot_options defaults to "-q" to match the built-in default. * example.sbuildrc: Single quote example email addresses in $maintainer_name, $uploader_name, and $key_id (Closes: #341327). * chroot/buildd.chroot: - Use "set -e" to abort on all errors (Closes: #342357). - Correctly quote all shell variables. - Use cdebootstrap rather than debootstrap. * chroot/buildd.chroot.pre-sarge: Remove. * chroot/README-buildd.chroot.pre-sarge: Remove (Closes: #308065). * debian/control: - Recommend schroot. - Recommend cdebootstrap rather than debootstrap. * debian/README.Debian: Update information about src-deps and schroot. Files: ffb40183aec209ed83c1e7e1cdbcb84c 659 devel extra sbuild_0.39.dsc 29567ab12ae98120ea07ba44f6b7ebd9 60729 devel extra sbuild_0.39.tar.gz b9485bd6f2370da994f3e4fc1140b946 68046 devel extra sbuild_0.39_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD+6eKVcFcaSW/uEgRAgw5AJ9jFvmQOGfgliQw1tWCQCF0VPAHBwCfcxEJ xsBAdpkt5deDZphoJoryy7U= =LlEJ -----END PGP SIGNATURE----- Accepted: sbuild_0.39.dsc to pool/main/s/sbuild/sbuild_0.39.dsc sbuild_0.39.tar.gz to pool/main/s/sbuild/sbuild_0.39.tar.gz sbuild_0.39_all.deb to pool/main/s/sbuild/sbuild_0.39_all.deb