[Reproducible-commits] [dpkg] 68/74: build: Stop allowing to set deprecated bzip2 compressor as dpkg-deb default

Mattia Rizzolo mattia at debian.org
Sun Jul 3 22:22:58 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to annotated tag 1.18.8
in repository dpkg.

commit da91f1dc459fefbbb021fd29421e074bce7c56a7
Author: Guillem Jover <guillem at debian.org>
Date:   Sat Jun 25 20:56:33 2016 +0200

    build: Stop allowing to set deprecated bzip2 compressor as dpkg-deb default
    
    We are trying to get rid of it, so do not make life more difficult by
    allowing to set it as the default dpkg-deb compressor.
---
 debian/changelog | 2 ++
 m4/dpkg-build.m4 | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 4232bb7..06d2ccc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -82,6 +82,8 @@ dpkg (1.18.8) UNRELEASED; urgency=medium
     - Preset Last-Update field in patch header template with current time in
       Dpkg::Source::Package::V2. Thanks to Daniel Shahaf <danielsh at apache.org>.
       Closes: #828146
+  * Build system:
+    - Stop allowing to set deprecated bzip2 compressor as dpkg-deb default.
   * Test suite:
     - Bump perlcritic ValuesAndExpressions::RequireNumberSeparators minimum
       to 99999.
diff --git a/m4/dpkg-build.m4 b/m4/dpkg-build.m4
index 4584392..828f182 100644
--- a/m4/dpkg-build.m4
+++ b/m4/dpkg-build.m4
@@ -69,7 +69,7 @@ AC_DEFUN([DPKG_DEB_COMPRESSOR], [
                     [change default dpkg-deb build compressor])],
     [with_dpkg_deb_compressor=$withval], [with_dpkg_deb_compressor=$1])
   AS_CASE([$with_dpkg_deb_compressor],
-    [gzip|xz|bzip2], [:],
+    [gzip|xz], [:],
     [AC_MSG_ERROR([unsupported default compressor $with_dpkg_deb_compressor])])
   AC_DEFINE_UNQUOTED([DPKG_DEB_DEFAULT_COMPRESSOR],
                      [COMPRESSOR_TYPE_]AS_TR_CPP(${with_dpkg_deb_compressor}),

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list