[ubuntu/karmic] sbuild 0.58.2-1ubuntu1 (Accepted)

Kees Cook kees at ubuntu.com
Sun May 10 00:15:12 BST 2009


sbuild (0.58.2-1ubuntu1) karmic; urgency=low

  * Merge from debian unstable, remaining changes:
    - bin/sbuild, lib/Sbuild/{Base,Conf,Options}.pm: add --setup-hook
      to allow pre-build modifications to underlying chroots (needed
      to adjust pockets and components in sources.list).  (debian bug
      500746).

sbuild (0.58.2-1) unstable; urgency=low

  [ Roger Leigh ]
  * New release.
  * etc/50sbuild: Don't create user home directory inside the build
    chroot.  Home directories are not required for building.
  * lib/Sbuild/ChrootInfoSchroot.pm: Run schroot in a C locale, to
    avoid localisation of the output which breaks parsing
    (Closes: #520755).  This was preventing the detection of chroots
    in some locales.
  * debian/buildd.cron.d: Move example crontab here, with entries
    commented out for now.
  * debian/rules: Use dh_installcrontab to install crontabs.
  * Remove buildd package for this release, because it's not yet
    ready for use.

sbuild (0.58.1-1) unstable; urgency=low

  [ Roger Leigh ]
  * debian/rules: Run configure setting DCMD, SUDO and SCHROOT.
    (Closes: #519097). It's not possible to install sudo as a
    build-dependency due to it not allowing automatic removal, and
    none of the commands are actually needed for the build, just
    setting the default path.
  * sbuild: Don't erase default chroot environment (Closes: #519276).
    This removed APT_CONFIG, preventing sbuild from working correctly.
    Thanks to Francois-Denis Gonthier.

sbuild (0.58.0-1) unstable; urgency=low

  [ Roger Leigh ]
  * New release.
  * debian/rules:
    - Clean up old unused code.
    - Correct patching of config.status and config.guess.
    - Add functional binary-arch target.
    - Use dh_prep in place of dh_clean -k.
    - Don't configure with --with-postgresql (debversion code moved
      to postgresql-debversion).
  * debian/compat: Update to debhelper version 7.
  * debian/control:
    - Build-Depend on debhelper 7.
    - wanna-build recommends postgresql-8.3-debversion.
  * debian/NEWS: Document incompatible changes from previous versions.
  * debian/sbuild.docs: New file.  Add NEWS.
  * debian/wanna-build.docs: New file.  Add NEWS.
  * buildd-mail-wrapper: Use more portable BSD getloadavg in place of
    Linux-specific sysinfo.  Thanks to Robert Millan for this
    patch (Closes: #511095).
  * wanna-build: --help output now documents --create-db, since --help
    now displays the full manual page (Closes: #511314).

  [ Kees Cook ]
  * lib/Sbuild.pm: always perform version checks on provided packages
    (Closes: #505747).

sbuild (0.57.5-1) unstable; urgency=low

  * New release.
  * Sbuild::Build::new: Check if 'DSC' exists rather than 'DSC File' to allow
    the .dsc to be in any directory (Closes: #489794).  Thanks to
    Francois-Denis Gonthier for this patch.
  * $Sbuild::Conf::apt_allow_unauthenticated: New configuration parameter
    to disable APT package authentication, which is now enabled by default
    (Closes: #492327).  Thanks to Enrico Zini for this patch.
  * Sbuild::Options: Use isin from Sbuild.pm (Closes: #492577).
  * Sbuild::Log: Add version number and correctly-formatted date to the
    package log name instead of a raw time_t (Closes: #493150).
    Additionally add user and architecture to the name.
  * Sbuild::Options: --make-binNMU no longer tries to assign an lvalue
    (Closes: #493325).  Thanks to Greg Hudson for this patch.
  * $maintainer_name, $uploader_name and $key_id are now optional in
    .sbuildrc; one is only required with performing binary NMUs for the
    entry in debian/changelog (Closes: #489557).
  * debian/sbuild.postrm: Correct use of local to remove bashisms.

sbuild (0.57.4-1) unstable; urgency=low

  * New release.
  * debian/control: Update to Standards Version 3.8.0.
  * Use schroot "Session Purged" flag rather than "Session Cloned"
    (Closes: #482804).  Thanks to Timothy G Abbott.
  * Handle version provides correctly, by using "~*=PROVIDED=*=" in place
    of "=*=PROVIDED=*=" as the package version (Closes: #395271).  Thanks
    to Niko Tyni for this patch.
  * Don't include epoch version in directory names (Closes: #482456).
    Thanks to Raphael Hertzog.
  * man/sbuild-setup.7.in: Replace references to buildd.chroot with
    sbuild-createchroot, and adduser with sbuild-adduser (Closes: #483654).
    Thanks to Marc Fargas.
  * Package name, version, build directory and associated information are
    now contained within Sbuild::Build objects.  This allows stripping of
    epoch to construct correct unpack directory location
    (Closes: #482931, #482922).
  * Warnings due to uninitialised variables are no longer reproducible
    (Closes: #449251).

sbuild (0.57.3-1) unstable; urgency=low

  * New release.
  * --chroot and --arch now work together (Closes: #479714).

sbuild (0.57.2-1) unstable; urgency=low

  * debian/copyright: Update copyright holders and copyright information.
  * debian/rules: Run dh_link in binary-indep target to correct symlinks.
  * debian/wanna-build.install: Install manual pages.
  * man/sbuild.1.in:
    - Add missing character, thanks to LI Daobing (Closes: #474487).
    - Document --binNMU (Closes: #466927).
    - --distribution should be --dist (Closes: #477693).  Thanks to Martin
      F Krafft.
  * debian/README.Debian: Remove reference to README-buildd.chroot
    (Closes: #474030), thanks to Marc Fargas.  Update sbuild statistics
    information.
  * Add --apt-update option to sbuild to run "apt-get update" in the
    chroot prior to fetching sources and building (Closes: #472350).
    Thanks to Timothy G Abbott for this patch.
  * Add --chroot option to specify a chroot separately from the
    distribution name (Closes: #474160).  Thanks to Simon McVittie for
    this patch.
  * debian/control: Depend on debhelper version 6 or greater (Closes:
    #477655).  Thanks to Martin F Krafft.
  * lib/Sbuild/Conf.pm: Don't require $mailto to be set if not running in
    a buildd environment (Closes: #478045).  Thanks to Martin F Krafft.
  * Use dcmd to parse dsc files, rather than hand-parsing.  This allows
    support of the new dpkg source format.
  * All files used in a build are stored in
    /build/username-package_version-arch-XXXXXX inside the chroot (Closes:
    #478044).

sbuild (0.57.1-1) unstable; urgency=low

  * New upstream release.
  * debian/control:
    - Depend upon schroot >= 1.1.6.  This version includes a
      SESSION_CLONE property, used to determine if a chroot is cloned,
      and hence package removal may be skipped.
    - Add wanna-build package.
  * debian/rules: set libexecdir to /usr/share, for compatibility with
    locations of scripts in earlier versions.
  * debian/sbuild.install: use /usr/share in place of /usr/lib
    (Closes: #458779).
  * debian/wanna-build.install: New file: files for wanna-build.
  * sbuild: Don't parse output of dpkg-source (Closes: #471747).

sbuild (0.57.0-1) unstable; urgency=low

  * Sbuild/*.pm: Reindent to increase readability.
  * Sbuild/Chroot.pm: set APT::Install-Recommends to false inside the
    chroot (Closes: #449253).
  * Sbuild/Conf.pm: Add and export $check_depends_algorithm.
    [Jan-Marek Glogowski]
  * sbuild:
    - Reindent to increase readability.
    - Add additional syntax checks.  Thanks to Jan-Marek Glogowski.
    - build: Use unicode line drawing characters instead of ASCII.
    - filter_dependencies: Remove redundant conditional.
      [Jan-Marek Glogowski]
    - Add check for check-depends-algorithm option. [Jan-Marek Glogowski]
    - filter_dependencies: Change dependency behaviour depending upon
      check_depends_algorithm.  [Jan-Marek Glogowski]
    - Move to bin/.
  * avg-pkg-build-time:
    - Move to bin/.
  * bin/*: Reindent to increase readability.
  * chroot/*: Reindent to increase readability.
  * bin/sbuild-createchroot:
    - Moved from chroot/buildd.chroot.
    - Also install fakeroot and build-essential.
  * sbuild-createchroot.1.in: Add manual page.
  * chroot/buildd.chroot:
    - Add GPL boilerplate.
    - Remove /etc/passwd creation (already done by debootstrap).
    - Remove sbuild directory creation (already done by schroot).
    - Use here doc to set up /etc/apt/sources.list.
    - List sources.list.
  * chroot/README: Rename from README.buildd-chroot.  Remove
    buildd.chroot section.
  * example.sbuildrc: Add missing variable types.  [Jan-Marek Glogowski]
  * example.sbuildrc: Add missing variable types and add
    $check_depends_algorithm.  [Jan-Marek Glogowski]
  * sbuild.1: Document --check-depends-algorithm [Jan-Marek Glogowski]
  * Move manual pages to man/.
  * debian/manpages: Move manual pages to man/.
  * sbuild.conf: Move to etc/.
  * example.sbuildrc: Move to etc/.
  * debian/compat: Move to debhelper v6 compatibility level.
  * debian/control: Update to Standards-Version 3.7.3.
  * debian/copyright:
    - Update git repository location.
    - Update GPL boilerplate.
  * debian/sbuild.dirs:
    - Rename from debian/dirs.
    - Remove all but -var/lib/sbuild/srcdep-lock.
  * debian/manpages: Remove.
  * debian/sbuild.postinst: Rename from debian/postinst.
  * debian/sbuild.preinst: Rename from debian/preinst.
  * debian/sbuild.postrm: Rename from debian/postrm.
  * debian/sbuild.install:
    - New file.
    - Install files from usr/sbin and usr/share/man/man8.
  * debian/rules:
    - Install sbuild-createchroot, and add buildd.chroot compatibility
      symlink.
    - Move -stamp files to debian/.
    - Remove GENFILES.
    - Run configure, make, and make install in appropriate rules.
    - Use dh_install.
    - Remove all special-cased installation rules (now handled by automake).
  * Note: All upstream changes are now in an upstream ChangeLog.

sbuild (0.56) unstable; urgency=low

  * sbuild
    - Fix --force-orig-source option which was renamed to
      --force_orig_source while rewriting the options parsing logic to use
      Getopt::Long (Closes: #428205).  Thanks to Alec Berryman for
      reporting this regression.
    - Accept arguments for options requiring a string (Closes: #431216).
      Thanks to Anders Kaseorg for the patch for this regression.
  * debian/preinst: Use dpkg-query in place of /var/lib/dpkg/status.

sbuild (0.55) unstable; urgency=low

  * sbuild:
    - Parse options with Getopt::Long.
    - Remove trailing whitespace.
    - Initialise $main::sub_task with a value, in case the build gets
      terminated prior to it being used.
    - Change the position of begin_session, so that it matches the cleanup
      order on shutdown.
    - build:
      + Document the regex which strips the epoch from the version
        number.
      + Remove the call to setsid when forking dpkg-buildpackage, because
        this broke shell job control.  Some packages might possibly hang
        while building if they detect they have a controlling terminal, but
        IMO this is a bug in the package.
      + When handling the timeout for dpkg-buildpackage, make the $SIG{'ALRM'}
        handler local, so that it is restored to the default once the build
        has finished.
      + When calling mv to move files, use -f to make sure it doesn't run
        interactively.
    - check_dependencies: If a toolchain package is missing, print a
      "not installed" message, rather than a blank version.
    - dsc_md5sums: Log failure to open the .dsc.
    - fetch_source_files: Strip the epoch of the version number, so that
      $dscbase matches the .dsc filename in the filesystem (Closes: #425715).
      Thanks to Lucas Nussbaum.
    - merge_pkg_build_deps: Replace references to "central" src deps with
      build-essential deps.
    - parse_manual_srcdeps: New function, to replace the addition of manual
      source dependencies from the removed read_deps() function.
    - shutdown: Call end_session to clean up the chroot.
  * Sbuild/Chroot.pm:
    - end_session:
      + Add a debugging message.
      + Clear $schroot_session.
  * Sbuild/Conf.pm: Add linux-libc-dev, gnumach-dev, hurd-dev and
    kfreebsd-kernel-headers to @toolchain_regex.  Thanks to Clint Adams
    (Closes: #425855).
  * Sbuild/Log.pm.in:
    - Remove trailing whitespace.
    - open_log, open_pkg_log: Ignore SIGINT, SIGQUIT, SIGTERM and SIGPIPE
      in the logger processes, so that logging continues if the process
      group is signalled to terminate.  They will exit when the group leader
      exits or closes the pipe.
  * debian/changelog: Fix missing colon in bug closure for revision 0.2.4.
  * debian/compat: New file.  Set to debhelper compatibility level 5.
  * debian/control: Depend on debhelper v5.
  * debian/NEWS: Renamed from debian/NEWS.Debian (Closes: #425370).
    Thanks to Lucas Nussbaum for spotting this.
  * debian/rules: Remove DH_COMPAT.

sbuild (0.54) unstable; urgency=low

  * debian/control:
    - Remove sudo from Depends.
    - Add schroot to Depends.
    - Remove schroot from Recommends.
    - Depend on dctrl-tools rather than the transitional grep-dctrl package.
      Thanks to Jonh Wendell (Closes: #417573).
  * debian/rules:
    - Don't install sbuild.conf.local.
    - Install sbuild.conf into /etc/sbuild.
  * debian/NEWS.Debian:
    - New file.
    - Document removal of manual source dependencies and sudo.
    - Document removal of support for building from a directory.
    - Document removal of building on the host system.
    - Document sudo->schroot migration.
    - Document change in $sbuild_mode default.
  * debian/README.Debian:
    - Document removal of manual src-deps.
    - Remove requirements for chroot symlinks in working directory.
  * sbuild:
    - Remove read_deps, so manual src-deps are no longer read.  The
      remainder of the manual src-deps support remains to be removed.
    - Quote all arguments to system commands such as "rm -rf", to prevent
      potential disasters.
    - Update copyrights, and encode in UTF-8.
    - Use "du -k -s" instead of "du -s" to increase portability.  Thanks to
      Martin Koeppe (Closes: #418061).
    - Compute package, version, directory and whether to download sources
      before calling fetch_source_files, because all the needed information
      is available at this point.
    - cleanup_packages:
      + Remove check for schroot when removing build dependencies, since
        schroot is the default.
      + Remove undo_specials().
    - build:
      + Remove do_apply_patches.
      + Replace "822-date" with "date -R".  Thanks to Guillem Jover for
        this patch (Closes: #415798).
      + Remove support for building from a directory.
      + Run dpkg-source from within the chroot.
      + Don't chdir before running dpkg-source.
      + Don't chdir before running dpkg-parsechangelog (do it in the
        schroot child process).
      + Remove obsolete code for running dpkg-buildpackage outside a chroot.
    - fetch_source_files:
      + Remove support for building from a directory.
      + Download sources directly into the chroot build directory.  For
        sources already existing outside the chroot, copy them into the
        chroot build directory.
      + Add extra directory, package, version and download arguments.
      + Only call dsc_md5sums once, rather than twice.
    - apply_patches: Remove.
    - get_special: Remove use of @main::global_patches.
    - Remove SVN Id:.
    - install_deps: Remove @special use.
    - unpack_special_source: Remove.
    - undo_specials: Remove.
    - filter_dependencies: Remove @special use.
    - run_script: Remove.
    - parse_one_srcdep: Remove @special use.
    - get_special: Remove.
    - write_srcdep_lock_file: Remove @special use.
    - check_srcdep_conflicts: Remove @special use.
    - dump_main_state: New function to dump the program state using
      Data::Dumper.  Use to dump the state after each build.
    - Add / separators to all users of $main::chroot_build_dir in paths.
    - Replace all users of regular expressions to strip the chroot dir
      from paths with strip_chroot_path.
    - get_dpkg_status: Print debugging messages with defined variables
      only, to avoid Perl warning.
    - verify_md5sums: Remove obsolete comment regarding chroots.
    - check_group_membership: New function to check the user is a member
      of the sbuild group (Closes: #414064).
    - Added new command-line argument --arch to specify the architecture,
      and pass this to begin_session (Closes: 410576).
  * Sbuild/Chroot.pm:
    - Remove all special casing for sudo and schroot.  schroot is now the
      only supported method of accessing chroots.
    - end_session: Only attempt to end a session when $schroot_session is
      non-empty.
    - _setup_options:
      + Remove use of $chroot_only.
      + Remove trailing / from 'Build Location'.
    - init: Add newline to debugging message.
    - strip_chroot_path: New function to strip the chroot location from a
      path.
    - log_command: Correctly log commands when no APT Options stripping is
      needed.
    - get_command_internal: Set the working directory inside the chroot to
      the build location.
    - begin_session: take the architecture as a second argument, and check
      if a chroot specific for the architecture exists.
  * Sbuild/Conf.pm:
    - Don't export $source_dependencies.
    - Don't define $source_dependencies.
    - Abort with an error if $source_dependencies is defined.
    - Don't export $sudo or $chroot_mode.
    - Don't define $sudo or $chroot_mode.
    - Remove sudo sanity checks.
    - Abort with an error if $sudo or $chroot_mode are defined.
    - Don't export $chroot_only.
    - Don't define $chroot_only.
    - Abort with an error if $chroot_only is defined.
    - Define and export %alternatives.  Thanks to Martin Koeppe
      (Closes: #418060).
    - Define and export @no_auto_upgrade and %watches.
    - Remove the requirement for /usr/share/sbuild/sbuild.conf.
    - Mark deprecated/obsolete variables for removal post-Lenny.
    - Set defaults from global sbuild.conf.
  * sbuild.conf:
    - Remove $source_dependencies.
    - Remove $sudo.
    - Remove $chroot_only.
    - Add and document all options from Sbuild/Conf.pm.
    - Reorder into sections.
    - Merge with sbuild.conf.local, and install into /etc/sbuild.
  * sbuild.conf.local:
    - Remove $source_dependencies.
    - Remove.
  * example.sbuildrc:
    - Replace all options with documented options from sbuild.conf.
    - Add additional user-centric options from sbuild.conf.
    - Reorder into sections.
  * sbuild.1.in: Document --arch and chroot search order.
  * sbuild-setup.7.in:
    - Remove sudo setup.
    - Update user section to document sbuild group membership and
      add_sbuild_user.  Remove chroot setup, which is now handled by
      schroot (Closes: #413524).
  * bin/README.bins: Remove sudo from extra package list.
  * bin/updatechroot, bin/upgradechroot, bin/chrapt: Remove chroot_mode.
  * chroot/add_sbuild_user:
    - Remove sudo setup instructions and copying of /etc/sudoers to the
      chroot.
    - Rewrite in perl.  Only call adduser; all other chroot setup is
      taken care of by the 50sbuild schroot chroot setup script
      (Closes: #413908).
  * TODO: New file.  Document needed changes.

sbuild (0.53) unstable; urgency=low

  * Sbuild/Conf.pm: Add and export check_watches configuration variable.
  * sbuild:
    - Set umask to 022 so that dpkg-buildpackage always runs with a sane
      umask (Closes: #405836).
    - check_watches: Don't check watches if check_watches configuration
      variable isn't set (Closes: #397123).
    - get_apt_policy: Allow ~ in version numbers.  Thanks to Frank
      Lichtenheld for this patch (Closes: #407293).
    - When running apt-cache, divert STDOUT to the package log, so that
      warnings do not get mailed separately (Closes: #399178).
    - fetch_source_files:
      + Correct indentation, and error with brace placement which caused
        apt-cache output to not be used.
      + Add package information into the key of the %entries hash, in
        order to cope with multiple packages being returned by apt-cache.
        Based on a patch by Goswin von Brederlow for Bug #408091.
  * sbuild.conf: Obsolete $source_dependencies.
  * sbuild.conf.local:
    - Add pgp_options from sbuild.conf (Closes: #398128).
    - Add check_watches.
    - Obsolete $source_dependencies.
  * update-sourcedeps, update-sourcedeps.1.in: Remove (Closes: 409642).
    Thanks to Kenshi Muto for reporting that it no longer works.
  * debian/rules, debian/manpages, debian/README.Debian: Remove support
    for update-sourcedeps, and note that sourcedeps support is obsoleted
    and will be removed in Lenny.

sbuild (0.52) unstable; urgency=low

  * New upstream release.
  * sbuild: Remove incorrect WannaBuild:: prefix from version_compare.

sbuild (0.51) unstable; urgency=high

  * Urgency is high because this version fixes an RC bug in testing.
  * Sbuild.pm: Fix handling of ~ in versions (merge from upstream SVN cset
    100; Closes: 392752).
  * sbuild, Sbuild/Conf.pm, sbuild.conf.local: Add support for setting APT
    policy, to allow building from experimental and sarge-backports.
    Thanks to Wouter Verhelst for this patch, which has been slightly
    modified to add configurability and adapt to this version of sbuild.
  * sbuild:
    - Don't run md5sum inside the chroot.  Thanks to Michael Banck
      (Closes: #392323).
    - chroot_arch():  New function to detect build architecture from
      within the chroot.  Thanks to Kees Cook (Closes: #392992).
  * Sbuild/Conf.pm: Fix check for schroot.  Thanks to Julien Danjou for
    finding this (Closes: #392751).
  * sbuild-setup.7.in: Correct example commandline for debootstrap.
    Thanks to Alex Pennace (Closes: #391277).

sbuild (0.50) unstable; urgency=low

  * debian/copyright: Add Alioth file download location.
  * chroot/add_sbuild_user:
    - Fix chrapt command examples in output to use correct option syntax,
      thanks to Matthias Julius (Closes: #381186).
    - Add SHELL to sudoers env_keep.
  * sbuild:
    - dsc_md5sums: Return hashref on failure, rather than -1.
    - verify_md5sums: Only run md5sum if there is one or more md5sum to
      verify, to prevent md5sum waiting forever on stdin if there are no
      files to check.  Thanks to Daniel Stone.
  * Sbuild.pm: Use new binNMU versioning scheme (+bn), taken from
    wanna-build SVN.  Thanks to Clint Adams (Closes: #384137).
  * Sbuild/Conf.pm: Check sudo does not strip SHELL from the environment.
  * sbuild-setup.7.in: Document needed addition of SHELL to sudoers
    env_keep (Closes: #389815).

sbuild (0.49) unstable; urgency=low

  * Sbuild/Conf.pm: init checks if APT_CONFIG and DEBIAN_FRONTEND are
    being stripped from the environment by sudo (when running in split
    mode), and aborts with instructions for correctly configuring sudo.
    This prevents apt-get silently using the configuration from the host
    system instead of the chroot.
  * Sbuild/Chroot.pm: When running in split mode, use the -s option of
    su to set the shell used inside the chroot to /bin/sh.  This
    ensures that a valid shell is always used when the $SHELL is not
    available inside the chroot (Closes: 378283).
  * sbuild.conf, sbuild.conf.local, update-sourcedeps, sbuild.1.in,
    avg-pkg-build-time.1.in: Update to use the new configuration file
    locations.

sbuild (0.48) unstable; urgency=low

  * Sbuild/Chroot.pm: Use su, rather than sudo, inside the chroot.  This
    prevents the APT_CONFIG and DEBCONF_FRONTEND environment variables
    from being removed (Closes: #376020).
  * Sbuild/Conf.pm: Add $Sbuild::Conf::su.
  * sbuild-setup.7.in: Remove sudo configuration inside the chroot, now
    this is no longer required.

sbuild (0.47) unstable; urgency=low

  * bin/checkchroot: Correct uninitialised value warnings due to using an
    undefined variable (Closes: #369709).
  * bin/chrapt, bin/updatechroot, bin/upgradechroot: When chroot_mode is
    "schroot", chdir to / to ensure the CWD exists inside the chroot.
    Thanks for Clint Adams for finding this (Closes: #372806).
  * sbuild: fetch_source_files: When running apt-cache, check if we got
    valid output, and warn appropriately if the output is invalid
    (Closes: #369707).  Output may be invalid if there are no deb-src
    lines in /etc/apt/sources.list in the chroot.
  * Sbuild/Conf.pm: Remove $Sbuild::Conf::log_dir checks.
  * Sbuild/Log.pm.in: If $Sbuild::Conf::log_dir does not exist, try to
    create it, and if this fails, warn and log to stdout
    (Closes: #369718).

sbuild (0.46) unstable; urgency=low

  * sbuild:
    - fetch_source_files: Only print "apt-get update" invocation in debug
      mode.
    - get_dpkg_status: Make sure $version is defined before checking its
      value, to ensure the Debian version can have a value of 0.  Thanks
      to Santiago Vila for this fix (Closes: #368066).
  * Update svn::ignore properties to ignore generated files.
  * debian/control:
    - Update to Standards-Version 3.7.2.
    - Use Build-Depends, rather than Build-Depends-Indep.

sbuild (0.45) unstable; urgency=low

  * bin/checkchroot:
    - Check if the dpkg and reference files contained any data, and exit
      with an error if either were empty (Closes: #363351).
    - On error, use Sbuild::Utility::shutdown to clean up.
  * bin/chr-hold, bin/chr-unhold: On error, use Sbuild::Utility::shutdown
    to clean up.
  * sbuild:
    - build: Only print dpkg-buildpackage invocation in debug mode.
    - uninstall_debs: Only print dpkg invocation in debug mode.
  * debian/control: Update to Standards-Version 3.7.0.

sbuild (0.44) unstable; urgency=low

  * avg-pkg-build-time: Use Sbuild::Conf.
  * bin/checkchroot: Convert to Perl, using Sbuild::Utility.
  * bin/chrapt: Convert to Perl, using Sbuild::Utility.
  * bin/chr-hold: Convert to Perl, using Sbuild::Utility.
  * bin/chr-unhold: Convert to Perl, using Sbuild::Utility.
  * bin/gochroot: Convert to Perl, using Sbuild::Utility.
  * bin/updatechroot:
    - Convert to Perl, using Sbuild::Utility.
    - chrapt is no longer used (Closes: #355035).
    - Sbuild::Chroot is used for chroot access:
      + Suite names are no longer hardcoded (Closes: #355037).
      + APT Options are set correctly (Closes: #355038).
  * bin/upgradechroot: Convert to Perl, using Sbuild::Utility.
  * bin/common_functions: Remove; this is no longer used.
  * sbuild:
    - Treat schroot chroots with a "-sbuild" suffix in the same way as
      chroots without a suffix (Closes: #360124).
    - Use the new modules Sbuild::Chroot, Sbuild::Conf and Sbuild::Log.
      The functions moved into the modules have been removed.
    - Import needed module functions into the local namespace, to avoid
      long namespace prefixes on functions.
    - Remove $main::chroot_apt_options.
    - Move $main::debug to Sbuild::Conf.
    - Import Sbuild::Conf into package "conf".  This allows the package
      name used by upstream to be used for backward compatibility.
    - Use $conf::HOME instead of $main::HOME.
    - Move $main::username to Sbuild::Conf.
    - Set $main::chroot_dir, $main::chroot_build_dir,
      $main::srcdep_lock_dir and $main::ilock_file from the current
      chroot $Sbuild::Chroot::current.  $main::srcdep_lock_dir replaces
      $conf::srcdep_lock_dir (which is still used to set when the chroot
      is set up).
    - Pass $main::distribution to open_log and open_pkg_log.
    - Remove $main::cwd, $main::nolog and $main::verbose, now provided by
      Sbuild::Conf.  They are imported from Sbuild::Conf for backward
      compatibility.
    - Remove unused $main::HOSTNAME.
    - Add build statistics to close_pkg_log.
    - Die if no maintainer_name, uploader_name or key_id is specified.
    - Set and unset $main::binNMU_name in the main loop, rather than when
      opening and closing the package log.  In consequence, open_pkg_log
      now needs the package name only, and close_pkg_log does not need
      the package name passing.
    - build:
      + Set $firstline to "" to quell a warning.
      + Use debian_files_list to check for missing or extra packages, and
        warn appropriately.
      + Delete erroneous _all.deb files (Closes: #357042).
    - Don't use File::Temp (only needed by modules).
    - Remove build directory check.
    - Use File::Basename::basename instead of Sbuild::basename.
    - Don't import internal Sbuild::Chroot functions.
    - Split verify_dsc_md5sums into two parts: dsc_md5sums and
      verify_md5sums.
    - debian_files_list: New function to parse debian/files.
  * Sbuild/Chroot.pm:
    - New perl module for chroot operations.  It contains the functions
      begin_session, end_session, log_command, get_command_internal,
      get_command, run_command, exec_command, get_apt_command_internal,
      get_apt_command and run_apt_command.
    - Don't export init and log_command.
    - Don't hardcode a list of chroots; use a glob to search for chroot-*
      instead.  This allows any distribution name to be specified with -d.
    - Add an "APT Options" attribute to the chroot hash, to replace
      $main::chroot_apt_options.
    - Use STDERR instead of PLOG (which may not be available).
    - Replace $main::debug with $Sbuild::Conf::debug.
    - Replace $main::username with $Sbuild::Conf::username.
    - begin_session takes the distribution as its first argument, rather
      than using $main::distribution.
    - Don't use $main::chroot_dir.  Add the build paths as 'Build Location',
      'Srcdep Lock Dir' and 'Install Lock' to the chroot metadata.
    - Use File::Temp.
    - Don't export "internal" functions.
    - _setup_options: Set "APT Options" for schroot chroots.
    - log_command: Don't substitute CHROOT_APT_OPTIONS when no APT options
      are in use.
  * Sbuild/Conf.pm:
    - New perl module for configuration variables.  It reads the system
      and user configuration.
    - Add $debug.
    - Add $username.
    - Add $cwd, $nolog and $verbose.  They exported and used by the other
      modules in place of the variables in the main package.
    - Add and export $avg_time_db, $avg_space_db, $maintainer_name,
      $uploader_name and $key_id.
    - Add build directory check (moved from sbuild).
  * Sbuild/Log.pm:
    - New perl module for logging.  It contains the functions open_log,
      close_log, open_pkg_log, close_pkg_log, add_time_entry,
      add_space_entry, send_mail and log_symlink.
    - $main::main_logfile and $main::pkg_logfile are package variables.
    - Removed use of $main::distribution.  The distribution name must be
      passed to open_log or open_pkg_log.
    - Don't use $main::HOSTNAME or $main::arch.  Get the values directly.
    - open_pkg_log: Save the package name for future use; the binNMU name
      (if any) is passed, so this no longer needs computing.
    - close_pkg_log:
      + Obtain $main::pkg_status, $main::pkg_start_time,
        $main::pkg_end_time and $main::this_space from the function
        arguments.
      + Don't pass the package name, which was saved in open_pkg_log.
    - add_space_entry: Use $space rather than $t, and don't use
      $main::this_space.
    - Use File::Temp.
    - Use File::Basename::basename instead of Sbuild::basename.
  * Sbuild/Utility.pm: New perl module for utility programs.  This is a
    perl replacement for bin/common_functions.
  * bin/checkchroot:
    - Quote all variables.
    - Sort ref-chroot file before diffing (Closes: 360058).
  * avg-pkg-build-time.1.in, sbuild.1.in, sbuild-setup.7.in,
    update-sourcedeps.1.in, Sbuild/Log.pm.in: Rename and embed version and
    date tags for substitution.
  * COPYING: New file (GPL licence text).
  * debian/control: Update uploaders.
  * debian/copyright:
    - Update with new subversion repository locations for upstream and
      Debian.
    - Add Roger Leigh as a copyright holder.
    - Add a reference to /usr/share/common-licenses/GPL.
  * debian/dirs: Add usr/share/perl5/Sbuild.
  * debian/rules:
    - Install Sbuild/Chroot.pm, Sbuild/Conf.pm, Sbuild/Log.pm and
      Sbuild/Utility.pm into /usr/share/perl5/Sbuild.
    - Generate all manual pages and Log.pm in the build rule, and remove
      them in the clean rule.

sbuild (0.43) unstable; urgency=low

  * sbuild:
    - verify_dsc_md5sums(): New function to verify the MD5SUM of files in a
      .dsc file.
    - Add $conf::md5sum for security.
    - fetch_source_files():
      + Use verify_dsc_md5sums to check for incomplete downloads, and
        redownload sources if needed; also verify again after download
        (Closes: #270439).
      + Remove redundant braces and reindent.
    - build(), shutdown(): Quote kill command correctly (Closes: #356686).
    - When using schroot, look for a distribution named
      "$distribution-sbuild" in preference to "$distribution".
    - open_log(), open_pkg_log():
      + Use fork() rather than tee to multiplex log output.
      + Don't buffer log output (Closes: #358717).
    - close_log(), close_pkg_log(): Close all dup'd log streams, and don't
      kill the child log processes, which avoids dataloss in the pipeline.
    - log_symlink(): New function to create a symbolic link to the current
      package log.  This replaces the use of /bin/ln, which has races if
      concurrent builds use it.
    - open_log(), close_log():
      + Save a references to the initial STDOUT and STDERR, and restore
        them when the log is closed.
      + Create the build log using File::Temp, in the form
        build-distribution-date.XXXXXX.log.  This prevents races during
        logfile creation when running concurrent builds.  If the file
        is empty, it is unlinked on close, irrespective of whether
        verbose mode is used or not.
    - open_pkg_log(): Use the saved STDOUT for verbose logging.  This
      prevents the package log being also directed to the build log.
    - setup_options(): Remove unused call to tmpnam().
    - check_dependencies(): Print kernel information along with the
      toolchain package versions, in the same style as reportbug.
    - build(): Check for _all.udeb files which are built when they
      shouldn't (merge from upstream SVN cset 98).
    - Strip "./" from $pkg, so the name used for source dependencies is
      correct (Closes: #359747).
    - Add --force-orig-source option to force the inclusion of the
      .orig.tar.gz (Closes: #318030).
    - Add $conf::force_orig_source to allow --force-orig-source to be
      specified in a .sbuildrc.
  * sbuild.1:
    + Document schroot chroot naming.
    + Document --force-orig-source option.
    + Correctly escape hyphens in option and file names.
  * sbuild-setup.7: Use debootstrap rather than cdebootstrap.
  * bin/common_functions: Allow any chroot name to be specified
    (Closes: #356785).
  * bin/README.bins: Document changed chroot syntax.
  * bin/checkchroot: Set LC_COLLATE=POSIX to prevent collation issues
    (mismatches with the reference file; Closes: #294883).
  * bin/common_functions, bin/README.bins: Remove ~/build/ from the
    chroot path, to match sbuild behaviour of searching in the
    current directory (Closes: #355034).
  * chroot/README-buildd.chroot: Fix typo.
  * chroot/buildd.chroot: Use debootstrap rather than cdebootstrap
    (Closes: #358668).
  * debian/control: Recommend debootstrap rather than cdebootstrap.
  * example.sbuildrc: Add example $force_orig_source, with documentation.

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.

sbuild (0.41) unstable; urgency=low

  * sbuild:
    - setup_options(): Set $main::chroot_apt_options in the same
      manner as upstream.
    - setup_options(): Correct usage of a scalar reference rather than
      the scalar $main::chroot_dir (Closes: #354520).

sbuild (0.40) unstable; urgency=low

  * sbuild:
    - Fix typos in debug statement ($main::distribution rather than
      $main::distribtion, and $main::schroot_session rather than
      $main::scroot_session).  Thanks to Adeodato Simó for this fix
      (Closes: #354456).
    - get_schroot_info(): Parse schroot "--info" Path (chroot location)
      output.
    - get_schroot_info(): Parse schroot "--info" Type (chroot type)
      output, and if "plain", always set $main::dist_sessioncaps to 0
      ("plain" chroots may say they are session-managed, but do not
      support full session management, so they always need cleaning).
  * debian/control:
    - Recommend schroot (>= 0.2.5), for its "Path" information in --info
      output, used for determining the chroot location.

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.

sbuild (0.37) unstable; urgency=low

  * Sync with upstream SVN:
    - avg-pkg-build-time, avg-pkg-build-time.1, sbuild, sbuild.1,
      update-sourcedeps, update-sourcedeps.1: Update copyright notices with
      current FSF postal address.
    - sbuild:
      + Split changes files sent in the log every 989 characters, to better
        conform to mail RFCs.
      + Always show versions of installed build dependencies.
      + Always purge packages when building in a chroot.
      + Output purged packages line by line, rather than all at once.
      + Use strftime() and getpwuid() instead of the external commands
        date and whoami.
      + Use /var/lib/sbuild/apt.conf if it exists, and create it if it does
        not.  This fixes the problem of the root filesystem
        /etc/apt/apt.conf and /etc/apt/apt.conf.d directories being used,
        while the copies in the chroot filesystem are ignored.
      + Allow arch: all packages to be built when $main::build_arch_all
        is true.
      + Hardware DEBIAN_FRONTEND to "noninteractive" when installing and
        purging packages.  "apt-get update" is also run when the package
        cache is out of date (closes: 331546).
      + Fix support for '~' in version numbers.
      + Add Sbuild.pm (upstream WannaBuild.pm), and replace version_cmp()
        with Sbuild::version_compare().
      + Add REDO support for binNMUs.
      + Add stats generation for download+install, build and remove times.
      + Disassociate from the controlling terminal and make stdin /dev/null
        for the dpkg-buildpackage process.
      + Don't create entries to the sbuild log when a package claims to
        build an _all.deb, but doesn't.  Instead, warn to the build log.
      + Delete binary-all packages that we didn't ask to be built.
      + By default, set APT::Get::AllowUnauthenticated to "true".
      + Add $conf::chroot_only for compatibility with upstream
        (closes: #302628).
      + Add $conf::dpkg_source.
      + Add $conf::build_env_cmnd.
      + Merge whitespace and indentation changes.
      + Fix typos.
      + shutdown(): Don't close the package log if there is no current job.
      + read_build_essential(): Read build-essential from $main::chroot_dir
        instead of the root filesystem.
      + Add @main::toolchain_pkgs and @toolchain_regex.
      + check_space(): Redirect stderr of du to /dev/null.
      + run_apt(): Complete support for "install-deps-env".
      + Add --use-snapshot for building with gcc-snapshot.
      + build(): Remove dpkg-buildpackage debugging statements.
      + merge_pkg_build_deps(): Correctly separate dependencies in $deps,
        and don't immediately return if there are missing packages.
      + Remove support for --store-built-packages.
      + get_dpkg_status(): Check $version is set and compute $result in the
        same manner as upstream.
      + run_apt(): Remove '*' from $pkgs and $rpkgs.
      + install_deps(): purge packages with "dpkg --set-selections".
        schroot support added in addition to upstream changes.
      + fetch_source_files(): Support versioned fetches with apt-get.
      + Add support for auto_giveback_socket: add an extra argument to
        --auto-give-back and add an ssh '-S' option to analyze_fail_stage().
      + Support new --make-binNMU options.
      + Add support for $conf::chroot_only, and default to only running in
        a chroot for security and safety.
      + cleanup_close: Set $main::current_job to "" and shutdown if
        $main::HOME/EXIT-DAEMON-PLEASE exists and we are running in
        batchmode.
      + Move "Package claims to have built" error message to the same place
        as upstream.
    - sbuild.conf:
      + Remove watches.
      + Update alternatives (closes: #280689).
      + Comment out example %individual_stalled_pkg_timeout.
      + Empty @ignore_watches_no_build_deps.
    - sbuild.conf.local:
      + Add $chroot_only.
    - avg-pkg-build-space.1: Update text.
    - example.sbuildrc:
      + Remove $hack_changes_for_frozen.
      + Update comments.
  * sbuild.conf.local:
    - Use FHS-compliant pathnames, as in sbuild.conf.
  * Add support for building from experimental.
  * sbuild:
    - Parse the .changes rather than debian/files, so that the
      .dsc/.diff.gz/.orig.tar.gz are also copied back to ~/build.
    - Print information and contents of arch-all packages (closes: #321640).
  * debian/control: The maintainer field contains the list address.

sbuild (0.36) unstable; urgency=low

  Roger Leigh:

  * debian/changelog: Convert to UTF-8.
  * sbuild:
    - Don't fail in the absence of central sourcedeps.  These are no longer
      required now source packages are required to have build dependencies,
      so this should not be fatal.
    - Added support for schroot:
      + Added $conf::chroot_mode.  This may be set to "split" (the
        historical default), or "schroot" (use schroot instead of sudo).
      + All operations using sudo now check the value of $chroot_mode, and
        use sudo or schroot accordingly.
      + When using schroot, %main::dist_order is filled using the schroot
        chroot priorities.
      + Added %main::dist_locations to store the location of the
        available chroots.
    - Print a readable error if a chroot does not exist.
  * debian/control: Update to Standards-Version 3.6.2.
  * debian/copyright: Use the new FSF address.
  * debian/conffiles: Remove.
  * debian/rules:
    - Use debhelper version 4 compatibility mode.
    - Move the find -maxdepth option to before non-option arguments, to
      fix find warnings.
    - Remove template comments.
    - avg-pkg-build-space symbolic link should be relative.

sbuild (0.35) unstable; urgency=low

  Michael Banck:

  * bin/abort-current-build: Remove the `-B' from the grep line as
    `sbuild -s' does not pass that option to dpkg-configure and abort-
    current-build fails in that case.
  * sbuild: Set the locale to `POSIX' to make debconf and debhelper calls in
    the chroot not spew out locale warnings all the time.
    (closes: #287672)
  * sbuild: Removed check for specific distributions. Instead, fail if
    build/chroot-$dist is not there.
  * sbuild: Only override Distribution in .changes if specified as option on
    the command-line.
    (closes: #300145)
  * sbuild: Specify full path for Dir::Etc::main and Dir::Etc::parts.
  * example.sbuildrc: Clarify that $maintainer_name is not mandatory and
    overrides Maintainer: field, whereas $uploader_name overrides
    the Changed-By: field in changes.
  * Applied patch by Santiago Vila:
    - Moves scripts from /usr/lib/sbuild to /usr/share/sbuild and modifies
      all callers accordingly.
    - Add -n option to tail to comply with POSIX.
    - Call /usr/sbin/sendmail instead of /usr/lib/sendmail.
    (closes: #292717)
  * sbuild: Tolerate '0' as version number, thanks Santiago Vila.
    (closes: #300205)

sbuild (0.34) unstable; urgency=high

  Francesco Paolo Lovergine:

  * Removed searchscripts recommendation in debian/control. That was requested
    by ppack now removed in archive.
    (closes: #272318)
  * checkchroot now uses grep-dctrl, thanks Clint Adams.
    Introduced dependency from grep-dctrl due to checkchroot.
    (closes: #260881,#265994)
  * Updated ref-* files for unstable and testing as well as the related README file.
  * This is the first revision CVS-enabled.

sbuild (0.33) unstable; urgency=low

  * Man page sbuild.1 revised.

sbuild (0.32) unstable; urgency=low

  * Added ~ as a legal character for debian version (post-sarge).
  * A few minor changes in README.chroot-buildd and man page.
  * Added -k and -e options as overriding for -m default in package signing.
    Man page changed to reflect new features.
    (closes: #260870)
  * Removed the CVS log variable in sbuild in order to import a new sane
    tree onto Alioth repo. Old logs are now stored in a new cvslogs.old file.
  * Minor revisions to ducumentation files.
  * Added Michael Banck as Uploader.

sbuild (0.31) unstable; urgency=low

  * Patch for #239339 revised:
  	Escaping to manage correctly possible nested RE.
        (closes: #268712)
  	Doing removes only in chroot environment.
        (closes: #264834).
  * Changed a bit man page to clarify better synopsis.
    (closes: #265998)

sbuild (0.30) unstable; urgency=high

  The "later better than never" release.

  Thanks Michael Banck, Martin Michlmayr and other submitters for useful patches.

  * example.sbuildrc now return 1 to satisfy perl require syntax.
    (closes: #228410)
  * Now copies the orig.tar.gz into $(CHROOT)/build/<user>/ for non-native packages.
    (closes: #239339)
  * Corrected abort-current-build to manage correctly ps output.
    (closes: #249995)
  * Now should manage packages which provides the same pkgs of other yet installed ones.
    (closes: #259315)
  * build.chroot rewritten to use dbootstrap straight on.
    (closes: #235726,#228412,#228412)
  * Using dh_installman instead of obsolete dh_installmanpages. Added
    debian/manpages for that.
  * Alternatives modified for current ones in testing/sid.
    (closes: #228792)

sbuild (0.29) unstable; urgency=low

  * Now depends on exim4
    (closes: #228591)
  * Non "noninteractive" is in lowercase currently.
    (closes: #228800)
  * Added /usr/bin/avg-pkg-build-space as symlink to /usr/bin/avg-pkg-build-time
    (closes: #228445)
  * add_sbuild_user corrected to show the true path of example.sbuildrc
    (closes: #228411)
  * removing obsolete packages in sid, and updated required ones
    (closes: #220932)
  * README.buildd-chroot updated
    (closes: #220933)

sbuild (0.28) unstable; urgency=low

  * Using latest instead of lastest.
    (closes: #202740)
  * Changing dependencies in buildd.chroot for current gcc.
    (closes: #180447)
  * Configuration examples now moved into /usr/share/doc/sbuild/examples
    Man changed as consequence.
    (closes: #208965)
  * Policy bumped to 3.6.1.

sbuild (0.27) unstable; urgency=low

  * sg is not available in hurd, removed in postinst and postrm (patch by Michael Banck).
   (closes: #206270)

sbuild (0.26) unstable; urgency=low

  * Ugh! Wrong control file. Now really updated as needed.
    (closes: #191203)

sbuild (0.25) unstable; urgency=low

  * New maintainer.
    Uploaders: Roger Leigh <roger at whinlatter.uklinux.net>
    (closes: #191203)

sbuild (0.24) unstable; urgency=low

  * remove -qq from apt-get call in the updatechroot script
  * fix upgradechroot output and add -u to -y
  * added oldstable to distribution options
  * fix for dependency calculation for --arch-all builds from
    Martin Kögler (Closes: #180859)
  * libpng-dev => libpng12-0-dev in sbuild.conf
  * add dpkg-dev to package dependencies - thanks Michael Banck
    (Closes: #182234)
  * chroot building fix and waldi's patch still to come

sbuild (0.23) unstable; urgency=low

  * fixed chroot building - thanks Matt Kraai for the patch and
    the heads-up - Closes: #167822
  * use separate stable and testing/unstable required lists
  * updated the ref-* package lists
  * added -o/oldstable option to the helper scripts and fixed
    their usage strings

sbuild (0.22) unstable; urgency=low

  * dpkg --root isn't fixed so use ppack for the checkchroot
    script, recommend searchscripts instead of suggest
  * add a note to README.Debian and the man page that sbuild must be
    run in ~/build (or wherever the chroot-* symlink is) for sbuild
    to find the chroot (thanks Otavio)

sbuild (0.21) unstable; urgency=low

  * the new dpkg has gone into testing so add dselect to the
    buildd.chroot required list there as well

sbuild (0.20) unstable; urgency=low

  * added a note that the original tarball has to be in the sbuild work
    directory $CHROOT/build/<user> for an "sbuild --source" build
  * removed the old potato chroot description; it can be gotten from the
    woody version of the package if needed
  * have sbuild make a ~/build/current symlink to the current build log

sbuild (0.19) unstable; urgency=low

  * ref-stable = woody
  * re-added deborphan, searchscripts Suggests
  * add a note about setting up .sbuildrc
  * have sbuild, chrapt ignore base apt.conf{,.d}
  * handle dpkg/dselect unstable split in buildd.chroot; copy over
    /etc/hosts to chroot

sbuild (0.18) unstable; urgency=low

  * split ref-testing from ref-unstable instead of symlink as they
    differ now
  * unstable dpkg --root is broken currently so use ppack instead of
    dpkg for checkchroot
  * don't 'touch' downloaded source; in buildd context, buildd-watcher
    should use ctime not mtime to look for old files
  * add a blurb about using chrapt to finish off the chroot build, in
    case debootstrap doesn't quite get it right

sbuild (0.17) unstable; urgency=low

  * removed debconf-utils from unstable reference list
  * include Ryan's sbuild changes to allow the buildds to
    autobuild for security
  * include Ryan's debootstrap script for chroot building
  * the SBUILD_CHROOT_ROOT environment variable is gone.  The chroots
    are now found by the ~/build/chroot-$DIST symlinks or absolute path.
  * moved the helper scripts to /usr/lib/sbuild
  * wrong switch so the 0.5 changelog was skipped; again, Closes: #138915
  * create blank source-dependencies files on install

sbuild (0.6) unstable; urgency=low

  * added dobuildlog, a shell script for processing build logs:
    file a bug, sign the changelog, reply to buildd if you're
    an admin
  * recommend fakeroot instead of depend as some arches don't have
    it.  (Closes: #145753)

sbuild (0.5) unstable; urgency=low

  * fix copyright file lintian errors
  * added ~/.wgetrc warning to man update-sourcedeps man page,
    Closes: #138915

sbuild (0.4) unstable; urgency=low

  * made /etc/sbuild.conf a conffile - thanks Gergely Nagy.
    (Closes: #136374)

sbuild (0.3) unstable; urgency=low

  * added mailfrom config item so the msg body From: can be
    overridden
  * noninteractive -> Noninteractive for Ryan Murray
  * (re-)added conffile sbuild.conf.local for local changes that aren't
    suitable for ~/.sbuildrc
  * removed the bashrc & profile example files; they were part of my
    original local sbuild deb and are just clutter

sbuild (0.2.5) unstable; urgency=low

  * add From/To headers to sbuild mail - thanks Gergely Nagy
   (Closes: #129850)
  * added deborphan to Suggests; -f is useful for finding the
    minimal chroot for an arch

sbuild (0.2.4) unstable; urgency=low

  * Closes: #120309 (the ITP)
  * the sbuildrc:$source_dependencies config item got lost
  * removed Phil Blundell's apt "Replaces:" patch.  This is a
    workaround for an apt weakness that shouldn't be depended on.
  * added fakeroot dependency.  Thanks Michael Schmitz.

sbuild (0.2.3) unstable; urgency=low

  * show all changes in initial *.changes

sbuild (0.2.2) unstable; urgency=low

  * don't copy /etc/fstab to chroot

sbuild (0.2.1) unstable; urgency=low

  * dpkg-buildpackage craps out on the unknown -d switch in the
    stable chroot.

sbuild (0.2) unstable; urgency=low

  * Initial package

Date: Sat, 09 May 2009 16:06:44 -0700
Changed-By: Kees Cook <kees at ubuntu.com>
Maintainer: Ubuntu MOTU Developers <ubuntu-motu at lists.ubuntu.com>
https://launchpad.net/ubuntu/karmic/+source/sbuild/0.58.2-1ubuntu1
-------------- next part --------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 09 May 2009 16:06:44 -0700
Source: sbuild
Binary: sbuild wanna-build
Architecture: source
Version: 0.58.2-1ubuntu1
Distribution: karmic
Urgency: high
Maintainer: Ubuntu MOTU Developers <ubuntu-motu at lists.ubuntu.com>
Changed-By: Kees Cook <kees at ubuntu.com>
Description: 
 sbuild     - Tool for building Debian binary packages from Debian sources
 wanna-build - Database to track building of Debian binary packages from Debian 
Closes: 120309 129850 136374 138915 138915 145753 167822 170742 180447 180859 182234 183022 191203 191203 202740 206270 208965 220932 220933 228410 228411 228412 228412 228445 228591 228792 228800 235726 239339 249995 259315 260870 260881 264834 265994 265998 268712 270439 272318 280689 287669 287672 292717 294883 300145 300205 302628 308065 311363 311589 318030 321640 331506 331546 341327 342357 354456 354520 355034 355035 355037 355038 355040 355043 355072 355604 355802 355861 356686 356785 357042 358668 358717 359747 360058 360124 363351 368066 369707 369709 369718 372806 376020 378283 381186 384137 389815 391277 392323 392751 392752 392992 395271 397123 398128 399178 405836 407293 409642 410576 413524 413908 414064 415798 417573 418060 418061 425370 425715 425855 428205 431216 449251 449253 458779 466927 471747 472350 474030 474160 474487 477655 477693 478044 478045 479714 482456 482804 482922 482931 483654 489557 489794 492327 492577 493150 493325 505747 511095 511314 519097 519276 520755
Changes: 
 sbuild (0.58.2-1ubuntu1) karmic; urgency=low
 .
   * Merge from debian unstable, remaining changes:
     - bin/sbuild, lib/Sbuild/{Base,Conf,Options}.pm: add --setup-hook
       to allow pre-build modifications to underlying chroots (needed
       to adjust pockets and components in sources.list).  (debian bug
       500746).
 .
 sbuild (0.58.2-1) unstable; urgency=low
 .
   [ Roger Leigh ]
   * New release.
   * etc/50sbuild: Don't create user home directory inside the build
     chroot.  Home directories are not required for building.
   * lib/Sbuild/ChrootInfoSchroot.pm: Run schroot in a C locale, to
     avoid localisation of the output which breaks parsing
     (Closes: #520755).  This was preventing the detection of chroots
     in some locales.
   * debian/buildd.cron.d: Move example crontab here, with entries
     commented out for now.
   * debian/rules: Use dh_installcrontab to install crontabs.
   * Remove buildd package for this release, because it's not yet
     ready for use.
 .
 sbuild (0.58.1-1) unstable; urgency=low
 .
   [ Roger Leigh ]
   * debian/rules: Run configure setting DCMD, SUDO and SCHROOT.
     (Closes: #519097). It's not possible to install sudo as a
     build-dependency due to it not allowing automatic removal, and
     none of the commands are actually needed for the build, just
     setting the default path.
   * sbuild: Don't erase default chroot environment (Closes: #519276).
     This removed APT_CONFIG, preventing sbuild from working correctly.
     Thanks to Francois-Denis Gonthier.
 .
 sbuild (0.58.0-1) unstable; urgency=low
 .
   [ Roger Leigh ]
   * New release.
   * debian/rules:
     - Clean up old unused code.
     - Correct patching of config.status and config.guess.
     - Add functional binary-arch target.
     - Use dh_prep in place of dh_clean -k.
     - Don't configure with --with-postgresql (debversion code moved
       to postgresql-debversion).
   * debian/compat: Update to debhelper version 7.
   * debian/control:
     - Build-Depend on debhelper 7.
     - wanna-build recommends postgresql-8.3-debversion.
   * debian/NEWS: Document incompatible changes from previous versions.
   * debian/sbuild.docs: New file.  Add NEWS.
   * debian/wanna-build.docs: New file.  Add NEWS.
   * buildd-mail-wrapper: Use more portable BSD getloadavg in place of
     Linux-specific sysinfo.  Thanks to Robert Millan for this
     patch (Closes: #511095).
   * wanna-build: --help output now documents --create-db, since --help
     now displays the full manual page (Closes: #511314).
 .
   [ Kees Cook ]
   * lib/Sbuild.pm: always perform version checks on provided packages
     (Closes: #505747).
 .
 sbuild (0.57.5-1) unstable; urgency=low
 .
   * New release.
   * Sbuild::Build::new: Check if 'DSC' exists rather than 'DSC File' to allow
     the .dsc to be in any directory (Closes: #489794).  Thanks to
     Francois-Denis Gonthier for this patch.
   * $Sbuild::Conf::apt_allow_unauthenticated: New configuration parameter
     to disable APT package authentication, which is now enabled by default
     (Closes: #492327).  Thanks to Enrico Zini for this patch.
   * Sbuild::Options: Use isin from Sbuild.pm (Closes: #492577).
   * Sbuild::Log: Add version number and correctly-formatted date to the
     package log name instead of a raw time_t (Closes: #493150).
     Additionally add user and architecture to the name.
   * Sbuild::Options: --make-binNMU no longer tries to assign an lvalue
     (Closes: #493325).  Thanks to Greg Hudson for this patch.
   * $maintainer_name, $uploader_name and $key_id are now optional in
     .sbuildrc; one is only required with performing binary NMUs for the
     entry in debian/changelog (Closes: #489557).
   * debian/sbuild.postrm: Correct use of local to remove bashisms.
 .
 sbuild (0.57.4-1) unstable; urgency=low
 .
   * New release.
   * debian/control: Update to Standards Version 3.8.0.
   * Use schroot "Session Purged" flag rather than "Session Cloned"
     (Closes: #482804).  Thanks to Timothy G Abbott.
   * Handle version provides correctly, by using "~*=PROVIDED=*=" in place
     of "=*=PROVIDED=*=" as the package version (Closes: #395271).  Thanks
     to Niko Tyni for this patch.
   * Don't include epoch version in directory names (Closes: #482456).
     Thanks to Raphael Hertzog.
   * man/sbuild-setup.7.in: Replace references to buildd.chroot with
     sbuild-createchroot, and adduser with sbuild-adduser (Closes: #483654).
     Thanks to Marc Fargas.
   * Package name, version, build directory and associated information are
     now contained within Sbuild::Build objects.  This allows stripping of
     epoch to construct correct unpack directory location
     (Closes: #482931, #482922).
   * Warnings due to uninitialised variables are no longer reproducible
     (Closes: #449251).
 .
 sbuild (0.57.3-1) unstable; urgency=low
 .
   * New release.
   * --chroot and --arch now work together (Closes: #479714).
 .
 sbuild (0.57.2-1) unstable; urgency=low
 .
   * debian/copyright: Update copyright holders and copyright information.
   * debian/rules: Run dh_link in binary-indep target to correct symlinks.
   * debian/wanna-build.install: Install manual pages.
   * man/sbuild.1.in:
     - Add missing character, thanks to LI Daobing (Closes: #474487).
     - Document --binNMU (Closes: #466927).
     - --distribution should be --dist (Closes: #477693).  Thanks to Martin
       F Krafft.
   * debian/README.Debian: Remove reference to README-buildd.chroot
     (Closes: #474030), thanks to Marc Fargas.  Update sbuild statistics
     information.
   * Add --apt-update option to sbuild to run "apt-get update" in the
     chroot prior to fetching sources and building (Closes: #472350).
     Thanks to Timothy G Abbott for this patch.
   * Add --chroot option to specify a chroot separately from the
     distribution name (Closes: #474160).  Thanks to Simon McVittie for
     this patch.
   * debian/control: Depend on debhelper version 6 or greater (Closes:
     #477655).  Thanks to Martin F Krafft.
   * lib/Sbuild/Conf.pm: Don't require $mailto to be set if not running in
     a buildd environment (Closes: #478045).  Thanks to Martin F Krafft.
   * Use dcmd to parse dsc files, rather than hand-parsing.  This allows
     support of the new dpkg source format.
   * All files used in a build are stored in
     /build/username-package_version-arch-XXXXXX inside the chroot (Closes:
     #478044).
 .
 sbuild (0.57.1-1) unstable; urgency=low
 .
   * New upstream release.
   * debian/control:
     - Depend upon schroot >= 1.1.6.  This version includes a
       SESSION_CLONE property, used to determine if a chroot is cloned,
       and hence package removal may be skipped.
     - Add wanna-build package.
   * debian/rules: set libexecdir to /usr/share, for compatibility with
     locations of scripts in earlier versions.
   * debian/sbuild.install: use /usr/share in place of /usr/lib
     (Closes: #458779).
   * debian/wanna-build.install: New file: files for wanna-build.
   * sbuild: Don't parse output of dpkg-source (Closes: #471747).
 .
 sbuild (0.57.0-1) unstable; urgency=low
 .
   * Sbuild/*.pm: Reindent to increase readability.
   * Sbuild/Chroot.pm: set APT::Install-Recommends to false inside the
     chroot (Closes: #449253).
   * Sbuild/Conf.pm: Add and export $check_depends_algorithm.
     [Jan-Marek Glogowski]
   * sbuild:
     - Reindent to increase readability.
     - Add additional syntax checks.  Thanks to Jan-Marek Glogowski.
     - build: Use unicode line drawing characters instead of ASCII.
     - filter_dependencies: Remove redundant conditional.
       [Jan-Marek Glogowski]
     - Add check for check-depends-algorithm option. [Jan-Marek Glogowski]
     - filter_dependencies: Change dependency behaviour depending upon
       check_depends_algorithm.  [Jan-Marek Glogowski]
     - Move to bin/.
   * avg-pkg-build-time:
     - Move to bin/.
   * bin/*: Reindent to increase readability.
   * chroot/*: Reindent to increase readability.
   * bin/sbuild-createchroot:
     - Moved from chroot/buildd.chroot.
     - Also install fakeroot and build-essential.
   * sbuild-createchroot.1.in: Add manual page.
   * chroot/buildd.chroot:
     - Add GPL boilerplate.
     - Remove /etc/passwd creation (already done by debootstrap).
     - Remove sbuild directory creation (already done by schroot).
     - Use here doc to set up /etc/apt/sources.list.
     - List sources.list.
   * chroot/README: Rename from README.buildd-chroot.  Remove
     buildd.chroot section.
   * example.sbuildrc: Add missing variable types.  [Jan-Marek Glogowski]
   * example.sbuildrc: Add missing variable types and add
     $check_depends_algorithm.  [Jan-Marek Glogowski]
   * sbuild.1: Document --check-depends-algorithm [Jan-Marek Glogowski]
   * Move manual pages to man/.
   * debian/manpages: Move manual pages to man/.
   * sbuild.conf: Move to etc/.
   * example.sbuildrc: Move to etc/.
   * debian/compat: Move to debhelper v6 compatibility level.
   * debian/control: Update to Standards-Version 3.7.3.
   * debian/copyright:
     - Update git repository location.
     - Update GPL boilerplate.
   * debian/sbuild.dirs:
     - Rename from debian/dirs.
     - Remove all but -var/lib/sbuild/srcdep-lock.
   * debian/manpages: Remove.
   * debian/sbuild.postinst: Rename from debian/postinst.
   * debian/sbuild.preinst: Rename from debian/preinst.
   * debian/sbuild.postrm: Rename from debian/postrm.
   * debian/sbuild.install:
     - New file.
     - Install files from usr/sbin and usr/share/man/man8.
   * debian/rules:
     - Install sbuild-createchroot, and add buildd.chroot compatibility
       symlink.
     - Move -stamp files to debian/.
     - Remove GENFILES.
     - Run configure, make, and make install in appropriate rules.
     - Use dh_install.
     - Remove all special-cased installation rules (now handled by automake).
   * Note: All upstream changes are now in an upstream ChangeLog.
 .
 sbuild (0.56) unstable; urgency=low
 .
   * sbuild
     - Fix --force-orig-source option which was renamed to
       --force_orig_source while rewriting the options parsing logic to use
       Getopt::Long (Closes: #428205).  Thanks to Alec Berryman for
       reporting this regression.
     - Accept arguments for options requiring a string (Closes: #431216).
       Thanks to Anders Kaseorg for the patch for this regression.
   * debian/preinst: Use dpkg-query in place of /var/lib/dpkg/status.
 .
 sbuild (0.55) unstable; urgency=low
 .
   * sbuild:
     - Parse options with Getopt::Long.
     - Remove trailing whitespace.
     - Initialise $main::sub_task with a value, in case the build gets
       terminated prior to it being used.
     - Change the position of begin_session, so that it matches the cleanup
       order on shutdown.
     - build:
       + Document the regex which strips the epoch from the version
         number.
       + Remove the call to setsid when forking dpkg-buildpackage, because
         this broke shell job control.  Some packages might possibly hang
         while building if they detect they have a controlling terminal, but
         IMO this is a bug in the package.
       + When handling the timeout for dpkg-buildpackage, make the $SIG{'ALRM'}
         handler local, so that it is restored to the default once the build
         has finished.
       + When calling mv to move files, use -f to make sure it doesn't run
         interactively.
     - check_dependencies: If a toolchain package is missing, print a
       "not installed" message, rather than a blank version.
     - dsc_md5sums: Log failure to open the .dsc.
     - fetch_source_files: Strip the epoch of the version number, so that
       $dscbase matches the .dsc filename in the filesystem (Closes: #425715).
       Thanks to Lucas Nussbaum.
     - merge_pkg_build_deps: Replace references to "central" src deps with
       build-essential deps.
     - parse_manual_srcdeps: New function, to replace the addition of manual
       source dependencies from the removed read_deps() function.
     - shutdown: Call end_session to clean up the chroot.
   * Sbuild/Chroot.pm:
     - end_session:
       + Add a debugging message.
       + Clear $schroot_session.
   * Sbuild/Conf.pm: Add linux-libc-dev, gnumach-dev, hurd-dev and
     kfreebsd-kernel-headers to @toolchain_regex.  Thanks to Clint Adams
     (Closes: #425855).
   * Sbuild/Log.pm.in:
     - Remove trailing whitespace.
     - open_log, open_pkg_log: Ignore SIGINT, SIGQUIT, SIGTERM and SIGPIPE
       in the logger processes, so that logging continues if the process
       group is signalled to terminate.  They will exit when the group leader
       exits or closes the pipe.
   * debian/changelog: Fix missing colon in bug closure for revision 0.2.4.
   * debian/compat: New file.  Set to debhelper compatibility level 5.
   * debian/control: Depend on debhelper v5.
   * debian/NEWS: Renamed from debian/NEWS.Debian (Closes: #425370).
     Thanks to Lucas Nussbaum for spotting this.
   * debian/rules: Remove DH_COMPAT.
 .
 sbuild (0.54) unstable; urgency=low
 .
   * debian/control:
     - Remove sudo from Depends.
     - Add schroot to Depends.
     - Remove schroot from Recommends.
     - Depend on dctrl-tools rather than the transitional grep-dctrl package.
       Thanks to Jonh Wendell (Closes: #417573).
   * debian/rules:
     - Don't install sbuild.conf.local.
     - Install sbuild.conf into /etc/sbuild.
   * debian/NEWS.Debian:
     - New file.
     - Document removal of manual source dependencies and sudo.
     - Document removal of support for building from a directory.
     - Document removal of building on the host system.
     - Document sudo->schroot migration.
     - Document change in $sbuild_mode default.
   * debian/README.Debian:
     - Document removal of manual src-deps.
     - Remove requirements for chroot symlinks in working directory.
   * sbuild:
     - Remove read_deps, so manual src-deps are no longer read.  The
       remainder of the manual src-deps support remains to be removed.
     - Quote all arguments to system commands such as "rm -rf", to prevent
       potential disasters.
     - Update copyrights, and encode in UTF-8.
     - Use "du -k -s" instead of "du -s" to increase portability.  Thanks to
       Martin Koeppe (Closes: #418061).
     - Compute package, version, directory and whether to download sources
       before calling fetch_source_files, because all the needed information
       is available at this point.
     - cleanup_packages:
       + Remove check for schroot when removing build dependencies, since
         schroot is the default.
       + Remove undo_specials().
     - build:
       + Remove do_apply_patches.
       + Replace "822-date" with "date -R".  Thanks to Guillem Jover for
         this patch (Closes: #415798).
       + Remove support for building from a directory.
       + Run dpkg-source from within the chroot.
       + Don't chdir before running dpkg-source.
       + Don't chdir before running dpkg-parsechangelog (do it in the
         schroot child process).
       + Remove obsolete code for running dpkg-buildpackage outside a chroot.
     - fetch_source_files:
       + Remove support for building from a directory.
       + Download sources directly into the chroot build directory.  For
         sources already existing outside the chroot, copy them into the
         chroot build directory.
       + Add extra directory, package, version and download arguments.
       + Only call dsc_md5sums once, rather than twice.
     - apply_patches: Remove.
     - get_special: Remove use of @main::global_patches.
     - Remove SVN Id:.
     - install_deps: Remove @special use.
     - unpack_special_source: Remove.
     - undo_specials: Remove.
     - filter_dependencies: Remove @special use.
     - run_script: Remove.
     - parse_one_srcdep: Remove @special use.
     - get_special: Remove.
     - write_srcdep_lock_file: Remove @special use.
     - check_srcdep_conflicts: Remove @special use.
     - dump_main_state: New function to dump the program state using
       Data::Dumper.  Use to dump the state after each build.
     - Add / separators to all users of $main::chroot_build_dir in paths.
     - Replace all users of regular expressions to strip the chroot dir
       from paths with strip_chroot_path.
     - get_dpkg_status: Print debugging messages with defined variables
       only, to avoid Perl warning.
     - verify_md5sums: Remove obsolete comment regarding chroots.
     - check_group_membership: New function to check the user is a member
       of the sbuild group (Closes: #414064).
     - Added new command-line argument --arch to specify the architecture,
       and pass this to begin_session (Closes: 410576).
   * Sbuild/Chroot.pm:
     - Remove all special casing for sudo and schroot.  schroot is now the
       only supported method of accessing chroots.
     - end_session: Only attempt to end a session when $schroot_session is
       non-empty.
     - _setup_options:
       + Remove use of $chroot_only.
       + Remove trailing / from 'Build Location'.
     - init: Add newline to debugging message.
     - strip_chroot_path: New function to strip the chroot location from a
       path.
     - log_command: Correctly log commands when no APT Options stripping is
       needed.
     - get_command_internal: Set the working directory inside the chroot to
       the build location.
     - begin_session: take the architecture as a second argument, and check
       if a chroot specific for the architecture exists.
   * Sbuild/Conf.pm:
     - Don't export $source_dependencies.
     - Don't define $source_dependencies.
     - Abort with an error if $source_dependencies is defined.
     - Don't export $sudo or $chroot_mode.
     - Don't define $sudo or $chroot_mode.
     - Remove sudo sanity checks.
     - Abort with an error if $sudo or $chroot_mode are defined.
     - Don't export $chroot_only.
     - Don't define $chroot_only.
     - Abort with an error if $chroot_only is defined.
     - Define and export %alternatives.  Thanks to Martin Koeppe
       (Closes: #418060).
     - Define and export @no_auto_upgrade and %watches.
     - Remove the requirement for /usr/share/sbuild/sbuild.conf.
     - Mark deprecated/obsolete variables for removal post-Lenny.
     - Set defaults from global sbuild.conf.
   * sbuild.conf:
     - Remove $source_dependencies.
     - Remove $sudo.
     - Remove $chroot_only.
     - Add and document all options from Sbuild/Conf.pm.
     - Reorder into sections.
     - Merge with sbuild.conf.local, and install into /etc/sbuild.
   * sbuild.conf.local:
     - Remove $source_dependencies.
     - Remove.
   * example.sbuildrc:
     - Replace all options with documented options from sbuild.conf.
     - Add additional user-centric options from sbuild.conf.
     - Reorder into sections.
   * sbuild.1.in: Document --arch and chroot search order.
   * sbuild-setup.7.in:
     - Remove sudo setup.
     - Update user section to document sbuild group membership and
       add_sbuild_user.  Remove chroot setup, which is now handled by
       schroot (Closes: #413524).
   * bin/README.bins: Remove sudo from extra package list.
   * bin/updatechroot, bin/upgradechroot, bin/chrapt: Remove chroot_mode.
   * chroot/add_sbuild_user:
     - Remove sudo setup instructions and copying of /etc/sudoers to the
       chroot.
     - Rewrite in perl.  Only call adduser; all other chroot setup is
       taken care of by the 50sbuild schroot chroot setup script
       (Closes: #413908).
   * TODO: New file.  Document needed changes.
 .
 sbuild (0.53) unstable; urgency=low
 .
   * Sbuild/Conf.pm: Add and export check_watches configuration variable.
   * sbuild:
     - Set umask to 022 so that dpkg-buildpackage always runs with a sane
       umask (Closes: #405836).
     - check_watches: Don't check watches if check_watches configuration
       variable isn't set (Closes: #397123).
     - get_apt_policy: Allow ~ in version numbers.  Thanks to Frank
       Lichtenheld for this patch (Closes: #407293).
     - When running apt-cache, divert STDOUT to the package log, so that
       warnings do not get mailed separately (Closes: #399178).
     - fetch_source_files:
       + Correct indentation, and error with brace placement which caused
         apt-cache output to not be used.
       + Add package information into the key of the %entries hash, in
         order to cope with multiple packages being returned by apt-cache.
         Based on a patch by Goswin von Brederlow for Bug #408091.
   * sbuild.conf: Obsolete $source_dependencies.
   * sbuild.conf.local:
     - Add pgp_options from sbuild.conf (Closes: #398128).
     - Add check_watches.
     - Obsolete $source_dependencies.
   * update-sourcedeps, update-sourcedeps.1.in: Remove (Closes: 409642).
     Thanks to Kenshi Muto for reporting that it no longer works.
   * debian/rules, debian/manpages, debian/README.Debian: Remove support
     for update-sourcedeps, and note that sourcedeps support is obsoleted
     and will be removed in Lenny.
 .
 sbuild (0.52) unstable; urgency=low
 .
   * New upstream release.
   * sbuild: Remove incorrect WannaBuild:: prefix from version_compare.
 .
 sbuild (0.51) unstable; urgency=high
 .
   * Urgency is high because this version fixes an RC bug in testing.
   * Sbuild.pm: Fix handling of ~ in versions (merge from upstream SVN cset
     100; Closes: 392752).
   * sbuild, Sbuild/Conf.pm, sbuild.conf.local: Add support for setting APT
     policy, to allow building from experimental and sarge-backports.
     Thanks to Wouter Verhelst for this patch, which has been slightly
     modified to add configurability and adapt to this version of sbuild.
   * sbuild:
     - Don't run md5sum inside the chroot.  Thanks to Michael Banck
       (Closes: #392323).
     - chroot_arch():  New function to detect build architecture from
       within the chroot.  Thanks to Kees Cook (Closes: #392992).
   * Sbuild/Conf.pm: Fix check for schroot.  Thanks to Julien Danjou for
     finding this (Closes: #392751).
   * sbuild-setup.7.in: Correct example commandline for debootstrap.
     Thanks to Alex Pennace (Closes: #391277).
 .
 sbuild (0.50) unstable; urgency=low
 .
   * debian/copyright: Add Alioth file download location.
   * chroot/add_sbuild_user:
     - Fix chrapt command examples in output to use correct option syntax,
       thanks to Matthias Julius (Closes: #381186).
     - Add SHELL to sudoers env_keep.
   * sbuild:
     - dsc_md5sums: Return hashref on failure, rather than -1.
     - verify_md5sums: Only run md5sum if there is one or more md5sum to
       verify, to prevent md5sum waiting forever on stdin if there are no
       files to check.  Thanks to Daniel Stone.
   * Sbuild.pm: Use new binNMU versioning scheme (+bn), taken from
     wanna-build SVN.  Thanks to Clint Adams (Closes: #384137).
   * Sbuild/Conf.pm: Check sudo does not strip SHELL from the environment.
   * sbuild-setup.7.in: Document needed addition of SHELL to sudoers
     env_keep (Closes: #389815).
 .
 sbuild (0.49) unstable; urgency=low
 .
   * Sbuild/Conf.pm: init checks if APT_CONFIG and DEBIAN_FRONTEND are
     being stripped from the environment by sudo (when running in split
     mode), and aborts with instructions for correctly configuring sudo.
     This prevents apt-get silently using the configuration from the host
     system instead of the chroot.
   * Sbuild/Chroot.pm: When running in split mode, use the -s option of
     su to set the shell used inside the chroot to /bin/sh.  This
     ensures that a valid shell is always used when the $SHELL is not
     available inside the chroot (Closes: 378283).
   * sbuild.conf, sbuild.conf.local, update-sourcedeps, sbuild.1.in,
     avg-pkg-build-time.1.in: Update to use the new configuration file
     locations.
 .
 sbuild (0.48) unstable; urgency=low
 .
   * Sbuild/Chroot.pm: Use su, rather than sudo, inside the chroot.  This
     prevents the APT_CONFIG and DEBCONF_FRONTEND environment variables
     from being removed (Closes: #376020).
   * Sbuild/Conf.pm: Add $Sbuild::Conf::su.
   * sbuild-setup.7.in: Remove sudo configuration inside the chroot, now
     this is no longer required.
 .
 sbuild (0.47) unstable; urgency=low
 .
   * bin/checkchroot: Correct uninitialised value warnings due to using an
     undefined variable (Closes: #369709).
   * bin/chrapt, bin/updatechroot, bin/upgradechroot: When chroot_mode is
     "schroot", chdir to / to ensure the CWD exists inside the chroot.
     Thanks for Clint Adams for finding this (Closes: #372806).
   * sbuild: fetch_source_files: When running apt-cache, check if we got
     valid output, and warn appropriately if the output is invalid
     (Closes: #369707).  Output may be invalid if there are no deb-src
     lines in /etc/apt/sources.list in the chroot.
   * Sbuild/Conf.pm: Remove $Sbuild::Conf::log_dir checks.
   * Sbuild/Log.pm.in: If $Sbuild::Conf::log_dir does not exist, try to
     create it, and if this fails, warn and log to stdout
     (Closes: #369718).
 .
 sbuild (0.46) unstable; urgency=low
 .
   * sbuild:
     - fetch_source_files: Only print "apt-get update" invocation in debug
       mode.
     - get_dpkg_status: Make sure $version is defined before checking its
       value, to ensure the Debian version can have a value of 0.  Thanks
       to Santiago Vila for this fix (Closes: #368066).
   * Update svn::ignore properties to ignore generated files.
   * debian/control:
     - Update to Standards-Version 3.7.2.
     - Use Build-Depends, rather than Build-Depends-Indep.
 .
 sbuild (0.45) unstable; urgency=low
 .
   * bin/checkchroot:
     - Check if the dpkg and reference files contained any data, and exit
       with an error if either were empty (Closes: #363351).
     - On error, use Sbuild::Utility::shutdown to clean up.
   * bin/chr-hold, bin/chr-unhold: On error, use Sbuild::Utility::shutdown
     to clean up.
   * sbuild:
     - build: Only print dpkg-buildpackage invocation in debug mode.
     - uninstall_debs: Only print dpkg invocation in debug mode.
   * debian/control: Update to Standards-Version 3.7.0.
 .
 sbuild (0.44) unstable; urgency=low
 .
   * avg-pkg-build-time: Use Sbuild::Conf.
   * bin/checkchroot: Convert to Perl, using Sbuild::Utility.
   * bin/chrapt: Convert to Perl, using Sbuild::Utility.
   * bin/chr-hold: Convert to Perl, using Sbuild::Utility.
   * bin/chr-unhold: Convert to Perl, using Sbuild::Utility.
   * bin/gochroot: Convert to Perl, using Sbuild::Utility.
   * bin/updatechroot:
     - Convert to Perl, using Sbuild::Utility.
     - chrapt is no longer used (Closes: #355035).
     - Sbuild::Chroot is used for chroot access:
       + Suite names are no longer hardcoded (Closes: #355037).
       + APT Options are set correctly (Closes: #355038).
   * bin/upgradechroot: Convert to Perl, using Sbuild::Utility.
   * bin/common_functions: Remove; this is no longer used.
   * sbuild:
     - Treat schroot chroots with a "-sbuild" suffix in the same way as
       chroots without a suffix (Closes: #360124).
     - Use the new modules Sbuild::Chroot, Sbuild::Conf and Sbuild::Log.
       The functions moved into the modules have been removed.
     - Import needed module functions into the local namespace, to avoid
       long namespace prefixes on functions.
     - Remove $main::chroot_apt_options.
     - Move $main::debug to Sbuild::Conf.
     - Import Sbuild::Conf into package "conf".  This allows the package
       name used by upstream to be used for backward compatibility.
     - Use $conf::HOME instead of $main::HOME.
     - Move $main::username to Sbuild::Conf.
     - Set $main::chroot_dir, $main::chroot_build_dir,
       $main::srcdep_lock_dir and $main::ilock_file from the current
       chroot $Sbuild::Chroot::current.  $main::srcdep_lock_dir replaces
       $conf::srcdep_lock_dir (which is still used to set when the chroot
       is set up).
     - Pass $main::distribution to open_log and open_pkg_log.
     - Remove $main::cwd, $main::nolog and $main::verbose, now provided by
       Sbuild::Conf.  They are imported from Sbuild::Conf for backward
       compatibility.
     - Remove unused $main::HOSTNAME.
     - Add build statistics to close_pkg_log.
     - Die if no maintainer_name, uploader_name or key_id is specified.
     - Set and unset $main::binNMU_name in the main loop, rather than when
       opening and closing the package log.  In consequence, open_pkg_log
       now needs the package name only, and close_pkg_log does not need
       the package name passing.
     - build:
       + Set $firstline to "" to quell a warning.
       + Use debian_files_list to check for missing or extra packages, and
         warn appropriately.
       + Delete erroneous _all.deb files (Closes: #357042).
     - Don't use File::Temp (only needed by modules).
     - Remove build directory check.
     - Use File::Basename::basename instead of Sbuild::basename.
     - Don't import internal Sbuild::Chroot functions.
     - Split verify_dsc_md5sums into two parts: dsc_md5sums and
       verify_md5sums.
     - debian_files_list: New function to parse debian/files.
   * Sbuild/Chroot.pm:
     - New perl module for chroot operations.  It contains the functions
       begin_session, end_session, log_command, get_command_internal,
       get_command, run_command, exec_command, get_apt_command_internal,
       get_apt_command and run_apt_command.
     - Don't export init and log_command.
     - Don't hardcode a list of chroots; use a glob to search for chroot-*
       instead.  This allows any distribution name to be specified with -d.
     - Add an "APT Options" attribute to the chroot hash, to replace
       $main::chroot_apt_options.
     - Use STDERR instead of PLOG (which may not be available).
     - Replace $main::debug with $Sbuild::Conf::debug.
     - Replace $main::username with $Sbuild::Conf::username.
     - begin_session takes the distribution as its first argument, rather
       than using $main::distribution.
     - Don't use $main::chroot_dir.  Add the build paths as 'Build Location',
       'Srcdep Lock Dir' and 'Install Lock' to the chroot metadata.
     - Use File::Temp.
     - Don't export "internal" functions.
     - _setup_options: Set "APT Options" for schroot chroots.
     - log_command: Don't substitute CHROOT_APT_OPTIONS when no APT options
       are in use.
   * Sbuild/Conf.pm:
     - New perl module for configuration variables.  It reads the system
       and user configuration.
     - Add $debug.
     - Add $username.
     - Add $cwd, $nolog and $verbose.  They exported and used by the other
       modules in place of the variables in the main package.
     - Add and export $avg_time_db, $avg_space_db, $maintainer_name,
       $uploader_name and $key_id.
     - Add build directory check (moved from sbuild).
   * Sbuild/Log.pm:
     - New perl module for logging.  It contains the functions open_log,
       close_log, open_pkg_log, close_pkg_log, add_time_entry,
       add_space_entry, send_mail and log_symlink.
     - $main::main_logfile and $main::pkg_logfile are package variables.
     - Removed use of $main::distribution.  The distribution name must be
       passed to open_log or open_pkg_log.
     - Don't use $main::HOSTNAME or $main::arch.  Get the values directly.
     - open_pkg_log: Save the package name for future use; the binNMU name
       (if any) is passed, so this no longer needs computing.
     - close_pkg_log:
       + Obtain $main::pkg_status, $main::pkg_start_time,
         $main::pkg_end_time and $main::this_space from the function
         arguments.
       + Don't pass the package name, which was saved in open_pkg_log.
     - add_space_entry: Use $space rather than $t, and don't use
       $main::this_space.
     - Use File::Temp.
     - Use File::Basename::basename instead of Sbuild::basename.
   * Sbuild/Utility.pm: New perl module for utility programs.  This is a
     perl replacement for bin/common_functions.
   * bin/checkchroot:
     - Quote all variables.
     - Sort ref-chroot file before diffing (Closes: 360058).
   * avg-pkg-build-time.1.in, sbuild.1.in, sbuild-setup.7.in,
     update-sourcedeps.1.in, Sbuild/Log.pm.in: Rename and embed version and
     date tags for substitution.
   * COPYING: New file (GPL licence text).
   * debian/control: Update uploaders.
   * debian/copyright:
     - Update with new subversion repository locations for upstream and
       Debian.
     - Add Roger Leigh as a copyright holder.
     - Add a reference to /usr/share/common-licenses/GPL.
   * debian/dirs: Add usr/share/perl5/Sbuild.
   * debian/rules:
     - Install Sbuild/Chroot.pm, Sbuild/Conf.pm, Sbuild/Log.pm and
       Sbuild/Utility.pm into /usr/share/perl5/Sbuild.
     - Generate all manual pages and Log.pm in the build rule, and remove
       them in the clean rule.
 .
 sbuild (0.43) unstable; urgency=low
 .
   * sbuild:
     - verify_dsc_md5sums(): New function to verify the MD5SUM of files in a
       .dsc file.
     - Add $conf::md5sum for security.
     - fetch_source_files():
       + Use verify_dsc_md5sums to check for incomplete downloads, and
         redownload sources if needed; also verify again after download
         (Closes: #270439).
       + Remove redundant braces and reindent.
     - build(), shutdown(): Quote kill command correctly (Closes: #356686).
     - When using schroot, look for a distribution named
       "$distribution-sbuild" in preference to "$distribution".
     - open_log(), open_pkg_log():
       + Use fork() rather than tee to multiplex log output.
       + Don't buffer log output (Closes: #358717).
     - close_log(), close_pkg_log(): Close all dup'd log streams, and don't
       kill the child log processes, which avoids dataloss in the pipeline.
     - log_symlink(): New function to create a symbolic link to the current
       package log.  This replaces the use of /bin/ln, which has races if
       concurrent builds use it.
     - open_log(), close_log():
       + Save a references to the initial STDOUT and STDERR, and restore
         them when the log is closed.
       + Create the build log using File::Temp, in the form
         build-distribution-date.XXXXXX.log.  This prevents races during
         logfile creation when running concurrent builds.  If the file
         is empty, it is unlinked on close, irrespective of whether
         verbose mode is used or not.
     - open_pkg_log(): Use the saved STDOUT for verbose logging.  This
       prevents the package log being also directed to the build log.
     - setup_options(): Remove unused call to tmpnam().
     - check_dependencies(): Print kernel information along with the
       toolchain package versions, in the same style as reportbug.
     - build(): Check for _all.udeb files which are built when they
       shouldn't (merge from upstream SVN cset 98).
     - Strip "./" from $pkg, so the name used for source dependencies is
       correct (Closes: #359747).
     - Add --force-orig-source option to force the inclusion of the
       .orig.tar.gz (Closes: #318030).
     - Add $conf::force_orig_source to allow --force-orig-source to be
       specified in a .sbuildrc.
   * sbuild.1:
     + Document schroot chroot naming.
     + Document --force-orig-source option.
     + Correctly escape hyphens in option and file names.
   * sbuild-setup.7: Use debootstrap rather than cdebootstrap.
   * bin/common_functions: Allow any chroot name to be specified
     (Closes: #356785).
   * bin/README.bins: Document changed chroot syntax.
   * bin/checkchroot: Set LC_COLLATE=POSIX to prevent collation issues
     (mismatches with the reference file; Closes: #294883).
   * bin/common_functions, bin/README.bins: Remove ~/build/ from the
     chroot path, to match sbuild behaviour of searching in the
     current directory (Closes: #355034).
   * chroot/README-buildd.chroot: Fix typo.
   * chroot/buildd.chroot: Use debootstrap rather than cdebootstrap
     (Closes: #358668).
   * debian/control: Recommend debootstrap rather than cdebootstrap.
   * example.sbuildrc: Add example $force_orig_source, with documentation.
 .
 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.
 .
 sbuild (0.41) unstable; urgency=low
 .
   * sbuild:
     - setup_options(): Set $main::chroot_apt_options in the same
       manner as upstream.
     - setup_options(): Correct usage of a scalar reference rather than
       the scalar $main::chroot_dir (Closes: #354520).
 .
 sbuild (0.40) unstable; urgency=low
 .
   * sbuild:
     - Fix typos in debug statement ($main::distribution rather than
       $main::distribtion, and $main::schroot_session rather than
       $main::scroot_session).  Thanks to Adeodato Simó for this fix
       (Closes: #354456).
     - get_schroot_info(): Parse schroot "--info" Path (chroot location)
       output.
     - get_schroot_info(): Parse schroot "--info" Type (chroot type)
       output, and if "plain", always set $main::dist_sessioncaps to 0
       ("plain" chroots may say they are session-managed, but do not
       support full session management, so they always need cleaning).
   * debian/control:
     - Recommend schroot (>= 0.2.5), for its "Path" information in --info
       output, used for determining the chroot location.
 .
 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.
 .
 sbuild (0.37) unstable; urgency=low
 .
   * Sync with upstream SVN:
     - avg-pkg-build-time, avg-pkg-build-time.1, sbuild, sbuild.1,
       update-sourcedeps, update-sourcedeps.1: Update copyright notices with
       current FSF postal address.
     - sbuild:
       + Split changes files sent in the log every 989 characters, to better
         conform to mail RFCs.
       + Always show versions of installed build dependencies.
       + Always purge packages when building in a chroot.
       + Output purged packages line by line, rather than all at once.
       + Use strftime() and getpwuid() instead of the external commands
         date and whoami.
       + Use /var/lib/sbuild/apt.conf if it exists, and create it if it does
         not.  This fixes the problem of the root filesystem
         /etc/apt/apt.conf and /etc/apt/apt.conf.d directories being used,
         while the copies in the chroot filesystem are ignored.
       + Allow arch: all packages to be built when $main::build_arch_all
         is true.
       + Hardware DEBIAN_FRONTEND to "noninteractive" when installing and
         purging packages.  "apt-get update" is also run when the package
         cache is out of date (closes: 331546).
       + Fix support for '~' in version numbers.
       + Add Sbuild.pm (upstream WannaBuild.pm), and replace version_cmp()
         with Sbuild::version_compare().
       + Add REDO support for binNMUs.
       + Add stats generation for download+install, build and remove times.
       + Disassociate from the controlling terminal and make stdin /dev/null
         for the dpkg-buildpackage process.
       + Don't create entries to the sbuild log when a package claims to
         build an _all.deb, but doesn't.  Instead, warn to the build log.
       + Delete binary-all packages that we didn't ask to be built.
       + By default, set APT::Get::AllowUnauthenticated to "true".
       + Add $conf::chroot_only for compatibility with upstream
         (closes: #302628).
       + Add $conf::dpkg_source.
       + Add $conf::build_env_cmnd.
       + Merge whitespace and indentation changes.
       + Fix typos.
       + shutdown(): Don't close the package log if there is no current job.
       + read_build_essential(): Read build-essential from $main::chroot_dir
         instead of the root filesystem.
       + Add @main::toolchain_pkgs and @toolchain_regex.
       + check_space(): Redirect stderr of du to /dev/null.
       + run_apt(): Complete support for "install-deps-env".
       + Add --use-snapshot for building with gcc-snapshot.
       + build(): Remove dpkg-buildpackage debugging statements.
       + merge_pkg_build_deps(): Correctly separate dependencies in $deps,
         and don't immediately return if there are missing packages.
       + Remove support for --store-built-packages.
       + get_dpkg_status(): Check $version is set and compute $result in the
         same manner as upstream.
       + run_apt(): Remove '*' from $pkgs and $rpkgs.
       + install_deps(): purge packages with "dpkg --set-selections".
         schroot support added in addition to upstream changes.
       + fetch_source_files(): Support versioned fetches with apt-get.
       + Add support for auto_giveback_socket: add an extra argument to
         --auto-give-back and add an ssh '-S' option to analyze_fail_stage().
       + Support new --make-binNMU options.
       + Add support for $conf::chroot_only, and default to only running in
         a chroot for security and safety.
       + cleanup_close: Set $main::current_job to "" and shutdown if
         $main::HOME/EXIT-DAEMON-PLEASE exists and we are running in
         batchmode.
       + Move "Package claims to have built" error message to the same place
         as upstream.
     - sbuild.conf:
       + Remove watches.
       + Update alternatives (closes: #280689).
       + Comment out example %individual_stalled_pkg_timeout.
       + Empty @ignore_watches_no_build_deps.
     - sbuild.conf.local:
       + Add $chroot_only.
     - avg-pkg-build-space.1: Update text.
     - example.sbuildrc:
       + Remove $hack_changes_for_frozen.
       + Update comments.
   * sbuild.conf.local:
     - Use FHS-compliant pathnames, as in sbuild.conf.
   * Add support for building from experimental.
   * sbuild:
     - Parse the .changes rather than debian/files, so that the
       .dsc/.diff.gz/.orig.tar.gz are also copied back to ~/build.
     - Print information and contents of arch-all packages (closes: #321640).
   * debian/control: The maintainer field contains the list address.
 .
 sbuild (0.36) unstable; urgency=low
 .
   Roger Leigh:
 .
   * debian/changelog: Convert to UTF-8.
   * sbuild:
     - Don't fail in the absence of central sourcedeps.  These are no longer
       required now source packages are required to have build dependencies,
       so this should not be fatal.
     - Added support for schroot:
       + Added $conf::chroot_mode.  This may be set to "split" (the
         historical default), or "schroot" (use schroot instead of sudo).
       + All operations using sudo now check the value of $chroot_mode, and
         use sudo or schroot accordingly.
       + When using schroot, %main::dist_order is filled using the schroot
         chroot priorities.
       + Added %main::dist_locations to store the location of the
         available chroots.
     - Print a readable error if a chroot does not exist.
   * debian/control: Update to Standards-Version 3.6.2.
   * debian/copyright: Use the new FSF address.
   * debian/conffiles: Remove.
   * debian/rules:
     - Use debhelper version 4 compatibility mode.
     - Move the find -maxdepth option to before non-option arguments, to
       fix find warnings.
     - Remove template comments.
     - avg-pkg-build-space symbolic link should be relative.
 .
 sbuild (0.35) unstable; urgency=low
 .
   Michael Banck:
 .
   * bin/abort-current-build: Remove the `-B' from the grep line as
     `sbuild -s' does not pass that option to dpkg-configure and abort-
     current-build fails in that case.
   * sbuild: Set the locale to `POSIX' to make debconf and debhelper calls in
     the chroot not spew out locale warnings all the time.
     (closes: #287672)
   * sbuild: Removed check for specific distributions. Instead, fail if
     build/chroot-$dist is not there.
   * sbuild: Only override Distribution in .changes if specified as option on
     the command-line.
     (closes: #300145)
   * sbuild: Specify full path for Dir::Etc::main and Dir::Etc::parts.
   * example.sbuildrc: Clarify that $maintainer_name is not mandatory and
     overrides Maintainer: field, whereas $uploader_name overrides
     the Changed-By: field in changes.
   * Applied patch by Santiago Vila:
     - Moves scripts from /usr/lib/sbuild to /usr/share/sbuild and modifies
       all callers accordingly.
     - Add -n option to tail to comply with POSIX.
     - Call /usr/sbin/sendmail instead of /usr/lib/sendmail.
     (closes: #292717)
   * sbuild: Tolerate '0' as version number, thanks Santiago Vila.
     (closes: #300205)
 .
 sbuild (0.34) unstable; urgency=high
 .
   Francesco Paolo Lovergine:
 .
   * Removed searchscripts recommendation in debian/control. That was requested
     by ppack now removed in archive.
     (closes: #272318)
   * checkchroot now uses grep-dctrl, thanks Clint Adams.
     Introduced dependency from grep-dctrl due to checkchroot.
     (closes: #260881,#265994)
   * Updated ref-* files for unstable and testing as well as the related README file.
   * This is the first revision CVS-enabled.
 .
 sbuild (0.33) unstable; urgency=low
 .
   * Man page sbuild.1 revised.
 .
 sbuild (0.32) unstable; urgency=low
 .
   * Added ~ as a legal character for debian version (post-sarge).
   * A few minor changes in README.chroot-buildd and man page.
   * Added -k and -e options as overriding for -m default in package signing.
     Man page changed to reflect new features.
     (closes: #260870)
   * Removed the CVS log variable in sbuild in order to import a new sane
     tree onto Alioth repo. Old logs are now stored in a new cvslogs.old file.
   * Minor revisions to ducumentation files.
   * Added Michael Banck as Uploader.
 .
 sbuild (0.31) unstable; urgency=low
 .
   * Patch for #239339 revised:
   	Escaping to manage correctly possible nested RE.
         (closes: #268712)
   	Doing removes only in chroot environment.
         (closes: #264834).
   * Changed a bit man page to clarify better synopsis.
     (closes: #265998)
 .
 sbuild (0.30) unstable; urgency=high
 .
   The "later better than never" release.
 .
   Thanks Michael Banck, Martin Michlmayr and other submitters for useful patches.
 .
   * example.sbuildrc now return 1 to satisfy perl require syntax.
     (closes: #228410)
   * Now copies the orig.tar.gz into $(CHROOT)/build/<user>/ for non-native packages.
     (closes: #239339)
   * Corrected abort-current-build to manage correctly ps output.
     (closes: #249995)
   * Now should manage packages which provides the same pkgs of other yet installed ones.
     (closes: #259315)
   * build.chroot rewritten to use dbootstrap straight on.
     (closes: #235726,#228412,#228412)
   * Using dh_installman instead of obsolete dh_installmanpages. Added
     debian/manpages for that.
   * Alternatives modified for current ones in testing/sid.
     (closes: #228792)
 .
 sbuild (0.29) unstable; urgency=low
 .
   * Now depends on exim4
     (closes: #228591)
   * Non "noninteractive" is in lowercase currently.
     (closes: #228800)
   * Added /usr/bin/avg-pkg-build-space as symlink to /usr/bin/avg-pkg-build-time
     (closes: #228445)
   * add_sbuild_user corrected to show the true path of example.sbuildrc
     (closes: #228411)
   * removing obsolete packages in sid, and updated required ones
     (closes: #220932)
   * README.buildd-chroot updated
     (closes: #220933)
 .
 sbuild (0.28) unstable; urgency=low
 .
   * Using latest instead of lastest.
     (closes: #202740)
   * Changing dependencies in buildd.chroot for current gcc.
     (closes: #180447)
   * Configuration examples now moved into /usr/share/doc/sbuild/examples
     Man changed as consequence.
     (closes: #208965)
   * Policy bumped to 3.6.1.
 .
 sbuild (0.27) unstable; urgency=low
 .
   * sg is not available in hurd, removed in postinst and postrm (patch by Michael Banck).
    (closes: #206270)
 .
 sbuild (0.26) unstable; urgency=low
 .
   * Ugh! Wrong control file. Now really updated as needed.
     (closes: #191203)
 .
 sbuild (0.25) unstable; urgency=low
 .
   * New maintainer.
     Uploaders: Roger Leigh <roger at whinlatter.uklinux.net>
     (closes: #191203)
 .
 sbuild (0.24) unstable; urgency=low
 .
   * remove -qq from apt-get call in the updatechroot script
   * fix upgradechroot output and add -u to -y
   * added oldstable to distribution options
   * fix for dependency calculation for --arch-all builds from
     Martin Kögler (Closes: #180859)
   * libpng-dev => libpng12-0-dev in sbuild.conf
   * add dpkg-dev to package dependencies - thanks Michael Banck
     (Closes: #182234)
   * chroot building fix and waldi's patch still to come
 .
 sbuild (0.23) unstable; urgency=low
 .
   * fixed chroot building - thanks Matt Kraai for the patch and
     the heads-up - Closes: #167822
   * use separate stable and testing/unstable required lists
   * updated the ref-* package lists
   * added -o/oldstable option to the helper scripts and fixed
     their usage strings
 .
 sbuild (0.22) unstable; urgency=low
 .
   * dpkg --root isn't fixed so use ppack for the checkchroot
     script, recommend searchscripts instead of suggest
   * add a note to README.Debian and the man page that sbuild must be
     run in ~/build (or wherever the chroot-* symlink is) for sbuild
     to find the chroot (thanks Otavio)
 .
 sbuild (0.21) unstable; urgency=low
 .
   * the new dpkg has gone into testing so add dselect to the
     buildd.chroot required list there as well
 .
 sbuild (0.20) unstable; urgency=low
 .
   * added a note that the original tarball has to be in the sbuild work
     directory $CHROOT/build/<user> for an "sbuild --source" build
   * removed the old potato chroot description; it can be gotten from the
     woody version of the package if needed
   * have sbuild make a ~/build/current symlink to the current build log
 .
 sbuild (0.19) unstable; urgency=low
 .
   * ref-stable = woody
   * re-added deborphan, searchscripts Suggests
   * add a note about setting up .sbuildrc
   * have sbuild, chrapt ignore base apt.conf{,.d}
   * handle dpkg/dselect unstable split in buildd.chroot; copy over
     /etc/hosts to chroot
 .
 sbuild (0.18) unstable; urgency=low
 .
   * split ref-testing from ref-unstable instead of symlink as they
     differ now
   * unstable dpkg --root is broken currently so use ppack instead of
     dpkg for checkchroot
   * don't 'touch' downloaded source; in buildd context, buildd-watcher
     should use ctime not mtime to look for old files
   * add a blurb about using chrapt to finish off the chroot build, in
     case debootstrap doesn't quite get it right
 .
 sbuild (0.17) unstable; urgency=low
 .
   * removed debconf-utils from unstable reference list
   * include Ryan's sbuild changes to allow the buildds to
     autobuild for security
   * include Ryan's debootstrap script for chroot building
   * the SBUILD_CHROOT_ROOT environment variable is gone.  The chroots
     are now found by the ~/build/chroot-$DIST symlinks or absolute path.
   * moved the helper scripts to /usr/lib/sbuild
   * wrong switch so the 0.5 changelog was skipped; again, Closes: #138915
   * create blank source-dependencies files on install
 .
 sbuild (0.6) unstable; urgency=low
 .
   * added dobuildlog, a shell script for processing build logs:
     file a bug, sign the changelog, reply to buildd if you're
     an admin
   * recommend fakeroot instead of depend as some arches don't have
     it.  (Closes: #145753)
 .
 sbuild (0.5) unstable; urgency=low
 .
   * fix copyright file lintian errors
   * added ~/.wgetrc warning to man update-sourcedeps man page,
     Closes: #138915
 .
 sbuild (0.4) unstable; urgency=low
 .
   * made /etc/sbuild.conf a conffile - thanks Gergely Nagy.
     (Closes: #136374)
 .
 sbuild (0.3) unstable; urgency=low
 .
   * added mailfrom config item so the msg body From: can be
     overridden
   * noninteractive -> Noninteractive for Ryan Murray
   * (re-)added conffile sbuild.conf.local for local changes that aren't
     suitable for ~/.sbuildrc
   * removed the bashrc & profile example files; they were part of my
     original local sbuild deb and are just clutter
 .
 sbuild (0.2.5) unstable; urgency=low
 .
   * add From/To headers to sbuild mail - thanks Gergely Nagy
    (Closes: #129850)
   * added deborphan to Suggests; -f is useful for finding the
     minimal chroot for an arch
 .
 sbuild (0.2.4) unstable; urgency=low
 .
   * Closes: #120309 (the ITP)
   * the sbuildrc:$source_dependencies config item got lost
   * removed Phil Blundell's apt "Replaces:" patch.  This is a
     workaround for an apt weakness that shouldn't be depended on.
   * added fakeroot dependency.  Thanks Michael Schmitz.
 .
 sbuild (0.2.3) unstable; urgency=low
 .
   * show all changes in initial *.changes
 .
 sbuild (0.2.2) unstable; urgency=low
 .
   * don't copy /etc/fstab to chroot
 .
 sbuild (0.2.1) unstable; urgency=low
 .
   * dpkg-buildpackage craps out on the unknown -d switch in the
     stable chroot.
 .
 sbuild (0.2) unstable; urgency=low
 .
   * Initial package
Checksums-Sha1: 
 c6426a3b69484fd9683d7067c8c8cb32d2c62d64 1382 sbuild_0.58.2-1ubuntu1.dsc
 d19e928b4907840248667a0d10a2f4c1bdcfc037 363262 sbuild_0.58.2.orig.tar.gz
 55c48ae106d23d5c8baa12c1d1b7b79f4b094f69 1687 sbuild_0.58.2-1ubuntu1.diff.gz
Checksums-Sha256: 
 046d37c5cbe6abab93bbe2c11a8481bdc3480fc6b5d1e38566f1e86b9f3e5ad6 1382 sbuild_0.58.2-1ubuntu1.dsc
 7c6a5279bf38ee10680561e5965d9a7881913259921ae9f07e83e095ce6a4b04 363262 sbuild_0.58.2.orig.tar.gz
 ead813f556efe97d54e08b5486498e21d7b768c54c2e00dccf846e2010da1cab 1687 sbuild_0.58.2-1ubuntu1.diff.gz
Files: 
 a3d7251f02de11aa6cbecaf3fe5064c8 1382 devel extra sbuild_0.58.2-1ubuntu1.dsc
 3df0765f8d3d409279d8e12ad92c9cb3 363262 devel extra sbuild_0.58.2.orig.tar.gz
 c351d829df3b8dfd6cf712274bbf3136 1687 devel extra sbuild_0.58.2-1ubuntu1.diff.gz
Original-Maintainer: Debian buildd-tools Developers <buildd-tools-devel at lists.alioth.debian.org>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Kees Cook <kees at outflux.net>

iEYEARECAAYFAkoGDVUACgkQH/9LqRcGPm02vQCglR+g5/Ip5O7Fho0I4a7aS09r
xHIAn3HqSeGTzj4BdgYOaKlkvjNA2hVr
=kJHq
-----END PGP SIGNATURE-----


More information about the Karmic-changes mailing list