diff -Nru dpkg-1.21.22ubuntu1/autogen dpkg-1.22.0ubuntu1/autogen --- dpkg-1.21.22ubuntu1/autogen 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/autogen 2023-08-27 01:28:04.000000000 +0000 @@ -2,4 +2,8 @@ set -e +if [ -e .git ] && command -v git >/dev/null 2>&1; then + git config blame.ignoreRevsFile .git-blame-ignore-revs +fi + autoreconf --force --install diff -Nru dpkg-1.21.22ubuntu1/build-aux/cpan.am dpkg-1.22.0ubuntu1/build-aux/cpan.am --- dpkg-1.21.22ubuntu1/build-aux/cpan.am 2023-03-27 00:41:09.000000000 +0000 +++ dpkg-1.22.0ubuntu1/build-aux/cpan.am 2023-08-27 01:28:04.000000000 +0000 @@ -44,7 +44,3 @@ : # Cleanup the CPAN source tree. find $(CPAN_DIST) -type d ! -perm -200 -exec chmod u+w {} ';' rm -rf $(CPAN_DIST) - -# Ignore the CPAN archive for distcleancheck. -distcleancheck_listfiles = \ - find -type f \( -name $(CPAN_DIST_ARCHIVE) -o -print \) diff -Nru dpkg-1.21.22ubuntu1/build-aux/gen-changelog dpkg-1.22.0ubuntu1/build-aux/gen-changelog --- dpkg-1.21.22ubuntu1/build-aux/gen-changelog 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/build-aux/gen-changelog 2023-08-27 01:28:04.000000000 +0000 @@ -68,7 +68,7 @@ 'code-int' => { title => 'Code internals', type => 'internal', - match => qr/^(?:lib(?:compat|dpkg)?|src|scripts|utils): /, + match => qr/^(?:lib(?:compat|dpkg)?|src|scripts|perl|utils): /, keep => 1, }, 'build-sys' => { @@ -296,4 +296,3 @@ print @entries; } } -1; diff -Nru dpkg-1.21.22ubuntu1/build-aux/lcov-inject dpkg-1.22.0ubuntu1/build-aux/lcov-inject --- dpkg-1.21.22ubuntu1/build-aux/lcov-inject 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/build-aux/lcov-inject 2023-08-27 01:28:04.000000000 +0000 @@ -95,5 +95,3 @@ box_rating($stats->{percentage}), $stats->{percentage}, box_rating($stats->{percentage}), $stats->{covered}, $stats->{total}; } - -1; diff -Nru dpkg-1.21.22ubuntu1/build-aux/ltmain.sh dpkg-1.22.0ubuntu1/build-aux/ltmain.sh --- dpkg-1.21.22ubuntu1/build-aux/ltmain.sh 2023-05-11 02:04:01.000000000 +0000 +++ dpkg-1.22.0ubuntu1/build-aux/ltmain.sh 2023-08-30 03:39:24.000000000 +0000 @@ -31,7 +31,7 @@ PROGRAM=libtool PACKAGE=libtool -VERSION="2.4.7 Debian-2.4.7-5" +VERSION="2.4.7 Debian-2.4.7-7" package_revision=2.4.7 @@ -572,27 +572,15 @@ # --------------------- # Append VALUE onto the existing contents of VAR. - # We should try to minimise forks, especially on Windows where they are - # unreasonably slow, so skip the feature probes when bash or zsh are - # being used: - if test set = "${BASH_VERSION+set}${ZSH_VERSION+set}"; then - : ${_G_HAVE_ARITH_OP="yes"} - : ${_G_HAVE_XSI_OPS="yes"} - # The += operator was introduced in bash 3.1 - case $BASH_VERSION in - [12].* | 3.0 | 3.0*) ;; - *) - : ${_G_HAVE_PLUSEQ_OP="yes"} - ;; - esac - fi - # _G_HAVE_PLUSEQ_OP # Can be empty, in which case the shell is probed, "yes" if += is # useable or anything else if it does not work. - test -z "$_G_HAVE_PLUSEQ_OP" \ - && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \ - && _G_HAVE_PLUSEQ_OP=yes + if test -z "$_G_HAVE_PLUSEQ_OP" && \ + __PLUSEQ_TEST="a" && \ + __PLUSEQ_TEST+=" b" 2>/dev/null && \ + test "a b" = "$__PLUSEQ_TEST"; then + _G_HAVE_PLUSEQ_OP=yes + fi if test yes = "$_G_HAVE_PLUSEQ_OP" then @@ -2308,7 +2296,7 @@ compiler: $LTCC compiler flags: $LTCFLAGS linker: $LD (gnu? $with_gnu_ld) - version: $progname $scriptversion Debian-2.4.7-5 + version: $progname $scriptversion Debian-2.4.7-7 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` diff -Nru dpkg-1.21.22ubuntu1/build-aux/test-runner dpkg-1.22.0ubuntu1/build-aux/test-runner --- dpkg-1.21.22ubuntu1/build-aux/test-runner 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/build-aux/test-runner 2023-08-27 01:28:04.000000000 +0000 @@ -31,4 +31,3 @@ my $aggregate = $harness->runtests(@ARGV); die "FAIL: test suite has errors\n" if $aggregate->has_errors; -1; diff -Nru dpkg-1.21.22ubuntu1/ChangeLog dpkg-1.22.0ubuntu1/ChangeLog --- dpkg-1.21.22ubuntu1/ChangeLog 2023-05-11 02:04:01.000000000 +0000 +++ dpkg-1.22.0ubuntu1/ChangeLog 2023-08-30 03:39:24.000000000 +0000 @@ -1,259 +1,4173 @@ -commit 48482e4f16467e05a08aa3b3b8048e08f0024609 +commit 744487c98a622b9b38c22c6ca330315af4a30a11 Author: Guillem Jover -Date: Thu May 11 04:06:20 2023 +0200 +Date: Wed Aug 30 05:46:48 2023 +0200 - Release 1.21.22 + Release 1.22.0 - debian/changelog | 12 +++++++++--- - 1 file changed, 9 insertions(+), 3 deletions(-) + debian/changelog | 330 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- + 1 file changed, 327 insertions(+), 3 deletions(-) -commit b9f369c0d03a1f00c08feec17adaa90251e0e2f0 +commit 46217675785220002f4c3a543572a877e6654fa4 Author: Guillem Jover -Date: Thu May 11 04:04:01 2023 +0200 +Date: Wed Aug 30 05:39:23 2023 +0200 po: Regenerate .pot files and merge .po files with them - dselect/po/bs.po | 2 +- - dselect/po/ca.po | 2 +- - dselect/po/cs.po | 2 +- - dselect/po/da.po | 2 +- - dselect/po/de.po | 2 +- - dselect/po/dselect.pot | 4 +- - dselect/po/el.po | 2 +- - dselect/po/es.po | 2 +- - dselect/po/et.po | 2 +- - dselect/po/eu.po | 2 +- - dselect/po/fr.po | 2 +- - dselect/po/gl.po | 2 +- - dselect/po/hu.po | 2 +- - dselect/po/id.po | 2 +- - dselect/po/it.po | 2 +- - dselect/po/ja.po | 2 +- - dselect/po/ko.po | 2 +- - dselect/po/nb.po | 2 +- - dselect/po/nl.po | 2 +- - dselect/po/nn.po | 2 +- - dselect/po/pl.po | 2 +- - dselect/po/pt.po | 2 +- - dselect/po/pt_BR.po | 2 +- - dselect/po/ro.po | 2 +- - dselect/po/ru.po | 2 +- - dselect/po/sk.po | 2 +- - dselect/po/sv.po | 2 +- - dselect/po/tl.po | 2 +- - dselect/po/vi.po | 2 +- - dselect/po/zh_CN.po | 2 +- - dselect/po/zh_TW.po | 2 +- - man/po/dpkg-man.pot | 4 +- - po/ast.po | 2 +- - po/bs.po | 2 +- - po/ca.po | 2 +- - po/cs.po | 2 +- - po/da.po | 2 +- - po/de.po | 2 +- - po/dpkg.pot | 4 +- - po/dz.po | 2 +- - po/el.po | 2 +- - po/eo.po | 2 +- - po/es.po | 2 +- - po/et.po | 2 +- - po/eu.po | 2 +- - po/fr.po | 2 +- - po/gl.po | 2 +- - po/hu.po | 2 +- - po/id.po | 2 +- - po/it.po | 2 +- - po/ja.po | 2 +- - po/km.po | 2 +- - po/ko.po | 2 +- - po/ku.po | 2 +- - po/lt.po | 2 +- - po/mr.po | 2 +- - po/nb.po | 2 +- - po/ne.po | 2 +- - po/nl.po | 2 +- - po/nn.po | 2 +- - po/oc.po | 2 +- - po/pa.po | 2 +- - po/pl.po | 2 +- - po/pt.po | 2 +- - po/pt_BR.po | 2 +- - po/ro.po | 2 +- - po/ru.po | 2 +- - po/sk.po | 2 +- - po/sv.po | 2 +- - po/th.po | 2 +- - po/tl.po | 2 +- - po/tr.po | 2 +- - po/vi.po | 2 +- - po/zh_CN.po | 2 +- - po/zh_TW.po | 2 +- - scripts/po/ca.po | 2 +- - scripts/po/de.po | 2 +- - scripts/po/dpkg-dev.pot | 4 +- - scripts/po/es.po | 2 +- - scripts/po/fr.po | 2 +- - scripts/po/nl.po | 2 +- - scripts/po/pl.po | 2 +- - scripts/po/pt.po | 184 +++++++++++++++++++++++++----------------------- - scripts/po/ru.po | 2 +- - scripts/po/sv.po | 2 +- - 85 files changed, 185 insertions(+), 175 deletions(-) + dselect/po/bs.po | 12 +- + dselect/po/ca.po | 18 +- + dselect/po/cs.po | 18 +- + dselect/po/da.po | 18 +- + dselect/po/de.po | 2 +- + dselect/po/dselect.pot | 12 +- + dselect/po/el.po | 16 +- + dselect/po/es.po | 18 +- + dselect/po/et.po | 16 +- + dselect/po/eu.po | 18 +- + dselect/po/fr.po | 18 +- + dselect/po/gl.po | 16 +- + dselect/po/hu.po | 18 +- + dselect/po/id.po | 16 +- + dselect/po/it.po | 16 +- + dselect/po/ja.po | 18 +- + dselect/po/ko.po | 18 +- + dselect/po/nb.po | 18 +- + dselect/po/nl.po | 18 +- + dselect/po/nn.po | 16 +- + dselect/po/pl.po | 18 +- + dselect/po/pt.po | 18 +- + dselect/po/pt_BR.po | 16 +- + dselect/po/ro.po | 85 +- + dselect/po/ru.po | 18 +- + dselect/po/sk.po | 18 +- + dselect/po/sv.po | 18 +- + dselect/po/tl.po | 16 +- + dselect/po/vi.po | 18 +- + dselect/po/zh_CN.po | 18 +- + dselect/po/zh_TW.po | 18 +- + man/po/de.po | 541 +++++++-- + man/po/dpkg-man.pot | 1650 +++++++++++++++++++------- + man/po/es.po | 2113 ++++++++++++++++++++++++++-------- + man/po/fr.po | 2945 +++++++++++++++++++++++++++++++++++++---------- + man/po/hu.po | 1893 +++++++++++++++++++++--------- + man/po/it.po | 1935 ++++++++++++++++++++++++------- + man/po/ja.po | 2099 +++++++++++++++++++++++++-------- + man/po/nl.po | 2707 +++++++++++++++++++++++++++++++++++-------- + man/po/pl.po | 1982 ++++++++++++++++++++++++------- + man/po/pt.po | 2927 ++++++++++++++++++++++++++++++++++++---------- + man/po/pt_BR.po | 1920 +++++++++++++++++++++--------- + man/po/ru.po | 1818 ++++++++++++++++++++++------- + man/po/sv.po | 2721 +++++++++++++++++++++++++++++++++++-------- + man/po/zh_CN.po | 1792 +++++++++++++++++++++------- + po/ast.po | 55 +- + po/bs.po | 51 +- + po/ca.po | 65 +- + po/cs.po | 65 +- + po/da.po | 63 +- + po/de.po | 18 +- + po/dpkg.pot | 53 +- + po/dz.po | 55 +- + po/el.po | 55 +- + po/eo.po | 63 +- + po/es.po | 63 +- + po/et.po | 53 +- + po/eu.po | 63 +- + po/fr.po | 65 +- + po/gl.po | 55 +- + po/hu.po | 55 +- + po/id.po | 59 +- + po/it.po | 63 +- + po/ja.po | 63 +- + po/km.po | 55 +- + po/ko.po | 59 +- + po/ku.po | 51 +- + po/lt.po | 55 +- + po/mr.po | 54 +- + po/nb.po | 59 +- + po/ne.po | 55 +- + po/nl.po | 65 +- + po/nn.po | 55 +- + po/oc.po | 54 +- + po/pa.po | 52 +- + po/pl.po | 63 +- + po/pt.po | 65 +- + po/pt_BR.po | 55 +- + po/ro.po | 67 +- + po/ru.po | 65 +- + po/sk.po | 63 +- + po/sv.po | 65 +- + po/th.po | 65 +- + po/tl.po | 57 +- + po/tr.po | 63 +- + po/vi.po | 63 +- + po/zh_CN.po | 65 +- + po/zh_TW.po | 63 +- + scripts/po/ca.po | 239 +++- + scripts/po/de.po | 89 +- + scripts/po/dpkg-dev.pot | 119 +- + scripts/po/es.po | 139 ++- + scripts/po/fr.po | 240 +++- + scripts/po/nl.po | 240 +++- + scripts/po/pl.po | 139 ++- + scripts/po/pt.po | 422 +++++-- + scripts/po/ru.po | 138 ++- + scripts/po/sv.po | 239 +++- + 98 files changed, 26339 insertions(+), 7804 deletions(-) -commit 2269d0335d40356b78f364007650b2385faa9e5c +commit 22d28f45e69d42412b314d6d6ff56c7794c3bd66 +Author: Guillem Jover +Date: Wed Aug 30 01:54:22 2023 +0200 + + Mark dpkg-build-api level 1 as stable + + While there are not many items in affected by the new API level, this + is a good start as any. + + debian/control | 1 + + man/dpkg-build-api.pod | 13 ++++++++++--- + scripts/Dpkg/BuildAPI.pm | 2 +- + scripts/t/Dpkg_BuildAPI.t | 2 +- + scripts/t/Dpkg_BuildAPI/ctrl-api-explicit | 2 +- + 5 files changed, 14 insertions(+), 6 deletions(-) + +commit b6b89baa413fe9f37c5df5fbe1bba4f5f7f758b1 +Author: Guillem Jover +Date: Tue Sep 13 23:41:55 2022 +0200 + + scripts/mk: On dpkg-build-api >= 1 include buildtools.mk in default.mk + + man/dpkg-build-api.pod | 4 ++++ + scripts/mk/default.mk | 3 +++ + 2 files changed, 7 insertions(+) + +commit 1c6f75795f1f6cda3f6069d3426efd99f7029a77 +Author: Guillem Jover +Date: Tue Sep 13 23:41:55 2022 +0200 + + scripts/mk: On dpkg-build-api >= 1 default to dpkg_vendor_derives_from_v1 + + man/dpkg-build-api.pod | 7 +++++++ + scripts/mk/Makefile.am | 5 +++++ + scripts/mk/vendor.mk | 12 ++++++++++-- + 3 files changed, 22 insertions(+), 2 deletions(-) + +commit f9bff737ae4cdabd9c9cf4f597fbf41c67142083 +Author: Guillem Jover +Date: Tue Sep 13 23:41:55 2022 +0200 + + scripts/mk: Add new buildapi.mk support + + This makes it possible to switch default behavior for build API + levels > 0. + + man/dpkg-buildapi.pod | 12 ++++++++++++ + scripts/Makefile.am | 2 ++ + scripts/mk/Makefile.am | 1 + + scripts/mk/buildapi.mk | 9 +++++++++ + scripts/mk/default.mk | 1 + + scripts/t/mk.t | 4 +++- + scripts/t/mk/buildapi.mk | 4 ++++ + scripts/t/mk/debian/control | 6 ++++++ + 8 files changed, 38 insertions(+), 1 deletion(-) + +commit 2000c74598e202d7302984e23b168d00711cf145 +Author: Guillem Jover +Date: Sat Dec 25 01:30:45 2021 +0100 + + dpkg-buildpackage: On dpkg-build-api >= 1 avoid build target heuristics + + man/dpkg-build-api.pod | 6 ++++++ + scripts/dpkg-buildpackage.pl | 3 +++ + 2 files changed, 9 insertions(+) + +commit ee09d6e3e2e7aac993369dcb7499fab7bcb6e573 +Author: Guillem Jover +Date: Sat Dec 25 01:27:03 2021 +0100 + + dpkg-buildpackage: On dpkg-build-api >= 1 default R³ to no + + man/dpkg-build-api.pod | 6 ++++++ + scripts/dpkg-buildpackage.pl | 13 +++++++++++-- + 2 files changed, 17 insertions(+), 2 deletions(-) + +commit 292655415c34db23e6d5014b6f71d0060f5811e4 +Author: Guillem Jover +Date: Sat Dec 25 01:23:04 2021 +0100 + + dpkg-shlibdeps: On dpkg-build-api >= 1 require -l instead of LD_LIBRARY_PATH + + man/dpkg-build-api.pod | 5 +++++ + scripts/Dpkg/Shlibs.pm | 13 ++++++++++--- + scripts/dpkg-gensymbols.pl | 5 ++++- + scripts/dpkg-shlibdeps.pl | 6 +++++- + 4 files changed, 24 insertions(+), 5 deletions(-) + +commit 4e9eb72b8a16b8f89d4e9e3b989221d6055eeab9 +Author: Guillem Jover +Date: Sat Dec 25 01:23:04 2021 +0100 + + man: Open up dpkg-build-api level 1 + + man/dpkg-build-api.pod | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit a66a453492b402d95d1415d5236352987defb8db +Author: Guillem Jover +Date: Fri Dec 2 19:30:13 2022 +0100 + + dpkg-buildapi: New tool to fetch the dpkg-build-api level + + debian/README.bug-usertags | 2 ++ + debian/dpkg-dev.install | 1 + + debian/dpkg-dev.manpages | 1 + + man/Makefile.am | 2 ++ + man/dpkg-buildapi.pod | 66 +++++++++++++++++++++++++++++++++++++++++ + man/po/po4a.cfg | 1 + + scripts/.gitignore | 1 + + scripts/Makefile.am | 2 ++ + scripts/dpkg-buildapi.pl | 73 ++++++++++++++++++++++++++++++++++++++++++++++ + scripts/po/POTFILES.in | 1 + + t/pod-spell.t | 1 + + 11 files changed, 151 insertions(+) + +commit 39decc4c215a2839f5d7964cfb0624d71aab878b +Author: Guillem Jover +Date: Mon Feb 17 19:46:41 2020 +0100 + + Dpkg::BuildAPI: New module + + This module implements the new dpkg-build-api interface that will be + used to control gradual default changes avoiding disruption, where + the specific packages can opt-in at their convenience. + + debian/control | 2 + + debian/dpkg-dev.manpages | 1 + + man/Makefile.am | 2 + + man/dpkg-build-api.pod | 58 ++++++++++++ + man/po/po4a.cfg | 1 + + scripts/Dpkg/BuildAPI.pm | 142 ++++++++++++++++++++++++++++++ + scripts/Makefile.am | 9 ++ + scripts/po/POTFILES.in | 1 + + scripts/t/Dpkg_BuildAPI.t | 93 +++++++++++++++++++ + scripts/t/Dpkg_BuildAPI/ctrl-api-default | 4 + + scripts/t/Dpkg_BuildAPI/ctrl-api-desync | 10 +++ + scripts/t/Dpkg_BuildAPI/ctrl-api-explicit | 6 ++ + scripts/t/Dpkg_BuildAPI/ctrl-api-gt-max | 6 ++ + scripts/t/Dpkg_BuildAPI/ctrl-api-no-int | 6 ++ + scripts/t/Dpkg_BuildAPI/ctrl-api-no-ver | 6 ++ + scripts/t/Dpkg_BuildAPI/ctrl-api-rel-noeq | 6 ++ + 16 files changed, 353 insertions(+) + +commit ae9abc1c6139f282a21714fe82e0db8659e3ec29 +Author: Guillem Jover +Date: Wed Aug 30 02:34:38 2023 +0200 + + Dpkg::Source::Quilt: Switch get_patch_file() to be based off get_patch_dir() + + Do not use get_patch_file() with no argument as a means to get the + patch directory, instead reverse the implementation around and use + get_patch_dir() from get_patch_file(), which makes more sense, and + fixes a perl warning introduced when the code changed to properly + unpack arguments. + + Fixes: commit 309123b9e76a44cd8e394d87295e2d244d7e354c + + scripts/Dpkg/Source/Quilt.pm | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +commit 11efff1bf404705573d0f2e1308c86f3d1e109fd +Author: Guillem Jover +Date: Mon Aug 28 12:38:19 2023 +0200 + + Dpkg::Vendor::Debian: Add support for new stackclash hardening feature + + Closes: #918914 + + man/dpkg-buildflags.pod | 8 ++++++++ + scripts/Dpkg/Vendor/Debian.pm | 11 +++++++++++ + scripts/t/Dpkg_BuildFlags.t | 1 + + 3 files changed, 20 insertions(+) + +commit 8f5aca71c1435c9913d5562b8cae68b751dff663 +Author: Guillem Jover +Date: Sat Jun 4 06:53:39 2022 +0200 + + Dpkg::Vendor::Debian: Add support for new hardening branch feature + + Closes: #1021292 + + man/dpkg-buildflags.pod | 9 +++++++++ + scripts/Dpkg/Vendor/Debian.pm | 19 +++++++++++++++++++ + scripts/t/Dpkg_BuildFlags.t | 1 + + 3 files changed, 29 insertions(+) + +commit acdfa3db3c63a658361c1717f58f4b32975f52cd +Author: Guillem Jover +Date: Sun Jul 9 19:01:04 2023 +0200 + + Dpkg::Vendor::Debian: Handle abi feature flags as builtin + + These feature flags are builtin depending on the libc ABI of the port, + and it's more correct to handle them like we handle PIE for example. + + scripts/Dpkg/Vendor/Debian.pm | 102 ++++++++++++++++++++++-------------------- + 1 file changed, 53 insertions(+), 49 deletions(-) + +commit 5f529cfeb9477baf44b74443a04502da1ec893e8 +Author: Guillem Jover +Date: Sun Jul 9 17:58:45 2023 +0200 + + Dpkg::Vendor::Debian: Move builtin default setup before init_build_features() + + These are the defaults for the system, and we should provide those to + the init_build_features(), which can then override them as they wish. + + scripts/Dpkg/Vendor/Debian.pm | 100 +++++++++++++++++++++--------------------- + 1 file changed, 50 insertions(+), 50 deletions(-) + +commit f556025da2f01dbea051a61de55edb0ace9f48ed +Author: Guillem Jover +Date: Mon Jun 5 01:51:48 2023 +0200 + + Dpkg::Vendor::Debian: Move lfs from future to abi area and create an alias + + For the same reason we have moved the time64 feature from the future + to the abi feature area to make the name more clear and pass the test + of time once these start to be enabled by default on some architectures. + Do the same for the old lfs feature, but add a backwards compatibility + alias so that existing users of this interface do not break. + + Suggested-by: Steve Langasek + + man/dpkg-buildflags.pod | 34 +++++++++++++++++++++++----------- + scripts/Dpkg/Vendor/Debian.pm | 23 ++++++++++++++--------- + scripts/t/Dpkg_BuildFlags.t | 39 ++++++++++++++++++++++++++++++++++++++- + 3 files changed, 75 insertions(+), 21 deletions(-) + +commit 520f58c74cd21160bb359e7b7ba61a78f2ad8e82 +Author: Guillem Jover +Date: Wed May 24 22:09:49 2023 +0200 + + Dpkg::Vendor::Debian: Move time64 buildflags feature from future to abi + + Add this new feature area that describes the feature in a more correct + and clear way, as flags that affect the userland ABI. And removes the + confusion that might happen once these get enabled by default, as is + being discussed in Debian. + + Suggested-by: Steve Langasek + + man/dpkg-buildflags.pod | 9 ++++++++- + scripts/Dpkg/Vendor/Debian.pm | 14 ++++++++++---- + scripts/t/Dpkg_BuildFlags.t | 2 ++ + 3 files changed, 20 insertions(+), 5 deletions(-) + +commit 6eb1ab9cf079950150bab55a2119b8d5586d7931 +Author: Guillem Jover +Date: Mon Aug 28 04:45:14 2023 +0200 + + man: Fix typo in future lfs feature introduction version + + The version was mistyped. + + man/dpkg-buildflags.pod | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1752a4d4dfe5d3179b8821db532aec7092c03466 +Author: Guillem Jover +Date: Mon Aug 28 23:39:03 2023 +0200 + + man: Document version when new programs where introduced + + We should document not only when specific options or behavior was + introduced but also when these new tools got introduced. + + man/dpkg-buildflags.pod | 2 ++ + man/dpkg-fsys-usrunmess.pod | 2 ++ + man/dpkg-genbuildinfo.pod | 2 +- + man/dpkg-gensymbols.pod | 2 ++ + man/dpkg-maintscript-helper.pod | 2 ++ + man/dpkg-mergechangelogs.pod | 2 ++ + man/dpkg-realpath.pod | 2 ++ + man/dpkg-trigger.pod | 2 ++ + man/dpkg-vendor.pod | 2 ++ + 9 files changed, 17 insertions(+), 1 deletion(-) + +commit 0fba5af0f97f8e28c4712a0b886069ab0e2c3e13 +Author: Guillem Jover +Date: Thu Aug 24 12:11:14 2023 +0200 + + libdpkg: Generalize command_in_path() from find_command() + + This is useful for external users too. + + lib/dpkg/Makefile.am | 6 ++ + lib/dpkg/command.c | 45 +++++++++++++ + lib/dpkg/command.h | 2 + + lib/dpkg/libdpkg.map | 1 + + lib/dpkg/t/data/command/path-a/cmd | 1 + + lib/dpkg/t/data/command/path-a/cmd-a | 1 + + lib/dpkg/t/data/command/path-b/cmd | 1 + + lib/dpkg/t/data/command/path-b/cmd-b | 1 + + lib/dpkg/t/data/command/path-noexec/cmd | 1 + + lib/dpkg/t/data/command/path-noexec/cmd-noexec | 1 + + lib/dpkg/t/t-command.c | 88 +++++++++++++++++++++++++- + src/main/help.c | 39 +----------- + src/main/main.h | 1 - + src/main/unpack.c | 3 +- + 14 files changed, 151 insertions(+), 40 deletions(-) + +commit 92945bf3d772d7cfe28052204dfe68f60a39e9c8 +Author: Guillem Jover +Date: Sat Aug 26 14:01:37 2023 +0200 + + test: Move test_data_file() to test.h + + This function is generally useful for tests so that they can use data + files. + + lib/dpkg/t/t-meminfo.c | 13 ------------- + lib/dpkg/test.h | 13 +++++++++++++ + 2 files changed, 13 insertions(+), 13 deletions(-) + +commit b4e679bf0261cc50fe2d9e9d95c967017b4f4fbc +Author: Guillem Jover +Date: Wed Jul 12 05:14:54 2023 +0200 + + Use varbuf_set_*() instead of ad-hoc initialization + + Instead of using an explicit varbuf_reset() followed by varbuf_add_*() + and possible varbuf_end_str(), just use a single varbuf_set_*() to + initialize the varbuf. + + Changelog: internal + + lib/dpkg/db-ctrl-upgrade.c | 7 ++----- + lib/dpkg/fields.c | 16 ++++------------ + lib/dpkg/log.c | 3 +-- + lib/dpkg/parse.c | 4 +--- + lib/dpkg/t/t-varbuf.c | 5 ++--- + src/main/archives.c | 8 +++----- + src/main/configure.c | 10 +++------- + src/main/help.c | 3 +-- + src/main/remove.c | 6 ++---- + src/main/unpack.c | 8 ++------ + src/main/verify.c | 3 +-- + src/query/main.c | 4 +--- + 12 files changed, 23 insertions(+), 54 deletions(-) + +commit 5223f81f39215deeef266a6b4ebee85e9755767f +Author: Guillem Jover +Date: Thu Jun 22 02:30:15 2023 +0200 + + Use varbuf_add_varbuf() instead of varbuf_add_buf()/_str() + + Changelog: internal + + src/main/configure.c | 2 +- + src/main/packages.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit 2bc3077fbe930b06f0c3d4a9a5a5069a57392b4f +Author: Guillem Jover +Date: Wed Jul 12 05:33:41 2023 +0200 + + dpkg-split: Use varbuf instead of ad-hoc allocation in read_info + + Changelog: internal + + src/split/info.c | 21 ++++++++++----------- + 1 file changed, 10 insertions(+), 11 deletions(-) + +commit deca62bf8f20c62e9acfe02eacf295d08a4af184 +Author: Guillem Jover +Date: Wed Jul 12 04:25:48 2023 +0200 + + libdpkg: Switch ustar filename construction to use varbuf_add_strn() + + Use varbuf instead of formatting via str_fmt(), which should be more + performant. + + lib/dpkg/tarfn.c | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +commit 4d38360e014ea4dfe02c35d97deb47ac2f7fd35d +Author: Guillem Jover +Date: Thu Jun 22 02:42:10 2023 +0200 + + libdpkg: Add varbuf setter functions + + Add _buf(), _varbuf(), _str() and _strn() setter functions to help + initialize varbufs. + + lib/dpkg/libdpkg.map | 2 ++ + lib/dpkg/t/t-varbuf.c | 35 ++++++++++++++++++++++++++++++++++- + lib/dpkg/varbuf.c | 14 ++++++++++++++ + lib/dpkg/varbuf.h | 5 +++++ + 4 files changed, 55 insertions(+), 1 deletion(-) + +commit 8f17d79ce7da7eb44a68db65ecd6c9d118c174e0 +Author: Guillem Jover +Date: Wed Sep 30 13:55:24 2009 +0200 + + libdpkg: Add varbuf_add_strn() + + lib/dpkg/t/t-varbuf.c | 29 ++++++++++++++++++++++++++++- + lib/dpkg/varbuf.h | 1 + + 2 files changed, 29 insertions(+), 1 deletion(-) + +commit 86f0bdf1ee4661d1b66638c18d8cffad8173460a +Author: Guillem Jover +Date: Thu Jun 22 02:27:14 2023 +0200 + + libdpkg: Add varbuf_add_varbuf() function + + lib/dpkg/libdpkg.map | 1 + + lib/dpkg/t/t-varbuf.c | 28 +++++++++++++++++++++++++++- + lib/dpkg/varbuf.c | 8 ++++++++ + lib/dpkg/varbuf.h | 1 + + 4 files changed, 37 insertions(+), 1 deletion(-) + +commit 275726335d788f51e47a8c4911e04d038dfbd3f3 +Author: Guillem Jover +Date: Thu Jul 6 23:39:52 2023 +0200 + + libdpkg: Reorder varbuf functions + + Place the implementations in the order matching their usual life cycle. + + lib/dpkg/varbuf.c | 194 +++++++++++++++++++++++++++--------------------------- + 1 file changed, 97 insertions(+), 97 deletions(-) + +commit bab6b5f25d11fd0b4b47603fb72f7c5d3bc0d927 +Author: Guillem Jover +Date: Thu Jul 6 23:39:08 2023 +0200 + + libdpkg: Fix coding style for varbuf module + + lib/dpkg/varbuf.c | 191 ++++++++++++++++++++++++++++-------------------------- + 1 file changed, 99 insertions(+), 92 deletions(-) + +commit 02d413716c9555b6715eca8cc168b2170ba859d4 +Author: Guillem Jover +Date: Mon Jul 24 12:58:48 2023 +0200 + + test: Use «ar qc» to create archives with duplicate members + + On some systems «ar ra» does not insert a member that already exists, + which causes the test to fail. Create the archive from scratch with ‘q’ + which does not check for duplicate members. + + src/at/deb-format.at | 15 +++++---------- + src/at/deb-split.at | 5 ++--- + 2 files changed, 7 insertions(+), 13 deletions(-) + +commit 64a648e7db916e3592edb7ec6cee7b7a7bfda14f +Author: Guillem Jover +Date: Wed Aug 30 00:43:08 2023 +0200 + + debian: Do not start the dpkg-db-backup timer during installation + + The code injected by debhelper does not ignore timers during + installation, so we tell it to not start it, as that is the wrong + time to perform such action, and systemd does not act on it anyway. + + This removes a warning during installation. + + debian/rules | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit e1ccdfccff3acf00e771bfd9f5923ce5f36ab541 +Author: Teemu Likonen +Date: Sat Jul 22 19:32:24 2023 +0200 + + debian: Set Persistent=true for dpkg-db-backup systemd timer + + The "OnCalendar=daily" rule means every night exactly at 00:00:00. The + timer does not trigger if the computer is not turned on exactly at that + time. + + The timer is meant to trigger daily even if the computer is not running + at midnight. By setting Persistent=true we make the timer trigger + immediately if the specified time has passed. + + Closes: #1041730 + Signed-off-by: Guillem Jover + + debian/dpkg.dpkg-db-backup.timer | 1 + + 1 file changed, 1 insertion(+) + +commit 773251dc1898f6877711ca97e68aaa52af3b4812 +Author: Remus-Gabriel Chelu +Date: Sat Jul 22 14:12:49 2023 +0200 + + po: Update Romanian dselect translation + + Closes: #1040869 + Signed-off-by: Guillem Jover + + dselect/po/ro.po | 666 ++++++++++++++++++++++--------------------------------- + 1 file changed, 260 insertions(+), 406 deletions(-) + +commit eb0e14f115ff6f44eb257049a45b7fc6ecf97863 +Author: Helge Kreutzmann +Date: Thu Jul 20 19:10:12 2023 +0200 + + po: Update German man pages translation + + man/po/de.po | 171 +++++++++++++++++++++++++++++++++++++++++++++++++---------- + 1 file changed, 142 insertions(+), 29 deletions(-) + +commit 6a03732ab0e917272a9fe1eebbe3536bba2c1630 +Author: Guillem Jover +Date: Tue Jul 4 19:56:10 2023 +0200 + + dpkg-shlibdeps: Switch from exec() to Dpkg::IPC::spawn() + + Depending on the arguments, the exec() builtin might fallback to invoke + the program through the system() builtin, which is not what we want. + Use the spawn() function which handles this safely, and is the common + pattern used in the entire codebase. + + Prompted-by: Paul Wise + +Notes: + Changelog: internal + + scripts/dpkg-shlibdeps.pl | 24 +++++++++++++----------- + 1 file changed, 13 insertions(+), 11 deletions(-) + +commit f4ee2f44a6d7c6768d9f5a0efa1b85cd98f257fc +Author: Paul Wise +Date: Tue Jul 4 19:57:57 2023 +0200 + + build: Avoid Perl's exec() falling back to system() + + The system/exec functions sometimes execute the command as shell, + passing an indirect object as the first argument avoids that. + + The shell usage happens always on Windows and on other platforms only + when there is one argument and it contains shell metacharacters. + + Fixes: commit 07c81f94aa64e9b6f148c5b5cb24461708feb2b5 + Ref: https://perldoc.perl.org/functions/exec.html + Signed-off-by: Guillem Jover + + scripts/t/Dpkg_Shlibs/spacesyms-o-map.pl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 21d65ea2b744bf4946b1d6ee8546143abee266b0 +Author: Guillem Jover +Date: Thu Jun 15 23:49:51 2023 +0200 + + man: Clarify dpkg-architecture -c option + + Make it clear that the -c option might involve execution through the + system bourne shell. + + Prompted-by: Paul Wise + + man/dpkg-architecture.pod | 3 +++ + 1 file changed, 3 insertions(+) + +commit c1ce848acd55b8f77b7c08e9131d7cad22dacfb0 +Author: Guillem Jover +Date: Mon Jul 3 23:18:13 2023 +0200 + + man: Clarify the md5sums checks as integrity and not security checks + + This is hinted in the text and in deb-md5sums(5) man page, but it's + worth making this point very clear least someone might incorrectly + assume they can verify their system is fine from attacks or malicious + modifications. + + Prompted-by: Sebastian Andrzej Siewior + + man/dpkg.pod | 4 ++++ + 1 file changed, 4 insertions(+) + +commit d0b6b317c0a437ab6b02cc7b576bd7a502c505be +Author: Guillem Jover +Date: Fri Jun 23 01:53:02 2023 +0200 + + man: Document known DEB_BUILD_OPTIONS options + + Itemize the options for easier reading. Include all the options + supported by dpkg-buildpackage or the dpkg tooling, and mention + which of those debian/rules might act on too. + + Closes: #1038888 + + man/dpkg-buildpackage.pod | 48 +++++++++++++++++++++++++++++++++++++++++------ + 1 file changed, 42 insertions(+), 6 deletions(-) + +commit 98c8248db369ddfb445d18d64a3f64ec011bb0f7 +Author: Guillem Jover +Date: Tue Jul 4 19:38:51 2023 +0200 + + Dpkg::Vendor::Debian: Sync builtin pie arches with gcc-13 + + The current list of architectures where gcc defaults to enabling PIE can + be found in the gcc/debian/rules.defs in the pie_archs. Sync that list + with the one in here. + + scripts/Dpkg/Vendor/Debian.pm | 11 ++++++++++- + 1 file changed, 10 insertions(+), 1 deletion(-) + +commit 606183543b4cee74657a136ca73ec70f16388b5c +Author: Guillem Jover +Date: Sat Jun 17 16:39:56 2023 +0200 + + Dpkg::Source::Package::V2: Mark single-debian-patch as not needing forwarding + + These patches are autogenerated and in general should not be submitted + upstream as is, as they are going to be a conglomerate of unrelated + changes that need to be submitted upstream in atomic pieces. So applying + the patch tagging guidelines in this situation is not very helpful. + + Closes: #1038121 + + scripts/Dpkg/Source/Package/V2.pm | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +commit dcfbe8b626cd6c3551afe7cd46500bdd38d4c200 +Author: Guillem Jover +Date: Sun May 28 12:12:27 2023 +0200 + + dpkg-buildpackage: Fix R³ namespace check to only refuse unknown dpkg keywords + + The check was intended to verify the «dpkg/» namespace, anything else is + supposed to be owned by their respective implementations. But the check + was too broad and did not allow anything else besides the «dpkg/» + namespace and the top-level known keywords. + + Closes: #1036865 + + scripts/dpkg-buildpackage.pl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 53e67c27d5d926c91419e6b607f0d047b16243ae +Author: Guillem Jover +Date: Mon May 22 23:49:59 2023 +0200 + + dpkg: Handle non-existent .dpkg-tmp files on read-only filesystems + + On read-only filesystems trying to rename a directory or a file will + fail with EROFS, even if non-existent. To avoid impacting the common + case, check whether errno is EROFS, then check whether the file exists + and if so restore errno to EROFS to fail on that, otherwise let the + errno from the failure trickle into the next check which will ignore it + if it implies that the file does not exist. + + Closes: #1030149 + + src/main/archives.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit 1458c8a4432c95056d6f90269b3d1aea43d0c163 +Author: Guillem Jover +Date: Wed Jul 12 19:17:59 2023 +0200 + + Dpkg::OpenPGP::Backend::GnuPG: Fix typo in copyright year + + Changelog: silent + + scripts/Dpkg/OpenPGP/Backend/GnuPG.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 4541abe5a7b0c8bb355070ea8c029d86a788af3a +Author: Guillem Jover +Date: Thu Jun 29 00:02:30 2023 +0200 + + test: Fix t-conffile-divert-conffile case + + We were renaming the conffile during the diversion addition, so when + configuring the package dpkg considered that a local admin change, + and prompted as expected. Switch to make a copy of the diverted file + and copy it back so that it does not disappear, and we will switch it + to the diversion copy method once that's available. + + tests/Makefile | 2 +- + tests/t-conffile-divert-conffile/pkg-conff-divert/DEBIAN/preinst | 5 +++-- + 2 files changed, 4 insertions(+), 3 deletions(-) + +commit 7afff8f761e791914cd8b82f7d03c1137732d95b +Author: Guillem Jover +Date: Wed Jun 28 23:49:52 2023 +0200 + + test: Add new test case checking Conflicts with Replaces + + tests/Makefile | 1 + + tests/t-conflicts-replaces/Makefile | 33 +++++++++++++++++++++++++ + tests/t-conflicts-replaces/pkg-a/DEBIAN/control | 8 ++++++ + tests/t-conflicts-replaces/pkg-a/test-conflict | 0 + tests/t-conflicts-replaces/pkg-b/DEBIAN/control | 10 ++++++++ + tests/t-conflicts-replaces/pkg-b/test-conflict | 0 + 6 files changed, 52 insertions(+) + +commit 05e9d04f3f6f5cdd78f31d122e99915c1877dd79 +Author: Guillem Jover +Date: Mon May 29 23:56:05 2023 +0200 + + test: Rename merge_changlogs test to match the command being tested + + This also matches the naming convention for the other tests checking + specific tools. + + scripts/Makefile.am | 34 +++++++++++----------- + .../{merge_changelogs.t => dpkg_mergechangelogs.t} | 2 +- + .../ch-a | 0 + .../ch-b | 0 + .../ch-badver-a | 0 + .../ch-badver-b | 0 + .../ch-badver-merged | 0 + .../ch-badver-old | 0 + .../ch-merged | 0 + .../ch-merged-basic | 0 + .../ch-merged-pr | 0 + .../ch-merged-pr-basic | 0 + .../ch-old | 0 + .../ch-unreleased-a | 0 + .../ch-unreleased-b | 0 + .../ch-unreleased-merged | 0 + .../ch-unreleased-merged-basic | 0 + .../ch-unreleased-old | 0 + 18 files changed, 18 insertions(+), 18 deletions(-) + +commit 2ba5b7319044e43dd40d4969dece4a0c6cf9f9b1 +Author: Guillem Jover +Date: Thu Jun 15 23:48:07 2023 +0200 + + Switch from pkg-config to pkgconf + + The pkg-config project upstream has been stagnant for a while and has + issues with its implementation. Switch to the more lively, even though + in maintenance mode, pkgconf project. + + README | 2 +- + debian/control | 2 +- + debian/tests/control | 4 ++-- + man/deb-src-control.pod | 2 +- + scripts/mk/buildtools.mk | 2 +- + scripts/t/mk.t | 2 +- + 6 files changed, 7 insertions(+), 7 deletions(-) + +commit b9c2a9ee973cdff4b7ba867bcf658dff8d7f351f +Author: Guillem Jover +Date: Thu Jun 15 00:05:14 2023 +0200 + + debian: Wrap fields in debian/tests/control file + + debian/tests/control | 51 +++++++++++++++++++++++++++++++++++++++------------ + 1 file changed, 39 insertions(+), 12 deletions(-) + +commit fe578f8e4e324631cd1f09e36b997766617601cf +Author: Helge Kreutzmann +Date: Sun Jul 16 19:34:49 2023 +0200 + + po: Update German scripts translation + + scripts/po/de.po | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +commit 90cadbc8698fc7e3ca0cf018a2534c8874ef7376 +Author: Guillem Jover +Date: Sun Jul 9 02:44:39 2023 +0200 + + build: Do not enable the sanitizer for the functional test suite + + The way the code is currently structured, it is not freeing memory + on code paths leading to an ohshit() or ohshite(). But those might + continue elsewhere if an error context has been configured to use + setjmp(). We will need to fix these instances before this can be + enabled again on the CI. + + This got botched test locally due to overridden CFLAGS usage. + + Fixes: commit 59268c3f1098114c0dc27b2129882faa96897a1a + Changelog: silent + + .gitlab-ci.yml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 49135b04c761c459e65d5817a112c4592518a5f1 +Author: Guillem Jover +Date: Sat Jul 8 23:47:01 2023 +0200 + + test: Disable ASAN link order check also for functional tests + + When we use eatmydata which sets LD_PRELOAD, that can confuse the ASAN + link order check, making program abort and failing the entire test + suite. + + Fixes: commit 59268c3f1098114c0dc27b2129882faa96897a1a + Changelog: silent + + tests/Test.mk | 3 +++ + 1 file changed, 3 insertions(+) + +commit 36cfc2394b4363af68f0a0755e9330817320e2c4 +Author: Guillem Jover +Date: Sun Jul 9 00:15:48 2023 +0200 + + build: Fix sanitizer compiler options selected + + We should not pass -fsanitize=leak as that is already part of + -fsanitize=address. To get better stack traces we should pass + -fno-omit-frame-pointer. + + Fixes: commit 59268c3f1098114c0dc27b2129882faa96897a1a + Changelog: silent + + m4/dpkg-compiler.m4 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit ddd04d565a2b9be7e21ec34089a3ab5ad527d7e8 +Author: Guillem Jover +Date: Sat Jul 8 21:20:25 2023 +0200 + + build: Fix typo in DPKG_COMPILER_SANITIZER m4 macro comment + + Fixes: commit 59268c3f1098114c0dc27b2129882faa96897a1a + Warned-by: codespell + Changelog: silent + + m4/dpkg-compiler.m4 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 5c61c2f235c4909ef2fafd98f2cf7445f5e971d5 +Author: Guillem Jover +Date: Sun Jul 9 01:23:55 2023 +0200 + + dpkg-deb: Fix short lived memory leak after fork() + + This memory leak is short lived as we immediately exit from this child, + but ASAN is complaining about it. + + Warned-by: gcc ASAN + + src/deb/extract.c | 1 + + 1 file changed, 1 insertion(+) + +commit 71a07450904bea051b341f836705e4b01d2243da +Author: Guillem Jover +Date: Sat May 20 23:33:25 2023 +0200 + + Dpkg::Vendor::Debian: Add fallback values for ABI attributes + + On unknown architectures we should initialize the ABI attributes so that + we do not get perl warnings when operating on them, just like we do with + the arch parts definitions. + + scripts/Dpkg/Vendor/Debian.pm | 4 ++++ + 1 file changed, 4 insertions(+) + +commit 9cd5525a46fc5aeb42a23dc44cef2e66bb10b1d0 +Author: Guillem Jover +Date: Fri May 19 23:44:10 2023 +0200 + + dpkg-buildpackage: Handle missing information for hook substitutions + + When executing the preinit hook, there will be no information yet + available about the package, as that's the whole point of that hook + point. Initialize the substitution variables to an empty string to + avoid perl warnings. + + scripts/dpkg-buildpackage.pl | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit 86590cc19c06ae0a8602535aabb364d894a0121c +Author: Guillem Jover +Date: Tue Jun 27 01:22:59 2023 +0200 + + build: Remove distcleancheck_listfiles override for CPAN dist-cpan target + + The dist-cpan target was a dependency for the dist-hook target, the + problem was that the dist-cpan target generates an artifact on the build + directory, so distcheck was complaining about this leftover. The way to + workaround that at the time was to exclude it from the check, but + because the dist-cpan target was unhooked from the dist-hook target, + there is no need anymore to override this variable, which is generating + automake warnings during «autogen». + + build-aux/cpan.am | 4 ---- + 1 file changed, 4 deletions(-) + +commit 3b78289d1940e34e384a93a116e14fa99f996ec0 +Author: Guillem Jover +Date: Tue Jun 13 22:43:25 2023 +0200 + + build: Warn on alloca() usage + + Using alloca() is generally unsafe as there's no error recovery on stack + exhaustion, due to the function having no proper way to report such + conditions. + + m4/dpkg-compiler.m4 | 1 + + 1 file changed, 1 insertion(+) + +commit 42124e2402daa52a9328c0e8e2b5dd7079ae4c3b +Author: Guillem Jover +Date: Mon Jun 5 22:47:25 2023 +0200 + + build: Add new gcc-13 warnings + + m4/dpkg-compiler.m4 | 2 ++ + 1 file changed, 2 insertions(+) + +commit db649e3393dfb1a2f903871d4a4d5cf62c654c59 +Author: Guillem Jover +Date: Sun Jun 4 23:54:54 2023 +0200 + + build: Add support for compiler analyzer flags + + This is intended for development use, and not to be enabled + unconditionally, as it can generate large amounts of false positives, + that require sentient triage intervention. + + configure.ac | 1 + + m4/dpkg-compiler.m4 | 24 ++++++++++++++++++++++++ + 2 files changed, 25 insertions(+) + +commit 59268c3f1098114c0dc27b2129882faa96897a1a +Author: Guillem Jover +Date: Sun Jun 4 23:53:26 2023 +0200 + + build: Add support for compiler sanitizer flags + + Add a new configure option to detect and enable these compiler flags and + use them when running the unit and functional tests from the CI. + + .gitlab-ci.yml | 4 ++-- + configure.ac | 1 + + m4/dpkg-compiler.m4 | 30 ++++++++++++++++++++++++++++++ + scripts/t/dpkg_buildpackage.t | 3 +++ + 4 files changed, 36 insertions(+), 2 deletions(-) + +commit d762f80120362673fb854e593997f6321b822402 +Author: Guillem Jover +Date: Mon Jun 5 18:01:35 2023 +0200 + + build: Namespace COMPILER_*FLAGS with DPKG_ + + Make it clear these are flags for dpkg itself. + + m4/dpkg-compiler.m4 | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +commit b2c334df6e8f74e9de298286facbf3e5490580c1 +Author: Guillem Jover +Date: Sat Jul 8 19:10:51 2023 +0200 + + test: Fix varbuf memory leak in t-pkg-format test + + Warned-by: gcc ASAN + + lib/dpkg/t/t-pkg-format.c | 1 + + 1 file changed, 1 insertion(+) + +commit 740b5c881accb6c0dcc5c442a8d1ad06324735a3 +Author: Guillem Jover +Date: Sat Jul 8 19:10:20 2023 +0200 + + libdpkg: Fix varbuf memory leak in pkg_source_version() + + The function uses an intermediary varbuf to construct the string to then + pass to parseversion() to parse which then uses the non-freeing + allocator for any string it needs to preserve. We need to free that + intermediate varbuf otherwise we leak it. + + Warned-by: gcc ASAN + Stable-Candidate: 1.20.x 1.21.x + + lib/dpkg/pkg-show.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit ad237253a1f0151fdded2fcf8329750c49507962 +Author: Guillem Jover +Date: Sun Jun 25 23:31:06 2023 +0200 + + dselect: Add constVariableReference as a cppcheck suppression + + In cppcheck version 2.11 the constVariable has been split into multiple + checks, so we need to also suppress the new name for the already + suppressed one, to make it work in old and new versions. + + Warned-by: cppcheck + Changelog: internal + + dselect/pkgsublist.cc | 1 + + 1 file changed, 1 insertion(+) + +commit a15183b4c1914789b944a761ab683d1a04dd89d9 +Author: Guillem Jover +Date: Sun Jun 25 23:33:09 2023 +0200 + + lib, src: Add const qualifiers to variables + + Warned-by: cppcheck + Changelog: internal + + lib/compat/getopt.c | 2 +- + lib/dpkg/db-fsys-digest.c | 2 +- + lib/dpkg/db-fsys-override.c | 4 ++-- + src/main/cleanup.c | 2 +- + 4 files changed, 5 insertions(+), 5 deletions(-) + +commit 999000645cb0135e7a586d3137bb3586c1f2acd1 +Author: Guillem Jover +Date: Sun Jun 25 02:06:08 2023 +0200 + + test: Define macros to help cppcheck analyze code + + These macros disable some functions which makes them return 0, and + cppcheck complains that the involve redundant code. Simply define these + macros so that the real implementation can be analyzed. + + Warned-by: cppcheck + + t/cppcheck.t | 2 ++ + 1 file changed, 2 insertions(+) + +commit bac44774bb28776427a92cc63803f67043b35401 +Author: Guillem Jover +Date: Sun Jun 25 23:28:50 2023 +0200 + + test: Update cppcheck suppressions for 2.11 + + Warned-by: cppcheck + + t/cppcheck/cppcheck.supp | 3 +++ + 1 file changed, 3 insertions(+) + +commit 4b9ec6a49f2b4f39b79442986ce20e3e65aa7bee +Author: Guillem Jover +Date: Sun Jun 25 00:50:02 2023 +0200 + + libdpkg: Remove redundant check + + We have already checked in the previous condition whether the first + character in ptr is not the NUL character. + + Warned-by: cppcheck (knownConditionTrueFalse) + + lib/dpkg/parsehelp.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b5070472d81a635c08ab0bebbc9b63babc5e0cfd +Author: Guillem Jover +Date: Mon Jun 26 00:38:53 2023 +0200 + + libcompat: Update getopt code from gnulib + + Take the changes from files up to the commit before the license changed + to something other than GPL-2+, but preserving the local cleanups, with + something like: + + $ git log -p 57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391^ -- \ + lib/getopt_int.h \ + lib/getopt.c \ + lib/getopt1.c \ + # end + + This modernizes the implementation a bit, moving away from K&R, and + makes the code easier to analyze. + + Warned-by: cppcheck + + lib/compat/Makefile.am | 4 +- + lib/compat/getopt.c | 743 ++++++++++++++++++------------------------------ + lib/compat/getopt.h | 6 - + lib/compat/getopt1.c | 111 +++----- + lib/compat/getopt_int.h | 131 +++++++++ + 5 files changed, 451 insertions(+), 544 deletions(-) + +commit c8bd356d3efca0ef81dd3b7624fec16016c99c1b +Author: Guillem Jover +Date: Sun Jun 25 01:42:50 2023 +0200 + + libcompat: Use ptrdiff_t directly instead of using a macro + + We can include and that does not pollute anything. This + simplifies the code and avoids confusing static analyzers. + + Warned-by: cppcheck + + lib/compat/obstack.h | 20 +++++--------------- + 1 file changed, 5 insertions(+), 15 deletions(-) + +commit 798f516591890b1e8cfa589ee12031515e7431a6 +Author: Guillem Jover +Date: Sun Jun 25 00:47:25 2023 +0200 + + doc: Fix typo + + Warned-by: codespell + + ChangeLog.old | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 3ab6f3c92b0ccd2084d963c547c9d1c1cf6548a2 +Author: Guillem Jover +Date: Sun Jun 25 00:47:02 2023 +0200 + + test: Add new stop words for codespell 2.2.5 + + Warned-by: codespell + + t/codespell/stopwords | 1 + + 1 file changed, 1 insertion(+) + +commit 3026ea399dd64c307d1ff3e843ce058f90c0ba9e +Author: Sven Joachim +Date: Mon May 29 11:32:39 2023 +0200 + + po: Update German programs translation + + Update to 1187t. + + po/de.po | 11 +++++++++-- + 1 file changed, 9 insertions(+), 2 deletions(-) + +commit b118d11f783cea5da2ac72235aebce14c13fc0c6 +Author: Guillem Jover +Date: Wed May 17 23:44:11 2023 +0200 + + Dpkg::Vendor::Debian: Ignore musl libc systems for time64 suppression + + On musl libc all ports use time64. + + scripts/Dpkg/Vendor/Debian.pm | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit 2f4014f9d7638015d2a73b776bde176c3060d958 +Author: Guillem Jover +Date: Thu May 18 03:08:38 2023 +0200 + + Dpkg::Vendor::Debian: Invert time64 suppression list logic + + New 32-bit glibc architectures default to time64, and the list of time32 + architectures is finite and will not grow any longer. So it makes more + sense to base the ignore list on that finite list than on the new 32-bit + architectures that default to time64, even though currently that is a + shorter list, but which will require continue maintenance and update. + + scripts/Dpkg/Vendor/Debian.pm | 36 ++++++++++++++++++++++++++++++++++-- + 1 file changed, 34 insertions(+), 2 deletions(-) + +commit 1aded0e307f4ed50a4fa80820a8041c481674ce9 +Author: Guillem Jover +Date: Thu May 18 03:08:38 2023 +0200 + + Dpkg::Vendor::Debian: Only enable LFS when time64 is enabled for glibc + + The hard requirement for LFS flags to be passed when time64 is enabled + is only present in glibc, so do not add this dependency for other + architectures. + + scripts/Dpkg/Vendor/Debian.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 549e8cd21c979ab62d6fb91dcf3bb2abe9d73647 +Author: Guillem Jover +Date: Thu May 18 02:39:40 2023 +0200 + + Dpkg::Vendor::Debian: Only use ABI bits to suppress LFS or time64 features + + The CPU bits are not relevant for the actual ABI, and we should not use + them here, or we can get incorrect results for architectures that run on + a 64-bit CPU but have a 32-bit ABI. + + scripts/Dpkg/Vendor/Debian.pm | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +commit a8e85bbe1d6173c9cb3dcadb44a3ec1879822c46 +Author: Helge Kreutzmann +Date: Wed May 17 19:32:47 2023 +0200 + + po: Update German man pages translation + + man/po/de.po | 115 +++++++++++++++++++++++++++++++++++++++++++++++------------ + 1 file changed, 93 insertions(+), 22 deletions(-) + +commit 2461a50662c11edb4638902f793caf3c9a58053c +Author: Guillem Jover +Date: Tue May 16 23:31:22 2023 +0200 + + test: Use dpkg-buildpackage --no-sign instead of each --unsigned-* option + + This simplifies the test code a bit. + + scripts/t/dpkg_buildpackage.t | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit eb7ade60e774dec9cca8ca7f0f8e6d916f076627 +Author: Guillem Jover +Date: Tue May 16 23:30:12 2023 +0200 + + man: Mention .buildinfo in dpkg-buildpackage --sign-command description + + The signing involves also the .buildinfo file, which was not mentioned + here. + + man/dpkg-buildpackage.pod | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit 45b80ba1d8ebec54fecff18c5eaf5c18911b2ee5 +Author: Guillem Jover +Date: Mon May 15 23:47:12 2023 +0200 + + dpkg-buildpackage: Set DPKG_BUILDPACKAGE_HOOK_NAME envvar for hooks + + This should make it possible to easily share the same code or script + and be called as different hooks. + + man/dpkg-buildpackage.pod | 2 ++ + scripts/dpkg-buildpackage.pl | 2 ++ + scripts/t/dpkg_buildpackage.t | 2 +- + scripts/t/dpkg_buildpackage/hook | 16 ++++++++-------- + 4 files changed, 13 insertions(+), 9 deletions(-) + +commit 00be11569e51497079f53fcb843a956adcaed1d9 +Author: Guillem Jover +Date: Sun May 14 16:12:06 2023 +0200 + + dpkg-buildpackage: Set the hook options in an environment variable + + For some hook usage it is important to be able to know what + dpkg-buildpackage is going to use when performing the actions, + so we pass some of this information as environment variables, + independently of the substitution parameters, as this is information + potentially relevant to all hooks. + + Closes: #902856 + + man/dpkg-buildpackage.pod | 21 ++++++++++++++ + scripts/dpkg-buildpackage.pl | 33 +++++++++++++++++++--- + scripts/t/dpkg_buildpackage/hook | 22 +++++++++++++++ + scripts/t/dpkg_buildpackage/test-source_0_all.hook | 6 ++++ + scripts/t/dpkg_buildpackage/test-source_0_any.hook | 6 ++++ + .../t/dpkg_buildpackage/test-source_0_binary.hook | 6 ++++ + .../t/dpkg_buildpackage/test-source_0_full.hook | 6 ++++ + .../t/dpkg_buildpackage/test-source_0_source.hook | 5 ++++ + 8 files changed, 101 insertions(+), 4 deletions(-) + +commit f4e7d9e01dfe9f20f35aed8a1f229373ba9d4420 +Author: Guillem Jover +Date: Sun May 14 15:54:52 2023 +0200 + + dpkg-buildpackage: Turn the run_hook() enabled argument into a hash option + + This makes it possible to pass other options to the hook runner. + + Changelog: internal + + scripts/dpkg-buildpackage.pl | 30 +++++++++++++++++++++--------- + 1 file changed, 21 insertions(+), 9 deletions(-) + +commit 062c140102cdc69edbe9699e14039d4d76e8ea45 +Author: Guillem Jover +Date: Sun May 14 15:56:49 2023 +0200 + + dpkg-buildpackage: Default the enabled run_hook() parameter to true + + This should be the expected default, which makes it possible to not have + to pass it from the callers. + + Changelog: internal + + scripts/dpkg-buildpackage.pl | 15 ++++++++------- + 1 file changed, 8 insertions(+), 7 deletions(-) + +commit be55dd6ab9f9423dcb20d91febc7793ea530f694 +Author: Guillem Jover +Date: Sun May 14 15:45:42 2023 +0200 + + dpkg-buildpackage: Move hook invocation closer to artifact creation + + We want to be able to pass addition information to the hooks, so we + need the information computed earlier, and thus need to move the hook + invocation later. + + Changelog: internal + + scripts/dpkg-buildpackage.pl | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +commit a0e63a6006b7a180c35f35f5cf869c4c3eebca77 +Author: Guillem Jover +Date: Sun May 14 15:39:51 2023 +0200 + + dpkg-buildpackage: Fix build hook action substitution string handling + + We are only running the build hook if the rules file requires root, so + we should take that into account when setting the action boolean value + for the hooks invocation string substitution. + + scripts/dpkg-buildpackage.pl | 16 +++++++++++----- + 1 file changed, 11 insertions(+), 5 deletions(-) + +commit 0566e55bf8cc9d86f4d59d16473b7b3b442f327f +Author: Guillem Jover +Date: Wed May 17 03:30:56 2023 +0200 + + test: Add test cases for dpkg-buildpackage hook support + + scripts/Makefile.am | 6 +++++ + scripts/t/dpkg_buildpackage.t | 27 ++++++++++++++++++++-- + scripts/t/dpkg_buildpackage/hook | 3 +++ + scripts/t/dpkg_buildpackage/test-source_0_all.hook | 12 ++++++++++ + scripts/t/dpkg_buildpackage/test-source_0_any.hook | 12 ++++++++++ + .../t/dpkg_buildpackage/test-source_0_binary.hook | 12 ++++++++++ + .../t/dpkg_buildpackage/test-source_0_full.hook | 12 ++++++++++ + .../t/dpkg_buildpackage/test-source_0_source.hook | 11 +++++++++ + 8 files changed, 93 insertions(+), 2 deletions(-) + +commit c729dea1e0af319ca48d2342c530e27a51d372d9 +Author: Guillem Jover +Date: Sun Aug 21 02:05:58 2022 +0200 + + doc: Require POSIX.1-2008 + + This version of POSIX is old enough, and should be supported by all + major target operating systems that are still maintained, where dpkg + is being ported to. + + doc/coding-style.txt | 2 ++ + 1 file changed, 2 insertions(+) + +commit 1b08218a3bbf3b9763ea6e0f69f4473f9f474ec2 +Author: Guillem Jover +Date: Fri Dec 2 23:02:16 2022 +0100 + + doc: Clarify required C/C++ standards + + Fold both into the same subsection, and refactor how these are checked + and can be relied on. Switch the C baseline from C89 plus extensions to + C99 except specific features. + + README | 2 +- + doc/coding-style.txt | 31 +++++++++++-------------------- + 2 files changed, 12 insertions(+), 21 deletions(-) + +commit ebba2873b3a8db5ef1ca5af25a2b42bd51cee18c +Author: Guillem Jover +Date: Sun May 14 00:07:15 2023 +0200 + + doc: Move Perl version baseline as the first perl coding style subsection + + This is the most important part to be able to know what to rely on in + the Perl code base, move it to the front to match the C/C++ section. + + doc/coding-style.txt | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +commit 7f8a9af3d8ca97171acca6f19cd0029f09aa5396 +Author: Guillem Jover +Date: Sat May 13 20:56:54 2023 +0200 + + test: Compute the sizes for «dpkg-deb -I» output dynamically + + The sizes of the parts composing the various .deb can change depending + on the specific compression library or command used, so hardcoding them + in the test means these are not robust and can fail when these change + their output, or when we test against different versions. Compute the + sizes dynamically during the test and use those as part of the expected + output. + + For uncompressed members we do not need to parametrize these sizes. + + src/at/deb-format.at | 38 +++++++++++++++++++++++++++----------- + 1 file changed, 27 insertions(+), 11 deletions(-) + +commit c244695522743e912b521bed6851d3700028b4f3 +Author: Guillem Jover +Date: Sat May 13 20:55:30 2023 +0200 + + test: Generate the pkg-old.deb from controlled parts + + To be able to make the tests independent of the compression libraries + and programs used we need to control the sizes being used when + generating them. + + src/at/deb-format.at | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +commit 4682b6a2941407fc86390edec62d42466e07954f +Author: Guillem Jover +Date: Sat May 13 20:51:22 2023 +0200 + + test: Pass -n to gzip for all invocations + + Reduce potential for unreproducible output in the generated artifacts, + so that we do not need to take that into account in the tests, even + though this is currently not a cause for test failures. This also makes + these calls consistent with other gzip usage in the test suite which + were already using this option. + + src/at/deb-format.at | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 241ad64fcdeab3bfa532886a1f665e0ec351df9e +Author: Guillem Jover +Date: Sat May 13 20:46:56 2023 +0200 + + test: Use the GREP/EGREP detected at configure time in autotests + + We should use the same «grep» and «grep -E» compatible commands that + were detected at configure time which fulfilled the requirements we + were looking for. + + We were indirectly checking for GREP/EGREP, but as we cannot rely on + these checks being kept around we check for them now explicitly. + + configure.ac | 2 + + src/at/atlocal.in | 2 + + src/at/divert.at | 114 +++++++++++++++++++++++++++--------------------------- + 3 files changed, 61 insertions(+), 57 deletions(-) + +commit 777ff4f91f14800a39b8239154e2392f796b9e45 +Author: Guillem Jover +Date: Sat May 13 20:45:36 2023 +0200 + + test: Quote command variables in case these contain spaces + + If the replaced values contain spaces then the options will be + interpreted as commands to be passed the variable being set to its + environment. + + src/at/atlocal.in | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 50e32beba7e75809e1782b5f51175d7f5481aeff +Author: Guillem Jover +Date: Fri May 12 23:32:46 2023 +0200 + + build: Add perl prefixes into the Code Internals changelog section + + build-aux/gen-changelog | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit dde814f3c92eadb57b428df4761a63964c1337ae +Author: Helge Kreutzmann +Date: Thu May 11 18:10:06 2023 +0200 + + po: Update German scripts translation + + scripts/po/de.po | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit f03f79d9a00cc18f4206fdebff68c6561bc5bb0e +Author: Helge Kreutzmann +Date: Thu May 11 18:09:25 2023 +0200 + + po: Update German man pages translation + + man/po/de.po | 279 +++++++++++++++++++++++++++++++++++++++++++++-------------- + 1 file changed, 213 insertions(+), 66 deletions(-) + +commit 87adaff3d92d6cfc7c3078d09c52b55e7d415fae +Author: Guillem Jover +Date: Thu May 11 02:02:04 2023 +0200 + + test: Add cases for disappearance on diverted overwrites and third parties + + Suggested-by: Simon Richter + + tests/Makefile | 2 + + tests/t-disappear-diverted-other/Makefile | 28 ++++++++++ + .../pkg-divert/DEBIAN/control | 8 +++ + .../pkg-divert/DEBIAN/postrm | 8 +++ + .../pkg-divert/DEBIAN/preinst | 8 +++ + .../pkg-divert/test-dir/test-normal | 0 + .../pkg-diverted/DEBIAN/control | 8 +++ + .../pkg-diverted/test-dir/test-divert | 0 + .../pkg-replaces/DEBIAN/control | 9 +++ + .../pkg-replaces/test-dir/test-normal | 0 + tests/t-unpack-divert-overwrite/Makefile | 64 ++++++++++++++++++++++ + .../pkg-divert/DEBIAN/control | 8 +++ + .../pkg-divert/DEBIAN/postrm | 7 +++ + .../pkg-divert/DEBIAN/preinst | 7 +++ + .../t-unpack-divert-overwrite/pkg-divert/test-file | 1 + + .../pkg-files/DEBIAN/control | 7 +++ + .../t-unpack-divert-overwrite/pkg-files/test-file | 1 + + .../pkg-replaces/DEBIAN/control | 8 +++ + .../pkg-replaces/test-other | 1 + + 19 files changed, 175 insertions(+) + +commit 395c655fc1765a31fb828ef3c085f51ae4592e36 +Author: Guillem Jover +Date: Thu May 11 00:29:22 2023 +0200 + + test: Add cases for disappearing with diversions + + tests/Makefile | 1 + + tests/t-disappear-diverted/Makefile | 58 ++++++++++++++++++++++ + .../pkg-disappear/DEBIAN/control | 8 +++ + .../pkg-disappear/test-dir/test-normal | 0 + .../t-disappear-diverted/pkg-divert/DEBIAN/control | 9 ++++ + .../t-disappear-diverted/pkg-divert/DEBIAN/postrm | 8 +++ + .../t-disappear-diverted/pkg-divert/DEBIAN/preinst | 8 +++ + .../pkg-divert/test-dir/test-normal | 0 + .../t-disappear-diverted/pkg-normal/DEBIAN/control | 9 ++++ + .../pkg-normal/test-dir/test-normal | 0 + 10 files changed, 101 insertions(+) + +commit 5c56170b1a4e3d45d546a090d6ad466c933b4926 +Author: Guillem Jover +Date: Wed May 10 23:56:54 2023 +0200 + + test: Fix t-disappear-depended test + + The test was missing a Replaces field, and a purge and then an + install to create the scenario it was trying to check. + + tests/Makefile | 2 +- + tests/t-disappear-depended/Makefile | 11 +++++++---- + tests/t-disappear-depended/pkg-disappear/test-dir/test-normal | 0 + tests/t-disappear-depended/pkg-normal/DEBIAN/control | 1 + + 4 files changed, 9 insertions(+), 5 deletions(-) + +commit d61ab1ad8a4cbda31b0719a980d0e517130f9ee2 +Author: Guillem Jover +Date: Tue May 9 04:07:48 2023 +0200 + + dpkg: Move comment next to the code it is describing + + Also update the variable it is talking about. + + Changelog: internal + + src/main/archives.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 3f0ed647b7a37162f18adac45f7513adb16fc0c1 +Author: Guillem Jover +Date: Sun May 7 17:38:43 2023 +0200 + + scripts: Do not set LANG unnecessarily + + Setting LC_ALL to "C" should be sufficient, as that will have precedence + over any other environment variable, so there is no need to in addition + set LANG also to "C". + + scripts/Build.PL.in | 1 - + scripts/Dpkg/Source/Patch.pm | 6 +++--- + 2 files changed, 3 insertions(+), 4 deletions(-) + +commit f8aeaeebfebb03a15ab3ad85b55e28617209e421 +Author: Guillem Jover +Date: Thu May 11 02:18:38 2023 +0200 + + Dpkg::Vendor::Debian: Mark PIE as builtin on hurd-amd64 + + This new port that is currently being bootstrapped will default to + handle PIE enabled builtin in gcc, so we need to let the build flags + work accordingly. + + scripts/Dpkg/Vendor/Debian.pm | 1 + + 1 file changed, 1 insertion(+) + +commit 5678aa632dfd20ec83e1d0eacad75bb4a4ef44a2 +Author: Guillem Jover +Date: Sun May 7 02:28:55 2023 +0200 + + Dpkg::Source::Quilt: Switch get_db_file() to be based off get_db_dir() + + Do not use get_db() with no argument as a means to get the db directory, + instead reverse the implementation around and use get_db_dir() from + get_db_file() instead, which makes more sense, and fixes a perl warning + introduced when the code changed to properly unpack arguments. + + Fixes: commit 309123b9e76a44cd8e394d87295e2d244d7e354c + + scripts/Dpkg/Source/Quilt.pm | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +commit a004016c00639cca59b914c61349b3ec11f64b1c +Author: Guillem Jover +Date: Sat May 6 22:36:56 2023 +0200 + + Dpkg::Shlibs::Objdump: Add back the ARM ABI mismatch mask but commented out + + Add a comment with the current state, and rationale why ARM does not + have the ABI mismatch mask set, so that it does not get accidentally + added back until the situation has been checked to be safe, or dealt + with. + + Ref: #853793 + + scripts/Dpkg/Shlibs/Objdump.pm | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +commit b95056b0bf8ff8df0f33c395e6eca566e61bed45 +Author: Simon Richter +Date: Sat May 6 04:09:15 2023 +0900 + + libdpkg: Mark functions in headers as inline + + Signed-off-by: Guillem Jover + + lib/dpkg/perf.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit f03f632b1eeb14f4004ec6986b4ee384f32757d7 +Author: Simon Richter +Date: Sat May 6 04:09:14 2023 +0900 + + libdpkg: Make headers self-contained + + [guillem@debian.org: Move forward declaration close to existing one. ] + + Signed-off-by: Guillem Jover + + lib/dpkg/command.h | 2 ++ + lib/dpkg/db-fsys.h | 1 + + lib/dpkg/parsedump.h | 1 + + 3 files changed, 4 insertions(+) + +commit 31a81c5575a781491e6f8b1c13d8544490982d5d +Author: Guillem Jover +Date: Fri May 5 23:58:35 2023 +0200 + + build: Ignore tags files + + The automake generated Makefiles contain rules to create various + types of source code tags files for easy source code traversing. + + Based-on-patch-by: Simon Richter + + .gitignore | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit b6491c5763ea7c8013a0bf152795d397a97320d9 +Author: Guillem Jover +Date: Fri May 5 23:56:10 2023 +0200 + + build: Remove vim swap file entry from .gitignore + + This is a developer specific tool artifact that does not belong in the + project .gitignore file, as otherwise we'd be polluting these with + endless entries for any such tool that might be used locally. Instead + users should really be adding them to their ~/.config/git/ignore file + (or equivalent) for any such local tool generated artifact to be + ignored globally on those systems. + + .gitignore | 1 - + 1 file changed, 1 deletion(-) + +commit 17bfa86310a9384109fda9a3723ae88995cfe1bb +Author: Simon Richter +Date: Sat May 6 04:06:02 2023 +0900 + + build: Fix typo in .gitignore filename by renaming it + + This seems to be a mistake. + + Signed-off-by: Guillem Jover + + tests/dpkginst/{.gitinore => .gitignore} | 0 + 1 file changed, 0 insertions(+), 0 deletions(-) + +commit bcb37baf8ebdfa6c70310ec0a82517fe9ee1153d +Author: Guillem Jover +Date: Thu Apr 20 00:41:43 2023 +0200 + + build: Add support for .git-blame-ignore-revs file + + The current codebase contains a mix of styles, which is confusing when + reading, or when contributing code. The main reason the code has been + switched to the new style incrementally has been because mass changes + create «git blame» barriers, at which point git blame becomes unusable. + + But with the recent-ish support for the «git blame» ignore-revs-file + we can now track these commits and let git ignore them when doing blame, + which removes the main reason for avoiding these mass changes. + + .git-blame-ignore-revs | 2 ++ + Makefile.am | 2 +- + autogen | 4 ++++ + 3 files changed, 7 insertions(+), 1 deletion(-) + +commit c954d2cb1f70c834a22044f60197908891eae1f5 +Author: Guillem Jover +Date: Thu May 11 03:23:26 2023 +0200 + + dselect: Fix stdout+stderr discarding redirection in ftp method + + The redirections were out of order so only stdout was being discarded. + + Prompted-by: shellcheck + + dselect/methods/ftp/install.pl | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 07b2b3af74f0699b0cb76431be062c3479fc06ec +Author: Guillem Jover +Date: Thu May 4 23:55:52 2023 +0200 + + dselect: Remove handling of .GZ, .Z and .z compressed Package files + + These are either extensions for the compress format, which we do not + support, or uppercase variants for the gzip format, which are just + unexpected to be found on repositories. + + dselect/methods/file/update.sh | 2 +- + dselect/methods/media/update.sh | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit b9216d07e9aac18a4c7cf0713363747f7a009717 +Author: Guillem Jover +Date: Thu Dec 1 15:51:53 2022 +0100 + + dpkg-buildpackage: Add support for new preinit hook + + This new hook gets called before the tools have read any source file. + + Closes: #1023753 + + man/dpkg-buildpackage.pod | 3 +++ + scripts/dpkg-buildpackage.pl | 10 ++++++++-- + 2 files changed, 11 insertions(+), 2 deletions(-) + +commit 71f93f12abe9530f916a5c062e170b481bdfd268 +Author: Guillem Jover +Date: Thu Dec 1 15:51:53 2022 +0100 + + dpkg-buildpackage: Turn items into lists for easier extensibility + + Change the code and the man page. + + Changelog: internal + + man/dpkg-buildpackage.pod | 26 +++++++++++++++++++++++++- + scripts/dpkg-buildpackage.pl | 26 +++++++++++++++++++++++--- + 2 files changed, 48 insertions(+), 4 deletions(-) + +commit f7dd012287cb49b44fcf5e56bdd4dc0db64a8625 +Author: Guillem Jover +Date: Wed May 3 23:41:04 2023 +0200 + + man: Itemize supported deb-changelog(5) keyword/value entries + + This should make it more clear to distinguish each different item. + + man/deb-changelog.pod | 17 +++++++++++++---- + 1 file changed, 13 insertions(+), 4 deletions(-) + +commit e7329e8f8c4245fc19b6f8e684dcac8168e29f07 +Author: Guillem Jover +Date: Wed May 3 23:40:00 2023 +0200 + + man: Turn buildinfo filename format selection into a list + + This should make it more obvious how the name gets selected. + + man/deb-buildinfo.pod | 24 +++++++++++++++++------- + man/dpkg-buildpackage.pod | 25 ++++++++++++++++++------- + 2 files changed, 35 insertions(+), 14 deletions(-) + +commit aec16b66e70daf4540762918af09e340e7cd0372 +Author: Guillem Jover +Date: Tue May 2 03:26:45 2023 +0200 + + man: Update methods provided by dselect(1) + + man/dselect.pod | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b1db75d6fb1c8a13af5274a62b0bd2d9cf191b28 +Author: Guillem Jover +Date: Mon May 8 00:39:53 2023 +0200 + + man: Clarify C.UTF-8 locale setting hint + + On systems where the LANGUAGE environment variable is supported, it will + affect the output when the locale is set to something other than "C", + which is the case with the hint here. Mention it to make the user aware + of this behavior. + + Closes: #1028296 + + man/dpkg-query.pod | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit b3f0abeef0bdda14689930522b2762d19eb43a6b +Author: Helge Kreutzmann +Date: Fri May 5 17:33:35 2023 +0200 + + po: Update German man pages translation + + man/po/de.po | 18 +++++++++++++++++- + 1 file changed, 17 insertions(+), 1 deletion(-) + +commit 4b0112eac37ae1c8b3cf09f86d41c0b9710b40dc +Author: Helge Kreutzmann +Date: Tue May 2 21:05:14 2023 +0200 + + po: Update German man pages translation + + man/po/de.po | 169 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- + 1 file changed, 163 insertions(+), 6 deletions(-) + +commit 767045b31ce3b0e15a57b342602c1b6bc9dd87b1 +Author: Guillem Jover +Date: Mon May 1 20:32:58 2023 +0200 + + man: Spell out «manual page» + + man/start-stop-daemon.pod | 2 +- + man/update-alternatives.pod | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit b2b8551d7abe7eb9f5d03c63d9da1ec9612a2bcf +Author: Guillem Jover +Date: Sun Mar 12 04:41:09 2023 +0100 + + man: Add SECURITY sections + + Do a first pass to add a section describing the security implications + for tools that might be expected to handle untrusted data, or where + security implications might not otherwise be clear. These might need + to be adjusted in the future. + + Prompted by a private security report with incorrect assumptions + about how dpkg operates and what are the security expectations of + its operation. Try to make this clear in the documentation to avoid + users potentially being confused. + + man/dpkg-buildpackage.pod | 5 +++++ + man/dpkg-deb.pod | 14 ++++++++++++++ + man/dpkg-query.pod | 7 +++++++ + man/dpkg-source.pod | 15 +++++++++++++++ + man/dpkg-split.pod | 15 +++++++++++++++ + man/dpkg.pod | 20 ++++++++++++++++++++ + 6 files changed, 76 insertions(+) + +commit aeee5b5ac27d19b6001d1ae912384ed7defa942c +Author: Guillem Jover +Date: Sat Apr 29 23:40:49 2023 +0200 + + dpkg-db-keeper: Add helper script to assist with tracking database changes + + A simplified version of this script has been in constant use to assist + in dpkg development for years now, so that changes performed to the db + can be easily tracked and studied, when running dpkg versions from git. + + But it is also generally helpful for record tracking of what has changed + over time in the system. + + debian/dpkg.install | 1 + + src/.gitignore | 1 + + src/Makefile.am | 2 ++ + src/dpkg-db-keeper.sh | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++ + t/shellcheck.t | 1 + + 5 files changed, 64 insertions(+) + +commit 7c49fd84e8eabcfdb50d95b6f2924368dba48e66 +Author: Guillem Jover +Date: Fri Apr 28 23:19:40 2023 +0200 + + build: Add -no-undefined libtool flag + + We have no need for undefined symbols, so we can let the shared + library build even on systems without support for undefined symbols. + + lib/dpkg/Makefile.am | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit 805d2bbc2b02b857448e55ce9c00279da184ec4c +Author: Guillem Jover +Date: Fri Apr 28 23:16:29 2023 +0200 + + build: Use an export symbols file if there is no version script support + + We generate the symbol list from the version script to avoid repeating + ourselves and potentially getting the lists out-of-sync. + + lib/dpkg/.gitignore | 1 + + lib/dpkg/Makefile.am | 28 +++++++++++++++++++++++++--- + 2 files changed, 26 insertions(+), 3 deletions(-) + +commit 9cbd57da55c8a60badf7e185b629e5dfc9260e9f +Author: Guillem Jover +Date: Sun Apr 30 22:44:06 2023 +0200 + + man: Clarify shared library name formats and their purpose + + man/deb-shlibs.pod | 5 +++++ + 1 file changed, 5 insertions(+) + +commit 23e92f568ba8d03e712b38ddb4e268c4fdd297b7 +Author: Guillem Jover +Date: Thu Apr 27 23:44:26 2023 +0200 + + doc: Add a Status field to frontend-api spec + + doc/spec/frontend-api.txt | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 329d06a624c8fc0f49fdaa474aa42261a84239f6 +Author: Guillem Jover +Date: Wed Apr 26 23:54:36 2023 +0200 + + libdpkg: Mark the progress percentage for translation + + The percentage format is locale-dependent, so let's mark it so that + translators can format it differently. + + Ref: #1034378 + + lib/dpkg/progress.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit cd84b0f9e69ba0c409a87295143a0498c5d6a38a +Author: Guillem Jover +Date: Wed Apr 26 23:52:06 2023 +0200 + + libdpkg: Simplify progress output by using fputs() and putchar() + + Instead of doing a full printf(), when we know that we do not need to + actually format the strings, use the more efficient fputs() and + putchar() functions. + + This also decouples the percentage printing which is locale sensitive + from the general format of the output, which we will then be able to + mark for translation independently of the other text. + + lib/dpkg/progress.c | 11 ++++++----- + 1 file changed, 6 insertions(+), 5 deletions(-) + +commit 07df658150f5c6c9ad4e5e4ff287f7a1cd56b111 +Author: Guillem Jover +Date: Wed Feb 22 01:36:29 2023 +0100 + + Dpkg::Shlibs::Objdump: Switch get_format() to return a colon-separated string + + This makes debugging the format easier, as the string should be easier + to understand than a string of hexadecimal bytes. + + scripts/Dpkg/Shlibs.pm | 4 ++-- + scripts/Dpkg/Shlibs/Objdump.pm | 39 +++++++++++++++++++++++++++++++++++---- + scripts/dpkg-shlibdeps.pl | 7 ++++--- + 3 files changed, 41 insertions(+), 9 deletions(-) + +commit 1df4c32add4b0caee6d9128c593e5416982a202b +Author: Guillem Jover +Date: Thu Apr 27 02:40:01 2023 +0200 + + Dpkg::Shlibs::Objdump: Add OR1K ELF ABI tracking + + At least GNU binutils does not allow linking objects with the nodelay + flag set against ones without the flag set, and internally considers + them different BFD machine types. + + scripts/Dpkg/Shlibs/Objdump.pm | 3 +++ + 1 file changed, 3 insertions(+) + +commit b377ba3daf475228764fbba0bf6502c132e0b9bd +Author: Guillem Jover +Date: Tue Apr 25 03:50:43 2023 +0200 + + Dpkg::Shlibs::Objdump: Add RISC-V ELF ABI tracking + + At least GNU binutils does not allow linking objects with different + float ABIs, nor linking RVE and non-RVE objects. + + scripts/Dpkg/Shlibs/Objdump.pm | 8 ++++++++ + 1 file changed, 8 insertions(+) + +commit 3d9bac3041d68a2ab1d13b9f36d6fb9968f76923 +Author: Guillem Jover +Date: Wed Feb 22 01:31:14 2023 +0100 + + Dpkg::Shlibs::Objdump: Add ELF machine types for all supported arches + + We should have the ELF machine types for all supported arches, so that + we can then give better diagnostics when analyzing these objects. + + scripts/Dpkg/Shlibs/Objdump.pm | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit 41a8cfc7080f2b4cb9104d3a44e5087d772dd920 +Author: Guillem Jover +Date: Wed Feb 22 01:28:56 2023 +0100 + + Dpkg::Shlibs::Objdump: Remove unsupported ELF machine types + + We do not support the architectures that would make use of these + ELF machine types, so there is no point in having that support here. + + These were preemptively added after having invested the time digging + what old ELF machine types mapped to new ones, but this can be redone + if these ever get added, which seems unlikely. + + scripts/Dpkg/Shlibs/Objdump.pm | 12 ------------ + 1 file changed, 12 deletions(-) + +commit 1ef2064a7833c9b97f3867c40ddccc62242f8425 +Author: Guillem Jover +Date: Tue Apr 25 23:08:03 2023 +0200 + + Remove avr32, m32r and tilegx obsolete architectures + + These do no longer have support in Linux. Neither the BSDs support + these CPUs. There is no point in pretending these are supported by + dpkg. + + Ref: Linux commit 26202873bb51fafdaa51be3e8de7aab9beb49f70 (avr32) + Ref: Linux commit 553b085c2075f6a4a2591108554f830fa61e881f (m32r) + Ref: Linux commit bb9d812643d8a121df7d614a2b9c60193a92deb0 (tile) + + data/cputable | 3 --- + scripts/Dpkg/Shlibs/Objdump.pm | 6 ------ + scripts/Dpkg/Vendor/Debian.pm | 9 ++++----- + scripts/t/Dpkg_Arch.t | 4 ++-- + 4 files changed, 6 insertions(+), 16 deletions(-) + +commit c4be7df409cf60132aaf11ed74cbb7909f0fdcdf +Author: Guillem Jover +Date: Mon Apr 24 23:37:12 2023 +0200 + + lib: Define __has_include fallback if the compiler does not support it + + This way we can use it unconditionally in the code. + + lib/compat/compat.h | 4 ++++ + lib/dpkg/macros.h | 4 ++++ + 2 files changed, 8 insertions(+) + +commit d4721c06a1fb84caff6b3623f23947c757e0b790 +Author: Guillem Jover +Date: Sun Apr 23 14:33:41 2023 +0200 + + libdpkg: Mask the mode from the tar entry to only the file mode bits + + Depending on the tar implementation used, the mode in the tar entry + might include more than the file mode bits, which can cause unexpected + values to be set on the unpacked object. Mask them to make sure we are + dealing with known metadata. + + This is currently a problem with AIX's tar, but could happen on other + systems using various tar implementations, or with .deb created with + builders other than dpkg-deb. + + lib/dpkg/tarfn.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 40f41eedf49b151fe166281e065cbbfd59f93780 +Author: Sven Joachim +Date: Tue Apr 25 20:38:50 2023 +0200 + + po: Update German programs translation + + Update to 1186t. + + po/de.po | 34 ++++++++++++++++++++++------------ + 1 file changed, 22 insertions(+), 12 deletions(-) + +commit fb1ed70041f487629ecd3ba83ac6417c86f5eacc +Author: Sven Joachim +Date: Tue Apr 25 20:29:13 2023 +0200 + + po: Update German dselect translation + + Update to 267t. + + dselect/po/de.po | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +commit 0c93078dd8e881d095e89b870131b9ca866c9371 +Author: Helge Kreutzmann +Date: Sun Apr 23 06:42:37 2023 +0200 + + po: Update German man pages translation + + man/po/de.po | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +commit da9d03f6b7f99c46a1b6f7b0a323df36b5cc4829 +Author: Helge Kreutzmann +Date: Sun Apr 23 06:41:15 2023 +0200 + + po: Update German scripts translation + + scripts/po/de.po | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +commit e0524ee32d7ca61817676f617359fda72362f7cb +Author: Guillem Jover +Date: Sun Apr 16 18:48:52 2023 +0200 + + dpkg: Clarify that commands can take package-name or --pending in error message + + These options which can take a package name specifier, can also take a + --pending option. Make the error more clear about this. + + Closses: #1034466 + +Notes: + Closes: #1034466 + + src/main/packages.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit e2dfc4f76bdb07c80c765b85705bf543c99f43eb +Author: Guillem Jover +Date: Sun Apr 16 18:43:19 2023 +0200 + + man: Clarify that dpkg-reconfigure is part of the debconf project + + This program which uses the dpkg namespace, tends to confuse users + thinking it is part of the dpkg suite of packages, and then they cannot + find it or report issues against dpkg itself. Try to point users in + the right direction. + + man/dpkg.pod | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit f013195c70995235340e99107058f591175f0a57 +Author: Guillem Jover +Date: Fri Apr 14 04:35:48 2023 +0200 + + libdpkg: Pass -- after sh -c to avoid bogus option parsing + + Prompted-by: Joe Simmons-Talbott (on libc-alpha) + + lib/dpkg/command.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit d12eddb2b240b8a079b5a9cc1c166375f19f6a0d +Author: Guillem Jover +Date: Wed Apr 12 23:53:42 2023 +0200 + + test: Split deb-format tests per compressor + + This means that we can still test specific formats even when the system + lacks less common compressors, instead of skipping everything. + + src/at/deb-format.at | 230 +++++++++++++++++++++++++++++++-------------------- + 1 file changed, 141 insertions(+), 89 deletions(-) + +commit 57820551f682960232318aa272d40d2f601fd108 +Author: Guillem Jover +Date: Wed Apr 19 03:31:33 2023 +0200 + + test: Refactor deb-format package template generation into a new macro + + Once we split the test per compressor, we will need this same code, + which we should not repeat. + + src/at/deb-format.at | 54 ++++++++++++++++++++++++++++------------------------ + 1 file changed, 29 insertions(+), 25 deletions(-) + +commit 8d813c3ee4c2c3730d994f92fbad25d8f0fa15af +Author: Guillem Jover +Date: Wed Apr 19 03:22:23 2023 +0200 + + test: Use AT_DATA instead of touch to create empty files + + src/at/deb-format.at | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit 66d7d82359fb74b148f243408aae6ccbc9019536 +Author: Guillem Jover +Date: Wed Apr 12 23:53:42 2023 +0200 + + test: Switch deb non-uniform members test to use uncompressed control.tar + + This detangles the test from using multiple compressors, so that then we + can skip based on what is present. + + src/at/deb-format.at | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit c50cc48900ff616af9df8b4ca3efc9a211e1eb9b +Author: Guillem Jover +Date: Wed Apr 12 23:59:17 2023 +0200 + + test: Define lzma based on xz if missing + + Some systems might have xz, but not lzma, and if so we can define the + latter by using the former. + + src/at/atlocal.in | 6 ++++++ + 1 file changed, 6 insertions(+) + +commit 5324e7d669bf6081ec191f1b5b7105e56fd9a0bd +Author: Guillem Jover +Date: Sat Apr 8 13:04:32 2023 +0200 + + po: Fix Project-Id-Version to match the gettext domain + + scripts/po/nl.po | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 0e56a85ce34026482d9d011d0b560337e44c05c1 +Author: Américo Monteiro +Date: Sat Apr 8 13:03:07 2023 +0200 + + po: Add Portuguese scripts translations + + [guillem@debian.org: Hook into build system. ] + + Closes: #1032562 + Signed-off-by: Guillem Jover + + scripts/po/LINGUAS | 1 + + scripts/po/pt.po | 4224 ++++++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 4225 insertions(+) + +commit c2cd790c7a8a2cd2cee00803aac0bfc28ff769d0 +Author: Guillem Jover +Date: Thu Mar 30 23:02:39 2023 +0200 + + perl: Remove «1;» from end of script in programs + + This is only needed in perl modules, not in perl programs where it does + nothing relevant. + + build-aux/gen-changelog | 1 - + build-aux/lcov-inject | 2 -- + build-aux/test-runner | 1 - + scripts/Build.PL.in | 2 -- + scripts/dpkg-fsys-usrunmess.pl | 2 -- + scripts/dpkg-genbuildinfo.pl | 2 -- + scripts/t/Dpkg_Arch.t | 2 -- + scripts/t/Dpkg_BuildEnv.t | 2 -- + scripts/t/Dpkg_BuildFlags.t | 2 -- + scripts/t/Dpkg_BuildFlags_Ubuntu.t | 2 -- + scripts/t/Dpkg_BuildInfo.t | 2 -- + scripts/t/Dpkg_BuildProfiles.t | 2 -- + scripts/t/Dpkg_BuildTypes.t | 2 -- + scripts/t/Dpkg_Checksums.t | 2 -- + scripts/t/Dpkg_Conf.t | 2 -- + scripts/t/Dpkg_Dist_Files.t | 2 -- + scripts/t/Dpkg_ErrorHandling.t | 2 -- + scripts/t/Dpkg_Exit.t | 2 -- + scripts/t/Dpkg_File.t | 2 -- + scripts/t/Dpkg_Getopt.t | 2 -- + scripts/t/Dpkg_Gettext.t | 2 -- + scripts/t/Dpkg_Index.t | 2 -- + scripts/t/Dpkg_Interface_Storable.t | 2 -- + scripts/t/Dpkg_Lock.t | 2 -- + scripts/t/Dpkg_OpenPGP.t | 2 -- + scripts/t/Dpkg_OpenPGP_KeyHandle.t | 2 -- + scripts/t/Dpkg_Package.t | 2 -- + scripts/t/Dpkg_Source_Archive.t | 2 -- + scripts/t/Dpkg_Source_Format.t | 2 -- + scripts/t/Dpkg_Source_Functions.t | 2 -- + scripts/t/Dpkg_Source_Package.t | 2 -- + scripts/t/Dpkg_Source_Patch.t | 2 -- + scripts/t/Dpkg_Source_Quilt.t | 2 -- + scripts/t/dpkg_buildpackage.t | 2 -- + scripts/t/dpkg_source.t | 2 -- + scripts/t/mk.t | 2 -- + 36 files changed, 70 deletions(-) + +commit 3ec8d6521182b7f76897959694d70283b13ace14 +Author: Guillem Jover +Date: Tue Mar 28 00:39:57 2023 +0200 + + Dpkg::Substvars: Handle exponential expansion gracefully + + We should switch our excessive recursive prevention check to cover + exponential expansion. Because with exponential expansion we always + make progress, the current check misses those cases, so we track + expansion per variable, and ignore those variables that do not contain + any dollar symbol as these cannot then be involved in further expansion. + + In this context this is not considered a security issue, but a + robustness issue, where we do not want the code to end up consuming + boundless amounts of memory. + + scripts/Dpkg/Substvars.pm | 23 +++++++++++--------- + scripts/t/Dpkg_Substvars.t | 52 +++++++++++++++++++++++++++++++++++++++++++--- + 2 files changed, 62 insertions(+), 13 deletions(-) + +commit cbeb8718d00362d396fffce288b91ab3e7a903ab +Author: Guillem Jover +Date: Tue Mar 28 00:39:57 2023 +0200 + + test: Add more substvar recursive replace cases + + scripts/t/Dpkg_Substvars.t | 54 ++++++++++++++++++++++++++++++++++++++++------ + 1 file changed, 48 insertions(+), 6 deletions(-) + +commit 5a90db4ac94bc60e39ed50cca2ed36f628f534da +Author: Guillem Jover +Date: Mon Mar 27 02:12:49 2023 +0200 + + test: Add missing argument to DPKG_FILE_SIZE m4 function + + src/at/local.at | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit df3042d991bac06b359532164a437bc2d8179339 +Author: Guillem Jover +Date: Mon Mar 27 02:11:33 2023 +0200 + + test: Use m4 to implement seq instead of assuming GNU seq is present + + Assuming GNU seq or a compatible command is present is not a portable + assumption to make. Instead we can use m4 to implement the equivalent + without any need of forking any process. + + src/at/deb-split.at | 2 +- + src/at/local.at | 5 +++++ + 2 files changed, 6 insertions(+), 1 deletion(-) + +commit a40a882fca3b7fc4b17a4da54d0193aff5743649 +Author: Guillem Jover +Date: Mon Mar 27 02:10:10 2023 +0200 + + test: Use the SED detected at configure time in autotests + + We should use the same tar we detected at configure time which + fulfilled the requirements we were looking for. + + src/at/deb-split.at | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 2c4814f7cb676c335c6372284ac95b7fc986effb Author: Guillem Jover Date: Sun Apr 23 04:44:32 2023 +0200 - libdpkg: Handle missing Version when formatting source:Upstream-Version + libdpkg: Handle missing Version when formatting source:Upstream-Version + + When dealing with virtual packages (such as the ones from Provides, or + for not-installed Recommends or Suggests), there might be no version + field at all, so we cannot assume we can use these when filling in the + version information in the fallback code handling the missing Source + field. + + The commit that removed the check for not-installed packages missed that + this instance had not been protected, as the code in varbufversion() is + doing the correct thing, but unfortunately we are not using that because + we need to get at the upstream part, so we need to also check explicitly + for a non-NULL upstream part. This was causing a segfault. + + Fixes: commit 560574b55a543d3d0a0f4e8abf0ae42f46d2a2f1 + Stable-Candidates: 1.20.x 1.21.x + Reported-by: John Scott + + lib/dpkg/pkg-format.c | 3 ++- + lib/dpkg/t/t-pkg-format.c | 19 ++++++++++++++++++- + 2 files changed, 20 insertions(+), 2 deletions(-) + +commit a96229021f8f5fbccae7dfeb7aa194d21d532ce5 +Author: Guillem Jover +Date: Sun Mar 26 23:39:31 2023 +0200 + + build: Detect whether we need librt for clock_gettime() + + On some systems clock_gettime() is part of the librt real-time library, + on some others it is part of libc (including latest glibc releases). + + configure.ac | 2 ++ + lib/dpkg/Makefile.am | 2 +- + m4/dpkg-libs.m4 | 17 +++++++++++++++++ + 3 files changed, 20 insertions(+), 1 deletion(-) + +commit 4734ac4440dfeb528b23d9b19fb05a70af0d4973 +Author: Guillem Jover +Date: Sun Mar 26 23:28:19 2023 +0200 + + test: Use the TAR detected at configure time in autotests + + We should use the same tar we detected at configure time which + fulfilled the requirements we were looking for. This fixes + build failures on systems where tar is not GNU. + + src/at/atlocal.in | 1 + + src/at/deb-format.at | 4 ++-- + 2 files changed, 3 insertions(+), 2 deletions(-) + +commit 37b71821181a580d2ae2629db0f966a0de3c5226 +Author: Helge Kreutzmann +Date: Sun Mar 26 07:56:36 2023 +0200 + + po: Update German man pages translation + + man/po/de.po | 58 ++++++++++++++++++++++++++++++++++++++-------------------- + 1 file changed, 38 insertions(+), 20 deletions(-) + +commit d99622e63228ae11c8e995326b016af8d87f18fe +Author: Helge Kreutzmann +Date: Sun Mar 26 07:55:08 2023 +0200 + + po: Update German scripts translation + + scripts/po/de.po | 34 +++++++++++++++++----------------- + 1 file changed, 17 insertions(+), 17 deletions(-) + +commit b470825f5bfe6c805d22da0dcd17ce02485a0d9e +Author: Guillem Jover +Date: Wed Mar 1 00:10:35 2023 +0100 + + dselect: Use «color» uniformly in variables and comments + + Leave the British English compatibility command-line option alone, but + otherwise unify the spelling to use the American English everywhere + else. + + Changelog: internal + + dselect/baselist.cc | 2 +- + dselect/main.cc | 34 +++++++++++++++++----------------- + 2 files changed, 18 insertions(+), 18 deletions(-) + +commit acf8d09f23de5d69ecbaa87b6173a7f8650efb3f +Author: Guillem Jover +Date: Wed Mar 1 00:10:35 2023 +0100 + + dselect: Reword odd code comment + + There are no patriots here. + + Changelog: internal + + dselect/main.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit abe00f977e1164336aaac52c1a6d304c8c5ed0dc +Author: Guillem Jover +Date: Tue Feb 28 23:54:51 2023 +0100 + + doc: Use «honor» and «behavior» uniformly in documentation and output + + Use the American English variants uniformly. Leave the ones found in + changelog entries for other authors than myself to avoid putting words + in their mouths. We also leave the only remaining «our»-ending word + for «favour» as that is part of the maintscripts interface, and to avoid + confusion we leave other non-interface references alone for consistency. + + debian/changelog | 26 +++++++++++++------------- + doc/spec/rootless-builds.txt | 2 +- + doc/spec/triggers.txt | 6 +++--- + lib/dpkg/parse.c | 2 +- + man/deb-src-symbols.pod | 4 ++-- + man/dpkg-buildflags.pod | 4 ++-- + man/dpkg-gencontrol.pod | 4 ++-- + man/dpkg-maintscript-helper.pod | 2 +- + man/dpkg-source.pod | 6 +++--- + scripts/Dpkg/Compression/FileHandle.pm | 2 +- + scripts/Dpkg/Control.pm | 2 +- + scripts/Dpkg/Deps.pm | 2 +- + scripts/Dpkg/Vendor/Debian.pm | 2 +- + scripts/Dpkg/Vendor/Devuan.pm | 2 +- + scripts/Dpkg/Vendor/Ubuntu.pm | 2 +- + scripts/dpkg-buildflags.pl | 2 +- + src/common/force.c | 2 +- + src/deb/extract.c | 2 +- + tests/README | 2 +- + 19 files changed, 38 insertions(+), 38 deletions(-) + +commit d27795961ad51245935f782222df0876790ef50a +Author: Guillem Jover +Date: Tue Feb 28 23:46:16 2023 +0100 + + build: Check for the host architecture attributes during configure + + Check part of what constitutes the ABI of the host architecture, and + print it during configure, so that there's a ready reference on what + the port looks like. + + configure.ac | 20 +++++++++++++++++++- + m4/dpkg-arch.m4 | 37 +++++++++++++++++++++++++++++++++++-- + 2 files changed, 54 insertions(+), 3 deletions(-) + +commit f93a147c1bc07bf912f3be59949a188aa6aa2583 +Author: Guillem Jover +Date: Tue Feb 28 23:44:52 2023 +0100 + + build: Remove unused AC_SIZEOF checks + + These stopped being used some time ago when the md5.c code using them + got removed in commit 2767801430de3c6d4ec7394e286fc261a8180feb. + + configure.ac | 2 -- + 1 file changed, 2 deletions(-) + +commit d909a04b15ac39305dfe979077c7a34d69616c8d +Author: Guillem Jover +Date: Tue Feb 28 23:24:10 2023 +0100 + + test: Update rationale for perlcritic check suppressions + + Explain better why these checks are currently disabled. + + t/critic/perlcriticrc | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +commit 5d64af3892539b720ad87939e223f322716950f2 +Author: Guillem Jover +Date: Sat Mar 25 20:06:49 2023 +0100 + + test: Make some perlcritic checks more strict + + These were being ignored completely, but we can tune them to at least + catch some of the issues and avoid the current ones that trigger them. + + t/critic.t | 2 ++ + t/critic/perlcriticrc | 14 ++++++++------ + 2 files changed, 10 insertions(+), 6 deletions(-) + +commit 91711d51200bbe3634b470230f6b86cedf40938e +Author: Guillem Jover +Date: Sat Mar 25 19:53:53 2023 +0100 + + Dpkg::Control::HashCore::Tie: Rename $last to $prev + + Warned-by: perlcritic + Addresses: NamingConventions::ProhibitAmbiguousNames + + scripts/Dpkg/Control/HashCore/Tie.pm | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit b2de67e2c2cd7c595dce3b62b40d50555af69866 +Author: Guillem Jover +Date: Tue Jan 31 22:07:51 2023 +0100 + + Dpkg::Vendor::Debian: Add time64 feature in the future area + + This feature (disabled by default) enables 64-bit time on 32-bit + architectures where their ABI does not define it by default. This + feature automatically enables the lfs one as it is required by it. + + Do not enable time64 for the new 32-bit architectures that already have + it enabled by default as part of their ABI, that is «arc» and «or1k». + + Closes: #1030159 + Based-on-patch-by: Helge Deller + + man/dpkg-buildflags.pod | 7 +++++++ + scripts/Dpkg/Vendor/Debian.pm | 21 ++++++++++++++++++--- + scripts/t/Dpkg_BuildFlags.t | 1 + + 3 files changed, 26 insertions(+), 3 deletions(-) + +commit 5fedb87ab63cb1a3a055dd43e2cfd2bb44e3843d +Author: Helge Kreutzmann +Date: Sat Mar 25 17:56:08 2023 +0100 + + po: Update German man pages translation + + man/po/de.po | 203 +++++++++++++++++++++++++++++++++-------------------------- + 1 file changed, 113 insertions(+), 90 deletions(-) + +commit 912c55f05c61ff65daf3c583f15749cf1237bdeb +Author: Guillem Jover +Date: Tue Jan 31 00:12:24 2023 +0100 + + dpkg-gensymbols: Use File::Compare instead of Digest::MD5 + + This was a very convoluted way to check whether the files have the same + contents. + + Changelog: internal + + scripts/dpkg-gensymbols.pl | 7 ++----- + 1 file changed, 2 insertions(+), 5 deletions(-) + +commit caad4722262bcb5bd083d05a3df435c8f46eead8 +Author: Guillem Jover +Date: Mon Jan 30 23:38:41 2023 +0100 + + dpkg-genchanges: Replace Encode usage with utf8 encode/decode functions + + In Debian this module is not part of the perl-base essential package, + switch to use the encode/decode functions from the utf8 functions + instead. + + Changelog: internal + + scripts/dpkg-genchanges.pl | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +commit 6394ba430ab7f239c37bb5d39a24083860fffee3 +Author: Guillem Jover +Date: Sat Mar 18 19:53:12 2023 +0100 + + dpkg-genchanges: Refactor .changes file description formatting into a function + + This encapsulates the formatting into a function for more clear code on + the call site. + + Changelog: internal + + scripts/dpkg-genchanges.pl | 18 +++++++++++++++--- + 1 file changed, 15 insertions(+), 3 deletions(-) + +commit 1c8f209ff5c71b97cc7c3eaf5f491a059db7441f +Author: Guillem Jover +Date: Fri Feb 24 02:41:17 2023 +0100 + + build: Enable more compiler warnings + + These are a new batch of warnings, including ones from newer gcc and + clang releases. + + m4/dpkg-compiler.m4 | 22 ++++++++++++++++++++++ + 1 file changed, 22 insertions(+) + +commit e89d07b88758f09ac1f8404f2b2f231ec525b68e +Author: Guillem Jover +Date: Thu Feb 23 22:28:14 2023 +0100 + + s-s-d: Initialize variables in run_stop_schedule() + + These are properly initialized, but the compiler gets confused as they + are only initialized on some of the branches, but they are guaranteed + to always get initialized because we can only specify «forever» once + and need at least one other item (either a timeout or a signal). + + Warned-by: clang-16 -Wconditional-uninitialized + +Notes: + Changelog: internal + + utils/start-stop-daemon.c | 2 ++ + 1 file changed, 2 insertions(+) + +commit 78bbc5b3089cd910f5945a4850f987e17d7ee75f +Author: Guillem Jover +Date: Fri Feb 24 02:36:18 2023 +0100 + + libdpkg: Unconditionally initialize c variable in parse_stanza() + + The compiler can get confused and consider that c does not always get + initialized, but the code flow makes sure that either the first loop + has entered and thus c gets initialized, or if it did not, then we do an + early return immediately after. + + Warned-by: clang-16 -Wconditional-uninitialized + + lib/dpkg/parse.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit b95c96c278860fd3020ee378c5bcbf829f985756 +Author: Guillem Jover +Date: Thu Feb 23 20:14:00 2023 +0100 + + lib, src, utils: Use new enum flag C attributes + + Warned-by: clang-16 -Wassign-enum + Changelog: internal + + lib/dpkg/atomic-file.h | 2 +- + lib/dpkg/c-ctype.h | 2 +- + lib/dpkg/debug.h | 2 +- + lib/dpkg/dpkg-db.h | 6 +++--- + lib/dpkg/fsys.h | 4 ++-- + lib/dpkg/parsedump.h | 2 +- + lib/dpkg/pkg-spec.h | 2 +- + lib/dpkg/subproc.h | 2 +- + lib/dpkg/treewalk.h | 2 +- + lib/dpkg/trigdeferred.h | 2 +- + lib/dpkg/version.h | 2 +- + src/common/force.h | 2 +- + src/deb/dpkg-deb.h | 2 +- + src/main/configure.c | 2 +- + utils/start-stop-daemon.c | 2 +- + utils/update-alternatives.c | 2 +- + 16 files changed, 19 insertions(+), 19 deletions(-) + +commit ef97777bbcc4e6d0394909ebbd410186e1114790 +Author: Guillem Jover +Date: Thu Feb 23 20:11:11 2023 +0100 + + lib: Add an enum flags attribute + + This will make it possible to mark enum types that use bitmasks, and be + able to check that we assign only valid values. + + Warned-by: clang-16 -Wassign-enum + + lib/compat/compat.h | 7 +++++++ + lib/dpkg/macros.h | 7 +++++++ + 2 files changed, 14 insertions(+) + +commit e20fd993e4f66a9fcbd6ee70857e7428d1413abc +Author: Guillem Jover +Date: Fri Feb 24 03:12:48 2023 +0100 + + test: Disable -Wassign-enum for tests using out of range enum values + + We are testing the behavior of these functions when we pass out of range + values, so we should disable the warning. + + Warned-by: clang-16 -Wassign-enum + + lib/dpkg/t/t-arch.c | 2 ++ + lib/dpkg/t/t-pkginfo.c | 2 ++ + 2 files changed, 4 insertions(+) + +commit 59d6887ece7f407f9e665c79bfeaa652401d5ed8 +Author: Guillem Jover +Date: Sat Mar 25 16:40:03 2023 +0100 + + libdpkg: Add warning suppression macros + + These should make it possible to suppress warnings for specific code + blocks, while not needing to disable the warnings globally. + + lib/dpkg/macros.h | 29 +++++++++++++++++++++++++++++ + 1 file changed, 29 insertions(+) + +commit 4f1dbeae8d16fefb15c713dc6cb0dba0359ab2ef +Author: Guillem Jover +Date: Fri Feb 24 02:39:52 2023 +0100 + + libdpkg: Add enumerations for the default, unset and max cases + + With a strict handling of enums, we need enumerations for all used + values, but we were passing explicit literal integers that were not + described as any enumeration. + + Warned-by: clang-16 -Wassign-enum + + lib/dpkg/compress.h | 2 ++ + lib/dpkg/dpkg-db.h | 4 ++++ + lib/dpkg/fsys.h | 4 ++++ + lib/dpkg/parsedump.h | 2 ++ + 4 files changed, 12 insertions(+) + +commit e2c1b1e59f35107cf2dc6413d446a0b3b2c73e67 +Author: Guillem Jover +Date: Thu Feb 23 20:16:19 2023 +0100 + + libdpkg: Switch bitmasks enumerations into precise masks + + Do not over mask, and use the precise bits we are trying to mask. + + Warned-by: clang-16 -Wassign-enum + + lib/dpkg/dpkg-db.h | 2 +- + lib/dpkg/pkg-spec.h | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit 7b18e7f53032bd482065d322dc4532fe436f6430 +Author: Guillem Jover +Date: Thu Feb 23 20:14:54 2023 +0100 + + libdpkg: Rename FHFF_NONE to FHFF_NONEW + + The _NONE name tends to signify lack of flags, which can be confusing + here where it refers to not finding an existing node and then not + inserting a new one. + + lib/dpkg/fsys-hash.c | 2 +- + lib/dpkg/fsys.h | 4 ++-- + lib/dpkg/t/t-fsys-hash.c | 14 +++++++------- + lib/dpkg/triglib.h | 2 +- + src/divert/main.c | 6 +++--- + src/statoverride/main.c | 2 +- + 6 files changed, 15 insertions(+), 15 deletions(-) + +commit f1764c619861b2f13c59459166488ea8fb983e83 +Author: Guillem Jover +Date: Fri Feb 24 03:11:41 2023 +0100 + + libdpkg: Make local variables static + + Warned-by: clang-16 -Wmissing-variable-declarations + + lib/dpkg/t/c-tarextract.c | 2 +- + lib/dpkg/t/t-ehandle.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit ee2a693d995c2469330c2076d5bda8e9b510be6c +Author: Guillem Jover +Date: Thu Feb 23 22:24:15 2023 +0100 + + libcompat: Declare veriables before definitions + + Make sure we declare these variables before defining them. In case + of sys_siglist if the system does not have it we should provide a + declaration in the header file. + + Warned-by: clang-16 -Wmissing-variable-declarations + +Notes: + Changelog: s/veriables/variables/ + + lib/compat/compat.h | 4 ++++ + lib/compat/empty.c | 1 + + 2 files changed, 5 insertions(+) + +commit 393704ec0b91bfbbd0cfef0384524f3e1474f689 +Author: Guillem Jover +Date: Thu Feb 23 11:30:07 2023 +0100 + + dpkg-trigger: Rename CLI option variables from f_ to opt_ + + This matches the pattern used in other parts of the codebase. + +Notes: + Changelog: internal + + src/trigger/main.c | 41 +++++++++++++++++++++-------------------- + 1 file changed, 21 insertions(+), 20 deletions(-) + +commit 39270cb2c8a9a872041072744efba3278469202b +Author: Guillem Jover +Date: Sun Nov 17 06:49:51 2013 +0100 + + dpkg-deb, dpkg-query: Rename option flags to opt_NAME + + The other CLI option variables are named as opt_NAME. Unify the naming + convention to make it consistent. + +Notes: + Changelog: internal + + src/deb/build.c | 4 ++-- + src/deb/dpkg-deb.h | 5 +++-- + src/deb/info.c | 2 +- + src/deb/main.c | 12 ++++++------ + src/query/main.c | 6 +++--- + 5 files changed, 15 insertions(+), 14 deletions(-) + +commit 0fc09befa9f6264950dd80a2e5095d060e41a695 +Author: Guillem Jover +Date: Thu Feb 23 11:22:58 2023 +0100 + + dpkg-deb: Refactor maintscript interpreter parser + + Changelog: internal + + src/deb/info.c | 61 ++++++++++++++++++++++++++++++++++++++++------------------ + 1 file changed, 42 insertions(+), 19 deletions(-) + +commit b4a1e235ebcadf31cc7653bf3de67b6a742fe62b +Author: Guillem Jover +Date: Fri Jan 13 22:38:39 2023 +0100 + + dpkg-deb: Do not print trailing spaces in --info output + + This avoids printing unnecessary trailing spaces on output, which make + testing that more annoying. + + src/at/deb-format.at | 26 ++++++++++---------------- + src/deb/info.c | 11 +++++++---- + 2 files changed, 17 insertions(+), 20 deletions(-) + +commit 33812bb1b26ab9c594dcee901aa8290a5d8056bd +Author: Guillem Jover +Date: Fri Jan 13 22:38:39 2023 +0100 + + dpkg-deb: Use intermediate variable for exec mark on --info output + + We will be splitting the print, and this will avoid having to repeat + the logic in the different branches. + + Changelog: internal + + src/deb/info.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 7c721f1610d7c1f7a934455ac7b95e3c1df1f4d5 +Author: Guillem Jover +Date: Fri Feb 24 23:55:16 2023 +0100 + + man: Fix OpenPGP backends list in dpkg-buildpackage(1) + + Move the body of the items into the next line, so that pod2man can + properly convert these to item lists and adds the necessary formatting + to avoid the lines before the next item to stick together. + + man/dpkg-buildpackage.pod | 14 ++++++++++---- + 1 file changed, 10 insertions(+), 4 deletions(-) + +commit 86326a0d19fece47a6ff8a26bd37c662c1b6bcd4 +Author: Guillem Jover +Date: Fri Mar 24 05:54:40 2023 +0100 + + Dselect::Method::Ftp: Update package name + + The documentation and actual module name were not updated, due to a + botched check run. + + Fixes: commit 306270f4bd1dbfed1629289727094e0204acbe6f + + dselect/methods/Dselect/Method/Ftp.pm | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 5c2bf2c802c9d58539654096dc4e23ffce673977 +Author: Guillem Jover +Date: Tue Mar 21 00:31:30 2023 +0100 + + dselect: Remove unused ismulti() function from media method actions + + This function is only used in the setup action script. + +Notes: + Changelog: internal + + dselect/methods/media/install.sh | 3 --- + dselect/methods/media/update.sh | 4 ---- + 2 files changed, 7 deletions(-) + +commit ebf49a807ca8cd8b51c4a5166765777dbdf979d9 +Author: Guillem Jover +Date: Mon Mar 20 23:50:17 2023 +0100 + + Dselect::Method: Move to be generic functions from Dselect::Ftp + + dselect/methods/Dselect/Method.pm | 267 ++++++++++++++++++++++++++++++++++ + dselect/methods/Dselect/Method/Ftp.pm | 210 +------------------------- + dselect/methods/Makefile.am | 1 + + dselect/methods/ftp/install.pl | 1 + + dselect/methods/ftp/setup.pl | 1 + + dselect/methods/ftp/update.pl | 1 + + 6 files changed, 272 insertions(+), 209 deletions(-) + +commit be3d4780796902b168aca9480fb02a097f148f58 +Author: Guillem Jover +Date: Mon Mar 20 23:33:37 2023 +0100 + + Dselect::Method::Ftp: Modify config and site subs towards method independence + + Pass the method as an argument and parametrize it inside the function, + so that we can keep generalizing it towards a general purpose config and + site handling set of functions. + + dselect/methods/Dselect/Method/Ftp.pm | 26 ++++++++++++++------------ + dselect/methods/ftp/setup.pl | 4 ++-- + 2 files changed, 16 insertions(+), 14 deletions(-) + +commit 306270f4bd1dbfed1629289727094e0204acbe6f +Author: Guillem Jover +Date: Mon Mar 20 23:52:52 2023 +0100 + + Dselect::Method::Ftp: Rename from Dselect::Ftp + + Namespace the modules, as we are going to be adding other method modules + in the future. + + dselect/methods/Dselect/{ => Method}/Ftp.pm | 0 + dselect/methods/Makefile.am | 2 +- + dselect/methods/ftp/install.pl | 2 +- + dselect/methods/ftp/setup.pl | 2 +- + dselect/methods/ftp/update.pl | 2 +- + 5 files changed, 4 insertions(+), 4 deletions(-) + +commit 3080cf3ed4d9cd72e9f6873a7e6a0335b51005fb +Author: Guillem Jover +Date: Fri Mar 24 05:38:42 2023 +0100 + + build: Do not distribute removed files + + Fixes: commit 34a0f86af59cea81a8178306a0decdeae5cbade2 + Changelog: silent + + Makefile.am | 2 -- + 1 file changed, 2 deletions(-) + +commit 6bccf60d337b153c3dfb20c606ee98fe1962a9c0 +Author: Guillem Jover +Date: Sat Mar 18 15:30:58 2023 +0100 + + dselect: Relicense ftp method from GPL-2 to GPL-2+ + + This code was merged from the dpkg-ftp package, which had a GPL-2 + license. + + With the agreement from authors with original or non-trivial code: + + Andy Guy + + Christian Hudon + + Yann Dirson + + Martin Schulze + + Raphaël Hertzog + + + and myself with this commit, relicense this code from GPL-2 to GPL-2+ + to simplify the licensing for the dselect methods and make it possible + to refactor and shuffle code around without creating licensing issues. + + Signed-off-by: Guillem Jover + + debian/copyright | 25 ++----------------------- + dselect/methods/Dselect/Ftp.pm | 3 ++- + dselect/methods/ftp/install.pl | 3 ++- + dselect/methods/ftp/setup.pl | 3 ++- + dselect/methods/ftp/update.pl | 3 ++- + 5 files changed, 10 insertions(+), 27 deletions(-) + +commit de9f783cc4f31dba8b639086dc5f0f706dbf6f74 +Author: Guillem Jover +Date: Thu Mar 16 22:16:14 2023 +0100 + + dselect: Update Andy Guy email address + + Changelog: internal + + debian/copyright | 2 +- + dselect/methods/ftp/install.pl | 2 +- + dselect/methods/ftp/setup.pl | 2 +- + dselect/methods/ftp/update.pl | 2 +- + 4 files changed, 4 insertions(+), 4 deletions(-) + +commit 9ef7bce9736125fd22bfb2d63869ecd1d3b228e7 +Author: Guillem Jover +Date: Fri Mar 24 00:04:46 2023 +0100 + + debian: Fix removal of file method state directory on purge + + The method got renamed, but the cleanup on purge was missed. + + Fixes: commit 43c95774959d7a20f564eb8fcd4a2ebde01d68ab + + debian/dselect.postrm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 34a0f86af59cea81a8178306a0decdeae5cbade2 +Author: Guillem Jover +Date: Fri Mar 24 00:04:14 2023 +0100 + + debian: Remove no longer needed maintscripts for method renames + + These renames happened during the 1.22.x cycle, so it is safe now to + remove the code. + + debian/dselect.preinst | 50 ------------------------------------------------- + debian/dselect.prerm | 51 -------------------------------------------------- + 2 files changed, 101 deletions(-) + +commit 03abb4932e9c149ba872d0d0b9e115452a130df7 +Author: Guillem Jover +Date: Thu Mar 23 23:56:56 2023 +0100 + + debian: Remove no longer needed alternatives fixup from postint + + This was a short-lived issue that was hot-fixed a few days after the + initial release, but has been kept for the entire cycle to catch any + straggler systems that might have not been updated since. After a + release it should be safe now to remove. + + debian/dpkg.postinst | 47 ----------------------------------------------- + 1 file changed, 47 deletions(-) + +commit c2522bd7db0b7b05c7f9a4013b33b61f04e3f04b +Author: Guillem Jover +Date: Thu Mar 23 23:59:30 2023 +0100 + + debian: Remove executable permissions from maintscripts in source + + Only two maintscripts had executable permissions set, so this was + already inconsistent. But having these as executable in the source + tree is dangerous as they could be executed by accident (although + that would require root privileges) and that would run on the main + system. + + debian/dpkg.postrm | 0 + debian/dselect.postrm | 0 + 2 files changed, 0 insertions(+), 0 deletions(-) + +commit 9fc12b744cdb249ea02ddfbea7bc5d8fad822b97 +Author: Guillem Jover +Date: Sun Mar 19 04:26:13 2023 +0100 + + scripts: Switch code to use chained comparisons + + Since perl 5.32 we can use chained comparisons, which should make these + operations more obvious and compact. + + scripts/Dpkg/Changelog.pm | 2 +- + scripts/dpkg-scanpackages.pl | 2 +- + scripts/dpkg-scansources.pl | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +commit f506e5dbc94393e9b5a8783d992815dca8ea7a2b +Author: Guillem Jover +Date: Tue Feb 21 02:21:48 2023 +0100 + + perl: Use fixed string comparisons for field name matches + + We can replace all these regex comparisons with fixed string matches, + including the ones that are case-insensitive as the fields are always + normalized to their preferred form. + + Warned-by: perlcritic + Addresses: RegularExpressions::ProhibitFixedStringMatches + + scripts/Dpkg/Changelog.pm | 6 +++--- + scripts/dpkg-genchanges.pl | 18 +++++++++--------- + scripts/dpkg-gencontrol.pl | 12 ++++++------ + scripts/dpkg-source.pl | 18 +++++++++--------- + 4 files changed, 27 insertions(+), 27 deletions(-) + +commit fca9a4b8937245f6a4198e8d5d910724462f6600 +Author: Guillem Jover +Date: Tue Feb 21 02:09:56 2023 +0100 + + perl: Use an $f variable for fields instead of the topic variable + + This makes the usage more clear, and once we switch to literal string + matches we would need to use the variable explicitly anyway. + + scripts/Dpkg/Changelog.pm | 22 ++++++++++--------- + scripts/dpkg-genchanges.pl | 38 ++++++++++++++++----------------- + scripts/dpkg-gencontrol.pl | 39 +++++++++++++++++----------------- + scripts/dpkg-source.pl | 53 ++++++++++++++++++++++++---------------------- + 4 files changed, 79 insertions(+), 73 deletions(-) + +commit 3465ceb0be34fa6502ba02eaa672c1f842269b2e +Author: Guillem Jover +Date: Tue Feb 21 02:07:58 2023 +0100 + + perl: Rename Dpkg::Control variables from $f to $c or $ctrl + + Avoid the potential confusion. + + scripts/Dpkg/Changelog.pm | 66 +++++++++++++++++----------------- + scripts/Dpkg/Changelog/Entry.pm | 2 +- + scripts/Dpkg/Changelog/Entry/Debian.pm | 28 +++++++-------- + 3 files changed, 48 insertions(+), 48 deletions(-) + +commit 177860d09d05695a472fc4aae980f30120ee2b97 +Author: Guillem Jover +Date: Tue Feb 21 01:32:58 2023 +0100 + + dpkg-genchanges: Move comment describing %sourcedefault before declaration + + Changelog: internal + + scripts/dpkg-genchanges.pl | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit c5c5b8d995d3fae3eed303fbc4e81f06b7ddaad7 +Author: Guillem Jover +Date: Tue Feb 21 01:31:24 2023 +0100 + + perl: Rename filename related variables to distinguish them from field ones + + The code prominently handles fields, so using $f or similarly short + variants of that (as part of a hash variable name) is confusing when + surrounding code is handling fields in also $f named variables. + + scripts/Dpkg/Path.pm | 4 +-- + scripts/dpkg-genchanges.pl | 61 ++++++++++++++++++++++++---------------------- + 2 files changed, 34 insertions(+), 31 deletions(-) + +commit f3847fcb949df8db738d71dff026d742cac8552e +Author: Guillem Jover +Date: Tue Feb 21 00:01:39 2023 +0100 + + Dpkg::Control::FieldsCore: Deprecate implicit field_transfer_single() argument + + The usage pattern for this is very non-intuitive on the call sites. Emit + a deprecation warning, to warn any potential external users. And after a + bit this support will be removed. + + scripts/Dpkg/Control/FieldsCore.pm | 13 +++++++++++-- + 1 file changed, 11 insertions(+), 2 deletions(-) + +commit 0a4d1d623424aba17a9c8c1862c196ca079e3e1c +Author: Guillem Jover +Date: Mon Feb 20 23:43:59 2023 +0100 + + perl: Pass $_ explicitly to field_transfer_single() + + Passing $_ implicitly is very confusing for the reader on the call + sites. Pass it explicitly, and eventually we'll give these a proper + variable instead. + + scripts/Dpkg/Changelog.pm | 6 +++--- + scripts/dpkg-genchanges.pl | 6 +++--- + scripts/dpkg-gencontrol.pl | 6 +++--- + scripts/dpkg-source.pl | 6 +++--- + 4 files changed, 12 insertions(+), 12 deletions(-) + +commit 4496df866ffcbc8c4b47f0fe2ba2132652ab7b26 +Author: Guillem Jover +Date: Sun Feb 19 05:16:54 2023 +0100 + + perl: Use List::Util instead of fixed string matches within a regex + + Warned-by: perlcritic + Addresses: RegularExpressions::ProhibitFixedStringMatches + + scripts/Dpkg/BuildOptions.pm | 4 +++- + scripts/Dpkg/Vendor/Debian.pm | 10 ++++++---- + 2 files changed, 9 insertions(+), 5 deletions(-) + +commit 028c98d414fca8b03b9f28d5aef45231b0c25a62 +Author: Guillem Jover +Date: Sun Feb 19 00:22:17 2023 +0100 + + test: Enable perlcritic RegularExpressions::ProhibitCaptureWithoutTest + + Suppress perlcritic false positives in code. + + Warned-by: perlcritic + Fixes: RegularExpressions::ProhibitCaptureWithoutTest + + scripts/Dpkg/BuildOptions.pm | 1 + + scripts/Dpkg/BuildProfiles.pm | 1 + + scripts/Dpkg/Changelog/Entry/Debian.pm | 1 + + scripts/Dpkg/Checksums.pm | 1 + + scripts/Dpkg/Deps/Simple.pm | 1 + + scripts/Dpkg/Substvars.pm | 1 + + scripts/dpkg-scansources.pl | 1 + + scripts/dpkg-shlibdeps.pl | 1 + + t/critic.t | 1 + + 9 files changed, 9 insertions(+) + +commit bf0b6a281e0e73526de7b22a1269929104a541b3 +Author: Guillem Jover +Date: Sun Feb 19 00:40:54 2023 +0100 + + Dpkg::Source::Archive: Reflow regex match in _add_entry() + + Reflow the code so that it does not trigger the perlcritic check, + and improve the regex match operator and comment. + + Warned-by: perlcritic + Addresses: RegularExpressions::ProhibitCaptureWithoutTest + + scripts/Dpkg/Source/Archive.pm | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +commit 76a2abe03feea13f047f10a7c830d15f8af79ab4 +Author: Guillem Jover +Date: Sun Feb 19 00:40:54 2023 +0100 + + Dpkg::Source::Archive: Fix file normalization for relative pathnames + + The code was using a non-existent captured variable, replace it with the + correct one. This did not affect any current usage in the dpkg codebase, + as we always pass pathnames relative to the source root directory. + + scripts/Dpkg/Source/Archive.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit fb10bcc9914beed5b779ac4fda86eaa784aa8c69 +Author: Guillem Jover +Date: Sun Feb 19 00:38:23 2023 +0100 + + dpkg-scansources: Reorder captured variable and regex match + + The immediately preceding regex does not capture, but this seems to + be confusing perlcritic, as we then use a captured variable which is + already being conditionally used. + + Warned-by: perlcritic + Addresses: RegularExpressions::ProhibitCaptureWithoutTest + +Notes: + Changelog: internal + + scripts/dpkg-scansources.pl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit a3b45d71d21f77967e0526b6ed4e12a1d81c2538 +Author: Guillem Jover +Date: Sun Feb 19 00:22:58 2023 +0100 + + test: Do not use potentially bogus variable value + + When there is no regex match the capturing variable does not get its + value modified, so we cannot rely on it being valid or undef. + + Warned-by: perlcritic + Addresses: RegularExpressions::ProhibitCaptureWithoutTest + + utils/t/update_alternatives.t | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +commit 4d4817a94a8cce2938281eb1457af9ba54a719bf +Author: Guillem Jover +Date: Fri Mar 17 23:05:12 2023 +0100 + + perl: Stop removing «.» from @INC before loading modules + + Since perl 5.26, the current directory («.») is no longer added to @INC, + and as such this is not a security concern anymore. + + dselect/methods/ftp/install.pl | 1 - + dselect/methods/ftp/setup.pl | 2 -- + dselect/methods/ftp/update.pl | 2 -- + scripts/Dpkg/Changelog/Parse.pm | 1 - + scripts/Dpkg/Gettext.pm | 1 - + scripts/Dpkg/Lock.pm | 1 - + scripts/Dpkg/OpenPGP.pm | 1 - + scripts/Dpkg/Source/Package.pm | 1 - + scripts/Dpkg/Vendor.pm | 1 - + scripts/dpkg-fsys-usrunmess.pl | 1 - + scripts/dpkg-mergechangelogs.pl | 1 - + 11 files changed, 13 deletions(-) + +commit d3a23c05a6f2940e862e37a7f14157b42d2c7922 +Author: Guillem Jover +Date: Fri Mar 17 00:02:09 2023 +0100 + + debian: Merge copyright statements for the same holder + + debian/copyright | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +commit 2fb0d6625668afe339328023148e6e48e6538ae8 +Author: Guillem Jover +Date: Tue Mar 7 23:49:26 2023 +0100 + + Dpkg::Gettext: Relicense from BSD-2 to GPL-2+ + + This file was originally copied from the Debconf::Gettext module from + debconf with a BSD-2 license, originally by Joey Hess, which got + modified by Nicolas François on import, and subsequently reworked by + me, and with a trivial change by Raphaël Hertzog. + + With agreement from authors with original or non-trivial code: + + Joey Hess + + Nicolas François + + + and myself with this commit, relicense this file from BSD-2 to GPL-2+ + to simplify the licensing for the Dpkg perl modules. + + Signed-off-by: Guillem Jover + + debian/copyright | 33 ++------------------------------- + scripts/Dpkg/Gettext.pm | 33 +++++++++++++-------------------- + 2 files changed, 15 insertions(+), 51 deletions(-) + +commit a305f35d2fe2dce0c8bf06549b2d01ef45d20590 +Author: Guillem Jover +Date: Fri Mar 17 00:42:26 2023 +0100 + + scripts: Use «(undef) x N» to ignore tuples or function returns + + Supported since perl 5.22. + + scripts/Dpkg/Arch.pm | 4 +++- + scripts/dpkg-genbuildinfo.pl | 4 +++- + scripts/t/Dpkg_Arch.t | 2 +- + 3 files changed, 7 insertions(+), 3 deletions(-) + +commit 09b864c7bfe77d1fff349d29d658fd53c4227ceb +Author: Guillem Jover +Date: Thu Mar 16 01:55:30 2023 +0100 + + Dpkg::Version: Update POD for removed semantic_change::overload::bool warning + + Add a comment on the warning registration to avoid accidental removal, + and update the documentation about the warning to make it clear it has + been removed, and how to cope with the compatibility code. + + scripts/Dpkg/Version.pm | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +commit 1ae6b726dd612a113d2f1dad92ce81cfad982917 +Author: Guillem Jover +Date: Wed Mar 15 23:58:43 2023 +0100 + + perl: Remove unused Dpkg::Version semantic_change warning suppression + + scripts/Dpkg/Shlibs/Symbol.pm | 4 ---- + scripts/Dpkg/Shlibs/SymbolFile.pm | 4 ---- + 2 files changed, 8 deletions(-) + +commit 09731bcc3b5c3a18d15489c611d86e9d5fb2680a +Author: Guillem Jover +Date: Wed Mar 15 23:50:02 2023 +0100 + + perl: Move $VERSION into package keyword + + dselect/methods/Dselect/Ftp.pm | 3 +-- + scripts/Dpkg.pm | 3 +-- + scripts/Dpkg/Arch.pm | 3 +-- + scripts/Dpkg/Build/Info.pm | 3 +-- + scripts/Dpkg/BuildEnv.pm | 4 +--- + scripts/Dpkg/BuildFlags.pm | 4 +--- + scripts/Dpkg/BuildInfo.pm | 3 +-- + scripts/Dpkg/BuildOptions.pm | 4 +--- + scripts/Dpkg/BuildProfiles.pm | 3 +-- + scripts/Dpkg/BuildTypes.pm | 3 +-- + scripts/Dpkg/Changelog.pm | 4 +--- + scripts/Dpkg/Changelog/Debian.pm | 4 +--- + scripts/Dpkg/Changelog/Entry.pm | 4 +--- + scripts/Dpkg/Changelog/Entry/Debian.pm | 3 +-- + scripts/Dpkg/Changelog/Parse.pm | 3 +-- + scripts/Dpkg/Checksums.pm | 3 +-- + scripts/Dpkg/Compression.pm | 3 +-- + scripts/Dpkg/Compression/FileHandle.pm | 4 +--- + scripts/Dpkg/Compression/Process.pm | 4 +--- + scripts/Dpkg/Conf.pm | 4 +--- + scripts/Dpkg/Control.pm | 3 +-- + scripts/Dpkg/Control/Changelog.pm | 4 +--- + scripts/Dpkg/Control/Fields.pm | 3 +-- + scripts/Dpkg/Control/FieldsCore.pm | 3 +-- + scripts/Dpkg/Control/Hash.pm | 4 +--- + scripts/Dpkg/Control/HashCore.pm | 4 +--- + scripts/Dpkg/Control/HashCore/Tie.pm | 4 +--- + scripts/Dpkg/Control/Info.pm | 4 +--- + scripts/Dpkg/Control/Tests.pm | 4 +--- + scripts/Dpkg/Control/Tests/Entry.pm | 4 +--- + scripts/Dpkg/Control/Types.pm | 3 +-- + scripts/Dpkg/Deps.pm | 3 +-- + scripts/Dpkg/Deps/AND.pm | 4 +--- + scripts/Dpkg/Deps/KnownFacts.pm | 4 +--- + scripts/Dpkg/Deps/Multiple.pm | 4 +--- + scripts/Dpkg/Deps/OR.pm | 4 +--- + scripts/Dpkg/Deps/Simple.pm | 4 +--- + scripts/Dpkg/Deps/Union.pm | 4 +--- + scripts/Dpkg/Dist/Files.pm | 4 +--- + scripts/Dpkg/ErrorHandling.pm | 3 +-- + scripts/Dpkg/Exit.pm | 3 +-- + scripts/Dpkg/File.pm | 3 +-- + scripts/Dpkg/Getopt.pm | 3 +-- + scripts/Dpkg/Gettext.pm | 3 +-- + scripts/Dpkg/IPC.pm | 3 +-- + scripts/Dpkg/Index.pm | 4 +--- + scripts/Dpkg/Interface/Storable.pm | 4 +--- + scripts/Dpkg/Lock.pm | 3 +-- + scripts/Dpkg/OpenPGP.pm | 4 +--- + scripts/Dpkg/OpenPGP/Backend.pm | 4 +--- + scripts/Dpkg/OpenPGP/Backend/GnuPG.pm | 4 +--- + scripts/Dpkg/OpenPGP/Backend/SOP.pm | 4 +--- + scripts/Dpkg/OpenPGP/Backend/Sequoia.pm | 4 +--- + scripts/Dpkg/OpenPGP/ErrorCodes.pm | 3 +-- + scripts/Dpkg/OpenPGP/KeyHandle.pm | 4 +--- + scripts/Dpkg/Package.pm | 3 +-- + scripts/Dpkg/Path.pm | 3 +-- + scripts/Dpkg/Shlibs.pm | 3 +-- + scripts/Dpkg/Shlibs/Cppfilt.pm | 3 +-- + scripts/Dpkg/Shlibs/Objdump.pm | 4 +--- + scripts/Dpkg/Shlibs/Objdump/Object.pm | 4 +--- + scripts/Dpkg/Shlibs/Symbol.pm | 4 +--- + scripts/Dpkg/Shlibs/SymbolFile.pm | 4 +--- + scripts/Dpkg/Source/Archive.pm | 4 +--- + scripts/Dpkg/Source/BinaryFiles.pm | 4 +--- + scripts/Dpkg/Source/Format.pm | 4 +--- + scripts/Dpkg/Source/Functions.pm | 3 +-- + scripts/Dpkg/Source/Package.pm | 3 +-- + scripts/Dpkg/Source/Package/V1.pm | 4 +--- + scripts/Dpkg/Source/Package/V2.pm | 4 +--- + scripts/Dpkg/Source/Package/V3/Bzr.pm | 4 +--- + scripts/Dpkg/Source/Package/V3/Custom.pm | 4 +--- + scripts/Dpkg/Source/Package/V3/Git.pm | 4 +--- + scripts/Dpkg/Source/Package/V3/Native.pm | 4 +--- + scripts/Dpkg/Source/Package/V3/Quilt.pm | 4 +--- + scripts/Dpkg/Source/Patch.pm | 4 +--- + scripts/Dpkg/Source/Quilt.pm | 4 +--- + scripts/Dpkg/Substvars.pm | 4 +--- + scripts/Dpkg/Vendor.pm | 3 +-- + scripts/Dpkg/Vendor/Debian.pm | 4 +--- + scripts/Dpkg/Vendor/Default.pm | 4 +--- + scripts/Dpkg/Vendor/Devuan.pm | 4 +--- + scripts/Dpkg/Vendor/Ubuntu.pm | 4 +--- + scripts/Dpkg/Version.pm | 3 +-- + scripts/Test/Dpkg.pm | 3 +-- + 85 files changed, 85 insertions(+), 222 deletions(-) + +commit c20abc1f144402855f7b8b3129d39185156772af +Author: Guillem Jover +Date: Wed Mar 15 23:48:49 2023 +0100 + + Dpkg::Changelog::Parse: Fix indentation of copyright and license notice + + scripts/Dpkg/Changelog/Parse.pm | 22 +++++++++++----------- + 1 file changed, 11 insertions(+), 11 deletions(-) + +commit a350cb7f303a956d64208f4e46be946a9ed5e97e +Author: Guillem Jover +Date: Tue Mar 7 23:55:40 2023 +0100 + + doc: Update triggers spec + + Capitalize title, add a spec Status field, spell ASCII in uppercase. + + doc/spec/triggers.txt | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +commit c397eec874db2dea12a30c41f38dc681d7de7aaa +Author: Guillem Jover +Date: Thu Mar 2 01:19:26 2023 +0100 + + po: Clarify license for translation files - When dealing with virtual packages (such as the ones from Provides, or - for not-installed Recommends or Suggests), there might be no version - field at all, so we cannot assume we can use these when filling in the - version information in the fallback code handling the missing Source - field. + Use the same formatting as the generated template POT, where the first + line is the translation description, then the copyright claims, followed + bu the license reference, next a blank line separating the translator + list history, followed by an optional blank line and any translator + notes if available. + + dselect/po/bs.po | 1 + + dselect/po/ca.po | 2 ++ + dselect/po/cs.po | 1 + + dselect/po/da.po | 3 ++- + dselect/po/de.po | 2 ++ + dselect/po/el.po | 1 + + dselect/po/es.po | 1 - + dselect/po/et.po | 2 +- + dselect/po/fr.po | 2 +- + dselect/po/gl.po | 1 + + dselect/po/hu.po | 1 + + dselect/po/id.po | 1 + + dselect/po/it.po | 7 +++---- + dselect/po/ja.po | 4 ++-- + dselect/po/ko.po | 2 ++ + dselect/po/nb.po | 2 ++ + dselect/po/nl.po | 3 ++- + dselect/po/nn.po | 2 ++ + dselect/po/pl.po | 1 + + dselect/po/pt.po | 2 ++ + dselect/po/pt_BR.po | 2 ++ + dselect/po/ro.po | 10 +++++----- + dselect/po/ru.po | 1 + + dselect/po/sv.po | 2 ++ + dselect/po/tl.po | 2 +- + dselect/po/vi.po | 1 + + dselect/po/zh_CN.po | 2 +- + man/po/de.po | 2 +- + man/po/fr.po | 1 + + man/po/hu.po | 3 ++- + man/po/it.po | 2 ++ + man/po/ja.po | 3 ++- + man/po/nl.po | 3 ++- + man/po/pt.po | 2 +- + man/po/pt_BR.po | 3 ++- + man/po/ru.po | 2 ++ + man/po/sv.po | 2 ++ + po/ast.po | 2 +- + po/bs.po | 1 + + po/ca.po | 2 ++ + po/cs.po | 1 + + po/da.po | 2 +- + po/de.po | 2 ++ + po/dz.po | 1 + + po/el.po | 2 +- + po/eo.po | 1 + + po/es.po | 1 - + po/et.po | 2 +- + po/eu.po | 1 + + po/fr.po | 1 + + po/gl.po | 1 + + po/hu.po | 1 + + po/id.po | 3 ++- + po/it.po | 3 ++- + po/ja.po | 4 ++-- + po/ko.po | 2 ++ + po/ku.po | 1 + + po/lt.po | 1 + + po/mr.po | 2 ++ + po/nb.po | 2 ++ + po/ne.po | 1 + + po/nl.po | 1 + + po/nn.po | 2 ++ + po/oc.po | 1 + + po/pl.po | 6 +++--- + po/pt.po | 1 + + po/pt_BR.po | 2 ++ + po/ro.po | 17 ++++++++--------- + po/ru.po | 1 + + po/sk.po | 1 + + po/sv.po | 2 ++ + po/th.po | 1 + + po/tl.po | 2 +- + po/tr.po | 1 + + po/vi.po | 1 + + scripts/po/ca.po | 1 + + scripts/po/de.po | 2 +- + scripts/po/nl.po | 1 + + scripts/po/ru.po | 1 + + scripts/po/sv.po | 1 + + 80 files changed, 122 insertions(+), 47 deletions(-) + +commit ccd525121887e098dbfb359a9d4bec196d0c40b8 +Author: Guillem Jover +Date: Thu Mar 2 01:19:26 2023 +0100 + + po: Unify translation header description + + dselect/po/bs.po | 2 +- + dselect/po/ca.po | 2 +- + dselect/po/cs.po | 2 +- + dselect/po/da.po | 2 +- + dselect/po/de.po | 2 +- + dselect/po/el.po | 2 +- + dselect/po/es.po | 4 +--- + dselect/po/et.po | 4 +--- + dselect/po/eu.po | 1 + + dselect/po/fr.po | 3 +-- + dselect/po/gl.po | 3 +-- + dselect/po/hu.po | 1 + + dselect/po/id.po | 2 +- + dselect/po/it.po | 2 +- + dselect/po/ja.po | 3 +-- + dselect/po/ko.po | 1 + + dselect/po/nb.po | 2 +- + dselect/po/nl.po | 2 +- + dselect/po/nn.po | 7 +------ + dselect/po/pl.po | 2 +- + dselect/po/pt.po | 2 +- + dselect/po/pt_BR.po | 2 +- + dselect/po/ro.po | 3 +-- + dselect/po/ru.po | 3 +-- + dselect/po/sk.po | 2 +- + dselect/po/sv.po | 2 +- + dselect/po/tl.po | 2 +- + dselect/po/vi.po | 2 +- + dselect/po/zh_CN.po | 2 +- + dselect/po/zh_TW.po | 2 +- + man/po/de.po | 2 +- + man/po/es.po | 2 +- + man/po/fr.po | 3 +-- + man/po/hu.po | 2 +- + man/po/it.po | 2 +- + man/po/ja.po | 2 +- + man/po/nl.po | 2 +- + man/po/pl.po | 2 +- + man/po/pt.po | 2 +- + man/po/pt_BR.po | 2 +- + man/po/ru.po | 3 +-- + man/po/sv.po | 2 +- + man/po/zh_CN.po | 2 +- + po/ast.po | 2 +- + po/bs.po | 2 +- + po/ca.po | 2 +- + po/cs.po | 2 +- + po/da.po | 2 +- + po/de.po | 2 +- + po/dz.po | 2 +- + po/el.po | 2 +- + po/eo.po | 2 +- + po/es.po | 3 +-- + po/et.po | 4 +--- + po/eu.po | 2 +- + po/fr.po | 3 +-- + po/gl.po | 3 +-- + po/hu.po | 2 +- + po/id.po | 2 +- + po/it.po | 2 +- + po/ja.po | 3 +-- + po/km.po | 2 +- + po/ko.po | 1 + + po/ku.po | 2 +- + po/lt.po | 2 +- + po/mr.po | 1 + + po/nb.po | 2 +- + po/ne.po | 2 +- + po/nl.po | 2 +- + po/nn.po | 7 +------ + po/oc.po | 2 +- + po/pa.po | 2 +- + po/pl.po | 2 +- + po/pt.po | 2 +- + po/pt_BR.po | 2 +- + po/ro.po | 3 +-- + po/ru.po | 3 +-- + po/sk.po | 2 +- + po/sv.po | 2 +- + po/th.po | 2 +- + po/tl.po | 2 +- + po/tr.po | 2 +- + po/vi.po | 3 +-- + po/zh_CN.po | 2 +- + po/zh_TW.po | 2 +- + scripts/po/ca.po | 2 +- + scripts/po/de.po | 2 +- + scripts/po/es.po | 2 +- + scripts/po/fr.po | 2 +- + scripts/po/nl.po | 2 +- + scripts/po/pl.po | 2 +- + scripts/po/ru.po | 3 +-- + scripts/po/sv.po | 2 +- + 93 files changed, 93 insertions(+), 119 deletions(-) + +commit 596802989acca33cddd008a5bdce3bea89482361 +Author: Guillem Jover +Date: Mon Mar 13 03:37:07 2023 +0100 + + po: Use Dpkg Developers instead of listing them individually - The commit that removed the check for not-installed packages missed that - this instance had not been protected, as the code in varbufversion() is - doing the correct thing, but unfortunately we are not using that because - we need to get at the upstream part, so we need to also check explicitly - for a non-NULL upstream part. This was causing a segfault. + Keeping the Dpkg Developers copyright list in sync with the rest of + the code base is not maintainable. Replace the explicit list with the + «Dpkg Developers» abbreviation instead, which is what we default + nowadays in Makevars for new .po files. + + dselect/po/ja.po | 11 +---------- + po/ja.po | 11 +---------- + 2 files changed, 2 insertions(+), 20 deletions(-) + +commit 9a49b82b7b72ab0dd69862185da6797bd753974e +Author: Guillem Jover +Date: Sat Mar 4 22:56:51 2023 +0100 + + dselect: Add non-free-firmware archive area support - Fixes: commit 560574b55a543d3d0a0f4e8abf0ae42f46d2a2f1 - Stable-Candidates: 1.20.x 1.21.x - Reported-by: John Scott - (cherry picked from commit 2c4814f7cb676c335c6372284ac95b7fc986effb) + In Debian this is a new archive area added after the vote for non-free + firmware . - lib/dpkg/pkg-format.c | 3 ++- - lib/dpkg/t/t-pkg-format.c | 19 ++++++++++++++++++- - 2 files changed, 20 insertions(+), 2 deletions(-) + dselect/methods/Dselect/Ftp.pm | 12 +++++++++--- + dselect/methods/file/desc.file | 3 ++- + dselect/methods/file/setup.sh | 3 +++ + dselect/methods/media/README.media | 7 ++++++- + dselect/methods/media/setup.sh | 4 ++++ + 5 files changed, 24 insertions(+), 5 deletions(-) -commit 6910ce6767fe6c384c148bc0892582fc4a8f0be0 -Author: Américo Monteiro -Date: Sat Apr 8 13:03:07 2023 +0200 +commit 200be51dc7473aa356d86fbf50c9c7e40a0f663e +Author: Guillem Jover +Date: Sat Mar 4 22:57:17 2023 +0100 - po: Add Portuguese scripts translations + dselect: Reduce variable scope to avoid shadowing - [guillem@debian.org: Hook into build system. ] + Warned-by: perlcritic + Addresses: Variables::ProhibitReusedNames + +Notes: + Changelog: internal + + dselect/methods/ftp/install.pl | 5 +++-- + dselect/mkcurkeys.pl | 9 ++++----- + 2 files changed, 7 insertions(+), 7 deletions(-) + +commit bfd87b4683fc82f84eb131044b477758395c2643 +Author: Guillem Jover +Date: Sat Mar 4 22:55:21 2023 +0100 + + test: Reduce scope of variable to avoid shadowing others - Closes: #1032562 - Signed-off-by: Guillem Jover - (cherry picked from commit 0e56a85ce34026482d9d011d0b560337e44c05c1) + This is a global variable that was then being shadowed by other + variables with the same name in inner scopes. + + Warned-by: perlcritic + Addresses: Variables::ProhibitReusedNames - scripts/po/LINGUAS | 1 + - scripts/po/pt.po | 4224 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 4225 insertions(+) + scripts/t/Dpkg_Changelog.t | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) -commit 5b8c33566855c7b45ae3d84d71995de441a372dd +commit f6d286e0d8aff77e09cd69018bc37e9b08483f36 Author: Guillem Jover -Date: Thu May 11 03:56:22 2023 +0200 +Date: Sat Mar 4 22:54:11 2023 +0100 - Bump version to 1.21.22 + scripts: Remove duplicate variable declaration + + Do not shadow an already defined variable, instead simply use it + as is, given that the other uses will initialize it when needed. + + Warned-by: perlcritic + Addresses: Variables::ProhibitReusedNames - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) + scripts/Dpkg/Shlibs/Symbol.pm | 2 +- + scripts/t/merge_changelogs.t | 1 - + 2 files changed, 1 insertion(+), 2 deletions(-) -commit 9ef736b7b3a5fa0d6e991e8475eb2e3151fec345 +commit 309123b9e76a44cd8e394d87295e2d244d7e354c Author: Guillem Jover -Date: Sat Feb 25 04:42:30 2023 +0100 +Date: Thu Mar 2 01:22:09 2023 +0100 - Release 1.21.21 + scripts: Unpack function arguments + + Unpack the arguments into variables to make the core more readable, and + avoid aliasing issues. + + Warned-by: perlcritic + Fixes: Subroutines::RequireArgUnpacking - debian/changelog | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) + scripts/Dpkg/Compression/FileHandle.pm | 36 +++++++++++++++++------------ + scripts/Dpkg/Control/Changelog.pm | 4 ++-- + scripts/Dpkg/Control/HashCore.pm | 4 ++-- + scripts/Dpkg/Control/HashCore/Tie.pm | 4 ++-- + scripts/Dpkg/Deps/Multiple.pm | 8 +++---- + scripts/Dpkg/ErrorHandling.pm | 42 ++++++++++++++++++++++------------ + scripts/Dpkg/Source/Package.pm | 8 +++---- + scripts/Dpkg/Source/Quilt.pm | 10 ++++---- + scripts/Dpkg/Vendor.pm | 4 +++- + scripts/dpkg-buildpackage.pl | 6 +++-- + scripts/dpkg-fsys-usrunmess.pl | 4 ++-- + scripts/dpkg-genbuildinfo.pl | 8 ++++--- + scripts/dpkg-shlibdeps.pl | 4 +++- + t/critic.t | 1 + + t/critic/perlcriticrc | 3 +++ + 15 files changed, 89 insertions(+), 57 deletions(-) -commit fa79e836075fe2f571feff0b132022e7ee15d409 +commit f36fe46cdddeeecfb30b1435a0b29eb7a48f1d8f Author: Guillem Jover -Date: Sat Feb 25 04:39:29 2023 +0100 +Date: Mon Feb 20 23:41:10 2023 +0100 - po: Regenerate .pot files and merge .po files with them + Dpkg::Control::HashCore: Fix typo in code comment + + Changelog: silent + + scripts/Dpkg/Control/HashCore.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit dbede18a5eba12dd61aec4e8cc9f701d98fb29f4 +Author: Guillem Jover +Date: Sat Mar 11 23:53:38 2023 +0100 + + perl: Move POD sections before what they describe + + For NAME and DESCRIPTION we are describing the whole package, so do + that before the keyword as we do as well when describing variables or + functions. + + For FUNCTIONS and METHODS, move them immediately before the functions + or methods they start describing. - dselect/po/bs.po | 2 +- - dselect/po/ca.po | 2 +- - dselect/po/cs.po | 2 +- - dselect/po/da.po | 2 +- - dselect/po/de.po | 2 +- - dselect/po/dselect.pot | 4 ++-- - dselect/po/el.po | 2 +- - dselect/po/es.po | 2 +- - dselect/po/et.po | 2 +- - dselect/po/eu.po | 2 +- - dselect/po/fr.po | 2 +- - dselect/po/gl.po | 2 +- - dselect/po/hu.po | 2 +- - dselect/po/id.po | 2 +- - dselect/po/it.po | 2 +- - dselect/po/ja.po | 2 +- - dselect/po/ko.po | 2 +- - dselect/po/nb.po | 2 +- - dselect/po/nl.po | 2 +- - dselect/po/nn.po | 2 +- - dselect/po/pl.po | 2 +- - dselect/po/pt.po | 2 +- - dselect/po/pt_BR.po | 2 +- - dselect/po/ro.po | 2 +- - dselect/po/ru.po | 2 +- - dselect/po/sk.po | 2 +- - dselect/po/sv.po | 2 +- - dselect/po/tl.po | 2 +- - dselect/po/vi.po | 2 +- - dselect/po/zh_CN.po | 2 +- - dselect/po/zh_TW.po | 2 +- - man/po/dpkg-man.pot | 4 ++-- - po/ast.po | 2 +- - po/bs.po | 2 +- - po/ca.po | 2 +- - po/cs.po | 2 +- - po/da.po | 2 +- - po/de.po | 2 +- - po/dpkg.pot | 4 ++-- - po/dz.po | 2 +- - po/el.po | 2 +- - po/eo.po | 2 +- - po/es.po | 2 +- - po/et.po | 2 +- - po/eu.po | 2 +- - po/fr.po | 2 +- - po/gl.po | 2 +- - po/hu.po | 2 +- - po/id.po | 2 +- - po/it.po | 2 +- - po/ja.po | 2 +- - po/km.po | 2 +- - po/ko.po | 2 +- - po/ku.po | 2 +- - po/lt.po | 2 +- - po/mr.po | 2 +- - po/nb.po | 2 +- - po/ne.po | 2 +- - po/nl.po | 2 +- - po/nn.po | 2 +- - po/oc.po | 2 +- - po/pa.po | 2 +- - po/pl.po | 2 +- - po/pt.po | 2 +- - po/pt_BR.po | 2 +- - po/ro.po | 2 +- - po/ru.po | 2 +- - po/sk.po | 2 +- - po/sv.po | 2 +- - po/th.po | 2 +- - po/tl.po | 2 +- - po/tr.po | 2 +- - po/vi.po | 2 +- - po/zh_CN.po | 2 +- - po/zh_TW.po | 2 +- - scripts/po/ca.po | 2 +- - scripts/po/de.po | 2 +- - scripts/po/dpkg-dev.pot | 4 ++-- - scripts/po/es.po | 2 +- - scripts/po/fr.po | 2 +- - scripts/po/nl.po | 2 +- - scripts/po/pl.po | 2 +- - scripts/po/ru.po | 2 +- - scripts/po/sv.po | 2 +- - 84 files changed, 88 insertions(+), 88 deletions(-) + scripts/Dpkg.pm | 4 +- + scripts/Dpkg/Arch.pm | 4 +- + scripts/Dpkg/Build/Info.pm | 28 +++++++------ + scripts/Dpkg/BuildEnv.pm | 22 +++++----- + scripts/Dpkg/BuildFlags.pm | 24 ++++++----- + scripts/Dpkg/BuildInfo.pm | 24 ++++++----- + scripts/Dpkg/BuildOptions.pm | 24 ++++++----- + scripts/Dpkg/BuildProfiles.pm | 24 ++++++----- + scripts/Dpkg/BuildTypes.pm | 34 ++++++++-------- + scripts/Dpkg/Changelog/Entry.pm | 26 ++++++------ + scripts/Dpkg/Changelog/Entry/Debian.pm | 30 +++++++------- + scripts/Dpkg/Checksums.pm | 26 ++++++------ + scripts/Dpkg/Compression.pm | 26 ++++++------ + scripts/Dpkg/Compression/FileHandle.pm | 42 ++++++++++--------- + scripts/Dpkg/Compression/Process.pm | 24 ++++++----- + scripts/Dpkg/Conf.pm | 24 ++++++----- + scripts/Dpkg/Control.pm | 74 +++++++++++++++++----------------- + scripts/Dpkg/Control/Changelog.pm | 24 ++++++----- + scripts/Dpkg/Control/Fields.pm | 28 +++++++------ + scripts/Dpkg/Control/FieldsCore.pm | 26 ++++++------ + scripts/Dpkg/Control/Hash.pm | 24 ++++++----- + scripts/Dpkg/Control/HashCore.pm | 46 +++++++++++---------- + scripts/Dpkg/Control/Info.pm | 24 ++++++----- + scripts/Dpkg/Control/Tests.pm | 24 ++++++----- + scripts/Dpkg/Control/Tests/Entry.pm | 22 +++++----- + scripts/Dpkg/Control/Types.pm | 36 ++++++++--------- + scripts/Dpkg/Deps.pm | 16 ++++---- + scripts/Dpkg/Deps/AND.pm | 4 +- + scripts/Dpkg/Deps/KnownFacts.pm | 4 +- + scripts/Dpkg/Deps/Multiple.pm | 4 +- + scripts/Dpkg/Deps/OR.pm | 4 +- + scripts/Dpkg/Deps/Simple.pm | 12 +++--- + scripts/Dpkg/Deps/Union.pm | 4 +- + scripts/Dpkg/Exit.pm | 22 +++++----- + scripts/Dpkg/Gettext.pm | 26 ++++++------ + scripts/Dpkg/IPC.pm | 28 +++++++------ + scripts/Dpkg/Index.pm | 22 +++++----- + scripts/Dpkg/Interface/Storable.pm | 26 ++++++------ + scripts/Dpkg/Path.pm | 22 +++++----- + scripts/Dpkg/Source/Format.pm | 4 +- + scripts/Dpkg/Source/Package.pm | 4 +- + scripts/Dpkg/Substvars.pm | 24 +++++------ + scripts/Dpkg/Vendor.pm | 54 +++++++++++++------------ + scripts/Dpkg/Vendor/Debian.pm | 28 ++++++------- + scripts/Dpkg/Vendor/Default.pm | 24 ++++++----- + scripts/Dpkg/Vendor/Devuan.pm | 18 ++++----- + scripts/Dpkg/Vendor/Ubuntu.pm | 30 +++++++------- + scripts/Dpkg/Version.pm | 30 +++++++------- + 48 files changed, 592 insertions(+), 532 deletions(-) -commit 9dfffbbaebbf57ed891d776dab131ff85c63f347 +commit 024834e3729322f7233e580231d126634adf8899 +Author: Guillem Jover +Date: Tue Feb 28 03:45:18 2023 +0100 + + perl: Add POD to all private modules + + Mark them explicitly as private modules, add some minimal description + for their purpose. This also fixes the warnings from pod2man where it + cannot generate a man page for these. + + Closes: #1030660 + + dselect/methods/Dselect/Ftp.pm | 22 ++++++++++++++ + scripts/Dpkg/BuildEnv.pm | 2 ++ + scripts/Dpkg/BuildTypes.pm | 2 ++ + scripts/Dpkg/Control/HashCore/Tie.pm | 50 +++++++++++++++++++++++++------- + scripts/Dpkg/Control/Types.pm | 2 ++ + scripts/Dpkg/Dist/Files.pm | 23 +++++++++++++++ + scripts/Dpkg/ErrorHandling.pm | 22 ++++++++++++++ + scripts/Dpkg/File.pm | 22 ++++++++++++++ + scripts/Dpkg/Getopt.pm | 23 +++++++++++++++ + scripts/Dpkg/Lock.pm | 22 ++++++++++++++ + scripts/Dpkg/OpenPGP.pm | 22 ++++++++++++++ + scripts/Dpkg/OpenPGP/Backend.pm | 23 +++++++++++++++ + scripts/Dpkg/OpenPGP/Backend/GnuPG.pm | 23 +++++++++++++++ + scripts/Dpkg/OpenPGP/Backend/SOP.pm | 24 +++++++++++++++ + scripts/Dpkg/OpenPGP/Backend/Sequoia.pm | 23 +++++++++++++++ + scripts/Dpkg/OpenPGP/ErrorCodes.pm | 23 +++++++++++++++ + scripts/Dpkg/OpenPGP/KeyHandle.pm | 23 +++++++++++++++ + scripts/Dpkg/Package.pm | 22 ++++++++++++++ + scripts/Dpkg/Shlibs.pm | 22 ++++++++++++++ + scripts/Dpkg/Shlibs/Cppfilt.pm | 23 +++++++++++++++ + scripts/Dpkg/Shlibs/Objdump.pm | 23 +++++++++++++++ + scripts/Dpkg/Shlibs/Objdump/Object.pm | 23 +++++++++++++++ + scripts/Dpkg/Shlibs/Symbol.pm | 23 +++++++++++++++ + scripts/Dpkg/Shlibs/SymbolFile.pm | 22 ++++++++++++++ + scripts/Dpkg/Source/Archive.pm | 23 +++++++++++++++ + scripts/Dpkg/Source/BinaryFiles.pm | 23 +++++++++++++++ + scripts/Dpkg/Source/Functions.pm | 23 +++++++++++++++ + scripts/Dpkg/Source/Package/V1.pm | 22 ++++++++++++++ + scripts/Dpkg/Source/Package/V2.pm | 22 ++++++++++++++ + scripts/Dpkg/Source/Package/V3/Bzr.pm | 25 ++++++++++++++-- + scripts/Dpkg/Source/Package/V3/Custom.pm | 23 +++++++++++++++ + scripts/Dpkg/Source/Package/V3/Git.pm | 25 ++++++++++++++-- + scripts/Dpkg/Source/Package/V3/Native.pm | 22 ++++++++++++++ + scripts/Dpkg/Source/Package/V3/Quilt.pm | 22 ++++++++++++++ + scripts/Dpkg/Source/Patch.pm | 22 ++++++++++++++ + scripts/Dpkg/Source/Quilt.pm | 22 ++++++++++++++ + scripts/Dpkg/Vendor/Debian.pm | 2 ++ + scripts/Dpkg/Vendor/Default.pm | 2 ++ + scripts/Dpkg/Vendor/Devuan.pm | 2 ++ + scripts/Dpkg/Vendor/Ubuntu.pm | 2 ++ + scripts/Makefile.am | 6 ++-- + scripts/Test/Dpkg.pm | 23 +++++++++++++++ + t/pod-spell.t | 3 ++ + 43 files changed, 804 insertions(+), 19 deletions(-) + +commit f6e8ffb547841bc1dc4a17bfe7cbde18e62b140f +Author: Guillem Jover +Date: Thu Mar 9 04:27:06 2023 +0100 + + Dpkg::Package: Rename source_package symbols to source_name + + This refer to the source package name, instead of a source package + object or similar. + + scripts/Dpkg/Package.pm | 20 ++++++++++---------- + scripts/dpkg-genchanges.pl | 8 ++++---- + scripts/dpkg-gencontrol.pl | 6 +++--- + scripts/dpkg-source.pl | 6 +++--- + scripts/t/Dpkg_Package.t | 14 +++++++------- + 5 files changed, 27 insertions(+), 27 deletions(-) + +commit 01244e3c0319245601d60e5782ef8e886922f67c +Author: Guillem Jover +Date: Thu Mar 9 04:12:23 2023 +0100 + + Dpkg::Vars: Fold into Dpkg::Package + + This module has a very generic and odd name for what it is actually + doing. Move the functions inside into Dpkg::Package, although eventually + these should be moved as methods for Dpkg::Source::Package. But for now + this location is better than before. + + scripts/Dpkg/Package.pm | 30 +++++++++++++++++++++++++- + scripts/Dpkg/Vars.pm | 53 ---------------------------------------------- + scripts/Makefile.am | 2 -- + scripts/dpkg-genchanges.pl | 2 +- + scripts/dpkg-gencontrol.pl | 3 +-- + scripts/dpkg-source.pl | 2 +- + scripts/po/POTFILES.in | 1 - + scripts/t/Dpkg_Package.t | 15 ++++++++++++- + scripts/t/Dpkg_Vars.t | 38 --------------------------------- + 9 files changed, 46 insertions(+), 100 deletions(-) + +commit acc029390e0b7b9b380d3a5bceaca404a0653f8c +Author: Guillem Jover +Date: Sat Feb 18 23:36:21 2023 +0100 + + Dpkg::Control::HashCore::Tie: Split from Dpkg::Control::HashCore + + Move out this embedded package into its own source file. This makes the + structure more clear and things like grepping for matches more obvious. + + Warned-by: perlcritic + Fixes: Modules::ProhibitMultiplePackages + + scripts/Dpkg/Control/HashCore.pm | 107 +---------------------------- + scripts/Dpkg/Control/HashCore/Tie.pm | 129 +++++++++++++++++++++++++++++++++++ + scripts/Makefile.am | 1 + + scripts/po/POTFILES.in | 1 + + t/critic.t | 1 + + 5 files changed, 133 insertions(+), 106 deletions(-) + +commit 12a66fb31c00d457d51a5202a8bbaedac9abe303 +Author: Guillem Jover +Date: Sat Feb 18 23:28:30 2023 +0100 + + Dpkg::Shlibs::Objdump::Object: Split from Dpkg::Shlibs::Objdump + + Move out this embedded package into its own source file. This makes the + structure more clear and things like grepping for matches more obvious. + + Warned-by: perlcritic + Addresses: Modules::ProhibitMultiplePackages + + scripts/Dpkg/Shlibs/Objdump.pm | 341 +-------------------- + .../Dpkg/Shlibs/{Objdump.pm => Objdump/Object.pm} | 227 -------------- + scripts/Makefile.am | 1 + + scripts/po/POTFILES.in | 1 + + 4 files changed, 3 insertions(+), 567 deletions(-) + +commit d0aa36601ed650319b6a6a638dc88ed59437c79e +Author: Guillem Jover +Date: Sat Feb 18 23:18:39 2023 +0100 + + perl: Add $VERSION to all embedded perl packages + + Even packages that are contained within the source file of another + package should have a proper $VERSION variable. + + Warned-by: perlcritic + Addresses: Modules::RequireVersionVar + + scripts/Dpkg/Control/HashCore.pm | 2 ++ + scripts/Dpkg/Shlibs/Objdump.pm | 2 ++ + 2 files changed, 4 insertions(+) + +commit bf0053348b1027b5e2af9ef26642f8e6180b5509 +Author: Guillem Jover +Date: Wed Mar 1 03:32:20 2023 +0100 + + test: Disable perlcritic checks that are not relevant + + Since Perl 5.14 there is no need to check the return value of an eval, + as the involved bugs got fixed. As we require a more recent release of + Perl to run, we can ignore these checks. + + t/critic/perlcriticrc | 3 +++ + 1 file changed, 3 insertions(+) + +commit 13912f20bc4127e7100eae4aee9e5bfc1cf0d8ec +Author: Guillem Jover +Date: Tue Feb 28 23:24:10 2023 +0100 + + test: Update perlcritic checks and suppressions + + These checks were not explicitly listed because they had not triggered, + add them explicitly either as checks to perform or checks to suppress, + when they do not make sense. + + t/critic.t | 4 ++++ + t/critic/perlcriticrc | 1 + + 2 files changed, 5 insertions(+) + +commit 78a9e97dc846432edc7ebfcdf898f5ee182b32c9 +Author: Guillem Jover +Date: Thu Mar 2 03:24:08 2023 +0100 + + build: Bump minimal Perl version to 5.32.1 + + The Perl version in Debian bullseye is 5.32.1, which is the release that + will be oldstable once 1.22.x gets uploaded to Debian unstable. + + doc/coding-style.txt | 2 +- + m4/dpkg-progs.m4 | 2 +- + t/minimum-version.t | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +commit fd079087457566cfd7588e1c99207e7b3a747eb3 +Author: Guillem Jover +Date: Tue Feb 28 04:16:57 2023 +0100 + + build: Explicitly set the date when generating perl module man pages + + Even though pod2man supports SOURCE_DATE_EPOCH, let's be explicit and + pass the same date we have computed in the build system, to avoid any + surprises. + + This matches the pod2man calls for the program man pages. + + scripts/Makefile.am | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +commit 4c9e67b52672cb1cf19f7c3e86164bc70b749e77 Author: Guillem Jover Date: Sat Feb 25 03:13:27 2023 +0100 @@ -266,26 +4180,419 @@ agreed names. Closes: #1028654 - (cherry picked from commit 4c9e67b52672cb1cf19f7c3e86164bc70b749e77) data/cputable | 1 + scripts/Dpkg/Shlibs/Objdump.pm | 7 +++++++ scripts/t/Dpkg_Arch.t | 4 ++-- 3 files changed, 10 insertions(+), 2 deletions(-) -commit 30818fab75e1e6d0517535db3daa803125a41234 +commit 906b311aa4e812a104f6ff3c5faebcfc6c6e28c3 +Author: Helge Kreutzmann +Date: Wed Feb 22 17:53:29 2023 +0100 + + po: Update German scripts translation + + scripts/po/de.po | 10 +++++++--- + 1 file changed, 7 insertions(+), 3 deletions(-) + +commit 78c5c46fb5da7009bfef618c3fa255fe9355bd85 +Author: Helge Kreutzmann +Date: Wed Feb 22 17:52:38 2023 +0100 + + po: Update German man pages translation + + man/po/de.po | 491 +++++++++++++++++++++++++++++------------------------------ + 1 file changed, 244 insertions(+), 247 deletions(-) + +commit c511f466d0fc7839b96c2a8ebbb014558d77fd14 +Author: Guillem Jover +Date: Thu Feb 2 20:16:41 2023 +0100 + + Dpkg::OpenPGP::Backend::GnuPG: On signing failure use OPENPGP_CMD_CANNOT_SIGN + + The OPENPGP_KEY_CANNOT_SIGN is specified by SOP to mean that the key is + not capable of signing, but in this case the command itself cannot sign + for whatever reason, for example because it cannot find the needed + key, the key is expired or any other such error. + + Closes: #1030271 + + scripts/Dpkg/OpenPGP/Backend/GnuPG.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 93d9c1435e537b5c03364db0281dfc6513995553 +Author: Guillem Jover +Date: Thu Feb 2 20:15:47 2023 +0100 + + Dpkg::OpenPGP::ErrorCodes: Add new OPENPGP_CMD_CANNOT_SIGN error code + + Add a new error code to be used by gpg when it fails to sign. + + scripts/Dpkg/OpenPGP/ErrorCodes.pm | 3 +++ + 1 file changed, 3 insertions(+) + +commit 88bcf624ba666bc8bc4c8f58c5d4dce1ecce28db +Author: Guillem Jover +Date: Sat Feb 4 23:58:09 2023 +0100 + + build: Enable -Wextra-semi compilation warning + + m4/dpkg-compiler.m4 | 1 + + 1 file changed, 1 insertion(+) + +commit b3b5cf668b7656b4ae41009612148b15ec111cbe +Author: Guillem Jover +Date: Sat Feb 4 23:57:30 2023 +0100 + + libdpkg: Surround macro within a do-while block + + Warned-by: clang -Wextra-semi + + lib/dpkg/nfmalloc.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 1d7b2430ea9293cc9fe72050d7bba2d837bcd183 +Author: Guillem Jover +Date: Sat Feb 4 23:57:19 2023 +0100 + + dselect: Remove unused trailing semicolons + + Warned-by: clang -Wextra-semi + Changelog: internal + + dselect/dselect.h | 4 ++-- + dselect/methlist.cc | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +commit 9b544350ef991ff74f7352863ed57bb04435ff06 +Author: Guillem Jover +Date: Thu Feb 16 23:44:50 2023 +0100 + + man: Add versions where build flag features were added + + This makes it easier for users to understand how long these features + have been supported for, and whether backward compatibility might be + needed. + + man/dpkg-buildflags.pod | 71 +++++++++++++++++++++++++++++-------------------- + 1 file changed, 42 insertions(+), 29 deletions(-) + +commit e9e36be39115943c561f10fbd97f577b4380fc5a +Author: Guillem Jover +Date: Wed Feb 15 00:19:08 2023 +0100 + + libdpkg: Rename mlib module to mustlib + + This should make the module purpose more clear from its name alone, and + avoids potential confusion with memory handling or similar. + + TODO | 2 +- + lib/dpkg/Makefile.am | 2 +- + lib/dpkg/dpkg.h | 2 +- + lib/dpkg/{mlib.c => mustlib.c} | 2 +- + po/POTFILES.in | 2 +- + 5 files changed, 5 insertions(+), 5 deletions(-) + +commit a9d1ee8b0a6f946ce577261a6823bb51598e2bbe +Author: Guillem Jover +Date: Tue Feb 14 02:44:30 2023 +0100 + + src: Reduce variables scope + + Warned-by: cppcheck + Changelog: internal + + src/common/force.c | 5 +++-- + src/deb/extract.c | 6 +++--- + src/deb/info.c | 23 ++++++++++++++++------- + src/main/archives.c | 6 ++++-- + src/main/depcon.c | 3 ++- + src/main/help.c | 6 ++++-- + src/main/main.c | 3 ++- + src/main/packages.c | 3 ++- + src/main/select.c | 6 ++++-- + src/main/trigproc.c | 4 ++-- + src/main/unpack.c | 8 ++++++-- + src/main/verify.c | 5 +++-- + src/query/main.c | 32 ++++++++++++++++++++------------ + src/split/join.c | 3 ++- + t/cppcheck/cppcheck.supp | 3 --- + 15 files changed, 73 insertions(+), 43 deletions(-) + +commit 4991acdd8f699aad32aad82ec932ed9877d1ac2d +Author: Guillem Jover +Date: Tue Feb 14 01:53:06 2023 +0100 + + u-a: Reduce variables scope + + Warned-by: cppcheck + Changelog: internal + + utils/start-stop-daemon.c | 9 ++++++--- + 1 file changed, 6 insertions(+), 3 deletions(-) + +commit a33b5d71972b40304b38cde01f1c8fe4d67cd0b1 +Author: Guillem Jover +Date: Tue Feb 14 02:20:11 2023 +0100 + + libdpkg: Reduce variables scope + + Warned-by: cppcheck + + lib/dpkg/compress.c | 3 ++- + lib/dpkg/db-fsys-files.c | 10 ++++++---- + lib/dpkg/dbmodify.c | 4 +++- + lib/dpkg/dump.c | 5 +++-- + lib/dpkg/fields.c | 37 +++++++++++++++++++++++++------------ + lib/dpkg/parse.c | 3 ++- + lib/dpkg/string.c | 3 ++- + lib/dpkg/trigdeferred.c | 4 ++-- + lib/dpkg/triglib.c | 5 +++-- + 9 files changed, 48 insertions(+), 26 deletions(-) + +commit 809c0f9920da9f3890e8c7ac7a78fe6ad053d129 +Author: Guillem Jover +Date: Tue Feb 14 02:05:19 2023 +0100 + + libcompat: Reduce variables scope + + Warned-by: cppcheck + + lib/compat/getopt.c | 2 +- + lib/compat/getopt1.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit abd97ebcd46f6e338838e2379eaca765e040a1dd +Author: Guillem Jover +Date: Tue Feb 14 02:03:49 2023 +0100 + + dselect: Reduce variables scope + + Warned-by: cppcheck + Changelog: internal + + dselect/main.cc | 10 +++++++--- + dselect/method.cc | 3 +-- + dselect/methparse.cc | 4 ++-- + dselect/pkgcmds.cc | 6 +++--- + dselect/pkgdepcon.cc | 7 ++++--- + dselect/pkglist.cc | 3 +-- + dselect/pkgsublist.cc | 6 +++--- + dselect/pkgtop.cc | 3 ++- + 8 files changed, 23 insertions(+), 19 deletions(-) + +commit 2504bba21563f396d8c86d61899ceed080bd0a86 +Author: Guillem Jover +Date: Tue Feb 14 23:43:57 2023 +0100 + + dpkg: Remove path_quote_filename() usage + + The original problem for which this function was introduced in + commit 520ad3054094d91201089bf97cf3e73266b6e879, is no longer relevant + since commit 1a8d12285d650fa4bb13406a515228030d4d9ca1 where the varbuf + function doing vprintf was fixed to not loop infinitely. Changes in + commit 520ad3054094d91201089bf97cf3e73266b6e879, further changed the + code to not even pass the filenames to fd_fd_copy() anymore, and instead + call the ohshit() functions from the call sites. + + We leave the function around for now, if this ends up not being useful + for anything it will be eventually removed. + + Warned-by: cppcheck + Changelog: internal + + src/main/archives.c | 11 +++-------- + 1 file changed, 3 insertions(+), 8 deletions(-) + +commit 1d4478841a804d13f1799a1974a9eeeef6e582cb +Author: Guillem Jover +Date: Tue Feb 14 02:34:14 2023 +0100 + + dpkg: Do not reset the line number for each --command-fd parsed command + + This means the lines printed lose their meaning, and are less than + helpful. + + Warned-by: cppcheck + + src/main/main.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +commit 153aa6b18b864c673cca2190dddf9f7705236f5c +Author: Guillem Jover +Date: Wed Feb 22 02:36:24 2023 +0100 + + libdpkg: Move parse_nv() next word check inside else block + + If we found a name/value match, and are using a fallback value, then we + will always have a NULL str_end, and the check for trailing junk will + never trigger. This check only makes sense in the else block where + we have checked for any non-space characters after the parsed text. + + lib/dpkg/fields.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +commit 8b7daaecfa3738162796fc86fb845e1b86047637 +Author: Guillem Jover +Date: Tue Feb 14 00:50:35 2023 +0100 + + libdpkg: Turn bitmask parse_nv_flags into an actual enum parse_nv_mode + + These various modes are actually exclusive, so turn them from a bitmask + into an actual enumeration. + + Warned-by: cppcheck + + lib/dpkg/fields.c | 17 ++++++++--------- + t/cppcheck/cppcheck.supp | 3 --- + 2 files changed, 8 insertions(+), 12 deletions(-) + +commit ff06cb4c8eb0f2446556259d24db4967798bce00 +Author: Guillem Jover +Date: Mon Feb 13 23:51:34 2023 +0100 + + libdpkg: Remove impossible condition + + The previous loop only finishes when the condition being tested is no + longer true, so the one immediately after it can never be true. + + Warned-by: cppecheck + + lib/dpkg/tarfn.c | 3 --- + t/cppcheck/cppcheck.supp | 1 - + 2 files changed, 4 deletions(-) + +commit c317a33cf53abd5d82d0570df3a532f13c35530b +Author: Guillem Jover +Date: Mon Feb 13 23:47:06 2023 +0100 + + libdpkg: Move early return into the loop + + The only way the outer condition can trigger is if the inner condition + makes it break out of the loop. Simplify by moving the early return + inside the loop + + Warned-by: cppcheck + + lib/dpkg/fsys-hash.c | 4 +--- + t/cppcheck/cppcheck.supp | 1 - + 2 files changed, 1 insertion(+), 4 deletions(-) + +commit 569909f8f8cd1c55fb77998e2a6d69ead7adcfaf +Author: Helge Kreutzmann +Date: Thu Feb 16 17:13:37 2023 +0100 + + dpkg.pod: Remove a now superfluous character + + man/dpkg.pod | 2 +- + man/po/de.po | 11 +++++------ + 2 files changed, 6 insertions(+), 7 deletions(-) + +commit 50facf7a3e9806ce4224e573ae1ae474e3283d55 +Author: Helge Kreutzmann +Date: Thu Feb 16 17:11:24 2023 +0100 + + po: Update German man pages translation + + man/po/de.po | 661 ++++++++++++++++++++++++++++++++++++----------------------- + 1 file changed, 404 insertions(+), 257 deletions(-) + +commit 6cdeaa5c8f3bee847ff79c2d30e3cae70480c882 +Author: Guillem Jover +Date: Sun Feb 12 23:54:45 2023 +0100 + + build: Fix version script linker support detection + + When the linker uses --no-undefined-version either specified by the user + or as the default behavior (such as with newer clang >= 16 releases), + a missing symbol definition will cause a linker error if that symbol is + listed in the version script. + + m4/dpkg-linker.m4 | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +commit afe338c70ca3e5d3c9cba4c3521418fe3db51955 +Author: Guillem Jover +Date: Fri Feb 10 02:06:44 2023 +0100 + + man: Move shell redirection operator close to the redirected file + + This makes it more clear where we are redirecting to or from. + + man/dpkg.pod | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit be93550bfab8c7cc698f7b5c0939d8095e421a00 +Author: Guillem Jover +Date: Fri Feb 10 02:05:30 2023 +0100 + + man: Unify admonition markup and formatting + + Use bold for the admonition keyword, but not for the colon. Stop + marking up the text of the admonition as italic. + + man/deb-substvars.pod | 2 +- + man/dpkg-buildflags.pod | 2 +- + man/dpkg-buildpackage.pod | 9 +++++---- + man/dpkg-divert.pod | 2 +- + man/dpkg-gensymbols.pod | 2 +- + man/dpkg-maintscript-helper.pod | 4 ++-- + man/dpkg-name.pod | 6 ++---- + man/dpkg-parsechangelog.pod | 4 ++-- + man/dpkg-query.pod | 4 ++-- + man/dpkg-scanpackages.pod | 2 +- + man/dpkg-scansources.pod | 4 ++-- + man/dpkg-shlibdeps.pod | 2 +- + man/dpkg-source.pod | 6 +++--- + man/dpkg-statoverride.pod | 6 +++--- + man/dpkg.pod | 34 +++++++++++++++++----------------- + man/dsc.pod | 2 +- + man/start-stop-daemon.pod | 16 ++++++++-------- + man/update-alternatives.pod | 2 +- + 18 files changed, 54 insertions(+), 55 deletions(-) + +commit df3671b21710b01331e311d7921c7d64be1e3a2e +Author: Guillem Jover +Date: Fri Feb 10 02:02:34 2023 +0100 + + man: Itemize remaining lists + + This makes these lists more clear, as they are indented, so that + paragraphs within that might contain an admonition are not confused + with another item. + + man/dpkg-statoverride.pod | 19 ++++-- + man/dpkg.pod | 159 ++++++++++++++++++++++++++++++++++------------ + 2 files changed, 131 insertions(+), 47 deletions(-) + +commit 246386ca46ee0e84fb4960ef1bea7afbf31ed652 +Author: Guillem Jover +Date: Wed Feb 8 11:26:14 2023 +0100 + + man: Add notes about reproducibility properties for path fixing build features + + Mention that if the build captures the build flags that will make it + unreproducible, the traps with trying to disable these flags to get + back to a reproducible output. And that the ideal fix is to stop + capturing build flags. + + Prompted-by: Sven Joachim + + man/dpkg-buildflags.pod | 9 +++++++++ + 1 file changed, 9 insertions(+) + +commit f36a5944a6e06f1a641dcba69be6b392d32d0656 Author: Sébastien Poher Date: Fri Feb 10 02:18:58 2023 +0100 po: Update French scripts translation Signed-off-by: Guillem Jover - (cherry picked from commit f36a5944a6e06f1a641dcba69be6b392d32d0656) scripts/po/fr.po | 395 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 200 insertions(+), 195 deletions(-) -commit 190a725b9b43f12718df3bcdd103c66fa9d6f319 +commit a436a216fcb9c15abc0ea29c583d95beb15c4318 Author: Guillem Jover Date: Wed Feb 8 11:02:00 2023 +0100 @@ -296,19 +4603,20 @@ to not properly installing the build dependencies. Warned-by: i18nspector - (cherry picked from commit a436a216fcb9c15abc0ea29c583d95beb15c4318) scripts/po/nl.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -commit dddcddc3c1b096d1bda86e994f87ec872c460235 +commit 1ebc200c416d2786de0df7d275c334b4894e2a5a Author: Guillem Jover -Date: Wed Feb 8 11:08:05 2023 +0100 +Date: Tue Feb 7 12:38:37 2023 +0100 - Bump version to 1.21.21 + Bump version to 1.22.0 - debian/changelog | 6 ++++++ - 1 file changed, 6 insertions(+) + debian/changelog | 6 ++++++ + scripts/Dpkg.pm | 2 +- + scripts/dpkg-fsys-usrunmess.pl | 2 +- + 3 files changed, 8 insertions(+), 2 deletions(-) commit 6c5140f124925ad4eb12fb2c8e83a050028bbc1f Author: Guillem Jover diff -Nru dpkg-1.21.22ubuntu1/ChangeLog.old dpkg-1.22.0ubuntu1/ChangeLog.old --- dpkg-1.21.22ubuntu1/ChangeLog.old 2023-05-10 19:19:02.000000000 +0000 +++ dpkg-1.22.0ubuntu1/ChangeLog.old 2023-08-27 01:28:04.000000000 +0000 @@ -5584,7 +5584,7 @@ manually override user and group for extracted directories. Instead we will take tar take of most of that. - (extracttar): Explicetly specify --no-same-owner + (extracttar): Explicitly specify --no-same-owner and --no-same-permissions. They are default anyway for non-root users, but no need to handle the source differently (i.e. more carelessly) if working as root. diff -Nru dpkg-1.21.22ubuntu1/config.h.in dpkg-1.22.0ubuntu1/config.h.in --- dpkg-1.21.22ubuntu1/config.h.in 2023-05-11 02:04:01.000000000 +0000 +++ dpkg-1.22.0ubuntu1/config.h.in 2023-08-30 03:39:24.000000000 +0000 @@ -3,6 +3,9 @@ /* Define if building universal (internal helper macro) */ #undef AC_APPLE_UNIVERSAL_BUILD +/* The normal alignment of `max_align_t', in bytes. */ +#undef ALIGNOF_MAX_ALIGN_T + /* Set this to the canonical dpkg architecture name. */ #undef ARCHITECTURE @@ -340,11 +343,29 @@ /* GNU patch program */ #undef PATCH -/* The size of `unsigned int', as computed by sizeof. */ -#undef SIZEOF_UNSIGNED_INT +/* The size of `double', as computed by sizeof. */ +#undef SIZEOF_DOUBLE + +/* The size of `float', as computed by sizeof. */ +#undef SIZEOF_FLOAT + +/* The size of `int', as computed by sizeof. */ +#undef SIZEOF_INT + +/* The size of `long', as computed by sizeof. */ +#undef SIZEOF_LONG + +/* The size of `long double', as computed by sizeof. */ +#undef SIZEOF_LONG_DOUBLE -/* The size of `unsigned long', as computed by sizeof. */ -#undef SIZEOF_UNSIGNED_LONG +/* The size of `long long', as computed by sizeof. */ +#undef SIZEOF_LONG_LONG + +/* The size of `short', as computed by sizeof. */ +#undef SIZEOF_SHORT + +/* The size of `void *', as computed by sizeof. */ +#undef SIZEOF_VOID_P /* Define to 1 if all of the C90 standard headers exist (not just the ones required in a freestanding environment). This macro is provided for @@ -502,6 +523,12 @@ /* Define for large files, on AIX-style hosts. */ #undef _LARGE_FILES +/* Define to 1 if type `char' is unsigned and your compiler does not + predefine this macro. */ +#ifndef __CHAR_UNSIGNED__ +# undef __CHAR_UNSIGNED__ +#endif + /* Define to empty if `const' does not conform to ANSI C. */ #undef const diff -Nru dpkg-1.21.22ubuntu1/configure dpkg-1.22.0ubuntu1/configure --- dpkg-1.21.22ubuntu1/configure 2023-05-11 02:04:01.000000000 +0000 +++ dpkg-1.22.0ubuntu1/configure 2023-08-30 03:39:24.000000000 +0000 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for dpkg 1.21.22. +# Generated by GNU Autoconf 2.71 for dpkg 1.22.0. # # Report bugs to . # @@ -681,8 +681,8 @@ # Identity of this package. PACKAGE_NAME='dpkg' PACKAGE_TARNAME='dpkg' -PACKAGE_VERSION='1.21.22' -PACKAGE_STRING='dpkg 1.21.22' +PACKAGE_VERSION='1.22.0' +PACKAGE_STRING='dpkg 1.22.0' PACKAGE_BUGREPORT='debian-dpkg@lists.debian.org' PACKAGE_URL='https://wiki.debian.org/Teams/Dpkg' @@ -771,6 +771,7 @@ Z_NG_LIBS Z_LIBS MD_LIBS +RT_LIBS PERL_COVER PERL_COVERAGE LCOV_GENHTML @@ -1001,6 +1002,8 @@ enable_mmap enable_disk_preallocate enable_compiler_warnings +enable_compiler_sanitizer +enable_compiler_analyzer enable_compiler_optimizations enable_linker_optimizations ' @@ -1024,6 +1027,7 @@ TAR PO4A POD2MAN +RT_LIBS MD_LIBS Z_LIBS Z_NG_LIBS @@ -1587,7 +1591,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures dpkg 1.21.22 to adapt to many kinds of systems. +\`configure' configures dpkg 1.22.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1658,7 +1662,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of dpkg 1.21.22:";; + short | recursive ) echo "Configuration of dpkg 1.22.0:";; esac cat <<\_ACEOF @@ -1693,6 +1697,10 @@ enable usage of disk size pre-allocation --disable-compiler-warnings Disable (detected) additional compiler warnings + --enable-compiler-sanitizer + Enable compiler sanitizer support + --enable-compiler-analyzer + Enable compiler analyzer support --disable-compiler-optimizations Disable (detected) compiler optimizations --disable-linker-optimizations @@ -1752,6 +1760,7 @@ TAR GNU tar program PO4A po4a program POD2MAN pod2man program + RT_LIBS linker flags for rt library MD_LIBS linker flags for md library Z_LIBS linker flags for z library Z_NG_LIBS linker flags for z-ng library @@ -1840,7 +1849,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -dpkg configure 1.21.22 +dpkg configure 1.22.0 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -2273,63 +2282,6 @@ } # ac_fn_cxx_check_header_compile -# ac_fn_c_check_type LINENO TYPE VAR INCLUDES -# ------------------------------------------- -# Tests whether TYPE exists after having included INCLUDES, setting cache -# variable VAR accordingly. -ac_fn_c_check_type () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else $as_nop - eval "$3=no" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main (void) -{ -if (sizeof ($2)) - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main (void) -{ -if (sizeof (($2))) - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - -else $as_nop - eval "$3=yes" -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_type - # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES # -------------------------------------------- # Tries to find the compile-time value of EXPR in a program that includes @@ -2519,6 +2471,63 @@ } # ac_fn_c_compute_int +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES +# ------------------------------------------- +# Tests whether TYPE exists after having included INCLUDES, setting cache +# variable VAR accordingly. +ac_fn_c_check_type () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else $as_nop + eval "$3=no" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +if (sizeof ($2)) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main (void) +{ +if (sizeof (($2))) + return 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else $as_nop + eval "$3=yes" +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_type + # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR # ------------------------------------------------------------------ # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR @@ -2656,7 +2665,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by dpkg $as_me 1.21.22, which was +It was created by dpkg $as_me 1.22.0, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -5474,7 +5483,7 @@ # Define the identity of the package. PACKAGE='dpkg' - VERSION='1.21.22' + VERSION='1.22.0' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -17109,10 +17118,14 @@ /* end confdefs.h. */ +extern int symbol(void); +int symbol(void) { return 0; } + int main (void) { + ; return 0; } @@ -17255,10 +17268,10 @@ - PERL_MIN_VERSION=5.28.1 + PERL_MIN_VERSION=5.32.1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.28.1" >&5 -printf %s "checking for perl >= 5.28.1... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.32.1" >&5 +printf %s "checking for perl >= 5.32.1... " >&6; } if test ${ac_cv_path_PERL+y} then : printf %s "(cached) " >&6 @@ -17284,7 +17297,7 @@ perlcheck=$(test -x $ac_path_PERL && \ $ac_path_PERL -MConfig -Mversion -e \ - 'my $r = qv("v$Config{version}") >= qv("5.28.1"); + 'my $r = qv("v$Config{version}") >= qv("5.32.1"); print "yes" if $r') if test "x$perlcheck" = "xyes" then : @@ -17300,7 +17313,7 @@ IFS=$as_save_IFS if test -z "$ac_cv_path_PERL"; then - as_fn_error $? "cannot find perl >= 5.28.1" "$LINENO" 5 + as_fn_error $? "cannot find perl >= 5.32.1" "$LINENO" 5 fi else @@ -17564,6 +17577,148 @@ SED="$ac_cv_path_SED" rm -f conftest.sed +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +printf %s "checking for grep that handles long lines and -e... " >&6; } +if test ${ac_cv_path_GREP+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_prog in grep ggrep + do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_GREP" || continue +# Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + printf %s 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + printf "%s\n" 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_GREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_GREP=$GREP +fi + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +printf "%s\n" "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +printf %s "checking for egrep... " >&6; } +if test ${ac_cv_path_EGREP+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + if test -z "$EGREP"; then + ac_path_EGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_prog in egrep + do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_EGREP" || continue +# Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + printf %s 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + printf "%s\n" 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_EGREP=$EGREP +fi + + fi +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +printf "%s\n" "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -22810,10 +22965,10 @@ - PERL_MIN_VERSION=5.28.1 + PERL_MIN_VERSION=5.32.1 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.28.1" >&5 -printf %s "checking for perl >= 5.28.1... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.32.1" >&5 +printf %s "checking for perl >= 5.32.1... " >&6; } if test ${ac_cv_path_PERL+y} then : printf %s "(cached) " >&6 @@ -22839,7 +22994,7 @@ perlcheck=$(test -x $ac_path_PERL && \ $ac_path_PERL -MConfig -Mversion -e \ - 'my $r = qv("v$Config{version}") >= qv("5.28.1"); + 'my $r = qv("v$Config{version}") >= qv("5.32.1"); print "yes" if $r') if test "x$perlcheck" = "xyes" then : @@ -22855,7 +23010,7 @@ IFS=$as_save_IFS if test -z "$ac_cv_path_PERL"; then - as_fn_error $? "cannot find perl >= 5.28.1" "$LINENO" 5 + as_fn_error $? "cannot find perl >= 5.32.1" "$LINENO" 5 fi else @@ -23414,6 +23569,82 @@ # Checks for libraries. + have_librt="no" + dpkg_save_librt_LIBS=$LIBS + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 +printf %s "checking for library containing clock_gettime... " >&6; } +if test ${ac_cv_search_clock_gettime+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +char clock_gettime (); +int +main (void) +{ +return clock_gettime (); + ; + return 0; +} +_ACEOF +for ac_lib in '' rt +do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO" +then : + ac_cv_search_clock_gettime=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext + if test ${ac_cv_search_clock_gettime+y} +then : + break +fi +done +if test ${ac_cv_search_clock_gettime+y} +then : + +else $as_nop + ac_cv_search_clock_gettime=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 +printf "%s\n" "$ac_cv_search_clock_gettime" >&6; } +ac_res=$ac_cv_search_clock_gettime +if test "$ac_res" != no +then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + +fi + + LIBS=$dpkg_save_librt_LIBS + if test "x$ac_cv_search_clock_gettime" = "xnone required" +then : + + have_librt="builtin" + +elif test "x$ac_cv_search_clock_gettime" != "xno" +then : + + have_librt="yes" + RT_LIBS="$ac_cv_search_clock_gettime" + +fi + + have_libmd="no" for ac_header in md5.h @@ -25101,183 +25332,525 @@ fi # Checks for typedefs, structures, and compiler characteristics. - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 -printf %s "checking whether byte ordering is bigendian... " >&6; } -if test ${ac_cv_c_bigendian+y} + + # The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 +printf %s "checking size of short... " >&6; } +if test ${ac_cv_sizeof_short+y} then : printf %s "(cached) " >&6 else $as_nop - ac_cv_c_bigendian=unknown - # See if we're dealing with a universal compiler. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifndef __APPLE_CC__ - not a universal capable compiler - #endif - typedef int dummy; - -_ACEOF -if ac_fn_c_try_compile "$LINENO" + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default" then : - # Check for potential -arch flags. It is not universal unless - # there are at least two -arch flags with different values. - ac_arch= - ac_prev= - for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do - if test -n "$ac_prev"; then - case $ac_word in - i?86 | x86_64 | ppc | ppc64) - if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then - ac_arch=$ac_word - else - ac_cv_c_bigendian=universal - break - fi - ;; - esac - ac_prev= - elif test "x$ac_word" = "x-arch"; then - ac_prev=arch - fi - done +else $as_nop + if test "$ac_cv_type_short" = yes; then + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (short) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_short=0 + fi fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - if test $ac_cv_c_bigendian = unknown; then - # See if sys/param.h defines the BYTE_ORDER macro. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include -int -main (void) -{ -#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ - && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ - && LITTLE_ENDIAN) - bogus endian macros - #endif +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 +printf "%s\n" "$ac_cv_sizeof_short" >&6; } - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - # It does; now see whether it defined to BIG_ENDIAN or not. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include -int -main (void) -{ -#if BYTE_ORDER != BIG_ENDIAN - not big endian - #endif - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" +printf "%s\n" "#define SIZEOF_SHORT $ac_cv_sizeof_short" >>confdefs.h + + + # The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 +printf %s "checking size of int... " >&6; } +if test ${ac_cv_sizeof_int+y} then : - ac_cv_c_bigendian=yes + printf %s "(cached) " >&6 else $as_nop - ac_cv_c_bigendian=no + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default" +then : + +else $as_nop + if test "$ac_cv_type_int" = yes; then + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (int) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_int=0 + fi fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - fi - if test $ac_cv_c_bigendian = unknown; then - # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 +printf "%s\n" "$ac_cv_sizeof_int" >&6; } -int -main (void) -{ -#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) - bogus endian macros - #endif - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - # It does; now see whether it defined to _BIG_ENDIAN or not. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main (void) -{ -#ifndef _BIG_ENDIAN - not big endian - #endif +printf "%s\n" "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" + + # The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 +printf %s "checking size of long... " >&6; } +if test ${ac_cv_sizeof_long+y} then : - ac_cv_c_bigendian=yes + printf %s "(cached) " >&6 else $as_nop - ac_cv_c_bigendian=no + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default" +then : + +else $as_nop + if test "$ac_cv_type_long" = yes; then + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (long) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_long=0 + fi fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - fi - if test $ac_cv_c_bigendian = unknown; then - # Compile a test program. - if test "$cross_compiling" = yes -then : - # Try to guess by grepping values from an object file. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -unsigned short int ascii_mm[] = - { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; - unsigned short int ascii_ii[] = - { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; - int use_ascii (int i) { - return ascii_mm[i] + ascii_ii[i]; - } - unsigned short int ebcdic_ii[] = - { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; - unsigned short int ebcdic_mm[] = - { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; - int use_ebcdic (int i) { - return ebcdic_mm[i] + ebcdic_ii[i]; - } - extern int foo; +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 +printf "%s\n" "$ac_cv_sizeof_long" >&6; } -int -main (void) -{ -return use_ascii (foo) == use_ebcdic (foo); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO" + + +printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h + + + # The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 +printf %s "checking size of long long... " >&6; } +if test ${ac_cv_sizeof_long_long+y} then : - if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then - ac_cv_c_bigendian=yes - fi - if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then - if test "$ac_cv_c_bigendian" = unknown; then - ac_cv_c_bigendian=no - else - # finding both strings is unlikely to happen, but who knows? + printf %s "(cached) " >&6 +else $as_nop + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default" +then : + +else $as_nop + if test "$ac_cv_type_long_long" = yes; then + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (long long) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_long_long=0 + fi +fi + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 +printf "%s\n" "$ac_cv_sizeof_long_long" >&6; } + + + +printf "%s\n" "#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long" >>confdefs.h + + + # The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of float" >&5 +printf %s "checking size of float... " >&6; } +if test ${ac_cv_sizeof_float+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default" +then : + +else $as_nop + if test "$ac_cv_type_float" = yes; then + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (float) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_float=0 + fi +fi + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5 +printf "%s\n" "$ac_cv_sizeof_float" >&6; } + + + +printf "%s\n" "#define SIZEOF_FLOAT $ac_cv_sizeof_float" >>confdefs.h + + + # The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of double" >&5 +printf %s "checking size of double... " >&6; } +if test ${ac_cv_sizeof_double+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default" +then : + +else $as_nop + if test "$ac_cv_type_double" = yes; then + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (double) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_double=0 + fi +fi + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5 +printf "%s\n" "$ac_cv_sizeof_double" >&6; } + + + +printf "%s\n" "#define SIZEOF_DOUBLE $ac_cv_sizeof_double" >>confdefs.h + + + # The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5 +printf %s "checking size of long double... " >&6; } +if test ${ac_cv_sizeof_long_double+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default" +then : + +else $as_nop + if test "$ac_cv_type_long_double" = yes; then + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (long double) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_long_double=0 + fi +fi + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5 +printf "%s\n" "$ac_cv_sizeof_long_double" >&6; } + + + +printf "%s\n" "#define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double" >>confdefs.h + + + # The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 +printf %s "checking size of void *... " >&6; } +if test ${ac_cv_sizeof_void_p+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default" +then : + +else $as_nop + if test "$ac_cv_type_void_p" = yes; then + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (void *) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_void_p=0 + fi +fi + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 +printf "%s\n" "$ac_cv_sizeof_void_p" >&6; } + + + +printf "%s\n" "#define SIZEOF_VOID_P $ac_cv_sizeof_void_p" >>confdefs.h + + + + # The cast to long int works around a bug in the HP C Compiler, +# see AC_CHECK_SIZEOF for more information. +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking alignment of max_align_t" >&5 +printf %s "checking alignment of max_align_t... " >&6; } +if test ${ac_cv_alignof_max_align_t+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_max_align_t" "$ac_includes_default +typedef struct { char x; max_align_t y; } ac__type_alignof_;" +then : + +else $as_nop + if test "$ac_cv_type_max_align_t" = yes; then + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute alignment of max_align_t +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_alignof_max_align_t=0 + fi +fi + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_max_align_t" >&5 +printf "%s\n" "$ac_cv_alignof_max_align_t" >&6; } + + + +printf "%s\n" "#define ALIGNOF_MAX_ALIGN_T $ac_cv_alignof_max_align_t" >>confdefs.h + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5 +printf %s "checking whether char is unsigned... " >&6; } +if test ${ac_cv_c_char_unsigned+y} +then : + printf %s "(cached) " >&6 +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_includes_default +int +main (void) +{ +static int test_array [1 - 2 * !(((char) -1) < 0)]; +test_array [0] = 0; +return test_array [0]; + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_c_char_unsigned=no +else $as_nop + ac_cv_c_char_unsigned=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5 +printf "%s\n" "$ac_cv_c_char_unsigned" >&6; } +if test $ac_cv_c_char_unsigned = yes; then + printf "%s\n" "#define __CHAR_UNSIGNED__ 1" >>confdefs.h + +fi + + if test "$ac_cv_c_char_unsigned" = yes +then : + dpkg_char_sign=unsigned +else $as_nop + dpkg_char_sign=signed + +fi + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 +printf %s "checking whether byte ordering is bigendian... " >&6; } +if test ${ac_cv_c_bigendian+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_c_bigendian=unknown + # See if we're dealing with a universal compiler. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __APPLE_CC__ + not a universal capable compiler + #endif + typedef int dummy; + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + # Check for potential -arch flags. It is not universal unless + # there are at least two -arch flags with different values. + ac_arch= + ac_prev= + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do + if test -n "$ac_prev"; then + case $ac_word in + i?86 | x86_64 | ppc | ppc64) + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then + ac_arch=$ac_word + else + ac_cv_c_bigendian=universal + break + fi + ;; + esac + ac_prev= + elif test "x$ac_word" = "x-arch"; then + ac_prev=arch + fi + done +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + if test $ac_cv_c_bigendian = unknown; then + # See if sys/param.h defines the BYTE_ORDER macro. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + +int +main (void) +{ +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ + && LITTLE_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + # It does; now see whether it defined to BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + +int +main (void) +{ +#if BYTE_ORDER != BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_c_bigendian=yes +else $as_nop + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) + bogus endian macros + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + # It does; now see whether it defined to _BIG_ENDIAN or not. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main (void) +{ +#ifndef _BIG_ENDIAN + not big endian + #endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_c_bigendian=yes +else $as_nop + ac_cv_c_bigendian=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # Compile a test program. + if test "$cross_compiling" = yes +then : + # Try to guess by grepping values from an object file. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +unsigned short int ascii_mm[] = + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; + unsigned short int ascii_ii[] = + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; + int use_ascii (int i) { + return ascii_mm[i] + ascii_ii[i]; + } + unsigned short int ebcdic_ii[] = + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; + unsigned short int ebcdic_mm[] = + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; + int use_ebcdic (int i) { + return ebcdic_mm[i] + ebcdic_ii[i]; + } + extern int foo; + +int +main (void) +{ +return use_ascii (foo) == use_ebcdic (foo); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then + ac_cv_c_bigendian=yes + fi + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then + if test "$ac_cv_c_bigendian" = unknown; then + ac_cv_c_bigendian=no + else + # finding both strings is unlikely to happen, but who knows? ac_cv_c_bigendian=unknown fi fi @@ -25334,6 +25907,23 @@ presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; esac + case $ac_cv_c_bigendian in #( + yes) : + dpkg_arch_endian=big ;; #( + no) : + dpkg_arch_endian=little ;; #( + *) : + dpkg_arch_endian=$ac_cv_c_bigendian + ;; +esac + + if ac_fn_c_compute_int "$LINENO" "CHAR_BIT" "dpkg_char_bits" "#include " +then : + +fi + + dpkg_arch_bits=$((ac_cv_sizeof_void_p * dpkg_char_bits)) + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 printf %s "checking for an ANSI C-conforming const... " >&6; } if test ${ac_cv_c_const+y} @@ -25568,72 +26158,6 @@ fi -# The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5 -printf %s "checking size of unsigned int... " >&6; } -if test ${ac_cv_sizeof_unsigned_int+y} -then : - printf %s "(cached) " >&6 -else $as_nop - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default" -then : - -else $as_nop - if test "$ac_cv_type_unsigned_int" = yes; then - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (unsigned int) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_unsigned_int=0 - fi -fi - -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5 -printf "%s\n" "$ac_cv_sizeof_unsigned_int" >&6; } - - - -printf "%s\n" "#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int" >>confdefs.h - - -# The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5 -printf %s "checking size of unsigned long... " >&6; } -if test ${ac_cv_sizeof_unsigned_long+y} -then : - printf %s "(cached) " >&6 -else $as_nop - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default" -then : - -else $as_nop - if test "$ac_cv_type_unsigned_long" = yes; then - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "cannot compute sizeof (unsigned long) -See \`config.log' for more details" "$LINENO" 5; } - else - ac_cv_sizeof_unsigned_long=0 - fi -fi - -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5 -printf "%s\n" "$ac_cv_sizeof_unsigned_long" >&6; } - - - -printf "%s\n" "#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long" >>confdefs.h - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } if test ${ac_cv_c_undeclared_builtin_options+y} @@ -26581,6 +27105,7 @@ + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wall" >&5 printf %s "checking whether $CC accepts -Wall... " >&6; } if test ${dpkg_cv_cflags__Wall+y} @@ -26615,7 +27140,7 @@ if test "x$dpkg_cv_cflags__Wall" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wall" + as_fn_append DPKG_COMPILER_CFLAGS " -Wall" fi @@ -26630,6 +27155,7 @@ + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wextra" >&5 printf %s "checking whether $CC accepts -Wextra... " >&6; } if test ${dpkg_cv_cflags__Wextra+y} @@ -26664,7 +27190,7 @@ if test "x$dpkg_cv_cflags__Wextra" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wextra" + as_fn_append DPKG_COMPILER_CFLAGS " -Wextra" fi @@ -26680,15 +27206,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wcast-align" >&5 -printf %s "checking whether $CC accepts -Wcast-align... " >&6; } -if test ${dpkg_cv_cflags__Wcast_align+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Walloca" >&5 +printf %s "checking whether $CC accepts -Walloca... " >&6; } +if test ${dpkg_cv_cflags__Walloca+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wcast-align" + CFLAGS="-Werror -Walloca" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -26698,23 +27225,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wcast_align=yes + dpkg_cv_cflags__Walloca=yes else $as_nop - dpkg_cv_cflags__Wcast_align=no + dpkg_cv_cflags__Walloca=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wcast_align" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wcast_align" >&6; } - if test "x$dpkg_cv_cflags__Wcast_align" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Walloca" >&5 +printf "%s\n" "$dpkg_cv_cflags__Walloca" >&6; } + if test "x$dpkg_cv_cflags__Walloca" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wcast-align" + as_fn_append DPKG_COMPILER_CFLAGS " -Walloca" fi @@ -26729,15 +27256,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wdocumentation" >&5 -printf %s "checking whether $CC accepts -Wdocumentation... " >&6; } -if test ${dpkg_cv_cflags__Wdocumentation+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Walloc-zero" >&5 +printf %s "checking whether $CC accepts -Walloc-zero... " >&6; } +if test ${dpkg_cv_cflags__Walloc_zero+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wdocumentation" + CFLAGS="-Werror -Walloc-zero" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -26747,23 +27275,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wdocumentation=yes + dpkg_cv_cflags__Walloc_zero=yes else $as_nop - dpkg_cv_cflags__Wdocumentation=no + dpkg_cv_cflags__Walloc_zero=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wdocumentation" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wdocumentation" >&6; } - if test "x$dpkg_cv_cflags__Wdocumentation" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Walloc_zero" >&5 +printf "%s\n" "$dpkg_cv_cflags__Walloc_zero" >&6; } + if test "x$dpkg_cv_cflags__Walloc_zero" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wdocumentation" + as_fn_append DPKG_COMPILER_CFLAGS " -Walloc-zero" fi @@ -26778,15 +27306,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wduplicated-branches" >&5 -printf %s "checking whether $CC accepts -Wduplicated-branches... " >&6; } -if test ${dpkg_cv_cflags__Wduplicated_branches+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Warray-bounds-pointer-arithmetic" >&5 +printf %s "checking whether $CC accepts -Warray-bounds-pointer-arithmetic... " >&6; } +if test ${dpkg_cv_cflags__Warray_bounds_pointer_arithmetic+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wduplicated-branches" + CFLAGS="-Werror -Warray-bounds-pointer-arithmetic" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -26796,23 +27325,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wduplicated_branches=yes + dpkg_cv_cflags__Warray_bounds_pointer_arithmetic=yes else $as_nop - dpkg_cv_cflags__Wduplicated_branches=no + dpkg_cv_cflags__Warray_bounds_pointer_arithmetic=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wduplicated_branches" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wduplicated_branches" >&6; } - if test "x$dpkg_cv_cflags__Wduplicated_branches" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Warray_bounds_pointer_arithmetic" >&5 +printf "%s\n" "$dpkg_cv_cflags__Warray_bounds_pointer_arithmetic" >&6; } + if test "x$dpkg_cv_cflags__Warray_bounds_pointer_arithmetic" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wduplicated-branches" + as_fn_append DPKG_COMPILER_CFLAGS " -Warray-bounds-pointer-arithmetic" fi @@ -26827,15 +27356,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wduplicated-cond" >&5 -printf %s "checking whether $CC accepts -Wduplicated-cond... " >&6; } -if test ${dpkg_cv_cflags__Wduplicated_cond+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wassign-enum" >&5 +printf %s "checking whether $CC accepts -Wassign-enum... " >&6; } +if test ${dpkg_cv_cflags__Wassign_enum+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wduplicated-cond" + CFLAGS="-Werror -Wassign-enum" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -26845,23 +27375,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wduplicated_cond=yes + dpkg_cv_cflags__Wassign_enum=yes else $as_nop - dpkg_cv_cflags__Wduplicated_cond=no + dpkg_cv_cflags__Wassign_enum=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wduplicated_cond" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wduplicated_cond" >&6; } - if test "x$dpkg_cv_cflags__Wduplicated_cond" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wassign_enum" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wassign_enum" >&6; } + if test "x$dpkg_cv_cflags__Wassign_enum" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wduplicated-cond" + as_fn_append DPKG_COMPILER_CFLAGS " -Wassign-enum" fi @@ -26876,15 +27406,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wformat -Wformat-security" >&5 -printf %s "checking whether $CC accepts -Wformat -Wformat-security... " >&6; } -if test ${dpkg_cv_cflags__Wformat__Wformat_security+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wbitfield-enum-conversion" >&5 +printf %s "checking whether $CC accepts -Wbitfield-enum-conversion... " >&6; } +if test ${dpkg_cv_cflags__Wbitfield_enum_conversion+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wformat -Wformat-security" + CFLAGS="-Werror -Wbitfield-enum-conversion" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -26894,23 +27425,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wformat__Wformat_security=yes + dpkg_cv_cflags__Wbitfield_enum_conversion=yes else $as_nop - dpkg_cv_cflags__Wformat__Wformat_security=no + dpkg_cv_cflags__Wbitfield_enum_conversion=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wformat__Wformat_security" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wformat__Wformat_security" >&6; } - if test "x$dpkg_cv_cflags__Wformat__Wformat_security" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wbitfield_enum_conversion" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wbitfield_enum_conversion" >&6; } + if test "x$dpkg_cv_cflags__Wbitfield_enum_conversion" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wformat -Wformat-security" + as_fn_append DPKG_COMPILER_CFLAGS " -Wbitfield-enum-conversion" fi @@ -26925,15 +27456,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wformat=2" >&5 -printf %s "checking whether $CC accepts -Wformat=2... " >&6; } -if test ${dpkg_cv_cflags__Wformat_2+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wcast-align" >&5 +printf %s "checking whether $CC accepts -Wcast-align... " >&6; } +if test ${dpkg_cv_cflags__Wcast_align+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wformat=2" + CFLAGS="-Werror -Wcast-align" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -26943,23 +27475,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wformat_2=yes + dpkg_cv_cflags__Wcast_align=yes else $as_nop - dpkg_cv_cflags__Wformat_2=no + dpkg_cv_cflags__Wcast_align=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wformat_2" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wformat_2" >&6; } - if test "x$dpkg_cv_cflags__Wformat_2" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wcast_align" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wcast_align" >&6; } + if test "x$dpkg_cv_cflags__Wcast_align" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wformat=2" + as_fn_append DPKG_COMPILER_CFLAGS " -Wcast-align" fi @@ -26974,15 +27506,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Winit-self" >&5 -printf %s "checking whether $CC accepts -Winit-self... " >&6; } -if test ${dpkg_cv_cflags__Winit_self+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wconditional-uninitialized" >&5 +printf %s "checking whether $CC accepts -Wconditional-uninitialized... " >&6; } +if test ${dpkg_cv_cflags__Wconditional_uninitialized+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Winit-self" + CFLAGS="-Werror -Wconditional-uninitialized" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -26992,23 +27525,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Winit_self=yes + dpkg_cv_cflags__Wconditional_uninitialized=yes else $as_nop - dpkg_cv_cflags__Winit_self=no + dpkg_cv_cflags__Wconditional_uninitialized=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Winit_self" >&5 -printf "%s\n" "$dpkg_cv_cflags__Winit_self" >&6; } - if test "x$dpkg_cv_cflags__Winit_self" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wconditional_uninitialized" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wconditional_uninitialized" >&6; } + if test "x$dpkg_cv_cflags__Wconditional_uninitialized" = xyes then : - as_fn_append COMPILER_CFLAGS " -Winit-self" + as_fn_append DPKG_COMPILER_CFLAGS " -Wconditional-uninitialized" fi @@ -27023,15 +27556,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wlogical-not-parentheses" >&5 -printf %s "checking whether $CC accepts -Wlogical-not-parentheses... " >&6; } -if test ${dpkg_cv_cflags__Wlogical_not_parentheses+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wdate-time" >&5 +printf %s "checking whether $CC accepts -Wdate-time... " >&6; } +if test ${dpkg_cv_cflags__Wdate_time+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wlogical-not-parentheses" + CFLAGS="-Werror -Wdate-time" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27041,23 +27575,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wlogical_not_parentheses=yes + dpkg_cv_cflags__Wdate_time=yes else $as_nop - dpkg_cv_cflags__Wlogical_not_parentheses=no + dpkg_cv_cflags__Wdate_time=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wlogical_not_parentheses" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wlogical_not_parentheses" >&6; } - if test "x$dpkg_cv_cflags__Wlogical_not_parentheses" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wdate_time" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wdate_time" >&6; } + if test "x$dpkg_cv_cflags__Wdate_time" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wlogical-not-parentheses" + as_fn_append DPKG_COMPILER_CFLAGS " -Wdate-time" fi @@ -27072,15 +27606,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wlogical-op" >&5 -printf %s "checking whether $CC accepts -Wlogical-op... " >&6; } -if test ${dpkg_cv_cflags__Wlogical_op+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wdocumentation" >&5 +printf %s "checking whether $CC accepts -Wdocumentation... " >&6; } +if test ${dpkg_cv_cflags__Wdocumentation+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wlogical-op" + CFLAGS="-Werror -Wdocumentation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27090,23 +27625,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wlogical_op=yes + dpkg_cv_cflags__Wdocumentation=yes else $as_nop - dpkg_cv_cflags__Wlogical_op=no + dpkg_cv_cflags__Wdocumentation=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wlogical_op" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wlogical_op" >&6; } - if test "x$dpkg_cv_cflags__Wlogical_op" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wdocumentation" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wdocumentation" >&6; } + if test "x$dpkg_cv_cflags__Wdocumentation" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wlogical-op" + as_fn_append DPKG_COMPILER_CFLAGS " -Wdocumentation" fi @@ -27121,15 +27656,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wmissing-declarations" >&5 -printf %s "checking whether $CC accepts -Wmissing-declarations... " >&6; } -if test ${dpkg_cv_cflags__Wmissing_declarations+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wduplicate-enum" >&5 +printf %s "checking whether $CC accepts -Wduplicate-enum... " >&6; } +if test ${dpkg_cv_cflags__Wduplicate_enum+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wmissing-declarations" + CFLAGS="-Werror -Wduplicate-enum" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27139,23 +27675,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wmissing_declarations=yes + dpkg_cv_cflags__Wduplicate_enum=yes else $as_nop - dpkg_cv_cflags__Wmissing_declarations=no + dpkg_cv_cflags__Wduplicate_enum=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wmissing_declarations" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wmissing_declarations" >&6; } - if test "x$dpkg_cv_cflags__Wmissing_declarations" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wduplicate_enum" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wduplicate_enum" >&6; } + if test "x$dpkg_cv_cflags__Wduplicate_enum" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wmissing-declarations" + as_fn_append DPKG_COMPILER_CFLAGS " -Wduplicate-enum" fi @@ -27170,15 +27706,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wmissing-format-attribute" >&5 -printf %s "checking whether $CC accepts -Wmissing-format-attribute... " >&6; } -if test ${dpkg_cv_cflags__Wmissing_format_attribute+y} -then : - printf %s "(cached) " >&6 -else $as_nop + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wduplicated-branches" >&5 +printf %s "checking whether $CC accepts -Wduplicated-branches... " >&6; } +if test ${dpkg_cv_cflags__Wduplicated_branches+y} +then : + printf %s "(cached) " >&6 +else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wmissing-format-attribute" + CFLAGS="-Werror -Wduplicated-branches" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27188,23 +27725,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wmissing_format_attribute=yes + dpkg_cv_cflags__Wduplicated_branches=yes else $as_nop - dpkg_cv_cflags__Wmissing_format_attribute=no + dpkg_cv_cflags__Wduplicated_branches=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wmissing_format_attribute" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wmissing_format_attribute" >&6; } - if test "x$dpkg_cv_cflags__Wmissing_format_attribute" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wduplicated_branches" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wduplicated_branches" >&6; } + if test "x$dpkg_cv_cflags__Wduplicated_branches" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wmissing-format-attribute" + as_fn_append DPKG_COMPILER_CFLAGS " -Wduplicated-branches" fi @@ -27219,15 +27756,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wno-missing-field-initializers" >&5 -printf %s "checking whether $CC accepts -Wno-missing-field-initializers... " >&6; } -if test ${dpkg_cv_cflags__Wno_missing_field_initializers+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wduplicated-cond" >&5 +printf %s "checking whether $CC accepts -Wduplicated-cond... " >&6; } +if test ${dpkg_cv_cflags__Wduplicated_cond+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wmissing-field-initializers" + CFLAGS="-Werror -Wduplicated-cond" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27237,23 +27775,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wno_missing_field_initializers=yes + dpkg_cv_cflags__Wduplicated_cond=yes else $as_nop - dpkg_cv_cflags__Wno_missing_field_initializers=no + dpkg_cv_cflags__Wduplicated_cond=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wno_missing_field_initializers" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wno_missing_field_initializers" >&6; } - if test "x$dpkg_cv_cflags__Wno_missing_field_initializers" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wduplicated_cond" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wduplicated_cond" >&6; } + if test "x$dpkg_cv_cflags__Wduplicated_cond" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wno-missing-field-initializers" + as_fn_append DPKG_COMPILER_CFLAGS " -Wduplicated-cond" fi @@ -27268,15 +27806,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wno-nonnull-compare" >&5 -printf %s "checking whether $CC accepts -Wno-nonnull-compare... " >&6; } -if test ${dpkg_cv_cflags__Wno_nonnull_compare+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wextra-semi" >&5 +printf %s "checking whether $CC accepts -Wextra-semi... " >&6; } +if test ${dpkg_cv_cflags__Wextra_semi+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wnonnull-compare" + CFLAGS="-Werror -Wextra-semi" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27286,23 +27825,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wno_nonnull_compare=yes + dpkg_cv_cflags__Wextra_semi=yes else $as_nop - dpkg_cv_cflags__Wno_nonnull_compare=no + dpkg_cv_cflags__Wextra_semi=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wno_nonnull_compare" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wno_nonnull_compare" >&6; } - if test "x$dpkg_cv_cflags__Wno_nonnull_compare" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wextra_semi" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wextra_semi" >&6; } + if test "x$dpkg_cv_cflags__Wextra_semi" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wno-nonnull-compare" + as_fn_append DPKG_COMPILER_CFLAGS " -Wextra-semi" fi @@ -27317,15 +27856,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wno-tautological-constant-out-of-range-compare" >&5 -printf %s "checking whether $CC accepts -Wno-tautological-constant-out-of-range-compare... " >&6; } -if test ${dpkg_cv_cflags__Wno_tautological_constant_out_of_range_compare+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wflexible-array-extensions" >&5 +printf %s "checking whether $CC accepts -Wflexible-array-extensions... " >&6; } +if test ${dpkg_cv_cflags__Wflexible_array_extensions+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wtautological-constant-out-of-range-compare" + CFLAGS="-Werror -Wflexible-array-extensions" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27335,23 +27875,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wno_tautological_constant_out_of_range_compare=yes + dpkg_cv_cflags__Wflexible_array_extensions=yes else $as_nop - dpkg_cv_cflags__Wno_tautological_constant_out_of_range_compare=no + dpkg_cv_cflags__Wflexible_array_extensions=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wno_tautological_constant_out_of_range_compare" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wno_tautological_constant_out_of_range_compare" >&6; } - if test "x$dpkg_cv_cflags__Wno_tautological_constant_out_of_range_compare" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wflexible_array_extensions" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wflexible_array_extensions" >&6; } + if test "x$dpkg_cv_cflags__Wflexible_array_extensions" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wno-tautological-constant-out-of-range-compare" + as_fn_append DPKG_COMPILER_CFLAGS " -Wflexible-array-extensions" fi @@ -27366,15 +27906,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wno-unused-parameter" >&5 -printf %s "checking whether $CC accepts -Wno-unused-parameter... " >&6; } -if test ${dpkg_cv_cflags__Wno_unused_parameter+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wfloat-conversion" >&5 +printf %s "checking whether $CC accepts -Wfloat-conversion... " >&6; } +if test ${dpkg_cv_cflags__Wfloat_conversion+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wunused-parameter" + CFLAGS="-Werror -Wfloat-conversion" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27384,23 +27925,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wno_unused_parameter=yes + dpkg_cv_cflags__Wfloat_conversion=yes else $as_nop - dpkg_cv_cflags__Wno_unused_parameter=no + dpkg_cv_cflags__Wfloat_conversion=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wno_unused_parameter" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wno_unused_parameter" >&6; } - if test "x$dpkg_cv_cflags__Wno_unused_parameter" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wfloat_conversion" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wfloat_conversion" >&6; } + if test "x$dpkg_cv_cflags__Wfloat_conversion" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wno-unused-parameter" + as_fn_append DPKG_COMPILER_CFLAGS " -Wfloat-conversion" fi @@ -27415,15 +27956,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wnull-dereference" >&5 -printf %s "checking whether $CC accepts -Wnull-dereference... " >&6; } -if test ${dpkg_cv_cflags__Wnull_dereference+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wfloat-equal" >&5 +printf %s "checking whether $CC accepts -Wfloat-equal... " >&6; } +if test ${dpkg_cv_cflags__Wfloat_equal+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wnull-dereference" + CFLAGS="-Werror -Wfloat-equal" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27433,23 +27975,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wnull_dereference=yes + dpkg_cv_cflags__Wfloat_equal=yes else $as_nop - dpkg_cv_cflags__Wnull_dereference=no + dpkg_cv_cflags__Wfloat_equal=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wnull_dereference" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wnull_dereference" >&6; } - if test "x$dpkg_cv_cflags__Wnull_dereference" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wfloat_equal" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wfloat_equal" >&6; } + if test "x$dpkg_cv_cflags__Wfloat_equal" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wnull-dereference" + as_fn_append DPKG_COMPILER_CFLAGS " -Wfloat-equal" fi @@ -27464,15 +28006,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wpointer-arith" >&5 -printf %s "checking whether $CC accepts -Wpointer-arith... " >&6; } -if test ${dpkg_cv_cflags__Wpointer_arith+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wformat -Wformat-security" >&5 +printf %s "checking whether $CC accepts -Wformat -Wformat-security... " >&6; } +if test ${dpkg_cv_cflags__Wformat__Wformat_security+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wpointer-arith" + CFLAGS="-Werror -Wformat -Wformat-security" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27482,23 +28025,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wpointer_arith=yes + dpkg_cv_cflags__Wformat__Wformat_security=yes else $as_nop - dpkg_cv_cflags__Wpointer_arith=no + dpkg_cv_cflags__Wformat__Wformat_security=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wpointer_arith" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wpointer_arith" >&6; } - if test "x$dpkg_cv_cflags__Wpointer_arith" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wformat__Wformat_security" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wformat__Wformat_security" >&6; } + if test "x$dpkg_cv_cflags__Wformat__Wformat_security" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wpointer-arith" + as_fn_append DPKG_COMPILER_CFLAGS " -Wformat -Wformat-security" fi @@ -27513,15 +28056,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wredundant-decls" >&5 -printf %s "checking whether $CC accepts -Wredundant-decls... " >&6; } -if test ${dpkg_cv_cflags__Wredundant_decls+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wformat=2" >&5 +printf %s "checking whether $CC accepts -Wformat=2... " >&6; } +if test ${dpkg_cv_cflags__Wformat_2+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wredundant-decls" + CFLAGS="-Werror -Wformat=2" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27531,23 +28075,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wredundant_decls=yes + dpkg_cv_cflags__Wformat_2=yes else $as_nop - dpkg_cv_cflags__Wredundant_decls=no + dpkg_cv_cflags__Wformat_2=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wredundant_decls" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wredundant_decls" >&6; } - if test "x$dpkg_cv_cflags__Wredundant_decls" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wformat_2" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wformat_2" >&6; } + if test "x$dpkg_cv_cflags__Wformat_2" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wredundant-decls" + as_fn_append DPKG_COMPILER_CFLAGS " -Wformat=2" fi @@ -27562,15 +28106,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wregister" >&5 -printf %s "checking whether $CC accepts -Wregister... " >&6; } -if test ${dpkg_cv_cflags__Wregister+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Winit-self" >&5 +printf %s "checking whether $CC accepts -Winit-self... " >&6; } +if test ${dpkg_cv_cflags__Winit_self+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wregister" + CFLAGS="-Werror -Winit-self" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27580,23 +28125,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wregister=yes + dpkg_cv_cflags__Winit_self=yes else $as_nop - dpkg_cv_cflags__Wregister=no + dpkg_cv_cflags__Winit_self=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wregister" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wregister" >&6; } - if test "x$dpkg_cv_cflags__Wregister" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Winit_self" >&5 +printf "%s\n" "$dpkg_cv_cflags__Winit_self" >&6; } + if test "x$dpkg_cv_cflags__Winit_self" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wregister" + as_fn_append DPKG_COMPILER_CFLAGS " -Winit-self" fi @@ -27611,15 +28156,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wrestrict" >&5 -printf %s "checking whether $CC accepts -Wrestrict... " >&6; } -if test ${dpkg_cv_cflags__Wrestrict+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wlogical-not-parentheses" >&5 +printf %s "checking whether $CC accepts -Wlogical-not-parentheses... " >&6; } +if test ${dpkg_cv_cflags__Wlogical_not_parentheses+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wrestrict" + CFLAGS="-Werror -Wlogical-not-parentheses" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27629,23 +28175,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wrestrict=yes + dpkg_cv_cflags__Wlogical_not_parentheses=yes else $as_nop - dpkg_cv_cflags__Wrestrict=no + dpkg_cv_cflags__Wlogical_not_parentheses=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wrestrict" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wrestrict" >&6; } - if test "x$dpkg_cv_cflags__Wrestrict" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wlogical_not_parentheses" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wlogical_not_parentheses" >&6; } + if test "x$dpkg_cv_cflags__Wlogical_not_parentheses" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wrestrict" + as_fn_append DPKG_COMPILER_CFLAGS " -Wlogical-not-parentheses" fi @@ -27660,15 +28206,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wshadow" >&5 -printf %s "checking whether $CC accepts -Wshadow... " >&6; } -if test ${dpkg_cv_cflags__Wshadow+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wlogical-op" >&5 +printf %s "checking whether $CC accepts -Wlogical-op... " >&6; } +if test ${dpkg_cv_cflags__Wlogical_op+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wshadow" + CFLAGS="-Werror -Wlogical-op" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27678,23 +28225,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wshadow=yes + dpkg_cv_cflags__Wlogical_op=yes else $as_nop - dpkg_cv_cflags__Wshadow=no + dpkg_cv_cflags__Wlogical_op=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wshadow" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wshadow" >&6; } - if test "x$dpkg_cv_cflags__Wshadow" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wlogical_op" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wlogical_op" >&6; } + if test "x$dpkg_cv_cflags__Wlogical_op" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wshadow" + as_fn_append DPKG_COMPILER_CFLAGS " -Wlogical-op" fi @@ -27709,15 +28256,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wshift-negative-value" >&5 -printf %s "checking whether $CC accepts -Wshift-negative-value... " >&6; } -if test ${dpkg_cv_cflags__Wshift_negative_value+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wmissing-declarations" >&5 +printf %s "checking whether $CC accepts -Wmissing-declarations... " >&6; } +if test ${dpkg_cv_cflags__Wmissing_declarations+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wshift-negative-value" + CFLAGS="-Werror -Wmissing-declarations" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27727,23 +28275,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wshift_negative_value=yes + dpkg_cv_cflags__Wmissing_declarations=yes else $as_nop - dpkg_cv_cflags__Wshift_negative_value=no + dpkg_cv_cflags__Wmissing_declarations=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wshift_negative_value" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wshift_negative_value" >&6; } - if test "x$dpkg_cv_cflags__Wshift_negative_value" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wmissing_declarations" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wmissing_declarations" >&6; } + if test "x$dpkg_cv_cflags__Wmissing_declarations" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wshift-negative-value" + as_fn_append DPKG_COMPILER_CFLAGS " -Wmissing-declarations" fi @@ -27758,15 +28306,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wsizeof-array-argument" >&5 -printf %s "checking whether $CC accepts -Wsizeof-array-argument... " >&6; } -if test ${dpkg_cv_cflags__Wsizeof_array_argument+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wmissing-format-attribute" >&5 +printf %s "checking whether $CC accepts -Wmissing-format-attribute... " >&6; } +if test ${dpkg_cv_cflags__Wmissing_format_attribute+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wsizeof-array-argument" + CFLAGS="-Werror -Wmissing-format-attribute" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27776,23 +28325,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wsizeof_array_argument=yes + dpkg_cv_cflags__Wmissing_format_attribute=yes else $as_nop - dpkg_cv_cflags__Wsizeof_array_argument=no + dpkg_cv_cflags__Wmissing_format_attribute=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wsizeof_array_argument" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wsizeof_array_argument" >&6; } - if test "x$dpkg_cv_cflags__Wsizeof_array_argument" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wmissing_format_attribute" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wmissing_format_attribute" >&6; } + if test "x$dpkg_cv_cflags__Wmissing_format_attribute" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wsizeof-array-argument" + as_fn_append DPKG_COMPILER_CFLAGS " -Wmissing-format-attribute" fi @@ -27807,15 +28356,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wswitch-bool" >&5 -printf %s "checking whether $CC accepts -Wswitch-bool... " >&6; } -if test ${dpkg_cv_cflags__Wswitch_bool+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wmissing-variable-declarations" >&5 +printf %s "checking whether $CC accepts -Wmissing-variable-declarations... " >&6; } +if test ${dpkg_cv_cflags__Wmissing_variable_declarations+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wswitch-bool" + CFLAGS="-Werror -Wmissing-variable-declarations" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27825,23 +28375,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wswitch_bool=yes + dpkg_cv_cflags__Wmissing_variable_declarations=yes else $as_nop - dpkg_cv_cflags__Wswitch_bool=no + dpkg_cv_cflags__Wmissing_variable_declarations=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wswitch_bool" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wswitch_bool" >&6; } - if test "x$dpkg_cv_cflags__Wswitch_bool" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wmissing_variable_declarations" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wmissing_variable_declarations" >&6; } + if test "x$dpkg_cv_cflags__Wmissing_variable_declarations" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wswitch-bool" + as_fn_append DPKG_COMPILER_CFLAGS " -Wmissing-variable-declarations" fi @@ -27856,15 +28406,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wvla" >&5 -printf %s "checking whether $CC accepts -Wvla... " >&6; } -if test ${dpkg_cv_cflags__Wvla+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wnewline-eof" >&5 +printf %s "checking whether $CC accepts -Wnewline-eof... " >&6; } +if test ${dpkg_cv_cflags__Wnewline_eof+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wvla" + CFLAGS="-Werror -Wnewline-eof" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27874,23 +28425,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wvla=yes + dpkg_cv_cflags__Wnewline_eof=yes else $as_nop - dpkg_cv_cflags__Wvla=no + dpkg_cv_cflags__Wnewline_eof=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wvla" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wvla" >&6; } - if test "x$dpkg_cv_cflags__Wvla" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wnewline_eof" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wnewline_eof" >&6; } + if test "x$dpkg_cv_cflags__Wnewline_eof" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wvla" + as_fn_append DPKG_COMPILER_CFLAGS " -Wnewline-eof" fi @@ -27905,15 +28456,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wwrite-strings" >&5 -printf %s "checking whether $CC accepts -Wwrite-strings... " >&6; } -if test ${dpkg_cv_cflags__Wwrite_strings+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wno-missing-field-initializers" >&5 +printf %s "checking whether $CC accepts -Wno-missing-field-initializers... " >&6; } +if test ${dpkg_cv_cflags__Wno_missing_field_initializers+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wwrite-strings" + CFLAGS="-Werror -Wmissing-field-initializers" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27923,23 +28475,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wwrite_strings=yes + dpkg_cv_cflags__Wno_missing_field_initializers=yes else $as_nop - dpkg_cv_cflags__Wwrite_strings=no + dpkg_cv_cflags__Wno_missing_field_initializers=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wwrite_strings" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wwrite_strings" >&6; } - if test "x$dpkg_cv_cflags__Wwrite_strings" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wno_missing_field_initializers" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wno_missing_field_initializers" >&6; } + if test "x$dpkg_cv_cflags__Wno_missing_field_initializers" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wwrite-strings" + as_fn_append DPKG_COMPILER_CFLAGS " -Wno-missing-field-initializers" fi @@ -27955,16 +28507,15 @@ - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wbad-function-cast" >&5 -printf %s "checking whether $CC accepts -Wbad-function-cast... " >&6; } -if test ${dpkg_cv_cflags__Wbad_function_cast+y} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wno-nonnull-compare" >&5 +printf %s "checking whether $CC accepts -Wno-nonnull-compare... " >&6; } +if test ${dpkg_cv_cflags__Wno_nonnull_compare+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wbad-function-cast" + CFLAGS="-Werror -Wnonnull-compare" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27974,23 +28525,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wbad_function_cast=yes + dpkg_cv_cflags__Wno_nonnull_compare=yes else $as_nop - dpkg_cv_cflags__Wbad_function_cast=no + dpkg_cv_cflags__Wno_nonnull_compare=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wbad_function_cast" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wbad_function_cast" >&6; } - if test "x$dpkg_cv_cflags__Wbad_function_cast" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wno_nonnull_compare" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wno_nonnull_compare" >&6; } + if test "x$dpkg_cv_cflags__Wno_nonnull_compare" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wbad-function-cast" + as_fn_append DPKG_COMPILER_CFLAGS " -Wno-nonnull-compare" fi @@ -28005,15 +28556,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wc99-c11-compat" >&5 -printf %s "checking whether $CC accepts -Wc99-c11-compat... " >&6; } -if test ${dpkg_cv_cflags__Wc99_c11_compat+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wno-tautological-constant-out-of-range-compare" >&5 +printf %s "checking whether $CC accepts -Wno-tautological-constant-out-of-range-compare... " >&6; } +if test ${dpkg_cv_cflags__Wno_tautological_constant_out_of_range_compare+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wc99-c11-compat" + CFLAGS="-Werror -Wtautological-constant-out-of-range-compare" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28023,23 +28575,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wc99_c11_compat=yes + dpkg_cv_cflags__Wno_tautological_constant_out_of_range_compare=yes else $as_nop - dpkg_cv_cflags__Wc99_c11_compat=no + dpkg_cv_cflags__Wno_tautological_constant_out_of_range_compare=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wc99_c11_compat" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wc99_c11_compat" >&6; } - if test "x$dpkg_cv_cflags__Wc99_c11_compat" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wno_tautological_constant_out_of_range_compare" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wno_tautological_constant_out_of_range_compare" >&6; } + if test "x$dpkg_cv_cflags__Wno_tautological_constant_out_of_range_compare" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wc99-c11-compat" + as_fn_append DPKG_COMPILER_CFLAGS " -Wno-tautological-constant-out-of-range-compare" fi @@ -28054,15 +28606,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wdeclaration-after-statement" >&5 -printf %s "checking whether $CC accepts -Wdeclaration-after-statement... " >&6; } -if test ${dpkg_cv_cflags__Wdeclaration_after_statement+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wno-unused-parameter" >&5 +printf %s "checking whether $CC accepts -Wno-unused-parameter... " >&6; } +if test ${dpkg_cv_cflags__Wno_unused_parameter+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wdeclaration-after-statement" + CFLAGS="-Werror -Wunused-parameter" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28072,23 +28625,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wdeclaration_after_statement=yes + dpkg_cv_cflags__Wno_unused_parameter=yes else $as_nop - dpkg_cv_cflags__Wdeclaration_after_statement=no + dpkg_cv_cflags__Wno_unused_parameter=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wdeclaration_after_statement" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wdeclaration_after_statement" >&6; } - if test "x$dpkg_cv_cflags__Wdeclaration_after_statement" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wno_unused_parameter" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wno_unused_parameter" >&6; } + if test "x$dpkg_cv_cflags__Wno_unused_parameter" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wdeclaration-after-statement" + as_fn_append DPKG_COMPILER_CFLAGS " -Wno-unused-parameter" fi @@ -28103,15 +28656,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wmissing-prototypes" >&5 -printf %s "checking whether $CC accepts -Wmissing-prototypes... " >&6; } -if test ${dpkg_cv_cflags__Wmissing_prototypes+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wnull-dereference" >&5 +printf %s "checking whether $CC accepts -Wnull-dereference... " >&6; } +if test ${dpkg_cv_cflags__Wnull_dereference+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wmissing-prototypes" + CFLAGS="-Werror -Wnull-dereference" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28121,23 +28675,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wmissing_prototypes=yes + dpkg_cv_cflags__Wnull_dereference=yes else $as_nop - dpkg_cv_cflags__Wmissing_prototypes=no + dpkg_cv_cflags__Wnull_dereference=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wmissing_prototypes" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wmissing_prototypes" >&6; } - if test "x$dpkg_cv_cflags__Wmissing_prototypes" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wnull_dereference" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wnull_dereference" >&6; } + if test "x$dpkg_cv_cflags__Wnull_dereference" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wmissing-prototypes" + as_fn_append DPKG_COMPILER_CFLAGS " -Wnull-dereference" fi @@ -28152,15 +28706,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wnested-externs" >&5 -printf %s "checking whether $CC accepts -Wnested-externs... " >&6; } -if test ${dpkg_cv_cflags__Wnested_externs+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wpointer-arith" >&5 +printf %s "checking whether $CC accepts -Wpointer-arith... " >&6; } +if test ${dpkg_cv_cflags__Wpointer_arith+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wnested-externs" + CFLAGS="-Werror -Wpointer-arith" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28170,23 +28725,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wnested_externs=yes + dpkg_cv_cflags__Wpointer_arith=yes else $as_nop - dpkg_cv_cflags__Wnested_externs=no + dpkg_cv_cflags__Wpointer_arith=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wnested_externs" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wnested_externs" >&6; } - if test "x$dpkg_cv_cflags__Wnested_externs" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wpointer_arith" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wpointer_arith" >&6; } + if test "x$dpkg_cv_cflags__Wpointer_arith" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wnested-externs" + as_fn_append DPKG_COMPILER_CFLAGS " -Wpointer-arith" fi @@ -28201,15 +28756,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wold-style-definition" >&5 -printf %s "checking whether $CC accepts -Wold-style-definition... " >&6; } -if test ${dpkg_cv_cflags__Wold_style_definition+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wredundant-decls" >&5 +printf %s "checking whether $CC accepts -Wredundant-decls... " >&6; } +if test ${dpkg_cv_cflags__Wredundant_decls+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wold-style-definition" + CFLAGS="-Werror -Wredundant-decls" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28219,23 +28775,23 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wold_style_definition=yes + dpkg_cv_cflags__Wredundant_decls=yes else $as_nop - dpkg_cv_cflags__Wold_style_definition=no + dpkg_cv_cflags__Wredundant_decls=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wold_style_definition" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wold_style_definition" >&6; } - if test "x$dpkg_cv_cflags__Wold_style_definition" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wredundant_decls" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wredundant_decls" >&6; } + if test "x$dpkg_cv_cflags__Wredundant_decls" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wold-style-definition" + as_fn_append DPKG_COMPILER_CFLAGS " -Wredundant-decls" fi @@ -28250,15 +28806,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wstrict-prototypes" >&5 -printf %s "checking whether $CC accepts -Wstrict-prototypes... " >&6; } -if test ${dpkg_cv_cflags__Wstrict_prototypes+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wregister" >&5 +printf %s "checking whether $CC accepts -Wregister... " >&6; } +if test ${dpkg_cv_cflags__Wregister+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CFLAGS=$CFLAGS - CFLAGS="-Werror -Wstrict-prototypes" + CFLAGS="-Werror -Wregister" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28268,34 +28825,29 @@ if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cflags__Wstrict_prototypes=yes + dpkg_cv_cflags__Wregister=yes else $as_nop - dpkg_cv_cflags__Wstrict_prototypes=no + dpkg_cv_cflags__Wregister=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wstrict_prototypes" >&5 -printf "%s\n" "$dpkg_cv_cflags__Wstrict_prototypes" >&6; } - if test "x$dpkg_cv_cflags__Wstrict_prototypes" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wregister" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wregister" >&6; } + if test "x$dpkg_cv_cflags__Wregister" = xyes then : - as_fn_append COMPILER_CFLAGS " -Wstrict-prototypes" + as_fn_append DPKG_COMPILER_CFLAGS " -Wregister" fi - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu @@ -28305,44 +28857,91 @@ + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wrestrict" >&5 +printf %s "checking whether $CC accepts -Wrestrict... " >&6; } +if test ${dpkg_cv_cflags__Wrestrict+y} +then : + printf %s "(cached) " >&6 +else $as_nop + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wrestrict" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wall" >&5 -printf %s "checking whether $CXX accepts -Wall... " >&6; } -if test ${dpkg_cv_cxxflags__Wall+y} + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wrestrict=yes + +else $as_nop + + dpkg_cv_cflags__Wrestrict=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wrestrict" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wrestrict" >&6; } + if test "x$dpkg_cv_cflags__Wrestrict" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wrestrict" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wshadow" >&5 +printf %s "checking whether $CC accepts -Wshadow... " >&6; } +if test ${dpkg_cv_cflags__Wshadow+y} then : printf %s "(cached) " >&6 else $as_nop - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wall" + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wshadow" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_cxx_try_compile "$LINENO" +if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wall=yes + dpkg_cv_cflags__Wshadow=yes else $as_nop - dpkg_cv_cxxflags__Wall=no + dpkg_cv_cflags__Wshadow=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wall" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wall" >&6; } - if test "x$dpkg_cv_cxxflags__Wall" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wshadow" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wshadow" >&6; } + if test "x$dpkg_cv_cflags__Wshadow" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wall" + as_fn_append DPKG_COMPILER_CFLAGS " -Wshadow" fi @@ -28357,41 +28956,42 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wextra" >&5 -printf %s "checking whether $CXX accepts -Wextra... " >&6; } -if test ${dpkg_cv_cxxflags__Wextra+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wshift-negative-value" >&5 +printf %s "checking whether $CC accepts -Wshift-negative-value... " >&6; } +if test ${dpkg_cv_cflags__Wshift_negative_value+y} then : printf %s "(cached) " >&6 else $as_nop - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wextra" + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wshift-negative-value" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_cxx_try_compile "$LINENO" +if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wextra=yes + dpkg_cv_cflags__Wshift_negative_value=yes else $as_nop - dpkg_cv_cxxflags__Wextra=no + dpkg_cv_cflags__Wshift_negative_value=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wextra" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wextra" >&6; } - if test "x$dpkg_cv_cxxflags__Wextra" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wshift_negative_value" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wshift_negative_value" >&6; } + if test "x$dpkg_cv_cflags__Wshift_negative_value" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wextra" + as_fn_append DPKG_COMPILER_CFLAGS " -Wshift-negative-value" fi @@ -28407,41 +29007,41 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wcast-align" >&5 -printf %s "checking whether $CXX accepts -Wcast-align... " >&6; } -if test ${dpkg_cv_cxxflags__Wcast_align+y} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wshift-overflow=2" >&5 +printf %s "checking whether $CC accepts -Wshift-overflow=2... " >&6; } +if test ${dpkg_cv_cflags__Wshift_overflow_2+y} then : printf %s "(cached) " >&6 else $as_nop - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wcast-align" + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wshift-overflow=2" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_cxx_try_compile "$LINENO" +if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wcast_align=yes + dpkg_cv_cflags__Wshift_overflow_2=yes else $as_nop - dpkg_cv_cxxflags__Wcast_align=no + dpkg_cv_cflags__Wshift_overflow_2=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wcast_align" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wcast_align" >&6; } - if test "x$dpkg_cv_cxxflags__Wcast_align" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wshift_overflow_2" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wshift_overflow_2" >&6; } + if test "x$dpkg_cv_cflags__Wshift_overflow_2" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wcast-align" + as_fn_append DPKG_COMPILER_CFLAGS " -Wshift-overflow=2" fi @@ -28456,15 +29056,2578 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wdocumentation" >&5 -printf %s "checking whether $CXX accepts -Wdocumentation... " >&6; } -if test ${dpkg_cv_cxxflags__Wdocumentation+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wshift-sign-overflow" >&5 +printf %s "checking whether $CC accepts -Wshift-sign-overflow... " >&6; } +if test ${dpkg_cv_cflags__Wshift_sign_overflow+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wshift-sign-overflow" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wshift_sign_overflow=yes + +else $as_nop + + dpkg_cv_cflags__Wshift_sign_overflow=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wshift_sign_overflow" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wshift_sign_overflow" >&6; } + if test "x$dpkg_cv_cflags__Wshift_sign_overflow" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wshift-sign-overflow" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wsizeof-array-argument" >&5 +printf %s "checking whether $CC accepts -Wsizeof-array-argument... " >&6; } +if test ${dpkg_cv_cflags__Wsizeof_array_argument+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wsizeof-array-argument" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wsizeof_array_argument=yes + +else $as_nop + + dpkg_cv_cflags__Wsizeof_array_argument=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wsizeof_array_argument" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wsizeof_array_argument" >&6; } + if test "x$dpkg_cv_cflags__Wsizeof_array_argument" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wsizeof-array-argument" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wstrict-overflow=2" >&5 +printf %s "checking whether $CC accepts -Wstrict-overflow=2... " >&6; } +if test ${dpkg_cv_cflags__Wstrict_overflow_2+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wstrict-overflow=2" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wstrict_overflow_2=yes + +else $as_nop + + dpkg_cv_cflags__Wstrict_overflow_2=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wstrict_overflow_2" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wstrict_overflow_2" >&6; } + if test "x$dpkg_cv_cflags__Wstrict_overflow_2" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wstrict-overflow=2" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wswitch-bool" >&5 +printf %s "checking whether $CC accepts -Wswitch-bool... " >&6; } +if test ${dpkg_cv_cflags__Wswitch_bool+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wswitch-bool" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wswitch_bool=yes + +else $as_nop + + dpkg_cv_cflags__Wswitch_bool=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wswitch_bool" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wswitch_bool" >&6; } + if test "x$dpkg_cv_cflags__Wswitch_bool" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wswitch-bool" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wvla" >&5 +printf %s "checking whether $CC accepts -Wvla... " >&6; } +if test ${dpkg_cv_cflags__Wvla+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wvla" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wvla=yes + +else $as_nop + + dpkg_cv_cflags__Wvla=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wvla" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wvla" >&6; } + if test "x$dpkg_cv_cflags__Wvla" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wvla" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wwrite-strings" >&5 +printf %s "checking whether $CC accepts -Wwrite-strings... " >&6; } +if test ${dpkg_cv_cflags__Wwrite_strings+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wwrite-strings" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wwrite_strings=yes + +else $as_nop + + dpkg_cv_cflags__Wwrite_strings=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wwrite_strings" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wwrite_strings" >&6; } + if test "x$dpkg_cv_cflags__Wwrite_strings" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wwrite-strings" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wxor-used-as-pow" >&5 +printf %s "checking whether $CC accepts -Wxor-used-as-pow... " >&6; } +if test ${dpkg_cv_cflags__Wxor_used_as_pow+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wxor-used-as-pow" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wxor_used_as_pow=yes + +else $as_nop + + dpkg_cv_cflags__Wxor_used_as_pow=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wxor_used_as_pow" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wxor_used_as_pow" >&6; } + if test "x$dpkg_cv_cflags__Wxor_used_as_pow" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wxor-used-as-pow" + +fi + + + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wbad-function-cast" >&5 +printf %s "checking whether $CC accepts -Wbad-function-cast... " >&6; } +if test ${dpkg_cv_cflags__Wbad_function_cast+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wbad-function-cast" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wbad_function_cast=yes + +else $as_nop + + dpkg_cv_cflags__Wbad_function_cast=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wbad_function_cast" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wbad_function_cast" >&6; } + if test "x$dpkg_cv_cflags__Wbad_function_cast" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wbad-function-cast" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wc99-c11-compat" >&5 +printf %s "checking whether $CC accepts -Wc99-c11-compat... " >&6; } +if test ${dpkg_cv_cflags__Wc99_c11_compat+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wc99-c11-compat" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wc99_c11_compat=yes + +else $as_nop + + dpkg_cv_cflags__Wc99_c11_compat=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wc99_c11_compat" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wc99_c11_compat" >&6; } + if test "x$dpkg_cv_cflags__Wc99_c11_compat" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wc99-c11-compat" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wc99-compat" >&5 +printf %s "checking whether $CC accepts -Wc99-compat... " >&6; } +if test ${dpkg_cv_cflags__Wc99_compat+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wc99-compat" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wc99_compat=yes + +else $as_nop + + dpkg_cv_cflags__Wc99_compat=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wc99_compat" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wc99_compat" >&6; } + if test "x$dpkg_cv_cflags__Wc99_compat" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wc99-compat" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wc11-extensions" >&5 +printf %s "checking whether $CC accepts -Wc11-extensions... " >&6; } +if test ${dpkg_cv_cflags__Wc11_extensions+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wc11-extensions" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wc11_extensions=yes + +else $as_nop + + dpkg_cv_cflags__Wc11_extensions=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wc11_extensions" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wc11_extensions" >&6; } + if test "x$dpkg_cv_cflags__Wc11_extensions" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wc11-extensions" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wc2x-compat" >&5 +printf %s "checking whether $CC accepts -Wc2x-compat... " >&6; } +if test ${dpkg_cv_cflags__Wc2x_compat+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wc2x-compat" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wc2x_compat=yes + +else $as_nop + + dpkg_cv_cflags__Wc2x_compat=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wc2x_compat" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wc2x_compat" >&6; } + if test "x$dpkg_cv_cflags__Wc2x_compat" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wc2x-compat" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wc2x-extensions" >&5 +printf %s "checking whether $CC accepts -Wc2x-extensions... " >&6; } +if test ${dpkg_cv_cflags__Wc2x_extensions+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wc2x-extensions" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wc2x_extensions=yes + +else $as_nop + + dpkg_cv_cflags__Wc2x_extensions=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wc2x_extensions" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wc2x_extensions" >&6; } + if test "x$dpkg_cv_cflags__Wc2x_extensions" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wc2x-extensions" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wpre-c2x-compat" >&5 +printf %s "checking whether $CC accepts -Wpre-c2x-compat... " >&6; } +if test ${dpkg_cv_cflags__Wpre_c2x_compat+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wpre-c2x-compat" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wpre_c2x_compat=yes + +else $as_nop + + dpkg_cv_cflags__Wpre_c2x_compat=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wpre_c2x_compat" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wpre_c2x_compat" >&6; } + if test "x$dpkg_cv_cflags__Wpre_c2x_compat" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wpre-c2x-compat" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wdeclaration-after-statement" >&5 +printf %s "checking whether $CC accepts -Wdeclaration-after-statement... " >&6; } +if test ${dpkg_cv_cflags__Wdeclaration_after_statement+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wdeclaration-after-statement" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wdeclaration_after_statement=yes + +else $as_nop + + dpkg_cv_cflags__Wdeclaration_after_statement=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wdeclaration_after_statement" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wdeclaration_after_statement" >&6; } + if test "x$dpkg_cv_cflags__Wdeclaration_after_statement" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wdeclaration-after-statement" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wenum-int-mismatch" >&5 +printf %s "checking whether $CC accepts -Wenum-int-mismatch... " >&6; } +if test ${dpkg_cv_cflags__Wenum_int_mismatch+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wenum-int-mismatch" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wenum_int_mismatch=yes + +else $as_nop + + dpkg_cv_cflags__Wenum_int_mismatch=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wenum_int_mismatch" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wenum_int_mismatch" >&6; } + if test "x$dpkg_cv_cflags__Wenum_int_mismatch" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wenum-int-mismatch" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wmissing-prototypes" >&5 +printf %s "checking whether $CC accepts -Wmissing-prototypes... " >&6; } +if test ${dpkg_cv_cflags__Wmissing_prototypes+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wmissing-prototypes" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wmissing_prototypes=yes + +else $as_nop + + dpkg_cv_cflags__Wmissing_prototypes=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wmissing_prototypes" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wmissing_prototypes" >&6; } + if test "x$dpkg_cv_cflags__Wmissing_prototypes" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wmissing-prototypes" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wnested-externs" >&5 +printf %s "checking whether $CC accepts -Wnested-externs... " >&6; } +if test ${dpkg_cv_cflags__Wnested_externs+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wnested-externs" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wnested_externs=yes + +else $as_nop + + dpkg_cv_cflags__Wnested_externs=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wnested_externs" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wnested_externs" >&6; } + if test "x$dpkg_cv_cflags__Wnested_externs" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wnested-externs" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wold-style-definition" >&5 +printf %s "checking whether $CC accepts -Wold-style-definition... " >&6; } +if test ${dpkg_cv_cflags__Wold_style_definition+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wold-style-definition" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wold_style_definition=yes + +else $as_nop + + dpkg_cv_cflags__Wold_style_definition=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wold_style_definition" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wold_style_definition" >&6; } + if test "x$dpkg_cv_cflags__Wold_style_definition" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wold-style-definition" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Wstrict-prototypes" >&5 +printf %s "checking whether $CC accepts -Wstrict-prototypes... " >&6; } +if test ${dpkg_cv_cflags__Wstrict_prototypes+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -Wstrict-prototypes" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + + dpkg_cv_cflags__Wstrict_prototypes=yes + +else $as_nop + + dpkg_cv_cflags__Wstrict_prototypes=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CFLAGS=$dpkg_save_CFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__Wstrict_prototypes" >&5 +printf "%s\n" "$dpkg_cv_cflags__Wstrict_prototypes" >&6; } + if test "x$dpkg_cv_cflags__Wstrict_prototypes" = xyes +then : + + as_fn_append DPKG_COMPILER_CFLAGS " -Wstrict-prototypes" + +fi + + + + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wall" >&5 +printf %s "checking whether $CXX accepts -Wall... " >&6; } +if test ${dpkg_cv_cxxflags__Wall+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wall" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wall=yes + +else $as_nop + + dpkg_cv_cxxflags__Wall=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wall" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wall" >&6; } + if test "x$dpkg_cv_cxxflags__Wall" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wall" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wextra" >&5 +printf %s "checking whether $CXX accepts -Wextra... " >&6; } +if test ${dpkg_cv_cxxflags__Wextra+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wextra" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wextra=yes + +else $as_nop + + dpkg_cv_cxxflags__Wextra=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wextra" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wextra" >&6; } + if test "x$dpkg_cv_cxxflags__Wextra" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wextra" + +fi + + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Walloca" >&5 +printf %s "checking whether $CXX accepts -Walloca... " >&6; } +if test ${dpkg_cv_cxxflags__Walloca+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Walloca" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Walloca=yes + +else $as_nop + + dpkg_cv_cxxflags__Walloca=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Walloca" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Walloca" >&6; } + if test "x$dpkg_cv_cxxflags__Walloca" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Walloca" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Walloc-zero" >&5 +printf %s "checking whether $CXX accepts -Walloc-zero... " >&6; } +if test ${dpkg_cv_cxxflags__Walloc_zero+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Walloc-zero" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Walloc_zero=yes + +else $as_nop + + dpkg_cv_cxxflags__Walloc_zero=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Walloc_zero" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Walloc_zero" >&6; } + if test "x$dpkg_cv_cxxflags__Walloc_zero" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Walloc-zero" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Warray-bounds-pointer-arithmetic" >&5 +printf %s "checking whether $CXX accepts -Warray-bounds-pointer-arithmetic... " >&6; } +if test ${dpkg_cv_cxxflags__Warray_bounds_pointer_arithmetic+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Warray-bounds-pointer-arithmetic" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Warray_bounds_pointer_arithmetic=yes + +else $as_nop + + dpkg_cv_cxxflags__Warray_bounds_pointer_arithmetic=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Warray_bounds_pointer_arithmetic" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Warray_bounds_pointer_arithmetic" >&6; } + if test "x$dpkg_cv_cxxflags__Warray_bounds_pointer_arithmetic" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Warray-bounds-pointer-arithmetic" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wassign-enum" >&5 +printf %s "checking whether $CXX accepts -Wassign-enum... " >&6; } +if test ${dpkg_cv_cxxflags__Wassign_enum+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wassign-enum" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wassign_enum=yes + +else $as_nop + + dpkg_cv_cxxflags__Wassign_enum=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wassign_enum" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wassign_enum" >&6; } + if test "x$dpkg_cv_cxxflags__Wassign_enum" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wassign-enum" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wbitfield-enum-conversion" >&5 +printf %s "checking whether $CXX accepts -Wbitfield-enum-conversion... " >&6; } +if test ${dpkg_cv_cxxflags__Wbitfield_enum_conversion+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wbitfield-enum-conversion" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wbitfield_enum_conversion=yes + +else $as_nop + + dpkg_cv_cxxflags__Wbitfield_enum_conversion=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wbitfield_enum_conversion" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wbitfield_enum_conversion" >&6; } + if test "x$dpkg_cv_cxxflags__Wbitfield_enum_conversion" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wbitfield-enum-conversion" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wcast-align" >&5 +printf %s "checking whether $CXX accepts -Wcast-align... " >&6; } +if test ${dpkg_cv_cxxflags__Wcast_align+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wcast-align" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wcast_align=yes + +else $as_nop + + dpkg_cv_cxxflags__Wcast_align=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wcast_align" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wcast_align" >&6; } + if test "x$dpkg_cv_cxxflags__Wcast_align" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wcast-align" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wconditional-uninitialized" >&5 +printf %s "checking whether $CXX accepts -Wconditional-uninitialized... " >&6; } +if test ${dpkg_cv_cxxflags__Wconditional_uninitialized+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wconditional-uninitialized" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wconditional_uninitialized=yes + +else $as_nop + + dpkg_cv_cxxflags__Wconditional_uninitialized=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wconditional_uninitialized" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wconditional_uninitialized" >&6; } + if test "x$dpkg_cv_cxxflags__Wconditional_uninitialized" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wconditional-uninitialized" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wdate-time" >&5 +printf %s "checking whether $CXX accepts -Wdate-time... " >&6; } +if test ${dpkg_cv_cxxflags__Wdate_time+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wdate-time" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wdate_time=yes + +else $as_nop + + dpkg_cv_cxxflags__Wdate_time=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wdate_time" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wdate_time" >&6; } + if test "x$dpkg_cv_cxxflags__Wdate_time" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wdate-time" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wdocumentation" >&5 +printf %s "checking whether $CXX accepts -Wdocumentation... " >&6; } +if test ${dpkg_cv_cxxflags__Wdocumentation+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wdocumentation" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wdocumentation=yes + +else $as_nop + + dpkg_cv_cxxflags__Wdocumentation=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wdocumentation" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wdocumentation" >&6; } + if test "x$dpkg_cv_cxxflags__Wdocumentation" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wdocumentation" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wduplicate-enum" >&5 +printf %s "checking whether $CXX accepts -Wduplicate-enum... " >&6; } +if test ${dpkg_cv_cxxflags__Wduplicate_enum+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wduplicate-enum" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wduplicate_enum=yes + +else $as_nop + + dpkg_cv_cxxflags__Wduplicate_enum=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wduplicate_enum" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wduplicate_enum" >&6; } + if test "x$dpkg_cv_cxxflags__Wduplicate_enum" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wduplicate-enum" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wduplicated-branches" >&5 +printf %s "checking whether $CXX accepts -Wduplicated-branches... " >&6; } +if test ${dpkg_cv_cxxflags__Wduplicated_branches+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wduplicated-branches" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wduplicated_branches=yes + +else $as_nop + + dpkg_cv_cxxflags__Wduplicated_branches=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wduplicated_branches" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wduplicated_branches" >&6; } + if test "x$dpkg_cv_cxxflags__Wduplicated_branches" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wduplicated-branches" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wduplicated-cond" >&5 +printf %s "checking whether $CXX accepts -Wduplicated-cond... " >&6; } +if test ${dpkg_cv_cxxflags__Wduplicated_cond+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wduplicated-cond" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wduplicated_cond=yes + +else $as_nop + + dpkg_cv_cxxflags__Wduplicated_cond=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wduplicated_cond" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wduplicated_cond" >&6; } + if test "x$dpkg_cv_cxxflags__Wduplicated_cond" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wduplicated-cond" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wextra-semi" >&5 +printf %s "checking whether $CXX accepts -Wextra-semi... " >&6; } +if test ${dpkg_cv_cxxflags__Wextra_semi+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wextra-semi" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wextra_semi=yes + +else $as_nop + + dpkg_cv_cxxflags__Wextra_semi=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wextra_semi" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wextra_semi" >&6; } + if test "x$dpkg_cv_cxxflags__Wextra_semi" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wextra-semi" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wflexible-array-extensions" >&5 +printf %s "checking whether $CXX accepts -Wflexible-array-extensions... " >&6; } +if test ${dpkg_cv_cxxflags__Wflexible_array_extensions+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wflexible-array-extensions" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wflexible_array_extensions=yes + +else $as_nop + + dpkg_cv_cxxflags__Wflexible_array_extensions=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wflexible_array_extensions" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wflexible_array_extensions" >&6; } + if test "x$dpkg_cv_cxxflags__Wflexible_array_extensions" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wflexible-array-extensions" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wfloat-conversion" >&5 +printf %s "checking whether $CXX accepts -Wfloat-conversion... " >&6; } +if test ${dpkg_cv_cxxflags__Wfloat_conversion+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wfloat-conversion" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wfloat_conversion=yes + +else $as_nop + + dpkg_cv_cxxflags__Wfloat_conversion=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wfloat_conversion" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wfloat_conversion" >&6; } + if test "x$dpkg_cv_cxxflags__Wfloat_conversion" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wfloat-conversion" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wfloat-equal" >&5 +printf %s "checking whether $CXX accepts -Wfloat-equal... " >&6; } +if test ${dpkg_cv_cxxflags__Wfloat_equal+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wfloat-equal" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wfloat_equal=yes + +else $as_nop + + dpkg_cv_cxxflags__Wfloat_equal=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wfloat_equal" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wfloat_equal" >&6; } + if test "x$dpkg_cv_cxxflags__Wfloat_equal" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wfloat-equal" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wformat -Wformat-security" >&5 +printf %s "checking whether $CXX accepts -Wformat -Wformat-security... " >&6; } +if test ${dpkg_cv_cxxflags__Wformat__Wformat_security+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wformat -Wformat-security" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wformat__Wformat_security=yes + +else $as_nop + + dpkg_cv_cxxflags__Wformat__Wformat_security=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wformat__Wformat_security" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wformat__Wformat_security" >&6; } + if test "x$dpkg_cv_cxxflags__Wformat__Wformat_security" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wformat -Wformat-security" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wformat=2" >&5 +printf %s "checking whether $CXX accepts -Wformat=2... " >&6; } +if test ${dpkg_cv_cxxflags__Wformat_2+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wformat=2" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wformat_2=yes + +else $as_nop + + dpkg_cv_cxxflags__Wformat_2=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wformat_2" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wformat_2" >&6; } + if test "x$dpkg_cv_cxxflags__Wformat_2" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wformat=2" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Winit-self" >&5 +printf %s "checking whether $CXX accepts -Winit-self... " >&6; } +if test ${dpkg_cv_cxxflags__Winit_self+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Winit-self" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Winit_self=yes + +else $as_nop + + dpkg_cv_cxxflags__Winit_self=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Winit_self" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Winit_self" >&6; } + if test "x$dpkg_cv_cxxflags__Winit_self" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Winit-self" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wlogical-not-parentheses" >&5 +printf %s "checking whether $CXX accepts -Wlogical-not-parentheses... " >&6; } +if test ${dpkg_cv_cxxflags__Wlogical_not_parentheses+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wlogical-not-parentheses" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wlogical_not_parentheses=yes + +else $as_nop + + dpkg_cv_cxxflags__Wlogical_not_parentheses=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wlogical_not_parentheses" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wlogical_not_parentheses" >&6; } + if test "x$dpkg_cv_cxxflags__Wlogical_not_parentheses" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wlogical-not-parentheses" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wlogical-op" >&5 +printf %s "checking whether $CXX accepts -Wlogical-op... " >&6; } +if test ${dpkg_cv_cxxflags__Wlogical_op+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wlogical-op" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wlogical_op=yes + +else $as_nop + + dpkg_cv_cxxflags__Wlogical_op=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wlogical_op" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wlogical_op" >&6; } + if test "x$dpkg_cv_cxxflags__Wlogical_op" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wlogical-op" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wmissing-declarations" >&5 +printf %s "checking whether $CXX accepts -Wmissing-declarations... " >&6; } +if test ${dpkg_cv_cxxflags__Wmissing_declarations+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wmissing-declarations" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wmissing_declarations=yes + +else $as_nop + + dpkg_cv_cxxflags__Wmissing_declarations=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wmissing_declarations" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wmissing_declarations" >&6; } + if test "x$dpkg_cv_cxxflags__Wmissing_declarations" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wmissing-declarations" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wmissing-format-attribute" >&5 +printf %s "checking whether $CXX accepts -Wmissing-format-attribute... " >&6; } +if test ${dpkg_cv_cxxflags__Wmissing_format_attribute+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wmissing-format-attribute" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wmissing_format_attribute=yes + +else $as_nop + + dpkg_cv_cxxflags__Wmissing_format_attribute=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wmissing_format_attribute" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wmissing_format_attribute" >&6; } + if test "x$dpkg_cv_cxxflags__Wmissing_format_attribute" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wmissing-format-attribute" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wmissing-variable-declarations" >&5 +printf %s "checking whether $CXX accepts -Wmissing-variable-declarations... " >&6; } +if test ${dpkg_cv_cxxflags__Wmissing_variable_declarations+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wmissing-variable-declarations" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wmissing_variable_declarations=yes + +else $as_nop + + dpkg_cv_cxxflags__Wmissing_variable_declarations=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wmissing_variable_declarations" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wmissing_variable_declarations" >&6; } + if test "x$dpkg_cv_cxxflags__Wmissing_variable_declarations" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wmissing-variable-declarations" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wnewline-eof" >&5 +printf %s "checking whether $CXX accepts -Wnewline-eof... " >&6; } +if test ${dpkg_cv_cxxflags__Wnewline_eof+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wnewline-eof" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wnewline_eof=yes + +else $as_nop + + dpkg_cv_cxxflags__Wnewline_eof=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wnewline_eof" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wnewline_eof" >&6; } + if test "x$dpkg_cv_cxxflags__Wnewline_eof" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wnewline-eof" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wno-missing-field-initializers" >&5 +printf %s "checking whether $CXX accepts -Wno-missing-field-initializers... " >&6; } +if test ${dpkg_cv_cxxflags__Wno_missing_field_initializers+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wmissing-field-initializers" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wno_missing_field_initializers=yes + +else $as_nop + + dpkg_cv_cxxflags__Wno_missing_field_initializers=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wno_missing_field_initializers" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wno_missing_field_initializers" >&6; } + if test "x$dpkg_cv_cxxflags__Wno_missing_field_initializers" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wno-missing-field-initializers" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wno-nonnull-compare" >&5 +printf %s "checking whether $CXX accepts -Wno-nonnull-compare... " >&6; } +if test ${dpkg_cv_cxxflags__Wno_nonnull_compare+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wnonnull-compare" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wno_nonnull_compare=yes + +else $as_nop + + dpkg_cv_cxxflags__Wno_nonnull_compare=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wno_nonnull_compare" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wno_nonnull_compare" >&6; } + if test "x$dpkg_cv_cxxflags__Wno_nonnull_compare" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wno-nonnull-compare" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wno-tautological-constant-out-of-range-compare" >&5 +printf %s "checking whether $CXX accepts -Wno-tautological-constant-out-of-range-compare... " >&6; } +if test ${dpkg_cv_cxxflags__Wno_tautological_constant_out_of_range_compare+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wtautological-constant-out-of-range-compare" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wno_tautological_constant_out_of_range_compare=yes + +else $as_nop + + dpkg_cv_cxxflags__Wno_tautological_constant_out_of_range_compare=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wno_tautological_constant_out_of_range_compare" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wno_tautological_constant_out_of_range_compare" >&6; } + if test "x$dpkg_cv_cxxflags__Wno_tautological_constant_out_of_range_compare" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wno-tautological-constant-out-of-range-compare" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wno-unused-parameter" >&5 +printf %s "checking whether $CXX accepts -Wno-unused-parameter... " >&6; } +if test ${dpkg_cv_cxxflags__Wno_unused_parameter+y} +then : + printf %s "(cached) " >&6 +else $as_nop + + dpkg_save_CXXFLAGS=$CXXFLAGS + CXXFLAGS="-Werror -Wunused-parameter" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + + +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + + dpkg_cv_cxxflags__Wno_unused_parameter=yes + +else $as_nop + + dpkg_cv_cxxflags__Wno_unused_parameter=no + +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXXFLAGS=$dpkg_save_CXXFLAGS + +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wno_unused_parameter" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wno_unused_parameter" >&6; } + if test "x$dpkg_cv_cxxflags__Wno_unused_parameter" = xyes +then : + + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wno-unused-parameter" + +fi + + + + + + + + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wnull-dereference" >&5 +printf %s "checking whether $CXX accepts -Wnull-dereference... " >&6; } +if test ${dpkg_cv_cxxflags__Wnull_dereference+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wdocumentation" + CXXFLAGS="-Werror -Wnull-dereference" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28474,23 +31637,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wdocumentation=yes + dpkg_cv_cxxflags__Wnull_dereference=yes else $as_nop - dpkg_cv_cxxflags__Wdocumentation=no + dpkg_cv_cxxflags__Wnull_dereference=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wdocumentation" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wdocumentation" >&6; } - if test "x$dpkg_cv_cxxflags__Wdocumentation" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wnull_dereference" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wnull_dereference" >&6; } + if test "x$dpkg_cv_cxxflags__Wnull_dereference" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wdocumentation" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wnull-dereference" fi @@ -28505,15 +31668,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wduplicated-branches" >&5 -printf %s "checking whether $CXX accepts -Wduplicated-branches... " >&6; } -if test ${dpkg_cv_cxxflags__Wduplicated_branches+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wpointer-arith" >&5 +printf %s "checking whether $CXX accepts -Wpointer-arith... " >&6; } +if test ${dpkg_cv_cxxflags__Wpointer_arith+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wduplicated-branches" + CXXFLAGS="-Werror -Wpointer-arith" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28523,23 +31687,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wduplicated_branches=yes + dpkg_cv_cxxflags__Wpointer_arith=yes else $as_nop - dpkg_cv_cxxflags__Wduplicated_branches=no + dpkg_cv_cxxflags__Wpointer_arith=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wduplicated_branches" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wduplicated_branches" >&6; } - if test "x$dpkg_cv_cxxflags__Wduplicated_branches" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wpointer_arith" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wpointer_arith" >&6; } + if test "x$dpkg_cv_cxxflags__Wpointer_arith" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wduplicated-branches" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wpointer-arith" fi @@ -28554,15 +31718,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wduplicated-cond" >&5 -printf %s "checking whether $CXX accepts -Wduplicated-cond... " >&6; } -if test ${dpkg_cv_cxxflags__Wduplicated_cond+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wredundant-decls" >&5 +printf %s "checking whether $CXX accepts -Wredundant-decls... " >&6; } +if test ${dpkg_cv_cxxflags__Wredundant_decls+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wduplicated-cond" + CXXFLAGS="-Werror -Wredundant-decls" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28572,23 +31737,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wduplicated_cond=yes + dpkg_cv_cxxflags__Wredundant_decls=yes else $as_nop - dpkg_cv_cxxflags__Wduplicated_cond=no + dpkg_cv_cxxflags__Wredundant_decls=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wduplicated_cond" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wduplicated_cond" >&6; } - if test "x$dpkg_cv_cxxflags__Wduplicated_cond" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wredundant_decls" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wredundant_decls" >&6; } + if test "x$dpkg_cv_cxxflags__Wredundant_decls" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wduplicated-cond" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wredundant-decls" fi @@ -28603,15 +31768,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wformat -Wformat-security" >&5 -printf %s "checking whether $CXX accepts -Wformat -Wformat-security... " >&6; } -if test ${dpkg_cv_cxxflags__Wformat__Wformat_security+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wregister" >&5 +printf %s "checking whether $CXX accepts -Wregister... " >&6; } +if test ${dpkg_cv_cxxflags__Wregister+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wformat -Wformat-security" + CXXFLAGS="-Werror -Wregister" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28621,23 +31787,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wformat__Wformat_security=yes + dpkg_cv_cxxflags__Wregister=yes else $as_nop - dpkg_cv_cxxflags__Wformat__Wformat_security=no + dpkg_cv_cxxflags__Wregister=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wformat__Wformat_security" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wformat__Wformat_security" >&6; } - if test "x$dpkg_cv_cxxflags__Wformat__Wformat_security" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wregister" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wregister" >&6; } + if test "x$dpkg_cv_cxxflags__Wregister" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wformat -Wformat-security" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wregister" fi @@ -28652,15 +31818,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wformat=2" >&5 -printf %s "checking whether $CXX accepts -Wformat=2... " >&6; } -if test ${dpkg_cv_cxxflags__Wformat_2+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wrestrict" >&5 +printf %s "checking whether $CXX accepts -Wrestrict... " >&6; } +if test ${dpkg_cv_cxxflags__Wrestrict+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wformat=2" + CXXFLAGS="-Werror -Wrestrict" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28670,23 +31837,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wformat_2=yes + dpkg_cv_cxxflags__Wrestrict=yes else $as_nop - dpkg_cv_cxxflags__Wformat_2=no + dpkg_cv_cxxflags__Wrestrict=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wformat_2" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wformat_2" >&6; } - if test "x$dpkg_cv_cxxflags__Wformat_2" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wrestrict" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wrestrict" >&6; } + if test "x$dpkg_cv_cxxflags__Wrestrict" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wformat=2" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wrestrict" fi @@ -28701,15 +31868,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Winit-self" >&5 -printf %s "checking whether $CXX accepts -Winit-self... " >&6; } -if test ${dpkg_cv_cxxflags__Winit_self+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wshadow" >&5 +printf %s "checking whether $CXX accepts -Wshadow... " >&6; } +if test ${dpkg_cv_cxxflags__Wshadow+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Winit-self" + CXXFLAGS="-Werror -Wshadow" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28719,23 +31887,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Winit_self=yes + dpkg_cv_cxxflags__Wshadow=yes else $as_nop - dpkg_cv_cxxflags__Winit_self=no + dpkg_cv_cxxflags__Wshadow=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Winit_self" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Winit_self" >&6; } - if test "x$dpkg_cv_cxxflags__Winit_self" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wshadow" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wshadow" >&6; } + if test "x$dpkg_cv_cxxflags__Wshadow" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Winit-self" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wshadow" fi @@ -28750,15 +31918,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wlogical-not-parentheses" >&5 -printf %s "checking whether $CXX accepts -Wlogical-not-parentheses... " >&6; } -if test ${dpkg_cv_cxxflags__Wlogical_not_parentheses+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wshift-negative-value" >&5 +printf %s "checking whether $CXX accepts -Wshift-negative-value... " >&6; } +if test ${dpkg_cv_cxxflags__Wshift_negative_value+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wlogical-not-parentheses" + CXXFLAGS="-Werror -Wshift-negative-value" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28768,23 +31937,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wlogical_not_parentheses=yes + dpkg_cv_cxxflags__Wshift_negative_value=yes else $as_nop - dpkg_cv_cxxflags__Wlogical_not_parentheses=no + dpkg_cv_cxxflags__Wshift_negative_value=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wlogical_not_parentheses" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wlogical_not_parentheses" >&6; } - if test "x$dpkg_cv_cxxflags__Wlogical_not_parentheses" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wshift_negative_value" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wshift_negative_value" >&6; } + if test "x$dpkg_cv_cxxflags__Wshift_negative_value" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wlogical-not-parentheses" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wshift-negative-value" fi @@ -28799,15 +31968,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wlogical-op" >&5 -printf %s "checking whether $CXX accepts -Wlogical-op... " >&6; } -if test ${dpkg_cv_cxxflags__Wlogical_op+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wshift-overflow=2" >&5 +printf %s "checking whether $CXX accepts -Wshift-overflow=2... " >&6; } +if test ${dpkg_cv_cxxflags__Wshift_overflow_2+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wlogical-op" + CXXFLAGS="-Werror -Wshift-overflow=2" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28817,23 +31987,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wlogical_op=yes + dpkg_cv_cxxflags__Wshift_overflow_2=yes else $as_nop - dpkg_cv_cxxflags__Wlogical_op=no + dpkg_cv_cxxflags__Wshift_overflow_2=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wlogical_op" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wlogical_op" >&6; } - if test "x$dpkg_cv_cxxflags__Wlogical_op" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wshift_overflow_2" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wshift_overflow_2" >&6; } + if test "x$dpkg_cv_cxxflags__Wshift_overflow_2" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wlogical-op" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wshift-overflow=2" fi @@ -28848,15 +32018,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wmissing-declarations" >&5 -printf %s "checking whether $CXX accepts -Wmissing-declarations... " >&6; } -if test ${dpkg_cv_cxxflags__Wmissing_declarations+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wshift-sign-overflow" >&5 +printf %s "checking whether $CXX accepts -Wshift-sign-overflow... " >&6; } +if test ${dpkg_cv_cxxflags__Wshift_sign_overflow+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wmissing-declarations" + CXXFLAGS="-Werror -Wshift-sign-overflow" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28866,23 +32037,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wmissing_declarations=yes + dpkg_cv_cxxflags__Wshift_sign_overflow=yes else $as_nop - dpkg_cv_cxxflags__Wmissing_declarations=no + dpkg_cv_cxxflags__Wshift_sign_overflow=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wmissing_declarations" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wmissing_declarations" >&6; } - if test "x$dpkg_cv_cxxflags__Wmissing_declarations" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wshift_sign_overflow" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wshift_sign_overflow" >&6; } + if test "x$dpkg_cv_cxxflags__Wshift_sign_overflow" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wmissing-declarations" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wshift-sign-overflow" fi @@ -28897,15 +32068,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wmissing-format-attribute" >&5 -printf %s "checking whether $CXX accepts -Wmissing-format-attribute... " >&6; } -if test ${dpkg_cv_cxxflags__Wmissing_format_attribute+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wsizeof-array-argument" >&5 +printf %s "checking whether $CXX accepts -Wsizeof-array-argument... " >&6; } +if test ${dpkg_cv_cxxflags__Wsizeof_array_argument+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wmissing-format-attribute" + CXXFLAGS="-Werror -Wsizeof-array-argument" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28915,23 +32087,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wmissing_format_attribute=yes + dpkg_cv_cxxflags__Wsizeof_array_argument=yes else $as_nop - dpkg_cv_cxxflags__Wmissing_format_attribute=no + dpkg_cv_cxxflags__Wsizeof_array_argument=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wmissing_format_attribute" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wmissing_format_attribute" >&6; } - if test "x$dpkg_cv_cxxflags__Wmissing_format_attribute" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wsizeof_array_argument" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wsizeof_array_argument" >&6; } + if test "x$dpkg_cv_cxxflags__Wsizeof_array_argument" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wmissing-format-attribute" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wsizeof-array-argument" fi @@ -28946,15 +32118,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wno-missing-field-initializers" >&5 -printf %s "checking whether $CXX accepts -Wno-missing-field-initializers... " >&6; } -if test ${dpkg_cv_cxxflags__Wno_missing_field_initializers+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wstrict-overflow=2" >&5 +printf %s "checking whether $CXX accepts -Wstrict-overflow=2... " >&6; } +if test ${dpkg_cv_cxxflags__Wstrict_overflow_2+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wmissing-field-initializers" + CXXFLAGS="-Werror -Wstrict-overflow=2" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28964,23 +32137,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wno_missing_field_initializers=yes + dpkg_cv_cxxflags__Wstrict_overflow_2=yes else $as_nop - dpkg_cv_cxxflags__Wno_missing_field_initializers=no + dpkg_cv_cxxflags__Wstrict_overflow_2=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wno_missing_field_initializers" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wno_missing_field_initializers" >&6; } - if test "x$dpkg_cv_cxxflags__Wno_missing_field_initializers" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wstrict_overflow_2" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wstrict_overflow_2" >&6; } + if test "x$dpkg_cv_cxxflags__Wstrict_overflow_2" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wno-missing-field-initializers" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wstrict-overflow=2" fi @@ -28995,15 +32168,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wno-nonnull-compare" >&5 -printf %s "checking whether $CXX accepts -Wno-nonnull-compare... " >&6; } -if test ${dpkg_cv_cxxflags__Wno_nonnull_compare+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wswitch-bool" >&5 +printf %s "checking whether $CXX accepts -Wswitch-bool... " >&6; } +if test ${dpkg_cv_cxxflags__Wswitch_bool+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wnonnull-compare" + CXXFLAGS="-Werror -Wswitch-bool" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29013,23 +32187,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wno_nonnull_compare=yes + dpkg_cv_cxxflags__Wswitch_bool=yes else $as_nop - dpkg_cv_cxxflags__Wno_nonnull_compare=no + dpkg_cv_cxxflags__Wswitch_bool=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wno_nonnull_compare" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wno_nonnull_compare" >&6; } - if test "x$dpkg_cv_cxxflags__Wno_nonnull_compare" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wswitch_bool" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wswitch_bool" >&6; } + if test "x$dpkg_cv_cxxflags__Wswitch_bool" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wno-nonnull-compare" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wswitch-bool" fi @@ -29044,15 +32218,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wno-tautological-constant-out-of-range-compare" >&5 -printf %s "checking whether $CXX accepts -Wno-tautological-constant-out-of-range-compare... " >&6; } -if test ${dpkg_cv_cxxflags__Wno_tautological_constant_out_of_range_compare+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wvla" >&5 +printf %s "checking whether $CXX accepts -Wvla... " >&6; } +if test ${dpkg_cv_cxxflags__Wvla+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wtautological-constant-out-of-range-compare" + CXXFLAGS="-Werror -Wvla" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29062,23 +32237,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wno_tautological_constant_out_of_range_compare=yes + dpkg_cv_cxxflags__Wvla=yes else $as_nop - dpkg_cv_cxxflags__Wno_tautological_constant_out_of_range_compare=no + dpkg_cv_cxxflags__Wvla=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wno_tautological_constant_out_of_range_compare" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wno_tautological_constant_out_of_range_compare" >&6; } - if test "x$dpkg_cv_cxxflags__Wno_tautological_constant_out_of_range_compare" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wvla" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wvla" >&6; } + if test "x$dpkg_cv_cxxflags__Wvla" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wno-tautological-constant-out-of-range-compare" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wvla" fi @@ -29093,15 +32268,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wno-unused-parameter" >&5 -printf %s "checking whether $CXX accepts -Wno-unused-parameter... " >&6; } -if test ${dpkg_cv_cxxflags__Wno_unused_parameter+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wwrite-strings" >&5 +printf %s "checking whether $CXX accepts -Wwrite-strings... " >&6; } +if test ${dpkg_cv_cxxflags__Wwrite_strings+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wunused-parameter" + CXXFLAGS="-Werror -Wwrite-strings" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29111,23 +32287,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wno_unused_parameter=yes + dpkg_cv_cxxflags__Wwrite_strings=yes else $as_nop - dpkg_cv_cxxflags__Wno_unused_parameter=no + dpkg_cv_cxxflags__Wwrite_strings=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wno_unused_parameter" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wno_unused_parameter" >&6; } - if test "x$dpkg_cv_cxxflags__Wno_unused_parameter" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wwrite_strings" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wwrite_strings" >&6; } + if test "x$dpkg_cv_cxxflags__Wwrite_strings" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wno-unused-parameter" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wwrite-strings" fi @@ -29142,15 +32318,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wnull-dereference" >&5 -printf %s "checking whether $CXX accepts -Wnull-dereference... " >&6; } -if test ${dpkg_cv_cxxflags__Wnull_dereference+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wxor-used-as-pow" >&5 +printf %s "checking whether $CXX accepts -Wxor-used-as-pow... " >&6; } +if test ${dpkg_cv_cxxflags__Wxor_used_as_pow+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wnull-dereference" + CXXFLAGS="-Werror -Wxor-used-as-pow" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29160,23 +32337,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wnull_dereference=yes + dpkg_cv_cxxflags__Wxor_used_as_pow=yes else $as_nop - dpkg_cv_cxxflags__Wnull_dereference=no + dpkg_cv_cxxflags__Wxor_used_as_pow=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wnull_dereference" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wnull_dereference" >&6; } - if test "x$dpkg_cv_cxxflags__Wnull_dereference" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wxor_used_as_pow" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wxor_used_as_pow" >&6; } + if test "x$dpkg_cv_cxxflags__Wxor_used_as_pow" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wnull-dereference" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wxor-used-as-pow" fi @@ -29191,15 +32368,18 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wpointer-arith" >&5 -printf %s "checking whether $CXX accepts -Wpointer-arith... " >&6; } -if test ${dpkg_cv_cxxflags__Wpointer_arith+y} + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wc++11-compat" >&5 +printf %s "checking whether $CXX accepts -Wc++11-compat... " >&6; } +if test ${dpkg_cv_cxxflags__Wcpp11_compat+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wpointer-arith" + CXXFLAGS="-Werror -Wc++11-compat" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29209,23 +32389,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wpointer_arith=yes + dpkg_cv_cxxflags__Wcpp11_compat=yes else $as_nop - dpkg_cv_cxxflags__Wpointer_arith=no + dpkg_cv_cxxflags__Wcpp11_compat=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wpointer_arith" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wpointer_arith" >&6; } - if test "x$dpkg_cv_cxxflags__Wpointer_arith" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wcpp11_compat" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wcpp11_compat" >&6; } + if test "x$dpkg_cv_cxxflags__Wcpp11_compat" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wpointer-arith" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wc++11-compat" fi @@ -29240,15 +32420,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wredundant-decls" >&5 -printf %s "checking whether $CXX accepts -Wredundant-decls... " >&6; } -if test ${dpkg_cv_cxxflags__Wredundant_decls+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wc++11-compat-pedantic" >&5 +printf %s "checking whether $CXX accepts -Wc++11-compat-pedantic... " >&6; } +if test ${dpkg_cv_cxxflags__Wcpp11_compat_pedantic+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wredundant-decls" + CXXFLAGS="-Werror -Wc++11-compat-pedantic" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29258,23 +32439,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wredundant_decls=yes + dpkg_cv_cxxflags__Wcpp11_compat_pedantic=yes else $as_nop - dpkg_cv_cxxflags__Wredundant_decls=no + dpkg_cv_cxxflags__Wcpp11_compat_pedantic=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wredundant_decls" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wredundant_decls" >&6; } - if test "x$dpkg_cv_cxxflags__Wredundant_decls" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wcpp11_compat_pedantic" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wcpp11_compat_pedantic" >&6; } + if test "x$dpkg_cv_cxxflags__Wcpp11_compat_pedantic" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wredundant-decls" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wc++11-compat-pedantic" fi @@ -29289,15 +32470,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wregister" >&5 -printf %s "checking whether $CXX accepts -Wregister... " >&6; } -if test ${dpkg_cv_cxxflags__Wregister+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wc++11-extensions" >&5 +printf %s "checking whether $CXX accepts -Wc++11-extensions... " >&6; } +if test ${dpkg_cv_cxxflags__Wcpp11_extensions+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wregister" + CXXFLAGS="-Werror -Wc++11-extensions" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29307,23 +32489,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wregister=yes + dpkg_cv_cxxflags__Wcpp11_extensions=yes else $as_nop - dpkg_cv_cxxflags__Wregister=no + dpkg_cv_cxxflags__Wcpp11_extensions=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wregister" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wregister" >&6; } - if test "x$dpkg_cv_cxxflags__Wregister" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wcpp11_extensions" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wcpp11_extensions" >&6; } + if test "x$dpkg_cv_cxxflags__Wcpp11_extensions" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wregister" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wc++11-extensions" fi @@ -29338,15 +32520,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wrestrict" >&5 -printf %s "checking whether $CXX accepts -Wrestrict... " >&6; } -if test ${dpkg_cv_cxxflags__Wrestrict+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wcast-qual" >&5 +printf %s "checking whether $CXX accepts -Wcast-qual... " >&6; } +if test ${dpkg_cv_cxxflags__Wcast_qual+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wrestrict" + CXXFLAGS="-Werror -Wcast-qual" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29356,23 +32539,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wrestrict=yes + dpkg_cv_cxxflags__Wcast_qual=yes else $as_nop - dpkg_cv_cxxflags__Wrestrict=no + dpkg_cv_cxxflags__Wcast_qual=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wrestrict" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wrestrict" >&6; } - if test "x$dpkg_cv_cxxflags__Wrestrict" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wcast_qual" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wcast_qual" >&6; } + if test "x$dpkg_cv_cxxflags__Wcast_qual" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wrestrict" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wcast-qual" fi @@ -29387,15 +32570,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wshadow" >&5 -printf %s "checking whether $CXX accepts -Wshadow... " >&6; } -if test ${dpkg_cv_cxxflags__Wshadow+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wold-style-cast" >&5 +printf %s "checking whether $CXX accepts -Wold-style-cast... " >&6; } +if test ${dpkg_cv_cxxflags__Wold_style_cast+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wshadow" + CXXFLAGS="-Werror -Wold-style-cast" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29405,27 +32589,29 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wshadow=yes + dpkg_cv_cxxflags__Wold_style_cast=yes else $as_nop - dpkg_cv_cxxflags__Wshadow=no + dpkg_cv_cxxflags__Wold_style_cast=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wshadow" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wshadow" >&6; } - if test "x$dpkg_cv_cxxflags__Wshadow" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wold_style_cast" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wold_style_cast" >&6; } + if test "x$dpkg_cv_cxxflags__Wold_style_cast" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wshadow" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wold-style-cast" fi + if test "x$dpkg_cv_cxx11" = "xyes" +then : @@ -29436,15 +32622,17 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wshift-negative-value" >&5 -printf %s "checking whether $CXX accepts -Wshift-negative-value... " >&6; } -if test ${dpkg_cv_cxxflags__Wshift_negative_value+y} + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wzero-as-null-pointer-constant" >&5 +printf %s "checking whether $CXX accepts -Wzero-as-null-pointer-constant... " >&6; } +if test ${dpkg_cv_cxxflags__Wzero_as_null_pointer_constant+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wshift-negative-value" + CXXFLAGS="-Werror -Wzero-as-null-pointer-constant" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29454,29 +32642,55 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wshift_negative_value=yes + dpkg_cv_cxxflags__Wzero_as_null_pointer_constant=yes else $as_nop - dpkg_cv_cxxflags__Wshift_negative_value=no + dpkg_cv_cxxflags__Wzero_as_null_pointer_constant=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wshift_negative_value" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wshift_negative_value" >&6; } - if test "x$dpkg_cv_cxxflags__Wshift_negative_value" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wzero_as_null_pointer_constant" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__Wzero_as_null_pointer_constant" >&6; } + if test "x$dpkg_cv_cxxflags__Wzero_as_null_pointer_constant" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wshift-negative-value" + as_fn_append DPKG_COMPILER_CXXFLAGS " -Wzero-as-null-pointer-constant" + +fi + + + +fi + + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + CFLAGS="$DPKG_COMPILER_CFLAGS $CFLAGS" + CXXFLAGS="$DPKG_COMPILER_CXXFLAGS $CXXFLAGS" fi + # Check whether --enable-compiler-sanitizer was given. +if test ${enable_compiler_sanitizer+y} +then : + enableval=$enable_compiler_sanitizer; +else $as_nop + enable_compiler_sanitizer=no +fi + if test "x$enable_compiler_sanitizer" = "xyes" +then : @@ -29485,41 +32699,46 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wsizeof-array-argument" >&5 -printf %s "checking whether $CXX accepts -Wsizeof-array-argument... " >&6; } -if test ${dpkg_cv_cxxflags__Wsizeof_array_argument+y} + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -fno-omit-frame-pointer" >&5 +printf %s "checking whether $CC accepts -fno-omit-frame-pointer... " >&6; } +if test ${dpkg_cv_cflags__fno_omit_frame_pointer+y} then : printf %s "(cached) " >&6 else $as_nop - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wsizeof-array-argument" + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -fno-omit-frame-pointer" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_cxx_try_compile "$LINENO" +if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wsizeof_array_argument=yes + dpkg_cv_cflags__fno_omit_frame_pointer=yes else $as_nop - dpkg_cv_cxxflags__Wsizeof_array_argument=no + dpkg_cv_cflags__fno_omit_frame_pointer=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wsizeof_array_argument" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wsizeof_array_argument" >&6; } - if test "x$dpkg_cv_cxxflags__Wsizeof_array_argument" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__fno_omit_frame_pointer" >&5 +printf "%s\n" "$dpkg_cv_cflags__fno_omit_frame_pointer" >&6; } + if test "x$dpkg_cv_cflags__fno_omit_frame_pointer" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wsizeof-array-argument" + as_fn_append DPKG_COMPILER_CFLAGS " -fno-omit-frame-pointer" fi @@ -29534,41 +32753,42 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wswitch-bool" >&5 -printf %s "checking whether $CXX accepts -Wswitch-bool... " >&6; } -if test ${dpkg_cv_cxxflags__Wswitch_bool+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -fsanitize=address" >&5 +printf %s "checking whether $CC accepts -fsanitize=address... " >&6; } +if test ${dpkg_cv_cflags__fsanitize_address+y} then : printf %s "(cached) " >&6 else $as_nop - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wswitch-bool" + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -fsanitize=address" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_cxx_try_compile "$LINENO" +if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wswitch_bool=yes + dpkg_cv_cflags__fsanitize_address=yes else $as_nop - dpkg_cv_cxxflags__Wswitch_bool=no + dpkg_cv_cflags__fsanitize_address=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wswitch_bool" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wswitch_bool" >&6; } - if test "x$dpkg_cv_cxxflags__Wswitch_bool" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__fsanitize_address" >&5 +printf "%s\n" "$dpkg_cv_cflags__fsanitize_address" >&6; } + if test "x$dpkg_cv_cflags__fsanitize_address" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wswitch-bool" + as_fn_append DPKG_COMPILER_CFLAGS " -fsanitize=address" fi @@ -29583,46 +32803,52 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wvla" >&5 -printf %s "checking whether $CXX accepts -Wvla... " >&6; } -if test ${dpkg_cv_cxxflags__Wvla+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -fsanitize=undefined" >&5 +printf %s "checking whether $CC accepts -fsanitize=undefined... " >&6; } +if test ${dpkg_cv_cflags__fsanitize_undefined+y} then : printf %s "(cached) " >&6 else $as_nop - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wvla" + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -fsanitize=undefined" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_cxx_try_compile "$LINENO" +if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wvla=yes + dpkg_cv_cflags__fsanitize_undefined=yes else $as_nop - dpkg_cv_cxxflags__Wvla=no + dpkg_cv_cflags__fsanitize_undefined=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wvla" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wvla" >&6; } - if test "x$dpkg_cv_cxxflags__Wvla" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__fsanitize_undefined" >&5 +printf "%s\n" "$dpkg_cv_cflags__fsanitize_undefined" >&6; } + if test "x$dpkg_cv_cflags__fsanitize_undefined" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wvla" + as_fn_append DPKG_COMPILER_CFLAGS " -fsanitize=undefined" fi + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu @@ -29632,15 +32858,19 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wwrite-strings" >&5 -printf %s "checking whether $CXX accepts -Wwrite-strings... " >&6; } -if test ${dpkg_cv_cxxflags__Wwrite_strings+y} + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -fno-omit-frame-pointer" >&5 +printf %s "checking whether $CXX accepts -fno-omit-frame-pointer... " >&6; } +if test ${dpkg_cv_cxxflags__fno_omit_frame_pointer+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wwrite-strings" + CXXFLAGS="-Werror -fno-omit-frame-pointer" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29650,23 +32880,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wwrite_strings=yes + dpkg_cv_cxxflags__fno_omit_frame_pointer=yes else $as_nop - dpkg_cv_cxxflags__Wwrite_strings=no + dpkg_cv_cxxflags__fno_omit_frame_pointer=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wwrite_strings" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wwrite_strings" >&6; } - if test "x$dpkg_cv_cxxflags__Wwrite_strings" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__fno_omit_frame_pointer" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__fno_omit_frame_pointer" >&6; } + if test "x$dpkg_cv_cxxflags__fno_omit_frame_pointer" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wwrite-strings" + as_fn_append DPKG_COMPILER_CXXFLAGS " -fno-omit-frame-pointer" fi @@ -29682,16 +32912,15 @@ - - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wc++11-compat" >&5 -printf %s "checking whether $CXX accepts -Wc++11-compat... " >&6; } -if test ${dpkg_cv_cxxflags__Wcpp11_compat+y} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -fsanitize=address" >&5 +printf %s "checking whether $CXX accepts -fsanitize=address... " >&6; } +if test ${dpkg_cv_cxxflags__fsanitize_address+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wc++11-compat" + CXXFLAGS="-Werror -fsanitize=address" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29701,23 +32930,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wcpp11_compat=yes + dpkg_cv_cxxflags__fsanitize_address=yes else $as_nop - dpkg_cv_cxxflags__Wcpp11_compat=no + dpkg_cv_cxxflags__fsanitize_address=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wcpp11_compat" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wcpp11_compat" >&6; } - if test "x$dpkg_cv_cxxflags__Wcpp11_compat" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__fsanitize_address" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__fsanitize_address" >&6; } + if test "x$dpkg_cv_cxxflags__fsanitize_address" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wc++11-compat" + as_fn_append DPKG_COMPILER_CXXFLAGS " -fsanitize=address" fi @@ -29732,15 +32961,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wcast-qual" >&5 -printf %s "checking whether $CXX accepts -Wcast-qual... " >&6; } -if test ${dpkg_cv_cxxflags__Wcast_qual+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -fsanitize=undefined" >&5 +printf %s "checking whether $CXX accepts -fsanitize=undefined... " >&6; } +if test ${dpkg_cv_cxxflags__fsanitize_undefined+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wcast-qual" + CXXFLAGS="-Werror -fsanitize=undefined" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29750,29 +32980,53 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wcast_qual=yes + dpkg_cv_cxxflags__fsanitize_undefined=yes else $as_nop - dpkg_cv_cxxflags__Wcast_qual=no + dpkg_cv_cxxflags__fsanitize_undefined=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wcast_qual" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wcast_qual" >&6; } - if test "x$dpkg_cv_cxxflags__Wcast_qual" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__fsanitize_undefined" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__fsanitize_undefined" >&6; } + if test "x$dpkg_cv_cxxflags__fsanitize_undefined" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wcast-qual" + as_fn_append DPKG_COMPILER_CXXFLAGS " -fsanitize=undefined" + +fi + + + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + LDFLAGS="$DPKG_COMPILER_CFLAGS $LDFLAGS" + CFLAGS="$DPKG_COMPILER_CFLAGS $CFLAGS" + CXXFLAGS="$DPKG_COMPILER_CXXFLAGS $CXXFLAGS" fi + # Check whether --enable-compiler-analyzer was given. +if test ${enable_compiler_analyzer+y} +then : + enableval=$enable_compiler_analyzer; +else $as_nop + enable_compiler_analyzer=no +fi + if test "x$enable_compiler_analyzer" = "xyes" +then : @@ -29781,47 +33035,54 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wold-style-cast" >&5 -printf %s "checking whether $CXX accepts -Wold-style-cast... " >&6; } -if test ${dpkg_cv_cxxflags__Wold_style_cast+y} + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -fanalyzer" >&5 +printf %s "checking whether $CC accepts -fanalyzer... " >&6; } +if test ${dpkg_cv_cflags__fanalyzer+y} then : printf %s "(cached) " >&6 else $as_nop - dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wold-style-cast" + dpkg_save_CFLAGS=$CFLAGS + CFLAGS="-Werror -fanalyzer" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ _ACEOF -if ac_fn_cxx_try_compile "$LINENO" +if ac_fn_c_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wold_style_cast=yes + dpkg_cv_cflags__fanalyzer=yes else $as_nop - dpkg_cv_cxxflags__Wold_style_cast=no + dpkg_cv_cflags__fanalyzer=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext - CXXFLAGS=$dpkg_save_CXXFLAGS + CFLAGS=$dpkg_save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wold_style_cast" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wold_style_cast" >&6; } - if test "x$dpkg_cv_cxxflags__Wold_style_cast" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cflags__fanalyzer" >&5 +printf "%s\n" "$dpkg_cv_cflags__fanalyzer" >&6; } + if test "x$dpkg_cv_cflags__fanalyzer" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wold-style-cast" + as_fn_append DPKG_COMPILER_CFLAGS " -fanalyzer" fi - if test "x$dpkg_cv_cxx11" = "xyes" -then : + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu @@ -29833,15 +33094,16 @@ - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wzero-as-null-pointer-constant" >&5 -printf %s "checking whether $CXX accepts -Wzero-as-null-pointer-constant... " >&6; } -if test ${dpkg_cv_cxxflags__Wzero_as_null_pointer_constant+y} + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -fanalyzer" >&5 +printf %s "checking whether $CXX accepts -fanalyzer... " >&6; } +if test ${dpkg_cv_cxxflags__fanalyzer+y} then : printf %s "(cached) " >&6 else $as_nop dpkg_save_CXXFLAGS=$CXXFLAGS - CXXFLAGS="-Werror -Wzero-as-null-pointer-constant" + CXXFLAGS="-Werror -fanalyzer" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -29851,27 +33113,23 @@ if ac_fn_cxx_try_compile "$LINENO" then : - dpkg_cv_cxxflags__Wzero_as_null_pointer_constant=yes + dpkg_cv_cxxflags__fanalyzer=yes else $as_nop - dpkg_cv_cxxflags__Wzero_as_null_pointer_constant=no + dpkg_cv_cxxflags__fanalyzer=no fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXXFLAGS=$dpkg_save_CXXFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__Wzero_as_null_pointer_constant" >&5 -printf "%s\n" "$dpkg_cv_cxxflags__Wzero_as_null_pointer_constant" >&6; } - if test "x$dpkg_cv_cxxflags__Wzero_as_null_pointer_constant" = xyes +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dpkg_cv_cxxflags__fanalyzer" >&5 +printf "%s\n" "$dpkg_cv_cxxflags__fanalyzer" >&6; } + if test "x$dpkg_cv_cxxflags__fanalyzer" = xyes then : - as_fn_append COMPILER_CXXFLAGS " -Wzero-as-null-pointer-constant" - -fi - - + as_fn_append DPKG_COMPILER_CXXFLAGS " -fanalyzer" fi @@ -29883,6 +33141,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + LDFLAGS="$COMPILER_CFLAGS $LDFLAGS" CFLAGS="$COMPILER_CFLAGS $CFLAGS" CXXFLAGS="$COMPILER_CXXFLAGS $CXXFLAGS" @@ -30659,7 +33918,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by dpkg $as_me 1.21.22, which was +This file was extended by dpkg $as_me 1.22.0, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -30728,7 +33987,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -dpkg config.status 1.21.22 +dpkg config.status 1.22.0 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" @@ -32858,6 +36117,24 @@ cat < Thu, 31 Aug 2023 22:46:40 +0200 + +dpkg (1.22.0) unstable; urgency=medium + + [ Guillem Jover ] + * dpkg: Do not reset the line number for each --command-fd parsed command. + * dselect: Add non-free-firmware archive area support. + * dselect: Relicense ftp method from GPL-2 to GPL-2+. + * dpkg-deb: Do not print trailing spaces in --info output. + * dpkg: Clarify that commands can take package-name or --pending in error + message. Closes: #1034466 + * Remove avr32, m32r and tilegx obsolete architectures. + See Linux commit 26202873bb51fafdaa51be3e8de7aab9beb49f70 (avr32). + See Linux commit 553b085c2075f6a4a2591108554f830fa61e881f (m32r). + See Linux commit bb9d812643d8a121df7d614a2b9c60193a92deb0 (tile). + * dpkg-db-keeper: Add helper script to assist with tracking database changes. + * dpkg-buildpackage: Add support for new preinit hook. Closes: #1023753 + * dselect: Remove handling of .GZ, .Z and .z compressed Package files. + * dselect: Fix stdout+stderr discarding redirection in ftp method. + Prompted by shellcheck. + * dpkg-buildpackage: Fix build hook action substitution string handling. + * dpkg-buildpackage: Set the hook options in an environment variable. + Closes: #902856 + * dpkg-buildpackage: Set DPKG_BUILDPACKAGE_HOOK_NAME envvar for hooks. + * dpkg-buildpackage: Handle missing information for hook substitutions. + * dpkg-deb: Fix short lived memory leak after fork(). + * Switch from pkg-config to pkgconf. + * dpkg: Handle non-existent .dpkg-tmp files on read-only filesystems. + Closes: #1030149 + * dpkg-buildpackage: Fix R³ namespace check to only refuse unknown dpkg + keywords. Closes: #1036865 + * dpkg-buildapi: New tool to fetch the dpkg-build-api level. + * dpkg-shlibdeps: On dpkg-build-api >= 1 require -l instead of + LD_LIBRARY_PATH. + * dpkg-buildpackage: On dpkg-build-api >= 1 default R³ to no. + * dpkg-buildpackage: On dpkg-build-api >= 1 avoid build target heuristics. + * Mark dpkg-build-api level 1 as stable. + * Architecture support: + - Restore "arch: Add support for loong64 CPU". Closes: #1028654 + * Perl modules: + - Dpkg::OpenPGP::ErrorCodes: Add new OPENPGP_CMD_CANNOT_SIGN error code. + - Dpkg::OpenPGP::Backend::GnuPG: On signing failure use + OPENPGP_CMD_CANNOT_SIGN. Closes: #1030271 + - Dpkg::Shlibs::Objdump::Object: Split from Dpkg::Shlibs::Objdump. + - Dpkg::Control::HashCore::Tie: Split from Dpkg::Control::HashCore. + - Dpkg::Vars: Fold into Dpkg::Package. + - Dpkg::Package: Rename source_package symbols to source_name. + - Dpkg::Changelog::Parse: Fix indentation of copyright and license notice. + - Dpkg::Version: Update POD for removed semantic_change::overload::bool + warning. + - Dpkg::Gettext: Relicense from BSD-2 to GPL-2+. + - Dpkg::Source::Archive: Fix file normalization for relative pathnames. + - Dpkg::Source::Archive: Reflow regex match in _add_entry(). + - Dpkg::Control::FieldsCore: Deprecate implicit field_transfer_single() + argument. + - Dselect::Method::Ftp: Rename from Dselect::Ftp. + - Dselect::Method::Ftp: Modify config and site subs towards method + independence. + - Dselect::Method: Move to be generic functions from Dselect::Ftp. + - Dselect::Method::Ftp: Update package name. + - Dpkg::Vendor::Debian: Add time64 feature in the future area. + Based on a patch by Helge Deller . Closes: #1030159 + - Dpkg::Control::HashCore::Tie: Rename $last to $prev. + - Dpkg::Substvars: Handle exponential expansion gracefully. + - Dpkg::Shlibs::Objdump: Remove unsupported ELF machine types. + - Dpkg::Shlibs::Objdump: Add ELF machine types for all supported arches. + - Dpkg::Shlibs::Objdump: Add RISC-V ELF ABI tracking. + - Dpkg::Shlibs::Objdump: Add OR1K ELF ABI tracking. + - Dpkg::Shlibs::Objdump: Switch get_format() to return a colon-separated + string. + - Dpkg::Shlibs::Objdump: Add back the ARM ABI mismatch mask but commented + out. See #853793. + - Dpkg::Source::Quilt: Switch get_db_file() to be based off get_db_dir(). + - Dpkg::Vendor::Debian: Mark PIE as builtin on hurd-amd64. + - Dpkg::Vendor::Debian: Only use ABI bits to suppress LFS or time64 + features. + - Dpkg::Vendor::Debian: Only enable LFS when time64 is enabled for glibc. + - Dpkg::Vendor::Debian: Invert time64 suppression list logic. + - Dpkg::Vendor::Debian: Ignore musl libc systems for time64 suppression. + - Dpkg::Vendor::Debian: Add fallback values for ABI attributes. + - Dpkg::Source::Package::V2: Mark single-debian-patch as not needing + forwarding. Closes: #1038121 + - Dpkg::Vendor::Debian: Sync builtin pie arches with gcc-13. + - Dpkg::Vendor::Debian: Move time64 buildflags feature from future to abi. + Suggested by Steve Langasek . + - Dpkg::Vendor::Debian: Move lfs from future to abi area and create an + alias. Suggested by Steve Langasek . + - Dpkg::Vendor::Debian: Move builtin default setup before + init_build_features(). + - Dpkg::Vendor::Debian: Handle abi feature flags as builtin. + - Dpkg::Vendor::Debian: Add support for new hardening branch feature. + Closes: #1021292 + - Dpkg::Vendor::Debian: Add support for new stackclash hardening feature. + Closes: #918914 + - Dpkg::Source::Quilt: Switch get_patch_file() to be based off + get_patch_dir(). + - Dpkg::BuildAPI: New module. + * Make fragments: + - Add new buildapi.mk support. + - On dpkg-build-api >= 1 default to dpkg_vendor_derives_from_v1. + - On dpkg-build-api >= 1 include buildtools.mk in default.mk. + * Documentation: + - man: Add notes about reproducibility properties for path fixing build + features. Prompted by Sven Joachim . + - man: Itemize remaining lists. + - man: Unify admonition markup and formatting. + - man: Move shell redirection operator close to the redirected file. + - man: Add versions where build flag features were added. + - doc: Update triggers spec. + - man: Fix OpenPGP backends list in dpkg-buildpackage(1). + - doc: Use «honor» and «behavior» uniformly in documentation and output. + - man: Clarify that dpkg-reconfigure is part of the debconf project. + - doc: Add a Status field to frontend-api spec. + - man: Clarify shared library name formats and their purpose. + - man: Add SECURITY sections. + - man: Spell out «manual page». + - man: Clarify C.UTF-8 locale setting hint. Closes: #1028296 + - man: Update methods provided by dselect(1). + - man: Turn buildinfo filename format selection into a list. + - man: Itemize supported deb-changelog(5) keyword/value entries. + - doc: Move Perl version baseline as the first perl coding style + subsection. + - doc: Clarify required C/C++ standards. + - doc: Require POSIX.1-2008. + - man: Mention .buildinfo in dpkg-buildpackage --sign-command description. + - doc: Fix typo. + - man: Document known DEB_BUILD_OPTIONS options. Closes: #1038888 + - man: Clarify the md5sums checks as integrity and not security checks. + Prompted by Sebastian Andrzej Siewior . + - man: Clarify dpkg-architecture -c option. + Prompted by Paul Wise . + - man: Document version when new programs where introduced. + - man: Fix typo in future lfs feature introduction version. + - man: Open up dpkg-build-api level 1. + * Code internals: + - libdpkg: Move early return into the loop. + - libdpkg: Remove impossible condition. + - libdpkg: Turn bitmask parse_nv_flags into an actual enum parse_nv_mode. + - libdpkg: Move parse_nv() next word check inside else block. + - dpkg: Remove path_quote_filename() usage. + - dselect: Reduce variables scope. + - libcompat: Reduce variables scope. + - libdpkg: Reduce variables scope. + - update-alternatives: Reduce variables scope. + - src: Reduce variables scope. + - libdpkg: Rename mlib module to mustlib. + - dselect: Remove unused trailing semicolons. + - libdpkg: Surround macro within a do-while block. + - perl: Add $VERSION to all embedded perl packages. + - perl: Add POD to all private modules. Closes: #1030660 + - perl: Move POD sections before what they describe. + - scripts: Unpack function arguments. + - scripts: Remove duplicate variable declaration. + - dselect: Reduce variable scope to avoid shadowing. + - perl: Move $VERSION into package keyword. + - perl: Remove unused Dpkg::Version semantic_change warning suppression. + - scripts: Use «(undef) x N» to ignore tuples or function returns. + - perl: Stop removing «.» from @INC before loading modules. + - dpkg-scansources: Reorder captured variable and regex match. + - perl: Use List::Util instead of fixed string matches within a regex. + - perl: Pass $_ explicitly to field_transfer_single(). + - perl: Rename filename related variables to distinguish them from field + ones. + - dpkg-genchanges: Move comment describing %sourcedefault before + declaration. + - perl: Rename Dpkg::Control variables from $f to $c or $ctrl. + - perl: Use an $f variable for fields instead of the topic variable. + - perl: Use fixed string comparisons for field name matches. + - scripts: Switch code to use chained comparisons. + - dselect: Update Andy Guy email address. + - dselect: Remove unused ismulti() function from media method actions. + - dpkg-deb: Use intermediate variable for exec mark on --info output. + - dpkg-deb: Refactor maintscript interpreter parser. + - dpkg-deb, dpkg-query: Rename option flags to opt_NAME. + - dpkg-trigger: Rename CLI option variables from f_ to opt_. + - libcompat: Declare variables before definitions. + - libdpkg: Make local variables static. + - libdpkg: Rename FHFF_NONE to FHFF_NONEW. + - libdpkg: Switch bitmasks enumerations into precise masks. + - libdpkg: Add enumerations for the default, unset and max cases. + - libdpkg: Add warning suppression macros. + - lib: Add an enum flags attribute. + - lib, src, utils: Use new enum flag C attributes. + - libdpkg: Unconditionally initialize c variable in parse_stanza(). + - start-stop-daemon: Initialize variables in run_stop_schedule(). + - dpkg-genchanges: Refactor .changes file description formatting into a + function. + - dpkg-genchanges: Replace Encode usage with utf8 encode/decode functions. + - dpkg-gensymbols: Use File::Compare instead of Digest::MD5. + - dselect: Reword odd code comment. + - dselect: Use «color» uniformly in variables and comments. + - libdpkg: Handle missing Version when formatting source:Upstream-Version. + Reported by John Scott . + - perl: Remove «1;» from end of script in programs. + - libdpkg: Pass -- after sh -c to avoid bogus option parsing. + Prompted by Joe Simmons-Talbott (on libc-alpha). + - libdpkg: Mask the mode from the tar entry to only the file mode bits. + - lib: Define __has_include fallback if the compiler does not support it. + - libdpkg: Simplify progress output by using fputs() and putchar(). + - libdpkg: Mark the progress percentage for translation. See #1034378. + - dpkg-buildpackage: Turn items into lists for easier extensibility. + - libdpkg: Make headers self-contained. + Thanks to Simon Richter . + - libdpkg: Mark functions in headers as inline. + Thanks to Simon Richter . + - scripts: Do not set LANG unnecessarily. + - dpkg: Move comment next to the code it is describing. + - dpkg-buildpackage: Move hook invocation closer to artifact creation. + - dpkg-buildpackage: Default the enabled run_hook() parameter to true. + - dpkg-buildpackage: Turn the run_hook() enabled argument into a hash + option. + - libcompat: Use ptrdiff_t directly instead of using a macro. + - libcompat: Update getopt code from gnulib. + - libdpkg: Remove redundant check. + - lib, src: Add const qualifiers to variables. + - dselect: Add constVariableReference as a cppcheck suppression. + - libdpkg: Fix varbuf memory leak in pkg_source_version(). + - dpkg-shlibdeps: Switch from exec() to Dpkg::IPC::spawn(). + Prompted by Paul Wise . + - libdpkg: Fix coding style for varbuf module. + - libdpkg: Reorder varbuf functions. + - libdpkg: Add varbuf_add_varbuf() function. + - libdpkg: Add varbuf_add_strn(). + - libdpkg: Add varbuf setter functions. + - libdpkg: Switch ustar filename construction to use varbuf_add_strn(). + - dpkg-split: Use varbuf instead of ad-hoc allocation in read_info. + - Use varbuf_add_varbuf() instead of varbuf_add_buf()/_str(). + - Use varbuf_set_*() instead of ad-hoc initialization. + - libdpkg: Generalize command_in_path() from find_command(). + * Build system: + - Fix version script linker support detection. + - Enable -Wextra-semi compilation warning. + - Explicitly set the date when generating perl module man pages. + - Bump minimal Perl version to 5.32.1. + - Enable more compiler warnings. + - Remove unused AC_SIZEOF checks. + - Check for the host architecture attributes during configure. + - Detect whether we need librt for clock_gettime(). + - Use an export symbols file if there is no version script support. + - Add -no-undefined libtool flag. + - Add support for .git-blame-ignore-revs file. + - Fix typo in .gitignore filename by renaming it. + Thanks to Simon Richter . + - Remove vim swap file entry from .gitignore. + - Ignore tags files. + Based on a patch by Simon Richter . + - Add perl prefixes into the Code Internals changelog section. + - Namespace COMPILER_*FLAGS with DPKG_. + - Add support for compiler sanitizer flags. + - Add support for compiler analyzer flags. + - Add new gcc-13 warnings. + - Warn on alloca() usage. + - Remove distcleancheck_listfiles override for CPAN dist-cpan target. + - Avoid Perl's exec() falling back to system(). + Thanks to Paul Wise . + See https://perldoc.perl.org/functions/exec.html. + * Packaging: + - Merge copyright statements for the same holder. + - Remove executable permissions from maintscripts in source. + - Remove no longer needed alternatives fixup from postint. + - Remove no longer needed maintscripts for method renames. + - Fix removal of file method state directory on purge. + - Wrap fields in debian/tests/control file. + - Set Persistent=true for dpkg-db-backup systemd timer. + Thanks to Teemu Likonen . Closes: #1041730 + - Do not start the dpkg-db-backup timer during installation. + * Test suite: + - Update perlcritic checks and suppressions. + - Disable perlcritic checks that are not relevant. + - Reduce scope of variable to avoid shadowing others. + - Do not use potentially bogus variable value. + - Enable perlcritic RegularExpressions::ProhibitCaptureWithoutTest. + - Disable -Wassign-enum for tests using out of range enum values. + - Make some perlcritic checks more strict. + - Update rationale for perlcritic check suppressions. + - Use the TAR detected at configure time in autotests. + - Use the SED detected at configure time in autotests. + - Use m4 to implement seq instead of assuming GNU seq is present. + - Add missing argument to DPKG_FILE_SIZE m4 function. + - Add more substvar recursive replace cases. + - Define lzma based on xz if missing. + - Switch deb non-uniform members test to use uncompressed control.tar. + - Use AT_DATA instead of touch to create empty files. + - Refactor deb-format package template generation into a new macro. + - Split deb-format tests per compressor. + - Fix t-disappear-depended test. + - Add cases for disappearing with diversions. + - Add cases for disappearance on diverted overwrites and third parties. + Suggested by Simon Richter . + - Quote command variables in case these contain spaces. + - Use the GREP/EGREP detected at configure time in autotests. + - Pass -n to gzip for all invocations. + - Generate the pkg-old.deb from controlled parts. + - Compute the sizes for «dpkg-deb -I» output dynamically. + - Add test cases for dpkg-buildpackage hook support. + - Use dpkg-buildpackage --no-sign instead of each --unsigned-* option. + - Add new stop words for codespell 2.2.5. + - Update cppcheck suppressions for 2.11. + - Define macros to help cppcheck analyze code. + - Fix varbuf memory leak in t-pkg-format test. + - Rename merge_changlogs test to match the command being tested. + - Add new test case checking Conflicts with Replaces. + - Fix t-conffile-divert-conffile case. + - Use «ar qc» to create archives with duplicate members. + - Move test_data_file() to test.h. + * Localization: + - Add Portuguese scripts translations. + Thanks to Américo Monteiro . Closes: #1032562 + - Clarify license for translation files. + - Fix Project-Id-Version to match the gettext domain. + - Unify translation header description. + - Update Dutch header boilerplate with an actual copyright line. + - Update French scripts translation. + Thanks to Sébastien Poher . + - Update Romanian dselect translation. + Thanks to Remus-Gabriel Chelu . + Closes: #1040869 + - Use Dpkg Developers instead of listing them individually. + + [ Helge Kreutzmann ] + * man: Remove a now superfluous character from dpkg(1). + * Localization: + - Update German man pages translation. + - Update German scripts translation. + + [ Sven Joachim ] + * Localization: + - Update German dselect translation. + - Update German programs translation. + + -- Guillem Jover Wed, 30 Aug 2023 05:39:24 +0200 + dpkg (1.21.22ubuntu1) mantic; urgency=low * Merge from Debian unstable. Remaining changes: @@ -8367,7 +8739,7 @@ Closes: #675613, #676061, #676062, #676107, #676118, #676122 * Do not reset Multi-Arch field in the update log when removing the package. Closes: #676496 - * Fix dpkg-split to honour the DPKG_ADMINDIR environment variable. + * Fix dpkg-split to honor the DPKG_ADMINDIR environment variable. [ Updated man pages translations ] * German (Helge Kreutzmann). @@ -8438,7 +8810,7 @@ floats, the latter being susceptible to parsing errors depending on the current locale (although this was only affecting the old deb format). * Ignore the minor format version number for deb-split format, unifying - the behaviour with the deb format. + the behavior with the deb format. * Add support for an abitable containing arch attribute overrides. * Add x32 support to abitable, ostable and triplettable. Closes: #667037 * Fix start-stop-daemon to work with relative --exec arguments and --chdir. @@ -8485,7 +8857,7 @@ [ Guillem Jover ] * Move and to the top of trigdeferred.l to properly use the configured features and compat code. - * Honour --disable-nls when the system lacks obstack support, by updating + * Honor --disable-nls when the system lacks obstack support, by updating the obstack compat module from gnulib. * Link the libdpkg unit tests with libcompat and libintl, so that systems needing them will compile correctly. @@ -8517,7 +8889,7 @@ Thanks to Matt Kraai . * Return correct status on start-stop-daemon --status when using --pidfile. * Treat dpkg-deb compression level independently for each backend. This - has the effect of changing the current behaviour for level 0 on all + has the effect of changing the current behavior for level 0 on all compressors except gzip. * Add new dpkg-deb -S option to specify the compression strategy. The only currently supported value is “extreme” for xz. Closes: #647915 @@ -8548,7 +8920,7 @@ * Do not print bogus errno string for invalid package names in dpkg --ignore-depends option. * Change dpkg-query to not load the available file by default for --list - and --show, add a new --load-avail option to expose the old behaviour. + and --show, add a new --load-avail option to expose the old behavior. * Only allow setting selections via «dpkg --set-selections» for known packages (i.e. those present in either the status or available files). * Always ignore older versions when parsing the available file, not only @@ -8978,7 +9350,7 @@ from dpkg which were being treated as dpkg commands. * Remove reference to --nocheck dpkg-deb option from dpkg man page as the latter does not pass it to the former. - * Clarify the current dpkg behaviour when running the dpkg-deb and + * Clarify the current dpkg behavior when running the dpkg-deb and dpkg-query back-ends, of not passing through back-end specific options when running them from dpkg. Closes: #610940 * Use “unselected” as an adjective in dpkg output messages instead of @@ -9032,7 +9404,7 @@ debian/rules. * Use the perl interpreter found by configure to call dpkg-architecture.pl in the m4 DPKG_ARCHITECTURE macro. - * Add new --verbose option to dpkg-deb and change --extract to honour it. + * Add new --verbose option to dpkg-deb and change --extract to honor it. Closes: #293280 * Add new --raw-extract option to dpkg-deb combining --control and --extract. Closes: #552123 @@ -10283,7 +10655,7 @@ * Document “dpkg-query -l” abbreviated state information in the man page. Based on a patch by Marc-Jano Knopp . Closes: #383869 - * Honour LINGUAS environment variable when installing translated man pages. + * Honor LINGUAS environment variable when installing translated man pages. * Allow disabling at configure time Unicode ncurses support for dselect. Based on a patch by Yuri Vasilevski . @@ -12937,7 +13309,7 @@ [ Guillem Jover ] * Add support for Package-Type in dpkg-name. - * Restore cross compilation support by honouring the environment host and + * Restore cross compilation support by honoring the environment host and arch variables to override the default values on the dpkg-dev scripts. [ Updated man pages translations ] @@ -13448,7 +13820,7 @@ and remove redundant reference to GNU. - Fix explanation of dpkg-source '-b' option, remove a reference to checking for a missing empty string argument, and add a reference - to '-sX' arguments affecting the behaviour. Closes: #428167 + to '-sX' arguments affecting the behavior. Closes: #428167 - Remove documented dpkg-gencontrol options in dpkg-source left over from the man pages split. @@ -14093,7 +14465,7 @@ * Don't try to compile in SELinux support on GNU/kFreeBSD amd64. * Add new quiet option to dpkg-source to suppress warnings. Closes: #355065 * Do not expand architecture aliases anymore in .dsc files. - * Change start-stop-daemon's --exec behaviour again on GNU/Linux to compare + * Change start-stop-daemon's --exec behavior again on GNU/Linux to compare the referred file pointed by the '/proc//exe' symlink, stripping any ' (deleted)' string and stating the result. Closes: #354867 @@ -14186,7 +14558,7 @@ * Add command descriptions in the synopsis, and add a usage example for -f in the dpkg-query manpage. Thanks for the initial patch to Philippe Batailler. Closes: #352091 - * Document about the default log file, the behaviour in case of multiple + * Document about the default log file, the behavior in case of multiple --log options and add a reference to dpkg.cfg manpage in the dpkg manpage. Thanks to James R. Van Zandt. Closes: #350440 * Escape ` and ' in manpages otherwise they are converted to quotation @@ -14372,7 +14744,7 @@ * Add support for architecture wildcards, but for now they will only be exposed in debian/control files, not in binary nor source packages. Closes: #291939 - * Change start-stop-daemon's --exec option behaviour on GNU/Linux to + * Change start-stop-daemon's --exec option behavior on GNU/Linux to compare the filename pointed by '/proc//exe' instead of the inode and device numbers. Thanks to Vasilis Vasaitis . Closes: #337942 @@ -18337,176 +18709,1123 @@ * Fixed bug in old-style version/revision number parsing. (Bug#3440.) -- Ian Jackson Sat, 29 Jun 1996 03:32:45 +0100 -dpkg (1.2.9); priority=MEDIUM - * Fixed status database updates reading bug. - * `Setting up' message includes version number. - * `existence check' message changed to say `cannot access archive'. - -- Ian Jackson Thu, 27 Jun 1996 13:39:36 +0100 +dpkg (1.2.10); priority=MEDIUM + * Fixed bug in old-style version/revision number parsing. (Bug#3440.) + -- Ian Jackson Sat, 29 Jun 1996 03:32:45 +0100 -dpkg (1.2.8); priority=LOW - * dpkg --record-avail puts data in Size field. - * strip / for rmdir(2) in cleanup to work around kernel bug. (Bug#3275.) - * dpkg-split --msdos no longer allows `-' and other chars in filenames. - * manual dpkg-split(8) written. - * dpkg-split minor typo in --auto usage error message fixed. - * dpkg-deb(8) very minor cosmetic fix to --build option. - -- Ian Jackson Tue, 25 Jun 1996 03:00:14 +0100 +dpkg (0.93.79) BETA; priority=LOW -dpkg (1.2.7); priority=LOW - * dpkg-scanpackages syntax errors fixed. - -- Ian Jackson Fri, 21 Jun 1996 04:10:38 +0100 + * DPKG_NO_TSTP environment variable which stops dpkg sending the + process group a SIGTSTP (Bug#1496). + * End key should work in dselect lists (Bug#1501). + * various message typos (missing \n's) fixed (Bug#1504). -dpkg (1.2.6); priority=MEDIUM - * NFS, CDROM and partition dselect methods include mountpoint - in paths given to dpkg in [I]install, so they should now work. - * Removed some leftover files from source tree. - -- Ian Jackson Wed, 12 Jun 1996 14:35:19 +0100 + -- Ian Jackson Fri, 29 Sep 1995 03:27:01 +0100 -dpkg (1.2.5); priority=MEDIUM - * Allow, but do not create, packages in half-installed state - with no version number. (Aargh.) - -- Ian Jackson Mon, 10 Jun 1996 04:55:43 +0100 +dpkg (0.93.78) BETA; priority=LOW -dpkg (1.2.4); priority=MEDIUM - * New dpkg-name from Erick (__.deb convention). - * Disappeared packages can't own conffiles any more ! (Bug#3214.) - * install-info creates Miscellaneous sections with a newline - following the heading. (Bug#3218.) - * cleanup-info script installed in /usr/sbin; called as appropriate - by postinst. Thanks to Kim-Minh Kaplan. (Bug#3125.) - * Allow superseded Essential packages to be purged after they've - been removed (clear the Essential flag on removal, and ignore it - on packages that are in stat_configfiles). - * dselect disk methods understand `y' as well as `yes' for using - development tree. - * dselect doesn't make packages appear as `new' again if update - of available packages fails. - * dselect places method selection cursor over option last selected. - * dpkg-scanpackages doesn't die when repeated packages are found. - * dpkg-scanpackages allows many old maintainers (`//'-separated). - * `Version' field is now mandatory (some operations already - wouldn't work right anyway if it wasn't there). - * update-rc.d(8) now says you must remove the script. (Bug#3215.) - * dpkg --force-help says that --force-overwrite is on by default. - * dpkg-deb manpage rewritten. - * debian.README (= /usr/doc/copyright/dpkg) edited slightly. - * Some database parsing grunge removed (pdb_preferversion, &c). - * Source tree doc/sgml contains some embryonic manuals. - * Leftover files in lib directory in source tree deleted. - -- Ian Jackson Mon, 10 Jun 1996 03:52:01 +0100 + * dselect keystrokes help file typo fix. -dpkg (1.2.3); priority=HIGH - * install-info doesn't replicate section headings (Bug#3125, #2973). - * New dpkg-name manpage broken off from script (oops!). - * dselect help screens made consistent with new strings, flags, &c. - * dselect error flag column labelled E (Error), not H (Hold). - * `Escape' no longer bound to `exit list without saving' in dselect. - -- Ian Jackson Tue, 28 May 1996 02:14:57 +0100 + -- Ian Jackson Thu, 28 Sep 1995 20:31:02 +0100 -dpkg (1.2.2); priority=MEDIUM - * Fixed dselect coredump found by Erick Branderhorst (thanks). - * Sort obsolete removed packages separately, not under Available. - -- Ian Jackson Thu, 23 May 1996 21:31:05 +0100 +dpkg (0.93.77) BETA; priority=MEDIUM -dpkg (1.2.1); priority=MEDIUM - * `=' key in dselect really does `hold' rather than `unhold'. - * dselect dependency processing now interacts better with `hold'. - * dselect `I' key (not `i') modifies display of the info window. - * dselect shows unavailable packages as being unavailable. - * dselect main menu headings and many other strings changed to try to - discourage people from deselecting every package and using [R]emove. - Notably, `select' changed to `mark' throughout. - * dselect disk methods now print a few fewer double slashes. - * dselect disk access methods will offer to use dpkg --record-avail - to scan the available packages, if no Packages file is found. - * New dpkg --compare-versions option, for the benefit of scripts &c. - * New dpkg --clear-avail option forgets all available packages info. - * New dpkg --print-avail option, prints `available' data (from Packages, &c). - * dpkg usage message is more informative, but no longer fits on screen. - * dpkg --avail option renamed --record-avail. - * Latest dpkg-name from Erick Branderhorst. - * dpkg-scanpackages has more sensible problem reporting. - * postinst configure now gets null argument (not or ) - when there is no previously configured version. - * Guidelines say that postinst configure is given previous version. - * Guidelines don't refer to maintainer-script-args.txt in main text. - * Guidelines (Texinfo source) uploaded separately. - * Own version of strcpy (used for debugging) removed. - * Interface to access methods document in source (doc/dselect-methods.txt). - * debian.buildscript moves changes file into parent directory. - -- Ian Jackson Wed, 22 May 1996 01:26:31 +0100 + * dpkg --remove --pending will purge things when appropriate. -dpkg (1.2.0); priority=MEDIUM - * dselect can sort packages by available and installed states, and - display their version numbers. (Use O, o and V.) - * Hold is properly integrated as a real `wanted state', rather than - a separate flag. - * Epochs in version numbers implemented, using the syntax - :-. (Epoch not usually displayed.) - * dselect disk method is architecture-independent (uses dpkg's - installation architecture, and looks in the right part of the tree). - * dselect disk method doesn't try to satisfy the predependencies of - packages which are on hold. - * Fixed conflict-related assertion failure. (Bug#2784.) - * conffiles do not cause file conflicts if the conflicting package - is in the `configuration only' state. (Bug#2720.) - * Fixed messages where available version number was reported as installed - version in conflict and dependency messages. (Bug#2654, Bug#2974.) - * New format .deb files are default even for a.out compiles (but - a.out version of dpkg is in old format). - * Characters @:= (at colon equals) in package names now strictly - forbidden everywhere (_ is still allowed in existing packages). - * New dpkg --print-installation-architecture option prints installation - architecture (compiled in), rather than build architecture (determined - from gcc -print-libgcc-file-name). - * Version messages show whether compiled a.out or ELF (i386 only). - * Fixed missing space in version syntax error messages. - * Manpage dpkg.8 installed with warning about inaccuracy. - * Guidelines don't say to stop and restart daemons in runlevels 2345; - instead they say to start in 2345 and stop in 016. - * Guidelines and version messages say just Debian Linux. - * Guidelines typo fix for '"stop"'. (Bug#2867.) - * doc/Makefile.in clean properly deletes various guidelines.info* files. - -- Ian Jackson Thu, 16 May 1996 00:01:21 +0100 + * fixed failure to null-terminate dpkg conflict problem messages. + * fixed bug in formatting of dependency version problem messages. -dpkg (1.1.6); priority=MEDIUM - * Check virtual dependencies when removing (ouch! - thanks SDE.) - * Fixed bug in internal database validity management that could - make dselect and dpkg dump core. (Bug#2613.) - * Fixed two coredumping bugs when using local diversions. (Bug#2804.) - * Fixed disappearance of overwritten packages. (Bug#2696.) - * install-info won't modify dir file before start of menu. - * install-info will create Miscellaneous heading if no sections yet. - * Only alphanums and +-. allowed in package names - enforced by - dpkg-deb --build and documented in Guidelines. - * dselect doesn't display packages unless they are installed, selected - or available. - * dselect doesn't show spurious section and priority headings. - * dselect has a few extra keybindings (from Lee Olds). - * --force message changed to `--force enabled' so that default is OK. - * dpkg-name now includes architecture component in .deb filename, - and translates - in package name to _. - * .deb file has architecture component in filename. - * Guidelines changed to say Pre-Depends is for experts only. - * Guidelines say to provide a unidiff (-u) rather than an old context diff. - * Guidelines say 755 root.root for shared libraries. - -- Ian Jackson Wed, 1 May 1996 00:47:22 +0100 + * Conffiles resolution prompt for new conffile: typo fixed. + * Changed dpkg usage error to suggest `-Dhelp' instead of `--Dhelp'. -dpkg (1.1.5); priority=MEDIUM (HIGH for diversions users) - * Fixed coredump when using diversions. (Bug#2603.) - * Fixed typo in dpkg-divert which could lose diversions. (Bug#2662.) - * --force-overwrite is the default. - * diversions.text provides better examples. - -- Ian Jackson Wed, 10 Apr 1996 13:59:30 +0100 + -- Ian Jackson Wed, 20 Sep 1995 23:44:35 +0100 -dpkg (1.1.4); priority=MEDIUM - * Allow overwriting of conflicting packages being removed. (Bug#2614.) - * a.out control file says Pre-Depends: libc4 | libc. (Bug#2640.) - * ELF control file and libc dependencies changed to use finalised scheme. - * ELF control file and libc dependencies for i386 only. (Bug#2617.) - * Guidelines say use only released libraries and compilers. - * Install wishlist as /usr/doc/dpkg/WISHLIST. - * Remove spurious entries for Guidelines in info dir file. +dpkg (0.93.76) BETA; priority=MEDIUM + + * dpkg --auto-deconfigure option (used automatically by dselect) allows + `important' packages which many others depend on to be split. + * dpkg should no longer fail an assertion during complicated + multiple configurations involving packages which are on hold. + + * update-alternatives supports negative priorities. + * /etc/alternatives is included in the .deb archive. + + * Package priorities changed: Required (Req), Important (Imp), Standard (Std), + Optional (Opt) and Extra (Xtr). For backward compatibility Base is an + alias for Required, and Recommended is kept as a level just below Standard. + + * dselect shows introductory help screen when entering package lists (both + main and recursive). + * dselect help messages made more friendly. + * dselect package list `quit, confirm, and check dependencies' key is + now Return rather than lowercase `q'; likewise method list `select this + one and configure it' key. + * dselect selects packages with priority `standard' or better by default. + * dselect `v=verbose' becomes `v=terse' when in verbose mode. + + * hard disk method unmounts /var/lib/dpkg/methods/mnt on failure. + * disk methods' install message uses `stty' to find out what the + interrupt character is, and uses that in the prompt (rather than ^C). + * dpkg now tolerates ^Z characters in Packages files. + * harddisk method doesn't display extra slash when updating packages file. + * harddisk method burbles less if it doesn't have a good default. + + * dpkg-deb now supports new flexible format, but old format still default. + + -- Ian Jackson Wed, 20 Sep 1995 02:49:41 +0100 + +dpkg (0.93.75) BETA; priority=MEDIUM + + * dselect no longer segfaults when you try to modify the last item. + + * dselect Makefile compiles with -g, and links without -s, but installs + with -s, so that built source directory has debugabble binary. + + -- Ian Jackson Tue, 12 Sep 1995 02:59:29 +0100 + +dpkg (0.93.74) BETA; priority=LOW + + * dpkg-split implemented and installed in /usr/bin/dpkg-split. + (NB this is not compatible with Carl Streeter's old dpkg-split script.) + * dpkg uses dpkg-split. + * floppy disk method available - NB this is a first attempt only. + + * hard disk method uses --merge-avail rather than --update-avail. + * installation by default of `standard' packages removed again. + (I don't think this is the right place to do this.) + * update-alternatives --remove correctly deletes all slave links; + minor cosmetic improvements. + + -- Ian Jackson Mon, 11 Sep 1995 02:06:05 +0100 + +dpkg (0.93.73) BETA; priority=LOW + + * dselect multi-package selection now done by `divider' lines + actually in the package list, rather than horizontal highlight + movement. + * dselect help available, and keybindings rationalised. + + * postinst removes /usr/lib/dpkg/methods/hd if upgrading from + 0.93.42.3 or earlier. + * `hold' flag changed to be settable by the user only, and + made orthogonal to the `reinstallation required' flag. + * dpkg will install by default any packages with priority of + `standard' or better unless they're explicitly deselected. + + * dselect dependency/conflict resolution will suggest marking absent + packages for `purge' rather than `deinstall'. + * disk method script produces message about invoking dpkg. + * dpkg produces warning, not error, when it gets EPERM trying to + remove a directory belonging to a package being removed. + * dpkg, dpkg-deb usage error reporting improved. + * dselect detects too-dumb terminals and stops. + * dpkg-deb(8) updated a little (thanks to Bill Mitchell). + + * dselect debugmake script uses -O0. + + -- Ian Jackson Sun, 10 Sep 1995 12:23:05 +0100 + +dpkg (0.93.72) BETA; priority=MEDIUM + + * /usr/sbin/update-alternatives added. + + * New names for certain control file fields (old names work + as aliases): Optional -> Suggests, Recommended -> Recommends, + Class -> Priority. + + -- Ian Jackson Sun, 3 Sep 1995 16:37:41 +0100 + +dpkg (0.93.71) BETA; priority=LOW + + * dpkg doesn't silently overwrite `new' conffiles (Bug#1283). + * case now not significant in Essential, Status and Class (Bug#1280). + * dselect checks method scripts for execute, not for write. + + * spelling fixes in lib/dbmodify.c and dselect/helpmsgs.src. + + * dselect `clean' target deletes helpmsgs.cc and helpmsgs.cc.new. + + -- Ian Jackson Thu, 31 Aug 1995 13:56:08 +0100 + +dpkg (0.93.70) BETA; priority=MEDIUM + + * dselect unmounted harddisk method has many silly bugs fixed. + + * dpkg --root option restored (was removed by mistake in 0.93.68). + * minor cosmetic change to dselect subprocess failure message. + + -- Ian Jackson Wed, 9 Aug 1995 22:18:55 +0100 + +dpkg (0.93.69) BETA; priority=MEDIUM + + * dpkg --configure and --remove should work properly when + they have to defer processing (this tends to happen when many + packages are processed at once). (Bug#1209.) + + * dpkg --configure and --remove work better when `processing' + several related packages with --no-act. + + * dpkg --auto is now two options, --pending or -a (for configure, + remove, &c) and --recursive or -R (for install, unpack, &c). + + * dpkg debug options in usage message, and values available (-Dh). + + -- Ian Jackson Wed, 9 Aug 1995 22:18:55 +0100 + +dpkg (0.93.68) BETA; priority=MEDIUM + + * dpkg won't get an internal error if you try to use the default + conffiles response (ie, if you just hit return). (Bug#1208.) + + * dselect hard disk and CD-ROM methods - the real thing, but ALPHA. + + * dselect allows you to go straight to `update' or `install' if + you have already set up an access method. + * new dpkg options --yet-to-unpack, --merge-avail and --update-avail. + * dpkg -G is an abbreviation for dpkg --refuse-downgrade. + * dpkg -R alias for --root withdrawn, pending reuse with different meaning. + * dpkg --help message rationalised somewhat. + + * Obsolete `examples' and `dpkg-split' directories removed from + source tree. The `hello' package is a better example. + + -- Ian Jackson Mon, 7 Aug 1995 02:16:25 +0100 + +dpkg (0.93.67) BETA; priority=LOW for C dpkg alpha testers, HIGH for others + + * dpkg no longer statically linked and -g. + * calls to abort() changed to print string, file and line number first. + * removed unused variable from dpkg source. + + -- Ian Jackson Fri, 4 Aug 1995 01:39:52 +0100 + +dpkg (0.93.66) ALPHA; priority=MEDIUM + + * dpkg will correctly remove overwritten files from the lists of + the package(s) that used to contain them. + + * dpkg --purge is now an action, rather than a modifier for --remove, + and the -P alias for it is withdrawn. + + * dpkg --unpack/--install filenames in messages are now more sensible + about when to use .../ (show as many trailing components as possible + in 40 characters, or the whole path if that the last component is + longer than that). + + -- Ian Jackson Thu, 3 Aug 1995 02:11:03 +0100 + +dpkg (0.93.65) ALPHA; priority=MEDIUM + + * dpkg --remove should, when a package being removed is depended-on + by another that is also queued for removal, defer the depended-on + package rather than aborting it. (Bug#1188.) + + * dpkg will not attempt to configure or remove a package more than + once in the same run. (Bug#1169.) + + * dpkg cosmetic fix to dependency problems message (this bug + hasn't been triggered to my knowledge). + + * perl-dpkg no longer installed in /usr/bin. + + -- Ian Jackson Wed, 2 Aug 1995 13:02:58 +0100 + +dpkg (0.93.64) ALPHA; priority=MEDIUM + + * dpkg marks a package as no longer `to be configured in this run' + when an error occurs, so that other packages which depend on it + will fail (rather than causing a loop and an assertion failure, + packages.c:166: failed assertion `dependtry <= 4'). + + * dselect initial selection granularity is single-package. + * dpkg --no-also-select option renamed to --selected-only (old option + still accepted, but no longer in --help). Changed -N to -O. + + * dselect `update' option changed to `install' (and other options + renamed too). NB: old access methods will not work, because + the `update' script should now be an `install' script. + + * dselect `installation methods' renamed to `access methods'. + * dpkg --skip-same-version and --refuse-downgrade produce friendlier + messages when they skip packages. + * --licence option now properly mentioned in all programs' --version + messages. + + * bad fix for ELF compile problem involving myopt.h removed (compile + problem turned out to be a GCC bug.) + + -- Ian Jackson Tue, 1 Aug 1995 03:03:58 +0100 + +dpkg (0.93.63) ALPHA; priority=LOW + + * preinst works around shell bug/misfeature involving `trap'. + + * dpkg --skip-same-version doesn't skip packages which have + an error flag set or which aren't in a standard `installed' state. + + * dpkg --search now does a substring search if the string doesn't + start with a wildcard character (*, [ or ?) or slash. + + * problem with C/C++ linkage of stuff in "myopt.h" fixed, to help + with compiling with GCC 2.7.0. + + * dselect Makefile.in `clean' deletes curkeys.inc &c, so that they are + not shipped in the distribution source and will be rebuilt on the + target system. + + -- Ian Jackson Thu, 27 Jul 1995 13:38:47 +0100 + +dpkg (0.93.62) ALPHA; priority=HIGH + + * dpkg purges leftover control scripts from /var/lib/dpkg/tmp.ci, + rather than associating them with the wrong package. (Bug#1101.) + + * dpkg won't `disappear' packages containing no files or directories, + nor a package required for depends/recommended. (Bug#1128.) + + * dpkg follows directory symlinks. (Bug#1125.) + + * dselect fixups for ELF/GCC2.7.0 compilation. + + -- Ian Jackson Fri, 21 Jul 1995 21:43:41 +0100 + +dpkg (0.93.61) ALPHA; priority=LOW + + * dselect keybindings and status characters and descriptions changed + (in pursuance of Bug#1037, user interface problems, still open.) + + * Some cleanups to fix mistakes discovered by ELF-GCC 2.7.0, and fixup + for newer C++ draft standard (`for' variable declaration scope change). + + -- Ian Jackson Tue, 18 Jul 1995 01:42:51 +0100 + +dpkg (0.93.60) ALPHA; priority=HIGH + + * dpkg doesn't think packages have `disappeared' if you install + several packages at once. (later reported as Bug#1132.) + + * usage error messages tidied up. + + -- Ian Jackson Sun, 16 Jul 1995 17:56:56 +0100 + +dpkg (0.93.59) ALPHA; priority=HIGH + + * dpkg doesn't break maintainer scripts &c if package `foo' exists + when processing package `foobar'. (Related to Bug#1101.) + + * dpkg implements `disappear' functionality. + * dpkg/dselect remove dead entries from /var/lib/dpkg/status. + + * dpkg --list now sorted correctly and output somewhat improved. + * some debugging messages moved from dbg_stupidlyverbose to dbg_scripts. + * dpkg prints `Removing foo' message even if foo is not configured. + * dpkg only prints `serious warning: files list file ... missing' + once for each package. + + -- Ian Jackson Sun, 16 Jul 1995 02:32:11 +0100 + +dpkg (0.93.58) ALPHA; priority=HIGH + + * dpkg should write out status even for packages which it has only + encountered in the `available' file so far. + + -- Ian Jackson Fri, 14 Jul 1995 20:19:21 +0100 + +dpkg (0.93.57) ALPHA; priority=LOW + + * dpkg does chroot when running maintainer scripts (--instdir + should work right now, though I haven't been able to test it). + + -- Ian Jackson Fri, 14 Jul 1995 01:32:30 +0100 + +dpkg (0.93.56) ALPHA; priority=HIGH + + * dpkg can now overwrite symlinks to directories, and will + do correct handling of symlinks to plain files. + * dpkg should not replace any directory with a symlink. + + -- Ian Jackson Thu, 13 Jul 1995 02:43:36 +0100 + +dpkg (0.93.55) ALPHA; priority=MEDIUM + + * dpkg can now extract hardlinks. + * dpkg configuration/removal works in the presence of dependency cycles. + * dpkg should no longer fail an assertion at processarc.c:193. + + -- Ian Jackson Wed, 12 Jul 1995 01:34:44 +0100 + +dpkg (0.93.54) ALPHA; priority=MEDIUM + + * dpkg and dselect no longer throw away all Class and Section + information in /var/lib/dpkg/available. (Oops.) + * dpkg --refuse- now works (this broke some dselect + method scripts' attempts to use --refuse-downgrade). + * dpkg --audit and --list implemented. + + -- Ian Jackson Mon, 10 Jul 1995 00:35:13 +0100 + +dpkg (0.93.53) ALPHA; priority=LOW + + * dpkg --install/--unpack only skips on-hold packages with --auto. + * dpkg doesn't fclose() the --fsys-tarfile pipe twice. + * dpkg error handling and reporting cleaned up. + * dpkg now lists any failed packages/files just before exiting. + + -- Ian Jackson Sun, 9 Jul 1995 16:31:36 +0100 + +dpkg (0.93.52) ALPHA; priority=MEDIUM + + * dpkg won't segfault due to missing (Package_)Revision fields. + * dpkg --search works. + * dpkg will set execute permissions on scripts if necessary. + * dpkg prints filenames in --unpack and --install. + + -- Ian Jackson Sat, 8 Jul 1995 12:41:39 +0100 + +dpkg (0.93.51) ALPHA; priority=HIGH + + * dpkg --status and --listfiles now work. + + * dpkg --remove --auto won't try to remove everything (!) + * dpkg --unpack doesn't coredump after unpacking the first package. + * dpkg won't fail an assertion if it bombs out of --configure + or --remove because of too many errors. + + * Support for `Essential' in dpkg (not yet in dselect). + * `available' (Packages) file class and section override those + from package control files. + * `Essential: yes' added to control file. + + * Locking strategy changed, now uses flock (no more stale locks). + * preinst now more helpful about conffiles upgrade problem. + + -- Ian Jackson Sat, 8 Jul 1995 01:15:26 +0100 + +dpkg (1.2.9); priority=MEDIUM + * Fixed status database updates reading bug. + * `Setting up' message includes version number. + * `existence check' message changed to say `cannot access archive'. + -- Ian Jackson Thu, 27 Jun 1996 13:39:36 +0100 + +dpkg (0.93.42.3) BETA; priority=LOW + + * Rebuilt using ncurses 1.9.2c-0. + * Silenced `subcritical error' message if errno == ENOENT. + + -- Ian Jackson Mon, 12 Jun 1995 13:09:24 +0100 + +dpkg (0.93.42.2) BETA; priority=HIGH + + * install-info --remove properly removes multi-line entries. + * Slightly changed ^L redraw code in dselect package list. + + -- Ian Jackson Sat, 10 Jun 1995 14:06:01 +0100 + +dpkg (0.93.42.1) BETA; priority=HIGH esp. for new installations + + * update-rc.d default no longer adds K entries in runlevels 2345. + + -- Ian Jackson Tue, 6 Jun 1995 18:56:23 +0100 + +dpkg (0.93.42) BETA; priority=LOW; HIGH for dselect users + + * Fix uninitialized variable reference bug in dselect (#890). + * Fix problem with wordwrapping package and method descriptions. + * Create /var/lib/dpkg/methods/mnt. + + -- Ian Jackson Fri, 19 May 1995 21:03:08 +0100 + +dpkg (0.93.41) BETA; priority=LOW + + * Create /var/lib/dpkg/methods. + * dpkg.pl noisily ignores --skip-same-version rather than barfing. + + -- Ian Jackson Tue, 16 May 1995 13:28:27 +0100 + +dpkg (0.93.40) BETA; priority=LOW + + * dselect's subprogram failure message made to stand out more. + + * When switching out of curses, always move the cursor to the + bottom right corner of the screen. + + -- Ian Jackson Tue, 16 May 1995 01:03:38 +0100 + +dpkg (0.93.39) BETA; priority=LOW + + * dselect can now: + - allow you to select and configure an installation method; + - invoke installation method scripts to update the available file + and unpack packages; + - invoke dpkg to configure and remove packages. + There are no installation methods available yet. + + * Search feature in dselect works (it was purely an ncurses bug). + + * dpkg-*.nondebbin.tar.gz now available (built by debian.rules). + + * The target directory for dpkg-deb --extract (also available as + dpkg --extract) is no longer optional. dpkg-deb suggests the use + of dpkg --install if you omit it. + + * Added to lib/lock.c and fixed ref. to `byte' in + md5sum/md5.c, for portability to Solaris 2. + + * Rebuilt `configure' and `config.h.in' using autoconf 2.3. + * Revised function attribute support checking in configure script. + * Removed obsolete `dselect.pl' from scripts directory. + * New option --licence on all the C programs. + + -- Ian Jackson Sun, 14 May 1995 18:05:38 +0100 + +dpkg (0.93.38) BETA; priority=MEDIUM + + * Version number comparisons (in dpkg and dselect) now >= <= + as documented (Bug#831; thanks to Christian Linhart). + + * dselect now has a non-superuser readonly mode. + * dselect doesn't pop up unsatisfied `Optional's when quitting. + * `unable to delete saved old file' message fixed dpkg_tmp to dpkg-tmp. + + * Made dpkg convert `revision' to `package_revision' when reading + (eg) the `status' file. libdpkg.a has `revision' as a synonym + for `package_revision' and writes the former. + + * Major improvements and many changes to C option parsing, database + management, error handling, Makefiles &c to support dpkg. + * dpkg-deb should now work if sizeof(void*) < sizeof(void(*)()). + + -- Ian Jackson Mon, 24 Apr 1995 12:34:39 +0100 + +dpkg (0.93.37) BETA; priority=LOW (MEDIUM for dselect users) + + * Fixed segfault if no description available (Bug#735); + thanks to Peter Tobias for the bug report. + * Fixed other assorted minor bugs in description displays. + + * Changed dpkg-deb --info short option from -i to -I, to make + it unique across dpkg and dpkg-deb (-i still works with + dpkg-deb for backwards compatibility). + + * Produce more sensible error when main package list is empty. + + -- Ian Jackson Fri, 7 Apr 1995 02:24:55 +0100 + +dpkg (0.93.36) BETA; priority=LOW (MEDIUM for dselect users) + + * All the C code (including dselect) updated to support `provides' + (virtual packages). + * Revamped dselect's related package selection/deselection + algorithms. + * Everything can now handle arbitrary `class' values (as well + as the predefined ones which we understand and can interpret). + * Fixed bug that prevented display update when moving down a small + recursive package list in dselect. + * Column heading characters corrected from `SHOC' to `HSOC'. + + -- Ian Jackson Thu, 6 Apr 1995 12:48:13 +0100 + +dpkg (0.93.35) BETA; priority=MEDIUM + + * Preserve ownerships and permissions on configuration files. + * Fix bug in conffile updating that could leave a hardlink + .dpkg-new to the conffile . + + * Improved dselect's package list help messages. + * Highlight now moves on after (de)selecting just one package. + * Better algorithm for scrolling up/down when moving highlight. + * Fixed bug in display of `preformatted' extended Description lines. + (dselect is still ALPHA, but is fairly stable.) + + * Improved dpkg's message when configuring a package that doesn't + exist, and when selecting or skipping a package that isn't + currently selected (during unpack processing). + + * Description in control file expanded. + + * Scroll back to top when changing what is in the `info' area. + +dpkg (0.93.34) BETA; priority=LOW (HIGH for dselect users) + + * dselect: Fixed bug which caused a coredump if you exited the + package list if you'd made any changes. Ouch ! + + * dselect: Improved selection algorithm to show fewer extraneous + packages; improved display for unavailable packages. + + * dpkg: Improved progress messages during unpacking somewhat. + +dpkg (0.93.33) BETA; priority=LOW (HIGH for dselect users) + + * dselect now has a main menu. + + * Fixed nasty uninitialized data bug in dselect. + + * dselect now locks and unlocks the packages database. + +Mon, 27 Mar 1995 03:30:51 BST Ian Jackson + + * dpkg (0.93.32): Alpha dselect released and installed in + /usr/sbin/dselect. + * dpkg (0.93.32): Many portability enhancements: should now + compile using GCC 2.6.3, and dpkg-deb should + compile better on non-Linux systems. + * dpkg (0.93.32): dpkg will not loop if its stdin disappears + and it needs to prompt. + * dpkg (0.93.32): Fixed removal dependency error to show + correct package (Bug #648). + * dpkg (0.93.32): Tidied up copyright notices. + * dpkg (0.93.32): First draft of update-rc.d manpage, not yet + installed in /usr/man. + * dpkg (0.93.32): Changes to top-level Makefile.in to improve + error trapping. + * dpkg (0.93.32): Improved Makefile `clean' and `distclean' + targets. + * dpkg (0.93.32): Deleted irrelevant `t.c' from lib and + dselect directories. + * dpkg (0.93.32): Added vercmp.c with version comparison code. + * dpkg (0.93.32): varbufextend message changed - varbufs not + just for input buffers. + * dpkg (0.93.32): varbuf has C++ member functions in header + #ifdef __cplusplus. + +Changes in dpkg 0.93.31: + +* start-stop-daemon --pidfile now works (Bug#571). +* Fixed dependency processing bugs which could require a rerun of + dpkg --configure (Bug#566). +* Fixed garbage output for `language' of control file in dpkg-deb --info. + +Changes in dpkg 0.93.30: + +* Added /usr/sbin/start-stop-daemon. + +Changes in dpkg 0.93.09: + +* Made postinst scripts really be run when dpkg --purge used. +* Added new --force-extractfail option - VERY DANGEROUS. + +Changes in dpkg 0.93.28: + +* Removed undef of 0x_p21 in read_database_file, which caused the + the whole status database to become trashed when any update files + were read. +* Make infinite-loop prevention and cycle detection work. +* Made findbreakcycle work (ie, break properly when cycle detected). +* New script, update-rc.d, to update links /etc/rc?.d/[KS]??*. +* dpkg.pl now sets the umask to 022. +* Cosmetic error message fix to dpkg-deb. +* Deleted OLD directory altogether. +* Improved error-trapping in top-level Makefile loops. + +Changes in dpkg 0.93.27: + +* Make version number specifications in Depends &c work. +* Added AC_PROG_CXX to autoconf.in for dselect. +* Changed myopt.h not to have cipaction field in cmdinfo (this was + specially for dpkg-deb) - now we have a generic void*. +* Renamed `class' member of `pkginfoperfile' to `clas' [sic]. +* Much work in `dselect' subdirectory. +* Deleted executables, objects and libraries from OLD tree ! +* Minor changes to various copyright notices and top-of-file comments. +* Don't install nasty Perl dselectish thing as /usr/bin/dselect. + +Changes in dpkg 0.93.26: + +* Added --no-also-select instead of not auto-selecting on --unpack + but doing so on --install; removed --force-unpack-any. + +Changes in dpkg 0.93.25: + +* Fixed duplicate output (failure to flush before fork) bug. +* More clarification of md5sum.c copyright. +* Corrected typo in ChangeLog in 0.93.24 source package. + +Changes in dpkg 0.93.24: + +* dpkg could copy conffiles info from one package to another. Aargh. + Bug #426. +* dpkg failed to initialise status if you tried to remove or + configure a nonexistent package. Bug #419. +* install-info now handles START-INFO-DIR-ENTRY entries like: + * Gdb:: The GNU debugger. + Previously it would only accept (Bug #407): + * Gdb: (gdb). The GNU debugger. +* When installing a new foo.info[.gz], install-info now replaces + * Foo: (foo.info). The Gnoo Foo. + as well as just * Foo: (foo). ... +* Moved option parsing out of dpkg-deb into libdpkg. +* Assorted minor source code rearrangements. +* Fixed assorted copyright notices, clarified md5sum copyright. +* Corrected typo in 0.93.23 source package's ChangeLog. + +Changes in dpkg 0.93.23: + +* `dpkg-deb' --build now does a syntax check on the control file. +* `dselect' is now no longer called `debian', spurious copy removed + from package top-level source directory. +* C control information parsing complete and somewhat tested. +* Moved `global' include files into $(srcdir)/include from ../lib, + added some files to the lib Makefile, and arranged for pop_cleanup(). + +Changes in dpkg 0.93.22: + +* Fixed bug which caused dpkg to see failures of md5sum where there + were none (would also have caused dpkg to miss a real failure). +* Fixed failure to update some `status' database fields. + +Changes in dpkg 0.93.21: + +* Fixed error-handling bug which could corrupt database. + +Changes in dpkg 0.93.20: + +* Fixed bug which ran old (/var/adm/dpkg) postinst scripts. +* Fixed dpkg usage message which claimed -i => both --install & --info. +* Use Colin Plumb's MD5 code - faster, and better copyright. +* Manpages: dpkg-deb(8), deb-control(5), deb(5) - thanks to Raul + Deluth Miller. Also, an xfig picture of some C program innards. + +Changes in dpkg 0.93.19: + +* Don't delete the `list' file from the dpkg database. +* Fixed various bugs in the conffile handling. +* Conffiles that are symlinks will now be treated as if the + `dereferenced' name of the file was listed in conffiles. This means + that /etc/foo -> /usr/etc/foo will cause all conffile updates of + /etc/foo to create /usr/etc/foo.dpkg-tmp &c instead. However, the + link will be removed if --purge is used to delete all the conffiles. +* When doing a new installation, or when updating a conffile that + wasn't listed as a conffile in the old version of the package, don't + do any prompting but just install the version from the archive. +* Corrected error message if exec of dpkg --vextract failed + and --instroot or --root specified. +* Added new --force-unpack-any option. +* Extra newline after --status output. +* Added -W options to CFLAGS. +* Fixed mistake in previous ChangeLog entry. + +Changes in dpkg 0.93.18: + +* Fixed invocation of dpkg-deb --vextract if --root or --instdir + not specified. +* Create /var/lib/dpkg/updates. + +Changes in dpkg 0.93.17: + +* install-info --remove exits with status 0 if it doesn't find the + thing to remove, instead of status 1. +* Error handling functions have __attribute__((format...)) if GCC. +* push_cleanup its arg takes void **argv instead of char **argv. +* Top-level Makefile.in has set -e before `for' loops. +* dpkg-deb --info not-an-existing-file produces fewer error messages. + +Changes in dpkg 0.93.16: + +* Made --root= option really extract to $instroot instead of `/'. +* install-info clears the 0444 bits in its umask. +* Fixed a few database handling bugs which cause dpkg always to fail, + and usually to corrupt the status database in various ways. +* dpkg-deb completely rewritten, now doesn't tinker with + /var/{adm,lib}/dpkg. Should be faster. +* Directory structure and Makefiles in source package reorganised. + +Changes in dpkg 0.93.15: + +* Added `debian' (dselect), still very primitive. +* Database format changed, and moved from /var/adm to /var/lib. +* Added dpkg --avail mode, --list, --status and --search. +* Set of dpkg => dpkg-deb pass-through operations changed (but + dpkg-deb not yet updated). +* Added --root, --admindir and --instdir, as well as --isok &c. +* Moved much stuff into /usr/lib/dpkg-lib.pl, rewritten status + database handling. +* Put packages in `purge' state even if `deinstall' requested if + they have no postrm and no conffiles. +* Version number comparisons fixed. +* insert-version.pl now installs lib.pl filename too. +* Strip trailing slashes when reading files from file lists. + +Changes in dpkg 0.93.14: + +* Fixed parsing of DEPENDS &c fields with trailing whitespace. +* postinst now fixes up broken ispell.control file. +* Cyclic dependency/multiple package removal processing: don't consider + packages we've just removed when looking for a reason not to go ahead. +* Added call to postinst with `purge' argument for expunging old + configuration etc. that aren't listed in conffiles. + +Changes in dpkg 0.93.13: + +* sub S_ISREG defined in dpkg.pl. +* Checking of DEPENDS &c fields was too lax, causing an internal error + if you fed it certain kinds of broken control file. +* Fixed misleading message from bogus installationstatus call. +* New -u and -U options to dpkg-deb which don't unpack the /DEBIAN + directory, and use these in dpkg.pl; clean up /DEBIAN in postinst. + +Changes in dpkg 0.93.12: + +* No longer needs *.ph files, since these appear to be broken. +* Postinst fixes up *.control files with curly brackets. +* embryo of dselect. + +Changes in dpkg 0.93.11: + +* New --ignore-depends option. +* This ChangeLog changed format here. + +Wed Nov 30 15:38:21 GMT 1994 Ian Jackson + + * dpkg 0.93.11 released. + + * conffile updating fixed. + + * Message `upgrade' in dpkg changed to `replace'. + + * install-info now copes with multi-line entries. + + * version numbers now done automatically in dpkg and install-info. + + * more debugging around conffiles updates. + + * *.hash files not deleted so soon. + + * adds brand new packages to status array so we can install them. + + * postinst does h2ph for {sys,linux}/{stat,types}.ph if required. + +Mon Nov 28 02:00:13 GMT 1994 Ian Jackson + + * dpkg 0.93.10 released. + + * dpkg.pl completely rewritten. + + * dpkg-deb: removed dabase-processing and --install option. + + * Makefiles reworked, debian.rules added. + + * Don't install anything in /usr/doc/examples. + + * dpkg-*.deb contains /usr/bin/dpkg-deb.dist, fixed up by postinst. + +Thu Oct 20 13:22:20 1994 Ian Murdock (imurdock@debra.debian.org) + + * dpkg 0.93.9 released. + + * dpkg.pl: Use $argument, not $package, with `--build'. + Make sure that saved postinst scripts are executable. + +Tue Oct 18 09:40:57 1994 Ian Murdock (imurdock@debra.debian.org) + + * dpkg 0.93.8 released. + + * deb/remove.c (pkg_remove): Do not report an error from rmdir () + when `errno' is ENOTEMPTY (Directory not empty), because in this + case we have found the highest-level directory in the package and + are ready to exit the loop (i.e., it is a normal occurrence). + +Mon Oct 17 10:44:32 1994 Ian Murdock (imurdock@debra.debian.org) + + * Makefile.in: Adapted all Makefiles to the GNU Coding Standards. + + * deb/remove.c (pkg_remove): Make sure that parent directories are + removed LAST! This will result in complete removal of packages + when --remove is called. dpkg 0.93.7 (and earlier) had problems + with this because it tried to remove directories in order, which + will work most of the time, but not necessarily all of the time. + + * deb/list.c (pkg_list): Output is sorted by package name. + +Tue Oct 4 12:27:10 1994 Ian Murdock (imurdock@debra.debian.org) + + * deb/contents.c (pkg_contents): When a list file cannot be + opened, silently fail and let the front-end explain the problem. + + * deb/util.c (return_info): When a control file cannot be opened, + silently fail and let the front-end explain the problem. + + * deb/search.c (pkg_search): Exit 0 if the regular expression is + matched and 1 if it is not. + +Mon Oct 3 18:38:53 1994 Ian Murdock (imurdock@debra.debian.org) + + * dpkg.pl: New file. Replaces dpkg.sh. + + * deb/Makefile.in: Renamed `dpkg-util.deb' to `dpkg-deb'. + + * deb/build.c (pkg_build): `--build' is less verbose, instead + letting the front-end add verbosity where appropriate. + + * deb/install.c (pkg_install): Ditto. + + * deb/remove.c (pkg_remove): Ditto. + + * deb/search.c (pkg_search): Ditto. + + * deb/describe.c (pkg_describe): `--describe' is less verbose, + instead letting the front-end add verbosity where appropriate. + The ``Description:'' label has been removed. + + * deb/version.c (pkg_version): `--version' is less verbose, + instead letting the front-end add verbosity where appropriate. + The ``Version:'' label has been removed, as has the maintainer + information. + +Mon Sep 12 14:22:04 1994 Ian Murdock (imurdock@debra.debian.org) + + * deb/version.c (pkg_version): `--version' now reports the + version number of dpkg if no argument is specified. + +Thu Sep 1 13:31:37 1994 Ian Murdock (imurdock@debra.debian.org) + + * dpkg 0.93.7 released. + + * deb/build.c (pkg_build): check status and exit if non-zero. + + * deb/contents.c (pkg_contents): ditto. + + * deb/install.c (archive_extract): ditto. + +Thu Sep 1 13:20:08 1994 Ian Murdock (imurdock@debra.debian.org) + + * deb/version.c (pkg_version): indent to the same point as + pkg_describe. + +Thu Sep 1 12:21:11 1994 Ian Murdock (imurdock@debra.debian.org) + + * Makefile.in (dist): added debian.rules binary, source and + dist targets to make final distribution easier to make. + (install): install programs to /usr/bin. + + * deb/Makefile.in (install): install programs to /usr/bin. + + * deb/list.c (pkg_list): enforce a maximum limit of ten characters + for the package name in the output. + (pkg_list): left-justify the version number to make it easier for + the front-end to parse the output. + (pkg_list): replace first '\n' character in packages[n].description + with '\0'. + + * deb/install.c (archive_extract): use the `p' option to `tar' to + ensure that permissions are preserved. + +Sat Aug 27 09:53:37 1994 Ian Murdock (imurdock@debra.debian.org) + + * dpkg 0.93.6 released. + + * deb/util.c (return_info): only unlink CONTROL if ARCHIVE_FLAG is + true! + +Fri Aug 26 15:38:22 1994 Ian Murdock (imurdock@debra.debian.org) + + * dpkg 0.93.5 released. + + * deb/contents.c (pkg_contents): merged function archive_contents + into function pkg_contents. + + * deb/contents.c (pkg_contents): use lstat (rather than stat) so + that symbolic links are recognized. + (pkg_contents): print the usual ` -> ' now that we + recognize symbolic links. + + * deb/util.c (return_info): create a FIFO to pipe the needed + information to the ``formatter'' rather than creating a directory + in /tmp for the package information, which is what we used to do. + +Thu Aug 25 11:46:27 1994 Ian Murdock (imurdock@debra.debian.org) + + * lib/fake-ls.c (mk_date_string): return a pointer to malloc'ed + area. + (mk_mode_string): ditto. + + * dpkg.sh: make sure the control information is extracted to a + uniquely-named temporary directory during package installation. + + * dpkg.sh: execute the pre- and post-removal scripts during + package removal. + + * dpkg.sh: exit immediately if dpkg-util.deb reports failure. + + * deb/install.c (pkg_control): make sure that `package' exists and + is a Debian archive before doing anything. + + * deb/install.c (pkg_extract): make sure that `package' exists and + is a Debian archive before doing anything. + + * deb/install.c (pkg_install): unlink `extract_output' when done. + + * deb/remove.c (pkg_remove): use lstat (rather than stat) so that + --remove does not get confused and think that a symbolic link to a + directory is actually a directory, which results in the symbolic + link never being removed at all. + +ChangeLog begins Thu Aug 25 11:46:27 1994 for dpkg 0.93.5. + +dpkg (1.2.8); priority=LOW + * dpkg --record-avail puts data in Size field. + * strip / for rmdir(2) in cleanup to work around kernel bug. (Bug#3275.) + * dpkg-split --msdos no longer allows `-' and other chars in filenames. + * manual dpkg-split(8) written. + * dpkg-split minor typo in --auto usage error message fixed. + * dpkg-deb(8) very minor cosmetic fix to --build option. + -- Ian Jackson Tue, 25 Jun 1996 03:00:14 +0100 + +dpkg (1.2.7); priority=LOW + * dpkg-scanpackages syntax errors fixed. + -- Ian Jackson Fri, 21 Jun 1996 04:10:38 +0100 + +dpkg (1.2.6); priority=MEDIUM + * NFS, CDROM and partition dselect methods include mountpoint + in paths given to dpkg in [I]install, so they should now work. + * Removed some leftover files from source tree. + -- Ian Jackson Wed, 12 Jun 1996 14:35:19 +0100 + +dpkg (1.2.5); priority=MEDIUM + * Allow, but do not create, packages in half-installed state + with no version number. (Aargh.) + -- Ian Jackson Mon, 10 Jun 1996 04:55:43 +0100 + +dpkg (1.2.4); priority=MEDIUM + * New dpkg-name from Erick (__.deb convention). + * Disappeared packages can't own conffiles any more ! (Bug#3214.) + * install-info creates Miscellaneous sections with a newline + following the heading. (Bug#3218.) + * cleanup-info script installed in /usr/sbin; called as appropriate + by postinst. Thanks to Kim-Minh Kaplan. (Bug#3125.) + * Allow superseded Essential packages to be purged after they've + been removed (clear the Essential flag on removal, and ignore it + on packages that are in stat_configfiles). + * dselect disk methods understand `y' as well as `yes' for using + development tree. + * dselect doesn't make packages appear as `new' again if update + of available packages fails. + * dselect places method selection cursor over option last selected. + * dpkg-scanpackages doesn't die when repeated packages are found. + * dpkg-scanpackages allows many old maintainers (`//'-separated). + * `Version' field is now mandatory (some operations already + wouldn't work right anyway if it wasn't there). + * update-rc.d(8) now says you must remove the script. (Bug#3215.) + * dpkg --force-help says that --force-overwrite is on by default. + * dpkg-deb manpage rewritten. + * debian.README (= /usr/doc/copyright/dpkg) edited slightly. + * Some database parsing grunge removed (pdb_preferversion, &c). + * Source tree doc/sgml contains some embryonic manuals. + * Leftover files in lib directory in source tree deleted. + -- Ian Jackson Mon, 10 Jun 1996 03:52:01 +0100 + +dpkg (1.2.3); priority=HIGH + * install-info doesn't replicate section headings (Bug#3125, #2973). + * New dpkg-name manpage broken off from script (oops!). + * dselect help screens made consistent with new strings, flags, &c. + * dselect error flag column labelled E (Error), not H (Hold). + * `Escape' no longer bound to `exit list without saving' in dselect. + -- Ian Jackson Tue, 28 May 1996 02:14:57 +0100 + +dpkg (1.2.2); priority=MEDIUM + * Fixed dselect coredump found by Erick Branderhorst (thanks). + * Sort obsolete removed packages separately, not under Available. + -- Ian Jackson Thu, 23 May 1996 21:31:05 +0100 + +dpkg (1.2.1); priority=MEDIUM + * `=' key in dselect really does `hold' rather than `unhold'. + * dselect dependency processing now interacts better with `hold'. + * dselect `I' key (not `i') modifies display of the info window. + * dselect shows unavailable packages as being unavailable. + * dselect main menu headings and many other strings changed to try to + discourage people from deselecting every package and using [R]emove. + Notably, `select' changed to `mark' throughout. + * dselect disk methods now print a few fewer double slashes. + * dselect disk access methods will offer to use dpkg --record-avail + to scan the available packages, if no Packages file is found. + * New dpkg --compare-versions option, for the benefit of scripts &c. + * New dpkg --clear-avail option forgets all available packages info. + * New dpkg --print-avail option, prints `available' data (from Packages, &c). + * dpkg usage message is more informative, but no longer fits on screen. + * dpkg --avail option renamed --record-avail. + * Latest dpkg-name from Erick Branderhorst. + * dpkg-scanpackages has more sensible problem reporting. + * postinst configure now gets null argument (not or ) + when there is no previously configured version. + * Guidelines say that postinst configure is given previous version. + * Guidelines don't refer to maintainer-script-args.txt in main text. + * Guidelines (Texinfo source) uploaded separately. + * Own version of strcpy (used for debugging) removed. + * Interface to access methods document in source (doc/dselect-methods.txt). + * debian.buildscript moves changes file into parent directory. + -- Ian Jackson Wed, 22 May 1996 01:26:31 +0100 + +dpkg (1.2.0); priority=MEDIUM + * dselect can sort packages by available and installed states, and + display their version numbers. (Use O, o and V.) + * Hold is properly integrated as a real `wanted state', rather than + a separate flag. + * Epochs in version numbers implemented, using the syntax + :-. (Epoch not usually displayed.) + * dselect disk method is architecture-independent (uses dpkg's + installation architecture, and looks in the right part of the tree). + * dselect disk method doesn't try to satisfy the predependencies of + packages which are on hold. + * Fixed conflict-related assertion failure. (Bug#2784.) + * conffiles do not cause file conflicts if the conflicting package + is in the `configuration only' state. (Bug#2720.) + * Fixed messages where available version number was reported as installed + version in conflict and dependency messages. (Bug#2654, Bug#2974.) + * New format .deb files are default even for a.out compiles (but + a.out version of dpkg is in old format). + * Characters @:= (at colon equals) in package names now strictly + forbidden everywhere (_ is still allowed in existing packages). + * New dpkg --print-installation-architecture option prints installation + architecture (compiled in), rather than build architecture (determined + from gcc -print-libgcc-file-name). + * Version messages show whether compiled a.out or ELF (i386 only). + * Fixed missing space in version syntax error messages. + * Manpage dpkg.8 installed with warning about inaccuracy. + * Guidelines don't say to stop and restart daemons in runlevels 2345; + instead they say to start in 2345 and stop in 016. + * Guidelines and version messages say just Debian Linux. + * Guidelines typo fix for '"stop"'. (Bug#2867.) + * doc/Makefile.in clean properly deletes various guidelines.info* files. + -- Ian Jackson Thu, 16 May 1996 00:01:21 +0100 + +dpkg (1.1.6); priority=MEDIUM + * Check virtual dependencies when removing (ouch! - thanks SDE.) + * Fixed bug in internal database validity management that could + make dselect and dpkg dump core. (Bug#2613.) + * Fixed two coredumping bugs when using local diversions. (Bug#2804.) + * Fixed disappearance of overwritten packages. (Bug#2696.) + * install-info won't modify dir file before start of menu. + * install-info will create Miscellaneous heading if no sections yet. + * Only alphanums and +-. allowed in package names - enforced by + dpkg-deb --build and documented in Guidelines. + * dselect doesn't display packages unless they are installed, selected + or available. + * dselect doesn't show spurious section and priority headings. + * dselect has a few extra keybindings (from Lee Olds). + * --force message changed to `--force enabled' so that default is OK. + * dpkg-name now includes architecture component in .deb filename, + and translates - in package name to _. + * .deb file has architecture component in filename. + * Guidelines changed to say Pre-Depends is for experts only. + * Guidelines say to provide a unidiff (-u) rather than an old context diff. + * Guidelines say 755 root.root for shared libraries. + -- Ian Jackson Wed, 1 May 1996 00:47:22 +0100 + +dpkg (1.1.5); priority=MEDIUM (HIGH for diversions users) + * Fixed coredump when using diversions. (Bug#2603.) + * Fixed typo in dpkg-divert which could lose diversions. (Bug#2662.) + * --force-overwrite is the default. + * diversions.text provides better examples. + -- Ian Jackson Wed, 10 Apr 1996 13:59:30 +0100 + +dpkg (1.1.4); priority=MEDIUM + * Allow overwriting of conflicting packages being removed. (Bug#2614.) + * a.out control file says Pre-Depends: libc4 | libc. (Bug#2640.) + * ELF control file and libc dependencies changed to use finalised scheme. + * ELF control file and libc dependencies for i386 only. (Bug#2617.) + * Guidelines say use only released libraries and compilers. + * Install wishlist as /usr/doc/dpkg/WISHLIST. + * Remove spurious entries for Guidelines in info dir file. * dpkg-deb --build checks permissions on control (DEBIAN) directory. * Spaces in control file fields not copied by dpkg-split. (Bug#2633.) * Spaces in split file part control data ignore. (Bug#2633.) @@ -19665,3 +20984,4 @@ link never being removed at all. ChangeLog begins Thu Aug 25 11:46:27 1994 for dpkg 0.93.5. + diff -Nru dpkg-1.21.22ubuntu1/debian/control dpkg-1.22.0ubuntu1/debian/control --- dpkg-1.21.22ubuntu1/debian/control 2023-05-17 05:14:10.000000000 +0000 +++ dpkg-1.22.0ubuntu1/debian/control 2023-08-30 17:09:03.000000000 +0000 @@ -11,7 +11,7 @@ Build-Depends: debhelper-compat (= 13), debhelper (>= 13.10~), - pkgconf | pkg-config, + pkgconf, # Version needed for ITS support. gettext (>= 0.19.7), # Version needed for --porefs defaults, conditional addenda and mode=eof. @@ -139,6 +139,9 @@ # Uses required SOP feautres, w/o requiring a hard dependency on pgpainless. pgpainless-cli (<< 1.3.13~), libsop-java-java (<< 4.0.7~), +Provides: + dpkg-build-api (= 0), + dpkg-build-api (= 1), Description: Debian package development tools This package provides the development tools (including dpkg-source) required to unpack, build and upload Debian source packages. diff -Nru dpkg-1.21.22ubuntu1/debian/copyright dpkg-1.22.0ubuntu1/debian/copyright --- dpkg-1.21.22ubuntu1/debian/copyright 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/debian/copyright 2023-08-27 01:28:04.000000000 +0000 @@ -13,6 +13,7 @@ Copyright © 1996 Klee Dienes Copyright © 1996 Kim-Minh Kaplan Copyright © 1996-1998 Miquel van Smoorenburg + Copyright © 1996 Andy Guy Copyright © 1997-1998 Charles Briscoe-Smith Copyright © 1997-1998 Juho Vuori Copyright © 1998 Koichi Sekido @@ -26,17 +27,16 @@ Copyright © 1999 Richard Kettlewell Copyright © 1999-2001 Marcus Brinkmann Copyright © 1999-2002 Wichert Akkerman - Copyright © 2001, 2007, 2010 Joey Hess - Copyright © 2004-2005, 2007-2008, 2010 Canonical Ltd. + Copyright © 1999-2001, 2005-2016 Raphaël Hertzog + Copyright © 2000-2001, 2007, 2010 Joey Hess + Copyright © 2004-2005, 2007-2010 Canonical Ltd. Copyright © 2004-2005 Scott James Remnant Copyright © 2006-2008 Frank Lichtenheld Copyright © 2006-2023 Guillem Jover - Copyright © 2007-2012, 2014, 2016 Raphaël Hertzog - Copyright © 2007 Nicolas François + Copyright © 2006-2007 Nicolas François Copyright © 2007 Don Armstrong Copyright © 2007 Colin Watson Copyright © 2007, 2008 Tollef Fog Heen - Copyright © 2007-2010 Canonical Ltd. Copyright © 2008 James Westby Copyright © 2008 Zack Weinberg Copyright © 2008 Pierre Habouzit @@ -64,22 +64,6 @@ License: GPL-2+ Files: - dselect/methods/Dselect/Ftp.pm - dselect/methods/ftp/* -Copyright: - Copyright © 1996 Andy Guy - Copyright © 1998 Martin Schulze - Copyright © 1999-2001, 2005-2006, 2009 Raphaël Hertzog -License: GPL-2 - -Files: - scripts/Dpkg/Gettext.pm -Copyright: - Copyright © 2000 Joey Hess - Copyright © 2007-2022 Guillem Jover -License: BSD-2-clause - -Files: utils/start-stop-daemon.c Copyright: Copyright © 1999 Marek Michalkiewicz @@ -128,38 +112,3 @@ On Debian systems, the complete text of the GNU General Public License can be found in ‘/usr/share/common-licenses/GPL-2’ or in the dpkg source as the file ‘COPYING’. - -License: GPL-2 - This is free software; you can redistribute it and/or modify - it under the terms of version 2 of the GNU General Public - License version 2 as published by the Free Software Foundation. - . - This is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - . - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -License: BSD-2-clause - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - . - THIS SOFTWARE IS PROVIDED BY AUTHORS AND CONTRIBUTORS ``AS IS'' AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE - FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - SUCH DAMAGE. diff -Nru dpkg-1.21.22ubuntu1/debian/dpkg-dev.install dpkg-1.22.0ubuntu1/debian/dpkg-dev.install --- dpkg-1.21.22ubuntu1/debian/dpkg-dev.install 2023-04-28 10:58:05.000000000 +0000 +++ dpkg-1.22.0ubuntu1/debian/dpkg-dev.install 2023-08-30 03:26:31.000000000 +0000 @@ -2,6 +2,7 @@ debian/shlibs.override etc/dpkg usr/bin/dpkg-architecture +usr/bin/dpkg-buildapi usr/bin/dpkg-buildflags usr/bin/dpkg-buildpackage usr/bin/dpkg-checkbuilddeps diff -Nru dpkg-1.21.22ubuntu1/debian/dpkg-dev.manpages dpkg-1.22.0ubuntu1/debian/dpkg-dev.manpages --- dpkg-1.21.22ubuntu1/debian/dpkg-dev.manpages 2023-03-27 00:41:09.000000000 +0000 +++ dpkg-1.22.0ubuntu1/debian/dpkg-dev.manpages 2023-08-30 03:26:31.000000000 +0000 @@ -25,6 +25,8 @@ usr/share/man/{*,*/*}/deb.5 usr/share/man/{*,*/*}/deb822.5 usr/share/man/{*,*/*}/dpkg-architecture.1 +usr/share/man/{*,*/*}/dpkg-build-api.7 +usr/share/man/{*,*/*}/dpkg-buildapi.1 usr/share/man/{*,*/*}/dpkg-buildflags.1 usr/share/man/{*,*/*}/dpkg-buildpackage.1 usr/share/man/{*,*/*}/dpkg-checkbuilddeps.1 diff -Nru dpkg-1.21.22ubuntu1/debian/dpkg.dpkg-db-backup.timer dpkg-1.22.0ubuntu1/debian/dpkg.dpkg-db-backup.timer --- dpkg-1.21.22ubuntu1/debian/dpkg.dpkg-db-backup.timer 2023-03-27 00:41:09.000000000 +0000 +++ dpkg-1.22.0ubuntu1/debian/dpkg.dpkg-db-backup.timer 2023-08-30 03:26:31.000000000 +0000 @@ -4,6 +4,7 @@ [Timer] OnCalendar=daily +Persistent=true [Install] WantedBy=timers.target diff -Nru dpkg-1.21.22ubuntu1/debian/dpkg.install dpkg-1.22.0ubuntu1/debian/dpkg.install --- dpkg-1.21.22ubuntu1/debian/dpkg.install 2023-05-17 05:14:10.000000000 +0000 +++ dpkg-1.22.0ubuntu1/debian/dpkg.install 2023-08-30 17:09:03.000000000 +0000 @@ -14,6 +14,7 @@ usr/bin/dpkg-trigger usr/bin/update-alternatives usr/lib/dpkg/dpkg-db-backup usr/libexec/dpkg/ +usr/lib/dpkg/dpkg-db-keeper usr/libexec/dpkg/ usr/share/dpkg/*table usr/share/dpkg/sh/dpkg-error.sh usr/share/lintian/profiles diff -Nru dpkg-1.21.22ubuntu1/debian/dpkg.postinst dpkg-1.22.0ubuntu1/debian/dpkg.postinst --- dpkg-1.21.22ubuntu1/debian/dpkg.postinst 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/debian/dpkg.postinst 2023-08-27 01:28:04.000000000 +0000 @@ -51,55 +51,8 @@ done } -# Version 1.21.0 had bogus handling of DPKG_ADMINDIR in update-alternatives, -# and misplaced them, fix them up. -fixup_misplaced_alternatives() -( - admindir=${DPKG_ADMINDIR:-/var/lib/dpkg} - - cd "$admindir" - - for file in *; do - if ! [ -f "$file" ]; then - # Ignore anything that is not a file. - continue - fi - - # Check whether this is a known file we do not want to act on. - case "$file" in - arch|\ - available|available-old|\ - cmethopt|methlock|\ - diversions|diversions-old|\ - lock|lock-frontend|\ - statoverride|statoverride-old|\ - status|status-old) - # Ignore known files just to make sure. - continue - ;; - *) - esac - - # Check whether the file looks like an alternative state file. - mode="$(head -1 "$file")" - case "$mode" in - auto|manual) - # Looks like a state file, we will handle this one. - echo "Moving misplaced alternative state file $admindir/$file..." - mv "$file" "alternatives/$file" - ;; - *) - warning "unknown dpkg database file $admindir/$file is not a misplaced alternative state... leaving as is" - continue - ;; - esac - done -) - case "$1" in configure) - fixup_misplaced_alternatives - check_merged_usr_via_aliased_dirs ;; abort-upgrade|abort-deconfigure|abort-remove) diff -Nru dpkg-1.21.22ubuntu1/debian/dselect.postrm dpkg-1.22.0ubuntu1/debian/dselect.postrm --- dpkg-1.21.22ubuntu1/debian/dselect.postrm 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/debian/dselect.postrm 2023-08-27 01:28:04.000000000 +0000 @@ -8,7 +8,7 @@ admindir=${DPKG_ADMINDIR:-/var/lib/dpkg} rm -f $admindir/cmethopt 2>/dev/null - for method in disk ftp mnt media; do + for method in file ftp mnt media; do rm -rf $admindir/methods/$method/* 2>/dev/null done } diff -Nru dpkg-1.21.22ubuntu1/debian/dselect.preinst dpkg-1.22.0ubuntu1/debian/dselect.preinst --- dpkg-1.21.22ubuntu1/debian/dselect.preinst 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/debian/dselect.preinst 1970-01-01 00:00:00.000000000 +0000 @@ -1,50 +0,0 @@ -#!/bin/sh -# See deb-preinst(5). - -set -e - -: "${DPKG_ADMINDIR:=/var/lib/dpkg}" - -# Rename state directories to match renamed method names. -rename_method_state_dir() { - methodoldname="$1" - methodoldopt="$2" - methodnewname="$3" - methodnewopt="$4" - methodsdir="$DPKG_ADMINDIR/methods" - - if [ -d "$methodsdir/$methodoldname" ]; then - if [ -e "$methodsdir/$methodnewname" ]; then - rm -rf "$methodsdir/$methodoldname" - else - if [ -e "$methodsdir/$methodoldname/shvar.$methodoldopt" ]; then - cp -a "$methodsdir/$methodoldname/shvar.$methodoldopt" \ - "$methodsdir/$methodoldname/shvar.$methodnewopt" - fi - mv "$methodsdir/$methodoldname" "$methodsdir/$methodnewname" - rm -f "$methodsdir/$methodnewname/shvar.$methodoldopt" - fi - # Update the currently selected method and option if needed. - sed -i -e "s/^$methodoldname $methodoldopt/$methodnewname $methodnewopt/" \ - "$DPKG_ADMINDIR/cmethopt" - fi -} - -case "$1" in -install|upgrade) - if [ -n "$2" ]; then - rename_method_state_dir disk mounted file file - rename_method_state_dir multicd multi_cd media media - fi - ;; -abort-upgrade) - ;; -*) - echo "$0 called with unknown argument '$1'" 1>&2 - exit 1 - ;; -esac - -#DEBHELPER# - -exit 0 diff -Nru dpkg-1.21.22ubuntu1/debian/dselect.prerm dpkg-1.22.0ubuntu1/debian/dselect.prerm --- dpkg-1.21.22ubuntu1/debian/dselect.prerm 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/debian/dselect.prerm 1970-01-01 00:00:00.000000000 +0000 @@ -1,51 +0,0 @@ -#!/bin/sh -# See deb-prerm(5). - -set -e - -: "${DPKG_ADMINDIR:=/var/lib/dpkg}" - -# Rename state directories to match renamed method names. -rename_method_state_dir() { - methodoldname="$1" - methodoldopt="$2" - methodnewname="$3" - methodnewopt="$4" - methodsdir="$DPKG_ADMINDIR/methods" - - if [ -d "$methodsdir/$methodoldname" ]; then - if [ -e "$methodsdir/$methodnewname" ]; then - rm -rf "$methodsdir/$methodoldname" - else - if [ -e "$methodsdir/$methodoldname/shvar.$methodoldopt" ]; then - cp -a "$methodsdir/$methodoldname/shvar.$methodoldopt" \ - "$methodsdir/$methodoldname/shvar.$methodnewopt" - fi - mv "$methodsdir/$methodoldname" "$methodsdir/$methodnewname" - rm -f "$methodsdir/$methodnewname/shvar.$methodoldopt" - fi - # Update the currently selected method and option if needed. - sed -i -e "s/^$methodoldname $methodoldopt/$methodnewname $methodnewopt/" \ - "$DPKG_ADMINDIR/cmethopt" - fi -} - -case "$1" in -upgrade) - if dpkg --compare-versions "$2" lt 1.21.3; then - # Downgrade - rename_method_state_dir file file disk mounted - rename_method_state_dir media media multicd multi_cd - fi - ;; -deconfigure|remove|failed-upgrade) - ;; -*) - echo "$0 called with unknown argument '$1'" 1>&2 - exit 1 - ;; -esac - -#DEBHELPER# - -exit 0 diff -Nru dpkg-1.21.22ubuntu1/debian/README.bug-usertags dpkg-1.22.0ubuntu1/debian/README.bug-usertags --- dpkg-1.21.22ubuntu1/debian/README.bug-usertags 2023-05-10 19:19:02.000000000 +0000 +++ dpkg-1.22.0ubuntu1/debian/README.bug-usertags 2023-08-30 03:26:31.000000000 +0000 @@ -49,6 +49,7 @@ dpkg dpkg-architecture +dpkg-buildapi dpkg-buildflags dpkg-buildpackage dpkg-checkbuilddeps @@ -115,6 +116,7 @@ + start-stop-daemon [tag=s-s-d] + libdpkg [package=libdpkg-dev] + dpkg-architecture [tag=dpkg-architecture] + + dpkg-buildapi [tag=dpkg-buildapi] + dpkg-buildflags [tag=dpkg-buildflags] + dpkg-buildpackage [tag=dpkg-buildpackage] + dpkg-checkbuilddeps [tag=dpkg-checkbuilddeps] diff -Nru dpkg-1.21.22ubuntu1/debian/rules dpkg-1.22.0ubuntu1/debian/rules --- dpkg-1.21.22ubuntu1/debian/rules 2023-05-17 05:14:10.000000000 +0000 +++ dpkg-1.22.0ubuntu1/debian/rules 2023-08-30 17:09:03.000000000 +0000 @@ -66,7 +66,7 @@ dh_auto_test -- $(testflags) override_dh_installsystemd: - dh_installsystemd -a --name=dpkg-db-backup + dh_installsystemd -a --name=dpkg-db-backup --no-start execute_after_dh_installlogrotate: dh_installlogrotate --name=alternatives diff -Nru dpkg-1.21.22ubuntu1/debian/tests/control dpkg-1.22.0ubuntu1/debian/tests/control --- dpkg-1.21.22ubuntu1/debian/tests/control 2023-05-10 19:19:02.000000000 +0000 +++ dpkg-1.22.0ubuntu1/debian/tests/control 2023-08-27 01:28:04.000000000 +0000 @@ -1,15 +1,42 @@ -Tests: test-not-root -Depends: build-essential, autoconf, pkg-config, libmd-dev, file -Restrictions: superficial skippable +Tests: + test-not-root +Depends: + build-essential, + autoconf, + pkgconf, + libmd-dev, + file, +Restrictions: + superficial + skippable -Tests: test-root -Depends: build-essential, autoconf, pkg-config, libmd-dev, file -Restrictions: superficial needs-root breaks-testbed +Tests: + test-root +Depends: + build-essential, + autoconf, + pkgconf, + libmd-dev, + file +Restrictions: + superficial + needs-root + breaks-testbed -Tests: test-func -Depends: @, eatmydata -Restrictions: allow-stderr +Tests: + test-func +Depends: + @, + eatmydata, +Restrictions: + allow-stderr -Tests: test-func-root -Depends: @, eatmydata -Restrictions: allow-stderr needs-root breaks-testbed +Tests: + test-func-root +Depends: + @, + eatmydata, +Restrictions: + allow-stderr + needs-root + breaks-testbed diff -Nru dpkg-1.21.22ubuntu1/.dist-version dpkg-1.22.0ubuntu1/.dist-version --- dpkg-1.21.22ubuntu1/.dist-version 2023-05-11 02:04:01.000000000 +0000 +++ dpkg-1.22.0ubuntu1/.dist-version 2023-08-30 03:39:24.000000000 +0000 @@ -1 +1 @@ -1.21.22 +1.22.0 diff -Nru dpkg-1.21.22ubuntu1/doc/coding-style.txt dpkg-1.22.0ubuntu1/doc/coding-style.txt --- dpkg-1.21.22ubuntu1/doc/coding-style.txt 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/doc/coding-style.txt 2023-08-27 01:28:04.000000000 +0000 @@ -71,31 +71,24 @@ Dpkg C/C++ coding style 2016-01-29 ======================= -C language extensions -~~~~~~~~~~~~~~~~~~~~~ +Standards +~~~~~~~~~ -The code base assumes C89 plus the following C99 extensions: +The C code base assumes C99, except for the following features: - * Designated initializers. - * Compound literals. - * Trailing comma in enum. - * Variadic macros. - * Working bool type in . - * Working %j and %z printf modifiers. - * Magic __func__ variable. + - Variable length arrays. + - Mixed declaration and code. -Those are checked at build time, and it will abort in case a needed extension -is not supported. +The C++ code base assumes C++03, plus the following C++11 extension: -C++ language extensions -~~~~~~~~~~~~~~~~~~~~~~~ + + Null pointer keyword (nullptr). -The code base assumes C++03 plus the following C++11 extension: +The code base assumes a POSIX.1-2008 compatible environment. - * Null pointer keyword (nullptr). - -This is checked at build time, and it will use compatibility code in case the -needed extension is not supported. +The required features are checked at build time, and it will either use +compatibility code in case the needed extensions are not supported and it +is possible to support them, otherwise it will abort in case a needed one +cannot be used. General ~~~~~~~ @@ -290,6 +283,13 @@ Dpkg Perl coding style 2019-03-27 ====================== +Perl version +~~~~~~~~~~~~ + +We don't want to impose a too-recent Perl version, so only use features +supported by the Perl version that is currently in Debian oldstable when +possible. Currently that means Perl 5.32.1. + General ~~~~~~~ @@ -321,13 +321,6 @@ } } -Perl version -~~~~~~~~~~~~ - -We don't want to impose a too-recent Perl version, so only use features -supported by the Perl version that is currently in Debian oldstable when -possible. Currently that means Perl 5.28.1. - Object methods ~~~~~~~~~~~~~~ diff -Nru dpkg-1.21.22ubuntu1/doc/spec/frontend-api.txt dpkg-1.22.0ubuntu1/doc/spec/frontend-api.txt --- dpkg-1.21.22ubuntu1/doc/spec/frontend-api.txt 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/doc/spec/frontend-api.txt 2023-08-27 01:28:04.000000000 +0000 @@ -1,6 +1,12 @@ Frontend Interfaces =================== +Status: recommendation, stable + + +Overview +-------- + This file will try to document some of the interfaces that dpkg makes available to frontends or that expects them to use, which are currently not covered by any other type of documentation. diff -Nru dpkg-1.21.22ubuntu1/doc/spec/rootless-builds.txt dpkg-1.22.0ubuntu1/doc/spec/rootless-builds.txt --- dpkg-1.21.22ubuntu1/doc/spec/rootless-builds.txt 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/doc/spec/rootless-builds.txt 2023-08-27 01:28:04.000000000 +0000 @@ -127,7 +127,7 @@ Common cases ------------ - * Upstream installation insists on "sudo make install"-like behaviour. + * Upstream installation insists on "sudo make install"-like behavior. => Use dpkg/target-subcommand or debhelper/upstream-make-install. * Files shipped in the package must be owned by another user than root. diff -Nru dpkg-1.21.22ubuntu1/doc/spec/triggers.txt dpkg-1.22.0ubuntu1/doc/spec/triggers.txt --- dpkg-1.21.22ubuntu1/doc/spec/triggers.txt 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/doc/spec/triggers.txt 2023-08-27 01:28:04.000000000 +0000 @@ -1,6 +1,8 @@ -TRIGGERS +Triggers ======== +Status: recommendation, stable + Introduction ------------ @@ -33,7 +35,7 @@ A trigger is always activated by a particular package. -Trigger names contain only printing 7-bit ascii characters (no +Trigger names contain only printing 7-bit ASCII characters (no whitespace). Each trigger kind has a distinct subset of the trigger name space so that the kind can be determined from the name. After we run out of straightforward syntaxes, we will use :
. @@ -318,7 +320,7 @@ See dpkg(1). -Here is a summary of the behaviours: +Here is a summary of the behaviors: Command line Trigproc Trigproc Configure these any triggered @@ -389,7 +391,7 @@ whole package, or failures of other addons, are not acceptable. dpkg cannot ensure that triggers are run in a timely enough manner for -pathological error behaviours to be tolerable. +pathological error behaviors to be tolerable. Where a trigger script finds bad data provided by a triggering @@ -441,7 +443,7 @@ scrollkeeper-rebuilddb -q fi - and to retain this behaviour, something along the following lines + and to retain this behavior, something along the following lines would be sensible: if [ "$1" = "configure" ]; then diff -Nru dpkg-1.21.22ubuntu1/dselect/baselist.cc dpkg-1.22.0ubuntu1/dselect/baselist.cc --- dpkg-1.21.22ubuntu1/dselect/baselist.cc 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/baselist.cc 2023-08-27 01:28:04.000000000 +0000 @@ -133,7 +133,7 @@ printf("allocing\n"); for (i = 1; i < numscreenparts; i++) { if (init_pair(i, color[i].fore, color[i].back) != OK) - ohshite(_("failed to allocate colour pair")); + ohshite(_("cannot allocate color pair")); part_attr[i] = COLOR_PAIR(i) | color[i].attr; } } else { diff -Nru dpkg-1.21.22ubuntu1/dselect/dselect.h dpkg-1.22.0ubuntu1/dselect/dselect.h --- dpkg-1.21.22ubuntu1/dselect/dselect.h 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/dselect.h 2023-07-10 11:38:10.000000000 +0000 @@ -63,8 +63,8 @@ }; struct column { - column(): title(nullptr), x(0), width(0) {}; - void blank() { title = nullptr; x = 0; width = 0; }; + column(): title(nullptr), x(0), width(0) {} + void blank() { title = nullptr; x = 0; width = 0; } const char *title; int x; diff -Nru dpkg-1.21.22ubuntu1/dselect/main.cc dpkg-1.22.0ubuntu1/dselect/main.cc --- dpkg-1.21.22ubuntu1/dselect/main.cc 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/main.cc 2023-08-27 01:28:04.000000000 +0000 @@ -71,7 +71,7 @@ const int num; }; -static const struct table_t colourtable[]= { +static const struct table_t colortable[] = { {"black", COLOR_BLACK }, {"red", COLOR_RED }, {"green", COLOR_GREEN }, @@ -113,7 +113,7 @@ {nullptr, 0}, }; -/* Historical (patriotic?) colours. */ +/* Original colors. */ struct colordata color[]= { /* fore back attr */ {COLOR_WHITE, COLOR_BLACK, 0 }, // default, not used @@ -207,8 +207,8 @@ fputs("\n", stdout); printf(_(" is:")); - for (i=0; colourtable[i].name; i++) - printf(" %s", colourtable[i].name); + for (i = 0; colortable[i].name; i++) + printf(" %s", colortable[i].name); fputs("\n", stdout); printf(_(" is:")); @@ -267,38 +267,42 @@ set_color(const struct cmdinfo*, const char *string) { char *s; - char *colours, *attributes, *attrib, *colourname; - int screenpart, aval; + char *colors, *attributes; + int screenpart; s = m_strdup(string); // strtok modifies strings, keep string const screenpart= findintable(screenparttable, strtok(s, ":"), _("screen part")); - colours = strtok(nullptr, ":"); + colors = strtok(nullptr, ":"); attributes = strtok(nullptr, ":"); - if ((colours == nullptr || ! strlen(colours)) && + if ((colors == nullptr || ! strlen(colors)) && (attributes == nullptr || ! strlen(attributes))) { - ohshit(_("null colour specification")); + ohshit(_("missing color specification")); } - if (colours != nullptr && strlen(colours)) { - colourname= strtok(colours, ","); - if (colourname != nullptr && strlen(colourname)) { + if (colors != nullptr && strlen(colors)) { + char *colorname; + + colorname = strtok(colors, ","); + if (colorname != nullptr && strlen(colorname)) { // normalize attributes to prevent confusion color[screenpart].attr= A_NORMAL; - color[screenpart].fore=findintable(colourtable, colourname, _("colour")); + color[screenpart].fore = findintable(colortable, colorname, _("color")); } - colourname = strtok(nullptr, ","); - if (colourname != nullptr && strlen(colourname)) { + colorname = strtok(nullptr, ","); + if (colorname != nullptr && strlen(colorname)) { color[screenpart].attr= A_NORMAL; - color[screenpart].back=findintable(colourtable, colourname, _("colour")); + color[screenpart].back = findintable(colortable, colorname, _("color")); } } if (attributes != nullptr && strlen(attributes)) { - for (attrib= strtok(attributes, "+"); + for (char *attrib = strtok(attributes, "+"); attrib != nullptr && strlen(attrib); attrib = strtok(nullptr, "+")) { - aval=findintable(attrtable, attrib, _("colour attribute")); + int aval; + + aval = findintable(attrtable, attrib, _("color attribute")); if (aval == A_NORMAL) // set to normal color[screenpart].attr= aval; else // add to existing attribs diff -Nru dpkg-1.21.22ubuntu1/dselect/Makefile.in dpkg-1.22.0ubuntu1/dselect/Makefile.in --- dpkg-1.21.22ubuntu1/dselect/Makefile.in 2023-05-11 02:04:01.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/Makefile.in 2023-08-30 03:39:24.000000000 +0000 @@ -373,6 +373,7 @@ POSUB = @POSUB@ PS_LIBS = @PS_LIBS@ RANLIB = @RANLIB@ +RT_LIBS = @RT_LIBS@ SED = @SED@ SELINUX_CFLAGS = @SELINUX_CFLAGS@ SELINUX_LIBS = @SELINUX_LIBS@ diff -Nru dpkg-1.21.22ubuntu1/dselect/methlist.cc dpkg-1.22.0ubuntu1/dselect/methlist.cc --- dpkg-1.21.22ubuntu1/dselect/methlist.cc 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/methlist.cc 2023-07-10 11:38:10.000000000 +0000 @@ -226,4 +226,4 @@ { 0 } }; return list; -}; +} diff -Nru dpkg-1.21.22ubuntu1/dselect/method.cc dpkg-1.22.0ubuntu1/dselect/method.cc --- dpkg-1.21.22ubuntu1/dselect/method.cc 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/method.cc 2023-07-10 11:38:10.000000000 +0000 @@ -80,14 +80,13 @@ } static enum urqresult ensureoptions(void) { - const char *const *ccpp; dselect_option *newoptions; int nread; if (!options) { newoptions = nullptr; nread= 0; - for (ccpp= methoddirectories; *ccpp; ccpp++) + for (const char *const *ccpp = methoddirectories; *ccpp; ccpp++) readmethods(*ccpp, &newoptions, &nread); if (!newoptions) { sthfailed(_("no access methods are available")); diff -Nru dpkg-1.21.22ubuntu1/dselect/methods/Dselect/Ftp.pm dpkg-1.22.0ubuntu1/dselect/methods/Dselect/Ftp.pm --- dpkg-1.21.22ubuntu1/dselect/methods/Dselect/Ftp.pm 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/methods/Dselect/Ftp.pm 1970-01-01 00:00:00.000000000 +0000 @@ -1,410 +0,0 @@ -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -package Dselect::Ftp; - -use strict; -use warnings; - -our $VERSION = '0.02'; -our @EXPORT = qw( - %CONFIG - yesno - nb - do_connect - do_mdtm - view_mirrors - add_site - edit_site - edit_config - read_config - store_config -); - -use Exporter qw(import); -use Carp; - -eval q{ - use Net::FTP; - use Data::Dumper; - - use Dpkg::File; -}; -if ($@) { - warn "Missing Dpkg modules required by the FTP access method.\n\n"; - exit 1; -} - -our %CONFIG; - -sub nb { - my $nb = shift; - if ($nb > 1024**2) { - return sprintf('%.2fM', $nb / 1024**2); - } elsif ($nb > 1024) { - return sprintf('%.2fk', $nb / 1024); - } else { - return sprintf('%.2fb', $nb); - } -} - -sub read_config { - my $vars = shift; - my ($code, $conf); - - eval { - $code = file_slurp($vars); - }; - if ($@) { - warn "$@\n"; - die "Try to relaunch the 'Access' step in dselect, thanks.\n"; - } - - my $VAR1; ## no critic (Variables::ProhibitUnusedVariables) - $conf = eval $code; - die "couldn't eval $vars content: $@\n" if ($@); - if (ref($conf) =~ /HASH/) { - foreach (keys %{$conf}) { - $CONFIG{$_} = $conf->{$_}; - } - } else { - print "Bad $vars file : removing it.\n"; - print "Please relaunch the 'Access' step in dselect. Thanks.\n"; - unlink $vars; - exit 0; - } -} - -sub store_config { - my $vars = shift; - - # Check that config is completed - return if not $CONFIG{done}; - - file_dump($vars, Dumper(\%CONFIG)); -} - -sub view_mirrors { - print <<'MIRRORS'; -Please see for a current -list of Debian mirror sites. -MIRRORS -} - -sub edit_config { - my $methdir = shift; - my $i; - - #Get a config for ftp sites - while(1) { - $i = 1; - print "\n\nList of selected ftp sites :\n"; - foreach (@{$CONFIG{site}}) { - print "$i. ftp://$_->[0]$_->[1] @{$_->[2]}\n"; - $i++; - } - print "\nEnter a command (a=add e=edit d=delete q=quit m=mirror list) \n"; - print 'eventually followed by a site number : '; - chomp($_ = ); - /q/i && last; - /a/i && add_site(); - /d\s*(\d+)/i && - do { - splice(@{$CONFIG{site}}, $1 - 1, 1) if ($1 <= @{$CONFIG{site}}); - next;}; - /e\s*(\d+)/i && - do { - edit_site($CONFIG{site}[$1 - 1]) if ($1 <= @{$CONFIG{site}}); - next; }; - /m/i && view_mirrors(); - } - - print "\n"; - $CONFIG{use_auth_proxy} = yesno($CONFIG{use_auth_proxy} ? 'y' : 'n', - 'Go through an authenticated proxy'); - - if ($CONFIG{use_auth_proxy}) { - print "\nEnter proxy hostname [$CONFIG{proxyhost}] : "; - chomp($_ = ); - $CONFIG{proxyhost} = $_ || $CONFIG{proxyhost}; - - print "\nEnter proxy log name [$CONFIG{proxylogname}] : "; - chomp($_ = ); - $CONFIG{proxylogname} = $_ || $CONFIG{proxylogname}; - - print "\nEnter proxy password [$CONFIG{proxypassword}] : "; - chomp ($_ = ); - $CONFIG{proxypassword} = $_ || $CONFIG{proxypassword}; - } - - print "\nEnter directory to download binary package files to\n"; - print "(relative to $methdir)\n"; - while(1) { - print "[$CONFIG{dldir}] : "; - chomp($_ = ); - s{/$}{}; - $CONFIG{dldir} = $_ if ($_); - last if -d "$methdir/$CONFIG{dldir}"; - print "$methdir/$CONFIG{dldir} is not a directory !\n"; - } -} - -sub add_site { - my $pas = 1; - my $user = 'anonymous'; - my $email = qx(whoami); - chomp $email; - $email .= '@' . qx(cat /etc/mailname || dnsdomainname); - chomp $email; - my $dir = '/debian'; - - push (@{$CONFIG{site}}, [ '', $dir, [ 'dists/stable/main', - 'dists/stable/contrib', - 'dists/stable/non-free' ], - $pas, $user, $email ]); - edit_site($CONFIG{site}[@{$CONFIG{site}} - 1]); -} - -sub edit_site { - my $site = shift; - - local($_); - - print "\nEnter ftp site [$site->[0]] : "; - chomp($_ = ); - $site->[0] = $_ || $site->[0]; - - print "\nUse passive mode [" . ($site->[3] ? 'y' : 'n') . '] : '; - chomp($_ = ); - $site->[3] = (/y/i ? 1 : 0) if ($_); - - print "\nEnter username [$site->[4]] : "; - chomp($_ = ); - $site->[4] = $_ || $site->[4]; - - print <<'EOF'; - -If you're using anonymous ftp to retrieve files, enter your email -address for use as a password. Otherwise enter your password, -or "?" if you want dselect-ftp to prompt you each time. - -EOF - - print "Enter password [$site->[5]] : "; - chomp($_ = ); - $site->[5] = $_ || $site->[5]; - - print "\nEnter debian directory [$site->[1]] : "; - chomp($_ = ); - $site->[1] = $_ || $site->[1]; - - print "\nEnter space separated list of distributions to get\n"; - print "[@{$site->[2]}] : "; - chomp($_ = ); - $site->[2] = [ split(/\s+/) ] if $_; -} - -sub yesno($$) { - my ($d, $msg) = @_; - - my ($res, $r); - $r = -1; - $r = 0 if $d eq 'n'; - $r = 1 if $d eq 'y'; - croak 'incorrect usage of yesno, stopped' if $r == -1; - while (1) { - print $msg, " [$d]: "; - $res = ; - $res =~ /^[Yy]/ and return 1; - $res =~ /^[Nn]/ and return 0; - $res =~ /^[ \t]*$/ and return $r; - print "Please enter one of the letters 'y' or 'n'\n"; - } -} - -############################## - -sub do_connect { - my (%opts) = @_; - - my($rpass,$remotehost,$remoteuser,$ftp); - - TRY_CONNECT: - while(1) { - my $exit = 0; - - if ($opts{useproxy}) { - $remotehost = $opts{proxyhost}; - $remoteuser = $opts{username} . '@' . $opts{ftpsite}; - } else { - $remotehost = $opts{ftpsite}; - $remoteuser = $opts{username}; - } - print "Connecting to $opts{ftpsite}...\n"; - $ftp = Net::FTP->new($remotehost, Passive => $opts{passive}); - if(!$ftp || !$ftp->ok) { - print "Failed to connect\n"; - $exit = 1; - } - if (!$exit) { -# $ftp->debug(1); - if ($opts{useproxy}) { - print "Login on $opts{proxyhost}...\n"; - $ftp->_USER($opts{proxylogname}); - $ftp->_PASS($opts{proxypassword}); - } - print "Login as $opts{username}...\n"; - if ($opts{password} eq '?') { - print 'Enter password for ftp: '; - system('stty', '-echo'); - $rpass = ; - chomp $rpass; - print "\n"; - system('stty', 'echo'); - } else { - $rpass = $opts{password}; - } - if(!$ftp->login($remoteuser, $rpass)) - { print $ftp->message() . "\n"; $exit = 1; } - } - if (!$exit) { - print "Setting transfer mode to binary...\n"; - if(!$ftp->binary()) { print $ftp->message . "\n"; $exit = 1; } - } - if (!$exit) { - print "Cd to '$opts{ftpdir}'...\n"; - if (!$ftp->cwd($opts{ftpdir})) { - print $ftp->message . "\n"; - $exit = 1; - } - } - - if ($exit) { - if (yesno ('y', 'Retry connection at once')) { - next TRY_CONNECT; - } else { - die 'error'; - } - } - - last TRY_CONNECT; - } - -# if(!$ftp->pasv()) { print $ftp->message . "\n"; die 'error'; } - - return $ftp; -} - -############################## - -# assume server supports MDTM - will be adjusted if needed -my $has_mdtm = 1; - -my %months = ( - Jan => 0, - Feb => 1, - Mar => 2, - Apr => 3, - May => 4, - Jun => 5, - Jul => 6, - Aug => 7, - Sep => 8, - Oct => 9, - Nov => 10, - Dec => 11, -); - -my $ls_l_re = qr< - ([^ ]+\ *){5} # Perms, Links, User, Group, Size - [^ ]+ # Blanks - \ ([A-Z][a-z]{2}) # Month name (abbreviated) - \ ([0-9 ][0-9]) # Day of month - \ ([0-9 ][0-9][:0-9][0-9]{2}) # Filename ->x; - -sub do_mdtm { - my ($ftp, $file) = @_; - my ($time); - - #if ($has_mdtm) { - $time = $ftp->mdtm($file); -# my $code = $ftp->code(); -# my $message = $ftp->message(); -# print " [ $code: $message ] "; - if ($ftp->code() == 502 || # MDTM not implemented - $ftp->code() == 500) { # command not understood (SUN firewall) - $has_mdtm = 0; - } elsif (!$ftp->ok()) { - return; - } - #} - - if (! $has_mdtm) { - require Time::Local; - - my @files = $ftp->dir($file); - if (($#files == -1) || - ($ftp->code == 550)) { # No such file or directory - return; - } - -# my $code = $ftp->code(); -# my $message = $ftp->message(); -# print " [ $code: $message ] "; - -# print "[$#files]"; - - # get the date components from the output of 'ls -l' - if ($files[0] =~ $ls_l_re) { - my($month_name, $day, $year_or_time, $month, $hours, $minutes, - $year); - - # what we can read - $month_name = $2; - $day = 0 + $3; - $year_or_time = $4; - - # translate the month name into number - $month = $months{$month_name}; - - # recognize time or year, and compute missing one - if ($year_or_time =~ /([0-9]{2}):([0-9]{2})/) { - $hours = 0 + $1; $minutes = 0 + $2; - my @this_date = gmtime(time()); - my $this_month = $this_date[4]; - my $this_year = $this_date[5]; - if ($month > $this_month) { - $year = $this_year - 1; - } else { - $year = $this_year; - } - } elsif ($year_or_time =~ / [0-9]{4}/) { - $hours = 0; $minutes = 0; - $year = $year_or_time - 1900; - } else { - die 'cannot parse year-or-time'; - } - - # build a system time - $time = Time::Local::timegm(0, $minutes, $hours, $day, $month, $year); - } else { - die 'regex match failed on LIST output'; - } - } - - return $time; -} - -1; - -__END__ diff -Nru dpkg-1.21.22ubuntu1/dselect/methods/Dselect/Method/Ftp.pm dpkg-1.22.0ubuntu1/dselect/methods/Dselect/Method/Ftp.pm --- dpkg-1.21.22ubuntu1/dselect/methods/Dselect/Method/Ftp.pm 1970-01-01 00:00:00.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/methods/Dselect/Method/Ftp.pm 2023-08-27 01:28:04.000000000 +0000 @@ -0,0 +1,232 @@ +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +=encoding utf8 + +=head1 NAME + +Dselect::Method::Ftp - dselect FTP method support + +=head1 DESCRIPTION + +This module provides support functions for the FTP method. + +B: This is a private module, its API can change at any time. + +=cut + +package Dselect::Method::Ftp 0.01; + +use strict; +use warnings; + +our @EXPORT = qw( + do_connect + do_mdtm +); + +use Exporter qw(import); +use Carp; + +eval q{ + use Net::FTP; + use Data::Dumper; +}; +if ($@) { + warn "Missing Net::FTP modules required by the FTP access method.\n\n"; + exit 1; +} + +sub do_connect { + my (%opts) = @_; + + my($rpass,$remotehost,$remoteuser,$ftp); + + TRY_CONNECT: + while(1) { + my $exit = 0; + + if ($opts{useproxy}) { + $remotehost = $opts{proxyhost}; + $remoteuser = $opts{username} . '@' . $opts{ftpsite}; + } else { + $remotehost = $opts{ftpsite}; + $remoteuser = $opts{username}; + } + print "Connecting to $opts{ftpsite}...\n"; + $ftp = Net::FTP->new($remotehost, Passive => $opts{passive}); + if(!$ftp || !$ftp->ok) { + print "Failed to connect\n"; + $exit = 1; + } + if (!$exit) { +# $ftp->debug(1); + if ($opts{useproxy}) { + print "Login on $opts{proxyhost}...\n"; + $ftp->_USER($opts{proxylogname}); + $ftp->_PASS($opts{proxypassword}); + } + print "Login as $opts{username}...\n"; + if ($opts{password} eq '?') { + print 'Enter password for ftp: '; + system('stty', '-echo'); + $rpass = ; + chomp $rpass; + print "\n"; + system('stty', 'echo'); + } else { + $rpass = $opts{password}; + } + if(!$ftp->login($remoteuser, $rpass)) + { print $ftp->message() . "\n"; $exit = 1; } + } + if (!$exit) { + print "Setting transfer mode to binary...\n"; + if(!$ftp->binary()) { print $ftp->message . "\n"; $exit = 1; } + } + if (!$exit) { + print "Cd to '$opts{ftpdir}'...\n"; + if (!$ftp->cwd($opts{ftpdir})) { + print $ftp->message . "\n"; + $exit = 1; + } + } + + if ($exit) { + if (yesno ('y', 'Retry connection at once')) { + next TRY_CONNECT; + } else { + die 'error'; + } + } + + last TRY_CONNECT; + } + +# if(!$ftp->pasv()) { print $ftp->message . "\n"; die 'error'; } + + return $ftp; +} + +############################## + +# assume server supports MDTM - will be adjusted if needed +my $has_mdtm = 1; + +my %months = ( + Jan => 0, + Feb => 1, + Mar => 2, + Apr => 3, + May => 4, + Jun => 5, + Jul => 6, + Aug => 7, + Sep => 8, + Oct => 9, + Nov => 10, + Dec => 11, +); + +my $ls_l_re = qr< + ([^ ]+\ *){5} # Perms, Links, User, Group, Size + [^ ]+ # Blanks + \ ([A-Z][a-z]{2}) # Month name (abbreviated) + \ ([0-9 ][0-9]) # Day of month + \ ([0-9 ][0-9][:0-9][0-9]{2}) # Filename +>x; + +sub do_mdtm { + my ($ftp, $file) = @_; + my ($time); + + #if ($has_mdtm) { + $time = $ftp->mdtm($file); +# my $code = $ftp->code(); +# my $message = $ftp->message(); +# print " [ $code: $message ] "; + if ($ftp->code() == 502 || # MDTM not implemented + $ftp->code() == 500) { # command not understood (SUN firewall) + $has_mdtm = 0; + } elsif (!$ftp->ok()) { + return; + } + #} + + if (! $has_mdtm) { + require Time::Local; + + my @files = $ftp->dir($file); + if (($#files == -1) || + ($ftp->code == 550)) { # No such file or directory + return; + } + +# my $code = $ftp->code(); +# my $message = $ftp->message(); +# print " [ $code: $message ] "; + +# print "[$#files]"; + + # get the date components from the output of 'ls -l' + if ($files[0] =~ $ls_l_re) { + my($month_name, $day, $year_or_time, $month, $hours, $minutes, + $year); + + # what we can read + $month_name = $2; + $day = 0 + $3; + $year_or_time = $4; + + # translate the month name into number + $month = $months{$month_name}; + + # recognize time or year, and compute missing one + if ($year_or_time =~ /([0-9]{2}):([0-9]{2})/) { + $hours = 0 + $1; $minutes = 0 + $2; + my @this_date = gmtime(time()); + my $this_month = $this_date[4]; + my $this_year = $this_date[5]; + if ($month > $this_month) { + $year = $this_year - 1; + } else { + $year = $this_year; + } + } elsif ($year_or_time =~ / [0-9]{4}/) { + $hours = 0; $minutes = 0; + $year = $year_or_time - 1900; + } else { + die 'cannot parse year-or-time'; + } + + # build a system time + $time = Time::Local::timegm(0, $minutes, $hours, $day, $month, $year); + } else { + die 'regex match failed on LIST output'; + } + } + + return $time; +} + +=head1 CHANGES + +=head2 Version 0.xx + +This is a private module. + +=cut + +1; + +__END__ diff -Nru dpkg-1.21.22ubuntu1/dselect/methods/Dselect/Method.pm dpkg-1.22.0ubuntu1/dselect/methods/Dselect/Method.pm --- dpkg-1.21.22ubuntu1/dselect/methods/Dselect/Method.pm 1970-01-01 00:00:00.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/methods/Dselect/Method.pm 2023-08-27 01:28:04.000000000 +0000 @@ -0,0 +1,267 @@ +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +=encoding utf8 + +=head1 NAME + +Dselect::Method - dselect method support + +=head1 DESCRIPTION + +This module provides support functions to implement methods. + +B: This is a private module, its API can change at any time. + +=cut + +package Dselect::Method 0.01; + +use strict; +use warnings; + +our @EXPORT = qw( + %CONFIG + yesno + nb + view_mirrors + add_site + edit_site + edit_config + read_config + store_config +); + +use Exporter qw(import); +use Carp; + +eval q{ + use Data::Dumper; + + use Dpkg::File; +}; +if ($@) { + warn "Missing Dpkg modules required by the access method.\n\n"; + exit 1; +} + +our %CONFIG; + +sub yesno($$) { + my ($d, $msg) = @_; + + my ($res, $r); + $r = -1; + $r = 0 if $d eq 'n'; + $r = 1 if $d eq 'y'; + croak 'incorrect usage of yesno, stopped' if $r == -1; + while (1) { + print $msg, " [$d]: "; + $res = ; + $res =~ /^[Yy]/ and return 1; + $res =~ /^[Nn]/ and return 0; + $res =~ /^[ \t]*$/ and return $r; + print "Please enter one of the letters 'y' or 'n'\n"; + } +} + +sub nb { + my $nb = shift; + + if ($nb > 1024 ** 2) { + return sprintf '%.2fM', $nb / 1024 ** 2; + } elsif ($nb > 1024) { + return sprintf '%.2fk', $nb / 1024; + } else { + return sprintf '%.2fb', $nb; + } +} + +sub read_config { + my $vars = shift; + my ($code, $conf); + + eval { + $code = file_slurp($vars); + }; + if ($@) { + warn "$@\n"; + die "Try to relaunch the 'Access' step in dselect, thanks.\n"; + } + + my $VAR1; ## no critic (Variables::ProhibitUnusedVariables) + $conf = eval $code; + die "couldn't eval $vars content: $@\n" if $@; + if (ref($conf) =~ /HASH/) { + foreach (keys %{$conf}) { + $CONFIG{$_} = $conf->{$_}; + } + } else { + print "Bad $vars file : removing it.\n"; + print "Please relaunch the 'Access' step in dselect. Thanks.\n"; + unlink $vars; + exit 0; + } +} + +sub store_config { + my $vars = shift; + + # Check that config is completed + return if not $CONFIG{done}; + + file_dump($vars, Dumper(\%CONFIG)); +} + +sub view_mirrors { + print <<'MIRRORS'; +Please see for a current +list of Debian mirror sites. +MIRRORS +} + +sub edit_config { + my ($method, $methdir) = @_; + my $i; + + # Get a config for the sites + while (1) { + $i = 1; + print "\n\nList of selected $method sites :\n"; + foreach (@{$CONFIG{site}}) { + print "$i. $method://$_->[0]$_->[1] @{$_->[2]}\n"; + $i++; + } + print "\nEnter a command (a=add e=edit d=delete q=quit m=mirror list) \n"; + print 'eventually followed by a site number : '; + chomp($_ = ); + /q/i && last; + /a/i && add_site($method); + /d\s*(\d+)/i && do { + splice(@{$CONFIG{site}}, $1 - 1, 1) if $1 <= @{$CONFIG{site}}; + next; + }; + /e\s*(\d+)/i && do { + edit_site($method, $CONFIG{site}[$1 - 1]) if $1 <= @{$CONFIG{site}}; + next; + }; + /m/i && view_mirrors(); + } + + print "\n"; + $CONFIG{use_auth_proxy} = yesno($CONFIG{use_auth_proxy} ? 'y' : 'n', + 'Go through an authenticated proxy'); + + if ($CONFIG{use_auth_proxy}) { + print "\nEnter proxy hostname [$CONFIG{proxyhost}] : "; + chomp($_ = ); + $CONFIG{proxyhost} = $_ || $CONFIG{proxyhost}; + + print "\nEnter proxy log name [$CONFIG{proxylogname}] : "; + chomp($_ = ); + $CONFIG{proxylogname} = $_ || $CONFIG{proxylogname}; + + print "\nEnter proxy password [$CONFIG{proxypassword}] : "; + chomp($_ = ); + $CONFIG{proxypassword} = $_ || $CONFIG{proxypassword}; + } + + print "\nEnter directory to download binary package files to\n"; + print "(relative to $methdir)\n"; + while (1) { + print "[$CONFIG{dldir}] : "; + chomp($_ = ); + s{/$}{}; + $CONFIG{dldir} = $_ if $_; + last if -d "$methdir/$CONFIG{dldir}"; + print "$methdir/$CONFIG{dldir} is not a directory !\n"; + } +} + +sub add_site { + my $method = shift; + + my $pas = 1; + my $user = 'anonymous'; + my $email = qx(whoami); + chomp $email; + $email .= '@' . qx(cat /etc/mailname || dnsdomainname); + chomp $email; + my $dir = '/debian'; + + push @{$CONFIG{site}}, [ + '', + $dir, + [ + 'dists/stable/main', + 'dists/stable/contrib', + 'dists/stable/non-free-firmware', + 'dists/stable/non-free', + ], + $pas, + $user, + $email, + ]; + edit_site($method, $CONFIG{site}[@{$CONFIG{site}} - 1]); +} + +sub edit_site { + my ($method, $site) = @_; + + local $_; + + print "\nEnter $method site [$site->[0]] : "; + chomp($_ = ); + $site->[0] = $_ || $site->[0]; + + print "\nUse passive mode [" . ($site->[3] ? 'y' : 'n') . '] : '; + chomp($_ = ); + $site->[3] = (/y/i ? 1 : 0) if $_; + + print "\nEnter username [$site->[4]] : "; + chomp($_ = ); + $site->[4] = $_ || $site->[4]; + + print <<"EOF"; + +If you are using anonymous $method to retrieve files, enter your email +address for use as a password. Otherwise enter your password, +or "?" if you want the $method method to prompt you each time. + +EOF + + print "Enter password [$site->[5]] : "; + chomp($_ = ); + $site->[5] = $_ || $site->[5]; + + print "\nEnter debian directory [$site->[1]] : "; + chomp($_ = ); + $site->[1] = $_ || $site->[1]; + + print "\nEnter space separated list of distributions to get\n"; + print "[@{$site->[2]}] : "; + chomp($_ = ); + $site->[2] = [ split(/\s+/) ] if $_; +} + +=head1 CHANGES + +=head2 Version 0.xx + +This is a private module. + +=cut + +1; + +__END__ diff -Nru dpkg-1.21.22ubuntu1/dselect/methods/file/desc.file dpkg-1.22.0ubuntu1/dselect/methods/file/desc.file --- dpkg-1.21.22ubuntu1/dselect/methods/file/desc.file 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/methods/file/desc.file 2023-08-27 01:28:04.000000000 +0000 @@ -2,7 +2,8 @@ The area you are installing from should contain the Packages.gz file from each distribution area being installed (usually main and optionally -contrib and non-free) as well as the corresponding binary/*/*.deb files. +contrib, non-free-firmware and non-free) as well as the corresponding +binary/*/*.deb files. The easiest way to do get this is to make a (partial) copy of the distribution site's directory hierarchy, if possible. diff -Nru dpkg-1.21.22ubuntu1/dselect/methods/file/setup.sh dpkg-1.22.0ubuntu1/dselect/methods/file/setup.sh --- dpkg-1.21.22ubuntu1/dselect/methods/file/setup.sh 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/methods/file/setup.sh 2023-08-27 01:28:04.000000000 +0000 @@ -278,6 +278,7 @@ find_area main main main "$p_main_binary" "$p_main_packages" find_area contrib ctb contrib "$p_ctb_binary" "$p_ctb_packages" +find_area non-free-firmware nff non-free-firmware "$p_nff_binary" "$p_nff_packages" find_area non-free nf non-free "$p_nf_binary" "$p_nf_packages" find_area local lcl local "$p_lcl_binary" "$p_lcl_packages" @@ -297,6 +298,8 @@ outputparam p_ctb_binary "$ctb_binary" outputparam p_nf_packages "$nf_packages" outputparam p_nf_binary "$nf_binary" +outputparam p_nff_packages "$nff_packages" +outputparam p_nff_binary "$nff_binary" outputparam p_lcl_packages "$lcl_packages" outputparam p_lcl_binary "$lcl_binary" diff -Nru dpkg-1.21.22ubuntu1/dselect/methods/file/update.sh dpkg-1.22.0ubuntu1/dselect/methods/file/update.sh --- dpkg-1.21.22ubuntu1/dselect/methods/file/update.sh 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/methods/file/update.sh 2023-08-27 01:28:04.000000000 +0000 @@ -60,7 +60,7 @@ *) packagesfile="$p_mountpoint$this_packages" case "$packagesfile" in - *.gz | *.Z | *.GZ | *.z) + *.gz) echo -n "Uncompressing $packagesfile ... " zcat <"$packagesfile" >packages-$f echo done. diff -Nru dpkg-1.21.22ubuntu1/dselect/methods/ftp/install.pl dpkg-1.22.0ubuntu1/dselect/methods/ftp/install.pl --- dpkg-1.21.22ubuntu1/dselect/methods/ftp/install.pl 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/methods/ftp/install.pl 2023-08-27 01:28:04.000000000 +0000 @@ -1,12 +1,13 @@ #!/usr/bin/perl # -# Copyright © 1996 Andy Guy +# Copyright © 1996 Andy Guy # Copyright © 1998 Martin Schulze # Copyright © 1999, 2009 Raphaël Hertzog # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -23,7 +24,6 @@ use File::Basename; eval q{ - pop @INC if $INC[-1] eq '.'; use File::Find; use Data::Dumper; @@ -34,7 +34,8 @@ exit 1; } -use Dselect::Ftp; +use Dselect::Method; +use Dselect::Method::Ftp; my $ftp; @@ -183,12 +184,12 @@ } print "\nProcessing Package files...\n"; -my ($fn, $i, $j); +my ($i, $j); $i = 0; foreach my $site (@{$CONFIG{site}}) { $j = 0; foreach my $dist (@{$site->[2]}) { - $fn = $dist; + my $fn = $dist; $fn =~ tr#/#_#; $fn = "Packages.$site->[0].$fn"; if (-f $fn) { @@ -413,6 +414,7 @@ if (yesno('y', "\nDo you want to retry downloading at once")) { # get the first $fn that foreach would give: # this is the one that got interrupted. + my $fn; MY_ITER: foreach my $ffn (keys(%downloads)) { $fn = $ffn; last MY_ITER; @@ -450,9 +452,9 @@ sub chkdeb($) { my ($fn) = @_; # check to see if it is a .deb file - if(!system("dpkg-deb --info $fn 2>&1 >/dev/null && dpkg-deb --contents $fn 2>&1 >/dev/null")) { + if (!system "dpkg-deb --info $fn >/dev/null 2>&1 && dpkg-deb --contents $fn >/dev/null 2>&1") { return 1; - } elsif(!system("dpkg-split --info $fn 2>&1 >/dev/null")) { + } elsif (!system "dpkg-split --info $fn >/dev/null 2>&1") { return 2; } return 0; diff -Nru dpkg-1.21.22ubuntu1/dselect/methods/ftp/setup.pl dpkg-1.22.0ubuntu1/dselect/methods/ftp/setup.pl --- dpkg-1.21.22ubuntu1/dselect/methods/ftp/setup.pl 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/methods/ftp/setup.pl 2023-08-27 01:28:04.000000000 +0000 @@ -1,12 +1,13 @@ #!/usr/bin/perl # -# Copyright © 1996 Andy Guy +# Copyright © 1996 Andy Guy # Copyright © 1998 Martin Schulze # Copyright © 1999, 2009 Raphaël Hertzog # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -20,8 +21,6 @@ use warnings; eval q{ - pop @INC if $INC[-1] eq '.'; - use Dpkg; # Dummy import to require the presence of Dpkg::*. }; if ($@) { @@ -29,7 +28,8 @@ exit 1; } -use Dselect::Ftp; +use Dselect::Method; +use Dselect::Method::Ftp; # deal with arguments my $vardir = $ARGV[0]; @@ -103,9 +103,9 @@ if (! $CONFIG{done}) { view_mirrors() if (yesno('y', 'Would you like to see a list of ftp mirrors')); - add_site(); + add_site('ftp'); } -edit_config($methdir); +edit_config('ftp', $methdir); my $ftp; sub download() { diff -Nru dpkg-1.21.22ubuntu1/dselect/methods/ftp/update.pl dpkg-1.22.0ubuntu1/dselect/methods/ftp/update.pl --- dpkg-1.21.22ubuntu1/dselect/methods/ftp/update.pl 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/methods/ftp/update.pl 2023-08-27 01:28:04.000000000 +0000 @@ -1,12 +1,13 @@ #!/usr/bin/perl # -# Copyright © 1996 Andy Guy +# Copyright © 1996 Andy Guy # Copyright © 1998 Martin Schulze # Copyright © 1999, 2009 Raphaël Hertzog # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -20,8 +21,6 @@ use warnings; eval q{ - pop @INC if $INC[-1] eq '.'; - use Dpkg; # Dummy import to require the presence of Dpkg::*. }; if ($@) { @@ -29,7 +28,8 @@ exit 1; } -use Dselect::Ftp; +use Dselect::Method; +use Dselect::Method::Ftp; # deal with arguments my $vardir = $ARGV[0]; diff -Nru dpkg-1.21.22ubuntu1/dselect/methods/Makefile.am dpkg-1.22.0ubuntu1/dselect/methods/Makefile.am --- dpkg-1.21.22ubuntu1/dselect/methods/Makefile.am 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/methods/Makefile.am 2023-08-27 01:28:04.000000000 +0000 @@ -25,7 +25,8 @@ perllibdir = $(PERL_LIBDIR) nobase_dist_perllib_DATA = \ - Dselect/Ftp.pm \ + Dselect/Method.pm \ + Dselect/Method/Ftp.pm \ # EOL EXTRA_DIST = \ diff -Nru dpkg-1.21.22ubuntu1/dselect/methods/Makefile.in dpkg-1.22.0ubuntu1/dselect/methods/Makefile.in --- dpkg-1.21.22ubuntu1/dselect/methods/Makefile.in 2023-05-11 02:04:01.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/methods/Makefile.in 2023-08-30 03:39:24.000000000 +0000 @@ -286,6 +286,7 @@ POSUB = @POSUB@ PS_LIBS = @PS_LIBS@ RANLIB = @RANLIB@ +RT_LIBS = @RT_LIBS@ SED = @SED@ SELINUX_CFLAGS = @SELINUX_CFLAGS@ SELINUX_LIBS = @SELINUX_LIBS@ @@ -388,7 +389,8 @@ perllibdir = $(PERL_LIBDIR) nobase_dist_perllib_DATA = \ - Dselect/Ftp.pm \ + Dselect/Method.pm \ + Dselect/Method/Ftp.pm \ # EOL EXTRA_DIST = \ diff -Nru dpkg-1.21.22ubuntu1/dselect/methods/media/install.sh dpkg-1.22.0ubuntu1/dselect/methods/media/install.sh --- dpkg-1.21.22ubuntu1/dselect/methods/media/install.sh 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/methods/media/install.sh 2023-08-27 01:28:04.000000000 +0000 @@ -30,9 +30,6 @@ true } iarch=$(dpkg --print-architecture) -ismulti() { - test -e "$1/.disk/info" || test -e "$1$2/.disk/info" -} # 1/ mountpoint # 2/ hierarchy diff -Nru dpkg-1.21.22ubuntu1/dselect/methods/media/README.media dpkg-1.22.0ubuntu1/dselect/methods/media/README.media --- dpkg-1.21.22ubuntu1/dselect/methods/media/README.media 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/methods/media/README.media 2023-08-27 01:28:04.000000000 +0000 @@ -8,10 +8,12 @@ Acquiring package data --------------------- - It is possible to access up to four binary directories within «dists/stable»: + It is possible to access the following binary directories within + «dists/stable»: . main . contrib + . non-free-firmware . non-free . local @@ -67,6 +69,7 @@ binary-amd64/Packages.cd.gz binary-amd64/net/foo.deb contrib/binary-amd64/Packages.cd.gz + non-free-firmware/binary-amd64/Packages.cd.gz non-free/binary-amd64/Packages.cd.gz Media disc 2 .disk/info = "Debian GNU/Linux contrib-amd64" @@ -74,11 +77,13 @@ contrib/binary-all/ binary-amd64/Packages.cd.gz binary-amd64/net/foo.deb + non-free-firmware/binary-amd64/Packages.cd.gz non-free/binary-amd64/Packages.cd.gz Media disc 3 .disk/info = "Debian GNU/Linux non-free-amd64" dists/stable/main/binary-amd64/Packages.cd.gz contrib/binary-amd64/Packages.cd.gz + non-free-firmware/binary-amd64/Packages.cd.gz non-free/binary-all/ binary-amd64/Packages.cd.gz binary-amd64/net/foo.deb diff -Nru dpkg-1.21.22ubuntu1/dselect/methods/media/setup.sh dpkg-1.22.0ubuntu1/dselect/methods/media/setup.sh --- dpkg-1.21.22ubuntu1/dselect/methods/media/setup.sh 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/methods/media/setup.sh 2023-08-27 01:28:04.000000000 +0000 @@ -452,6 +452,7 @@ find_area main main "$distribution" "$p_main_binary" "$p_main_packages" find_area contrib ctb "$distribution" "$p_ctb_binary" "$p_ctb_packages" +find_area non-free-firmware nff "$distribution" "$p_nff_binary" "$p_nff_packages" find_area non-free nf "$distribution" "$p_nf_binary" "$p_nf_packages" find_area local lcl local "$p_lcl_binary" "$p_lcl_packages" @@ -472,6 +473,9 @@ outputparam p_ctb_packages "$ctb_packages" outputparam p_ctb_binary "$ctb_binary" outputparam p_ctb_disk "$ctb_disk" +outputparam p_nff_packages "$nff_packages" +outputparam p_nff_binary "$nff_binary" +outputparam p_nff_disk "$nff_disk" outputparam p_nf_packages "$nf_packages" outputparam p_nf_binary "$nf_binary" outputparam p_nf_disk "$nf_disk" diff -Nru dpkg-1.21.22ubuntu1/dselect/methods/media/update.sh dpkg-1.22.0ubuntu1/dselect/methods/media/update.sh --- dpkg-1.21.22ubuntu1/dselect/methods/media/update.sh 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/methods/media/update.sh 2023-08-27 01:28:04.000000000 +0000 @@ -30,10 +30,6 @@ debug() { true } -ismulti() { - debug $1 $2 - test -e "$1/.disk/info" || test -e "$1$2/.disk/info" -} packages=0 for f in main ctb nf lcl; do @@ -99,7 +95,7 @@ *) packagesfile="$p_mountpoint$this_packages" case "$packagesfile" in - *.gz | *.Z | *.GZ | *.z) + *.gz) echo -n "Uncompressing $packagesfile ... " zcat <"$packagesfile" >packages-$f echo done. diff -Nru dpkg-1.21.22ubuntu1/dselect/methparse.cc dpkg-1.22.0ubuntu1/dselect/methparse.cc --- dpkg-1.21.22ubuntu1/dselect/methparse.cc 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/methparse.cc 2023-07-10 11:38:10.000000000 +0000 @@ -69,7 +69,7 @@ nullptr }; const char *const *ccpp; - int methodlen, c, baselen; + int methodlen, baselen; char *pathinmeth, *pathbuf, *pathmeth; DIR *dir; FILE *names, *descfile; @@ -98,7 +98,7 @@ debug(dbg_general, "readmethods('%s',...) directory open", pathbase); while ((dent = readdir(dir)) != nullptr) { - c= dent->d_name[0]; + int c = dent->d_name[0]; debug(dbg_general, "readmethods('%s',...) considering '%s' ...", pathbase, dent->d_name); if (c != '_' && !c_isalpha(c)) diff -Nru dpkg-1.21.22ubuntu1/dselect/mkcurkeys.pl dpkg-1.22.0ubuntu1/dselect/mkcurkeys.pl --- dpkg-1.21.22ubuntu1/dselect/mkcurkeys.pl 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/mkcurkeys.pl 2023-08-27 01:28:04.000000000 +0000 @@ -48,14 +48,12 @@ $let++; } -my ($k, $v); - open(my $header_fh, '<', $ARGV[1]) or die $!; while (<$header_fh>) { s/\s+$//; m/#define KEY_(\w+)\s+\d+\s+/p || next; my $rhs = ${^POSTMATCH}; - $k = "KEY_$1"; + my $k = "KEY_$1"; $base{$k} = capit($1); $rhs =~ s/(\w)[\(\)]/$1/g; $rhs =~ s/\w+ \((\w+)\)/$1/; @@ -84,8 +82,8 @@ my ($comma); for my $i (33 .. 126) { - $k = $i; - $v = pack('C', $i); + my $k = $i; + my $v = pack('C', $i); if ($v eq ',') { $comma = $k; next; } p($k, $v); } @@ -98,6 +96,7 @@ $a cmp $b } keys %base) { ## use critic + my $v; $v = $base{$k}; $v = $name{$k} if defined($name{$k}); $v = $over{$k} if defined($over{$k}); diff -Nru dpkg-1.21.22ubuntu1/dselect/pkgcmds.cc dpkg-1.22.0ubuntu1/dselect/pkgcmds.cc --- dpkg-1.21.22ubuntu1/dselect/pkgcmds.cc 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/pkgcmds.cc 2023-07-10 11:38:10.000000000 +0000 @@ -104,7 +104,7 @@ void packagelist::setwant(pkgwant nwarg) { - int index, bot; + int bot; pkgwant nw; if (modstatdb_get_status() == msdbrw_readonly) { @@ -123,7 +123,7 @@ packagelist *sub = new packagelist(bindings, nullptr); affectedrange(&top,&bot); - for (index= top; index < bot; index++) { + for (int index = top; index < bot; index++) { if (!table[index]->pkg->set->name) continue; nw= reallywant(nwarg,table[index]); @@ -135,7 +135,7 @@ } repeatedlydisplay(sub,dp_may,this); - for (index=top; index < bot; index++) + for (int index = top; index < bot; index++) redraw1item(index); } movecursorafter(bot); diff -Nru dpkg-1.21.22ubuntu1/dselect/pkgdepcon.cc dpkg-1.22.0ubuntu1/dselect/pkgdepcon.cc --- dpkg-1.21.22ubuntu1/dselect/pkgdepcon.cc 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/pkgdepcon.cc 2023-07-10 11:38:10.000000000 +0000 @@ -81,11 +81,12 @@ // Return 2 if we made a change due to a Recommended, Depends or Conflicts, // or 1 if we offered or made a change because of an Optional line. debug(dbg_general, "packagelist[%p]::resolvesuggest()", this); - int changemade, maxchangemade; - maxchangemade= 0; + int maxchangemade = 0; + for (;;) { - changemade= 0; + int changemade = 0; int index; + for (index=0; indexpkg->set->name) continue; diff -Nru dpkg-1.21.22ubuntu1/dselect/pkglist.cc dpkg-1.22.0ubuntu1/dselect/pkglist.cc --- dpkg-1.21.22ubuntu1/dselect/pkglist.cc 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/pkglist.cc 2023-07-10 11:38:10.000000000 +0000 @@ -581,7 +581,6 @@ // returns 0 if no recursive check is desired. int response, index; const keybindings::interpretation *interp; - pkginfo **retl; debug(dbg_general, "packagelist[%p]::display()", this); @@ -621,7 +620,7 @@ } if (recursive) { - retl= new pkginfo*[nitems+1]; + pkginfo **retl = new pkginfo*[nitems + 1]; for (index=0; indexpkg; retl[nitems] = nullptr; debug(dbg_general, "packagelist[%p]::display() done, retl=%p", this, retl); diff -Nru dpkg-1.21.22ubuntu1/dselect/pkgsublist.cc dpkg-1.22.0ubuntu1/dselect/pkgsublist.cc --- dpkg-1.21.22ubuntu1/dselect/pkgsublist.cc 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/pkgsublist.cc 2023-08-27 01:28:04.000000000 +0000 @@ -109,6 +109,7 @@ pkg_name(possi->up->up, pnaw_always)); // cppcheck-suppress[constVariable]: false positive, operator() modifies it. + // cppcheck-suppress[constVariableReference]: idem, new name for the same. varbuf& vb= possi->up->up->clientdata->relations; vb(possi->ed->name); vb(_(" does not appear to be available\n")); @@ -181,14 +182,14 @@ void repeatedlydisplay(packagelist *sub, showpriority initial, packagelist *unredisplay) { - pkginfo **newl; - keybindings *kb; - debug(dbg_general, "repeatedlydisplay(packagelist[%p])", sub); if (sub->resolvesuggest() != 0 && sub->deletelessimp_anyleft(initial)) { debug(dbg_general, "repeatedlydisplay(packagelist[%p]) once", sub); if (unredisplay) unredisplay->enddisplay(); for (;;) { + pkginfo **newl; + keybindings *kb; + /* Reset manual_install flag now that resolvesuggest() has seen it. */ manual_install = false; newl= sub->display(); diff -Nru dpkg-1.21.22ubuntu1/dselect/pkgtop.cc dpkg-1.22.0ubuntu1/dselect/pkgtop.cc --- dpkg-1.21.22ubuntu1/dselect/pkgtop.cc 2023-05-11 01:54:31.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/pkgtop.cc 2023-07-10 11:38:10.000000000 +0000 @@ -138,7 +138,7 @@ } void packagelist::redraw1itemsel(int index, int selected) { - int i, indent, j; + int i; const char *p; const struct pkginfo *pkg= table[index]->pkg; int screenline = index - topofscreen; @@ -242,6 +242,7 @@ pkg->installed.description ? pkg->installed.description : ""; while (i>0 && *p && *p != '\n') { waddnstr(listpad,p,1); i--; p++; } } else { + int j, indent; const char *section= pkg->section; const char *priority= pkgprioritystring(pkg); Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/bs.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/bs.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/bs.po dpkg-1.22.0ubuntu1/dselect/po/bs.po --- dpkg-1.21.22ubuntu1/dselect/po/bs.po 2023-05-11 02:03:42.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/bs.po 2023-08-30 03:38:47.000000000 +0000 @@ -1,13 +1,14 @@ -# translation of dselect to Bosnian. +# Translation of dselect to Bosnian # Copyright © 2004 Dpkg Developers # This file is distributed under the same license as the dpkg package. +# # Safir Šećerović , 2004. # msgid "" msgstr "" "Project-Id-Version: dselect 1.13\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2006-02-17 08:55+0200\n" "Last-Translator: Safir Šećerović \n" "Language-Team: Bosnian \n" @@ -51,7 +52,7 @@ msgstr "" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "" #: dselect/baselist.cc @@ -688,15 +689,17 @@ msgstr "" #: dselect/main.cc -msgid "null colour specification" +msgid "missing color specification" msgstr "" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "boja" #: dselect/main.cc -msgid "colour attribute" +msgid "color attribute" msgstr "" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/ca.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/ca.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/ca.po dpkg-1.22.0ubuntu1/dselect/po/ca.po --- dpkg-1.21.22ubuntu1/dselect/po/ca.po 2023-05-11 02:03:42.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/ca.po 2023-08-30 03:38:47.000000000 +0000 @@ -1,5 +1,7 @@ -# Catalan translation of Dselect. +# Translation of dselect to Catalan # Copyright © 2001, 2002, 2003, 2004, 2005, 2006, 2010 Software in the Public Interest, Inc. +# This file is distributed under the same license as the dpkg package. +# # Antoni Bella , 2001, 2002. # Jordi Mallach , 2002, 2003, 2004, 2005, 2006, 2010. # Guillem Jover , 2010-2022. @@ -8,7 +10,7 @@ msgstr "" "Project-Id-Version: dselect 1.21.10\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2022-12-01 12:08+0100\n" "Last-Translator: Guillem Jover \n" "Language-Team: Catalan \n" @@ -55,7 +57,9 @@ msgstr "no es pot actualitzar la pantalla després del canvi de mida" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +#, fuzzy +#| msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "no s'ha pogut assignar una parella de colors" #: dselect/baselist.cc @@ -905,15 +909,21 @@ msgstr "part de la pantalla" #: dselect/main.cc -msgid "null colour specification" +#, fuzzy +#| msgid "null colour specification" +msgid "missing color specification" msgstr "especificació de color nul·la" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "color" #: dselect/main.cc -msgid "colour attribute" +#, fuzzy +#| msgid "colour attribute" +msgid "color attribute" msgstr "atribut del color" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/cs.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/cs.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/cs.po dpkg-1.22.0ubuntu1/dselect/po/cs.po --- dpkg-1.21.22ubuntu1/dselect/po/cs.po 2023-05-11 02:03:42.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/cs.po 2023-08-30 03:38:47.000000000 +0000 @@ -1,4 +1,5 @@ -# Czech translation for dpkg. +# Translation of dselect to Czech +# This file is distributed under the same license as the dpkg package. # # Petr Cech , 1999, 2000, 2001. # Miroslav Kure , 2004-2023. @@ -10,7 +11,7 @@ msgstr "" "Project-Id-Version: dselect 1.17.0\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2023-01-26 13:52+0100\n" "Last-Translator: Miroslav Kure \n" "Language-Team: Czech \n" @@ -56,7 +57,9 @@ msgstr "nelze aktualizovat obrazovku po změně velikosti okna" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +#, fuzzy +#| msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "nepovedlo se alokovat pár barev" #: dselect/baselist.cc @@ -882,15 +885,21 @@ msgstr "část obrazovky" #: dselect/main.cc -msgid "null colour specification" +#, fuzzy +#| msgid "null colour specification" +msgid "missing color specification" msgstr "zadání prázdné barvy" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "barva" #: dselect/main.cc -msgid "colour attribute" +#, fuzzy +#| msgid "colour attribute" +msgid "color attribute" msgstr "atribut barvy" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/da.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/da.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/da.po dpkg-1.22.0ubuntu1/dselect/po/da.po --- dpkg-1.21.22ubuntu1/dselect/po/da.po 2023-05-11 02:03:43.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/da.po 2023-08-30 03:38:47.000000000 +0000 @@ -1,6 +1,7 @@ -# Danish translation dpkg_dselect. +# Translation of dselect to Danish # Copyright (C) 2012 dpkg_dselect & nedenstående oversættere. -# This file is distributed under the same license as the dpkg_dselect package. +# This file is distributed under the same license as the dpkg package. +# # Claus Hindsgaul , 2002, 2004, 2005, 2006. # reviewed by Ole Laursen , 2002. # Joe Hansen , 2012, 2014. @@ -9,7 +10,7 @@ msgstr "" "Project-Id-Version: dselect 1.17.22\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2014-11-27 02:33+0200\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" @@ -56,7 +57,9 @@ msgstr "" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +#, fuzzy +#| msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "kunne ikke frigøre farvepar" #: dselect/baselist.cc @@ -1007,15 +1010,21 @@ msgstr "skærmområde" #: dselect/main.cc -msgid "null colour specification" +#, fuzzy +#| msgid "null colour specification" +msgid "missing color specification" msgstr "null-farveangivelse" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "farve" #: dselect/main.cc -msgid "colour attribute" +#, fuzzy +#| msgid "colour attribute" +msgid "color attribute" msgstr "farveegenskab" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/de.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/de.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/de.po dpkg-1.22.0ubuntu1/dselect/po/de.po --- dpkg-1.21.22ubuntu1/dselect/po/de.po 2023-05-11 02:03:43.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/de.po 2023-08-30 03:38:47.000000000 +0000 @@ -1,17 +1,19 @@ -# Texte für Debian dpkg/dselect/po/de.po +# Translation of dselect to German # Copyright © 2000 Software in the Public Interest. +# This file is distributed under the same license as the dpkg package. +# # Hartmut Koptein , Apr 2000. # Erich Schubert , March 2001. # Michael Piefel , 2001, 2002, 2003, 2004, 2005. # Florian Ernst , 2004. -# Sven Joachim , 2006-2010, 2012, 2014-2015, 2019-2022. +# Sven Joachim , 2006-2010, 2012, 2014-2015, 2019-2023. # msgid "" msgstr "" -"Project-Id-Version: dselect 1.21.2~\n" +"Project-Id-Version: dselect 1.22.0~\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" -"PO-Revision-Date: 2022-03-13 19:12+0100\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" +"PO-Revision-Date: 2023-04-25 20:26+0200\n" "Last-Translator: Sven Joachim \n" "Language-Team: German \n" "Language: de\n" @@ -58,8 +60,8 @@ "Bildschirm kann nach Änderung der Fenstergröße nicht aktualisiert werden" #: dselect/baselist.cc -msgid "failed to allocate colour pair" -msgstr "Farbpaar konnte nicht zugewiesen werden" +msgid "cannot allocate color pair" +msgstr "Farbpaar kann nicht zugewiesen werden" #: dselect/baselist.cc msgid "failed to create title window" @@ -927,15 +929,15 @@ msgstr "Bildschirmelement" #: dselect/main.cc -msgid "null colour specification" -msgstr "Leere Farbspezifikation" +msgid "missing color specification" +msgstr "Fehlende Farbspezifikation" #: dselect/main.cc -msgid "colour" +msgid "color" msgstr "Farbe" #: dselect/main.cc -msgid "colour attribute" +msgid "color attribute" msgstr "Farbattribut" #: dselect/main.cc diff -Nru dpkg-1.21.22ubuntu1/dselect/po/dselect.pot dpkg-1.22.0ubuntu1/dselect/po/dselect.pot --- dpkg-1.21.22ubuntu1/dselect/po/dselect.pot 2023-05-11 02:03:42.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/dselect.pot 2023-08-30 03:38:47.000000000 +0000 @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: dpkg 1.21.22\n" +"Project-Id-Version: dpkg 1.22.0\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -52,7 +52,7 @@ msgstr "" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "" #: dselect/baselist.cc @@ -681,15 +681,15 @@ msgstr "" #: dselect/main.cc -msgid "null colour specification" +msgid "missing color specification" msgstr "" #: dselect/main.cc -msgid "colour" +msgid "color" msgstr "" #: dselect/main.cc -msgid "colour attribute" +msgid "color attribute" msgstr "" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/el.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/el.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/el.po dpkg-1.22.0ubuntu1/dselect/po/el.po --- dpkg-1.21.22ubuntu1/dselect/po/el.po 2023-05-11 02:03:43.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/el.po 2023-08-30 03:38:47.000000000 +0000 @@ -1,6 +1,7 @@ -# translation of dselect to Greek +# Translation of dselect to Greek # Copyright © 2003-2005 Dpkg Developers # This file is distributed under the same license as the dpkg package. +# # Konstantinos Margaritis , 2003. # George Papamichelakis , 2004. # George Papamichelakis , 2004. @@ -11,7 +12,7 @@ msgstr "" "Project-Id-Version: dselect 1.17.0\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2006-02-17 08:56+0200\n" "Last-Translator: quad-nrg.net \n" "Language-Team: Greek \n" @@ -59,7 +60,9 @@ msgstr "" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +#, fuzzy +#| msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "απέτυχε η δέσμευση ζεύγους χρωμάτων" #: dselect/baselist.cc @@ -948,15 +951,19 @@ #: dselect/main.cc #, fuzzy #| msgid "Null colour specification\n" -msgid "null colour specification" +msgid "missing color specification" msgstr "κενός χρωματικός προσδιορισμός\n" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "χρώμα" #: dselect/main.cc -msgid "colour attribute" +#, fuzzy +#| msgid "colour attribute" +msgid "color attribute" msgstr "ιδιότητα χρώματος" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/es.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/es.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/es.po dpkg-1.22.0ubuntu1/dselect/po/es.po --- dpkg-1.21.22ubuntu1/dselect/po/es.po 2023-05-11 02:03:43.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/es.po 2023-08-30 03:38:47.000000000 +0000 @@ -1,10 +1,7 @@ -# dselect messages translation for Debian -# Mensajes en español para Debian dselect. -# +# Translation of dselect to Spanish # Copyright © 1999-2010 Software in the Public Interest. # This file is distributed under the same license as the dpkg package. # -# # - Translation maintainer: # Javier Fernández-Sanguino Peña , 2000, 2010, 2014 # @@ -43,7 +40,7 @@ msgstr "" "Project-Id-Version: dselect 1.21.20\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2023-01-27 22:48+0100\n" "Last-Translator: Javier Fernández-Sanguino \n" "Language-Team: Spanish \n" @@ -102,7 +99,9 @@ "no se puede actualizar la pantalla después de cambiar el tamaño de la ventana" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +#, fuzzy +#| msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "fallo al asignar un par de colores" #: dselect/baselist.cc @@ -973,15 +972,21 @@ msgstr "parte de pantalla" #: dselect/main.cc -msgid "null colour specification" +#, fuzzy +#| msgid "null colour specification" +msgid "missing color specification" msgstr "Especificación de color nula" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "color" #: dselect/main.cc -msgid "colour attribute" +#, fuzzy +#| msgid "colour attribute" +msgid "color attribute" msgstr "atributo de color" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/et.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/et.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/et.po dpkg-1.22.0ubuntu1/dselect/po/et.po --- dpkg-1.21.22ubuntu1/dselect/po/et.po 2023-05-11 02:03:43.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/et.po 2023-08-30 03:38:48.000000000 +0000 @@ -1,16 +1,14 @@ -# dselect eesti keele tõlge. -# Estonian translation of dselect. -# +# Translation of dselect to Estonian +# Copyright (C) 2007 Free Software Foundation, Inc. # This file is distributed under the same license as the dselect package. # -# Copyright (C) 2007 Free Software Foundation, Inc. # Ivar Smolin , 2007. # msgid "" msgstr "" "Project-Id-Version: dselect 1.14.5\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2007-07-13 08:22+0300\n" "Last-Translator: Ivar Smolin \n" "Language-Team: Estonian \n" @@ -58,7 +56,9 @@ msgstr "" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +#, fuzzy +#| msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "tõrge värvustepaari eraldamisel" #: dselect/baselist.cc @@ -820,15 +820,19 @@ #: dselect/main.cc #, fuzzy #| msgid "Null colour specification\n" -msgid "null colour specification" +msgid "missing color specification" msgstr "Tühi värvusekirjeldus\n" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "värvus" #: dselect/main.cc -msgid "colour attribute" +#, fuzzy +#| msgid "colour attribute" +msgid "color attribute" msgstr "värvuse rekvisiit" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/eu.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/eu.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/eu.po dpkg-1.22.0ubuntu1/dselect/po/eu.po --- dpkg-1.21.22ubuntu1/dselect/po/eu.po 2023-05-11 02:03:43.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/eu.po 2023-08-30 03:38:48.000000000 +0000 @@ -1,3 +1,4 @@ +# Translation of dselect to Basque # Copyright © 2004-2012 Dpkg Developers # This file is distributed under the same license as the dpkg package. # @@ -8,7 +9,7 @@ msgstr "" "Project-Id-Version: dselect 1.16.8\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2012-09-01 12:21+0200\n" "Last-Translator: Iñaki Larrañaga Murgoitio \n" "Language-Team: Basque \n" @@ -58,7 +59,9 @@ msgstr "" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +#, fuzzy +#| msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "huts egin du kolore-bikotea esleitzean" #: dselect/baselist.cc @@ -1018,15 +1021,21 @@ msgstr "pantaila-zatia" #: dselect/main.cc -msgid "null colour specification" +#, fuzzy +#| msgid "null colour specification" +msgid "missing color specification" msgstr "Kolore-zehaztapen nulua" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "kolorea" #: dselect/main.cc -msgid "colour attribute" +#, fuzzy +#| msgid "colour attribute" +msgid "color attribute" msgstr "kolore-atributua" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/fr.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/fr.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/fr.po dpkg-1.22.0ubuntu1/dselect/po/fr.po --- dpkg-1.21.22ubuntu1/dselect/po/fr.po 2023-05-11 02:03:43.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/fr.po 2023-08-30 03:38:48.000000000 +0000 @@ -1,10 +1,9 @@ -# translation of dselect to French -# Messages français pour dpkg (Linux-GNU Debian). +# Translation of dselect to French # Copyright (C) 1997 Christophe Le Bars . # Copyright (C) 2000 Jérôme Marant # Copyright (C) 2000, 2001, 2002 Martin Quinson # Copyright (C) 2005-2009 Christian Perrier -# +# This file is distributed under the same license as the dpkg package. # # #######################################" # Notes de traduction @@ -50,7 +49,7 @@ msgstr "" "Project-Id-Version: dselect 1.21.20\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2023-02-05 23:47+0100\n" "Last-Translator: Sébastien Poher \n" "Language-Team: French \n" @@ -102,7 +101,9 @@ "impossible de mettre à jour l'écran après le redimensionnement de la fenêtre" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +#, fuzzy +#| msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "impossible d'allouer une paire de couleurs" #: dselect/baselist.cc @@ -974,15 +975,21 @@ msgstr "partie de l'écran" #: dselect/main.cc -msgid "null colour specification" +#, fuzzy +#| msgid "null colour specification" +msgid "missing color specification" msgstr "spécification de couleur nulle" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "couleur" #: dselect/main.cc -msgid "colour attribute" +#, fuzzy +#| msgid "colour attribute" +msgid "color attribute" msgstr "attribut de couleur" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/gl.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/gl.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/gl.po dpkg-1.22.0ubuntu1/dselect/po/gl.po --- dpkg-1.21.22ubuntu1/dselect/po/gl.po 2023-05-11 02:03:43.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/gl.po 2023-08-30 03:38:48.000000000 +0000 @@ -1,6 +1,6 @@ -# translation of dselect_gl.po to galician -# Galician translation of dpkg +# Translation of dselect to Galician # Copyright (C) 2005 Software in the Public Interest, Inc. +# This file is distributed under the same license as the dpkg package. # # Jacobo Tarrío , 2005. # Héctor Fernández López , 2000. @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: dselect 1.17.0\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2008-12-27 15:56+0100\n" "Last-Translator: mvillarino \n" "Language-Team: Galician \n" @@ -58,7 +58,9 @@ msgstr "" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +#, fuzzy +#| msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "non foi posíbel reservar un par de cores" #: dselect/baselist.cc @@ -1029,15 +1031,19 @@ #: dselect/main.cc #, fuzzy #| msgid "Null colour specification\n" -msgid "null colour specification" +msgid "missing color specification" msgstr "Especificación de cores nula\n" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "cor" #: dselect/main.cc -msgid "colour attribute" +#, fuzzy +#| msgid "colour attribute" +msgid "color attribute" msgstr "atributo de cores" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/hu.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/hu.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/hu.po dpkg-1.22.0ubuntu1/dselect/po/hu.po --- dpkg-1.21.22ubuntu1/dselect/po/hu.po 2023-05-11 02:03:43.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/hu.po 2023-08-30 03:38:48.000000000 +0000 @@ -1,8 +1,10 @@ +# Translation of dselect to Hungarian +# This file is distributed under the same license as the dpkg package. msgid "" msgstr "" "Project-Id-Version: dselect 1.17.0\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2006-10-06 03:48+0100\n" "Last-Translator: SZERVÁC Attila \n" "Language-Team: Hungarian \n" @@ -51,8 +53,10 @@ msgstr "" #: dselect/baselist.cc -msgid "failed to allocate colour pair" -msgstr "" +#, fuzzy +#| msgid "dselect - list of access methods" +msgid "cannot allocate color pair" +msgstr "dselect - elérési módok listája" #: dselect/baselist.cc msgid "failed to create title window" @@ -746,15 +750,19 @@ #: dselect/main.cc #, fuzzy #| msgid "Null colour specification\n" -msgid "null colour specification" +msgid "missing color specification" msgstr "nincs szín megadva\n" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "szín" #: dselect/main.cc -msgid "colour attribute" +#, fuzzy +#| msgid "colour attribute" +msgid "color attribute" msgstr "színattribútum" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/id.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/id.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/id.po dpkg-1.22.0ubuntu1/dselect/po/id.po --- dpkg-1.21.22ubuntu1/dselect/po/id.po 2023-05-11 02:03:43.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/id.po 2023-08-30 03:38:48.000000000 +0000 @@ -1,6 +1,7 @@ -# Indonesian messages for dpkg +# Translation of dselect to Indonesian # Copyright (C) 2003 Software in the Public Interest, Inc # This file is distributed under the same license as dpkg. +# # Debian Indonesia L10N Team , 2004. # Translator: # Arief S Fitrianto , 2005-2006 @@ -9,7 +10,7 @@ msgstr "" "Project-Id-Version: dselect 1.13\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2006-10-06 20:20+0700\n" "Last-Translator: Arief S Fitrianto \n" "Language-Team: Indonesian \n" @@ -60,7 +61,9 @@ msgstr "" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +#, fuzzy +#| msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "gagal mengalokasikan pasangan warna" #: dselect/baselist.cc @@ -999,15 +1002,19 @@ #: dselect/main.cc #, fuzzy #| msgid "Null colour specification\n" -msgid "null colour specification" +msgid "missing color specification" msgstr "tidak ada spesifikasi warna\n" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "warna" #: dselect/main.cc -msgid "colour attribute" +#, fuzzy +#| msgid "colour attribute" +msgid "color attribute" msgstr "atribut warna" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/it.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/it.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/it.po dpkg-1.22.0ubuntu1/dselect/po/it.po --- dpkg-1.21.22ubuntu1/dselect/po/it.po 2023-05-11 02:03:43.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/it.po 2023-08-30 03:38:48.000000000 +0000 @@ -1,11 +1,10 @@ -# Messaggi in Italiano per `dpkg'. +# Translation of dselect to Italian # Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. -# Lele Gaifax , 2000, 2001, 2002, 2003, 2004. +# This file is distributed under the same license as the dpkg package. # -# Stefano Canepa , 2004 only for an update because Lele was -# unreachable and translation needed to be updated +# Lele Gaifax , 2000, 2001, 2002, 2003, 2004. +# Stefano Canepa , 2004, 2005. # -# Stefano Canepa , 2005. # Convenzioni usate, per rendere più semplice la loro individuazione ed # eventuale sostituzione: # @@ -43,7 +42,7 @@ msgstr "" "Project-Id-Version: dselect 1.10.22\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2006-10-06 22:01+0200\n" "Last-Translator: Stefano Canepa \n" "Language-Team: Italian \n" @@ -89,7 +88,9 @@ msgstr "" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +#, fuzzy +#| msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "impossibile allocare le coppie di colori" #: dselect/baselist.cc @@ -1015,15 +1016,19 @@ #: dselect/main.cc #, fuzzy #| msgid "Null colour specification\n" -msgid "null colour specification" +msgid "missing color specification" msgstr "Specificato un colore nullo\n" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "colore" #: dselect/main.cc -msgid "colour attribute" +#, fuzzy +#| msgid "colour attribute" +msgid "color attribute" msgstr "attributo colore" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/ja.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/ja.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/ja.po dpkg-1.22.0ubuntu1/dselect/po/ja.po --- dpkg-1.21.22ubuntu1/dselect/po/ja.po 2023-05-11 02:03:43.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/ja.po 2023-08-30 03:38:48.000000000 +0000 @@ -1,27 +1,17 @@ -# Dpkg --- the Debian GNU/Linux package maintenance system. -# -# Copyright (C) 1994,1995,1996 Ian Jackson -# Copyright (C) 1995,1996 Erick Branderhorst -# Copyright (C) 1996 Miquel van Smoorenburg -# Copyright (C) 1996 Kim-Minh Kaplan -# Copyright (C) 1996 Michael Shields -# Copyright (C) 1995 Bruce Perens -# Copyright (C) 1994 Carl Streeter -# Copyright (C) 1994 Matt Welsh -# Copyright (C) 1994 Ian Murdock -# Parts written by Colin Plumb and Branko Lankester in 1993. -# -# dpkg 用の日本語メッセージ (Linux/GNU Debian). +# Translation of dselect to Japanese +# Copyright © 1994-2023 Dpkg Developers +# dpkg 用の日本語メッセージ. # Copyright (C) 1998 Masato Taruishi # Copyright (C) 1999-2004 Keita Maehara # Copyright (C) 2004-2014 Kenshi Muto # Copyright (C) 2016 Takuma Yamada +# This file is distributed under the same license as the dpkg package. # msgid "" msgstr "" "Project-Id-Version: dselect 1.17.22\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2016-03-31 12:44+0900\n" "Last-Translator: Takuma Yamada \n" "Language-Team: Japanese \n" @@ -69,7 +59,9 @@ msgstr "" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +#, fuzzy +#| msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "カラーペアの割り当てに失敗しました" #: dselect/baselist.cc @@ -998,15 +990,21 @@ msgstr "画面部" #: dselect/main.cc -msgid "null colour specification" +#, fuzzy +#| msgid "null colour specification" +msgid "missing color specification" msgstr "色の指定が空です" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "色" #: dselect/main.cc -msgid "colour attribute" +#, fuzzy +#| msgid "colour attribute" +msgid "color attribute" msgstr "色属性" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/ko.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/ko.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/ko.po dpkg-1.22.0ubuntu1/dselect/po/ko.po --- dpkg-1.21.22ubuntu1/dselect/po/ko.po 2023-05-11 02:03:43.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/ko.po 2023-08-30 03:38:48.000000000 +0000 @@ -1,3 +1,6 @@ +# Translation of dselect to Korean +# This file is distributed under the same license as the dpkg package. +# # Chu-yeon Park , 2001. # Eungkyu Song , 2001. # Changwoo Ryu , 2004. @@ -8,7 +11,7 @@ msgstr "" "Project-Id-Version: dselect 1.21.20\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2023-01-29 11:18+0100\n" "Last-Translator: Sangdo Jun \n" "Language-Team: Korean \n" @@ -55,7 +58,9 @@ msgstr "" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +#, fuzzy +#| msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "글자/바탕 색상 할당이 실패했습니다" #: dselect/baselist.cc @@ -787,15 +792,21 @@ msgstr "화면 구성 요소" #: dselect/main.cc -msgid "null colour specification" +#, fuzzy +#| msgid "null colour specification" +msgid "missing color specification" msgstr "색 지정이 없습니다" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "색" #: dselect/main.cc -msgid "colour attribute" +#, fuzzy +#| msgid "colour attribute" +msgid "color attribute" msgstr "색 속성" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/nb.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/nb.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/nb.po dpkg-1.22.0ubuntu1/dselect/po/nb.po --- dpkg-1.21.22ubuntu1/dselect/po/nb.po 2023-05-11 02:03:43.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/nb.po 2023-08-30 03:38:48.000000000 +0000 @@ -1,4 +1,6 @@ -# Norwegian Bokmål translation of dselect. +# Translation of dselect to Norwegian Bokmål +# This file is distributed under the same license as the dpkg package. +# # Gaute Hvoslef Kvalnes , 2003, 2004. # Håvard Korsvoll , 2003, 2004. # Bjorn Steensrud , 2004. @@ -7,7 +9,7 @@ msgstr "" "Project-Id-Version: dselect 1.17.0\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2014-12-05 13:25+0200\n" "Last-Translator: Hans Fredrik Nordhaug \n" "Language-Team: Norwegian Bokmål \n" @@ -57,7 +59,9 @@ msgstr "" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +#, fuzzy +#| msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "klarte ikke å tilordne fargepar" #: dselect/baselist.cc @@ -1009,15 +1013,21 @@ msgstr "skjermdel" #: dselect/main.cc -msgid "null colour specification" +#, fuzzy +#| msgid "null colour specification" +msgid "missing color specification" msgstr "ingen fargespesifikasjon" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "farge" #: dselect/main.cc -msgid "colour attribute" +#, fuzzy +#| msgid "colour attribute" +msgid "color attribute" msgstr "fargeattributt" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/nl.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/nl.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/nl.po dpkg-1.22.0ubuntu1/dselect/po/nl.po --- dpkg-1.21.22ubuntu1/dselect/po/nl.po 2023-05-11 02:03:43.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/nl.po 2023-08-30 03:38:48.000000000 +0000 @@ -1,6 +1,7 @@ -# Dutch translation for deselect. -# Copyright (C) 2008,2011 Dpkg Developers +# Translation of dselect to Dutch +# Copyright © 2008,2011 Dpkg Developers # This file is distributed under the same license as the dpkg package. +# # Bart Cornelis , 2008. # Jeroen Schot , 2011. # Frans Spiesschaert , 2014, 2022. @@ -9,7 +10,7 @@ msgstr "" "Project-Id-Version: dselect 1.21.7\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2022-04-09 16:01+0200\n" "Last-Translator: Frans Spiesschaert \n" "Language-Team: Debian Dutch l10n Team \n" @@ -58,7 +59,9 @@ msgstr "kan scherm niet bijwerken na wijziging venstergrootte" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +#, fuzzy +#| msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "kon kleurenpaar niet toewijzen" #: dselect/baselist.cc @@ -906,15 +909,21 @@ msgstr "schermdeel" #: dselect/main.cc -msgid "null colour specification" +#, fuzzy +#| msgid "null colour specification" +msgid "missing color specification" msgstr "blanco-kleur specificatie" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "kleur" #: dselect/main.cc -msgid "colour attribute" +#, fuzzy +#| msgid "colour attribute" +msgid "color attribute" msgstr "kleurattribuut" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/nn.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/nn.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/nn.po dpkg-1.22.0ubuntu1/dselect/po/nn.po --- dpkg-1.21.22ubuntu1/dselect/po/nn.po 2023-05-11 02:03:43.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/nn.po 2023-08-30 03:38:48.000000000 +0000 @@ -1,16 +1,13 @@ -# translation of debconf_nn.po to Norwegian nynorsk -# translation of dpkg_nn.po to Norwegian (Nynorsk) -# translation of nn.po to Norwegian nynorsk -# translation of dpkg.po to Norwegian nynorsk -# translation of nn.po to Norwegian Nynorsk -# translation of dpkg.po to Norwegian Nynorsk +# Translation of dselect to Norwegian Nynorsk +# This file is distributed under the same license as the dpkg package. +# # Gaute Hvoslef Kvalnes , 2003, 2004. # Håvard Korsvoll , 2003, 2004, 2005. msgid "" msgstr "" "Project-Id-Version: dselect 1.17.0\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2006-02-17 08:57+0200\n" "Last-Translator: Håvard Korsvoll \n" "Language-Team: Norwegian Nynorsk \n" @@ -60,7 +57,9 @@ msgstr "" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +#, fuzzy +#| msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "klarte ikkje tilordna fargepar" #: dselect/baselist.cc @@ -922,15 +921,19 @@ #: dselect/main.cc #, fuzzy #| msgid "Null colour specification\n" -msgid "null colour specification" +msgid "missing color specification" msgstr "Ingen fargespesifikasjon\n" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "farge" #: dselect/main.cc -msgid "colour attribute" +#, fuzzy +#| msgid "colour attribute" +msgid "color attribute" msgstr "fargeattributt" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/pl.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/pl.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/pl.po dpkg-1.22.0ubuntu1/dselect/po/pl.po --- dpkg-1.21.22ubuntu1/dselect/po/pl.po 2023-05-11 02:03:43.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/pl.po 2023-08-30 03:38:48.000000000 +0000 @@ -1,5 +1,6 @@ -# Polish translation of dselect +# Translation of dselect to Polish # Copyright (C) 1999 Software in the Public Interest, Inc. +# This file is distributed under the same license as the dpkg package. # # Nazewnictwo i spójność tłumaczeń programów apt, aptitude, synaptic i innych: # https://wiki.debian.org/PolishL10N/PackageInstallers @@ -13,7 +14,7 @@ msgstr "" "Project-Id-Version: dselect 1.15.4\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2014-12-21 20:58+0100\n" "Last-Translator: Łukasz Dulny \n" "Language-Team: Polish \n" @@ -64,7 +65,9 @@ msgstr "" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +#, fuzzy +#| msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "nie można zarezerwować par koloru" #: dselect/baselist.cc @@ -1023,15 +1026,21 @@ msgstr "część widoku" #: dselect/main.cc -msgid "null colour specification" +#, fuzzy +#| msgid "null colour specification" +msgid "missing color specification" msgstr "pusta specyfikacja koloru" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "kolor" #: dselect/main.cc -msgid "colour attribute" +#, fuzzy +#| msgid "colour attribute" +msgid "color attribute" msgstr "atrybuty koloru" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/pt_BR.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/pt_BR.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/pt_BR.po dpkg-1.22.0ubuntu1/dselect/po/pt_BR.po --- dpkg-1.21.22ubuntu1/dselect/po/pt_BR.po 2023-05-11 02:03:43.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/pt_BR.po 2023-08-30 03:38:48.000000000 +0000 @@ -1,5 +1,7 @@ -# Tradução para o Português (Brasil) do dpkg/dselect (Debian) +# Translation of dselect to Brazilian Portuguese # Copyright © 1999, 2000 Software in the Public Interest. +# This file is distributed under the same license as the dpkg package. +# # Thiago Jung Bauermann , 1999. # Carlos Henrique Santos Laviola , 2000. # André Luís Lopes , 2002. @@ -11,7 +13,7 @@ msgstr "" "Project-Id-Version: dselect 1.13\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2008-06-09 02:53-0300\n" "Last-Translator: Felipe Augusto van de Wiel \n" "Language-Team: Brazilian Portuguese , 2004-2014. # msgid "" msgstr "" "Project-Id-Version: dselect 1.17.0\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" "PO-Revision-Date: 2014-11-30 13:28+0000\n" "Last-Translator: Miguel Figueiredo \n" "Language-Team: Portuguese \n" @@ -53,7 +55,9 @@ msgstr "" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +#, fuzzy +#| msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "falhou alocar par de cores" #: dselect/baselist.cc @@ -1010,15 +1014,21 @@ msgstr "screen part" #: dselect/main.cc -msgid "null colour specification" +#, fuzzy +#| msgid "null colour specification" +msgid "missing color specification" msgstr "especificação de cor nula" #: dselect/main.cc -msgid "colour" +#, fuzzy +#| msgid "colour" +msgid "color" msgstr "cor" #: dselect/main.cc -msgid "colour attribute" +#, fuzzy +#| msgid "colour attribute" +msgid "color attribute" msgstr "atributo de cor" #: dselect/main.cc Binary files /tmp/tmp_6nup1xk/jHWUPyfvzH/dpkg-1.21.22ubuntu1/dselect/po/ro.gmo and /tmp/tmp_6nup1xk/nyN7ofEWHP/dpkg-1.22.0ubuntu1/dselect/po/ro.gmo differ diff -Nru dpkg-1.21.22ubuntu1/dselect/po/ro.po dpkg-1.22.0ubuntu1/dselect/po/ro.po --- dpkg-1.21.22ubuntu1/dselect/po/ro.po 2023-05-11 02:03:43.000000000 +0000 +++ dpkg-1.22.0ubuntu1/dselect/po/ro.po 2023-08-30 03:38:48.000000000 +0000 @@ -1,7 +1,12 @@ -# translation of ro.po to Romanian -# Romanian translations for the dpkg package. +# Translation of dselect to Romanian +# Copyright © 2005-2023 Dpkg Developers # This file is distributed under the same license as the dpkg package. # +# Rușeț Zeno , 2005. +# Eddy Petrișor , 2005, 2006, 2007, 2008. +# Sorin Batariuc , 2005. +# Remus-Gabriel Chelu , 2023. +# # Explicații legate de modul de traducere: # - la mesajele emise în urma acțiunilor programului se folosește forma impersonală, # folosită și în versiunea în engleză @@ -9,18 +14,13 @@ # - numele funcților și a argumentelor acestora # - numele și opțiunile programelor # -# Copyright © 2005-2008 Dpkg Developers -# -# Rușeț Zeno , 2005. -# Eddy Petrișor , 2005, 2006, 2007, 2008. -# Sorin Batariuc , 2005. msgid "" msgstr "" -"Project-Id-Version: dselect 1.17.0\n" +"Project-Id-Version: dselect 1.21.2\n" "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n" -"POT-Creation-Date: 2023-05-11 02:03+0000\n" -"PO-Revision-Date: 2008-06-28 19:11+0300\n" -"Last-Translator: Eddy Petrișor \n" +"POT-Creation-Date: 2023-08-30 03:38+0000\n" +"PO-Revision-Date: 2023-07-11 20:51+0200\n" +"Last-Translator: Remus-Gabriel Chelu \n" "Language-Team: Romanian \n" "Language: ro\n" "MIME-Version: 1.0\n" @@ -28,7 +28,8 @@ "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " "20)) ? 1 : 2;\n" -"X-Generator: KBabel 1.11.4\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" # spațiile sunt necesare!! #: dselect/basecmds.cc @@ -46,8 +47,8 @@ #: dselect/basecmds.cc msgid "Press ? for help menu, . for next topic, to exit help." msgstr "" -"Apăsați ? pentru meniul ajutor, . pentru următorul subiect, pentru " -"ieșire." +"Apăsați ? pentru meniul de ajutor, . pentru următorul subiect, " +"pentru a ieși." #: dselect/basecmds.cc msgid "Help information is available under the following topics:" @@ -58,20 +59,22 @@ "Press a key from the list above, or 'q' to exit help,\n" " or '.' (full stop) to read each help page in turn. " msgstr "" -"Apăsați o tastă din lista care urmează, sau „q” pentru ieșire din " +"Apăsați o tastă din lista care urmează, sau „q” pentru a ieși din " "ajutor,\n" " sau „.” (oprire totală) pentru a citi fiecare pagină de ajutor. " #: dselect/basecmds.cc msgid "error reading keyboard in help" -msgstr "eroare citire tastatură în ajutor" +msgstr "eroare la citirea tastaturii în ajutor" #: dselect/baselist.cc msgid "cannot update screen after window resize" -msgstr "" +msgstr "nu se poate actualiza ecranul după redimensionarea ferestrei" #: dselect/baselist.cc -msgid "failed to allocate colour pair" +#, fuzzy +#| msgid "failed to allocate colour pair" +msgid "cannot allocate color pair" msgstr "eșec la alocarea perechii de culori" #: dselect/baselist.cc @@ -88,7 +91,7 @@ #: dselect/baselist.cc msgid "failed to create heading pad" -msgstr "eșec la crearea zonei pentru titlul" +msgstr "eșec la crearea zonei pentru titlu" #: dselect/baselist.cc msgid "failed to create thisstate pad" @@ -148,19 +151,19 @@ #: dselect/bindings.cc msgid "Go to top of list" -msgstr "Mergi la începutul listei" +msgstr "Salt la începutul listei" #: dselect/bindings.cc msgid "Go to end of list" -msgstr "Mergi la sfârșitul listei" +msgstr "Salt la sfârșitul listei" #: dselect/bindings.cc msgid "Request help (cycle through help screens)" -msgstr "Cerere de ajutor (ciclu printre ecranele de ajutor)" +msgstr "Cerere de ajutor (carusel printre ecranele de ajutor)" #: dselect/bindings.cc msgid "Cycle through information displays" -msgstr "Ciclu printre informațiile afișate" +msgstr "Carusel printre ecranele de informații" #: dselect/bindings.cc msgid "Redraw display" @@ -215,10 +218,8 @@ msgstr "Caută pachetul al cărui nume conține un șir de caractere" #: dselect/bindings.cc -#, fuzzy -#| msgid "Repeat last search." msgid "Repeat last search" -msgstr "Repetă ultima căutare." +msgstr "Repetă ultima căutare" #: dselect/bindings.cc msgid "Swap sort order priority/section" @@ -226,19 +227,19 @@ #: dselect/bindings.cc msgid "Quit, confirming, and checking dependencies" -msgstr "Ieșire, confirmare, și verificare dependențe" +msgstr "Ieșire, după confirmare, și verificarea dependențelor" #: dselect/bindings.cc msgid "Quit, confirming without check" -msgstr "Terminare, confirmare fără verificare" +msgstr "Ieșire, după confirmare, fără verificarea dependențelor" #: dselect/bindings.cc msgid "Quit, rejecting conflict/dependency suggestions" -msgstr "Terminare, se refuză sugestiile legate de conflicte/dependențe" +msgstr "Ieșire, se refuză sugestiile legate de conflicte/dependențe" #: dselect/bindings.cc msgid "Abort - quit without making changes" -msgstr "Abandon - terminare fără a face schimbări" +msgstr "Abandon - iese fără a face schimbări" #: dselect/bindings.cc msgid "Revert to old state for all packages" @@ -262,45 +263,13 @@ #: dselect/bindings.cc msgid "Quit without changing selected access method" -msgstr "Abandonează fără schimbarea metodei de acces selectate" +msgstr "Iese fără schimbarea metodei de acces selectate" #: dselect/helpmsgs.cc msgid "Keystrokes" msgstr "Combinații taste" #: dselect/helpmsgs.cc -#, fuzzy -#| msgid "" -#| "Motion keys: Next/Previous, Top/End, Up/Down, Backwards/Forwards:\n" -#| " j, Down-arrow k, Up-arrow move highlight\n" -#| " N, Page-down, Space P, Page-up, Backspace scroll list by 1 page\n" -#| " ^n ^p scroll list by 1 line\n" -#| " t, Home e, End jump to top/end of list\n" -#| " u d scroll info by 1 page\n" -#| " ^u ^d scroll info by 1 line\n" -#| " B, Left-arrow F, Right-arrow pan display by 1/3 " -#| "screen\n" -#| " ^b ^f pan display by 1 " -#| "character\n" -#| "\n" -#| "Mark packages for later processing:\n" -#| " +, Insert install or upgrade =, H hold in present state\n" -#| " -, Delete remove :, G unhold: upgrade or leave " -#| "uninstalled\n" -#| " _ remove & purge config\n" -#| " Miscellaneous:\n" -#| "Quit, exit, overwrite (note capitals!): ?, F1 request help (also " -#| "Help)\n" -#| " Return Confirm, quit (check dependencies) i, I toggle/cycle info " -#| "displays\n" -#| " Q Confirm, quit (override dep.s) o, O cycle through sort " -#| "options\n" -#| " X, Esc eXit, abandoning any changes made v, V change status display " -#| "opts\n" -#| " R Revert to state before this list ^l redraw display\n" -#| " U set all to sUggested state / search (Return to " -#| "cancel)\n" -#| " D set all to Directly requested state n, \\ repeat last search\n" msgid "" "Motion keys: Next/Previous, Top/End, Up/Down, Backwards/Forwards:\n" " j, Down-arrow k, Up-arrow move highlight\n" @@ -335,7 +304,7 @@ " j, Săgeată-jos k, Săgeată-sus mută cursorul\n" " N, Page-down, Space P, Page-up, Backspace derulează lista cu 1 pagină\n" " ^n ^p derulează lista cu 1 linie\n" -" t, Home e, End sari la capul/coada listei\n" +" t, Home e, End sare la capul/coada listei\n" " u d derulează info cu 1 pagină\n" " ^u ^d derulează info cu 1 linie\n" " B, Săgeată-stânga F, Săgeată-dreapta mută afișajul cu 1/3 de " @@ -343,20 +312,20 @@ " ^b ^f mută afișajul cu 1 caracter\n" "\n" "Marchează pachetele pentru prelucrare ulterioară:\n" -" +, Insert instalare/actualizare =, H păstrare în starea prezentă\n" -" -, Delete șterge :, G eliberare: actualizare sau " -"păstrare neinstalat\n" -" _ dezinstalare și ștergere configurație\n" +" +, Insert instalare/actualizare =, H păstrare în versiunea prezentă\n" +" -, Delete șterge :, G eliberare: actualizare sau se " +"lasă neinstalat\n" +" _ dezinstalează și șterge configurația\n" " Diverse:\n" -"Termină, ieși, rescriere (litere mari/mici!): ?, F1 cerere de ajutor " +"Termină, iese, suprascriere (litere mari/mici!): ?, F1 cerere de ajutor " "(la fel și Ajutor)\n" -" Return Confirmă, termină (verifică dependențe) i, I comută/ciclează " +" Return Confirmă, termină (verifică dependențe) i, I comută/rotește " "ecranele info\n" -" Q Confirmă, termină (suprascriere dep.) o, O ciclează între " +" Q Confirmă, termină (suprascriere dep.) o, O circulă între " "opțiunile de sortare\n" " X, Esc ieșire, abandonează schimbările făcute v, V schimbă starea " "opțiunilor de afișare\n" -" R Revenire la starea anterioară listei ^l redesenare ecran\n" +" R Revenire la starea anterioară a listei ^l redesenare ecran\n" " U plasează tot în starea sUgerată / caută (Return " "pentru renunțare)\n" " D plasează tot, Direct în starea cerută n, \\ repetă ultima " @@ -396,38 +365,41 @@ "\n" "Press to leave help and enter the list now.\n" msgstr "" -"Bine ați venit la listarea principală a pachetelor lui dselect.\n" +"Bine ați venit la lista principală de pachete a «dselect».\n" "\n" -"Vă va fi arătată o listă de pachete care sunt instalate sau disponibile\n" -"pentru instalare. Puteți naviga prin listă folosind tastele cursorului,\n" -"puteți marca pachetele pentru instalare (folosind „+”) sau dezinstalare " -"(folosind „-”).\n" +"Vă va fi prezentată o listă de pachete care sunt instalate sau disponibile\n" +"pentru instalare. Puteți naviga prin listă folosind tastele cursorului, " +"puteți\n" +"marca pachetele pentru instalare (folosind „+”) sau dezinstalare (folosind " +"„-”).\n" "Pachetele pot fi marcate fie individual fie în grupuri, inițial veți vedea " "că\n" "linia „Toate pachetele” este selectată. „+”, „-” și toate celelalte vor " -"afecta toate\n" -"pachetele descrise de linia evidențiată.\n" +"afecta\n" +"toate pachetele descrise de linia evidențiată.\n" "\n" -"Unele din alegerile dvs. vor determina conflicte sau probleme de dependențe, " -"vi se\n" -"va da o sub-listă de pachete relevante, care vor rezolva problemele.\n" +"Unele din alegerile dvs. vor cauza conflicte sau probleme de dependențe; vă " +"va\n" +"fi oferită o sub-listă de pachete relevante, ceea ce vă va permite să " +"rezolvați\n" +"problemele.\n" "\n" "Ar trebui să citiți lista de taste și explicațiile de pe ecran.\n" -"Este disponibil mult ajutor imediat, sunteți rugat să vă folosiți de el - " -"apăsați când doriți\n" -"„?” pentru a primi ajutor.\n" +"Este disponibil mult ajutor imediat, folosiți-l - apăsați tasta „?” în " +"orice\n" +"moment pentru a primi ajutor.\n" "\n" -"Când ați terminat de selectat pachetele, apăsați pentru a confirma " +"Când ați terminat de selectat pachetele, apăsați pentru a confirma " "schimbările,\n" -"sau „X” pentru a ieși fără să salvați schimbările. O verificare finală la " -"conflicte și\n" -"dependențe va fi făcută - aici și dvs veți putea vedea o sublistă.\n" +"sau „X” pentru a ieși fără să salvați schimbările. O verificare finală " +"pentru conflicte\n" +"și dependențe va fi făcută - aici de asemenea veți putea vedea o sub-listă.\n" "\n" -"Apăsați pentru a părăsi ajutorul și a intra în listă.\n" +"Apăsați pentru a părăsi ajutorul și a intra în listă.\n" #: dselect/helpmsgs.cc msgid "Introduction to read-only package list browser" -msgstr "Introducere a navigatorului listei de pachete, în mod strict citire" +msgstr "Introducere la navigatorul listei de pachete numai-pentru-citire" #: dselect/helpmsgs.cc msgid "" @@ -449,66 +421,32 @@ "\n" "Press to leave help and enter the list now.\n" msgstr "" -"Bine ați venit la lista principală de pachete a lui dselect.\n" +"Bine ați venit la lista principală de pachete a «dselect».\n" "\n" -"Vă va fi arătată o listă de pachete care sunt instalate sau disponibile\n" -"pentru instalare. Din moment ce nu aveți privilegiile necesare pentru a \n" -"actualiza starea pachetelor, sunteți în modul doar-citire. Puteți naviga \n" -"prin listă folosind tastele pentru cursor (vă rog, vedeți ecranul de ajutor\n" -"„Combinații taste”), observa starea pachetelor și citi informațiile despre " -"ele.\n" +"Vă va fi arătată o listă de pachete care sunt instalate sau disponibile " +"pentru\n" +"instalare. Din moment ce nu aveți privilegiile necesare pentru a actualiza " +"starea \n" +"pachetelor, sunteți în modul doar-citire. Puteți naviga prin listă folosind " +"tastele\n" +"pentru cursor (vedeți ecranul de ajutor „Combinații taste”), observa starea\n" +"pachetelor și citi informațiile despre ele.\n" "\n" "Ar trebui să citiți lista de taste și explicațiile de pe ecran.\n" -"Este disponibil mult ajutor imediat, sunteți rugat să vă folosiți de el - " -"apăsați oricând doriți\n" -" „?” pentru a primi ajutor.\n" +"Este disponibil mult ajutor imediat, folosiți-l - apăsați oricând doriți " +"tasta\n" +"„?” pentru a primi ajutor.\n" "\n" -"Când ați terminat de selectat pachetele, apăsați „Q” sau pentru a " +"Când ați terminat de răsfoit pachetele, apăsați „Q” sau pentru a " "ieși.\n" "\n" -"Apăsați pentru a părăsi ajutorul și a intra în listă.\n" +"Apăsați pentru a părăsi ajutorul și a intra în listă.\n" #: dselect/helpmsgs.cc msgid "Introduction to conflict/dependency resolution sub-list" msgstr "Introducere a sublistei de rezolvare a conflictelor/dependențelor" #: dselect/helpmsgs.cc -#, fuzzy -#| msgid "" -#| "Dependency/conflict resolution - introduction.\n" -#| "\n" -#| "One or more of your choices have raised a conflict or dependency problem " -#| "-\n" -#| "some packages should only be installed in conjunction with certain " -#| "others, and\n" -#| "some combinations of packages may not be installed together.\n" -#| "\n" -#| "You will see a sub-list containing the packages involved. The bottom " -#| "half of\n" -#| "the display shows relevant conflicts and dependencies; use 'i' to cycle " -#| "between\n" -#| "that, the package descriptions and the internal control information.\n" -#| "\n" -#| "A set of 'suggested' packages has been calculated, and the initial " -#| "markings in\n" -#| "this sub-list have been set to match those, so you can just hit Return " -#| "to\n" -#| "accept the suggestions if you wish. You may abort the change(s) which " -#| "caused\n" -#| "the problem(s), and go back to the main list, by pressing capital 'X'.\n" -#| "\n" -#| "You can also move around the list and change the markings so that they " -#| "are more\n" -#| "like what you want, and you can 'reject' my suggestions by using the " -#| "capital\n" -#| "'D' or 'R' keys (see the keybindings help screen). You can use capital " -#| "'Q' to\n" -#| "force me to accept the situation currently displayed, in case you want " -#| "to\n" -#| "override a recommendation or think that the program is mistaken.\n" -#| "\n" -#| "Press to leave help and enter the sub-list; remember: press '?' " -#| "for help.\n" msgid "" "Dependency/conflict resolution - introduction.\n" "\n" @@ -545,71 +483,43 @@ "Rezoluție de dependențe/conflicte - introducere.\n" "\n" "Una sau mai multe dintre alegerile dvs. vor determina conflicte sau probleme " -"de dependențe -\n" -"unele pachete ar trebui instalate doar împreună cu anumite altele, și\n" -"unele combinații de pachete nu pot fi instalate împreună.\n" +"de\n" +"dependențe - unele pachete ar trebui instalate doar împreună cu anumite " +"altele,\n" +"și unele combinații de pachete nu pot fi instalate împreună.\n" "\n" "Veți vedea o sub-listă conținând pachetele implicate. Jumătatea inferioară " "a\n" -"afișajului arată conflictele și dependențele relevante; folosiți „i” pentru " -"a circula între\n" -"acestea, descrierile pachetelor și informația internă de control.\n" +"afișajului arată conflictele și dependențele relevante; folosiți tasta „i” " +"pentru\n" +"a circula între acestea, descrierile pachetelor și informația internă de " +"control.\n" "\n" "Au fost calculate un set de pachete „sugerate”, și selecțiile inițiale în\n" "această sub-listă au fost aranjate să se potrivească cu acelea, astfel încât " -"doar apăsați Enter\n" -"pentru a accepta sugestiile, dacă doriți. Puteți anula schimbările care " -"determină\n" -"probleme, și vă duceți înapoi la lista principală, apăsând majuscula „X”.\n" +"doar\n" +"apăsați «Enter» pentru a accepta sugestiile, dacă doriți. Puteți anula " +"schimbările\n" +"care determină probleme, și să vă întoarceți la lista principală, apăsând\n" +"majuscula „X”.\n" "\n" -"Puteți de asemenea să navigați prin listă și schimba selecțiile după " +"Puteți de asemenea să navigați prin listă, să schimbați selecțiile după " "dorință,\n" -"și puteți anula sugestiile folosind majusculele „D” ori „R”\n" -"(vedeți ecranul de ajutor cu combinațiile de taste). Puteți folosi " -"majuscula\n" -"„Q” pentru a forța acceptul în situația curent afișată, în caz că vreți să\n" -"treceți peste o recomandare sau vă gândiți că programul se înșeală.\n" +"și puteți anula sugestiile folosind majusculele „D” ori „R” (vedeți ecranul " +"de\n" +"ajutor cu combinațiile de taste). Puteți folosi majuscula „Q” pentru a " +"forța\n" +"acceptarea în situația curent afișată, în caz că vreți să treceți peste o\n" +"recomandare sau vă gândiți că programul se înșeală.\n" "\n" -"Apasați pentru a părăsi ajutorul și a intra în sub-listă; nu " -"uitați: apăsați „?” pentru ajutor.\n" +"Apasați pentru a părăsi ajutorul și a intra în sub-listă;\n" +"nu uitați: apăsați tasta „?” pentru ajutor.\n" #: dselect/helpmsgs.cc msgid "Display, part 1: package listing and status chars" msgstr "Afișare, partea 1: lista de pachete și caracterele de stare" #: dselect/helpmsgs.cc -#, fuzzy -#| msgid "" -#| "The top half of the screen shows a list of packages. For each package " -#| "you see\n" -#| "four columns for its current status on the system and mark. In terse " -#| "mode (use\n" -#| "'v' to toggle verbose display) these are single characters, from left to " -#| "right:\n" -#| "\n" -#| " Error flag: Space - no error (but package may be in broken state - see " -#| "below)\n" -#| " 'R' - serious error during installation, needs " -#| "reinstallation;\n" -#| " Installed state: Space - not installed;\n" -#| " '*' - installed;\n" -#| " '-' - not installed but config files remain;\n" -#| " packages in these { 'U' - unpacked but not yet configured;\n" -#| " states are not { 'C' - half-configured (an error happened);\n" -#| " (quite) properly { 'I' - half-installed (an error happened);\n" -#| " installed { 'W','t' - triggers are awaited resp. pending.\n" -#| " Old mark: what was requested for this package before presenting this " -#| "list;\n" -#| " Mark: what is requested for this package:\n" -#| " '*': marked for installation or upgrade;\n" -#| " '-': marked for removal, but any configuration files will remain;\n" -#| " '=': on hold: package will not be processed at all;\n" -#| " '_': marked for purge completely - even remove configuration;\n" -#| " 'n': package is new and has yet to be marked for install/remove/&c.\n" -#| "\n" -#| "Also displayed are each package's Priority, Section, name, installed and\n" -#| "available version numbers (shift-V to display/hide) and summary " -#| "description.\n" msgid "" "The top half of the screen shows a list of packages. For each package you " "see\n" @@ -642,38 +552,43 @@ "description.\n" msgstr "" "Jumătatea superioară a ecranului arată o listă de pachete. La fiecare pachet " -"veți vedea\n" -"patru coloane pentru starea curentă în sistem și marcajul. În modul concis " -"(folosiți „v”\n" -"pentru a comuta la afișajul detaliat) acestea sunt caractere individuale, de " -"la stânga la dreapta:\n" -"\n" -" Fanion de eroare: Spațiu - fără eroare (dar pachetul ar putea fi\n" -" deteriorat - vedeți mai jos)\n" -" „R” - eroare gravă în timpul instalării, are\n" -" nevoie de reinstalare;\n" +"veți\n" +"vedea patru coloane pentru starea curentă în sistem și marcajul. În modul " +"concis\n" +"(folosiți „v” pentru a comuta la afișajul detaliat) acestea sunt caractere\n" +"individuale, de la stânga la dreapta:\n" +"\n" +" Fanion de eroare: Spațiu - fără eroare (dar pachetul ar putea fi " +"deteriorat;\n" +" vedeți mai jos)\n" +" „R” - eroare gravă în timpul instalării, are nevoie " +"de\n" +" reinstalare;\n" " Starea instalării: Spațiu - neinstalat;\n" " „*” - instalat;\n" -" „-” - neinstalat dar fișierele de configurare\n" -" rămân;\n" +" „-” - neinstalat dar fișierele de configurare " +"au\n" +" rămas;\n" " pachetele în aceste { „U” - despachetat dar încă neconfigurat;\n" -" stări nu sunt { „C” - semi-configurat (s-a întâlnit eroare);\n" -" (chiar) bine { „I” - semi-instalat (s-a întâlnit eroare).\n" -" instalate { „W”,„t” - declanșatorii sunt așteptați, respectiv\n" -" în așteptare. Vechiul marcaj: ceea ce s-" -"a cerut de la acest pachet înainte de a afișa\n" -" această listă;\n" +" stări nu sunt { „C” - semi-configurat (a apărut o eroare);\n" +" (chiar) bine { „I” - semi-instalat (a apărut o eroare).\n" +" instalate { „W”,„t” - declanșatorii sunt așteptați, respectiv " +"în\n" +" așteptare.\n" +" Vechiul marcaj: ceea ce s-a cerut pentru acest pachet înainte de a afișa\n" +" această listă;\n" " Marcaj: ceea ce se cere pentru acest pachet:\n" " „*”: marcat pentru instalare sau înnoire;\n" -" „-”: marcat pentru ștergere, dar fișierele de configurare rămân;\n" -" „=”: în așteptare: pachetul nu va fi procesat deloc;\n" +" „-”: marcat pentru eliminare, dar fișierele de configurare rămân;\n" +" „=”: pentru păstrare: pachetul nu va fi instalat, înnoit sau eliminat;\n" " „_”: marcat pentru ștergere completă - inclusiv configurarea;\n" -" „n”: pachetul este nou și poate încă fi marcat pentru\n" -" instalare/ștergere/&c.\n" +" „n”: pachetul este nou și poate încă fi marcat pentru instalare/ștergere/" +"&c.\n" "\n" -"De asemenea, pentru fiecare pachet, sunt afișate Prioritatea, Secțiunea,\n" -"numele, versiunea instalată și cea disponibilă (shift-V pentru a\n" -"afișa/ascunde) și descrierea pe scurt.\n" +"De asemenea, pentru fiecare pachet, sunt afișate:\n" +"Prioritatea, Secțiunea, numele, versiunea instalată și cea disponibilă " +"(shift-V\n" +"pentru a afișa/ascunde) și descrierea pe scurt.\n" #: dselect/helpmsgs.cc msgid "Display, part 2: list highlight; information display" @@ -705,29 +620,29 @@ " Use the 'i' key to cycle through the displays, and 'I' to hide the\n" " information display or expand it to use almost all of the screen.\n" msgstr "" -"* Evidențierea: O linie din lista de pachete va fi evidențiată. Semnifică " -"ce\n" -" pachete sunt afectate de tastele „+”, „-” și „_”.\n" +"* Evidențierea: O linie din lista de pachete va fi evidențiată. Aceasta " +"indică\n" +" ce pachete sunt afectate de apăsarea tastelor „+”, „-” și „_”.\n" "\n" "* Linia despărțitoare din mijlocul ecranului arată o scurtă descriere a\n" " stării pachetului curent evidențiat, sau o descriere a grupului care " "este \n" -" evidențiat dacă este o linie de grupuri. Dacă nu înțelegeți sensul\n" -" unora dintre caracterele de stare afișate, duceți-vă la pachetul\n" -" respectiv și uitați-vă la linia despărțitoare, sau folosiți tasta „v” " -"pentru afișaj\n" -" detaliat (apăsați din nou „v” pentru a vă reîntoarce la afișarea " +" evidențiat dacă este o linie de grupuri. Dacă nu înțelegeți sensul unora\n" +" dintre caracterele de stare afișate, duceți-vă la pachetul respectiv și\n" +" uitați-vă la linia despărțitoare, sau folosiți tasta „v” pentru afișare\n" +" detaliată (apăsați din nou „v” pentru a vă reîntoarce la afișarea " "concisă).\n" "\n" -"* Partea inferioară a ecranului arată mai multe informații despre\n" -" pachetul curent evidențiat (dacă este vreunul).\n" +"* Partea inferioară a ecranului arată mai multe informații despre pachetul " +"curent\n" +" evidențiat (dacă este vreunul).\n" "\n" " Poate arăta descrierea extinsă a pachetului, detalii interne de control\n" " ale pachetului (fie pentru versiunea instalată fie pentru cea " "disponibilă),\n" " sau informații despre conflicte și dependențe implicate de pachetul " "curent\n" -" (în sublista de rezoluții de conflicte/dependențe).\n" +" (în sub-lista de rezoluții de conflicte/dependențe).\n" "\n" " Folosiți tasta „i” pentru a circula printre afișaje, și „I” pentru a " "ascunde\n" @@ -761,26 +676,26 @@ "help\n" "menu reachable by pressing '?'.\n" msgstr "" -"dselect și dpkg pot face o instalare automată, încărcând fișierele " -"pachetelor de\n" -"instalat dintr-un număr de diferite posibile locuri.\n" +"«dselect» și «dpkg» pot face o instalare automată, încărcând fișierele " +"pachetelor\n" +"care urmează să fie instalate dintr-un număr de diferite posibile locuri.\n" "\n" "Această listă vă permite să selectați una din aceste metode de instalare.\n" "\n" -"Deplasați evidențierea către metoda pe care doriți s-o folosiți, și apăsați " -"Enter. Veți fi\n" -"chestionat pentru informațiile necesare pentru instalare.\n" -"\n" -"Cum deplasați evidențierea, este afișată în jumătatea inferioară a ecranului " -"o\n" -"descriere a fiecărei metode, dacă este disponibilă.\n" +"Deplasați evidențierea către metoda pe care doriți s-o folosiți, și apăsați\n" +"tata «Enter». Veți fi chestionat pentru informațiile necesare pentru " +"instalare.\n" +"\n" +"Pe măsură ce deplasați evidențierea, în jumătatea de jos a ecranului este " +"afișată\n" +"o descriere a fiecărei metode, dacă este disponibilă.\n" "\n" -"Dacă doriți să ieșiți fără a modifica nimic folosiți tasta „x” în timp ce\n" +"Dacă doriți să ieșiți fără a modifica nimic, folosiți tasta „x” în timp ce\n" "sunteți în lista metodelor de instalare.\n" "\n" -"O listă completă de taste este disponibilă apăsând acum „k”, sau din meniul " -"de\n" -"ajutor, accesibilă apăsând „?”.\n" +"O listă completă a combinațiilor de taste este disponibilă apăsând „k” " +"acum,\n" +"sau din meniul de ajutor, accesibil apăsând tasta „?”.\n" #: dselect/helpmsgs.cc msgid "Keystrokes for method selection" @@ -812,33 +727,34 @@ msgstr "" "Taste de deplasare: Următor/Anterior, Început/Sfârșit, Sus/Jos, Înapoi/" "Înainte:\n" -" j, Down-arrow k, Up-arrow mută selecția\n" +" j, Săgeată-jos k, Săgeată-sus mută selecția\n" " N, Page-down, Space P, Page-up, Backspace derulează lista cu 1 pagină\n" " ^n ^p derulează lista cu 1 linie\n" -" t, Home e, End sari la începutul/sfârșitul " +" t, Home e, End sare la începutul/sfârșitul " "listei\n" " u d derulează info cu 1 pagină\n" " ^u ^d derulează info cu 1 linie\n" -" B, Left-arrow F, Right-arrow mută afișarea cu 1/3 de " +" B, Săgeată-stânga F, Săgeată-dreapta mută afișarea cu 1/3 de " "ecran\n" " ^b ^f mută afișarea cu 1 caracter\n" "(Acestea sunt aceleași taste de deplasare ca în afișarea listei de " "pachete.)\n" "\n" "Termină:\n" -" Return, Enter selectează această metodă și treci la dialogul ei de " +" Return, Enter selectează această metodă și trece la dialogul ei de " "configurare\n" -" x, X termină fară schimbări sau setarea metodei de instalare\n" +" x, X termină fără schimbări sau configurarea metodei de " +"instalare\n" "\n" "Diverse:\n" " ?, Help, F1 cerere de ajutor\n" -" ^l reafișare ecran\n" +" ^l redesenare ecran\n" " / căutare (enter pentru renunțare)\n" " \\ repetă ultima căutare\n" #: dselect/main.cc msgid "Type dselect --help for help." -msgstr "Tastați dselect --help pentru ajutor." +msgstr "Tastați «dselect --help» pentru ajutor." #: dselect/main.cc msgid "a" @@ -898,7 +814,7 @@ #: dselect/main.cc msgid "Configure any packages that are unconfigured." -msgstr "Configurează orice pachet neconfigurat." +msgstr "Configurează orice pachet ce nu este configurat." #: dselect/main.cc msgid "r" @@ -906,11 +822,11 @@ #: dselect/main.cc msgid "[R]emove" -msgstr "Îndepă[R]tare" +msgstr "Elimina[r]e" #: dselect/main.cc msgid "Remove unwanted software." -msgstr "Îndepărtează programele nedorite." +msgstr "Elimină programele nedorite." # semnifică tasta care trebuie apăsată, poate fi schimbată dar trebuie să verificăm conflictele #: dselect/main.cc @@ -935,48 +851,34 @@ msgstr "Interfață de manipulare a pachetelor Debian „%s”, versiunea %s.\n" #: dselect/main.cc -#, fuzzy msgid "" "This is free software; see the GNU General Public License version 2 or\n" "later for copying conditions. There is NO warranty.\n" msgstr "" -"Acesta este soft liber; vezi GNU General Public License versiunea 2 sau\n" -"ulterioară pentru condițiile de copiere. NU există NICI o garanție.\n" -"Vezi %s --licence pentru detalii de licențiere și condiții de copiere.\n" +"Acesta este software liber; consultați GNU General Public License versiunea " +"2\n" +"sau ulterioară pentru condițiile de copiere. NU există NICI o garanție.\n" #: dselect/main.cc msgid "" -msgstr "" +msgstr "" #: dselect/main.cc -#, fuzzy, c-format -#| msgid "" -#| "Usage: %s [