commit 48482e4f16467e05a08aa3b3b8048e08f0024609 Author: Guillem Jover Date: Thu May 11 04:06:20 2023 +0200 Release 1.21.22 debian/changelog | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit b9f369c0d03a1f00c08feec17adaa90251e0e2f0 Author: Guillem Jover Date: Thu May 11 04:04:01 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(-) commit 2269d0335d40356b78f364007650b2385faa9e5c Author: Guillem Jover Date: Sun Apr 23 04:44:32 2023 +0200 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 (cherry picked from commit 2c4814f7cb676c335c6372284ac95b7fc986effb) lib/dpkg/pkg-format.c | 3 ++- lib/dpkg/t/t-pkg-format.c | 19 ++++++++++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) commit 6910ce6767fe6c384c148bc0892582fc4a8f0be0 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 (cherry picked from commit 0e56a85ce34026482d9d011d0b560337e44c05c1) scripts/po/LINGUAS | 1 + scripts/po/pt.po | 4224 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 4225 insertions(+) commit 5b8c33566855c7b45ae3d84d71995de441a372dd Author: Guillem Jover Date: Thu May 11 03:56:22 2023 +0200 Bump version to 1.21.22 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 9ef736b7b3a5fa0d6e991e8475eb2e3151fec345 Author: Guillem Jover Date: Sat Feb 25 04:42:30 2023 +0100 Release 1.21.21 debian/changelog | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit fa79e836075fe2f571feff0b132022e7ee15d409 Author: Guillem Jover Date: Sat Feb 25 04:39:29 2023 +0100 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/ru.po | 2 +- scripts/po/sv.po | 2 +- 84 files changed, 88 insertions(+), 88 deletions(-) commit 9dfffbbaebbf57ed891d776dab131ff85c63f347 Author: Guillem Jover Date: Sat Feb 25 03:13:27 2023 +0100 Revert "Revert "arch: Add support for loong64 CPU"" This reverts commit f9187c8b13478824c9eff73c92a084cc50c34cad. This reintroduces the loong64 CPU support that got reverted. The GNU triplet and the multiarch tuples have gone back upstream to the previous 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 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 Author: Guillem Jover Date: Wed Feb 8 11:02:00 2023 +0100 po: Update Dutch header boilerplate with an actual copyright line This caused the author checks to fail, and consequently the CI pipelines too. Unfortunately the release script did not catch this, probably due 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 Author: Guillem Jover Date: Wed Feb 8 11:08:05 2023 +0100 Bump version to 1.21.21 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 6c5140f124925ad4eb12fb2c8e83a050028bbc1f Author: Guillem Jover Date: Tue Feb 7 12:23:03 2023 +0100 Release 1.21.20 debian/changelog | 50 +++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 47 insertions(+), 3 deletions(-) commit 3335fd77af14a524e51c0c8d4069e93720d41bdc Author: Guillem Jover Date: Tue Feb 7 12:19:11 2023 +0100 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 | 8 ++++---- man/po/es.po | 6 +++--- man/po/hu.po | 6 +++--- man/po/it.po | 6 +++--- man/po/ja.po | 6 +++--- man/po/pl.po | 6 +++--- man/po/pt_BR.po | 6 +++--- man/po/ru.po | 6 +++--- man/po/zh_CN.po | 6 +++--- 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 | 10 +++++----- scripts/po/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 92 files changed, 118 insertions(+), 118 deletions(-) commit d6595cdf2969e5894155136d47317e3b6e982687 Author: Miguel Figueiredo Date: Tue Feb 7 11:52:40 2023 +0100 po: Update Portuguese programs translation Signed-off-by: Guillem Jover po/pt.po | 929 +++++++++++++++++++++++---------------------------------------- 1 file changed, 335 insertions(+), 594 deletions(-) commit e6942b13ccd3ba6fe17370797b4fa1b7ea6f470f Author: Frans Spiesschaert Date: Tue Feb 7 11:47:12 2023 +0100 po: Add Dutch scripts translation Closes: #1030712 Signed-off-by: Guillem Jover scripts/po/LINGUAS | 1 + scripts/po/nl.po | 4242 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 4243 insertions(+) commit 2ad6d36984df607b031e86d3b1c0c47cd8763ba0 Author: Frans Spiesschaert Date: Tue Feb 7 11:44:13 2023 +0100 po: Update Dutch translations Closes: #1030710, #1030711 Signed-off-by: Guillem Jover man/po/nl.po | 385 +++++++++++++++++------------------------------------------ po/nl.po | 80 ++++--------- 2 files changed, 129 insertions(+), 336 deletions(-) commit 02f2ba101a95f853dc528df1524e841c2b2b0c5e Author: Guillem Jover Date: Mon Feb 6 11:54:45 2023 +0100 test: Skip auto-generated policykit policy file This kind of file includes translated entries, which causes spelling check false positives, and makes the author tests and CI systems checking those fail. t/codespell.t | 1 + 1 file changed, 1 insertion(+) commit c92e99e30aef12d521bdc71235e73c6d0003f586 Author: Guillem Jover Date: Sun Feb 5 01:12:44 2023 +0100 po: Workaround po4a formatting issue in French translation The non-breaking space before the colon seems to be confusing po4a which ends up using it for all subsequent spaces within the I<> markup. Move the non-breaking space outside the I<> markup to avoid the issue. Warned-by: lintian man/po/fr.po | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 3056b760bc305f947c93b5fd1dfbd32dbd6e257f Author: Sébastien Poher Date: Sun Feb 5 23:48:38 2023 +0100 po: Update French programs translations [guillem@debian.org: - Fix missing format specifier conversion characters. ] Signed-off-by: Guillem Jover dselect/po/fr.po | 252 +++----- po/fr.po | 1847 +++++++++++++++++++++--------------------------------- scripts/po/fr.po | 1225 ++++++++++++++---------------------- 3 files changed, 1267 insertions(+), 2057 deletions(-) commit 7d56a24c817145cc34c14051869e3f1676a23300 Author: Jean-Pierre Giraud Date: Sun Feb 5 23:40:13 2023 +0100 po: Update French man page translation [guillem@debian.org: - Remove trailing newline from translation. - Fix end-of-line withing string syntax errors. - Add missing closing angle for POD markup. ] Closes: #1030618 Signed-off-by: Guillem Jover man/po/fr.po | 5830 ++++++++++++++++++++++------------------------------------ 1 file changed, 2203 insertions(+), 3627 deletions(-) commit 58d653c7182349f08e71d65e111377721e65ce13 Author: Remus-Gabriel Chelu Date: Mon Feb 6 00:11:21 2023 +0100 po: Update Romanian programs translation Signed-off-by: Guillem Jover po/ro.po | 2160 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 1013 insertions(+), 1147 deletions(-) commit 52324cb814e023c9b194a4ef1b9fcba9d40587a1 Author: Theppitak Karoonboonyanan Date: Sun Feb 5 23:46:00 2023 +0100 po: Update Thai programs translation Signed-off-by: Guillem Jover po/th.po | 1984 ++++++++++++++++++++++++-------------------------------------- 1 file changed, 762 insertions(+), 1222 deletions(-) commit 94602635fe77d42b85ee28beeb1cda8d6313eaf2 Author: Nagy Elemér Károly Date: Sun Feb 5 23:44:44 2023 +0100 po: Update Hungarian programs translation Signed-off-by: Guillem Jover po/hu.po | 754 ++++++++++++++++++++++++++++----------------------------------- 1 file changed, 340 insertions(+), 414 deletions(-) commit b0430036ede2eed2821816ba794fcfb981ca62ef Author: Quentin PAGÈS Date: Sun Feb 5 23:42:46 2023 +0100 po: Update Occitan programs translation Signed-off-by: Guillem Jover po/oc.po | 443 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 223 insertions(+), 220 deletions(-) commit 8c7a47581c7c95ad569257f6a018ccd1079676c5 Author: Yuri Kozlov Date: Tue Jan 31 22:33:43 2023 +0100 po: Update Russian translations [guillem@debian.org: - Remove trailing newline from translation. - Fix translations with mismatched format specifiers. ] Closes: #1030162, #1030378 Signed-off-by: Guillem Jover dselect/po/ru.po | 257 ++------- po/ru.po | 1674 ++++++++++++++++++++---------------------------------- 2 files changed, 675 insertions(+), 1256 deletions(-) commit 57a59855d728179ad294597834120b28d7596cc6 Author: Sangdo Jun Date: Sun Jan 29 11:18:48 2023 +0100 po: Update Korean dselect translation Signed-off-by: Guillem Jover dselect/po/ko.po | 615 ++++++++++--------------------------------------------- 1 file changed, 109 insertions(+), 506 deletions(-) commit 642be40313bb90ed94b8e089e4fe016d6b7150cc Author: Peter Krefting Date: Sat Jan 28 17:22:48 2023 +0100 po: Update Swedish translations Signed-off-by: Guillem Jover man/po/sv.po | 934 ++++++++++++++++--------------------------------------- po/sv.po | 107 ++----- scripts/po/sv.po | 248 ++++----------- 3 files changed, 362 insertions(+), 927 deletions(-) commit 3ba2427db9224c0d1e0b490f259f6a5c2a943183 Author: Cheng-Chia Tseng Date: Sat Jan 28 17:49:40 2023 +0100 po: Update Traditional Chinese dselect translation Signed-off-by: Guillem Jover dselect/po/zh_TW.po | 811 +++++++++++++++++++++------------------------------- 1 file changed, 333 insertions(+), 478 deletions(-) commit 331384193b2f57bd8a921d8bbff074c89c19c8d4 Author: Boyuan Yang Date: Fri Jan 27 22:50:59 2023 +0100 po: Update Simplified Chinese translations Signed-off-by: Guillem Jover dselect/po/zh_CN.po | 250 +++++++++++++++++----------------------------------- po/zh_CN.po | 83 +++++------------ 2 files changed, 103 insertions(+), 230 deletions(-) commit a70b08aac94a9f08a4a9b6f2612c4a185b0d88f1 Author: jonatan porras Date: Fri Jan 27 22:48:48 2023 +0100 po: Update Spanish dselect translation Signed-off-by: Guillem Jover dselect/po/es.po | 139 +++++++------------------------------------------------ 1 file changed, 18 insertions(+), 121 deletions(-) commit d5c5dea68be2aebe0eb656724df16803c4458c67 Author: Miroslav Kure Date: Fri Jan 27 22:45:34 2023 +0100 po: Update Czech translations Closes: #1029706, #1030267 Signed-off-by: Guillem Jover dselect/po/cs.po | 130 +----- po/cs.po | 1289 +++++++++++++++++++----------------------------------- 2 files changed, 465 insertions(+), 954 deletions(-) commit ea30a14a6afb208c3c2df69f6951dd106b4722e8 Author: Guillem Jover Date: Mon Feb 6 01:33:26 2023 +0100 po: Unfuzzy translations due to typo fix man/po/de.po | 4 ++-- man/po/pt.po | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 78bfe8551c9e9b2eb48e2fb5ad3fa52ef7aa03f0 Author: Peter Krefting Date: Sat Jan 28 17:53:08 2023 +0100 man: Remove duplicate word in dpkg-buildflags(1) Signed-off-by: Guillem Jover man/dpkg-buildflags.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 43c475d4b777e79c913144ef37f25bb53e1d0297 Author: Guillem Jover Date: Sat Feb 4 23:55:28 2023 +0100 debian: Update lintian overrides debian/dpkg.lintian-overrides | 5 +---- debian/source/lintian-overrides | 3 +++ 2 files changed, 4 insertions(+), 4 deletions(-) commit 838bbda3f3f7504b0c4d46dc5dd3442d55171464 Author: Guillem Jover Date: Thu Feb 2 20:05:11 2023 +0100 debian: Fix versioned Build-Depends on debhelper There was a missing 1 in the version. Fixes: commit b21501ddcd93b94583bd9553b087b62420b508c8 Closes: #1030288 debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d5a89cbe48265703c7860d63b4f638782831b3cf Author: Guillem Jover Date: Mon Feb 6 03:44:06 2023 +0100 test: Update suppressions for cppcheck 2.10 Some of these are valid, but we'll fix them in the soon to open 1.22.x series. This should make the CI systems based on Debian unstable checking author mode, get back to normal. t/cppcheck/cppcheck.supp | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit f04af82fa789ccee741ea4cabd5495206de3e26e Author: Guillem Jover Date: Thu Jan 26 00:33:15 2023 +0100 Bump version to 1.21.20 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 2f3105279e0fb2255f39b2e9a11f15837cacd44b Author: Guillem Jover Date: Tue Jan 24 23:42:59 2023 +0100 Release 1.21.19 debian/changelog | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) commit 419753b31637c50feda050f9ff3959fcdc6a3826 Author: Guillem Jover Date: Tue Jan 24 23:39:50 2023 +0100 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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 83 files changed, 87 insertions(+), 87 deletions(-) commit f9187c8b13478824c9eff73c92a084cc50c34cad Author: Guillem Jover Date: Tue Jan 24 23:32:06 2023 +0100 Revert "arch: Add support for loong64 CPU" This reverts commit 321e479ba142e6b05d1a27b50e4bb7900903fbf0. This arch which was supposedly already defined, with an agreed ABI, GNU triplet and dpkg multiarch paths, seems to want to redefine all these. There is no clear rationale for why this is happening at this point in time, while patches for at least gcc have been submitted with no coordination (which ended up being applied). The handling of this is less than ideal. Until the whole situation gets clarified, the safest way is to revert the support. It can be reintroduced once things clear out. Ref: #1028654 data/cputable | 1 - scripts/Dpkg/Shlibs/Objdump.pm | 7 ------- scripts/t/Dpkg_Arch.t | 4 ++-- 3 files changed, 2 insertions(+), 10 deletions(-) commit 223685319f948e66b70ea9eb1a7cb8922c8fe3c9 Author: Shengjing Zhu Date: Sat Jan 14 10:04:39 2023 +0800 test: Add unit tests for lto build flags handling in Ubuntu [guillem@debian.org: Fix typos in comments. ] Ref: https://bugs.launchpad.net/bugs/2002582 Signed-off-by: Guillem Jover scripts/t/Dpkg_BuildFlags_Ubuntu.t | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) commit c5e6822d598a34d93001450c282c33f22b18efde Author: Guillem Jover Date: Thu Jan 19 09:44:12 2023 +0100 Dpkg::Vendor::Ubuntu: Fix lto feature to honor DEB_BUILD_OPTIONS The recently added lto handling for Ubuntu, did not take into account that the DEB_BUILD_OPTIONS and DEB_BUILD_MAINT_OPTIONS environment variables are parsed and their options applied just after setting the defaults, and before applying any arch-specific mask. We add a new init_build_features() internal method, which sits between these two actions, so that the Ubuntu vendor module can modify the defaults before any user or maintainer override are applied. Fixes: commit df7627acfadca528e52147cc777fa01b2ed802b4 Fixes: https://bugs.launchpad.net/bugs/2002582 scripts/Dpkg/Vendor/Debian.pm | 6 ++++++ scripts/Dpkg/Vendor/Ubuntu.pm | 17 +++++++++++++---- 2 files changed, 19 insertions(+), 4 deletions(-) commit e895de05f3511e5c5818366749b293af02fdaf11 Author: Guillem Jover Date: Tue Jan 17 00:02:29 2023 +0100 test: Set the permissions explicitly for the copied ChangeLog.old file The source ChangeLog.old file might have different permissions depending on the umask during the source package unpack. Copy the file without any flags, and then explicitly set known permissions on the result file. This should fix the build on reproducible variants. Fixes: commit 2c2f7066bd8c3209762762fa6905fa567b08ca5a src/at/deb-format.at | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit b698489dbe1ce237089038f6fd61138aa1638c43 Author: Guillem Jover Date: Mon Jan 16 04:20:17 2023 +0100 Dpkg::OpenPGP::Backend::GnuPG: Fallback to use «gpg dearmor» if present When verifying a signature, we were using the internal dearmor() method, as that makes it possible to not have gpg around when we are using gpgv. The problem is that the internal dearmor() method does not handle concatenated ASCII Armor blocks, and might then fail to find the certificates. When using gpgv this is only a partial regression as we were previously not verifying at all on minimal systems where gpg was not available. But when it is available, now that has regressed. In the future we might require no concatenated ASCII Armor blocks, but for now let's mitigate this regression. Fixes: commit a11d7340da2f679fc673d92767dfefcbb3eb1e69 Reported-by: Sven Joachim (on IRC) scripts/Dpkg/OpenPGP/Backend/GnuPG.pm | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) commit 9cca3e8fedc64977a446854b2fded4b2b01b7c53 Author: Guillem Jover Date: Mon Jan 16 04:16:46 2023 +0100 Dpkg::OpenPGP::Backend::GnuPG: Touch trustedkeys.gpg on temporary gpg home The gpgv command expects a trustedkeys.gpg keyring, and if there is none it will try the trustedkeys.kbx one, but then will emit an error such as: gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/trustedkeys.kbx': General error This error will only show if the gpgv invocation failed for other reasons, but it is still an unnecessary distraction. Avoid that error, by touching the trustedkeys.gpg keyring. scripts/Dpkg/OpenPGP/Backend/GnuPG.pm | 3 +++ 1 file changed, 3 insertions(+) commit 92e6049c2e0649efd558d90bc5063608c0ca8577 Author: Américo Monteiro Date: Sun Jan 15 19:49:21 2023 +0100 po: Update Portuguese man pages translation Closes: #1028981 Signed-off-by: Guillem Jover man/po/pt.po | 1007 +++++++++++++++++++--------------------------------------- 1 file changed, 330 insertions(+), 677 deletions(-) commit 3c42b0ed7f3c5a762f912583a033733ec9c0e7bf Author: Guillem Jover Date: Fri Dec 23 22:31:22 2022 +0100 Dpkg::OpenPGP::Backend::GnuPG: Set secure signing preferred algorithms The current GnuPG defaults with --openpgp cater for heavy backwards compatibility at the cost of being insecure but potentially being compatible with very old programs. We care more about secure defaults than backwards compatibility with ancient programs, so we pass our preferences to gpg when signing. This should also cover the case for users that have created old keys with insecure key preferences which might end up producing insecure signatures. Fixes: commit b83114daa69c50d368199d00fbb67e190068b273 Closes: #1028961 scripts/Dpkg/OpenPGP/Backend/GnuPG.pm | 3 +++ 1 file changed, 3 insertions(+) commit 0f877f11623b5037b0af1cd681c847fdaf0b43c0 Author: Guillem Jover Date: Wed Jan 11 23:20:16 2023 +0100 po: Update Catalan translation po/ca.po | 81 ++++++++++++++++---------------------------------------- scripts/po/ca.po | 39 ++++++++++----------------- 2 files changed, 37 insertions(+), 83 deletions(-) commit f7b72b44085cfe5ee7755b162dd88c1e2581afba Author: Helge Kreutzmann Date: Wed Jan 11 08:41:28 2023 +0100 po: Update German man pages translation man/po/de.po | 68 +++++++++++++++++------------------------------------------- 1 file changed, 19 insertions(+), 49 deletions(-) commit fb2160d5fda0d821e34047ed6b429aac2f88d159 Author: Sven Joachim Date: Tue Jan 10 21:06:45 2023 +0100 po: Update German programs translation Update to 1184t. po/de.po | 70 +++++++++++++++++----------------------------------------------- 1 file changed, 18 insertions(+), 52 deletions(-) commit ae46ccf83f02b1788473891f7e327ff2e9bd03f2 Author: Guillem Jover Date: Tue Jan 10 18:57:29 2023 +0100 Bump version to 1.21.19 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit ebc2c3def335ac391b010323ab65a302648f3ec7 Author: Guillem Jover Date: Tue Jan 10 18:47:21 2023 +0100 Release 1.21.18 debian/changelog | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) commit a09a47df2161ac7edec2e670c0e624db4c6ffda5 Author: Guillem Jover Date: Tue Jan 10 18:46:37 2023 +0100 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/de.po | 105 ++++++++++++++++++++++++++++++++++++------------ man/po/dpkg-man.pot | 45 +++++++++++++-------- man/po/es.po | 50 ++++++++++++++++------- man/po/fr.po | 70 +++++++++++++++++++++++++------- man/po/hu.po | 42 ++++++++++++------- man/po/it.po | 50 ++++++++++++++++------- man/po/ja.po | 50 ++++++++++++++++------- man/po/nl.po | 82 ++++++++++++++++++++++++++++++------- man/po/pl.po | 50 ++++++++++++++++------- man/po/pt.po | 82 ++++++++++++++++++++++++++++++------- man/po/pt_BR.po | 42 ++++++++++++------- man/po/ru.po | 42 ++++++++++++------- man/po/sv.po | 82 ++++++++++++++++++++++++++++++------- man/po/zh_CN.po | 42 ++++++++++++------- po/ast.po | 45 +++++++++++++++++---- po/bs.po | 44 ++++++++++++++++---- po/ca.po | 80 ++++++++++++++++++++++++++++++++---- po/cs.po | 51 +++++++++++++++++++---- po/da.po | 51 +++++++++++++++++++---- po/de.po | 80 ++++++++++++++++++++++++++++++++---- po/dpkg.pot | 46 +++++++++++++++++---- po/dz.po | 45 +++++++++++++++++---- po/el.po | 46 +++++++++++++++++---- po/eo.po | 51 +++++++++++++++++++---- po/es.po | 51 +++++++++++++++++++---- po/et.po | 46 +++++++++++++++++---- po/eu.po | 51 +++++++++++++++++++---- po/fr.po | 51 +++++++++++++++++++---- po/gl.po | 46 +++++++++++++++++---- po/hu.po | 46 +++++++++++++++++---- po/id.po | 49 ++++++++++++++++++---- po/it.po | 51 +++++++++++++++++++---- po/ja.po | 51 +++++++++++++++++++---- po/km.po | 46 +++++++++++++++++---- po/ko.po | 49 ++++++++++++++++++---- po/ku.po | 44 ++++++++++++++++---- po/lt.po | 46 +++++++++++++++++---- po/mr.po | 46 +++++++++++++++++---- po/nb.po | 50 +++++++++++++++++++---- po/ne.po | 46 +++++++++++++++++---- po/nl.po | 80 ++++++++++++++++++++++++++++++++---- po/nn.po | 46 +++++++++++++++++---- po/oc.po | 48 ++++++++++++++++++---- po/pa.po | 46 +++++++++++++++++---- po/pl.po | 51 +++++++++++++++++++---- po/pt.po | 51 +++++++++++++++++++---- po/pt_BR.po | 46 +++++++++++++++++---- po/ro.po | 49 ++++++++++++++++++---- po/ru.po | 51 +++++++++++++++++++---- po/sk.po | 51 +++++++++++++++++++---- po/sv.po | 80 ++++++++++++++++++++++++++++++++---- po/th.po | 51 +++++++++++++++++++---- po/tl.po | 46 +++++++++++++++++---- po/tr.po | 51 +++++++++++++++++++---- po/vi.po | 51 +++++++++++++++++++---- po/zh_CN.po | 80 ++++++++++++++++++++++++++++++++---- po/zh_TW.po | 51 +++++++++++++++++++---- 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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 96 files changed, 2595 insertions(+), 558 deletions(-) commit 98174a0e2ae552859e8034ba4f1da194bb52e6b9 Author: Guillem Jover Date: Tue Jan 10 12:39:53 2023 +0100 debian: Update copyright years debian/copyright | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cbb34075e2701d61ca976a09991afd73b02d7eb6 Author: Guillem Jover Date: Tue Jan 10 05:34:33 2023 +0100 man: Add a note to dpkg-fsys-usrunmess(8) about Debian support Closes: #1008486 man/dpkg-fsys-usrunmess.pod | 5 +++++ 1 file changed, 5 insertions(+) commit 2c2f7066bd8c3209762762fa6905fa567b08ca5a Author: Guillem Jover Date: Mon Jan 9 02:32:42 2023 +0100 libdpkg: Add zstd support for .deb archives This adds support for .deb ZStandard compression and decompression. The main reason for this addition is due to Ubuntu having forked the .deb ecosystem when they added support for this unilaterally, so now there are many .deb in the wild using this compression format, which cannot be handled by the upstream dpkg-deb tool. Although at least now the ZStandard format is widely used on many projects, has been specified within the IETF as RFC8878, so backwards compatibility and format stability are no longer a concern, and it has good trade offs between size and speed. This has been implemented from scratch, based on the initial prototype code used during the early request evaluation. Using the new advanced API, with support for multi-threading, and using an I/O loop resembling the one used with liblzma, as the plan is to eventually switch all compressors to use a single I/O loop implementation. Closes: #892664 README | 1 + configure.ac | 2 + debian/control | 6 + debian/rules | 1 + lib/dpkg/Makefile.am | 1 + lib/dpkg/compress.c | 342 ++++++++++++++++++++++++++++++++++++++++++++++++- lib/dpkg/compress.h | 1 + lib/dpkg/libdpkg.pc.in | 2 +- m4/dpkg-libs.m4 | 7 + man/deb.pod | 2 + man/dpkg-deb.pod | 12 +- src/Makefile.am | 1 + src/at/deb-format.at | 38 ++++++ src/deb/extract.c | 1 + src/deb/main.c | 3 +- 15 files changed, 411 insertions(+), 9 deletions(-) commit da2a72dd681092ddc59df5bd98784b7f876c0a3e Author: Guillem Jover Date: Mon Jan 9 01:01:51 2023 +0100 libdpkg: Abstract compression stream status tracking Use a new enum dpkg_stream_status to track the stream status, instead of using the liblzma codes directly in the I/O loop, which will make it possible in the future to generalize and use a single loop for all compressors. lib/dpkg/compress.c | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) commit 64e1d8cbf74f751f340cea25c45c7e6d0c5d7765 Author: Guillem Jover Date: Mon Jan 9 00:51:31 2023 +0100 libdpkg: Generalize compression stream action handling Stop handling the xz/lzma actions using the liblzma specific actions, and use a generic enum, renamed from the old dpkg_stream_status, which was in fact partially handling the action. This will make it easier in the future to use the same action for all compressors. lib/dpkg/compress.c | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) commit 02f30a5323bab224292dadb2a79319133997cc21 Author: Guillem Jover Date: Mon Jan 9 00:51:31 2023 +0100 libdpkg: Split compression filter operation tracking from its status Tracking the compression filter operation and its status merges two distinct values into the same variable making things more difficult, as we were using bits when these should really be mutually exclusive values. lib/dpkg/compress.c | 49 +++++++++++++++++++++++++++++-------------------- 1 file changed, 29 insertions(+), 20 deletions(-) commit 785a3f36a6748fbe8c6f9ecbf5e1db5c1e901bac Author: Guillem Jover Date: Mon Jan 9 01:39:52 2023 +0100 libdpkg: Switch dpkg_lzma_strerror() to use struct io_lzma Instead of passing the dpkg_stream_action enum, pass the io_lzma struct, so that we can use other members if needed. lib/dpkg/compress.c | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) commit 75d0fbec710d21965cb0d2c05bd43b26ca47842b Author: Guillem Jover Date: Sun Jan 8 03:39:24 2023 +0100 libdpkg: Move compression level max bound check from dpkg-deb The compression level max bound check is specific to each compressor, and we cannot simply use a single max bound for every compressor. Move the check into the compressor_check_params() function where we can check whether it is coherent with the compressor requested. The dpkg_options_parse_arg_int() already makes sure we get a sanitized value that is 0 or larger but not larger than INT_MAX. lib/dpkg/compress.c | 6 ++++++ src/deb/main.c | 8 +------- 2 files changed, 7 insertions(+), 7 deletions(-) commit 86ceb336de72a69e347c175805b49cfbbc333f99 Author: Guillem Jover Date: Tue Jan 10 05:33:11 2023 +0100 test: Add dpkg-deb build and extract tests We were testing showing or listing the contents, but not explicitly building the compressed packages nor extracting them. Include the ChangeLog.old file which is big, and will better exercise the compressors. src/at/deb-format.at | 60 +++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 50 insertions(+), 10 deletions(-) commit 5f6e45fbbd0637d4d9cc35b9a4ee4d494c1418b4 Author: Guillem Jover Date: Fri Jan 6 20:51:30 2023 +0100 Dpkg::BuildFlags: Fix strip method to always work with duplicates The regex was not correctly matching at the beginning of the line with leading spaces, which could be left by a previous replacement from the same s/// operator. Instead switch to split the flag value and filter based on a hash, which means we do not need to care about such space issues anymore. This change should not change the semantics for space separated options in the flags, as the code was already splitting the passed values on spaces, and then remapping on the entire flag value. Improve strip unit tests to cover all these cases. Closes: #1028044 scripts/Dpkg/BuildFlags.pm | 12 ++++++------ scripts/t/Dpkg_BuildFlags.t | 37 ++++++++++++++++++++++++++++++++++++- 2 files changed, 42 insertions(+), 7 deletions(-) commit 5ecd8ed2f70d3f28c3990dbb725cff691e6c1f7d Author: Guillem Jover Date: Thu Jan 5 21:32:12 2023 +0100 build: Update .mailmap mappings Signed-off-by: Johannes Schauer Marin Rodrigues Signed-off-by: Guillem Jover .mailmap | 3 +++ 1 file changed, 3 insertions(+) commit 8c360a542d6e4d2c4027965fc058978b71f78974 Author: Guillem Jover Date: Thu Jan 5 12:43:29 2023 +0100 Bump version to 1.21.18 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit e91be752ecfc3d4f5514835c79609804940d4b97 Author: Guillem Jover Date: Thu Jan 5 12:34:28 2023 +0100 Release 1.21.17 debian/changelog | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit d3e67df0be99a02fe9233667481b952fa6935d48 Author: Guillem Jover Date: Thu Jan 5 12:34:04 2023 +0100 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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 83 files changed, 87 insertions(+), 87 deletions(-) commit b21501ddcd93b94583bd9553b087b62420b508c8 Author: Guillem Jover Date: Thu Jan 5 12:16:56 2023 +0100 debian: Stop shipping the «git log» changelog in exchange for no trimming It does not make much sense to ship the upstream «git log» changelog which contains lots of fluff and metadata. At the same time the recent debhelper trimming is not ideal as there's no easy way to fetch old entries anymore. So stop shipping the upstream changelog in favor of not trimming the debian/changelog one, which acts as a proper user readable changelog. Closes: #1027716 debian/control | 1 + debian/rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 4c03965ef66810f1ffe3197062cff862c2607856 Author: Guillem Jover Date: Thu Jan 5 12:08:56 2023 +0100 dpkg-genbuildinfo: Do not fail if the cross-compiler cannot compile When bootstrapping a cross-compiler, it might not have some of the required parts available, such as a libc. Catch the error, emit it as a warning and return undef, like with the other conditions where we skip the test. Because in the end this is just a tainting flag, and it is not worth it failing the entire build due to that. Closes: #1027966 scripts/dpkg-genbuildinfo.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 4ffe050b474f07d552f5fbe2b6d313875ca50e4e Author: Guillem Jover Date: Thu Jan 5 12:08:36 2023 +0100 dpkg-buildinfo: Fix indentation Changelog: internal scripts/dpkg-genbuildinfo.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 8ed3e6c410a7d5d431e4eb2b37fb359d5d28d898 Author: Guillem Jover Date: Thu Jan 5 00:08:23 2023 +0100 Bump version to 1.21.17 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit d268488b28cd386a404065141c0c0f3f4112b31b Author: Guillem Jover Date: Wed Jan 4 23:58:12 2023 +0100 Release 1.21.16 debian/changelog | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) commit a7988b79fa8948b6c5c4c700de815defd458f293 Author: Guillem Jover Date: Wed Jan 4 23:57:40 2023 +0100 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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 83 files changed, 87 insertions(+), 87 deletions(-) commit 3652049734f88e3e5a2e9ef840efc3f6972b3386 Author: Guillem Jover Date: Wed Dec 21 23:53:48 2022 +0100 Dpkg::Source::Package::V3::Git: Move error() argument out of g_() call The $file argument should be part of the error() arguments not the g_() arguments. scripts/Dpkg/Source/Package/V3/Git.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b9d03178cda9ab981078b7a30a138e692f48f759 Author: Guillem Jover Date: Tue Jan 3 23:34:23 2023 +0100 Dpkg::OpenPGP::Backend::SOP: Add sqop as an alternative SOP implementation The new version fixes the remaining issue that allows the code to use it as a backend. Add it as a preferred implementation if available. README | 2 +- debian/control | 12 ++++++++---- scripts/Dpkg/OpenPGP/Backend/SOP.pm | 4 +--- scripts/Test/Dpkg.pm | 1 + scripts/t/Dpkg_OpenPGP.t | 1 + 5 files changed, 12 insertions(+), 8 deletions(-) commit 5356621172d669d8f62e7e746a6c7a11345aec4e Author: Guillem Jover Date: Tue Jan 3 23:29:05 2023 +0100 dpkg-deb: Fix buffer overflow on long directory names with old deb formats The handling for deb 0.x formats that relocates files around once extracted was using a buffer with a hardcoded size, not taking into account the length of the directory which would overflow it. Switch to use a dynamically allocated buffer to handle any destination directory length. Reported-by: Georgy Yakovlev src/deb/extract.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 012e394e0212f6996fdefa00df47d972ad25d2d2 Author: Helge Kreutzmann Date: Tue Jan 3 12:40:47 2023 +0100 po: Update German man pages translation man/po/de.add | 2 +- man/po/de.po | 212 +++++++++++----------------------------------------------- 2 files changed, 40 insertions(+), 174 deletions(-) commit cc5ecc7f713c2c0cb799a140d99139816bad1791 Author: Guillem Jover Date: Mon Jan 2 23:33:19 2023 +0100 Dpkg::Compression: Make xz not emit warnings nor exit non-zero on warnings When xz does not have enough memory given the requested threads, it might end up adjusting the memory usage and number of threads, while emitting a warning, and then exiting with non-zero. Both of which we do not want from the library. scripts/Dpkg/Compression.pm | 4 ++++ 1 file changed, 4 insertions(+) commit beb1cdbdf2f5333a85c86e120bb2abc145d07b21 Author: Guillem Jover Date: Mon Jan 2 23:31:09 2023 +0100 Dpkg::Compression: Pass --no-adjust to xz to force compression threaded mode If xz cannot meet the memory usage limit on multi-threaded mode, then it can end up falling back to single-threaded mode, which would then generate different output, making it non-reproducible. This has the drawback that it can then error out. scripts/Dpkg/Compression.pm | 4 ++++ 1 file changed, 4 insertions(+) commit 3ea0300cc1949cb8a32d9a364198cd66f8e5dbfc Author: Guillem Jover Date: Mon Jan 2 23:23:11 2023 +0100 libdpkg: Make xz not emit warnings nor exit non-zero on warnings When xz does not have enough memory given the requested threads, it might end up adjusting the memory usage and number of threads, while emitting a warning, and then exiting with non-zero. Both of which we do not want from the library. lib/dpkg/compress.c | 5 +++++ 1 file changed, 5 insertions(+) commit 71a5c5d1de13c45f1031f1d6f3524cd740c8c0d7 Author: Helge Kreutzmann Date: Mon Jan 2 21:30:55 2023 +0100 po: Update German scripts translation scripts/po/de.po | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) commit a67172beb9d7bda71b186cbbcdb8576acaee3b4d Author: Guillem Jover Date: Mon Jan 2 12:54:25 2023 +0100 Bump version to 1.21.16 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 45f5c05368c50cbd509a95d405e70040c033a76e Author: Guillem Jover Date: Mon Jan 2 12:45:45 2023 +0100 Release 1.21.15 debian/changelog | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit 5e536efa53547bda0f0968ce4a48498b04f131e1 Author: Guillem Jover Date: Mon Jan 2 12:44:53 2023 +0100 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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 83 files changed, 87 insertions(+), 87 deletions(-) commit 3ed9fc40eda34d77ef73e1d0dbb0b47b3c4462b0 Author: Guillem Jover Date: Mon Jan 2 12:34:39 2023 +0100 Dpkg: Temporarily silence deprecation warnings These are causing test suite breakage on other projects, which will block migration for dpkg. Silence them for now. scripts/Dpkg/Build/Info.pm | 6 +++--- scripts/Dpkg/Compression.pm | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit a54ef649da084562600b8fe32fd726bb1523a862 Author: Guillem Jover Date: Mon Jan 2 12:30:50 2023 +0100 Dpkg::Vendor::Debian: Use get_feature() instead of use_feature() for PIE We are distinguishing the feature being undef to cover the builtin case, and use_feature() coerces it to a bool values which makes it lose the undef and causes the flags to include PIE flags. Reported-by: Helmut Grohne scripts/Dpkg/Vendor/Debian.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 32e9c5a319b8abe17f9806fc6737a58237a2aa24 Author: Guillem Jover Date: Mon Jan 2 12:29:30 2023 +0100 Dpkg::BuildFlags: Add new get_feature() method This is relevant with builtin features where use_feature() will coerce the returned value into true or false, and where undef is a valid ternary state we use to track the default the compiler might have. scripts/Dpkg/BuildFlags.pm | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) commit fdcec9afe947e22182b15daaafe286ccd1006eed Author: Sven Joachim Date: Mon Jan 2 09:43:33 2023 +0100 po: Update German programs translation Update to 1178t. po/de.po | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 74aa880ad45ec032ec4501f107c2c6e53789f3b2 Author: Guillem Jover Date: Mon Jan 2 00:10:36 2023 +0100 test: Improve TAP descriptions to clarify we are testing patch(1) The unit tests did not make it clear that we are testing how the system patch(1) works, and not local code. This has caused bugs reported in the past on systems with unsafe patch(1) implementations. scripts/t/Dpkg_Source_Patch.t | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit ac3c72e4a3c2de5a2cdf91a2f4e02b616c37dcb4 Author: Guillem Jover Date: Sun Jan 1 23:57:30 2023 +0100 Bump version to 1.21.15 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit c89c5a80eb1ff3835d72dcbca774cb0f44c66571 Author: Guillem Jover Date: Sun Jan 1 23:48:36 2023 +0100 Release 1.21.14 debian/changelog | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 74 insertions(+), 3 deletions(-) commit 0fdd7d7819854ccb7f0b95316b7a2e076f39d80f Author: Guillem Jover Date: Sun Jan 1 23:48:16 2023 +0100 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/de.po | 320 ++++++++++++++++++++++++++++++++++---------- man/po/dpkg-man.pot | 170 ++++++++++++++--------- man/po/es.po | 189 +++++++++++++++++--------- man/po/fr.po | 278 +++++++++++++++++++++++++++++--------- man/po/hu.po | 168 ++++++++++++++--------- man/po/it.po | 189 +++++++++++++++++--------- man/po/ja.po | 189 +++++++++++++++++--------- man/po/nl.po | 81 +++++++++-- man/po/pl.po | 189 +++++++++++++++++--------- man/po/pt.po | 348 ++++++++++++++++++++++++++++++++++++++---------- man/po/pt_BR.po | 168 ++++++++++++++--------- man/po/ru.po | 168 ++++++++++++++--------- man/po/sv.po | 348 ++++++++++++++++++++++++++++++++++++++---------- man/po/zh_CN.po | 167 ++++++++++++++--------- po/ast.po | 4 +- po/bs.po | 4 +- po/ca.po | 7 +- po/cs.po | 7 +- po/da.po | 7 +- po/de.po | 7 +- po/dpkg.pot | 6 +- po/dz.po | 4 +- po/el.po | 4 +- po/eo.po | 7 +- po/es.po | 7 +- po/et.po | 4 +- po/eu.po | 7 +- po/fr.po | 7 +- po/gl.po | 4 +- po/hu.po | 4 +- po/id.po | 7 +- po/it.po | 7 +- po/ja.po | 7 +- po/km.po | 4 +- po/ko.po | 7 +- po/ku.po | 4 +- po/lt.po | 4 +- po/mr.po | 4 +- po/nb.po | 7 +- po/ne.po | 4 +- po/nl.po | 2 +- po/nn.po | 4 +- po/oc.po | 7 +- po/pa.po | 4 +- po/pl.po | 7 +- po/pt.po | 7 +- po/pt_BR.po | 4 +- po/ro.po | 7 +- po/ru.po | 7 +- po/sk.po | 7 +- po/sv.po | 7 +- po/th.po | 7 +- po/tl.po | 4 +- po/tr.po | 7 +- po/vi.po | 7 +- po/zh_CN.po | 7 +- po/zh_TW.po | 7 +- scripts/po/ca.po | 43 ++++-- scripts/po/de.po | 29 ++-- scripts/po/dpkg-dev.pot | 27 ++-- scripts/po/es.po | 34 +++-- scripts/po/fr.po | 34 +++-- scripts/po/pl.po | 34 +++-- scripts/po/ru.po | 34 +++-- scripts/po/sv.po | 43 ++++-- 96 files changed, 2500 insertions(+), 1061 deletions(-) commit ef00a2b8eda6343222acd150f907209450f245b4 Author: Guillem Jover Date: Mon Dec 26 22:08:09 2022 +0100 Dpkg::BuildInfo: New module to deprecate the Dpkg::Build::Info module The new module gets rid of the deprecated functions and follows the same naming convention as used by the other Dpkg::BuildSomething modules. Keep the old module for backwards compatibility until users have switched over. debian/control | 2 +- scripts/Dpkg.pm | 8 +- scripts/Dpkg/Build/Info.pm | 115 ++++------------------ scripts/Dpkg/{Build/Info.pm => BuildInfo.pm} | 32 ++---- scripts/Makefile.am | 3 +- scripts/dpkg-genbuildinfo.pl | 2 +- scripts/po/POTFILES.in | 1 + scripts/t/{Dpkg_Build_Info.t => Dpkg_BuildInfo.t} | 4 +- 8 files changed, 36 insertions(+), 131 deletions(-) commit 9386095f52e296dff49f662355508485b841e961 Author: Guillem Jover Date: Mon Dec 26 21:57:30 2022 +0100 Dpkg::BuildTypes: Rename from Dpkg::Build::Types This makes this module use the current prevalent convention for the other Dpkg::BuildSomething modules. scripts/Dpkg/{Build/Types.pm => BuildTypes.pm} | 6 +++--- scripts/Makefile.am | 4 ++-- scripts/dpkg-buildpackage.pl | 2 +- scripts/dpkg-genbuildinfo.pl | 2 +- scripts/dpkg-genchanges.pl | 2 +- scripts/po/POTFILES.in | 2 +- scripts/t/{Dpkg_Build_Types.t => Dpkg_BuildTypes.t} | 2 +- scripts/t/dpkg_buildpackage.t | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) commit 96bd0097f60ec30ceaa3871e6f0f574af94f1dc1 Author: Guillem Jover Date: Mon Dec 26 21:52:26 2022 +0100 Dpkg::BuildEnv: Rename from Dpkg::Build::Env This makes this module use the current prevalent convention for the other Dpkg::BuildSomething modules. scripts/Dpkg/Arch.pm | 6 ++-- scripts/Dpkg/{Build/Env.pm => BuildEnv.pm} | 6 ++-- scripts/Dpkg/BuildFlags.pm | 34 ++++++++++---------- scripts/Dpkg/BuildOptions.pm | 6 ++-- scripts/Dpkg/BuildProfiles.pm | 8 ++--- scripts/Dpkg/Vendor.pm | 6 ++-- scripts/Makefile.am | 4 +-- scripts/dpkg-buildflags.pl | 6 ++-- scripts/po/POTFILES.in | 2 +- scripts/t/Dpkg_BuildEnv.t | 50 ++++++++++++++++++++++++++++++ scripts/t/Dpkg_Build_Env.t | 50 ------------------------------ 11 files changed, 89 insertions(+), 89 deletions(-) commit df7627acfadca528e52147cc777fa01b2ed802b4 Author: Guillem Jover Date: Sat Dec 10 19:44:20 2022 +0100 Dpkg::Vendor::Ubuntu: Handle LTO by default using new feature overrides scripts/Dpkg/Vendor/Ubuntu.pm | 6 ++++++ scripts/t/Dpkg_BuildFlags_Ubuntu.t | 13 ++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) commit 372d2a73c0524c41d38e4ed5130a111b1617f2a0 Author: Guillem Jover Date: Mon Dec 26 00:43:55 2022 +0100 Dpkg::Vendor::Ubuntu: Use new build flag option override support to set -O3 scripts/Dpkg/Vendor/Ubuntu.pm | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) commit 1e0f6d9c8db189ea704fee24aa04245acc5d3151 Author: Guillem Jover Date: Sat Dec 10 19:44:08 2022 +0100 Dpkg::Vendor::Ubuntu: Use a string comparison instead of debarch_eq() We have already normalize the arch name, so we can compare against the well known constant string we want, and there is no need to use the comparison function which is intended to compare arch names with different tuple formats. scripts/Dpkg/Vendor/Ubuntu.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cbdd27b11384a397e60426fce1eb41947dc0b248 Author: Guillem Jover Date: Wed Jun 24 04:12:11 2020 +0200 Dpkg::Vendor::Debian: Generalize feature areas defaults Split setting the build features to use, from acting on them to set the build flags based on these. This makes it possible to override these feature defaults by vendors inheriting from a parent, so that they do not have to mangle the generated build flags, or need to modify the parent vendor module to be able to change those defaults. scripts/Dpkg/Vendor/Debian.pm | 313 ++++++++++++++++++++++------------------- scripts/Dpkg/Vendor/Default.pm | 13 ++ 2 files changed, 179 insertions(+), 147 deletions(-) commit f77af7da9adba63c8ba57d090562eca597792445 Author: Guillem Jover Date: Sat Dec 10 20:20:15 2022 +0100 Dpkg::Vendor::Debian: Track option values state as a build flag options This will make it possible track the state of these option values across initialization and usage, and to preset for example the optimization level to specific values, and be overridden by other vendors. scripts/Dpkg/Vendor/Debian.pm | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) commit 02e9c01cd797d20a02b696197fe5849b418f617f Author: Guillem Jover Date: Sat Dec 10 13:55:26 2022 +0100 dpkg-buildflags: Add support for features handled as builtin defaults man/dpkg-buildflags.pod | 17 +++++++++++++++-- scripts/Dpkg/Vendor/Debian.pm | 4 ++-- scripts/dpkg-buildflags.pl | 20 +++++++++++++++++--- 3 files changed, 34 insertions(+), 7 deletions(-) commit 36038b2af4e361c712cdbb78d9f7f26d053a0be0 Author: Guillem Jover Date: Sat Dec 10 13:55:26 2022 +0100 Dpkg::BuildFlags: Add support for builtin build flags These denote build flags that might be handled as builtin defaults by the compiler (even if only on a subset of architectures). The current example of such case would be PIE on gcc in Debian. scripts/Dpkg/BuildFlags.pm | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) commit 36bb56ccd329a9832136b8404afd96715792f8ef Author: Guillem Jover Date: Sat Dec 10 09:21:57 2022 +0100 Dpkg::BuildFlags: Add missing feature area to is_maintainer_modified() POD scripts/Dpkg/BuildFlags.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b5c80eeaf5d17825b9294f8212bfa3e65c779706 Author: Guillem Jover Date: Mon Dec 26 00:38:53 2022 +0100 Dpkg::BuildFlags: Add a new set/get_option_value() private methods This will be used to track the values for some options, so that they can be overridden (such as the optimization level). They are private for now as it's not clear whether this interface is general enough for other uses. scripts/Dpkg/BuildFlags.pm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit a7483666a0864fe0cfd0231432951e6084c7d24b Author: Guillem Jover Date: Thu Jun 30 06:36:45 2022 +0200 Dpkg::BuildFlags: Add a new use_feature() method This abstracts the feature state with this getter so that we can query it from code that needs to act on the features to set actual build flags. scripts/Dpkg/BuildFlags.pm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit 51c78f92c97b83b03f641a462880a533f413e333 Author: Guillem Jover Date: Thu Jun 30 06:19:27 2022 +0200 Dpkg::BuildFlags: Make it possible to not load the vendor defaults on new() In some cases we might want to set features, then apply the vendor defaults. scripts/Dpkg/BuildFlags.pm | 42 +++++++++++++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 9 deletions(-) commit adc0d04c9e91fbcaabae718bfa3fb1d88af02018 Author: Frans Spiesschaert Date: Sun Jan 1 05:04:14 2023 +0100 po: Update Dutch translations Closes: #1027312, #1027313 Signed-off-by: Guillem Jover man/po/nl.po | 890 +++++++++++++++++++++++++++-------------------------------- po/nl.po | 83 +----- 2 files changed, 427 insertions(+), 546 deletions(-) commit 3e2921dfe31cd27ca177260bfd5f6fab065564ca Author: Guillem Jover Date: Fri Dec 30 04:22:57 2022 +0100 Dpkg::Vendor::Devuan: Add new vendor module Add the requested module for this Debian derivative. While ideally this would all be parametrized in fields on the origin files, this is currently not specified, so until that happens, it's convenient to ship this in here. Requested-by: Ivan J. scripts/Dpkg/Vendor/Devuan.pm | 68 +++++++++++++++++++++++++++++++++++++++++++ scripts/Makefile.am | 2 ++ scripts/t/Dpkg_Vendor.t | 4 ++- scripts/t/origins/devuan | 4 +++ t/pod-spell.t | 1 + 5 files changed, 78 insertions(+), 1 deletion(-) commit 854798d4f710d593665221cecd9400c8a353d6f7 Author: Guillem Jover Date: Wed Dec 28 01:03:44 2022 +0100 dpkg-scansources: Turn spaces followed by tabs into spaces Changelog: internal scripts/dpkg-scansources.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4d622412c578dad8432cd30f281796839457d15c Author: Guillem Jover Date: Sat Dec 31 18:33:00 2022 +0100 dselect, src, utils: Remove excess blank lines Changelog: internal dselect/pkgdepcon.cc | 1 - src/main/remove.c | 2 -- src/main/script.c | 1 - src/split/queue.c | 2 -- utils/start-stop-daemon.c | 1 - 5 files changed, 7 deletions(-) commit d7a1dfdfc24d19e7ed6444490fe146f06f928042 Author: Guillem Jover Date: Wed Dec 28 00:57:07 2022 +0100 perl: Remove excess blank lines Changelog: internal dselect/methods/Dselect/Ftp.pm | 2 -- dselect/methods/ftp/install.pl | 2 -- dselect/methods/ftp/setup.pl | 1 - dselect/methods/ftp/update.pl | 1 - scripts/Dpkg/Control/Info.pm | 1 - scripts/Dpkg/Shlibs/Objdump.pm | 1 - scripts/Dpkg/Vendor/Ubuntu.pm | 3 --- scripts/dpkg-source.pl | 4 ---- scripts/dpkg-vendor.pl | 6 ------ 9 files changed, 21 deletions(-) commit 3cb1667e634a1177125603ef9e481d60114b2c7e Author: Guillem Jover Date: Wed Dec 28 01:03:44 2022 +0100 scripts: Cuddle else and elsif Changelog: internal scripts/Dpkg/Deps/Simple.pm | 44 +++++++++++++++++++++----------------------- scripts/dpkg-scansources.pl | 12 ++++-------- 2 files changed, 25 insertions(+), 31 deletions(-) commit ccf620a0d5e7b01cacb42da3d666dc185a84ebcb Author: Guillem Jover Date: Wed Dec 28 01:25:37 2022 +0100 perl: Fix list and hash literals indentation Changelog: internal dselect/methods/Dselect/Ftp.pm | 26 ++++++++++++++------------ scripts/Dpkg/Shlibs/Cppfilt.pm | 8 ++++++-- scripts/Dpkg/Source/Archive.pm | 16 ++++++++++------ scripts/Dpkg/Source/Patch.pm | 26 ++++++++++++++++++++++---- scripts/Dpkg/Vendor/Ubuntu.pm | 13 ++++++++----- scripts/dpkg-scanpackages.pl | 19 ++++++++++--------- scripts/t/Dpkg_Version.t | 12 +++++++----- 7 files changed, 77 insertions(+), 43 deletions(-) commit 600a31364d4b931eac18fa0fd0be45fb27e10b26 Author: Guillem Jover Date: Tue Dec 27 23:57:51 2022 +0100 scripts: Fix indentation Changelog: internal scripts/Dpkg/Compression.pm | 2 +- scripts/Dpkg/Compression/FileHandle.pm | 4 ++-- scripts/Dpkg/Compression/Process.pm | 6 +++--- scripts/Dpkg/Shlibs/Objdump.pm | 10 ++++++---- scripts/dpkg-architecture.pl | 4 ++-- scripts/dpkg-scansources.pl | 8 ++++---- scripts/dpkg-source.pl | 2 +- 7 files changed, 19 insertions(+), 17 deletions(-) commit 16f3f21bd28eaaf9d5603ada605c2577c5a5068e Author: Guillem Jover Date: Wed Dec 28 01:28:17 2022 +0100 perl: Add missing space around equal-based operators Changelog: internal dselect/methods/Dselect/Ftp.pm | 6 +++--- dselect/methods/file/install.sh | 30 +++++++++++++++--------------- dselect/methods/ftp/setup.pl | 6 +++--- dselect/methods/ftp/update.pl | 2 +- dselect/methods/media/install.sh | 30 +++++++++++++++--------------- dselect/mkcurkeys.pl | 16 ++++++++-------- scripts/Dpkg/Changelog/Debian.pm | 2 +- scripts/Dpkg/Source/Package/V3/Git.pm | 2 +- scripts/dpkg-architecture.pl | 2 +- scripts/dpkg-distaddfile.pl | 2 +- scripts/dpkg-genchanges.pl | 6 +++--- scripts/dpkg-gencontrol.pl | 10 +++++----- scripts/dpkg-gensymbols.pl | 4 ++-- scripts/dpkg-scanpackages.pl | 2 +- scripts/t/Dpkg_Source_Format.t | 2 +- 15 files changed, 61 insertions(+), 61 deletions(-) commit abf7ed906f2031ef92a9c7b9cb4c98800f5189f8 Author: Guillem Jover Date: Sun Dec 25 23:23:20 2022 +0100 debian: Bump Standards-Version to 4.6.2 Switch to use the «stanza» term (even though not normative) so that both dpkg and Debian policy match on terminology. debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7ca052dc464073153e54e213a4b9b10cb30bc681 Author: Guillem Jover Date: Sat Dec 17 06:04:33 2022 +0100 dselect: Rename functions with names containing block to stanza Apply the same «stanza» term usage unification matching the documentation fixes, to function names. Notes: Changelog: internal dselect/methods/ftp/install.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 36ca123e50f45056f2638930de88612cf93d8497 Author: Guillem Jover Date: Sat Dec 17 06:02:01 2022 +0100 libdpkg: Rename functions with names containing record to stanza Apply the same «stanza» term usage unification matching the documentation fixes, to function names. dselect/pkginfo.cc | 6 ++++-- lib/dpkg/dbmodify.c | 2 +- lib/dpkg/dpkg-db.h | 13 ++++++++----- lib/dpkg/dump.c | 20 ++++++++++---------- lib/dpkg/libdpkg.map | 6 +++--- src/main/enquiry.c | 2 +- src/query/main.c | 8 ++++---- 7 files changed, 31 insertions(+), 26 deletions(-) commit c50a5e75d936c889e5952f30771fa8e372ddcd1f Author: Guillem Jover Date: Sat Dec 17 05:55:15 2022 +0100 scripts: Use stanza instead of entry or block Apply the same «stanza» term usage unification matching the documentation fixes, to the perl POD, code comments and error strings. scripts/Dpkg.pm | 2 +- scripts/Dpkg/Control.pm | 22 +++++++++++----------- scripts/Dpkg/Control/Hash.pm | 2 +- scripts/Dpkg/Control/HashCore.pm | 5 +++-- scripts/Dpkg/Control/Info.pm | 7 ++++--- scripts/Dpkg/Control/Tests/Entry.pm | 2 +- scripts/Dpkg/Control/Types.pm | 10 +++++----- 7 files changed, 26 insertions(+), 24 deletions(-) commit 273368f2ddb6d847877b833305075fcfb81482ff Author: Guillem Jover Date: Sun Sep 18 20:36:12 2022 +0200 man: Use stanza instead of paragraph, block or record for deb822 parts The «stanza» name is a commonly used and understood term when referring to deb822 parts. Although «paragraph» is commonly used it has the problem of being confusing as it then makes it hard to distinguish actual text paragraphs in prose, while «stanza» is a very specific term that is not applied anywhere else in the deb822 context, so it's always more clear and specific, than also block or record. In addition «stanza» is shorter, which is always a nice attribute on code for example. This unifies the terminology used with recent changes in the Debian policy manual, to try to make these concepts more clear in general. man/deb-src-control.pod | 19 ++++++++----------- man/deb822.pod | 26 +++++++++++++------------- man/dpkg-parsechangelog.pod | 4 ++-- man/dpkg-scansources.pod | 6 +++--- man/update-alternatives.pod | 9 +++++---- 5 files changed, 31 insertions(+), 33 deletions(-) commit d10189de919e2183f99a3e81999833903f570535 Author: Guillem Jover Date: Thu Dec 29 23:47:07 2022 +0100 man: Turn spaces followed by tabs into spaces in s-s-d(8) man/start-stop-daemon.pod | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit e41769dac031cf13f66a1b8cc9d0162ef480d6f8 Author: Guillem Jover Date: Thu Dec 29 23:35:10 2022 +0100 man: Document s-s-d options that might be no-ops on some systems The user needs to be aware that these options might not do anything depending on the system. man/start-stop-daemon.pod | 6 ++++++ 1 file changed, 6 insertions(+) commit deee34d832343a8bfb17dc1d886fd1c4c67480b1 Author: Guillem Jover Date: Tue Dec 27 23:33:04 2022 +0100 doc: Update TODO Reorganize and remove done or no longer relevant items. TODO | 171 ++++++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 87 insertions(+), 84 deletions(-) commit d972decc4ccf9d6b2d68a71ee2869ea4c444349d Author: Helge Kreutzmann Date: Sun Dec 25 05:56:00 2022 +0100 po: Update German man pages translation man/po/de.po | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) commit 94b48844a7dd20e059926792ed2821a9bdac7b56 Author: Helge Kreutzmann Date: Sun Dec 25 05:54:44 2022 +0100 po: Update German scripts translation scripts/po/de.po | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 6c26447caa08c0b8400a47000cd49270b156ab23 Author: Guillem Jover Date: Fri Dec 23 04:17:18 2022 +0100 libdpkg: Mark tar on-disk members with attribute nonstring These tar fields are not necessarily NUL-terminated, and marking them as such helps the compiler analyze what's going on with such the memory management. lib/dpkg/macros.h | 6 ++++++ lib/dpkg/tarfn.c | 28 ++++++++++++++-------------- 2 files changed, 20 insertions(+), 14 deletions(-) commit 0989e39aba56f4c2745324bdedf4a9d794591d3b Author: Guillem Jover Date: Fri Dec 23 22:49:58 2022 +0100 lib: Use __has_attribute() to check for attribute availability While most compilers currently define gcc macro versions, so that these kind of checks work. It's just more correct to perform a feature check, to test for the actual attribute being supported, in case the compiler has support for __has_attribute(). lib/compat/compat.h | 12 +++++++++--- lib/dpkg/macros.h | 24 +++++++++++++++--------- 2 files changed, 24 insertions(+), 12 deletions(-) commit fc44e9edd298fc9fb637ed937c92f81f4fcc0084 Author: Guillem Jover Date: Fri Dec 23 22:45:53 2022 +0100 lib: Use __name__ format for attributes This should reduce the chance of misbehavior due to symbol collision from unexpected macro definitions on users including these headers. lib/compat/compat.h | 10 +++++----- lib/dpkg/macros.h | 22 +++++++++++----------- 2 files changed, 16 insertions(+), 16 deletions(-) commit 44db684c1621f8728f97ffbaadb236b2c9a83944 Author: Guillem Jover Date: Fri Dec 23 22:56:51 2022 +0100 lib: Refactor format attributes into a common *_ATTR_FMT This should reduce the duplication and horizontal space usage somewhat. lib/compat/compat.h | 6 ++++-- lib/dpkg/macros.h | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) commit 89af164cc0cc11ba42ad184263fae1ab98524922 Author: Guillem Jover Date: Thu Nov 24 03:21:38 2022 +0100 libdpkg: Split DPKG_ATTR_ declarations We might want to make these conditional on other criteria, so defining them all based on the same version is too restrictive. lib/dpkg/macros.h | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) commit c01058887174361fc29e7bd6ac9c52c51827df8f Author: Guillem Jover Date: Sun Dec 18 23:57:57 2022 +0100 dpkg-source: Add new --threads-max option to control threaded compressors man/dpkg-source.pod | 5 +++++ scripts/dpkg-source.pl | 6 ++++++ 2 files changed, 11 insertions(+) commit 002ca4806a3e60e7d7d2f916882e8437f47f06f7 Author: Guillem Jover Date: Tue Dec 20 04:05:40 2022 +0100 Dpkg::Compression: Add multi-threaded xz support Add new functions to set and get the threads to use, and hook this into the function constructing the command-line to use to execute the compression methods. debian/control | 9 ++++++--- scripts/Dpkg/Compression.pm | 48 +++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 52 insertions(+), 5 deletions(-) commit 80814ea23c6bba4998b8fa0fd296f0877268552d Author: Guillem Jover Date: Thu Dec 22 23:37:43 2022 +0100 Dpkg::Compression: Deprecate compression_get_property() This function does not have a very nice interface. With the newly added direct getters/setters, this function can be replaced and deprecated. It will be removed in the future with the module bump to 3.00. scripts/Dpkg/Compression.pm | 9 +++++++++ 1 file changed, 9 insertions(+) commit b700288ba1133b5c322b616960be81e2e44ac409 Author: Guillem Jover Date: Thu Dec 22 04:01:26 2022 +0100 Dpkg::Compression: Add new compression_get/set_cmdline_de/compress() These functions handle the compression and decompression command-line, which centralizes command-specific option setting, such as compression level, or things like multi-threading. This also removes the last item necessary from compression_get_property, which can be deprecated now. scripts/Dpkg/Compression.pm | 53 ++++++++++++++++++++++++++++++++++++- scripts/Dpkg/Compression/Process.pm | 12 ++------- 2 files changed, 54 insertions(+), 11 deletions(-) commit d3c314634429c7566c7b6670bb6ac464ebcbb37b Author: Guillem Jover Date: Thu Dec 22 03:17:35 2022 +0100 Dpkg::Compression: Add new compression_get/set_level() and switch to it These functions handle compression specific levels, instead of just modifying the global default. scripts/Dpkg/Compression.pm | 44 ++++++++++++++++++++++++++++++++++++- scripts/Dpkg/Compression/Process.pm | 7 +++--- scripts/Dpkg/Source/Package.pm | 3 +-- scripts/Dpkg/Source/Package/V1.pm | 2 +- scripts/t/Dpkg_Compression.t | 11 +++++++++- 5 files changed, 58 insertions(+), 9 deletions(-) commit 226a9bef590ff748cf3ed7d95f0720a0cd8bd984 Author: Guillem Jover Date: Thu Dec 22 03:20:08 2022 +0100 Dpkg::Compression: Use %COMP directly in functions when it is safe Calling compression_get_property() from these function is wasteful, as we are already guaranteed the compressor is valid, and we are requesting a known property. In addition we are going to be deprecating the function, so better get rid of unnecessary usage early on. scripts/Dpkg/Compression.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2b8000184edafd0baa74c709d581a0ec7763f7bb Author: Guillem Jover Date: Thu Dec 22 03:18:46 2022 +0100 Dpkg::Compression: Clarify the compression_get/set_default_level() are global These functions handle the global default level, not just a specific compression level. scripts/Dpkg/Compression.pm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit 8c086e076358b699616ea0b08e38bc24362e4135 Author: Guillem Jover Date: Thu Dec 22 02:21:40 2022 +0100 Dpkg::Compression: Move the POD for each function immediately before it This makes the documentation more clear, as it's close to the actual function it is documenting. scripts/Dpkg/Compression.pm | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) commit b20e6c7503a05e02e2763dcb846345eb7654489d Author: Guillem Jover Date: Thu Dec 22 02:18:25 2022 +0100 Dpkg::Compression: Add new compression_get_file_extension() and switch to it We were using the properties fetching API, which is not very good. Use instead a dedicated function to fetch the actual file extension. scripts/Dpkg/Compression.pm | 24 ++++++++++++++++++++++-- scripts/Dpkg/Compression/FileHandle.pm | 2 +- scripts/Dpkg/Source/Package.pm | 3 +-- scripts/Dpkg/Source/Package/V1.pm | 2 +- scripts/Dpkg/Source/Package/V2.pm | 2 +- scripts/dpkg-scansources.pl | 2 +- scripts/t/Dpkg_Compression.t | 7 ++++++- 7 files changed, 33 insertions(+), 9 deletions(-) commit a8cc2c8b59a596eec6c4ba29a98cbb1540ed3277 Author: Guillem Jover Date: Thu Dec 22 02:04:39 2022 +0100 Dpkg::Compression: Change $COMP hashref into a %COMP hash There's no point in using this variable as a hashref. scripts/Dpkg/Compression.pm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 746c73d49d30bb0cd748befb547b2bf3df282eb5 Author: Guillem Jover Date: Tue Dec 20 04:05:40 2022 +0100 Dpkg::Compression::Process: Unify and simplify cmdline handling Make the two functions handle the program name fetching in the same way, and simplify the compression level option generation. scripts/Dpkg/Compression/Process.pm | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 88fd5de693da4ead4167d9cc2b469551ddd924f1 Author: Guillem Jover Date: Thu Dec 22 02:41:00 2022 +0100 test: Add unit tests for most of Dpkg::Compression scripts/t/Dpkg_Compression.t | 49 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) commit 264d54935e1c6dddaad75128036e480f58de51e6 Author: Guillem Jover Date: Thu Dec 22 04:35:38 2022 +0100 man: Document dpkg-source -q option This option was missing from the man page. man/dpkg-source.pod | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 9eba8623b3b22ad9db3f737d81ce5ff2fa0b7245 Author: Guillem Jover Date: Tue Dec 20 19:00:34 2022 +0100 libdpkg: Use correct return type in meminfo functions definitions Warned-by: gcc-13 -Wenum-int-mismatch lib/dpkg/meminfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e497c77f960e6068458eb6a1c315eedee08afc45 Author: Guillem Jover Date: Tue Dec 20 03:39:29 2022 +0100 debian: Clarify new xz multi-threded support is for decompression Notes: Changelog: s/multi-threded/multi-threaded/ debian/changelog | 2 +- debian/control | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 1c6922a32d913aadcae0a263c69f4009a37d7102 Author: Guillem Jover Date: Mon Dec 19 02:22:20 2022 +0100 Bump version to 1.21.14 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit ff61d6d650e0455d4c070306a482cf757285d58b Author: Guillem Jover Date: Mon Dec 19 02:11:00 2022 +0100 Release 1.21.13 debian/changelog | 48 +++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 45 insertions(+), 3 deletions(-) commit e28d9b0774d66b2e2e30320d57fdec5eb597aa77 Author: Guillem Jover Date: Mon Dec 19 02:07:45 2022 +0100 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/de.po | 39 +++++++++++++++++++-------------------- man/po/dpkg-man.pot | 20 ++++++++++---------- man/po/es.po | 18 +++++++++--------- man/po/fr.po | 18 +++++++++--------- man/po/hu.po | 18 +++++++++--------- man/po/it.po | 18 +++++++++--------- man/po/ja.po | 18 +++++++++--------- man/po/nl.po | 18 +++++++++--------- man/po/pl.po | 18 +++++++++--------- man/po/pt.po | 18 +++++++++--------- man/po/pt_BR.po | 18 +++++++++--------- man/po/ru.po | 18 +++++++++--------- man/po/sv.po | 18 +++++++++--------- man/po/zh_CN.po | 18 +++++++++--------- 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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 96 files changed, 222 insertions(+), 223 deletions(-) commit b01ec44bf0b44a64c6baaf7c124a1a2bb22d021e Author: Guillem Jover Date: Mon Dec 19 02:00:20 2022 +0100 Use hyphenated multi-threaded in text Changelog: internal debian/changelog | 2 +- m4/dpkg-libs.m4 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 36951c03384431a14aacf5620c39e37878ab54b1 Author: Guillem Jover Date: Sat Dec 17 05:26:45 2022 +0100 debian: Fix typo in changelog Changelog: silent debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f7e903cb286893cea06d45303f241ef2bf26d153 Author: Guillem Jover Date: Fri Dec 16 23:12:56 2022 +0100 debian: Add pkgconf as main Build-Depends alternative to pkg-config Even though pkgconf provides pkg-config, the latter project is pretty dormant upstream, and has been completely replaced by the former on several distributions, including Debian. debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cf36e5ce66f5784513dca5c922df9ec11a2b4461 Author: Guillem Jover Date: Mon Dec 19 01:55:37 2022 +0100 debian: Clarify versioned dependency rationale comments Mention the version is needed, not just the dependency. This makes it clear the comment in case we want to remove the versioned restriction. debian/control | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 14103a89cd3e1892f016157a74c5936c1f75b43f Author: Guillem Jover Date: Sun Dec 18 23:57:57 2022 +0100 debian: Require liblzma >= 5.4.0 for multi-threaded compressor support Although we support conditionally enabling the support if it's available, this might not guarantee we get it at build time depending on the build system. debian/control | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit f9792596d17df93ce44ab71dd0abb2ba9aad8f27 Author: Guillem Jover Date: Mon Dec 19 01:49:12 2022 +0100 libdpkg: On threads-max > 0 pass --no-adjust to xz to force threaded mode If xz cannot meet the memory usage limit on multi-threaded mode, then it can end up falling back to single-threaded mode, which would then generate different output, making it non-reproducible. This has the drawback that it can then error out. lib/dpkg/compress.c | 4 ++++ 1 file changed, 4 insertions(+) commit 2143a237b02909d299bcd70b0f28dc0bfc49b7d1 Author: Guillem Jover Date: Sun Dec 18 04:09:54 2022 +0100 libdpkg: Pass -T+1 instead of -T1 to xz when compressing The xz -T1 option selects a single-threaded mode which generates different output than in multi-threaded mode. To avoid the non-reproducible output we pass -T+1 (supported with xz >= 5.4.0) to request multi-threaded mode with a single thread. lib/dpkg/compress.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit b83114daa69c50d368199d00fbb67e190068b273 Author: Guillem Jover Date: Thu Dec 15 23:45:06 2022 +0100 Dpkg::Backend::GnuPG: Ensure future signing interop with gpg --openpgp GnuPG upstream has decided to get out of the standardizing process for OpenPGP, and instead is trying to push its own proprietary fork based on an old draft that did not have consensus within the IETF working group. This is going to be a source of interoperability problems, but we can mitigate them somewhat when creating signatures by requiring compliance with the OpenPGP RFC, even if it's going to be locked into an old version, as later ones are not planned to get implemented. More so, given that the latest releases of GnuPG have been switched to default to the proprietary draft. scripts/Dpkg/OpenPGP/Backend/GnuPG.pm | 1 + 1 file changed, 1 insertion(+) commit eb86aaa906c28f1c8d2139fca7200a3b9049da12 Author: Guillem Jover Date: Wed Dec 14 04:42:11 2022 +0100 libdpkg: Add new multithreaded xz decompression support Starting with the xz 5.4.0 release, liblzma now supports multithreaded decompression. Add the code to make use of it in libdpkg, if the liblzma library in the system supports that, to improve the archive unpacking speed. Closes: #956452 lib/dpkg/compress.c | 24 ++++++++++++++++++++++++ m4/dpkg-libs.m4 | 4 ++++ 2 files changed, 28 insertions(+) commit 898533f356a5a082242cbdfb1a18687c4db1fd40 Author: Guillem Jover Date: Mon Dec 12 23:17:15 2022 +0100 man: Move parallel-safe note from dpkg-buildpackage -j option to --jobs-force When changing the semantics for -j, the commit added a note about the safety of Makefiles, but that should have gone into the --jobs-force option description, which is the one affected by this issue. Fixes: commit 1d0ea9b2ba3f6a2de5b1a6ff55f3df7b71f73db6 man/dpkg-buildpackage.pod | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit c316137d14c826a2feef342eb64f4235b49f38bc Author: Guillem Jover Date: Fri Dec 9 23:36:19 2022 +0100 utils: Switch to use libcompat attributes This avoids the dpkg namespaced attributes, for tools that are currently supposed to be generic and not tied to dpkg itself. utils/start-stop-daemon.c | 18 +++++++++--------- utils/update-alternatives.c | 32 ++++++++++++++++---------------- 2 files changed, 25 insertions(+), 25 deletions(-) commit b1ede27290bb9c32c5f6a2f455dca42109f9406f Author: Guillem Jover Date: Fri Dec 9 23:35:32 2022 +0100 libcompat: Add noreturn and sentinel C attributes This will be used by u-a and s-s-d, to avoid dpkg specific symbol usage. lib/compat/compat.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 6ccac302cd1867ece3bf5b0f6da522d326268c1e Author: Guillem Jover Date: Wed Dec 14 04:23:57 2022 +0100 build: Include for printf() usage in __progname check In the C99 standard, the implicit function declarations got removed, and as we use printf() we need to include the header declaring it. m4/dpkg-funcs.m4 | 1 + 1 file changed, 1 insertion(+) commit e9db995536768405bb6bf074e0364087f1526e98 Author: Guillem Jover Date: Tue Dec 13 03:26:13 2022 +0100 build: Fix m4 files coding style m4/dpkg-funcs.m4 | 20 ++++++++++++-------- m4/dpkg-libs.m4 | 14 +++++++------- 2 files changed, 19 insertions(+), 15 deletions(-) commit 035d596be6b05a3a8023bd92b8809e9c2aba45a5 Author: Guillem Jover Date: Fri Dec 9 23:40:22 2022 +0100 build: Consider lib and utils prefixes as internal in gen-changelog build-aux/gen-changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2e933227b54b3b59377d825caa89147846d96d8d Author: Boyuan Yang Date: Fri Dec 9 01:21:01 2022 +0100 po: Update Simplified Chinese programs translation Closes: #1025625 Signed-off-by: Guillem Jover po/zh_CN.po | 77 ++++++++++--------------------------------------------------- 1 file changed, 12 insertions(+), 65 deletions(-) commit 6b4fdaa805b66d897785bb2d88de32a99d990138 Author: Guillem Jover Date: Thu Dec 8 20:30:38 2022 +0100 libdpkg: Fix pdb_lax_stanza_parser and pdb_allow_empty aliased values The pdb_lax_stanza_parser constant was assigned the last value to avoid renumbering all other enum constants, but because it was placed unordered it was predictably not future-proof. Later on a new constant was assigned as the last enum constant reusing that same value, causing the current aliasing. This ends up currently being a non-issue, as all places where we pass one of the constants we also pass the other. Fixes: commit 99c9cdbf1b9650ef5025c3c06ea918ef3007888e lib/dpkg/dpkg-db.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 05211ed35519936565cf7e9c8df00a341fec549a Author: Guillem Jover Date: Wed Dec 7 23:45:09 2022 +0100 build: Distribute missing test file Fixes: commit e5b74526da9fc2e4acbcaa10464e0669007d3a87 Changelog: silent scripts/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit f2678508dbbaa99d0d30ea81e4868f6548117dd1 Author: Guillem Jover Date: Wed Dec 7 19:27:48 2022 +0100 test: Use perl instead of yes+dd to generate a data-file for deb-split Using yes+dd is problematic, and we already had to cope with SIGPIPE issues in the past. When using busybox's dd, the output is truncated unless we use iflag=fullblock which is a rather non-portable option. POSIX in general is rather lacking when it comes to standard commands to fetch a limited number of bytes. Instead of trying to do more portability gymnastics, simply switch to use perl, which we already depend on for the test suite, and is going to be more portable and featureful. src/at/deb-split.at | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 1800f1868560a5c151a009684ecad7fe0de482d1 Author: Guillem Jover Date: Wed Dec 7 19:17:26 2022 +0100 test: Use the PERL detected at configure time in autotests We should use the same perl we detected at configure time which fulfilled the requirements we were looking for. src/at/atlocal.in | 1 + src/at/local.at | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 894b324e119cba4642cd37db3cf3f91e2169f538 Author: Guillem Jover Date: Wed Dec 7 18:30:11 2022 +0100 test: Skip dpkg-source tests if xz is not present scripts/t/dpkg_source.t | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 1ae1df77def762243315002a32ad081e5360e24e Author: Guillem Jover Date: Wed Dec 7 18:29:24 2022 +0100 test: Skip deb-format tests if gzip is not present src/at/deb-format.at | 2 ++ 1 file changed, 2 insertions(+) commit 5118565e42f5b143da51d6756c865abcba60b2c0 Author: Guillem Jover Date: Wed Dec 7 18:28:38 2022 +0100 test: Switch Dpkg::Source::Package test to use test_needs_openpgp_backend() We can use any OpenPGP backend command not just gpg. scripts/t/Dpkg_Source_Package.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b3ccd6e7ed621aa58b3201ee3b9ea250e58c5932 Author: Guillem Jover Date: Wed Dec 7 18:26:17 2022 +0100 Test::Dpkg: Refactor OpenPGP requisite into test_needs_openpgp_backend() We will be using this in several tests, refactor to avoid duplication. scripts/Test/Dpkg.pm | 17 +++++++++++++++++ scripts/t/Dpkg_OpenPGP.t | 11 +---------- 2 files changed, 18 insertions(+), 10 deletions(-) commit e5b74526da9fc2e4acbcaa10464e0669007d3a87 Author: Guillem Jover Date: Wed Dec 7 17:42:38 2022 +0100 test: Use a custom dpkg database directory for dpkg-buildpackage tests We should not expect a system dpkg being installed and functional, nor any contents on its database in case it is installed. Add an empty status file and point the dpkg-buildpackage invocations to use that, to have controlled and predictable results. scripts/t/dpkg_buildpackage.t | 1 + scripts/t/dpkg_buildpackage/dpkgdb/status | 0 2 files changed, 1 insertion(+) commit 025c027726894ad5a357c4055847c6d8ee8a9bc0 Author: Guillem Jover Date: Wed Dec 7 16:25:28 2022 +0100 dpkg-architecture: Fix indentation Changelog: internal scripts/dpkg-architecture.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1fbd68e425224e1e2163a2bb52d666fceec3659e Author: Guillem Jover Date: Tue Dec 6 19:32:47 2022 +0100 libcompat: Use an union to track chunkfun and freefun These member functions are "overloaded" and can take one or two arguments depending on the use_extra_arg member. Use an union with two members, one for each function prototype. Warned-by: gcc -Wcast-function-type on musl-libc lib/compat/obstack.c | 16 ++++++++-------- lib/compat/obstack.h | 14 ++++++++++---- 2 files changed, 18 insertions(+), 12 deletions(-) commit 945297295a41a12e3702ae3b7dbbdf3eeea028ba Author: Guillem Jover Date: Tue Dec 6 19:32:32 2022 +0100 libcompat: Switch obstack to use size_t This makes the code 64-bit clean, by using the correct type instead of a mix of int and long. lib/compat/obstack.c | 24 ++++++++++++------------ lib/compat/obstack.h | 48 ++++++++++++++++++++++++------------------------ 2 files changed, 36 insertions(+), 36 deletions(-) commit ff9cc777dcf77fa66b38be295821d4673ab8ac3a Author: Guillem Jover Date: Tue Dec 6 19:44:33 2022 +0100 libcompat: Switch manual copying to memcpy() in obstack module This is shorter, and should be more performant on any system with a decently optimized memcpy() implementation. lib/compat/obstack.c | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) commit 3665b24c8d9e4da0974387f3dc4bc19a6097262f Author: Guillem Jover Date: Tue Dec 6 19:27:37 2022 +0100 libcompat: Remove unused arguments from ngettext() fallback macro This is confusing the compiler and it stops seeing the argument as a literal string so it cannot check the format string. Warned-by: gcc -Wformat-nonliteral on musl-libc lib/compat/gettext.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8077899fa07aa89af531c90a8b635f0ffe803ecb Author: Guillem Jover Date: Tue Dec 6 18:55:53 2022 +0100 lib: Stop using register keyword This keyword is just a hint, and the compiler is in a way better position to decide where to allocate these variables. In C++ the keyword is deprecated and in C++17 it cannot be used. lib/compat/getopt.c | 4 ++-- lib/compat/obstack.c | 26 +++++++++++++------------- lib/dpkg/strhash.c | 4 ++-- 3 files changed, 17 insertions(+), 17 deletions(-) commit 209ffbbf7c8fcf49d9296c969feb7a41aece6525 Author: Guillem Jover Date: Tue Dec 6 18:37:08 2022 +0100 s-s-d: Cast struct sockaddr_un to struct sockaddr on bind() call Changelog: internal Warned-by: gcc -Wincompatible-pointer-types on musl-libc utils/start-stop-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 77e07f0b3c4250f698cc449b3d713d472cefc6c8 Author: Guillem Jover Date: Tue Dec 6 20:08:14 2022 +0100 test: Skip deb-format tests if required compressors are not present When these program are not present, we should skip the test instead of failing it completely. src/at/deb-format.at | 5 +++++ 1 file changed, 5 insertions(+) commit 0a937771bdba33149527b278d13cb53290d18c9e Author: Guillem Jover Date: Tue Dec 6 04:38:39 2022 +0100 Bump version to 1.21.13 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 7a6923916aae349a769a64d911911caf5da4886d Author: Guillem Jover Date: Tue Dec 6 04:28:50 2022 +0100 Release 1.21.12 debian/changelog | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit 1928a39049e0bfedf68233a2bdf2d8b384384404 Author: Guillem Jover Date: Tue Dec 6 04:27:56 2022 +0100 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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 83 files changed, 87 insertions(+), 87 deletions(-) commit 0bbcb17bbf1e673783d511ba7b3fdeaaaeaa2dbb Author: Guillem Jover Date: Tue Dec 6 03:02:48 2022 +0100 dpkg-architecture: Properly compute required information to gather We are using bits to track the required information to gather. The problem was that we were also using those same bits to discriminate what variables had been seen from the environment and to remove them if so, but those bits were not unique per variable, several were shared among various variables, causing information to not be gathered. Instead track seen variables with a hash, and move the dependencies back into the environment variable definitions. We also use high-precedence operators on the conditional for the next command. This was surfaced when using GNU make >= 4.4, as that respects exported make variables into $(shell) functions, which caused infinite loops due to various of the calls in the test suite not returning anything anymore. Reported-by: Sören Tempel scripts/dpkg-architecture.pl | 107 +++++++++++++++++++------------------------ 1 file changed, 46 insertions(+), 61 deletions(-) commit 9911a35358859421c4b20119d43790afc0dc23e6 Author: Guillem Jover Date: Tue Dec 6 02:48:00 2022 +0100 dpkg-architecture: Rename information tracking constants and variables Give them more meaningful names, and avoid the confusing similarity with the environment variable names. Changelog: internal scripts/dpkg-architecture.pl | 172 +++++++++++++++++++++---------------------- 1 file changed, 86 insertions(+), 86 deletions(-) commit 5be05ae4b0845ba0aad90ce72a7eaba646de04c2 Author: Guillem Jover Date: Sun Dec 4 18:40:58 2022 +0100 debian: Add libmd-dev to libdpkg-dev Depends The package currently only provides a static library, and as such all its dependencies (which are supposed to be implementation details) leak into the users. So to avoid them having to be aware of these details, add the needed dependency to the development package. Reported-by: Alexandre Detiste debian/control | 1 + 1 file changed, 1 insertion(+) commit eb54c69b659b80cb0d429b7f5b60654b33c37d4c Author: Guillem Jover Date: Sat Dec 3 11:36:06 2022 +0100 debian: Set paths for configure in autopkgtests to match installed ones Some of the tests compare the pathnames with expected ones, but because we were not setting them to match the tests were failing. debian/tests/test-not-root | 10 +++++++++- debian/tests/test-root | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) commit ef479cad92653067358dd942962c134155997ed5 Author: Guillem Jover Date: Sat Dec 3 00:30:36 2022 +0100 Bump version to 1.21.12 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 94a1e31c098546c876a73208ea11aa8be96e3cff Author: Guillem Jover Date: Sat Dec 3 00:18:59 2022 +0100 Release 1.21.11 debian/changelog | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) commit 7f946e909642db626370cd8423058a172c4ece6d Author: Guillem Jover Date: Sat Dec 3 00:18:28 2022 +0100 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 | 8 ++++---- man/po/hu.po | 6 +++--- man/po/pt_BR.po | 9 +++++---- man/po/ru.po | 6 +++--- man/po/zh_CN.po | 10 ++++++---- 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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 87 files changed, 106 insertions(+), 103 deletions(-) commit e3efa1831e335bf76525f46b4318d0c0ad924b1e Author: Guillem Jover Date: Sat Dec 3 00:01:23 2022 +0100 po: Unfuzzy translations after markup fixes man/po/de.po | 12 ++++++------ man/po/es.po | 8 ++++---- man/po/fr.po | 8 ++++---- man/po/it.po | 8 ++++---- man/po/ja.po | 8 ++++---- man/po/nl.po | 8 ++++---- man/po/pl.po | 8 ++++---- man/po/pt.po | 8 ++++---- man/po/sv.po | 8 ++++---- 9 files changed, 38 insertions(+), 38 deletions(-) commit 6941108e4a29402b52b9e6c57087f66f9439e86f Author: Guillem Jover Date: Fri Dec 2 20:39:41 2022 +0100 man: Remove B<> or replace with S< > These were leftovers from the troff to POD conversion. Fixes: commit fceea323cf33dbb5c01e2614cdb3edc82366801e man/deb-control.pod | 2 +- man/deb-src-control.pod | 2 +- man/dpkg.pod | 2 +- man/dsc.pod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 2f52f362657acddc32dbe117e67d288fd66379ef Author: Guillem Jover Date: Fri Dec 2 19:41:20 2022 +0100 debian: Update copyright years debian/copyright | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit eae25aa1fb85123e4d981d2d242fb2262a5ca026 Author: Guillem Jover Date: Fri Dec 2 00:10:02 2022 +0100 debian: Remove obsolete libncursesw5-dev alternative from Build-Depends This was a transitional package already in the current Debian stable release. Warned-by: lintian debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3b1542f43f9637103a18d029428139b5b22a7b91 Author: Guillem Jover Date: Thu Dec 1 23:40:14 2022 +0100 doc: Fix typo in Doxyfile.in The update from «doxygen -u» carrier over this typo from upstream. Fixes: commit 3e2227b1f1b27052358fd2e7a8647f72b3a2017e Warned-by: codespell Changelog: silent doc/Doxyfile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2bec078d3be86aef7106f67f7e7a919c5e53ed3e Author: Guillem Jover Date: Thu Dec 1 22:41:44 2022 +0100 dpkg-genbuildinfo: Do not fail if there is no cross-comiler When bootstrapping an architecture, or even on circumstances where we might be cross-compiling using a language other than C/C++ we cannot expect such cross-compiler to be present. In those cases simply ignore the taint check. Fixes: commit 36a7770f03e9e4d1865d25ad74b27d82c07b6f84 Closes: #1025273 scripts/dpkg-genbuildinfo.pl | 7 +++++++ 1 file changed, 7 insertions(+) commit 3e2227b1f1b27052358fd2e7a8647f72b3a2017e Author: Guillem Jover Date: Thu Dec 1 22:28:54 2022 +0100 doc: Update Doxygen configuration from version 1.9.4 Replace a4wide paper size with a4, as the former is obsolete and emits warnings, but «doxygen -u» does not update it automatically. Warned-by: doxygen doc/Doxyfile.in | 348 ++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 211 insertions(+), 137 deletions(-) commit dd8df8b474f03e39a503864455ad12a44aea9df9 Author: Guillem Jover Date: Thu Dec 1 22:27:40 2022 +0100 doc: Update Doxyfile after code reorganization Fixes: commit affb86e43bdf72ed2b4deaa8b9fe13f313c58363 Warned-by: doxygen doc/Doxyfile.in | 2 -- 1 file changed, 2 deletions(-) commit 484e77807a1cc0662bf7c30a8769cf904ab4d4cf Author: Guillem Jover Date: Thu Dec 1 22:31:40 2022 +0100 libdpkg: Document str_end parameter for str_strip_quotes() Warned-by: doxygen lib/dpkg/string.c | 1 + 1 file changed, 1 insertion(+) commit 6ae2f7ee308d14d33227079058821b5fa759bb73 Author: Guillem Jover Date: Thu Dec 1 22:17:54 2022 +0100 debian: Add source lintian-overrides Ignore false positives for localized POD files generated by po4a. Makefile.am | 1 + debian/source/lintian-overrides | 2 ++ 2 files changed, 3 insertions(+) commit f76e5157185213d1f0a9431e5af9bda27d29cedc Author: Guillem Jover Date: Thu Dec 1 21:11:32 2022 +0100 debian: Add libmd-dev to the test-root and test-not-root autopkgtests We need to run configure to be able to run installcheck target, and libmd-dev is now a required component that will make configure fail. This makes the autopkgtest fail on such tests. debian/tests/control | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit bf7cadebc60d000832d88d903cc49dd98235c833 Author: Helge Kreutzmann Date: Thu Dec 1 18:45:57 2022 +0100 po: Update German man pages translation man/po/de.po | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit be085b7aa9bf63643620a77b61660f92e5acca51 Author: Guillem Jover Date: Thu Dec 1 13:03:34 2022 +0100 Bump version to 1.21.11 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 42093f3e9094abc8fb906492ab2009eb12b64604 Author: Guillem Jover Date: Thu Dec 1 12:17:07 2022 +0100 Release 1.21.10 debian/changelog | 305 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 302 insertions(+), 3 deletions(-) commit 7d7b46fb72b3edae14a83159ab42cc688fcdac1e Author: Guillem Jover Date: Thu Dec 1 12:12:14 2022 +0100 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/de.po | 29 +- man/po/dpkg-man.pot | 538 +++++++++++++++++++------ man/po/es.po | 687 +++++++++++++++++++++++++------- man/po/fr.po | 833 +++++++++++++++++++++++++++++++------- man/po/hu.po | 571 ++++++++++++++++++++------ man/po/it.po | 686 ++++++++++++++++++++++++------- man/po/ja.po | 686 ++++++++++++++++++++++++------- man/po/nl.po | 903 ++++++++++++++++++++++++++++++++++------- man/po/pl.po | 690 +++++++++++++++++++++++++------- man/po/pt.po | 914 ++++++++++++++++++++++++++++++++++-------- man/po/pt_BR.po | 577 +++++++++++++++++++++------ man/po/ru.po | 578 +++++++++++++++++++++------ man/po/sv.po | 1019 +++++++++++++++++++++++++++++++++++++---------- man/po/zh_CN.po | 570 ++++++++++++++++++++------ po/ast.po | 46 ++- po/bs.po | 36 +- po/ca.po | 2 +- po/cs.po | 49 ++- po/da.po | 49 ++- po/de.po | 2 +- po/dpkg.pot | 38 +- po/dz.po | 38 +- po/el.po | 46 ++- po/eo.po | 49 ++- po/es.po | 49 ++- po/et.po | 38 +- po/eu.po | 49 ++- po/fr.po | 53 ++- po/gl.po | 46 ++- po/hu.po | 38 +- po/id.po | 46 ++- po/it.po | 50 ++- po/ja.po | 53 ++- po/km.po | 38 +- po/ko.po | 46 ++- po/ku.po | 38 +- po/lt.po | 38 +- po/mr.po | 38 +- po/nb.po | 46 ++- po/ne.po | 38 +- po/nl.po | 96 ++++- po/nn.po | 38 +- po/oc.po | 38 +- po/pa.po | 38 +- po/pl.po | 96 ++++- po/pt.po | 50 ++- po/pt_BR.po | 46 ++- po/ro.po | 46 ++- po/ru.po | 49 ++- po/sk.po | 49 ++- po/sv.po | 59 ++- po/th.po | 49 ++- po/tl.po | 38 +- po/tr.po | 49 ++- po/vi.po | 49 ++- po/zh_CN.po | 96 ++++- po/zh_TW.po | 49 ++- scripts/po/ca.po | 5 +- scripts/po/de.po | 7 +- scripts/po/dpkg-dev.pot | 156 ++++++-- scripts/po/es.po | 227 ++++++++--- scripts/po/fr.po | 227 ++++++++--- scripts/po/pl.po | 229 ++++++++--- scripts/po/ru.po | 227 ++++++++--- scripts/po/sv.po | 307 +++++++++++--- 96 files changed, 9807 insertions(+), 2917 deletions(-) commit 8a0d0d133a383a5205a75d3918077d8206e5bf0e Author: Guillem Jover Date: Thu Dec 1 02:41:12 2022 +0100 po: Update Catalan translations dselect/po/ca.po | 20 ++-- po/ca.po | 106 +++++++++---------- scripts/po/ca.po | 303 ++++++++++++++++++++++++++++++++++++------------------- 3 files changed, 249 insertions(+), 180 deletions(-) commit 7b8719d19b3c5b080588865dd0b181e2fdf1dc77 Author: Guillem Jover Date: Thu Jul 21 02:11:35 2022 +0200 Dpkg::OpenPGP: Add Stateless OpenPGP (SOP) backend support This adds support for the Stateless OpenPGP Command-Line Interface, as drafted at: https://datatracker.ietf.org/doc/draft-dkg-openpgp-stateless-cli/ as a new OpenPGP backend. Multiple SOP implementations can be supported, as long as they support the required draft version and interfaces. This commit currently only explicitly probes for the pgpainless-cli SOP implementation, as the one that conforms to our expectations. README | 1 + debian/control | 14 +++-- man/dpkg-buildpackage.pod | 3 + scripts/Dpkg/OpenPGP.pm | 2 + scripts/Dpkg/OpenPGP/Backend/SOP.pm | 110 ++++++++++++++++++++++++++++++++++++ scripts/Makefile.am | 1 + scripts/t/Dpkg_OpenPGP.t | 2 + 7 files changed, 129 insertions(+), 4 deletions(-) commit 0efaa64ecb93492722e9ad9394f5755107f047c0 Author: Sven Joachim Date: Wed Nov 30 17:43:56 2022 +0100 po: Update German programs translation Update to 1178t. po/de.po | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) commit fb59786901ea57d5b99584e79962a1fab6720498 Author: Helge Kreutzmann Date: Wed Nov 30 17:34:59 2022 +0100 po: Update German man pages translation man/po/de.po | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 50 insertions(+), 7 deletions(-) commit bac01497d151305157302868bd1fbfbd134ab6b2 Author: Guillem Jover Date: Wed Nov 30 05:56:32 2022 +0100 libdpkg: Add missing symbols for options-dirs module Fixes: commit 042ea3b92bcae6517135e22ffd574fdd0d1ba55d Fixes: commit 71a8b54e2b412f1d34dc4f5529f932e893f6dab0 Changelog: silent lib/dpkg/libdpkg.map | 3 +++ 1 file changed, 3 insertions(+) commit c9cfffcebe181a61d2981b79aa82d4af39523520 Author: Guillem Jover Date: Thu Sep 1 03:35:01 2022 +0200 test: Add functional tests for --root, --instdir and --admindir options These makes sure these interact with each other as expected, and take the defaults and the DPKG_ROOT and DPKG_ADMINDIR environment variables into account. dselect/main.cc | 2 + src/Makefile.am | 1 + src/at/atlocal.in | 2 + src/at/chdir.at | 491 ++++++++++++++++++++++++++++++++++++++++++++++++ src/at/local.at | 2 + src/at/testsuite.at | 4 + src/divert/main.c | 3 + src/main/main.c | 2 + src/query/main.c | 3 + src/split/main.c | 4 + src/statoverride/main.c | 3 + src/trigger/main.c | 3 + 12 files changed, 520 insertions(+) commit 4dda65356f685f5648b43ee41edc35f1d9c2b935 Author: Guillem Jover Date: Sun Nov 27 13:50:31 2022 +0100 dpkg-split: Add support for --root and --admindir This program accesses the database, so we should make it support at least the --root, --admindir options and the DPKG_ROOT, DPKG_ADMINDIR environment variables. This complements the existing --depotdir option. man/dpkg-split.pod | 23 +++++++++++++++++++++++ src/split/main.c | 16 ++++++++++------ 2 files changed, 33 insertions(+), 6 deletions(-) commit 042ea3b92bcae6517135e22ffd574fdd0d1ba55d Author: Guillem Jover Date: Wed Nov 30 04:26:16 2022 +0100 libdpkg: Automatically initialize fsys and db dirs on demand Change the dpkg_fsys_* and dpkg_db_* functions to initialize the directories when needed, so that it guarantees the users can always use these functions safely, and they respect the expected initialization order. Refactor the set_instdir() and set_admindir() functions so that we can set their values correctly in a single place. Fixes: commit b8f9e1c3ce86818d14ccad403e6ad2e6b52e6b12 Reported-by: stackomatiker (on stackoverflow) Ref: https://stackoverflow.com/questions/73529576 dselect/main.cc | 17 ++------------ lib/dpkg/dbdir.c | 62 +++++++++++++++++++++++++++++++++++-------------- lib/dpkg/fsys-dir.c | 58 +++++++++++++++++++++++++++++++-------------- lib/dpkg/options-dirs.c | 28 ++++++++++++++++++++++ lib/dpkg/options.h | 4 ++++ src/divert/main.c | 21 +---------------- src/main/main.c | 20 +--------------- src/query/main.c | 15 +----------- src/split/main.c | 2 -- src/statoverride/main.c | 21 +---------------- src/trigger/main.c | 14 +---------- 11 files changed, 125 insertions(+), 137 deletions(-) commit 71a8b54e2b412f1d34dc4f5529f932e893f6dab0 Author: Guillem Jover Date: Sat Nov 26 04:07:03 2022 +0100 libdpkg: Add new options-dirs module to handle directory option parsing This will centralize all directory option parsing, which we will refactor from the various programs. But we start with the admindir setter, which currently has no function to refactor from. lib/dpkg/Makefile.am | 1 + lib/dpkg/options-dirs.c | 33 +++++++++++++++++++++++++++++++++ lib/dpkg/options.h | 3 +++ 3 files changed, 37 insertions(+) commit 3dae1ce0da98fae368b268cb0ebb92d3570af02a Author: Guillem Jover Date: Sat Nov 26 04:07:23 2022 +0100 src: Avoid using instdir directly except for initialization Whenever we are not initializing the instdir variable prefer to get it from dpkg_fsys_get_dir() so that we can then easily remove the variable entirely and rely on the fsys module tracking the contents for us. src/divert/main.c | 2 +- src/main/main.c | 4 ++-- src/statoverride/main.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit 73a0987a87511b33fdaaf35eb7b9f4c3a29cc400 Author: Guillem Jover Date: Sat Nov 26 03:35:34 2022 +0100 src: Make instdir static Whenever we need to access it use dpkg_fsys_get_dir() instead, so that we do not need to make it an extern variable. src/divert/main.c | 2 +- src/main/archives.c | 10 +++++----- src/main/configure.c | 4 ++-- src/main/main.c | 2 +- src/main/main.h | 1 - src/main/remove.c | 4 ++-- src/main/script.c | 1 + src/main/unpack.c | 2 +- src/main/verify.c | 2 +- src/statoverride/main.c | 2 +- 10 files changed, 15 insertions(+), 15 deletions(-) commit 2579adba0ddb239505dad5603c5274742d119b1d Author: Guillem Jover Date: Sun Nov 27 18:58:50 2022 +0100 dpkg: Fix setting admindir when root is set We need to set the filesystem root directory before setting the database directory. src/main/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 183bede403d0ccc51230ca652fdef09c13c40108 Author: Sven Joachim Date: Mon Nov 28 20:00:36 2022 +0100 po: Update German programs translation Update to 1178t. po/de.po | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) commit 5f941e73c1e62d09b2935fcb0a392d848f98d56d Author: Helge Kreutzmann Date: Mon Nov 28 19:50:21 2022 +0100 po: Update German man pages translation man/po/de.po | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) commit 74100d9d04efeee4dd1b3fbe3fd5d10ccc2f92b6 Author: Guillem Jover Date: Sun Nov 27 03:25:15 2022 +0100 libdpkg: Add support for a new DPKG_DEBUG environment variable This makes it possible to set the debugging mask for any program calling the dpkg_program_init() function. lib/dpkg/debug.c | 19 +++++++++++++++++++ lib/dpkg/debug.h | 1 + lib/dpkg/libdpkg.map | 1 + lib/dpkg/program.c | 2 ++ man/dpkg-divert.pod | 6 ++++++ man/dpkg-query.pod | 6 ++++++ man/dpkg-split.pod | 6 ++++++ man/dpkg-statoverride.pod | 6 ++++++ man/dpkg-trigger.pod | 6 ++++++ man/dpkg.pod | 5 +++++ 10 files changed, 58 insertions(+) commit 191071aa4d06dda6db6046317eade85bf7d87cc4 Author: Guillem Jover Date: Sun Nov 27 02:17:41 2022 +0100 libdpkg: Refactor debug_parse_mask() We will use this function to parse both the argument from the CLI option, and a new environment variable. lib/dpkg/debug.c | 24 ++++++++++++++++++++++++ lib/dpkg/debug.h | 1 + lib/dpkg/libdpkg.map | 1 + src/main/main.c | 8 ++------ 4 files changed, 28 insertions(+), 6 deletions(-) commit 3878c7d16c3aa1917ef1ebbd7cfc2cf11de12f65 Author: Guillem Jover Date: Sun Nov 27 01:03:45 2022 +0100 src: Handle --help and --version as proper actions These are documented, and behave as actions. Change the option parsing code to treat them as such. This will make it possible to use them as safe commands to use for trivial functional tests and debugging output. src/common/actions.h | 3 +++ src/deb/main.c | 16 ++++++++-------- src/divert/main.c | 16 ++++++++-------- src/main/main.c | 16 ++++++++-------- src/query/main.c | 16 ++++++++-------- src/split/main.c | 16 ++++++++-------- src/statoverride/main.c | 16 ++++++++-------- src/trigger/main.c | 16 ++++++++-------- 8 files changed, 59 insertions(+), 56 deletions(-) commit dbf596a27524c2a8f11234ac03cb8d2231943135 Author: Guillem Jover Date: Mon Nov 28 00:22:20 2022 +0100 build: Consider scripts/mk prefixes as new «Make fragments» in gen-changelog This involves the Makefile fragments that can be used from «debian/rules» as a file-based interface. build-aux/gen-changelog | 5 +++++ 1 file changed, 5 insertions(+) commit 122a575b0acc52041135dc323a640563bb22b228 Author: Guillem Jover Date: Mon Nov 28 00:18:10 2022 +0100 build: Consider src and scripts prefixes as internal in gen-changelog These are global changes, so consider them by default internal code changes and refactoring. They can always get marked as public changes. build-aux/gen-changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f3cc96365f148db995feadff94d87af55124cfa2 Author: Guillem Jover Date: Sun Nov 27 13:41:18 2022 +0100 dpkg-statoverride: Load database only from within relevant actions This moves this action specific code from the generic main() handling, so that we can add new actions that might not need the database, and we do not inflict unnecessary slowdowns. Changelog: internal src/statoverride/main.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit ec28c134d983d65f5c5cebb1f8f36cfe884758be Author: Guillem Jover Date: Sun Nov 27 13:39:48 2022 +0100 dpkg-divert: Load database only from within relevant actions This moves this action specific code from the generic main() handling, so that we can add new actions that might not need the database, and we do not inflict unnecessary slowdowns. Changelog: internal src/divert/main.c | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) commit de7563166ab969c08df036708f3644d526499c98 Author: Guillem Jover Date: Sun Nov 27 01:01:51 2022 +0100 dpkg-trigger: Use ACTION macros and cipaction for CLI action selection This unifies the action handling with the other dpkg commands, makes it extensible so that adding new actions is just a matter of hooking them in the cmdinfos list. Changelog: internal src/trigger/main.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) commit 2c9627e9c07db36bea215d4c6968b0fb9743080f Author: Guillem Jover Date: Sun Nov 27 00:56:04 2022 +0100 dpkg-trigger: Turn do_check() into a cipaction function This will make it possible to declare it with an ACTION macro. Changelog: internal src/trigger/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 8b401764be37209ddae9048ca6b0e1199ad7ee6a Author: Guillem Jover Date: Sun Nov 27 00:53:02 2022 +0100 dpkg-trigger: Refactor trigger activation into a new function Move the bulk of the default action into its own function, so that we can then switch to use the same cipaction pattern used for all other dpkg programs. Changelog: internal src/trigger/main.c | 72 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 41 insertions(+), 31 deletions(-) commit 96550f63b562d40c96e26c34149940aa3bf85f33 Author: Guillem Jover Date: Sun Nov 27 13:42:50 2022 +0100 man: Fix --depotdir default pathname in dpkg-split(1) The default was missing the «/parts» directory. man/dpkg-split.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8bcbab5f8a48c16241306284285fc98a81ac3aad Author: Guillem Jover Date: Fri Nov 25 03:23:30 2022 +0100 test: Rename m4 variables that matched environment variable names These prevent the environment variables from being used in the test suite as they get replaced by the m4 macros. src/at/divert.at | 44 ++++++++++++++++++++++---------------------- src/at/local.at | 38 +++++++++++++++++++------------------- 2 files changed, 41 insertions(+), 41 deletions(-) commit de5fe0a6c1913b98f028a1ea832adba7b680a156 Author: Guillem Jover Date: Fri Nov 25 03:23:30 2022 +0100 test: Fix typo in DPKG_GEN_FSYS_LINK m4 macro The link-name had a colon which meant it would not get replaced by its m4 macro. src/at/local.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 40c347dd52277fafda123208dc799ed7c1c1e8e2 Author: Guillem Jover Date: Sat Nov 26 01:32:44 2022 +0100 test: Fix typo in u-a test comment We use ENV_ alias instead of the actual DPKG_ environment variable names, as these are configurable at build time, for systems that are not dpkg based. utils/t/update_alternatives.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e1b614edd6ed1f7bf886bb354f4ae47810a39686 Author: Guillem Jover Date: Sat Nov 26 01:32:24 2022 +0100 libdpkg: Remove unneeded intermediate variable in dpkg_fsys_set_dir() When dir is already NULL, there is no point in protecting any assignment from getenv() as we are not stomping over any possible pre-existing value anyway. Remove the intermediate env variable. lib/dpkg/fsys-dir.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) commit cb4e153bc9694f49df1ddd296d34c5fe52393142 Author: Guillem Jover Date: Sat Nov 26 01:25:40 2022 +0100 Dpkg::Shlibs: Handle unknown executable file formats If the Dpkg::Shlibs::Objdump::get_format() fails due to missing file, I/O errors, the executable not being an ELF file, mismatched ELF version, unknown ELF bits or endianness, then the function will return an undefined value. We need to fix the call site to cope with it, otherwise we get perl warnings about uninitialized variables being used. Reported-by: Helmut Grohne (on IRC) scripts/Dpkg/Shlibs.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 6f3b858e4e3a1823f3ce3a0e37467e9dafe9ba5b Author: Guillem Jover Date: Thu Nov 24 03:54:41 2022 +0100 Dpkg::OpenPGP::Backend::GnuPG: Use has_verify_cmd() instead of ad-hoc checks This is clearer, and in addition fixes a logic inversion issue in the check. Fixes: commit f10f1fbe9e52a6be500504f23d8f5b4a429e9d53 Changelog: silent scripts/Dpkg/OpenPGP/Backend/GnuPG.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c44f7a8d96aa8652f0f3527b9f89b345cb00c99f Author: Guillem Jover Date: Thu Nov 24 03:57:50 2022 +0100 Dpkg::Source::Package: Move arguments from Dpkg::Checksums to Dpkg::OpenPGP The constructor arguments got misplaced. Move them to the one that was intended. Fixes: commit 6afb4b99eefeebd3de2868b590ce42def0906446 Changelog: silent scripts/Dpkg/Source/Package.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1e0a71f8761cab3505128eb3b7d930e92f98acd3 Author: Guillem Jover Date: Thu Nov 24 03:19:06 2022 +0100 Dpkg::Source::Package: Import Dpkg::OpenPGP::ErrorCodes We are using the openpgp_errorcode_to_string() function, so we need to import the module providing it. Fixes: commit 99793954b46abaeb63bd766a7ed8227800f358e2 Changelog: silent scripts/Dpkg/Source/Package.pm | 1 + 1 file changed, 1 insertion(+) commit 29a5093b8b5b6850bff0bfe07daa810e4b4a3c30 Author: Guillem Jover Date: Thu Nov 24 03:17:53 2022 +0100 Dpkg::Gettext: Add new gettext compatibility stub We are calling gettext() from various places, but we might not have Locale::gettext available. debian/copyright | 2 +- scripts/Dpkg/Gettext.pm | 19 +++++++++++++++++-- 2 files changed, 18 insertions(+), 3 deletions(-) commit 9c39e5c4a2716c34069391f61ded551b93c83198 Author: Helge Kreutzmann Date: Wed Nov 23 16:36:02 2022 +0100 po: Update German man pages translation man/po/de.po | 62 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 32 insertions(+), 30 deletions(-) commit 3a751b9d11d38492e762b8f8debdbf1bcf1e22de Author: Guillem Jover Date: Mon Nov 21 23:27:05 2022 +0100 u-a: Switch point at which we increment alternative refcount Instead of incrementing the refcount from the call sites, do that from within the alternative_map_add() function which is the one taking the reference. And unref on the functions that get their local functions get out of scope. Which is way more correct, and removes the anti-pattern of having to recall to increment the refcount before calling any subsequent alternative_map_add() after the second one. utils/update-alternatives.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 7a11fa9fce23feac0ee6eb88797fa38d761e1928 Author: Guillem Jover Date: Tue Nov 15 23:30:52 2022 +0100 test: Add functional tests for triggers database handling tests/Makefile | 1 + tests/t-triggers-db/.gitignore | 3 ++ tests/t-triggers-db/Makefile | 50 ++++++++++++++++++++++ .../pkg-triggers-foreign/DEBIAN/control | 9 ++++ .../pkg-triggers-foreign/DEBIAN/triggers | 2 + .../pkg-triggers-native/DEBIAN/control | 8 ++++ .../pkg-triggers-native/DEBIAN/triggers | 2 + .../t-triggers-db/pkg-triggers-same/DEBIAN/control | 9 ++++ .../pkg-triggers-same/DEBIAN/triggers | 2 + tests/t-triggers-db/tmpl-db-foreign/arch | 2 + tests/t-triggers-db/tmpl-db-foreign/info/format | 1 + .../tmpl-db-foreign/info/pkg-triggers.list | 1 + .../tmpl-db-foreign/info/pkg-triggers.md5sums | 0 .../tmpl-db-foreign/info/pkg-triggers.triggers | 2 + tests/t-triggers-db/tmpl-db-foreign/status | 10 +++++ tests/t-triggers-db/tmpl-db-foreign/triggers/File | 1 + .../tmpl-db-foreign/triggers/a-trigger | 1 + tests/t-triggers-db/tmpl-db-native/arch | 2 + tests/t-triggers-db/tmpl-db-native/info/format | 1 + .../tmpl-db-native/info/pkg-triggers.list | 1 + .../tmpl-db-native/info/pkg-triggers.md5sums | 0 .../tmpl-db-native/info/pkg-triggers.triggers | 2 + tests/t-triggers-db/tmpl-db-native/status | 10 +++++ tests/t-triggers-db/tmpl-db-native/triggers/File | 1 + .../tmpl-db-native/triggers/a-trigger | 1 + tests/t-triggers-db/tmpl-db-same/arch | 2 + tests/t-triggers-db/tmpl-db-same/info/format | 1 + .../tmpl-db-same/info/pkg-triggers:amd64.list | 1 + .../tmpl-db-same/info/pkg-triggers:amd64.md5sums | 0 .../tmpl-db-same/info/pkg-triggers:amd64.triggers | 2 + tests/t-triggers-db/tmpl-db-same/status | 10 +++++ tests/t-triggers-db/tmpl-db-same/triggers/File | 1 + .../t-triggers-db/tmpl-db-same/triggers/a-trigger | 1 + 33 files changed, 140 insertions(+) commit 6bfc419d97ef62e06ce33bfa7b55ec0abe417536 Author: Guillem Jover Date: Sun Oct 9 12:27:59 2022 +0200 libdpkg, dpkg: Switch triggers database to use reproducible package names For package name tracking in the triggers database, whether a package is Multi-Arch foreign not matching the current native architecture is not relevant, as there can only be one such package installed on the system. Closes: #990712 lib/dpkg/triglib.c | 4 ++-- src/trigger/main.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 9766de9bd192a5175c07487a205b2443c8388649 Author: Guillem Jover Date: Sun Oct 9 12:17:16 2022 +0200 libdpkg: Add a new pnaw_same package name printing mode We need this new mode to use in for database related package names so that they can make the database reproducible. lib/dpkg/dpkg-db.h | 2 ++ lib/dpkg/pkg-show.c | 4 ++++ lib/dpkg/t/t-pkg-show.c | 11 ++++++++++- 3 files changed, 16 insertions(+), 1 deletion(-) commit a32fb22530adbeefd78b3d342cc0b8583d1282da Author: Guillem Jover Date: Sun Oct 9 12:19:53 2022 +0200 libdpkg: Switch trk_explicit_interest_change() to use pkg_spec_parse_pkg() This is more future proof, will handle upgrades properly even if the package specification has changed, and matches the other trigger interest file parsing code so that they match now. lib/dpkg/triglib.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit d46ae794f017270518cef6b3a12ecb958904837d Author: Guillem Jover Date: Tue Nov 22 03:19:20 2022 +0100 libdpkg: Parse and dump the explicit trigger await option on interest changes Always parse the trigger await option flag instead of letting it through, whatever it might be. This simplifies the trigger parsing and makes it more robust. lib/dpkg/triglib.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 0cb290e61398cf5ecd51f2a54821d9a33e261ddd Author: Guillem Jover Date: Tue Nov 22 03:19:20 2022 +0100 libdpkg: Refactor database trigger await option parse/dump Refactor the parsing and dumping of trigger await options into a couple of function. This unifies the parsing into a single place so that we can apply the same semantics and defaults. lib/dpkg/triglib.c | 66 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 41 insertions(+), 25 deletions(-) commit fe3fe95c764524881d4b77afce9c65664b927c8b Author: Guillem Jover Date: Wed Nov 16 03:37:26 2022 +0100 build: Do not ignore Makefile under the functional test suite The functional test suite uses plain Makefile files to drive the tests, so ignoring them means we cannot easily add and commit these files into git. tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 566c21f4d868a166396ae5f86573c644678f0769 Author: Guillem Jover Date: Mon Nov 21 23:25:26 2022 +0100 test: Switch NULL to DPKG_NULL in header file This header is used by both C and C++ code, so we need to use the special DPKG_NULL macro with resolves to either NULL or nullptr to work on both languages. Warned-by: clang-16 lib/dpkg/test.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4d1cace535d551c379662866eb628c932266b527 Author: Guillem Jover Date: Mon Nov 21 23:24:22 2022 +0100 test: Use pkginstance in a new unit test This variable was being modified but never actually used. Add a check that verifies its expected value. Warned-by: clang-16 lib/dpkg/t/t-pkg-hash.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 098ddd46a5a3c1cc6fd01d088563cf5ca08900f6 Author: Guillem Jover Date: Sun Nov 20 23:33:13 2022 +0100 test: Remove unused cppcheck suppressions t/cppcheck/cppcheck.supp | 24 ------------------------ 1 file changed, 24 deletions(-) commit 2a077d98b0750d89468f7ecb88932309a0edd5e9 Author: Guillem Jover Date: Sun Nov 20 23:32:17 2022 +0100 test: Tell cppcheck the C/C++ standards the code intends to comply with This should give cppcheck a better understanding of what the code semantics are. t/cppcheck.t | 1 + 1 file changed, 1 insertion(+) commit 73891ef26d6f5eff343d6859272865201fff8d36 Author: Guillem Jover Date: Sun Nov 20 23:31:35 2022 +0100 test: Make cppcheck unknownMacro suppression more specific Bind it to the actual files currently triggering this report. t/cppcheck/cppcheck.supp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 4fbfd0c6b3204797369e1fde5578753f380226f2 Author: Guillem Jover Date: Sun Nov 20 23:26:40 2022 +0100 test: Move active line-based cppcheck suppressions into inline comments Keeping these line-based suppressions in sync with the code is cumbersome and error-prone. Move them as inline suppressions in comments, so that they can easily follow the line number when the code in the file moves around. dselect/pkgsublist.cc | 1 + lib/dpkg/triglib.c | 2 ++ t/cppcheck.t | 1 + t/cppcheck/cppcheck.supp | 7 ------- 4 files changed, 4 insertions(+), 7 deletions(-) commit 3f2468135799c30aef77d5ff2def7424930d5709 Author: Guillem Jover Date: Sun Nov 20 23:29:25 2022 +0100 test: Use --quiet instead of -q on cppcheck invocations Use the long version to make the option obvious, as there is no need for succinctness in scripts, and no portability concerns. t/cppcheck.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8d9103e3699db3aa62b32b948e6f5ec8c4dc1710 Author: Guillem Jover Date: Mon Nov 21 02:24:22 2022 +0100 test: Use long options for aspell invocation Use the long version to make the option obvious, as there is no need for succinctness in scripts, and no portability concerns. t/pod-spell.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 03d5e50dc778da129eebe1b0e151a70243366d58 Author: Guillem Jover Date: Mon Nov 21 02:23:55 2022 +0100 build: Use long options for autotools commands Use the long version to make the option obvious, as there is no need for succinctness in scripts, and no portability concerns. README.l10n | 4 ++-- autogen | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 2c7c2dd4a761c1459c5f0aa66f1ddf61906cc799 Author: Guillem Jover Date: Mon Nov 21 03:04:39 2022 +0100 build: Fix coverage reports after code restructuring Fixes: commit affb86e43bdf72ed2b4deaa8b9fe13f313c58363 Makefile.am | 9 ++++++++- build-aux/lcov-inject | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) commit 2b2ea202869fa4daabb41fc7254c95c878411581 Author: Guillem Jover Date: Mon Nov 21 02:22:54 2022 +0100 build: Use long options for lcov invocations Use the long version to make the option obvious, as there is no need for succinctness in scripts, and no portability concerns. Makefile.am | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) commit cc737859db2d9782b2b2f7ffa635b7f04ee9533e Author: Guillem Jover Date: Mon Nov 21 02:25:00 2022 +0100 man: Clarify PIE and ASLR acronyms and grammar in dpkg-buildflags(1) man/dpkg-buildflags.pod | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 27739e77c17833037217e20d62609cd692093729 Author: Guillem Jover Date: Mon Nov 21 23:23:48 2022 +0100 libdpkg: Fix doxygen comment to match function argument Changelog: internal Warned-by: clang-16 lib/dpkg/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9440c5a45068ca80bfff4f2c4f267e90b83c79e2 Author: Guillem Jover Date: Sun Nov 20 23:24:31 2022 +0100 dselect: Declare constructor with one argument as explicit Changelog: internal Warned-by: cppcheck dselect/dselect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 34ee5a06c72365df998c85820b4028519ceba5e7 Author: Guillem Jover Date: Tue Oct 25 18:36:16 2022 +0200 dpkg-shlibdeps: Cache soname check against shlibs files This should reduce the I/O and parsing, and more importantly the duplicate warnings when the library name cannot be extracted. Closes: #1022766 scripts/dpkg-shlibdeps.pl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 321e479ba142e6b05d1a27b50e4bb7900903fbf0 Author: Guillem Jover Date: Fri Nov 11 12:43:38 2022 +0100 arch: Add support for loong64 CPU This is based on the LoongArch 64-bit little-endian hard-float ISA. Closes: #1023486 Based-on-patch-by: 张丹丹 data/cputable | 1 + scripts/Dpkg/Shlibs/Objdump.pm | 7 +++++++ scripts/t/Dpkg_Arch.t | 4 ++-- 3 files changed, 10 insertions(+), 2 deletions(-) commit 7bbdc6e59b1beca2796ae65ac98f231e779033a5 Author: Guillem Jover Date: Fri Nov 11 12:29:03 2022 +0100 arch: Move i386 and ia64 in an alphabetical-ish order in the cputable Long ago i386 used to be the predominant architecture, but that's not the case any longer. Move it in an alphabetical-ish order (some entries need to be unordered withing their family for matching purposes). data/cputable | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f9dacc23d14e7ee76b1e4ed85e51899085b6c4ee Author: Guillem Jover Date: Fri Nov 11 12:42:21 2022 +0100 test: Refactor total number of expected known architectures into a variable When you need to update the numbers for the Dpkg::Arch tests, it's easier if they are all at the top. scripts/t/Dpkg_Arch.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 6dd6229c90c8f95d958478ce5e3ea2514eb8ff23 Author: Guillem Jover Date: Sat Nov 12 01:02:16 2022 +0100 Dpkg::Shlibs::Objdump: Rename ELF constants to match more closely the spec Use names that match more closely the ones used in the spec, so that it is easier to find them in other codebases. This also has the benefit of making them shorter. scripts/Dpkg/Shlibs/Objdump.pm | 139 +++++++++++++++++++++-------------------- 1 file changed, 71 insertions(+), 68 deletions(-) commit b362110b4516925fb52b0c155831e92cfbd60399 Author: Guillem Jover Date: Sun Nov 13 22:59:16 2022 +0100 libdpkg: Fix available memory computation for xz thread scaling On Linux, the memory will tend to get used up completely by caches and buffers for performance reasons. The Available memory thus tends to be close to zero. Basing the thread number on that measure of available memory is as such not very useful, and has caused build systems to fall back to serial compression, making it extremely slow, in same cases reported to take hours. Gather the MemFree, Buffers and Cached fields from the /proc/meminfo file and add them up as the computed available memory which is what is really available to be used by the system when needed. Closes: #1023870 lib/dpkg/meminfo.c | 68 ++++++++++++++++++++++++++++++++++++----- lib/dpkg/t/data/meminfo-no-info | 2 +- lib/dpkg/t/t-meminfo.c | 2 +- 3 files changed, 63 insertions(+), 9 deletions(-) commit b8fe840fd697cebee6c42ddb14ace8b0969b8520 Author: Guillem Jover Date: Sat Nov 19 03:12:18 2022 +0100 test: Add unit tests for meminfo module lib/dpkg/Makefile.am | 9 +++++ lib/dpkg/t/.gitignore | 1 + lib/dpkg/t/data/meminfo-no-data | 0 lib/dpkg/t/data/meminfo-no-info | 52 ++++++++++++++++++++++++ lib/dpkg/t/data/meminfo-no-unit | 53 +++++++++++++++++++++++++ lib/dpkg/t/data/meminfo-ok | 53 +++++++++++++++++++++++++ lib/dpkg/t/t-meminfo.c | 88 +++++++++++++++++++++++++++++++++++++++++ 7 files changed, 256 insertions(+) commit fd84b0d71aac6afc63e30c0cf39a4819b81217be Author: Guillem Jover Date: Sat Nov 19 19:24:05 2022 +0100 libdpkg: Use an enum for meminfo return error codes lib/dpkg/meminfo.c | 16 ++++++++-------- lib/dpkg/meminfo.h | 14 ++++++++++++-- 2 files changed, 20 insertions(+), 10 deletions(-) commit 174aeca1de281178bcb973a8cac814a5ad41fb2b Author: Guillem Jover Date: Sat Nov 19 02:52:13 2022 +0100 libdpkg: Refactor meminfo gathering into a filename generic function This will make it possible to unit test the function. lib/dpkg/libdpkg.map | 1 + lib/dpkg/meminfo.c | 12 +++++++----- lib/dpkg/meminfo.h | 2 ++ 3 files changed, 10 insertions(+), 5 deletions(-) commit 965e20e13f0dbe1a2062e802d6a86380292f0410 Author: Guillem Jover Date: Sat Nov 19 02:45:48 2022 +0100 libdpkg: Refactor system meminfo gathering into its own module This makes it generic, and will make it easier to add unit tests. lib/dpkg/Makefile.am | 2 + lib/dpkg/compress.c | 84 +------------------------------------- lib/dpkg/libdpkg.map | 3 ++ lib/dpkg/meminfo.c | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++ lib/dpkg/meminfo.h | 43 ++++++++++++++++++++ 5 files changed, 162 insertions(+), 82 deletions(-) commit 450bc260bcfb4bda41f348f3b8c2c5f960a2b660 Author: Guillem Jover Date: Wed Nov 16 04:31:26 2022 +0100 dselect: Use %zd instead of %jd for pointer difference in format string Changelog: internal Warned-by: gcc-12 dselect/pkginfo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 366effebfc36340ca172b8b0b685cf5c82312ccf Author: Guillem Jover Date: Sat Nov 19 17:29:15 2022 +0100 scripts/mk: Switch Fortran compiler variables to use gfortran The f77 names are handled via alternatives, which means they can vary depending on the local system configuration, not ideal for reproducible builds. These also do not provide arch-qualified filenames, so cannot be used for automatic cross-compilation. Use the gfortran name, which should provide at least a Fortran 95 compliant compiler (including Fortran 77 and 90). Spotted-by: Enrico Zini Closes: #1024421 scripts/mk/buildtools.mk | 4 ++-- scripts/t/mk.t | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit bcc2db18d9ddcde0dcef7dfe620de64f55039a64 Author: Helge Kreutzmann Date: Sat Nov 19 17:14:57 2022 +0100 po: Update German man pages translation man/po/de.po | 141 +++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 112 insertions(+), 29 deletions(-) commit 1f18c4793b25b0821f4993a240b17ee2423dfc54 Author: Helge Kreutzmann Date: Sat Nov 19 17:02:47 2022 +0100 po: Update German scripts translation scripts/po/de.po | 134 ++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 109 insertions(+), 25 deletions(-) commit 6c891218fa8633b33e4d323311097f310bbca731 Author: Guillem Jover Date: Tue Nov 15 00:58:07 2022 +0100 dpkg-genbuildinfo: Fix implicit function declaration in cross-runnable check We nee to include the required headers otherwise a compiler that conforms to C99 by default might error out on implicit function declarations. Changelog: silent scripts/dpkg-genbuildinfo.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 3a28d74c7e426e2e5387aea1637f34bd9d666b34 Author: Guillem Jover Date: Tue Nov 8 04:48:10 2022 +0100 dpkg-source: Translate source format specific --help option descriptions The code in the modules had the help strings marked for translation but nothing in dpkg-source itself was actually translating them. scripts/dpkg-source.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 259fc17789e99fdcd0fe294d31ec53ef43a1f7a1 Author: Guillem Jover Date: Mon Nov 7 22:52:52 2022 +0100 Dpkg::Source::Package: Rename _sanity_check to _check_workdir These functions are checking the work tree directory, so make that explicit. Remove the unnecessary sanity term. scripts/Dpkg/Source/Package/V3/Bzr.pm | 6 +++--- scripts/Dpkg/Source/Package/V3/Git.pm | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit 0c8898235cd37301569daa51abace7f3aac2a7d1 Author: Guillem Jover Date: Mon Nov 7 22:51:57 2022 +0100 Dpkg: Rename _sanity_check and _sanity_check_opts to _check_opts Make it clear we are checking options, and remove the unnecessary sanity term. scripts/Dpkg/Compression/Process.pm | 6 +++--- scripts/Dpkg/IPC.pm | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) commit cf91da7fa107ad0a71e11caf45b3dcce89271c2e Author: Guillem Jover Date: Mon Nov 7 22:50:39 2022 +0100 Dpkg::Changelog: Rename __sanity_check_range method to _sanitize_range Avoid the sanity_check term as we are performing cleanups too. Remove the double prefix underscore, not used anywhere else in the codebase. scripts/Dpkg/Changelog.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a991597a8c2a03e73d169e628eaa085db7f32763 Author: Guillem Jover Date: Tue Nov 8 04:47:50 2022 +0100 Dpkg::Gettext: Fix typo in POD scripts/Dpkg/Gettext.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2330fb5f400a6da5378674d4da3c4bebe4b3accd Author: Kisaragi Marine Date: Thu Nov 3 20:09:43 2022 +0100 po: Fix typo in Japanese translation Closes: #1023376 Signed-off-by: Guillem Jover po/ja.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 38a270680542d54bfc2edd71d50e6241b0fca40e Author: Guillem Jover Date: Thu Nov 3 20:08:55 2022 +0100 man: Mark «lto» as bold in list title in dpkg-buildflags(1) man/dpkg-buildflags.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8285a5a3b0266b0cbf4187f4b57647fafb881ada Author: Guillem Jover Date: Tue Nov 15 23:31:26 2022 +0100 debian: Add build dependencies for release process Move these dependencies from the CI setup into the Build-Depends so they are declaratively specified and easily available for other users. .gitlab-ci.yml | 6 +----- debian/control | 4 ++++ 2 files changed, 5 insertions(+), 5 deletions(-) commit 615b8d38c1b32f23726167c667e4a0fa47b5a553 Author: Guillem Jover Date: Sat Nov 19 01:47:10 2022 +0100 debian: Switch from gpg to gnupg for author testing Build-Depends When testing signing, we also need to get gpg-agent pulled in. Match the dependency to the ones used in the perl packages, so that this gives better test coverage. debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 823df15d72d7956f6f159ae61e348840125541df Author: Guillem Jover Date: Sat Nov 19 00:44:30 2022 +0100 Dpkg::OpenPGP: Handle backend requiring a keystore daemon for signing The OpenPGP backends might need a keystore command or daemon, so we need to detect and take that into account when deciding whether we can perform the signing operation. Add a new cmdstore command to detect, and a new can_use_key() method in the Dpkg::OpenPGP::Backend class. scripts/Dpkg/OpenPGP.pm | 14 ++++---------- scripts/Dpkg/OpenPGP/Backend.pm | 12 ++++++++++++ scripts/Dpkg/OpenPGP/Backend/GnuPG.pm | 20 +++++++++++++++++++- scripts/t/Dpkg_OpenPGP.t | 12 ++++++++---- 4 files changed, 43 insertions(+), 15 deletions(-) commit 357ed2d614d4e8643c563805ebb359edb966e56e Author: Guillem Jover Date: Mon Nov 2 09:55:30 2020 +0100 Dpkg::OpenPGP: Add Sequoia backend support Add support for sq, and prefer it if installed with the assumption that if a user has it, that probably means they prefer it over GnuPG. README | 1 + debian/control | 12 ++-- man/dpkg-buildpackage.pod | 3 + scripts/Dpkg/OpenPGP.pm | 2 + scripts/Dpkg/OpenPGP/Backend/Sequoia.pm | 123 ++++++++++++++++++++++++++++++++ scripts/Makefile.am | 1 + scripts/t/Dpkg_OpenPGP.t | 2 + 7 files changed, 140 insertions(+), 4 deletions(-) commit 9c64d540c5ba1c75b2fabc531c38be4025d8572f Author: Guillem Jover Date: Fri Jul 29 23:25:39 2022 +0200 dpkg-buildpackage: Add --sign-backend to specify the OpenPGP backend The default OpenPGP backend is auto-detected, but can now be specified explicitly. There was a historical -s(gpg|pgp) option which we are not reusing as it was confusing with the options that control the source package contents. This should be rare enough to be needed on the command-line that a long option should be fine, and it can always be configured on the config file. man/dpkg-buildpackage.pod | 29 +++++++++++++++++++++-------- scripts/dpkg-buildpackage.pl | 7 +++++++ 2 files changed, 28 insertions(+), 8 deletions(-) commit 6afb4b99eefeebd3de2868b590ce42def0906446 Author: Guillem Jover Date: Fri Jul 29 23:25:39 2022 +0200 Dpkg::OpenPGP: Add multi-backend loading support This adds the generic infrastructure to be able to load multiple OpenPGP backends, depending on the requested CLI, API, or specific needed features when in auto mode. scripts/Dpkg/Control/HashCore.pm | 2 +- scripts/Dpkg/OpenPGP.pm | 63 +++++++++++++++++++- scripts/Dpkg/Source/Package.pm | 2 +- scripts/dpkg-buildpackage.pl | 3 + scripts/t/Dpkg_OpenPGP.t | 121 ++++++++++++++++++++++----------------- 5 files changed, 136 insertions(+), 55 deletions(-) commit 73bac54caefb379ecdba9bb2c3159bb50ea8bb8d Author: Guillem Jover Date: Fri Jul 29 23:25:39 2022 +0200 Dpkg::OpenPGP::Backend: Add new has_verify_cmd() method This is needed to handle backends that have a special command used only for signature verification. scripts/Dpkg/OpenPGP/Backend.pm | 6 ++++++ scripts/Dpkg/OpenPGP/Backend/GnuPG.pm | 6 ++++++ 2 files changed, 12 insertions(+) commit 4af4a46fa12221e8e7ea7d525619a2dbc89f7786 Author: Guillem Jover Date: Fri Jul 29 23:25:39 2022 +0200 Dpkg::OpenPGP::Backend: Refactor GnuPG functions from Dpkg::OpenPGP Create a generic Dpkg::OpenPGP::Backend as the base class for all backend implementations. Move the GnuPG specific backend into a new Dpkg::OpenPGP::Backend::GnuPG. This will make adding other implementations easier. scripts/Dpkg/OpenPGP.pm | 227 ++------------------- scripts/Dpkg/OpenPGP/Backend.pm | 109 ++++++++++ .../Dpkg/{OpenPGP.pm => OpenPGP/Backend/GnuPG.pm} | 61 ++---- scripts/Makefile.am | 2 + 4 files changed, 141 insertions(+), 258 deletions(-) commit 040e652e02bd4917b2ed3d593f10afe3c891a265 Author: Guillem Jover Date: Sun Nov 6 20:06:00 2022 +0100 test: Improve OpenPGP unit tests and check verification and signing scripts/Makefile.am | 9 ++- scripts/t/Dpkg_OpenPGP.t | 83 ++++++++++++++++++---------- scripts/t/Dpkg_OpenPGP/data-file | 5 -- scripts/t/Dpkg_OpenPGP/data-file.asc | 8 --- scripts/t/Dpkg_OpenPGP/dpkg-test-pub.asc | 24 ++++++++ scripts/t/Dpkg_OpenPGP/dpkg-test-sec.asc | 28 ++++++++++ scripts/t/Dpkg_OpenPGP/sign-file | 5 ++ scripts/t/Dpkg_OpenPGP/sign-file-inline.asc | 16 ++++++ scripts/t/Dpkg_OpenPGP/sign-file-inline.sig | Bin 0 -> 382 bytes scripts/t/Dpkg_OpenPGP/sign-file.asc | 8 +++ scripts/t/Dpkg_OpenPGP/sign-file.sig | Bin 0 -> 191 bytes 11 files changed, 143 insertions(+), 43 deletions(-) commit a8614ed38265c4bbe52a8bb4ab1b86d636dd6aac Author: Guillem Jover Date: Thu Oct 27 04:33:25 2022 +0200 dpkg-buildpackage: Add --sign-keyfile and DEB_SIGN_KEYFILE support We need to be able to pass the secret key file to use for signing both for the test suite and for OpenPGP implementations that do not (yet or won't ever) have a keystore. man/dpkg-buildpackage.pod | 13 +++++++++++++ scripts/Dpkg/OpenPGP.pm | 24 ++++++++++++++++++++++-- scripts/Dpkg/OpenPGP/KeyHandle.pm | 16 ++++++++++++---- scripts/dpkg-buildpackage.pl | 10 +++++++++- 4 files changed, 56 insertions(+), 7 deletions(-) commit 3f8e1616e007a625a1b550e6084c36fa9ce9c902 Author: Guillem Jover Date: Fri Oct 28 03:38:24 2022 +0200 dpkg-buildpackage: Add new --sign-keyid and alias --sign-key to it Using «key» is confusing when what we mean is the «keyid». man/dpkg-buildpackage.pod | 7 +++++-- scripts/dpkg-buildpackage.pl | 5 +++-- 2 files changed, 8 insertions(+), 4 deletions(-) commit 204d0038e3588ff5cc1c03842bba58dbef8d7b72 Author: Guillem Jover Date: Sun Nov 6 23:23:43 2022 +0100 Dpkg::OpenPGP::KeyHandle: Add new needs_keystore() method scripts/Dpkg/OpenPGP/ErrorCodes.pm | 3 +++ scripts/Dpkg/OpenPGP/KeyHandle.pm | 6 ++++++ 2 files changed, 9 insertions(+) commit 3a17b8bcf3a32050cd23f4d491c819f5754ab262 Author: Guillem Jover Date: Wed Jul 20 03:32:28 2022 +0200 Dpkg::OpenPGP: Refactor signing code from dpkg-buildpackage This adds a few methods (can_use_secrets() and inline_sign()) to abstract the signing code into this module, which will have all the OpenPGP implementation knowledge. Add Dpkg::OpenPGP::ErrorCodes for signing. We will add unit tests once we have added keyfile support. scripts/Dpkg/OpenPGP.pm | 37 +++++++++++++++++++++++++++++++++++++ scripts/Dpkg/OpenPGP/ErrorCodes.pm | 6 ++++++ scripts/dpkg-buildpackage.pl | 30 +++++++++++++----------------- 3 files changed, 56 insertions(+), 17 deletions(-) commit 57875d7ebb08c6d4ba74bed8363dc359ab7e0ee5 Author: Guillem Jover Date: Tue Nov 8 05:59:37 2022 +0100 dpkg-buildpackage: Move error report into singfile() This simplifies the call sites, where we always want the same exact error handling behavior. Changelog: internal scripts/dpkg-buildpackage.pl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 51af1d13bcebeb07d46ddd25c719c429a24cb26c Author: Guillem Jover Date: Tue Nov 8 05:59:37 2022 +0100 dpkg-buildpackage: Remove blank line around signfile output lines We do not print such blank lines around other actions being performed. scripts/dpkg-buildpackage.pl | 1 - 1 file changed, 1 deletion(-) commit 98ba31692fa946e518eedac627e2d0f140e103c9 Author: Guillem Jover Date: Wed Nov 2 02:43:07 2022 +0100 Dpkg::OpenPGP: Refactor trusted keyrings from Dpkg::Source::Package Move all OpenPGP related knowledge inside the Dpkg::OpenPGP module, so that we can abstract it for multiple backends. scripts/Dpkg/OpenPGP.pm | 10 ++++++++++ scripts/Dpkg/Source/Package.pm | 5 ++--- 2 files changed, 12 insertions(+), 3 deletions(-) commit 31dbc0bf23ad73d607b1595a0b21915547eccf08 Author: Guillem Jover Date: Fri Nov 4 03:48:29 2022 +0100 Dpkg::OpenPGP: Automatically detect both cmd and cmdv Separate the backend command from the specialized verification tool (if available), and use the specified command or the found when executing them. scripts/Dpkg/OpenPGP.pm | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) commit f10f1fbe9e52a6be500504f23d8f5b4a429e9d53 Author: Guillem Jover Date: Sun Nov 6 13:55:13 2022 +0100 Dpkg::OpenPGP: Reintroduce gpg fallback for signature verification While the stated goal of commit f7f88cc62a86d4b96f2c9b0479f495a198d5a59d is still valid, it makes adding multiple backend implementations harder as specific command for verification both inline and detached signatures is not a commonly provided interface. And then we need to check that depending on the backend both commands are available when requiring the full API. scripts/Dpkg/OpenPGP.pm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 205f9f13f69ea7486e5babeadc3e95b2620cc668 Author: Guillem Jover Date: Thu Nov 10 04:51:40 2022 +0100 Dpkg::OpenPGP: Call dearmor() unconditionally for GnuPG certificate imports We can simply call dearmor() instead of trying to infer the contents from the extension. Decide whether to use the resulting dearmored file based on the function error code. scripts/Dpkg/OpenPGP.pm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) commit cac9a06474b188aa91194c606512557b55a99790 Author: Guillem Jover Date: Thu Nov 10 04:49:53 2022 +0100 Dpkg::OpenPGP: Remove now unnecessary is_armored() method This method was potentially a security issue in case it would match apparent ASCII Armor that was not valid and would not be parsed by an OpenPGP implementation. It is no longer used, so we can remove it. Prompted-by: Daniel Kahn Gillmor scripts/Dpkg/OpenPGP.pm | 16 ---------------- scripts/t/Dpkg_OpenPGP.t | 12 +++++++++--- 2 files changed, 9 insertions(+), 19 deletions(-) commit e44684be3d97f280b50ff4024f9547bf1a6cd10a Author: Guillem Jover Date: Thu Nov 10 04:49:53 2022 +0100 Dpkg::Source::Package: Call armor() unconditionally for signature conversion When we find a potentially binary signature (with a «.sig» extension), we simply unconditionally run armor() which now behaves in an idempotent way. scripts/Dpkg/Source/Package.pm | 10 ++-------- scripts/t/Dpkg_Source_Package.t | 9 +++++---- 2 files changed, 7 insertions(+), 12 deletions(-) commit 104ba5982a46472264a117e97e5a3d4c2e7f93c6 Author: Guillem Jover Date: Thu Nov 10 04:48:37 2022 +0100 Dpkg::OpenPGP: Make armor idempotent When we pass this method an already ASCII Armored input, it should generate the exact same output. scripts/Dpkg/OpenPGP.pm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit 49cb5a0e0afcfc4e5839491084e21ad51bd3b0a9 Author: Guillem Jover Date: Wed Nov 9 22:52:23 2022 +0100 Dpkg::OpenPGP: Change inline_verify to take an output file When doing inline-verify, ideally we should let the OpenPGP implementation verify the inlinesigned data and output the verified data with the ASCII Armor and any heading or trailing junk stripped. We are currently not doing that, as we cannot assume we might have an OpenPGP implementation around when we need to parse deb822 data, so for now we will just pass undef as the output filename, but in the future we might rearchitect the code to make use of this. At least this way the implementation can be used properly by potential future users, once and if the module becomes public, instead of providing an insecure API. Requested-by: Daniel Kahn Gillmor scripts/Dpkg/OpenPGP.pm | 11 ++++++----- scripts/Dpkg/Source/Package.pm | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) commit 99793954b46abaeb63bd766a7ed8227800f358e2 Author: Guillem Jover Date: Tue Nov 8 05:12:32 2022 +0100 Dpkg::OpenPGP: Switch functions to return Dpkg::OpenPGP::ErrorCodes Instead of reporting errors from within the OpenPGP functions, switch to return error codes and let the call sites control how these are shown. This will remove much redundancy once we introduce multiple backends, and makes testing the code easier. scripts/Dpkg/OpenPGP.pm | 49 +++++++++++++---------------------------- scripts/Dpkg/Source/Package.pm | 23 ++++++++++++++----- scripts/t/Dpkg_OpenPGP.t | 9 +++++--- scripts/t/Dpkg_Source_Package.t | 8 +++---- 4 files changed, 42 insertions(+), 47 deletions(-) commit fc2cd569323fa04ff826bfe7e3c6916bac816d73 Author: Guillem Jover Date: Tue Nov 8 04:47:29 2022 +0100 Dpkg::OpenPGP::ErrorCodes: Add new module scripts/Dpkg/OpenPGP/ErrorCodes.pm | 84 ++++++++++++++++++++++++++++++++++++++ scripts/Makefile.am | 1 + scripts/po/POTFILES.in | 1 + 3 files changed, 86 insertions(+) commit b568951795641269182a60d6bd385e62e3e2ca35 Author: Guillem Jover Date: Wed Nov 2 02:25:03 2022 +0100 Dpkg::OpenPGP: Pass an array instead of an arrayref to _gpg_exec() We do not need to pass any options, so passing an array makes the call sites more ergonomic. scripts/Dpkg/OpenPGP.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit a60c2ceb7c8804d950660b5722abbb76d28831d2 Author: Helge Kreutzmann Date: Fri Nov 4 21:19:24 2022 +0100 po: Update German scripts translation scripts/po/de.po | 92 ++++++++++++++++++++++++++++++-------------------------- 1 file changed, 49 insertions(+), 43 deletions(-) commit 38b7ab83d3ae8231da0598f1a12c61e6cb4add58 Author: Helge Kreutzmann Date: Fri Nov 4 21:18:31 2022 +0100 po: Update German man pages translation man/po/de.po | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit a01be4c05a8f780fdc59a25e66c1c83e4930f28e Author: Guillem Jover Date: Thu Oct 27 20:13:07 2022 +0200 Dpkg::OpenPGP::KeyHandle: Refactor new key handle from dpkg-buildpackage Add a new class to be able to refer to OpenPGP keys, be those via keyids, userids, or automatic detection. Then sanitize the handle values and. This will make it possible to add transparent keyfile or keystore support in the future. scripts/Dpkg/OpenPGP/KeyHandle.pm | 89 ++++++++++++++++++++++++++++++++++++ scripts/Makefile.am | 2 + scripts/dpkg-buildpackage.pl | 26 +++++++---- scripts/t/Dpkg_OpenPGP_KeyHandle.t | 92 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 201 insertions(+), 8 deletions(-) commit 529758a0120af35e6ee1d6cfe6d68012981db936 Author: Guillem Jover Date: Thu Oct 27 20:14:34 2022 +0200 dpkg-buildpackage: Rename $signkey to $signkeyid This makes the variable more clear and gives way to add keyfiles, and work with them all with key handles. Changelog: internal scripts/dpkg-buildpackage.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 15d8f8724b4a19a08ae6f682bb17afdfed19a091 Author: Guillem Jover Date: Fri Oct 28 03:34:00 2022 +0200 man: Clarify dpkg-buildpackage --sign-key description - Mention that the «.buildinfo» files also get signed. - Mention that the option gets either a fingerprint or a user-ID, and that this refers to an OpenPGP secret key. man/dpkg-buildpackage.pod | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 823dd9ceec68cf481ca2101ae73a3cc433adec84 Author: Guillem Jover Date: Wed Oct 26 10:41:56 2022 +0200 Dpkg::OpenPGP: Make it a class This will make implementing multiple backends easier. scripts/Dpkg/OpenPGP.pm | 56 ++++++++++++++++++++++++++++-------------- scripts/Dpkg/Source/Package.pm | 20 +++++++-------- scripts/t/Dpkg_OpenPGP.t | 10 +++++--- 3 files changed, 52 insertions(+), 34 deletions(-) commit e490f8ff7b4e9657c65ee4b144246669ce22bf0b Author: Guillem Jover Date: Thu Oct 27 03:09:35 2022 +0200 Dpkg::OpenPGP: Move status check from _gpg_exec() to _gpg_verify() The conditional is specific to signature verification. This way this helper will be usable also for other backend invocations. scripts/Dpkg/OpenPGP.pm | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) commit a11d7340da2f679fc673d92767dfefcbb3eb1e69 Author: Guillem Jover Date: Wed Oct 26 10:06:51 2022 +0200 Dpkg::OpenPGP: Use dearmor() instead of _gpg_import_keys() in _gpg_verify() This removes the dependency on «gpg» when we can use just «gpgv». scripts/Dpkg/OpenPGP.pm | 40 ++++++++++------------------------------ 1 file changed, 10 insertions(+), 30 deletions(-) commit 2c622bc07510a4503816e936a1e36308d25090c5 Author: Guillem Jover Date: Wed Oct 26 19:57:17 2022 +0200 Dpkg::OpenPGP: Add new dearmor() function scripts/Dpkg/OpenPGP.pm | 9 +++++++++ scripts/t/Dpkg_OpenPGP.t | 9 ++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) commit 925b1696cd94a4a0770ba187f87276b369e69bc3 Author: Guillem Jover Date: Wed Oct 26 10:16:55 2022 +0200 Dpkg::OpenPGP: Switch armor() to use native OpenPGP armor functions This removes the dependency on «gpg» when we can use just «gpgv». scripts/Dpkg/OpenPGP.pm | 34 ++++------------------------------ 1 file changed, 4 insertions(+), 30 deletions(-) commit 0eb367fb4eacc28885c365907e0707df237c80a2 Author: Daniel Kahn Gillmor Date: Wed Oct 26 10:12:48 2022 +0200 Dpkg::OpenPGP: Add native helpers for ASCII Armor These functions prepare us to remove reliance on «gpg», which was only used for armoring and dearmoring while using «gpgv». [guillem@debian.org: - Coding style and formatting fixes. - Remove C code in comments. - Split base64 lines at 64 characters. - Match on same whitespace as Dpkg::Control::HashCore parsing. - Rename _pgp_unarmor_data() to _pgp_dearmor_data(). - Remove spurious EOLs. ] Ref: https://salsa.debian.org/debian/devscripts/-/merge_requests/286 Signed-off-by: Daniel Kahn Gillmor Signed-off-by: Guillem Jover scripts/Dpkg/OpenPGP.pm | 75 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) commit 43d07b3c601f87ff7fa68d7aedf5b79dd6502533 Author: Guillem Jover Date: Wed Jul 20 03:12:43 2022 +0200 Dpkg::OpenPGP: Merge ASCII armored key import into signature verification Handle ASCII armored "keyrings" semi-transparently, by accepting them in the verification function. scripts/Dpkg/OpenPGP.pm | 25 ++++--------------------- scripts/Dpkg/Source/Package.pm | 7 +------ 2 files changed, 5 insertions(+), 27 deletions(-) commit 3bdad83225dfa70a1de18dccafea6949f262c399 Author: Guillem Jover Date: Fri Jul 22 03:01:46 2022 +0200 Dpkg::Source::Package: Add armor_original_tarball_signature() member Move the Dpkg::OpenPGP::openpgp_sig_to_asc() function into a Dpkg::Source::Package member function as that has policy logic that does not really belong in the more generic Dpkg::OpenPGP module. scripts/Dpkg/OpenPGP.pm | 22 ----------- scripts/Dpkg/Source/Package.pm | 32 ++++++++++++++- scripts/Dpkg/Source/Package/V1.pm | 3 +- scripts/Dpkg/Source/Package/V2.pm | 3 +- scripts/Makefile.am | 6 +-- scripts/t/Dpkg_OpenPGP.t | 23 +---------- scripts/t/Dpkg_Source_Package.t | 44 +++++++++++++++++++-- .../package_1.0.orig.tar | 0 .../package_1.0.orig.tar.asc | 0 .../package_1.0.orig.tar.sig | Bin 10 files changed, 76 insertions(+), 57 deletions(-) commit 83d6b2ab2dc5a3d257afb5f38debdcb092b4e811 Author: Guillem Jover Date: Fri Jul 22 02:25:15 2022 +0200 Dpkg::OpenPGP: Refactor armoring code into an armor() function We need to armor some files, and this will make it possible to move out the openpgp_sig_to_asc() function from this module, where it does not really fit as it encodes policy that is not generally useful. scripts/Dpkg/OpenPGP.pm | 22 +++++++++++++++------- scripts/t/Dpkg_OpenPGP.t | 7 ++++++- 2 files changed, 21 insertions(+), 8 deletions(-) commit c0511ef62988d5598b838b226590630feb8452dd Author: Guillem Jover Date: Tue Jul 19 13:58:17 2022 +0200 Dpkg::OpenPGP: Refactor is_armored() out from openpgp_sig_to_asc() scripts/Dpkg/OpenPGP.pm | 29 +++++++++++++++++------------ scripts/Makefile.am | 2 ++ scripts/t/Dpkg_OpenPGP.t | 11 +++++++++-- scripts/t/Dpkg_OpenPGP/data-file | 5 +++++ scripts/t/Dpkg_OpenPGP/data-file.asc | 8 ++++++++ 5 files changed, 41 insertions(+), 14 deletions(-) commit 280f64d6c07b41b0e24313b4ff750cd13f95115a Author: Guillem Jover Date: Tue Jul 19 13:55:32 2022 +0200 Dpkg::OpenPGP: Rename and namespace GnuPG specific symbols These functions are really GnuPG specific, so give them matching names. scripts/Dpkg/OpenPGP.pm | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 37973f01415213b477a936f5a813604567650764 Author: Guillem Jover Date: Wed Jul 20 02:46:07 2022 +0200 Dpkg::OpenPGP: Rename keyrings option to certs These are signer certificates, it does not necessarily contain (private) keys. scripts/Dpkg/OpenPGP.pm | 4 ++-- scripts/Dpkg/Source/Package.pm | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) commit 9ab885d538ade4b161ed1f1467f3cac3d8941b80 Author: Guillem Jover Date: Sat Jul 30 20:10:36 2022 +0200 Dpkg::OpenPGP: Split verify_signature() into verify() and inline_verify() This maps more closely to the SOP API. scripts/Dpkg/OpenPGP.pm | 34 ++++++++++++++++++++++++++-------- scripts/Dpkg/Source/Package.pm | 11 ++++------- 2 files changed, 30 insertions(+), 15 deletions(-) commit c62aabc77638517b732873b280820f454b376b43 Author: Guillem Jover Date: Sat Jul 30 12:46:47 2022 +0200 Dpkg::OpenPGP: Refactor _gpg_verify() out from verify_signature() scripts/Dpkg/OpenPGP.pm | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) commit f7f88cc62a86d4b96f2c9b0479f495a198d5a59d Author: Guillem Jover Date: Tue Oct 25 23:43:59 2022 +0200 Dpkg::OpenPGP: Require gpgv and do not fallback to gpg to verify signatures Using gpgv exclusively for signature verification is better, it removes a fat dependency where gpgv tends to be present when gpg is present, has a better stateless interface, and reduces code complexity. scripts/Dpkg/OpenPGP.pm | 2 -- 1 file changed, 2 deletions(-) commit 7343b9d30e0e827364857d71a87eaa03c054bcb9 Author: Guillem Jover Date: Sat Jul 30 02:26:59 2022 +0200 Dpkg::OpenPGP: Refactor GnuPG common options into functions scripts/Dpkg/OpenPGP.pm | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) commit 816b7847df15762635f8269f36c3a9eb728bbacb Author: Guillem Jover Date: Wed Jul 20 03:12:43 2022 +0200 Dpkg::OpenPGP: Refactor _gpg_import_keys() out of import_key() scripts/Dpkg/OpenPGP.pm | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) commit d861e635c7bef4dda9afd758ec90bb93be3ebe27 Author: Guillem Jover Date: Fri Jul 29 19:59:18 2022 +0200 Dpkg::OpenPGP: Pass opts as a hash ref on the first argument This unifies the current interface, and takes it closer to the Stateless OpenPGP CLI draft. scripts/Dpkg/OpenPGP.pm | 26 +++++++++++++------------- scripts/Dpkg/Source/Package.pm | 22 +++++++++++----------- 2 files changed, 24 insertions(+), 24 deletions(-) commit bfed9bcd7ffd3c9643863dfd0afb7ac3e50b7268 Author: Guillem Jover Date: Wed Jul 20 03:07:21 2022 +0200 Dpkg::OpenPGP: Remove unused $exec_opts argument from _exec_openpgp() This is not currently used, if there's ever a need for something like this we can always add it back. scripts/Dpkg/OpenPGP.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 5715e867b386c80ac4273da5cb96c0638d849e1d Author: Guillem Jover Date: Wed Oct 26 20:19:56 2022 +0200 scripts: Switch to use file_touch() instead of open coding it Changelog: internal lib/dpkg/t/t-tarextract.t | 12 ++----- lib/dpkg/t/t-treewalk.t | 60 +++++++++++++++------------------ scripts/Dpkg/Source/Functions.pm | 4 +-- scripts/Dpkg/Source/Package/V3/Quilt.pm | 5 ++- scripts/t/Dpkg_Path.t | 14 +++----- scripts/t/Dpkg_Source_Archive.t | 20 +++-------- 6 files changed, 43 insertions(+), 72 deletions(-) commit 99a7e9b29d2078f8978d3738af82b93296ac9046 Author: Guillem Jover Date: Wed Oct 26 20:19:12 2022 +0200 Dpkg::File: Add new file_touch() function scripts/Dpkg/File.pm | 8 ++++++++ scripts/t/Dpkg_File.t | 7 ++++++- 2 files changed, 14 insertions(+), 1 deletion(-) commit 3f2c70454f0d3a225d36b80be55cd6cb917d76d8 Author: Guillem Jover Date: Wed Oct 26 19:56:36 2022 +0200 scripts: Switch to use file_dump() instead of open coding it Changelog: internal dselect/methods/Dselect/Ftp.pm | 5 +---- dselect/methods/ftp/install.pl | 5 +---- lib/dpkg/t/t-trigdeferred.t | 11 ++--------- scripts/Dpkg/Source/Quilt.pm | 13 ++++--------- scripts/t/Dpkg_IPC.t | 6 +----- scripts/t/Dpkg_Source_Archive.t | 15 ++++++++------- scripts/t/dpkg_buildpackage.t | 5 ++--- scripts/t/dpkg_source.t | 5 ++--- 8 files changed, 21 insertions(+), 44 deletions(-) commit a3341d7db833b1e25f09b9cca6630301856c0aa8 Author: Guillem Jover Date: Wed Oct 26 19:55:58 2022 +0200 Dpkg::File: Add new file_dump() function scripts/Dpkg/File.pm | 20 ++++++++++++++++++++ scripts/Makefile.am | 2 ++ scripts/t/Dpkg_File.t | 22 +++++++++++++++++++++- scripts/t/Dpkg_File/append-me | 3 +++ scripts/t/Dpkg_File/dump-partial | 2 ++ 5 files changed, 48 insertions(+), 1 deletion(-) commit cbac7febfea167ad8a1351ef7413f43c8be9d07c Author: Guillem Jover Date: Wed Oct 26 20:21:21 2022 +0200 scripts: Switch to use file_slurp() instead of open coding it Changelog: internal dselect/methods/Dselect/Ftp.pm | 15 ++++++++------- dselect/methods/ftp/install.pl | 8 ++------ scripts/Dpkg/Source/Package/V2.pm | 5 +---- scripts/Dpkg/Source/Quilt.pm | 4 +--- scripts/t/Dpkg_IPC.t | 14 ++++---------- 5 files changed, 16 insertions(+), 30 deletions(-) commit 659bfca2ab7fe06ff056e298a877cfbb0ca5e35c Author: Guillem Jover Date: Wed Oct 26 22:10:07 2022 +0200 test: Add Dpkg::File unit tests scripts/Makefile.am | 1 + scripts/t/Dpkg_File.t | 32 ++++++++++++++++++++++++++++++-- scripts/t/Dpkg_File/slurp-me | 3 +++ 3 files changed, 34 insertions(+), 2 deletions(-) commit d9215012601b4b54aaa5f3edc3d7bd530235cb1e Author: Guillem Jover Date: Wed Oct 26 23:14:35 2022 +0200 Test::Dpkg: Make test_get_temp_path() remove the path before creating it This makes sure each test group starts with a clean temporary directory, with no side effects from any previous run. scripts/Test/Dpkg.pm | 3 ++- scripts/t/Dpkg_Source_Archive.t | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) commit 0e7dcece7edcf0b83b710c725b1b993ed9731bac Author: Guillem Jover Date: Tue Nov 1 22:12:08 2022 +0100 dselect: Remove unused Net::FTP import from ftp method scripts The Net::FTP object is instantiated from the Dselect::Ftp::do_connect() function, so it does not need to be imported from the scripts. Changelog: internal dselect/methods/ftp/install.pl | 1 - dselect/methods/ftp/setup.pl | 1 - dselect/methods/ftp/update.pl | 1 - 3 files changed, 3 deletions(-) commit bc382efce48612135428ebae8c9820b924cc67a2 Author: Guillem Jover Date: Tue Nov 1 13:33:35 2022 +0100 dselect: Require the Dpkg modules for the ftp access method While strictly speaking we do not currently need it, it will make it possible to remove code that can use functionality from the Dpkg perl modules. We replace the warning recommending to install perl, by a message stating that the Dpkg modules are missing, as if the user installs libdpkg-perl (or equivalent) then the perl package will also be pulled in. debian/control | 1 + dselect/methods/Dselect/Ftp.pm | 4 +++- dselect/methods/ftp/install.pl | 5 +++-- dselect/methods/ftp/setup.pl | 6 ++++-- dselect/methods/ftp/update.pl | 5 +++-- 5 files changed, 14 insertions(+), 7 deletions(-) commit 387c13c453902448965ea842dc0cdb861c538bac Author: Guillem Jover Date: Tue Nov 1 22:13:33 2022 +0100 dselect: Unconditionally load perl modules included in perl-base In Debian and derivatives where the perl distribution is split into a perl-base package which is always guaranteed to be installed, and a perl-modules and perl packages, which are not, we do not need to conditionally load these modules, as they will always be installed. On other systems, when perl is installed these modules will always be present so this change should not make any difference. Changelog: internal dselect/methods/ftp/install.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 61d4dc27cbe5f33420a7287bf830637eaf9e41a9 Author: Guillem Jover Date: Tue Nov 1 22:17:09 2022 +0100 Dselect::Ftp: Conditionally load perl modules shipped in the perl package In Debian and derivatives where the perl distribution is split into a perl-base package which is always guaranteed to be installed, and a perl-modules and perl packages, which are not, we need to conditionally load these modules, as we do not have strict dependencies on the perl package. On other systems, when perl is installed these modules will always be present so this change should not make any difference. dselect/methods/Dselect/Ftp.pm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit cd301eadcc139019e60134ddb564045dafde9346 Author: Guillem Jover Date: Tue Nov 1 16:26:24 2022 +0100 Dselect::Ftp: Declare %CONFIG with «our» instead of «my» dselect/methods/Dselect/Ftp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1f9d4053b7533ea9caca496f444ec22fd5687ba2 Author: Guillem Jover Date: Mon Oct 24 23:13:19 2022 +0200 dpkg-genchanges: Refactor $is_backport check into a boolean Move this check into its own boolean, so that in the future we can extend it to be based on some other criteria, such as a new changelog keyword. Changelog: internal scripts/dpkg-genchanges.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6464cc404c9656a636a89ccb7dce979d7f94d29e Author: Guillem Jover Date: Sun Oct 23 21:03:45 2022 +0200 dpkg-genchanges: Use intermediate variables to access fields Changelog: internal scripts/dpkg-genchanges.pl | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit bfea22b21a8bdf4dbfd9aa28d05ccf282974a3b2 Author: Guillem Jover Date: Wed Oct 26 22:23:55 2022 +0200 build: Sort test_data variables Makefile.am | 2 +- scripts/Makefile.am | 102 ++++++++++++++++++++++++++-------------------------- 2 files changed, 52 insertions(+), 52 deletions(-) commit bed9621d25fb4e78d4e13b0bb54750c6c198fadb Author: Guillem Jover Date: Fri Oct 28 19:33:53 2022 +0200 build: Move authorcheck target to tap.am This makes this target available on any directory that contains TAP tests, and not just the source-tree root. Makefile.am | 3 --- build-aux/tap.am | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) commit e2fa4e3a69d5e24434d1eb923635702bbdfdc787 Author: Guillem Jover Date: Sun Oct 23 14:05:35 2022 +0200 test: Fix cppcheck suppression Fixes: commit 6cad120a9800fcfc164ce381826abf46c7e72172 Changelog: silent t/cppcheck/cppcheck.supp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a592d009868028b3554bf786065adb449f1bc5c0 Author: Helge Kreutzmann Date: Sun Oct 23 05:33:42 2022 +0200 po: Update German man pages translation man/po/de.po | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) commit 7aa7057bcbf1cf96d88e977b9a261322e140e976 Author: Guillem Jover Date: Sun Oct 16 13:31:14 2022 +0200 libdpkg: Remove trailing «/» from UPDATESDIR definition This makes comparing the pathname more cumbersome, and diverges from all other directory name macros. If we need to concatenate it we can append an explicit «/» between components. lib/dpkg/dbmodify.c | 4 ++-- lib/dpkg/dpkg.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 664e70136b6d654fd00098d8327c19598d0f3001 Author: Guillem Jover Date: Sun Oct 16 23:40:05 2022 +0200 libdpkg: Rewrite fnis array variable definition Use designated initializers to make the assignments obvious. lib/dpkg/dbmodify.c | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) commit 19f314bba7632b656d9dc2e1e3dba44701678190 Author: Guillem Jover Date: Fri Oct 21 03:30:56 2022 +0200 libdpkg: Switch updatefn handling to use varbuf snapshots This uses the common varbuf snapshot and rollback pattern which handles automatic memory reallocation if needed, and is less prone to buffer handling mistakes. lib/dpkg/dbmodify.c | 48 ++++++++++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 20 deletions(-) commit b630e2495d18e14f9e7e40026f5dd4a2f2605f9c Author: Guillem Jover Date: Fri Oct 21 03:27:15 2022 +0200 libdpkg: Add new varbuf_rollback_len() and varbuf_rollback_start() functions This make using the rollback points easier. lib/dpkg/libdpkg.map | 2 ++ lib/dpkg/t/t-varbuf.c | 21 ++++++++++++++++++++- lib/dpkg/varbuf.c | 21 +++++++++++++++++++++ lib/dpkg/varbuf.h | 2 ++ 4 files changed, 45 insertions(+), 1 deletion(-) commit c192844eb2d23fe8d61bfc873fad928f97d5d1c9 Author: Guillem Jover Date: Sat Oct 22 00:17:10 2022 +0200 libdpkg: Associate each varbuf_state to a varbuf This requires one varbuf_state per varbuf, instead of being able to share them among related variable, but makes sure these will be coherent and will allow adding new functionality based on the state and the base varbuf. lib/dpkg/db-ctrl-access.c | 2 +- lib/dpkg/db-ctrl-upgrade.c | 10 ++++++---- lib/dpkg/t/t-varbuf.c | 4 ++-- lib/dpkg/varbuf.c | 5 +++-- lib/dpkg/varbuf.h | 3 ++- src/main/archives.c | 10 +++++++--- src/main/archives.h | 2 ++ src/main/remove.c | 10 +++++----- src/main/unpack.c | 8 ++++---- 9 files changed, 32 insertions(+), 22 deletions(-) commit 40580729aefa5d7ee13142c71f96e9cba9dbdec6 Author: Guillem Jover Date: Sat Oct 22 01:31:31 2022 +0200 libdpkg: Use pkg_infodb_get_dir() on opendir() instead of oldname Use the obvious directory name instead of a variable that is supposed to hold filenames within that directory. lib/dpkg/db-ctrl-upgrade.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit acd58f71a1f94c16698394cabe66b90f5d75676a Author: Guillem Jover Date: Fri Oct 21 02:53:01 2022 +0200 libdpkg: Use updatesdir when using the updates directory Instead of using the updatefnbuf variable which can contain either the directory name or the pathname to one of its containing filenames, always use the updatedir variable, which is the obvious and straightforward variable to use. lib/dpkg/dbmodify.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 6cad120a9800fcfc164ce381826abf46c7e72172 Author: Guillem Jover Date: Fri Oct 21 01:58:22 2022 +0200 libdpkg, dpkg: Use varbuf_add_dir() instead of _add_str() + _add_char() This refactors this repeating pattern, and in addition makes sure we never add a directory separator in excess if it was already present in the added dirname. Changelog: internal lib/dpkg/db-ctrl-access.c | 3 +-- lib/dpkg/db-ctrl-format.c | 3 +-- lib/dpkg/db-ctrl-upgrade.c | 3 +-- lib/dpkg/trigdeferred.c | 3 +-- lib/dpkg/triglib.c | 3 +-- src/main/remove.c | 3 +-- 6 files changed, 6 insertions(+), 12 deletions(-) commit 5d2363cd96a1ac2719ac70739b6d0aa277b7a07d Author: Guillem Jover Date: Fri Oct 21 01:50:32 2022 +0200 libdpkg: Add new varbuf_add_dir() function Add new functions that take care of adding a trailing «/» when there is none present yet. We have this pattern in the codebase but with unconditional addition of «/» which is not ideal. lib/dpkg/libdpkg.map | 1 + lib/dpkg/t/t-varbuf.c | 44 +++++++++++++++++++++++++++++++++++++++++++- lib/dpkg/varbuf.c | 8 ++++++++ lib/dpkg/varbuf.h | 1 + 4 files changed, 53 insertions(+), 1 deletion(-) commit c6f4a2a7a10358da180fa73689f805a3e23d5e9b Author: Guillem Jover Date: Sun Oct 16 23:47:10 2022 +0200 libdpkg, dselect: Reformat enum declarations Place each enum value into its own line, and end the last item with a comma to ease extending them. Changelog: internal dselect/dselect.h | 12 ++++++++++-- dselect/pkglist.h | 33 +++++++++++++++++++++++++-------- lib/dpkg/dpkg-db.h | 6 +++++- 3 files changed, 40 insertions(+), 11 deletions(-) commit 9d3574c74d2b341a3240f42bd9ca3d310ecf78df Author: Guillem Jover Date: Tue Oct 18 22:42:16 2022 +0200 dpkg: Use explicit EXIT_SUCCESS/EXIT_FAILURE instead of 0/1 in relationinfos The integer constants can be easily confused by boolean values. Use the explicit exit macros to make it obvious what these are about. Changelog: internal src/main/enquiry.c | 206 ++++++++++++++++++++++++++--------------------------- 1 file changed, 103 insertions(+), 103 deletions(-) commit 8276dabf7af20c37ada82e84c26f1a3e4657cd83 Author: Guillem Jover Date: Mon Oct 17 01:11:31 2022 +0200 dpkg: Rewrite relationinfos array variable definition Use designated initializers to make the assignments obvious. Changelog: internal src/main/enquiry.c | 162 ++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 143 insertions(+), 19 deletions(-) commit 89bfbf1201771b1b656b95875b7aa63b7ff6d240 Author: Guillem Jover Date: Sun Oct 16 23:55:17 2022 +0200 dpkg: Rename struct relationinfo string member to op This is shorter and a more clear name for the operator string. Changelog: internal src/main/enquiry.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 7ae58b28257fa06e7812eeecfd490ceb9a3fb0c4 Author: Christoph Berg Date: Sat Oct 22 15:32:50 2022 +0200 man: Clarify Build-Profiles syntax in deb-src-control(5) Make it clear that "same syntax" for Build-Profiles includes the angle brackets. Closes: #1022237 Signed-off-by: Guillem Jover man/deb-src-control.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2554bd8b78392b4cd182376e571935b8432bccb2 Author: Guillem Jover Date: Sat Oct 15 15:25:43 2022 +0200 man: Clarify dpkg-maintscript-helper switched symlinks/dirs need be shipped There is nothing special about these pathnames being switched by dpkg-maintscript-helper, and they will only be purged, as expected, if they are part of the new package. Closes: #974053 man/dpkg-maintscript-helper.pod | 4 ++++ 1 file changed, 4 insertions(+) commit d9405b4300166572936aad172e8d26670c8091e5 Author: Helge Kreutzmann Date: Sat Oct 15 08:42:04 2022 +0200 po: Update German man pages translation man/po/de.po | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 9587f37596bd197fcfc9f7ef0c63373f14d0a56a Author: Guillem Jover Date: Fri Oct 14 22:54:22 2022 +0200 dselect: Clarify non-free section as optional not free software component Reword the existing note on the media method to clarify the non-free section might not be present in Debian media distributions, and mention the reasons why (due to its licensing). Add the same note to the file method, and clarify its method description. Closes: #30972 dselect/methods/file/desc.file | 4 ++-- dselect/methods/file/setup.sh | 10 ++++++++++ dselect/methods/media/setup.sh | 11 ++++++----- 3 files changed, 18 insertions(+), 7 deletions(-) commit 717e82ec2fe4f714dc6f6b70548bbcc8dbbae183 Author: Guillem Jover Date: Fri Oct 14 22:53:28 2022 +0200 dpkg-name: Use none() instead of ad-hoc comparisons Changelog: internal scripts/dpkg-name.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 028b5c2b54ad18ca04b23209b447551627b2b022 Author: Guillem Jover Date: Thu Oct 13 23:55:02 2022 +0200 doc: Fix «i.e.» usage dselect/methods/media/setup.sh | 2 +- dselect/pkgdepcon.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 7344341f200536e6a97703e6d61447651bc4a8b4 Author: Guillem Jover Date: Thu Oct 13 22:12:10 2022 +0200 man: Add references to deb-src-symbols(5) from deb-symbols(5) This makes it clear what's the relationship between these formats, back and forth. man/deb-symbols.pod | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8ec3c8d98609a1ff2e41fba6520937f925035873 Author: Guillem Jover Date: Thu Oct 13 02:18:07 2022 +0200 debian: Update debbugs usertags - Change view names to make them more clear. - Add new simple view. - Add new generic tags. - Remove duplicate i18n generic tag. - Add new program tags. debian/README.bug-usertags | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) commit ab9bb1c21c958825fd617cc06592b5355b914a4c Author: Helge Kreutzmann Date: Thu Oct 13 21:19:05 2022 +0200 po: Update German man pages translation man/po/de.po | 124 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 66 insertions(+), 58 deletions(-) commit 0c9f0bc0749a71b4352c2fb5b0c48da4498507f1 Author: Guillem Jover Date: Wed Oct 12 01:31:22 2022 +0200 Test::Dpkg: Refactor test files search into _test_get_files function() This reduces duplication and will make adding new variants easier. scripts/Test/Dpkg.pm | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) commit 6044920edf251c406cf1f31a45504f3fd63ebee2 Author: Guillem Jover Date: Wed Oct 12 23:02:26 2022 +0200 man: Clarify «hold» behavior with explicit actions in --force-hold text The text was clear in the «Package selection states» subsection, but a bit unclear in the note in the --force-hold option. Ref: #985749 man/dpkg.pod | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 3a2bf0afea886de5f01ba0521d387fbf5283ec6c Author: Guillem Jover Date: Wed Oct 12 22:48:45 2022 +0200 man: Clarify that dpkg-buildpackage --build components imply a single type This option combines the various components specified to select a single build type, which implies a single build run and .changes file generated. Make that clear in the man page, to avoid confusion as this possibly implying multiple build runs or .changes files generated. Closes: #927265 man/dpkg-buildpackage.pod | 3 +++ 1 file changed, 3 insertions(+) commit 09eb3d159b7d7733e3a770edff1d25035f26ed53 Author: Guillem Jover Date: Wed Oct 12 17:28:31 2022 +0200 man: Switch debian-installer modules.txt reference to a git URL This removes a filesystem pathname hardcoding from the man page, and removes the requirement for the user to install a package to read the additional documentation. While the URL might change, either site provider or even within the repository, this still is an improvement. man/deb-control.pod | 5 ++--- man/deb-src-control.pod | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) commit e7b55c94072cdef489cf492b9d384cb60dd9647a Author: Guillem Jover Date: Wed Oct 12 01:29:19 2022 +0200 doc: Use US English spelling Warned-by: pod-spell man/deb-substvars.pod | 4 ++-- man/dpkg-divert.pod | 2 +- src/main/depcon.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit 9bbb96d513015402c29f8f5a02ddad2fd242ff37 Author: Guillem Jover Date: Wed Oct 12 01:27:41 2022 +0200 doc: Do not use «e.g.» outside parenthesis Warned-by: pod-spell doc/spec/protected-field.txt | 2 +- man/deb-src-symbols.pod | 4 ++-- man/dpkg-parsechangelog.pod | 2 +- man/dpkg-source.pod | 2 +- man/dpkg.pod | 2 +- man/dselect.pod | 2 +- scripts/Dpkg/Changelog/Debian.pm | 3 ++- 7 files changed, 9 insertions(+), 8 deletions(-) commit 5c7551d6936a1b99caa31d05cd218c3a2c58aeeb Author: Guillem Jover Date: Wed Oct 12 01:13:01 2022 +0200 po: Remove stray-previous-msgid entries Changelog: silent Warned-by: i18nspector man/po/nl.po | 11 +---------- man/po/pt.po | 55 +------------------------------------------------------ 2 files changed, 2 insertions(+), 64 deletions(-) commit 5e67750afc83286997ca8159931a9e154a2d82b2 Author: Helge Kreutzmann Date: Wed Oct 12 21:23:43 2022 +0200 po: Update German man pages translation man/po/de.po | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit 2f1a97952b5f51e5e114416c0771e732aa20c25d Author: Christian Göttsche Date: Tue Oct 11 22:57:01 2022 +0200 dpkg, dpkg-statoverride: Install SELinux log callback to filter messages Since libselinux 3.2, via commit 05bdc03130d7 ("libselinux: use kernel status page by default") [1], selinux_status_updated(3) will issue log messages on enforcing changes and policy loads. dpkg is only interested in whether the policy changed to then reload the SELinux label database. Ignore non-relevant log messages and forward messages of type error, warning and avc (which should be treated as error if not audited according to selinux_set_callback(3)). Example (the missing newline is a libselinux bug [2]): Unpacking valgrind-dbg (1:3.19.0-1) ... uavc: op=setenforce lsm=selinux enforcing=0 res=1Preparing to unpack .../vnstati_2.9-1_amd64.deb ... See also . [1]: https://github.com/SELinuxProject/selinux/commit/05bdc03130d741e53e1fb45a958d0a2c184be503 [2]: https://lore.kernel.org/selinux/20221011112733.194079-1-plautrba@redhat.com/ [guillem@debian.org: - Fix coding style. - Change warning prefix to "selinux:". ] Signed-off-by: Guillem Jover src/common/selinux.c | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) commit 812a3b9e8a5d51bd423c8fc32829c1b3e62e7680 Author: Helge Kreutzmann Date: Mon Oct 10 21:27:02 2022 +0200 po: Update German man pages translation man/po/de.po | 221 +++++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 163 insertions(+), 58 deletions(-) commit 4a4861ac325deb9e8b5a06069714d5677db4c028 Author: Helge Kreutzmann Date: Mon Oct 10 21:26:46 2022 +0200 po: Update German scripts translation scripts/po/de.po | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) commit 6e8da469da76a5576d84b80c1feac4f10ade9397 Author: Guillem Jover Date: Sun Oct 9 03:26:55 2022 +0200 doc: Reword vendor file and module lookup logic to make it more clear Changelog: silent Prompted-by: Helge Kreutzmann man/deb-origin.pod | 24 +++++++++++++++++------- scripts/Dpkg/Vendor.pm | 19 +++++++++++++------ 2 files changed, 30 insertions(+), 13 deletions(-) commit 1d0ea9b2ba3f6a2de5b1a6ff55f3df7b71f73db6 Author: Guillem Jover Date: Fri Oct 7 23:39:40 2022 +0200 dpkg-buildpackage: Change -j, --jobs semantics to non-force mode The -j option matches the «make -j», and while the latter operates in force mode by default, meaning that it will run in parallel regardless of Makefiles supporting parallel execution, for source packages, where parallel builds is an opt-in process, we should default to the safe behavior which is to only enable parallel builds if the source packages supports them. The -j, --jobs option becomes an alias for -J, --jobs-try. Closes: #905835 man/dpkg-buildpackage.pod | 53 ++++++++++++++++++++++++++------------------ scripts/dpkg-buildpackage.pl | 18 +++++---------- 2 files changed, 37 insertions(+), 34 deletions(-) commit f3f8b3e09757c7a873525a51b288074faaca7594 Author: Guillem Jover Date: Fri Oct 7 23:39:40 2022 +0200 dpkg-buildpackage: Add new --jobs-force option This option has the semantics of forced parallel builds. As we are about to change the semantics for the «-j» option, we should have a way to select the old force behavior. man/dpkg-buildpackage.pod | 4 ++++ scripts/dpkg-buildpackage.pl | 5 +++++ 2 files changed, 9 insertions(+) commit 449fc2b875a78b7e61f71f2c7416b6c53bc41044 Author: Guillem Jover Date: Sat Oct 8 18:15:12 2022 +0200 dpkg-buildpackage: Rename --jobs/--jobs-try argument in --help output Make it more clear this is the number of jobs, and match the name used in the man page. scripts/dpkg-buildpackage.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9e360cc6167eb608fd0ba3957c5514bf279e58fa Author: Guillem Jover Date: Sun Oct 9 20:23:18 2022 +0200 dpkg-buildpackage: Fix --jobs and --jobs-try parsing with no «=» These options are documented as taking an optional value, but the parser was only accepting that for their short option counterparts. scripts/dpkg-buildpackage.pl | 6 ++++++ 1 file changed, 6 insertions(+) commit e82c6604e976f011923e9c460f372b2021918dd7 Author: Guillem Jover Date: Fri Oct 7 23:41:42 2022 +0200 dpkg-source: Fix confusing regex match for option arguments For the «--diff-ignore» option we were using a single regex to match it with or without arguments. Which resulted in a premature end of string marker followed by optional capturing group and another end of string marker. This is rather confusing, so split it into two regexes. scripts/dpkg-source.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 7cf0faa61a8777a79998c25babe082840ab97606 Author: Guillem Jover Date: Fri Oct 7 04:36:15 2022 +0200 doc: Fix typos in coding-style.txt Chsngelog: silent doc/coding-style.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit ec503c5ccc35134106b78cf62473b885c756d97f Author: Frans Spiesschaert Date: Mon Oct 10 03:12:27 2022 +0200 po: Update Dutch translations Closes: #1021442, #1021443 Signed-off-by: Guillem Jover man/po/nl.po | 183 +++++++++++++++++++++++------------------------------------ po/nl.po | 33 ++--------- 2 files changed, 76 insertions(+), 140 deletions(-) commit 77f5bedb574732e433947264638b3caff5651ae8 Author: Helge Kreutzmann Date: Sat Oct 8 06:50:48 2022 +0200 po: Update German man pages translation man/po/de.po | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) commit ab603c74f6ee7a30c1163e799f661568720be0d9 Author: Helge Kreutzmann Date: Sat Oct 8 06:50:17 2022 +0200 po: Update German scripts translation scripts/po/de.po | 36 +++++++++++++++++++++++++++++------- 1 file changed, 29 insertions(+), 7 deletions(-) commit 22d50d3298135cdea288ff40c918b0f763927b99 Author: Boyuan Yang Date: Wed Oct 5 23:02:54 2022 +0200 po: Update Simplified Chinese programs translation Closes: #1021281 Signed-off-by: Guillem Jover po/zh_CN.po | 705 +++++++++++++++++++----------------------------------------- 1 file changed, 226 insertions(+), 479 deletions(-) commit 88314fef1fd002e3332a2c27ae9bd63dff232814 Author: Peter Krefting Date: Sat Oct 1 22:22:10 2022 +0100 po: Update Swedish translations Closes: #1021091 Signed-off-by: Guillem Jover man/po/sv.po | 370 +++++--------- po/sv.po | 1496 +----------------------------------------------------- scripts/po/sv.po | 1141 ++--------------------------------------- 3 files changed, 182 insertions(+), 2825 deletions(-) commit 2b28d80a1b37279f66beac8f178f3cfd7617dd4c Author: Américo Monteiro Date: Mon Oct 3 12:39:31 2022 +0200 po: Update Portuguese man pages translation Closes: #1018682 Signed-off-by: Guillem Jover man/po/pt.po | 123 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 64 insertions(+), 59 deletions(-) commit 62a37fb72a811cc98e8357f38467ff0ac6a396f8 Author: Guillem Jover Date: Sun Oct 2 04:09:04 2022 +0200 u-a: Call tzset() explicitly now that we use localtime_r() The localtime_r() function is not guaranteed to call tzset() internally (or an equivalent functionality) as localtime() does. Changelog: internal utils/update-alternatives.c | 1 + 1 file changed, 1 insertion(+) commit 03684bcb06546649e4182071fc62a86df6c8f409 Author: Guillem Jover Date: Sat Oct 1 20:16:11 2022 +0200 doc: Remove __END__ marker for ending POD documentation While this might give a very tiny speed improvement, it messes with editor formatting for POD markup. scripts/Dpkg/Arch.pm | 2 -- scripts/Dpkg/Changelog/Debian.pm | 1 - scripts/Dpkg/IPC.pm | 1 - 3 files changed, 4 deletions(-) commit 11baf20d22ca1a16a94b0a171228dc9604b6eb61 Author: Guillem Jover Date: Sat Oct 1 20:13:56 2022 +0200 doc: Do not use UTF-8 quotes in POD The pod-spell check complains about these wide-characters. Warned-by: pod-spell scripts/Dpkg/BuildOptions.pm | 4 ++-- scripts/Dpkg/Deps.pm | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 320fb28911bc932b4b648d46723ef91d6bd1bd84 Author: Guillem Jover Date: Wed Sep 21 11:36:56 2022 +0200 Dpkg::Vendor: Deprecate loading vendor module names starting lower-cased This does not follow the current module naming convention, so we track any such names that we might have not seen before as part of the separated name handling, and emit warnings for the obsolete module names. Reported-by: Niels Thykier (on IRC) scripts/Dpkg/Vendor.pm | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) commit aeee6269fbe5a3385ce1b0febd5919cd40fb7716 Author: Guillem Jover Date: Sun Oct 2 20:23:29 2022 +0200 Dpkg::Vendor: Deprecate loading vendor files with no special character mapping We should have clear and mapping rules for vendor files, to avoid strange filenames. It should also help that both the vendor files and the vendor modules will end up mapping based on the same set of special characters. man/deb-origin.pod | 6 ++++-- scripts/Dpkg/Vendor.pm | 37 ++++++++++++++++++++++++++++++------- 2 files changed, 34 insertions(+), 9 deletions(-) commit deb718ab71d45f1162a4d1807d641edf54e244c4 Author: Guillem Jover Date: Wed Sep 21 11:36:56 2022 +0200 Dpkg::Vendor: Fix module loading for vendors with special characters The current code was not handling vendor names with special characters (any of [^A-Za-z0-9], nor it was capitalizing the module name to follow the current module naming convention. We add the character remapping. Reported-by: Niels Thykier (on IRC) scripts/Dpkg/Vendor.pm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit 5a7c7badd9e8fabf04f6c0f2362c903f80e1c0ae Author: Guillem Jover Date: Sun Oct 2 19:53:26 2022 +0200 Dpkg::Vendor: Fix vendor file loading for vendors with special characters The current code was not handling vendor names with multiple groups of spaces nor with special characters (any of [^A-Za-z0-9]). While filenames can be easily supported by many of those special characters, they can be annoying to deal with or cause unexpected results (such as using «/»). We add trials with full special character remapping to «-» using the same regex that we will use for vendor module names, so that the remapping is unified and more easy to understand. man/deb-origin.pod | 8 +++++--- scripts/Dpkg/Vendor.pm | 14 ++++++++++++-- 2 files changed, 17 insertions(+), 5 deletions(-) commit dff52dbdbfe0552d36ed11091ac33a6ed1c193f4 Author: Guillem Jover Date: Wed Sep 21 03:44:16 2022 +0200 Dpkg::Vendor: Use a normalized key to access the cached objects Given that we accept variants for the vendor name, we should normalize by what we cached the result, otherwise we might end up doing more work than necessary. Use a very restricted set of characters, that should be extremely safe both for the vendor filename and the module name. Reported-by: Niels Thykier (on IRC) scripts/Dpkg/Vendor.pm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 7923fb945173f06cce260ad5cc55161534961c7c Author: Guillem Jover Date: Sun Oct 2 18:30:32 2022 +0200 Dpkg::Vendor: Prefer loading capitalized vendor modules This gets us closer to the current perl module naming convention in the project (and in perl in general). scripts/Dpkg/Vendor.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 22da1f06476bbb7dd98e1c784c90a58bcbbf8353 Author: Guillem Jover Date: Wed Sep 21 04:15:17 2022 +0200 Dpkg::Vendor: Prefer loading lowercase vendor file first as documented The documentation mentions that a lowercase vendor file is preferred, so we should try that first, then the passed name, followed by the different casing variants, preferring also the capitalized lowercase variant over the capitalized preserving the reset of the passed casing. Reported-by: Niels Thykier (on IRC) scripts/Dpkg/Vendor.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit af29c98849dc22093418a957925456bef115722f Author: Guillem Jover Date: Fri Sep 30 02:09:11 2022 +0200 Dpkg::Vendor: Avoid duplicate file loading attempts When loading either the vendor file or the vendor module, only try the same name once, by removing duplicates from the list. Otherwise we are performing wasteful operations, that will affect all callers that have conditional vendor support. scripts/Dpkg/Vendor.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 544af6f0b7ce9d607e886a7186d3cc22830cea45 Author: Guillem Jover Date: Wed Sep 21 03:39:46 2022 +0200 Dpkg::Vendor: Fix get_vendor_file() to return on first match There is no point in checking the whole list of alternative vendor files just to return the last match, when we can simply return early on the first, as that's all wasted work. This also makes the behavior consistent with the get_vendor_object which returns on the first match when looking for a perl module. Reported-by: Niels Thykier (on IRC) scripts/Dpkg/Vendor.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 96def9855e4204fc610d09b3919cd7c58f5d0487 Author: Guillem Jover Date: Mon Oct 3 03:32:02 2022 +0200 Dpkg::Vendor: Rename @tries variable to @names scripts/Dpkg/Vendor.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit aac147989efa0dad79181d85899dfae6fe2a88ce Author: Guillem Jover Date: Mon Feb 7 00:32:21 2022 +0100 Dpkg::Source::Package: Print verifying signature for all source formats Move the printing into the check_original_tarball_signature() function, so that we can print one line per signature verified. Otherwise we could only do that for the 1.0 format, which does not support multiple orig tarballs. While at it, simplify the message to only print the signature we are verifying, and not the data file it is attached to. scripts/Dpkg/Source/Package.pm | 1 + scripts/Dpkg/Source/Package/V1.pm | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) commit 16282d3bdc20e5e4fca8a53343d2c3510d4cbe69 Author: Guillem Jover Date: Mon Feb 7 00:31:42 2022 +0100 Dpkg::Source::Package: Verify signatures before printing source files addition Even though we do not add these files until later, we should print the actions we are doing in an order that makes sense, which is first signature verification, then file addition. scripts/Dpkg/Source/Package/V1.pm | 6 +++--- scripts/Dpkg/Source/Package/V2.pm | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) commit 446417bebb32f85789ac2b9b657728bf8cf55eeb Author: Guillem Jover Date: Wed Jul 6 02:34:55 2022 +0200 Dpkg::Source::Package: Use File::Spec instead of ad-hoc concatenation This takes care of adding the required pathname separators when needed. Finishes the change in commit 60d8baf664bd75aa235a727fd63c189d450bb4ce. scripts/Dpkg/Source/Package.pm | 3 ++- scripts/Dpkg/Source/Package/V1.pm | 8 ++++---- scripts/Dpkg/Source/Package/V2.pm | 14 +++++++++----- scripts/Dpkg/Source/Package/V3/Bzr.pm | 7 ++++--- scripts/Dpkg/Source/Package/V3/Git.pm | 9 ++++++--- scripts/Dpkg/Source/Package/V3/Native.pm | 6 ++++-- 6 files changed, 29 insertions(+), 18 deletions(-) commit 712f5e748802e6e4004720e3c8dcff35f21959ab Author: Helge Kreutzmann Date: Tue Sep 20 20:49:20 2022 +0200 po: Update German man pages translation man/po/de.po | 123 +++++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 94 insertions(+), 29 deletions(-) commit edf66453d5629869f5d542576d72087d13ef86d9 Author: Guillem Jover Date: Mon Sep 19 20:32:57 2022 +0200 man: Clarify when package names get arch-qualified in dpkg-query output There were two places describing when packages get arch-qualified, one was missing the foreign arch case, the other read as if it was a non-exhaustive list of cases when it already was, which was rather confusing. Use the opportunity the reword both in a similar and hopefully more clear way and expand what a foreign arch implies. Reported-by: Jakub Wilk (on IRC) man/dpkg-query.pod | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit 5ede90f6647c52e95c6753c77b7bcd3984e3b22f Author: Guillem Jover Date: Mon Sep 19 20:12:12 2022 +0200 man: Add description of bug closure Perl regex in deb-changelog(5) Describe the behavior of the Perl regex for bug closures, so that people that might not be fluent can still understand it. Remove «Bug» from example closure, as that's not the usual convention. Ref: #953911 Based-on-patch-by: Daniel Shahaf man/deb-changelog.pod | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) commit a811d0d2fe199238f9ec30423e25befb6f1b545a Author: Sven Joachim Date: Sun Sep 18 14:47:38 2022 +0200 po: Update German programs translation Update to 1177t. po/de.po | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit d7aee4b2eb17a13c28b6db0aa4eac37bc646091b Author: Helge Kreutzmann Date: Sun Sep 18 14:35:54 2022 +0200 po: Update German man pages translation man/po/de.po | 59 ++++++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 44 insertions(+), 15 deletions(-) commit f702cd3f116f5e118d70140f31188dc1bed7b548 Author: Ian Jackson Date: Wed Jul 6 18:44:21 2022 +0100 dpkg: Make -E also take into account the architecture Let --skip-same-version look at the architecture too, so it can be used for an idempotent cross-grade. [guillem@debian.org: - Document behavior change in dpkg(1) man page. - Reword --help output to fit under 80 chars. ] Closes: #1014476 Signed-off-by: Guillem Jover man/dpkg.pod | 8 ++++++-- src/main/archives.c | 2 +- src/main/main.c | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) commit 36a7770f03e9e4d1865d25ad74b27d82c07b6f84 Author: Johannes Schauer Marin Rodrigues Date: Fri May 27 01:33:19 2022 +0200 dpkg-genbuildinfo: Add new can-execute-cross-built-programs tainted flag Whether we can execute a cross-built program depends on whether the CPU and the operating system have such capability, including in some cases doing so via emulation, such as qemu hooked via something like binfmt on Linux. If the system is or not capable of running such programs, might affect the built artifacts and what tests run or not. [guillem@debian.org: - Use File::Temp instead of tmpnam() and push_exit_handler(). - Set a taint flag instead of a new field. - Pass -w to gcc to avoid warnings. - Refactor into a function. - Style fixes. ] Closes: #1011191 man/deb-buildinfo.pod | 7 ++++++ scripts/dpkg-genbuildinfo.pl | 51 +++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 57 insertions(+), 1 deletion(-) commit 54305ee3803de9fe495d1126bab2d78ea0cd233b Author: Guillem Jover Date: Sat Jun 18 20:32:49 2022 +0200 dpkg-genbuildinfo: Refactor build-tainted-by gathering into a function We will populate it with other local taint flags. scripts/dpkg-genbuildinfo.pl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit d3d4c49c83c9591a7624816d60df38f09af60a16 Author: Guillem Jover Date: Sat Sep 17 08:48:26 2022 +0200 man: Fix typo in markup man/deb-src-control.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1da76b4378c92813584445acddb33a78a531bec2 Author: Helge Kreutzmann Date: Fri Sep 16 16:44:13 2022 +0200 po: Update German scripts translation scripts/po/de.po | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) commit c8f1463cc8fa695fdeee7f126132d086bf2a36db Author: Helge Kreutzmann Date: Fri Sep 16 16:43:09 2022 +0200 po: Update German man pages translation man/po/de.po | 90 ++++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 72 insertions(+), 18 deletions(-) commit a99af2d86225dd2efe4a706f31488901f8182667 Author: Guillem Jover Date: Sat Sep 10 22:31:16 2022 +0200 doc: Fix typos Warned-by: codespell ChangeLog.old | 34 +++++++++++++++++----------------- scripts/mk/architecture.mk | 2 +- t/codespell/stopwords | 2 ++ 3 files changed, 20 insertions(+), 18 deletions(-) commit b270714bc3ac84724fd5eadb5a70387186f38a4e Author: Guillem Jover Date: Fri Sep 9 03:32:48 2022 +0200 doc: Update git repo URL and mention it being the primary one README | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit f8278a98d769737430a80110abd77731648ed50e Author: Guillem Jover Date: Fri Sep 9 03:32:10 2022 +0200 doc: Switch releases download link from ftp.debian.org to deb.debian.org README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b8a22b7dc4defa2c2895d3df7041feb7cd48bf35 Author: Guillem Jover Date: Fri Sep 9 03:28:19 2022 +0200 doc: Use https:// URLs instead of http:// when possible (round four) This includes the GPL license links, dpkg download links, patch metadata template, test suite data, translation reference comments. The ITS schema cannot be switched as it makes xgettext segfault. README | 4 ++-- lib/dpkg/color.c | 2 +- lib/dpkg/color.h | 2 +- lib/dpkg/t/c-treewalk.c | 2 +- lib/dpkg/t/c-trigdeferred.c | 2 +- lib/dpkg/t/t-ehandle.c | 2 +- lib/dpkg/treewalk.c | 2 +- lib/dpkg/treewalk.h | 2 +- po/de.po | 2 +- scripts/Dpkg/Source/Package/V2.pm | 2 +- scripts/t/origins/ubuntu | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) commit 927b5dc10857ce9294dca4f78ad76f8d99d362b7 Author: Guillem Jover Date: Tue Sep 13 23:38:04 2022 +0200 dpkg-fsys-usrunmess: Do not pass to print a ref to *STDERR Changelog: internal scripts/dpkg-fsys-usrunmess.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3f021fb53fdfb77cb5b7ae90e6fbe4283b7763e5 Author: Guillem Jover Date: Fri Sep 9 03:23:12 2022 +0200 Dselect::Ftp: Switch to current mirror list for ftp method output The old URL refers to the new one, so better direct the user to the one with actual content. dselect/methods/Dselect/Ftp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1267a2135cba8f5d4950f2456160027234694983 Author: Guillem Jover Date: Wed Sep 14 04:56:47 2022 +0200 Dpkg::Deps: Merge dependency string into a single line when parsing When we parse dependency information we need to remap it into a single-line so that the parser can do its job correctly. Closes: #1019565 scripts/Dpkg/Deps.pm | 2 ++ scripts/t/Dpkg_Deps.t | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 926582f544ef8715c5874325304869196cd3c6fa Author: Guillem Jover Date: Fri Sep 9 03:34:42 2022 +0200 Dpkg::Checksums: Fix spacing Changelog: silent scripts/Dpkg/Checksums.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 97bdc84c56ab2dbc6f5d18aca04ec387ff07d09e Author: Guillem Jover Date: Wed Aug 31 23:29:21 2022 +0200 Dpkg::Source::Package::V2: Update and clarify patch header metadata template Add missing fields, update accepted field values and syntax, and make the format clearer by distinguishing text that needs to be replaced (within «<>»), and between alternatives within «(|)» be these literal or replaceable text. scripts/Dpkg/Source/Package/V2.pm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 8e232648cc39a9dc692cc58c0d54a332412ef10a Author: Guillem Jover Date: Sat Sep 10 22:31:55 2022 +0200 dpkg: Remove redundant «continue» keyword at the end of a loop This is a no-op, as it was the last statement on a while loop. Changelog: internal Warned-by: cppcheck src/main/remove.c | 1 - 1 file changed, 1 deletion(-) commit c10aeffc6d7198056f716486f6cfdbe70ce182a9 Author: Guillem Jover Date: Sun Aug 21 01:49:40 2022 +0200 dpkg-deb: Add support for DPKG_DEB_COMPRESSOR_TYPE/LEVEL Closes: #550475 man/dpkg-deb.pod | 12 ++++++++++++ src/deb/main.c | 20 ++++++++++++++++++++ 2 files changed, 32 insertions(+) commit ae0a944c361948800583666bbdedff91d37ccd58 Author: Guillem Jover Date: Sun Aug 21 01:48:52 2022 +0200 dpkg-deb: Refactor parse_compress_type() from set_compress_type() Changelog: internal src/deb/main.c | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) commit e892aa4fdc56459ed60ae7e8c857eb364cbc0d8d Author: Guillem Jover Date: Sat Aug 13 18:59:39 2022 +0200 dpkg-deb: Move DPKG_DEB_THREADS_MAX parsing from libdpkg This environment variable is dpkg-deb specific, and has no place in the generic libdpkg code. Changelog: internal lib/dpkg/compress.c | 19 ------------------- src/deb/main.c | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 19 deletions(-) commit ecfebe697efe55bb4b5622ef6318b1adbf39ae92 Author: Guillem Jover Date: Thu Sep 15 03:32:33 2022 +0200 test: Remove stray backslash before comma Warned-by: grep tests/t-multiarch/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 922a02feb8c42b92537d16d1cae6bdfd9d686efc Author: Guillem Jover Date: Thu Aug 11 02:15:26 2022 +0200 test: Redirect dd stderr to /dev/null instead of using status=none argument The latter is not portable. Fixes test failures on AIX. src/at/deb-split.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a9d111da5d5c7f0a26bda4d4583d21c6fa43f8a8 Author: Guillem Jover Date: Thu Aug 11 02:14:15 2022 +0200 test: Use «perl» instead of «stat -c '%s'» The former is more portable. Fixes test failures on AIX. src/at/deb-format.at | 6 +++--- src/at/local.at | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) commit 7f96bc0d8e1364eb094467ac5b60fd23e246cf0f Author: Guillem Jover Date: Thu Aug 11 01:37:16 2022 +0200 test: Do not use unportable -a option to cp We do not need to preserve attributes for these files. At least AIX does not support it. src/at/deb-format.at | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 8c7c835f9ba939b705f8494eb32ce45548b95f8f Author: Guillem Jover Date: Thu Aug 11 02:13:26 2022 +0200 libdpkg: Fix type name for AIX dpkg_get_progname() implementation Fixes: commit 679760fd15900471faddfccb3a50bc0992073acc lib/dpkg/progname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ed51e46d960b388d1880eb25a752d10ca781a7ba Author: Guillem Jover Date: Fri Sep 16 04:05:15 2022 +0200 build: Consider Dselect prefixes as perl modules too in gen-changelog The perl modules for the dselect methods need to be matched. build-aux/gen-changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d098a26cea2064db0769898b3583a4bfb8c40488 Author: Guillem Jover Date: Sat Sep 10 18:45:01 2022 +0200 build: Simplify author testing Add an authorcheck make target. Switch all usages and documentation to use the new target. Remove DPKG_DEVEL_MODE environment variable support, and replace with AUTHOR_TESTING where appropriate. Update the usage documentation. .gitlab-ci.yml | 5 ++--- Makefile.am | 3 +++ README | 8 +++----- doc/coding-style.txt | 2 +- m4/dpkg-build.m4 | 3 +-- scripts/Test/Dpkg.pm | 4 ++-- 6 files changed, 12 insertions(+), 13 deletions(-) commit 2767801430de3c6d4ec7394e286fc261a8180feb Author: Guillem Jover Date: Mon Aug 1 05:43:09 2022 +0200 build: Fully switch to libmd for MD5 implementation Instead of embedding the MD5 digest implementation into libcompat, and potentially requiring keeping adding other digest functions there, fully switch to require these functions to be provided either by the system libc or by a libmd compatible project, such as . README | 2 +- debian/control | 1 + debian/copyright | 14 --- debian/rules | 1 - lib/compat/Makefile.am | 5 - lib/compat/md5.c | 252 ------------------------------------------------- lib/compat/md5.h | 36 ------- m4/dpkg-libs.m4 | 31 +++--- 8 files changed, 14 insertions(+), 328 deletions(-) commit c6a4f28e1b1851a1419ccce46da5164389173876 Author: Guillem Jover Date: Sat Apr 25 20:25:30 2020 +0200 build: Add the author testing dependencies to Build-Depends under a profile This makes installing them by hand or from various CI sources easier, and avoids having to repeat them all over the place. .gitlab-ci.yml | 6 +----- debian/control | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 5 deletions(-) commit 3e7f285267fbef3d8d9735a29cddd7c503112a73 Author: Guillem Jover Date: Tue Jul 19 02:34:44 2022 +0200 dpkg-buildpackage: Add --source-by and --changed-by aliases for -m/-e This might make the options more understandable depending on the callers usage, as it might better match their intended purpose. man/dpkg-buildpackage.pod | 4 ++++ scripts/dpkg-buildpackage.pl | 10 ++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) commit 1a4eb9edb0ae487dc6f72b29e1af4237da734c03 Author: Guillem Jover Date: Tue Jul 19 02:34:44 2022 +0200 man: Clarify how --build-by and --release-by get passed to dpkg-genchanges These get passed as -m and -e respectively. Directing users to the dpkg-genchanges(1) man page looking for the long options is not helpful, when that command does not support them. Fixes: commit 293bd243a19149165fc4fd8830b16a51d471a5e9 man/dpkg-buildpackage.pod | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 578f4deb52fc8ce83845f9e3395c251d36feeedc Author: Guillem Jover Date: Tue Jul 19 02:34:44 2022 +0200 dpkg-buildpackage: Fix swapped long options for -m/-e Fixes: commit 293bd243a19149165fc4fd8830b16a51d471a5e9 man/dpkg-buildpackage.pod | 4 ++-- scripts/dpkg-buildpackage.pl | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) commit e02fb2e3dffbacce894d5282e94a91bd51aaaae2 Author: Guillem Jover Date: Thu Jan 6 22:30:13 2022 +0100 dpkg-genbuildinfo: Use Dpkg::Version to parse source version Do not open-code version parsing when we can let the module do that for us. Changelog: internal scripts/dpkg-genbuildinfo.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit c15487a58cfd955ae401c872c95aa375aacd1a88 Author: Guillem Jover Date: Tue Jan 19 04:23:22 2021 +0100 dpkg-architecture: Do not compute values that are not required Further improve the logic to decide what values to detect from the system if not needed. This is a continuation from work done in commit 3f0304b640b7b5df1d727c175b59e75d69f4ba24. scripts/dpkg-architecture.pl | 155 +++++++++++++++++++++++++------------------ 1 file changed, 91 insertions(+), 64 deletions(-) commit 0219be9f9c77eab8671f484b63c15983ba31f4e9 Author: Helge Kreutzmann Date: Sat Jul 16 21:20:08 2022 +0200 po: Update German man pages translation man/po/de.po | 57 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 28 deletions(-) commit 0740da6a975a87135d448d3412240202729184c5 Author: Guillem Jover Date: Wed Jul 6 02:29:19 2022 +0200 Dpkg::Source::Package::V1: Remove redundant exit handler for erasedir() We are adding an exit handler for the same function, which means that if it fails, it will most probably fail again on the exist handler. So there is no much point in this. scripts/Dpkg/Source/Package/V1.pm | 2 -- 1 file changed, 2 deletions(-) commit 001345e2ead49768270461d0937a9e646bca15aa Author: Guillem Jover Date: Wed Jul 6 02:26:40 2022 +0200 debian: Update bogus lintian tag format debian/dpkg.lintian-overrides | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 245077b8493714d2037528ba836e29b1042aca9c Author: Guillem Jover Date: Wed Jul 6 23:45:33 2022 +0200 debian: Do not compress spec files Whether dh_compress compresses a file depends on its size, so a file might switch from being compressed to being a plain text file whenever content gets added or removed. This makes stable links to these files rather inconvenient. As these are small files anyway, and they are shipped in a development package, we will simply install them uncompressed. debian/rules | 3 +++ man/deb-triggers.pod | 2 +- man/dpkg-trigger.pod | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) commit ae11999a964c6fe863dde5f8dffd171458362b23 Author: Guillem Jover Date: Wed Jul 6 23:44:11 2022 +0200 debian: Properly install specs under /usr/share/doc/dpkg/spec/ dh_installdoc was taking the filenames and installing them directly under /usr/share/doc/dpkg, which was not the intention with the subdir move. Fixes: commit e03d559c1dbb8ea943cf4607dbdc74d3cb2996a4 debian/dpkg-dev.docs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit f74e987cc4688594349c221f33cd89bd5117361a Author: Sven Joachim Date: Wed Jul 6 18:12:44 2022 +0200 po: Update German programs translation Update to 1177t. po/de.po | 45 +++++++++++---------------------------------- 1 file changed, 11 insertions(+), 34 deletions(-) commit f165802999476aa68325b60f69b2a8cdfc3c80d6 Author: Guillem Jover Date: Tue Jul 5 05:52:25 2022 +0200 doc: Spell SELinux correctly debian/changelog | 16 ++++++++-------- src/common/selinux.c | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) commit 12965e4f0a02375028f5d85095f64b99aecb6b60 Author: Christian Göttsche Date: Tue Jul 5 00:40:05 2022 +0200 dpkg: Avoid setgid(2) call if not needed If run as root, dpkg unconditionally calls setgid(0), for example if called as «dpkg --print-foreign-architectures» via lsb_release(1). On Linux this causes a POSIX capability check for CAP_SETGID, which for SELinux performs a permission check on the subject type. Allowing that access unnecessarily broadens the privileges of the subject, and ignoring (dontaudit'ing) might hide situations where CAP_SETGID is required (maybe within another program, but same SELinux type). This change makes the code only call setgid() if the current group ID is not 0 (=root). Since the condition also checks for the root user via getuid(), checking getegid() seems not to be necessary. Closes: #1014332 Signed-off-by: Guillem Jover src/main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f5dd09fe5b329c89afc920e94cd3ef2502d32a88 Author: Guillem Jover Date: Sun Jul 3 02:56:45 2022 +0200 debian: Bump Standards-Version to 4.6.1 (no changes needed) debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5f06273e6a532b1a10a68fe9a7a2e7d2524dbf51 Author: Helge Kreutzmann Date: Sat Jul 2 21:04:23 2022 +0200 po: Update German man pages translation man/po/de.po | 99 +++++++++++++++++++----------------------------------------- 1 file changed, 31 insertions(+), 68 deletions(-) commit 3cfebf646c6c8a551369dd5a211cedad6abf41b9 Author: Guillem Jover Date: Fri Jul 1 11:43:02 2022 +0200 Bump version to 1.21.10 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit c2d6b7de5849c62d3a4f55f61dbc53c1992f74ee Author: Guillem Jover Date: Fri Jul 1 11:27:05 2022 +0200 Release 1.21.9 debian/changelog | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) commit b3f3ed0eeb0487b9f62ff2765b09cfbfc70252cd Author: Guillem Jover Date: Fri Jul 1 11:25:57 2022 +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/de.po | 143 ++++++++++++++++++++++++++++++++++++++---------- man/po/dpkg-man.pot | 85 +++++++++++++++++++--------- man/po/es.po | 93 +++++++++++++++++++++++-------- man/po/fr.po | 102 +++++++++++++++++++++++++--------- man/po/hu.po | 87 +++++++++++++++++++++-------- man/po/it.po | 91 ++++++++++++++++++++++-------- man/po/ja.po | 93 +++++++++++++++++++++++-------- man/po/nl.po | 135 ++++++++++++++++++++++++++++++++++++--------- man/po/pl.po | 93 +++++++++++++++++++++++-------- man/po/pt.po | 135 ++++++++++++++++++++++++++++++++++++--------- man/po/pt_BR.po | 85 ++++++++++++++++++++-------- man/po/ru.po | 90 ++++++++++++++++++++++-------- man/po/sv.po | 135 ++++++++++++++++++++++++++++++++++++--------- man/po/zh_CN.po | 82 +++++++++++++++++++-------- po/ast.po | 3 +- po/bs.po | 3 +- po/ca.po | 30 +++++++++- po/cs.po | 3 +- po/da.po | 3 +- po/de.po | 30 +++++++++- po/dpkg.pot | 5 +- po/dz.po | 3 +- po/el.po | 3 +- po/eo.po | 3 +- po/es.po | 30 +++++++++- po/et.po | 3 +- po/eu.po | 3 +- po/fr.po | 3 +- po/gl.po | 3 +- po/hu.po | 3 +- po/id.po | 3 +- po/it.po | 30 +++++++++- po/ja.po | 3 +- po/km.po | 3 +- po/ko.po | 3 +- po/ku.po | 3 +- po/lt.po | 3 +- po/mr.po | 3 +- po/nb.po | 3 +- po/ne.po | 3 +- po/nl.po | 30 +++++++++- po/nn.po | 3 +- po/oc.po | 3 +- po/pa.po | 3 +- po/pl.po | 30 +++++++++- po/pt.po | 30 +++++++++- po/pt_BR.po | 3 +- po/ro.po | 3 +- po/ru.po | 3 +- po/sk.po | 3 +- po/sv.po | 30 +++++++++- po/th.po | 3 +- po/tl.po | 3 +- po/tr.po | 30 +++++++++- po/vi.po | 3 +- po/zh_CN.po | 30 +++++++++- po/zh_TW.po | 30 +++++++++- scripts/po/ca.po | 2 +- scripts/po/de.po | 6 +- scripts/po/dpkg-dev.pot | 4 +- scripts/po/es.po | 2 +- scripts/po/fr.po | 2 +- scripts/po/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 96 files changed, 1514 insertions(+), 449 deletions(-) commit a3513eb672ecf1bb4b63de46d32f30b7b43bf65c Author: Guillem Jover Date: Thu Jun 23 20:49:12 2022 +0200 Dpkg::BuildFlags: Document optimize feature area This feature was added in the Dpkg::Vendor:Debian module, but not documented here. Fixes: commit 9f9d22129ccc5e79c29ff9c2112cdc47ababbb09 scripts/Dpkg/BuildFlags.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cad30c7db931f7aaf598a9c24cf5b38fda386424 Author: Guillem Jover Date: Sat Jul 17 22:58:01 2021 +0200 dpkg-deb: Add support for --threads-max and DPKG_DEB_THREADS_MAX These will make it possible to limit the maximum number of threads used by compressors that support multi-threading. Prompted-by: vv221 on IRC lib/dpkg/compress.c | 35 ++++++++++++++++++++++++++++++++--- lib/dpkg/compress.h | 1 + man/dpkg-deb.pod | 12 ++++++++++++ src/deb/extract.c | 1 + src/deb/main.c | 9 +++++++++ 5 files changed, 55 insertions(+), 3 deletions(-) commit 7b55e3c006d8d91c658f95e1748d8b50bc7f0210 Author: Guillem Jover Date: Fri Feb 11 22:16:12 2022 +0100 libdpkg: Refactor command actions for compression Setup the «struct command» from the fd_fd_filter() caller, so that we can use its API to add variable amount of arguments. This cleans up conditional option handling, and will make it easier to extend them further. lib/dpkg/compress.c | 114 +++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 81 insertions(+), 33 deletions(-) commit 6ed23da43f705832e47ed3351d29f060d4dd7e1f Author: Guillem Jover Date: Tue Dec 28 04:59:16 2021 +0100 man: Add references to rootless-builds.txt spec man/deb-src-control.pod | 1 + man/dpkg-buildpackage.pod | 1 + man/dpkg-deb.pod | 1 + 3 files changed, 3 insertions(+) commit e03d559c1dbb8ea943cf4607dbdc74d3cb2996a4 Author: Guillem Jover Date: Tue Dec 28 04:58:19 2021 +0100 doc: Move specifications under doc/spec Do this for both the source tree, and for the installation directory, to make it clear that these are specifications instead of random documents. Makefile.am | 13 +++++++++---- debian/dpkg-dev.docs | 8 ++++---- doc/{ => spec}/frontend-api.txt | 0 doc/{ => spec}/protected-field.txt | 0 doc/{ => spec}/rootless-builds.txt | 0 doc/{ => spec}/triggers.txt | 0 man/deb-triggers.pod | 2 +- man/dpkg-trigger.pod | 2 +- 8 files changed, 15 insertions(+), 10 deletions(-) commit ee2e4d6afa84c2f2d7d8ac23bf3fbf441aaba3f9 Author: Guillem Jover Date: Tue Dec 28 05:00:53 2021 +0100 doc: Rename frontend.txt to frontend-api.txt Give the file a more meaningful name, as frontend.txt is not very clear on what its purpose is. Makefile.am | 2 +- debian/dpkg-dev.docs | 2 +- doc/{frontend.txt => frontend-api.txt} | 0 3 files changed, 2 insertions(+), 2 deletions(-) commit cb66cd75afdbcb3b38453fba41e5a17df4b9ef3f Author: Guillem Jover Date: Sat Dec 4 06:01:35 2021 +0100 build: Split the test-runner into its own script Having so much perl logic in an automake file is cumbersome. Use a proper program to implement this. Makefile.am | 1 + build-aux/tap.am | 24 ++++-------------------- build-aux/test-runner | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 20 deletions(-) commit becfa57b360f0ba61b05ec6f0eb11f7a37323dea Author: Guillem Jover Date: Sun Apr 3 20:45:59 2022 +0200 man: Expand Protected and Essential field use cases Closes: #1008780 man/deb-control.pod | 7 +++++-- man/dpkg.pod | 16 ++++++++++------ 2 files changed, 15 insertions(+), 8 deletions(-) commit 52d285fecbec8ba3cbd8255ef4de2be392d1e0de Author: Guillem Jover Date: Sat Jun 4 05:48:21 2022 +0200 Dpkg::Source::Package::V2: Always fix the permissions for upstream tarballs The change to fix the directory traversal for source package unpacks with in-place extractions of the debian.tar archive modified the way that last extraction was done, to extract it also out-of-place, then move the result into the destination. This had the consequence of no longer fixing the permissions for the entire source tree, and instead only for the debian/ directory. The previous calls for the orig tarballs were not fixing up the permissions to avoid duplicating work, which meant that now these did not get fixed any longer. Remove the options that avoid fixing the permissions for all calls, restoring the previous behavior. Fixes: commit 7a6c03cb34d4a09f35df2f10779cbf1b70a5200b Closes: #1012195 Stable-Candidates: 1.18.x 1.19.x 1.20.x scripts/Dpkg/Source/Package/V2.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit bc1e17debe9cc63dd67e4d1ee11b1fdf5f6c883a Author: Guillem Jover Date: Mon May 30 02:43:10 2022 +0200 man: Clarify that statoverrides do not need to be known to dpkg Closes: #1011510 man/dpkg-statoverride.pod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 17b380a76961ec659fc36ec6d1c7d9b4b33f2ca5 Author: Helge Kreutzmann Date: Thu May 26 09:53:51 2022 +0200 po: Update German man pages translation man/po/de.po | 60 ++++++++++++++++++++++++------------------------------------ 1 file changed, 24 insertions(+), 36 deletions(-) commit 6928bedb44bc528be8fed4704254e3a9ab31172c Author: Helge Kreutzmann Date: Thu May 26 09:53:34 2022 +0200 po: Update German scripts translation scripts/po/de.po | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) commit 4dd3d5927de29424287a6c54f56266aebe93d278 Author: Guillem Jover Date: Wed May 25 17:21:25 2022 +0200 Bump version to 1.21.9 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit a154134fe70c0b823ae14905bdc33b64e7dcd454 Author: Guillem Jover Date: Wed May 25 10:40:33 2022 +0200 Release 1.21.8 debian/changelog | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) commit 9be2e17c2507e7645c33ac21565e652af21bda71 Author: Guillem Jover Date: Wed May 25 10:39:28 2022 +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/de.po | 263 ++++++++++++++++++++++++---------------- man/po/dpkg-man.pot | 85 +++++++++---- man/po/es.po | 114 +++++++++++++----- man/po/fr.po | 113 +++++++++++++----- man/po/hu.po | 84 +++++++++---- man/po/it.po | 115 +++++++++++++----- man/po/ja.po | 109 ++++++++++++----- man/po/nl.po | 311 ++++++++++++++++++++++++++++-------------------- man/po/pl.po | 113 +++++++++++++----- man/po/pt.po | 299 +++++++++++++++++----------------------------- man/po/pt_BR.po | 86 +++++++++---- man/po/ru.po | 88 ++++++++++---- man/po/sv.po | 121 ++++++++++++++----- man/po/zh_CN.po | 90 ++++++++++---- 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 | 6 +- 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 | 42 ++++++- scripts/po/de.po | 42 ++++++- scripts/po/dpkg-dev.pot | 40 ++++++- scripts/po/es.po | 42 ++++++- scripts/po/fr.po | 42 ++++++- scripts/po/pl.po | 42 ++++++- scripts/po/ru.po | 42 ++++++- scripts/po/sv.po | 42 ++++++- 96 files changed, 1660 insertions(+), 821 deletions(-) commit a3b8f4f8334bc528486a1eadf32c3ab16ea9fc8d Author: Américo Monteiro Date: Wed May 25 10:07:11 2022 +0200 po: Update Portuguese man pages translations Closes: #1011095 Signed-off-by: Guillem Jover man/po/pt.po | 266 ++++++++++++++++++++++++++--------------------------------- 1 file changed, 116 insertions(+), 150 deletions(-) commit 7d469efabb6ddee162442b4d414d19d2d194bfbe Author: Frans Spiesschaert Date: Wed May 25 10:01:42 2022 +0200 po: Update Dutch translations Closes: #1010031, #1010032, #1010033 Signed-off-by: Guillem Jover dselect/po/nl.po | 47 +---- man/po/nl.po | 618 +++++++++++++++++++------------------------------------ po/nl.po | 78 +++---- 3 files changed, 245 insertions(+), 498 deletions(-) commit c900b1bac701c624c76d069f9586ca28bf4cddc9 Author: Guillem Jover Date: Wed May 25 10:15:49 2022 +0200 build: Unhook dist-cpan from make dist target The dist-cpan target includes OpenPGP signing the CPAN distribution, which is problematic on a chroot. It is also not generally helpful, as we mostly care about generating the CPAN distribution for the latest releases. Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3be12024ac10fdf7ab3882198a97c3e5378d621b Author: Guillem Jover Date: Fri May 6 02:10:58 2022 +0200 dpkg: Fix «De-configuring» message to allow configuration to use new version We are de-configuring this package to allow the unpacking and configuration of a not-yet installed package. So we need to print the version from the available package not the installed one. src/main/unpack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9f6124197496d8ceeba7f531c8b17eb2c692d0eb Author: Guillem Jover Date: Sun Apr 17 18:02:53 2022 +0200 man: Structure and clarify deb-substvars(5) Add sub-sections to make the structure more obvious. Clarify that ${} is not an actual substitution variable instead of an illegal one. Add «variables» to the SYNOPSIS to clarify this describes more than the file formats. Move the file format syntax after the variable syntax definition. Move warning description in the new «Substitution» sub-section. Prompted-by: Niels Thykier man/deb-substvars.pod | 47 ++++++++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 21 deletions(-) commit cb60558af228a7ee1f5a587f924c59a1f61088c1 Author: Guillem Jover Date: Sun Apr 17 21:01:16 2022 +0200 man: Reference deb-substvar(5) from dpkg-source(1) and dpkg-shlibdeps(1) These commands make use of substvars and its file format. man/dpkg-shlibdeps.pod | 1 + man/dpkg-source.pod | 1 + 2 files changed, 2 insertions(+) commit b315cccadf9c155670a8dceb64ed0a554dad47e5 Author: Guillem Jover Date: Mon Apr 11 23:10:58 2022 +0200 Dpkg::Substvars: Add support for optional substvars assigned with ?= Some packaging helpers (namely debhelper) set various substvars that might usually be used by the packaging, but not necessarily always. In the same way we mark some of the built-in variables as used, we add a new operator «?=» to make it possible for other tools to mark those other variables as optional too. Track those internally too so that they can be printed back properly. Proposed-by: Niels Thykier man/deb-substvars.pod | 5 ++++- scripts/Dpkg/Substvars.pm | 21 ++++++++++++++++----- scripts/t/Dpkg_Substvars.t | 4 +++- scripts/t/Dpkg_Substvars/substvars1 | 1 + 4 files changed, 24 insertions(+), 7 deletions(-) commit 7a6c03cb34d4a09f35df2f10779cbf1b70a5200b Author: Guillem Jover Date: Tue May 3 02:09:32 2022 +0200 Dpkg::Source::Archive: Prevent directory traversal for in-place extracts For untrusted v2 and v3 source package formats that include a debian.tar archive, when we are extracting it, we do that as an in-place extraction, which can lead to directory traversal situations on specially crafted orig.tar and debian.tar tarballs. GNU tar replaces entries on the filesystem by the entries present on the tarball, but it will follow symlinks when the symlink pathname itself is not present as an actual directory on the tarball. This means we can create an orig.tar where there's a symlink pointing out of the source tree root directory, and then a debian.tar that contains an entry within that symlink as if it was a directory, without a directory entry for the symlink pathname itself, which will be extracted following the symlink outside the source tree root. This is currently noted as expected in GNU tar documentation. But even if there was a new extraction mode avoiding this problem we'd need such new version. Using perl's Archive::Tar would solve the problem, but switching to such different pure perl implementation, could cause compatibility or performance issues. What we do is when we are requested to perform an in-place extract, we instead still use a temporary directory, then walk that directory and remove any matching entry in the destination directory, replicating what GNU tar would do, but in addition avoiding the directory traversal issue for symlinks. Which should work with any tar implementation and be safe. Reported-by: Max Justicz Stable-Candidates: 1.18.x 1.19.x 1.20.x Fixes: commit 0c0057a27fecccab77d2b3cffa9a7d172846f0b4 (1.14.17) Fixes: CVE-2022-1664 scripts/Dpkg/Source/Archive.pm | 122 +++++++++++++++++++++++++++++++--------- scripts/t/Dpkg_Source_Archive.t | 110 +++++++++++++++++++++++++++++++++++- 2 files changed, 204 insertions(+), 28 deletions(-) commit b794831e0f4cf8b90ac3aef6463cf3b10377b0ee Author: Helge Kreutzmann Date: Sat Apr 16 17:46:50 2022 +0200 po: Update German man pages translation man/po/de.po | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit 99efdcb509389064515c889447a26b5d75bfcca0 Author: Guillem Jover Date: Sat Apr 9 14:43:14 2022 +0200 debian: Remove useless [] around tr sets These are not harmful, as they get remapped as is, but are useless in this context. Warned-by: shellcheck debian/dpkg.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b4dd7c402fe72b95f9d93ebe1a4cd9e6ead204cc Author: Guillem Jover Date: Sat Apr 9 14:37:12 2022 +0200 debian: Silence warning about merged-usr-via-aliased-dirs on Ubuntu On Ubuntu they are not installing the dpkg-fsys-usrunmess script, so it seems clear they are not interested in this warning, silence it. debian/dpkg.postinst | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 4c4d3a9537943d02a0872fccd29d38c4b7fb4885 Author: Guillem Jover Date: Wed Apr 6 23:02:37 2022 +0200 dpkg-statoverride: Add support for --force-not-root When installing a stat override, we are changing the user/group and mode for the pathname, which in most cases might require root privileges. Add support for the not-root force option, so that it can be used standalone or so that it does not break when called within a maintscript on a not-root dpkg invocation. Based-on-patch-by: John Spencer Closes: #1009069 man/dpkg-statoverride.pod | 3 +++ src/statoverride/main.c | 9 +++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) commit cfce92bb20501eb0e2b0780d61171ab8cadf3231 Author: Guillem Jover Date: Fri Apr 1 03:09:36 2022 +0200 test: Fix typo in comment Warned-by: codespell tests/t-multiarch/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0ed48a5d68103f0bcf2330e05e11ab14f6fd7a9c Author: Guillem Jover Date: Fri Apr 1 02:47:57 2022 +0200 Bump version to 1.21.8 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit e61f582015a9c67bbb3791cb93a864cfeb9c7151 Author: Guillem Jover Date: Fri Apr 1 02:34:21 2022 +0200 Release 1.21.7 debian/changelog | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) commit 5ad1ec187c20ac20cbc59cbabd0305c6070c37e9 Author: Guillem Jover Date: Fri Apr 1 02:27:32 2022 +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 | 6 +- 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 | 6 +- man/po/es.po | 4 +- man/po/fr.po | 4 +- man/po/hu.po | 4 +- man/po/it.po | 4 +- man/po/ja.po | 4 +- man/po/nl.po | 13 +++- man/po/pl.po | 4 +- man/po/pt.po | 13 +++- man/po/pt_BR.po | 4 +- man/po/ru.po | 4 +- man/po/sv.po | 173 ++++++++++++++++++++++++------------------------ man/po/zh_CN.po | 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 | 24 ++++--- 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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 6 +- 95 files changed, 231 insertions(+), 210 deletions(-) commit f9bf9b372ec76b8de8496b75edf123798f4ff35d Author: Guillem Jover Date: Fri Apr 1 01:39:42 2022 +0200 dpkg-fsys-usrunmess: Handle /lib/modules itself also being untracked For setups with completely untracked kernel and modules, we need to add also /lib/modules to the list of pathnames that need to be copied over, otherwise its contents will not find a directory to copy to. Closes: #1008764 Notes: Stable-Candidates: 1.20.x scripts/dpkg-fsys-usrunmess.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 75fe33f1e2f2790c75850db51b80a82bb8b2926f Author: Guillem Jover Date: Thu Mar 31 11:07:42 2022 +0200 debian: Silence warning about merged-usr-via-aliased-dirs on Debian On Debian some people seem so offended by a (factual) warning, that the obvious recourse has been for them to bully and abuse. Life's too short for that. If you might have wanted to be able to know about the status of dpkg on *your* system, and decide for *yourself* what to do with it, sorry, you will need to get aware some other way. debian/dpkg.postinst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit aa69e04c0656fc5efa51e0534a853eb255a8b404 Author: Helge Kreutzmann Date: Thu Mar 31 17:40:16 2022 +0200 po: Update German man pages translation man/po/de.po | 167 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 84 insertions(+), 83 deletions(-) commit af663b753247680ba997ab0de7efee5f3b6a8284 Author: Peter Krefting Date: Wed Mar 30 23:48:40 2022 +0200 po: Update Swedish translations Closes: #1008706 Signed-off-by: Guillem Jover dselect/po/sv.po | 24 +- man/po/sv.po | 977 +++++++++++++++++++++---------------------------------- po/sv.po | 337 ++++++------------- scripts/po/sv.po | 163 ++-------- 4 files changed, 507 insertions(+), 994 deletions(-) commit ffe80f6c5f8984782cf9800b0b14b5cc20abf505 Author: Peter Krefting Date: Wed Mar 30 23:46:22 2022 +0200 man: Fix typo Ref: #1008706 Signed-off-by: Guillem Jover man/dpkg.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4d4e85e4bfd7045313827dc6b2e0b72b33710545 Author: Guillem Jover Date: Wed Mar 30 23:42:55 2022 +0200 po: Fix gettext parameter reordering syntax for German translation The strings were using «%1s» instead of «%1$s», so the positional arguments in the strings were not being reordered. Closes: #1008671 po/de.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit b28323e7c258f6c7cfee03938e93be5b96cfbe9e Author: Guillem Jover Date: Tue Mar 29 12:11:53 2022 +0200 Bump version to 1.21.7 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit c67731c38deac0e13255e93c049a2e334141a964 Author: Guillem Jover Date: Tue Mar 29 12:02:02 2022 +0200 Release 1.21.6 debian/changelog | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit a20f615c783b83b380ea571834d4936a9efac7ea Author: Guillem Jover Date: Tue Mar 29 11:56:57 2022 +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/de.po | 19 ++++++++++++------- man/po/dpkg-man.pot | 9 +++++++-- man/po/es.po | 7 ++++++- man/po/fr.po | 7 ++++++- man/po/hu.po | 7 ++++++- man/po/it.po | 7 ++++++- man/po/ja.po | 7 ++++++- man/po/nl.po | 7 ++++++- man/po/pl.po | 7 ++++++- man/po/pt.po | 7 ++++++- man/po/pt_BR.po | 7 ++++++- man/po/ru.po | 7 ++++++- man/po/sv.po | 7 ++++++- man/po/zh_CN.po | 7 ++++++- 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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 96 files changed, 176 insertions(+), 106 deletions(-) commit 86f13a77a2fb7da27a84404dc62a6dc2c3e5a065 Author: Guillem Jover Date: Tue Mar 29 11:54:39 2022 +0200 man: Document untracked kernel module files handling in dpkg-fsys-usrunmess(8) man/dpkg-fsys-usrunmess.pod | 4 ++++ 1 file changed, 4 insertions(+) commit a81dc0541bbddbc0a315879753a39be91f8165f0 Author: Guillem Jover Date: Tue Mar 29 03:04:12 2022 +0200 Bump version to 1.21.6 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 369a633cd3b36e6e4af0ebbda0ce023c99a3577f Author: Guillem Jover Date: Tue Mar 29 02:52:44 2022 +0200 Release 1.21.5 debian/changelog | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) commit 65644f4c5239ea3f2e650c4a2efea7615e4388b6 Author: Guillem Jover Date: Tue Mar 29 02:52:13 2022 +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 | 14 +++++++------- po/bs.po | 12 ++++++------ po/ca.po | 12 ++++++------ po/cs.po | 14 +++++++------- po/da.po | 14 +++++++------- po/de.po | 12 ++++++------ po/dpkg.pot | 14 +++++++------- po/dz.po | 14 +++++++------- po/el.po | 14 +++++++------- po/eo.po | 14 +++++++------- po/es.po | 14 +++++++------- po/et.po | 12 ++++++------ po/eu.po | 14 +++++++------- po/fr.po | 14 +++++++------- po/gl.po | 14 +++++++------- po/hu.po | 14 +++++++------- po/id.po | 14 +++++++------- po/it.po | 14 +++++++------- po/ja.po | 14 +++++++------- po/km.po | 14 +++++++------- po/ko.po | 16 ++++++++-------- po/ku.po | 12 ++++++------ po/lt.po | 14 +++++++------- po/mr.po | 14 +++++++------- po/nb.po | 14 +++++++------- po/ne.po | 14 +++++++------- po/nl.po | 12 ++++++------ po/nn.po | 14 +++++++------- po/oc.po | 12 ++++++------ po/pa.po | 12 ++++++------ po/pl.po | 12 ++++++------ po/pt.po | 12 ++++++------ po/pt_BR.po | 14 +++++++------- po/ro.po | 14 +++++++------- po/ru.po | 14 +++++++------- po/sk.po | 14 +++++++------- po/sv.po | 12 ++++++------ po/th.po | 14 +++++++------- po/tl.po | 14 +++++++------- po/tr.po | 14 +++++++------- po/vi.po | 14 +++++++------- po/zh_CN.po | 12 ++++++------ po/zh_TW.po | 14 +++++++------- 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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 83 files changed, 333 insertions(+), 333 deletions(-) commit b1898b812b71f64082107d4e2f98ccf020d18b70 Author: Guillem Jover Date: Tue Mar 29 02:46:53 2022 +0200 dpkg-fsys-usrunmess: Do not interpolate string Fixes: commit 48e33c40691596b3bf91b86b50a8aa164b585639 Changelog: silent Notes: Stable-Candidates: 1.20.x scripts/dpkg-fsys-usrunmess.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 48e33c40691596b3bf91b86b50a8aa164b585639 Author: Guillem Jover Date: Tue Mar 29 01:41:34 2022 +0200 dpkg-fsys-usrunmess: Special case untracked kernel module files Kernel module files are required as part of the system boot, so we need to make sure any such files gets moved or the system might end up not being able to boot, once the initramfs images get regenerated. In particular, kernel module files are easily found on systems as untracked pathnames in the filesystem, either from custom built kernels, or as part of modules built via machinery such as DKMS. One complication is that there appears to be some documentation referencing /usr/lib/modules/ pathnames for at least apache, python and ruby module locations. Which we do not want to be moving. To limit these unknowns, and as we are dealing with untracked pathnames, we will restrict moving subdirectories that start with a digit, which matches Linux and kFreeBSD module locations, in addition to the modprobe.conf filename. Closes: #1008316 Notes: Stable-Candidates: 1.20.x scripts/dpkg-fsys-usrunmess.pl | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) commit 35170aa10923e330da84b613b5f9932bfc16f3e7 Author: Guillem Jover Date: Mon Mar 28 23:31:02 2022 +0200 test: Add test cases for obsolete fields We should check that these both emit warnings and their values get properly remapped to their modern counterparts. src/at/deb-fields.at | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) commit 4ddb46ac28df4b290b9055e20268b850a019385e Author: Guillem Jover Date: Mon Mar 28 20:22:59 2022 +0200 libdpkg: Update code comment for obsolete fields The comment was still referencing the old nicknames structure. Fixes: commit 3a017177110da9f54668b614f78aeb98bf73796d lib/dpkg/parse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit a20967f80608665baf15ba5ef25233a1571c31aa Author: Guillem Jover Date: Mon Mar 28 20:19:40 2022 +0200 libdpkg: Add missing dependency type to obsolete dependency fields When converting from the old nicknames remapping handling to the normal fieldsinfo structures, the dependency fields did not get assigned their respective «enum deptype» value. These were defaulting to the 0 value which happens to be dep_suggests, so only the «Recommended» field was being mapped incorrectly. Fixes: commit 3a017177110da9f54668b614f78aeb98bf73796d lib/dpkg/parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f79182cef7728ffc03fb6cf5d0eb55e1505e4106 Author: Guillem Jover Date: Mon Mar 28 20:10:13 2022 +0200 libdpkg: Warn when parsing obsolete Recommended/Optional/Class fields These were automatically remapped to their modern forms, but were not emitting any obsolescence warning. Add parse function wrappers that emit such warnings and then forward the calls to their modern field counter-parts. Prompted-by: David Kalnischkies lib/dpkg/fields.c | 18 ++++++++++++++++++ lib/dpkg/parse.c | 6 +++--- lib/dpkg/parsedump.h | 2 ++ 3 files changed, 23 insertions(+), 3 deletions(-) commit 13a71507c19914950fec3cdd3573440b5cde9991 Author: Guillem Jover Date: Mon Mar 28 20:09:03 2022 +0200 libdpkg: Rename f_revision() to f_obs_revision() The purpose of this function is to parse an obsolete field. Make it a bit more clear by stating so in the function name itself. lib/dpkg/fields.c | 6 +++--- lib/dpkg/parse.c | 6 +++--- lib/dpkg/parsedump.h | 6 +++++- 3 files changed, 11 insertions(+), 7 deletions(-) commit b29c959c5b9f271b8eb1873c49cf7f5dbf2bfda0 Author: Guillem Jover Date: Sun Mar 27 13:09:35 2022 +0200 dpkg-fsys-usrunmess: Set a known umask before starting Even though we should already be explicitly setting user/group and mode for created directories, we should in addition set a known umask we can rely on, at least for defensive purposes. Ref: #1008478 Notes: Stable-Candidates: 1.20.x scripts/dpkg-fsys-usrunmess.pl | 3 +++ 1 file changed, 3 insertions(+) commit 77756084e9e50d7a8578259ee56e64dcf4f6f9a0 Author: Guillem Jover Date: Mon Mar 28 00:33:17 2022 +0200 dpkg-fsys-usrunmess: Explicitly set user/group and mode for created dirs We should explicitly set the user/group and mode for the newly created directories, to make sure they end up with the expected values, instead of assuming a good environment (umask and user/group). We will still be setting a known umask in a subsequent commit as a defensive measure. Closes: #1008478 Notes: Stable-Candidates: 1.20.x scripts/dpkg-fsys-usrunmess.pl | 4 ++++ 1 file changed, 4 insertions(+) commit 88bdf882913e97c512f0c6a3ac4915214475984d Author: Helge Kreutzmann Date: Sun Mar 27 06:57:34 2022 +0200 po: Update German man pages translation man/po/de.po | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) commit d1f9a8d99f2ac853a9a6e36f2d584e70695fb906 Author: Guillem Jover Date: Thu Dec 23 06:22:47 2021 +0100 Dpkg::Control::Fields: Document and clarify return types and values in POD These functions did not have their return type explicitly documented, some neither their possible return values. scripts/Dpkg/Control/FieldsCore.pm | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) commit 692c7f593cbe04089a05b4ac007ad067df570330 Author: Guillem Jover Date: Thu Dec 23 06:21:05 2021 +0100 Dpkg::Control::Fields: Fix POD to add missing spaces and blank lines scripts/Dpkg/Control/FieldsCore.pm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit a6b8f422ae19bf95c133111f2cb93103e1cec48a Author: Guillem Jover Date: Thu Dec 23 06:21:05 2021 +0100 Dpkg::Control::Fields: Fix POD to end sentences with a dot scripts/Dpkg/Control/FieldsCore.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 4b770fdefdfc4db911ab5842c6fc5dfe4ef06ed5 Author: Guillem Jover Date: Thu Dec 23 06:19:25 2021 +0100 Dpkg::Control::Fields: Refactor manifest types into new ALL_FILE_MANIFEST Avoid the repetition for what should apply to all file manifest control types. scripts/Dpkg/Control/FieldsCore.pm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit dbc5a22d66b3ef17f4f4a81ff74c79b0eb2920bd Author: Guillem Jover Date: Thu Dec 23 06:23:51 2021 +0100 Dpkg::Control::Fields: Fix field_register() to return nothing We should not leak the internal field representation. scripts/Dpkg/Control/FieldsCore.pm | 2 ++ 1 file changed, 2 insertions(+) commit 1500411815da470fff40bcb34072e37824b84567 Author: Guillem Jover Date: Tue Dec 21 23:49:55 2021 +0100 Dpkg::Control::Types: Use bit shifts instead of literals in enum This makes it easier to check the values and add new ones, at a marginal performance cost. While we could also use literal binary numbers, those would be also not as clear as bit shifts. scripts/Dpkg/Control/Types.pm | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) commit 4fe55bcc6d1466145cee03577a1d6aa0a11ef423 Author: Guillem Jover Date: Sat Mar 26 13:53:31 2022 +0100 Bump version to 1.21.5 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 5563bdb608b3413639b69f1c76567cb66ff1a961 Author: Guillem Jover Date: Sat Mar 26 13:39:19 2022 +0100 Release 1.21.4 debian/changelog | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) commit d4d69d832ea3c482901f80fedeaf74a978cdac14 Author: Guillem Jover Date: Sat Mar 26 13:38:43 2022 +0100 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/de.po | 60 +++++++++++++++++++++++++++++-------------------- man/po/dpkg-man.pot | 17 ++++++++------ man/po/es.po | 15 ++++++++----- man/po/fr.po | 15 ++++++++----- man/po/hu.po | 15 ++++++++----- man/po/it.po | 15 ++++++++----- man/po/ja.po | 15 ++++++++----- man/po/nl.po | 15 ++++++++----- man/po/pl.po | 15 ++++++++----- man/po/pt.po | 15 ++++++++----- man/po/pt_BR.po | 15 ++++++++----- man/po/ru.po | 15 ++++++++----- man/po/sv.po | 15 ++++++++----- man/po/zh_CN.po | 15 ++++++++----- 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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 96 files changed, 239 insertions(+), 188 deletions(-) commit 83ceb3f325ff208f0ed86ccad39ea256d2ff0194 Author: Guillem Jover Date: Sat Mar 26 11:58:38 2022 +0100 Dpkg::Control::Fields: Remove duplicate *Built-Using from field order lists These fields got refactored into a common dependency fields list, but the Built-Using field did not get removed from the original order lists, and ended up being duplicated. The Static-Built-Using field got added next to each previous Built-Using instance, which ended up being duplicated too. Fixes: commit f0fa8190fe02bb9db8168ae6a67f592f135b06c2 Reported-by: David Kalnischkies scripts/Dpkg/Control/FieldsCore.pm | 4 ---- scripts/t/Dpkg_Control_Fields.t | 4 ---- 2 files changed, 8 deletions(-) commit 808ff61d6e2b457513b8de278a4736b1ee9fd310 Author: Guillem Jover Date: Sat Mar 26 11:31:49 2022 +0100 test: Do not use non-POSIX shell syntax for arithmetic expressions Use «$(( ))», instead of the non-POSIX syntax «(( ))», as in other parts of the codebase. This fixes a test failure on Alpine Linux which uses Busybox ash to execute the generated test script. Unfortunately this is not being detected on systems with a dash POSIX shell, as it currently disables its LINENO support so that GNU autotools configure does not end up using it, and breaking due to bashisms (such as this one). Based-on-patch-by: Sören Tempel src/at/deb-split.at | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7c2eb2043a889e07f7d76d842048077f7539fd15 Author: Guillem Jover Date: Fri Mar 25 22:11:54 2022 +0100 man: Clarify uses cases for Static-Built-Using Mention explicitly some of the use cases this field was thought for, instead of letting it be the vague "static building", which can give room to think it only applies to static linking. Where the intention was for any type of static building, including also source-centered language builds (like with Go or Rust), inclusion of header-only libraries from C/C++, data blobs injection into code, etc. Prompted-by: Shengjing Zhu man/deb-control.pod | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 6d2452b7882fbf1a15323cdcf4c2761cd5a2c893 Author: Helge Kreutzmann Date: Fri Mar 25 20:33:21 2022 +0100 po: Update German man pages translation man/po/de.po | 53 ++++++++++++++--------------------------------------- 1 file changed, 14 insertions(+), 39 deletions(-) commit 43391b6f541ff4f637571a24dad7f4792d784720 Author: Guillem Jover Date: Fri Mar 25 11:09:58 2022 +0100 test: Use actual octal numbers for chmod() calls This was making the test suite fail on GNU/kFreeBSD. lib/dpkg/t/t-file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4733f046d41a0aabba4dc0f7bc98908de18da81c Author: Guillem Jover Date: Thu Mar 24 22:41:17 2022 +0100 dpkg-shlibdeps: Require non-empty name and version in SONAME formats We should require at least one character for the name and one for the version when parsing SONAMEs. scripts/dpkg-shlibdeps.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7465a0a3edc038f9b7098dc72fc59a530c814370 Author: Guillem Jover Date: Thu Mar 24 21:13:22 2022 +0100 Bump version to 1.21.4 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 404d4dec5202a0f93f5789fedda94e818f388cd4 Author: Guillem Jover Date: Thu Mar 24 21:02:24 2022 +0100 Release 1.21.3 debian/changelog | 52 +++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 49 insertions(+), 3 deletions(-) commit 947b83e935ce468bee30d863040996c5c932f918 Author: Guillem Jover Date: Thu Mar 24 21:00:23 2022 +0100 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/de.po | 234 ++++++++++++++++++++++++++++++------------------ man/po/dpkg-man.pot | 71 ++++++++++++--- man/po/es.po | 95 +++++++++++++++++--- man/po/fr.po | 112 ++++++++++++++++++++--- man/po/hu.po | 75 +++++++++++++--- man/po/it.po | 96 +++++++++++++++++--- man/po/ja.po | 95 +++++++++++++++++--- man/po/nl.po | 114 ++++++++++++++++++++--- man/po/pl.po | 94 ++++++++++++++++--- man/po/pt.po | 114 ++++++++++++++++++++--- man/po/pt_BR.po | 73 ++++++++++++--- man/po/ru.po | 74 ++++++++++++--- man/po/sv.po | 111 ++++++++++++++++++++--- man/po/zh_CN.po | 75 +++++++++++++--- po/ast.po | 14 +-- po/bs.po | 6 +- po/ca.po | 12 +-- po/cs.po | 10 +-- po/da.po | 10 +-- po/de.po | 10 +-- po/dpkg.pot | 8 +- po/dz.po | 14 +-- po/el.po | 14 +-- po/eo.po | 12 +-- po/es.po | 12 +-- po/et.po | 6 +- po/eu.po | 12 +-- po/fr.po | 12 +-- po/gl.po | 14 +-- po/hu.po | 14 +-- po/id.po | 14 +-- po/it.po | 10 +-- po/ja.po | 12 +-- po/km.po | 14 +-- po/ko.po | 14 +-- po/ku.po | 6 +- po/lt.po | 6 +- po/mr.po | 14 +-- po/nb.po | 14 +-- po/ne.po | 14 +-- po/nl.po | 12 +-- po/nn.po | 14 +-- po/oc.po | 6 +- po/pa.po | 6 +- po/pl.po | 12 +-- po/pt.po | 12 +-- po/pt_BR.po | 14 +-- po/ro.po | 14 +-- po/ru.po | 12 +-- po/sk.po | 12 +-- po/sv.po | 10 +-- po/th.po | 10 +-- po/tl.po | 16 ++-- po/tr.po | 12 +-- po/vi.po | 12 +-- po/zh_CN.po | 10 +-- po/zh_TW.po | 12 +-- scripts/po/ca.po | 27 +++++- scripts/po/de.po | 6 +- scripts/po/dpkg-dev.pot | 11 ++- scripts/po/es.po | 10 ++- scripts/po/fr.po | 27 +++++- scripts/po/pl.po | 27 +++++- scripts/po/ru.po | 27 +++++- scripts/po/sv.po | 27 +++++- 96 files changed, 1627 insertions(+), 526 deletions(-) commit c32dbb8fd5b9eabdb7008d67a9580b1617a60f9d Author: Guillem Jover Date: Thu Mar 24 19:34:03 2022 +0100 debian: Sync original bug-script merged-usr warning with postinst updates This was the original notice/warning emitted for bugs filed by reportbug against dpkg. Which was subsequently modified and taken as is for the dpkg postinst one. Sync it back so both match. debian/bug-script | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 4890f5ef0749214484bf7288ed16e589ebf13dab Author: Guillem Jover Date: Thu Mar 24 19:29:17 2022 +0100 debian: Reword merged-usr-via-aliased-dirs to be less vague Try to very succinctly summarize the problem with the affected systems, and the reason why dpkg does _not_ and has _never_ supported that filesystem layout and the way it has been deployed in Debian. Changelog: silent debian/dpkg.postinst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit cbdff7a455fae5c695fff9738f9c4eb3e7071d32 Author: Guillem Jover Date: Thu Mar 24 19:12:15 2022 +0100 Dpkg::Shlibs::Objdump: Fix typo in comment Changelog: silent scripts/Dpkg/Shlibs/Objdump.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 16c412439c5eac5f32930946df9006dfc13efc02 Author: Guillem Jover Date: Wed Mar 23 17:56:57 2022 +0100 Dpkg::Control::Fields: Add Static-Built-Using field support This field mimics the previous Built-Using field semantics, but is specifically intended for shadow dependencies stemming from static builds. In Debian, the Rust and Go teams agreed to use this language agnostic field, instead of one for each of the languages. This means it can be easily supported by dpkg, and can be used by other languages and run-times. man/deb-control.pod | 12 ++++++++++++ man/deb-src-control.pod | 2 ++ scripts/Dpkg/Control/FieldsCore.pm | 13 ++++++++++++- scripts/t/Dpkg_Control_Fields.t | 6 +++++- 4 files changed, 31 insertions(+), 2 deletions(-) commit 7140e91632822d6e62f4d6b940e4421877787b63 Author: Guillem Jover Date: Thu Mar 24 20:31:07 2022 +0100 man: Clarify Built-Using field purpose and format Mention that this is intended for license compliance purposes, and clarify its syntax. man/deb-control.pod | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 6806da227bbf9a2480eec9b8dccc81e7d0150530 Author: Guillem Jover Date: Mon Mar 21 23:10:09 2022 +0100 dpkg: Rename r variable to remainder The variable name r is not very descriptive, and it has been used as a short hand for return value. Use a better name instead. Changelog: internal src/main/archives.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit b5d87e21bb852ee7b5149d8bc821b502638e6416 Author: Guillem Jover Date: Mon Mar 21 22:31:25 2022 +0100 scripts: Use backport-version-regex vendor hook instead of hardcoding the marker The backport version markers are vendor specific, so we should not hardcode them in the generic part of the programs. scripts/dpkg-genchanges.pl | 9 ++++++--- scripts/dpkg-mergechangelogs.pl | 9 +++++++-- 2 files changed, 13 insertions(+), 5 deletions(-) commit 23689cce4be6eeef0c14847ed34803dd957df06e Author: Guillem Jover Date: Mon Mar 21 22:27:36 2022 +0100 Dpkg::Vendor: Add a new backport-version-regex hook This new hook will return a regex matching the version part that denotes that this is a backport, with a capture group for the backport delimiter string. scripts/Dpkg/Vendor/Debian.pm | 2 ++ scripts/Dpkg/Vendor/Default.pm | 11 +++++++++++ t/pod-spell.t | 3 +++ 3 files changed, 16 insertions(+) commit 6469313ae89e1da3974d2a6e2f6dbf6d5d60dd0f Author: Helge Kreutzmann Date: Mon Mar 21 21:00:19 2022 +0100 po: Update German man pages translation man/po/de.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit be726fdf7f9b9ef0ce0f898ff4599fb4a2d5bd98 Author: Helge Kreutzmann Date: Mon Mar 21 20:56:45 2022 +0100 po: Update German scripts translation scripts/po/de.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 43c95774959d7a20f564eb8fcd4a2ebde01d68ab Author: Guillem Jover Date: Sun Mar 20 20:18:02 2022 +0100 dselect: Rename disk method to file The disk name while somewhat appropriate might, does not map to a URL style nomenclature, which we should be moving to, so that different protocols are clearly recognizable by the users. debian/dselect.preinst | 1 + debian/dselect.prerm | 1 + dselect/methods/Makefile.am | 18 +++++++++--------- dselect/methods/disk/desc.mounted | 12 ------------ dselect/methods/disk/names | 1 - dselect/methods/{disk => file}/.gitignore | 0 dselect/methods/file/desc.file | 8 ++++++++ dselect/methods/{disk => file}/install.sh | 2 +- dselect/methods/file/names | 1 + dselect/methods/{disk => file}/setup.sh | 2 +- dselect/methods/{disk => file}/update.sh | 2 +- 11 files changed, 23 insertions(+), 25 deletions(-) commit 567884d8d86eb3b7bbdea294e537e807e48bdbf1 Author: Guillem Jover Date: Sun Mar 20 09:12:24 2022 +0100 dselect: Remove bogus quote escaping from method setup scripts These end up as literal quotes, which make these calls ineffective. Fixes: commit 598e1b3e9c9b665829ea7c1b3ee157038708e14f dselect/methods/disk/setup.sh | 4 ++-- dselect/methods/media/setup.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) commit 54c2d95396c6a3d39fbc8c5360773fa80db6ae61 Author: Guillem Jover Date: Sun Mar 20 08:50:14 2022 +0100 dselect: Remove left overs for mount support from disk method The remaining method option is the “mounted” one, so the assumption is that any filesystem in use will have already been mounted. We can remove the leftovers for the mount support which did not get removed earlier. dselect/methods/disk/install.sh | 8 -------- dselect/methods/disk/setup.sh | 11 +---------- dselect/methods/disk/update.sh | 8 -------- 3 files changed, 1 insertion(+), 26 deletions(-) commit 403a2d627c1ec6ee4be3744e783cbc09d9653bff Author: Guillem Jover Date: Sun Mar 20 08:42:57 2022 +0100 dselect: Rename multicd method to media The multicd name does not properly describe what this method is supposed to be able to handle, as we now have many other media types where distributions can ship their packages and updates on. Makefile.am | 2 + debian/dselect.docs | 2 +- debian/dselect.postrm | 2 +- debian/dselect.preinst | 49 ++++++++++++++++++ debian/dselect.prerm | 50 ++++++++++++++++++ dselect/methods/Makefile.am | 20 ++++---- dselect/methods/{multicd => media}/.gitignore | 0 .../{multicd/README.multicd => media/README.media} | 59 +++++++++++----------- dselect/methods/media/desc.media | 3 ++ dselect/methods/{multicd => media}/install.sh | 4 +- dselect/methods/media/names | 1 + dselect/methods/{multicd => media}/setup.sh | 28 +++++----- dselect/methods/{multicd => media}/update.sh | 0 dselect/methods/multicd/desc.multi_cd | 3 -- dselect/methods/multicd/names | 1 - man/dpkg-scanpackages.pod | 2 +- scripts/dpkg-scanpackages.pl | 2 +- t/shellcheck.t | 6 +-- 18 files changed, 168 insertions(+), 66 deletions(-) commit 1e64ca2a36be6add3f36f0dc2613201c0705fe85 Author: Guillem Jover Date: Sun Mar 20 08:07:05 2022 +0100 dselect: Remove non-multi-cd code from multi_cd method This method no longer supports other options, so there is no point in having the code around anymore. dselect/methods/multicd/setup.sh | 114 ++++++++++++++++----------------------- 1 file changed, 46 insertions(+), 68 deletions(-) commit 5eb93ea54884d92b2324eeb94439b3a483972e3b Author: Guillem Jover Date: Sat Mar 19 20:36:17 2022 +0100 test: Fix check output to assume zlib instead of zlib-ng This is a quick workaround to get the builds back to nominal. We will need to parametrize every size in outputs that depends on the compressor used, as those are not under our control and could change between different implementations (as happened here) or even same implementations but different versions, if the compressors improve. Fixes: commit 57d951260539d67da0230a83135ab805f89fa1af Changelog: silent src/at/deb-format.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 57d951260539d67da0230a83135ab805f89fa1af Author: Guillem Jover Date: Sat Mar 19 19:44:25 2022 +0100 test: Check all currently supported deb-old formats This adds basic checks for the 0.939, 0.933, 0.932 and 0.931 deb-old formats, and their ctrl and fsys contents. src/at/deb-format.at | 136 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) commit 3d1b7ca2b340668d9639d5157f6d7729b598edf3 Author: Guillem Jover Date: Sat Mar 19 19:44:25 2022 +0100 test: Place deb-old and deb checks on their own test groups This will guarantee no accidental collisions in test artifacts happen, and allow to select these tests on their own keywords. src/at/deb-format.at | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) commit 1eb7343dd4c2dd527b181ad8841897003ad32752 Author: Guillem Jover Date: Sat Mar 19 18:00:53 2022 +0100 test: Add further deb-split format checks src/at/deb-split.at | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) commit 70bbd83b05b2d0f9b6442935d03ae3993de108b0 Author: Guillem Jover Date: Sat Mar 19 14:02:27 2022 +0100 test: Check deb format with duplicate debian-binary and control.tar members src/at/deb-format.at | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit 8836d34908602aef8e468c596fd81f838feff794 Author: Guillem Jover Date: Sat Mar 19 19:47:37 2022 +0100 dpkg-deb: Fix movecontrol() to take a directory argument Since the chdir(2) got moved into the child, the global cwd is not the target directory, so we were trying to move files from the wrong directory. Fixes: commit 87809163331a320f9562d75591fcc6c954b9f80c src/deb/extract.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 298e8338826cd7cf7c2fb49f5bb78b014ca9e4e0 Author: Guillem Jover Date: Sat Mar 19 19:46:02 2022 +0100 dpkg-deb: Move duped control member check inside the detection conditional This move the check closer to where the control member is being handled, and will make possible to perform further refactoring. src/deb/extract.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit 2f1068e044071fe692f3984e002df22af2c9ac06 Author: Helge Kreutzmann Date: Sat Mar 19 14:41:59 2022 +0100 po: Update German man pages translation man/po/de.po | 207 ++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 120 insertions(+), 87 deletions(-) commit 0c743389506a4cd44eeb48458c19722774c38103 Author: Guillem Jover Date: Sat Mar 19 10:03:45 2022 +0100 dpkg-fsys-usrunmess: Add options and prompt about regression prevention package By default this will be prompted about. Otherwise the action can be controlled, by using one of the new options to select what to do, either with --prevention or --no-prevention. Prompted-by: Paul Wise man/dpkg-fsys-usrunmess.pod | 14 +++++++++++- scripts/dpkg-fsys-usrunmess.pl | 51 +++++++++++++++++++++++++----------------- 2 files changed, 44 insertions(+), 21 deletions(-) commit efb0847b36ea68874939aeedb4c9a8de250fdf14 Author: Guillem Jover Date: Sat Mar 19 09:49:58 2022 +0100 dpkg-fsys-usrunmess: Refactor prompting into a new function We will be using it for another prompt. Changelog: internal scripts/dpkg-fsys-usrunmess.pl | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) commit 9c68bd1d8123ad28d68665da3bf704a6df6155cc Author: Guillem Jover Date: Sat Mar 19 09:27:02 2022 +0100 Dpkg::Compression: Use gzip --rsyncable on Solaris too Latest Solaris releases have a new enough GNU gzip version, so it can also be used there. Changelog: silent scripts/Dpkg/Compression.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 08682beab043eb12595883c1c54bb344090d6a05 Author: Américo Monteiro Date: Fri Mar 18 00:14:50 2022 +0100 po: Update Portuguese man pages translation Closes: #1001915 Signed-off-by: Guillem Jover man/po/pt.po | 510 +++++++++++++++++++++++++---------------------------------- 1 file changed, 218 insertions(+), 292 deletions(-) commit 742a8177a581f973fb7f249d94949662ab23b455 Author: Guillem Jover Date: Fri Mar 18 00:00:20 2022 +0100 Dpkg::Compression: Use gzip -n instead of --no-name The gzip implementation in OpenBSD does not support long options. Use the short form, which seems to be consistently supported on all implementation around. In addition this makes this invocation match the one in libdpkg. scripts/Dpkg/Compression.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0124692643c6bf25034dbb16e74205d911aa23e3 Author: Guillem Jover Date: Thu Mar 17 23:58:22 2022 +0100 Dpkg::Compression: Conditionally use the gzip --rsyncable option The gzip --rsyncable option is not universally supported, so we need to conditionally use it. Ideally we would invoke «gzip --help» and check whether the option is supported, but that would imply forking and executing that process for any module that ends up loading this one, which is not acceptable performance-wise. Instead we will approximate it by Perl's osname, which is not ideal, but better than nothing. Requires GNU gzip >= 1.7 for the --rsyncable option. On AIX GNU gzip is too old. On the BSDs they use their own implementation based on zlib, which does not currently support the --rsyncable option. Fixes: commit 3a7db14e4a881d28fb73b29c126ea6f3ac4d0831 Fixes: https://rt.cpan.org/Ticket/Display.html?id=141805 scripts/Dpkg/Compression.pm | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit ad2a3e1ea5c5c1077935d23ee73a5233e37af2d1 Author: Guillem Jover Date: Thu Mar 17 19:43:09 2022 +0100 dpkg: Allow absolute pathnames for configurable external run-time tools When checking whether a command exists, we were trying to find it in the PATH, so that we could specify relative command names. But in case the configurable external run-time tools have been specified with absolute pathnames we can short-circuit the search and do the check directly. Closes: #1007816 Based-on-patch-by: Adrian Ho src/main/help.c | 3 +++ 1 file changed, 3 insertions(+) commit 53e4c9bf2cd57dc2232090bae0062fc39e5ade30 Author: Guillem Jover Date: Thu Mar 17 23:05:45 2022 +0100 libdpkg: Check that executables are regular files Otherwise we might try to execute other kinds of files, such as directories. lib/dpkg/file.c | 3 +++ lib/dpkg/t/t-file.c | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 6df548cb19e2d775ac08521f0d72a7e681b9706a Author: Guillem Jover Date: Thu Mar 17 19:36:33 2022 +0100 libdpkg: Refactor file_is_exec() Move the function from dpkg into libdpkg, as we will use it in another call site. lib/dpkg/file.c | 16 ++++++++++++++++ lib/dpkg/file.h | 2 ++ lib/dpkg/libdpkg.map | 1 + lib/dpkg/t/t-file.c | 9 ++++++++- src/main/help.c | 4 ++-- 5 files changed, 29 insertions(+), 3 deletions(-) commit 2a0bb88b546b36a35dc56cc65dee51f18afaf5bd Author: Guillem Jover Date: Thu Mar 17 19:29:06 2022 +0100 dpkg-db-backup: Check for required commands before starting We need several commands not provided by dpkg, which might not be available on the system, at least on non-Debian systems, such as «savelog». We might eventually provide a replacement for that one, but until then, it is best to check explicitly to avoid silent breakage. src/dpkg-db-backup.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit e7bafa8d18eb63a77328a09236252ca13befe5a8 Author: Guillem Jover Date: Wed Mar 16 19:32:39 2022 +0100 Dpkg::Path: Resolve /dev/null before comparing canonicalized pathnames On Solaris /dev/null points to something like «/devices/pseudo/mm@0:null», as seen on the CPAN test systems. Resolving /dev/null, before comparing the pathname on directory traversal attempts should make this work. scripts/Dpkg/Path.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit bcbc7d922dcf194f337ace8e7cc1ece5186cd9ee Author: Helge Kreutzmann Date: Wed Mar 16 17:26:58 2022 +0100 po: Update German scripts translation scripts/po/de.po | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit 2ee0797647878748aa9d1340b6b5f4a3cdfceb68 Author: Guillem Jover Date: Wed Mar 16 02:16:52 2022 +0100 debian: Clarify the merged-usr-via-aliased-dirs warning It seems it was not obvious what the warning is about, even though the FAQ entry seems rather clear (?). Mention that dpkg does not support it (it has never), and the potential implications, so that the users are aware of the problems, and not left in the dark of what they have been set for. And can freely decide for themselves what to do, or not. Prompted-by: Paul Wise debian/dpkg.postinst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a1dbea102e25d30337b75669896273232818a897 Author: Guillem Jover Date: Wed Mar 16 01:19:43 2022 +0100 Dpkg::Source::Package::V3::Git: Set origin remote to Vcs-Git if present If the packaging contains a Vcs-Git field, set it as the origin remote, to make the source easier to handle. scripts/Dpkg/Source/Package/V3/Git.pm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 572df6b70d31edf3f28cfaacf5d936e213782ea5 Author: Guillem Jover Date: Wed Mar 16 01:17:18 2022 +0100 Dpkg::Source::Package::V3::Git: Name bundle remote as bundle This makes it clear what this remote is about, and leaves room to add a proper origin remote. scripts/Dpkg/Source/Package/V3/Git.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 43f66c5375532942e16eb26ca55b15ab922c1745 Author: Helge Kreutzmann Date: Mon Mar 14 13:28:05 2022 +0100 po: Update German man pages translation man/po/de.add | 2 +- man/po/de.po | 117 ++++++++++++++-------------------------------------------- 2 files changed, 28 insertions(+), 91 deletions(-) commit 6d725325e47fdf3d440866d0c8ad6d508c34c4d3 Author: Guillem Jover Date: Sun Mar 13 20:58:57 2022 +0100 Bump version to 1.21.3 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit a9580d3aec5f487a81664a462ec70ec1993f19f8 Author: Guillem Jover Date: Sun Mar 13 20:23:03 2022 +0100 Release 1.21.2 debian/changelog | 163 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 160 insertions(+), 3 deletions(-) commit 95d42bd1fad23424437b5b9282c3924412ca4cbb Author: Guillem Jover Date: Sun Mar 13 20:17:34 2022 +0100 po: Regenerate .pot files and merge .po files with them dselect/po/bs.po | 37 +- dselect/po/ca.po | 14 +- dselect/po/cs.po | 66 +- dselect/po/da.po | 70 +- dselect/po/de.po | 2 +- dselect/po/dselect.pot | 39 +- dselect/po/el.po | 66 +- dselect/po/es.po | 70 +- dselect/po/et.po | 70 +- dselect/po/eu.po | 70 +- dselect/po/fr.po | 70 +- dselect/po/gl.po | 70 +- dselect/po/hu.po | 47 +- dselect/po/id.po | 70 +- dselect/po/it.po | 70 +- dselect/po/ja.po | 66 +- dselect/po/ko.po | 70 +- dselect/po/nb.po | 70 +- dselect/po/nl.po | 77 +- dselect/po/nn.po | 66 +- dselect/po/pl.po | 74 +- dselect/po/pt.po | 70 +- dselect/po/pt_BR.po | 70 +- dselect/po/ro.po | 70 +- dselect/po/ru.po | 75 +- dselect/po/sk.po | 70 +- dselect/po/sv.po | 2 +- dselect/po/tl.po | 66 +- dselect/po/vi.po | 70 +- dselect/po/zh_CN.po | 70 +- dselect/po/zh_TW.po | 70 +- man/po/de.po | 365 ++- man/po/dpkg-man.pot | 198 +- man/po/es.po | 389 ++- man/po/fr.po | 483 ++- man/po/hu.po | 292 +- man/po/it.po | 382 ++- man/po/ja.po | 452 ++- man/po/nl.po | 569 +++- man/po/pl.po | 457 ++- man/po/pt.po | 545 +++- man/po/pt_BR.po | 308 +- man/po/ru.po | 341 ++- man/po/zh_CN.po | 302 +- po/ast.po | 7633 +++++++++++++++++++++++----------------------- po/bs.po | 4527 ++++++++++++++-------------- po/ca.po | 7 +- po/cs.po | 7064 ++++++++++++++++++++++--------------------- po/da.po | 7207 +++++++++++++++++++++---------------------- po/de.po | 2 +- po/dpkg.pot | 4194 +++++++++++++------------- po/dz.po | 7160 +++++++++++++++++++++---------------------- po/el.po | 7616 +++++++++++++++++++++++----------------------- po/eo.po | 7045 ++++++++++++++++++++++--------------------- po/es.po | 7146 +++++++++++++++++++++---------------------- po/et.po | 6200 ++++++++++++++++++------------------- po/eu.po | 7119 +++++++++++++++++++++---------------------- po/fr.po | 7287 ++++++++++++++++++++++---------------------- po/gl.po | 7524 ++++++++++++++++++++++----------------------- po/hu.po | 6876 +++++++++++++++++++++--------------------- po/id.po | 7603 +++++++++++++++++++++++----------------------- po/it.po | 7176 +++++++++++++++++++++---------------------- po/ja.po | 7096 +++++++++++++++++++++---------------------- po/km.po | 7070 ++++++++++++++++++++++--------------------- po/ko.po | 7463 ++++++++++++++++++++++----------------------- po/ku.po | 5194 +++++++++++++++---------------- po/lt.po | 6651 ++++++++++++++++++++-------------------- po/mr.po | 7004 +++++++++++++++++++++--------------------- po/nb.po | 7605 +++++++++++++++++++++++----------------------- po/ne.po | 7172 +++++++++++++++++++++---------------------- po/nl.po | 6722 +++++++++++++++++++++-------------------- po/nn.po | 6702 ++++++++++++++++++++-------------------- po/oc.po | 5073 +++++++++++++++---------------- po/pa.po | 5772 +++++++++++++++++------------------ po/pl.po | 7007 +++++++++++++++++++++--------------------- po/pt.po | 7040 +++++++++++++++++++++--------------------- po/pt_BR.po | 7528 ++++++++++++++++++++++----------------------- po/ro.po | 7711 ++++++++++++++++++++++++----------------------- po/ru.po | 7225 ++++++++++++++++++++++---------------------- po/sk.po | 7449 ++++++++++++++++++++++----------------------- po/sv.po | 2 +- po/th.po | 6973 +++++++++++++++++++++--------------------- po/tl.po | 7026 +++++++++++++++++++++--------------------- po/tr.po | 7066 ++++++++++++++++++++++--------------------- po/vi.po | 7069 ++++++++++++++++++++++--------------------- po/zh_CN.po | 6750 +++++++++++++++++++++-------------------- po/zh_TW.po | 6901 +++++++++++++++++++++--------------------- scripts/po/ca.po | 2 +- scripts/po/de.po | 6 +- scripts/po/dpkg-dev.pot | 27 +- scripts/po/es.po | 27 +- scripts/po/fr.po | 26 +- scripts/po/pl.po | 42 +- scripts/po/ru.po | 30 +- scripts/po/sv.po | 2 +- 95 files changed, 142393 insertions(+), 139396 deletions(-) commit 7d9bf773c4f0d02ad8ae24488d5d5b3eaa962a1e Author: Sven Joachim Date: Sun Mar 13 19:21:26 2022 +0100 po: Update German programs translation Update to 1177t. po/de.po | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit 13c869d823440dfe30770a802afaa4056eb6a6da Author: Sven Joachim Date: Sun Mar 13 19:13:58 2022 +0100 po: Update German dselect translation Update to 267t. dselect/po/de.po | 74 +++++++++++++++++++++++++++----------------------------- 1 file changed, 36 insertions(+), 38 deletions(-) commit 175dba4eaa55d50df2b21b6f948569ef00ad7d12 Author: Peter Krefting Date: Wed Mar 2 00:40:39 2022 +0100 po: Update Swedish translations [guillem@debian.org: Fix typos in markup syntax. ] Closes: #1003799, #1007116 Signed-off-by: Guillem Jover dselect/po/sv.po | 265 +- man/po/sv.po | 12979 +++++++++++++++++------------------------------------ po/sv.po | 7640 +++++++++++++++---------------- scripts/po/sv.po | 1301 ++---- 4 files changed, 8405 insertions(+), 13780 deletions(-) commit 7564f4ab2fa417553b773d520c803182897bfb10 Author: Guillem Jover Date: Mon Feb 7 00:30:03 2022 +0100 po: Update Catalan translations dselect/po/ca.po | 195 +- po/ca.po | 7248 ++++++++++++++++++++++++++---------------------------- scripts/po/ca.po | 337 +-- 3 files changed, 3691 insertions(+), 4089 deletions(-) commit 775c2029a6852d095b35becef5cabc452394fa6c Author: Guillem Jover Date: Sat Feb 12 21:16:38 2022 +0100 po: Remove previous msgid for non-fuzzy translations man/po/nl.po | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) commit 814651170dd2caa6ae001167f09414453021764e Author: Guillem Jover Date: Sun Mar 6 20:40:34 2022 +0100 man: Clarify --admindir and --instdir default values These depend on the DPKG_ADMINDIR and DPKG_ROOT environment variables being set or not. Although this is mentioned in the ENVIRONMENT section it is not obvious directly from the command-line options descriptions. Reported-by: Johannes Schauer Marin Rodrigues man/dpkg-divert.pod | 8 +++++--- man/dpkg-realpath.pod | 2 +- man/dpkg-statoverride.pod | 7 ++++--- man/dpkg-trigger.pod | 4 ++-- man/dpkg.pod | 2 +- man/dselect.pod | 3 +-- man/update-alternatives.pod | 7 ++++--- 7 files changed, 18 insertions(+), 15 deletions(-) commit 74632ce150b118f5eb64c850afbcb01066395aa9 Author: Guillem Jover Date: Thu Mar 3 02:07:42 2022 +0100 man: Document that u-a honors DPKG_ROOT Add the information about the environment variable, via a substituted variable indirection to avoid hardcoding the variable name. man/Makefile.am | 1 + man/update-alternatives.pod | 5 +++++ 2 files changed, 6 insertions(+) commit 0a346c7528221b5c06bee69161ab2a6298a557c4 Author: Guillem Jover Date: Thu Mar 3 02:07:42 2022 +0100 man: Do not hardcode DPKG_ADMINDIR in u-a This program is used by other distributions that are not dpkg-based, use an indirection through the build system, so that these integrators do not need to patch the man page. man/Makefile.am | 1 + man/update-alternatives.pod | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 9a0337de82f432c9bb4c75e279afd8dfaae93a3e Author: Nicolas Boulenguez Date: Fri Mar 11 04:30:19 2022 +0100 scripts/mk: Indent code in Makefile fragments [guillem@debian.org: - Fix indentation also in buildflags.mk. - Keep exporting variables on per line. ] Signed-off-by: Guillem Jover scripts/mk/buildflags.mk | 6 +++--- scripts/mk/buildtools.mk | 40 ++++++++++++++++++++-------------------- 2 files changed, 23 insertions(+), 23 deletions(-) commit 39ec63cea5e62b920e7a62360bb2634abbe48add Author: Nicolas Boulenguez Date: Fri Mar 11 04:40:21 2022 +0100 scripts/mk: Remove unneeded conditionals The ?= had no effect when the previous test was succeeding. Make that explicit with an 'else'. The 'ifdef' was always succeeding because previous stanza sets $1. Signed-off-by: Guillem Jover scripts/mk/buildtools.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit bb508d489a62fa589b3d44e1f7a0c38cabebcc59 Author: Guillem Jover Date: Thu Mar 10 23:29:03 2022 +0100 scripts/mk: Fix typo in comment Changelog: silent scripts/mk/buildtools.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit baa3a1ef59d1b0ffd262f75671ada9e91a3044c8 Author: Guillem Jover Date: Thu Mar 3 01:42:56 2022 +0100 build: Do not put localization entries on their own changelog group The purpose of placing localization entries on their own changelog groups was to try to reduce information overload, for something that tends to be rather repetitive. This is, though, a departure from the convention of using the person taking responsibility for that change as that group header (within square brackets). And not really needed given that we have switched to standardized section names where we can place this following a more uniform format. README.l10n | 5 +++-- build-aux/gen-changelog | 54 ++++++++++--------------------------------------- 2 files changed, 14 insertions(+), 45 deletions(-) commit 4de809297ac41c929c10f74189c431c198e66d66 Author: Guillem Jover Date: Thu Mar 3 01:42:17 2022 +0100 build: Use sort flag instead of hardcoding the section in gen-changelog The l10n section needs to be sorted, given its uniformity and repetition. Instead of hardcoding the name of the section, add a new flag that generalizes it and can be used by other sections if desired. build-aux/gen-changelog | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit f0dcce12d085fba2043d4ee01b71c4591f6f9866 Author: Guillem Jover Date: Thu Mar 3 01:34:32 2022 +0100 build: Do not hardcode «main» section for title check in gen-changelog What we want is to change the formatting depending on whether the section contains a title or not. Switch to check for this instead of the implicit assumption that the untitled section is «main». build-aux/gen-changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c91199e2a818827a4d39a16dcf61c2abf2515061 Author: Guillem Jover Date: Thu Mar 3 01:29:49 2022 +0100 build: Use non-capturing groups in regex in gen-changelog build-aux/gen-changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 573be899535afa096a28f449a9973decfee90473 Author: Guillem Jover Date: Thu Mar 3 01:23:41 2022 +0100 build: Support specifying previous and next tags to gen-changelog This helps testing the script with different version ranges. build-aux/gen-changelog | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit e8bfb3e588af8a19cc86582782b75e3dbe96b868 Author: Guillem Jover Date: Sun Feb 13 19:28:44 2022 +0100 build: Mark libcompat and libdpkg as internal components in changelog These components are internal components, and changes in them are in most cases of internal nature. build-aux/gen-changelog | 2 ++ 1 file changed, 2 insertions(+) commit 921837ce166c2c887b52f5c667456f621ed5ca69 Author: Guillem Jover Date: Fri Feb 11 20:18:24 2022 +0100 build: Add comment about «sed -i» not being portable Prompted-by: Nicolas Boulenguez scripts/mk/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 79fc3db3e9992b2f548f8bfadd31307451f86339 Author: Guillem Jover Date: Fri Feb 11 20:17:15 2022 +0100 build: Switch sed pseudo-in-place replace invocations with copy then move Instead of copying into a temporary, replacing, then removing the leftover, do the more concise replace with copy then move back. scripts/Makefile.am | 9 ++++----- scripts/mk/Makefile.am | 18 ++++++++---------- 2 files changed, 12 insertions(+), 15 deletions(-) commit 8e886ec9ffaacabdb4f062d6c4a4a92288c2052a Author: Nicolas Boulenguez Date: Fri Mar 11 04:11:51 2022 +0100 test: Use «each» instead of «keys» and value fetching Iterate on key/value pairs instead of iterating on keys then search for each value. [guillem@debian.org: Rename variable names. ] Signed-off-by: Guillem Jover scripts/t/mk.t | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) commit a0cc008c902b2b4cf812eb60235c7c4cbc329770 Author: Nicolas Boulenguez Date: Thu Feb 11 15:36:15 2021 +0100 test: Add test case for SOURCE_DATE_EPOCH Set SOURCE_DATE_EPOCH either from the environment or the Debian changelog. Check that the value is (re)exported. [guillem@debian.org: Hardcode the timestamp instead of forking date(1). ] Signed-off-by: Guillem Jover scripts/t/mk.t | 10 +++++++++- scripts/t/mk/pkg-info.mk | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) commit c348c2468a2c5c470f7a511f01c54735de29ceff Author: Guillem Jover Date: Fri Feb 11 20:20:25 2022 +0100 test: Use a temporary file instead of unportable «sed -i» Use the same pattern we use in other places of the code base, so that the test suite can run on systems with less featureful sed implementations. Prompted-by: Nicolas Boulenguez src/at/local.at | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7c6adad334747d3cd1b32a59634ca272a4be364c Author: Guillem Jover Date: Sun Mar 6 20:38:25 2022 +0100 dselect: Add support for --instdir dselect/main.cc | 4 +++- man/dselect.pod | 17 ++++++++++++----- 2 files changed, 15 insertions(+), 6 deletions(-) commit 760f465b922b4afae9cfa32b2c07fe0649e94257 Author: Guillem Jover Date: Thu Feb 10 03:43:55 2022 +0100 dselect: Do not beep on key press errors in method and package list windows When we resize a window, ncurses will generate keycodes, which then will be trapped by the key handling code and beep when they match no known keybinding. This is in general annoying, so instead we silence these beeps completely. Closes: #533639 dselect/methlist.cc | 3 ++- dselect/pkglist.cc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 03be1f9eaf2f99571d795969d66b099e49a352a6 Author: Guillem Jover Date: Tue Feb 8 22:49:58 2022 +0100 dselect: Handle window resizes in help and menu screens Adapt the input loops for these two screens to handle window resizes, as we are doing now in the other screen input loops. Closes: #382307 dselect/basecmds.cc | 13 +++++++++++-- dselect/main.cc | 9 +++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) commit 4d4e2e1186acae606de0b1f82ca888b6772ea89e Author: Guillem Jover Date: Tue Feb 8 22:45:33 2022 +0100 dselect: Rework windows resize to be signal safe Remove all current explicit signal handling code for window resizes and instead rely on ncurses doing this for us, which is going to be async-signal-safe, instead of the current code which was not. Changelog: internal dselect/basecmds.cc | 2 +- dselect/baselist.cc | 68 +++++------------------------------------------- dselect/dselect.h | 8 ++---- dselect/methlist.cc | 15 +++++------ dselect/pkglist.cc | 15 +++++------ t/cppcheck/cppcheck.supp | 3 --- 6 files changed, 23 insertions(+), 88 deletions(-) commit 57e084a52e1ede33b7914c3e0357311ac370a186 Author: Guillem Jover Date: Mon Feb 7 18:18:03 2022 +0100 debian: Warn in postinst about merged-/usr-via-aliased-dirs breakage dpkg does not, and has never supported this filesystem layout even less so the way it has been deployed as it bypasses dpkg entirely. It can cause file loss, file overwrites, unexpected query results, among other things, while being very insidious to detect if one is not aware. Adding support for it would be rather infeasible and gets in the way of features that have been on the works for some time now. debian/dpkg.postinst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit b2789db9a204dbe71046619a8ceb7bb7263d1434 Author: Guillem Jover Date: Mon Feb 7 18:17:07 2022 +0100 debian: Use dpkg-error.sh in postinst This makes it possible to use better diagnostic functions. debian/dpkg.postinst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 131eef880f8d0b87cbb0918822d0c03294957d20 Author: Guillem Jover Date: Mon Feb 7 00:33:48 2022 +0100 u-a: Move filename generation outside alternative setup This is common to both symlinks being created, move it out of the code block, so that we might be able to conditionalize the first block to avoid doing redundant work if it does not need to change. Changelog: internal utils/update-alternatives.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 272a5232b24a1ffc1363ec7119fd38e3f855b024 Author: Guillem Jover Date: Mon Feb 7 00:29:35 2022 +0100 u-a: Use the target timestamp when the symlink does not exist Some programs track the symlink timestamps in their databases (such as man-db). To be able to create reproducible installations we have to use timestamps that are reproducible, at least on the first installation. We also need to take into account that not using the current timestamp when updating symlinks might cause backup systems to not work properly. To cover these two cases, we will copy the timestamp from the target, if the symlink did not exist. Closes: #1004557 utils/update-alternatives.c | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) commit fe088a3e855fbf17c70d0ffd939eefe81a9685f7 Author: Guillem Jover Date: Mon Feb 7 00:29:35 2022 +0100 u-a: Move symlink removal inside fsys_symlink() To be able to create the symlink, we need to first remove it. Do this within the function, which reduces the amount of work, as then we only need to compute the root pathname one time. Changelog: internal utils/update-alternatives.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 9ec0b0594c591b0d403f35884b702d335edb2286 Author: Guillem Jover Date: Tue Feb 1 21:41:53 2022 +0100 u-a: Refactor alternative_has_broken_symlink() Changelog: internal utils/update-alternatives.c | 47 +++++++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 21 deletions(-) commit c0f8ed292fc2a2293ee2d449323783e0a406cefc Author: Sören Tempel Date: Thu Aug 27 21:43:40 2020 +0200 test: Fix test_command_exec program invocation From exec(3): The argument arg0 should point to a filename string that is associated with the process being started by one of the exec functions. Unfortunately, this test sets arg0 to the string "arg 0" this causes the busybox multicall binary on Alpine Linux to assume that the applet "arg 0" (instead of true) should be executed. However, as such an applet does not exist, the tests fails. This commit fixes the failing test by setting arg0 correctly (as other parts of the dpkg codebase using the command API do too). Signed-off-by: Guillem Jover lib/dpkg/t/t-command.c | 1 + 1 file changed, 1 insertion(+) commit 09687d564ce40a4f56fe2a9eadb32d92b810f6e5 Author: Guillem Jover Date: Sun Jan 30 02:05:37 2022 +0100 libdpkg: Do not allow argv with no arguments lib/dpkg/options.c | 3 +++ 1 file changed, 3 insertions(+) commit 560574b55a543d3d0a0f4e8abf0ae42f46d2a2f1 Author: Guillem Jover Date: Sat Jan 29 20:29:33 2022 +0100 libdpkg: Do not restrict source:* virtual fields to installed packages Initially the code was not handling missing data properly. It got changed in two ways, in commit 536a38582a2d92da84f82d850e22f581b00d2082 it was first restricted to only operate on installed packages, which regressed support for dpkg-deb show format, and then the code was made robust against such missing data (which was really the only correct and necessary part to the fix) in commit 9022f9e0ffc58425c6798ff62e797f4026a29fe9. Fixes: commit 536a38582a2d92da84f82d850e22f581b00d2082 Closes: #1004372 Stable-Candidate: 1.20.x lib/dpkg/pkg-format.c | 9 --------- 1 file changed, 9 deletions(-) commit d9f603f110d79393174f287d041b5e7cea7dc4c9 Author: Guillem Jover Date: Sat Jan 29 20:29:09 2022 +0100 test: Add new pkg-format unit tests lib/dpkg/Makefile.am | 1 + lib/dpkg/t/.gitignore | 1 + lib/dpkg/t/t-pkg-format.c | 124 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 126 insertions(+) commit cee8e4b5a5c7cc0ccd4810c83796ec824f5ebb63 Author: Guillem Jover Date: Sat Jan 29 18:23:49 2022 +0100 libdpkg: Refactor pkg_format_print() out from pkg_format_show() This will allow testing the formatting code. lib/dpkg/libdpkg.map | 1 + lib/dpkg/pkg-format.c | 27 ++++++++++++++++++--------- lib/dpkg/pkg-format.h | 2 ++ 3 files changed, 21 insertions(+), 9 deletions(-) commit 60d8baf664bd75aa235a727fd63c189d450bb4ce Author: Guillem Jover Date: Sat Jan 29 23:32:45 2022 +0100 Dpkg::Source::Package: Use File::Spec instead of ad-hoc concatenation This takes care of adding the required pathname separators when needed. scripts/Dpkg/Source/Package.pm | 5 +++-- scripts/Dpkg/Source/Package/V2.pm | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) commit 1befbd547c793da857949cd13775a75838293cec Author: Guillem Jover Date: Thu Jan 27 01:42:48 2022 +0100 Dpkg::Source::Package: Only generate the patch header if needed When we are generating a patch we need to generate a header too, but only if the patch is going to contain actual differences. Otherwise we end up parsing the changelog unnecessarily. Prompted-by: Umut (on IRC) scripts/Dpkg/Source/Package/V2.pm | 18 ++++++++++-------- scripts/Dpkg/Source/Patch.pm | 12 +++++++++++- 2 files changed, 21 insertions(+), 9 deletions(-) commit c548669cc8547a78a5c57ae92b0c5d0a0873a77c Author: Guillem Jover Date: Thu Jan 27 01:24:24 2022 +0100 dpkg-source: Fix alternate changelog file usage with 2.0 and 3.0 formats When generating the patch header we parse the changelog, but were not honoring the pathname passed to dpkg-source. Reported-by: Umut (on IRC) scripts/Dpkg/Source/Package/V2.pm | 2 +- scripts/dpkg-source.pl | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) commit b4ba0716f90d5882563d4fc53f93b03e629a6dd8 Author: Guillem Jover Date: Thu Feb 17 22:38:55 2022 +0100 Dpkg::Index: Switch key function for control tests to be a stanza index These stanzas have two possible distinguishing keys, the Tests and Test-Command fields, but these are not necessarily unique, as can be repeated given different constraints specified via other fields in the stanza. We switch to use the order tracking to index each stanza, so that we can support duplicate test entries. Reported-by: Paul Gevers scripts/Dpkg/Index.pm | 11 ++++++++--- scripts/t/dpkg_source.t | 16 +++++++++++++++- scripts/t/dpkg_source/testsuite_2.dsc | 1 + 3 files changed, 24 insertions(+), 4 deletions(-) commit f604378c7f86f4bd5d91ff8ccf69200f6e82d951 Author: Guillem Jover Date: Tue Feb 1 23:59:49 2022 +0100 build: Move zsh completion under a subdirectory Organize this to allow for other shell completion implementations, such as bash. scripts/Makefile.am | 2 +- scripts/{ => completion}/zsh/_dpkg-parsechangelog | 0 2 files changed, 1 insertion(+), 1 deletion(-) commit ad5dc46b6f1495dc9c3a49aa3b2c93e94da05a4e Author: Frans Spiesschaert Date: Sat Jan 22 19:13:18 2022 +0100 po: Update Dutch man pages translation Closes: #1003673 Signed-off-by: Guillem Jover man/po/nl.po | 545 ++++++++++++++++++++++++++--------------------------------- 1 file changed, 238 insertions(+), 307 deletions(-) commit 63b4789b801272c3552afe28b89a0bb79deaa2ce Author: Frans Spiesschaert Date: Sat Jan 22 19:12:26 2022 +0100 po: Update Dutch programs translation Closes: #1003672 Signed-off-by: Guillem Jover po/nl.po | 330 +++++++++++++++++---------------------------------------------- 1 file changed, 87 insertions(+), 243 deletions(-) commit 83e3436efc75d3acc4221682532de729960b1a14 Author: Frans Spiesschaert Date: Sat Jan 22 19:10:08 2022 +0100 po: Update Dutch dselect translation Closes: #1003671 Signed-off-by: Guillem Jover dselect/po/nl.po | 75 +++----------------------------------------------------- 1 file changed, 4 insertions(+), 71 deletions(-) commit 068090fc7248b1ad30c9a6871a9a2824a4bba578 Author: Guillem Jover Date: Sat Jan 22 19:00:02 2022 +0100 debian: Remove override_dh_perl This was removed in commit b6ec384e36614a53096ff29dbc26fae7a25e89ea, but got accidentally reintroduced when switching to the dh sequencer, due to a botched merge from an old commit. Fixes: commit b9afb861c35a6c76970aee0ad70a94f9fb6071b6 Reported-by: Sven Joachim Changelog: silent debian/rules | 4 ---- 1 file changed, 4 deletions(-) commit 21642c272cdd11cf435813419568edca71c5ddf1 Author: Helge Kreutzmann Date: Thu Jan 20 05:30:46 2022 +0100 po: Update German scripts translation scripts/po/de.po | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) commit d7a03b037af68648197f579137f0fdb7d0ca9484 Author: Guillem Jover Date: Thu Jan 20 05:12:20 2022 +0100 build: Distribute dselect.lintian-overrides file Changelog: silent Fixes: commit 6a7bfcde4bd983274ee7b178d0f27be746429989 Makefile.am | 1 + 1 file changed, 1 insertion(+) commit eb4962aa352c92dda998fbef6ef48baec502232f Author: Guillem Jover Date: Thu Jan 20 04:54:32 2022 +0100 scripts: Unify deprecated command-line option warnings scripts/dpkg-buildpackage.pl | 6 +++--- scripts/dpkg-genbuildinfo.pl | 4 ++-- scripts/dpkg-gencontrol.pl | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) commit 6a7bfcde4bd983274ee7b178d0f27be746429989 Author: Guillem Jover Date: Thu Jan 20 04:02:45 2022 +0100 debian: Update lintian overrides debian/dpkg.lintian-overrides | 6 ++++++ debian/dselect.lintian-overrides | 2 ++ 2 files changed, 8 insertions(+) commit ccf91bef46858f62be45e3417785e047e7ce85b1 Author: Guillem Jover Date: Thu Jan 20 04:31:01 2022 +0100 build: Fix zlib implementation selection We need to select only one of the possibly available zlib implementations. Turn the code to use a pre-processor "enum", by defining the various values as different macros, that we will select from a variable macro. Changelog: silent Fixes: commit 863af2464d7bf20ad458ee51e2d187a9845214ca lib/compat/compat-zlib.h | 8 +++----- lib/dpkg/compress.c | 6 +++--- m4/dpkg-libs.m4 | 12 ++++++++++++ 3 files changed, 18 insertions(+), 8 deletions(-) commit 17e6052303ec789614353dea1d051ef59325a146 Author: Helge Kreutzmann Date: Sun Jan 9 18:50:44 2022 +0100 po: Update German man pages translation Small fixes man/po/de.po | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) commit 74d69f7e863e3167731d5d85743274a71f554924 Author: Helge Kreutzmann Date: Sat Jan 8 07:41:41 2022 +0100 po: Update German man pages translation man/po/de.po | 197 ++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 106 insertions(+), 91 deletions(-) commit eded8c747c297baf1b8142d58afe0a6a2caf058d Author: Guillem Jover Date: Mon Jul 19 03:45:06 2021 +0200 libdpkg: Pass struct compress_params to decompressors This way we will be able to pass other parameters controlling the decompression, which we will use with the upcoming multithreaded xz decompressor support. lib/dpkg/compress.c | 36 ++++++++++++++++++++++++------------ lib/dpkg/compress.h | 2 +- src/deb/extract.c | 18 ++++++++++-------- 3 files changed, 35 insertions(+), 21 deletions(-) commit 4f7e41335920b580eec9e9b4aa20c9cad6987a38 Author: Guillem Jover Date: Wed Jan 5 23:34:24 2022 +0100 libdpkg: Pass struct compress_params as the first argument This unifies the argument format with the rest of the de/compression functions. lib/dpkg/compress.c | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) commit 002a24fcfd72bda1ec1a916e427dca521ce475cd Author: Guillem Jover Date: Sun Jul 18 22:32:07 2021 +0200 libdpkg: Increase I/O memory buffers from 4 to 32 KiB The current buffers for de/compression I/O are 4 KiB, the one for file descriptor I/O is 32 KiB. Use the same macro for both, set them to 32 KiB. lib/dpkg/buffer.c | 2 +- lib/dpkg/buffer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 0e0759b3559bee6285bb31db0b93e334566d66c5 Author: Guillem Jover Date: Sun Jul 18 22:45:03 2021 +0200 libdpkg: Dynamically allocate the buffers for de/compression I/O This removes these static buffers, and makes it possible to increase them to bigger ones more suited for current available memory and I/O being handled. lib/dpkg/compress.c | 53 ++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 40 insertions(+), 13 deletions(-) commit a49f5e3e18cd179330932bdddacb97ad89b9b723 Author: Guillem Jover Date: Sat Jun 19 22:41:33 2021 +0200 libdpkg: Refactor liblzma memlimit and cputhreads getters We will use these too for the upcoming multithreaded xz decompressor support. lib/dpkg/compress.c | 52 +++++++++++++++++++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 17 deletions(-) commit f8d254943051e085040367d689048c00f31514c3 Author: Sebastian Andrzej Siewior Date: Sat Jan 30 23:26:40 2021 +0100 libdpkg: Use the amount of available memory instead phys_mem/2 On Linux there is the field 'MemAvailable' in '/proc/meminfo' which holds the amount of memory which is available as of now. It considers the fact that the page cache can be purged, some memory (if not all) can be reclaimed (for instance by writing back dirty inodes) and some memory should remain free just in case. This amount of memory can be used without the need to swap-out some memory. The complete definition can be located at [0]. The advantage over PHYS_MEM/2 is that it considers the current status/usage of the system while assuming that half of what is physically available is usable. [guillem@debian.org: - Use fd_read() instead of read(). - Merge two chained if blocks to reduce nesting level. - Add missing header. - Use a size_t const for the string length. ] [0] https://www.kernel.org/doc/html/latest/filesystems/proc.html Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Guillem Jover lib/dpkg/compress.c | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 91 insertions(+), 5 deletions(-) commit cc80b8be4a35874aaaefad72ffe4e2c894ed65d4 Author: Guillem Jover Date: Sat Jun 19 22:18:07 2021 +0200 build: Rename HAVE_LZMA_MT to HAVE_LZMA_MT_ENCODER This macro describes whether liblzma has support for multi-threaded compression, but we'll want to check for the upcoming decompression too, which is not going to be supported by the same versions. lib/dpkg/compress.c | 4 ++-- m4/dpkg-libs.m4 | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) commit 863af2464d7bf20ad458ee51e2d187a9845214ca Author: Guillem Jover Date: Tue Dec 21 22:52:17 2021 +0100 build: Add zlib-ng support The zlib-ng library is a fork of zlib with its code modernized and lots of optimizations for various modern CPUs giving it a substantial performance boost. This library provides either an API (and in theory ABI) compatible interface, or a cleaned up API with namespaced and with better types. We add support for the latter, via a compatibility header mapping symbol names. configure.ac | 2 +- lib/compat/Makefile.am | 1 + lib/compat/compat-zlib.h | 43 +++++++++++++++++++++++++++++++++++++++++++ lib/dpkg/compress.c | 10 ++++++---- m4/dpkg-libs.m4 | 17 +++++++++++++++-- 5 files changed, 66 insertions(+), 7 deletions(-) commit 53aa6bca8398c7615511f280bdf495e36e6bdb1e Author: Guillem Jover Date: Tue Dec 21 17:07:14 2021 +0100 build: Support compression library names with dashes We need to call AS_TR_SH for any variable name that might end up containing the compression library name with a dash. We were doing this for the CPP macros, but not for the shell ones. m4/dpkg-libs.m4 | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit d5fdea66ca6e20ed2c28a96e782587244b7ec902 Author: Guillem Jover Date: Tue Dec 21 17:06:24 2021 +0100 build: Make AS_TR_* calls more clear Include the entire token within the AS_TR_* calls, instead of only the variable to expand, which makes it more obvious what the resulting token might look like. m4/dpkg-build.m4 | 16 ++++++++-------- m4/dpkg-libs.m4 | 6 +++--- m4/dpkg-types.m4 | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) commit 46c54b3e689b5135562821eba08a3e26fc66e8e8 Author: Guillem Jover Date: Wed Jan 5 17:38:51 2022 +0100 debian: Pass -jN to autotools autotest test suite via TESTSUITEFLAGS debian/rules | 1 + 1 file changed, 1 insertion(+) commit 1b9cabecf24bd9fb51da80e4bf3f917800a31e20 Author: Guillem Jover Date: Wed Jan 5 17:36:43 2022 +0100 debian: Make TESTSUITEFLAGS extensible Set TESTSUITEFLAGS values and then assign that into the same environment variable in testflags. Move TEST_PARALLEL to testflags. This will allow to add multiple options to TESTSUITEFLAGS. debian/rules | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit fef11dee98f31681cfee6d3476eda6c85b7c04b9 Author: Guillem Jover Date: Wed Jan 5 16:04:00 2022 +0100 dpkg-buildpackage: Switch terse make from -s to --no-print-directory Passing «-s» to make is too much terseness, increase it back, but omit printing directory entry and exit messages instead. Closes: #1003164 scripts/dpkg-buildpackage.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b9ab58c1699fb3a06aec0e06108dad8389f67897 Author: Sven Joachim Date: Wed Jan 5 17:49:03 2022 +0100 po: Update German programs translation Update to 1174t. po/de.po | 6759 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 3389 insertions(+), 3370 deletions(-) commit b5d2d688a0b7272da04f4a6c967fba326f81e1b0 Author: Guillem Jover Date: Wed Jan 5 04:20:11 2022 +0100 test: Update DPKG_DATADIR to point to src/ This variable is used to point to the shell library directory. Fixes: commit 9c156327295c378201a47029dbbca2573c846abc Changelog: silent tests/Test.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9780169476262b067f5d8046a73a279a0cbadbc8 Author: Guillem Jover Date: Mon Jan 3 02:47:58 2022 +0100 u-a: Clarify bad usage message by enclosing in angles and quoting arguments Enclose the argument names in angle brackets, and quote their values, so that it is easier to parse what is the problem. utils/update-alternatives.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 5bf749004bbb8cc58053c4b9daaa8da82c912ab8 Author: Guillem Jover Date: Thu Dec 30 01:49:07 2021 +0100 u-a: Clarify option parse errors by printing the wrong values For options that can be passed multiple times or values that might not be clear are wrong, always print the actual value to help the user track the wrong usage more easily. utils/update-alternatives.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 3cf7dce794e139e70c89203bdf7fa6df9b492dd7 Author: Guillem Jover Date: Thu Dec 30 01:47:35 2021 +0100 u-a: Use intermediate variables when parsing actions When we need to refer to the same argument multiple times while parsing them, use an intermediate to give it meaning and make it obvious what it is about. For arguments that are directly assigned to their final variable simply use argv[]. utils/update-alternatives.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit f967e092f5d77038f4ae1acea84f6dc7c38a75fc Author: Guillem Jover Date: Wed Dec 29 05:03:38 2021 +0100 u-a: Refactor alternative_install() This moves the last action into its own dedicated function, so that the main() function is uncluttered from details. utils/update-alternatives.c | 50 ++++++++++++++++++++++++++++----------------- 1 file changed, 31 insertions(+), 19 deletions(-) commit 0df14c03e8a6916711d5fc737f6b6d26c661ad02 Author: Guillem Jover Date: Tue Dec 28 19:24:42 2021 +0100 u-a: Do not skip --config with a single entry Even with a single entry the user might want to switch it between auto and manual, something which is possible via the --set option, so it should have an interactive mode too. Reported-by: David Kalnischkies utils/update-alternatives.c | 6 ------ 1 file changed, 6 deletions(-) commit f2b495f107bec91808f4f9e2df7698b339345a8a Author: Guillem Jover Date: Tue Dec 21 23:48:11 2021 +0100 Dpkg::Control::FieldsCore: Add field order for all control types scripts/Dpkg/Control/FieldsCore.pm | 67 ++++++++++++++++++++++++++++++++++++ scripts/t/Dpkg_Control.t | 8 ++--- scripts/t/Dpkg_Control_Fields.t | 69 ++++++++++++++++++++------------------ 3 files changed, 107 insertions(+), 37 deletions(-) commit 33ca537f56286fb6f705a1a3056c033591aed91d Author: Guillem Jover Date: Wed Dec 22 00:53:12 2021 +0100 Dpkg::Control::FieldsCore: Add missing allowed fields for (In)Release files Allow Version, Acquire-By-Hash, NotAutomatic, ButAutomaticUpgrades and No-Support-for-Architecture-all fields. scripts/Dpkg/Control/FieldsCore.pm | 23 ++++++++++++++++++++++- scripts/t/Dpkg_Control_Fields.t | 7 ++++++- 2 files changed, 28 insertions(+), 2 deletions(-) commit 735db4a3722aad0233f77928e9e053c97da29445 Author: Guillem Jover Date: Tue Dec 21 23:46:38 2021 +0100 Dpkg::Control::FieldsCore: Accept Architecture as a debian/tests/control field Support for this got added in autopkgtest 5.15. scripts/Dpkg/Control/FieldsCore.pm | 2 +- scripts/t/Dpkg_Control_Fields.t | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit 7cf28cefd92cae650b144bf840c5ec8cbb4e3424 Author: Guillem Jover Date: Thu Dec 23 01:41:24 2021 +0100 Dpkg::Control::FieldsCore: Refactor testsuite fields into a common variable scripts/Dpkg/Control/FieldsCore.pm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 6e18caebc09e8c9007f129616864c3765301ff50 Author: Guillem Jover Date: Tue Dec 21 23:34:16 2021 +0100 Dpkg::Control::FieldsCore: Refactor Vcs fields into a common variable scripts/Dpkg/Control/FieldsCore.pm | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) commit 25f1d74d6d7ec6413962a7adbae81fe8688f67d0 Author: Guillem Jover Date: Tue Dec 21 23:22:39 2021 +0100 scripts: Expand long word list into one entry per line This makes extending these lists, which is a relatively common thing to expect, easy to review on diffs. It also makes it easier to sort the entries in alphabetical order if required. scripts/Dpkg/Build/Info.pm | 88 ++++++-- scripts/Dpkg/Changelog.pm | 8 +- scripts/Dpkg/Control/FieldsCore.pm | 339 ++++++++++++++++++++++++++----- scripts/Dpkg/Shlibs/Symbol.pm | 5 +- scripts/t/Dpkg_Control_Fields.t | 398 ++++++++++++++++++++++++++++++------- 5 files changed, 700 insertions(+), 138 deletions(-) commit 805a3344125e6d7e7480d3be2ba1cafb03c6e3c5 Author: Guillem Jover Date: Tue Dec 21 23:59:41 2021 +0100 Dpkg::Control::FieldsCore: Sort control type entries in %FIELD_ORDER scripts/Dpkg/Control/FieldsCore.pm | 60 +++++++++++++++++++------------------- 1 file changed, 30 insertions(+), 30 deletions(-) commit eb626af364392b64af7f473269dd1fe11b246a92 Author: Guillem Jover Date: Wed Dec 22 00:11:21 2021 +0100 test: Print field type name instead of id in test case description scripts/t/Dpkg_Control_Fields.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 68789dd9d1993c2c5977107e5cda74846ddf4751 Author: Guillem Jover Date: Sun Dec 19 23:09:43 2021 +0100 test: Remove now unused TAP tests support from src/ We have rewritten these tests as autotests, so we no longer need that infrastructure. scripts/Test/Dpkg.pm | 2 +- src/Makefile.am | 13 ++----------- 2 files changed, 3 insertions(+), 12 deletions(-) commit 9eae41411fb30c5e1d6d755c7b24162cc91bd927 Author: Guillem Jover Date: Sun Dec 19 02:08:14 2021 +0100 test: Rewrite dpkg-divert test from TAP to autotest This is more naturally implemented via an autotest, instead of a TAP test, as it needs to drive an external command and compare its output. src/Makefile.am | 2 +- src/at/divert.at | 639 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/at/local.at | 90 ++++++++ src/at/testsuite.at | 4 + src/t/dpkg_divert.t | 648 ---------------------------------------------------- 5 files changed, 734 insertions(+), 649 deletions(-) commit 12574b49f1211497aaf6ffd69fa2babd1ed3ca5c Author: Guillem Jover Date: Fri Dec 17 04:30:40 2021 +0100 test: Rewrite dpkg-realpath test from TAP to autotest This is more naturally implemented via an autotest, instead of a TAP test, as it needs to drive an external command and compare its output. src/Makefile.am | 2 +- src/at/atlocal.in | 3 ++ src/at/local.at | 2 + src/at/realpath.at | 86 ++++++++++++++++++++++++++++++++++ src/at/testsuite.at | 4 ++ src/t/dpkg_realpath.t | 127 -------------------------------------------------- 6 files changed, 96 insertions(+), 128 deletions(-) commit 0120e7df28e71794c980e62b0560c5887514492d Author: Guillem Jover Date: Fri Dec 17 05:33:20 2021 +0100 test: Refactor control file template generation src/at/local.at | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) commit 110af0c2f25abbaa5bb2b2fe9742cd0dffae665f Author: Guillem Jover Date: Fri Dec 17 05:29:22 2021 +0100 test: Rename DPKG_GEN_FILE to DPKG_GEN_CTRL_FILE This generates a control member file. src/at/deb-content.at | 16 ++++++++-------- src/at/local.at | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) commit 9c156327295c378201a47029dbbca2573c846abc Author: Guillem Jover Date: Fri Dec 17 04:27:41 2021 +0100 Move shell scripts into src/ These are all program that are part of the core dpkg instead of the build tools. Move them with the rest of the run-time programs to apply the same constraints and infrastructure. scripts/.gitignore | 3 --- scripts/Makefile.am | 15 -------------- src/.gitignore | 3 +++ src/Makefile.am | 31 ++++++++++++++++++++++++++++- {scripts => src}/dpkg-db-backup.sh | 0 {scripts => src}/dpkg-maintscript-helper.sh | 4 ++-- {scripts => src}/dpkg-realpath.sh | 4 ++-- {scripts => src}/sh/dpkg-error.sh | 0 {scripts => src}/t/dpkg_realpath.t | 0 t/shellcheck.t | 6 +++--- 10 files changed, 40 insertions(+), 26 deletions(-) commit 981d5acb840dc50a66fc1f00e42d1830c1916b00 Author: Guillem Jover Date: Fri Dec 17 04:46:32 2021 +0100 build: Factor out installation variable substitution into a new subst.am file This will help reduce duplication. build-aux/subst.am | 46 +++++++++++++++++++++++++++++++++++++++++++++ dselect/methods/Makefile.am | 19 ++----------------- scripts/Makefile.am | 31 ++---------------------------- scripts/mk/Makefile.am | 6 +++--- 4 files changed, 53 insertions(+), 49 deletions(-) commit 1947fef853b3a1eac89fa0af3ce6eabd10a291ea Author: Guillem Jover Date: Fri Dec 17 04:57:12 2021 +0100 build: Rename do_path_subst to do_make_subst This macro deals specifically with Makefiles, as that is the syntax it will understand and work with. Use a name matching that instead of what it will be replacing. scripts/mk/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 798ff3a0bf4d783a32626c5c33378e11a67f92dd Author: Guillem Jover Date: Wed Dec 29 20:29:14 2021 +0100 Use anchor links for the dpkg FAQ URLs This adds a reference to the specific entry, otherwise it might not be obvious which one we are talking about. And uses shorter links that fit better on narrow outputs and are more easily recalled. lib/dpkg/file.c | 6 +++--- man/dpkg-fsys-usrunmess.pod | 2 +- man/dpkg.pod | 3 ++- src/main/select.c | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) commit a3d5c3d4aaeccfaff0e4059fa32b842700c573ae Author: Guillem Jover Date: Wed Dec 29 20:28:34 2021 +0100 man: Add a missing preposition to deb-preinst(5) man/deb-preinst.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 403e0882d49924b552dbb9912ad33cbe491200f2 Author: Guillem Jover Date: Wed Dec 29 05:06:47 2021 +0100 man: Refer to the relevant maintscript actions explicitly Embolden and explicitly mention the actions these maintscripts are reacting to or refer to, for extra clarify. man/deb-postinst.pod | 8 ++++---- man/deb-postrm.pod | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) commit 030f5a0ba04300d3e355b052496f53fc04947d1d Author: Guillem Jover Date: Wed Dec 29 05:04:56 2021 +0100 man: Markup each individual element independently For command-line arguments, or file format parts, each element should be marked separately, otherwise these can be confused as being a single element instead of multiple, either when reading the source or depending on the POD formatter used which might use an underline running from the first word to the next. man/deb-postinst.pod | 6 +++--- man/deb-postrm.pod | 4 ++-- man/deb-preinst.pod | 4 ++-- man/deb-prerm.pod | 8 ++++---- man/deb-symbols.pod | 2 +- man/dpkg-buildflags.pod | 8 ++++---- man/dpkg-deb.pod | 6 +++--- man/dpkg-split.pod | 2 +- man/dpkg.pod | 6 +++--- man/update-alternatives.pod | 4 ++-- 10 files changed, 25 insertions(+), 25 deletions(-) commit 6ff5c46fe112ab23ed93380f131062e1243e01ac Author: Guillem Jover Date: Thu Dec 23 07:04:19 2021 +0100 man: Use «main» git branch in examples This is going to be the new default branch name in git upstream, and most git hosting providers have switched to it. It also gets rid of problematic nomenclature. man/dpkg-source.pod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 498e8d2d6c34d66a6e745490e2f02fcdb3d56e78 Author: наб Date: Wed Dec 15 17:16:43 2021 +0100 man: Clarify that dpkg-divert --list pattern is optional Closes: #1001761 Signed-off-by: Guillem Jover man/dpkg-divert.pod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ec86ddd107a6c18caceb6afa62409f1ac1f3c742 Author: Guillem Jover Date: Wed Dec 15 00:38:55 2021 +0100 man: Mention on what actions triggers get processed in dpkg(1) This is not a detailed explanation of how dpkg operates internally, as is warned on at the top of the man page, but it makes sense to at least mention that triggers are processed, so that the user knows whether passing --no-triggers might be needed in those contexts. Closes: #1001010 man/dpkg.pod | 9 +++++++++ 1 file changed, 9 insertions(+) commit b9afb861c35a6c76970aee0ad70a94f9fb6071b6 Author: Guillem Jover Date: Mon Jan 3 01:28:45 2022 +0100 debian: Switch to use the dh sequencer While this might make dpkg harder to bootstrap, it simplifies the rules, and lets debhelper improve things automatically as compat levels increase and get adopted. debian/.gitignore | 1 + debian/rules | 132 ++++++++++++------------------------------------------ 2 files changed, 30 insertions(+), 103 deletions(-) commit e6a3404c39b2a9940b657f7af47d19cc0606bc63 Author: Guillem Jover Date: Sat Jan 1 23:44:07 2022 +0100 debian: Add a new not-installed file This lists the *.la files that we are not installing. Makefile.am | 1 + debian/not-installed | 1 + 2 files changed, 2 insertions(+) commit 01e66a1a8f2d7d8023073d88b4d2b3135d7a4668 Author: Guillem Jover Date: Sat Jan 1 19:58:21 2022 +0100 debian: Install optional localized man pages with dh_installman We need to use a dh command so that debhelper can track which files got installed. We use the double globs, so that when a localized man page does not get generated, we do not get failures from debhelper, as at least the non-localized man page will always match. We were doing this already some time ago, but dh_installman did not handle localized man pages correctly and was overwriting them with the last match. Now that this is fixed, we switch back to using the globs within brace expansion to simplify the support and make use of a dh command. This reverts commit 806dfa8237d9e1e3c80a8b096cb1496d930fd34d. debian/dpkg-dev.manpages | 88 ++++++++++++++++++++++++------------------------ debian/dpkg.manpages | 26 +++++++------- debian/dselect.manpages | 4 +-- debian/rules | 11 ------ 4 files changed, 59 insertions(+), 70 deletions(-) commit 46f449537b4a6522893836477ef8ccc08407d3a2 Author: Guillem Jover Date: Sat Jan 1 19:59:42 2022 +0100 debian: Install aclocal m4 files into libdpkg-dev These can be of use by other projects from the dpkg suite. debian/libdpkg-dev.install | 1 + 1 file changed, 1 insertion(+) commit 6a8b06f42c609968194e1bf8a5677f8ad3da6c84 Author: Guillem Jover Date: Wed Dec 15 03:46:08 2021 +0100 debian: Update bug-script to clarify usrmerge systems are unsupported The merged-usr-via-aliased-dirs, have never been and are not supported by dpkg, and should be considered broken systems. Make this clear on the message, and add a pointer to the FAQ describing the issue. debian/bug-script | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 940f86c37f9fc069079e16d3cfd2eda1be97ca27 Author: Guillem Jover Date: Tue Dec 14 23:30:16 2021 +0100 debian: Ignore directories for the alternatives state fixup We should only consider regular files for the fix ups. Ignore anything else, and stop explicitly ignoring known directories. Closes: #1001695 debian/dpkg.postinst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 87ff5aad393180ffd17714bc331bae069d12edfc Author: Guillem Jover Date: Fri Dec 10 15:38:09 2021 +0100 test: Run the tools with --version This helps when trying to diagnose whether the executed programs are the ones from the build-tree or the ones from the system. src/at/deb-format.at | 4 ++++ src/at/deb-split.at | 3 +++ 2 files changed, 7 insertions(+) commit 664a2599b85f0409507e1bfc1b8bd3ced2a611a8 Author: Guillem Jover Date: Fri Dec 10 15:47:36 2021 +0100 build: Fold autotest test suite machinery into src/ from src/at/ This matches how we are driving the test suites in other parts of the project, and reduces one level of directory recursion. build-aux/autotest.am | 20 ++++++++++---------- configure.ac | 1 - src/Makefile.am | 31 ++++++++++++++++++++++++------- src/at/Makefile.am | 26 -------------------------- 4 files changed, 34 insertions(+), 44 deletions(-) commit 527ebf510a93f96e7176250fee75094fc981316a Author: Guillem Jover Date: Fri Dec 10 15:46:33 2021 +0100 build: Refactor autotest machinery into an automake include file src/at/Makefile.am => build-aux/autotest.am | 23 +++-------------- src/at/Makefile.am | 38 +++++++---------------------- 2 files changed, 13 insertions(+), 48 deletions(-) commit f000080a3cc0bad464ae5d8ca775f481142f1448 Author: Guillem Jover Date: Fri Dec 10 15:49:39 2021 +0100 build: Refactor autotest dependencies into a new variable src/at/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 70734a72e9806b4598e43e1d689b16d55cc3ccbd Author: Guillem Jover Date: Fri Dec 10 15:40:38 2021 +0100 build: Move EXTRA_DIST close to the files it is acting on This makes it easier to reason about what's happening in the file. src/Makefile.am | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 0a4931080d7826ff91b933af1a5ec82a7636f9b5 Author: Guillem Jover Date: Fri Dec 10 15:21:31 2021 +0100 build: Rework TAP check hooking into the autotools machinery Rename the TAP automake support file to tap.am to make it explicit this is just one of the possible test suites we are running. Move from implicitly hooking into the autotools check machinery to explicitly hooking into it, so that we can run different test suites from the same directory. Makefile.am | 6 ++++-- build-aux/{check.am => tap.am} | 4 ++-- lib/dpkg/Makefile.am | 6 ++++-- scripts/Makefile.am | 6 ++++-- src/Makefile.am | 6 ++++-- utils/Makefile.am | 6 ++++-- 6 files changed, 22 insertions(+), 12 deletions(-) commit 5c189378f25acc8479656c885eef01daa213a32a Author: Guillem Jover Date: Fri Dec 10 15:16:00 2021 +0100 build: Remove unused TESTDATA variable from autotest suite src/at/atlocal.in | 3 --- 1 file changed, 3 deletions(-) commit 74354a592ad1d88c1b56c245b34bddbacd56d573 Author: Guillem Jover Date: Fri Dec 10 06:44:10 2021 +0100 build: Link all programs against libcompat The libcompat library gets linked into libdpkg, and that works fine as long as it is built only as a static library, because then any of the libdpkg users in the project will pull in any required object from there. But when libdpkg is built as a shared library, then libtool does not even include it as a dependency in its .la tracking files. And the visibility rules in the shared library will not expose any of the libcompat symbols, so we need to link against it explicitly. Prompted-by: Jörg Sonnenberger dselect/Makefile.am | 1 + lib/dpkg/Makefile.am | 1 + src/Makefile.am | 1 + 3 files changed, 3 insertions(+) commit 87260bc8618d06b3aca1b39d922021bda749d32e Author: Guillem Jover Date: Thu Dec 9 20:55:13 2021 +0100 build: Add gitlab CI test for shared library building This will make sure the shared library is kept in a working state, even though it's definitely not ready yet for general use. .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) commit 17b87a402c352d0bce13aba706ad1eae63876184 Author: Guillem Jover Date: Thu Dec 9 20:54:05 2021 +0100 libdpkg: Add missing symbols to the version map Changelog: internal lib/dpkg/libdpkg.map | 2 ++ 1 file changed, 2 insertions(+) commit 70d0eee545e2c380887a6796c732bfe7ead2d03e Author: Guillem Jover Date: Thu Dec 9 01:02:24 2021 +0100 test: Move AT_TESTED to testsuite.at We call it at the beginning of each group, instead from within each file affecting the same group src/at/deb-content.at | 2 -- src/at/deb-fields.at | 2 -- src/at/deb-format.at | 2 -- src/at/deb-split.at | 2 -- src/at/testsuite.at | 2 ++ 5 files changed, 2 insertions(+), 8 deletions(-) commit d3b01fff0045ef24cbe78f3df7b8cedbfb392495 Author: Guillem Jover Date: Thu Dec 9 15:07:01 2021 +0100 build: Namespace Config variable usage We are only requiring the module, so need to access it under its namespace. Reported-by: Павловец Сергей Николаевич scripts/Build.PL.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3e1dcb9b713bb59092b2f25a5197d182afccf937 Author: Guillem Jover Date: Wed Dec 8 05:34:19 2021 +0100 build: Fix gitignore for build-aux/ directory This got lost during the move, as the .gitignore from the index overrode the on-disk contents. .gitignore | 1 - build-aux/.gitignore | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) commit 0b3b13a724fafea31a5e3ff498efef7c33a28a96 Author: Guillem Jover Date: Wed Dec 8 03:38:45 2021 +0100 build: Fix relocated autotest test suite runner - We need to build the current directory first with the tools. - Remove unused entry in PATH for utils/. - Use absolute path relative to the current source directory instead of the top one. Fixes: commit 1e61d9416719b628ec0e93ced10fe4c1f38ef105 src/Makefile.am | 1 + src/at/atlocal.in | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit e14540db0d71d67f3eb4a07fae8570c29d1f053a Author: Guillem Jover Date: Wed Dec 8 03:25:29 2021 +0100 build: Move C test suite machinery into lib/dpkg/ This matches how we are driving the test suite in other parts of the project, and reduces one level of directory recursion. configure.ac | 1 - lib/dpkg/.gitignore | 1 + lib/dpkg/Makefile.am | 84 +++++++++++++++++++++++++++++++++++++++++--- lib/dpkg/t/.gitignore | 1 - lib/dpkg/t/Makefile.am | 85 --------------------------------------------- lib/dpkg/t/t-tarextract.t | 2 +- lib/dpkg/t/t-treewalk.t | 2 +- lib/dpkg/t/t-trigdeferred.t | 2 +- 8 files changed, 83 insertions(+), 95 deletions(-) commit 1e61d9416719b628ec0e93ced10fe4c1f38ef105 Author: Guillem Jover Date: Tue Dec 7 02:11:43 2021 +0100 build: Move autotest suite under src/ These are all functional tests for the now unified contents under src/. Makefile.am | 1 - configure.ac | 6 +++--- src/Makefile.am | 4 ++++ {t-func => src/at}/.gitignore | 0 {t-func => src/at}/Makefile.am | 0 {t-func => src/at}/atlocal.in | 2 +- {t-func => src/at}/deb-content.at | 0 {t-func => src/at}/deb-fields.at | 0 {t-func => src/at}/deb-format.at | 0 {t-func => src/at}/deb-split.at | 0 {t-func => src/at}/local.at | 0 {t-func => src/at}/testsuite.at | 0 tests/README | 2 +- 13 files changed, 9 insertions(+), 6 deletions(-) commit affb86e43bdf72ed2b4deaa8b9fe13f313c58363 Author: Guillem Jover Date: Sat Dec 4 05:10:33 2021 +0100 build: Reorganize dpkg programs source code under src/ - Move dpkg-deb and dpkg-split under src/ as these are part of the dpkg toolset. - Move common source files under src/common/. - Move program specific source files under subdirectories in src/. - Rename the various *cmd.c into /main.c. - Set automake option subdir-objects. .gitignore | 1 + Makefile.am | 2 - README.l10n | 4 +- configure.ac | 3 +- dpkg-deb/.gitignore | 1 - dpkg-deb/Makefile.am | 27 ---------- dpkg-split/.gitignore | 1 - dpkg-split/Makefile.am | 29 ---------- po/POTFILES.in | 73 +++++++++++++------------ src/.gitignore | 2 + src/Makefile.am | 98 +++++++++++++++++++++++----------- src/{ => common}/actions.h | 0 src/{ => common}/force.c | 0 src/{ => common}/force.h | 0 src/{ => common}/security-mac.h | 0 src/{ => common}/selinux.c | 0 {dpkg-deb => src/deb}/build.c | 0 {dpkg-deb => src/deb}/dpkg-deb.h | 0 {dpkg-deb => src/deb}/extract.c | 0 {dpkg-deb => src/deb}/info.c | 0 {dpkg-deb => src/deb}/main.c | 0 src/{divertcmd.c => divert/main.c} | 0 src/{ => main}/archives.c | 0 src/{ => main}/archives.h | 0 src/{ => main}/cleanup.c | 0 src/{ => main}/configure.c | 0 src/{ => main}/depcon.c | 0 src/{ => main}/enquiry.c | 0 src/{ => main}/errors.c | 0 src/{ => main}/file-match.c | 0 src/{ => main}/file-match.h | 0 src/{ => main}/filters.c | 0 src/{ => main}/filters.h | 0 src/{ => main}/help.c | 0 src/{ => main}/main.c | 0 src/{ => main}/main.h | 0 src/{ => main}/packages.c | 0 src/{ => main}/perpkgstate.c | 0 src/{ => main}/remove.c | 0 src/{ => main}/script.c | 0 src/{ => main}/select.c | 0 src/{ => main}/trigproc.c | 0 src/{ => main}/unpack.c | 0 src/{ => main}/update.c | 0 src/{ => main}/verify.c | 0 src/{querycmd.c => query/main.c} | 0 {dpkg-split => src/split}/dpkg-split.h | 0 {dpkg-split => src/split}/info.c | 0 {dpkg-split => src/split}/join.c | 0 {dpkg-split => src/split}/main.c | 0 {dpkg-split => src/split}/queue.c | 0 {dpkg-split => src/split}/split.c | 0 src/{statcmd.c => statoverride/main.c} | 0 src/{trigcmd.c => trigger/main.c} | 0 t-func/atlocal.in | 2 +- t/cppcheck/cppcheck.supp | 8 +-- tests/Test.mk | 2 +- 57 files changed, 117 insertions(+), 136 deletions(-) commit 3ab64fae1f5cd8613a8ec62d066bd02f9b4ed295 Author: Guillem Jover Date: Sat Dec 4 05:24:45 2021 +0100 build: Move build helper tools into build-aux/ This unclutters the source tree, and moves the files where they belong in normal autotools build systems. Makefile.am | 14 +++++++------- check.am => build-aux/check.am | 0 cpan.am => build-aux/cpan.am | 0 gen-changelog => build-aux/gen-changelog | 0 get-version => build-aux/get-version | 0 doc/lcov-inject.pl => build-aux/lcov-inject | 2 +- run-script => build-aux/run-script | 2 +- configure.ac | 5 +++-- debian/rules | 2 +- lib/dpkg/t/Makefile.am | 2 +- m4/dpkg-arch.m4 | 2 +- m4/dpkg-build.m4 | 2 +- scripts/Makefile.am | 2 +- src/Makefile.am | 2 +- t/shellcheck.t | 4 ++-- utils/Makefile.am | 2 +- 16 files changed, 21 insertions(+), 20 deletions(-) commit f28cbcc4ed9e1406584962403f45016b403044c3 Author: Guillem Jover Date: Tue Dec 7 14:18:21 2021 +0100 build: Terminate lists in variables with «# EOL» This means we can add a trailing «\» to every element, so that they can be removed without requiring modification of other lines, and can be easily sorted. Replace the old usage of $(nil) which could possibly end up with junk added if such variable is ever defined, in the environment. Makefile.am | 20 +++++++++++--------- debian/rules | 2 +- dpkg-deb/Makefile.am | 9 ++++++--- dpkg-split/Makefile.am | 9 ++++++--- dselect/Makefile.am | 14 +++++++++----- dselect/methods/Makefile.am | 16 ++++++++++------ lib/Makefile.am | 3 ++- lib/compat/Makefile.am | 19 ++++++++++++++----- lib/dpkg/Makefile.am | 29 ++++++++++++++++++++--------- lib/dpkg/t/Makefile.am | 20 ++++++++++++-------- man/Makefile.am | 40 +++++++++++++++++++++++++++------------- scripts/Makefile.am | 33 +++++++++++++++++++++------------ scripts/mk/Makefile.am | 6 ++++-- src/Makefile.am | 34 ++++++++++++++++++++++------------ utils/Makefile.am | 25 +++++++++++++++---------- 15 files changed, 180 insertions(+), 99 deletions(-) commit d9679e94cb384ecf97c0f3850e5fe062d17d8875 Author: Guillem Jover Date: Wed Dec 8 00:08:38 2021 +0100 dpkg-deb: Fix unexpected end of file conditions on .deb extract When the read_line() function finds an unexpected end of file, it returns 0, but the call site was not catching that, which let further processing of the buffer, containing garbage. Warned-by: coverity Stable-Candidate: 1.20.x dpkg-deb/extract.c | 4 ++-- t-func/deb-format.at | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) commit 40de82bf20b083eb1ce17a084a1b77e53b0af977 Author: Guillem Jover Date: Tue Dec 7 22:41:39 2021 +0100 libdpkg: Check that cip is not NULL before dereferencing it While no current caller passes a NULL cip argument, this still trips over code analyzers, and it is safer to check in case of future uses. Warned-by: coverity Changelog: internal lib/dpkg/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 29f3a8dafd07191bb132c471e4a44379553384d4 Author: Guillem Jover Date: Tue Dec 7 22:37:59 2021 +0100 dpkg: Fix memory leak in remove-on-upgrade handling Fixes: commit 20e181fc2030385488e3db2d4cc3ce4114f0a498 Warned-by: coverity Stable-Candidate: 1.20.x src/unpack.c | 1 + 1 file changed, 1 insertion(+) commit 44dd034ce3364b889da41f109f6a472e7ca34553 Author: Guillem Jover Date: Tue Dec 7 22:14:04 2021 +0100 Bump version to 1.21.2 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 9b52f8fa74571049d868cb2af0643ee7f89a6151 Author: Guillem Jover Date: Mon Dec 6 21:04:33 2021 +0100 Release 1.21.1 debian/changelog | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit 41c44b5d2c481bfadc0b4c7c28dffbef4d9041c2 Author: Guillem Jover Date: Mon Dec 6 21:04:16 2021 +0100 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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 83 files changed, 87 insertions(+), 87 deletions(-) commit 7affaaf17e60a625936438abc6c410c1692cf7af Author: Guillem Jover Date: Mon Dec 6 21:02:46 2021 +0100 build: Ship the new dpkg postinst maintscript Fixes: commit 270ccd99a8adfb0fd7dcaf205d2681bddb3affba Changelog: silent Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 270ccd99a8adfb0fd7dcaf205d2681bddb3affba Author: Guillem Jover Date: Mon Dec 6 20:00:49 2021 +0100 u-a: When initializing admindir from DPKG_ADMINDIR append "/alternatives" When u-a is being run from within a maintscript, the DPKG_ADMINDIR environment variable will contain the admindir for dpkg, which does not include the "/alternatives" part, which we need to append ourselves, otherwise we end up writing alternative state files into the base dpkg database directory. This also meant that strange warnings being printed about the state having changed, as no state was found in the wrong directory. Add a postinst maintscript to dpkg, to go over the dpkg database directory entries, ignore the known ones, and move the ones that look like an alternative state file back into the alternatives state directory. This is going to be a short-lived fixup. Closes: #1001198 debian/dpkg.postinst | 61 +++++++++++++++++++++++++++++++++++++++++++++ utils/update-alternatives.c | 2 +- 2 files changed, 62 insertions(+), 1 deletion(-) commit 5c9bfddc1794690dff7f8c8c6086a017da0da599 Author: Guillem Jover Date: Mon Dec 6 13:35:39 2021 +0100 dpkg-buildpackage: Fix build description due to improper multiline match The string passed is a multiline, so we need to use take that into account when matching regexes anchored at the end of line. Warned-by: devscripts test-suite Fixes: commit 5fbe26662ee96b1005fde6ee1f32e694594ec1a9 scripts/dpkg-buildpackage.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6bf2e1faed798084ac8134f057ea68e61c7a4e32 Author: Guillem Jover Date: Mon Dec 6 13:35:15 2021 +0100 dpkg-realpath: Remove spurious heading space from --help output scripts/dpkg-realpath.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit b996c9f310344eb3ff92b7e94c2629b83212cb42 Author: Guillem Jover Date: Sun Feb 14 23:47:33 2021 +0100 Remove inclusions We do not depend on the system headers anymore. Changelog: internal dpkg-deb/extract.c | 1 - dpkg-split/info.c | 1 - lib/dpkg/ar.h | 1 - 3 files changed, 3 deletions(-) commit 054f43f3c67e6a61ea4cdd9b07b0f064325a7402 Author: Guillem Jover Date: Sun Dec 5 23:16:56 2021 +0100 debian: Install deb-md5sums(5) into dpkg-dev package Fixes: commit 9e15d7c807ed47d3d6db4589875aae25d47c93a6 debian/dpkg-dev.manpages | 1 + 1 file changed, 1 insertion(+) commit 7363f21049329a6657eb2b2862ec9543144408ca Author: Guillem Jover Date: Sun Dec 5 19:20:45 2021 +0100 dpkg-buildpackage: Remove duplicate command print for dpkg-genchanges We switched the call to dpkg-genchanges from an ad-hoc pipe to use run_cmd() which does a printcmd() internally, which now duplicates the one before the call site. Fixes: commit 4849115fe07261c8410d292f719586ec3abad5f9 scripts/dpkg-buildpackage.pl | 2 -- 1 file changed, 2 deletions(-) commit 72bfc489d9ae37ae07f6ffecfb54d2b682b6e521 Author: Guillem Jover Date: Sun Dec 5 19:04:25 2021 +0100 Bump version to 1.21.1 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 1f4238aba8850f83280ca88e14c7b48ee7e07d7e Author: Guillem Jover Date: Sun Dec 5 16:38:15 2021 +0100 Release 1.21.0 debian/changelog | 222 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 219 insertions(+), 3 deletions(-) commit 603bba19ced942a53ff6648f29fd2749ac160a6d Author: Guillem Jover Date: Sun Dec 5 16:32:45 2021 +0100 po: Regenerate .pot files and merge .po files with them dselect/po/bs.po | 3 +- dselect/po/ca.po | 13 +- dselect/po/cs.po | 13 +- dselect/po/da.po | 3 +- dselect/po/de.po | 2 +- dselect/po/dselect.pot | 5 +- dselect/po/el.po | 3 +- dselect/po/es.po | 13 +- dselect/po/et.po | 3 +- dselect/po/eu.po | 3 +- dselect/po/fr.po | 13 +- dselect/po/gl.po | 3 +- dselect/po/hu.po | 3 +- dselect/po/id.po | 3 +- dselect/po/it.po | 3 +- dselect/po/ja.po | 13 +- dselect/po/ko.po | 3 +- dselect/po/nb.po | 3 +- dselect/po/nl.po | 13 +- dselect/po/nn.po | 3 +- dselect/po/pl.po | 3 +- dselect/po/pt.po | 3 +- dselect/po/pt_BR.po | 3 +- dselect/po/ro.po | 3 +- dselect/po/ru.po | 3 +- dselect/po/sk.po | 3 +- dselect/po/sv.po | 3 +- dselect/po/tl.po | 3 +- dselect/po/vi.po | 3 +- dselect/po/zh_CN.po | 3 +- dselect/po/zh_TW.po | 3 +- man/po/dpkg-man.pot | 617 +++++++++++++++++++++++++++++----- man/po/es.po | 751 +++++++++++++++++++++++++++++++++++------ man/po/fr.po | 819 +++++++++++++++++++++++++++++++++++++++------ man/po/hu.po | 639 ++++++++++++++++++++++++++++++----- man/po/it.po | 786 +++++++++++++++++++++++++++++++++++-------- man/po/ja.po | 749 +++++++++++++++++++++++++++++++++++------ man/po/nl.po | 864 ++++++++++++++++++++++++++++++++++++++++++------ man/po/pl.po | 753 +++++++++++++++++++++++++++++++++++------ man/po/pt.po | 863 +++++++++++++++++++++++++++++++++++++++++------ man/po/pt_BR.po | 648 +++++++++++++++++++++++++++++++----- man/po/ru.po | 648 +++++++++++++++++++++++++++++++----- man/po/sv.po | 808 +++++++++++++++++++++++++++++++++++++------- man/po/zh_CN.po | 675 +++++++++++++++++++++++++++++++------ po/ast.po | 306 +++++++++++------ po/bs.po | 228 ++++++++----- po/ca.po | 409 ++++++++++++++++------- po/cs.po | 360 +++++++++++++------- po/da.po | 370 ++++++++++++++------- po/de.po | 52 +-- po/dpkg.pot | 192 +++++++---- po/dz.po | 267 +++++++++------ po/el.po | 280 ++++++++++------ po/eo.po | 367 +++++++++++++------- po/es.po | 362 +++++++++++++------- po/et.po | 247 +++++++++----- po/eu.po | 366 +++++++++++++------- po/fr.po | 360 +++++++++++++------- po/gl.po | 275 +++++++++------ po/hu.po | 269 +++++++++------ po/id.po | 309 +++++++++++------ po/it.po | 361 +++++++++++++------- po/ja.po | 363 ++++++++++++++------ po/km.po | 266 +++++++++------ po/ko.po | 308 +++++++++++------ po/ku.po | 217 +++++++----- po/lt.po | 256 ++++++++------ po/mr.po | 267 +++++++++------ po/nb.po | 309 +++++++++++------ po/ne.po | 264 ++++++++++----- po/nl.po | 437 ++++++++++++++++++------ po/nn.po | 236 ++++++++----- po/oc.po | 263 ++++++++++----- po/pa.po | 245 +++++++++----- po/pl.po | 420 ++++++++++++++++------- po/pt.po | 400 +++++++++++++++------- po/pt_BR.po | 274 +++++++++------ po/ro.po | 312 +++++++++++------ po/ru.po | 368 ++++++++++++++------- po/sk.po | 347 ++++++++++++------- po/sv.po | 367 +++++++++++++------- po/th.po | 367 +++++++++++++------- po/tl.po | 245 +++++++++----- po/tr.po | 367 ++++++++++++++------ po/vi.po | 365 +++++++++++++------- po/zh_CN.po | 397 +++++++++++++++------- po/zh_TW.po | 351 ++++++++++++++------ scripts/po/ca.po | 98 +++++- scripts/po/de.po | 2 +- scripts/po/dpkg-dev.pot | 58 +++- scripts/po/es.po | 94 +++++- scripts/po/fr.po | 99 +++++- scripts/po/pl.po | 98 +++++- scripts/po/ru.po | 94 +++++- scripts/po/sv.po | 99 +++++- 95 files changed, 18030 insertions(+), 5777 deletions(-) commit cb86d6e601b70789ec0c4e2040d810eb1b0cdf2a Author: Guillem Jover Date: Sun Dec 5 16:28:48 2021 +0100 build: Add support for commit message fix up machinery in gen-changelog This will make it possible to fix up commit message via substitution rules in Changelog fields, added post-hoc via «git notes». gen-changelog | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 96e6e87b733ce851301dddf8e1ce729b2af34a6f Author: Guillem Jover Date: Sun Dec 5 16:28:19 2021 +0100 build: Fix typo in gen-changelog field to name mapping Changelog: silent gen-changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d6009913d220ee0ec048b57773df5f5510b33407 Author: Guillem Jover Date: Sun Dec 5 16:27:49 2021 +0100 test: Update codespell stopwords t/codespell/stopwords | 2 ++ 1 file changed, 2 insertions(+) commit 77903c8c4d1558f91942ccbe8da7fad8a0319389 Author: Helge Kreutzmann Date: Sun Dec 5 06:05:09 2021 +0100 po: Update German scripts translation scripts/po/de.po | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 34bb85e32d806eaea64277ecc589ab091cd989dd Author: Guillem Jover Date: Fri Nov 26 04:00:12 2021 +0100 dpkg-deb: Fix conffile name length tracking on remove-on-upgrade parsing The code was taking into account a trailing newline, and not updating the length when removing the «remove-on-upgrade» keyword from the parsed line. Reported-by: uau on IRC dpkg-deb/build.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 20e181fc2030385488e3db2d4cc3ce4114f0a498 Author: Guillem Jover Date: Sun Oct 3 23:55:04 2021 +0200 dpkg: Fix conffile removal-on-upgrade handling We need to check for file conflicts during conffile removal, otherwise we might end up removing files from any other packages that has started owning them since we targeted the pathname for removal. We remove the conffiles during upgrade, as configure is a local action that does not load all file lists files, so we cannot check for file conflicts. Closes: #995387 Stable-Candidate: 1.20.x src/configure.c | 38 +-------- src/unpack.c | 97 +++++++++++++++++++++- tests/t-conffile-declarative-removal/.gitignore | 1 + tests/t-conffile-declarative-removal/Makefile | 62 ++++++++++++-- .../pkg-conffile-owns-filename/DEBIAN/conffiles | 1 + .../pkg-conffile-owns-filename/DEBIAN/control | 7 ++ .../test-dir/test-conffile-to-be-removed | 0 .../pkg-conffile-owns-symlink/DEBIAN/conffiles | 1 + .../pkg-conffile-owns-symlink/DEBIAN/control | 7 ++ .../test-dir/test-conffile-owned | 0 10 files changed, 171 insertions(+), 43 deletions(-) commit 4ca5e174e43cc784f6b3ea7d2cb7b46fff6d7212 Author: Guillem Jover Date: Mon Nov 29 00:38:01 2021 +0100 dpkg: Fix short lived memory leak with --recursive Warned-by: gcc ASAN src/archives.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit bb7a54bfb4ccadf025b5ecec79fcf0ecdd80be12 Author: Guillem Jover Date: Sun Nov 28 23:58:19 2021 +0100 libdpkg: Fix memory leak on End Of Tape condition in tar parser When we are at the End Of Tape entry, the checksum verification will fail, set an error, and return, we then detect that condition and reset the status code, but were not freeing the error. Warned-by: gcc ASAN lib/dpkg/tarfn.c | 4 ++++ 1 file changed, 4 insertions(+) commit fe3231220e6c4962cc9a5164cbbb6e7fa474e256 Author: Guillem Jover Date: Thu Nov 25 00:15:36 2021 +0100 Dpkg::Source::Package::V2: Add hint about version matching source tree When the source tree has been updated from a newer upstream release, but the version in debian/changelog has not been updated to match, dpkg-source will fail with what might seem like a cryptic error. Add a hint to help the unsuspecting users. Closes: #996044 Based-on-patch-by: Samuel Henrique Signed-off-by: Guillem Jover scripts/Dpkg/Source/Package/V2.pm | 2 ++ 1 file changed, 2 insertions(+) commit 831efece4d68afd1d02bc13391249a5a16fbc65b Author: Guillem Jover Date: Wed Nov 24 23:48:06 2021 +0100 Dpkg::Vendor::Ubuntu: Update Maintainer field logic to include “canonical” Some Ubuntu maintainers use addresses with @canonical.com, handle those too in the check. Closes: #1000557 Based-on-patch-by: William 'jawn-smith' Wilson Signed-off-by: Guillem Jover scripts/Dpkg/Vendor/Ubuntu.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0cdcc2b626c2679020bec2bb1baada04025f74e9 Author: Guillem Jover Date: Sat Dec 4 12:33:06 2021 +0100 build: Quote variables containing pathnames Notes: Changelog: s/\.$/ in m4 files./ m4/dpkg-arch.m4 | 2 +- m4/dpkg-build.m4 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 99ea1e913c8aed2556cc566ccd26ca6228abcc6a Author: Guillem Jover Date: Sat Dec 4 12:32:00 2021 +0100 build: Execute run-script via CONFIG_SHELL When the system /bin/sh is not adequate, and configure has either detected or been instructed to use a different shell, we should honor that and use the same. Reported-by: Larkin Nickle m4/dpkg-arch.m4 | 2 +- m4/dpkg-build.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit a531f52db3dcd2a5b79187eb78336f84e8c7e96a Author: Guillem Jover Date: Sun Dec 5 01:58:34 2021 +0100 build: Fix «git ls-tree» invocation Pass -r and HEAD. Fixes: commit 6c6efa41e9d6754d3bd9c1b55f4e94544f436b12 Changelog: silent Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ce6f8949acbf2e9c234d93452acd193e255c7764 Author: Guillem Jover Date: Sun Nov 28 23:56:36 2021 +0100 debian: Bump Standards-Version to 4.6.0 (no changes needed) debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6351156ee230d1e7f87c6279d379dbde011b5954 Author: Guillem Jover Date: Thu Dec 2 05:03:03 2021 +0100 debian: Create auotpkgtest installation directory We need to create the root directory, as the dpkg code assumes that already exists. Fixes: commit 4bdff3fdec0312c09d12829e9887f719743f846b debian/tests/test-func | 1 + 1 file changed, 1 insertion(+) commit fcce8d7e5de54b05fcbd4cbfdebec3131a6fbe76 Author: Guillem Jover Date: Thu Dec 2 05:20:48 2021 +0100 test: For symlinks to directories consider the targets regular files Fixes: commit bb45176b9321eca536346fa6b0f4c641718c022f Fixes: commit 55b3e917344edc19610e83c14913ed86bf02d643 Changelog: silent tests/t-filtering/Makefile | 2 +- tests/t-switch-dir-to-symlink-abs/Makefile | 6 +++--- tests/t-switch-dir-to-symlink-rel/Makefile | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) commit 13fdd0c0682aa09129998837d9135db2f53afb01 Author: Sven Joachim Date: Wed Nov 24 18:11:00 2021 +0100 po: Update German programs translation Update to 1173t. po/de.po | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) commit 3930f0cce2fd8ac37c07c7be316b9fed55f3132e Author: Helge Kreutzmann Date: Wed Nov 24 17:47:21 2021 +0100 po: Update German man pages translation man/po/de.add | 2 +- man/po/de.po | 63 ++++++++++++++++++++++++++++++++++++++--------------------- 2 files changed, 42 insertions(+), 23 deletions(-) commit ea5baaaaabd1318cf9377eae59ccce71dd4ce7b7 Author: Guillem Jover Date: Wed Nov 24 02:35:20 2021 +0100 man: Improve --verify mode check documentation in dpkg(1) Reword and give more detail to clarify the heuristic used for the check, and that it will currently never succeed. Prompted-by: Helge Kreutzmann Prompted-by: Julian Andres Klode Changelog: silent man/dpkg.pod | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit ecbd9f1b1f248fb5be182b3a78bc613591dba865 Author: Guillem Jover Date: Tue Nov 23 02:26:50 2021 +0100 Dpkg::Shlibs::Objdump: Fix apply_relocations to work with versioned symbols Since binutils 2.26 (commit bb4d2ac2cc637c61232624d9d359b8d3f031e3e9) versioned symbols in copy relocations are output as «symbol@@version» when they are in an undefined section (otherwise they use «@»). We were not taking this into account which meant these did not match and did not get marked as undefined, and got ignored for symbol dependency calculation. Try both the version qualified symbol and the bare symbol name to cope with old and new formats. Known to be affected are at least any-amd64, hppa and m68k architectures. Closes: #1000421 Notes: Stable-Candidate: 1.20.x scripts/Dpkg/Shlibs/Objdump.pm | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) commit 530d8f1d891f7b73091f72be79c873da8cfe8ae3 Author: Helge Kreutzmann Date: Tue Nov 23 18:30:54 2021 +0100 po: Update German man pages translation man/po/de.po | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 63 insertions(+), 11 deletions(-) commit 005a8dd211ae70f6af7e2ab25d6ef5ad5c6ffdd6 Author: Guillem Jover Date: Tue Nov 23 12:23:04 2021 +0100 Dpkg::Control::FieldsCore: Fix types allowed for field_parse_binary_source() The .changes and .buildinfo files also include the field with an optionally appended version. Fixes: commit 15a70e502505b3001670a7fe9ff6073289b9d416 Reported-by: Johannes Schauer Marin Rodrigues scripts/Dpkg/Control/FieldsCore.pm | 4 ++++ 1 file changed, 4 insertions(+) commit d08166d00d7161632ce6a6bd050842b1b4878308 Author: Ville Skyttä Date: Sat Nov 13 10:33:51 2021 +0200 dselect: use `grep -E` instead of `egrep` `egrep` has been deprecated in GNU grep since 2007, and in current post 3.7 Git it has been made to emit obsolescence warnings: https://git.savannah.gnu.org/cgit/grep.git/commit/?id=a9515624709865d480e3142fd959bccd1c9372d1 Closes: #999600 Signed-off-by: Guillem Jover dselect/methods/multicd/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8f9c41d2373682f54ab258fd90ef853108926d0a Author: Guillem Jover Date: Tue Nov 23 13:09:10 2021 +0100 Use «digest» instead of «hash» in output messages We have progressively been switching from «hash» to «digest» for a while now, as that disambiguates these being message digests, instead of hash tables. The code still needs function names, variables and comments updates, but at least now the output should be all consistent with the new naming. Reported-by: Sven Joachim dpkg-split/split.c | 2 +- lib/dpkg/db-fsys-digest.c | 2 +- src/archives.c | 16 ++++++++-------- src/configure.c | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) commit b35266275961ffddb3c321b8d91d07f49401874d Author: Helge Kreutzmann Date: Mon Nov 22 20:57:09 2021 +0100 po: Update German man pages translation man/po/de.po | 368 +++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 295 insertions(+), 73 deletions(-) commit ef3438a6a232ac1705d75c350b67baaadbe64123 Author: Helge Kreutzmann Date: Mon Nov 22 20:50:37 2021 +0100 po: Update German scripts translation scripts/po/de.po | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) commit 29f7a4c1b13b1a11205483286f8715604fb07dcb Author: Sven Joachim Date: Mon Nov 22 18:29:50 2021 +0100 po: Update German programs translation Update to 1174t. po/de.po | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit f3454ecc7b626cfd47ef6aaf4a8cd4cb29e2a336 Author: Guillem Jover Date: Sat Nov 20 12:13:05 2021 +0100 dpkg: Add partial --verify support for mode checks We can infer that a pathname must be a regular file if we know about its digest. In that case mark it as a failure if it is any other file type. man/dpkg.pod | 8 +++++++- src/verify.c | 9 +++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) commit 2549307d785cc33de6568daa71412dc7de453d00 Author: Guillem Jover Date: Mon Sep 6 05:17:03 2021 +0200 dpkg: Fix --verify to handle missing or inaccessible pathnames When a pathname does not exist or we do not have permissions to access it, on the rpm format print "missing" and append an error message between parenthesis in case the file is present on the filesystem but some other error disallowed getting information from it. Closes: #872146 Notes: Changelog: s/#872146/#963087/ man/dpkg.pod | 10 ++++++- src/verify.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++++------------ 2 files changed, 84 insertions(+), 19 deletions(-) commit 1978be34f24b569570a4ee06c24da4d3055a9f16 Author: Guillem Jover Date: Fri Sep 17 03:57:38 2021 +0200 man: Improve dpkg --verify-format rpm format documentation Print a general format line, then list each character meaning as a list for easier recognition. man/dpkg.pod | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 53 insertions(+), 8 deletions(-) commit 15a70e502505b3001670a7fe9ff6073289b9d416 Author: Guillem Jover Date: Mon Jan 25 05:33:10 2021 +0100 Dpkg::Control::FieldsCore: Add new field_parse_binary_source() This function parses the Source field from binary package control stanzas. Closes: #980527 scripts/Dpkg/Control/FieldsCore.pm | 49 +++++++++++++++++++++++++++++++++++++- scripts/t/Dpkg_Control_Fields.t | 26 +++++++++++++++++++- 2 files changed, 73 insertions(+), 2 deletions(-) commit 127a183fd1aa7b40efbfd1630759593948708224 Author: Guillem Jover Date: Sun Nov 21 17:38:55 2021 +0100 test: Refactor parse_ctrl() from parse_dsc() scripts/t/Dpkg_Control.t | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) commit dc331434e80a401418f7b0d9c482866c05440613 Author: Guillem Jover Date: Fri May 28 03:55:25 2021 +0200 man: Add a reference to where the Installed-Size algorithm is described man/deb-control.pod | 1 + 1 file changed, 1 insertion(+) commit 52875a3198334eb1e184288c78df4d929c69b7da Author: Guillem Jover Date: Tue May 18 11:46:29 2021 +0200 doc: Improve description of dpkg suite Describe the dpkg suite in the developer oriented README without giving the impression that dselect is a preferred user interface, and mention both apt and aptitude in the dpkg(1) man page. Prompted-by: Fabrice Bauzac-Stehly README | 16 +++++++++++++--- man/dpkg.pod | 9 ++++++--- 2 files changed, 19 insertions(+), 6 deletions(-) commit ae53f35a8b5f7d3ce1d71a1ad7bfe8126f267651 Author: Sven Joachim Date: Sun Nov 21 18:39:37 2021 +0100 po: Update German programs translation Update to 1173t. po/de.po | 239 +++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 156 insertions(+), 83 deletions(-) commit 2ee480493b6ef05b6377511ce4da36c40bb12c2d Author: Guillem Jover Date: Wed Sep 29 02:00:03 2021 +0200 build: Use title-case for field in gen-changelog gen-changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 945f6d49b613c311ccc1fbceda639771acf28618 Author: Guillem Jover Date: Wed Sep 29 02:00:03 2021 +0200 build: Use new Dpkg::Control keep_duplicate option This way we can handle multiple fields with the same name but different value. Notes: Changelog: s/\.$/ in gen-changelog./ gen-changelog | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit e0d5c2a37cb58a96697d83dd9d505b08a54e0c7c Author: Guillem Jover Date: Wed Sep 29 02:08:55 2021 +0200 Dpkg::Control::HashCore: Add new keep_duplicate option This new option makes it possible to store duplicate field values as an array reference. scripts/Dpkg/Control/HashCore.pm | 36 +++++++++++++++++++++++++++++++----- 1 file changed, 31 insertions(+), 5 deletions(-) commit 38095fa33420e32a089bbd4ddf8de58bb9d37298 Author: Guillem Jover Date: Sat Sep 11 12:36:42 2021 +0200 Dpkg::Shlibs::Symbol: Emit a warning on fully qualified symver patterns When using the symver tag, we cannot use fully qualified patterns that include a version tag and a symbol name, or the entry will not match. This should ideally be an error, but that would produce build failures for entries that might not currently be relevant for a build. Emit a warning for now which can be promoted later on as an error. Closes: #993991 scripts/Dpkg/Shlibs/Symbol.pm | 4 ++++ 1 file changed, 4 insertions(+) commit ffe82bb942a80a9a10e0bc571489b9ab123cea5a Author: Guillem Jover Date: Tue Nov 9 05:04:45 2021 +0100 Dpkg::Changelog::Entry::Debian: Fix full month misuse warning The hash only had the key but not the value, which meant the next key acted as the value, missing half the full months. scripts/Dpkg/Changelog/Entry/Debian.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit d9af47e56aa803dc8be0e834ec55cc1f00989fc1 Author: Guillem Jover Date: Sat Nov 20 01:16:26 2021 +0100 dselect: Remove bashism from update script in multicd method Warned-by: lintian dselect/methods/multicd/update.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit f5749460aac806e286d7fbb4dc90ebcb2908600b Author: Guillem Jover Date: Mon Sep 6 04:49:25 2021 +0200 dselect: Use safe temporary file creation in methods setup Use mktemp(1) instead of hardcoding a pathname under /run or /tmp, and then using the PID to try to "randomize" its filename. dselect/methods/disk/setup.sh | 2 +- dselect/methods/multicd/setup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 97a7f65a22943e2efd56e589c64030eaff288233 Author: Guillem Jover Date: Thu Oct 21 16:23:29 2021 +0200 dpkg: Restore fallback to "new-prerm failed-upgrade" for downgrades This reverts commit 9d3ec0f5a727d439c3cbc8885bcbc78f7a34dd0b. The change does not make much sense, as there are cases where the old version does not need to have knowledge of the future problem to be able to recover, when just not having the problematic code might be enough for a correct installation. This also removes this unexpected special-case keyed on the version that is a completely anomalous compared with the rest of the maintscritpts handling. Analysis-by: Ian Jackson Closes: #996959 src/unpack.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) commit 4451627cbc2c6b5af42c55aea22d2bcd709a5d74 Author: Guillem Jover Date: Thu Sep 2 05:54:48 2021 +0200 dpkg-mergechangelogs: Add new --merge-unreleased option Closes: #582921 man/dpkg-mergechangelogs.pod | 11 ++++++ scripts/Makefile.am | 5 +++ scripts/dpkg-mergechangelogs.pl | 43 ++++++++++++++-------- scripts/t/merge_changelogs.t | 10 ++++- scripts/t/merge_changelogs/ch-unreleased-a | 12 ++++++ scripts/t/merge_changelogs/ch-unreleased-b | 12 ++++++ scripts/t/merge_changelogs/ch-unreleased-merged | 24 ++++++++++++ .../t/merge_changelogs/ch-unreleased-merged-basic | 25 +++++++++++++ scripts/t/merge_changelogs/ch-unreleased-old | 5 +++ 9 files changed, 131 insertions(+), 16 deletions(-) commit 9f007edd106727456f54137d8c31ea49ed330f6b Author: Guillem Jover Date: Wed Nov 3 03:36:25 2021 +0100 dpkg-buildpackage: Add support for terse DEB_BUILD_OPTIONS Pass «-s» to make via MAKEFLAGS. scripts/Dpkg/BuildOptions.pm | 2 +- scripts/dpkg-buildpackage.pl | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) commit 1799c137bcf4348e04c92edcc481dffc16f74c8c Author: Guillem Jover Date: Mon Sep 6 04:54:02 2021 +0200 build: Switch from hardcoded /run to parametrized runstatedir debian/rules | 1 + man/Makefile.am | 1 + man/start-stop-daemon.pod | 6 +++--- utils/Makefile.am | 1 + utils/start-stop-daemon.c | 4 ++-- 5 files changed, 8 insertions(+), 5 deletions(-) commit 631f0e6c575495d76f5219f6af9677612788fb08 Author: Guillem Jover Date: Tue Jan 20 21:45:54 2015 +0100 build: Rename shell scripts to .sh dselect/methods/Makefile.am | 30 +++++++++++++++++-------- dselect/methods/disk/.gitignore | 3 +++ dselect/methods/disk/{install => install.sh} | 0 dselect/methods/disk/{setup => setup.sh} | 0 dselect/methods/disk/{update => update.sh} | 0 dselect/methods/multicd/.gitignore | 3 +++ dselect/methods/multicd/{install => install.sh} | 0 dselect/methods/multicd/{setup => setup.sh} | 0 dselect/methods/multicd/{update => update.sh} | 0 t/shellcheck.t | 12 +++++----- 10 files changed, 33 insertions(+), 15 deletions(-) commit 641616c2924386f6f189a9f2459fa9429ac75074 Author: Guillem Jover Date: Sun Sep 26 20:46:56 2021 +0200 test: Remove superfluous long filename This file is not used during the tests, and it is getting in the way as it makes resulting pathnames too long to be stored in ustar tar format. .../pkg-somefiles/test/share/doc/pkg-somefiles/html/topic1/1.html | 0 1 file changed, 0 insertions(+), 0 deletions(-) commit 6c6efa41e9d6754d3bd9c1b55f4e94544f436b12 Author: Guillem Jover Date: Mon Sep 27 03:24:43 2021 +0200 build: Add a check for symlinks in the git repository We generate dist tarballs with automake, which tells tar to dereference symlinks. Check whether there is any symlink in the repository that will degrade to a file and abort the tarball dist generation. We ignore origins/default as even as a regular file, it works fine, and it's less trouble to maintain for now. Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 9d4ff697d19e98f4acf5277902e7717bd8f70bbc Author: Guillem Jover Date: Mon Sep 27 02:24:32 2021 +0200 test: Generate symlink during test build time We should not store symlinks in git, as these will not end up in the distribution tarball, given that automake passes «-h» to tar to dereference symlinks during packing. tests/t-unpack-symlink/.gitignore | 1 + tests/t-unpack-symlink/Makefile | 10 +++++++++- tests/t-unpack-symlink/pkg-symlink/test-symlink | 1 - 3 files changed, 10 insertions(+), 2 deletions(-) commit bb45176b9321eca536346fa6b0f4c641718c022f Author: Guillem Jover Date: Thu Sep 2 04:04:04 2021 +0200 test: Add re-inclusion of symlink case to t-filtering Ref: #871420 tests/t-filtering/.gitignore | 1 + tests/t-filtering/Makefile | 19 ++++++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) commit 8014189a3e4093e6ab6de8cd3e7337afafe4ca68 Author: Guillem Jover Date: Tue Nov 9 05:02:28 2021 +0100 scripts: Replace shebang in dpkg-error shell library with shellcheck directive We need to tell shellcheck what shell dialect the script is written in, but using a shebang trips other linters in considering it an actual program to run which requires executable bits. Warned-by: lintian scripts/sh/dpkg-error.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b4422f9db3533156560e0b4be592e854491b40e3 Author: Guillem Jover Date: Fri Nov 19 23:45:29 2021 +0100 dpkg-query(1): Document full --search and --listfiles output format We need to mention the diversions output too and that it is localized, so that the output does not give surprises when being parsed. Prompted-by: Johannes Schauer Marin Rodrigues Notes: Changelog: s/dpkg-query\(1\): Document/man: Document in dpkg-query(1)/ man/dpkg-query.pod | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit 0a43ee228c7c42ab1f43debbbfda0195f9e24f3b Author: Guillem Jover Date: Thu Oct 7 05:41:59 2021 +0200 dpkg-architecture(1): Document target being useful for emulators too Prompted-by: Helmut Grohne Notes: Changelog: s/dpkg-architecture\(1\): Document/man: Document in dpkg-architecture(1)/ man/dpkg-architecture.pod | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 3c7ac96f59446979557f3bc335df5229f9762aeb Author: Guillem Jover Date: Tue Oct 5 16:43:37 2021 +0200 deb-substvars(5): Document what ${} is good for This can be used as an escape sequence to inject literal «${VARIABLE}» into the resulting text as «${}{VARIABLE}», otherwise the recursive handling would replace any embedded character even if indirectly so. Prompted-by: Paul Wise Notes: Changelog: s/deb-substvars\(5\): Document/man: Document in deb-substvars(5)/ man/deb-substvars.pod | 2 ++ scripts/Dpkg/Control/HashCore.pm | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) commit 3a39c1750b909b0b907a61c6c97e2b746d6871c0 Author: Guillem Jover Date: Mon Sep 27 23:26:38 2021 +0200 doc: Update Doxygen configuration from version 1.9.1 doc/Doxyfile.in | 235 ++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 162 insertions(+), 73 deletions(-) commit afaee98af7da34102472cf117472bbdcd6d707b4 Author: Guillem Jover Date: Sun Nov 21 10:00:22 2021 +0100 u-a: Print defaults for configuration and database pathnames Otherwise it is hard to infer what the current program will be using by default. utils/update-alternatives.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 4e949e76fae7edac2527ec18440458bec40d7ba8 Author: Guillem Jover Date: Sun Nov 21 01:04:38 2021 +0100 u-a: Fix --auto and --set-selections output progress The --set-selections output used to depend on calling itself with different command options, which stopped being the case long time ago. Use the expected info() output with the program prefix, instead of the free-form pr() one, which will also allow quiescing the output with «--quiet». utils/update-alternatives.c | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) commit 8a79ef2f45c3f08b64c513b812e5f5497effdf81 Author: Helge Kreutzmann Date: Sun Nov 21 09:04:24 2021 +0100 po: Update German man pages translation man/po/de.po | 517 ++++++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 410 insertions(+), 107 deletions(-) commit 1d673b62c1c850efc01dc43a335295b05a99c2aa Author: Helge Kreutzmann Date: Sun Nov 21 08:37:24 2021 +0100 deb-md5sums.pod: Fix typo man/deb-md5sums.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9022e79af4e28e2210861198e9baacf2d42ee97d Author: Helge Kreutzmann Date: Sun Nov 21 05:24:44 2021 +0100 po: Update German scripts translation scripts/po/de.po | 68 ++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 54 insertions(+), 14 deletions(-) commit d7aebcb303934a9e65f909f52702ce36554fff6f Author: Guillem Jover Date: Thu Sep 2 03:59:52 2021 +0200 man: Further clarify when re-inclusions of excluded pathnames happen If we have an excluded directory or symlink to directory while there is a subsequent more specific re-inclusion, we do also re-include these objects to avoid unpacking errors. Clarify this in the man page, as it was only mentioned in passing, without going into the details. Closes: #871420 man/dpkg.pod | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 4cc7fdc1951ee48c7ca48949afa7ca3c33284238 Author: Guillem Jover Date: Fri Sep 24 18:20:43 2021 +0200 man: Add versions since features where introduced man/deb-control.pod | 2 ++ man/deb-postrm.pod | 6 ++++++ man/deb-preinst.pod | 4 ++++ man/deb-prerm.pod | 2 ++ man/dsc.pod | 2 ++ 5 files changed, 16 insertions(+) commit 4d734110e051ff7a5501011644112de31ba6de50 Author: Guillem Jover Date: Tue Aug 24 11:18:43 2021 +0200 debian: Add support for a native systemd timer Use the new shared implementation refactored out from the daily cron job. And disable the cron daily job when systemd is running. Closes: #985444 Makefile.am | 2 ++ debian/.gitignore | 1 + debian/dpkg.cron.daily | 5 +++++ debian/dpkg.dpkg-db-backup.service | 7 +++++++ debian/dpkg.dpkg-db-backup.timer | 9 +++++++++ debian/rules | 1 + 6 files changed, 25 insertions(+) commit 6b964e312a3180d0b0ca2d18a7ccaa8559d6ead2 Author: Guillem Jover Date: Thu Aug 26 04:10:13 2021 +0200 debian: Remove unused dh_installcron call for arch-indep targets We only have a cron script in the dpkg package. debian/rules | 1 - 1 file changed, 1 deletion(-) commit 2b460ae42e677ced8ca027c3d6f1a02df73a705d Author: Guillem Jover Date: Fri Aug 27 03:06:19 2021 +0200 build: Parametrize the backups directory with a configure option Instead of hardcoding the value in various places, use the one specified by the configure script. configure.ac | 3 +++ man/Makefile.am | 1 + man/dpkg.pod | 2 +- scripts/Makefile.am | 1 + scripts/dpkg-db-backup.sh | 3 ++- 5 files changed, 8 insertions(+), 2 deletions(-) commit a73d10a26d4a7112ef2956ace0afd34b1f6877e3 Author: Guillem Jover Date: Fri Aug 27 03:05:16 2021 +0200 dpkg-db-backup: Honor the admindir set at configure time Instead of hardcoding the admindir, set it using the value specified by the configure script. scripts/Makefile.am | 1 + scripts/dpkg-db-backup.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit e2f7fc48a0b1d152817c30f7039ae0302fd545b2 Author: Guillem Jover Date: Fri Aug 27 02:59:45 2021 +0200 dpkg-db-backup: Accept an option to override the number of rotation cycles The code was previously in a cron job under /etc, which meant it could be modified by the administrator. Partially restore configurability for something that has a high chance to be in demand of modification. scripts/dpkg-db-backup.sh | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit e9b7a6e0cf8c056cdb39bac99d7b89f9aba869a9 Author: Guillem Jover Date: Thu Aug 26 04:10:51 2021 +0200 dpkg-db-backup: Add a license header comment Changelog: internal scripts/dpkg-db-backup.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 94c40083650228db47edb71135ccc08a1fa2f3ee Author: Guillem Jover Date: Thu Aug 26 04:07:32 2021 +0200 dpkg-db-backup: New program factored out from Debian-specific daily cron This can be useful for other distributions and non-derivative systems that package dpkg. It will also make it possible to add native systemd timers and use a single shared implementation. debian/dpkg.cron.daily | 41 +--------------------- debian/dpkg.install | 1 + scripts/.gitignore | 1 + scripts/Makefile.am | 6 ++++ .../dpkg.cron.daily => scripts/dpkg-db-backup.sh | 0 t/shellcheck.t | 1 + 6 files changed, 10 insertions(+), 40 deletions(-) commit 3f63b92816507d6f6f6b45a37a5829b0bf6d467c Author: Guillem Jover Date: Tue Aug 24 11:12:30 2021 +0200 debian: Use absolute pathnames in .install debhelper fragments Using relative pathnames means we are assuming to be looking them up from within debian/tmp, which can be rather puzzling and non-obvious. Instead make this more explicit by simply using the absolute pathname, which should be supported since debhelper 7 (which knows to fallback to lookup in various directories). debian/dpkg-dev.install | 4 ++-- debian/dpkg.install | 2 +- debian/dselect.install | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit 57d9c13c3cb41c78cc940a919986dd3961e342c5 Author: Guillem Jover Date: Tue Aug 24 11:14:43 2021 +0200 scripts/mk: Pass DEB_BUILD_PATH to dpkg-buildflags We are using that envvar from within the dpkg-buildflags Vendor code, so we need to make sure it is set. Ref: #985553 scripts/mk/buildflags.mk | 1 + 1 file changed, 1 insertion(+) commit 2165119fe4d81207e49a3296d14e1a2cb64b93f1 Author: Guillem Jover Date: Sat Nov 20 23:38:26 2021 +0100 dpkg-fsys-usrunmess: Do not use interpolated strings for literals Fixes: commit cf55e9f07217749dee34125be2bb0407fde75374 Fixes: commit a335ee075be83eb7f69e85644b9ece40bc29a6a5 Notes: Changelog: internal Stable-Candidates: 1.20.x scripts/dpkg-fsys-usrunmess.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f8a7ee7c1934a3d3c5657dff35839ec564fcaed1 Author: Guillem Jover Date: Thu Aug 19 04:47:04 2021 +0200 dpkg: Add a new --assert-help option This shows all relevant information for each assert feature, including its name, version and description. This makes it possible to use a central place and avoids the need to repeat the information in the --help output too, as it is now computed dynamically. man/dpkg.pod | 4 ++++ src/enquiry.c | 12 ++++++++++++ src/main.c | 6 +----- 3 files changed, 17 insertions(+), 5 deletions(-) commit 6eb8e550d09825e600ad765dae5054b472fa6da9 Author: Guillem Jover Date: Thu Aug 19 04:45:47 2021 +0200 dpkg: Improve --assert- descriptions Expand the descriptions a bit to make them more understandable. src/enquiry.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 9013bbd2e5b90515785e339a815898825090ee67 Author: Guillem Jover Date: Thu Aug 19 04:44:09 2021 +0200 dpkg: Refactor --assert- handling to be data driven Instead of requiring a new function for each asserted feature, use a data structure to hold the relevant information. This will also make it possible to add --assert-help support. Changelog: internal src/actions.h | 8 +---- src/enquiry.c | 104 ++++++++++++++++++++++++++++------------------------------ src/main.c | 8 +---- src/main.h | 10 ++---- 4 files changed, 56 insertions(+), 74 deletions(-) commit 82495a46554342054a4e220ecdc928c9c24be092 Author: Guillem Jover Date: Thu Aug 19 04:43:27 2021 +0200 libdpkg: Add new ACTION_MUX macro for continued options Notes: Changelog: internal lib/dpkg/options.c | 2 ++ lib/dpkg/options.h | 2 ++ 2 files changed, 4 insertions(+) commit 958534a795aa08d3ab41eda69fabb9b5747a9ffd Author: Guillem Jover Date: Sun Jun 20 15:29:38 2021 +0200 dpkg: Rework --assert- logic to be more robust The --assert- options have traditionally required an installed dpkg that has at least been configured once for the requested version, as a way to signal that the dpkg that is running during the execution of the check (usually within maintscripts, has a version that satisfies the requirement). This is a problem for installation bootstrapping, as there will be no status file at that point. Instead distinguish the two cases at hand, one for maintscripts, where we check for the running dpkg version (the dpkg driving the current operation), and the other when called in any other context, where the support will be already in place and we can always return true. Prompted-by: Helmut Grohne Prompted-by: David Kalnischkies src/enquiry.c | 50 +++++++++++++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 21 deletions(-) commit f42947d83c58014a53542711c0d179bf4a9bf2a5 Author: Guillem Jover Date: Sat Aug 21 18:41:08 2021 +0200 dpkg-buildpackage: Add new --buildinfo-file option This option is a counter-part to the newly introduced --changes-file, and makes the operation of dpkg-buildpackage more predictable. man/dpkg-buildpackage.pod | 4 ++++ scripts/dpkg-buildpackage.pl | 23 +++++++++++++++++++---- 2 files changed, 23 insertions(+), 4 deletions(-) commit 4849115fe07261c8410d292f719586ec3abad5f9 Author: Guillem Jover Date: Wed Aug 18 06:25:29 2021 +0200 dpkg-buildpackage: Add new --changes-file option If the user tried to override the generated .changes filename by passing the -O option within --changes-option, that would mess up the program, as it expects to be able to find the location of the file at a deterministic place. Prompted-by: Niels Thykier man/dpkg-buildpackage.pod | 4 ++++ scripts/dpkg-buildpackage.pl | 31 +++++++++++++++++++++---------- 2 files changed, 25 insertions(+), 10 deletions(-) commit 0660157a43449bc11af61c07a3494a236f39edf7 Author: Guillem Jover Date: Fri Aug 20 23:46:50 2021 +0200 dpkg: Distinguish deconfiguration message for installation and multi-arch syncs Make the distinction between the two cases explicit, but printing the package we are deconfiguring in-favour of. src/archives.c | 8 +++++--- src/archives.h | 4 +++- src/cleanup.c | 6 ++++-- src/unpack.c | 19 ++++++++++++++----- 4 files changed, 26 insertions(+), 11 deletions(-) commit 8db9a33da60c482fb3f20ce6166a2f426360e5c1 Author: Guillem Jover Date: Mon Feb 22 18:43:42 2021 +0100 dpkg: Split function handling deconfiguration due to install and removal The function was doing pretty much two completely different things, but was unnaturally shoehorned when the triggers code was added and this refactoring possibility was not noticed. Splitting makes the code more clear and easier to understand, and the strings easier to translate. Notes: Changelog: internal src/archives.c | 103 ++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 61 insertions(+), 42 deletions(-) commit 3a7db14e4a881d28fb73b29c126ea6f3ac4d0831 Author: Guillem Jover Date: Fri Aug 20 23:44:00 2021 +0200 Dpkg::Compression: Use gzip --rsyncable unconditionally Upstream gzip merged --rsyncable support in 1.7 (on 2016-04-26). The comment and implementation do not reflect reality any longer and we should be safe to use the option unconditionally on all systems. scripts/Dpkg/Compression.pm | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) commit ce5af1eeb795c6fa8ce122b801930ccd7adc8516 Author: Guillem Jover Date: Sun Jul 18 05:31:49 2021 +0200 Dpkg::BuildFlags: Add support for ASFLAGS This environment variable holds the assembler flags. Ref: https://salsa.debian.org/debian/debhelper/-/merge_requests/50 man/dpkg-buildflags.pod | 4 ++++ scripts/Dpkg/Build/Info.pm | 4 ++-- scripts/Dpkg/BuildFlags.pm | 3 +++ scripts/mk/buildflags.mk | 3 ++- scripts/t/Dpkg_Build_Info.t | 2 +- scripts/t/mk/buildflags.mk | 1 + 6 files changed, 13 insertions(+), 4 deletions(-) commit c7e2c93c60e4fda1ee06110698f6f69e2eb1ffb5 Author: Guillem Jover Date: Sat Nov 20 20:41:45 2021 +0100 dpkg-fsys-usrunmess: Fix typo in debug message Stable-Candidate: 1.20.x scripts/dpkg-fsys-usrunmess.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit abd3a064ef8a9004e7ff2c9e5841e507487130ac Author: Guillem Jover Date: Wed Aug 18 06:28:47 2021 +0200 dpkg-fsys-usrunmess: Generate a regression prevention package Generate a package that Conflicts/Provides/Replaces the package currently known to mess the filesystem into an unsupported state. man/dpkg-fsys-usrunmess.pod | 4 ++++ scripts/dpkg-fsys-usrunmess.pl | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) commit cf55e9f07217749dee34125be2bb0407fde75374 Author: Guillem Jover Date: Sat Nov 20 18:41:35 2021 +0100 dpkg-fsys-usrunmess: Do not fail when removing lingering directories These directories might contain untracked files, if they are not empty, failing the whole script will be worse. Keep track of them, and print a summary at the end of the run. Stable-Candidate: 1.20.x man/dpkg-fsys-usrunmess.pod | 4 ++++ scripts/dpkg-fsys-usrunmess.pl | 17 ++++++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) commit a335ee075be83eb7f69e85644b9ece40bc29a6a5 Author: Guillem Jover Date: Mon Aug 2 02:36:45 2021 +0200 dpkg-fsys-usrunmess: Install a local policy-rc.d to ignore service restarts When in systemd emergency mode, starting (including restarting) services will force exiting the emergency mode, which can leave the system in a pretty bad state. Part of the reason for reconfiguring all packages is to both force any regeneration of missing files, and ideally to possibly restart services so that they use the new real pathnames, but restarting services is the most fragile part and with the most potential to fail for whatever reason, so we will skip restarting services entirely. A reboot after the conversion is strongly advised. Closes: #991190 Stable-Candidate: 1.20.x man/dpkg-fsys-usrunmess.pod | 9 +++++++++ scripts/dpkg-fsys-usrunmess.pl | 46 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) commit 66a9a35873c9789a2d3ae3f1d07c842ca0cb4a5c Author: Guillem Jover Date: Sat Jul 17 20:13:36 2021 +0200 dpkg-fsys-usrunmess: Move forced reconfiguration to the last step Reconfiguring packages has the most potential for unaccounted breakage, it is also the step that will take longer, and it should be the one easier to recover from, by calling «dpkg --pending --configure» at a later time. Move it at the end when we have done the reparation, and performed the cleanup. Ref: #991190 Stable-Candidate: 1.20.x man/dpkg-fsys-usrunmess.pod | 8 ++++---- scripts/dpkg-fsys-usrunmess.pl | 22 +++++++++++----------- 2 files changed, 15 insertions(+), 15 deletions(-) commit 64d92a8c028f717e5b82c78e381306643aa7e6d0 Author: Guillem Jover Date: Sat Nov 20 20:05:05 2021 +0100 test: Remove references to removed db-regen Fixes: commit 4bdff3fdec0312c09d12829e9887f719743f846b Notes: Changelog: silent .gitlab-ci.yml | 1 - debian/tests/test-func | 1 - debian/tests/test-func-root | 1 - 3 files changed, 3 deletions(-) commit bd430d10a3344801681f277395e14d495ca86545 Author: Sven Joachim Date: Sat Nov 20 20:54:14 2021 +0100 po: Update German dselect translation Update to 275t. dselect/po/de.po | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit bc2ec00e26d992b8ac0e95645e43363d99d205a0 Author: Sven Joachim Date: Sat Nov 20 20:52:38 2021 +0100 po: Update German programs translation Update to 1168t. po/de.po | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) commit 60c96ae45bf6c0e21c7b1176e56d546a4a66f818 Author: Guillem Jover Date: Sat Jun 26 23:12:19 2021 +0200 dpkg-query, dpkg-trigger, dselect: Add support for setting the root directory This adds both a --root option, and DPKG_ROOT environment variable support. dselect/main.cc | 14 +++++++++++++- man/dpkg-query.pod | 10 ++++++++++ man/dpkg-trigger.pod | 10 ++++++++++ man/dselect.pod | 10 ++++++++++ src/querycmd.c | 17 ++++++++++++++--- src/trigcmd.c | 13 ++++++++++++- 6 files changed, 69 insertions(+), 5 deletions(-) commit ab4b58088a2427de235b27feae943558887f8e35 Author: Guillem Jover Date: Sun Jun 27 16:01:41 2021 +0200 dselect: Honor DPKG_ADMINDIR environment variable Do not initialize admindir to the default, so that we can take into account any DPKG_ADMINDIR environment variable that might be set. dselect/main.cc | 2 +- man/dselect.pod | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) commit f1fd8021fc6e95f13af55601e773549325b5469c Author: Guillem Jover Date: Sun Jun 27 04:21:58 2021 +0200 dselect: Rename dme() to display_menu_entry() Give the function an obvious name. Changelog: internal dselect/main.cc | 37 +++++++++++++++++++++++++++---------- 1 file changed, 27 insertions(+), 10 deletions(-) commit 3c23f8f541c1e0a8434fea4163565be2fdc385da Author: Guillem Jover Date: Sun Jun 20 15:30:15 2021 +0200 u-a: Fix admindir setting When specifying the --root option, or one of DPKG_ROOT or DPKG_ADMINDIR environment variables, we need to take into account the installation directory as the prefix for the administrative directory, instead of using it also as the actual administrative directory. Prompted-by: Johannes Schauer Marin Rodrigues Stable-Candidate: 1.20.x utils/Makefile.am | 7 +- utils/t/update_alternatives.t | 153 ++++++++++++++++++++++++++++++++++++++++-- utils/update-alternatives.c | 16 ++--- 3 files changed, 163 insertions(+), 13 deletions(-) commit df19d205e23c763e46cdeb59d16a020ad04981a1 Author: Guillem Jover Date: Sat Jun 26 23:07:06 2021 +0200 dpkg-divert, dpkg-statoverride: Set admindir after instdir When initializing the instdir and the admindir, we need to set instdir first, otherwise admindir will not be set relative to instdir in case it needs to be set to its default value. src/divertcmd.c | 2 +- src/statcmd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit b8f9e1c3ce86818d14ccad403e6ad2e6b52e6b12 Author: Guillem Jover Date: Sat Jun 26 23:05:54 2021 +0200 libdpkg: Set the default database directory relative to the system root When we have set the system root directory, and then end up having to set the database directory to its default value, we need to set it relative to that root directory. Stable-Candidate: 1.20.x lib/dpkg/dbdir.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit adf1f65db1ba33e29996d1e2edb8d8d83623a0cc Author: Guillem Jover Date: Fri Jun 25 14:33:05 2021 +0200 dpkg: Switch from including "main.h" to "force.h" The code is not dpkg-command specific and does only require the force function declarations already provided by an independent header file. Changelog: internal src/selinux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3d614bd27196f4a49ac6fe2807f12838162c5594 Author: Guillem Jover Date: Fri Jun 25 14:31:42 2021 +0200 dpkg: Move the command action enum to its own header file Several of the dpkg suite tools use the same enum, so it should be declared in a non-dpkg specific header file. Changelog: internal src/Makefile.am | 3 +++ src/actions.h | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/main.h | 57 +--------------------------------------- src/querycmd.c | 2 +- src/statcmd.c | 2 +- 5 files changed, 87 insertions(+), 58 deletions(-) commit 4479118bca43859d5c6f85dd1f1b6bbc9d57c3f9 Author: Guillem Jover Date: Fri Jun 25 14:27:49 2021 +0200 dpkg: Move SE Linux function declarations into its own header file This is generic functionality to be used by various tools, not just dpkg itself. Changelog: internal src/Makefile.am | 2 ++ src/main.h | 7 +------ src/security-mac.h | 30 ++++++++++++++++++++++++++++++ src/selinux.c | 1 + src/statcmd.c | 1 + 5 files changed, 35 insertions(+), 6 deletions(-) commit f83207850fcbcfc8ea395f27cfb52d90546fb857 Author: Guillem Jover Date: Sun Aug 22 00:55:19 2021 +0200 libdpkg: Fix dpkg_fsys_get_path() to always strip leading / and ./ This function expects to prefix the pathname component with the filesystem root directory, which by default is represented as the empty string. When we pass to it an absolute pathname, we were ending up with duplicate slashes. Strip them before constructing the returned pathname. lib/dpkg/fsys-dir.c | 2 ++ lib/dpkg/t/t-fsys-dir.c | 22 +++++++++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) commit a4dfcc1ef09b9460a65c797bdab696d40b7078b8 Author: Guillem Jover Date: Sun Jun 27 04:14:52 2021 +0200 libdpkg: Add missing DPKG_{BEGIN,END}_DECLS in header files We need those so that the code can be used from non-C, such as C++, for example. Changelog: internal lib/dpkg/db-ctrl.h | 4 ++++ lib/dpkg/db-fsys.h | 4 ++++ lib/dpkg/fsys.h | 4 ++++ lib/dpkg/parsedump.h | 4 ++++ lib/dpkg/perf.h | 4 ++++ lib/dpkg/tarfn.h | 4 ++++ lib/dpkg/test.h | 4 ++++ 7 files changed, 28 insertions(+) commit d7e7c430d1dd1b26666cf8f22989ebc110a4a2cf Author: Guillem Jover Date: Fri Jun 25 04:04:09 2021 +0200 libcompat: Remove local setexecfilecon() and require libselinux 2.3 The needed libselinux version was released in 2014, there's been enough time for people to catch up. Changelog: internal lib/compat/Makefile.am | 10 ------ lib/compat/compat.h | 4 --- lib/compat/selinux.c | 92 -------------------------------------------------- m4/dpkg-libs.m4 | 9 ++--- 4 files changed, 3 insertions(+), 112 deletions(-) commit 2203eff73087af1c03665fc19e7f65c4ac890026 Author: Guillem Jover Date: Sat Nov 20 19:32:12 2021 +0100 dpkg-m-h: Quote variable inside ${} to avoid pattern match Warned-by: shellcheck scripts/dpkg-maintscript-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 26ed540c02012481396930aa18d774a5b9790f69 Author: Guillem Jover Date: Sun Aug 22 13:31:42 2021 +0200 dpkg-m-h: Use xargs -I argument instead of deprecated -i Warned-by: shellcheck scripts/dpkg-maintscript-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4bdff3fdec0312c09d12829e9887f719743f846b Author: Guillem Jover Date: Fri Jun 25 04:16:16 2021 +0200 test: Remove shipped dpkg database We now generate any missing and needed file at run-time, so there is no need to carry these in git anymore. Remove the database regeneration script, now unneeded. Update the documentation and switch to ignore all database files explicitly. tests/README | 2 -- tests/db-regen | 34 ---------------------------------- tests/dpkgdb/.gitignore | 6 ++++++ tests/dpkgdb/available | 0 tests/dpkgdb/diversions | 0 tests/dpkgdb/lock | 0 tests/dpkgdb/lock-frontend | 0 tests/dpkgdb/statoverride | 0 tests/dpkgdb/status | 0 tests/dpkgdb/triggers/.gitignore | 3 +++ tests/dpkgdb/triggers/Lock | 0 tests/dpkgdb/triggers/Unincorp | 0 tests/dpkginst/.gitinore | 1 + 13 files changed, 10 insertions(+), 36 deletions(-) commit 98d1c9c05f6810e6b73e3815b85f889795f30c75 Author: Guillem Jover Date: Sun Aug 22 13:32:07 2021 +0200 test: Ignore new shellcheck checks This new check has started triggering, which we were previously ignoring with a different tag. Warned-by: shellcheck t/shellcheck.t | 1 + 1 file changed, 1 insertion(+) commit 46ad0662e5e99ab9da1f28fd08ea9443b6343088 Author: Guillem Jover Date: Sun Aug 22 13:32:07 2021 +0200 test: Mark external sourced shell files for checking New shellcheck versions emit an error for sourced files that cannot be found. Enable their parsing, and refer the sourced points to the current files in the source tree. Warned-by: shellcheck scripts/dpkg-maintscript-helper.sh | 1 + scripts/dpkg-realpath.sh | 1 + t/shellcheck.t | 1 + 3 files changed, 3 insertions(+) commit bb83d9d9431fbf6134cec216aa0a8877a786e630 Author: Guillem Jover Date: Sun Aug 22 17:13:35 2021 +0200 test: Suppress bogus cppcheck for nullPointerRedundantCheck Warned-by: cppcheck t/cppcheck/cppcheck.supp | 1 + 1 file changed, 1 insertion(+) commit 6c0ca3eb832510f3a6ef04f2a259527b97b1ea0c Author: Guillem Jover Date: Fri Nov 19 23:47:23 2021 +0100 test: Suppress cppcheck constParameter check This is triggering on many parts that might need to be handled later on, but right now produce noise. Warned-by: cppcheck t/cppcheck/cppcheck.supp | 3 +++ 1 file changed, 3 insertions(+) commit 89e1881bca789a07466c4ac73681aabdc90f0601 Author: Guillem Jover Date: Wed Nov 10 01:58:39 2021 +0100 dpkg: Mark deb_parse_conffiles() pkg argument as const Warned-by: cppcheck Changelog: internal src/unpack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a90a4337dcb71e7b2ed45e5d1bd25cd55b4d529a Author: Guillem Jover Date: Wed Nov 10 01:58:01 2021 +0100 dpkg: Mark ignore_depends() pkg argument as const Warned-by: cppcheck Changelog: internal src/help.c | 2 +- src/main.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 913824a3f3be5ed139a59b637925b1a268de05c5 Author: Guillem Jover Date: Wed Nov 10 01:57:18 2021 +0100 libdpkg: Mark treewalk_open() func argument as const Warned-by: cppcheck Notes: Changelog: internal lib/dpkg/treewalk.c | 2 +- lib/dpkg/treewalk.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit b63a259a6193a6721f9040baab2d0d1f851695b8 Author: Guillem Jover Date: Wed Nov 10 01:56:31 2021 +0100 libdpkg: Mark dpkg_arch_unmark() arch_remove argument as const Warned-by: cppcheck Notes: Changelog: internal lib/dpkg/arch.c | 2 +- lib/dpkg/arch.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 5735d94f2862998de7e51612003beede72723a5f Author: Guillem Jover Date: Fri Sep 24 18:30:10 2021 +0200 build: Rename DPKG_DEB_PROG_TAR to DPKG_PROG_TAR This check is generic and the results gets used by several parts of the project, so namespacing it with DPKG_DEB_ is wrong. configure.ac | 2 +- m4/dpkg-progs.m4 | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) commit a49f0a9c93e1fe256573f7007e14e48b146f9443 Author: Guillem Jover Date: Wed Aug 18 06:20:27 2021 +0200 build: Detect appropriate sed program at configure time Use it in the build system consistently. configure.ac | 1 + dselect/methods/Makefile.am | 2 +- m4/dpkg-compiler.m4 | 2 +- m4/dpkg-linker.m4 | 2 +- m4/dpkg-progs.m4 | 2 +- man/Makefile.am | 6 +++--- scripts/Makefile.am | 10 +++++----- scripts/mk/Makefile.am | 2 +- t-func/atlocal.in | 2 ++ t-func/deb-format.at | 12 ++++++------ t-func/local.at | 2 +- 11 files changed, 23 insertions(+), 20 deletions(-) commit e8602363b80b7ae9b67bc855553e9e0a3cd3ace5 Author: Guillem Jover Date: Wed Jul 21 11:14:24 2021 +0200 build: Remove obsolete AC_HEADER_STDC Warned-by: autoconf configure.ac | 1 - 1 file changed, 1 deletion(-) commit add23041c4cc9658610313d71ce30b13b9c8b5f9 Author: Guillem Jover Date: Fri Aug 27 02:53:40 2021 +0200 debian: Fix typo in changelog Changelog: silent debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 854062110fc5609815a991cb6289572157fc2419 Author: Guillem Jover Date: Thu Aug 26 04:47:39 2021 +0200 doc: Sort maintenance information chronologically Unify the style by adding missing years, and adding authorship and maintenance information. AUTHORS | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) commit 7c315e267c776632f79a9e1416a87d4d8be1b50f Author: Guillem Jover Date: Fri Aug 20 23:42:40 2021 +0200 doc: Annotate current maintainer start year Prepare for the inexorable and eventual demise of things. AUTHORS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a7245d86b947635bc9ab96df54d5ef79a22370cc Author: Guillem Jover Date: Fri Aug 20 23:41:47 2021 +0200 doc: Update THANKS file Too long since thanks were recorded, rectify this insolence. THANKS | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) commit b7d66bc4d3a1dfcc0666dfc19b19a6c6f850a5f0 Author: Guillem Jover Date: Fri Jun 25 04:15:00 2021 +0200 doc: Update coding style to document POD instead of troff The man pages switched from troff to POD some time ago, update the style to match reality. doc/coding-style.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 8fb3f4dcc2bead8796f6eba28af193c8209c73bb Author: Guillem Jover Date: Fri Nov 19 23:54:31 2021 +0100 doc: Fix incorrect use of ‘an’ article ChangeLog.old | 6 +++--- debian/changelog | 4 ++-- lib/dpkg/fsys.h | 2 +- man/deb-shlibs.pod | 2 +- scripts/Dpkg/Changelog/Entry.pm | 2 +- scripts/dpkg-checkbuilddeps.pl | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) commit 4cea9ff5a85481e0be5e3b76a3d6f615a9737b49 Author: Helge Kreutzmann Date: Sun Sep 19 17:48:27 2021 +0200 po: Update German man pages translation man/po/de.po | 57 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 28 deletions(-) commit 417598df5353a6041f338ed318c2f07d2e8fd5d2 Author: Guillem Jover Date: Thu Jun 17 03:58:05 2021 +0200 man: Document dpkg-query --search and --listfiles output formats Document or clarify the output formats, so that users can rely on it instead of having to guess, and to make it explicit this can be relied on. man/dpkg-query.pod | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 915fc5d7068aa7bd3633251308b7cc687d5a08dc Author: Guillem Jover Date: Thu Jun 17 03:56:54 2021 +0200 man: Make clear that dpkg-query arguments accept multiple values Prompted-by: Rémi Rampin Ref: #913781 man/dpkg-query.pod | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit fbcbbec1115343f4cd9f41d56891c52dfd320f82 Author: Guillem Jover Date: Tue Jun 15 23:17:54 2021 +0200 man: Switch the Architecture field in deb-control(5) to required Since the multiarch support got added to dpkg(1), the Architecture field is now also required for binary packages (was already for source ones), even though arch-less packages can still be installed by using a force option, the default is to error out when the field is missing. Reported-by: Maxim Cournoyer (on IRC) man/deb-control.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9e15d7c807ed47d3d6db4589875aae25d47c93a6 Author: Guillem Jover Date: Mon Jun 14 23:45:21 2021 +0200 man: Add man page for deb-md5sums(5) While we do not generate this file at build time, but dpkg(1) does parse it for its --verify command, and generates it if missing from the binary package on unpack. Reported-by: Maxim Cournoyer (on IRC) man/Makefile.am | 2 ++ man/deb-md5sums.pod | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++ man/deb.pod | 2 ++ man/po/po4a.cfg | 1 + 4 files changed, 61 insertions(+) commit 5fbe26662ee96b1005fde6ee1f32e694594ec1a9 Author: Guillem Jover Date: Mon Jun 14 23:36:35 2021 +0200 dpkg-buildpackage: When printing build type match the extension exactly We need to anchor the regex at the end of the string, otherwise we get partial matches due to substrings. Closes: #989824 scripts/dpkg-buildpackage.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 36c35ee849af0fa50b16a7486078025ef3972cf2 Author: Guillem Jover Date: Mon Jun 14 23:35:50 2021 +0200 build: List man pages alphabetically Changelog: silent man/Makefile.am | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) commit 0d134cdcb0dcc6b21fa7926964c1426a5821181d Author: Guillem Jover Date: Fri May 28 04:07:49 2021 +0200 arch: Add support for ARCv2 CPU This is based on the ARCv2 32-bit little-endian hard-float ISA. Closes: #980963 Based-on-patch-by: Alexey Brodkin data/cputable | 1 + scripts/Dpkg/Shlibs/Objdump.pm | 1 + scripts/t/Dpkg_Arch.t | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) commit 81f40c4a06ba36ee225b2dc56febd974e8b22334 Author: Guillem Jover Date: Sat May 15 17:59:04 2021 +0200 libdpkg: Remove MDEBUG support from m_malloc() implementation There are better memory leak and overflow detector tools around, there is no need for this ad-hoc implementation that might not detect memory misuse anyway. Changelog: internal lib/dpkg/mlib.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) commit 679760fd15900471faddfccb3a50bc0992073acc Author: Guillem Jover Date: Sat May 1 23:58:00 2021 +0200 libdpkg: Add support for AIX to dpkg_get_progname() On AIX we need to use getprocs64() to fetch the current program name. Changelog: porting configure.ac | 1 + lib/dpkg/progname.c | 12 ++++++++++++ 2 files changed, 13 insertions(+) commit 6a9d238b104b2804ca2dd22db5f0ecd51654ed8d Author: Guillem Jover Date: Sat May 1 23:43:56 2021 +0200 build: Check whether fsync(3) works on directories On at least AIX fsync(3) requires a writable file descriptor, which opendir(3) does not provide. But even with a writable file descriptor fsync(3) does not always work on directories. Disable all directory fsync()s if the system does not support it. configure.ac | 1 + lib/dpkg/dir.c | 6 ++++++ m4/dpkg-funcs.m4 | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+) commit 3619a53af421fb0a6a8214e14c4cacffe1831842 Author: Guillem Jover Date: Sat May 1 23:42:32 2021 +0200 build: Switch DPKG_FUNC_C99_SNPRINTF from AC_LANG_SOURCE to AC_LANG_PROGRAM This reduces boirlerplate code. m4/dpkg-funcs.m4 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 7a77148ddaf7ebc8c548a20ce9fc0fab618b1cd4 Author: Guillem Jover Date: Thu Apr 29 20:20:24 2021 +0200 build: Do not set have_libmd on the found branch in AC_SEARCH_LIBS This also covers the case of found in the system libraries, which we cover later anyway, so the assignment here is confusing. m4/dpkg-libs.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 115e8e18a312b0494664cd1d355a22a25c98bfc7 Author: Guillem Jover Date: Thu Apr 29 20:19:33 2021 +0200 build: Check for libsocket On Solaris the socket functions are not found on libc but on libsocket. We need those for start-stop-daemon. configure.ac | 2 ++ m4/dpkg-libs.m4 | 17 +++++++++++++++++ utils/Makefile.am | 1 + 3 files changed, 20 insertions(+) commit 519828471e7520500dacbe64296831ecbbf11f03 Author: Guillem Jover Date: Thu Apr 29 01:09:38 2021 +0200 s-s-d: Define SOCK_NONBLOCK to 0 if not defined On systems such as macOS and AIX this macro is not defined. Just set it to 0 so that we can compile the sources. Changelog: porting utils/start-stop-daemon.c | 5 +++++ 1 file changed, 5 insertions(+) commit 9515eab2896c8199ba22de836d58f5eab7d5eb83 Author: Daniel Shahaf Date: Mon Apr 19 12:33:18 2021 +0200 scripts: Add zsh completions for dpkg-parsechangelog [guillem@debian.org: Hook into build system. ] Closes: #986103 Signed-off-by: Guillem Jover configure.ac | 2 ++ debian/dpkg-dev.install | 1 + scripts/Makefile.am | 4 ++++ scripts/zsh/_dpkg-parsechangelog | 23 +++++++++++++++++++++++ 4 files changed, 30 insertions(+) commit 19b6b33ed1df160ae6eb1b69e66b011af93f2d77 Author: Guillem Jover Date: Mon Apr 19 02:43:30 2021 +0200 dpkg: During unpack print a removal message due to Conflicts When deciding whether to de-configure a package due to Breaks we print a message stating so, as well as when we are actually de-configuring them. When deciding whether to remove a package due to Conflicts we also print a message, but were not printing anything when removing these package which seems rather confusing and makes the installation non obvious. Closes: #985401 src/unpack.c | 5 +++++ tests/t-conflicts/Makefile | 9 +++++++++ 2 files changed, 14 insertions(+) commit 7a568f068cf6d0c646b361af7eb8bb155f2c854a Author: Guillem Jover Date: Sun Jan 31 23:21:56 2021 +0100 man: Itemize dpkg-gensymbols -c levels This should make it easier to see what each does. man/dpkg-gensymbols.pod | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) commit 9f24f1c5d6d50002396e7e6cb8323a61da728880 Author: Guillem Jover Date: Wed Mar 3 00:12:16 2021 +0100 scripts: Consider SHA-1 and RIPEMD-160 weak algorithms in OpenPGP signatures These are widely considered weak by current standards, and have had successful attacks performed on them. scripts/Dpkg/OpenPGP.pm | 8 ++++++-- scripts/dpkg-buildpackage.pl | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) commit 2e93be7914df680a7c88951e9663be4573b8b551 Author: Guillem Jover Date: Thu Jan 21 10:50:06 2021 +0100 Dpkg::Deps: Use current_sub feature for __SUB__ scripts/Dpkg/Deps.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit c81ac7a8059a30ef45a1064bfc06153ad1f55183 Author: Guillem Jover Date: Mon Jan 18 16:25:55 2021 +0100 Test::Dpkg: Print actual error messages in test_neutralize_checksums() The generic die() messages are not very helpful. scripts/Test/Dpkg.pm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit 9f9d22129ccc5e79c29ff9c2112cdc47ababbb09 Author: Guillem Jover Date: Sat Jan 16 16:53:57 2021 +0100 Dpkg::Vendor::Debian: Add new lto feature in new optimize area This new setting, disabled by default, enables the Link Time Optimization. Closes: #940571 man/dpkg-buildflags.pod | 18 ++++++++++++++++++ scripts/Dpkg/Vendor/Debian.pm | 10 ++++++++++ scripts/t/Dpkg_BuildFlags.t | 5 ++++- 3 files changed, 32 insertions(+), 1 deletion(-) commit c5d2358a97fee1bc13961f5b992944e49d043f9d Author: Guillem Jover Date: Sat Jan 16 16:28:29 2021 +0100 Dpkg::Vendor::Debian: Refactor compiler flag names into an array We should not be repeating the same assignment all over the place for compiler flag names. scripts/Dpkg/Vendor/Debian.pm | 58 ++++++++++++------------------------------- 1 file changed, 16 insertions(+), 42 deletions(-) commit 2f9df9d56104120653abf8370ac425beb64e0188 Author: Guillem Jover Date: Thu Nov 12 14:07:38 2020 +0100 Dpkg::OpenPGP: Refactor openpgp implementation execution into a new function scripts/Dpkg/OpenPGP.pm | 52 +++++++++++++++++++++++-------------------------- 1 file changed, 24 insertions(+), 28 deletions(-) commit 3d2fdb8ca81bb925bd41d70b637dae04ab1cb42b Author: Guillem Jover Date: Sat Jan 30 02:25:44 2021 +0100 Dpkg::Changelog::Parse: Require format plugins to inherit from Dpkg::Changelog We have other classes in the same directory, and should check whether the format is really a Dpkg::Changelog object. scripts/Dpkg/Changelog/Parse.pm | 2 ++ 1 file changed, 2 insertions(+) commit 6b74bb1d3c3618b5db57168ec81fd38807828cbd Author: Guillem Jover Date: Sat Jan 16 14:28:50 2021 +0100 Dpkg::Source::Quilt: Add hint to check missing files on patch apply failures When we are trying to patch a file that is not present in the original tarball, the error message is rather confusing, as it mentions possible fuzz problems, as if the file existed, which might mislead the user. Add a hint to check whether the file is present in the original tarball to avoid leading the user into dead ends. Ideally the affected tarball would be reported in the error message, but that information is currently not available on that code path. Reported-by: Joseph Nahmias scripts/Dpkg/Source/Quilt.pm | 2 ++ 1 file changed, 2 insertions(+) commit 6ed73c1ca4db4193d756df82b829dfade64b037b Author: Guillem Jover Date: Sat Jan 16 14:28:50 2021 +0100 dpkg-genchanges: Include orig tarball on source package renames When the changelog shows a source package rename, but no version change, we also need to include the orig tarball. Closes: #980066 scripts/dpkg-genchanges.pl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit e2cbeff33af1148511a11f8864159421f8eefed1 Author: Guillem Jover Date: Mon Jan 25 05:41:00 2021 +0100 arch: Clarify that the regex columns need to be ordered to match first The entries are used in a first fully match order, so the regular expressions need to be listed from most specific to less specific when using wildcards. data/cputable | 6 ++++-- data/ostable | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) commit 03aeac561ec4fe5f1d7ba7da9d350663afee92dd Author: Guillem Jover Date: Mon Jan 25 05:37:06 2021 +0100 test: Add unit tests for architecture bijective mapping property The architectures need to have the bijective property when converting back and forth from the Debian arch name to the GNU triplet. Enforce this in the test suite to make it easier to guarantee this when adding new architectures to the tables. scripts/t/Dpkg_Arch.t | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) commit dbef019ad04ecf53c12cb71b143e2983d4f6491f Author: Guillem Jover Date: Mon Jan 18 16:24:07 2021 +0100 test: Add descriptions to makefile test runners We execute the same makefile with different environments, so we need some description to distinguish them in case they fail, otherwise it is too confusing to diagnose. scripts/t/mk.t | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit a325c161d912d06c44de02fe36a0d002a9c39cb5 Author: Guillem Jover Date: Sat Jan 16 13:39:51 2021 +0100 test: Use can_run() instead of find_command() Avoid using things we are still testing, instead of the system modules, and for consistency with the rest of the perl unit tests. scripts/t/Dpkg_Shlibs.t | 5 ++--- scripts/t/Dpkg_Version.t | 5 +++-- 2 files changed, 5 insertions(+), 5 deletions(-) commit c1b0eeed650d3eb403b9963a30a59e7906905b15 Author: Guillem Jover Date: Tue Mar 2 03:12:34 2021 +0100 Use localtime_r() instead of localtime() Even though the codebase is not threaded, the former is a safe function and we should be using it to be future-proof. Changelog: internal Warned-by: lgtm lib/dpkg/log.c | 9 +++++++-- utils/update-alternatives.c | 5 ++++- 2 files changed, 11 insertions(+), 3 deletions(-) commit f569324a004d1b1bb2a5134a496e81b789c16f55 Author: Guillem Jover Date: Tue Mar 2 03:12:03 2021 +0100 u-a: Turn FIXME for explicit behavior choice into an XXX This is an explicit behavior that we might consider changing, but it's not a bug per-se. Changelog: internal Warned-by: lgtm utils/update-alternatives.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c3efd06c39268ff0f3d89637596747c781e286e9 Author: Guillem Jover Date: Tue Mar 2 03:10:49 2021 +0100 Turn FIXME markers giving historic information into simple Notes These are behavior we implement for workarounds or robustness parsing, which we should probably not even plan on removing, as that would leave manually edited files open to breakage. Changelog: internal Warned-by: lgtm lib/dpkg/parse.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) commit 9549c9bea6ce955ded06bc0bc34c023800645ed0 Author: Guillem Jover Date: Tue Mar 2 03:09:56 2021 +0100 Turn FIXME markers denoting pending actions into TODO markers These are not bugs per-se, just things to perform at some point. Changelog: internal Warned-by: lgtm lib/dpkg/dir.c | 2 +- lib/dpkg/parsehelp.c | 2 +- lib/dpkg/t/t-deb-version.c | 2 +- lib/dpkg/t/t-pkginfo.c | 4 ++-- lib/dpkg/t/t-tarextract.t | 2 +- lib/dpkg/t/t-varbuf.c | 2 +- lib/dpkg/t/t-version.c | 4 ++-- scripts/Dpkg/Source/Package/V1.pm | 2 +- src/main.c | 2 +- tests/t-triggers/Makefile | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) commit e41d01c7ed58fab469985658f7383dd948f2e29b Author: Guillem Jover Date: Tue Mar 2 03:09:23 2021 +0100 Remove irrelevant or obsolete FIXME markers Changelog: internal Warned-by: lgtm dselect/basecmds.cc | 13 +++---------- lib/dpkg/dump.c | 2 -- t/cppcheck/cppcheck.supp | 2 +- 3 files changed, 4 insertions(+), 13 deletions(-) commit 5682d2a62ea3e20a6a52eaf2edf796d1e3254815 Author: Guillem Jover Date: Tue Apr 20 09:35:04 2021 +0200 build: Remove redundant localedir and pkgconfdir initializations These variables are handled by autoconf, and there's no need to set them ourselves. dpkg-deb/Makefile.am | 1 - dpkg-split/Makefile.am | 1 - dselect/Makefile.am | 3 --- lib/dpkg/Makefile.am | 2 -- src/Makefile.am | 3 --- utils/Makefile.am | 1 - 6 files changed, 11 deletions(-) commit 3c76c1235e586802762e9de73c65d3409fe54f38 Author: Guillem Jover Date: Thu Jan 21 10:48:17 2021 +0100 build: Bump minimal Perl version to 5.28.1 The Perl version in Debian buster is 5.28.1, which is the release that will be oldstable once 1.21.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 a71cf6568e3f5cb9238a36fa527cb744440b7b80 Author: Guillem Jover Date: Fri Apr 16 23:08:43 2021 +0200 build: Fallback to $^X and 'perl' if $Config{perlpath} is unset or empty scripts/Build.PL.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d9d2809b913511d69d6d4275cb1bba2fdd02e76f Author: Quentin PAGÈS Date: Mon Apr 19 00:07:30 2021 +0200 po: Add Occitan programs translations [guillem@debian.org: Hook into build system. ] Signed-off-by: Guillem Jover po/LINGUAS | 1 + po/oc.po | 6267 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 6268 insertions(+) commit 6b84e5592d3e23343762a0327f1467cdc31e0e93 Author: Marcin Owsiany Date: Sat Apr 24 21:56:05 2021 +0200 po: Update Polish programs translations Signed-off-by: Guillem Jover po/pl.po | 85 ++++++++++++++++++++++------------------------------------------ 1 file changed, 29 insertions(+), 56 deletions(-) commit ed4169db8222d92339444901ac12c1c803d9bd21 Author: Łukasz Dulny Date: Fri Apr 16 06:19:11 2021 +0200 po: Update Polish programs translations Signed-off-by: Guillem Jover po/pl.po | 781 +++++++++++++++++++++++---------------------------------------- 1 file changed, 282 insertions(+), 499 deletions(-) commit 9e5d0ef2eef67008798081415386485326b6d8ef Author: Guillem Jover Date: Mon Jan 25 16:01:55 2021 +0100 po: Add missing newlines in verbatim blocks in Dutch programs translation Changelog: silent man/po/nl.po | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 68ab722604217d3ab836276acfc0ae1260b28f5f Author: Guillem Jover Date: Wed Apr 14 00:34:18 2021 +0200 test: Pass --ignore-builtin-builddeps to dpkg-buildpackage We should ignore any builtin build dependencies (in particular build-essential, which is an arch:any package), as we are forcing the build and host architectures, which will make them not match whatever is on the system status file if present at all, and cause dependency unsatisfiability. Fixes: commit 0e2ae4e706e816a9ce200bb506674d19af25a55f scripts/t/dpkg_buildpackage.t | 1 + 1 file changed, 1 insertion(+) commit 3b7a8d0665133706aa5fe008a0e395e57a000198 Author: Guillem Jover Date: Wed Apr 14 00:06:48 2021 +0200 Bump version to 1.21.0 TODO | 2 +- debian/changelog | 6 ++++++ scripts/Dpkg.pm | 2 +- scripts/dpkg-fsys-usrunmess.pl | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) commit db2bd4853d9207e679d0e66caa5f1255a713239f Author: Guillem Jover Date: Tue Apr 13 22:17:47 2021 +0200 Release 1.20.8 debian/changelog | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) commit 0ea6acb18871cca8988102aefeedd543a2bc4c8b Author: Guillem Jover Date: Tue Apr 13 22:17:04 2021 +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 | 8 ++++---- 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/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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 82 files changed, 88 insertions(+), 88 deletions(-) commit 0278f291d46097d022ee32dd295eb693533bed8b Author: Guillem Jover Date: Thu Apr 8 04:14:31 2021 +0200 build: Group Test::Dpkg changelog entries into “Perl modules” section gen-changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ccb8427cb3af7b87ba8e9621a65f4aade360e12c Author: Guillem Jover Date: Wed Mar 3 00:09:28 2021 +0100 dpkg-realpath: Fix symlink loop tracker We need to move the symlink tracking from the general loop, which would limit the depth of the pathname to the case that handles symlinks in the pathname. scripts/dpkg-realpath.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit d449b7f0571578660959382632ddef47c5fbd6c4 Author: Guillem Jover Date: Wed Mar 3 00:09:28 2021 +0100 dpkg-realpath: Fix resolution for absolute symlinks on «/» We should not reset the resulting pathname to be the root directory when the root directory is empty, as that will happen to always match. Closes: #983855 scripts/dpkg-realpath.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f4ca736d4c4aafe71f363606559b6f0b4df33801 Author: Guillem Jover Date: Mon Feb 22 18:12:18 2021 +0100 dpkg: Fix --auto-deconfigure for essential and protected during installation Only apply the --force-remove-essential and --force-remove-protected during package removals, which can only happen due to Conflicts, otherwise we cannot solve auto-deconfigurations due to Breaks on essential or protected packages during installations or upgrades. This is a regression when the Breaks field got introduced, as the same function that had been used for Conflicts was refactored to be used for Breaks, but without taking into account the removal case. Fixes: commit b301c0e71a5314bb4560111c6cf1602269f6f672 Reported-by: Julian Andres Klode Ref: #983014 src/archives.c | 4 ++-- tests/Makefile | 2 ++ tests/t-breaks-essential/Makefile | 13 +++++++++++++ tests/t-breaks-essential/lib-a-0/DEBIAN/control | 8 ++++++++ tests/t-breaks-essential/lib-a-1/DEBIAN/control | 8 ++++++++ tests/t-breaks-essential/pkg-b/DEBIAN/control | 8 ++++++++ tests/t-breaks-protected/Makefile | 13 +++++++++++++ tests/t-breaks-protected/lib-a-0/DEBIAN/control | 8 ++++++++ tests/t-breaks-protected/lib-a-1/DEBIAN/control | 8 ++++++++ tests/t-breaks-protected/pkg-b/DEBIAN/control | 8 ++++++++ 10 files changed, 78 insertions(+), 2 deletions(-) commit b1b7519d0ae5ac75497804f18239ab1bd8c32c9c Author: Guillem Jover Date: Thu Jan 21 10:47:43 2021 +0100 s-s-d: Open the --output file in append mode Otherwise we will overwrite any pre-existing log file. Fixes: commit 2eb9e88858e7991c293008f5252e6ee7693e3ce2 utils/start-stop-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 63a5a2c2de2f3bc4d3353bd021a909f5e4555bad Author: Guillem Jover Date: Sat Jan 30 07:23:43 2021 +0100 Dpkg::Exit: Preserve exit code in END block Otherwise we can exit programs with an arbitrary exit code if we call other commands during the exit hooks. This was affecting for example a failing dpkg-source invoked from dpkg-buildpackage. scripts/Dpkg/Exit.pm | 1 + 1 file changed, 1 insertion(+) commit f774186739238d635ce62f1f30ffda0dd8c73e60 Author: Guillem Jover Date: Mon Feb 1 01:14:05 2021 +0100 debian: Run autopkgtest test suites in verbose mode Otherwise we cannot see what went wrong. debian/tests/test-not-root | 2 +- debian/tests/test-root | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 7658a27b80809d9e8c133d3d11d71024cecaf99d Author: Guillem Jover Date: Thu Apr 8 04:28:06 2021 +0200 test: Update suppressions for cppcheck 2.4 t/cppcheck/cppcheck.supp | 3 +++ 1 file changed, 3 insertions(+) commit 6c59231daeb7776a58d196a3b18650cf408874c3 Author: Guillem Jover Date: Tue Jan 19 04:26:11 2021 +0100 test: Initialize DEB_BUILD_ARCH and DEB_HOST_ARCH to avoid computing them These require dpkg and gcc to be available, which is not guaranteed on non-Debian systems, or on systems without a compiler, such as the ones using the CPAN distribution. Or when we are bootstrapping from scratch. scripts/t/Dpkg_BuildFlags.t | 2 ++ scripts/t/Dpkg_Deps.t | 3 +++ scripts/t/Dpkg_Shlibs.t | 3 +++ scripts/t/Dpkg_Substvars.t | 3 +++ 4 files changed, 11 insertions(+) commit 0e2ae4e706e816a9ce200bb506674d19af25a55f Author: Guillem Jover Date: Tue Jan 19 04:25:38 2021 +0100 test: Mock dpkg and gcc for architecture detection code We should not expect dpkg to be present on the system, which can happen during bootstrapping, or on non-dpkg based systems. We should not expect gcc to be present on the system, which can happen with the Dpkg perl distribution which otherwise does not need a C compiler. scripts/Makefile.am | 2 ++ scripts/t/dpkg_buildpackage.t | 3 +++ scripts/t/mk.t | 5 ++++- scripts/t/mock-bin/dpkg | 20 ++++++++++++++++++++ scripts/t/mock-bin/gcc | 20 ++++++++++++++++++++ 5 files changed, 49 insertions(+), 1 deletion(-) commit 3844c38302396772f78a670bb8b4f678437600d5 Author: Guillem Jover Date: Sat Jan 16 13:37:28 2021 +0100 test: Use gunzip instead of zcat and assume it might not be present On Solaris CPAN testing systems, zcat(1) is an alias for the traditional uncompress(1), so it does not work as gunzip(1). Use the latter explicitly to avoid portability issues, and do not assume it will always be present, when we will skip the unit test. scripts/t/Dpkg_Compression.t | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 1974f18a184a7425ffa75b70f0d24852ef61ecd1 Author: Guillem Jover Date: Sat Jan 16 13:25:14 2021 +0100 test: Set PERL in the perl test suite There is no guarantee that the PERL environment variable will contain the perl executable path or name. When running the test suite from the autotools build system we always set the PERL environment variable, but on CPAN we were not doing that, and some CPAN testers have PERL set to its version. scripts/Build.PL.in | 2 ++ 1 file changed, 2 insertions(+) commit 09b0b3ab99ba197a4fc5abf9363de32b472d9b61 Author: Guillem Jover Date: Sat Jan 16 13:34:34 2021 +0100 Test::Dpkg: Fix test data path fetching on CPAN There is no guarantee that the perl used will have «.» in INC, so we need to add an explicit «./» prefix, which we were already doing for the autotools case. Unify the handling for autotools and CPAN, which should fix the latter. scripts/Test/Dpkg.pm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 1b27bdd0b46fbab2d804595831d276c4a52fd4bb Author: Helge Kreutzmann Date: Thu Apr 8 21:09:00 2021 +0200 po: Update German scripts translation Closes: #983865 scripts/po/de.po | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 3ed9a520dfeddfb2beb89c9bf84a6d41bc9b7ec7 Author: Frans Spiesschaert Date: Sun Feb 14 04:46:05 2021 +0100 po: Update Dutch programs translations Closes: #981882 Signed-off-by: Guillem Jover po/nl.po | 85 ++++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 42 insertions(+), 43 deletions(-) commit e37bdb83b4650d5a14e54ee576353d5c3d8559a2 Author: Frans Spiesschaert Date: Sun Feb 14 04:47:56 2021 +0100 po: Update Dutch man pages translations Closes: #981884 Signed-off-by: Guillem Jover man/po/nl.po | 1202 +++++++++++++++++++++++----------------------------------- 1 file changed, 479 insertions(+), 723 deletions(-) commit f605b8f5edbb9ec990a2f7c453d3f0b66c8bca65 Author: Américo Monteiro Date: Sat Jan 16 18:08:15 2021 +0100 po: Update Portuguese man pages translations Closes: #980018 Signed-off-by: Guillem Jover man/po/pt.po | 687 +++++++++++++++++++++-------------------------------------- 1 file changed, 237 insertions(+), 450 deletions(-) commit e7d9c15e3c5ab67f7896f72496cc7fdcaf3588cf Author: Guillem Jover Date: Thu Apr 8 04:44:59 2021 +0200 man: Fix botched indentation fix Fixes: commit 0c782cc235d338039db18f6e9c1e1b0c56612672 Changelog: silent man/dpkg-architecture.pod | 4 ++-- man/po/de.po | 10 +++++----- man/po/es.po | 6 +++--- man/po/fr.po | 6 +++--- man/po/hu.po | 6 +++--- man/po/it.po | 6 +++--- man/po/ja.po | 6 +++--- man/po/nl.po | 6 +++--- man/po/pl.po | 6 +++--- man/po/pt.po | 6 +++--- man/po/pt_BR.po | 6 +++--- man/po/ru.po | 6 +++--- man/po/sv.po | 6 +++--- man/po/zh_CN.po | 6 +++--- 14 files changed, 43 insertions(+), 43 deletions(-) commit 55cdc52e9a9bccc7ba59087917f5cf7d88e312e4 Author: Helge Kreutzmann Date: Sat Jan 9 10:30:14 2021 +0100 po: Update German man pages translation man/po/de.po | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) commit 00c08574ff327a6db0e78f031da869f849d9d903 Author: Guillem Jover Date: Sat Jan 9 01:11:19 2021 +0100 Bump version to 1.20.8 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit d318b3f69df6d1fd909055fd207562ddd36340dc Author: Guillem Jover Date: Sat Jan 9 01:01:54 2021 +0100 Release 1.20.7 debian/changelog | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) commit 7e48c30b3b171384cccd69f2ba51161ff2bec845 Author: Guillem Jover Date: Sat Jan 9 00:59:44 2021 +0100 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/de.po | 60 ++++++++++++++++++++++++++++++++++--------------- man/po/dpkg-man.pot | 38 ++++++++++++++++++------------- man/po/es.po | 53 ++++++++++++++++++++++++++----------------- man/po/fr.po | 57 ++++++++++++++++++++++++++++------------------ man/po/hu.po | 36 +++++++++++++++++------------ man/po/it.po | 53 ++++++++++++++++++++++++++----------------- man/po/ja.po | 53 ++++++++++++++++++++++++++----------------- man/po/nl.po | 58 +++++++++++++++++++++++++++++++++-------------- man/po/pl.po | 53 ++++++++++++++++++++++++++----------------- man/po/pt.po | 58 +++++++++++++++++++++++++++++++++-------------- man/po/pt_BR.po | 36 +++++++++++++++++------------ man/po/ru.po | 36 +++++++++++++++++------------ man/po/sv.po | 53 ++++++++++++++++++++++++++----------------- man/po/zh_CN.po | 47 ++++++++++++++++++++++++++------------ 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/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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 95 files changed, 530 insertions(+), 329 deletions(-) commit a6c45c23e68d09b0d023bb02c41f04f30103d667 Author: Guillem Jover Date: Sat Jan 9 00:54:26 2021 +0100 debian: Bump Standards-Version to 4.5.1 (no changes required) debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6a1a62d382bca9df105359559e08e8630c2b8f0e Author: Guillem Jover Date: Sat Jan 9 00:35:39 2021 +0100 libdpkg: Do not consider the database locked with a missing lock file If the lock file does not exist, then in theory no other process is supposed to have locked the database, as the lock file uses region locking where the lock file is never supposed to be removed. In practice, misguided users might end up removing the lock file in an attempt to "unlock" the database (with potential catastrophic results) but that is not a supported operation. The supported scenario where the lock file is missing, is with a database that has not yet been fully populated. Reported-by: David Kalnischkies lib/dpkg/dbmodify.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit f50aea672bab786d75d51dcbac47fc1ee9703bc8 Author: Guillem Jover Date: Fri Jan 8 19:36:40 2021 +0100 test: Print WARN instead of FAIL for maintscript fd leaks Whether we have file descriptor leaks is also dependent on processes calling dpkg, so we should not print these as failures, as that is confusing and we might not be able to solve these. tests/t-maintscript-leak/pkg-maintscript-leak/DEBIAN/postinst | 2 +- tests/t-maintscript-leak/pkg-maintscript-leak/DEBIAN/postrm | 2 +- tests/t-maintscript-leak/pkg-maintscript-leak/DEBIAN/preinst | 2 +- tests/t-maintscript-leak/pkg-maintscript-leak/DEBIAN/prerm | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 96f55a4bdf7e490db4f132f638b40af9233742cb Author: Guillem Jover Date: Fri Jan 8 18:50:18 2021 +0100 debian: Update copyright notices in debian/copyright debian/copyright | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit 233d5ffa528162ca0baa1b39b631e39a16dc762e Author: Guillem Jover Date: Fri Jan 8 17:13:37 2021 +0100 test: On as-root mode do not use sudo if already running as root This removes the need to have sudo installed when not really needed. tests/Test.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit ee58c0b4fb2e126bc9e32561c922cb512814a6fb Author: Guillem Jover Date: Fri Jan 8 16:58:07 2021 +0100 man: Clarify and expand information on dpkg-realpath(1) man page Document the reason for the existence of this command, where it is used and where it is supposed to be used. Clarify the --root and --instdir options. Closes: #979564 man/dpkg-realpath.pod | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) commit 4d9368204f8d940095a4f325e7cb330149ee8fc7 Author: Sven Joachim Date: Fri Jan 8 18:17:16 2021 +0100 po: Update German programs translation Update to 1165t. po/de.po | 43 ++++++++++++++++++++----------------------- 1 file changed, 20 insertions(+), 23 deletions(-) commit c2ccbebf76e21be72bbf3d3e781f04c3c1f87ef1 Author: Helge Kreutzmann Date: Fri Jan 8 09:46:42 2021 +0100 po: Update German man pages translation man/dpkg-fsys-usrunmess.pod | 2 +- man/po/de.po | 105 ++++++++++++++++++++++++++++++-------------- 2 files changed, 73 insertions(+), 34 deletions(-) commit 16e0cd3db598a6f4386f7365b3740c00fc9e3705 Author: Guillem Jover Date: Fri Jan 8 05:13:43 2021 +0100 Bump version to 1.20.7 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit f08b94fed74b00f1db2457d8226fc619e6379bd4 Author: Guillem Jover Date: Fri Jan 8 04:39:58 2021 +0100 Release 1.20.6 debian/changelog | 192 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 189 insertions(+), 3 deletions(-) commit ed6dfb403b3f3416b11b6a539fed3a35429f9a92 Author: Guillem Jover Date: Fri Jan 8 04:28:13 2021 +0100 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/de.po | 34523 +++++++++++++++++++++--------------------- man/po/dpkg-man.pot | 20460 ++++++++++++------------- man/po/es.po | 37456 +++++++++++++++++++++++----------------------- man/po/fr.po | 34892 +++++++++++++++++++++--------------------- man/po/hu.po | 24652 +++++++++++++++--------------- man/po/it.po | 33839 ++++++++++++++++++++--------------------- man/po/ja.po | 34930 +++++++++++++++++++++--------------------- man/po/nl.po | 82 +- man/po/pl.po | 36045 ++++++++++++++++++++++---------------------- man/po/pt.po | 33546 +++++++++++++++++++++-------------------- man/po/pt_BR.po | 23502 +++++++++++++++-------------- man/po/ru.po | 25732 +++++++++++++++---------------- man/po/sv.po | 35842 ++++++++++++++++++++++---------------------- man/po/zh_CN.po | 22435 +++++++++++++-------------- po/ast.po | 85 +- po/bs.po | 88 +- po/ca.po | 81 +- po/cs.po | 81 +- po/da.po | 81 +- po/de.po | 66 +- po/dpkg.pot | 76 +- po/dz.po | 84 +- po/el.po | 85 +- po/eo.po | 81 +- po/es.po | 81 +- po/et.po | 83 +- po/eu.po | 81 +- po/fr.po | 81 +- po/gl.po | 85 +- po/hu.po | 83 +- po/id.po | 85 +- po/it.po | 81 +- po/ja.po | 81 +- po/km.po | 83 +- po/ko.po | 85 +- po/ku.po | 76 +- po/lt.po | 84 +- po/mr.po | 83 +- po/nb.po | 85 +- po/ne.po | 84 +- po/nl.po | 2 +- po/nn.po | 82 +- po/pa.po | 79 +- po/pl.po | 81 +- po/pt.po | 82 +- po/pt_BR.po | 86 +- po/ro.po | 85 +- po/ru.po | 81 +- po/sk.po | 81 +- po/sv.po | 81 +- po/th.po | 81 +- po/tl.po | 82 +- po/tr.po | 81 +- po/vi.po | 81 +- po/zh_CN.po | 81 +- po/zh_TW.po | 81 +- scripts/po/ca.po | 97 +- scripts/po/de.po | 2 +- scripts/po/dpkg-dev.pot | 54 +- scripts/po/es.po | 80 +- scripts/po/fr.po | 80 +- scripts/po/pl.po | 80 +- scripts/po/ru.po | 80 +- scripts/po/sv.po | 80 +- 95 files changed, 204829 insertions(+), 197080 deletions(-) commit 97881082b42cfebf999e4812f985a2d06ac583b0 Author: Guillem Jover Date: Thu Apr 16 14:45:00 2020 +0200 dpkg-fsys-usrunmess: New program This program undoes the merged-/usr-via-aliased-dirs mess done on filesystems that have been installed anew with recent installers with unfortunate defaults or systems migrated with the convert-usrmerge tool from the usrmerge package. Note: while dpkg.deb intends to contain no perl code, to be able to handle upgrades properly, and to reduce the perl usage on minimal systems, this one is made an exception as it is a script that does not depend on anything non-core including libdpkg-perl (except for libfile-fcntllock-perl checked at run-time), and is to be executed as a one-off thing. And it is more important to give people that have such broken systems recover from that, than keep the aforementioned properties very strictly for this particular case. debian/dpkg.install | 1 + debian/dpkg.manpages | 1 + man/Makefile.am | 2 + man/dpkg-fsys-usrunmess.pod | 147 +++++++++++++ man/po/po4a.cfg | 1 + scripts/.gitignore | 1 + scripts/Makefile.am | 5 + scripts/dpkg-fsys-usrunmess.pl | 473 +++++++++++++++++++++++++++++++++++++++++ 8 files changed, 631 insertions(+) commit 26993a362cd805d9b7f15f904c97bc1cece8fa9e Author: Guillem Jover Date: Fri Jan 8 00:29:49 2021 +0100 Support remove-on-upgrade conffile flag via DEBIAN/conffiles Add support for a new "remove-on-upgrade" flag in DEBIAN/conffiles to mark that the package wants to remove a given conffile (without having to rely on maintscripts). The flag is added to the conffile line before the flag and is separated from the file by a space. Flags never contain "/" and a leading "/" is used to determine whether the line has a flag or not. Closes: #822462 Based-on-patch-by: Niels Thykier Signed-off-by: Guillem Jover dpkg-deb/build.c | 44 +++++++++++- lib/dpkg/dpkg-db.h | 1 + lib/dpkg/dump.c | 2 + lib/dpkg/fields.c | 10 ++- lib/dpkg/fsys.h | 2 + man/deb-conffiles.pod | 16 +++-- man/dpkg-maintscript-helper.pod | 3 + src/archives.c | 6 +- src/configure.c | 38 ++++++++++- src/help.c | 2 +- src/unpack.c | 37 ++++++++-- t-func/deb-content.at | 79 ++++++++++++++++++++++ tests/Makefile | 1 + tests/t-conffile-declarative-removal/Makefile | 49 ++++++++++++++ .../pkg-conffile-removal-present/DEBIAN/conffiles | 1 + .../pkg-conffile-removal-present/DEBIAN/control | 7 ++ .../test-dir/test-conffile-to-be-removed | 0 .../pkg-conffile-v1/DEBIAN/conffiles | 1 + .../pkg-conffile-v1/DEBIAN/control | 7 ++ .../test-dir/test-conffile-to-be-removed | 0 .../pkg-conffile-v2/DEBIAN/conffiles | 1 + .../pkg-conffile-v2/DEBIAN/control | 7 ++ 22 files changed, 299 insertions(+), 15 deletions(-) commit fffc2135af125ce6cdbde19501b401cce3e26761 Author: Niels Thykier Date: Wed Apr 22 15:38:46 2020 +0000 Use a conffilename variable to track the actual conffile name in the buffer [guillem@debian.org: Refactored out from another commit. ] Signed-off-by: Niels Thykier Signed-off-by: Guillem Jover Changelog: internal dpkg-deb/build.c | 5 +++-- src/unpack.c | 17 +++++++++-------- 2 files changed, 12 insertions(+), 10 deletions(-) commit c0fd8c964dff4771cd6cec1f65ca497e76a80c00 Author: Guillem Jover Date: Thu Dec 31 00:38:03 2020 +0100 dpkg: Call fsys_hash_find_node() outside tar_fsys_namenode_queue_push() This way we can operate on the namenode returned before enqueuing it. Changelog: internal src/archives.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit dd941b64870ca8b69dd3d65cfa080d4ac46ba46c Author: Guillem Jover Date: Tue Dec 1 05:49:05 2020 +0100 libdpkg: Refactor new str_rtrim_spaces() Unify all trailing space trimming into a new function. Based-on-patch-by: Niels Thykier Changelog: internal dpkg-split/info.c | 6 +++--- lib/dpkg/libdpkg.map | 1 + lib/dpkg/options.c | 8 +++----- lib/dpkg/string.c | 17 +++++++++++++++++ lib/dpkg/string.h | 1 + lib/dpkg/t/t-string.c | 40 +++++++++++++++++++++++++++++++++++++++- src/unpack.c | 4 +--- 7 files changed, 65 insertions(+), 12 deletions(-) commit f91ee6d340ded26dea72a17c55ea5f8a684cccec Author: Guillem Jover Date: Wed Jan 6 19:37:16 2021 +0100 libdpkg: Fix m_pipe() function definition prototype to match declaration Warned-by: gcc-11 Changelog: internal lib/dpkg/mlib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 37c46c7b07f5c7d43d3f448f38a0d4e28ad6eaaf Author: Jessica Clarke Date: Thu Jan 7 21:29:36 2021 +0000 dpkg: Fix incorrect logic around printing dependency warnings interestingwarnings is used to track whether oemsgs is non-empty. However, oemsgs gets built up and printed per dependency, not per package being checked, whereas interestingwarnings was only being initialised at the top level, i.e. per package being checked. Instead, initialise it on every iteration of the (outer) loop at the same time as oemsgs gets reset. Otherwise we can end up printing: $PKG depends on $DEP; however: with just an empty line afterwards. Reported-by: Helmut Grohne Signed-off-by: Jessica Clarke Signed-off-by: Guillem Jover src/packages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5e81ed114b33c9f6438e5fe70dab2faf02b78328 Author: Guillem Jover Date: Thu Jan 7 23:31:41 2021 +0100 man: Empty or whitespace-only lines in deb-conffiles(5) are not accepted This has never been the case, but the man page was just wrong. man/deb-conffiles.pod | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 4f26c28c2f1adf49fbde217d109cf26daf03fd1d Author: Frans Spiesschaert Date: Thu Jan 7 18:47:41 2021 +0100 po: Update Dutch translations Closes: #968294, #968744, #968743 Signed-off-by: Guillem Jover dselect/po/nl.po | 278 +- man/po/nl.po | 41196 ++++++++++++++++++++++++++--------------------------- po/nl.po | 1967 +-- 3 files changed, 20116 insertions(+), 23325 deletions(-) commit 51d78cf284c42593a0db6aef60c11bad4b6efe18 Author: Didier Vidal Date: Thu Jan 7 18:50:29 2021 +0100 po: Update French dselect translation Closes: #964749 Signed-off-by: Guillem Jover man/po/fr.po | 140 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 70 insertions(+), 70 deletions(-) commit b6ec384e36614a53096ff29dbc26fae7a25e89ea Author: Sven Joachim Date: Wed Jan 6 04:33:05 2021 +0100 debian: Do not hardcode libdpkg-perl dependency on perl:any The problem with older versions of dh_perl was that it would generate a dependency on perl rather than perl:any, but this has been fixed in debhelper 12.7.3. Signed-off-by: Guillem Jover debian/control | 2 +- debian/rules | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) commit 363c7bf5680069d5d3f2045cc2d909882eaa9e58 Author: Guillem Jover Date: Tue Jan 5 17:33:05 2021 +0100 debian: Remove trailing comma from lintian profile file Using comma as a separator is deprecated. debian/dpkg.lintian-profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 17d3f6e346726e100434d74441470ea75cb8183c Author: Guillem Jover Date: Sat Dec 26 03:48:46 2020 +0100 build: Sort po4a entries in po4a.cfg man/po/po4a.cfg | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) commit 74f1303aa830bd1e1b24bc9a220ce43d2f33f757 Author: Guillem Jover Date: Tue Jan 5 18:13:50 2021 +0100 build: Use a stable order for metafields when generating the changelog Changelog: silent gen-changelog | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit c95969ef933d81a1b8231973c25a8bb1e8d1c8bb Author: Guillem Jover Date: Tue Jan 5 18:11:06 2021 +0100 build: Take git notes into account when generating the changelog Changelog: silent gen-changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2be0e88b61c5a6d2d15860eb68100248c105eab3 Author: Guillem Jover Date: Tue Jan 5 13:50:03 2021 +0100 libdpkg: Reset the rootnode to NULL after free()ing it We are testing whether rootnode is NULL, in part to placate code analyzers not understanding the structure of the code, and to make it more robust, so after free()ing it we should reset it to NULL. Fixes: commit b7556b76e81c4b02d14dd030cf128503f237f922 Warned-by: coverity Changelog: silent lib/dpkg/treewalk.c | 1 + 1 file changed, 1 insertion(+) commit b7556b76e81c4b02d14dd030cf128503f237f922 Author: Guillem Jover Date: Tue Jan 5 06:48:09 2021 +0100 libdpkg: Make sure we do not walk on rootless trees This should not happen with the current code, but we can be defensive about it anyway. Warned-by: coverity lib/dpkg/treewalk.c | 4 ++++ 1 file changed, 4 insertions(+) commit 1463f8f0b46aed4f673049b8a7fe83d8df68b359 Author: Guillem Jover Date: Tue Jan 5 00:31:53 2021 +0100 build: Disable functional test suite debug mode on GitLab CI The debug mode generates so much output that it exceeds the GitLab CI limit, which makes diagnosing what went wrong very hard. Removing the debug mode makes the build logs short enough to be usable again. .gitlab-ci.yml | 1 - 1 file changed, 1 deletion(-) commit 85364ca4357e84d291c340e78f3fc359e6463ffc Author: Guillem Jover Date: Tue Jan 5 00:23:00 2021 +0100 build: Disable umask to 0 for Docker executor in GitLab CI The Docker instance gets a 0 umask, which messes with the permissions of the checked out test suite, making it fail. Disable this "feature". .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) commit f946d808e10d68eb305bcbacb3b7044c60198eed Author: Guillem Jover Date: Tue Jan 5 02:46:16 2021 +0100 build: Make it possible to override PKGDATADIR on built scripts too This makes it possible to run the functional test on the built but not installed scripts. scripts/Makefile.am | 2 +- scripts/dpkg-maintscript-helper.sh | 3 ++- scripts/dpkg-realpath.sh | 3 ++- tests/Test.mk | 6 ++++++ 4 files changed, 11 insertions(+), 3 deletions(-) commit ca53a54ab1c04f432f06683b3a8f6977f6f39f1d Author: Guillem Jover Date: Tue Jan 5 02:24:36 2021 +0100 test: When using DPKG_BUILDTREE add scripts/ to DPKG_PATH We are using several of the scripts in the test suite, so when we intend to test the programs from DPKG_BUILDTREE we need to prepend the scripts/ directory to override the system programs. tests/Test.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 18df0affbf35770469968cfae5c719e002e84de7 Author: Guillem Jover Date: Tue Jan 5 03:18:39 2021 +0100 test: Remove source package building support from functional test suite There is no test case using this anymore, and the infrastructure is already handled by the perl test suite. Remove. tests/.gitignore | 2 -- tests/Test.mk | 12 ++---------- 2 files changed, 2 insertions(+), 12 deletions(-) commit e31d4da4ea33c0dad44a660b6ed004f86460cf49 Author: Guillem Jover Date: Tue Jan 5 03:18:00 2021 +0100 test: Remove inert substvar functional test This test was not doing anything, and requires the source package infrastructure which is getting in the way. Remove. Changelog: silent tests/Makefile | 1 - tests/t-substvars/Makefile | 8 -------- .../t-substvars/pkg-builddep-substvars_0/debian/changelog | 6 ------ tests/t-substvars/pkg-builddep-substvars_0/debian/control | 15 --------------- tests/t-substvars/pkg-builddep-substvars_0/debian/rules | 4 ---- 5 files changed, 34 deletions(-) commit 1836fc351ee8e69fe0429385059be0cec9ceb28f Author: Guillem Jover Date: Tue Jan 5 03:12:07 2021 +0100 test: Remove dpkg-source test already covered by the autotest suite Changelog: silent tests/Makefile | 1 - tests/t-source-minimal/.gitignore | 3 --- tests/t-source-minimal/Makefile | 13 ------------- .../pkg-minimal_1.0/debian/changelog | 5 ----- .../t-source-minimal/pkg-minimal_1.0/debian/control | 13 ------------- .../pkg-minimal_1.0/debian/copyright | 17 ----------------- tests/t-source-minimal/pkg-minimal_1.0/debian/rules | 20 -------------------- .../pkg-minimal_1.0/debian/source/format | 1 - tests/t-source-minimal/pkg-minimal_1.0/debian/watch | 0 9 files changed, 73 deletions(-) commit 2442069a11d1b0f2c70b257ad06286c18fd1cf27 Author: Guillem Jover Date: Tue Jan 5 00:43:00 2021 +0100 dpkg-realpath: Make 'link includes root prefix' error more verbose Print both pathnames so that it is easier to diagnose what went wrong. scripts/dpkg-realpath.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 55b3e917344edc19610e83c14913ed86bf02d643 Author: Guillem Jover Date: Mon Jan 4 23:22:54 2021 +0100 test: Do not ship long symlinks in the distribution This can cause issues when generatic the dist tarball, as we are using the ustar tar format. Instead generate them at build time, even for non-dangling symlinks. Changelog: silent tests/t-switch-dir-to-symlink-abs/.gitignore | 1 + tests/t-switch-dir-to-symlink-abs/Makefile | 2 ++ tests/t-switch-dir-to-symlink-abs/pkg-dir-symlink-int-1/test-path | 1 - tests/t-switch-dir-to-symlink-rel/.gitignore | 1 + tests/t-switch-dir-to-symlink-rel/Makefile | 4 ++++ .../pkg-dir-symlink-int-1/test-path/test-subpath | 1 - 6 files changed, 8 insertions(+), 2 deletions(-) commit c1a8c590655f613c6623dc949154e5077eb0464e Author: Guillem Jover Date: Mon Jan 4 23:21:30 2021 +0100 test: Make build-hook and clean-hook targets idempotent We should not fail when building on an already built tree or cleaning on an already clean one. Changelog: silent tests/t-switch-dir-to-symlink-rel/Makefile | 8 ++++---- tests/t-switch-symlink-rel-to-dir/Makefile | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) commit a32a65b3a3bae9d2981f4ac98f21441566cc0989 Author: Guillem Jover Date: Mon Jan 4 15:04:08 2021 +0100 test: Remove redundant test cases from the functional test suite These are already part of the autotest suite. tests/Makefile | 5 - tests/t-deb-conffiles/Makefile | 19 --- .../pkg-conff-duped/DEBIAN/conffiles | 3 - .../t-deb-conffiles/pkg-conff-duped/DEBIAN/control | 7 -- .../pkg-conff-duped/test-conffile-1 | 1 - .../pkg-conff-duped/test-conffile-2 | 1 - .../pkg-conff-noabs/DEBIAN/conffiles | 1 - .../t-deb-conffiles/pkg-conff-noabs/DEBIAN/control | 7 -- .../pkg-conff-noabs/test-conffile-rel | 1 - .../pkg-conff-noeol/DEBIAN/conffiles | 1 - .../t-deb-conffiles/pkg-conff-noeol/DEBIAN/control | 7 -- .../pkg-conff-noeol/test-conffile-1 | 1 - tests/t-deb-format/.gitignore | 5 - tests/t-deb-format/Makefile | 129 --------------------- tests/t-deb-format/pkg-templ/DEBIAN/control | 7 -- tests/t-deb-format/pkg-templ/file-templ | 1 - tests/t-deb-newline/.gitignore | 1 - tests/t-deb-newline/Makefile | 14 --- tests/t-deb-newline/pkg-newline/DEBIAN/control | 7 -- tests/t-deb-split/.gitignore | 1 - tests/t-deb-split/Makefile | 43 ------- tests/t-deb-split/pkg-split/DEBIAN/control | 7 -- tests/t-package-type/Makefile | 9 -- .../pkg-package-type-use/DEBIAN/control | 9 -- .../pkg-package-type-void/DEBIAN/control | 8 -- 25 files changed, 295 deletions(-) commit 0a4f64d9ff5938c8112dd415b7bf8751b0b27b57 Author: Guillem Jover Date: Sun Jan 3 19:48:04 2021 +0100 debian: Hook the functional test suite into autopkgtest We add two tests, one for normal user and directory root operation, and another one for unprivileged and DPKG_ROOT operation. Makefile.am | 2 ++ debian/tests/control | 8 ++++++++ debian/tests/test-func | 10 ++++++++++ debian/tests/test-func-root | 14 ++++++++++++++ 4 files changed, 34 insertions(+) commit c1b7c5122b4fd91efb1567a224a05e3b79887307 Author: Guillem Jover Date: Mon Jan 4 05:15:30 2021 +0100 build: Update GitLab CI configuration to use built-in functional test suite Now that the functional test suite has been merged, we can use that instead of cloning it from an external source. .gitlab-ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit 16805b0337073d21093c9065eb9d05c57c15b604 Author: Guillem Jover Date: Sat Jan 2 19:15:55 2021 +0100 test: Update merged functional test suite assumptions Remove COPYING, already present in the root directory. Remove feature checks as we can assume all current features are enabled. Makefile.am | 1 + tests/COPYING | 339 --------------------------------------- tests/Feature.mk | 50 ------ tests/Makefile | 29 ---- tests/README | 9 +- tests/Test.mk | 9 +- tests/t-control-no-arch/Makefile | 2 - tests/t-db/Makefile | 3 - tests/t-deb-conffiles/Makefile | 8 - tests/t-deb-format/Makefile | 6 - tests/t-multiarch/Makefile | 2 - tests/t-provides-self/Makefile | 10 -- tests/t-provides/Makefile | 10 -- tests/t-triggers/Makefile | 2 - 14 files changed, 5 insertions(+), 475 deletions(-) commit a66af79d99c7ff87911c394024890f94803a9e31 Merge: e6fcb3d3a d01b7ec84 Author: Guillem Jover Date: Mon Jan 4 14:42:16 2021 +0100 test: Merge the dpkg-tests.git repository into tests/ These tests will be converted into the dpkg autotools autotest suite bit by bit. They require some modifications to be safe to run during «make check», so that the system configuration does not pollute them but for now they should be fine to be run as part of the auotpkgtest. commit d01b7ec84213cec0949547ddcb7f4ea714835bac Author: Guillem Jover Date: Sat Jan 2 20:04:42 2021 +0100 build: Enable setting DPKG_ADMINDIR and DPKG_INSTDIR from the caller This makes it easier to configure where to run the tests from. t-conffile-root-option/Makefile | 4 ++-- t-db/Makefile | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) commit 078975c0b6390a5ccc0c54f34b6b890859dce8e7 Author: Guillem Jover Date: Sat Jan 2 19:46:22 2021 +0100 build: Default functional tests to run as non-root Swap the option from not-root to as-root, to make the default mode the safe one. Feature.mk | 2 +- README | 15 +++++---------- 2 files changed, 6 insertions(+), 11 deletions(-) commit 57e66bc3a36f235be790be7065898f8f2f035e91 Author: Guillem Jover Date: Mon Jan 4 14:23:21 2021 +0100 build: Generate odd files at build time These files are either dangling symlinks, filenames with spaces, or with newlines, which makes dealing with them at distribution time hard, which will be a problem with automake. t-conffile-prompt/Makefile | 8 ++++++++ .../pkg-conff-prompt-0/test-conffile with spaces | 1 - .../pkg-conff-prompt-1/test-conffile with spaces | 1 - t-deb-newline/.gitignore | 1 + t-deb-newline/Makefile | 6 ++++++ "t-deb-newline/pkg-newline/file\nnewline" | 0 t-switch-dir-to-symlink-abs/.gitignore | 2 ++ t-switch-dir-to-symlink-abs/Makefile | 8 ++++++++ t-switch-dir-to-symlink-abs/pkg-dir-conffile-1/test-path | 1 - t-switch-dir-to-symlink-abs/pkg-dir-symlink-ext-1/test-path | 1 - t-switch-dir-to-symlink-rel/.gitignore | 2 ++ t-switch-dir-to-symlink-rel/Makefile | 12 ++++++++++++ .../pkg-dir-conffile-1/test-path/test-subpath | 1 - .../pkg-dir-symlink-ext-1/test-path/test-subpath | 1 - t-switch-symlink-abs-to-dir/.gitignore | 1 + t-switch-symlink-abs-to-dir/Makefile | 6 ++++++ t-switch-symlink-abs-to-dir/pkg-dir-symlink-0/test-symlink | 1 - t-switch-symlink-rel-to-dir/.gitignore | 1 + t-switch-symlink-rel-to-dir/Makefile | 8 ++++++++ .../pkg-dir-symlink-0/test-path/test-symlink | 1 - t-symlink-dir/.gitignore | 2 ++ t-symlink-dir/Makefile | 10 +++++++++- t-symlink-dir/pkg-dir-symlink-0/test-symlink | 1 - t-symlink-dir/pkg-dir-symlink-1/test-symlink | 1 - 24 files changed, 66 insertions(+), 11 deletions(-) commit e6fcb3d3a84ed859310a83b129f1fc882b61e962 Author: Guillem Jover Date: Sat Jan 2 19:47:10 2021 +0100 debian: Use AUTOPKGTEST_TMP instead of writing into the source tree Remove the rw-build-tree restriction, which is not needed anymore. debian/tests/control | 4 ++-- debian/tests/test-not-root | 7 +++---- debian/tests/test-root | 7 +++---- 3 files changed, 8 insertions(+), 10 deletions(-) commit 4dae5986f96d5b1d52947e9e35a92d2e713ef0e1 Author: Guillem Jover Date: Mon Jan 4 01:20:06 2021 +0100 libdpkg: Fix passing the allocated instdir back into fsys_set_dir() The code was free()ing the previously allocated string too early, then trying to strdup() it. Instead use an intermediate to free() the old pointer before overwriting it with the new one. Fixes: commit f13aebc8a05da51a54da55d55b023ca8199a6471 Changelog: silent lib/dpkg/fsys-dir.c | 13 ++++++++----- lib/dpkg/t/t-fsys-dir.c | 10 ++++++++-- 2 files changed, 16 insertions(+), 7 deletions(-) commit 87d0f512449527be6d0e5708a92e6acde0220f07 Author: Guillem Jover Date: Mon Jan 4 00:11:40 2021 +0100 dpkg: When removing old files check the pathname with diversion and instdir The test should be using the prefixed instdir and any diversions applied as any other code path doing these filesystem checks, otherwise we try to access incorrect pathnames. src/unpack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 96b3a902eaeda2869d8346e6c4b32bc1af065f4e Author: Guillem Jover Date: Sun Jan 3 23:35:54 2021 +0100 dpkg-m-h: Do not pass DPKG_ROOT prefixed pathmames to dpkg-realpath This case was missed when changing the semantics for dpkg-realpath. Fixes: commit 5f454c08c5e3190dce3256019b4adef93dc62f99 scripts/dpkg-maintscript-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 25bf615aeb68b4daeee3ef4ab6db25cb1b93d987 Author: Guillem Jover Date: Sun Jan 3 23:37:38 2021 +0100 build: Map dpkg-m-h into dpkg-maintscript-helper when generating changelogs Changelog: silent gen-changelog | 1 + 1 file changed, 1 insertion(+) commit 2a73998db496b095dfd0eb8c24d6e6c70871be39 Author: Guillem Jover Date: Sat Jan 2 18:54:37 2021 +0100 build: Include only commits from the first merge parent in gen-changelog The merge commit description should be good to describe all the changes. If this end up not being a good solution, we can always make it an option. Changelog: silent gen-changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b8d6592793ccd60ee00181acef33132c7faaefaa Author: Guillem Jover Date: Mon Jan 4 02:13:16 2021 +0100 s-s-d: Assign fallback output_io after checking for command-line combinations The --output option is relevant only with --background, so we should not assign to its value before checking the combination. Fixes: commit 2eb9e88858e7991c293008f5252e6ee7693e3ce2 Changelog: silent utils/start-stop-daemon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit e423c09d97a638d9bfb4cee1446bbc9f92e1cce7 Author: Guillem Jover Date: Mon Jan 4 02:33:18 2021 +0100 Quote DPKG_ROOT and DPKG_INSTDIR usage We should make sure these are quoted in case of spaces in pathnames. t-conffile-obsolete/Makefile | 2 +- t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/postinst | 2 +- t-triggers/pkg-trig-cmd/DEBIAN/postinst | 6 +++--- t-triggers/pkg-trig-cmd/DEBIAN/postrm | 6 +++--- t-triggers/pkg-trig-cmd/DEBIAN/preinst | 6 +++--- t-triggers/pkg-trig-cmd/DEBIAN/prerm | 6 +++--- t-unpack-divert-hardlink/Makefile | 12 ++++++------ 7 files changed, 20 insertions(+), 20 deletions(-) commit bbedeb481ace8e26e36e464fec9e76e7df53fcf9 Author: Guillem Jover Date: Mon Jan 4 01:44:04 2021 +0100 t-conffile-replaces-diverted: Fix test under DPKG_ROOT We should not override DPKG_DIVERT_OPTIONS or we end up not passing --admindir and --instdir. Add a check to catch this problem. t-conffile-replaces-diverted/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8efffc4e30b65f50f30ceb2cb579a8db1cb118f6 Author: Guillem Jover Date: Mon Jan 4 02:25:36 2021 +0100 Remove unnecessary braces around shell variables t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/postinst | 2 +- t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/postrm | 2 +- t-multiarch/Makefile | 4 ++-- t-triggers-path/pkg-interest/DEBIAN/postinst | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) commit 476341e96d323b8c4b023545c5d640677cf35e64 Author: Guillem Jover Date: Sun Jan 3 23:04:50 2021 +0100 Fix test cases to support DPKG_ROOT t-deb-lfs/Makefile | 4 ++-- t-dir-leftover-conffile/Makefile | 4 ++-- t-dir-leftover-deadlock/Makefile | 4 ++-- t-dir-leftover-deadlock/pkg-dir-shared-0/DEBIAN/postinst | 2 +- t-dir-leftover-deadlock/pkg-dir-shared-0/DEBIAN/postrm | 2 +- t-dir-leftover-deadlock/pkg-dir-shared-1/DEBIAN/postinst | 2 +- t-dir-leftover-deadlock/pkg-dir-shared-1/DEBIAN/postrm | 2 +- t-dir-shared-replaces-lost/Makefile | 6 +++--- t-symlink-dir/Makefile | 4 ++-- 9 files changed, 15 insertions(+), 15 deletions(-) commit db5e8a1df475504b45d978a400734b6670ed88d9 Author: Bastien ROUCARIÈS Date: Tue Mar 14 18:25:07 2017 +0100 Fix test cases to support DPKG_ROOT [guillem@debian.org: - Fix readlink checks. - Remove redundant dereference check for test-path. ] Signed-off-by: Guillem Jover t-conffile-obsolete/Makefile | 34 +++--- .../pkg-conff-obsolete-2/DEBIAN/preinst | 2 +- t-conffile-rename/Makefile | 4 +- .../pkg-conff-rename-1/DEBIAN/preinst | 2 +- t-switch-dir-to-symlink-abs/Makefile | 114 ++++++++++---------- t-switch-dir-to-symlink-rel/Makefile | 118 ++++++++++----------- t-switch-symlink-rel-to-dir/Makefile | 8 +- 7 files changed, 139 insertions(+), 143 deletions(-) commit 07303867537f869549893a3eec1975ae380399a9 Author: Helge Kreutzmann Date: Sun Jan 3 08:04:49 2021 +0100 po: Update German man pages translation man/po/de.po | 51 ++++++++++++++++++++++++++++++++++----------------- 1 file changed, 34 insertions(+), 17 deletions(-) commit 2eb9e88858e7991c293008f5252e6ee7693e3ce2 Author: Guillem Jover Date: Wed Dec 30 18:40:28 2020 +0100 s-s-d: Add a new --output option to redirect stderr and stdout This option makes it easier to handle daemons that need to be backgrounded and that do not have any built-in support for syslog or log file writing. man/start-stop-daemon.pod | 6 ++++++ utils/start-stop-daemon.c | 30 ++++++++++++++++++++++++++---- 2 files changed, 32 insertions(+), 4 deletions(-) commit 618ef97abc3c78f747be901b24ec1ce47103df63 Author: Guillem Jover Date: Fri Jan 1 17:40:08 2021 +0100 s-s-d: Move umask setup before any file has been created This makes it possibly to control the permissions of files with the umask, instead of having to use hardcoded defaults. utils/start-stop-daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b60c243ba99b8483202a6f6a814476275204fdff Author: Vagrant Cascadian Date: Mon Nov 9 11:40:05 2020 -0800 dpkg-buildflags: Enable reproducible=fixfilepath by default Ref: https://lists.debian.org/debian-devel/2020/10/msg00222.html Closes: #974087 Signed-off-by: Guillem Jover man/dpkg-buildflags.pod | 2 +- scripts/Dpkg/Vendor/Debian.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit ca27eeeed4a137db68810bd8de181c3f277519de Author: Guillem Jover Date: Tue Nov 24 02:53:39 2020 +0100 Rename taint tag to merged-usr-via-aliased-dirs The old name merged-usr-via-symlinks was confusing, as other deployment strategies can also use symlinks. Use the less ambiguous name which describes the actual key feature of using aliased directories. debian/bug-script | 2 +- man/deb-buildinfo.pod | 5 +++-- scripts/Dpkg/Vendor/Debian.pm | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) commit 1005ea5a356b8596aa79dbb64581f4dbaed1c541 Author: Guillem Jover Date: Fri Jan 1 06:23:26 2021 +0100 t-conffile-prompt: Remove declarative attempt These tests will be converted into autotools autotests after they have been merged into dpkg proper. t-conffile-prompt.control | 23 ----------------------- 1 file changed, 23 deletions(-) commit 3943305d6b248577b06348489b212de0e5d82f80 Author: Sven Joachim Date: Thu Dec 24 08:18:18 2020 +0100 po: Update German programs translation Update to 1155t. po/de.po | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 492c3ba26a59bc2f44cb1cf92077ae9765c66b17 Author: Helge Kreutzmann Date: Thu Dec 24 05:48:48 2020 +0100 po: Update German scripts translation scripts/po/de.po | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) commit e38ee604d7f1bad2c5802700bdb3f744824948b9 Author: Helge Kreutzmann Date: Thu Dec 24 05:47:21 2020 +0100 po: Update German man pages translation man/po/de.po | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit 00a8b3e2e09f02610199542bdc16fc16aadbff3c Author: Guillem Jover Date: Thu Dec 24 05:02:56 2020 +0100 test: Update cppcheck suppression Fixes: commit bc140c0ec72bd2faa63265d9f751736a70f8d5f1 Changelog: silent t/cppcheck/cppcheck.supp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6f3840adb488cb31a537af608eaa8a6e00dc5813 Author: Guillem Jover Date: Mon Dec 14 14:18:43 2020 +0100 dpkg-query: Do not print database loading progress The output for these commands is part of their interface, and we are not supposed to print any progress output, or that breaks the expected result. Fixes: commit 33899e9378790f0bda984feb09860899eab96331 Closes: #977240 src/querycmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5388b63ea4ec786116d1f1957538772812e31313 Author: Guillem Jover Date: Wed Dec 2 05:30:13 2020 +0100 Do not call fsys_hash_init() before command actions The array is in BSS storage so there's no need to initialize on first use. For now we only need to call it when processing multiple packages in a row to clear some fsys_namenode members. Prompted-by: Steinar H. Gunderson Changelog: internal src/divertcmd.c | 1 - src/main.c | 4 ---- src/querycmd.c | 2 -- src/statcmd.c | 1 - src/trigcmd.c | 2 -- 5 files changed, 10 deletions(-) commit bc140c0ec72bd2faa63265d9f751736a70f8d5f1 Author: Guillem Jover Date: Wed Dec 2 05:27:53 2020 +0100 libdpkg: Use memset() instead of open-coding struct blanking Prompted-by: Steinar H. Gunderson Changelog: internal lib/dpkg/fsys-hash.c | 16 ++-------------- lib/dpkg/pkg-hash.c | 4 +--- 2 files changed, 3 insertions(+), 17 deletions(-) commit d89036a41e51084750c62417961d48d67c651699 Author: Guillem Jover Date: Wed Dec 2 05:24:06 2020 +0100 libdpkg: Initialize pkgbin's newhash to NULL There is no point in using EMPTYHASHFLAG on an initialized struct, and it's faster to just use a NULL pointer. Prompted-by: Steinar H. Gunderson Changelog: internal lib/dpkg/db-fsys-digest.c | 2 +- lib/dpkg/fsys-hash.c | 4 ++-- lib/dpkg/t/t-fsys-hash.c | 6 +++--- src/verify.c | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) commit eeb181b79f9c95cace84df929907559947dc483d Author: Guillem Jover Date: Thu Dec 10 03:04:14 2020 +0100 libdpkg: Replace FSF address by pointing to the gnu.org URL Use the URL, instead of the outdated FSF address, which is way more stable, as the latter has changed several times in the past. Changelog: internal lib/dpkg/perf.h | 5 ++--- lib/dpkg/t/b-fsys-hash.c | 5 ++--- lib/dpkg/t/b-pkg-hash.c | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) commit 7149af4125f76422e320c3d1f9d9308e9259bdf9 Author: Guillem Jover Date: Wed Dec 23 17:23:49 2020 +0100 libdpkg: Do not define the clamp macro when compiling C++ code Newer versions of the C++ standard define a clamp function in the STL, which gets messed up by our macro. Reported-by: Helmut Grohne Warned-by: g++ -std=gnu++17 Changelog: internal lib/dpkg/macros.h | 3 +++ 1 file changed, 3 insertions(+) commit a72705e8835e8e63cac61f0148e85a8fd3c51942 Author: Guillem Jover Date: Thu Dec 10 03:33:02 2020 +0100 libdpkg: Fix allocation size wrap around when growing a varbuf When we allocate the buffer when growing a varbuf, we need to make sure the new size is not wrapping around, or we might end up allowing to write into unallocated memory or memory allocated for another buffer. If we have a buffer that takes half the possibly allocatable memory, and need less than half of that, we do not make it possible to allocate just that instead of its double, as that would certainly leave the rest of the program or the entire system without much resources anyway. Stable-Candidate: 1.19.x lib/dpkg/t/t-varbuf.c | 24 +++++++++++++++++++++++- lib/dpkg/varbuf.c | 9 ++++++++- 2 files changed, 31 insertions(+), 2 deletions(-) commit 76e8427f1099999aabbb541c2239fafa73d7113b Author: Guillem Jover Date: Thu Dec 10 03:23:22 2020 +0100 test: Add support for basic test try/catch/finally keywords This hooks into the dpkg error-handling and makes it possible to catch those errors and ignore them. The finally keyword serves as a teardown point. lib/dpkg/test.h | 8 ++++++++ 1 file changed, 8 insertions(+) commit 32d423f04b84d9a0f1859a495253af559d302b55 Author: Guillem Jover Date: Wed Dec 2 05:38:27 2020 +0100 test: Disable hash reports in benchmark tests unless verbose lib/dpkg/t/b-fsys-hash.c | 6 ++++-- lib/dpkg/t/b-pkg-hash.c | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) commit b043e0ab9d7488a315de6dc37a304a1e7ac512bc Author: Guillem Jover Date: Thu Dec 10 03:29:14 2020 +0100 test: Make it possible to include test.h from benchmarks On benchmark programs, we want to use some of the test infrastructure, but do not want to include the variable definitions or we get unused variable warnings. lib/dpkg/perf.h | 3 +++ lib/dpkg/test.h | 2 ++ 2 files changed, 5 insertions(+) commit b129c7c1297de8e786ceb20a22ead36d8cabce43 Author: Guillem Jover Date: Wed Dec 9 03:28:36 2020 +0100 test: Refactor test verbose check into an inline function This makes it easier to reuse this code in other tests and benchmarks. lib/dpkg/t/t-ehandle.c | 5 +---- lib/dpkg/test.h | 8 ++++++++ 2 files changed, 9 insertions(+), 4 deletions(-) commit f5e8f45f71a18086a8d495260c37fe588e13c8df Author: Guillem Jover Date: Thu Feb 20 02:23:31 2020 +0100 build: Fix «make distcheck» for man pages man/Makefile.am | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) commit fb52d76bcf13438fbf16705df04018625aa29d50 Author: Guillem Jover Date: Sat Nov 28 10:54:53 2020 +0100 dpkg-parsechanaglog: Document --file in --help output scripts/dpkg-parsechangelog.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d01d1f49c9734a39fc278f4d5b75444c96491023 Author: Guillem Jover Date: Fri Nov 27 01:52:28 2020 +0100 dpkg-buildflags: Add support for DFLAGS Add default value in Debian and derivatives for the flag. It will get either -fdebug or -frelease depending on noopt presence in DEB_BUILD_OPTIONS, but for now nothing else, as it seems common for D project to use CPPFLAGS and CFLAGS anyway. Closes: #975896 man/dpkg-buildflags.pod | 4 ++++ scripts/Dpkg/Build/Info.pm | 2 +- scripts/Dpkg/BuildFlags.pm | 3 +++ scripts/Dpkg/Vendor/Debian.pm | 4 ++++ scripts/mk/buildflags.mk | 3 ++- scripts/t/Dpkg_Build_Info.t | 2 +- scripts/t/mk/buildflags.mk | 1 + 7 files changed, 16 insertions(+), 3 deletions(-) commit 3d900517de440773822285c8fa65bf13c3c06cee Author: Guillem Jover Date: Tue Dec 1 05:19:51 2020 +0100 Enable DPKG_HAS_WORKING_ROOTDIR_MAINTSCRIPT_HELPER for 1.20.x This has now been implemented. Feature.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 09c9e02046f18f02bf3c3c2533bc557abfdc828c Author: Helge Kreutzmann Date: Thu Nov 26 19:46:38 2020 +0100 po: Update German manpage translation man/po/de.po | 132 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 70 insertions(+), 62 deletions(-) commit b1be6a8efa4789551d51deb63045dd0288906557 Author: Guillem Jover Date: Mon Jun 1 16:50:27 2020 +0200 man: Uppercase acronyms and logic operators Warned-by: pod-spell man/dpkg-split.pod | 2 +- man/dpkg.pod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4ea11564506362edf8c79673cc62d86229930969 Author: Guillem Jover Date: Mon Jun 1 16:50:27 2020 +0200 man: Hyphenate multiple words in deb-override(5) format description This makes it easier to read. Warned-by: pod-spell man/deb-override.pod | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit a790651fc0ecdbd8bbb670db24453588559ceadd Author: Guillem Jover Date: Mon Jun 1 15:22:25 2020 +0200 man: Fix typos Warned-by: pod-spell man/deb-changelog.pod | 2 +- man/dselect.pod | 2 +- man/start-stop-daemon.pod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 91ad222ec49a20f03759b95a9a71df905aa1ff23 Author: Guillem Jover Date: Thu Nov 26 03:02:21 2020 +0100 man: Clarify config-files state in dpkg(1) This state does not only imply configuration files present, it might imply also data to be cleaned up by the postrm script. Prompted-by: Stuart Prescott man/dpkg.pod | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 80fcead8966f820a9438057b12d95f14b4cf6a87 Author: Guillem Jover Date: Thu Nov 26 01:14:53 2020 +0100 po: Fix typo in German scripts translation Changelog: silent scripts/po/de.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9f92b00b45e38ae62e529291f216fce40cc149e5 Author: Helge Kreutzmann Date: Tue Nov 24 21:06:53 2020 +0100 Update German translation of manual pages Update to 3119t1u. man/po/de.po | 498 ++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 307 insertions(+), 191 deletions(-) commit 19e0479e491f21de4bc4c4b3f047c289a83a2c43 Author: Helge Kreutzmann Date: Tue Nov 24 20:51:25 2020 +0100 Update German scripts translation Update to 617t. scripts/po/de.po | 71 ++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 49 insertions(+), 22 deletions(-) commit 5d79bfe787c4b74c3d824611a8909036e64dd794 Author: Sven Joachim Date: Mon Nov 23 18:40:33 2020 +0100 po: Update German programs translation Update to 1154t. po/de.po | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) commit b51030bd7d72614b8b66204afbd86047c0538039 Author: Guillem Jover Date: Thu Nov 12 13:54:48 2020 +0100 Dpkg::OpenPGP: Refactor gpg armor code into its own function scripts/Dpkg/OpenPGP.pm | 48 +++++++++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 21 deletions(-) commit 0779258d1801f4960f1b932b286b75ae1772ce13 Author: Guillem Jover Date: Mon Nov 2 09:38:37 2020 +0100 Dpkg::Path: Check first whether the files are the same by comparing string-wise Just check whether the pathnames are equal before doing any filesystem checks. Closes: #849752 scripts/Dpkg/Path.pm | 2 ++ 1 file changed, 2 insertions(+) commit 9e34f5c14ad086fa7f5e77afdaea71aefe796ffc Author: Guillem Jover Date: Mon Nov 2 09:23:36 2020 +0100 Dpkg::Source::Package: Call syserr() instead of syserror() Ref: #849752 Reported-by: Drew Parsons Notes: Closes: #976249 scripts/Dpkg/Source/Package.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 157a4e6c0f1dda42b1ae3bae8086a9a64d85e2f9 Author: Guillem Jover Date: Mon Nov 2 11:15:47 2020 +0100 Dpkg::Source::Package: Honor no_check for directory traversal checks While this is a potential security issue, we should let the user disable the check in case it has been requested explicitly. Ref: #971203 scripts/Dpkg/Source/Package.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 727edc4d287796a139e6f4d4f367ead995b5d919 Author: Guillem Jover Date: Mon Sep 28 02:44:10 2020 +0200 Dpkg::Path: Fix pathname traversal check for symlinks If the canonicalized pathname from the symlink matches the canonicalized root directory, then they are the same directory and there is no directory traversal. Closes: #971203 scripts/Dpkg/Path.pm | 1 + scripts/t/Dpkg_Path.t | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) commit 1ddcd026b53f4471433e411ebaf9be18cf08365a Author: Guillem Jover Date: Mon Sep 28 02:44:10 2020 +0200 test: Refactor root handling in Dpkg::Path unit tests Add support for alternative root directories to Dpkg::Path tests, to make possible to create hierarchies that might trip over conditions in other checks into their own root directory, and to simplify Dpkg_Path unit tests by using the new root and chroot options in %travtype. scripts/t/Dpkg_Path.t | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) commit 0b521d2147872e18e5ce2919f17d3a41661baa7f Author: Guillem Jover Date: Sun Nov 22 23:56:52 2020 +0100 test: Use intermediate variable for directory traversal item iteration scripts/t/Dpkg_Path.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit a40c250be499ba93157c4db8cfcb35d924ccf6f8 Author: Guillem Jover Date: Fri Sep 4 19:13:57 2020 +0200 Dpkg::Source::Package::V1: Print a message when verifying tarball signatures This action is actually important, and performing it silently means the user will not be aware that it is happening. scripts/Dpkg/Source/Package/V1.pm | 1 + 1 file changed, 1 insertion(+) commit 3b9afd43dd3b6ababed84900bf36363b8e70704c Author: Guillem Jover Date: Wed Aug 5 10:35:27 2020 +0200 Dpkg::Changelog::Parse: Document 'label' option scripts/Dpkg/Changelog/Parse.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 6b15c47b743b425d3577689c26ef74ac37fcf0fa Author: Guillem Jover Date: Wed Aug 5 10:35:27 2020 +0200 Dpkg::Changelog::Parse: Add new verbose option Prompted-by: #967911 scripts/Dpkg/Changelog/Parse.pm | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit 2fc935f126cbeb1ed939dda54841971d8715fd20 Author: Guillem Jover Date: Wed Aug 5 10:28:24 2020 +0200 Dpkg::Changelog::Entry::Debian: Fix format string Prompted-by: #967911 scripts/Dpkg/Changelog/Entry/Debian.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6d03bf8df86e17be013c31f5a4522d8c8fbcb823 Author: Guillem Jover Date: Thu Jul 23 04:29:56 2020 +0200 Dpkg::Exit: Fix exit handler on program termination We cannot hook into the __DIE__ pseudo signal handler as then any eval usage becomes unsafe. Instead we hook into an END code block, and fix the run_exit_handler code to deplete the @handlers array so that we do not execute the handlers repeatedly and to reset the installed handlers as not needed anymore. Closes: #966083 scripts/Dpkg/Exit.pm | 11 +++++++++-- scripts/t/Dpkg_Exit.t | 12 +++++++++++- 2 files changed, 20 insertions(+), 3 deletions(-) commit 6bf600602309375ce788aa1a55919e26eb99f04a Author: Guillem Jover Date: Tue Aug 25 01:13:12 2020 +0200 u-a: Fix short-lived memory leaks for log_file and admdir Warned-by: gcc ASAN utils/update-alternatives.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) commit c86dcd9c93f69a0388b75e13c02f7d4e4dae45cf Author: Guillem Jover Date: Tue Aug 25 01:13:12 2020 +0200 u-a: Fix memory leaks with new_choice We need to dynamically allocate new_choice and free() it when unneeded, and make path a const, as the assignment into new_choice now makes sure to duplicate the string. Warned-by: gcc ASAN utils/update-alternatives.c | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) commit 55700d23274a6487f5f91b43074b9027be1371d4 Author: Guillem Jover Date: Tue Aug 25 01:13:12 2020 +0200 u-a: Fix short-lived memory leaks for alternative structs Warned-by: gcc ASAN utils/update-alternatives.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 0d26b9fcaa13907328366c25ed39020cadece754 Author: Guillem Jover Date: Tue Aug 25 01:13:12 2020 +0200 u-a: Fix typos in code comments Changelog: silent utils/update-alternatives.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2096f4fe23ce48e5f40d4d6234f502b2e61d50d1 Author: Guillem Jover Date: Tue Aug 25 01:13:12 2020 +0200 u-a: Fix memory leaks for alternative database context on load errors Warned-by: gcc ASAN utils/update-alternatives.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 9b8f4296cf0b0f3a4aecc59d5d96d2b5f3ad2218 Author: Guillem Jover Date: Tue Aug 25 01:13:12 2020 +0200 u-a: Refactor alternative database context freeing into a new function Changelog: internal utils/update-alternatives.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit c89140d8bfe69637e50d25949c655cd03d19c6ab Author: Guillem Jover Date: Fri Nov 13 21:01:05 2020 +0100 libdpkg: Do not forget not-installed packages that are set on hold These are used to denote that the package is not to be installed. Reported-by: David Kalnischkies lib/dpkg/parse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 96005ddd9e0ef85b160594263d1dc7e059ab4ee5 Author: Guillem Jover Date: Fri Nov 13 21:00:44 2020 +0100 libdpkg: Fix typo in comment Changelog: silent lib/dpkg/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9022f9e0ffc58425c6798ff62e797f4026a29fe9 Author: Guillem Jover Date: Mon Nov 2 09:46:58 2020 +0100 libdpkg: Make source version parsing more robust on missing data Even though we do not call these source version printing functions anymore for not-installed packages, we should make the function robust in case a call site passed pkgbin data with no source name or version present in the Source field. Ref: #972580 lib/dpkg/pkg-show.c | 47 +++++++++++++++++++++++++---------------------- lib/dpkg/version.h | 3 +++ 2 files changed, 28 insertions(+), 22 deletions(-) commit 536a38582a2d92da84f82d850e22f581b00d2082 Author: Guillem Jover Date: Mon Nov 2 09:46:58 2020 +0100 libdpkg: Ignore not-installed packages for source related virtual fields The source name and source versions are not available for not-installed packages, so we should not try to print anything as that will end up being bogus, or produce parsing problems for version related virtual fields. Closes: #972580 lib/dpkg/pkg-format.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit b885b73443f8af8ad0cad4c10a35e5511448b020 Author: Guillem Jover Date: Fri Aug 28 01:01:34 2020 +0200 libdpkg: Check that the ar archive time is within bounds lib/dpkg/ar.c | 2 ++ 1 file changed, 2 insertions(+) commit bab898774c842a53144fe9b6debb10146aeb768a Author: Guillem Jover Date: Wed Sep 2 04:27:22 2020 +0200 dpkg-deb, dpkg-split: Fix time handling to support 64-bit time dpkg-deb/build.c | 13 +++++++------ dpkg-split/split.c | 9 +++++---- lib/dpkg/ar.c | 6 +++--- lib/dpkg/ar.h | 7 ++++--- lib/dpkg/pkg-format.c | 4 +++- lib/dpkg/t/c-tarextract.c | 2 +- lib/dpkg/tarfn.h | 2 +- 7 files changed, 24 insertions(+), 19 deletions(-) commit a048b1c209c8ecdecfc9cce36a16964608be4124 Author: Guillem Jover Date: Mon Nov 16 09:56:25 2020 +0100 dpkg-buildpackage: Clarify R³ keyword diagnostic messages scripts/dpkg-buildpackage.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit fae07d08cf5f6edc1a2ef0006ee73d944bb3b2ad Author: Guillem Jover Date: Mon Nov 16 09:54:37 2020 +0100 dpkg-buildpackage: Error out on R³ "yes" value This is commonly confused as one of the values denoting that root is required, and most probably intended to mean "binary-targets". Requested-by: Niels Thykier scripts/dpkg-buildpackage.pl | 3 +++ 1 file changed, 3 insertions(+) commit 7e2cb252d774d45d60191701f88253cd2307375d Author: Guillem Jover Date: Wed Oct 28 00:34:53 2020 +0100 dpkg-buildpackage: Warn on known R³ values in uppercase These values are case sensitive, but we do not check whether the packager has used the wrong case, which will then go unnoticed. So let's check that and error out to avoid surprises. Reported-by: Niels Thykier scripts/dpkg-buildpackage.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 7c54fa2b232e2d9f9008aeaaa0dd94a810921282 Author: Guillem Jover Date: Fri Sep 4 01:02:24 2020 +0200 dpkg-architecture: Add a --print-format option This makes possible to select the output format for the --print-set and --print-unset commands. The current values supported are “shell” which is the current default, and “make”. Prompted-by: #968963 man/dpkg-architecture.pod | 7 ++++++- scripts/dpkg-architecture.pl | 30 ++++++++++++++++++++++++++---- 2 files changed, 32 insertions(+), 5 deletions(-) commit 11a8426fb30d94bd36e0122e48fe13ee928f1c14 Author: Guillem Jover Date: Wed Aug 26 02:41:20 2020 +0200 dpkg-deb: Make decompression error message more descriptive Print both the ar member being decompressed, and its size, so that truncated archives can more easily be detected after the fact. Closes: #968442 dpkg-deb/extract.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit fd4d0448474d7d7dbea664660a24964db2ffadba Author: Guillem Jover Date: Sat Aug 15 15:49:50 2020 +0200 dpkg-realpath: Add new -z, --zero option This makes it possible to process files with newlines within, even though not all of the dpkg suite is prepared to cope with those. Requested-by: Johannes Schauer man/dpkg-realpath.pod | 5 +++++ scripts/dpkg-realpath.sh | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) commit 1dd925c8749829db25c95e12b4b1d7c8842d391f Author: Guillem Jover Date: Tue Aug 18 02:09:08 2020 +0200 dpkg-divert: Fix short-lived memory leaks Warned-by: gcc ASAN src/divertcmd.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit c720bbd7a97bfb5ec547da10da5e2322a8e4c0b8 Author: Guillem Jover Date: Wed Sep 2 04:23:11 2020 +0200 dpkg-deb: Fix single-instance memory leak on missing conffiles control file This gets leaked just once while checking the conffile control file. Warned-by: gcc ASAN dpkg-deb/build.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit c1068bb2e421aa9ae778afd6199d14bbf52a6308 Author: Guillem Jover Date: Sat Aug 1 23:47:46 2020 +0200 dpkg: Fix short-lived memory leak in --force-help output Based-on-patch-by: KOLANICH Warned-by: gcc ASAN src/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 60dba33b1f5a5c56c4bbbc0ed9ed5b87f0ba1e83 Author: Guillem Jover Date: Sat Aug 1 23:59:14 2020 +0200 dpkg: Fix memory leak for cidir Reported-by: KOLANICH Warned-by: gcc ASAN Stable-Candidate: 1.19.x src/archives.c | 1 + 1 file changed, 1 insertion(+) commit 889848ed58a6c496ab130647cce8dd0bcd53aaaf Author: Guillem Jover Date: Tue Aug 18 01:27:39 2020 +0200 libdpkg: Reset error context errmsg after free() This makes sure we are never going to doubly free it. Warned-by: gcc ASAN Stable-Candidate: 1.19.x lib/dpkg/ehandle.c | 1 + 1 file changed, 1 insertion(+) commit 38cb8160e8d44a15d1397176489915b3057fbb66 Author: Guillem Jover Date: Tue Aug 18 01:27:39 2020 +0200 libdpkg: Fix short-lived memory leaks These strings are going to be auto-released on program exit. Warned-by: gcc ASAN lib/dpkg/ehandle.c | 4 ++++ 1 file changed, 4 insertions(+) commit f13aebc8a05da51a54da55d55b023ca8199a6471 Author: Guillem Jover Date: Tue Aug 18 01:36:00 2020 +0200 libdpkg: Fix single-instance memory leak with fsys dir This variable is usually set up once at the beginning of the execution and then never changed again. Warned-by: gcc ASAN lib/dpkg/fsys-dir.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit 406af89c075f5ac0915e3dff19d1287b0876853c Author: Guillem Jover Date: Fri Aug 21 03:42:30 2020 +0200 libdpkg: Fix memory leak in filesystem treewalk iterator We need to free the last element from the tree. Warned-by: gcc ASAN Stable-Candidate: 1.19.x lib/dpkg/treewalk.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 7fa28dce1e3a6ab4d317a2ebf8efc92f57237038 Author: Guillem Jover Date: Sun Aug 16 22:47:27 2020 +0200 libdpkg: Fix memory leak in filesystem treewalk node free function Warned-by: gcc ASAN Stable-Candidate: 1.19.x lib/dpkg/treewalk.c | 1 + 1 file changed, 1 insertion(+) commit 35d024ea78135d48ee778024dc61486db6db594d Author: Guillem Jover Date: Sat Aug 1 23:38:28 2020 +0200 libdpkg: Fix memory leak in trigger deferred processing Reported-by: KOLANICH Warned-by: gcc ASAN Stable-Candidate: 1.19.x lib/dpkg/trigdeferred.c | 1 + 1 file changed, 1 insertion(+) commit cf8fe0d6e74fdc6970ceb17e44ec9f67901120b8 Author: Guillem Jover Date: Sun Aug 16 23:02:56 2020 +0200 libdpkg: Fix memory leaks in tar_extractor() We need to free the members when assigning into them for the GNU longlink and longname extensions. Warned-by: gcc ASAN Stable-Candidate: 1.19.x lib/dpkg/tarfn.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 52b63137c0a0c9b95ad0b46c1d2ceacfab492297 Author: Guillem Jover Date: Sun Aug 2 16:13:20 2020 +0200 libdpkg: Fix undefined behavior in varbuf functions While varbuf_grow() handles 0 sizes fine, we do a check before calling it to avoid the duplicate checks. Reported-by: KOLANICH Warned-by: gcc ASAN lib/dpkg/varbuf.c | 4 ++++ 1 file changed, 4 insertions(+) commit 7d2d5be9fb48c79d25991e5ab4da2a4f6419d241 Author: Guillem Jover Date: Tue Aug 18 02:08:00 2020 +0200 test: Improve dpkg-divert test to output stdout and stderr This makes spotting unexpected values, or output from sanitizers easier. src/t/dpkg_divert.t | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit 52ab5b4cbf7e125fd2a47d0cefc6aac1da780dcc Author: Guillem Jover Date: Tue Aug 18 01:47:06 2020 +0200 test: Print the ehandle unit test error output on verbose mode Unconditionally disabling the output makes diagnosing problems very hard. Let's do that only on the default silent mode. lib/dpkg/t/t-ehandle.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit e93d0e5d70fa36aa307a6ecaed433b8377c037bf Author: Guillem Jover Date: Sun Aug 16 22:54:39 2020 +0200 test: Fix short lived memory leaks in unit tests These are inconsequential, but shadow actual memory leaks from being detected by address sanitizers or similar tools. Warned-by: gcc ASAN lib/dpkg/t/c-tarextract.c | 2 ++ lib/dpkg/t/t-arch.c | 2 ++ lib/dpkg/t/t-buffer.c | 2 ++ lib/dpkg/t/t-command.c | 2 ++ lib/dpkg/t/t-file.c | 2 ++ 5 files changed, 10 insertions(+) commit 25797abf7f08c7db8c380fa08338088dd5acac49 Author: Guillem Jover Date: Fri Sep 4 00:02:44 2020 +0200 debian: Improve cron file robustness on missing or empty backup files Check whether the database files exist and ignore them otherwise. If some database file has been modified, but the current file being processed does not exist, created an empty backup so that they are all in sync with their sequence number. Closes: #969472 debian/dpkg.cron.daily | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 7d3eb5a6f16c936d502f776783051e24016613ed Author: Guillem Jover Date: Fri Aug 14 18:54:15 2020 +0200 debian: Do not fail the bug-script if readlink fails When readlink fails inside a $() the whole script fails. Remove the «set -e» from the bug-script, as making it fail will cause programs like reportbug to make it way harder to report bugs, which is counterproductive. Closes: #968397 debian/bug-script | 2 -- 1 file changed, 2 deletions(-) commit ee479e2c0764bc4902f9141ac886a8a7c8fffcd9 Author: Guillem Jover Date: Mon Aug 3 23:39:41 2020 +0200 libcompat, dpkg: Stop using deprecated security_context_t data type This got deprecated upstream in 2014, but only in 2020 the type started to emit deprecation warnings. Changelog: internal lib/compat/selinux.c | 3 +-- src/selinux.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) commit ddbec2477cec69dccfef602aeab988cc4a04e59e Author: Guillem Jover Date: Sun Nov 15 20:03:11 2020 +0100 man: Add references to deb822(5) to file formats based on it Prompted-by: Niels Thykier man/deb-buildinfo.pod | 5 ++++- man/deb-changes.pod | 4 +++- man/deb-control.pod | 5 +++-- man/deb-src-control.pod | 5 +++-- man/dsc.pod | 4 +++- 5 files changed, 16 insertions(+), 7 deletions(-) commit 3fb87b5c6ab75997b549da10d1555db51688690b Author: Guillem Jover Date: Sun Nov 15 19:32:08 2020 +0100 doc, man: Clarify that R³ values are case sensitive This is clear from the deb822(5) man page, but we can make this more clear on the brief format description for each of these file formats. Prompted-by: Niels Thykier doc/rootless-builds.txt | 2 +- man/deb-buildinfo.pod | 3 ++- man/deb-changes.pod | 3 ++- man/deb-control.pod | 3 ++- man/deb-src-control.pod | 3 ++- man/dsc.pod | 3 ++- 6 files changed, 11 insertions(+), 6 deletions(-) commit 5b195d4173ade091f175793d17dcbd53d88347ac Author: Guillem Jover Date: Mon Sep 21 10:37:54 2020 +0200 man: Remove trailing blank lines Changelog: silent man/dpkg-buildflags.pod | 1 - man/dpkg-checkbuilddeps.pod | 1 - man/start-stop-daemon.pod | 1 - 3 files changed, 3 deletions(-) commit 20e42a6a848f32c070ebb56383040155274b7be7 Author: Guillem Jover Date: Wed Oct 28 00:03:56 2020 +0100 man: Switch to use L<> markup for URLs instead of B<> man/deb-symbols.pod | 3 +-- man/dpkg-gensymbols.pod | 9 +++------ man/dpkg-source.pod | 4 ++-- man/dpkg.pod | 2 +- man/dselect.pod | 2 +- 5 files changed, 8 insertions(+), 12 deletions(-) commit 97eee9cd57f18c425a060470139c21f567db0d11 Author: Guillem Jover Date: Fri Sep 25 21:58:45 2020 +0200 man: Update u-a maintainer script usage information Prompted-by: Niels Thykier man/update-alternatives.pod | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit 05264f16e69d34b78700fccddc6f9950e75a8295 Author: Guillem Jover Date: Thu Oct 15 23:20:15 2020 +0200 man: Clarify day-of-month format in deb-changelog(5) Specify that the day-of-month accepts an optional leading zero, and the amount of supported spaces. Ref: #971977 Reported-by: Axel Beckert man/deb-changelog.pod | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 7a92a1448f6853ace12f2de5f804aebd324630c2 Author: Guillem Jover Date: Tue Sep 15 03:22:10 2020 +0200 man: Specify that symbol, version and id are separated by a single whitespace These have always been separated by a single space, in contrast to other values in the file, but allowing more spaces now would break backwards compatibility for something that's just aesthetics. Simply document the expected format. Closes: #970083 man/deb-symbols.pod | 1 + 1 file changed, 1 insertion(+) commit 9fabaf3b4e920ed13e892f748da02e0c4817d89a Author: Guillem Jover Date: Tue Sep 15 03:17:37 2020 +0200 man: Add a reference to deb-symbols(5) in deb-src-symbols(5) DESCRIPTION Makes it easier to see what this format is based on. Prompted-by: #970083 man/deb-src-symbols.pod | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit bec9f501185da1b8980a221fb6684a8644cc1e23 Author: Paul Wise Date: Tue Aug 11 01:24:11 2020 +0200 man: Fix typo in dpkg-source(1) Signed-off-by: Guillem Jover man/dpkg-source.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0c782cc235d338039db18f6e9c1e1b0c56612672 Author: Guillem Jover Date: Mon Aug 3 23:44:48 2020 +0200 man: Fix casing and namespacing in VARIABLES definitions Use uppercase for acronyms. Qualify GNU specific values with GNU. man/dpkg-architecture.pod | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) commit 4d0b9a3557680a7170f26643ec43430c5bba0334 Author: Guillem Jover Date: Sun Jul 26 12:58:00 2020 +0200 man: Clarify that dpkg-architecture uses some of its own variables Closes: #966111 man/dpkg-architecture.pod | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit c2f6c4acda8ef33dd0c9d8edb34a16d2a5ea801a Author: Guillem Jover Date: Sun Jul 26 12:58:00 2020 +0200 man: Fix typo in --print-unset option reference We need to refer to --print-set instead of --print-unset. Reported-by: Ferenc Wágner Closes: #966110 man/dpkg-architecture.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 631b7591c79395465ad6cb6b959b1dcc3b21971b Author: Guillem Jover Date: Sun Nov 15 03:26:50 2020 +0100 build: Do not try to use on GNU/Linux The glibc project has deprecated this header for some time and made it emit warnings, and removed it in 2.32. The Linux kernel has removed the functionality behind the syscall in 5.5. Warned-by: cpp configure.ac | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit e56a8172e3c3344d41592191734829d4afba6ce2 Author: Guillem Jover Date: Mon Nov 2 10:06:47 2020 +0100 build: Add a README.cpan to be installed as README in the CPAN distribution This is a requirement for the CPAN distributions. configure.ac | 1 + cpan.am | 1 + scripts/.gitignore | 1 + scripts/README.cpan.in | 5 +++++ 4 files changed, 8 insertions(+) commit cdb7949e668f16401fed77eec321b837f79ed1e2 Author: Guillem Jover Date: Sat Oct 10 18:44:41 2020 +0200 build: Fix variable substitution in man pages We need to do the substitution before converting from POD to man, otherwise the markup generated will make the regexes not match. Reported-by: Niels Thykier Notes: Closes: #978983 man/Makefile.am | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 15f285b9d0a00fd07931fff051f7803852d612af Author: Guillem Jover Date: Sat Sep 19 23:09:52 2020 +0200 build: Pre-process the curses header before parsing it We need to extract the KEY_* macros from the curses header file that we are going to end up including in the source. But we should not assume any kind of structure, because that's just fragile, as the contents can be included from other header files, or be protected behind a pre-processor macro or similar. Instead we use the CPP -dD option which will make the pre-processor handle all the internal details and output a list of active macros with their values, which we can then safely parse. Closes: #970545 dselect/.gitignore | 1 + dselect/Makefile.am | 16 ++++++---------- 2 files changed, 7 insertions(+), 10 deletions(-) commit 68ed7b9d987beb7bd5e5d92a97a7cad319a594c0 Author: Guillem Jover Date: Sun Nov 8 03:48:57 2020 +0100 build: Add new gen-changelog tool This tool will assist in preparing the debian/changelog out of the git log, by using the specially formatted commit messages and meta fields. Makefile.am | 1 + gen-changelog | 284 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 285 insertions(+) commit 41a98902abdc32eddaa454422abe96f2948f9718 Author: Guillem Jover Date: Sun Nov 8 03:45:41 2020 +0100 Dpkg::Index: Add new item_opts option This option makes it possible to pass options to the item constructor in new_item() method. scripts/Dpkg/Index.pm | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 511f7183dfc3ab82488120d0c4955dac1f9de282 Author: Guillem Jover Date: Sun Nov 8 03:36:45 2020 +0100 doc: Update l10n commit documentation Changelog: silent README.l10n | 59 +++++++++++++++++------------------------------------------ 1 file changed, 17 insertions(+), 42 deletions(-) commit c4d7c906e60b2fd5b382f57e5f578e90af2cbdba Author: Américo Monteiro Date: Thu Jul 23 04:40:10 2020 +0200 po: Add Portuguese man pages translation [guillem@debian.org: Hook into the build system. ] Closes: #964751 Signed-off-by: Guillem Jover man/.gitignore | 1 + man/po/po4a.cfg | 2 +- man/po/pt.add | 8 + man/po/pt.po | 27720 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 27730 insertions(+), 1 deletion(-) commit 9e0c88ec09475f4d1addde9cdba1ad7849720356 Author: Guillem Jover Date: Wed Jul 8 05:52:16 2020 +0200 Bump version to 1.20.6 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 823a67d67538b1b403a32d1fef40e6e228265566 Author: Guillem Jover Date: Wed Jul 8 05:42:07 2020 +0200 Release 1.20.5 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 377be82b6265c353f4d05862daf0392aa3d06b6f Author: Guillem Jover Date: Wed Jul 8 05:40:38 2020 +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/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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 82 files changed, 86 insertions(+), 86 deletions(-) commit b29b48c499f766a7920d82b9170157d86734dbcc Author: Guillem Jover Date: Wed Jul 8 05:10:06 2020 +0200 Dpkg::Source::Package::V1: Explicitly initialize constructor options Some of the options had not been explicitly initialized to their implicit default value, which broke when the code to verify signatures got refactored into Dpkg::OpenPGP::verify_signature() with a default for require_valid_signature of 1. This is required here too as this class does not call the initialization from its parent. This is error prone, and will be refactored in the future to make use of a common setup in the parent. debian/changelog | 5 +++++ scripts/Dpkg/Source/Package/V1.pm | 4 ++++ 2 files changed, 9 insertions(+) commit 0f0008ee4c93a4ae8bba89a876009e7fe4a387db Author: Guillem Jover Date: Wed Jul 8 05:05:19 2020 +0200 build: Set DEB_BUILD_ARCH to a dummy “amd64” in the CPAN distribution tests This way we do not require a dpkg(1) in the system, which will be common on non-dpkg based systems. debian/changelog | 2 ++ scripts/Build.PL.in | 2 ++ 2 files changed, 4 insertions(+) commit 8c0cd23e4b1aa04e661d8894df11f26dcbbb4b88 Author: Guillem Jover Date: Wed Jul 8 05:01:02 2020 +0200 build: Detect GNU program variants for make, patch and tar in CPAN On systems where the defaults for these programs are not the GNU variants, we need to look for them and use them in preference. Search in the CPAN distribution build system, for the names prefixed with «g» which is the convention used on BSD systems for GNU variants, and use them to replace the variables in the Dpkg module. debian/changelog | 3 +++ scripts/Build.PL.in | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+) commit f579b8ca61d18c72ccbd26b67885b10de3bb2b93 Author: Guillem Jover Date: Wed Jul 8 04:57:46 2020 +0200 test: Only print Dpkg::Path::check_directory_traversal() error on failure Using diag() unconditionally clutters the output, when we should only use it when the unit test fails. Switch that into a note(), and add a diag() for the passing case. debian/changelog | 2 ++ scripts/t/Dpkg_Path.t | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit e00fe1cd0de50d29b4ecf0d8df1bfb98fae4a08c Author: Guillem Jover Date: Wed Jul 8 04:47:52 2020 +0200 Revert "data: Prefix the specs file spec string self_spec with + instead of *" This reverts commit 73ff957bb512a2fd0a1cdd714ebe6d5c82f1b596. The prefix is supposed to go in the text itself instead of the spec name, which already had it. This change only apparently fixed the issue at hand because gcc started parsing it as the «[SUFFIX]:» case, completely disabling the PIE handling. Thanks-to: Thorsten Glaser data/no-pie-compile.specs | 2 +- data/no-pie-link.specs | 2 +- data/pie-compile.specs | 2 +- data/pie-link.specs | 2 +- debian/changelog | 8 ++++++++ 5 files changed, 12 insertions(+), 4 deletions(-) commit 10143ef3e24feaea02d273400eadb3cbe9cc0571 Author: Helge Kreutzmann Date: Tue Jul 7 13:18:29 2020 +0200 Update German scripts translation Update to 613t. debian/changelog | 3 ++- scripts/po/de.po | 11 +++++------ 2 files changed, 7 insertions(+), 7 deletions(-) commit 2b1089e0903c13c7761d4d6c1df01249d592784b Author: Guillem Jover Date: Tue Jul 7 08:13:25 2020 +0200 Bump version to 1.20.5 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 4a5bcd53607445c7edfa9f7c3528c702a440318a Author: Guillem Jover Date: Tue Jul 7 07:58:33 2020 +0200 Release 1.20.4 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 07601a7ca89be2c85edf883599371bf4d2b2a728 Author: Guillem Jover Date: Tue Jul 7 07:57:48 2020 +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/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 | 17 +++++++++++------ scripts/po/de.po | 18 ++++++++++++------ scripts/po/dpkg-dev.pot | 19 ++++++++++++------- scripts/po/es.po | 17 +++++++++++------ scripts/po/fr.po | 17 +++++++++++------ scripts/po/pl.po | 17 +++++++++++------ scripts/po/ru.po | 17 +++++++++++------ scripts/po/sv.po | 17 +++++++++++------ 82 files changed, 167 insertions(+), 126 deletions(-) commit 73ff957bb512a2fd0a1cdd714ebe6d5c82f1b596 Author: Guillem Jover Date: Wed Jul 1 18:24:13 2020 +0200 data: Prefix the specs file spec string self_spec with + instead of * Using * as a prefix for the spec entry makes it override any previous setting. This is problematic when we pass two or more -specs options to the compiler (f.ex. to link and compile on the same run), as then only the last one will take effect, breaking the builds. Closes: #870383 Ref: https://dev.gnupg.org/T4982 Prompted-by: NIIBE Yutaka Tested-by: Daniel Kahn Gillmor data/no-pie-compile.specs | 2 +- data/no-pie-link.specs | 2 +- data/pie-compile.specs | 2 +- data/pie-link.specs | 2 +- debian/changelog | 5 +++++ 5 files changed, 9 insertions(+), 4 deletions(-) commit 645f3342b92d2ac9fe9845a400b59541de02f37f Author: Guillem Jover Date: Fri Jul 3 19:26:42 2020 +0200 Dpkg::Path: Allow /dev/null for directory traversals This is a pattern used at least by systemd, and a standard pathname to use which should be innocuous, so add an exception for it. Reported-by: Holger Levsen debian/changelog | 2 ++ scripts/Dpkg/Path.pm | 1 + scripts/t/Dpkg_Path.t | 9 ++++++++- 3 files changed, 11 insertions(+), 1 deletion(-) commit 7d2b0adbb68b960bd487530466766a1818ca2133 Author: Guillem Jover Date: Fri Jul 3 07:11:25 2020 +0200 test: Add unit tests for Dpkg::Path::check_directory_traversal() debian/changelog | 1 + scripts/t/Dpkg_Path.t | 177 +++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 176 insertions(+), 2 deletions(-) commit 959c1dbdff41eba3fe108f148b70e4e95cf3113c Author: Guillem Jover Date: Fri Jul 3 07:11:25 2020 +0200 Dpkg::Path: Do not consider missing symlink targets a directory traversal Closes: #964234 debian/changelog | 2 ++ scripts/Dpkg/Path.pm | 3 +++ 2 files changed, 5 insertions(+) commit baa01dd67eecff51fa9f1b49d15e42121093b844 Author: Guillem Jover Date: Fri Jul 3 07:11:25 2020 +0200 Dpkg::Path: Catch uncanonicanizable pathnames with a proper error If the pathname cannot be canonicalized, we catch this and error out explicitly, instead of letting the catch-all error message for the directory traversal error message print a confusing diagnostic. Closes: #964111 debian/changelog | 2 ++ scripts/Dpkg/Path.pm | 3 +++ 2 files changed, 5 insertions(+) commit 64f3d6dd7d39a4bf09768ba9c96981562d60117c Author: Guillem Jover Date: Fri Jul 3 07:11:25 2020 +0200 Dpkg::Path: Do not do partial matches for directory traversal checks We need to match against the directory name and not just its prefix, so we have to expect a trailing slash after the base directory name. debian/changelog | 2 ++ scripts/Dpkg/Path.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit ce09f4e6952fd9edbb8b463fb3476eb4dacd712d Author: Guillem Jover Date: Mon Jul 6 12:27:29 2020 +0200 Dpkg::Path: Improve directory traversal error message to include target We should print what the canonicalized pathname is, to help the user better understand the error. scripts/Dpkg/Path.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 5490025f9acec8228026a5330f4a740f94f435cf Author: Guillem Jover Date: Sun Jul 5 16:39:46 2020 +0200 Dpkg::Path: Refactor check_directory_traversal() out of Dpkg::Source::Package This might be useful in other contexts, it is going to get a bit more complex and it will make it possible to unit test it. debian/changelog | 2 ++ scripts/Dpkg/Path.pm | 37 ++++++++++++++++++++++++++++++++++++- scripts/Dpkg/Source/Package.pm | 18 ++---------------- 3 files changed, 40 insertions(+), 17 deletions(-) commit 3ff18b853d55405245dc30176fec37d15292f0a2 Author: Guillem Jover Date: Sun Jul 5 17:04:20 2020 +0200 test: Use File::Path::make_path() instead of chained mkdir() in Dpkg_Path.t debian/changelog | 2 ++ scripts/t/Dpkg_Path.t | 13 +++++-------- 2 files changed, 7 insertions(+), 8 deletions(-) commit e33b22419e7ac26934500910d152c3b90765889f Author: Guillem Jover Date: Sun Jul 5 16:55:51 2020 +0200 Dpkg::OpenPGP: Use a temporary directory for the GnuPG homedir This time for the verify_signature() function, to make sure we do not write to the user home directory, except for the trustkeys.db file if present. debian/changelog | 3 +++ scripts/Dpkg/OpenPGP.pm | 3 +++ 2 files changed, 6 insertions(+) commit df8dca6671184a7108bf43b04fb641929f9cab3e Author: Guillem Jover Date: Sun Jul 5 16:48:11 2020 +0200 Dpkg::Source::Package: Explicitly initialize constructor options Some of the options had not been explicitly initialized to their implicit default value, which broke when the code to verify signatures got refactored into Dpkg::OpenPGP::verify_signature() with a default for require_valid_signature of 1. We explicitly initialize all supported options so that this does not happen again in the future. Closes: #964017 debian/changelog | 4 ++++ scripts/Dpkg/Source/Package.pm | 7 +++++++ 2 files changed, 11 insertions(+) commit 31ad5991289203b5feb4cc6b737e7e009935a019 Author: Guillem Jover Date: Fri Jul 3 05:49:25 2020 +0200 build: Add Module::Signature as configure recommends for CPAN We want in general to sign the CPAN distribution, so recommend the module, but there is no need to require it in case third parties want to generate a distribution. debian/changelog | 4 ++++ scripts/Build.PL.in | 5 +++++ 2 files changed, 9 insertions(+) commit ed6ab060a45604401df80b5cb54cfada61ef494c Author: Sven Joachim Date: Mon Jun 29 22:09:22 2020 +0200 German dpkg translation update Update to 1153t. debian/changelog | 3 ++- po/de.po | 9 ++++----- 2 files changed, 6 insertions(+), 6 deletions(-) commit 89d2d489f8d9e9ec3bffc17c5e17247ce4ee74ff Author: Guillem Jover Date: Mon Jun 29 16:10:31 2020 +0200 Bump version to 1.20.4 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 70ca7d65125b7a2cc26e63ee5183c5d827dd01b6 Author: Guillem Jover Date: Mon Jun 29 12:40:32 2020 +0200 Release 1.20.3 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5508fe9e8ba27a8f370d429f331360c0243a54f7 Author: Guillem Jover Date: Mon Jun 29 12:37:50 2020 +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 | 8 +++++++- po/bs.po | 12 +++++++++++- po/ca.po | 8 +++++++- po/cs.po | 8 +++++++- po/da.po | 8 +++++++- po/de.po | 8 +++++++- po/dpkg.pot | 9 +++++++-- po/dz.po | 8 +++++++- po/el.po | 8 +++++++- po/eo.po | 8 +++++++- po/es.po | 9 ++++++++- po/et.po | 8 +++++++- po/eu.po | 8 +++++++- po/fr.po | 8 +++++++- po/gl.po | 8 +++++++- po/hu.po | 8 +++++++- po/id.po | 8 +++++++- po/it.po | 8 +++++++- po/ja.po | 8 +++++++- po/km.po | 8 +++++++- po/ko.po | 8 +++++++- po/ku.po | 7 ++++++- po/lt.po | 8 +++++++- po/mr.po | 8 +++++++- po/nb.po | 8 +++++++- po/ne.po | 8 +++++++- po/nl.po | 8 +++++++- po/nn.po | 7 ++++++- po/pa.po | 8 +++++++- po/pl.po | 8 +++++++- po/pt.po | 8 +++++++- po/pt_BR.po | 8 +++++++- po/ro.po | 8 +++++++- po/ru.po | 8 +++++++- po/sk.po | 8 +++++++- po/sv.po | 8 +++++++- po/th.po | 8 +++++++- po/tl.po | 7 ++++++- po/tr.po | 8 +++++++- po/vi.po | 8 +++++++- po/zh_CN.po | 8 +++++++- po/zh_TW.po | 8 +++++++- 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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 82 files changed, 339 insertions(+), 86 deletions(-) commit aca9f2af3c238b9040287a96956b46daf8fb1a70 Author: Guillem Jover Date: Mon Jun 29 12:20:06 2020 +0200 debian: Add bug closure This had already been fixed but got reported on the BTS later on. debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a9ad552d765ac1dbae3cb1d3b05fe4ecd8302baa Author: Guillem Jover Date: Mon Jun 29 12:18:34 2020 +0200 build: Improve error diagnosis for configure version fetching script Check for git being present and error out otherwise explaining why. And improve the fallback error message to mention that this is neither a git checkout nor a distribution tarball. Prompted-by: Norbert Preining debian/changelog | 3 +++ get-version | 15 ++++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) commit 919c568044fc2497e8146039f07822ff1c9d89ae Author: Guillem Jover Date: Sun Jun 28 17:20:26 2020 +0200 libdpkg: Print a notice if we cannot write to the log file If we cannot write to the log file we should at least let the user know, but in the same way we do not error out if we cannot open the log file, we will not error out here. Warned-by: coverity debian/changelog | 2 ++ lib/dpkg/log.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) commit 0b9db34e3efabbbbbd11f253ac84d66d84f437d8 Author: Guillem Jover Date: Sun Jun 28 17:18:46 2020 +0200 Dpkg::OpenPGP: Do not use interpolated string for a literal Fixes: commit 7b2d550c64191597827350fa447bf9caf15b749a scripts/Dpkg/OpenPGP.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7b2d550c64191597827350fa447bf9caf15b749a Author: Guillem Jover Date: Sun Jun 28 17:02:49 2020 +0200 Dpkg::OpenPGP: Use a temporary directory for the GnuPG homedir In import_key() when calling gpg we need to specify a temporary homedir to make sure we do not write to the user home directory, which might be read-only or non-existent. Reported-by: Mattia Rizzolo debian/changelog | 4 ++++ scripts/Dpkg/OpenPGP.pm | 5 +++++ 2 files changed, 9 insertions(+) commit a676dcade15172dccf92cb7677e0bbf8119fe1a7 Author: Guillem Jover Date: Sun Jun 28 16:33:03 2020 +0200 Dpkg::Source::Package: Make import_key() call honor require_valid_signature The call to import_key() in check_original_tarball_signature() did not pass the require_valid_signature option, so it was always considering problems as fatal, while that option defaults to false. Reported-by: Mattia Rizzolo debian/changelog | 3 +++ scripts/Dpkg/Source/Package.pm | 15 ++++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) commit 301f5ec1a60e4fa6a0d69f2dd3f9c54285f0f798 Author: Guillem Jover Date: Sun Jun 28 12:29:12 2020 +0200 Dpkg::Build::Info: Clarify by giving context to the deprecation warning These built-in warnings provide no context, and in this particular case the warning message was a bit cryptic anyway. So we need to give it more context. In this case just fully qualifying the function name, and stating what is being deprecated, should be enough to give a hint of what is going on. Closes: #963844 Reported-by: Sven Joachim debian/changelog | 3 +++ scripts/Dpkg/Build/Info.pm | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) commit 4872eee04f9127ee70140e63222b5993e37e69df Author: Guillem Jover Date: Sun Jun 28 12:17:33 2020 +0200 Dpkg::OpenPGP: Pass --no-options to gpg in verify_signature() This is what we do with all other gpg calls, so that we do not end up writing into the GnuPG configuration directory. Closes: #963839 Reported-by: Bertrand Marc debian/changelog | 5 +++++ scripts/Dpkg/OpenPGP.pm | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) commit 67532f0d793518b7436990e5010bd2864e869aba Author: Sven Joachim Date: Sun Jun 28 08:51:21 2020 +0200 German dpkg translation update Update to 1152t. debian/changelog | 3 ++- po/de.po | 14 ++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) commit 91e79feffb633040860ac06680acb8a7f534010f Author: Guillem Jover Date: Sun Jun 28 01:31:38 2020 +0200 Bump version to 1.20.3 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit b7357b0a82df729e8220cb642fb71dffe63fae2c Author: Guillem Jover Date: Sun Jun 28 00:43:03 2020 +0200 Release 1.20.2 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 132ca3dafaeb847c8a1ce203aeba439b665e84d3 Author: Guillem Jover Date: Sun Jun 28 00:42:11 2020 +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 | 26 +++++++++++++++++++------- po/bs.po | 32 ++++++++++++++++++++++++++------ po/ca.po | 24 ++++++++++++++++++------ po/cs.po | 24 ++++++++++++++++++------ po/da.po | 24 ++++++++++++++++++------ po/de.po | 24 ++++++++++++++++++------ po/dpkg.pot | 22 ++++++++++++++++------ po/dz.po | 26 +++++++++++++++++++------- po/el.po | 26 +++++++++++++++++++------- po/eo.po | 24 ++++++++++++++++++------ po/es.po | 24 ++++++++++++++++++------ po/et.po | 26 +++++++++++++++++++------- po/eu.po | 24 ++++++++++++++++++------ po/fr.po | 24 ++++++++++++++++++------ po/gl.po | 26 +++++++++++++++++++------- po/hu.po | 26 +++++++++++++++++++------- po/id.po | 26 +++++++++++++++++++------- po/it.po | 24 ++++++++++++++++++------ po/ja.po | 24 ++++++++++++++++++------ po/km.po | 26 +++++++++++++++++++------- po/ko.po | 26 +++++++++++++++++++------- po/ku.po | 22 ++++++++++++++++------ po/lt.po | 25 ++++++++++++++++++------- po/mr.po | 26 +++++++++++++++++++------- po/nb.po | 26 +++++++++++++++++++------- po/ne.po | 26 +++++++++++++++++++------- po/nl.po | 24 ++++++++++++++++++------ po/nn.po | 24 ++++++++++++++++++------ po/pa.po | 24 +++++++++++++++++------- po/pl.po | 24 ++++++++++++++++++------ po/pt.po | 24 ++++++++++++++++++------ po/pt_BR.po | 24 ++++++++++++++++++------ po/ro.po | 26 +++++++++++++++++++------- po/ru.po | 24 ++++++++++++++++++------ po/sk.po | 24 ++++++++++++++++++------ po/sv.po | 24 ++++++++++++++++++------ po/th.po | 24 ++++++++++++++++++------ po/tl.po | 24 ++++++++++++++++++------ po/tr.po | 24 ++++++++++++++++++------ po/vi.po | 24 ++++++++++++++++++------ po/zh_CN.po | 24 ++++++++++++++++++------ po/zh_TW.po | 24 ++++++++++++++++++------ 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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 82 files changed, 815 insertions(+), 310 deletions(-) commit 66a8200338ccd5b2ecea7999d44fce2bf4253611 Author: Guillem Jover Date: Sun Jun 28 00:37:13 2020 +0200 Dpkg::Source::Package: Turn missing tarball signature error into a warning Do this for now, as it is causing unintended fallout, and does not play nice (yet) with tarballs repackaged by uscan(1). While a warning is not really satisfactory, it's good enough while a better deployment is devised. Closes: #963821 debian/changelog | 5 +++++ scripts/Dpkg/Source/Package/V1.pm | 2 +- scripts/Dpkg/Source/Package/V2.pm | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) commit c4830037013f02c3b5d461857d62d6f6e344e8a4 Author: Guillem Jover Date: Sat Jun 27 23:32:11 2020 +0200 build: Fix name generation for translated man pages We need to use the shortest match, or we end up passing an empty argument which pod2man rejects and produces no output, which results in empty man pages being generated. Fixes: commit 81a1eb213668faabc6fe0e359cee2542c7e3c555 Closes: #963794 debian/changelog | 4 ++-- man/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 244dec2a9c3f6e9e3fcec1d7ef34f72cda013121 Author: Guillem Jover Date: Sat Jun 27 16:07:35 2020 +0200 u-a: Create log directory if missing This will help with installation bootstrapping when dpkg has not yet been unpacked, or when using chroot style installations. Otherwise on normal operation this should never trigger. debian/changelog | 1 + utils/update-alternatives.c | 10 ++++++++++ 2 files changed, 11 insertions(+) commit 5f271ad4adfd8775683f7c85f3cb1788ff4a3030 Author: Guillem Jover Date: Sat Jun 27 16:06:55 2020 +0200 u-a: Add new xstrndup() and xdirname() functions debian/changelog | 1 + utils/update-alternatives.c | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) commit aa9159778d46bff55bcdb7501d280766a5f556a0 Author: Guillem Jover Date: Sat Jun 27 16:05:18 2020 +0200 u-a: Move log_msg() after make_path() This way we can use the latter. debian/changelog | 3 +++ utils/update-alternatives.c | 52 ++++++++++++++++++++++----------------------- 2 files changed, 29 insertions(+), 26 deletions(-) commit 6778b59ea0ec176000ed2ff0c7d4cdc72326f9ec Author: Guillem Jover Date: Sat Jun 27 15:32:15 2020 +0200 u-a: Create alternatives directory if missing This will help with installation bootstrapping when dpkg has not yet been unpacked, or when using chroot style installations. Otherwise on normal operation this should never trigger. Reported-by: Johannes Schauer debian/changelog | 3 +++ utils/update-alternatives.c | 11 +++++++++++ 2 files changed, 14 insertions(+) commit 3ef20c9d544ca0c2f3a6d617b0a9a380fca218a6 Author: Guillem Jover Date: Sat Jun 27 13:48:41 2020 +0200 build: Fix name and section generation for translated man pages The name and section were not being properly generated, which caused dh_installman to get very confused and end up installing empty man pages. Fixes: commit 81a1eb213668faabc6fe0e359cee2542c7e3c555 Closes: #963794 debian/changelog | 3 +++ man/Makefile.am | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 56c1ba5b08e917e4b458c98c022e0d84c9c15bdf Author: Guillem Jover Date: Sat Jun 27 13:35:03 2020 +0200 debian: Install deb-src-symbols(5) in dpkg-dev package Fixes: commit 7100870cbd2e90f994f3e812bd12e85b814a1af5 debian/changelog | 1 + debian/dpkg-dev.manpages | 1 + 2 files changed, 2 insertions(+) commit c624b86dea639702c0b464f40f13979688c70f07 Author: Guillem Jover Date: Sat Jun 27 13:34:50 2020 +0200 debian: Sort dpkg-dev.manpages file debian/changelog | 2 ++ debian/dpkg-dev.manpages | 24 ++++++++++++------------ 2 files changed, 14 insertions(+), 12 deletions(-) commit d06eaaa3b7a16a3636e278f8f467cb4e5dfab836 Author: Guillem Jover Date: Sat Jun 27 10:53:47 2020 +0200 dpkg: Do not include the architecture with --robot --version Fixes: commit 934741712f54226c26d909f6210e17164cc8936c debian/changelog | 1 + src/main.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit edc10b4b9e2632340ad131ad48bef31c2254a5b1 Author: Guillem Jover Date: Sat Jun 27 10:32:38 2020 +0200 build: Do not fail if po4a is not found, and search for it just once A missing po4a should not be fatal, as it was before. And we should not override the initial feature check with the standard check, which was left over by mistake when the new check was introduced. Fixes: commit a74a91310260efe55cc986506fe208ae2776a45a debian/changelog | 1 + m4/dpkg-progs.m4 | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) commit 7fd81dbbb95467b1ac1f8fbf2230ed6660aac87f Author: Guillem Jover Date: Sat Jun 27 10:30:05 2020 +0200 build: Set SHELL in the test environment Make sure that SHELL is set in the test environment, otherwise the shell invocations will fail. check.am | 1 + debian/changelog | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit 481a33ca35578f718890c909d53c195d97406e2d Author: Guillem Jover Date: Sat Jun 27 03:10:42 2020 +0200 Bump version to 1.20.2 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit b137e40d1b8bed00f758d9e70b58f6867cd756a1 Author: Guillem Jover Date: Sat Jun 27 02:41:53 2020 +0200 Release 1.20.1 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 63471db0248c7ad729e75a5c85c8a35cba588342 Author: Guillem Jover Date: Sat Jun 27 02:41:47 2020 +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 | 317 +++++++++++++++++++++++------- man/po/es.po | 425 +++++++++++++++++++++++++++++++++------- man/po/fr.po | 506 +++++++++++++++++++++++++++++++++++++++--------- man/po/hu.po | 343 +++++++++++++++++++++++++------- man/po/it.po | 448 ++++++++++++++++++++++++++++++++++-------- man/po/ja.po | 437 +++++++++++++++++++++++++++++++++-------- man/po/nl.po | 483 +++++++++++++++++++++++++++++++++++++-------- man/po/pl.po | 434 ++++++++++++++++++++++++++++++++++------- man/po/pt_BR.po | 353 ++++++++++++++++++++++++++------- man/po/ru.po | 363 +++++++++++++++++++++++++++------- man/po/sv.po | 427 +++++++++++++++++++++++++++++++++------- man/po/zh_CN.po | 337 +++++++++++++++++++++++++------- po/ast.po | 179 ++++++++++++----- po/bs.po | 144 ++++++++++---- po/ca.po | 291 +++++++++++++++++++++++----- po/cs.po | 257 +++++++++++++++++++----- po/da.po | 251 +++++++++++++++++++----- po/de.po | 2 +- po/dpkg.pot | 118 +++++++---- po/dz.po | 157 +++++++++++---- po/el.po | 168 +++++++++++----- po/eo.po | 251 +++++++++++++++++++----- po/es.po | 258 +++++++++++++++++++----- po/et.po | 160 ++++++++++----- po/eu.po | 251 +++++++++++++++++++----- po/fr.po | 257 +++++++++++++++++++----- po/gl.po | 168 +++++++++++----- po/hu.po | 159 +++++++++++---- po/id.po | 169 ++++++++++++---- po/it.po | 257 +++++++++++++++++++----- po/ja.po | 259 ++++++++++++++++++++----- po/km.po | 155 +++++++++++---- po/ko.po | 171 ++++++++++++---- po/ku.po | 131 +++++++++---- po/lt.po | 143 ++++++++++---- po/mr.po | 153 +++++++++++---- po/nb.po | 169 ++++++++++++---- po/ne.po | 157 +++++++++++---- po/nl.po | 291 +++++++++++++++++++++++----- po/nn.po | 135 +++++++++---- po/pa.po | 158 ++++++++++----- po/pl.po | 257 +++++++++++++++++++----- po/pt.po | 291 +++++++++++++++++++++++----- po/pt_BR.po | 166 ++++++++++++---- po/ro.po | 169 ++++++++++++---- po/ru.po | 252 +++++++++++++++++++----- po/sk.po | 194 ++++++++++++++----- po/sv.po | 251 +++++++++++++++++++----- po/th.po | 252 +++++++++++++++++++----- po/tl.po | 135 +++++++++---- po/tr.po | 259 ++++++++++++++++++++----- po/vi.po | 281 +++++++++++++++++++++------ po/zh_CN.po | 291 +++++++++++++++++++++++----- po/zh_TW.po | 257 +++++++++++++++++++----- 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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 93 files changed, 10634 insertions(+), 2795 deletions(-) commit 85189151adc93655981a2e133b254412f50c20dc Author: Guillem Jover Date: Sat Jun 27 02:15:19 2020 +0200 test: Add new test cases for dpkg-realpath scripts/Makefile.am | 1 + scripts/t/dpkg_realpath.t | 127 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 128 insertions(+) commit 9a55202f13a437c9b89a35fa60efb06d3c07c1d3 Author: Guillem Jover Date: Sat Jun 27 02:14:01 2020 +0200 dpkg-realpath: Properly handle relative pathnames If the pathname is relative prefix the current working directory, and then strip from it any root directory specified. scripts/dpkg-realpath.sh | 6 ++++++ 1 file changed, 6 insertions(+) commit ecaa7595adcfd046ede09809b072895511d8666d Author: Guillem Jover Date: Sat Jun 27 02:13:39 2020 +0200 dpkg-realpath: Do not accept unknown short options scripts/dpkg-realpath.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 90ce50af0a520552952cc37d708db7a0671700ef Author: Guillem Jover Date: Sat Jun 27 02:12:44 2020 +0200 dpkg-realpath, dpkg-m-h: Use DPKG_DATADIR for PKGDATADIR This makes it possible to set the directory to point to the source tree regardless of the current working directory. These assignments will be reset on installation by the final pkgdatadir anyway. scripts/dpkg-maintscript-helper.sh | 2 +- scripts/dpkg-realpath.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 32c670b028464a9bd6ea25d0e926515127eb7d4b Author: Sven Joachim Date: Fri Jun 26 18:17:26 2020 +0200 German dpkg translation update Update to 1150t. po/de.po | 185 +++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 128 insertions(+), 57 deletions(-) commit fe370de1e518de34db2d97c1d1ccc141141bf3fc Author: Guillem Jover Date: Fri Jun 26 07:09:57 2020 +0200 dpkg-realpath, dpkg-m-h: Normalize root directory First use realpath on the root directory, then handle the default root directory case («/») by setting the root directory to an empty string. scripts/dpkg-maintscript-helper.sh | 4 ++++ scripts/dpkg-realpath.sh | 7 +++++++ 2 files changed, 11 insertions(+) commit 5f454c08c5e3190dce3256019b4adef93dc62f99 Author: Guillem Jover Date: Fri Jun 26 06:37:10 2020 +0200 dpkg-realpath: Do not expect pathname to be prefixed with root directory This made its usage cumbersome as then the root directory needs to be specified twice. It also diverges from the other commands as they do not expect the root directory to be prefixed, which would make this a rather unexpected interface. scripts/dpkg-maintscript-helper.sh | 2 +- scripts/dpkg-realpath.sh | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) commit 11d1b249cf7bd838d6c608d99a5b61a87e6e3ebf Author: Guillem Jover Date: Fri Jun 26 06:35:56 2020 +0200 dpkg-realpath, dpkg-m-h: Export DPKG_ROOT variable We need to make sure we initialize and export DPKG_ROOT so that dpkg child processes get the environment variable. scripts/dpkg-maintscript-helper.sh | 1 + scripts/dpkg-realpath.sh | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit d462d716908250024e9487ac69b0ed69880eec95 Author: Guillem Jover Date: Fri Jun 26 06:17:15 2020 +0200 dpkg-realpath: Check pathname argument after options parsing Fixes: commit 584d2a5575627f34dd796b550b09c590d34a79ae scripts/dpkg-realpath.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 583fbe17b97addd1fa11cb06ee6d46b140e80721 Author: Helge Kreutzmann Date: Thu Jun 25 21:28:01 2020 +0200 Update German translation of manual pages Update to 3116t1u. Fix typo noticed by Sven Joachim , thanks. man/po/de.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6dd2a4e569ba0a852a91d5fc3c315c56fe61e903 Author: Guillem Jover Date: Thu Jun 25 21:02:29 2020 +0200 dpkg: Add missing coma in assertable list Reported-by: Sven Joachim Fixes: commit e0e096046a8919a30b70d6bfd0443f25ceab3cdc src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c1e361f60b3a9bc342a4e423fd49a2cce9f34c86 Author: Guillem Jover Date: Thu Jun 25 18:40:55 2020 +0200 scripts: Fix shell library loading Move the «sh/» directory from the PKGDATADIR assignment to the shell library loading, as this is not really part of the actual PKGDATADIR. Fixes: commit 584d2a5575627f34dd796b550b09c590d34a79ae Fixes: commit 5a683899c5216dd565d21bb9b6592c1c6fde174b scripts/dpkg-maintscript-helper.sh | 4 ++-- scripts/dpkg-realpath.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 193fc4ce968888931be7071838d4f555dd37de9c Author: Guillem Jover Date: Thu Jun 25 18:06:22 2020 +0200 debian: Install dpkg-realpath and dpkg-error.sh in dpkg.deb Fixes: commit 584d2a5575627f34dd796b550b09c590d34a79ae debian/dpkg.install | 2 ++ 1 file changed, 2 insertions(+) commit 8a6f287b57f1a4c5deb3808f66d93123eb8c3382 Author: Helge Kreutzmann Date: Thu Jun 25 20:52:28 2020 +0200 Update German translation of manual pages Update to 3116t1u. man/po/de.po | 431 +++++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 328 insertions(+), 103 deletions(-) commit 89ed75d78dfccdcf6947c0231390f23991dbe698 Author: Guillem Jover Date: Sun Jan 8 13:35:48 2017 +0100 u-a: Add DPKG_ROOT support Add new --instdir, and --rootdir options. Adapt the existing fsys abstraction to prefix instdir, and the output messages to take that into account too when necessary. Closes: #871808 debian/changelog | 2 + man/update-alternatives.pod | 15 +++++ utils/Makefile.am | 1 + utils/t/update_alternatives.t | 3 + utils/update-alternatives.c | 150 ++++++++++++++++++++++++++++++++++-------- 5 files changed, 143 insertions(+), 28 deletions(-) commit 6db22ef4bcb66f587164dc05710cd577317ae2c0 Author: Guillem Jover Date: Sun Apr 19 17:24:36 2020 +0200 u-a: Add filesystem abstraction functions Abstract all filesystem access that should eventually be based on instdir via fsys_ prefixed functions, so that instdir is always prefixed very close to the functions that are going to do the actual filesystem access. This will make the code more maintainable and easy to reason about, even though we might end up doing more concatenation work than strictly necessary due to repeated prefixing further up the call stack. debian/changelog | 1 + utils/update-alternatives.c | 156 ++++++++++++++++++++++++++------------------ 2 files changed, 94 insertions(+), 63 deletions(-) commit cf6060588dd3305cb159d45aa361e78777344153 Author: Guillem Jover Date: Sun Apr 19 17:23:34 2020 +0200 u-a: Add general purpose non-failing functions for admin directory access This will make possible to apply different logic to the administrative directory access and to the filesystem access. debian/changelog | 2 ++ utils/update-alternatives.c | 27 +++++++++++++++++++++++++-- 2 files changed, 27 insertions(+), 2 deletions(-) commit 4524ec76857fc3864360ceb99dc7e120d3e88b65 Author: Guillem Jover Date: Sun Apr 19 16:31:43 2020 +0200 u-a: Move argument parsing functions close to main() debian/changelog | 1 + utils/update-alternatives.c | 80 ++++++++++++++++++++++----------------------- 2 files changed, 41 insertions(+), 40 deletions(-) commit 6a6a1422388059727dd642cbd5b9a4759fdc4a53 Author: Guillem Jover Date: Sun Apr 19 16:30:44 2020 +0200 u-a: Move logging function close to output functions debian/changelog | 1 + utils/update-alternatives.c | 55 ++++++++++++++++++++++----------------------- 2 files changed, 28 insertions(+), 28 deletions(-) commit dc6d81249f6e47c3d026d4d8576b1498a4ec34fa Author: Guillem Jover Date: Sun Apr 19 14:52:18 2020 +0200 u-a: Parametrize option names in output strings This makes the translations more generic, avoids translators incorrectly translating them, and fixes two instances of bogus option names in error messages. debian/changelog | 1 + utils/update-alternatives.c | 27 +++++++++++++++++---------- 2 files changed, 18 insertions(+), 10 deletions(-) commit 50e65267da27acf6e26bd9728e639d9acf25e275 Author: Guillem Jover Date: Sat May 2 23:15:42 2020 +0200 Reformat shell code to follow the coding style debian/changelog | 1 + debian/dpkg.cron.daily | 50 +- debian/dpkg.postrm | 38 +- dselect/methods/disk/install | 156 +++--- dselect/methods/disk/setup | 317 ++++++------ dselect/methods/disk/update | 101 ++-- dselect/methods/multicd/install | 196 ++++--- dselect/methods/multicd/setup | 645 +++++++++++------------ dselect/methods/multicd/update | 129 +++-- scripts/dpkg-maintscript-helper.sh | 1002 ++++++++++++++++++------------------ 10 files changed, 1301 insertions(+), 1334 deletions(-) commit 6e840da58d56d61e58bbf4d2abbf3f485b34849f Author: Guillem Jover Date: Sun Oct 14 19:33:04 2018 +0200 dpkg-maintscript-helper: Support DPKG_ROOT for symlink ←→ dir Closes: #832176 Based-on-patch-by: Bastien ROUCARIÈS Signed-off-by: Guillem Jover debian/changelog | 3 ++ man/dpkg-maintscript-helper.pod | 8 ++++ scripts/dpkg-maintscript-helper.sh | 87 ++++++++++++++++++++------------------ 3 files changed, 58 insertions(+), 40 deletions(-) commit ab625356a41fd10f9e6d16becef021bdd81ea441 Author: David Kalnischkies Date: Sat Jul 23 10:07:53 2016 +0200 dpkg-maintscript-helper: Support DPKG_ROOT for conffiles As dpkg-maintscript-helper "works around known dpkg limitations in maintainer scripts" it should behave as if it were a maintainerscript and prepend DPKG_ROOT to all paths it uses. This is preferred over having the conffile parameter(s) be prepended with DPKG_ROOT by the maintainerscripts calling the helper as the helper would then need to strip DPKG_ROOT from the path to verify if the conffile belongs to the package – it also means that it magically works for all callers instantly instead of requiring e.g. dh_installdeb to be patched and packages to be rebuilt against a patched version. Signed-off-by: Guillem Jover debian/changelog | 3 ++ scripts/dpkg-maintscript-helper.sh | 63 +++++++++++++++++++------------------- 2 files changed, 35 insertions(+), 31 deletions(-) commit 62fb1c5e631516cbaf8d5a3578e3b68d19379134 Author: Guillem Jover Date: Tue Jun 2 05:43:24 2020 +0200 dpkg-realpath: Add support for --root and --instdir options debian/changelog | 1 + man/dpkg-realpath.pod | 13 ++++++++++++- scripts/dpkg-realpath.sh | 16 ++++++++++++++-- 3 files changed, 27 insertions(+), 3 deletions(-) commit 8c59d393220ab34cd7a6ee3791f05ae15d3cf44b Author: Helmut Grohne Date: Wed May 20 18:35:08 2020 +0200 dpkg-realpath: Add support for DPKG_ROOT [guillem@debian.org: - Hook the canonicalize function into the script. - Document the DPKG_ROOT usage in the man page. ] Signed-off-by: Guillem Jover debian/changelog | 2 ++ man/dpkg-realpath.pod | 4 +++ scripts/dpkg-realpath.sh | 70 +++++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 75 insertions(+), 1 deletion(-) commit 584d2a5575627f34dd796b550b09c590d34a79ae Author: Guillem Jover Date: Wed May 20 18:32:33 2020 +0200 dpkg-realpath: Add new program This program will be used by dpkg-maintscript-helper and any maintainter script that needs a realpath that can handle pathnames relative to the dpkg root directory. debian/changelog | 3 ++ debian/dpkg.manpages | 1 + man/Makefile.am | 2 ++ man/dpkg-realpath.pod | 59 ++++++++++++++++++++++++++++++++++++ man/po/po4a.cfg | 1 + scripts/.gitignore | 1 + scripts/Makefile.am | 2 ++ scripts/dpkg-realpath.sh | 78 ++++++++++++++++++++++++++++++++++++++++++++++++ t/shellcheck.t | 1 + 9 files changed, 148 insertions(+) commit 5a683899c5216dd565d21bb9b6592c1c6fde174b Author: Guillem Jover Date: Wed May 20 18:31:07 2020 +0200 scripts: Refactor shell error handling into a shell library debian/changelog | 1 + scripts/Makefile.am | 4 ++ scripts/dpkg-maintscript-helper.sh | 79 ++------------------------------ scripts/sh/dpkg-error.sh | 92 ++++++++++++++++++++++++++++++++++++++ t/shellcheck.t | 1 + 5 files changed, 102 insertions(+), 75 deletions(-) commit e0e096046a8919a30b70d6bfd0443f25ceab3cdc Author: Guillem Jover Date: Thu Jun 25 13:28:50 2020 +0200 Add Protected field support This field is intended to make it possible to move several of the current packages marked as Essential, so that they can be removed on installations where these do not make sense being installed. Protected packages have some of the properties of Essential, but not all. These are intended to be used mostly for packages that are involved in booting the system. Makefile.am | 1 + debian/changelog | 1 + debian/dpkg-dev.docs | 1 + doc/protected-field.txt | 74 ++++++++++++++++++++++++++++++++++++++ lib/dpkg/dpkg-db.h | 2 ++ lib/dpkg/parse.c | 1 + lib/dpkg/pkg.c | 1 + man/deb-control.pod | 14 +++++--- man/deb-src-control.pod | 2 ++ man/dpkg-query.pod | 2 ++ man/dpkg.pod | 10 ++++++ man/dsc.pod | 5 +++ scripts/Dpkg/Control/FieldsCore.pm | 11 ++++-- scripts/dpkg-source.pl | 4 ++- scripts/t/Dpkg_Control_Fields.t | 11 +++--- src/archives.c | 25 ++++++++++--- src/enquiry.c | 8 +++++ src/force.c | 5 +++ src/force.h | 1 + src/main.c | 3 +- src/main.h | 2 ++ src/remove.c | 12 +++++-- src/select.c | 4 ++- src/unpack.c | 1 + 24 files changed, 178 insertions(+), 23 deletions(-) commit de218c8fa0ff58fe28735104a5ad10f3999e0470 Author: Guillem Jover Date: Sat Jun 20 00:21:16 2020 +0200 Dpkg::Shlibs::SymbolFile: Avoid blacklist and whitelist terms While the terms whitelist and blacklist do not have an etymology with racial connotations, they still attribute positive and negative connotations to these colors for terms that are not explicitly descriptive of what they mean. We can use instead terms that are more descriptive, and have no negative connotations. Explicitly spell out that this is about internal symbols, and whether we allow them to appear in symbol files. Even though there do not appear to be users for the old directives in Debian, we will still do an ordered transition with deprecation warnings in case private and/or third-party users are affected. debian/changelog | 1 + man/deb-src-symbols.pod | 17 +++-- man/deb-symbols.pod | 13 ++-- scripts/Dpkg/Shlibs/SymbolFile.pm | 47 +++++++++---- scripts/Makefile.am | 10 +-- scripts/t/Dpkg_Shlibs.t | 80 +++++++++++----------- .../{objdump.blacklisted => objdump.internal} | 4 +- scripts/t/Dpkg_Shlibs/symbols.blacklist-filter | 3 - scripts/t/Dpkg_Shlibs/symbols.blacklist-groups | 4 -- scripts/t/Dpkg_Shlibs/symbols.blacklist-ignore | 3 - .../{symbols.blacklisted => symbols.internal} | 0 scripts/t/Dpkg_Shlibs/symbols.internal-allow | 3 + .../t/Dpkg_Shlibs/symbols.internal-allow-groups | 4 ++ scripts/t/Dpkg_Shlibs/symbols.internal-filter | 3 + 14 files changed, 111 insertions(+), 81 deletions(-) commit ff505bc6a53a4b49e50b0725e71cc27d1226052b Author: Guillem Jover Date: Fri Jun 19 23:34:34 2020 +0200 Dpkg::Build::Info: Avoid whitelist in function name While the terms whitelist and blacklist do not have an etymology with racial connotations, they still attribute positive and negative connotations to these colors for terms that are not explicitly descriptive of what they mean. We can use instead terms that are more descriptive, and have no negative connotations. Deprecate get_build_env_whitelist() in favor of get_build_env_allowed(), and emit warnings when using the former. debian/changelog | 1 + man/deb-buildinfo.pod | 2 +- man/dpkg-genbuildinfo.pod | 2 +- scripts/Dpkg/Build/Info.pm | 28 +++++++++++++++++++++++----- scripts/dpkg-genbuildinfo.pl | 6 +++--- scripts/t/Dpkg_Build_Info.t | 4 ++-- 6 files changed, 31 insertions(+), 12 deletions(-) commit fc7098c0cf6c92873981f8b3c6eb318ba054a36d Author: Guillem Jover Date: Fri Jun 19 23:34:34 2020 +0200 man: Avoid whitelist term in dpkg-source(1) While the terms whitelist and blacklist do not have an etymology with racial connotations, they still attribute positive and negative connotations to these colors for terms that are not explicitly descriptive of what they mean. We can use instead terms that are more descriptive, and have no negative connotations. debian/changelog | 1 + man/dpkg-source.pod | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit ca008d53b0ac1acb9c0a376346fbba544edfa34c Author: Guillem Jover Date: Mon Jun 22 18:57:07 2020 +0200 Detect merged-usr-via-symlinks also with absolute pathnames We should detect both the current relative symlinks (usr/*), and also the absolute pathnames (/usr/*), as there's been installations with both forms. Reported-by: Adam Borowski debian/bug-script | 3 ++- debian/changelog | 4 ++++ scripts/Dpkg/Vendor/Debian.pm | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) commit 293d3e5f4fbfabc857326489e6a1210ec1863b74 Author: Guillem Jover Date: Tue Jun 23 00:41:31 2020 +0200 man: Clarify the dpkg --no-act admonition debian/changelog | 1 + man/dpkg.pod | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) commit e3e405a8c49ffa38a1b3290b1c04ca4eeb17600c Author: Guillem Jover Date: Thu Jun 25 12:08:18 2020 +0200 Unify ellipsis formatting in programs --help output debian/changelog | 1 + dpkg-deb/main.c | 6 +++--- src/divertcmd.c | 2 +- src/main.c | 10 +++++----- src/querycmd.c | 2 +- src/statcmd.c | 6 +++--- src/trigcmd.c | 4 ++-- 7 files changed, 16 insertions(+), 15 deletions(-) commit 6cca7ea82bbe06e341e975782d9ba76dce93779f Author: Guillem Jover Date: Wed Jun 24 22:42:36 2020 +0200 dpkg, dpkg-query: Document missing options in --help output debian/changelog | 1 + src/main.c | 3 +++ src/querycmd.c | 1 + 3 files changed, 5 insertions(+) commit 934741712f54226c26d909f6210e17164cc8936c Author: Guillem Jover Date: Mon May 11 06:14:09 2020 +0200 dpkg: Add a new --robot option to be used with --version This option will make --version print its output in a machine parseable format. debian/changelog | 1 + man/dpkg.pod | 12 ++++++++++++ src/main.c | 13 ++++++++++--- src/main.h | 1 + 4 files changed, 24 insertions(+), 3 deletions(-) commit cf3f7151de62b69ae4f821c165d0697109c912ac Author: Guillem Jover Date: Tue Jun 2 01:55:10 2020 +0200 dpkg-parsechangelog: Fix --show-field for multiline fields We were not stripping trailing whitespace, and were not prefixing empty lines with a ‘.’, like when printing with the field names. Reported-by: Paul Wise debian/changelog | 4 ++++ scripts/dpkg-parsechangelog.pl | 17 ++++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) commit a88a2df315883804038828f10af79a3412904239 Author: Guillem Jover Date: Thu Jun 25 13:01:22 2020 +0200 debian: Fix typos in changelog debian/changelog | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit f5d679d1e4719d47f39dfb9ca6822a0517f6a43e Author: Boyuan Yang Date: Mon Jun 15 05:07:51 2020 +0200 po: Update Simplified Chinese programs translation Closes: #958437 Signed-off-by: Guillem Jover debian/changelog | 1 + po/zh_CN.po | 121 ++++++++++++++++++++++++------------------------------- 2 files changed, 53 insertions(+), 69 deletions(-) commit 14bf41d1c108faf3407037a332bc35f4cafc6270 Author: Guillem Jover Date: Mon Jun 22 05:20:44 2020 +0200 build: Fix shell files substitution for version variable Variables in shell scripts do not accept spaces around the equal sign. Adjust the regex to not match such incorrect variable syntax. debian/changelog | 1 + scripts/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 1c4e2a641746ea624938cb1957351bea11f00a02 Author: Guillem Jover Date: Mon Jun 22 01:43:03 2020 +0200 test: Update suppressions for cppcheck 2.1 We need to disable some more false positives related to cppcheck not understanding non-returning functions. debian/changelog | 2 +- t/cppcheck/cppcheck.supp | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) commit 33b5bf0f9742970ccf198fc1b2f4f9864cedb4a9 Author: Helge Kreutzmann Date: Mon Jun 1 08:41:19 2020 +0200 Update German translation of manual pages Update to 3087t1u. man/po/de.po | 1431 ++++++++++++++++++++++------------------------------------ 1 file changed, 535 insertions(+), 896 deletions(-) commit ce0c9d09908faa00c95c9e24a867f870ecf71e01 Author: Sven Joachim Date: Mon Jun 1 08:20:44 2020 +0200 German dpkg translation update Update to 1141t. po/de.po | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit ade9c8e28de7950b73f0e752555880f89bf847c4 Author: Guillem Jover Date: Mon Jun 1 04:10:04 2020 +0200 test: Skip autogenerated files from codespell Files that have been autogenerated are of no interest because in many cases we have little direct control over them. debian/changelog | 1 + t/codespell.t | 5 +++++ 2 files changed, 6 insertions(+) commit 23aea35bc12fbfe3cf49057c7fc4f942fc355708 Author: Guillem Jover Date: Mon Jun 1 02:19:11 2020 +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 | 24 ++++++++++++++++++------ po/bs.po | 16 +++++++++++++--- po/ca.po | 24 ++++++++++++++++++------ po/cs.po | 24 ++++++++++++++++++------ po/da.po | 24 ++++++++++++++++++------ po/de.po | 18 ++++++++++++------ po/dpkg.pot | 18 ++++++++++++++---- po/dz.po | 24 ++++++++++++++++++------ po/el.po | 24 ++++++++++++++++++------ po/eo.po | 24 ++++++++++++++++++------ po/es.po | 24 ++++++++++++++++++------ po/et.po | 22 +++++++++++++++++----- po/eu.po | 24 ++++++++++++++++++------ po/fr.po | 24 ++++++++++++++++++------ po/gl.po | 24 ++++++++++++++++++------ po/hu.po | 24 ++++++++++++++++++------ po/id.po | 24 ++++++++++++++++++------ po/it.po | 24 ++++++++++++++++++------ po/ja.po | 24 ++++++++++++++++++------ po/km.po | 24 ++++++++++++++++++------ po/ko.po | 24 ++++++++++++++++++------ po/ku.po | 16 +++++++++++++--- po/lt.po | 24 ++++++++++++++++++------ po/mr.po | 24 ++++++++++++++++++------ po/nb.po | 24 ++++++++++++++++++------ po/ne.po | 24 ++++++++++++++++++------ po/nl.po | 24 ++++++++++++++++++------ po/nn.po | 22 ++++++++++++++++------ po/pa.po | 17 ++++++++++++++--- po/pl.po | 24 ++++++++++++++++++------ po/pt.po | 24 ++++++++++++++++++------ po/pt_BR.po | 24 ++++++++++++++++++------ po/ro.po | 24 ++++++++++++++++++------ po/ru.po | 24 ++++++++++++++++++------ po/sk.po | 24 ++++++++++++++++++------ po/sv.po | 24 ++++++++++++++++++------ po/th.po | 24 ++++++++++++++++++------ po/tl.po | 22 ++++++++++++++++------ po/tr.po | 24 ++++++++++++++++++------ po/vi.po | 24 ++++++++++++++++++------ po/zh_CN.po | 24 ++++++++++++++++++------ po/zh_TW.po | 24 ++++++++++++++++++------ scripts/po/ca.po | 28 +++++++++++++++++++--------- scripts/po/de.po | 2 +- scripts/po/dpkg-dev.pot | 29 +++++++++++++++++++---------- scripts/po/es.po | 32 +++++++++++++++++++++----------- scripts/po/fr.po | 28 +++++++++++++++++++--------- scripts/po/pl.po | 28 +++++++++++++++++++--------- scripts/po/ru.po | 28 +++++++++++++++++++--------- scripts/po/sv.po | 28 +++++++++++++++++++--------- 82 files changed, 897 insertions(+), 341 deletions(-) commit 4947d29af2e7b9af29bb4f9baf59332ab19993ac Author: Guillem Jover Date: Mon May 18 07:20:32 2020 +0200 build: Remove no longer needed POD conversion scripts These have served their purpose and we do not need them anymore. They are going to be present in the git history for future reference. man/man2pod.mk | 24 ------ man/man2pod.pl | 205 --------------------------------------------------- man/pod-po-unfuzz.pl | 35 --------- man/podfixup.pl | 29 -------- 4 files changed, 293 deletions(-) commit fceea323cf33dbb5c01e2614cdb3edc82366801e Author: Guillem Jover Date: Mon May 18 07:19:38 2020 +0200 man: Convert man pages from roff to POD Use the conversion scripts by running «make -C man -f man2pod.mk». debian/changelog | 1 + man/{deb-buildinfo.man => deb-buildinfo.pod} | 289 +- man/deb-changelog.man | 187 - man/deb-changelog.pod | 213 + man/{deb-changes.man => deb-changes.pod} | 234 +- man/deb-conffiles.man | 47 - man/deb-conffiles.pod | 49 + man/{deb-control.man => deb-control.pod} | 525 +- man/deb-extra-override.man | 60 - man/deb-extra-override.pod | 65 + man/deb-old.man | 75 - man/deb-old.pod | 79 + man/deb-origin.man | 67 - man/deb-origin.pod | 82 + man/deb-override.man | 71 - man/deb-override.pod | 76 + man/deb-postinst.man | 57 - man/deb-postinst.pod | 70 + man/deb-postrm.man | 59 - man/deb-postrm.pod | 74 + man/deb-preinst.man | 47 - man/deb-preinst.pod | 58 + man/deb-prerm.man | 52 - man/deb-prerm.pod | 64 + man/deb-shlibs.man | 85 - man/deb-shlibs.pod | 103 + man/deb-split.man | 71 - man/deb-split.pod | 99 + man/deb-src-control.man | 488 - man/deb-src-control.pod | 507 + man/deb-src-files.man | 63 - man/deb-src-files.pod | 69 + man/deb-src-rules.man | 88 - man/deb-src-rules.pod | 101 + man/{deb-src-symbols.man => deb-src-symbols.pod} | 414 +- man/{deb-substvars.man => deb-substvars.pod} | 278 +- man/deb-symbols.man | 108 - man/deb-symbols.pod | 117 + man/deb-triggers.man | 111 - man/deb-triggers.pod | 118 + man/{deb-version.man => deb-version.pod} | 160 +- man/{deb.man => deb.pod} | 175 +- man/{deb822.man => deb822.pod} | 137 +- man/dpkg-architecture.man | 395 - man/dpkg-architecture.pod | 544 + man/dpkg-buildflags.man | 655 - man/dpkg-buildflags.pod | 779 + man/dpkg-buildpackage.man | 597 - man/dpkg-buildpackage.pod | 723 + man/dpkg-checkbuilddeps.man | 99 - man/dpkg-checkbuilddeps.pod | 122 + man/{dpkg-deb.man => dpkg-deb.pod} | 419 +- man/dpkg-distaddfile.man | 80 - man/dpkg-distaddfile.pod | 101 + man/dpkg-divert.man | 206 - man/dpkg-divert.pod | 247 + man/dpkg-genbuildinfo.man | 174 - man/dpkg-genbuildinfo.pod | 212 + man/dpkg-genchanges.man | 223 - man/dpkg-genchanges.pod | 276 + man/{dpkg-gencontrol.man => dpkg-gencontrol.pod} | 260 +- man/{dpkg-gensymbols.man => dpkg-gensymbols.pod} | 325 +- man/dpkg-maintscript-helper.man | 291 - man/dpkg-maintscript-helper.pod | 315 + man/dpkg-mergechangelogs.man | 98 - man/dpkg-mergechangelogs.pod | 110 + man/dpkg-name.man | 134 - man/dpkg-name.pod | 162 + man/dpkg-parsechangelog.man | 227 - man/dpkg-parsechangelog.pod | 277 + man/dpkg-query.man | 426 - man/dpkg-query.pod | 495 + man/dpkg-scanpackages.man | 144 - man/dpkg-scanpackages.pod | 166 + man/dpkg-scansources.man | 119 - man/dpkg-scansources.pod | 137 + man/{dpkg-shlibdeps.man => dpkg-shlibdeps.pod} | 485 +- man/{dpkg-source.man => dpkg-source.pod} | 1063 +- man/{dpkg-split.man => dpkg-split.pod} | 292 +- man/dpkg-statoverride.man | 176 - man/dpkg-statoverride.pod | 220 + man/dpkg-trigger.man | 113 - man/dpkg-trigger.pod | 145 + man/dpkg-vendor.man | 78 - man/dpkg-vendor.pod | 102 + man/dpkg.cfg.man | 40 - man/dpkg.cfg.pod | 43 + man/dpkg.man | 1182 -- man/dpkg.pod | 1370 ++ man/dsc.man | 246 - man/dsc.pod | 277 + man/dselect.cfg.man | 40 - man/dselect.cfg.pod | 43 + man/{dselect.man => dselect.pod} | 799 +- man/po/de.po | 16851 +++++++++-------- man/po/dpkg-man.pot | 15879 ++++++++-------- man/po/es.po | 18144 +++++++++--------- man/po/fr.po | 18248 ++++++++++--------- man/po/hu.po | 17038 ++++++++--------- man/po/it.po | 18108 +++++++++--------- man/po/ja.po | 18102 +++++++++--------- man/po/nl.po | 18106 +++++++++--------- man/po/pl.po | 18227 +++++++++--------- man/po/pt_BR.po | 17143 ++++++++--------- man/po/ru.po | 17238 +++++++++--------- man/po/sv.po | 18145 +++++++++--------- man/po/zh_CN.po | 16417 ++++++++--------- ...start-stop-daemon.man => start-stop-daemon.pod} | 603 +- ...te-alternatives.man => update-alternatives.pod} | 676 +- 109 files changed, 127886 insertions(+), 123184 deletions(-) commit 81a1eb213668faabc6fe0e359cee2542c7e3c555 Author: Guillem Jover Date: Sun Aug 14 00:36:20 2016 +0200 build: Add support for switching man pages from roff to POD format This makes editing, reading and translating the man page sources more pleasant and obvious, as the markup is now way less obtrusive. For translations the markup was some times leaking from po4a, as it did not understand all roff macros, something that will stop happening now. The man page sources required multiple fixes for issues that got revealed during the conversion process, and massaging so that the conversion would be easier to do automatically. These have been done in previous commits. The conversion also takes care of cleaning up markup artifacts due to the way nroff works. To preserve the spacing in item entries, we had to use S<>. One issue from the conversion was preserving the usage of markup within verbatim blocks. This is not officially supported by the POD format, but there's a hack that can be used if our only target is man output. The hack makes use of pod2man not reflowing the text, so that we trick it into considering a paragraph as non-verbatim by making the first line start on the first column with a zero-width space, and subsequent lines start with a leading space, which will end up in the man page and interpreted as verbatim blocks. It looks like this: ,--- Some paragraph. Z<> Some verbatim C, that supports B. `--- The notable differences are: - The generated files do not contain copyright nor license notices. This needs either support from pod2man(1) (say by adding support for a new =begin type of block), or perhaps get them injected by a post-processing script. - Many minus signs are output as hyphens, but this is pretty much a non-issue as most if not all roff processors have defaulted to make these equal for some time, so escaping them is not needed anymore, and is not really possible to do automatically in POD. There are further cleanups that can be performed, but will be postponed for a later point, so that they can be unfuzzied in block: - Use L<>, which got switched to be in bold instead of italic since Pod::Man 4.10 (2017-12-25) in perl 5.28.0. - Use F<> and C<>. - Switch from B bar> style mappings to B<< foo < bar >> form. debian/changelog | 1 + man/Makefile.am | 155 ++++++++++++++++++++------------------ man/man2pod.mk | 24 ++++++ man/man2pod.pl | 205 +++++++++++++++++++++++++++++++++++++++++++++++++++ man/po/de.add | 4 +- man/po/es.add | 10 ++- man/po/fr.add | 6 +- man/po/hu.add | 2 +- man/po/ja.add | 8 +- man/po/pl.add | 26 ++++--- man/po/po4a.cfg | 114 ++++++++++++++-------------- man/po/ru.add | 4 +- man/po/sv.add | 4 +- man/pod-po-unfuzz.pl | 35 +++++++++ man/podfixup.pl | 29 ++++++++ 15 files changed, 475 insertions(+), 152 deletions(-) commit 74f9758d1f831c6d87ab6cbdb164b8eb383cd8ab Author: Guillem Jover Date: Mon May 18 18:23:27 2020 +0200 man: Add a missing comma after man page reference in SEE ALSO section debian/changelog | 1 + man/deb.man | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 70ffa0d2df4d48911358a7815b9b2edbf8955def Author: Guillem Jover Date: Mon May 18 16:44:39 2020 +0200 man: Do not mark end of sentence period with bold debian/changelog | 1 + man/update-alternatives.man | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit b3f8035156a42937c44d4d9776b1989ad60ce2d2 Author: Guillem Jover Date: Mon May 18 06:18:18 2020 +0200 man: Use .ig/.. to disable text instead of commenting it out Commented markup is problematic when converting it to POD. It also means it does not get translated, which we do want as when we enable this back it will then not produce untranslated strings. debian/changelog | 1 + man/dpkg.man | 16 +++++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) commit ff8201011d72ffd89c566f702b9af1e59031bcdd Author: Guillem Jover Date: Sat May 16 16:52:31 2020 +0200 man: Fix indentation in example sections The example blocks are already indented, no need to indent them further. Fixes: commit bc628ec488b0fb11b629eb0143101bcf04e759b0 man/deb-src-symbols.man | 10 ++++++---- man/deb-substvars.man | 18 +++++++++--------- man/dpkg-buildflags.man | 40 ++++++++++++++++++++-------------------- man/dpkg-mergechangelogs.man | 6 +++--- man/dpkg-source.man | 14 +++++++------- 5 files changed, 45 insertions(+), 43 deletions(-) commit a6b2029051f93552a033e38bb08bcd52aee19279 Author: Guillem Jover Date: Tue May 12 05:31:32 2020 +0200 man: Fix list markup Fixes: commit d06f6250be568375cdad74ff5c614b20f5c1b7a9 man/dselect.man | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1c6c7ecec252f3d448fb43dc8defc3ad83121a72 Author: Guillem Jover Date: Tue May 12 04:53:38 2020 +0200 man: Do not nest font markup This makes the conversion from roff to POD easier. debian/changelog | 1 + man/deb-changes.man | 2 +- man/deb-shlibs.man | 2 +- man/deb-src-control.man | 2 +- man/deb-src-symbols.man | 6 +++--- man/deb-substvars.man | 4 ++-- man/dpkg-name.man | 2 +- man/dpkg-query.man | 2 +- man/dpkg-shlibdeps.man | 10 +++++----- man/dpkg-source.man | 5 +++-- man/dpkg-split.man | 2 +- man/dpkg-statoverride.man | 4 ++-- man/dpkg.man | 12 ++++++------ man/dsc.man | 2 +- 14 files changed, 29 insertions(+), 27 deletions(-) commit 4f31d8472e9487b6cde5bb3caab1baed9335d2d6 Author: Guillem Jover Date: Tue May 12 03:13:25 2020 +0200 man: Balance font markup In some cases these have implied text not getting their correct font markup in the output. In some others it has not been a problem, but will help with the man to POD conversion. debian/changelog | 1 + man/deb-postrm.man | 2 +- man/dpkg-shlibdeps.man | 2 +- man/dpkg-source.man | 8 ++++---- man/dpkg.man | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) commit 1db28b2019bb80529484a6f02276e37956289023 Author: Guillem Jover Date: Tue May 12 03:15:50 2020 +0200 man: Surround markup within verbatim blocks with .nf/.fi When converting to POD we will use the markup inside verbatim blocks hack to represent these. debian/changelog | 1 + man/deb-symbols.man | 6 ++---- man/dpkg-maintscript-helper.man | 42 ++++++++++++++++++++++++++++++----------- 3 files changed, 34 insertions(+), 15 deletions(-) commit 5bfd9bab2d911460801513fb23f853ddeb0feeec Author: Guillem Jover Date: Sun May 17 16:59:05 2020 +0200 man: Place description of override value column on its own paragraph debian/changelog | 1 + man/deb-extra-override.man | 1 + 2 files changed, 2 insertions(+) commit b9c9c767774ec35a7e1538eef454936fac746774 Author: Guillem Jover Date: Wed May 27 04:18:58 2020 +0200 man: Fix dpkg-gencontrol -P description to not refer to dpkg-source Reword the option description to match the one in dpkg-gensymbols, which is more generic and does not self-reference the tool. Reported-by: Jakub Wilk debian/changelog | 2 ++ man/dpkg-gencontrol.man | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) commit 1052d840f5feed79c18e2689b63b3dc06e6ee286 Author: Guillem Jover Date: Sun May 17 16:57:02 2020 +0200 man: The Installed-Size field does not get its value from du(1) This has been the case since 1.18.0. debian/changelog | 2 ++ man/dpkg-gencontrol.man | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 5b6c9ee6bbc95a314b0760b1adf1b34a04f94b2f Author: Guillem Jover Date: Sun May 17 16:54:26 2020 +0200 man: Update dselect methods provided Several got removed in 1.20.0. debian/changelog | 1 + man/dselect.man | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) commit ab3c692a19252f83f6f9e07b0e5485edb8fe307f Author: Guillem Jover Date: Tue May 12 03:14:50 2020 +0200 man: Add semicolons before varbatim code blocks debian/changelog | 1 + man/deb-shlibs.man | 2 +- man/deb-src-symbols.man | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit 51c76ae213b34bc81eac55c35e1c7025ba5ca940 Author: Guillem Jover Date: Tue May 12 03:13:49 2020 +0200 man: Reword text to reduce length in verbatim code block debian/changelog | 1 + man/deb-changelog.man | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit c08dcba7b1fad89053c9abf348f052bb2c5e45d1 Author: Guillem Jover Date: Fri May 22 04:53:38 2020 +0200 u-a: Set the umask to 022 on program start We need to set a safe umask so that any write we perform on the filesystem, including our own database, gets expected permissions. Reported-by: Paul Wise debian/changelog | 2 ++ utils/update-alternatives.c | 2 ++ 2 files changed, 4 insertions(+) commit f5ddb3da13bd645bb7d800b0d5476c2147b13b15 Author: Guillem Jover Date: Sat May 23 05:26:50 2020 +0200 libdpkg: Do not use econtext->errmsg on out of context abort When we do not have an econtext in place, either because it has not been setup yet, or because the last one got pop'ed, we cannot use its errmsg member. Instead use a new string to explain the problem. Warned-by: clang-11 debian/changelog | 2 ++ lib/dpkg/ehandle.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 2cb4c03e6cbabf8880bc226c4b35a870fc206ec4 Author: Guillem Jover Date: Sun May 31 13:30:37 2020 +0200 libdpkg: Fix error message for invalid version ending in dependency parser The error messages where printing a character not matching the actual one found, which can be rather confusing. Merge the two identical cases by parametrizing the character to print, and print out also what is expected to help the user. Fixes: commit 9cb480c21790353bfeab5a359f709b37eeb1020d Fixes: commit 4f291d7421b7b991fcd61fce47591845725309ff debian/changelog | 1 + lib/dpkg/fields.c | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) commit 012ab5b83140547cbe73afec2b7dc511f56879c4 Author: Guillem Jover Date: Thu May 21 06:09:54 2020 +0200 libdpkg: Move version unterminated case in dependency parser before catch-all The code had a dead branch that would never trigger due to the previous catch-all one. Move it at the beginning. Warned-by: cppcheck (knownConditionTrueFalse) Fixes: commit 4f291d7421b7b991fcd61fce47591845725309ff debian/changelog | 3 +++ lib/dpkg/fields.c | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) commit d2bbc4075c7c2967cd28597322158eacc41e5680 Author: Guillem Jover Date: Sun May 24 18:51:59 2020 +0200 dpkg-split: Fix off-by-one check in ar header padding We always allocate two more bytes than the member size, and NUL the byte past the member size. But we were checking one byte past the padding byte which would not match, and would make the parser error out on valid archives. Update the functional test suite to add two digit split parts so that we can trigger this condition in the future and avoid regressions. Fixes: commit a15e095201abd2cb3490337b620ede8338bc3de1 Stable-Candidate: 1.18.x 1.19.x debian/changelog | 2 ++ dpkg-split/info.c | 2 +- t-func/deb-split.at | 87 +++++++++++++++++++++++++++++++++++------------------ 3 files changed, 60 insertions(+), 31 deletions(-) commit 906b9e51ef673a14ecc18c0c9989464d4f2c5127 Author: Guillem Jover Date: Sat May 23 05:23:26 2020 +0200 dpkg-split: Switch part number variables from unsigned int to int This fixes a mismatch format specifier in printf() with the variables types. Remove now unnecessary casts. And adapts the strtol() calls to handle negative values which we were not handling before. Warned-by: cppcheck debian/changelog | 1 + dpkg-split/dpkg-split.h | 2 +- dpkg-split/join.c | 6 +++--- dpkg-split/queue.c | 11 +++++------ 4 files changed, 10 insertions(+), 10 deletions(-) commit 5d0a22e90a54372870f64e5119e7d07c1b4673a9 Author: Guillem Jover Date: Mon May 25 22:18:54 2020 +0200 debian: Install specifications to /usr/share/doc/dpkg/ in dpkg-dev package Consider this a documentation package when it comes to the specifications, and use the dpkg doc directory as a location point for these files. debian/changelog | 1 + debian/rules | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit 299e5fc84266c0c952039642ab94451b4276775b Author: Guillem Jover Date: Mon May 25 22:18:54 2020 +0200 build: Install public documents in docdir These are supposed to be installed, as some of them are referenced from the man pages. Update those references to use the new standardized paths. Makefile.am | 13 ++++++++----- debian/changelog | 1 + debian/dpkg-dev.docs | 6 +++--- debian/dpkg.docs | 4 ++-- man/deb-triggers.man | 3 +-- man/dpkg-trigger.man | 3 +-- 6 files changed, 16 insertions(+), 14 deletions(-) commit 4a95b5c6976328405d566adb19a4c1bbdc519929 Author: Guillem Jover Date: Sun May 24 20:54:06 2020 +0200 debian: Rename debian/usertags to debian/README.bug-usertags The name by itself is not very self-descriptive, which can be confusing. Makefile.am | 2 +- debian/{usertags => README.bug-usertags} | 0 debian/changelog | 1 + debian/dpkg.docs | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) commit 9b44d302d6ab2d25bad8b3532c9b5e666478203a Author: Guillem Jover Date: Sun May 24 20:52:03 2020 +0200 debian: Install AUTHORS, THANKS, usertags, README.* only in dpkg.deb There is no need to duplicate these in all dpkg suite packages. Makefile.am | 2 -- debian/changelog | 2 ++ debian/dpkg-dev.docs | 5 ----- debian/dpkg.docs | 1 + debian/dselect.docs | 3 --- debian/libdpkg-dev.docs | 4 ---- debian/libdpkg-perl.docs | 5 ----- 7 files changed, 3 insertions(+), 19 deletions(-) commit eeb79a3c306eab5930957c7cc0793926f1d0b77e Author: Guillem Jover Date: Fri May 22 05:48:51 2020 +0200 test: Update suppressions for cppcheck 2.0 We need to disable some more false positives. And while we should be configuring some -I and -D, we cannot, as cppcheck lack of understanding of non-returning functions makes the subsequent analysis useless. debian/changelog | 1 + t/cppcheck.t | 4 ++++ t/cppcheck/cppcheck.supp | 9 +++++++++ 3 files changed, 14 insertions(+) commit eea5e131688b093778d32e17b3156ec88b99010e Author: Guillem Jover Date: Mon Jun 1 01:02:38 2020 +0200 test: Update suppressions for codespell 1.17.1 t/codespell.t | 1 + t/codespell/stopwords | 1 + 2 files changed, 2 insertions(+) commit ac991bb3742bdc3b693717dfcd2545ba30cd1bbd Author: Guillem Jover Date: Mon Jun 1 01:22:53 2020 +0200 debian: Fix typos in changelogs Warned-by: codespell debian/changelog | 2 +- scripts/t/Dpkg_Changelog/shadow | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit fd9d626401c8cbef7a24534ac388335920d93416 Author: Guillem Jover Date: Sat May 30 20:46:26 2020 +0200 build: Add man page number suffixes to the automake SUFFIXES variable Suffix rules need to know which suffixes are to be matched. List all the man page target suffixes for that to properly work. debian/changelog | 1 + man/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 7b6c094240a722889693ea39e62ae7c380cf9484 Author: Guillem Jover Date: Sun Aug 14 00:36:20 2016 +0200 build: Do not use make prerequisites on suffix rule definitions This do not have the intended effect of declaring a dependency, and might be considered instead as normal files with funky names with newer make versions. Warned-by: make Closes: #961850 debian/changelog | 2 ++ dselect/methods/Makefile.am | 2 +- man/Makefile.am | 8 ++++---- scripts/Makefile.am | 4 ++-- 4 files changed, 9 insertions(+), 7 deletions(-) commit 708d69da837d1b728f2d957ce2db6a3ef243ea20 Author: Guillem Jover Date: Sat May 23 21:28:38 2020 +0200 build: Use po4a mode=eof support in addenda Supported since po4a 0.59. debian/changelog | 1 + debian/control | 2 +- man/po/de.add | 2 +- man/po/es.add | 2 +- man/po/fr.add | 2 +- man/po/hu.add | 2 +- man/po/ja.add | 2 +- man/po/pl.add | 2 +- man/po/ru.add | 2 +- man/po/sv.add | 2 +- 10 files changed, 10 insertions(+), 9 deletions(-) commit fec886786d2fe3ba6aaaf984a8a2e599eaed101e Author: Guillem Jover Date: Sat May 23 21:27:00 2020 +0200 build: Use po4a conditional addendum support and remove empty addenda This is supported in po4a since 0.58. debian/changelog | 1 + debian/control | 2 +- man/po/it.add | 1 - man/po/nl.add | 1 - man/po/po4a.cfg | 2 +- man/po/pt_BR.add | 2 -- man/po/zh_CN.add | 0 7 files changed, 3 insertions(+), 6 deletions(-) commit a74a91310260efe55cc986506fe208ae2776a45a Author: Guillem Jover Date: Thu May 21 04:47:28 2020 +0200 build: Require po4a >= 0.59 Supporting older versions resulted impractical, as we could not use the refactored addenda specification anyway. Also 0.58 had broken --srcdir support, and the new 0.59 has a nice addenda mode=eof which will simplify the switch to POD. So let's just require the newer version so that we can make use of the new features. README | 2 +- debian/changelog | 7 ++++--- debian/control | 2 +- m4/dpkg-progs.m4 | 29 ++++++++++++++++------------- man/Makefile.am | 3 +-- 5 files changed, 23 insertions(+), 20 deletions(-) commit 2b6a69f993e48e73b98c8bdd41fc92a90e23dd2b Author: Guillem Jover Date: Sat May 16 22:44:34 2020 +0200 build: Handle po4a --porefs difference between 0.58 and earlier versions Before po4a 0.58 --porefs supported specifying a wrapping mode by appending «,wrap» or «,nowrap», with the default being “nowrap”. Starting with po4a 0.58 the default has changed to “wrap”, and these modifiers are not accepted anymore, which causes a problem with backwards compatibility as we cannot get consistent behavior across different versions. Detect this in configure and pass the «,wrap» modifier when needed and supported, which should make it possible to build the man pages again consistently in Debian buster and bullseye. README | 2 +- debian/changelog | 3 ++- m4/dpkg-progs.m4 | 14 ++++++++++++++ man/Makefile.am | 3 ++- 4 files changed, 19 insertions(+), 3 deletions(-) commit 6f6f713222b7a65e7ba31d31579baf39a84c330c Author: Guillem Jover Date: Sat May 16 17:52:43 2020 +0200 build: Do not use ? in addenda pathname This is not really required as we provide addenda for every language, and it is making the build fail when using older po4a. Reported-by: Helge Kreutzmann man/po/po4a.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2261027d7fe5349931683fe0dbf17c11c2e4e454 Author: Guillem Jover Date: Sat May 16 17:33:12 2020 +0200 libdpkg: When using uselocale(), include if available Some systems do not have the locale_t and extended locale support definitions in but instead in , such as some BSDs. This got later standardized in POSIX.1-2008 in . Reported-by: Sirio Balmelli configure.ac | 1 + debian/changelog | 4 ++++ lib/dpkg/i18n.c | 3 +++ 3 files changed, 8 insertions(+) commit 9b4b210c4028f5b187beab5b2e5b1e1c972fe006 Author: Helge Kreutzmann Date: Sat May 16 13:33:36 2020 +0200 Update German translation of manual pages Update to 3149t. man/po/de.po | 1633 +++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 1116 insertions(+), 517 deletions(-) commit 70fc08c143f1ae1b746780993142ae9428ec2e53 Author: Guillem Jover Date: Mon May 11 22:53:33 2020 +0200 debian: Handle missing localized man pages gracefully Translations for man pages might stop being generated if they do not reach certain threshold, and the code should not fail in that case. Using the «test -e && install» construct meant that when the file was not present it would return an error code. debian/changelog | 1 + debian/rules | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 598e1b3e9c9b665829ea7c1b3ee157038708e14f Author: Guillem Jover Date: Mon May 11 16:55:08 2020 +0200 Use $() in shell or qx() in perl instead of `` debian/changelog | 2 ++ dselect/methods/disk/setup | 8 ++++---- dselect/methods/multicd/install | 14 +++++++------- dselect/methods/multicd/setup | 30 +++++++++++++++--------------- dselect/methods/multicd/update | 2 +- man/dpkg-architecture.man | 2 +- man/dpkg.man | 2 +- t/syntax.t | 2 +- 8 files changed, 32 insertions(+), 30 deletions(-) commit 32ff4b4db2c37972efdada2c3db5776f7db59b3f Author: Johannes Schauer Marin Rodrigues Date: Mon May 11 19:28:12 2020 +0200 man: Document that a 3.0 (quilt) patch cannot create or modify symlinks Signed-off-by: Guillem Jover debian/changelog | 2 ++ man/dpkg-source.man | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 45feab5ef59e72c15a29019c7194b99f29116fc5 Author: Guillem Jover Date: Mon May 11 02:27:10 2020 +0200 man: Fix indentation for a note admonition in dpkg-scansources(1) This note should be aligned like the previous paragraph. debian/changelog | 1 + man/dpkg-scansources.man | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit bc628ec488b0fb11b629eb0143101bcf04e759b0 Author: Guillem Jover Date: Wed May 6 07:44:05 2020 +0200 man: Markup examples explicitly with .EX/.EE Use .EX/.EE to markup examples. Remove font markup within examples as that cannot be easily done in POD. debian/changelog | 1 + man/deb-changelog.man | 4 +- man/deb-conffiles.man | 4 +- man/deb-control.man | 4 +- man/deb-origin.man | 4 +- man/deb-shlibs.man | 2 + man/deb-src-control.man | 4 +- man/deb-src-symbols.man | 26 ++++++++++++ man/deb-substvars.man | 4 ++ man/deb-symbols.man | 6 ++- man/deb822.man | 4 +- man/dpkg-architecture.man | 24 +++++++---- man/dpkg-buildflags.man | 36 +++++++++-------- man/dpkg-divert.man | 20 ++++++--- man/dpkg-maintscript-helper.man | 6 ++- man/dpkg-mergechangelogs.man | 2 + man/dpkg-query.man | 21 ++++++---- man/dpkg-source.man | 2 + man/dpkg.man | 90 ++++++++++++++++++++++++----------------- man/start-stop-daemon.man | 12 +++--- man/update-alternatives.man | 16 +++++--- 21 files changed, 192 insertions(+), 100 deletions(-) commit 278a8cec88756371a75db21211dcb430bbae532a Author: Guillem Jover Date: Wed May 6 07:44:05 2020 +0200 man: Do not use verbatim formatting for text that is not an example. We replace the literal indentation and instead use macros to do the same. Otherwise this would turn these into verbatim blocks once we convert to POD. debian/changelog | 1 + man/deb-changelog.man | 6 +++--- man/deb-shlibs.man | 12 ++++++------ man/dpkg-parsechangelog.man | 4 +++- 4 files changed, 13 insertions(+), 10 deletions(-) commit d06f6250be568375cdad74ff5c614b20f5c1b7a9 Author: Guillem Jover Date: Wed May 6 07:14:32 2020 +0200 man: Use lists instead of verbatim or hand-crafted formatting This will make the conversion to POD easier, as there we cannot easily format verbatim blocks. debian/changelog | 1 + man/dpkg-architecture.man | 15 ++-- man/dpkg-maintscript-helper.man | 10 +-- man/dpkg-query.man | 184 ++++++++++++++++++++++++++-------------- man/dselect.man | 177 ++++++++++++++++++++++++++------------ 5 files changed, 257 insertions(+), 130 deletions(-) commit c4fc07763eadce9fb8ba8b2a692581e9931357c7 Author: Guillem Jover Date: Wed May 6 06:25:22 2020 +0200 man: Clarify POSIX shell eval command usage in dpkg-architecture(1) debian/changelog | 1 + man/dpkg-architecture.man | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 8675558b6fe4a6996fb693ff6cabf84c05174ff1 Author: Guillem Jover Date: Sun May 10 15:17:19 2020 +0200 man: Clarify that we resolve bug reports not bug report numbers Reported-by: Helge Kreutzmann debian/changelog | 2 ++ man/deb-changes.man | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 1bf709dbabbcd13915d28339051e8d30e2e252de Author: Guillem Jover Date: Mon May 11 05:31:06 2020 +0200 man: Use literal double quotes instead of groff escape sequences debian/changelog | 1 + man/deb-postinst.man | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 324a6b57985d741183f83a0a9b37018d51fdd126 Author: Guillem Jover Date: Mon May 11 05:18:52 2020 +0200 man: Use UTF-8 quotes instead of ancient groff register variables We switched away from groff markup for quotation marks, but missed these ancient string register variants of the left and right quotes, which are very obscure and make translators life harder. debian/changelog | 1 + man/dpkg-query.man | 2 +- man/dpkg.man | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) commit bb4398408b66c26f9404c904c3d2cdf28b823b99 Author: Guillem Jover Date: Wed May 6 06:24:28 2020 +0200 man: Mark commands (eval) in bold and quote library names (libgcc) Reported-by: Helge Kreutzmann debian/changelog | 2 ++ man/deb-src-symbols.man | 2 +- man/dpkg-architecture.man | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) commit 1148848ff0e7cd17dbfff1b12d29f23e28e19b77 Author: Guillem Jover Date: Wed May 6 06:19:44 2020 +0200 man: Fix apt and aptitude references Use apt instead of apt-get when appropriate. Add section numbers to apt references. Correct apt and aptitude section numbers to match their man pages. Reported-by: Helge Kreutzmann debian/changelog | 2 ++ man/dpkg-query.man | 2 +- man/dpkg-scanpackages.man | 7 ++++--- man/dpkg-scansources.man | 5 +++-- man/dpkg.man | 8 ++++---- man/dselect.man | 8 ++++---- 6 files changed, 18 insertions(+), 14 deletions(-) commit cda14fdbdd0dcae64495e25c2ae7c21a4a7a3c14 Author: Guillem Jover Date: Sun May 10 16:14:02 2020 +0200 build: Switch to set the po4a addendum in the po4a_paths section Given that we have to depend on 0.58 anyway, we can now refactor the addendum setting in the po4a_paths, reducing duplication substantially. debian/changelog | 2 + man/po/po4a.cfg | 225 ++++++++++++++----------------------------------------- 2 files changed, 59 insertions(+), 168 deletions(-) commit 9c249dfe86857d6926d870c40ea4d33fc83c312b Author: Guillem Jover Date: Sun May 10 16:11:59 2020 +0200 build: Change po4a --porefs argument to match new behavior Starting with po4a 0.58, --porefs does not accept «wrap» anymore, which is now the default, and does not recognize «noline», which was an old alias for «file». Switch to use «file». README | 2 +- debian/changelog | 2 ++ debian/control | 4 ++-- man/Makefile.am | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) commit ed794c341ccecda27820c5b370be2cf9fe471db2 Author: Helge Kreutzmann Date: Tue May 5 20:50:00 2020 +0200 Update German translation of manual pages Update to 3052t. man/po/de.po | 1195 ++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 709 insertions(+), 486 deletions(-) commit 5440599b2f51bb9d2617a6e6c53d7f98ad365d02 Author: Sven Joachim Date: Tue May 5 19:38:53 2020 +0200 German dpkg translation update Update to 1141t. debian/changelog | 3 +++ po/de.po | 11 ++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) commit 15416a18f7645dbb9a36edb1e52f30a9e83c6627 Author: Guillem Jover Date: Tue May 5 05:47:22 2020 +0200 dpkg-deb, dpkg: Do not accept relative pathnames in DEBIAN/conffiles The pathnames in the binary package conffiles control file must be absolute. This has not been a problem in dpkg because the lookup function has normalized them by prefixing with a slash if missing, but these pathnames are clearly bogus, and must not be accepted. Reported-by: Niels Thykier debian/changelog | 2 ++ dpkg-deb/build.c | 6 +++++- src/unpack.c | 4 ++++ t-func/deb-content.at | 10 ++++++++++ 4 files changed, 21 insertions(+), 1 deletion(-) commit 7d883c90afa3b4608c082b146f90209180fdcb74 Author: Guillem Jover Date: Tue May 5 05:30:06 2020 +0200 t-deb-conffiles: Add new non-relative conffiles case The conffiles file must not contain relative pathnames. This happens to work because when parsing the file the dpkg filesystem lookup function prepends a / if missing, but we should not accept these bogus entries in the first place. Fix the t-unpack-hardlink test case to not use relative pathnames. Reported-by: Niels Thykier Feature.mk | 1 + t-deb-conffiles/Makefile | 6 ++++++ t-deb-conffiles/pkg-conff-noabs/DEBIAN/conffiles | 1 + t-deb-conffiles/pkg-conff-noabs/DEBIAN/control | 7 +++++++ t-deb-conffiles/pkg-conff-noabs/test-conffile-rel | 1 + t-unpack-hardlink/pkg-hardlink/DEBIAN/conffiles | 4 ++-- 6 files changed, 18 insertions(+), 2 deletions(-) commit 02ea22684fa7f0ff28b469736673548f19ef0891 Author: Guillem Jover Date: Tue May 5 05:43:05 2020 +0200 test: Rename deb-content test cases to make them more descriptive debian/changelog | 2 ++ t-func/deb-content.at | 18 +++++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) commit 53f756d45b5202095a96478034fbf168c78e4386 Author: Guillem Jover Date: Tue May 5 05:26:47 2020 +0200 t-deb-conffiles: Rename packages and feature macro Make these more descriptive. Feature.mk | 2 +- t-deb-conffiles/Makefile | 12 ++++++------ .../{pkg-conff-dupe => pkg-conff-duped}/DEBIAN/conffiles | 0 .../{pkg-conff-dupe => pkg-conff-duped}/DEBIAN/control | 2 +- .../{pkg-conff-dupe => pkg-conff-duped}/test-conffile-1 | 0 .../{pkg-conff-dupe => pkg-conff-duped}/test-conffile-2 | 0 .../{pkg-conff-noel => pkg-conff-noeol}/DEBIAN/conffiles | 0 .../{pkg-conff-noel => pkg-conff-noeol}/DEBIAN/control | 3 +-- .../{pkg-conff-noel => pkg-conff-noeol}/test-conffile-1 | 0 9 files changed, 9 insertions(+), 10 deletions(-) commit 4aed98dc8c0c58dbe87c5b40d3d200ce231aeac3 Author: Guillem Jover Date: Tue May 5 03:48:01 2020 +0200 dpkg-maintscript-helper: Add -?, --help and --version to --help output debian/changelog | 1 + scripts/dpkg-maintscript-helper.sh | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 5dd9b2c7953c1c28f370a54c89ab898aadae1f6e Author: Guillem Jover Date: Tue May 5 05:17:49 2020 +0200 man: Fix font markup for some variable and literal strings debian/changelog | 1 + man/deb-control.man | 4 ++-- man/dpkg-buildflags.man | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) commit 533a50c15f399cde0c16e72960c4100c19fc7b0b Author: Guillem Jover Date: Tue May 5 05:05:26 2020 +0200 man: Use .TP macros instead of hand-crafted formatting debian/changelog | 1 + man/dpkg-scansources.man | 17 +++++++++------ man/dpkg.man | 56 +++++++++++++++++++++++++++++------------------- 3 files changed, 46 insertions(+), 28 deletions(-) commit 91811d51ee9578531c8b3e638b28fca9db6bc020 Author: Guillem Jover Date: Tue May 5 04:57:21 2020 +0200 man: Specify indentation level for all following .IP macros And not just the first one. This will help with a future conversion of the man pages to perl POD. debian/changelog | 2 ++ man/deb-split.man | 14 +++++++------- man/deb-src-symbols.man | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) commit b315746d55afec435f2ae7cf482c4bad87255774 Author: Guillem Jover Date: Tue May 5 04:47:27 2020 +0200 man: Fix unbalanced quotes in macro arguments debian/changelog | 1 + man/deb-src-control.man | 2 +- man/dpkg-query.man | 2 +- man/dpkg-shlibdeps.man | 2 +- man/dpkg.man | 4 ++-- man/start-stop-daemon.man | 2 +- 6 files changed, 7 insertions(+), 6 deletions(-) commit c28413bb99ba563ca90e70c0bc4468df56034599 Author: Guillem Jover Date: Tue May 5 04:10:21 2020 +0200 man: Remove useless commented out macros debian/changelog | 1 + man/deb-buildinfo.man | 7 ------- man/deb-changes.man | 7 ------- man/deb-control.man | 2 -- man/deb-src-control.man | 3 --- man/deb822.man | 6 ------ man/dsc.man | 6 ------ 7 files changed, 1 insertion(+), 31 deletions(-) commit 8a544d09efc3c3be438fe77a8ab78d1b971eb1f6 Author: Guillem Jover Date: Tue May 5 05:20:40 2020 +0200 man: Unify warning and note admonitions formatting Capitalize first words after the admonitions. Use bold for notes and warnings, and italic for warnings if the contents makes using bold ambiguous. debian/changelog | 1 + man/dpkg-buildpackage.man | 5 +++-- man/dpkg-divert.man | 4 ++-- man/dpkg-gensymbols.man | 4 ++-- man/dpkg-name.man | 8 ++++++-- man/dpkg-parsechangelog.man | 7 +++++-- man/dpkg-scansources.man | 4 +++- man/dpkg-shlibdeps.man | 2 +- man/dpkg-source.man | 4 ++-- man/dpkg-statoverride.man | 4 ++-- man/dpkg.man | 25 +++++++++++++++---------- man/start-stop-daemon.man | 20 ++++++++++++++------ 12 files changed, 56 insertions(+), 32 deletions(-) commit ddce4fcccb12e7591dd686dd4da247ad79de57b5 Author: Guillem Jover Date: Sun Apr 26 00:24:14 2020 +0200 man: Clarify that deb-control(5) is a subset of deb-src-control(5) Mention this in both pages, like we do with the symbols files, and add references in both directions. Closes: #958229 debian/changelog | 2 ++ man/deb-control.man | 7 +++++-- man/deb-src-control.man | 7 +++++-- 3 files changed, 12 insertions(+), 4 deletions(-) commit 4cbe2347c3964512083b1088d98cd2ebad1f597a Author: Guillem Jover Date: Tue May 5 05:20:21 2020 +0200 man: Clarify and fix file formats SYNOPSIS Use proper markup for variable and fixed strings. List the complete pathname for each example file location, so that it is obvious what the man page describes. debian/changelog | 1 + man/deb-changelog.man | 2 +- man/deb-conffiles.man | 2 +- man/deb-control.man | 2 +- man/deb-extra-override.man | 2 +- man/deb-override.man | 2 +- man/deb-postinst.man | 2 +- man/deb-postrm.man | 2 +- man/deb-preinst.man | 2 +- man/deb-prerm.man | 2 +- man/deb-shlibs.man | 3 +++ man/deb-src-control.man | 2 +- man/deb-src-files.man | 2 +- man/deb-src-rules.man | 2 +- man/deb-src-symbols.man | 11 ++++------- man/deb-substvars.man | 2 +- man/deb-symbols.man | 2 +- man/deb-triggers.man | 3 ++- 18 files changed, 24 insertions(+), 22 deletions(-) commit 46724faf7dcc5a7ced36001578e5a87d5eb51e94 Author: Guillem Jover Date: Sat Apr 25 20:36:22 2020 +0200 man: Mention that dpkg(1) does not provide all back-end interfaces The back-end commands such as dpkg-deb or dpkg-query have more options and actions that are not exposed via the dpkg front-end. Either because these conflict with pre-existing actions, or simply because options specific to the back-ends are not passed through. Prompted-by: Elana Hashman debian/changelog | 2 ++ man/dpkg.man | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 4c2bff1002925b181a9dcda188ae730514950251 Author: Guillem Jover Date: Sat Apr 25 20:24:54 2020 +0200 build: Set DPKG_SERIES to 1.20.x when running the functional test suite .gitlab-ci.yml | 2 +- debian/changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit f846f7d93920b6128add74524592a4b452aacbee Author: Guillem Jover Date: Wed Apr 22 18:54:02 2020 +0200 build: Add support for dpkg 1.20.x and default to it Feature.mk | 5 +++++ Makefile | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit f46cc1405a8f136edbf89a22cc3e966cd32e4520 Author: Guillem Jover Date: Wed Apr 22 18:50:13 2020 +0200 build: Switch to preserving the whole environment within sudo Trying to whitelist what might be needed is too cumbersome. The latest instance was this breaking being run from within cowbuilder. Instead we preserve the environment and do not have to worry about this anymore. We still need to preserve LD_PRELOAD and LD_LIBRARY_PATH because these get reset when going over a setuid-root barrier, such as sudo. Prompted-by: Niels Thykier Test.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bfbac5b236e3229e372ece2bf3131edbf903b90e Author: Helge Kreutzmann Date: Tue Apr 21 20:51:48 2020 +0200 Update German translation of manual pages Update to 3022t. Includes further proofreading on debian-l10n-german debian/changelog | 3 + man/po/de.po | 649 ++++++++++++++++++++++++++++--------------------------- 2 files changed, 329 insertions(+), 323 deletions(-) commit 4a20fd606a0844b3c9e383190f8a38cbcabbe1a7 Author: Helge Kreutzmann Date: Tue Apr 21 19:44:29 2020 +0200 Update German scripts translation Update to 612t. scripts/po/de.po | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) commit d2f2f57c8a44260789d5259ad60d853b0a7298bf Author: Bjarni Ingi Gislason Date: Fri Mar 27 00:51:05 2020 +0000 man: Trim trailing whitespace from output Output is from: test-groff -b -e -mandoc -T utf8 -rF0 -t -w w -z [ "test-groff" is a developmental version of "groff" ] Input file is ./man/deb-buildinfo.man .../git/groff/build/s-tmac/an-old.tmac:478: backtrace: macro 'BR' troff: :41: warning: trailing space #### Input file is ./man/deb-changelog.man .../git/groff/build/s-tmac/an-old.tmac:478: backtrace: macro 'BR' troff: :122: warning: trailing space #### Input file is ./man/dpkg-buildflags.man .../git/groff/build/s-tmac/an-old.tmac:478: backtrace: macro 'BR' troff: :568: warning: trailing space #### Input file is ./man/dselect.man .../git/groff/build/s-tmac/an-old.tmac:478: backtrace: macro 'BR' troff: :138: warning: trailing space Closes: #955030 Signed-off-by: Bjarni Ingi Gislason Signed-off-by: Guillem Jover debian/changelog | 2 ++ man/deb-buildinfo.man | 2 +- man/deb-changelog.man | 2 +- man/dpkg-buildflags.man | 2 +- man/dselect.man | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) commit 96c29effd8280251416f50bed747cf45d289989b Author: Bjarni Ingi Gislason Date: Mon Apr 20 00:00:14 2020 +0200 man: Fix misused two-fonts macros Correct the misuse of a two-fonts macro, which function is to: 1) use the first font for each odd numbered argument and the second font for all others. 2) join the arguments without an intervening space. The output of nroff and troff is unchanged. Closes: #955028 Signed-off-by: Bjarni Ingi Gislason Signed-off-by: Guillem Jover debian/changelog | 3 +++ man/deb-buildinfo.man | 2 +- man/deb-substvars.man | 4 ++-- man/deb-symbols.man | 2 +- man/deb.man | 2 +- man/dpkg-buildflags.man | 10 +++++----- man/dpkg-buildpackage.man | 28 ++++++++++++++-------------- man/dpkg-checkbuilddeps.man | 2 +- man/dpkg-deb.man | 2 +- man/dpkg-distaddfile.man | 2 +- man/dpkg-genbuildinfo.man | 6 +++--- man/dpkg-genchanges.man | 2 +- man/dpkg-gencontrol.man | 2 +- man/dpkg-gensymbols.man | 16 ++++++++-------- man/dpkg-parsechangelog.man | 2 +- man/dpkg-scanpackages.man | 2 +- man/dpkg-shlibdeps.man | 6 +++--- man/dpkg-source.man | 12 ++++++------ man/dsc.man | 2 +- man/start-stop-daemon.man | 14 +++++++------- man/update-alternatives.man | 4 ++-- 21 files changed, 64 insertions(+), 61 deletions(-) commit e065f0206ebf540c002bd94d9340867cb3af542f Author: Guillem Jover Date: Mon Mar 23 02:54:00 2020 +0100 dpkg-source: Check that debian/tests/control has the required fields This tests control file must have either a Tests field or a Test-Command field. So we check for this condition and error out otherwise. Prompted-by: Felix Lechner debian/changelog | 2 ++ scripts/dpkg-source.pl | 5 +++++ 2 files changed, 7 insertions(+) commit 6ca15410852735d3d1eec7a89db2fa540023e3de Author: Guillem Jover Date: Mon Apr 20 00:14:56 2020 +0200 dpkg-genchanges: Handle empty Date fields from parsed debian/changelog When dpkg-genchanges fails to parse the date in debian/changelog, it creates and empty field named Date. That field is then skipped on output, producing a policy non-compliant changes. We should change the check to handle not just undefined by also empty fields. Closes: #956321 Based-on-patch-by: Baptiste BEAUPLAT debian/changelog | 2 ++ scripts/dpkg-genchanges.pl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 24b9a2718f3da572bf26bfe340c7ced58475c1d5 Author: Guillem Jover Date: Sun Apr 19 02:25:30 2020 +0200 scripts/mk: Add new buildopts.mk support This Makefile fragment will include variables for values from option arguments, parsed from DEB_BUILD_OPTIONS. debian/changelog | 2 ++ scripts/Makefile.am | 1 + scripts/mk/Makefile.am | 1 + scripts/mk/buildopts.mk | 10 ++++++++++ scripts/mk/default.mk | 1 + scripts/t/mk.t | 8 +++++++- scripts/t/mk/buildopts.mk | 4 ++++ 7 files changed, 26 insertions(+), 1 deletion(-) commit 52166568df4f736b1f2594d6fc209c70c0052630 Author: Guillem Jover Date: Sun Apr 19 22:37:53 2020 +0200 scripts/mk: Unify and cleanup Makefile fragment files comments Include information about version of introduction. debian/changelog | 2 ++ scripts/mk/architecture.mk | 6 +++--- scripts/mk/buildflags.mk | 20 ++++++++++---------- scripts/mk/buildtools.mk | 39 ++++++++++++++++++++------------------- scripts/mk/default.mk | 4 ++-- scripts/mk/pkg-info.mk | 21 ++++++++++++--------- scripts/mk/vendor.mk | 9 +++++---- 7 files changed, 54 insertions(+), 47 deletions(-) commit 60d709df214705ea1fa01dc9ba85158d2383315e Author: Taowa Munene-Tardif Date: Mon Apr 20 00:07:23 2020 +0200 Dpkg::Vendor::Debian: Add debian-nonupload.gpg keyring In Debian, non-uploading Debian Developers are treated equivalently to Debian Maintainer. So let's add their keyring to the list of officially supported ones. Closes: #956055 Signed-off-by: Guillem Jover debian/changelog | 2 ++ man/dpkg-source.man | 5 +++-- scripts/Dpkg/Vendor/Debian.pm | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) commit aa605ebd31e7ecc212ade755068cde74ebde2cb3 Author: Guillem Jover Date: Mon Mar 9 09:49:33 2020 +0100 Dpkg::Source::Package::V1: Check version format matching source format We error out on native versions on a non-native source. And warn for now on non-native versions on a native source. debian/changelog | 1 + scripts/Dpkg/Source/Package/V1.pm | 10 ++++++++++ 2 files changed, 11 insertions(+) commit ca1cb131d8945d9d47871110f6a3010a501cd03a Author: Guillem Jover Date: Sun Mar 22 23:32:56 2020 +0100 Dpkg::Source::Package: Check missing expected tarball signatures When the source package provides an upstream signing key, it is expected that the source package provides upstream tarball signatures. If not, then error out, to avoid building packages with the missing files, which tends to be very easy to get into. debian/changelog | 1 + scripts/Dpkg/Source/Package/V1.pm | 5 +++++ scripts/Dpkg/Source/Package/V2.pm | 5 +++++ 3 files changed, 11 insertions(+) commit 6b7e018b7794f75a73f0618b224e33f0f2e9f47a Author: Guillem Jover Date: Sun Mar 22 23:32:29 2020 +0100 Dpkg::Source::Package: Add new get_upstream_signing_key() method debian/changelog | 1 + scripts/Dpkg/Source/Package.pm | 20 ++++++++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) commit 8492e6e45d191976ec6207d008cfb95d5d410eac Author: Guillem Jover Date: Sun Mar 22 23:30:49 2020 +0100 Dpkg: Add a LICENSE section to the POD The CPAN analysis does not seem to be able to parse the license on each perl module, so we add a section describing how to get the license information. debian/changelog | 2 ++ scripts/Dpkg.pm | 4 ++++ 2 files changed, 6 insertions(+) commit 3153514bf3add87af29303e5e7fa20eea0c46b93 Author: Guillem Jover Date: Sun Mar 22 23:28:25 2020 +0100 build: Add debian/changelog as a Changes file to the CPAN distribution The CPAN distributions are expected to ship a Changes file, which affects its kwality. cpan.am | 1 + debian/changelog | 1 + 2 files changed, 2 insertions(+) commit 9c65343e109feb15c6509433cf95afeb12833273 Author: Guillem Jover Date: Fri Apr 17 05:01:46 2020 +0200 build: Handle .git being a plain file On sub-modules or when using «git init --separate-git-dir=», the «.git» pathname can be a plain file instead of a directory. Accept that as valid. debian/changelog | 2 ++ get-version | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 8421acaeb42c37809302edb570979ddd60285a2e Author: Guillem Jover Date: Tue Apr 21 02:50:03 2020 +0200 debian: Remove debian/tmp prefix from manpages debhelper fragment files We need to prepend it in debian/rules for now. debian/changelog | 1 + debian/dpkg-dev.manpages | 84 ++++++++++++++++++++++++------------------------ debian/dpkg.manpages | 22 ++++++------- debian/dselect.manpages | 4 +-- debian/rules | 4 +-- 5 files changed, 58 insertions(+), 57 deletions(-) commit bb888428a748f21f7c999bb88f8fbc3d2a597235 Author: Guillem Jover Date: Fri Apr 17 05:25:28 2020 +0200 debian: Switch to debhelper compatibility level 13 debian/changelog | 2 ++ debian/control | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 8c03d2e4995441410385840d901c07e5d2a282e5 Author: Guillem Jover Date: Sun Mar 22 23:28:10 2020 +0100 debian: Add missing bug closure debian/changelog | 1 + 1 file changed, 1 insertion(+) commit a2793c9621c864a959c71b9ab964dfe496d9a1c1 Author: Roderich Schupp Date: Sun Mar 22 23:22:14 2020 +0100 libdpkg: Open the log file as write-only instead of read-only Otherwise we end up not writing anything to the log file. Fixes: commit bbb52d7a9a8061920414634af22d76b7f02466eb Closes: #953684 Signed-off-by: Guillem Jover debian/changelog | 3 ++- lib/dpkg/log.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) commit 230bfa0ecd14ce755876889511c6ae771a96de6e Author: Roderich Schupp Date: Sun Mar 22 23:25:43 2020 +0100 libdpkg: Use varbuf member .used instead of .size in log_message() Otherwise we will end up printing garbage. Fixes: commit bbb52d7a9a8061920414634af22d76b7f02466eb Signed-off-by: Guillem Jover debian/changelog | 5 ++++- lib/dpkg/log.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) commit 12961967a56350dcc0ea6f6a087ab06a4e0f9fd9 Author: Helge Kreutzmann Date: Mon Mar 9 19:41:34 2020 +0100 Update German scripts translation Update to 610t. debian/changelog | 4 ++++ scripts/po/de.po | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) commit afa815a08256d11cdfc8c1130974089d2f7da8b1 Author: Guillem Jover Date: Sun Mar 8 03:57:47 2020 +0100 Bump version to 1.20.1 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 314ac02663c5bd1a82b34745150bf13a39a549a3 Author: Guillem Jover Date: Sun Mar 8 03:32:05 2020 +0100 Release 1.20.0 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 94d778988f39cef45a60bd125445b719a38e49b9 Author: Guillem Jover Date: Sun Mar 8 03:35:43 2020 +0100 po: Regenerate .pot files and merge .po files with them dselect/po/bs.po | 9 ++- dselect/po/ca.po | 45 ++++++++++++- dselect/po/cs.po | 45 ++++++++++++- dselect/po/da.po | 45 ++++++++++++- dselect/po/de.po | 2 +- dselect/po/dselect.pot | 11 +++- dselect/po/el.po | 45 ++++++++++++- dselect/po/es.po | 45 ++++++++++++- dselect/po/et.po | 9 ++- dselect/po/eu.po | 45 ++++++++++++- dselect/po/fr.po | 45 ++++++++++++- dselect/po/gl.po | 45 ++++++++++++- dselect/po/hu.po | 9 ++- dselect/po/id.po | 45 ++++++++++++- dselect/po/it.po | 45 ++++++++++++- dselect/po/ja.po | 45 ++++++++++++- dselect/po/ko.po | 45 ++++++++++++- dselect/po/nb.po | 45 ++++++++++++- dselect/po/nl.po | 45 ++++++++++++- dselect/po/nn.po | 45 ++++++++++++- dselect/po/pl.po | 45 ++++++++++++- dselect/po/pt.po | 45 ++++++++++++- dselect/po/pt_BR.po | 45 ++++++++++++- dselect/po/ro.po | 45 ++++++++++++- dselect/po/ru.po | 45 ++++++++++++- dselect/po/sk.po | 45 ++++++++++++- dselect/po/sv.po | 45 ++++++++++++- dselect/po/tl.po | 45 ++++++++++++- dselect/po/vi.po | 45 ++++++++++++- dselect/po/zh_CN.po | 45 ++++++++++++- dselect/po/zh_TW.po | 45 ++++++++++++- man/po/dpkg-man.pot | 103 ++++++++++++++++++++++-------- man/po/es.po | 124 ++++++++++++++++++++++++++++-------- man/po/fr.po | 165 ++++++++++++++++++++++++++++++++++++++++-------- man/po/hu.po | 101 ++++++++++++++++++++++------- man/po/it.po | 117 ++++++++++++++++++++++++++-------- man/po/ja.po | 124 ++++++++++++++++++++++++++++-------- man/po/nl.po | 165 ++++++++++++++++++++++++++++++++++++++++-------- man/po/pl.po | 124 ++++++++++++++++++++++++++++-------- man/po/pt_BR.po | 108 +++++++++++++++++++++++-------- man/po/ru.po | 108 +++++++++++++++++++++++-------- man/po/sv.po | 124 ++++++++++++++++++++++++++++-------- man/po/zh_CN.po | 115 +++++++++++++++++++++++++-------- po/ast.po | 59 +++++++++++++---- po/bs.po | 62 ++++++++++++++---- po/ca.po | 70 ++++++++++++++++---- po/cs.po | 68 ++++++++++++++++---- po/da.po | 67 ++++++++++++++++---- po/de.po | 2 +- po/dpkg.pot | 47 ++++++++++---- po/dz.po | 57 +++++++++++++---- po/el.po | 60 ++++++++++++++---- po/eo.po | 67 ++++++++++++++++---- po/es.po | 71 ++++++++++++++++----- po/et.po | 58 +++++++++++++---- po/eu.po | 67 ++++++++++++++++---- po/fr.po | 71 ++++++++++++++++----- po/gl.po | 60 ++++++++++++++---- po/hu.po | 57 +++++++++++++---- po/id.po | 57 +++++++++++++---- po/it.po | 71 ++++++++++++++++----- po/ja.po | 67 ++++++++++++++++---- po/km.po | 57 +++++++++++++---- po/ko.po | 57 +++++++++++++---- po/ku.po | 53 ++++++++++++---- po/lt.po | 55 ++++++++++++---- po/mr.po | 57 +++++++++++++---- po/nb.po | 57 +++++++++++++---- po/ne.po | 57 +++++++++++++---- po/nl.po | 67 ++++++++++++++++---- po/nn.po | 57 +++++++++++++---- po/pa.po | 58 +++++++++++++---- po/pl.po | 67 ++++++++++++++++---- po/pt.po | 71 ++++++++++++++++----- po/pt_BR.po | 60 ++++++++++++++---- po/ro.po | 61 ++++++++++++++---- po/ru.po | 69 ++++++++++++++++---- po/sk.po | 68 ++++++++++++++++---- po/sv.po | 67 ++++++++++++++++---- po/th.po | 67 ++++++++++++++++---- po/tl.po | 57 +++++++++++++---- po/tr.po | 67 ++++++++++++++++---- po/vi.po | 67 ++++++++++++++++---- po/zh_CN.po | 82 ++++++++++++++++++------ po/zh_TW.po | 67 ++++++++++++++++---- scripts/po/ca.po | 78 ++++++++++++++++------- scripts/po/de.po | 7 +- scripts/po/dpkg-dev.pot | 35 ++++++---- scripts/po/es.po | 73 +++++++++++++++------ scripts/po/fr.po | 77 +++++++++++++++------- scripts/po/pl.po | 73 +++++++++++++++------ scripts/po/ru.po | 73 +++++++++++++++------ scripts/po/sv.po | 73 +++++++++++++++------ 93 files changed, 4708 insertions(+), 1052 deletions(-) commit c280fa7ae80284b17ca4be28655adaca96607ca8 Author: Boyuan Yang Date: Tue Feb 18 15:23:10 2020 -0500 po: Fix translation of --compare-versions In cs.po, zh_CN.po and zh_TW.po, some translated strings contain a typo for the --compare-versions string. This commit fixes those typos. Originally reported at: . Closes: #951614 Signed-off-by: Boyuan Yang Signed-off-by: Guillem Jover debian/changelog | 2 ++ po/cs.po | 2 +- po/zh_CN.po | 6 +++--- po/zh_TW.po | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) commit 0299d2e0fb946071487e9077f13f6d812de30300 Author: Guillem Jover Date: Sun Mar 8 03:23:03 2020 +0100 test: Ignore python-3.8 runtime warnings in codespell The new python version makes codespell itself emit runtime warnings, which confuses the test suite. Ignore thse for now. debian/changelog | 1 + t/codespell.t | 3 +++ 2 files changed, 4 insertions(+) commit 3fe32d838323dfa083dcc762df4e12e698310ef1 Author: Guillem Jover Date: Sat Mar 7 14:45:09 2020 +0100 debian: Fix typo debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8f2fcce22cd38dfc6a67111400914d4aaf31d7f0 Author: Guillem Jover Date: Sat Feb 29 23:22:50 2020 +0100 scripts/mk: Add QMAKE to buildtools.mk Closes: #920878 debian/changelog | 1 + scripts/mk/buildtools.mk | 2 ++ 2 files changed, 3 insertions(+) commit 65d2f06ecf7ab643cf4e6767a2f25f0a022c2768 Author: Guillem Jover Date: Sat Feb 29 20:36:41 2020 +0100 Dpkg::Source::Package: Detect directory traversals under debian directory We are creating at least the debian/source/format file on extract, so we need to detect and error out on any directory traversal attempts. Reported-by: Felix Lechner debian/changelog | 2 ++ scripts/Dpkg/Source/Package.pm | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+) commit 1fdb367b0906fe299fa4f2bfb388582ea3d0b3b6 Author: Helge Kreutzmann Date: Sun Mar 1 14:50:28 2020 +0100 Proofreading of German man pages on debian-l10n-german (Part 4) man/po/de.po | 522 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 267 insertions(+), 255 deletions(-) commit 506b5d45d9a12eecb5718043db91f094297c04a2 Author: Sven Joachim Date: Fri Feb 14 18:14:53 2020 +0100 German dpkg translation update Update to 1140t. po/de.po | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 9c1413408a4d9c5d3f1b76b0324361f6deee0d98 Author: Guillem Jover Date: Wed Feb 12 02:28:11 2020 +0100 libdpkg: Fix Doxygen comments debian/changelog | 1 + lib/dpkg/dir.c | 1 + lib/dpkg/version.c | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) commit 52ad6fa24e8663a1c522da274a174ae6ba24a4cc Author: Guillem Jover Date: Sun Feb 9 19:44:06 2020 +0100 doc: Update Doxygen configuration from version 1.8.16 debian/changelog | 1 + doc/Doxyfile.in | 214 +++++++++++++++++++++++++++++++++++++------------------ 2 files changed, 145 insertions(+), 70 deletions(-) commit b81acba9f358d63b38ad76508bc4baaa4786d935 Author: Guillem Jover Date: Fri Feb 7 03:05:12 2020 +0100 build: Enable more compiler warnings debian/changelog | 1 + m4/dpkg-compiler.m4 | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) commit ac22e69bf7d4832bb1ed0ed681591e80a50d5b18 Author: Guillem Jover Date: Tue Feb 4 04:36:38 2020 +0100 libdpkg: Use a varbuf to store the problem messages per parsedb context This both simplifies the code, gets rid of a static variable, and squashes a warning due to non-literal format strings. Warned-by: clang-10 -Wformat-nonliteral (from -Wformat=2) debian/changelog | 1 + lib/dpkg/parse.c | 2 ++ lib/dpkg/parsedump.h | 1 + lib/dpkg/parsehelp.c | 42 +++++++++++++++++++++--------------------- 4 files changed, 25 insertions(+), 21 deletions(-) commit 3d4ecf6f9ce5093a31fb1958ea09718d05505186 Author: Guillem Jover Date: Tue Feb 4 04:34:29 2020 +0100 libdpkg: Move printing of errno into dpkg_error_set() This simplifies the code, and squashes a warning. Warned-by: clang-10 -Wformat-nonliteral (from -Wformat=2) debian/changelog | 1 + lib/dpkg/error.c | 11 ++++------- 2 files changed, 5 insertions(+), 7 deletions(-) commit 33f375f87425ad26e85ba4c27beaf6296ea72d98 Author: Guillem Jover Date: Tue Feb 4 04:12:44 2020 +0100 libdpkg: Use a new DPKG_STATIC_CAST macro that works in C and C++ Warned-by: clang++-10 -Wold-style-cast debian/changelog | 1 + lib/dpkg/c-ctype.h | 3 ++- lib/dpkg/macros.h | 15 +++++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) commit bfee5cd63ca0786d7cc55c8593f198c0b9ed2f40 Author: Guillem Jover Date: Tue Feb 4 04:03:38 2020 +0100 libdpkg: Use a new DPKG_NULL macro that works in C and C++ Warned-by: clang++-10 -Wzero-as-null-pointer-constant debian/changelog | 1 + lib/dpkg/macros.h | 15 +++++++++++++++ lib/dpkg/string.h | 6 +++--- lib/dpkg/test.h | 14 ++++++++------ 4 files changed, 27 insertions(+), 9 deletions(-) commit 3fd4a7b3b4887c77a6315b724d5a1af6b5cba238 Author: Guillem Jover Date: Sat Feb 1 19:34:57 2020 +0100 libdpkg: Add new ATOMIC_FILE_NORMAL enum value to avoid a cast in C++ Warned-by: g++ -Wold-style-cast debian/changelog | 1 + dselect/methparse.cc | 2 +- lib/dpkg/atomic-file.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) commit 7b8236d8d782aa578070b10ed736afd423d08dc9 Author: Guillem Jover Date: Tue Feb 4 04:33:11 2020 +0100 libdpkg: Define new VARBUF_OBJECT macro debian/changelog | 1 + lib/dpkg/varbuf.h | 2 ++ 2 files changed, 3 insertions(+) commit f7a488d68bfb1070043a462b2d05944a819d367d Author: Guillem Jover Date: Tue Feb 4 04:33:58 2020 +0100 libdpkg: Fix memory leak in parsedb context close debian/changelog | 1 + lib/dpkg/parse.c | 1 + 2 files changed, 2 insertions(+) commit c3afad847701370dd45ec58414580115c8ea1d2c Author: Guillem Jover Date: Fri Feb 7 12:30:52 2020 +0100 libcompat: Disarm libselinux setexecfilecon() declaration for libcompat-test When building the selinux module as part of the libcompat-test library, that takes care of making sure the libcompat code can compile all the time, we are redeclaring the symbol which causes a compiler warning. Remap the symbol while we include the libselinux headers and then remove the remapping so that ours is used. Warned-by: gcc -Wredundant-decls debian/changelog | 2 ++ lib/compat/selinux.c | 8 ++++++++ 2 files changed, 10 insertions(+) commit 371662f160c4c71afe79eb6f277dc0a2419bee17 Author: Guillem Jover Date: Sun Mar 25 05:08:22 2018 +0200 dselect: Fix variable types to avoid needing old-style casts Warned-by: g++ -Wold-style-cast debian/changelog | 1 + dselect/baselist.cc | 9 +++++---- dselect/pkginfo.cc | 3 ++- 3 files changed, 8 insertions(+), 5 deletions(-) commit 428483f603e539f60e738f2ed1859b92852c3870 Author: Guillem Jover Date: Sun Mar 25 05:08:22 2018 +0200 dselect: Do not use unnecessary old-style casts Warned-by: g++ -Wold-style-cast debian/changelog | 1 + dselect/baselist.cc | 2 +- dselect/pkgdepcon.cc | 2 +- dselect/pkginfo.cc | 4 ++-- 4 files changed, 5 insertions(+), 4 deletions(-) commit a7b4a9ae06acdffb46313b76e91c0a40b7b1b63c Author: Guillem Jover Date: Thu Feb 23 03:47:43 2017 +0100 dselect: Use static_cast<> instead of old-style type qualifier cast Warned-by: g++ -Wcast-qual debian/changelog | 1 + dselect/baselist.cc | 4 ++-- dselect/main.cc | 4 ++-- dselect/pkglist.cc | 6 ++++-- 4 files changed, 9 insertions(+), 6 deletions(-) commit 398844386310471db42a7af98bf885e4162728f2 Author: Guillem Jover Date: Tue Feb 4 04:06:24 2020 +0100 dselect: Use nullptr instead of NULL Warned-by: clang-10 -Wzero-as-null-pointer-constant debian/changelog | 1 + dselect/method.cc | 4 ++-- dselect/methparse.cc | 4 ++-- dselect/pkglist.cc | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) commit 4f00cb936f15ee01763e23c5bbfa25cc384cfa88 Author: Guillem Jover Date: Sat Feb 1 19:30:15 2020 +0100 dselect: Reorder branches so that they are not duplicated Change the branches to alternate, instead of having the last two being equal which trigger this warning. This makes the code easier to follow as it's symmetric for all cases. Warned-by: gcc -Wduplicated-branches debian/changelog | 2 ++ dselect/pkgdepcon.cc | 15 ++++++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) commit bedfaeb58945622d19ed2bbb2eaf65b8f6152b5d Author: Guillem Jover Date: Tue Mar 2 00:25:59 2010 +0100 dpkg: Make it possible for the compiler to check printf format By using the format as a string literal in the actual function we let the compiler check for its validity against the arguments passed. Warned-by: gcc -Wformat-nonliteral (from -Wformat=2) debian/changelog | 2 ++ src/depcon.c | 29 +++++++++++++++++------------ 2 files changed, 19 insertions(+), 12 deletions(-) commit 4e80526259046215c52f4024c7e4bc4fbdc6cd71 Author: Guillem Jover Date: Tue Mar 2 00:24:44 2010 +0100 t/200_Dpkg_Shlibs: Reformat for coding style conformance debian/changelog | 1 + scripts/t/Dpkg_Shlibs/patterns.cpp | 128 +++++++++++++++++-------------------- 2 files changed, 61 insertions(+), 68 deletions(-) commit f9a05d7cfe6492bd903eeeabe8d36f115386cff3 Author: Helge Kreutzmann Date: Sun Feb 2 06:50:39 2020 +0100 Update German translation of manual pages Update to 3022t. Includes further proofreading on debian-l10n-german man/po/de.add | 2 +- man/po/de.po | 299 +++++++++++++++++++++++++++++----------------------------- 2 files changed, 152 insertions(+), 149 deletions(-) commit d3a02acdca7515e24ff268f02a93d1b5b655c200 Author: Helge Kreutzmann Date: Sun Feb 2 06:24:30 2020 +0100 Add one missing markup man/dpkg-trigger.man | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ee84837df531a8f6b569fe99c049a30ccc8b9021 Author: Sven Joachim Date: Sat Feb 1 18:13:59 2020 +0100 German dselect translation update Update to 275t. dselect/po/de.po | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit efbd608a51740e5a67aeb85de3a953c721c90664 Author: Sven Joachim Date: Sat Feb 1 18:13:46 2020 +0100 German dpkg translation update Update to 1140t. po/de.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 3e3c4b160a4fe21ec73539a8cf5b013ea05ff99e Author: Guillem Jover Date: Sat Feb 1 04:16:46 2020 +0100 dpkg, dselect: Stop using first-person singular in output messages It is very strange reading the computer/program talk to the user in first-person singular, and it's a practice that has been discouraged for a while now. debian/changelog | 1 + dselect/helpmsgs.cc | 2 +- dselect/methods/disk/install | 16 ++++++++-------- dselect/methods/disk/setup | 16 ++++++++-------- dselect/methods/multicd/install | 20 ++++++++++---------- dselect/methods/multicd/setup | 26 +++++++++++++------------- lib/dpkg/parse.c | 2 +- src/archives.c | 2 +- 8 files changed, 43 insertions(+), 42 deletions(-) commit 2f7e8b6ee7812a105c38beb978401954774aa9eb Author: Guillem Jover Date: Sat Feb 1 03:51:57 2020 +0100 doc, man: Mark T and I package instances to avoid misreadings Using “I” without any kind of marking makes it hard to read, as it can easily get confused with the first-person singular pronoun. debian/changelog | 1 + doc/triggers.txt | 28 ++++++++++++++-------------- man/dpkg-trigger.man | 10 +++++----- 3 files changed, 20 insertions(+), 19 deletions(-) commit ceb024b410612c70b63e5efe53e5c06b7fed3ef2 Author: Guillem Jover Date: Fri Jan 31 03:41:54 2020 +0100 dselect: Replace changelog with correct copyright in file header This made sense when the method was in a different source package, but it stopped making sense when it got merged into dpkg proper. debian/changelog | 1 + dselect/methods/multicd/setup | 8 +------- 2 files changed, 2 insertions(+), 7 deletions(-) commit 733f459fc6c7c318bb3893ec9b63731dfb6c573a Author: Guillem Jover Date: Fri Jan 17 00:58:34 2020 +0100 dselect: Remove multi_mount method debian/changelog | 2 ++ dselect/methods/Makefile.am | 1 - dselect/methods/multicd/README.multicd | 12 +++--------- dselect/methods/multicd/desc.multi_mount | 11 ----------- dselect/methods/multicd/install | 12 ------------ dselect/methods/multicd/names | 1 - 6 files changed, 5 insertions(+), 34 deletions(-) commit 18119725a55b359926ad9112e2810b1a32ee98e2 Author: Guillem Jover Date: Fri Dec 27 03:15:53 2019 +0100 dselect: Remove nfs methods There is nothing special about NFS, and mounting these should just be left to the local admin, who can mount any other remote filesystem too. debian/changelog | 3 + dselect/methods/Makefile.am | 3 +- dselect/methods/disk/desc.nfs | 9 --- dselect/methods/disk/install | 6 -- dselect/methods/disk/names | 1 - dselect/methods/disk/setup | 113 +-------------------------------- dselect/methods/disk/update | 6 -- dselect/methods/multicd/README.multicd | 2 - dselect/methods/multicd/desc.multi_nfs | 12 ---- dselect/methods/multicd/install | 6 -- dselect/methods/multicd/names | 1 - dselect/methods/multicd/setup | 72 --------------------- dselect/methods/multicd/update | 6 -- 13 files changed, 5 insertions(+), 235 deletions(-) commit be0379378c0b3c3244eb992aac97eacfcf54b007 Author: Guillem Jover Date: Fri Dec 27 03:06:17 2019 +0100 dselect: Remove cdrom method superseded by the multi_cd method debian/changelog | 1 + dselect/methods/Makefile.am | 1 - dselect/methods/disk/desc.cdrom | 3 -- dselect/methods/disk/names | 1 - dselect/methods/disk/setup | 103 ++-------------------------------------- 5 files changed, 4 insertions(+), 105 deletions(-) commit b6b7d10bc6f7f04ef972e4f22facc24ec578b3c1 Author: Guillem Jover Date: Fri Dec 27 02:53:59 2019 +0100 dselect: Remove harddisk methods These were non-functional due to fdisk changes, and do not make sense anymore, as we can expect users to mount any such filesystem on their own and then use a filesystem method instead. debian/changelog | 5 +++ dselect/methods/Makefile.am | 1 - dselect/methods/disk/desc.harddisk | 9 ----- dselect/methods/disk/names | 1 - dselect/methods/disk/setup | 70 -------------------------------------- dselect/methods/multicd/install | 5 --- dselect/methods/multicd/setup | 63 ---------------------------------- 7 files changed, 5 insertions(+), 149 deletions(-) commit 15de47b0b13ec19a128cd61ede8fc6ff58f0e2cb Author: Guillem Jover Date: Fri Jan 17 01:20:38 2020 +0100 dselect: Update multicd README file debian/changelog | 1 + dselect/methods/multicd/README.multicd | 105 ++++++++++++++++----------------- 2 files changed, 51 insertions(+), 55 deletions(-) commit cc7476b3f049d5e0549191441ed1a82791efbc5a Author: Guillem Jover Date: Sun Dec 29 03:48:36 2019 +0100 dselect: Mark a string for translation debian/changelog | 1 + dselect/method.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 4dcce43d964a779d3587fab39699f533d1091976 Author: Helge Kreutzmann Date: Fri Jan 31 20:32:03 2020 +0100 Update German translation of manual pages Update to 3022. Includes further proofreading on debian-l10n-german man/po/de.po | 780 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 404 insertions(+), 376 deletions(-) commit d82d003aa426fc3eedcd18acc5b43105b0fbc1fd Author: Guillem Jover Date: Fri Jan 31 00:21:21 2020 +0100 man, doc: Clarify the postinst "triggered" arguments The trigger-name(s) is passed as a space-separated list in the second argument. Prompted-by: Michael Biebl debian/changelog | 3 +++ doc/triggers.txt | 5 ++++- man/deb-postinst.man | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-) commit 501f56659c512a4c365b873c87c9a5c41ef82d11 Author: Helge Kreutzmann Date: Wed Jan 29 18:01:17 2020 +0100 Update German scripts translation Update to 609t. scripts/po/de.po | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit 0f560b4cb650753a9d0c91fa30c13974b17fc2e5 Author: Guillem Jover Date: Wed Jan 29 01:21:49 2020 +0100 test: Skip backup files debian/changelog | 1 + t/codespell.t | 1 + 2 files changed, 2 insertions(+) commit 5a72724fa5721f065894ddd2fade79aab9268e2a Author: Guillem Jover Date: Wed Jan 29 01:19:47 2020 +0100 build: Remove reference to deleted debian/compat file Fixes: commit 4158d222d9b8734eb764da70e6b8cac066dc8654 Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 82d9cfd7e0c8733c322806b257ac194103d7d423 Author: Guillem Jover Date: Sat Jan 25 03:29:36 2020 +0100 Dpkg::Substvars: Add new vendor:Name and vendor:Id substvars These will make it easier to keep packaging branding neutral from the current vendor, so that derivatives need to modify less things from their parent. debian/changelog | 1 + man/deb-substvars.man | 10 ++++++++++ scripts/Dpkg/Substvars.pm | 21 +++++++++++++++++++++ scripts/dpkg-genchanges.pl | 1 + scripts/dpkg-gencontrol.pl | 1 + scripts/t/Dpkg_Substvars.t | 8 +++++++- 6 files changed, 41 insertions(+), 1 deletion(-) commit 0ecdc83131190666cc1ccfe5b8b43e97ade7cff2 Author: Guillem Jover Date: Wed Jan 29 00:25:09 2020 +0100 test: Update suppressions for cppcheck 1.90 Some got introduced in 1.89 and fixed in 1.90, others had been fixed before but never noticed, remove them now. Update the comments to match the newly grouped suppressions. t/cppcheck/cppcheck.supp | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) commit 5e3ffab92fcc099000ab6308eba3140d20796cfc Author: Guillem Jover Date: Wed Jan 29 00:20:41 2020 +0100 u-a: Move error context setup before calling setjmp() This is a cppcheck false-positive, but by rearranging the code we can avoid it, and it makes it somewhat more clear anyway. This was causing lots of fuzzying when the line numbers were getting changed. Warned-by: cppcheck debian/changelog | 2 ++ t/cppcheck/cppcheck.supp | 3 --- utils/update-alternatives.c | 15 ++++++++------- 3 files changed, 10 insertions(+), 10 deletions(-) commit b006dc6ce5a78baba9c21f58048a8f65946d95ec Author: Guillem Jover Date: Wed Jan 29 00:15:48 2020 +0100 u-a: Remove redundant condition in argument parser This was really a redundant condition, and independent of the variable being an enum instead of a bool. Warned-by: cppcheck debian/changelog | 1 + t/cppcheck/cppcheck.supp | 3 --- utils/update-alternatives.c | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) commit 8a98dae74c864ef3f44855a5c2edf42aa9a7bc0e Author: Guillem Jover Date: Wed Jan 29 00:09:53 2020 +0100 test: Remove redundant assignment This is really a redundant assignment, as the variable is local, and even if the error handler was triggered, it would jump to the first branch of the setjmp conditional, which also sets pass to false. Warned-by: cppcheck debian/changelog | 1 + lib/dpkg/t/t-ehandle.c | 3 --- t/cppcheck/cppcheck.supp | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) commit 6dc63578c8a7f7fae5968334577140985990317b Author: Guillem Jover Date: Tue Jan 28 23:49:59 2020 +0100 debian: Bump Standards-Version to 4.5.0 (no changes required) debian/changelog | 1 + debian/control | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 4158d222d9b8734eb764da70e6b8cac066dc8654 Author: Guillem Jover Date: Tue Jan 28 23:47:06 2020 +0100 debian: Switch from debian/compat to debhelper-compat in Build-Depends debian/changelog | 1 + debian/compat | 1 - debian/control | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) commit df3e0a9a310a1a5943735d67dbadcc4fbc523687 Author: Guillem Jover Date: Tue Jan 28 23:45:17 2020 +0100 debian: Switch to debhelper compatibility level 12 debian/changelog | 1 + debian/compat | 2 +- debian/control | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit 3beef2f57d353accf5e508ae8065feb813eb7d66 Author: Guillem Jover Date: Tue Jan 28 23:41:52 2020 +0100 build: Update debian/.gitignore for dh_autoreconf artifacts debian/.gitignore | 2 ++ 1 file changed, 2 insertions(+) commit f032555d9f98f00b0ccf05d6459a6bb8f9897f0b Author: Guillem Jover Date: Tue Jan 28 23:24:30 2020 +0100 Dpkg::Source::Package: Fix original tarball signature calls We need to pass the directory as the first argument, and should not be calling the functions if there are no tarball signatures to verify. Fixes: commit 3821f024d92aabf24a333025c1c1956d8a45e718 Reported-by: Niels Thykier scripts/Dpkg/Source/Package/V1.pm | 2 +- scripts/Dpkg/Source/Package/V2.pm | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 7fd5756e22177b39c7822ca0672bd6a59f659971 Author: Guillem Jover Date: Tue Jan 28 23:23:28 2020 +0100 Dpkg::Dist::Files: Document the two filename pattern formats Prompted-by: Felix Lechner debian/changelog | 1 + scripts/Dpkg/Dist/Files.pm | 4 ++++ 2 files changed, 5 insertions(+) commit e8ffa0552b5600f18c06702c16033f0bcb1b1e11 Author: Guillem Jover Date: Tue Jan 28 23:20:09 2020 +0100 Dpkg::Dist::Files: On filename parse error say file instead of package debian/changelog | 1 + scripts/Dpkg/Dist/Files.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 0e9eb7b807733e41c1e38012a5560376887232db Author: Guillem Jover Date: Tue Jan 28 23:55:40 2020 +0100 Dpkg::OpenPGP, Dpkg::Source::Package: Update needed modules This was missed when refactoring the code out of Dpkg::Source::Package. Fixes: commit 139dfc4c78593d995610c0aa180300a9a7dd94ac scripts/Dpkg/OpenPGP.pm | 1 + scripts/Dpkg/Source/Package.pm | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) commit 05c9d5ba0ce65d47070e31e997f6eeb6ab558d12 Author: Helge Kreutzmann Date: Mon Jan 20 22:44:31 2020 +0100 Update German translation of manual pages Update to 3018t. man/po/de.po | 1243 ++++++++++++++++++++++++++++++---------------------------- 1 file changed, 642 insertions(+), 601 deletions(-) commit 5f0001ac38b255591a5ab88b8bf0a846c0f4ac14 Author: Helge Kreutzmann Date: Mon Jan 20 19:47:46 2020 +0100 Update German scripts translation Update to 609t. scripts/po/de.po | 56 +++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 35 insertions(+), 21 deletions(-) commit b0884e9d08fa9996bc67c96712b187c1255b5def Author: Sven Joachim Date: Mon Jan 20 18:12:29 2020 +0100 German dpkg translation update Update to 1140t. po/de.po | 50 +++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 39 insertions(+), 11 deletions(-) commit ff589fd1d161dbea88dea82c7edee5ed62549c74 Author: Guillem Jover Date: Mon Jan 20 02:53:10 2020 +0100 dpkg-architecture: Suppress perlcritic policy for «no warnings» Fixes: commit ba23abe9e93ffcdae09ec234208ea55478c3f5ac scripts/dpkg-architecture.pl | 1 + 1 file changed, 1 insertion(+) commit 33899e9378790f0bda984feb09860899eab96331 Author: Guillem Jover Date: Sat Nov 23 19:44:12 2019 +0100 libdpkg, dpkg-query: Optimize db-fsys:Files loading We load either the entire db-fsys for all packages, possibly optimized per platform (such as by using fiemap), or the specific ones for the requested packages. This also fixes a problematic cast removing the constness of a variable. debian/changelog | 5 +++++ lib/dpkg/pkg-format.c | 28 +++++++++++++++++++--------- lib/dpkg/pkg-format.h | 3 +++ src/querycmd.c | 13 +++++++++++++ 4 files changed, 40 insertions(+), 9 deletions(-) commit 2e5010d660ea644e05d77ec48fe760d1a044ceda Author: Guillem Jover Date: Thu Jan 9 05:18:33 2020 +0100 dpkg-buildpackage: Do not accept equal signs as part of the hook names Closes: #948291 Reported-by: Daniel Shahaf debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 3f77e30a269bb3ffb2b45f3f74c29e495beac8c9 Author: Guillem Jover Date: Mon Jan 20 00:59:17 2020 +0100 Dpkg::Vendor::Ubuntu: Remove obsolete 'keyrings' hook Fixes: commit 6e6bd74a5664b3d354dc7fd892a08eaf928980ad scripts/Dpkg/Vendor/Ubuntu.pm | 3 --- 1 file changed, 3 deletions(-) commit ba23abe9e93ffcdae09ec234208ea55478c3f5ac Author: Guillem Jover Date: Mon Jan 20 01:48:01 2020 +0100 dpkg-architecture: Fix handling of exec failing in --command We should check exec's return value, and error out ourselves so that we exit with a correct error code. We suppress the perl exec warning, so that we do not get duplicate messages. Reported-by: Helmut Grohne debian/changelog | 2 ++ scripts/dpkg-architecture.pl | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) commit a7c8c0f02e4a6399ad485b67284ac018914da082 Author: Guillem Jover Date: Sat Dec 7 22:14:37 2019 +0100 libdpkg: Fix comment description lib/dpkg/db-ctrl-access.c | 2 +- lib/dpkg/db-ctrl-format.c | 2 +- lib/dpkg/db-ctrl-upgrade.c | 2 +- lib/dpkg/options-parsers.c | 2 +- lib/dpkg/t/b-fsys-hash.c | 2 +- lib/dpkg/t/b-pkg-hash.c | 2 +- lib/dpkg/t/c-tarextract.c | 2 +- lib/dpkg/t/c-treewalk.c | 2 +- lib/dpkg/t/t-fsys-dir.c | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) commit 2896dae700d8aaff73b4a05f07c0c138a20c784c Author: Guillem Jover Date: Fri Nov 29 02:23:01 2019 +0100 libdpkg: Create the info/ database directory on demand debian/changelog | 1 + lib/dpkg/db-ctrl-upgrade.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit ee8be1388758cb0e71cfbf7cb61d543040442f86 Author: Guillem Jover Date: Fri Nov 29 02:22:37 2019 +0100 libdpkg: Create the updates/ database directory on demand debian/changelog | 1 + lib/dpkg/dbmodify.c | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) commit 12b68b3fbc9970d91bbacf49291ad3e5a9e5cced Author: Guillem Jover Date: Wed Mar 20 05:21:26 2019 +0100 libdpkg: Create the dpkg database directory on demand debian/changelog | 1 + lib/dpkg/arch.c | 2 +- lib/dpkg/dbmodify.c | 17 ++++++++++++++++- 3 files changed, 18 insertions(+), 2 deletions(-) commit e6bc50a5ecc6743c1ad03aede8679a81d11ac713 Author: Guillem Jover Date: Fri Nov 29 02:26:41 2019 +0100 libdpkg: Do not change the ownership of the triggers database directory Either we are running as root:root (checked by modstatdb_open()) which means the ownership should be correct already, or we are not which means we cannot change it anyway. debian/changelog | 3 +++ lib/dpkg/triglib.c | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) commit 99c9cdbf1b9650ef5025c3c06ea918ef3007888e Author: Guillem Jover Date: Fri Mar 15 03:25:16 2019 +0100 libdpkg: Allow missing status and available databases This makes it possible to bootstrap an installation w/o requiring external knowledge of the dpkg internals, as the databases will be created on write when necessary. We can then remove the code setting them up from the dpkg postinst. Closes: #647911 Makefile.am | 1 - debian/changelog | 3 +++ debian/dpkg.postinst | 32 -------------------------------- lib/dpkg/dpkg-db.h | 7 +++++-- lib/dpkg/parse.c | 14 ++++++++++++-- t/shellcheck.t | 1 - 6 files changed, 20 insertions(+), 38 deletions(-) commit bbb52d7a9a8061920414634af22d76b7f02466eb Author: Guillem Jover Date: Fri Mar 15 03:08:50 2019 +0100 libdpkg: Create the logfile with correct permissions We switch from fopen(3) to open(2) so that we get more control when opening the log file and can explicitly give the corrent mode to use. Remove the code from the postinst, as it should now be unnecessary. debian/changelog | 3 +++ debian/dpkg.postinst | 14 -------------- lib/dpkg/log.c | 29 ++++++++++++++++++----------- 3 files changed, 21 insertions(+), 25 deletions(-) commit d1ff4b8427aab0ad735735a1bfc9a8f037c8fda0 Author: Guillem Jover Date: Sun Dec 1 04:21:43 2019 +0100 libdpkg: Consider msdbrw_needsuperuser equivalent to msdbrw_write When checking for missing access to the dpkg database directory, we should consider msdbrw_needsuperuser equivalent to msdbrw_write, as the former is a superset of the latter. debian/changelog | 2 ++ lib/dpkg/dbmodify.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 5997521cc98bddfb2be4c80a69b120624b249313 Author: Guillem Jover Date: Sun Dec 1 04:20:41 2019 +0100 libdpkg: Fix modstatdb_rw enum comments debian/changelog | 1 + lib/dpkg/dpkg-db.h | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) commit 9b611f69a628387424b4597485cd274e5cce0998 Author: Guillem Jover Date: Wed Mar 20 05:21:11 2019 +0100 dpkg-split: Create the parts/ database directory on demand This makes it possible to bootstrap dpkg w/o requiring external knowledge of internal details. debian/changelog | 1 + dpkg-split/queue.c | 4 ++++ 2 files changed, 5 insertions(+) commit 49c8d396ff36fd0c21f2a7a082ebf1d9b609e22b Author: Guillem Jover Date: Wed Mar 20 05:21:11 2019 +0100 dpkg-split: Cope with a missing parts/ database directory When trying to scan the parts/ directory, we should gracefully cope with it being missing, which can be the case when bootstrapping this package on a new system. Or when using an different administrative directory. debian/changelog | 1 + dpkg-split/queue.c | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) commit 16f696213370484cc1930071a31481bd7dc87262 Author: Guillem Jover Date: Sun Dec 29 03:49:38 2019 +0100 libdpkg: Add new atomic file flag to create the base path when missing debian/changelog | 1 + lib/dpkg/atomic-file.c | 8 ++++++++ lib/dpkg/atomic-file.h | 1 + 3 files changed, 10 insertions(+) commit 62f5a5399b721e7bcf47bb0aa4c9f0582739eda9 Author: Guillem Jover Date: Sat Mar 16 04:58:12 2019 +0100 libdpkg: Add new dir_make_path() and dir_make_path_parent() functions debian/changelog | 1 + lib/dpkg/dir.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++ lib/dpkg/dir.h | 7 ++++++ lib/dpkg/libdpkg.map | 2 ++ 4 files changed, 72 insertions(+) commit 5fd4ba68c41c1be5a28dfe241aec35c7e11255e7 Author: Guillem Jover Date: Sat Nov 30 22:17:55 2019 +0100 u-a: Create the administrative directory on demand Create it if missing when saving the alternative into the database. debian/changelog | 1 + t/cppcheck/cppcheck.supp | 12 ++++++------ utils/update-alternatives.c | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 6 deletions(-) commit 63b5e9b5cbc4023b3d3fbec9823bfbaf270fd261 Author: Guillem Jover Date: Sat Nov 30 22:17:55 2019 +0100 u-a: Cope with a missing administrative directory When trying to scan the administrative directory, we should gracefully cope with it being missing, which can be the case when bootstrapping this package on a new system. Or when using a different administrative directory. debian/changelog | 1 + t/cppcheck/cppcheck.supp | 12 ++++++------ utils/update-alternatives.c | 9 +++++++-- 3 files changed, 14 insertions(+), 8 deletions(-) commit 67a1d582284c5ce22a46d68c45bc7410d33845d6 Author: Guillem Jover Date: Mon Mar 11 23:00:29 2019 +0100 dpkg-buildpackage: Add option to sanitize environment This new option will apply vendor-specific sanitization to the environment so that the build is safer. We cannot enable this by default as that would let packages assume these settings are always in place, which would cause regressions when using the currently defined build entry point (debian/rules). Closes: #843776 debian/changelog | 1 + man/dpkg-buildpackage.man | 9 +++++++++ scripts/Dpkg/Vendor/Debian.pm | 5 +++++ scripts/Dpkg/Vendor/Default.pm | 7 +++++++ scripts/dpkg-buildpackage.pl | 10 ++++++++++ t/pod-spell.t | 1 + 6 files changed, 33 insertions(+) commit be1d6863fda782ce94d017aae5f035b92f54d6cb Author: Guillem Jover Date: Mon Mar 11 23:36:02 2019 +0100 scripts: Give more context on field parsing errors While the line number and column are lost at the point were we parse the field values, printing the name of the binary package should help substantially on locating the required context in the file. Closes: #637060 debian/changelog | 1 + scripts/dpkg-checkbuilddeps.pl | 4 ++-- scripts/dpkg-gencontrol.pl | 17 +++++++++-------- scripts/dpkg-shlibdeps.pl | 2 +- scripts/dpkg-source.pl | 5 +++-- 5 files changed, 16 insertions(+), 13 deletions(-) commit 8c65a0fbedabf49878dedf7b58b8a3e581d6bc1d Author: Guillem Jover Date: Sun Dec 29 03:48:51 2019 +0100 man: Clarify debian/source/include-binaries format Prompted-by: Felix Lechner debian/changelog | 2 ++ man/dpkg-source.man | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 00790440e0844d49af5830af5fe73ad0713453c3 Author: Guillem Jover Date: Wed Dec 18 03:05:43 2019 +0100 man: Clarify deb-changelog(5) format Specify that the semicolon is required, that zero or more key/values are allowed, the format of the keys, and the exact Unicode characters used for the delimiters. Closes: #946780 debian/changelog | 1 + man/deb-changelog.man | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) commit 26107bd453f343d93f0128a9c30d74435debefc1 Author: Mo Zhou Date: Wed Dec 18 03:24:47 2019 +0100 po: Update Simplified Chinese programs translation Closes: #945776 Signed-off-by: Guillem Jover debian/changelog | 2 +- po/zh_CN.po | 280 +++++++++++++++++++++++-------------------------------- 2 files changed, 116 insertions(+), 166 deletions(-) commit 72e359a5d595838f1d727a3b6269541757a54aed Author: Guillem Jover Date: Mon Jan 20 00:23:42 2020 +0100 libdpkg: Fix memory leaks in zlib and bz2 decompression functions We need to close the handles to release their respective resources. These leaks are not important as they are short-lived in the current implementation as the call site will always execute them in a child process. Warned-by: coverity debian/changelog | 1 + lib/dpkg/compress.c | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) commit cfc4908be31c24010cf52193f8ebdefc6d9ab8ea Author: Guillem Jover Date: Mon Jan 20 00:28:44 2020 +0100 s-s-d: Close the notification socket in the child This is not really required, as the socket is set as close-on-exec, but it confuses some static analyzers. So let's close it explicitly, which makes the intention more clear too. Warned-by: coverity debian/changelog | 1 + utils/start-stop-daemon.c | 4 ++++ 2 files changed, 5 insertions(+) commit 531e6c329152e61163102241fb6d721bcb19c0d3 Author: Guillem Jover Date: Mon Jan 20 00:21:36 2020 +0100 s-s-d: Fix memory leak on multiple --chuid arguments When we pass multiple times the --chuid option, it will leak any previous argument. Warned-by: coverity debian/changelog | 1 + utils/start-stop-daemon.c | 1 + 2 files changed, 2 insertions(+) commit 375d066c0c30cd810d2c9c4b1ab6ffe889f5de60 Author: Guillem Jover Date: Mon Jan 20 00:20:20 2020 +0100 s-s-d: Explicitly ignore uninmportant function return values Warned-by: coverity debian/changelog | 1 + utils/start-stop-daemon.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) commit 098b9642ddae878c155c358e3ef5ca9ecf401d79 Author: Guillem Jover Date: Sat Jan 18 01:52:18 2020 +0100 dpkg-split: Fix short-lived file descriptor leak --auto Warned-by: coverity debian/changelog | 1 + dpkg-split/queue.c | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit c3d79e40b18d57d6a287fb49c6b2c04b8dc5722d Author: Guillem Jover Date: Sat Jan 18 01:35:14 2020 +0100 dpkg: Fix short lived memory leak in --force-help handling Warned-by: coverity debian/changelog | 1 + src/force.c | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) commit 53ae4e616df2dbc49fe2f11492558bdee1ef0cfe Author: Guillem Jover Date: Sat Jan 18 01:23:07 2020 +0100 test: Suppress new bogus cppcheck 1.90 false positives Warned-by: cppcheck debian/changelog | 2 +- t/cppcheck/cppcheck.supp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit 37b8a0ea1ab1bd96dd7a4c8c1a90ef76a6a0802b Author: Guillem Jover Date: Thu Jan 16 04:30:20 2020 +0100 libdpkg: Fix format string to be a string literal This also removes an intermediate string formatting. Warned-by: gcc-10, gcc -Wformat=2 debian/changelog | 2 ++ lib/dpkg/pkg-format.c | 25 ++++++++----------------- 2 files changed, 10 insertions(+), 17 deletions(-) commit 0ec260b39b0d23d262ddff07d8954f11c8d954c7 Author: Guillem Jover Date: Sat Nov 23 19:44:12 2019 +0100 libdpkg: Only use varbuf_printf() in pkg_format_show() when necessary Calling varbuf_printf() to add a simple string is quite expensive. We should only use it when we need to format the arguments. debian/changelog | 2 ++ lib/dpkg/pkg-format.c | 32 +++++++++++++++++++------------- 2 files changed, 21 insertions(+), 13 deletions(-) commit b077a733f086d7e75d12cc4cfc733654a3b37925 Author: Guillem Jover Date: Thu Jan 16 04:01:17 2020 +0100 libdpkg: Fix fiemap memory usage layout The compiler has a hard time understanding that the composite struct is being used to allocate enough space for the flexible array member, and emits an out of bounds warning (-Wzero-length-bounds). Instead use a buffer with enough space that we alias to a struct fiemap. Warned-by: gcc-10 debian/changelog | 2 ++ lib/dpkg/db-fsys-files.c | 25 ++++++++++++++----------- 2 files changed, 16 insertions(+), 11 deletions(-) commit a0828e04289639f875cb924f8d1a65a634683b19 Author: Helge Kreutzmann Date: Thu Dec 26 08:21:49 2019 +0100 po: Regenerate .pot files and merge .po files with them dselect/po/bs.po | 6 +- dselect/po/ca.po | 70 +- dselect/po/cs.po | 70 +- dselect/po/da.po | 70 +- dselect/po/de.po | 2 +- dselect/po/dselect.pot | 8 +- dselect/po/el.po | 6 +- dselect/po/es.po | 70 +- dselect/po/et.po | 6 +- dselect/po/eu.po | 38 +- dselect/po/fr.po | 70 +- dselect/po/gl.po | 38 +- dselect/po/hu.po | 6 +- dselect/po/id.po | 6 +- dselect/po/it.po | 6 +- dselect/po/ja.po | 70 +- dselect/po/ko.po | 6 +- dselect/po/nb.po | 70 +- dselect/po/nl.po | 70 +- dselect/po/nn.po | 6 +- dselect/po/pl.po | 70 +- dselect/po/pt.po | 70 +- dselect/po/pt_BR.po | 38 +- dselect/po/ro.po | 38 +- dselect/po/ru.po | 70 +- dselect/po/sk.po | 38 +- dselect/po/sv.po | 70 +- dselect/po/tl.po | 6 +- dselect/po/vi.po | 70 +- dselect/po/zh_CN.po | 6 +- dselect/po/zh_TW.po | 38 +- man/po/dpkg-man.pot | 11338 +++++++++++++------------- man/po/es.po | 19904 ++++++++++++++++++++++----------------------- man/po/fr.po | 18887 ++++++++++++++++++++++--------------------- man/po/hu.po | 13075 +++++++++++++++--------------- man/po/it.po | 17954 ++++++++++++++++++++--------------------- man/po/ja.po | 19848 ++++++++++++++++++++++----------------------- man/po/nl.po | 18956 +++++++++++++++++++++---------------------- man/po/pl.po | 19959 +++++++++++++++++++++++----------------------- man/po/pt_BR.po | 13447 +++++++++++++++---------------- man/po/ru.po | 13766 ++++++++++++++++---------------- man/po/sv.po | 19603 +++++++++++++++++++++++---------------------- man/po/zh_CN.po | 12682 ++++++++++++++--------------- po/ast.po | 29 +- po/bs.po | 24 +- po/ca.po | 32 +- po/cs.po | 32 +- po/da.po | 32 +- po/de.po | 2 +- po/dpkg.pot | 26 +- po/dz.po | 29 +- po/el.po | 30 +- po/eo.po | 32 +- po/es.po | 32 +- po/et.po | 29 +- po/eu.po | 32 +- po/fr.po | 32 +- po/gl.po | 29 +- po/hu.po | 29 +- po/id.po | 29 +- po/it.po | 32 +- po/ja.po | 32 +- po/km.po | 29 +- po/ko.po | 29 +- po/ku.po | 27 +- po/lt.po | 29 +- po/mr.po | 29 +- po/nb.po | 29 +- po/ne.po | 29 +- po/nl.po | 32 +- po/nn.po | 27 +- po/pa.po | 30 +- po/pl.po | 32 +- po/pt.po | 68 +- po/pt_BR.po | 29 +- po/ro.po | 29 +- po/ru.po | 32 +- po/sk.po | 32 +- po/sv.po | 32 +- po/th.po | 32 +- po/tl.po | 27 +- po/tr.po | 32 +- po/vi.po | 32 +- po/zh_CN.po | 32 +- po/zh_TW.po | 32 +- scripts/po/ca.po | 145 +- scripts/po/de.po | 2 +- scripts/po/dpkg-dev.pot | 55 +- scripts/po/es.po | 78 +- scripts/po/fr.po | 82 +- scripts/po/pl.po | 79 +- scripts/po/ru.po | 81 +- scripts/po/sv.po | 83 +- 93 files changed, 103344 insertions(+), 99163 deletions(-) commit cad2ca70bdfcaca55afd00cac111c095762ee12c Author: Helge Kreutzmann Date: Thu Dec 26 07:53:02 2019 +0100 Proofreading of German man pages on debian-l10n-german (Part 1) man/po/de.po | 944 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 468 insertions(+), 476 deletions(-) commit 036cb27170a1f95446ecd03a20cf3601d9a85f38 Author: Sven Joachim Date: Wed Nov 27 19:43:52 2019 +0100 German dselect translation update Update to 274t. debian/changelog | 3 +++ dselect/po/de.po | 15 ++++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) commit 38da4b7aca42fc62a49b2a5879fc9021ca973b98 Author: Sven Joachim Date: Wed Nov 27 19:43:26 2019 +0100 German dpkg translation update Update to 1135t. po/de.po | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 21199ee1c25538ee24cdacc0a133ac6ff3502821 Author: Guillem Jover Date: Tue Nov 26 13:17:45 2019 +0100 Dpkg::Source::Package: Honor require_valid_signature option We need to pass this option forward to the verify_signature() calls, otherwise we use the default. Fixes: commit 139dfc4c78593d995610c0aa180300a9a7dd94ac Fixes: commit 3821f024d92aabf24a333025c1c1956d8a45e718 scripts/Dpkg/Source/Package.pm | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 89f9aad83b2c67294aaf80658fcdc6f36c3129ef Author: Guillem Jover Date: Wed Nov 27 03:37:08 2019 +0100 po: Remove previous msgids for up-to-date translations This was causing unit test failures. po/pt.po | 121 --------------------------------------------------------------- 1 file changed, 121 deletions(-) commit 34974887506d0bcf8bc069e99a22901647e6d173 Author: Helge Kreutzmann Date: Tue Nov 26 19:42:31 2019 +0100 Update German translation of manual pages Update to 3016t. man/deb-src-symbols.man | 2 +- man/po/de.po | 18558 +++++++++++++++++++++++----------------------- 2 files changed, 9346 insertions(+), 9214 deletions(-) commit b0d572695d2fc5478d2461e952145d933e40e6be Author: Helge Kreutzmann Date: Tue Nov 26 18:27:48 2019 +0100 Update German scripts translation Update to 609t. scripts/po/de.po | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) commit 89afa9af7cd589eb8384ed96b6d86dd59d56bdf5 Author: Guillem Jover Date: Tue Nov 5 12:59:17 2019 +0100 Dpkg::Source::Package::V3::Native: Do not say v1.0 for 3.0 formats debian/changelog | 1 + scripts/Dpkg/Source/Package/V3/Native.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 2eafcd122aa4e772cd6bb40c3eb82ac27aff3646 Author: Guillem Jover Date: Tue Nov 5 12:57:13 2019 +0100 Dpkg::Changelog: Clarify inheritance and implementation references Make it clear that these classes inherit from some other base class, which will contain the missing documentation. Prompted-by: intrigeri debian/changelog | 3 +++ scripts/Dpkg/Changelog/Debian.pm | 13 ++++++++++--- scripts/Dpkg/Changelog/Entry/Debian.pm | 7 ++++--- 3 files changed, 17 insertions(+), 6 deletions(-) commit 7ab69d4acbdabd3af0f8c27801527750505c1a11 Author: Guillem Jover Date: Wed Nov 6 02:07:17 2019 +0100 Dpkg: Say class instead of object when appropriate These were referring to the type and not the instance, which makes using the incorrect nomenclature confusing. debian/changelog | 1 + scripts/Dpkg/BuildFlags.pm | 2 +- scripts/Dpkg/BuildOptions.pm | 2 +- scripts/Dpkg/Changelog.pm | 2 +- scripts/Dpkg/Changelog/Entry.pm | 2 +- scripts/Dpkg/Changelog/Entry/Debian.pm | 2 +- scripts/Dpkg/Checksums.pm | 2 +- scripts/Dpkg/Compression/FileHandle.pm | 18 +++++++++--------- scripts/Dpkg/Control/Changelog.pm | 2 +- scripts/Dpkg/Control/HashCore.pm | 4 ++-- scripts/Dpkg/Control/Info.pm | 2 +- scripts/Dpkg/Control/Tests.pm | 2 +- scripts/Dpkg/Control/Tests/Entry.pm | 2 +- scripts/Dpkg/Deps.pm | 8 ++++---- scripts/Dpkg/Deps/AND.pm | 2 +- scripts/Dpkg/Deps/KnownFacts.pm | 2 +- scripts/Dpkg/Deps/OR.pm | 2 +- scripts/Dpkg/Deps/Simple.pm | 5 +++-- scripts/Dpkg/Deps/Union.pm | 4 ++-- scripts/Dpkg/Index.pm | 2 +- scripts/Dpkg/Interface/Storable.pm | 4 ++-- scripts/Dpkg/Source/Format.pm | 2 +- scripts/Dpkg/Source/Package.pm | 4 ++-- scripts/Dpkg/Substvars.pm | 2 +- scripts/Dpkg/Vendor/Debian.pm | 4 ++-- scripts/Dpkg/Vendor/Default.pm | 8 ++++---- scripts/Dpkg/Vendor/Ubuntu.pm | 4 ++-- 27 files changed, 49 insertions(+), 47 deletions(-) commit b287a80263dd4e45bb82b7e6bad76faeb47358d4 Author: Guillem Jover Date: Sat Oct 5 04:28:30 2019 +0200 Dpkg::Exit: Register exit handlers also for __DIE__ This makes sure we execute the handlers on normal errors, and can thus remove the traps from several functions to run the handlers and to then rethrow the exception. debian/changelog | 1 + scripts/Dpkg/Exit.pm | 2 +- scripts/Dpkg/Source/Package.pm | 21 +++++---------------- 3 files changed, 7 insertions(+), 17 deletions(-) commit ddb82d8bfe58e8a25444bdd772f534e0564efb3d Author: Guillem Jover Date: Sat Oct 5 04:26:23 2019 +0200 Dpkg::Exit: Unregister all signal handlers once we have executed them We should cleanup the handlers to the previous state otherwise we end up changing the behavior globally, when this should be a local cleanup behavior. Closes: #932841 debian/changelog | 2 ++ scripts/Dpkg/Exit.pm | 23 ++++++++++++++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) commit e8c48a3965fe83b4f89c73cf60009e745000fec5 Author: Guillem Jover Date: Thu Nov 7 00:01:46 2019 +0100 dpkg-source: Remove backwards compatibility code for legacy build-profiles debian/changelog | 1 + scripts/dpkg-source.pl | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) commit 6e6bd74a5664b3d354dc7fd892a08eaf928980ad Author: Guillem Jover Date: Sat Nov 16 00:41:57 2019 +0100 Dpkg::Vendor: Remove obsolete 'keyrings' hook This hook has been obsoleted for a while and been emitting deprecation warnings, so it's safe to remove now. debian/changelog | 1 + scripts/Dpkg/Vendor/Debian.pm | 3 --- scripts/Dpkg/Vendor/Default.pm | 3 --- 3 files changed, 1 insertion(+), 6 deletions(-) commit a376ff0b20918ec4c66a6905529065d992095c35 Author: Guillem Jover Date: Sat Nov 16 00:40:03 2019 +0100 Dpkg::Conf: Remove obsolete methods and obsolete croak for method option We do not bump the module version to 2.00, as these functions and option have croak'ed almost since their introduction. debian/changelog | 1 + scripts/Dpkg/Conf.pm | 26 +++++++------------------- 2 files changed, 8 insertions(+), 19 deletions(-) commit 83b1500011a0656263afbdeffffca182758ef061 Author: Guillem Jover Date: Sat Nov 16 00:38:37 2019 +0100 Dpkg::Checksums: Remove obsolete 'program' property warning debian/changelog | 1 + scripts/Dpkg/Checksums.pm | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) commit 69b98260c76342a72f3c819961a33b9a14e899ab Author: Guillem Jover Date: Sat Nov 16 00:37:17 2019 +0100 Dpkg::Version: Remove deprecation warning from semantic change in bool overload debian/changelog | 2 ++ scripts/Dpkg/Version.pm | 13 ++++++------- scripts/t/Dpkg_Version.t | 6 ------ 3 files changed, 8 insertions(+), 13 deletions(-) commit 2c08a8a2a2503398c7d17b4ecb7f364ea4eb3aed Author: Guillem Jover Date: Sat Nov 16 00:33:52 2019 +0100 Dpkg::Index: Change default value for unique_tuple_key to 1 Bump module version to 2.00. debian/changelog | 1 + scripts/Dpkg/Index.pm | 35 +++++++++++++++-------------------- 2 files changed, 16 insertions(+), 20 deletions(-) commit e9fa0cd0bce704657bad9d26810f6fa57f78caf2 Author: Guillem Jover Date: Sat Nov 16 00:32:44 2019 +0100 Dpkg::Substvars: Remove obsolete no_warn() method Bump module version to 2.00. debian/changelog | 1 + scripts/Dpkg/Substvars.pm | 21 +++++---------------- 2 files changed, 6 insertions(+), 16 deletions(-) commit 605d9f8a8a59c8413a9ba0ab260b6f10a7ac1c70 Author: Guillem Jover Date: Sat Nov 16 00:32:09 2019 +0100 Dpkg::Source::Package: Remove and hide internal lowercase variables Bump module version to 2.00. debian/changelog | 3 +++ scripts/Dpkg/Source/Package.pm | 16 +++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) commit 27228611177b0cde44325df2ac8c32ae6bc6d2eb Author: Guillem Jover Date: Sat Nov 16 00:31:07 2019 +0100 Dpkg::Gettext: Remove obsolete _g() function Bump module version to 2.00. debian/changelog | 1 + scripts/Dpkg/Gettext.pm | 16 ++++------------ 2 files changed, 5 insertions(+), 12 deletions(-) commit 2adeecad3d72ccfb46ed39278c6b1831d8dbad64 Author: Guillem Jover Date: Sat Nov 16 00:30:40 2019 +0100 Dpkg::Exit: Hide internal lowercase @handlers variable Bump module version to 2.00. debian/changelog | 1 + scripts/Dpkg/Exit.pm | 11 ++++++----- 2 files changed, 7 insertions(+), 5 deletions(-) commit 7a68fdc76ea3a009ace005aa7972bb337995b127 Author: Guillem Jover Date: Sat Nov 16 00:30:04 2019 +0100 Dpkg::Deps::KnownFacts: Remove obsolete check_package() method Bump module version to 2.00. debian/changelog | 1 + scripts/Dpkg/Deps/KnownFacts.pm | 37 +++++-------------------------------- 2 files changed, 6 insertions(+), 32 deletions(-) commit ab8176cb9a92a39d062da002cf9192bdc6e5f3d1 Author: Guillem Jover Date: Sat Nov 16 00:29:13 2019 +0100 Dpkg::Compression: Hide internal lowercase variables Bump module version to 2.00. debian/changelog | 3 +++ scripts/Dpkg/Compression.pm | 17 +++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) commit 7656016155c2dc408c4659d050a6e4bedb741069 Author: Guillem Jover Date: Sat Aug 10 02:51:10 2019 +0200 Dpkg::Changelog::Parse: Remove warnings for obsolete options and functions Remove warnings for obsolete options forceplugin and libdir. Remove obsolete functions changelog_parse_debian() and changelog_parse_plugin(). Bump module version to 2.00. debian/changelog | 3 +++ scripts/Dpkg/Changelog/Parse.pm | 60 +++++------------------------------------ 2 files changed, 10 insertions(+), 53 deletions(-) commit e4fed400378c4ade6b7ceb3aeb03c4252c11c12e Author: Guillem Jover Date: Sat Nov 16 00:25:33 2019 +0100 Dpkg::Changelog::Parse: Remove $ sigil from option names in POD These are not actual variables, but option passed in a hash, so using the $ sigil here is very confusing. debian/changelog | 1 + scripts/Dpkg/Changelog/Parse.pm | 2 +- t/pod-spell.t | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) commit 9b0dc0a1a879d35443781058415550059db1589c Author: Guillem Jover Date: Sat Aug 10 02:51:10 2019 +0200 Dpkg::Changelog::Entry::Debian: Remove obsolete methods and hide variables Remove obsolete methods check_header() and check_trailer(). Hide internal lowercase variables $regex_header and $regex_trailer. Bump module version to 2.00. debian/changelog | 2 ++ scripts/Dpkg/Changelog/Entry/Debian.pm | 49 +++++++--------------------------- 2 files changed, 11 insertions(+), 40 deletions(-) commit 895a2e525adfd90a57e1e4dfbcc18bb0c1ca64b4 Author: Guillem Jover Date: Sat Aug 10 02:51:10 2019 +0200 Dpkg::Changelog: Remove obsolete methods dpkg() and rfc822() Bump module version to 2.00. debian/changelog | 1 + scripts/Dpkg/Changelog.pm | 36 +++++------------------------------- 2 files changed, 6 insertions(+), 31 deletions(-) commit 88d2ceac86373a3ccc37fc7ceff1319a4528a889 Author: Guillem Jover Date: Sat Aug 10 02:51:10 2019 +0200 Dpkg: Remove internal lowercase variables Bump module version to 2.00. debian/changelog | 2 ++ scripts/Dpkg.pm | 21 +++++---------------- 2 files changed, 7 insertions(+), 16 deletions(-) commit b958054076c236d470f46f35b94ee16a032ed368 Author: Guillem Jover Date: Sun Nov 3 17:36:02 2019 +0100 Dpkg::Deps: Check for valid virtual package version relations Do not allow non-equal version relations in virtual provides. Closes: #930317 debian/changelog | 2 ++ scripts/Dpkg/Deps.pm | 19 ++++++++++++++++++- scripts/dpkg-checkbuilddeps.pl | 2 +- scripts/dpkg-gencontrol.pl | 2 +- 4 files changed, 22 insertions(+), 3 deletions(-) commit 35430c52c8b8b311985535b46bd7ba592bb5d805 Author: Guillem Jover Date: Sun Nov 3 16:29:05 2019 +0100 Dpkg::Vendor::Debian: Do not set -Werror=implicit-function-declaration for C++ Closes: #939969 debian/changelog | 2 ++ scripts/Dpkg/Vendor/Debian.pm | 17 +++++++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) commit 79d01b9283bb8c5c9867a9601a4b3011f207684f Author: Guillem Jover Date: Sun Nov 3 01:34:29 2019 +0100 Dpkg::Vendor::Debian: Only scan /usr/local/ directories that exist Closes: #932967 debian/changelog | 2 ++ scripts/Dpkg/Vendor/Debian.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 7100870cbd2e90f994f3e812bd12e85b814a1af5 Author: Guillem Jover Date: Sat Oct 5 05:01:59 2019 +0200 man: Move template symbol documentation into new deb-src-symbols(5) Having the template symbols file format described in the dpkg-gensymbols has been a continuous source of confusion for users, and makes discovering it more difficult. Move it to its own man page, and link to it from the various relevant man pages. debian/changelog | 1 + man/Makefile.am | 2 + man/{dpkg-gensymbols.man => deb-src-symbols.man} | 221 +--------------- man/dpkg-gensymbols.man | 316 +---------------------- man/po/po4a.cfg | 3 + 5 files changed, 30 insertions(+), 513 deletions(-) commit 6115b4d35c8c927e42e4d51c82d023a5049c3c6c Author: Guillem Jover Date: Fri Oct 4 05:36:42 2019 +0200 man: Describe the SONAME formats supported in deb-shlibs debian/changelog | 1 + man/deb-shlibs.man | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) commit ebbb81b5329f567f89ca576279bdeabafd291253 Author: Guillem Jover Date: Sun Nov 3 01:12:49 2019 +0100 dselect: Remove methods state files on purge Ref: #930788 Spotted-by: Sven Joachim Makefile.am | 1 + debian/changelog | 2 ++ debian/dselect.postrm | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) commit b41fe887e8caf09107cd65d8f561b00d043561d9 Author: Guillem Jover Date: Tue Nov 5 02:55:04 2019 +0100 dpkg: Use DPKG_ADMINDIR to set the admindir This was done in the name of security, but it does not make much sense as root should make sure to be running in a clean environment. This is problematic as it makes the interface hard to understand, and produces unexpected behavior as dpkg can be called from within itself, or as a wrapper for dpkg-query, which will then not inherit the admindir value. Closes: #900071 debian/changelog | 1 + man/dpkg.man | 5 +++++ src/main.c | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) commit 1fcb291686f6bad5b3d7dfe619fcd840d6ab5d3a Author: Guillem Jover Date: Sun Nov 3 01:08:21 2019 +0100 dpkg: Fix and clarify behavior for packages marked to be on “hold” A package marked to be on hold, denotes that the package should be kept in its current version and should not be automatically installed, upgraded or removed. The same applies to frontends. This behavior does not apply when the user explicitly requested one of these actions, or the --force-hold option is used. It should never prevent dpkg from processing these for configuration (if they were already in unpacked state) or from trigger processing, otherwise we might get into trigger loops. Some of the code was already doing this, but this was not consistently done. We update also the help output and documentation to clarify the fixed behavior. Closes: #926472 debian/changelog | 2 ++ dselect/helpmsgs.cc | 4 ++-- man/dpkg.man | 10 +++++++--- src/force.c | 2 +- src/packages.c | 6 ++++-- src/trigproc.c | 3 ++- 6 files changed, 18 insertions(+), 9 deletions(-) commit f029f28260b62a43792d39f9e935132425d4b609 Author: Sven Joachim Date: Sun Nov 3 00:18:19 2019 +0100 dpkg-gencontrol: Take hardlinks into account when computing Installed-Size We should not add up the size of each hardlink into the final sum, otherwise we will get a size in excess. Closes: #923475 Co-Authored-by: Guillem Jover Signed-off-by: Guillem Jover debian/changelog | 3 +++ man/deb-substvars.man | 1 + scripts/dpkg-gencontrol.pl | 9 ++++++++- 3 files changed, 12 insertions(+), 1 deletion(-) commit 956272322b1a54a4fc8c539ac4000add8dfb6007 Author: Guillem Jover Date: Mon Mar 4 23:00:18 2019 +0100 dpkg-query: Try to use the description from the available file if not installed When we have been requested to load the available file, and that contains a description for a package that is not installed, we should use that instead of printing the confusing string stating that the description is not available. Closes: #43573 debian/changelog | 2 ++ lib/dpkg/libdpkg.map | 1 + lib/dpkg/pkg-show.c | 33 +++++++++++++++++++++++++++++++++ lib/dpkg/pkg-show.h | 2 ++ src/querycmd.c | 4 ++-- 5 files changed, 40 insertions(+), 2 deletions(-) commit 5aae5e10375d5956d639eaf23a49b842bf109b17 Author: Guillem Jover Date: Sun Nov 3 00:00:18 2019 +0100 libdpkg: Add missing symbols to the version map Several of these are used by the test suite. debian/changelog | 1 + lib/dpkg/libdpkg.map | 7 +++++++ 2 files changed, 8 insertions(+) commit 9b68d769f7280452402ea38ebfaf358ed44be20a Author: Dan Streetman Date: Sun Nov 3 00:27:00 2019 +0100 debian: Replace custom rule for 'configure' with call to dh_autoreconf Having this custom rule to create the «configure» file means that it might end up not being rebuilt if the timestamps of some other files are off compared to the debian/changelog date. Using dh_autoreconf guarantees that even if these timestamps got updated incorrectly, the file will always be rebuilt as expected. The historic rationale for not doing this before, even though this has been considered a best packaging practice, was that because dpkg needs explicit support for new architectures, which is the main reason to get autotools updated to pull in new config.* files, we would get reports so that we could add such support and release a new upstream version. But this has never happened, and it's causing other problems. Closes: #939516 Signed-off-by: Guillem Jover debian/changelog | 2 ++ debian/rules | 10 +++------- 2 files changed, 5 insertions(+), 7 deletions(-) commit db53608f1b193c7fced7aeee60d7cecf87b44435 Author: Mo Zhou Date: Sun Nov 3 19:07:24 2019 +0100 po: Fix typo in Simplified Chinese programs translation Closes: #942195 Signed-off-by: Guillem Jover debian/changelog | 1 + po/zh_CN.po | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit fd14d57fb98d73f9b4d964131810c1414350baf7 Author: Miguel Figueiredo Date: Sun Nov 3 19:06:04 2019 +0100 po: Update Portuguese programs translation Closes: #935695 Signed-off-by: Guillem Jover debian/changelog | 1 + po/pt.po | 285 +++++++++++++++++++++++++++---------------------------- 2 files changed, 141 insertions(+), 145 deletions(-) commit 674f9dc5288a8d98b23c5dcf10d34b178a423aa8 Author: Sven Joachim Date: Tue Nov 5 21:00:37 2019 +0100 German dpkg translation update Update to 1135t. debian/changelog | 3 + po/de.po | 288 ++++++++++++++++++++++++++----------------------------- 2 files changed, 141 insertions(+), 150 deletions(-) commit 0c9dc4493715ff3b37262528055943c52fdfb99c Author: Helge Kreutzmann Date: Fri Nov 1 07:19:29 2019 +0100 Fix a typo man/deb-symbols.man | 2 +- man/po/de.po | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 881f2c4962f3c4ada2dab7b03a47ae6667000425 Author: Helge Kreutzmann Date: Fri Nov 1 06:51:07 2019 +0100 Update German translation of manual pages Update to 3000t. man/po/de.po | 164 ++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 95 insertions(+), 69 deletions(-) commit 2bdb55b5ea54b0c300490b45020d73f1581e88bc Author: Helge Kreutzmann Date: Fri Nov 1 06:12:46 2019 +0100 Update German scripts translation Update to 608t. debian/changelog | 3 +++ scripts/po/de.po | 56 ++++++++++++++++++++++++++++++++++++++++---------------- 2 files changed, 43 insertions(+), 16 deletions(-) commit 2000ab26e71e91b0c2a9c12e68904239c0b26a5c Author: Guillem Jover Date: Mon Oct 7 03:55:19 2019 +0200 dpkg, u-a: Make variables static Warned-by: sparse debian/changelog | 1 + src/main.c | 15 ++++++++++++--- utils/update-alternatives.c | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) commit 2be46e2ad4b07758336a84552bbeb6bf3583e812 Author: Guillem Jover Date: Wed Oct 2 04:17:05 2019 +0200 test: Suppress new bogus cppcheck 1.89 false positives Warned-by: cppcheck debian/changelog | 1 + t/cppcheck/cppcheck.supp | 13 +++++++++++++ 2 files changed, 14 insertions(+) commit cdf22e3757608040460329b46db3fad73e159bcd Author: Guillem Jover Date: Wed Oct 2 04:15:24 2019 +0200 dpkg: Remove redudant condition for sourcefile in updateavailable() The preceding “if” already checks exclusively whether this variable is NULL, so in this branch it will always be non-NULL. Warned-by: cppcheck Fixes: knownConditionTrueFalse debian/changelog | 1 + src/update.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 032da9675c087abab819d0346765b874e8daf685 Author: Guillem Jover Date: Wed Oct 2 04:13:19 2019 +0200 libdpkg: Use p instead of name in dpkg_arch_name_is_illegal() We assign name to p, which we operate on everywhere in this function except for the first check which we still perform on name. This confuses at least cppcheck, and it's in any case inconsistent. Warned-by: cppcheck Fixes: nullPointerRedundantCheck debian/changelog | 1 + lib/dpkg/arch.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 8da9c02a82840b6dbcecedfbc8e19264efd4dcbe Author: Guillem Jover Date: Wed Oct 2 04:04:59 2019 +0200 dselect: Make baselist::draw_column_*() col arguments const Warned-by: cppcheck Fixes: constParameter debian/changelog | 1 + dselect/baselist.cc | 6 +++--- dselect/dselect.h | 6 +++--- 3 files changed, 7 insertions(+), 6 deletions(-) commit 4cc04c4d9f8f5e8e7a2b19571836c69b7f382d45 Author: Guillem Jover Date: Mon Sep 30 04:36:24 2019 +0200 man: Split dselect(1) --color from --colour option items These become too long to fit in a 80-char terminal for many translations, so let's split them, as we do anyway for the preferred formatting to avoid the mandb warning. debian/changelog | 1 + man/dselect.man | 4 +++- man/po/de.po | 12 +++++++++--- man/po/fr.po | 12 +++++++++--- man/po/nl.po | 12 +++++++++--- 5 files changed, 31 insertions(+), 10 deletions(-) commit 9628f047e3021de545b596a45300078f8145e640 Author: Guillem Jover Date: Mon Sep 30 04:08:22 2019 +0200 man: Globally adjust left and disable hyphenation These were being applied in the SEE ALSO section, but not consistently. The output is more clear this way. debian/changelog | 1 + man/deb-buildinfo.man | 1 + man/deb-changelog.man | 1 + man/deb-changes.man | 1 + man/deb-conffiles.man | 1 + man/deb-control.man | 1 + man/deb-extra-override.man | 1 + man/deb-old.man | 1 + man/deb-origin.man | 1 + man/deb-override.man | 2 +- man/deb-postinst.man | 1 + man/deb-postrm.man | 1 + man/deb-preinst.man | 1 + man/deb-prerm.man | 1 + man/deb-shlibs.man | 1 + man/deb-split.man | 1 + man/deb-src-control.man | 1 + man/deb-src-files.man | 2 +- man/deb-src-rules.man | 4 ++-- man/deb-substvars.man | 2 +- man/deb-symbols.man | 1 + man/deb-triggers.man | 1 + man/deb-version.man | 1 + man/deb.man | 1 + man/deb822.man | 1 + man/dpkg-architecture.man | 1 + man/dpkg-buildflags.man | 1 + man/dpkg-buildpackage.man | 2 +- man/dpkg-checkbuilddeps.man | 1 + man/dpkg-deb.man | 1 + man/dpkg-distaddfile.man | 2 +- man/dpkg-divert.man | 1 + man/dpkg-genbuildinfo.man | 1 + man/dpkg-genchanges.man | 2 +- man/dpkg-gencontrol.man | 2 +- man/dpkg-gensymbols.man | 1 + man/dpkg-maintscript-helper.man | 2 +- man/dpkg-mergechangelogs.man | 1 + man/dpkg-name.man | 1 + man/dpkg-parsechangelog.man | 1 + man/dpkg-query.man | 1 + man/dpkg-scanpackages.man | 2 +- man/dpkg-scansources.man | 1 + man/dpkg-shlibdeps.man | 1 + man/dpkg-source.man | 2 +- man/dpkg-split.man | 1 + man/dpkg-statoverride.man | 1 + man/dpkg-trigger.man | 1 + man/dpkg-vendor.man | 1 + man/dpkg.cfg.man | 1 + man/dpkg.man | 2 +- man/dsc.man | 1 + man/dselect.cfg.man | 1 + man/dselect.man | 1 + man/start-stop-daemon.man | 1 + man/update-alternatives.man | 1 + 56 files changed, 57 insertions(+), 13 deletions(-) commit 815250d90bf885a86cd7f446609ff8f630431a3c Author: Guillem Jover Date: Thu Sep 26 03:45:43 2019 +0200 build: Bump minimal gettext version to 0.19.8 The GNU gettext macros used to check for symbols that were only provided by the GNU gettext implementation, but not by other implementations such as the one in musl. Starting with GNU gettext 0.19.8 these internal symbols are not required anymore. configure.ac | 2 +- debian/changelog | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) commit fe800b66466e6977adf90ba3fefcc0e602b27328 Author: Guillem Jover Date: Sun Sep 15 17:22:42 2019 +0200 test: Update stopwords for codespell 1.16.0 debian/changelog | 1 + t/codespell/stopwords | 1 + 2 files changed, 2 insertions(+) commit 77fcfe1edb3e8f77d2d217f4f276cfb2a7a9edd8 Author: Guillem Jover Date: Sun Sep 15 17:21:42 2019 +0200 test: Skip build directories from codespell These contain files that are not currently skept, and might contain spelling errors from external sources. Warned-by: codespell debian/changelog | 1 + t/codespell.t | 2 ++ 2 files changed, 3 insertions(+) commit da3fa9f03c3a0d313fe1ead4b0f28678baf349d8 Author: Guillem Jover Date: Sun Sep 15 17:20:18 2019 +0200 test: Fix typos Warned-by: codespell debian/changelog | 2 +- scripts/t/Dpkg_Changelog/shadow | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 3bc743fdc134a1eb5e7b14c122beda5f77d683b6 Author: Guillem Jover Date: Mon Sep 2 13:03:31 2019 +0200 libdpkg, dpkg: Use new versiondescribe_c() for non-localizable call sites The output on log files must not be localized. Reported-by: Julien Cristau debian/changelog | 3 +++ lib/dpkg/dbmodify.c | 2 +- src/archives.c | 6 +++--- src/enquiry.c | 4 ++-- src/help.c | 4 ++-- 5 files changed, 11 insertions(+), 8 deletions(-) commit 935072fed354c9ddd0704a552be1f6996bfccc10 Author: Guillem Jover Date: Mon Sep 2 13:00:40 2019 +0200 libdpkg: Add new versiondescribe_c() to force a C locale In some contexts we need output in the C locale, such as log files. We add a new versiondescribe_c() that wraps the locale-dependant versiondescribe() function and switches to the C locale and back to the previous one before returning. debian/changelog | 1 + lib/dpkg/dpkg-db.h | 2 ++ lib/dpkg/libdpkg.map | 1 + lib/dpkg/parsehelp.c | 14 ++++++++++++++ 4 files changed, 18 insertions(+) commit 15af35e78ad21a4a52a0ea22a689da93ccbf1e0a Author: Guillem Jover Date: Mon Sep 2 13:00:40 2019 +0200 libdpkg: Add new C locale switch over support This will make it possible to select either the current locale or a specified one, currently only C is selectable. We use this because the uselocale(3) POSIX API is recent, and the system might not have it available, so we might need to fallback to use setlocale(3) instead, which even though is not thread-safe, it's better than nothing. configure.ac | 1 + debian/changelog | 1 + dpkg-deb/main.c | 1 + dpkg-split/main.c | 1 + dselect/main.cc | 1 + lib/dpkg/i18n.c | 42 ++++++++++++++++++++++++++++++++++++++++++ lib/dpkg/i18n.h | 8 ++++++++ lib/dpkg/libdpkg.map | 1 + src/divertcmd.c | 1 + src/main.c | 1 + src/querycmd.c | 1 + src/statcmd.c | 1 + src/trigcmd.c | 1 + 13 files changed, 61 insertions(+) commit 99fdb56736bbc76e48c8ccac3cc9200bb4afd0d7 Author: Guillem Jover Date: Mon Sep 2 04:11:36 2019 +0200 debian: Remove obsolete Breaks satisfied since oldstable debian/changelog | 2 ++ debian/control | 17 ----------------- 2 files changed, 2 insertions(+), 17 deletions(-) commit d178013236e0617e40e4287ff6ddbf66370d58c6 Author: Guillem Jover Date: Sat Sep 28 23:02:07 2019 +0200 scripts: Match ~deb also as a backport marker in versions Closes: #934980 debian/changelog | 2 ++ scripts/dpkg-genchanges.pl | 4 ++-- scripts/dpkg-mergechangelogs.pl | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) commit 73888d612ad370e8147ddb503bf2e5f2ad80c7b6 Author: Guillem Jover Date: Thu Aug 29 02:22:21 2019 +0200 scripts: Remove support for ~vola versioning This was part of the volatile.debian.org archive, which was decommissioned some time ago. Ref: https://lists.debian.org/debian-volatile-announce/2012/msg00000.html debian/changelog | 2 ++ scripts/dpkg-genchanges.pl | 4 ++-- scripts/dpkg-mergechangelogs.pl | 8 ++++---- 3 files changed, 8 insertions(+), 6 deletions(-) commit 4e4ae843ab712fdf263354a94604c7af346bd476 Author: Guillem Jover Date: Thu Aug 29 01:34:19 2019 +0200 dpkg: Initialize flagdeppossi in check_conflict() We only use this variable as a sentinel pointer so that we can make sure the pdep pointer is not NULL in subsequent checks. But cppcheck gets confused, so let's initialize it to make the code more future-proof. Warned-by: cppcheck debian/changelog | 1 + src/archives.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit f0ad6b73ce9ee905fc860df7f685820ed6b08917 Author: Guillem Jover Date: Thu Aug 29 01:33:14 2019 +0200 dpkg-deb: Fold two adjacent if conditionals into a single one Warned-by: cppcheck debian/changelog | 1 + dpkg-deb/extract.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit c50756c96e726b9b776fabedc1694084dbcbd636 Author: Guillem Jover Date: Thu Aug 29 01:35:57 2019 +0200 dselect: Reduce scope of variable The variable was being assigned in one side of an if branch, but the result never used. Let's reduce the scope to the if branch that actually assigns and uses it. Warned-by: cppcheck debian/changelog | 1 + dselect/pkgcmds.cc | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 45f004ea979e12dea12043558629efe5aa377bf2 Author: Guillem Jover Date: Thu Aug 29 01:33:41 2019 +0200 libdpkg: Use the totalwritten variable for a consistency check The variable was written to but never used. Warned-by: cppcheck debian/changelog | 1 + lib/dpkg/buffer.c | 2 ++ 2 files changed, 3 insertions(+) commit 94886592cafa0bfbed76b8ab58814f657074d236 Author: Guillem Jover Date: Thu Aug 29 01:32:15 2019 +0200 libdpkg: Use the variable instead of a type as sizeof() argument This is more future proof, and in this particular case it was tripping over cppcheck and emitting a false positive for constArgument. Warned-by: cppcheck debian/changelog | 1 + lib/dpkg/command.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 4910a5d92612925fb041473928aef31c50513439 Author: Guillem Jover Date: Thu Aug 29 01:30:47 2019 +0200 test: Clarify cppcheck va_list_usedBeforeStarted suppression This is actually due to our local va_copy() compatibility code, which cppcheck does not understand. Using the same code w/o the local macro does not emit the false positive. debian/changelog | 1 + t/cppcheck/cppcheck.supp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 212abe0a21bfd1647068491ad92de9c8c9ef2f83 Author: Guillem Jover Date: Thu Aug 29 01:29:53 2019 +0200 test: Remove perlcritic Documentation::RequirePodLinksIncludeText suppression This bogus test has been removed from upstream perlcritic, and now the code complains about an uninstalled check. Warned-by: perlcritic debian/changelog | 2 ++ t/critic/perlcriticrc | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) commit 63e9d12972c866ed02aca040501de1d9b922e880 Author: Guillem Jover Date: Fri Aug 9 04:30:42 2019 +0200 Dpkg::Changelog: Document methods provided by subclasses Reported-by: Felix Lechner debian/changelog | 2 ++ scripts/Dpkg/Changelog.pm | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) commit ae231c65b162df729a6492105a0ce64945e293c2 Author: Guillem Jover Date: Tue Jul 30 04:57:47 2019 +0200 Dpkg::Source::Package::V2: Emit a special patch header on single-debian-patch The previous default patch header does not make sense for a conglomerate patch. Instead provide a more suitable default, that can always be overridden with either the local-patch-header or patch-header files. Closes: #933152 debian/changelog | 2 ++ scripts/Dpkg/Source/Package/V2.pm | 12 ++++++++++++ 2 files changed, 14 insertions(+) commit 36925e06749e495a475f6c42543b226d3f7ae27b Author: Guillem Jover Date: Tue Jul 30 04:45:57 2019 +0200 Dpkg::BuildFlags: Add new unset() method This makes it possible to unset variables, so that they do not get output by the various tools. Requested-by: Daniel Schepler debian/changelog | 2 ++ scripts/Dpkg/BuildFlags.pm | 20 +++++++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) commit 0e1709f6f4002a87bff1b0caa495ded77dd38d1f Author: Guillem Jover Date: Tue Jul 30 04:45:36 2019 +0200 Dpkg::BuildFlags: Remove unused hash keys debian/changelog | 1 + scripts/Dpkg/BuildFlags.pm | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) commit 195edc4201f063a11ccdc10c523d671048353cca Author: Guillem Jover Date: Fri Jun 28 02:54:32 2019 +0200 dpkg-shlibdeps: Document split_soname() function Explain what each different pattern means, and what it maps to. Prompted-by: Christopher Crim debian/changelog | 2 ++ scripts/dpkg-shlibdeps.pl | 4 ++++ 2 files changed, 6 insertions(+) commit 671b305163dbd53b9207fc2afaac524f567d9837 Author: Guillem Jover Date: Fri Jun 28 02:18:07 2019 +0200 man: Clarify that the pager is called via «$SHELL -c» debian/changelog | 1 + man/dpkg.man | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 38cf922c20e5b7e103e875abb94c0f3eec342701 Author: Guillem Jover Date: Fri Jun 28 02:10:36 2019 +0200 man: Use a minus sign for a literal string debian/changelog | 1 + man/dpkg-buildflags.man | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 8b0806e8df366f0b0b29c74b4856bbfcda632ed6 Author: Guillem Jover Date: Sun Jun 23 01:04:22 2019 +0200 libdpkg: Clarify lock contender error message Print the PID of the lock contender, switch the tense to past as the lock might not be locked anymore by the time we finish, and add a warning explaining that removing the lock file is never the correct solution. debian/changelog | 3 +++ lib/dpkg/file.c | 19 ++++++++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) commit 1f5a2a27f755604065a36bd626d68360a41456b7 Author: Guillem Jover Date: Tue Jul 16 02:34:35 2019 +0200 build: Install m4 files into system aclocal directory This makes it possible to publish these files so that other dpkg-related projects can use them, instead of either embedding copies, or duplicating the macros. Makefile.am | 14 ++++++++++++++ debian/changelog | 1 + 2 files changed, 15 insertions(+) commit fc62712fee8845193283484c2c0b9a24eb8451d6 Author: Guillem Jover Date: Tue Jul 16 02:34:35 2019 +0200 build: Add a serial versioning to the m4 files aclocal uses this to determine whether it needs to update m4 files in local trees. debian/changelog | 1 + m4/dpkg-arch.m4 | 1 + m4/dpkg-build.m4 | 1 + m4/dpkg-compiler.m4 | 1 + m4/dpkg-coverage.m4 | 1 + m4/dpkg-funcs.m4 | 1 + m4/dpkg-libs.m4 | 1 + m4/dpkg-linker.m4 | 1 + m4/dpkg-progs.m4 | 1 + m4/dpkg-types.m4 | 1 + m4/dpkg-unicode.m4 | 1 + 11 files changed, 11 insertions(+) commit 3821f024d92aabf24a333025c1c1956d8a45e718 Author: Guillem Jover Date: Wed May 1 23:23:03 2019 +0200 Dpkg::Source::Package: Verify original tarball signatures at build time When we are building the source package, while detecting whether there is any original upstream tarball signature to be included in the .dsc, it's the best time to verify them, so that when the .dsc gets eventually signed there's a certification path for the maintainer that they are including what they expected to be there. debian/changelog | 2 ++ scripts/Dpkg/Source/Package.pm | 36 ++++++++++++++++++++++++++++++++++-- scripts/Dpkg/Source/Package/V1.pm | 2 ++ scripts/Dpkg/Source/Package/V2.pm | 4 ++++ 4 files changed, 42 insertions(+), 2 deletions(-) commit 2f238b0e7286d401acd1325e30c86363a1e380db Author: Guillem Jover Date: Wed May 1 23:23:03 2019 +0200 Dpkg::OpenPGP: Add support for importing an OpenPGP key into a keyring This is needed, for example, to verify original tarball signatures. debian/changelog | 1 + scripts/Dpkg/OpenPGP.pm | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) commit e4f9fc7a5040f0eeef330e82bdeda6483bbd8a50 Author: Guillem Jover Date: Sat Aug 31 03:55:10 2019 +0200 Dpkg::OpenPGP: Make it possible to verify detached signatures This is required to be able to verify original upstream tarball signatures, as they are expected to be ASCII armored detached signatures for the upstream tarballs. debian/changelog | 1 + scripts/Dpkg/OpenPGP.pm | 1 + 2 files changed, 2 insertions(+) commit 139dfc4c78593d995610c0aa180300a9a7dd94ac Author: Guillem Jover Date: Wed May 1 23:20:38 2019 +0200 Dpkg::OpenPGP: Refactor signature verification into a new function debian/changelog | 1 + scripts/Dpkg/OpenPGP.pm | 40 +++++++++++++++++++++++++++++++++++ scripts/Dpkg/Source/Package.pm | 47 ++++++++---------------------------------- 3 files changed, 50 insertions(+), 38 deletions(-) commit 1973a0789cea5ac0e7da10a81cc5cca8384200df Author: Guillem Jover Date: Wed May 1 23:19:17 2019 +0200 perl: Use File::Copy instead of spawning mv/cp commands We use cp() in Dpkg::Source::Package to preserve the file attributes, but just move() in dpkg-buildpackage where it does not matter. debian/changelog | 1 + scripts/Dpkg/Source/Package.pm | 5 +++-- scripts/dpkg-buildpackage.pl | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) commit 522e3b46ee9861f6e1b87124066d716a5b6a6c0c Author: Guillem Jover Date: Wed May 1 23:18:34 2019 +0200 Dpkg::Source::Package: Refactor original tarball handling debian/changelog | 2 ++ scripts/Dpkg/Source/Package/V1.pm | 8 +++++--- scripts/Dpkg/Source/Package/V2.pm | 32 ++++++++++++++------------------ 3 files changed, 21 insertions(+), 21 deletions(-) commit 9229100918a1741ceb4b0f60636869cfc9432731 Author: Guillem Jover Date: Thu May 2 02:58:32 2019 +0200 scripts: Remove support for versioned GnuPG 2 program and packages The current default in Debian and anywhere else is to use unversioned GnuPG 2.x binaries, so there's no need anymore to try these first or at all. debian/changelog | 1 + debian/control | 8 ++++---- man/dpkg-buildpackage.man | 7 +++---- scripts/Dpkg/Source/Package.pm | 6 +----- scripts/dpkg-buildpackage.pl | 6 ++---- 5 files changed, 11 insertions(+), 17 deletions(-) commit 81f8816cbdc73dba843b080eb388e40b84cadc6d Author: Guillem Jover Date: Tue Apr 23 01:18:05 2019 +0200 dpkg-shlibdeps: Add support for new Build-Depends-Packages This makes it possible to specify more than one package, which might be needed during transition periods for example. Closes: #926669 Based-on-patch-by: Frank Schaefer debian/changelog | 3 +++ man/deb-symbols.man | 7 +++++++ scripts/dpkg-shlibdeps.pl | 5 +++-- 3 files changed, 13 insertions(+), 2 deletions(-) commit a81422607ad9bf26449fd90b0c57b42f3c34e5f3 Author: Guillem Jover Date: Tue Apr 23 00:42:20 2019 +0200 dpkg: Do not clear selections for unknown packages We should not clear the selections for packages that are not already installed in the system, as they will end up disappearing on the next operation anyway. Closes: #927752 debian/changelog | 1 + src/select.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit c4530cbda9144accd41255da96288ad530554b58 Author: Guillem Jover Date: Thu Mar 21 03:11:57 2019 +0100 dpkg-genbuildinfo: Do not include irrelevant packages in the Binary field This change is the companion to the one in dpkg-genchanges that lists only relevant packages, instead of all the ones listed in debian/control, but for the .buildinfo file instead of the .changes file. debian/changelog | 1 + man/deb-buildinfo.man | 3 ++- scripts/dpkg-genbuildinfo.pl | 12 +++++++++++- 3 files changed, 14 insertions(+), 2 deletions(-) commit 1046c10897ba54a67ce5bd5760d054e39440a865 Author: Guillem Jover Date: Sun Jun 2 23:13:02 2019 +0200 scripts/mk: Add support for nostrip DEB_BUILD_OPTIONS when setting STRIP debian/changelog | 2 ++ scripts/mk/buildtools.mk | 7 ++++++- scripts/t/mk.t | 8 +++++++- 3 files changed, 15 insertions(+), 2 deletions(-) commit 63c42a7b2578457b63afd3c419f1442f51033f88 Author: Guillem Jover Date: Thu May 23 22:04:56 2019 +0200 man: Fix uncommon wording constructs Warned-by: codespell debian/changelog | 2 ++ man/dselect.man | 2 +- man/start-stop-daemon.man | 12 ++++++------ 3 files changed, 9 insertions(+), 7 deletions(-) commit c7079f5e8b8bac01ce579e0b869977ff8661a1db Author: Guillem Jover Date: Sun May 19 01:48:17 2019 +0200 dpkg-buildpackage: Remove transient backwards R³ compat code This code got deprecated before the spec had been finalized, but left in just to make sure no remaining implementations were still using it. debian/changelog | 1 + scripts/dpkg-buildpackage.pl | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) commit c3808237c6be5316d170aa928dd755390b667af9 Author: Guillem Jover Date: Wed Mar 27 03:12:04 2019 +0100 scripts: Switch Getopt::Long from bundling to bundling_values This got introduced after a request so that we could switch our tools to a safe subset of the bundling logic, so let's enable it now that it is available in the minimum supported perl version. Bundling is in general unsafe, and not future-proof, as new options might gain arguments which would then get misinterpreted, we should not really be using it. But bundling the value into the option is a common pattern and should be allowed. debian/changelog | 4 ++++ scripts/dpkg-checkbuilddeps.pl | 2 +- scripts/dpkg-mergechangelogs.pl | 2 +- scripts/dpkg-scanpackages.pl | 2 +- scripts/dpkg-scansources.pl | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) commit 4006a1dd98f1d57a420f95177d74ffcf6b2ffc95 Author: Guillem Jover Date: Wed Mar 27 03:06:25 2019 +0100 build: Bump minimal Perl version to 5.24.1 The Perl version in Debian stretch is 5.24.1, which is the release that will be oldstable once 1.20.x gets uploaded to Debian unstable. debian/changelog | 2 ++ doc/coding-style.txt | 4 ++-- m4/dpkg-progs.m4 | 2 +- t/minimum-version.t | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) commit 463ed9a7becbe509948620d9c1138e40c711c45c Author: Guillem Jover Date: Sat Mar 2 18:13:14 2019 +0100 libdpkg: Do not generate a backup file for the available database This file contains information only valid as long as the downloaded sources are also available. So it is closer to a cache than a database, and as such, there is no need for an uncompressed backup, which can take quite some space. Closes: #343578 debian/changelog | 4 ++++ lib/dpkg/dump.c | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) commit 9ad2462fc61aa2b7ba1c2dc8b0810c33abc9ee09 Author: Guillem Jover Date: Wed Sep 4 01:57:11 2019 +0200 debian: Fold man page translation fix into translation section debian/changelog | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 01551dbe01eda15a561482c21bbaa78f6455a819 Author: Helge Kreutzmann Date: Sun Sep 1 12:01:53 2019 +0200 Further fix as discussed in #931135 And in follow up on debian-l10n-german man/po/de.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 063e8cbab0c7b8a0ebfa1203aea85551195e5da7 Author: Helge Kreutzmann Date: Sat Aug 3 17:04:31 2019 +0200 Update German translation of manual pages Update to 2998t. Improvements from debian-l10n-german debian/changelog | 3 +++ man/po/de.po | 42 +++++++++++++++++++++--------------------- 2 files changed, 24 insertions(+), 21 deletions(-) commit a653214c5767e68ef4508edfe6dd33df6c59bd01 Author: Helge Kreutzmann Date: Wed Jul 31 21:16:11 2019 +0200 Fix German man page translation. Closes: #931135 debian/changelog | 2 +- man/po/de.po | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit f0c3cccfef69a054ffe4975d9da12cd86066ec04 Author: Guillem Jover Date: Fri Jun 7 18:01:47 2019 +0200 Bump version to 1.20.0 TODO | 2 +- debian/changelog | 6 ++++++ scripts/Dpkg.pm | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) commit edd4b837356860fe3c5f83c0eca88c452a1cc8c8 Author: Guillem Jover Date: Mon Jun 3 23:22:38 2019 +0200 Release 1.19.7 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 702ca65cdf4cd0eb9369ff1a8b246dad267e643a Author: Guillem Jover Date: Mon Jun 3 23:22:34 2019 +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 | 16 ++++++++-------- 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/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 | 6 +++--- scripts/po/es.po | 2 +- scripts/po/fr.po | 2 +- scripts/po/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 82 files changed, 93 insertions(+), 93 deletions(-) commit 5b97f3546d0209dd5f0c3c0052e13d02a6a59255 Author: Frans Spiesschaert Date: Mon Apr 8 20:30:24 2019 +0200 po: Update Dutch man page translations Closes: #926665 Signed-off-by: Guillem Jover debian/changelog | 1 + man/po/nl.po | 36 +++++++++--------------------------- 2 files changed, 10 insertions(+), 27 deletions(-) commit 71763a440b2e00babe88d3f3085ea12bade90e65 Author: Jean-Pierre Giraud Date: Tue May 28 08:38:12 2019 +0200 po: Update French man page translations Closes: #929664 Signed-off-by: Guillem Jover debian/changelog | 3 + man/po/fr.po | 504 +++++++++++++++++++++---------------------------------- 2 files changed, 195 insertions(+), 312 deletions(-) commit ddc4121f5b2f591cae3afb358b44c3e013ee9354 Author: Guillem Jover Date: Sun Jun 2 23:30:10 2019 +0200 po: Unfuzzy translations due to typo fixes man/po/de.po | 12 ++++++------ man/po/es.po | 12 ++++++------ man/po/fr.po | 14 +++++++------- man/po/hu.po | 12 ++++++------ man/po/it.po | 14 +++++++------- man/po/ja.po | 12 ++++++------ man/po/nl.po | 18 +++++++++--------- man/po/pl.po | 12 ++++++------ man/po/pt_BR.po | 12 ++++++------ man/po/ru.po | 12 ++++++------ man/po/sv.po | 12 ++++++------ man/po/zh_CN.po | 12 ++++++------ scripts/po/ca.po | 2 +- scripts/po/de.po | 2 +- scripts/po/es.po | 2 +- scripts/po/fr.po | 2 +- scripts/po/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 19 files changed, 84 insertions(+), 84 deletions(-) commit 63b674de77ede42f1e9547ad760f3c83fd051a4e Author: Guillem Jover Date: Thu May 23 22:04:56 2019 +0200 doc: Fix typos Warned-by: codespell ChangeLog.old | 2 +- debian/changelog | 3 ++- dselect/pkglist.h | 2 +- man/deb-buildinfo.man | 2 +- man/deb-src-rules.man | 2 +- man/dpkg-buildflags.man | 4 ++-- man/dpkg-query.man | 2 +- man/start-stop-daemon.man | 2 +- scripts/Dpkg/Changelog/Entry/Debian.pm | 2 +- t/codespell/stopwords | 13 +++++++++++++ 10 files changed, 24 insertions(+), 10 deletions(-) commit 7ff658e1bf0703ecdea08702c74f6bfd8c1d6eb7 Author: Guillem Jover Date: Sun Jun 2 23:39:17 2019 +0200 doc: Clarify when autopoint is needed The README was not very clear on the listed software being source projects. So instead of making the description more complex, just list autopoint as an unconditional dependency, and list gettext as only necessary with --enable-nls. Closes: #929601 README | 3 ++- debian/changelog | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) commit 15d0f730cbc6f854d68a169ca5d3a33e704f525a Author: Guillem Jover Date: Wed May 22 21:42:50 2019 +0200 doc: Clarify R³ specification Expand what the builder means. Mention the dpkg-deb option to use to set the owner and group to root. And reword the prototyping section to be less confusing with what is currently implemented. Closes: #929019 debian/changelog | 5 +++++ doc/rootless-builds.txt | 19 ++++++++++--------- 2 files changed, 15 insertions(+), 9 deletions(-) commit 36644e7d3041f403ae18af45ff6b13a51a8378ae Author: Guillem Jover Date: Wed May 29 18:37:50 2019 +0200 dpkg-deb: Honor --nocheck when building packages with newlines in filenames Fixes: commit 438db7a31e074691e70e8ace7fff91631030624b Closes: #929727 Stable-Candidate: 1.18.x debian/changelog | 2 ++ dpkg-deb/build.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit b854bd6029ef632701af1d4411c6f81e265af884 Author: Guillem Jover Date: Sun May 19 02:24:51 2019 +0200 dpkg-deb: Validate ar member magic before normalizing any of its fields If the header is not valid, we should not try to normalize or even consider it is in any sane state. debian/changelog | 1 + dpkg-deb/extract.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit b5c50b3c6f0739f45aaa03afa3e5c857e7895c8c Author: Guillem Jover Date: Mon May 13 03:36:03 2019 +0200 dpkg: Introduce a new dependency try level for trigger cycle checks This new dependtry level will also check trigger cycles on trigger process deferral due to unsatisfiable dependencies. Closes: #928429 debian/changelog | 3 +++ src/main.h | 13 +++++++++---- src/trigproc.c | 8 +++++--- 3 files changed, 17 insertions(+), 7 deletions(-) commit 66223cb9ee839f4fe9c661fbb8818fae9833cf8d Author: Guillem Jover Date: Fri May 10 03:58:25 2019 +0200 po: Update Catalan translations po/ca.po | 72 +++++++++++++++++++++++++++++++++----------------------- scripts/po/ca.po | 7 ++---- 2 files changed, 44 insertions(+), 35 deletions(-) commit 53b39b3536d4e5a125e060685f68ff75da29ab2b Author: Guillem Jover Date: Tue Apr 23 00:41:57 2019 +0200 po: Update Catalan translations debian/changelog | 10 + dselect/po/ca.po | 8 +- po/ca.po | 660 +++++++++++++++++++------------------------------------ scripts/po/ca.po | 319 +++++++-------------------- 4 files changed, 323 insertions(+), 674 deletions(-) commit 770aa74afb0fbf1c61605e4e2d0a1c27c3a847d6 Author: Guillem Jover Date: Thu May 9 05:45:26 2019 +0200 dpkg: Set the force defaults before loading the config file Otherwise we incorrectly override them. Fixes: commit 52427d9075b4b062fa0db16a70d2c2bda6407857 Closes: #928671 debian/changelog | 3 +++ src/main.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 6e42d508db660f82f58802c10a179819aa8b6103 Author: Tom Goulet Date: Mon Mar 25 12:42:41 2019 +0100 dpkg: Fix off-by-one bug in --abort-after check The code checking whether the amount of errors had been reached, was incrementing the counter after the check, which meant it was allowing one more error than expected. [guillem@debian.org: Move return to the next line. ] Closes: #924886 Signed-off-by: Guillem Jover debian/changelog | 3 ++- src/errors.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 62cd86d390a11cfd677a2633dbe86d7d8237e7b5 Author: Guillem Jover Date: Mon Mar 25 15:41:15 2019 +0100 Bump version to 1.19.7 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 834e0f3329ce9be0c353c2c463da4deb91f6b0c7 Author: Guillem Jover Date: Mon Mar 25 15:09:01 2019 +0100 Release 1.19.6 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 375cb622993ded786e99a28630439c8abb19a75f Author: Guillem Jover Date: Mon Mar 25 15:08:25 2019 +0100 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 | 17 ++++++++--- man/po/es.po | 29 +++++++++++++++++-- man/po/fr.po | 27 ++++++++++++++++-- man/po/hu.po | 15 ++++++++-- man/po/it.po | 15 ++++++++-- man/po/ja.po | 29 +++++++++++++++++-- man/po/nl.po | 75 +++++++++++++++++++++++-------------------------- man/po/pl.po | 29 +++++++++++++++++-- man/po/pt_BR.po | 15 ++++++++-- man/po/ru.po | 15 ++++++++-- man/po/sv.po | 29 +++++++++++++++++-- man/po/zh_CN.po | 15 ++++++++-- 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 | 58 +------------------------------------- po/nn.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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 93 files changed, 321 insertions(+), 213 deletions(-) commit 32ad241cca413bf31ef584da91a3461fd19f9619 Author: Guillem Jover Date: Mon Mar 25 15:03:18 2019 +0100 debian, man: Fix typos Warned-by: lintian debian/changelog | 2 +- man/deb-changes.man | 2 +- man/po/de.po | 2 +- man/po/fr.po | 2 +- man/po/nl.po | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) commit 6d5eed759b7ec67ecd96e4481bae0fe6012938ea Author: Frans Spiesschaert Date: Mon Mar 25 12:10:12 2019 +0100 po: Update Dutch translations Closes: #924776, #924777 Signed-off-by: Guillem Jover debian/changelog | 4 + man/po/nl.po | 309 ++++++++++++++++++++++++++++++------------------------- po/nl.po | 287 ++++++++++++++++++++++++++------------------------- 3 files changed, 317 insertions(+), 283 deletions(-) commit 042c994a42f01606f669eae0e9e7dd6b4b765053 Author: Helge Kreutzmann Date: Sun Mar 24 07:00:04 2019 +0100 Update German translation of manual pages Update to 2997t1f. man/po/de.po | 108 ++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 62 insertions(+), 46 deletions(-) commit 1da502d98ca40a9495172a95a49fdbf0f27ec4de Author: Guillem Jover Date: Mon Mar 11 23:21:38 2019 +0100 dpkg-gencontrol: Check presence of package build dir before traversing it The find() function does not cope well with trying to traverse an unexistent directory and generates various alarming warnings. debian/changelog | 1 + scripts/dpkg-gencontrol.pl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit ae3b466f03f30a71b31403dd1696ccda65e7177b Author: Guillem Jover Date: Mon Mar 11 22:39:38 2019 +0100 Dpkg::Source::Package: Handle Format field being undefined On source format 1.0, the default is for the debian/source/format file not being present, which means we'll start with an empty Format field name. Fixes: commit d1d35a56e401181b6d15baf474a7db21d3372a65 debian/changelog | 4 ++++ scripts/Dpkg/Source/Package.pm | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) commit 740c330ad0deb5d4894ad43619fc80cfa0cf8313 Author: Guillem Jover Date: Sat Mar 2 02:41:40 2019 +0100 Dpkg::Source::Package::V1: Change default build option style to -sa Using -sA by default means the user might lose data on overwrite if there is already a directory with the same name laying around. Closes: #910737 debian/changelog | 5 +++++ man/dpkg-source.man | 2 +- scripts/Dpkg/Source/Package/V1.pm | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) commit dcd19c7820e0294245837ee9e8beec9244ea3b2d Author: Guillem Jover Date: Wed Mar 6 03:52:10 2019 +0100 libdpkg: Use ERANGE instead of EINVAL for tar_atol8() out-of-range error We should use the correct errno value, otherwise the error string makes little sense, and ends up being very confusing. debian/changelog | 1 + lib/dpkg/t/t-tar.c | 8 ++++---- lib/dpkg/tarfn.c | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) commit a1f9ccf08ddc99e4e3f1ead01abb6a8d8d506b3a Author: Guillem Jover Date: Wed Mar 6 03:52:10 2019 +0100 libdpkg: Handle non end-of-tape errors from tar_header_decode() We need to assign a status value in the non end-of-tape branch, otherwise we are using an uninitialized value, which might be anything, and could end up making the code proceed even if the archive is damaged/broken, etc. debian/changelog | 1 + lib/dpkg/tarfn.c | 2 ++ 2 files changed, 3 insertions(+) commit 04b6b5bb2def5e361ae54d44664602fbeacb4398 Author: Guillem Jover Date: Wed Mar 6 03:52:10 2019 +0100 libdpkg: Set tar_entry to zero on tar_entry_destroy() When we are destroying a tar_entry we need to zero the struct, otherwise we will end up freeing already freed memory and crashing. debian/changelog | 2 ++ lib/dpkg/tarfn.c | 2 ++ 2 files changed, 4 insertions(+) commit 3391b1f3d9f5e7ce9e08ec635350fc383187e685 Author: Guillem Jover Date: Wed Mar 6 03:52:10 2019 +0100 libdpkg: Add a new TAR_FORMAT_UNKNOWN enum value This will make it possible to have a value denoting an unknown format, when we initialize the tar_entry or tar_archive structs. debian/changelog | 1 + lib/dpkg/tarfn.h | 1 + 2 files changed, 2 insertions(+) commit 132160d2f4d07b5892640c98038a149906db8bfc Author: Guillem Jover Date: Tue Nov 6 03:15:36 2018 +0100 t-func: Quote the 'yes' command to make the comment clearer debian/changelog | 1 + t-func/deb-split.at | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 5df9c47d74ef5a39ea0d274002ebb016b55b0f84 Author: Guillem Jover Date: Tue Nov 6 03:14:57 2018 +0100 t-func: Export and move TESTDATA definition close to the PATH definition These both are related to pathname handling, group them together. debian/changelog | 1 + t-func/atlocal.in | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 7964e3c77df6f404dbed47703e0fdd1ddb417552 Author: Guillem Jover Date: Tue Nov 6 03:11:58 2018 +0100 t-func: Stop requiring (pseudo-)root Pass --root-owner-group to dpkg-deb, which was the only command needing (pseudo-)root. debian/changelog | 2 ++ t-func/atlocal.in | 10 ---------- t-func/deb-format.at | 2 +- t-func/deb-split.at | 2 +- 4 files changed, 4 insertions(+), 12 deletions(-) commit c9930d56c35246a7473c2b064db5d56ad58cdbbf Author: Guillem Jover Date: Wed Mar 20 06:28:57 2019 +0100 debian: Add Breaks on lsb-base due to s-s-d breaking killproc There was a bug in the killproc function implementation that made it not pass the --name argument, so it would end up with just the --pidfile. The new security requirements from s-s-d made that in some cases, when the usage was not secure, it would bail out with an error. Closes: #923861 debian/changelog | 2 ++ debian/control | 2 ++ 2 files changed, 4 insertions(+) commit 7658b575d978b9c6655854cd6dc1c2de031fdca5 Author: Guillem Jover Date: Wed Mar 20 06:26:45 2019 +0100 debian: Add a lintian dpkg profile to supress Debian specific tags This makes it possible to disable tags that are Debian specific, such as the controversial tag emitted for vendor-specific patch series files. Makefile.am | 1 + debian/changelog | 3 +++ debian/dpkg.install | 1 + debian/dpkg.lintian-profile | 7 +++++++ debian/rules | 5 +++++ man/dpkg-source.man | 5 +++++ 6 files changed, 22 insertions(+) commit d347adb2fda7f627db946db9efc15d70fd0db569 Author: Guillem Jover Date: Sat Mar 2 18:11:19 2019 +0100 debian: Update usertags This updates the categories used, changes the default view, and update the file with what was already configued in the BTS. debian/changelog | 3 ++- debian/usertags | 48 +++++++++++++++++++++++++++--------------------- 2 files changed, 29 insertions(+), 22 deletions(-) commit 418d578d23091a1ad9d15ef6a500498f3f46bcbb Author: Guillem Jover Date: Sun Feb 24 03:36:52 2019 +0100 debian: Add bug closures This helps link the reported issues with the changes done. debian/changelog | 2 ++ 1 file changed, 2 insertions(+) commit ba0091e2d97d0084222cd3caee4908aa1feddd75 Author: Helge Kreutzmann Date: Sun Mar 3 11:51:42 2019 +0100 Update German translation of manual pages Update to 2996t1f. man/po/de.po | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit e36fa014ad08ee82f5ca6e1fecf0b0bcd8232d5e Author: Helge Kreutzmann Date: Sun Feb 24 18:41:33 2019 +0100 Fix spelling of exempt man/po/dpkg-man.pot | 2 +- man/po/es.po | 4 ++-- man/po/fr.po | 4 ++-- man/po/hu.po | 4 ++-- man/po/it.po | 4 ++-- man/po/ja.po | 4 ++-- man/po/nl.po | 4 ++-- man/po/pl.po | 4 ++-- man/po/pt_BR.po | 4 ++-- man/po/ru.po | 4 ++-- man/po/sv.po | 4 ++-- man/po/zh_CN.po | 4 ++-- man/start-stop-daemon.man | 2 +- 13 files changed, 24 insertions(+), 24 deletions(-) commit 236cdaffcb2a34cea42009d530afa26082c6a353 Author: Helge Kreutzmann Date: Sun Feb 24 18:40:43 2019 +0100 Update German translation of manual pages Update to 2994t2f1u. debian/changelog | 3 ++ man/po/de.add | 2 +- man/po/de.po | 157 +++++++++++++++++++++++++------------------------------ 3 files changed, 74 insertions(+), 88 deletions(-) commit 6b405c6db943486bbb59a476d71c86db55ebe237 Author: Helge Kreutzmann Date: Sun Feb 24 17:43:50 2019 +0100 Update German scripts translation Update to 603t. debian/changelog | 4 ++++ scripts/po/de.po | 15 +++++---------- 2 files changed, 9 insertions(+), 10 deletions(-) commit 931d4ffac832ab17971bc8bd077d23111de3d47f Author: Guillem Jover Date: Sat Feb 23 18:30:10 2019 +0100 Bump version to 1.19.6 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit f2b4f5475d421178ec813d8c5c8e65d041536cc2 Author: Guillem Jover Date: Sat Feb 23 18:03:54 2019 +0100 Release 1.19.5 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 03a8e6ac6ee204cba9d3b1753656f388637d9db8 Author: Guillem Jover Date: Sat Feb 23 18:00:53 2019 +0100 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/de.po | 361 ++++++++++++++++++++---- man/po/dpkg-man.pot | 200 +++++++++++++- man/po/es.po | 240 +++++++++++++++- man/po/fr.po | 190 +++++++++++-- man/po/hu.po | 199 +++++++++++++- man/po/it.po | 241 +++++++++++++++- man/po/ja.po | 240 +++++++++++++++- man/po/nl.po | 377 +++++++++++++++++-------- man/po/pl.po | 243 +++++++++++++++- man/po/pt_BR.po | 211 +++++++++++++- man/po/ru.po | 221 ++++++++++++++- man/po/sv.po | 240 +++++++++++++++- man/po/zh_CN.po | 218 ++++++++++++++- po/ast.po | 587 +++++++++++++++++++++++---------------- po/bs.po | 455 +++++++++++++++++------------- po/ca.po | 599 ++++++++++++++++++++++++---------------- po/cs.po | 597 ++++++++++++++++++++++++---------------- po/da.po | 594 +++++++++++++++++++++++---------------- po/de.po | 657 +++++++++++++++++++++++++++----------------- po/dpkg.pot | 425 +++++++++++++++------------- po/dz.po | 558 +++++++++++++++++++++---------------- po/el.po | 578 ++++++++++++++++++++++---------------- po/eo.po | 598 ++++++++++++++++++++++++---------------- po/es.po | 622 ++++++++++++++++++++++++----------------- po/et.po | 549 +++++++++++++++++++++---------------- po/eu.po | 606 ++++++++++++++++++++++++---------------- po/fr.po | 657 ++++++++++++++++++++++++++------------------ po/gl.po | 576 ++++++++++++++++++++++---------------- po/hu.po | 557 +++++++++++++++++++++---------------- po/id.po | 577 ++++++++++++++++++++++---------------- po/it.po | 621 +++++++++++++++++++++++++---------------- po/ja.po | 598 ++++++++++++++++++++++++---------------- po/km.po | 554 +++++++++++++++++++++---------------- po/ko.po | 577 ++++++++++++++++++++++---------------- po/ku.po | 484 ++++++++++++++++++-------------- po/lt.po | 554 +++++++++++++++++++++---------------- po/mr.po | 556 +++++++++++++++++++++---------------- po/nb.po | 574 ++++++++++++++++++++++---------------- po/ne.po | 554 +++++++++++++++++++++---------------- po/nl.po | 716 ++++++++++++++++++++++++++---------------------- po/nn.po | 554 +++++++++++++++++++++---------------- po/pa.po | 520 ++++++++++++++++++++--------------- po/pl.po | 613 +++++++++++++++++++++++++---------------- po/pt.po | 634 ++++++++++++++++++++++++++---------------- po/pt_BR.po | 576 ++++++++++++++++++++++---------------- po/ro.po | 595 +++++++++++++++++++++++----------------- po/ru.po | 602 ++++++++++++++++++++++++---------------- po/sk.po | 610 ++++++++++++++++++++++++----------------- po/sv.po | 594 +++++++++++++++++++++++---------------- po/th.po | 591 +++++++++++++++++++++++---------------- po/tl.po | 558 +++++++++++++++++++++---------------- po/tr.po | 600 ++++++++++++++++++++++++---------------- po/vi.po | 597 ++++++++++++++++++++++++---------------- po/zh_CN.po | 614 +++++++++++++++++++++++++---------------- po/zh_TW.po | 598 ++++++++++++++++++++++++---------------- scripts/po/ca.po | 10 +- scripts/po/de.po | 15 +- scripts/po/dpkg-dev.pot | 12 +- scripts/po/es.po | 10 +- scripts/po/fr.po | 10 +- scripts/po/pl.po | 10 +- scripts/po/ru.po | 10 +- scripts/po/sv.po | 10 +- 94 files changed, 17502 insertions(+), 10266 deletions(-) commit 4321fa192af27a56ec46d159e87b21f8b136581f Author: Frans Spiesschaert Date: Fri Feb 15 05:15:46 2019 +0100 po: Update Dutch translations Closes: #921942, #921943 Signed-off-by: Guillem Jover debian/changelog | 2 + man/po/nl.po | 242 ++++++++++++++++++++----------------- po/nl.po | 358 ++++++++++++++++++++++++++++--------------------------- 3 files changed, 317 insertions(+), 285 deletions(-) commit e1474bf1a5345dc2c94d342ef0bae4b693d41d0e Author: Zhou Mo Date: Thu Jan 31 03:31:01 2019 +0000 po: Update Simplified Chinese programs translation Closes: #920972 Signed-off-by: Guillem Jover debian/changelog | 1 + po/zh_CN.po | 117 ++++++++++++------------------------------------------- 2 files changed, 25 insertions(+), 93 deletions(-) commit c7142867bdff525292d06b458edde29c6b5f4fd5 Author: Jean-Pierre Giraud Date: Fri Feb 1 03:45:02 2019 +0100 po: Update French man page translations [guillem@debian.org: - Fix markup errors. - Mark broken translation as fuzzy. ] Closes: #920905 Signed-off-by: Guillem Jover debian/changelog | 1 + man/po/fr.po | 11737 +++++++++++++++++------------------------------------ 2 files changed, 3652 insertions(+), 8086 deletions(-) commit 1a04039d113972bae94225d31a4186b03e675c6e Author: Guillem Jover Date: Fri Feb 22 03:12:40 2019 +0100 libdpkg: Fix typos lib/dpkg/dbmodify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ec3c37f87362cdecbae409b6d24f3c99b09ae0b5 Author: Guillem Jover Date: Sat Feb 23 04:56:42 2019 +0100 libdpkg, dpkg: Print the dpkg database directory on access errors There were several error messages involving the dpkg database, that were ambiguous by referring to it as "dpkg status area", instead of printing the affected pathname. The historical reason for not being more explicit has been to keep the user a bit under the dark, because this has been an internal database storage, and only those in the known would go there to edit it by hand and similar. This is a bit pointless though, because the Internet is full of references to those directories, and other error messages just print them anyway. In addition, for users that want to diagnose what is the problem this is not helpful, and the directory might have been changed at build or run time with one of the options. Closes: #883700 debian/changelog | 2 ++ lib/dpkg/dbmodify.c | 23 +++++++++++++++-------- lib/dpkg/file.c | 13 +++++++------ lib/dpkg/file.h | 4 ++-- lib/dpkg/trigdeferred.c | 5 +++-- src/update.c | 10 +++++++--- 6 files changed, 36 insertions(+), 21 deletions(-) commit 813024b95f3087fe018f73867ea30ad2a83321e5 Author: Guillem Jover Date: Mon Feb 18 03:53:36 2019 +0100 libdpkg: Blank packages that are not-installed with unknown selection Versions before 1.13.10 did not properly clear the Origin and Bugs fields, so there might still be entries with these fields that are not getting garbage collected properly. Make sure to blank these package entries so that they get forgotten on the next database dump. Closes: #922410 debian/changelog | 2 ++ lib/dpkg/parse.c | 11 +++++++++++ 2 files changed, 13 insertions(+) commit 12dc155b63be057af5a1c6330106e496aeae3ee4 Author: Guillem Jover Date: Mon Feb 18 03:53:16 2019 +0100 libdpkg: Use pkg_set_want() instead of a direct assignment debian/changelog | 1 + lib/dpkg/parse.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 5973aa2f9079545739fa52ecdf1577676313d6fa Author: Guillem Jover Date: Fri Feb 15 04:13:39 2019 +0100 libdpkg: Include in pager.c Closes: #922212 Reported-by: Y debian/changelog | 2 ++ lib/dpkg/pager.c | 1 + 2 files changed, 3 insertions(+) commit 3528fe345c66dc8cb8a591594dfa53d57b366499 Author: Guillem Jover Date: Thu Feb 7 22:36:11 2019 +0100 libdpkg: Use va_arg copy instead of the original on a vasprintf() call We need to do that, as we might try to use args again when constructing the error message into the emergency buffer, which would get garbage instead. debian/changelog | 1 + lib/dpkg/ehandle.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit b9665196413beb1577df1ee06591befb9e6bc143 Author: Guillem Jover Date: Fri Feb 1 03:38:54 2019 +0100 libdpkg: Fix unit test for file_slurp() We should compare only the memory being used, and file_slurp() does not guarantee NUL-terminating the varbuf. Closes: #920974 Diagnosed-by: Frank Schaefer debian/changelog | 3 +++ lib/dpkg/t/t-file.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 039e85a87777a660e7b8b8e9f87dd4d8640e2a4a Author: Guillem Jover Date: Wed Jan 30 03:53:44 2019 +0100 libdpkg: Increase the pkg-hash bins size We use a number that is close to the amount of packages currently present in a Debian suite, so that installed and available packages do not add tons of collisions. The memory usage is «BINS * sizeof(void *)», so it will be 256 KiB on 32-bit systems and 512 KiB on 64-bit systems. Update the code comment to reflect the above. debian/changelog | 2 ++ lib/dpkg/pkg-hash.c | 15 ++++++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) commit 3828a82cb4c4d42a6b18d6d59f30a09dcbc65aa4 Author: Guillem Jover Date: Sat Feb 23 04:56:30 2019 +0100 libdpkg: Print a more accurate warning for Revision nicknames Now that we do not use a nickname mapping anymore, the field struct contains the actual field name matched, so we can report it correctly instead of listing all possible altrnatives, and then missing some. debian/changelog | 1 + lib/dpkg/fields.c | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) commit 3a017177110da9f54668b614f78aeb98bf73796d Author: Guillem Jover Date: Sat Feb 23 04:56:14 2019 +0100 libdpkg: Merge nicknames table into fieldinfos The current code first does a lookup to see if the fieldname is in the nicknames table, if found fixes up the fieldname to the new alias, and then always does a lookup for the normalized name in fieldinfos table. This penalizes the common case (i.e. non-obsolete fieldnames) substantially. Also moving the nicknames into the fieldinfos table will allow to print correct fieldnames on error as those are not mangled any more, and to provide new wrapper parse functions that print warnings for the obsolete fieldnames. debian/changelog | 2 ++ lib/dpkg/parse.c | 29 +++++++---------------------- lib/dpkg/parsedump.h | 8 -------- 3 files changed, 9 insertions(+), 30 deletions(-) commit 80b9ae537f0d1d1c1f4dbb7f046c434618ee6363 Author: Guillem Jover Date: Sat Feb 23 04:55:59 2019 +0100 libdpkg: Optimize error handling Move the error reporting outside the involved functions so that we do not need to call gettext if there is no error, which has a significant performance cost. debian/changelog | 3 +++ lib/dpkg/fields.c | 63 +++++++++++++++++++++++++++++++--------------------- lib/dpkg/parse.c | 1 + lib/dpkg/parsedump.h | 14 +++++++++--- lib/dpkg/parsehelp.c | 47 +++++++++++++++++++++++++-------------- 5 files changed, 83 insertions(+), 45 deletions(-) commit 4dfa2cb392e442938a7a4fcb90a46826f90abb2e Author: Guillem Jover Date: Fri Feb 22 09:47:43 2019 +0100 libdpkg: Clarify field names in error and warning messages Move all field names to be format arguments so that these do not get accidentally translated. Use fip->name instead of hardcoding the field name. Always refer to the field names as "'%s' field". Use the proper field names instead of descriptions. And capitalize their names. debian/changelog | 1 + lib/dpkg/fields.c | 43 ++++++++++++++++++++++--------------------- lib/dpkg/parse.c | 28 +++++++++++++++------------- lib/dpkg/parsehelp.c | 8 ++++---- 4 files changed, 42 insertions(+), 38 deletions(-) commit 578df67043f8beff11cbaa119003031184e163ac Author: Guillem Jover Date: Sat Feb 23 04:55:47 2019 +0100 libdpkg: Move status names from parse errors to arguments Although package states are very unlikely to change their names, it's just better to use a single canonical place to store their values. This also makes sure no translator will accidentally translate these names. debian/changelog | 1 + lib/dpkg/parse.c | 11 ++++++----- 2 files changed, 7 insertions(+), 5 deletions(-) commit 2385d08c1f67e48de86fc0daa504fef572c99e28 Author: Guillem Jover Date: Sun Jan 27 05:06:38 2019 +0100 libdpkg: Add new dpkg_has_error() function debian/changelog | 1 + lib/dpkg/error.c | 6 ++++++ lib/dpkg/error.h | 4 ++++ lib/dpkg/libdpkg.map | 1 + 4 files changed, 12 insertions(+) commit 81f3c2f460915cfb5f85c4d536b822cf402bb44d Author: Guillem Jover Date: Sat Feb 23 04:55:32 2019 +0100 libdpkg: Add new dpkg_error_move() function debian/changelog | 1 + lib/dpkg/error.c | 9 +++++++++ lib/dpkg/error.h | 1 + lib/dpkg/libdpkg.map | 1 + 4 files changed, 12 insertions(+) commit 2f3d0546617f510a0e9a976d897fd1cd91408d12 Author: Guillem Jover Date: Sat Feb 23 04:52:18 2019 +0100 libdpkg: New benchmark programs and infrastructure These are intended to be used to check performance improvements in the libdpkg implementation. debian/changelog | 1 + lib/dpkg/Makefile.am | 1 + lib/dpkg/fsys-hash.c | 39 +++++++++++++++++++++++ lib/dpkg/fsys.h | 4 +++ lib/dpkg/perf.h | 71 ++++++++++++++++++++++++++++++++++++++++++ lib/dpkg/pkg-hash.c | 15 +++++++-- lib/dpkg/t/.gitignore | 5 +++ lib/dpkg/t/Makefile.am | 7 +++++ lib/dpkg/t/b-fsys-hash.c | 80 ++++++++++++++++++++++++++++++++++++++++++++++++ lib/dpkg/t/b-pkg-hash.c | 65 +++++++++++++++++++++++++++++++++++++++ 10 files changed, 286 insertions(+), 2 deletions(-) commit 7605ee419fa482baeb8db5ff42e3163df6ac51bd Author: Guillem Jover Date: Fri Feb 22 01:42:13 2019 +0100 Dpkg::BuildOptions: Fix typo in POD scripts/Dpkg/BuildOptions.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 41628ced3ebbdb2ed2219b5320b6301aee7d65be Author: Guillem Jover Date: Fri Feb 1 03:41:25 2019 +0100 Dpkg::Source::Package: Add a missing use Dpkg::Source::Format Closes: #921031 Fixes: commit d1d35a56e401181b6d15baf474a7db21d3372a65 Diagnosed-by: Ian Jackson debian/changelog | 3 +++ scripts/Dpkg/Source/Package.pm | 1 + 2 files changed, 4 insertions(+) commit 769e87e0b9943bae4c62f1a5c85581be653d74b8 Author: Guillem Jover Date: Mon Dec 3 08:57:14 2018 +0100 Dpkg::Vendor::Debian: Add support for usr-local-has-* tainted tags These will detect problematic files under /usr/local which can taint the current build. debian/changelog | 1 + man/deb-buildinfo.man | 12 ++++++++++++ scripts/Dpkg/Vendor/Debian.pm | 14 ++++++++++++++ 3 files changed, 27 insertions(+) commit dd406dc36649bacf646c51735214b9b21a82b5ae Author: Guillem Jover Date: Sun Dec 2 03:35:49 2018 +0100 Dpkg::Vendor::Debian: Add support for merged-usr-via-symlinks tainted tag This will detect whether the system we are building on contains the problematic /usr merged via symlinks deployment method. Suggested-by: Alexander E. Patrakov debian/changelog | 3 +++ man/deb-buildinfo.man | 11 +++++++++++ scripts/Dpkg/Vendor/Debian.pm | 10 ++++++++++ 3 files changed, 24 insertions(+) commit 13cad525ffbcbfba47863ea41024415ac25f7974 Author: Guillem Jover Date: Sun Dec 2 03:35:49 2018 +0100 dpkg-genbuildinfo: Add support for a new Build-Tainted-By field This field will contain a list of tainting reason tags, which can denote that the current build has potentially been broken. Suggested-by: Alexander E. Patrakov debian/changelog | 2 ++ man/deb-buildinfo.man | 11 +++++++++++ scripts/Dpkg/Control/FieldsCore.pm | 7 ++++++- scripts/Dpkg/Vendor/Debian.pm | 10 ++++++++++ scripts/Dpkg/Vendor/Default.pm | 10 ++++++++++ scripts/dpkg-genbuildinfo.pl | 2 ++ scripts/t/Dpkg_Control_Fields.t | 5 +++-- 7 files changed, 44 insertions(+), 3 deletions(-) commit 967e990834995a6b3f8d3aa9d2cb12e7a97abdda Author: Ralf Treinen Date: Thu Feb 21 04:40:42 2019 +0100 dpkg-maintscript-helper: Restrict find for dir-to-symlink move to -maxdepth 1 We do not want to move the entries beneath the first depth of the pathname, as when we try to move those, we will have already moved their parent. Closes: #922799 Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/dpkg-maintscript-helper.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 024d7881d39d6ca4262209770d86fd649d0de544 Author: Guillem Jover Date: Fri Feb 15 04:25:06 2019 +0100 dpkg-buildpackage: Clarify the warning/error on short OpenPGP key IDs Print where these are to be used. Closes: #922039 debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit a35c1762911cf73ba8b8998f15ad8358cc91b929 Author: Guillem Jover Date: Mon Feb 18 04:51:01 2019 +0100 dpkg(1): Document the unknown selection state Closes: #922407 debian/changelog | 1 + man/dpkg.man | 5 +++++ 2 files changed, 6 insertions(+) commit 41bc12bd8d518653aa4564d22fea675717391798 Author: Guillem Jover Date: Fri Feb 1 03:57:54 2019 +0100 dpkg: Clarify error on unknown system user/group in statoverride database Closes: #920880 debian/changelog | 2 ++ lib/dpkg/db-fsys-override.c | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) commit 0c84e3473bf7765565ddb07cebfab09d28a94582 Author: Guillem Jover Date: Sat Feb 23 04:39:37 2019 +0100 dpkg: Add new option --refuse-security-mac to control SELinux This new option works in both dpkg and dpkg-statoverride. And dpkg will pass it to its children, which means dpkg-statoverride called from a maintainer script will automatically pick it up. Ref: #811037 debian/changelog | 2 ++ man/dpkg-statoverride.man | 5 +++++ man/dpkg.man | 5 +++++ src/force.c | 5 +++++ src/force.h | 1 + src/selinux.c | 3 ++- src/statcmd.c | 2 +- 7 files changed, 21 insertions(+), 2 deletions(-) commit 08c257b8f1fa1c25e5fdacdb50edcbf650094630 Author: Guillem Jover Date: Fri Sep 7 18:41:33 2018 +0200 dpkg-statoverride: Switch from --force option to new --force- options Deprecate --force option which will be considered an alias for --force-all for now. debian/changelog | 3 +++ man/dpkg-statoverride.man | 8 ++++++++ man/dpkg.man | 6 ++++++ src/force.c | 10 ++++++++++ src/force.h | 2 ++ src/statcmd.c | 22 ++++++++++++++++------ 6 files changed, 45 insertions(+), 6 deletions(-) commit c498af86a5a6b4567f0ef882c8baac3b5b7ef30b Author: Guillem Jover Date: Fri Sep 7 16:00:13 2018 +0200 dpkg-statoverride: Add support for --force-* options debian/changelog | 1 + man/dpkg-statoverride.man | 23 +++++++++++++++++++++++ src/Makefile.am | 1 + src/statcmd.c | 9 +++++++++ 4 files changed, 34 insertions(+) commit fddae6d870dc220d446c5a3c22ed0ae083a5e581 Author: Guillem Jover Date: Sat Feb 23 04:47:56 2019 +0100 dpkg: Parse and set new DPKG_FORCE environment variable for subprocesses This will make it possible for third-party tools, and also for other dpkg tools to have access to the force options specified for dpkg. Closes: #666147 debian/changelog | 2 ++ man/dpkg.man | 9 +++++++++ src/force.c | 10 ++++++++++ src/main.c | 2 ++ 4 files changed, 23 insertions(+) commit 52427d9075b4b062fa0db16a70d2c2bda6407857 Author: Guillem Jover Date: Wed Sep 12 00:46:32 2018 +0200 dpkg: Switch to set the default force option from the forceinfos array debian/changelog | 1 + src/force.c | 16 ++++++++++++++-- src/force.h | 2 ++ src/main.c | 1 + 4 files changed, 18 insertions(+), 2 deletions(-) commit a02734aed1b235395fb753d5f07381f4ec13543a Author: Guillem Jover Date: Wed Sep 12 00:43:12 2018 +0200 dpkg: Switch from a char to an enum to track the force options types debian/changelog | 1 + src/force.c | 69 ++++++++++++++++++++++++++++++-------------------------- 2 files changed, 38 insertions(+), 32 deletions(-) commit 56ae35c4312c056811239ebe1e90ad565b6fbe48 Author: Guillem Jover Date: Sat Feb 23 04:47:25 2019 +0100 dpkg: Switch force options from individual variables to bit fields This makes it easier to generalize to be used by other modules with different force options, and to operate on the force options. debian/changelog | 1 + src/archives.c | 28 ++++++------ src/configure.c | 16 +++---- src/errors.c | 2 +- src/force.c | 135 ++++++++++++++++++++++++++++++------------------------- src/force.h | 66 ++++++++++++++++----------- src/help.c | 8 ++-- src/main.c | 12 ++--- src/packages.c | 17 +++---- src/remove.c | 4 +- src/script.c | 8 ++-- src/unpack.c | 6 +-- 12 files changed, 166 insertions(+), 137 deletions(-) commit e566532b04c4d263001f798b4cea3488be00400c Author: Guillem Jover Date: Sat Feb 23 04:47:12 2019 +0100 dpkg: Print the current set of enabled force options on --force-help This will make it possible to reason more easily about what is getting enabled. debian/changelog | 1 + src/force.c | 25 +++++++++++++++++++++++++ src/force.h | 2 ++ 3 files changed, 28 insertions(+) commit c6fe5807feb2b1fcddd56831af29183184db4f4a Author: Guillem Jover Date: Sun Sep 16 11:41:18 2018 +0200 dpkg: Do not hardcode the program name in the --force-help output We will be using the same logic for other commands. debian/changelog | 1 + src/force.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit e14213a278574c0dbdec02f26fa8c7c4c02dfe7c Author: Guillem Jover Date: Sat Feb 23 04:37:13 2019 +0100 dpkg: Move force options support into its own file This unifies all force related code in a single file, and will make it possible to use it in other programs. debian/changelog | 1 + po/POTFILES.in | 1 + src/Makefile.am | 1 + src/errors.c | 20 ---- src/force.c | 315 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/force.h | 61 +++++++++++ src/main.c | 160 ---------------------------- src/main.h | 14 +-- 8 files changed, 381 insertions(+), 192 deletions(-) commit 6d43bd729668c801f1fa3402b4d95fe4b0caf2c0 Author: Guillem Jover Date: Wed Feb 20 11:32:33 2019 +0100 dpkg: Simplify maintscript_set_exec_context() We do not really need to normalize the return code, which was confusing the cppcheck for which we required a supression. debian/changelog | 1 + src/script.c | 7 +++---- t/cppcheck/cppcheck.supp | 4 ---- 3 files changed, 4 insertions(+), 8 deletions(-) commit be0504ce8b38a653c43a33ce6b4b70722e2e46a5 Author: Guillem Jover Date: Sat Feb 23 04:47:02 2019 +0100 dpkg: Move SELinux fallback label to the SELinux specific code path The wrapper function should be generic, so leaking this SELinux specific detail there is just wrong. debian/changelog | 2 ++ src/script.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit 754511aaef556ebad03560e689eeb2044a7ee1fd Author: Guillem Jover Date: Fri Feb 15 05:09:11 2019 +0100 s-s-d(1): Document behavior of --pidfile security checks Describe what to expect from these new checks. Closes: #921557 debian/changelog | 3 +++ man/start-stop-daemon.man | 9 ++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) commit 90f657a644d87f96d0161ddf0d039a61d77c6d93 Author: Guillem Jover Date: Fri Feb 15 05:06:46 2019 +0100 s-s-d: Always refuse to parse a world-writable pidfile, except for /dev/null This is generally insecure, not just when using the --pidfile match option alone. The «/dev/null» excemption is still in place. debian/changelog | 2 ++ utils/start-stop-daemon.c | 13 ++++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) commit ea2c4bc35a9827ad765883e4452ae8e299e22134 Author: Guillem Jover Date: Fri Feb 15 04:45:41 2019 +0100 s-s-d: Add new fatalv() and fatale() and use the latter for system errors We should not try to use errno, when the error has not been produced due to a system error, as then errno might contain bogus or unrelated information. Be explicit in the error handling by calling fatale() for errno related errors, and fatal() for the ones that are disconnected from it. debian/changelog | 3 ++ utils/start-stop-daemon.c | 131 ++++++++++++++++++++++++++-------------------- 2 files changed, 77 insertions(+), 57 deletions(-) commit 090c1a51040557c0361776ed7bf297722dbfd4b3 Author: Guillem Jover Date: Fri Feb 15 04:43:33 2019 +0100 s-s-d: Make sure that we get a meaningful errno on parse_unsigned() Initialize errno to 0 before returning on any error condition, not just before strtol(3), so that when we call fatal() we get a meaningful value in errno. debian/changelog | 2 ++ utils/start-stop-daemon.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit db3872abfb48ff4a5393f3c2fe343a63d90395f6 Author: Guillem Jover Date: Tue Feb 19 05:53:04 2019 +0100 debian: Include a bug-script to report on tainted merged-usr-via-symlinks Systems deployed with that method bypass the package manager and its understanding of the filesystem, create aliasing problems, and break all kinds of expectations for any program that uses pathnames as key into their database, such as u-a. Makefile.am | 1 + debian/bug-script | 10 ++++++++++ debian/changelog | 1 + debian/rules | 2 ++ 4 files changed, 14 insertions(+) commit 0badaf9f58cf40c06180d2d511ebd1795682dd54 Author: Guillem Jover Date: Fri Feb 22 01:42:47 2019 +0100 debian: Remove Origin and Bugs fields from control file These fields have been there mostly to showcase their usage, which should instead be dynamically added at build-time, and as a reminder that this should be done. But there is already a bug filed as a reminder (see #511160), they are also now documented in the deb-src-control(5) man page, they are actually wrong in many cases when present on a downstream, and they generate nagging lintian warnings to boot. Makefile.am | 5 ----- debian/changelog | 1 + debian/control | 2 -- debian/dpkg-dev.lintian-overrides | 2 -- debian/dpkg.lintian-overrides | 2 -- debian/dselect.lintian-overrides | 2 -- debian/libdpkg-dev.lintian-overrides | 2 -- debian/libdpkg-perl.lintian-overrides | 2 -- debian/source/lintian-overrides | 1 - 9 files changed, 1 insertion(+), 18 deletions(-) commit 80efdd1dd7ff2277fc8e0bfa3c0c6c2e915f6069 Author: Guillem Jover Date: Fri Feb 22 01:42:28 2019 +0100 debian: Remove trailing whitespace from changelog debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4114a568fd32cd8c146001007f1f50af7f2aa079 Author: Guillem Jover Date: Wed Jan 30 03:32:16 2019 +0100 debian: Remove now unused assert usertag description All such bugs have been closed, there is no reason to document it anymore. debian/changelog | 1 + debian/usertags | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) commit 20d28e498fa4e9c800e8291726bda72450419e85 Author: Guillem Jover Date: Sun Jan 27 13:28:28 2019 +0100 debian: Bump Standards-Version to 4.3.0 (no changes required) debian/changelog | 1 + debian/control | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 423b3f6307841592c678a8b15a709a503f29c1f4 Author: Guillem Jover Date: Sat Feb 23 03:50:21 2019 +0100 debian: Clarify autopkgtest behavior on root/non-root requirement Mark the not-root test as skippable, and skip it if running as root, as there is no restriction currently to represent that. For the root test clarify the failing exit code with a comment. debian/changelog | 1 + debian/tests/control | 2 +- debian/tests/test-not-root | 3 ++- debian/tests/test-root | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) commit 66b69ec6fb09495050302a2a0af2b3e08895d9d4 Author: Guillem Jover Date: Fri Jan 25 02:15:39 2019 +0100 debian: Add file to autopkgtest Depends fields libtool generated scripts make use of file(1) to detect the executable types. debian/changelog | 2 ++ debian/tests/control | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit efc117fd2c5452edcd47067dd67652a293b544a8 Author: Guillem Jover Date: Wed Jan 30 03:33:07 2019 +0100 debian: Fix bug closures debian/changelog | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit c4e8529c7dd3c5ead87b8e8c5a6e5c83093c72de Author: Guillem Jover Date: Wed Feb 20 11:48:08 2019 +0100 build: Check whether this dist is a release based only on the version format Using the .dist-version file implies that we need to do a two staged release process. First a «make dist», unpack the generated tarball distribution, and run that again. When the deciding factor is the format of the version. Switch to use that exclusively. debian/changelog | 6 ++++++ m4/dpkg-build.m4 | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) commit 42bf881455ddf31607c3acf7b0769cbfad2bdcf5 Author: Sven Joachim Date: Wed Jan 30 18:49:18 2019 +0100 debian: Fix impromperly indented line in debian/changelog debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 99f11937fc1fedb1ac1ed5db5c341795ba106d78 Author: Sven Joachim Date: Wed Jan 30 18:32:26 2019 +0100 German dpkg translation update Update to 1128t. debian/changelog | 3 ++ po/de.po | 149 +++++++++++++++---------------------------------------- 2 files changed, 42 insertions(+), 110 deletions(-) commit 7b549b351ec7878764ed20b47474a4a3f810555a Author: Helge Kreutzmann Date: Wed Jan 23 19:48:55 2019 +0100 Update German translation of manual pages Update to 2970t1f. debian/changelog | 3 + man/po/de.po | 246 ++++++++++++++++++------------------------------------- 2 files changed, 84 insertions(+), 165 deletions(-) commit 12f408dab7184bb12b5907780a5fb4e49b202d3c Author: Helge Kreutzmann Date: Wed Jan 23 18:42:27 2019 +0100 Update German scripts translation Update to 603t. debian/changelog | 3 ++- scripts/po/de.po | 17 +++++++---------- 2 files changed, 9 insertions(+), 11 deletions(-) commit b55650801c507dd2f4369f36ce43e35b6d6a750c Author: Guillem Jover Date: Wed Jan 23 13:53:51 2019 +0100 Bump version to 1.19.5 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 8520dc66f27d08c4d340c2568b4f5c7aefa00627 Author: Guillem Jover Date: Wed Jan 23 13:06:59 2019 +0100 Release 1.19.4 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b1b724875dc58d52c6ec4bacd8fd74af2a80f495 Author: Guillem Jover Date: Wed Jan 23 12:25:41 2019 +0100 debian: Change autopkgtest Depends to «build-essential, autoconf, pkg-config» This fixes the Depends to what is really required by the configure script. debian/changelog | 1 + debian/tests/control | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit dbcb622adf876a9f1914fad8f400b2aeb33972af Author: Guillem Jover Date: Wed Jan 23 12:24:34 2019 +0100 debian: Pass --disable-nls and --disable-dselect to configure in autopkgtests This reduces the required dependencies to a minimum. debian/changelog | 2 ++ debian/tests/test-not-root | 2 +- debian/tests/test-root | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) commit c1e62efcf183e9d741d36390b43e1d07991e4979 Author: Guillem Jover Date: Wed Jan 23 12:15:26 2019 +0100 s-s-d: Remove bogus comment about Linux user namespaces vs /dev/null The /dev/null device always has world-writable permissions, so it would always fail anyway. Spotted-by: James Clarke (on IRC) debian/changelog | 3 +-- utils/start-stop-daemon.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) commit 15c2161f7d8093b2ec857c343987339f59c8afd5 Author: Guillem Jover Date: Wed Jan 23 09:16:03 2019 +0100 s-s-d: Do not sanity check the pidfile when it is specified as /dev/null Several projects use this to bypass the requirement for a matching option so that they can start a program no matter what. Even though the check should not fail on this condition, it does on some scenarios, such as when using Linux user namespaces. Closes: #920242 debian/changelog | 4 ++++ utils/start-stop-daemon.c | 10 ++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) commit 8ba5b0e6e1a10933350f2780ccf2752df90e2554 Author: Guillem Jover Date: Wed Jan 23 09:13:17 2019 +0100 s-s-d: Move SO_PASSCRED setting into its own function This way we have the entire logic in one place, and can more cleanly conditionalize on SO_PASSCRED availability. utils/start-stop-daemon.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit ee46f24f1aee0ac04e82285e2c718b13dbab1185 Author: Guillem Jover Date: Wed Jan 23 03:01:17 2019 +0100 s-s-d: Only use SO_PASSCRED if defined Fixes build failure at least on GNU/Hurd. debian/changelog | 4 +++- utils/start-stop-daemon.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) commit 8b19d061147bf318234982934c886197696c2471 Author: Guillem Jover Date: Tue Jan 22 19:24:47 2019 +0100 Bump version to 1.19.4 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 931dc9986a59ecb197d81e236e887618695592be Author: Guillem Jover Date: Tue Jan 22 14:26:25 2019 +0100 Release 1.19.3 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit aac92cd67b6446cd6c444709927f18edd702cf9a Author: Guillem Jover Date: Tue Jan 22 14:26:03 2019 +0100 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/de.po | 459 ++++++++++++++++++++++++++++++++--------- man/po/dpkg-man.pot | 238 +++++++++++++++++----- man/po/es.po | 302 ++++++++++++++++++++++----- man/po/fr.po | 316 ++++++++++++++++++++++------ man/po/hu.po | 252 ++++++++++++++++++----- man/po/it.po | 317 ++++++++++++++++++++++++----- man/po/ja.po | 300 ++++++++++++++++++++++----- man/po/nl.po | 531 +++++++++++++++++++++++++++++------------------- man/po/pl.po | 301 ++++++++++++++++++++++----- man/po/pt_BR.po | 247 +++++++++++++++++----- man/po/ru.po | 241 +++++++++++++++++----- man/po/sv.po | 313 +++++++++++++++++++++++----- man/po/zh_CN.po | 261 +++++++++++++++++++----- po/ast.po | 114 +++++++++-- po/bs.po | 103 ++++++++-- po/ca.po | 175 +++++++++++++--- po/cs.po | 175 +++++++++++++--- po/da.po | 131 +++++++++--- po/de.po | 175 +++++++++++++--- po/dpkg.pot | 100 ++++++--- po/dz.po | 113 +++++++++-- po/el.po | 113 +++++++++-- po/eo.po | 131 +++++++++--- po/es.po | 175 +++++++++++++--- po/et.po | 112 ++++++++-- po/eu.po | 131 +++++++++--- po/fr.po | 131 +++++++++--- po/gl.po | 113 +++++++++-- po/hu.po | 114 +++++++++-- po/id.po | 115 +++++++++-- po/it.po | 82 +++++++- po/ja.po | 131 +++++++++--- po/km.po | 114 +++++++++-- po/ko.po | 115 +++++++++-- po/ku.po | 103 ++++++++-- po/lt.po | 111 ++++++++-- po/mr.po | 114 +++++++++-- po/nb.po | 114 +++++++++-- po/ne.po | 113 +++++++++-- po/nl.po | 82 +++++++- po/nn.po | 112 ++++++++-- po/pa.po | 104 ++++++++-- po/pl.po | 175 +++++++++++++--- po/pt.po | 377 +++++++++++++++++++--------------- po/pt_BR.po | 112 ++++++++-- po/ro.po | 115 +++++++++-- po/ru.po | 131 +++++++++--- po/sk.po | 131 +++++++++--- po/sv.po | 131 +++++++++--- po/th.po | 131 +++++++++--- po/tl.po | 112 ++++++++-- po/tr.po | 175 +++++++++++++--- po/vi.po | 131 +++++++++--- po/zh_CN.po | 188 ++++++++++++++--- po/zh_TW.po | 175 +++++++++++++--- scripts/po/ca.po | 59 +++--- scripts/po/de.po | 59 +++--- scripts/po/dpkg-dev.pot | 52 ++--- scripts/po/es.po | 61 +++--- scripts/po/fr.po | 59 +++--- scripts/po/pl.po | 59 +++--- scripts/po/ru.po | 59 +++--- scripts/po/sv.po | 59 +++--- 94 files changed, 8007 insertions(+), 2202 deletions(-) commit e17e2f5fe161762afd788e99141b70e8de7505da Author: Zhou Mo Date: Sun Jan 13 04:27:10 2019 +0100 po: Update Simplified Chinese programs translation Closes: #919040 Signed-off-by: Guillem Jover debian/changelog | 3 +- po/zh_CN.po | 177 +++++++++++++++++-------------------------------------- 2 files changed, 57 insertions(+), 123 deletions(-) commit cc2f609d15cab09142e4e524aa038bfdc9b17997 Author: Miguel Figueiredo Date: Sun Dec 30 20:17:00 2018 +0100 po: Update Portuguese programs translation Closes: #917813 Signed-off-by: Guillem Jover debian/changelog | 1 + po/pt.po | 610 +++++++++++++++++++++++++++---------------------------- 2 files changed, 297 insertions(+), 314 deletions(-) commit e0eca69e446f3be49f93a8f70af83c9afb4426e7 Author: Frans Spiesschaert Date: Sat Dec 29 13:11:53 2018 +0100 po: Update Dutch translations Closes: #912023, #912024 Signed-off-by: Guillem Jover debian/changelog | 2 + man/po/nl.po | 491 ++++++++++++++++++++++++++++++++----------------------- po/nl.po | 238 +++++++++++++++------------ 3 files changed, 421 insertions(+), 310 deletions(-) commit 7f90eef9b8e9b0025b3d743330fd9fcb5243f07a Author: Milo Casagrande Date: Sat Dec 29 13:06:56 2018 +0100 po: Update Italian programs translation Closes: #915610 Signed-off-by: Guillem Jover debian/changelog | 1 + po/it.po | 342 +++++++++++++++++++++++++------------------------------ 2 files changed, 155 insertions(+), 188 deletions(-) commit 176bc80236d4a56ac283bf7fdba54c94a33c2f22 Author: Guillem Jover Date: Tue Jan 15 04:43:21 2019 +0100 test: Update cppcheck supressions Supress false positives and intended code usage. debian/changelog | 1 + t/cppcheck/cppcheck.supp | 25 ++++++++++++++++++++----- 2 files changed, 21 insertions(+), 5 deletions(-) commit 5c9ff51023b54ab56c5f0a8e141b707ac75ed99d Author: Guillem Jover Date: Sat Oct 13 13:11:38 2018 +0200 test: Add descriptions for the shellcheck exclude codes Having to refer to the documentation to know what these are about is annoying, inline a brief description. debian/changelog | 1 + t/shellcheck.t | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) commit 46136dbf6811efdb1383940a04fd4575afada65f Author: Guillem Jover Date: Mon Dec 31 19:27:16 2018 +0100 libdpkg: Add new db-fsys:Files and db-fsys:Last-Modified virtual fields This will make it possible to access the filesystem entries per package from anything that queries the database, such as «dpkg-query --show». debian/changelog | 1 + lib/dpkg/db-ctrl-format.c | 2 +- lib/dpkg/db-ctrl.h | 2 +- lib/dpkg/pkg-format.c | 58 +++++++++++++++++++++++++++++++++++++++++++++++ man/dpkg-query.man | 8 +++++++ 5 files changed, 69 insertions(+), 2 deletions(-) commit 683d5a21fb749d49873d04639732a69a3b41f59b Author: Guillem Jover Date: Thu Nov 29 01:28:32 2018 +0100 libdpkg: Detect unsupported tar entry types to give better error messages We know what we do not support, let's detect and give better diagnostics so that users get even less confused. debian/changelog | 1 + lib/dpkg/tarfn.c | 23 +++++++++++++++++++++++ lib/dpkg/tarfn.h | 9 +++++++++ 3 files changed, 33 insertions(+) commit 0118b3c7052327f657b9a05cd0b8988775b24a42 Author: Guillem Jover Date: Mon Jan 30 03:04:07 2017 +0100 libdpkg: Add proper tar error handling This makes the tar extractor track and report back parse errors, so that we can give more descriptive messages. debian/changelog | 3 ++ lib/dpkg/t/c-tarextract.c | 28 ++++++++++------- lib/dpkg/tarfn.c | 80 ++++++++++++++++++++++++++--------------------- lib/dpkg/tarfn.h | 24 +++++++++++--- src/archives.c | 10 +++--- src/archives.h | 6 ++-- src/unpack.c | 18 ++++++----- 7 files changed, 104 insertions(+), 65 deletions(-) commit 8190e63fa0442c036092cf8eb1269733bedef498 Author: Guillem Jover Date: Mon Jan 30 03:04:07 2017 +0100 libdpkg: Add new DPKG_ERROR_OBJECT macro debian/changelog | 1 + lib/dpkg/error.h | 2 ++ 2 files changed, 3 insertions(+) commit 23cfdbf1054a3c9fdef741cdc5f6769b3fd57413 Author: Guillem Jover Date: Sat Nov 17 05:27:49 2018 +0100 libdpkg: Add new warning printer setter function This will make it possible for library users to specify alternative warning printers. Prompted-by: Julian Andres Klode debian/changelog | 2 ++ lib/dpkg/libdpkg.map | 2 ++ lib/dpkg/report.c | 22 +++++++++++++++++++--- lib/dpkg/report.h | 5 +++++ 4 files changed, 28 insertions(+), 3 deletions(-) commit 31eb544919a46c6170ac39f5eebd17ba6d48d508 Author: Guillem Jover Date: Wed Nov 21 03:44:15 2018 +0100 libdpkg: Rename pkg_db symbols to pkg_hash These are handling a package hash, and db seems to imply some kind of on-disk storage. Rename the pkgiterator too to pkg_hash_iter to make it consistent. debian/changelog | 1 + dselect/pkglist.cc | 10 ++--- lib/dpkg/db-ctrl-upgrade.c | 2 +- lib/dpkg/db-fsys-divert.c | 2 +- lib/dpkg/db-fsys-files.c | 4 +- lib/dpkg/dbmodify.c | 2 +- lib/dpkg/dpkg-db.h | 43 +++++++++++++------- lib/dpkg/dump.c | 2 +- lib/dpkg/fields.c | 6 +-- lib/dpkg/libdpkg.map | 26 ++++++------ lib/dpkg/parse.c | 16 ++++---- lib/dpkg/pkg-array.c | 12 +++--- lib/dpkg/pkg-array.h | 2 +- lib/dpkg/pkg-hash.c | 40 +++++++++---------- lib/dpkg/pkg-spec.c | 14 +++---- lib/dpkg/pkg-spec.h | 2 +- lib/dpkg/t/t-pkg-hash.c | 98 +++++++++++++++++++++++----------------------- lib/dpkg/t/t-pkg-show.c | 2 +- lib/dpkg/trignote.c | 2 +- src/depcon.c | 8 ++-- src/divertcmd.c | 12 +++--- src/enquiry.c | 32 +++++++-------- src/help.c | 8 ++-- src/main.c | 8 ++-- src/packages.c | 8 ++-- src/querycmd.c | 4 +- src/select.c | 10 ++--- src/trigproc.c | 24 ++++++------ src/unpack.c | 8 ++-- src/verify.c | 8 ++-- 30 files changed, 215 insertions(+), 201 deletions(-) commit f7e9dc18083d5677a633db108c209675e7602417 Author: Guillem Jover Date: Tue Nov 20 04:54:31 2018 +0100 libdpkg: Cleanup fsys module symbol names debian/changelog | 1 + lib/dpkg/db-fsys-digest.c | 10 +-- lib/dpkg/db-fsys-divert.c | 8 +-- lib/dpkg/db-fsys-files.c | 12 ++-- lib/dpkg/db-fsys-override.c | 12 ++-- lib/dpkg/db-fsys.h | 12 ++-- lib/dpkg/dpkg-db.h | 2 +- lib/dpkg/fsys-hash.c | 36 +++++----- lib/dpkg/fsys-iter.c | 36 +++++----- lib/dpkg/fsys.h | 165 ++++++++++++++++++++++---------------------- lib/dpkg/libdpkg.map | 24 +++---- lib/dpkg/pkg-files.c | 10 +-- lib/dpkg/pkg-files.h | 6 +- lib/dpkg/t/t-fsys-hash.c | 38 +++++----- lib/dpkg/t/t-pkg-hash.c | 4 +- lib/dpkg/triglib.c | 10 +-- lib/dpkg/triglib.h | 20 +++--- src/archives.c | 128 +++++++++++++++++----------------- src/archives.h | 18 ++--- src/cleanup.c | 8 +-- src/configure.c | 4 +- src/divertcmd.c | 84 +++++++++++----------- src/help.c | 34 ++++----- src/main.c | 6 +- src/main.h | 23 +++--- src/querycmd.c | 30 ++++---- src/remove.c | 57 +++++++-------- src/statcmd.c | 32 ++++----- src/trigcmd.c | 2 +- src/unpack.c | 94 ++++++++++++------------- src/verify.c | 10 +-- 31 files changed, 476 insertions(+), 460 deletions(-) commit 9e5750015bd6187c8612380015924b82ad6739ac Author: Guillem Jover Date: Sun Nov 18 05:32:19 2018 +0100 libdpkg: Rename ret variable to next debian/changelog | 1 + lib/dpkg/fsys-iter.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) commit 35845f9962dfe2a004a6509c8d0850b4af1ae597 Author: Guillem Jover Date: Sun Nov 18 05:32:47 2018 +0100 libdpkg, dpkg: Rename r variables to fnn debian/changelog | 1 + lib/dpkg/fsys-hash.c | 8 ++++---- src/help.c | 17 +++++++---------- 3 files changed, 12 insertions(+), 14 deletions(-) commit 18a0a2fcc413f136c9840bbb3818a5a4457a8228 Author: Guillem Jover Date: Sun Nov 18 05:30:36 2018 +0100 dselect: Rename variable r to pkgbin This makes it clear what the variable is all about. debian/changelog | 1 + dselect/pkgdepcon.cc | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) commit e29648778ccd54ff834c3581b460542fdb766d44 Author: Guillem Jover Date: Sat Nov 17 20:35:54 2018 +0100 When allocating use the variable instead of the type in sizeof() This makes it easier to guarantee we use the correct size for the involved variable. debian/changelog | 1 + dpkg-split/join.c | 4 ++-- dpkg-split/queue.c | 8 ++++---- lib/compat/scandir.c | 6 +++--- lib/dpkg/db-fsys-divert.c | 4 ++-- lib/dpkg/db-fsys-override.c | 2 +- lib/dpkg/ehandle.c | 6 +++--- lib/dpkg/fields.c | 8 ++++---- lib/dpkg/fsys-hash.c | 4 ++-- lib/dpkg/fsys-iter.c | 2 +- lib/dpkg/log.c | 2 +- lib/dpkg/parse.c | 2 +- lib/dpkg/pkg-files.c | 2 +- lib/dpkg/pkg-hash.c | 6 +++--- lib/dpkg/treewalk.c | 4 ++-- src/archives.c | 2 +- src/enquiry.c | 2 +- src/errors.c | 2 +- src/main.c | 2 +- src/perpkgstate.c | 2 +- src/remove.c | 2 +- src/unpack.c | 8 ++++---- 22 files changed, 41 insertions(+), 40 deletions(-) commit f94d12b62e0747791ece6400f31a15fddc3a2d5b Author: Guillem Jover Date: Tue Jan 15 04:40:33 2019 +0100 dpkg-query: Rename variable to avoid shadowing a local function Warned-by: cppcheck debian/changelog | 1 + src/querycmd.c | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) commit 4b1b8a20f00a97b1e8e3e9e7ba0183e8f6f0059e Author: Guillem Jover Date: Wed Nov 14 04:26:21 2018 +0100 dpkg: Fix --help output to clarify optional arguments debian/changelog | 1 + src/main.c | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 15 deletions(-) commit 9245729c8540dae3a943c6f1d5c9554ba3fcdf46 Author: Guillem Jover Date: Tue Nov 6 02:32:07 2018 +0100 dpkg: Fix typo in comment src/depcon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7f43bf5f93c857bdb419892abfc014a5e9c3c273 Author: Guillem Jover Date: Tue Nov 6 03:06:33 2018 +0100 dpkg: Introduce a new dependency try level for trigger processing The introduction of dependency satisfiability for trigger processing, which was in the original spec but not the implementation, there has been countless problems with bogus detection of trigger cycles. The problem is that whenever we try to process triggers for a package, we might not be able to due to dependency unsatisfiaiblity, which means we have to put the package back into the queue. If we add the state into the cycle detection tracker, then multiple visits to these packages will hit the cycle detection for artificially generated cycles. But we cannot avoid performing the checks because that will miss dynamic cycles coming from maintainer scripts, for example. To avoid most of these problems (while possibly not fixing all potential ones), we should delay trigger processsing entirely until we have emptied the processing queue as much as possible. We do that by introducing a new dependency try level, after the dependency cycle breaking one. We will also make the trigger cycle detection unconditional of the dependency try, because for the trigproc try-queued it will not matter anymore as we will only ented on higher dependency tries, and for the other trigproc types we should not care about any queue-specific dependency try level. Closes: #810724, #854478, #911620 debian/changelog | 5 +++++ src/main.h | 13 +++++++++---- src/packages.c | 4 ++-- src/trigproc.c | 42 +++++++++++++++++++++++++----------------- 4 files changed, 41 insertions(+), 23 deletions(-) commit d0be735f160c8f5f69d29c8154b9a6c2879733b9 Author: Guillem Jover Date: Mon Jan 21 12:58:34 2019 +0100 dpkg: Move trigproc cycle reset inside try-deferred conditional We should only reset the cycle detection in case we are not bailing out from the processing with an error, otherwise we could come back to this package and detect an artificial trigger cycle. debian/changelog | 4 ++++ src/trigproc.c | 21 ++++++++++----------- 2 files changed, 14 insertions(+), 11 deletions(-) commit 725828a60a04d2852b35a760bd584d48b28a6024 Author: Guillem Jover Date: Mon Jan 21 12:58:34 2019 +0100 dpkg: Convert one trigger processing required type into the new try-queued This makes the code stop skipping unsatisfiable dependency checks. debian/changelog | 2 ++ src/packages.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit a23fdc82c44011d2aa54138df4c4af37bd4d5e9e Author: Guillem Jover Date: Mon Jan 21 12:58:34 2019 +0100 dpkg: Split trigger processing types into required, try-queued and try-deferred Each of these reasons for processing triggers have different requirements and attributes: - The required one, must perform all checks as it is done as part of a simple loop to guarantee Pre-Depends satisfiability. - The try-deferred one, must not fail on unsatisfiable dependencies, as we are doing opportunistic trigger processing, after a normal processing queue run. - The try-queued one, must perform all checks and fail hard if any unsatisfiable scenario occurs. debian/changelog | 2 ++ src/main.h | 6 ++++-- src/trigproc.c | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) commit b166c999d28cc56e5befe7f13329ec5aa8f448ca Author: Guillem Jover Date: Sun Jan 20 22:43:34 2019 +0100 dpkg: Reset progress_bytrigproc once we have injected into the current iteration We should not leave the package that could be used to make progress by way of trigger processing in this variable, because it might not have its dependencies satisfied, which means we'll be trying to process it on every next loop, and get into artificialy detected trigger cycles. debian/changelog | 4 ++++ src/packages.c | 1 + 2 files changed, 5 insertions(+) commit 8b1d07b22c2d64f0db5a8de205ff5bbe778a51ba Author: Guillem Jover Date: Tue Jan 22 03:45:29 2019 +0100 dpkg: Move dependtry description from deferred_configure() to its declaration This moves the description closer to the type defining its values, which makes more sense than in the configure function. debian/changelog | 2 ++ src/configure.c | 24 ------------------------ src/main.h | 27 +++++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 24 deletions(-) commit 61bbb77adb5f2c8d6a6d9bff18efa63a4cd2047f Author: Guillem Jover Date: Sat Jan 19 01:54:11 2019 +0100 dpkg: Switch dependtry from an int to an enum Thiw makes the code way easier to understand as there no magic numbers anymore. It will also make it trivial to add new levels in-between. debian/changelog | 1 + src/configure.c | 2 +- src/main.h | 11 ++++++++++- src/packages.c | 22 ++++++++++++++++------ src/remove.c | 5 ++++- src/trigproc.c | 4 ++-- 6 files changed, 34 insertions(+), 11 deletions(-) commit d4f6b91fda91803b62972c186a81cd07edf300e4 Author: Guillem Jover Date: Tue Nov 6 03:03:42 2018 +0100 dpkg: Mark the package we are giving up on a trigger cycle as istobe normal Once we are giving up on a package that we will stop processing, we need to mark it as PKG_ISTOBE_NORMAL so that the dependency checks know they cannot expect this package to be processed anymore. Otherwise we might end up never detecting that we are not making progress, as we expect to process this package at a later point, when that will never happen anymore. This then would end up causing asserts in the process queue loop. Closes: #901127, #910819 debian/changelog | 6 ++++++ src/trigproc.c | 1 + 2 files changed, 7 insertions(+) commit a709de31f6b6bf6f394fb7c053e73d92e34a825b Author: Guillem Jover Date: Tue Nov 6 03:02:52 2018 +0100 dpkg: Factor trigproc_new_cyclenode() out from check_trigger_cycle() debian/changelog | 1 + src/trigproc.c | 37 +++++++++++++++++++++++++------------ 2 files changed, 26 insertions(+), 12 deletions(-) commit 484ae17976645e2eb48a3f5d0d56e2b1dca63a6a Author: Guillem Jover Date: Tue Nov 6 03:01:32 2018 +0100 dpkg: Use common pattern of assigning as an iterator Assign hare->next to hare instead of using the temporary variable, so that it's quicker to spot as an iterator assignment. debian/changelog | 1 + src/trigproc.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 9d180d6ea72d466b5af03ed5eadb4c2cc7345cab Author: Guillem Jover Date: Tue Nov 6 02:50:48 2018 +0100 dpkg: Initialize trigcyclenode's next member once Initialize the next member when we are allocating the struct. debian/changelog | 1 + src/trigproc.c | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) commit 74275126bcd2bb7bd02e9b998045990b679b19cf Author: Guillem Jover Date: Sun Oct 14 18:08:35 2018 +0200 dpkg: Negate tortoise_not_in_hare() function name and return value Makes its usage more obvious. debian/changelog | 1 + src/trigproc.c | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) commit 91e2ae0b74d9efb47a5635466a8e0f0826c0a0e8 Author: Guillem Jover Date: Tue Nov 27 04:05:09 2018 +0100 scripts/mk: Add support for an improved dpkg_vendor_derives_from macro Version the macros so that both can be used, and default the unversioned one to the version 0 macro. debian/changelog | 3 +++ scripts/Makefile.am | 2 ++ scripts/mk/vendor.mk | 38 +++++++++++++++++++++++++++++++------- scripts/t/mk.t | 4 +++- scripts/t/mk/vendor-v0.mk | 6 ++++++ scripts/t/mk/vendor-v1.mk | 6 ++++++ scripts/t/mk/vendor.mk | 1 + 7 files changed, 52 insertions(+), 8 deletions(-) commit 37dd4ce62e0925967c59daec130540d2fa0402d6 Author: Colin Watson Date: Fri Nov 16 04:15:13 2018 +0100 scripts/mk: Fix dpkg_vendor_derives_from macro documentation Add a missing comma, and $(shell) make function invocation. Closes: #913816 Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/mk/vendor.mk | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 08911c47fdabf401dc3a4d7fffd324024c51a1ea Author: Guillem Jover Date: Sat Nov 17 18:32:40 2018 +0100 debian: Add superficial autopkgtest functional tests This will execute the functional test suite on the installed system programs. Makefile.am | 3 +++ debian/changelog | 1 + debian/tests/control | 7 +++++++ debian/tests/test-not-root | 14 ++++++++++++++ debian/tests/test-root | 14 ++++++++++++++ 5 files changed, 39 insertions(+) commit 074960b70330d89bb6e15222fc96ded6f5e5f63d Author: Guillem Jover Date: Tue Nov 6 02:49:27 2018 +0100 build: Split AM_INIT_AUTOMAKE arguments into different lines This makes it easier to change. configure.ac | 8 +++++++- debian/changelog | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) commit d5759dfebdf28ce28a6f243fa12fb03187fe0315 Author: Guillem Jover Date: Fri Dec 21 01:17:58 2018 +0100 u-a: Fix removal of obsolete slaves from the linked list The removal was not performed correctly, so depending on the order of the obsolete slave links, some would go unprocessed and thus not deleted from the list. Closes: #916799 Reported-by: Andreas Beckmann debian/changelog | 2 ++ utils/t/update_alternatives.t | 53 ++++++++++++++++++++++++++++++++++++++++++- utils/update-alternatives.c | 10 ++++---- 3 files changed, 60 insertions(+), 5 deletions(-) commit 8c7a750be37a5940232a4f1f6b2c32d19754c24c Author: Guillem Jover Date: Fri Oct 26 09:46:29 2018 +0200 u-a: Add new --debug option The code was there but commented out. Let's add proper support for debugging output, controllable at run-time. debian/changelog | 1 + man/update-alternatives.man | 8 ++++++-- utils/update-alternatives.c | 15 ++++++++++----- 3 files changed, 17 insertions(+), 7 deletions(-) commit 2d5b58849369c7d27be2f4271ff9e8d96a773288 Author: Guillem Jover Date: Fri Oct 26 09:44:16 2018 +0200 u-a: Switch verbose selection into an enum This makes the values and comparisons immediately clear. debian/changelog | 1 + utils/update-alternatives.c | 18 ++++++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) commit 1a18c981857ab0e635907f83c4a63765a25aa96b Author: Guillem Jover Date: Mon Jan 30 03:02:31 2017 +0100 u-a: Use enums for actions instead of strings Parse them just once, and use proper enums, which means the compiler can verify for us for typos and misspellings. debian/changelog | 1 + utils/update-alternatives.c | 131 ++++++++++++++++++++++++++++++-------------- 2 files changed, 91 insertions(+), 41 deletions(-) commit 711f929ec0eea9b2248b1723e64c2021cf99c16d Author: Guillem Jover Date: Sun Mar 25 19:43:18 2018 +0200 s-s-d: Implement --notify-await and --notify-timeout options These implement the systemd readiness protocol for services. So that a service can tell s-s-d when it's ready and then we can return and callers can assume safely that the service is ready to work. [biebl@debian.org: - Fix some typos. ] [trek00@inbox.ru: - Fix notification directory and socket permissions. ] Closes: #910707 debian/changelog | 3 + man/start-stop-daemon.man | 29 ++++++- utils/start-stop-daemon.c | 217 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 248 insertions(+), 1 deletion(-) commit f47ab454d1eb51cb2302172899847064541158da Author: Guillem Jover Date: Fri Oct 12 13:26:32 2018 +0200 s-s-d: Move parse_unsigned() definition to the top of the file This way we can use in earlier functions. utils/start-stop-daemon.c | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) commit 4e5d1cc751d5a9c399f62f59e0ca2da27a37c4c4 Author: Guillem Jover Date: Fri Oct 12 21:59:25 2018 +0200 s-s-d: Switch code to use new info() and debug() functions This makes the call sites obvious. debian/changelog | 1 + utils/start-stop-daemon.c | 57 ++++++++++++++++++++++++++++++----------------- 2 files changed, 38 insertions(+), 20 deletions(-) commit 472712e23e5b281d7f9541cd4e6b9caae751ca54 Author: Trek Date: Tue Oct 16 21:45:42 2018 +0200 s-s-d: Fix typo Signed-off-by: Guillem Jover utils/start-stop-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 517e1397c18666555e992822eabe1b69aad278b5 Author: Guillem Jover Date: Sun Mar 25 19:43:18 2018 +0200 s-s-d: Fix typo in comment utils/start-stop-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4b4f8ed22ad6e5b90a52593715897910d2bdfb85 Author: Guillem Jover Date: Thu Oct 11 22:00:36 2018 +0200 s-s-d: Print complete verbose lines Do not split the lines in multiple stages, as that messes up the output in case we want to print something in-between, and makes the standard line buffered output for stdout not flush the output which gets duplicated on the child. debian/changelog | 2 ++ utils/start-stop-daemon.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit bc9736f6feae7625cc5ec063ea1b27d51a5f9317 Author: Guillem Jover Date: Sat Sep 22 12:12:05 2018 +0200 s-s-d: Check whether standalone --pidfile use is secure If we are only matching on the pidfile, which is owned by a non-root user, and we are running as a root user then this is a security risk, and the contents cannot be trusted, because the daemon might have been compromised which would allow modifying the pid within. If we are then calling start-stop-daemon as a privileged user, that would allow acting on any PID in the system. Prompted-by: Michael Orlitzky Ref: https://redmine.kannel.org/issues/771 debian/changelog | 2 ++ utils/start-stop-daemon.c | 40 ++++++++++++++++++++++++++++++++++++++-- 2 files changed, 40 insertions(+), 2 deletions(-) commit b01004eb8ffbc300ca1312803e291edcf9770010 Author: Guillem Jover Date: Mon Jan 30 03:10:13 2017 +0100 s-s-d: Compare foundany against 0 instead of treating it like a boolean This variable contains a counter. debian/changelog | 2 ++ utils/start-stop-daemon.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 4affcfaa170b3a36348b977ef6f3277b7fb12c99 Author: Guillem Jover Date: Mon Jan 7 22:34:43 2019 +0100 dpkg-scanpackages: Emit a warning with the list of repeat packages When not using --multiversion, track any repeated instance that would possibly benefit from running with --multiversion, and output it at the end with a suggestion to use that option. Prompted-by: Johannes Schauer debian/changelog | 2 ++ scripts/dpkg-scanpackages.pl | 8 ++++++++ 2 files changed, 10 insertions(+) commit 55cdf5fac707895e42a356b3d32d9d648e28fc40 Author: Guillem Jover Date: Mon Jan 7 22:32:22 2019 +0100 dpkg-scanpackages: Unroll a single iteration loop When not in multi-version mode, we can only ever have one package in the %packages hash, remove the confusing loop and replace with an explicit assignment using the first array reference element. debian/changelog | 1 + scripts/dpkg-scanpackages.pl | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 14 deletions(-) commit 5d4ab4ae7d11c736bdabb51af4bc7e66c69cdd23 Author: Guillem Jover Date: Sat Dec 29 12:32:26 2018 +0100 dpkg-scanpackages: Do not compute unnecessary checksums When we specify a --hash argument we should not compute all checksums to then discard them. Closes: #916456 Based-on-patch-by: Chris Lamb debian/changelog | 3 +++ scripts/dpkg-scanpackages.pl | 11 +++++------ 2 files changed, 8 insertions(+), 6 deletions(-) commit 7c77f73438afbcb3163c5aaf08c2ef58274ed345 Author: Guillem Jover Date: Sun Nov 25 22:26:17 2018 +0100 dpkg-shlibdeps: Remove duplicate word across newline boundary scripts/dpkg-shlibdeps.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b4384aa5fe06d4de79323139a7b30299ad821f59 Author: Guillem Jover Date: Tue Oct 23 03:06:49 2018 +0200 dpkg-shlibdeps: Remove unused variable debian/changelog | 1 + scripts/dpkg-shlibdeps.pl | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) commit 4a4619831de8b8972f86b489660dc98f187cfa34 Author: Guillem Jover Date: Sat Nov 10 03:23:19 2018 +0100 dpkg-genchanges: Only reference binary packages being uploaded The .changes file describes an upload, and its Binary and Description fields should contain (as documented) only references to the packages being uploaded. In case of a source-only upload, the Binary and Description fields should be empty. Closes: #818618 debian/changelog | 3 +++ man/deb-changes.man | 4 +++- scripts/dpkg-genchanges.pl | 20 ++++++++++---------- .../t/dpkg_buildpackage/test-source_0_all.changes | 3 +-- .../t/dpkg_buildpackage/test-source_0_any.changes | 3 +-- .../t/dpkg_buildpackage/test-source_0_source.changes | 4 ---- 6 files changed, 18 insertions(+), 19 deletions(-) commit 289dc861960b88f67e45a4a3ba4b9ee51cf3da39 Author: Guillem Jover Date: Fri Nov 9 01:30:22 2018 +0100 dpkg-source: Stop filtering @builddeps@ from Testsuite-Triggers field Filtering this meta-variable means that code parsing the field is unable to know whether the source specified the build dependencies as relevant for retriggering. We should also not expand the meta-variable as that would lose information, so we let it through now. Closes: #910734 debian/changelog | 2 ++ man/dsc.man | 2 +- scripts/dpkg-source.pl | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) commit 103fb161b360a00e4ca97b891b199c8aeacc63c5 Author: Guillem Jover Date: Sat Oct 13 10:03:26 2018 +0200 dpkg-source: Use new format argument for Dpkg::Source::Package->new() This makes the creation of the object more compact and easier to read. debian/changelog | 1 + scripts/dpkg-source.pl | 12 ++++-------- 2 files changed, 5 insertions(+), 8 deletions(-) commit e989be905db9b9c4761124ce6ee75d4b8903c246 Author: Guillem Jover Date: Sat Oct 13 10:03:26 2018 +0200 dpkg-source: Move source format selection earlier in the build This move it at the beginning were it belongs, as the later code can change behavior based on the format selected. This also will make it possible to delegate the source format object selection to the Dpkg::Source::Package class. debian/changelog | 1 + scripts/dpkg-source.pl | 39 ++++++++++++++++++++------------------- 2 files changed, 21 insertions(+), 19 deletions(-) commit d1d35a56e401181b6d15baf474a7db21d3372a65 Author: Guillem Jover Date: Sat Oct 20 15:04:16 2018 +0200 Dpkg::Source::Package, dpkg-source: Switch to new Dpkg::Source::Format module This move all ad-hoc code to use the new Dpkg::Source::Format module. debian/changelog | 1 + scripts/Dpkg/Source/Package.pm | 52 ++++++++++++++++++------------------------ scripts/dpkg-source.pl | 12 ++++------ 3 files changed, 27 insertions(+), 38 deletions(-) commit c8dcfa3f2c42f51cebf2673312a52e7b71bb00ec Author: Guillem Jover Date: Tue Oct 23 02:18:04 2018 +0200 Dpkg::Source::Format: New module This new public module centralizes the handling of debian/source/format so that other projects can reuse it instead of having to reimplement it. Prompted-by: Mattia Rizzolo Ref: https://salsa.debian.org/debian/devscripts/merge_requests/63 debian/changelog | 2 + debian/control | 1 + scripts/Dpkg.pm | 4 + scripts/Dpkg/Source/Format.pm | 191 +++++++++++++++++++++++++++++++++++++++++ scripts/Makefile.am | 2 + scripts/t/Dpkg_Source_Format.t | 65 ++++++++++++++ 6 files changed, 265 insertions(+) commit 23802ae9be9760a4135b8ca2911c86045fe47fc2 Author: Guillem Jover Date: Sun Oct 21 22:55:29 2018 +0200 Dpkg::Source::Package: Improve debian/source/format parsing and validation Make the regex more strict and decompose it right away instead of doing a second pass over it. Only initialize minor when we need to update the format. And fix the error for an invalid format to stop referencing the Format field, which might not be involved during the parsing. debian/changelog | 2 ++ scripts/Dpkg/Source/Package.pm | 25 +++++++++---------------- 2 files changed, 11 insertions(+), 16 deletions(-) commit e0b3b307decf60b2a4e39c511ad970d4a1abd2b6 Author: Guillem Jover Date: Sat Oct 13 10:02:03 2018 +0200 Dpkg::Source::Package: Add a new format option to the new constructor This makes it easier to construct a source package object with the desired object, and initialize it as required. Prompted-by: James McCoy Ref: https://salsa.debian.org/debian/devscripts/merge_requests/61 debian/changelog | 2 ++ scripts/Dpkg/Source/Package.pm | 21 ++++++++++++++++----- 2 files changed, 18 insertions(+), 5 deletions(-) commit 05f666b8e944e7e7cf06966e192f759fa83b4d02 Author: Guillem Jover Date: Fri Oct 12 20:46:10 2018 +0200 Dpkg::Source::Package::V3::Bzr: Fix format name in output message debian/changelog | 1 + scripts/Dpkg/Source/Package/V3/Bzr.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit a71649166e7dabbce315c8e49501ba68676831ef Author: Guillem Jover Date: Mon Nov 5 23:57:52 2018 +0100 Dpkg::Source::Patch: Do not recommend --include-removal when not supported If the option has not been set, then the source format does not support it and we should thus not recommend the --include-removal option in the warning. Closes: #913012 debian/changelog | 2 ++ scripts/Dpkg/Source/Patch.pm | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) commit a7fb57546f0a7e88a1acd7bdf1c081b43972b01d Author: Guillem Jover Date: Sun Nov 25 22:59:03 2018 +0100 Dpkg::Source::Package: Do not reinitialize fields member in constructor We initialized it already in the new constructor, no point in doing the same twice. debian/changelog | 1 + scripts/Dpkg/Source/Package.pm | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) commit 50b7e8cc41eb94a184087cc93cab86e401643c90 Author: Guillem Jover Date: Wed Oct 10 09:41:11 2018 +0200 Dpkg::Shlibs::Objdump: Only select objdump program when going to use it Running code in the module scope means that anything importing the module will execute that code, which is undesirable. Move the initialization into a _select_objdump() sub, which gets assigned into a state variable on demand. debian/changelog | 1 + scripts/Dpkg/Shlibs/Objdump.pm | 23 +++++++++++++---------- 2 files changed, 14 insertions(+), 10 deletions(-) commit 6b8897bad85394b2737e609419ad3ebd7ee5b008 Author: Guillem Jover Date: Wed Oct 10 09:40:00 2018 +0200 Dpkg::Shlibs::Objdump: Remove unused Dpkg::IPC import The spawn() call was removed but not the matching import. Fixes: commit 8ae966ae7d3635b8359829085db4262923ceae96 debian/changelog | 1 + scripts/Dpkg/Shlibs/Objdump.pm | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) commit 75afd33e320ebb31f0e974b227d714b049a67808 Author: Guillem Jover Date: Sat Dec 8 00:28:57 2018 +0100 Dpkg::Vendor::Ubuntu: Fix buildflags override after default setting move The default buildflags got moved from the Dpkg::BuildFlags module to the Dpkg::Vendor::Debian, but this module was not adapted to match. Instead of running the Debian hooks after the Ubuntu buildflags are set up, run them first, and then modify/prepend the bits we need to change. This fixes compiler optimization on ppc64el, and makes setting it more future proof. Fixes: commit d5374bc618310917557daa9c9ac2f4930515a0b2 Closes: #915881 Co-Author: Iain Lane Co-Author: Adam Conrad debian/changelog | 3 ++ scripts/Dpkg/Vendor/Ubuntu.pm | 12 ++++---- scripts/Makefile.am | 1 + scripts/t/Dpkg_BuildFlags_Ubuntu.t | 57 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 68 insertions(+), 5 deletions(-) commit 39eb793a685273f520b25179bf118f8845ece0f6 Author: Guillem Jover Date: Mon Dec 24 03:05:05 2018 +0100 Dpkg::File: Make file_slurp() also accept pathnames in addition to filehandles This makes several call sites more clear, as we move the logic inside the function. debian/changelog | 2 ++ scripts/Dpkg/File.pm | 16 +++++++++++++++- scripts/Dpkg/Source/Package/V2.pm | 7 ++----- scripts/dpkg-genchanges.pl | 5 +---- scripts/t/Dpkg_Changelog.t | 4 +--- utils/t/update_alternatives.t | 7 ++----- 6 files changed, 23 insertions(+), 18 deletions(-) commit e326eda15c84d0456aa2e1c22c996e89ef6c40f2 Author: Guillem Jover Date: Sun Dec 9 23:06:29 2018 +0100 Dpkg::Changelog::Debian: Preserve modelines at EOF We should keep these and consider them as pseudo-EOF markers, and stop processing once seen. [lamby@debian.org: - Initial test cases for dpkg-mergechangelogs functional tests. ] Closes: #916056 debian/changelog | 3 +++ man/deb-changelog.man | 10 +++++----- man/dpkg-mergechangelogs.man | 4 ++-- scripts/Dpkg/Changelog/Debian.pm | 8 ++++++-- scripts/Makefile.am | 1 + scripts/t/Dpkg_Changelog.t | 8 ++++++-- scripts/t/Dpkg_Changelog/stop-modeline | 13 +++++++++++++ scripts/t/merge_changelogs/ch-a | 2 ++ scripts/t/merge_changelogs/ch-b | 2 ++ scripts/t/merge_changelogs/ch-merged | 2 ++ scripts/t/merge_changelogs/ch-merged-basic | 2 ++ scripts/t/merge_changelogs/ch-merged-pr | 2 ++ scripts/t/merge_changelogs/ch-merged-pr-basic | 2 ++ scripts/t/merge_changelogs/ch-old | 2 ++ 14 files changed, 50 insertions(+), 11 deletions(-) commit 1fa3e4360b4ebadef4f0f486fb4a029e6bbdc705 Author: Guillem Jover Date: Sat Oct 13 10:00:39 2018 +0200 Dpkg::Deps::Simple: Fix POD signature for new constructor debian/changelog | 1 + scripts/Dpkg/Deps/Simple.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 853f59ec0468f72fa29811a8fe48fad91fab6083 Author: Guillem Jover Date: Tue Oct 23 02:58:56 2018 +0200 perl: Fix POD for Dpkg::Interface::Storable derived method implementations Document inherited methods. Document the return values. Note which arguments are optional. Reorder methods by their position in the stack. debian/changelog | 1 + scripts/Dpkg/Changelog.pm | 18 +++++++----------- scripts/Dpkg/Conf.pm | 10 +++++----- scripts/Dpkg/Control/HashCore.pm | 19 +++++++++---------- scripts/Dpkg/Control/Info.pm | 15 ++++++++------- scripts/Dpkg/Deps/Simple.pm | 38 ++++++++++++++++++++++++-------------- scripts/Dpkg/Index.pm | 25 ++++++++++++------------- scripts/Dpkg/Interface/Storable.pm | 4 ++-- scripts/Dpkg/Substvars.pm | 24 ++++++++++++------------ 9 files changed, 80 insertions(+), 74 deletions(-) commit dc87694fb736e004815350245a0f6503fb29081b Author: Guillem Jover Date: Wed Dec 26 20:13:56 2018 +0100 doc: Update Doxygen configuration from version 1.8.13 doc/Doxyfile.in | 89 ++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 73 insertions(+), 16 deletions(-) commit cbba1af8bdbbca7421c239aed45d920d53befd2f Author: Guillem Jover Date: Wed Jan 9 15:51:21 2019 +0100 man: Refer to the dpkg-architecture(1) TERMS section in the VARIABLES section Makes it more explicit what these variables actually mean. Prompted-by: Axel Beckert debian/changelog | 2 ++ man/dpkg-architecture.man | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) commit d6e6500f8db5200c4ac6c6f255e91c8cdaf9eb86 Author: Guillem Jover Date: Wed Nov 14 04:25:51 2018 +0100 man: Document the version introducing the -f option in dpkg-query(1) debian/changelog | 1 + man/dpkg-query.man | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit b82277833a1b8e317cf381bdd4e5dad17482af2f Author: Guillem Jover Date: Mon Jan 7 21:45:53 2019 +0100 man: Clarify character classes for various formats It is not always entirely clear how each character class described maps to the actual characters allowed. For example in some cases alphanumeric includes only lower-case letters, sometimes both lower-case and upper-case. Clarify it by appending the actual explicit range within parenthesis. Prompted-by: Ian Jackson debian/changelog | 3 +++ man/deb-src-control.man | 4 ++-- man/deb-substvars.man | 6 ++++-- man/dpkg-parsechangelog.man | 3 ++- man/dpkg-source.man | 4 ++-- man/dsc.man | 7 ++++--- 6 files changed, 17 insertions(+), 10 deletions(-) commit e124e6fa15154b468fcd75d911a5bf234f8cffd4 Author: Guillem Jover Date: Sun Dec 30 22:23:52 2018 +0100 man: Clarify databases used by --yet-to-unpack and --predep-package in dpkg(1) These commands use both the available database and the package selections. Prompted-by: Johannes Schauer debian/changelog | 2 ++ man/dpkg.man | 6 ++++++ 2 files changed, 8 insertions(+) commit dbc8af0a529cb28cd977f137faee9768b6d997e4 Author: Guillem Jover Date: Thu Dec 20 05:23:06 2018 +0100 man: Clarify deb-control(5) Add a reference to deb-src-control(5). Remove invalid comment in example, as this format does not allow it. Prompted-by: Helmut Grohne debian/changelog | 3 +++ man/deb-control.man | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 1e2bd2441bd6980cda9d4d14f7ca720c04280284 Author: Guillem Jover Date: Sat Dec 29 12:19:46 2018 +0100 man: Clarify dpkg-query(1) --list option behavior Make it clear what will be printed when no arguments are specified. Closes: #917098 debian/changelog | 2 ++ man/dpkg-query.man | 18 ++++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) commit 48c15b3b17bbc2903899a979c5694b99b1bf1803 Author: Guillem Jover Date: Sun Dec 2 03:33:59 2018 +0100 man: Clarify dpkg(1) --remove action Describe when --remove is equivalent to --purge, and what data it will cleanup and when. Closes: #914478 debian/changelog | 2 ++ man/dpkg.man | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit 7315e238d223cc43c7af1811bfe871e89b04c415 Author: Guillem Jover Date: Thu Jan 10 22:27:23 2019 +0100 debian: Fix changelog Merge subsections and fix a typo. debian/changelog | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 96f3826bcea53ad3fea31b11aa6a69acc6e8aed9 Author: Helge Kreutzmann Date: Thu Oct 11 21:30:35 2018 +0200 Update German translation of manual pages Update to 2952t1f. debian/changelog | 3 + man/po/de.add | 2 +- man/po/de.po | 261 ++++++++++++++++++++++--------------------------------- 3 files changed, 106 insertions(+), 160 deletions(-) commit 2c19f7c630d965be1ca82c5995200df70a8ff289 Author: Guillem Jover Date: Wed Oct 10 00:09:29 2018 +0200 debian: Create the log file in postinst only if it does not exist There's no point in creating and messing with the owner and permissions for this file on each upgrade. This also makes it possible to workaround a problem when installing dpkg with --force-not-root, as pre-creating the log file will diasrm the failing chown and chmod calls. Prompted-by: Johannes Schauer debian/changelog | 3 +++ debian/dpkg.postinst | 9 ++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) commit 22ddf9c9f6c27c9639a5e4daa43551b4f37a16eb Author: Guillem Jover Date: Wed Oct 10 00:08:19 2018 +0200 test: Add new shellcheck author test .gitlab-ci.yml | 2 +- Makefile.am | 1 + README | 1 + debian/changelog | 2 ++ t/shellcheck.t | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 75 insertions(+), 1 deletion(-) commit 13afe924a603c2645eb7b886b1e110220248efa4 Author: Guillem Jover Date: Wed Oct 10 00:06:41 2018 +0200 build: Set locale for CPAN tests to C The test suite expects to run under the C locale. Fixes: https://rt.cpan.org/Ticket/Display.html?id=127314 debian/changelog | 1 + scripts/Build.PL.in | 2 ++ 2 files changed, 3 insertions(+) commit 4c6d0e7159a192e82c43cb8ee68cb091cbce301a Author: Guillem Jover Date: Wed Oct 10 00:05:31 2018 +0200 build: Set environment variables only for CPAN tests All these environment variables are only relevant while running the test suite. Do not pollute the rest of the environment. debian/changelog | 1 + scripts/Build.PL.in | 14 ++++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) commit 0d95bee7b934e7e9ea8ad991113e116c2b16c8be Author: Guillem Jover Date: Wed Oct 10 00:00:43 2018 +0200 build: Add «set -e» to run-script The cd commands might fail, so we should either check their return values or globally make errors fatal. Let's do the latter. Warned-by: shellcheck debian/changelog | 1 + run-script | 2 ++ 2 files changed, 3 insertions(+) commit 8f14ffd71be934539e57e743aba533702ef59b53 Author: Guillem Jover Date: Tue Oct 9 23:53:14 2018 +0200 shell: Quote variables Reported-by: Johannes Schauer Warned-by: shellcheck debian/changelog | 1 + debian/dpkg.cron.daily | 8 ++++---- debian/dpkg.postinst | 6 +++--- debian/dpkg.postrm | 4 ++-- run-script | 2 +- scripts/dpkg-maintscript-helper.sh | 4 ++-- 6 files changed, 13 insertions(+), 12 deletions(-) commit c2ad8678a6d8299b2d51b8a56c6f2e441ee847d3 Author: Guillem Jover Date: Tue Oct 9 23:50:24 2018 +0200 build: Remove unused PERL_PROFILE variable from run-script This variable requires to be left unquoted, which makes it unsafe to use. But at the same time is unnecessary as we can just use PERL5OPT instead, so let's just remove it. Warned-by: shellcheck debian/changelog | 2 ++ run-script | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 13fd759cdc781218a61655446ca592603b3dbb27 Author: Guillem Jover Date: Tue Oct 9 23:59:41 2018 +0200 build: Use $() instead of deprecated `` in run-script Warned-by: shellcheck debian/changelog | 1 + run-script | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit eadd3925c6ed8c2b80da980291c06e917530eded Author: Guillem Jover Date: Tue Oct 9 23:59:00 2018 +0200 build: Use a format string with printf in get-version Warned-by: shellcheck debian/changelog | 2 ++ get-version | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 25a8a2f05282bd5d0cc8568dfd0c7573e90b170a Author: Guillem Jover Date: Wed Oct 10 00:04:17 2018 +0200 dpkg-maintscript-helper: Use explicit escape instead of literal backslash Warned-by: shellcheck debian/changelog | 4 ++++ scripts/dpkg-maintscript-helper.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 60ae796b0d716456a2da6416a9c7997f8b42bef2 Author: Helge Kreutzmann Date: Tue Oct 9 08:16:37 2018 +0200 Update German scripts translation Update to 603t. debian/changelog | 3 +++ scripts/po/de.po | 9 ++++----- 2 files changed, 7 insertions(+), 5 deletions(-) commit 4646b9bfd02a2ab9cb26b42d2cc70bae745bc522 Author: Sven Joachim Date: Mon Oct 8 18:15:33 2018 +0200 German dpkg translation update Update to 1116t. debian/changelog | 3 +++ po/de.po | 51 ++++++++++++++++----------------------------------- 2 files changed, 19 insertions(+), 35 deletions(-) commit 6d9fe11593655908c74098ed9a2f99cebf57740c Author: Guillem Jover Date: Mon Oct 8 13:06:04 2018 +0200 debian: Switch to debhelper compatibility level 11 debian/changelog | 1 + debian/compat | 2 +- debian/control | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit 043105c60e4a00e206090ec027ba75e52d07582f Author: Guillem Jover Date: Mon Oct 8 13:00:21 2018 +0200 debian: Bump Standards-Version to 4.2.1 (no changes needed) debian/changelog | 3 ++- debian/control | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) commit 03682fd5c820121909fc5ce4a11207f9e569a4b7 Author: Guillem Jover Date: Mon Oct 8 12:59:38 2018 +0200 doc: Fix typo Warned-by: codespell ChangeLog.old | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6af59469ce82a54b89a39af53eef4f06f5f38d5b Author: Guillem Jover Date: Mon Oct 8 12:45:24 2018 +0200 Bump version to 1.19.3 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 6f07b5ebc6a833f4b2d4752e8579acb000cbe62b Author: Guillem Jover Date: Mon Oct 8 11:44:42 2018 +0200 Release 1.19.2 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 903836642b50ae81775fc5f26c809d712a16784a Author: Guillem Jover Date: Mon Oct 8 11:40:26 2018 +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/de.po | 402 ++++++++++++++++++++++++++++++++++++++++------- man/po/dpkg-man.pot | 270 ++++++++++++++++++++++++++------ man/po/es.po | 312 ++++++++++++++++++++++++++++++------- man/po/fr.po | 337 +++++++++++++++++++++++++++++++++------- man/po/hu.po | 268 ++++++++++++++++++++++++++------ man/po/it.po | 335 ++++++++++++++++++++++++++++++++------- man/po/ja.po | 312 ++++++++++++++++++++++++++++++------- man/po/nl.po | 406 +++++++++++++++++++++++++++++++++++++++++------- man/po/pl.po | 314 ++++++++++++++++++++++++++++++------- man/po/pt_BR.po | 288 +++++++++++++++++++++++++++------- man/po/ru.po | 292 +++++++++++++++++++++++++++------- man/po/sv.po | 333 ++++++++++++++++++++++++++++++++------- man/po/zh_CN.po | 277 +++++++++++++++++++++++++++------ po/ast.po | 23 ++- po/bs.po | 22 ++- po/ca.po | 35 ++++- po/cs.po | 35 ++++- po/da.po | 35 ++++- po/de.po | 53 ++++++- po/dpkg.pot | 24 ++- po/dz.po | 23 ++- po/el.po | 23 ++- po/eo.po | 35 ++++- po/es.po | 35 ++++- po/et.po | 23 ++- po/eu.po | 35 ++++- po/fr.po | 35 ++++- po/gl.po | 23 ++- po/hu.po | 23 ++- po/id.po | 24 ++- po/it.po | 35 ++++- po/ja.po | 35 ++++- po/km.po | 23 ++- po/ko.po | 24 ++- po/ku.po | 22 ++- po/lt.po | 23 ++- po/mr.po | 23 ++- po/nb.po | 24 ++- po/ne.po | 23 ++- po/nl.po | 35 ++++- po/nn.po | 22 ++- po/pa.po | 23 ++- po/pl.po | 56 ++++++- po/pt.po | 35 ++++- po/pt_BR.po | 22 ++- po/ro.po | 24 ++- po/ru.po | 35 ++++- po/sk.po | 24 ++- po/sv.po | 35 ++++- po/th.po | 35 ++++- po/tl.po | 22 ++- po/tr.po | 35 ++++- po/vi.po | 35 ++++- po/zh_CN.po | 35 ++++- po/zh_TW.po | 35 ++++- scripts/po/ca.po | 69 ++++---- scripts/po/de.po | 72 +++++---- scripts/po/dpkg-dev.pot | 62 ++++---- scripts/po/es.po | 69 ++++---- scripts/po/fr.po | 71 +++++---- scripts/po/pl.po | 75 +++++---- scripts/po/ru.po | 75 +++++---- scripts/po/sv.po | 69 ++++---- 94 files changed, 4980 insertions(+), 1038 deletions(-) commit a07a608516f2eb7abcf2fdb3922503ea20b3a508 Author: Guillem Jover Date: Mon Oct 1 02:58:30 2018 +0200 dpkg, dpkg-query: Add new --no-pager option This makes it possible to disable any pager usage from these programs. For dpkg this also becomes a configuration option. Closes: #909754 debian/changelog | 2 ++ man/dpkg-query.man | 3 +++ man/dpkg.man | 3 +++ src/main.c | 11 +++++++++++ src/querycmd.c | 7 +++++++ 5 files changed, 26 insertions(+) commit 68b0f4dd8ac3f541926796a303015df782ef76ed Author: Guillem Jover Date: Mon Oct 1 02:49:20 2018 +0200 libdpkg: Add a pager kill switch This way we will be able to forcefully disable it. debian/changelog | 1 + lib/dpkg/pager.c | 11 +++++++++++ lib/dpkg/pager.h | 5 +++++ 3 files changed, 17 insertions(+) commit 473cbd6a163eb685ec1fbd5301224c2964d7efb4 Author: Guillem Jover Date: Wed Oct 3 04:37:35 2018 +0200 libdpkg: Set stdout to be fully buffered when using a pager Force the output to fully buffered, because originally stdout was a tty, so it was set as line buffered. This way we send as much as possible to the pager, which will handle the output by itself. debian/changelog | 1 + lib/dpkg/pager.c | 5 +++++ 2 files changed, 6 insertions(+) commit 5d194d5d55d5a7ac62422b7c98aa23548c5d7349 Author: Guillem Jover Date: Tue Oct 2 04:57:47 2018 +0200 libdpkg: Ignore SIGPIPE when setting up a pager If the pager quits early, the parent will receive a SIGPIPE as the write end of the pipe will not be available anymore. Instead we ignore SIGPIPE and also EPIPE errors when writing to stdout. Otherwise if we quit the pager early, the program will exit with an error code. Reported-by: Holger Levsen Ref: #909754 debian/changelog | 3 +++ lib/dpkg/mlib.c | 3 ++- lib/dpkg/pager.c | 12 ++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) commit f59933deb70c1b67de20df4f00a9a4f0da42c05d Author: Guillem Jover Date: Tue Oct 2 04:32:43 2018 +0200 libdpkg: When spawning a pager set LESS to “-FRSXMQ” if not already set debian/changelog | 1 + lib/dpkg/pager.c | 3 +++ man/dpkg-query.man | 10 ++++++++++ man/dpkg.man | 8 ++++++++ 4 files changed, 22 insertions(+) commit 799a9fbeda50739c2eb9b872cdad0ff78710587c Author: Guillem Jover Date: Mon Oct 1 02:47:52 2018 +0200 libdpkg: Honor DPKG_PAGER This makes it possible to use a dpkg specific pager. Suggested-by: Craig Sanders Ref: #909754 debian/changelog | 2 ++ lib/dpkg/pager.c | 4 +++- man/dpkg-query.man | 4 ++++ man/dpkg.man | 4 ++++ t/codespell/stopwords | 1 + 5 files changed, 14 insertions(+), 1 deletion(-) commit de7dea3b573245f942f659fc10905e31b78de8d8 Author: Guillem Jover Date: Mon Oct 8 11:59:56 2018 +0200 build: Mark DPKG_HAS_WORKING_ROOTDIR_DIVERSIONS as working in 1.19.x This got fixed in 1.19.2. Feature.mk | 2 +- Test.mk | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) commit 9f7a5e6d0a6a9b300e4556db4be29aeb77546a2f Author: Guillem Jover Date: Mon Oct 1 02:48:27 2018 +0200 libdpkg: Do not spawn a pager if we are going to call «cat» There's no point in executing «cat», we are already dumping the contents to stdout. debian/changelog | 1 + lib/dpkg/pager.c | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) commit ac4d95c3a18545787589433dbfefa377e45b7f8d Author: Guillem Jover Date: Tue Oct 2 03:52:22 2018 +0200 libdpkg: Call the pager with «$SHELL -c» to respect POSIX The PAGER environment variable is specified in POSIX as taking a pager command and any number of arguments to be passed to «sh -c», so we have to preserve that behavior or this breaks badly on systems where PAGER is set that way. This actually gets in the way of improving the pager command presence detection, but we'll fix that later on, by making the scanning of the environment variable smarter or by trying to execute the fallbacks. Closes: #910009 debian/changelog | 1 + lib/dpkg/pager.c | 5 +---- man/dpkg-query.man | 8 +++++++- man/dpkg.man | 11 +++++++---- 4 files changed, 16 insertions(+), 9 deletions(-) commit ce9b2e88602dcdff93963b9cb8aef302179b81c9 Author: Guillem Jover Date: Fri Oct 5 02:01:28 2018 +0200 libdpkg: Pass the file contents to the pager instead of the filename Let's just handle opening the file and passing its data to the pager ourselves, as that gives us more control, and then can decide not to run a pager at all, and do not need to mess with arguments which might need to be passed to «sh -c». debian/changelog | 1 + lib/dpkg/file.c | 17 ++++++++++++++++- lib/dpkg/pager.c | 5 ++--- lib/dpkg/pager.h | 2 +- src/configure.c | 2 +- src/querycmd.c | 2 +- 6 files changed, 22 insertions(+), 7 deletions(-) commit 91c8d3ff2bdfaf7b55566bd99dea08703c47a682 Author: Guillem Jover Date: Fri Aug 31 01:49:20 2018 +0200 dpkg-divert, dpkg-statoverride: Add new --instdir and --root options This makes it possible to use alternative installation directories. And will make these commands honor those directories when specified for dpkg, and passed down to the maintainer script via the DPKG_ROOT environment variable. debian/changelog | 2 ++ man/dpkg-divert.man | 22 ++++++++++++++++++---- man/dpkg-statoverride.man | 24 ++++++++++++++++++++---- man/dpkg.man | 16 +++++++++------- src/divertcmd.c | 27 ++++++++++++++++++++++++++- src/main.c | 12 +++--------- src/statcmd.c | 32 +++++++++++++++++++++++++++++--- 7 files changed, 107 insertions(+), 28 deletions(-) commit 3d494a7ab27debd8842157c50c46d5bb49952671 Author: Guillem Jover Date: Fri Aug 31 01:49:20 2018 +0200 libdpkg: Add new fsys-dir module This module handles setting and getting the filesystem root directory. debian/changelog | 1 + lib/dpkg/Makefile.am | 1 + lib/dpkg/fsys-dir.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++++ lib/dpkg/fsys.h | 4 +++ lib/dpkg/libdpkg.map | 4 +++ lib/dpkg/t/.gitignore | 1 + lib/dpkg/t/Makefile.am | 1 + lib/dpkg/t/t-fsys-dir.c | 65 ++++++++++++++++++++++++++++++++++ po/POTFILES.in | 1 + 9 files changed, 171 insertions(+) commit eebc650619521acffdd7acfd00f833d6face21d3 Author: Guillem Jover Date: Mon Oct 8 11:35:00 2018 +0200 dpkg: Fix --force-not-root Ignore EPERM for chown and chmod based syscalls. And give a more meaningful error message on chroot(). Closes: #614126 debian/changelog | 2 ++ src/archives.c | 23 +++++++++++++++++------ src/errors.c | 8 ++++++++ src/main.h | 1 + src/script.c | 9 ++++++++- t/cppcheck/cppcheck.supp | 2 +- 6 files changed, 37 insertions(+), 8 deletions(-) commit a0f59e04b299e67e700f6cc491aab45472814a2c Author: Guillem Jover Date: Mon Oct 8 02:46:26 2018 +0200 dpkg-split: Use nfstrnsave() instead of nfmalloc() + memcpy() debian/changelog | 2 ++ dpkg-split/queue.c | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) commit 76b05dce1342834fec1b3d9b6ff3fc33a33c1fb2 Author: Guillem Jover Date: Mon Sep 17 00:12:56 2018 +0200 Dpkg::Source::Package::V2: Move binary file detection to BinaryFiles module This makes it possible to reuse the code by other modules. debian/changelog | 2 ++ scripts/Dpkg/Source/BinaryFiles.pm | 53 ++++++++++++++++++++++++++++++++++++++ scripts/Dpkg/Source/Package/V2.pm | 50 +++++------------------------------ 3 files changed, 61 insertions(+), 44 deletions(-) commit 837ecfdac680369ce71d96748a8a4762a414f654 Author: Guillem Jover Date: Sun Sep 16 23:47:10 2018 +0200 Dpkg::Source::Package::V2: Split BinaryFiles module into its own file debian/changelog | 2 + scripts/Dpkg/Source/BinaryFiles.pm | 108 +++++++++++++++++++++++++++++++++++++ scripts/Dpkg/Source/Package/V2.pm | 87 ++---------------------------- scripts/Makefile.am | 1 + scripts/po/POTFILES.in | 1 + 5 files changed, 115 insertions(+), 84 deletions(-) commit ffe3d7aeed7e7eb9a1c22d45fd0e5c2af2c8bcad Author: Guillem Jover Date: Sun Sep 16 23:42:08 2018 +0200 Dpkg::Source::Functions: Reimplement is_binary() w/o using diff(1) The check is very simple, and can be done w/o requiring calling diff(1) for each input file. This makes the code shorter, more portable, and should be faster in the non-binary cases. debian/changelog | 1 + scripts/Dpkg/Source/Functions.pm | 31 ++++++++----------------------- 2 files changed, 9 insertions(+), 23 deletions(-) commit b89c8fd35c09df0df61f3424a630241bf4d79111 Author: Guillem Jover Date: Thu Sep 27 04:56:37 2018 +0200 Dpkg: Add documentation about the module hierarchy and API debian/changelog | 1 + scripts/Dpkg.pm | 165 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 166 insertions(+) commit f6c46ce78c7e3f5504ce5d18a16c5482597716e3 Author: Guillem Jover Date: Sat Sep 29 23:34:32 2018 +0200 Dpkg::OpenPGP: Do not read the gpg user configuration file debian/changelog | 1 + scripts/Dpkg/OpenPGP.pm | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 2d3a3fd28050ca76be4322e2d44b13627c0c5f72 Author: Guillem Jover Date: Sat Sep 29 23:32:34 2018 +0200 Dpkg::OpenPGP: Ignore Version field in enarmored output This will contain different data depending on the program used. We do not really care about that, later versions of GnuPG have stopped emitting it, and it makes the test suite fail when using GnuPG 1.x. Fixes: https://rt.cpan.org/Public/Bug/Display.html?id=127217 debian/changelog | 3 +++ scripts/Dpkg/OpenPGP.pm | 1 + 2 files changed, 4 insertions(+) commit 232728accd5a3d12e93ef1296f407ee02184fdce Author: Guillem Jover Date: Tue Oct 2 03:55:19 2018 +0200 debian: Break libapt-pkg5.0 instead of apt The behavior we are breaking is implemented in the shared library, not the standalone binary, which affects other frontends, such as aptitude. The affected behavior was introduced in apt 1.4~beta1, and the last ABI change of libapt-pkg was in apt 1.1~exp9, so earlier libapt-pkg* versions are not affected. Analysis-by: Sven Joachim Closes: #909959 debian/changelog | 3 +++ debian/control | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 60ff714ca5001bdc56f9dfb1e6f5f6b0d3fef3ad Author: Guillem Jover Date: Sun Oct 7 04:41:27 2018 +0200 test: Skip version checks involving «dpkg --compare-versions» if not available For the CPAN distribution or a non-dpkg-based distribution we cannot assume that dpkg will be installed, or even available at build time. Skip these tests if the tools is missing. debian/changelog | 3 +++ scripts/t/Dpkg_Version.t | 17 +++++++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) commit 0c730ce6028932e695e4d183ca31a09451a3dfca Author: Guillem Jover Date: Fri Sep 28 01:50:57 2018 +0200 build: Improve test and author CPAN dependencies Split the test recommends from the requires and add develop recommends into a prereqs metadata hierarchy. debian/changelog | 1 + scripts/Build.PL.in | 22 ++++++++++++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) commit ca81310a8ab4ae8ab2f6b054f6b6bed5fd1002ba Author: Guillem Jover Date: Fri Sep 28 01:50:33 2018 +0200 build: Fix typo in CPAN recommends key debian/changelog | 1 + scripts/Build.PL.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 7155d3f97d49149b739d0e8e6358122fa5b5e84b Author: Guillem Jover Date: Fri Sep 28 01:50:00 2018 +0200 build: Add a release_status key to the CPAN metadata This will enable the -TRIAL versioning that CPAN uses to avoid indexing such releases. cpan.am | 5 ++++- debian/changelog | 1 + scripts/Build.PL.in | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) commit 1e618ad140e24441a7ebdbfe0c4822aa0e06118c Author: Guillem Jover Date: Fri Sep 28 01:48:32 2018 +0200 build: Generalize PACKAGE_CPAN_SIGN by setting PACKAGE_DIST_IS_RELEASE instead Set the more generic name from within DPKG_DIST_IS_RELEASE, and use that directly in the Build.PL.in file. configure.ac | 1 - debian/changelog | 1 + m4/dpkg-build.m4 | 6 +++++- scripts/Build.PL.in | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) commit 13c1c95323beebfba21ad8e4e56e7c110089929d Author: Guillem Jover Date: Fri Sep 28 01:41:01 2018 +0200 build: Do not make the Build.PL script executable CPAN does not like that on the grounds that the script itself does not know which perl to use. cpan.am | 3 +-- debian/changelog | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) commit 45528ea406807ccfb421acf4b17317c2aa1204ef Author: Guillem Jover Date: Fri Sep 28 01:40:13 2018 +0200 build: Distribute a LICENSE file on CPAN We listed the licence name in the metadata, but were not shipping the actual licence text. cpan.am | 1 + debian/changelog | 2 ++ 2 files changed, 3 insertions(+) commit 10eeb6efe8823c936e479b0ffefa1d3ae26a771b Author: Łukasz Dulny Date: Sat Oct 6 16:35:13 2018 +0200 po: Update Polish programs translation Signed-off-by: Guillem Jover debian/changelog | 3 + po/pl.po | 178 +++++++++++++++++++------------------------------------ 2 files changed, 65 insertions(+), 116 deletions(-) commit 3f12bd45d6f416277012de2a8cd27a68c48eab68 Author: Guillem Jover Date: Mon Oct 8 10:51:31 2018 +0200 man: Document the PAGER environment variable usage in dpkg-query(1) When we started making «dpkg-query --list» use a pager, we missed documenting this environment variable. Fixes: commit 05458bb8d50cb3b0f29e53d2a079f2ef874b8f23 debian/changelog | 1 + man/dpkg-query.man | 3 +++ 2 files changed, 4 insertions(+) commit ef3fb80f0ba464a3531bdca6b9bd9b5483cb2977 Author: Guillem Jover Date: Fri Oct 5 02:47:02 2018 +0200 man: Clarify which fields are affected by dependency options This includes the --force-breaks, --force-conflicts, --force-depends, --force-depends-versio and --ignore-depends. Prompted-by: James Clarke (on IRC) debian/changelog | 2 ++ man/dpkg.man | 5 +++++ 2 files changed, 7 insertions(+) commit e2b53a0ce84207b8ebd34422bae797ad435e44f1 Author: Guillem Jover Date: Sun Oct 7 19:17:44 2018 +0200 man: Document Build-Ids field in deb-control(5) Prompted-by: Stuart Prescott debian/changelog | 2 ++ man/deb-control.man | 13 +++++++++++++ 2 files changed, 15 insertions(+) commit c1636078026746d530d2cc6127f8e90abaea74be Author: Guillem Jover Date: Thu Oct 4 07:35:50 2018 +0200 man: Improve documentation on vendor-specific series files in dpkg-source(1) Turn the reference to the vendor-specific series file vendor-neutral, and specify the order and default name. Explain one of the reasons for the feature, and where it is particularly helpful. debian/changelog | 1 + man/dpkg-source.man | 25 +++++++++++++++++++------ 2 files changed, 20 insertions(+), 6 deletions(-) commit 42b567aaaa37adf092c9b4ed34ecc3d2409f63db Author: Guillem Jover Date: Thu Oct 4 07:24:19 2018 +0200 man: Reference where the source formats are described in dsc(5) Prompted-by: Manuel A. Fernandez Montecelo debian/changelog | 2 ++ man/dsc.man | 1 + 2 files changed, 3 insertions(+) commit 622fd19a9c4100a7745e93d965fe674e69ea600a Author: Guillem Jover Date: Thu Oct 4 07:18:45 2018 +0200 man: Clarify what “flattened” means in dsc(5)'s Testsuite-Triggers Prompted-by: Mattia Rizzolo (on IRC) debian/changelog | 2 ++ man/dsc.man | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit b10d78a0f7878ac42246f91cad37cdb311691ec7 Author: Guillem Jover Date: Sun Oct 7 19:06:14 2018 +0200 man: Clarify --build=source explanation in dpkg-buildpackage(1) debian/changelog | 4 ++++ man/dpkg-buildpackage.man | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) commit 9b20171a37a8cc67b748f916ca4b23d769cb1d2b Author: Guillem Jover Date: Sun Oct 7 14:08:22 2018 +0200 doc: Fix typos Warned-by: codespell ChangeLog.old | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 218f3e1ba40c9347973dbf0e23c3e4373f79b713 Author: Guillem Jover Date: Fri Oct 5 05:08:54 2018 +0200 t-unpack-divert-hardlink: Fix not-root checks t-unpack-divert-hardlink/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 765caaa74b5722a0d93f1144b9e890ac8a7f4ac7 Author: Helge Kreutzmann Date: Wed Sep 26 21:28:08 2018 +0200 Update German translation of manual pages Update to 2932t1f. debian/changelog | 3 ++- man/po/de.po | 16 ++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) commit b4b1832e5aec4ed4cdf7ddab2bbd6d8a304e35e4 Author: Guillem Jover Date: Wed Sep 26 20:46:43 2018 +0200 Bump version to 1.19.2 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 45731f6c15c80e187052733ce4b25a592b842b4f Author: Guillem Jover Date: Wed Sep 26 15:13:29 2018 +0200 Release 1.19.1 debian/changelog | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 99ac7e5b2fa390835265473cb266de86d24f6f15 Author: Guillem Jover Date: Wed Sep 26 04:35:23 2018 +0200 po: Regenerate .pot files and merge .po files with them dselect/po/bs.po | 10 +- dselect/po/ca.po | 22 +- dselect/po/cs.po | 22 +- dselect/po/da.po | 22 +- dselect/po/de.po | 22 +- dselect/po/dselect.pot | 12 +- dselect/po/el.po | 22 +- dselect/po/es.po | 39 +-- dselect/po/et.po | 22 +- dselect/po/eu.po | 22 +- dselect/po/fr.po | 22 +- dselect/po/gl.po | 22 +- dselect/po/hu.po | 10 +- dselect/po/id.po | 22 +- dselect/po/it.po | 22 +- dselect/po/ja.po | 22 +- dselect/po/ko.po | 22 +- dselect/po/nb.po | 22 +- dselect/po/nl.po | 22 +- dselect/po/nn.po | 22 +- dselect/po/pl.po | 22 +- dselect/po/pt.po | 22 +- dselect/po/pt_BR.po | 22 +- dselect/po/ro.po | 22 +- dselect/po/ru.po | 22 +- dselect/po/sk.po | 22 +- dselect/po/sv.po | 22 +- dselect/po/tl.po | 22 +- dselect/po/vi.po | 22 +- dselect/po/zh_CN.po | 22 +- dselect/po/zh_TW.po | 22 +- man/po/de.po | 35 ++- man/po/dpkg-man.pot | 468 +++++++++++++++++++++++-------- man/po/es.po | 552 +++++++++++++++++++++++++++++-------- man/po/fr.po | 568 ++++++++++++++++++++++++++++++-------- man/po/hu.po | 426 ++++++++++++++++++++++------- man/po/it.po | 512 ++++++++++++++++++++++++++-------- man/po/ja.po | 543 ++++++++++++++++++++++++++++-------- man/po/nl.po | 102 ++++++- man/po/pl.po | 557 +++++++++++++++++++++++++++++-------- man/po/pt_BR.po | 437 ++++++++++++++++++++++------- man/po/ru.po | 454 +++++++++++++++++++++++-------- man/po/sv.po | 560 ++++++++++++++++++++++++++++++-------- man/po/zh_CN.po | 432 ++++++++++++++++++++++------- po/ast.po | 676 ++++++++++++++++++++++++--------------------- po/bs.po | 603 +++++++++++++++++++++------------------- po/ca.po | 644 +++++++++++++++++++++++++------------------ po/cs.po | 620 +++++++++++++++++++++++------------------ po/da.po | 636 +++++++++++++++++++++++++------------------ po/de.po | 2 +- po/dpkg.pot | 495 +++++++++++++++++---------------- po/dz.po | 618 ++++++++++++++++++++++------------------- po/el.po | 642 ++++++++++++++++++++++++------------------- po/eo.po | 635 ++++++++++++++++++++++++------------------ po/es.po | 687 +++++++++++++++++++++++++++------------------- po/et.po | 595 ++++++++++++++++++++++------------------ po/eu.po | 665 +++++++++++++++++++++++++------------------- po/fr.po | 688 ++++++++++++++++++++++++++-------------------- po/gl.po | 640 ++++++++++++++++++++++++------------------- po/hu.po | 610 ++++++++++++++++++++++------------------- po/id.po | 650 ++++++++++++++++++++++++------------------- po/it.po | 647 +++++++++++++++++++++++++------------------ po/ja.po | 642 +++++++++++++++++++++++++------------------ po/km.po | 618 ++++++++++++++++++++++------------------- po/ko.po | 650 ++++++++++++++++++++++++------------------- po/ku.po | 536 +++++++++++++++++++----------------- po/lt.po | 617 ++++++++++++++++++++++------------------- po/mr.po | 619 ++++++++++++++++++++++------------------- po/nb.po | 647 ++++++++++++++++++++++++------------------- po/ne.po | 616 ++++++++++++++++++++++------------------- po/nl.po | 670 +++++++++++++++++++++++++-------------------- po/nn.po | 609 ++++++++++++++++++++++------------------- po/pa.po | 554 ++++++++++++++++++++----------------- po/pl.po | 711 +++++++++++++++++++++++++++--------------------- po/pt.po | 638 +++++++++++++++++++++++++------------------ po/pt_BR.po | 637 ++++++++++++++++++++++++------------------- po/ro.po | 702 ++++++++++++++++++++++++++--------------------- po/ru.po | 649 ++++++++++++++++++++++++------------------- po/sk.po | 649 ++++++++++++++++++++++++------------------- po/sv.po | 641 +++++++++++++++++++++++++------------------ po/th.po | 635 ++++++++++++++++++++++++------------------ po/tl.po | 657 ++++++++++++++++++++++++-------------------- po/tr.po | 620 +++++++++++++++++++++++------------------ po/vi.po | 639 +++++++++++++++++++++++++------------------ po/zh_CN.po | 612 +++++++++++++++++++++++------------------ po/zh_TW.po | 644 +++++++++++++++++++++++++------------------ scripts/po/ca.po | 266 ++++++++++++++---- scripts/po/de.po | 2 +- scripts/po/dpkg-dev.pot | 110 +++++--- scripts/po/es.po | 148 ++++++---- scripts/po/fr.po | 205 ++++++++++---- scripts/po/pl.po | 143 ++++++---- scripts/po/ru.po | 143 ++++++---- scripts/po/sv.po | 143 ++++++---- 94 files changed, 20176 insertions(+), 13260 deletions(-) commit 5342507ccb5e95bf38548b6030332f1b0c33da51 Author: 林博仁(Buo-ren Lin) Date: Mon Apr 16 12:22:17 2018 +0800 po: Update Traditional Chinese programs translation Update to 1029t61f19u. Closes: #905887 Signed-off-by: 林博仁(Buo-ren Lin) Signed-off-by: Guillem Jover debian/changelog | 1 + po/zh_TW.po | 799 ++++++++++++++++++------------------------------------- 2 files changed, 256 insertions(+), 544 deletions(-) commit 7afd25e72f447a4a4b130f38bba28ff6661cbb6c Author: Guillem Jover Date: Fri Sep 14 21:35:16 2018 +0200 man: Add a warning in s-s-d(8) about using --pidfile alone with non-root files Prompted-by: Michael Orlitzky Ref: https://redmine.kannel.org/issues/771 debian/changelog | 2 ++ man/start-stop-daemon.man | 14 +++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) commit eca1fdbfe00d1b0bb8de2c96cbdba23164b46c64 Author: Guillem Jover Date: Fri Sep 14 21:34:49 2018 +0200 libdpkg: Check that the public headers can be compiled with C++ debian/changelog | 1 + lib/dpkg/t/.gitignore | 1 + lib/dpkg/t/Makefile.am | 3 ++ lib/dpkg/t/t-headers-cpp.cc | 82 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 87 insertions(+) commit a27e90bae7341901f48bada3451487c2229ab341 Author: Guillem Jover Date: Wed Sep 19 02:40:55 2018 +0200 debian: Add Breaks on apt for --status-fd duplicate removals apt was expecting duplicate entries, and was producing confusing warnings. We add a versioned Breaks to avoid confusing users. debian/changelog | 1 + debian/control | 2 ++ 2 files changed, 3 insertions(+) commit d726a1e0469320deae5dcd080750ddfd5438b17a Author: Guillem Jover Date: Wed Sep 26 15:10:51 2018 +0200 test: Change cppcheck test to cope with CPAN distribution paths The paths are different in the CPAN distribution, so we need to use a glob to catch the file in both layouts. t/cppcheck/cppcheck.supp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a71a4bceba236e4dcd511c24e7b43851180ab4a5 Author: Guillem Jover Date: Wed Sep 26 15:10:51 2018 +0200 test: Make po checks cope with missing po files in CPAN distribution We do not distribute the PO files yet for CPAN, so the checks should not fail when they are missing, even when testing with AUTHOR_TESTING=1. scripts/Test/Dpkg.pm | 2 +- t/po.t | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit 66f18c3b3695fb2b9cea847aaa419b588c676f7e Author: Guillem Jover Date: Wed Sep 26 05:56:11 2018 +0200 build: Distribute the data files from the CPAN Build.PL script When building the CPAN package, we need to also distribute the data files, otherwise the modules will not work correctly once installed. scripts/Build.PL.in | 4 ++++ 1 file changed, 4 insertions(+) commit a6c7f3cbc6d193026099f7db87da25046a2107dc Author: Guillem Jover Date: Wed Sep 26 05:54:48 2018 +0200 build: Perform Dpkg module substitution during CPAN module building We had an empty do_perl_subst variable in the dist-cpan autotools target that resulted in copying an empty file, but that was shadowed by a subsequent copy of the original. So we were ending up with a pristine non-substituted file. We actually need to substitute the install paths during the CPAN module building to preserve system and user settings at that point. Otherwise the dpkg autotools configure settings might be completely out of touch with the settings from the system where the CPAN module gets built. cpan.am | 7 ++----- scripts/Build.PL.in | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 5 deletions(-) commit 47176671eb59eee2bf75ff4931f7e9596c1af343 Author: Guillem Jover Date: Thu Sep 20 10:42:01 2018 +0200 t-verify: Add new test case Test.mk | 1 + t-verify/Makefile | 13 +++++++++++++ t-verify/pkg-verify/DEBIAN/control | 7 +++++++ t-verify/pkg-verify/test-dir/test-data | 1 + t-verify/pkg-verify/test-dir/test-digits | 20 ++++++++++++++++++++ t-verify/pkg-verify/test-file | 1 + 6 files changed, 43 insertions(+) commit 8c254a882f84d7bad2465a9222df89aae8f8c9fc Author: Guillem Jover Date: Thu Sep 20 10:40:00 2018 +0200 build: Split not-root into diversions and maintscript-helper feature checks These have different causes, let's split them, so that we can make them work when they are fixed in the relevant programs, and also when we are running as root. Feature.mk | 14 ++++++++++++-- Makefile | 13 +++++-------- Test.mk | 14 +++++++------- t-multiarch/Makefile | 9 ++++----- t-unpack-hardlink/Makefile | 2 +- 5 files changed, 29 insertions(+), 23 deletions(-) commit 7e9e24753036744d0bbee94af077a6345c9bbce6 Author: Guillem Jover Date: Thu Sep 20 10:37:17 2018 +0200 Fix not-root checks These checks were either incorrectly marked as failing, or were failing due to problems in the test cases themselves. Makefile | 9 ++------- t-multiarch/Makefile | 5 +---- t-triggers-path/pkg-interest/DEBIAN/postinst | 2 +- t-triggers/Makefile | 6 ------ t-triggers/pkg-trig-cmd/DEBIAN/postinst | 6 +++--- t-triggers/pkg-trig-cmd/DEBIAN/postrm | 6 +++--- t-triggers/pkg-trig-cmd/DEBIAN/preinst | 6 +++--- t-triggers/pkg-trig-cmd/DEBIAN/prerm | 6 +++--- t-triggers/pkg-triggers-await/DEBIAN/postinst | 4 ++-- t-triggers/pkg-triggers-noawait/DEBIAN/postinst | 4 ++-- t-triggers/pkg-triggers/DEBIAN/postinst | 4 ++-- t-unpack-hardlink/Makefile | 17 ++++++++++++++--- 12 files changed, 36 insertions(+), 39 deletions(-) commit 351b496e1a4c1baaee18f1d4c624b87471aa0311 Author: Helge Kreutzmann Date: Wed Sep 19 20:44:42 2018 +0200 Update German translation of manual pages Update to 2930t1f. man/po/de.po | 92 +++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 76 insertions(+), 16 deletions(-) commit 0955b9811116f054c9bacb8d6327036e381130b1 Author: Helge Kreutzmann Date: Wed Sep 19 20:30:50 2018 +0200 Update German scripts translation Update to 602t. scripts/po/de.po | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 2848db123e1452d2c71840b7c00ca198c3626d4e Author: Josh Triplett Date: Sat Sep 15 16:10:29 2018 -0700 perl: Replace all calls to Cwd::cwd with Cwd::getcwd The former calls /bin/pwd, while the latter uses the getcwd() syscall directly. Signed-off-by: Guillem Jover debian/changelog | 4 ++++ doc/lcov-inject.pl | 2 +- lib/dpkg/t/t-tarextract.t | 2 +- lib/dpkg/t/t-treewalk.t | 2 +- scripts/Dpkg/Vendor/Debian.pm | 2 +- scripts/dpkg-genbuildinfo.pl | 2 +- scripts/dpkg-source.pl | 2 +- scripts/t/Dpkg_Shlibs.t | 2 +- 8 files changed, 11 insertions(+), 7 deletions(-) commit a7901786002cf4bd9f1dfbf3e4d844fc27478a8b Author: Guillem Jover Date: Tue Sep 18 23:34:59 2018 +0200 dpkg-parsechangelog: Add new --reverse option This option will make the output be in reverse order. debian/changelog | 2 ++ man/dpkg-parsechangelog.man | 6 +++++- scripts/Dpkg/Changelog.pm | 9 +++++---- scripts/Dpkg/Changelog/Parse.pm | 2 +- scripts/dpkg-parsechangelog.pl | 3 +++ scripts/t/Dpkg_Changelog.t | 6 +++++- 6 files changed, 21 insertions(+), 7 deletions(-) commit 5eec3d31ff0ad5a22ced343969dda99b9e2af442 Author: Guillem Jover Date: Tue Sep 18 23:34:41 2018 +0200 scripts: Track automatic packages using the new file attribute This should make it possible to ignore the warning w/o hardcoding any distribution specific package name pattern on the code. debian/changelog | 3 +++ man/deb-src-files.man | 2 ++ scripts/dpkg-genchanges.pl | 14 +++++++++----- scripts/dpkg-gencontrol.pl | 5 ++++- 4 files changed, 18 insertions(+), 6 deletions(-) commit 37030e02cab5efe710834268f3d4ea426ec4a99a Author: Guillem Jover Date: Tue Sep 18 23:34:31 2018 +0200 Dpkg::Dist::Files: Add support for file attributes This will make it possible to track key/value attributes for each file, so that we can track interesting information and pass it to the various programs parsing the debian/files file. debian/changelog | 1 + man/deb-src-files.man | 7 +++++++ scripts/Dpkg/Dist/Files.pm | 17 ++++++++++++++--- scripts/t/Dpkg_Dist_Files.t | 31 ++++++++++++++++++++++--------- scripts/t/Dpkg_Dist_Files/files-byhand | 4 ++-- 5 files changed, 46 insertions(+), 14 deletions(-) commit a034e7d53b0c96c419d71c86921d2a509b0d79bc Author: Guillem Jover Date: Mon Jul 30 16:42:21 2018 +0200 Dpkg::Vendor::Debian: Add fixfilepath support to reproducible feature This is a superset of the fixdebugpath feature supported by gcc-8, but covering in addition mappings for macros such as __FILE__ and similar. debian/changelog | 1 + man/dpkg-buildflags.man | 11 +++++++++++ scripts/Dpkg/Vendor/Debian.pm | 21 +++++++++++++++++---- scripts/t/Dpkg_BuildFlags.t | 1 + 4 files changed, 30 insertions(+), 4 deletions(-) commit 9429372291069eab0f853f772fc76177413410ef Author: Guillem Jover Date: Sun Sep 16 03:31:25 2018 +0200 Dpkg::Deps::KnownFacts: Satisfy :native with arch:all packages too Architecture:all packages are treated as native ones as part of the current multi-arch design, the only current exception is in build dependencies with the :native arch-qualifier. It looks like this was an oversight when implementing the :native support, as there's been no rationale found for the current behavior. Closes: #854438 Analysis-by: Johannes Schauer debian/changelog | 5 +++++ scripts/Dpkg/Deps/KnownFacts.pm | 3 ++- scripts/t/Dpkg_Deps.t | 21 ++++++++++++++++++++- 3 files changed, 27 insertions(+), 2 deletions(-) commit 04f63813361b97b7da13653d547736b00e852b90 Author: Guillem Jover Date: Sat Sep 15 02:33:24 2018 +0200 libdpkg: Fix filesystem digest parsing Allocate the digest into the non-freeing memory pool, as we have stopped doing that for the entire loaded file with the switch to the file_slurp() function. Otherwise when we release the varbuf the fsys nodes will be pointing to garbage. Fixes: commit 1166bbb5f099580a0c1c26d0e29b1ae3fe11ad0f Reported-by: Sven Joachim Bisected-by: Sven Joachim lib/dpkg/db-fsys-digest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e95082d78a4b11a411bb8c98dfc140ace452aa2b Author: Guillem Jover Date: Sat Sep 1 22:42:30 2018 +0200 dpkg-maintscript-helper: Check that DPKG_MAINTSCRIPT_PACKAGE is defined When we need the environment variablem check that it is defined, and error out otherwise. Closes: #907772 debian/changelog | 2 ++ scripts/dpkg-maintscript-helper.sh | 8 ++++++++ 2 files changed, 10 insertions(+) commit 8fe2c1ebf907f325b6985f471a00843eca77992b Author: Guillem Jover Date: Mon Sep 3 19:28:01 2018 +0200 Dpkg::Shlibs: Ignore nonexistent directories present in LD_LIBRARY_PATH We were trying to use realpath() on nonexistent directories, which means we'd get undef. Instead just completely ignore nonexistent directories from any processing. Fixes: commit 174a5bd2a080847d0ed901d269a2ba74476eba8b debian/changelog | 1 + scripts/Dpkg/Shlibs.pm | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 56810aa960e9ac8a51da178bb32e487726f60530 Author: Guillem Jover Date: Sat Sep 1 22:37:43 2018 +0200 Dpkg::Substvars: Fix typo scripts/Dpkg/Substvars.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit d717ac4c30c988868e13b716fac795d59f98841d Author: Helge Kreutzmann Date: Fri Aug 31 11:25:24 2018 +0200 Update German translation of manual pages Update to 2924t1f. man/po/de.po | 205 +++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 130 insertions(+), 75 deletions(-) commit e571a402a5c5901ef64bc6caa92a2425e318956c Author: Helge Kreutzmann Date: Fri Aug 31 10:30:49 2018 +0200 Update Netherlands translation of manual pages Update to 2905t10f10u. This update only deals with strings which can be trivially unfuzzied. man/po/nl.po | 213 +++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 134 insertions(+), 79 deletions(-) commit 5641702178c0d766ddde8f897c4b36f6db77d300 Author: Sven Joachim Date: Thu Aug 30 19:21:46 2018 +0200 German dpkg translation update Update to 1113t. po/de.po | 454 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 231 insertions(+), 223 deletions(-) commit 58a3470f3ac2ee394d6525ab4781838327e9bb13 Author: Helge Kreutzmann Date: Thu Aug 30 08:35:56 2018 +0200 Update German scripts translation Update to 602t. scripts/po/de.po | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) commit b910e58aed06d3fbca0645bd68c2105d1dfa003c Author: Guillem Jover Date: Thu Aug 30 02:38:39 2018 +0200 data: Add missing purpose and column description for tupletable data/tupletable | 15 +++++++++++++++ debian/changelog | 1 + 2 files changed, 16 insertions(+) commit 0d5602d95fbf696e117e1de2f5861ed360440f2e Author: Guillem Jover Date: Tue Aug 28 02:42:32 2018 +0200 test: Add new codespell author test .gitlab-ci.yml | 2 +- Makefile.am | 2 ++ README | 1 + debian/changelog | 1 + t/codespell.t | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++ t/codespell/stopwords | 14 ++++++++++++ 6 files changed, 82 insertions(+), 1 deletion(-) commit 5fce4747ab4050d06a572107df338fde85479e31 Author: Guillem Jover Date: Tue Aug 28 02:37:18 2018 +0200 test: Delete fixup lines from i18nspector output instead of emptying them The previous regex was just turning the line into an empty one, but we count the length to check whether there was any output. In this particular case this did not trigger because we have a chomp, that would get rid of the last empty line, which happened to be fine as we currently only emit one such empty line per file. But this is not future-proof, so let's fix it before it bites us. debian/changelog | 1 + t/po.t | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 0674000c375ae1fda818093fa8073d61a5ad6565 Author: Guillem Jover Date: Tue Aug 28 02:35:15 2018 +0200 dpkg-shlibdeps: Split string at \n boundary Having the string read as “\nTo” confuses codespell, as a typo for not. Just break the string at the newline to make it more clear for humans and spell checkers alike. Warned-by: codespell scripts/dpkg-shlibdeps.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit aea951ca62fba38b8ce53e26db802a42304e0c27 Author: Guillem Jover Date: Tue Aug 28 02:33:52 2018 +0200 dselect: Rename $ans variable to $answer in multicd method This is detected by codespell as a spelling error. Just use the non-abbreviated form to make it more clear and stop triggering codespell. Warned-by: codespell dselect/methods/multicd/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e596defa91399a04792c7b37a6eb74a67cd10661 Author: Guillem Jover Date: Sat Aug 25 01:30:06 2018 +0200 scripts/t: Improve coverage of unit tests debian/changelog | 1 + scripts/t/Dpkg_Arch.t | 9 +++++++-- scripts/t/Dpkg_BuildFlags.t | 42 ++++++++++++++++++++++++++++++++++++++++- scripts/t/Dpkg_Build_Types.t | 25 +++++++++++++++++++++++- scripts/t/Dpkg_Checksums.t | 30 ++++++++++++++++++++++++++++- scripts/t/Dpkg_Control_Fields.t | 5 ++++- scripts/t/Dpkg_OpenPGP.t | 23 +++++++++++++--------- scripts/t/Dpkg_Substvars.t | 19 ++++++++++++++++++- 8 files changed, 138 insertions(+), 16 deletions(-) commit b051c0d58e99a76c3be616f374307d78503da5c5 Author: Guillem Jover Date: Sat Aug 25 01:29:32 2018 +0200 libdpkg: Add new unit tests for namevalue, fsys-hash and pkg-hash modules debian/changelog | 1 + lib/dpkg/t/.gitignore | 3 + lib/dpkg/t/Makefile.am | 3 + lib/dpkg/t/t-fsys-hash.c | 108 ++++++++++++++++++++++++++++ lib/dpkg/t/t-namevalue.c | 48 +++++++++++++ lib/dpkg/t/t-pkg-hash.c | 178 +++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 341 insertions(+) commit 58fb0496a61053fec3c65a3460f1a47c93d31ff1 Author: Guillem Jover Date: Fri Aug 24 21:20:14 2018 +0200 build: Disable C optimization levels when configuring for code coverage Optimizations mess up the coverage reporting, as the reslting object layout changes substantialy to the point of it not matching what is being actually covered by the test suite. debian/changelog | 1 + m4/dpkg-coverage.m4 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 85aa070f774df38d1dcf0dc2d451bf6848eee1c6 Author: Guillem Jover Date: Sat Aug 25 02:32:40 2018 +0200 build: Only sign the perl distribution if we are doing an actual release Forcing the signing while not actually preparing a tarball for a release disitribution, that is due to a signed tag, means that any random «make distcheck» will trigger an annoying gpg prompt. configure.ac | 2 ++ cpan.am | 2 +- m4/dpkg-build.m4 | 13 +++++++++++++ scripts/Build.PL.in | 2 +- 4 files changed, 17 insertions(+), 2 deletions(-) commit 786870e4bb9656b39df2bdeff5cc747e41d734c4 Author: Guillem Jover Date: Sat Aug 25 01:28:17 2018 +0200 Dpkg::Control::Fields: Do not use & sigil for function calls Warned-by: perlcritic Fixes: Subroutines::ProhibitAmpersandSigils debian/changelog | 1 + scripts/Dpkg/Control/Fields.pm | 9 ++++++--- t/critic.t | 1 + 3 files changed, 8 insertions(+), 3 deletions(-) commit fd1b41d81578a97399284f72ae703c0a32e3f905 Author: Guillem Jover Date: Fri Aug 24 21:18:12 2018 +0200 Dpkg::OpenPGP: Return the destination path on successful ASCII armor conversion This way we can distinguish the failure from the success case. debian/changelog | 2 ++ scripts/Dpkg/OpenPGP.pm | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit b741076e2a70dfa9f385b6baa9bfc6b496bd902f Author: Guillem Jover Date: Mon Aug 20 16:37:18 2018 +0200 Dpkg::Source::Package::V3::Quilt: Print series file used when applying patches We might use a vendor specific series file, so we should print the one being used to notify if this fact. debian/changelog | 2 ++ scripts/Dpkg/Source/Package/V3/Quilt.pm | 2 ++ 2 files changed, 4 insertions(+) commit 174a5bd2a080847d0ed901d269a2ba74476eba8b Author: Guillem Jover Date: Sat Aug 11 03:35:01 2018 +0200 Dpkg::Shlibs: Warn when using LD_LIBRARY_PATH with a descendent of cwd This makes the deprecation explicit, so that we can start noticing what is inappropriately setting this variable for a purpose it was not designed for. debian/changelog | 2 ++ scripts/Dpkg/Shlibs.pm | 10 ++++++++++ 2 files changed, 12 insertions(+) commit f277fc2e8e0fd80017e0fd4088789a09737c5c3a Author: Guillem Jover Date: Sat Aug 11 03:34:24 2018 +0200 dpkg-gensymbols: Add new -l option This option will make it possible to stop using LD_LIBRARY_PATH when calling this script. debian/changelog | 2 ++ man/dpkg-gensymbols.man | 11 +++++++++++ scripts/dpkg-gensymbols.pl | 3 +++ 3 files changed, 16 insertions(+) commit f4bae73fa1158846648d566cb28cdcb7e9aaa90f Author: Guillem Jover Date: Sat Aug 11 03:11:42 2018 +0200 dpkg-query: Support dumping all --status and --print-avail records When not passing any argument these commands will dump the entire database. This way external programs will have a proper public interface to get all package records, even when there are unmerged journal entries. Closes: #616342 debian/changelog | 2 ++ man/dpkg-query.man | 23 +++++++++------ src/querycmd.c | 86 ++++++++++++++++++++++++++++-------------------------- 3 files changed, 60 insertions(+), 51 deletions(-) commit bf5467775d9a6d608026372ba5fd2f13984b4cb2 Author: Guillem Jover Date: Fri Aug 10 03:31:35 2018 +0200 dpkg-query: Split enqperpackage() into each different action debian/changelog | 1 + src/querycmd.c | 181 +++++++++++++++++++++++++++++++++++-------------------- 2 files changed, 116 insertions(+), 66 deletions(-) commit d88c981ada01b446a4cb01183ca0ab5a85b1a25c Author: Guillem Jover Date: Fri Aug 10 03:32:35 2018 +0200 dpkg-query: Flush output for --status, --print-avail and --listfiles at the end Do not flush the output on each entry output, instead wait until we have finished to flush it all out. This should speed up the output. debian/changelog | 2 ++ src/querycmd.c | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 60e4b9c2e969cb876fd9282f92e73f799485620b Author: Guillem Jover Date: Wed Aug 22 02:12:15 2018 +0200 dpkg: Fix use after free in maintainer scripts handling Fixes: commit 44b0bf1a576e3b0cfcb4c87f18d4195c3ffccb8f debian/changelog | 2 ++ src/script.c | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) commit 05458bb8d50cb3b0f29e53d2a079f2ef874b8f23 Author: Guillem Jover Date: Fri Jun 8 04:15:22 2018 +0200 dpkg-query: Run --list output through a pager if we are on a terminal The current code, checks whether we are running on a terminal, and then truncates the output fields so that it can fit within. This causes data loss and can confuse the user depending where the cut point has happened. Instead we remove that logic, and always redirect the outout through a pager in case we are running on a terminal, which gives full information and does not necessarily emit ugly output. Closes: #898603 debian/changelog | 2 + man/dpkg-query.man | 4 -- man/dpkg.man | 5 --- src/querycmd.c | 110 +++++++++++++++-------------------------------------- 4 files changed, 33 insertions(+), 88 deletions(-) commit c2929d087701dd36f84e8ba5e25ba060466c1c2a Author: Guillem Jover Date: Wed Aug 15 05:10:12 2018 +0200 libdpkg, dpkg: Use new pager spawning support Use it instead of open-coding it, or piping it via a shell invocation, which required metacharacter escaping. debian/changelog | 2 ++ lib/dpkg/file.c | 19 +++---------------- src/configure.c | 19 ++++++++++++------- 3 files changed, 17 insertions(+), 23 deletions(-) commit 3b8cd0ea54e2027fd7c972e3edcbbc8bb43afa52 Author: Guillem Jover Date: Wed Aug 15 05:10:12 2018 +0200 libdpkg: Add pager spawning and reaping support This will make using a pager way easier, and make it possible to remove some redundant and unsafe system() usage. debian/changelog | 1 + lib/dpkg/libdpkg.map | 2 ++ lib/dpkg/pager.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ lib/dpkg/pager.h | 6 +++++ 4 files changed, 73 insertions(+) commit 7a6cdb430bd85bd38601730fef816e7c89e5e1b8 Author: Guillem Jover Date: Mon Aug 27 01:27:49 2018 +0200 libdpkg: Require both stdin and stdout to be a tty to use a pager A pager requires both input being connected to a tty, and we want to use it when the output goes to the tty, so require both. debian/changelog | 2 ++ lib/dpkg/pager.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit e8dddc5bd19195f48aeeccdc6eb82bfc275e3627 Author: Guillem Jover Date: Wed Aug 15 05:10:12 2018 +0200 libdpkg: Split pager specific code into its own module We also namespace the pager function with the module name. debian/changelog | 1 + lib/dpkg/Makefile.am | 2 ++ lib/dpkg/command.c | 21 -------------- lib/dpkg/command.h | 1 - lib/dpkg/file.c | 3 +- lib/dpkg/libdpkg.map | 3 +- lib/dpkg/pager.c | 50 +++++++++++++++++++++++++++++++++ lib/dpkg/pager.h | 43 +++++++++++++++++++++++++++++ lib/dpkg/t/.gitignore | 1 + lib/dpkg/t/Makefile.am | 1 + lib/dpkg/t/t-command.c | 38 +------------------------ lib/dpkg/t/t-pager.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++ po/POTFILES.in | 1 + src/configure.c | 3 +- 14 files changed, 181 insertions(+), 62 deletions(-) commit 7f7eb8cc77e84dd03791f7317c38242e49760b49 Author: Guillem Jover Date: Wed Aug 15 05:10:12 2018 +0200 libdpkg: Fix internerr format string Do not print filename which is going to be NULL. Fixes: commit 9f7e58acdf28043bce2dfaf24ba27bb878418658 lib/dpkg/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 683e95c0b13b6274d1785741d63551cd39b6ee45 Author: Guillem Jover Date: Sat Aug 11 03:10:09 2018 +0200 libdpkg: Dump database package records in alphabetical order When dumping all stanzas from the package database, do it in alphabetical order, so that we get reproducible output, both on disk and for the upcoming output to stdout. debian/changelog | 3 +++ lib/dpkg/dump.c | 17 +++++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) commit d2ec96cc99b15b97cfcecead3f2872c45a510855 Author: Guillem Jover Date: Fri Aug 10 02:22:39 2018 +0200 libdpkg: Factor out package stanza printing into its own function We will then be able to use it to print the package database into stdout, for example. debian/changelog | 1 + lib/dpkg/dpkg-db.h | 1 + lib/dpkg/dump.c | 21 +++++++++++++++------ lib/dpkg/libdpkg.map | 1 + 4 files changed, 18 insertions(+), 6 deletions(-) commit 23f575c23e9d141dd4b1b34bb41060b4f99ea611 Author: Guillem Jover Date: Thu Aug 9 03:05:46 2018 +0200 libdpkg: Add new m_dup() function debian/changelog | 1 + lib/dpkg/dpkg.h | 1 + lib/dpkg/libdpkg.map | 1 + lib/dpkg/mlib.c | 13 +++++++++++++ 4 files changed, 16 insertions(+) commit 187d689217e274e79fa61018bc23a0d43f7d678c Author: Guillem Jover Date: Thu Jul 12 05:09:14 2018 +0200 libdpkg: Add new pkg_infodb_reset_dir() This makes it possible to update the infodb directory when we have changed the underlying directory with dpkg_db_set_dir(). debian/changelog | 1 + lib/dpkg/db-ctrl-format.c | 18 +++++++++++++----- lib/dpkg/db-ctrl.h | 1 + 3 files changed, 15 insertions(+), 5 deletions(-) commit 7094f7c428f1f871b1b83bf5f895ab66f9e3d55a Author: Guillem Jover Date: Wed Aug 22 22:38:50 2018 +0200 libdpkg: Add support for new test_get_srcdir() and test_get_builddir() debian/changelog | 1 + lib/dpkg/t/t-test.c | 7 ++++++- lib/dpkg/test.h | 12 ++++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) commit 1166bbb5f099580a0c1c26d0e29b1ae3fe11ad0f Author: Guillem Jover Date: Sat Jan 13 14:46:46 2018 +0100 libdpkg: Switch db-fsys to use the new file_slurp() function This reduces code duplication. debian/changelog | 1 + lib/dpkg/db-fsys-digest.c | 49 +++++++++++++---------------------------------- lib/dpkg/db-fsys-files.c | 44 +++++++++++++----------------------------- 3 files changed, 27 insertions(+), 67 deletions(-) commit 7ebd4d381b439baa730ad941340b3a1ac129497c Author: Guillem Jover Date: Sat Jan 13 14:46:46 2018 +0100 libdpkg: Add new file_slurp() function debian/changelog | 1 + lib/dpkg/file.c | 44 +++++++++++++++++++++++ lib/dpkg/file.h | 5 +++ lib/dpkg/t/.gitignore | 1 + lib/dpkg/t/Makefile.am | 1 + lib/dpkg/t/t-file.c | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 148 insertions(+) commit 2edd9981db1f572588b2493f81d67915183865e8 Author: Guillem Jover Date: Sun Jun 17 20:34:19 2018 +0200 libdpkg: Add new varbuf_new() and varbuf_free() functions debian/changelog | 1 + lib/dpkg/libdpkg.map | 2 ++ lib/dpkg/t/t-varbuf.c | 23 ++++++++++++++++++++++- lib/dpkg/varbuf.c | 18 ++++++++++++++++++ lib/dpkg/varbuf.h | 2 ++ 5 files changed, 45 insertions(+), 1 deletion(-) commit ac47acc3f816672852bd5ad036e663aa150abe3f Author: Guillem Jover Date: Wed Aug 22 01:18:34 2018 +0200 libdpkg: Change dpkg_error to track errno values This will make it possible for the caller to check what errno caused an error to be emitted, if any. debian/changelog | 1 + lib/dpkg/error.c | 14 +++++++++----- lib/dpkg/error.h | 3 ++- lib/dpkg/t/t-error.c | 10 ++++++++-- 4 files changed, 20 insertions(+), 8 deletions(-) commit 05c5c373dad18117942ea59440f9867c2f0d6a73 Author: Guillem Jover Date: Thu Jul 12 03:22:37 2018 +0200 Switch from strchr() + strlen() to strchrnul() debian/changelog | 1 + dselect/baselist.cc | 7 ++++--- dselect/pkginfo.cc | 6 +++--- lib/dpkg/pkg-format.c | 7 ++----- src/help.c | 6 +++--- src/main.c | 7 ++++--- utils/start-stop-daemon.c | 8 ++++---- 7 files changed, 21 insertions(+), 21 deletions(-) commit fbed23421fe867d76e6123d2cf79ffafeed5aafd Author: Guillem Jover Date: Thu Jul 12 02:14:48 2018 +0200 libcompat: Add new strchrnul() compat function configure.ac | 1 + debian/changelog | 1 + lib/compat/Makefile.am | 5 +++++ lib/compat/compat.h | 6 ++++++ lib/compat/strchrnul.c | 37 +++++++++++++++++++++++++++++++++++++ 5 files changed, 50 insertions(+) commit c7c948d8b9ed774163d35c573f25029d69e45348 Author: Guillem Jover Date: Sat Jan 13 02:37:02 2018 +0100 libdpkg: Split push_cleanup() into push_cleanup_fallback() We separate the function in one that takes one callback, and another that takes two. This simplifies most of the call sites which only need one callback. debian/changelog | 1 + dpkg-deb/info.c | 2 +- dselect/baselist.cc | 2 +- dselect/method.cc | 2 +- lib/dpkg/atomic-file.c | 2 +- lib/dpkg/db-ctrl-access.c | 2 +- lib/dpkg/db-ctrl-upgrade.c | 4 ++-- lib/dpkg/db-fsys-files.c | 2 +- lib/dpkg/ehandle.c | 32 +++++++++++++++++++++++++++++--- lib/dpkg/ehandle.h | 6 ++++-- lib/dpkg/file.c | 2 +- lib/dpkg/libdpkg.map | 1 + lib/dpkg/parse.c | 2 +- lib/dpkg/subproc.c | 2 +- lib/dpkg/t/t-ehandle.c | 2 +- lib/dpkg/triglib.c | 4 ++-- src/archives.c | 4 ++-- src/configure.c | 2 +- src/divertcmd.c | 2 +- src/remove.c | 4 ++-- src/script.c | 2 +- src/unpack.c | 32 ++++++++++++++++---------------- 22 files changed, 72 insertions(+), 42 deletions(-) commit ae6a3ddd2a774ee1cedc5ee0c87ab8c66ae5f786 Author: Guillem Jover Date: Fri Aug 24 20:51:09 2018 +0200 libdpkg: Reset nfiles in files_db_reset() debian/changelog | 1 + lib/dpkg/fsys-hash.c | 2 ++ 2 files changed, 3 insertions(+) commit 93424411d3b840f1a88a42b97b226e34b193e81b Author: Guillem Jover Date: Sat Jun 2 16:05:32 2018 +0200 libdpkg: Switch to a new tiny struct to track file ondisk identity We only need the device and inode numbers for a given file to be able to compare them for identity. Avoid storing the entire struct stat which is rather fat. debian/changelog | 2 ++ lib/dpkg/fsys-hash.c | 4 ++-- lib/dpkg/fsys.h | 10 +++++++++- src/unpack.c | 20 ++++++++++++-------- 4 files changed, 25 insertions(+), 11 deletions(-) commit 5a678bf493de3630cb2dd58e8d124a86c74568ab Author: Guillem Jover Date: Tue Aug 14 06:08:56 2018 +0200 libdpkg: Factor out package files handling into its own module We need these functions from the list and mtree implementations. Move them out so that they can be shared. In addition this is pure in-core handling so it makes sense to split out from the db-fsys modules. debian/changelog | 1 + lib/dpkg/Makefile.am | 2 + lib/dpkg/db-fsys-files.c | 67 +--------------------------------- lib/dpkg/pkg-files.c | 95 ++++++++++++++++++++++++++++++++++++++++++++++++ lib/dpkg/pkg-files.h | 46 +++++++++++++++++++++++ po/POTFILES.in | 1 + 6 files changed, 146 insertions(+), 66 deletions(-) commit 72c2b44655be986fa0422725a005f69d41a77841 Author: Guillem Jover Date: Tue Aug 14 06:08:56 2018 +0200 libdpkg: Use a pointer to pointer to track previous entry in pkg_files_blank() We reduce the nesting level, and avoid a conditional inside the loop. debian/changelog | 2 ++ lib/dpkg/db-fsys-files.c | 10 ++++------ 2 files changed, 6 insertions(+), 6 deletions(-) commit 7d8b505882cc9cae1913a909f1fafa515a227d96 Author: Guillem Jover Date: Tue Aug 14 05:51:39 2018 +0200 libdpkg: Rename pkg-db module to pkg-hash It contains the package hash table implementation. The on-disk database is handled elsewhere, and using db here instead of hash makes it fairly confusing. debian/changelog | 1 + lib/dpkg/Makefile.am | 2 +- lib/dpkg/{pkg-db.c => pkg-hash.c} | 2 +- po/POTFILES.in | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) commit eed3a9097deb1be5251cd31fbf9ec4d482a155d1 Author: Guillem Jover Date: Fri Apr 6 01:14:42 2018 +0200 libdpkg: Move db-fsys code from src to lib/dpkg This will prepare the ground for external programs to start using libdpkg to access the dpkg fsys database via a proper API, instead of messing with the on-disk layout in so many improper ways. debian/changelog | 1 + lib/dpkg/Makefile.am | 5 +++++ src/filesdb-hash.c => lib/dpkg/db-fsys-digest.c | 7 +++---- src/divertdb.c => lib/dpkg/db-fsys-divert.c | 7 +++---- src/filesdb.c => lib/dpkg/db-fsys-files.c | 9 ++++----- src/statdb.c => lib/dpkg/db-fsys-override.c | 7 +++---- src/filesdb.h => lib/dpkg/db-fsys.h | 10 +++++----- lib/dpkg/libdpkg.map | 17 +++++++++++++++++ po/POTFILES.in | 8 ++++---- src/Makefile.am | 14 -------------- src/archives.c | 2 +- src/cleanup.c | 2 +- src/configure.c | 2 +- src/depcon.c | 2 +- src/divertcmd.c | 3 +-- src/enquiry.c | 2 +- src/filters.c | 2 +- src/help.c | 2 +- src/main.c | 2 +- src/main.h | 2 +- src/packages.c | 2 +- src/querycmd.c | 2 +- src/remove.c | 2 +- src/script.c | 2 +- src/select.c | 2 +- src/statcmd.c | 2 +- src/trigproc.c | 2 +- src/unpack.c | 2 +- src/verify.c | 2 +- 29 files changed, 64 insertions(+), 60 deletions(-) commit 6a5b37e98d8c0273203fc000a2539bc97101250f Author: Guillem Jover Date: Fri May 4 05:32:36 2018 +0200 dpkg: Move struct perpackagestate handling into its own file This is not really part of the fsys db handling, and we are not making use of it anymore in it, so let's move it somewhere else more appropriate. debian/changelog | 1 + po/POTFILES.in | 1 + src/Makefile.am | 1 + src/filesdb.c | 14 -------------- src/filesdb.h | 2 -- src/main.h | 4 ++++ src/perpkgstate.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 50 insertions(+), 16 deletions(-) commit a9663b000b9c96030c7062fa01c0bee038cd11f9 Author: Guillem Jover Date: Fri May 4 05:22:32 2018 +0200 libdpkg: Move files list information from dpkg clientdata to pkginfo This will make it possible to move the fsys database parsing and dumping code out from dpkg into libdpkg. This is general package information, even if some clients might not be interested in its contents, such as frontends that just manage metadata and drive dpkg itself. debian/changelog | 1 + lib/dpkg/dpkg-db.h | 13 +++++++++++++ lib/dpkg/pkg.c | 3 +++ src/archives.c | 2 +- src/filesdb.c | 47 +++++++++++++++++------------------------------ src/main.h | 13 ------------- src/querycmd.c | 2 +- src/remove.c | 8 ++++---- src/unpack.c | 17 ++++++++--------- src/verify.c | 2 +- 10 files changed, 49 insertions(+), 59 deletions(-) commit abcf523423776b2042a10bf2e05c93475f6eb1ea Author: Guillem Jover Date: Fri May 18 10:13:48 2018 +0200 dpkg: Check that clientdata is allocated before using it For functions that are supposed to just check the state of a package in a read-only way, make sure the clientdata is allocated, instead of just calling ensure_package_clientdata(). debian/changelog | 2 ++ src/depcon.c | 3 ++- src/packages.c | 3 ++- src/remove.c | 1 + 4 files changed, 7 insertions(+), 2 deletions(-) commit 2d5e9185aa3582ff62f34ec3c66feea4439f9f03 Author: Guillem Jover Date: Fri May 18 10:13:48 2018 +0200 dpkg: Call ensure_package_clientdata() defensively We want to stop calling this function from the fsys loading code, so we should make very sure it is being called before we access the clientdata members, otherwise we'll just segfault. debian/changelog | 1 + src/archives.c | 2 ++ src/configure.c | 2 ++ src/remove.c | 2 ++ src/trigproc.c | 2 ++ src/unpack.c | 1 + 6 files changed, 10 insertions(+) commit 7ab849d1a814b2d2b2e29f9965fb5d51b654265a Author: Guillem Jover Date: Fri May 4 05:04:01 2018 +0200 libdpkg: Rename struct pkginfo files member to archives Rename matching types and macros, so that the purpose of the symbols is clear, and to open the way for moving the fsys files list from the dpkg clientdata. debian/changelog | 1 + dpkg-deb/info.c | 4 ++-- dselect/pkglist.cc | 2 +- lib/dpkg/dpkg-db.h | 11 ++++++----- lib/dpkg/dump.c | 18 +++++++++--------- lib/dpkg/fields.c | 22 +++++++++++----------- lib/dpkg/parse.c | 14 +++++++------- lib/dpkg/parsedump.h | 11 ++++++++--- lib/dpkg/pkg.c | 2 +- src/enquiry.c | 6 +++--- src/querycmd.c | 2 +- src/unpack.c | 14 ++++++++------ 12 files changed, 58 insertions(+), 49 deletions(-) commit 3491a330369d51fe1a1fb5b738082d5e0f83badc Author: Guillem Jover Date: Wed Aug 15 06:45:56 2018 +0200 libdpkg: Document in pkg_db_get_pkg() which pkgbin members can be initialized The only member that can be safely initialized in a new pkginfo's pkgbin is the arch member, because that's used as part of the lookup. Anything else might get overwritten with the data from the new object, for example during deb822 parsing. lib/dpkg/pkg-db.c | 4 ++++ 1 file changed, 4 insertions(+) commit 92a85658bdf1e590c7d66af8047c347984db1b26 Author: Guillem Jover Date: Wed Aug 15 19:31:56 2018 +0200 libdpkg: Change pkg_name() and pkgbin_name() back to get non-const structs This partially reverts commit cd96cca4b2cf83f46d6e289418ed06e3c2ef7066. It is not safe to assume that the pkgname_arcqual member has been populated before. The caller might have used a local variable filled manually. So we should always check whether it is NULL and fill it ourselves, before returning it. In addition now that we have the const function variants we can turn these back into non-const so that we can do the archqualified package name generation, and cache it for later use. lib/dpkg/dpkg-db.h | 11 +++++---- lib/dpkg/parse.c | 2 +- lib/dpkg/pkg-show.c | 8 +++++-- lib/dpkg/t/.gitignore | 1 + lib/dpkg/t/Makefile.am | 1 + lib/dpkg/t/t-pkg-show.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 77 insertions(+), 7 deletions(-) commit d36b97a58ca207eae556f69637b4edaa2d1a169a Author: Guillem Jover Date: Wed Aug 15 22:13:38 2018 +0200 libdpkg, dselect: Use new pkg_name_const() and pkgbin_name_const() This will make it possible to switch the pkg_name() and pkgbin_name() back to take non-const structs, and then fill the pkgname_archqual cache on demand. debian/changelog | 1 + dselect/pkgtop.cc | 2 +- lib/dpkg/dump.c | 24 ++++++++++++------------ 3 files changed, 14 insertions(+), 13 deletions(-) commit 8cbd195ff7227b7e628b378ae2961a793d53bdcc Author: Guillem Jover Date: Wed Aug 15 22:09:56 2018 +0200 libdpkg: Add new pkg_name() and pkgbin_name() const variants Because C does not have a C++ equivalent for the mutable keyword, we cannot mark the pkgname_archqual member as such. Instead we will add a new couple of const functions that will fallback to return a non-freeing string to be used mostly in error handling code paths in case there is no cached member, as otherwise we'd be "leaking" those strings (just generating new instances that will be released as part of the pool) every time we call these functions. debian/changelog | 1 + lib/dpkg/dpkg-db.h | 6 ++++++ lib/dpkg/libdpkg.map | 2 ++ lib/dpkg/pkg-show.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 61 insertions(+) commit 55eaddc5411b6eae85686a511a9b122e84c0e7fd Author: Guillem Jover Date: Wed Aug 15 06:45:56 2018 +0200 libdpkg: Factor out cached arch-qualified package name generation Move this into a proper function so that we can call it from multiple places. In addition we always return a non-freeing allocated string, in case the architecture is empty or none. debian/changelog | 2 ++ lib/dpkg/dpkg-db.h | 4 ++++ lib/dpkg/parse.c | 9 +-------- lib/dpkg/pkg-show.c | 17 +++++++++++++++++ 4 files changed, 24 insertions(+), 8 deletions(-) commit 3a4e91f3c42850cf5d965c74b1714f78f6b7767c Author: Guillem Jover Date: Wed Aug 15 22:07:53 2018 +0200 libdpkg: Fix pkgbin_name_needs_arch() to ignore empty and missing arches There's no point in arch-qualifying a package name if we got no architecture to qualify it with. debian/changelog | 3 +++ lib/dpkg/pkg-show.c | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit 2b78637509e9f7c39ae0495c3f4718a60a55da9a Author: Guillem Jover Date: Thu Aug 16 05:41:04 2018 +0200 libdpkg: Add missing db-ctrl symbols to the libdpkg.map file lib/dpkg/libdpkg.map | 7 +++++++ 1 file changed, 7 insertions(+) commit 482d420fe0fdd9e077342fb82d29d69facbbf78b Author: Guillem Jover Date: Thu Jul 12 03:23:08 2018 +0200 libdpkg: Fix dpkg_arch_find() Doxygen comment debian/changelog | 1 + lib/dpkg/arch.c | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) commit 5b0721da81712f570ea744f11fa560f2492302a5 Author: Guillem Jover Date: Sat Aug 11 03:31:49 2018 +0200 libdpkg: Fix header file title lib/dpkg/ar.h | 2 +- lib/dpkg/db-ctrl-access.c | 2 +- lib/dpkg/db-ctrl-format.c | 2 +- lib/dpkg/db-ctrl-upgrade.c | 2 +- lib/dpkg/options-parsers.c | 2 +- lib/dpkg/pkg-format.h | 2 +- lib/dpkg/t/t-mod-db.c | 2 +- lib/dpkg/t/t-varbuf.c | 2 +- lib/dpkg/trigdeferred.c | 2 +- lib/dpkg/trigdeferred.h | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) commit 22fd958f173e4d7099085c54c843ee52ae223b24 Author: Guillem Jover Date: Sat Aug 11 03:34:02 2018 +0200 debian: Update libdpkg-perl public module list in package description debian/changelog | 1 + debian/control | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) commit be099892298b4df19ba656b5d454c5fb964c2c94 Author: Guillem Jover Date: Sat Aug 11 03:33:08 2018 +0200 debian: Switch libdpkg-perl again to depend on perl:any The debootstrap package in Debian stable (stretch) has been fixed so we can rerevert this change. debian/changelog | 2 ++ debian/control | 5 +---- 2 files changed, 3 insertions(+), 4 deletions(-) commit 892f07de4227c9bdede6f68bd4bf7a79ca1e2517 Author: Guillem Jover Date: Wed Aug 8 11:12:06 2018 +0200 debian: Add sensible-utils to libdpkg-perl Suggests The Dpkg::Source::Package::V2 module will try to use sensible-editor if it's present. Add the Suggests to make the relationship explicit. Warned-by: lintian debian/changelog | 1 + debian/control | 2 ++ 2 files changed, 3 insertions(+) commit c3f8bca7e6cf4d75ca94dc4b92c9d7f63d23775f Author: Guillem Jover Date: Wed Aug 8 11:11:44 2018 +0200 debian: Enable verbose test suite only in non-terse builds debian/changelog | 1 + debian/rules | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 108f8a9e0a9f7e992c4d61e202e26bb6eef6c7c6 Author: Guillem Jover Date: Wed Aug 8 11:10:20 2018 +0200 debian: Rename maintainer-build DEB_BUILD_OPTIONS to terse Use the now official name for non-verbose builds. Ref: Debian policy 4.2.0 debian/changelog | 1 + debian/rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit e50f4c72b02a88a0124d0f2b671185504fea90cd Author: Guillem Jover Date: Wed Aug 8 11:07:41 2018 +0200 debian: Do not pass VERBOSE to test suite The VERBOSE variable is only honored when using the automake test drivers, which we are not using, not even the custom ones. Remove the variable usage which is confusing as it is not doing anything. .gitlab-ci.yml | 4 ++-- debian/changelog | 2 ++ debian/rules | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) commit 2a9a5392718371ad29605652fe55dc149fa4867c Author: Bjarni Ingi Gislason Date: Tue Aug 14 00:14:58 2018 +0200 man: Fix markup Closes: #900033, #900035, #900040 Signed-off-by: Guillem Jover debian/changelog | 2 ++ man/dpkg-deb.man | 8 ++++---- man/dpkg-split.man | 4 ++-- man/dpkg-trigger.man | 10 +++++----- 4 files changed, 13 insertions(+), 11 deletions(-) commit eacbf48370ce977d7bc8e9af027afd0b79ef35a0 Author: Guillem Jover Date: Wed Aug 1 06:22:45 2018 +0200 man: Clarify awaiting state for interest and activate directives Closes: #904060 debian/changelog | 2 ++ man/deb-triggers.man | 31 +++++++++++++++++++++++++------ man/dpkg-trigger.man | 2 ++ 3 files changed, 29 insertions(+), 6 deletions(-) commit 6227aa720d9ce637e676bdc0096fb8316576348f Author: Guillem Jover Date: Mon Jul 23 12:13:31 2018 +0200 Dpkg::Substvars: Reword used/unused warnings to clarify their meaning Clarify the unknown and unused substitution variable warnings, to try to make them more clear as to what each implies. Closes: #904258 debian/changelog | 2 ++ scripts/Dpkg/Substvars.pm | 6 ++++-- scripts/t/Dpkg_Substvars.t | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) commit a4f0c6f04636ed066eb7e5162403d20a369fceec Author: Guillem Jover Date: Sat Aug 11 03:32:37 2018 +0200 Fix some typos Thanks-to: Niels Thykier (for typo in dpkg(1)) ChangeLog.old | 12 ++++++------ debian/changelog | 4 ++-- debian/control | 2 +- doc/rootless-builds.txt | 2 +- lib/compat/getopt.c | 2 +- lib/dpkg/path-remove.c | 2 +- man/dpkg.man | 2 +- scripts/Dpkg/Source/Functions.pm | 2 +- scripts/dpkg-buildpackage.pl | 4 ++-- scripts/t/Dpkg_Changelog/shadow | 8 ++++---- t/pod-coverage.t | 2 +- 11 files changed, 21 insertions(+), 21 deletions(-) commit ad4df9fd53dcfac52a4bac5351f1f74fa916dc62 Author: Guillem Jover Date: Tue Aug 28 04:13:14 2018 +0200 build: Always pass --instdir to dpkg We need this now because we might override the DPKG_INSTDIR variable in specific tests, so we always have to pass the option to dpkg now, for those to take effect. Test.mk | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit 68882bebb84fcb5e98041117aa4807c778cf0e56 Author: Guillem Jover Date: Tue Aug 28 03:20:37 2018 +0200 build: Add lock-frontend file This is generated by new dpkg releases, include it in the template db. dpkgdb/lock-frontend | 0 1 file changed, 0 insertions(+), 0 deletions(-) commit b4a71cd579358e54ef03c08e777449ec5d67b1c0 Author: Guillem Jover Date: Tue Aug 28 03:16:57 2018 +0200 Fix not-root support in Makefiles and maintscripts When generating files inside the dpkg db, we need to use DPKG_INSTDIR in Makefiles, and DPKG_ROOT inside maintscripts. t-conffile-obsolete/Makefile | 2 +- t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/postinst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit d99236dbba64a00643c8cb9c1403a80115dcaaf9 Author: Guillem Jover Date: Tue Aug 28 03:13:55 2018 +0200 t-conffile-root-option: Pre-create the triggers db directory If we do not pre-create it, dpkg will try to do so itself, and chown the result, which will not work in not-root mode. t-conffile-root-option/Makefile | 1 + 1 file changed, 1 insertion(+) commit e40e1d1b09b5f475cd979225a562570b0967a73f Author: Zhou Mo Date: Fri Jun 1 09:49:32 2018 +0000 po: Update Simplified Chinese man pages translation Signed-off-by: Guillem Jover debian/changelog | 1 + man/po/zh_CN.po | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 11 deletions(-) commit 6e72819c017b32e95962deeb4e8cb186280ab655 Author: Boyuan Yang <073plan@gmail.com> Date: Tue Aug 7 06:25:53 2018 +0000 po: Update Simplified Chinese programs traslation Closes: #890806 Signed-off-by: Guillem Jover debian/changelog | 2 +- po/zh_CN.po | 36 +++++++++++++++++++----------------- 2 files changed, 20 insertions(+), 18 deletions(-) commit c9fd5b18126f749332940e4462bf2f6542b33f2a Author: Zhou Mo Date: Fri Jun 1 09:48:34 2018 +0000 po: Update Simplified Chinese programs translation Closes: #900547 Signed-off-by: Guillem Jover debian/changelog | 1 + po/zh_CN.po | 234 +++++++++++++++++++++++-------------------------------- 2 files changed, 98 insertions(+), 137 deletions(-) commit f2f04e66a9a810d7fcea162ff7c9b1930baac06e Author: Łukasz Dulny Date: Fri Aug 3 03:47:02 2018 +0200 po: Update Polish programs translation Signed-off-by: Guillem Jover debian/changelog | 1 + po/pl.po | 625 ++++++++++++++++++++----------------------------------- 2 files changed, 224 insertions(+), 402 deletions(-) commit 76ec333432efa6a3eb20aeec4b919831cfbeecdd Author: Helge Kreutzmann Date: Wed Aug 1 11:57:23 2018 +0200 Update Netherlands translation of manual pages Update to 2909t7f8u. This update only deals with strings which can be trivially unfuzzied. man/po/nl.po | 300 +++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 250 insertions(+), 50 deletions(-) commit 39c11d9961ee4e5217fa8579146777a23883549d Author: Helge Kreutzmann Date: Wed Aug 1 11:55:55 2018 +0200 Update German translation of manual pages Update to 2923t1f. man/po/de.po | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) commit f1b4c8615c23f383c761cc2c55a47d84c0ce827f Author: Guillem Jover Date: Wed Aug 1 05:45:08 2018 +0200 man: Fix typo in field name in deb-changes(5) Closes: #902616 Reported-by: Uwe Kleine-König debian/changelog | 1 + man/deb-changes.man | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit fc94ac887d42291dfd573c4794ec7336f5dec127 Author: Guillem Jover Date: Tue Jun 5 05:37:14 2018 +0200 test: Add new cppcheck integration author test .gitlab-ci.yml | 2 +- Makefile.am | 2 ++ README | 1 + debian/changelog | 1 + t/cppcheck.t | 45 +++++++++++++++++++++++++++++++++++++++++++++ t/cppcheck/cppcheck.supp | 43 +++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 93 insertions(+), 1 deletion(-) commit 31ba2b1b10cfcc2149bb43fe9b918355177e4341 Author: Guillem Jover Date: Tue Jun 5 05:36:23 2018 +0200 s-s-d: Do not leak a file descriptor on AIX Warned-by: cppcheck debian/changelog | 1 + utils/start-stop-daemon.c | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) commit 6a45c7ab2e12e296f8c822c99f43d84f81da2c1a Author: Guillem Jover Date: Tue Jun 5 05:34:27 2018 +0200 s-s-d: Mark a literal integer long to avoid value truncation The variable holding the result is long, but the literal was an int, so if there was truncation it would have happened regardless of the holding variable type. Make sure no truncation happens. Warned-by: cppcheck utils/start-stop-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ec1bd98b02630c00e4e367b7fba07e7ccbd64c77 Author: Guillem Jover Date: Tue Jun 5 05:33:23 2018 +0200 libdpkg: Do not compare an unsigned int with <= Warned-by: cppcheck lib/dpkg/tarfn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 87c060b24b724f30e79406bc66b5342581ee29f1 Author: Guillem Jover Date: Tue Jun 5 05:32:02 2018 +0200 libdpkg: Improve unit test to use assigned variable Add a couple of checks to make the test more robust, and to use an assigned variable. Warned-by: cppcheck lib/dpkg/t/t-string.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 31cdb7e05970744bca91977b0212b4eeee5fb420 Author: Guillem Jover Date: Tue Jun 5 05:30:52 2018 +0200 libdpkg: Turn variable into unsigned to match format string Warned-by: cppcheck lib/dpkg/db-ctrl-format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 975efaa8c9e527a7f99d198deee7194101b3df8d Author: Guillem Jover Date: Tue Jul 31 03:55:40 2018 +0200 dselect: Disable copy constructor and = operator for methodlist class The constructor deals with dynamically allocated memory, so we should not be using the default copy constructor and = operators, disabled them to avoid surprises. Warned-by: cppcheck dselect/method.h | 2 ++ 1 file changed, 2 insertions(+) commit c0c457246d25e7c64f65d1b37f976b7e804b10ab Author: Guillem Jover Date: Tue Jul 31 03:53:59 2018 +0200 dselect: Use override attribute for virtual methods in derived classes C++11 makes it possible to use these attributes so that errors can be avoided, by helping the compiler know when we mean methods to override the ones from the parent class. Warned-by: cppcheck dselect/method.h | 18 +++++++++--------- dselect/pkglist.h | 20 ++++++++++---------- scripts/t/Dpkg_Shlibs/patterns.cpp | 2 +- 3 files changed, 20 insertions(+), 20 deletions(-) commit 3d4be1a816d1d3b9c3068d9c3008e0ee093034f3 Author: Guillem Jover Date: Tue Jun 5 05:31:21 2018 +0200 dselect: Declare constructor with one argument as explicit Warned-by: cppcheck dselect/pkglist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d2ca3f4be39bb56bf0ae54f8ac9f7976ff0bf025 Author: Guillem Jover Date: Tue Jun 5 05:29:44 2018 +0200 dselect: Remove duplicate searchstring member declaration in derived class This is already declared in class baselist, no need to declare it too in class methodlist. Warned-by: cppcheck dselect/method.h | 3 --- 1 file changed, 3 deletions(-) commit f2a40a75beeb71cd29f3503acdfdf4539379685d Author: Guillem Jover Date: Tue Jun 5 05:28:26 2018 +0200 dpkg-deb: Surround condition in ternary operator with parens This makes it extra clear the precedence of the operators. Warned-by: cppcheck dpkg-deb/info.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1f656230d0599005b4558423ae471e3e0364211b Author: Guillem Jover Date: Tue Jun 5 05:27:30 2018 +0200 dpkg-split: Fix format string to match variable declaration Warned-by: cppcheck dpkg-split/join.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3b48f9c2d07ef829bb1727e622b14bca4883d61b Author: Guillem Jover Date: Tue Jun 5 05:26:41 2018 +0200 dpkg-statoverride: Remove redundant check The condition is checking for the same multiple times. Warned-by: cppcheck src/statcmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9cc48e639eba62c41beb3b137b9cf8704dfc89ca Author: Guillem Jover Date: Thu Jul 12 05:21:52 2018 +0200 libdpkg: Use memccpy() instead of strncpy() We were using strncpy() here as originally intended, to copy a string into a struct member without copying the NUL-terminator. But now gcc warns about the intended truncation, which might catch some people unexpectedly. Switch to use memccpy() which has similar semantics, but is more explicit. Warned-by: gcc-8 debian/changelog | 1 + lib/dpkg/t/t-ar.c | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 9ab6c592c04c06952019e5c9bba57b2b54aa3fae Author: Guillem Jover Date: Fri Jun 8 03:22:36 2018 +0200 Dpkg::Source: Do not change patch permissions if not necessary To be able to build a source tree, a user needs write permisions on it, but not necessarily ownership of those files. We check the existing file permissions and avoid changing them if not necessary, which helps in the case where the user does not have ownership of those files, and they were already present. Closes: #898010 Naming-by: Julian Andres Klode debian/changelog | 2 ++ scripts/Dpkg/Source/Functions.pm | 13 +++++++++++++ scripts/Dpkg/Source/Package/V2.pm | 4 ++-- scripts/Dpkg/Source/Package/V3/Quilt.pm | 4 ++-- scripts/Dpkg/Source/Quilt.pm | 4 ++-- 5 files changed, 21 insertions(+), 6 deletions(-) commit 738c8d5d545e164c3e7450751960618443bf7431 Author: Guillem Jover Date: Mon Jul 30 01:26:08 2018 +0200 Dpkg::Deps: Split subpackages This makes the structure easier to comprehend, and easier to read, otherwise it's difficutl to search for specific methods or functions and know immediately to what module they belong. It also makes for more structured POD. debian/changelog | 1 + scripts/Dpkg/Deps.pm | 1379 +-------------------------------------- scripts/Dpkg/Deps/AND.pm | 182 ++++++ scripts/Dpkg/Deps/KnownFacts.pm | 244 +++++++ scripts/Dpkg/Deps/Multiple.pm | 250 +++++++ scripts/Dpkg/Deps/OR.pm | 174 +++++ scripts/Dpkg/Deps/Simple.pm | 659 +++++++++++++++++++ scripts/Dpkg/Deps/Union.pm | 119 ++++ scripts/Makefile.am | 6 + scripts/po/POTFILES.in | 6 + 10 files changed, 1659 insertions(+), 1361 deletions(-) commit 3d4afe2967eccd7805d067a3eab6938f7f099a63 Author: Guillem Jover Date: Mon Jul 30 04:31:32 2018 +0200 Dpkg::Deps::KnownFacts: Rename _evaluate_simple_dep to evaluate_simple_dep This method is currently used by Dpkg::Deps::Simple, and is marked as private by way of its underscore prefix. This will be a problem once we split the modules into different files, as then we are not supposed to be using private methods from external modules. Rename the method, and document it explicitly as being private, while only giving a partial prototype to deter its use. scripts/Dpkg/Deps.pm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 8940f102eb5eecfb8ff55cde52d4866ab50dfd1f Author: Guillem Jover Date: Mon Jul 30 00:37:13 2018 +0200 Dpkg::Deps: Improve modules and method documentation Document each implemented method. This will make it easier to split the modules into their own files. debian/changelog | 1 + scripts/Dpkg/Deps.pm | 528 ++++++++++++++++++++++++++++++++++++--------------- 2 files changed, 378 insertions(+), 151 deletions(-) commit 7c98f09aecc4c3a3b5809f57a0a6dc8ad8a1f16f Author: Guillem Jover Date: Sun Jul 29 19:49:30 2018 +0200 scripts/t: Improve Dpkg::Deps test cases Add new TODO tests for behavior that is not yet implemented, but should. debian/changelog | 1 + scripts/t/Dpkg_Deps.t | 42 +++++++++++++++++++++++++++++++++++++----- 2 files changed, 38 insertions(+), 5 deletions(-) commit 8fd30b60465acd90ffea6aab19ce15eea94a122a Author: Guillem Jover Date: Sat Jul 28 22:10:55 2018 +0200 Dpkg::Deps: Clarify arch-qualified dependency simplification Dependency simplification can only really be done for metadata for which we have all its context and information during the simplification process. Anything that relies on the state of the dependencies cannot be simplified. This means that any dependency that might change the satisfiability due to the value of Multi-Arch field of the depended on package cannot be simplified. Clarify this in the function commends, and add new test cases to cover this. Prompted-by: Stuart Prescott debian/changelog | 2 ++ scripts/Dpkg/Deps.pm | 3 +++ scripts/t/Dpkg_Deps.t | 22 +++++++++++++++++++++- 3 files changed, 26 insertions(+), 1 deletion(-) commit 72742b569f2cf908bc05fa96c5419120e42a10c6 Author: Guillem Jover Date: Sun Jul 29 20:01:03 2018 +0200 Dpkg::Deps: Fix typo in POD scripts/Dpkg/Deps.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 46ed057b6d95545f3ea55b72de29f52e9d8ba885 Author: Guillem Jover Date: Sun Jul 29 19:56:17 2018 +0200 Dpkg::Deps: Merge all Copyright notices into the same block There should be no difference between Copyright and Portions Copyright, remove the distinction, and merge all these notices. scripts/Dpkg/Deps.pm | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) commit 1a16bcbe71db53a1f69d304e97df287452600ed3 Author: Guillem Jover Date: Mon Jan 15 02:25:32 2018 +0100 build: Add a GitLab CI configuration We add a single test stage with four jobs, each checking the various upstream build setups we want to make sure do not break. These are: - make distcheck - make check (author tests) - make check (VPATH) - external functional test suite .gitlab-ci.yml | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ Makefile.am | 1 + debian/changelog | 1 + 3 files changed, 56 insertions(+) commit bfd4c9b72b7994252440b0b3cbfcb98d28d9fa8a Author: Guillem Jover Date: Sat Jul 28 03:12:06 2018 +0200 build: Preserve timestamps when distributing man pages We are distributing the man.stamp, so we need the timestamps of the files to match the original ones, so that make can work its magic, at least for man.stamp, the rest we do to be future-proof. debian/changelog | 1 + man/Makefile.am | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) commit 992e5eadb47acb802c2c3228e993871c45d118a0 Author: Guillem Jover Date: Sat Jul 28 03:12:06 2018 +0200 build: Distribute the man.stamp from VPATH The pre-requisite might be available on the source or build directories depending on whether we are building from git or a distribution tarball. We should use an automatic variable to always grab the file from VPATH wherever it might be located. debian/changelog | 1 + man/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit ee2e18800f5fe0c63df39202586f38e28c00e860 Author: Guillem Jover Date: Sat Jul 28 03:13:05 2018 +0200 perl: Make Build.PL check Module::Build availability at run-time Doing a normal import via use, means that we need the module to be present for the unit tests, when we only need it as part of the distribution process. scripts/Build.PL.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 1d0be95366c19fbc88c891dbedf7613aedbbdea5 Author: Guillem Jover Date: Sat Jul 28 04:11:17 2018 +0200 Dpkg::Gettext: Document textdomain() and ngettext() replacement functions We should mention when these functions are present and what they do, so that users know when they can rely on these. Warned-by: Test::Pod::Coverage debian/changelog | 2 ++ scripts/Dpkg/Gettext.pm | 13 +++++++++++++ 2 files changed, 15 insertions(+) commit e3c32720167a6c23fc19471d3e3273965c3dc9e5 Author: Guillem Jover Date: Sat Jul 28 04:08:58 2018 +0200 Dpkg::Gettext: Fix fallback textdomain() to honor its expected interface Even though we will not use the domain value set by this function, we should honor its original interface and return a domain string, and update it when requested. debian/changelog | 1 + scripts/Dpkg/Gettext.pm | 7 +++++++ 2 files changed, 8 insertions(+) commit 967373bc25ed6d7e816e13190a5281c057048292 Author: Guillem Jover Date: Sat Jul 28 03:31:43 2018 +0200 doc: Update test suite requirements in README README | 4 ++++ debian/changelog | 1 + 2 files changed, 5 insertions(+) commit 68e8f5463085a9b77335a52898fe624083ae0519 Author: Guillem Jover Date: Fri Jul 27 13:50:49 2018 +0200 t-conffile-root-option: Override DPKG_INSTDIR and DPKG_ADMINDIR per target We should not add a new --root option, as that means we will end up unsing the admindir pre-configured in dpkg within that root directory, which might not match what we expect. Explicitly override both instdir and admindir, via target specific variables. This fixes dpkg builds with default configure pathnames. t-conffile-root-option/Makefile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit 7db2279a8c3a5316cd7bb44ab76899aa94c6563a Author: Helge Kreutzmann Date: Wed Jul 25 11:11:56 2018 +0200 Update German translation of manual pages Update to 2923t1f. man/po/de.po | 109 ++++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 75 insertions(+), 34 deletions(-) commit cf35077be42ef79da5d83ce26f4a27a22591f246 Author: Helge Kreutzmann Date: Wed Jul 25 09:47:13 2018 +0200 Update German scripts translation Update to 600t. scripts/po/de.po | 62 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) commit c353a449b26b85bf512d92976fe5c1af23deeb06 Author: Guillem Jover Date: Tue Jul 24 00:47:01 2018 +0200 dpkg-buildpackage: Mark profiles as a replaceable item in --help output debian/changelog | 1 + scripts/dpkg-buildpackage.pl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 869d40414e691ad2e7a6b42b48040a2bcd5e0e94 Author: Guillem Jover Date: Tue Jul 24 00:47:01 2018 +0200 dpkg-buildpackage: Fold --[no-]check-builddeps into short option descriptions This makes it easier to read which long option matches the short option. debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) commit 1c741c507eadcdfc6dbb43610d3aab1387a3122e Author: Guillem Jover Date: Tue Jul 24 00:47:01 2018 +0200 dpkg-buildpackage: Add --build equivalents for short build type options This makes the --help output clearer, and matches the man page. debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 14 +++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) commit 0a1573e5df2f38eb0d2c2c29654cb8c352474c1e Author: Guillem Jover Date: Tue Jul 24 00:47:01 2018 +0200 dpkg-buildpackage: Clarify pre and post-clean options and their default state debian/changelog | 2 ++ man/dpkg-buildpackage.man | 3 ++- scripts/dpkg-buildpackage.pl | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) commit 8a45c914095bcb19a873b20099e161efe3237bfc Author: Guillem Jover Date: Tue Jul 24 00:47:01 2018 +0200 dpkg-buildpackage: Add new --no-post-clean option This makes it possible to select the current default behavior. debian/changelog | 2 ++ man/dpkg-buildpackage.man | 5 +++++ scripts/dpkg-buildpackage.pl | 3 +++ 3 files changed, 10 insertions(+) commit 4014981b968a8e3c734d5113ce7a323d3ace13ad Author: Guillem Jover Date: Tue Jul 24 00:37:33 2018 +0200 dpkg-buildpackage: Rename and logic invert $noclean to $postclean Makes the purpose of the variable clear. scripts/dpkg-buildpackage.pl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 48c809f7c8e1949519c209c6ec74a6e2db4fd164 Author: Guillem Jover Date: Tue Jul 24 00:33:01 2018 +0200 dpkg-buildpackage: Rename $cleansource to $postclean Makes the purpose of the variable clear. scripts/dpkg-buildpackage.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit d5374bc618310917557daa9c9ac2f4930515a0b2 Author: Guillem Jover Date: Sat Jun 16 18:33:15 2018 +0200 Dpkg::BuildFlags: Move default flags setting into the Dpkg::Vendor modules This should really be a vendor specific default. It's also documented that way in the man page. debian/changelog | 2 ++ scripts/Dpkg/BuildFlags.pm | 18 +++++++----------- scripts/Dpkg/Vendor/Debian.pm | 18 +++++++++++++++++- 3 files changed, 26 insertions(+), 12 deletions(-) commit 2d02a12697808b01b360e7ceb52864c0873f7eac Author: Guillem Jover Date: Sat Jun 16 18:33:15 2018 +0200 Dpkg::Vendor::Debian: Inline _parse_feature_area() into _add_build_flags() This function was being called on each foreach iteration to parse the options within the DEB_BUILD_MAINT_OPTIONS and DEB_BUILD_OPTIONS environment variables, and needed to parse these at construction time every time. Inlining it should make it more performant and in addition reduce line count. debian/changelog | 2 ++ scripts/Dpkg/Vendor/Debian.pm | 20 +++++++------------- 2 files changed, 9 insertions(+), 13 deletions(-) commit 63e02e0aabe17cb87929037db3939b3e575e97f6 Author: Guillem Jover Date: Thu Jun 14 02:53:23 2018 +0200 Dpkg::Shlibs: Disable bool overload Dpkg::Version warnings The usage in this file is correct, but we are still doing boolean evaluation. debian/changelog | 1 + scripts/Dpkg/Shlibs/Symbol.pm | 4 ++++ scripts/Dpkg/Shlibs/SymbolFile.pm | 4 ++++ 3 files changed, 9 insertions(+) commit 563fd74ef926b23207d58108071d91b7c8ba2507 Author: Guillem Jover Date: Thu Jun 14 02:51:24 2018 +0200 Dpkg::Shlibs::SymbolFile: Always assign proper Dpkg::Version to deprecated We should always assign a proper Dpkg::Version object to the deprecated variable. Otherwise it can get confused with the scalar value 0 used on boolean context to denote it is *not* deprecated, instead of it being a version number 0. debian/changelog | 4 ++++ scripts/Dpkg/Shlibs/SymbolFile.pm | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 76daf7b7dd594d720f81fa32fbf3e19c1fb9e5ff Author: Guillem Jover Date: Tue Jun 5 05:25:58 2018 +0200 Dpkg::Version: Bump VERSION and improve semantic change description Give context to the warning message, otherwise it's not clear what is going on. If the users to not conditionalize the warning usage they will get a perl warning about the unknown warning category itself, bump the module version to be able to discern this change, and update documentation to reflect this. scripts/Dpkg/Version.pm | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 65d4418371f17df498027c3c414cafe6e8d0770a Author: Guillem Jover Date: Mon May 28 02:17:02 2018 +0200 man: Clarify PIE build flag feature semantics Mention the specific .specs files being used. Reword the description to make it more clear what is going on. Closes: #900088 debian/changelog | 1 + man/dpkg-buildflags.man | 31 +++++++++++++++++++------------ 2 files changed, 20 insertions(+), 12 deletions(-) commit 6e5bd738efef1a0de4268ad12d87c27dfe91a687 Author: Guillem Jover Date: Sat May 26 05:29:30 2018 +0200 Use Synopsis instead of Summary for the short Description This unifies the term with the rest of the codebase, and makes it more descriptive. debian/changelog | 3 +++ lib/dpkg/libdpkg.map | 2 +- lib/dpkg/pkg-format.c | 11 ++++++----- lib/dpkg/pkg-show.c | 8 ++++---- lib/dpkg/pkg-show.h | 4 ++-- man/dpkg-query.man | 5 ++++- src/enquiry.c | 2 +- src/querycmd.c | 4 ++-- 8 files changed, 23 insertions(+), 16 deletions(-) commit d9bc580a419232420abb9620638cfbfe74943ff2 Author: Guillem Jover Date: Wed May 23 03:58:27 2018 +0200 test: Add new po author test Use i18nspector (if available) to check the .po and .pot files. Makefile.am | 1 + debian/changelog | 1 + scripts/Test/Dpkg.pm | 26 ++++++++++++++++++++++++++ t/po.t | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 78 insertions(+) commit be5de1e00e4e4f5e2cea171063414118a844ec7d Author: Guillem Jover Date: Fri May 25 02:36:54 2018 +0200 po: Remove previous msgid comments Warned-by: i18nspector Fixes: stray-previous-msgid man/po/nl.po | 242 ----------------------------------------------------------- po/nl.po | 42 ----------- 2 files changed, 284 deletions(-) commit e5f9394ac03b7415259e2f7288df69dec4ab6612 Author: Guillem Jover Date: Fri May 25 02:35:43 2018 +0200 po: Fix boilerplate in .po files Warned-by: i18nspector Fixes: boilerplate-in-initial-comments dselect/po/bs.po | 8 ++++---- dselect/po/el.po | 8 +++----- dselect/po/eu.po | 4 ++-- dselect/po/nl.po | 2 +- dselect/po/ro.po | 2 +- dselect/po/zh_CN.po | 6 +++--- dselect/po/zh_TW.po | 7 +++---- man/po/hu.po | 3 ++- man/po/pt_BR.po | 3 ++- po/bs.po | 8 ++++---- po/dz.po | 9 +++++---- po/el.po | 6 +++--- po/km.po | 6 +++--- po/ku.po | 4 ++-- po/pa.po | 3 +-- po/ro.po | 2 +- 16 files changed, 40 insertions(+), 41 deletions(-) commit bc83e06c37a23145e0134e100ac8343f975fc8f3 Author: Guillem Jover Date: Mon Jul 23 12:24:02 2018 +0200 debian: Fix bug closure debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3c4272bb90086c05436b6e4b7a19fc11780c2afb Author: Guillem Jover Date: Fri Oct 22 01:11:42 2010 +0200 Track package status dirtinness Now that the status changes are abstracted via a setter, which makes sure only new changes are recorded, we can also record whether those changes happened, so that we avoid unnecessarily logging unchanged states. Closes: #365921 debian/changelog | 2 ++ lib/dpkg/dbmodify.c | 14 +++++++++----- lib/dpkg/dpkg-db.h | 3 +++ lib/dpkg/pkg.c | 2 ++ 4 files changed, 16 insertions(+), 5 deletions(-) commit 2dadfc74f74f66ee7685ad402ad99dc9ea1476c0 Author: Guillem Jover Date: Mon Jul 23 12:08:58 2018 +0200 dpkg-buildpackage: Only check required build dependencies for known targets When we specify the debian/rules targets to call with --rules-target, we should check only the build dependencies required bu those targets, and nothing more. Reported-by: Johannes Schauer debian/changelog | 3 +++ scripts/dpkg-buildpackage.pl | 5 +++++ 2 files changed, 8 insertions(+) commit 23322f43e80ce0c67a361b3b00c680e170fee58f Author: Guillem Jover Date: Mon Jul 23 12:02:38 2018 +0200 Dpkg::Build::Types: Add new set_build_type_from_targets() function debian/changelog | 1 + scripts/Dpkg/Build/Types.pm | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) commit ca394f0f03e9ab025a09e4c99ad4ccfc73550f46 Author: Guillem Jover Date: Mon Jul 23 11:58:23 2018 +0200 Dpkg::Build::Types: Fix set_build_type_from_options() description debian/changelog | 1 + scripts/Dpkg/Build/Types.pm | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 503ab33b937ced36c154952c026c0f608ae1180e Author: Guillem Jover Date: Thu Jul 5 05:19:09 2018 +0200 dpkg-buildpackage: Only check for fallback build targets on binary builds If we are not going to build any binary package, there is no point in checking whether we need to run any of the build targets. debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) commit 5cd52673aabdf5eaa58181972119a41041fc85f2 Author: Guillem Jover Date: Mon Jul 23 13:13:19 2018 +0200 dpkg-buildpackage: Fix --rules-file option parsing Parse --rules-file instead of --rules-target, which made it a no-op. Fixes: commit 293bd243a19149165fc4fd8830b16a51d471a5e9 Stable-Candidate: 1.18.x debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 3525d759e6279de35f14bb6492ad0c7c5676f8c2 Author: Guillem Jover Date: Mon Jul 23 13:14:57 2018 +0200 build: Distribute Build.PL from the builddir not sourcedir This file is generated by configure, so we will not find it in the source directory. cpan.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5a2885b3b91aeada6176f34fb9897345751c960f Author: Guillem Jover Date: Mon Jul 23 12:53:34 2018 +0200 build: Distribute autogen script Fixes: commit c72f539b979a0c8647d2a6c62ee45565cd243b3d Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 8b9dfc4fa3cdf3dc3d8e724edc7a402a481cb666 Author: Helge Kreutzmann Date: Thu Jul 19 19:37:57 2018 +0200 Update German translation of manual pages Update to 2919t1f. man/po/de.po | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) commit 40eccd5c044c874cf7fa5f8dc8e2c75379395d8a Author: Guillem Jover Date: Mon May 14 23:26:07 2018 +0200 scripts: Do not use stringy eval to define different sub implementations We can just assign an anonymous sub to the typeglob. debian/changelog | 3 +++ scripts/Dpkg/Gettext.pm | 58 +++++++++++++++++++---------------------- scripts/dpkg-mergechangelogs.pl | 10 +++---- 3 files changed, 34 insertions(+), 37 deletions(-) commit aa0404293ff1a3d81353acb8c7495fe9eb382c92 Author: Guillem Jover Date: Sat May 12 22:56:13 2018 +0200 dpkg: Check for ldconfig command only on platforms that do have it We should implement a whitelist here, instead of a blacklist. Not all ELF based libc do have a ldconfig command. debian/changelog | 1 + src/help.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit 178d8914519ead4113df423f2a275c21b712f666 Author: Guillem Jover Date: Thu Jun 14 02:50:36 2018 +0200 Update git URLs for move away from alioth.debian.org The Alioth site has shut down, let's move to the new dpkg.org hosting. README | 2 +- configure.ac | 4 ++-- debian/changelog | 2 ++ debian/control | 4 ++-- man/deb-src-control.man | 4 ++-- 5 files changed, 9 insertions(+), 7 deletions(-) commit 43c42496d0bc3bcbd12def7fff8f0935b1de3dc3 Author: Guillem Jover Date: Thu May 10 15:04:39 2018 +0200 dpkg-divert: Do not assume that diversions are always present Several code paths assumed that the fsys nodes were only present when they contained diversions, and no other nodes would be present, thus did not make sure to check whether the divert struct members were valid. With the switch to a single fsys underlying implementation now triggers can vivify namenodes in the hash, so we need to check whether the members are valid all the time. Fixes: commit 2d7566140335d5338e5a98278d4df762936f67f4 Reported-by: Sven Joachim Bisected-by: Sven Joachim src/divertcmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit df0a86de45006f9f2b2980a0ad2e81640271a685 Author: Guillem Jover Date: Tue May 8 14:16:38 2018 +0200 dpkg-buildpackage: Avoid using an uninitialized variable If DEB_SIGN_KEYID is not set in the environment or the signing key is not passed via --sign-key, dpkg-buildpackage emits a perl warning. Warned-by: perl Fixes: commit 6f903af181057a046a1344aadca552b113a2c2ee Based-on-patch-by: Sven Joachim scripts/dpkg-buildpackage.pl | 1 + 1 file changed, 1 insertion(+) commit de903bf55ab658da953f22bd02296274cb680c58 Author: Sven Joachim Date: Sat May 5 20:01:39 2018 +0200 po: Fix list of source files in po/POTFILES.in Commit 542885e824d0 ("libdpkg: Move control database code into db-ctrl modules") moved various files around, but did not remove the old filenames from po/POTFILES.in and typoed one of the new filenames there. Fixes: commit 542885e824d005bc9a8a92e341f71fb323437b90 Signed-off-by: Guillem Jover po/POTFILES.in | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit ec5c992b099d4e2773eee513ba2c7b246ace95f1 Author: Sven Joachim Date: Sat May 5 20:32:20 2018 +0200 German dpkg translation update Update to 1115t. po/de.po | 148 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 93 insertions(+), 55 deletions(-) commit f75c579ac18d0a9956cd1fd5275fe797e8cb89f8 Author: Helge Kreutzmann Date: Sat May 5 05:03:04 2018 +0200 Update German scripts translation Update to 600t. scripts/po/de.po | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) commit 43dc5fa95f5241ce790b727c405f96caaad12c19 Author: Guillem Jover Date: Sat May 5 02:50:03 2018 +0200 Dpkg::Changelog::Parse: Stop using tail(1) to read the end of the file Instead of relying on the tail command, simply read the end of the file ourselves, assuming a packed set of 80 character lines, reading 4096 bytes before the end, implies around 51 lines, which is close to the 40 lines currently used. This should be both faster and should improve portability, because even if we are using the POSIX -n option, some systems do not have a POSIX compliant tail(1) on the default path, such as Solaris. Analysis-by: James Clarke debian/changelog | 4 ++++ scripts/Dpkg/Changelog/Parse.pm | 10 +++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) commit 2dc4354934aa940ea37324e0aabde4f6379536f0 Author: Guillem Jover Date: Sat May 5 02:40:24 2018 +0200 libdpkg: Use MD5_CTX instead of struct MD5Context The former is more portable as it's defined in more system md5.h implementations, such as Solaris, while the latter is not. Analysis-support-by: Bruno Ramos from IRC debian/changelog | 2 ++ lib/dpkg/buffer.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 08755e7885dbab3d354252fda8144ff5a59a4c41 Author: Guillem Jover Date: Sat May 5 03:27:29 2018 +0200 debian: Fix libncurses-dev Build-Depends Fixes: commit 114121d649b57bea9236b807d7c57bc918c67723 Thanks-to: Sven Joachim debian/changelog | 3 ++- debian/control | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) commit cfb1a840cb45a38b484abec8c6f4f32cdbf4643c Author: Helge Kreutzmann Date: Fri May 4 20:30:18 2018 +0200 Update German translation of manual pages Update to 2919t1f. man/po/de.po | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 69 insertions(+), 10 deletions(-) commit ff99aabc8c3d966911137aa05bef4b4cd80671ec Author: Helge Kreutzmann Date: Fri May 4 19:58:06 2018 +0200 Update German scripts translation Update to 601t. scripts/po/de.po | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit 6675001502ece8e72c8b3853a76a9b248b91b295 Author: Guillem Jover Date: Thu Apr 26 03:51:23 2018 +0200 dpkg: Print the environment variables setup for the conffile shell Make these variables more discoverable by printing them as a list before spawning the conffile shell. debian/changelog | 2 ++ src/configure.c | 4 ++++ 2 files changed, 6 insertions(+) commit 80556f6590b4b2da3aaf14f5a27c1555b36f11a1 Author: Guillem Jover Date: Sun Apr 22 19:04:04 2018 +0200 dpkg: Fix a short-lived file descriptor leak Warned-by: coverity src/main.c | 2 ++ 1 file changed, 2 insertions(+) commit 6f903af181057a046a1344aadca552b113a2c2ee Author: Guillem Jover Date: Wed Aug 17 00:55:56 2016 +0200 dpkg-buildpackage: Validate OpenPGP signing key IDs We should not accept short key IDs, and warn about long key IDs. Recommend to use fingerprints. debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) commit 981a18c37036b68f368b0bfab71d2a984abba9e6 Author: Guillem Jover Date: Sun Apr 8 22:43:09 2018 +0200 Dpkg::Version: Fix bool overload behavior The current bool overload has broken semantics, because it considers the version "0" to be false. The bool overload used to have sane semantics (equivalent to is_valid()) before commit 5b9f353b2940de751df47036608afbe71992d622, but there it got changed to return the stringified version if it was valid, or undef otherwise, to fix a problem within dpkg-shlibdeps, instead of properly fixing the local-only problem in the tool. This makes the overload hard to use, and broke existing callers from external projects. We will emit a warning until dpkg 1.20.x to notify of the semantic change in case there is code relying on the broken semantics. For fixed code the warning can then be quiesced with: no warnings qw(Dpkg::Version::semantic_change::overload::bool); Closes: #895004 debian/changelog | 4 ++++ scripts/Dpkg/Version.pm | 20 +++++++++++++++++--- scripts/dpkg-shlibdeps.pl | 3 ++- scripts/t/Dpkg_Version.t | 17 ++++++++--------- t/pod-spell.t | 1 + 5 files changed, 32 insertions(+), 13 deletions(-) commit fd8f838450ab89e3011c1a48061e0247d205ea96 Author: Guillem Jover Date: Sun Apr 8 22:42:10 2018 +0200 scripts: Refresh test data and update code to match scripts/t/Dpkg_Shlibs.t | 3 +- scripts/t/Dpkg_Shlibs/objdump.basictags-amd64 | 89 ++- scripts/t/Dpkg_Shlibs/objdump.basictags-i386 | 93 ++-- scripts/t/Dpkg_Shlibs/objdump.basictags-mips | 91 ++- scripts/t/Dpkg_Shlibs/objdump.ls | 771 +++++++++++++++++--------- scripts/t/Dpkg_Shlibs/objdump.patterns | 377 +++++++------ scripts/t/Dpkg_Shlibs/objdump.spacesyms | 151 +++-- 7 files changed, 911 insertions(+), 664 deletions(-) commit c972dfdcd85d92a39998b81a0fb23dc63935b137 Author: Guillem Jover Date: Sun Apr 8 22:38:27 2018 +0200 Dpkg::Shlibs::Objdump: Fix ELF program detection An ELF executable is defined by whether the object has the EXEC_P flag defined or an interpreter in the program header. The former applies to statically linked programs, the latter to dynamically linked programs and possibly some shared libraries that can be executed, such as the ones provided by glibc. This is now more relevant as PIE makes normal executables show up as shared objects, so they do not contain the EXEC_P flag, and were not being detected as executables. debian/changelog | 2 ++ scripts/Dpkg/Shlibs/Objdump.pm | 10 ++++++++-- scripts/t/Dpkg_Shlibs.t | 6 ++++-- 3 files changed, 14 insertions(+), 4 deletions(-) commit b9090a05af10b4f12adbc796fdc846c667ac7670 Author: Guillem Jover Date: Sun Apr 8 22:34:35 2018 +0200 Dpkg::Shlibs::Objdump: Remove duplicate assignment in reset() method scripts/Dpkg/Shlibs/Objdump.pm | 1 - 1 file changed, 1 deletion(-) commit 9dab03c99a64cd15536f153e0705ec16e686c2d5 Author: Guillem Jover Date: Thu Apr 12 05:52:02 2018 +0200 dpkg-source: Do not emit perl warnings on source formats w/o options At least the format "3.0 (native)" supports no format specific options, which makes the describe_cmdline_options() return an empty list. debian/changelog | 2 ++ scripts/dpkg-source.pl | 1 + 2 files changed, 3 insertions(+) commit 542885e824d005bc9a8a92e341f71fb323437b90 Author: Guillem Jover Date: Thu Apr 5 04:58:20 2018 +0200 libdpkg: Move control database code into db-ctrl modules This continues the work to generalize and make these interfaces available to other users beside dpkg itself. lib/dpkg/Makefile.am | 4 ++++ src/infodb-access.c => lib/dpkg/db-ctrl-access.c | 5 ++--- src/infodb-format.c => lib/dpkg/db-ctrl-format.c | 3 +-- src/infodb-upgrade.c => lib/dpkg/db-ctrl-upgrade.c | 5 ++--- src/infodb.h => lib/dpkg/db-ctrl.h | 10 +++++----- po/POTFILES.in | 3 +++ src/Makefile.am | 9 +-------- src/archives.c | 2 +- src/depcon.c | 2 +- src/enquiry.c | 2 +- src/filesdb-hash.c | 2 +- src/filesdb.c | 2 +- src/packages.c | 2 +- src/querycmd.c | 2 +- src/remove.c | 2 +- src/script.c | 2 +- src/select.c | 2 +- src/trigproc.c | 2 +- src/unpack.c | 2 +- src/verify.c | 2 +- 20 files changed, 31 insertions(+), 34 deletions(-) commit 0615492cb4c79d1f552e49f4a10dbfc959f03b9c Author: Julian Andres Klode Date: Sun Jan 29 13:46:09 2017 +0100 libdpkg: Introduce frontend locking Currently, in order to run dpkg, frontends have to release the database lock before invoking dpkg and re-acquire it afterwards, leaving a short time where the database is unlocked and a different dpkg process or frontend could lock it. Frontend locking addresses the problem by creating a "lock-frontend" file that is acquired by the frontend and not released for dpkg invocations. Thus, multiple frontends cannot race for the database lock. This change extends the frontend lock to dpkg itself, acquiring it whenever the variable DPKG_FRONTEND_LOCKED is not set, so that a user manually running dpkg or a frontend not supporting this protocol cannot interfere with a currently running frontend. [guillem@debian.org: - Add documentation. - Rename frontend lock file. - Fix error strings. ] Signed-off-by: Guillem Jover debian/changelog | 4 ++++ doc/frontend.txt | 22 +++++++++++----------- lib/dpkg/dbmodify.c | 21 +++++++++++++++++++++ lib/dpkg/dpkg.h | 1 + man/dpkg.man | 4 ++++ 5 files changed, 41 insertions(+), 11 deletions(-) commit 2d7566140335d5338e5a98278d4df762936f67f4 Author: Guillem Jover Date: Wed Apr 4 03:06:44 2018 +0200 libdpkg: Use a single struct filenamenode definition The struct filenamenode hash implementation is lightweight, and once split from the bulk of the on-disk database handling there's no point in reimplementing it, and then redefining the same struct in multiple places, which is rather confusing for the reader, and even for static analyzers. Closes: #746766 debian/changelog | 2 ++ lib/dpkg/triglib.c | 32 +------------------------------- lib/dpkg/triglib.h | 3 +++ src/trigcmd.c | 2 ++ src/trigproc.c | 8 +------- 5 files changed, 9 insertions(+), 38 deletions(-) commit f1cc66e522a475710aa51a6d164a8cc0eda3cae7 Author: Guillem Jover Date: Wed Apr 4 02:51:51 2018 +0200 libdpkg: Move filesystem nodename hash implementation into a new module lib/dpkg/Makefile.am | 3 + lib/dpkg/fsys-hash.c | 169 +++++++++++++++++++++++++++++++ lib/dpkg/fsys-iter.c | 126 +++++++++++++++++++++++ src/filesdb.h => lib/dpkg/fsys.h | 164 ++++++++++++++---------------- lib/dpkg/libdpkg.map | 18 ++++ po/POTFILES.in | 2 + src/filesdb.c | 209 --------------------------------------- src/filesdb.h | 122 +---------------------- 8 files changed, 395 insertions(+), 418 deletions(-) commit c2715071aa64807c9b95edd7c6e4cd8c3eb4ad8c Author: Guillem Jover Date: Wed Apr 4 02:48:32 2018 +0200 dpkg-divert: Warn when using --rename on a file from an Essential package Renaming a file from dpkg-divert for an Essential package is very dangerous, because that file will not be available until dpkg has unpacked the diverting package, which might render the system non-functional. debian/changelog | 1 + src/divertcmd.c | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) commit 599e3c1a9f3be8687c00b681f107e7b98bb454ae Author: Guillem Jover Date: Mon Apr 9 02:04:15 2018 +0200 dpkg-divert: Warn when using --add or --remove w/o --rename or --no-rename Using --no-rename as the default optimizes for the wrong case, as that's the exception, and while the safest option, it is needed only by packages that are part of the pseudo-Essential set. It's also cumbersome for the --local case. We will emit a warning asking those to be explicit, so that we can switch the default to --rename during the 1.20.x cycle. Prompted-by: Paul Wise debian/changelog | 1 + man/dpkg-divert.man | 4 +++- src/divertcmd.c | 16 +++++++++++++++- src/t/dpkg_divert.t | 9 +++++---- 4 files changed, 24 insertions(+), 6 deletions(-) commit ca90fbfa7c020bc92cdec9f3b2cad9076626f7a0 Author: Guillem Jover Date: Mon Apr 2 16:33:11 2018 +0200 dpkg-divert: Add new --no-rename option Document its intended usage and how it differs from --rename. This will make it possible to do a behavior switch during the 1.20.x release cycle. debian/changelog | 2 ++ man/dpkg-divert.man | 12 +++++++++++- src/divertcmd.c | 4 +++- 3 files changed, 16 insertions(+), 2 deletions(-) commit 64fca5b2fc9b12d5971453d62bef439132b78d42 Author: Guillem Jover Date: Sun Apr 1 22:16:53 2018 +0200 dpkg: Add new fsys_hash_entries() function to abstract nfiles access This will be needed when moving the fsys hash implementation into libdpkg. src/filesdb.c | 11 +++++++++-- src/filesdb.h | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) commit 2c765a394f539a6e0e9c60b78a07b9c215ef644a Author: Guillem Jover Date: Fri Mar 23 05:34:06 2018 +0100 src: Fix database modules to not depend unnecessarily on main.h src/divertdb.c | 2 +- src/statdb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit d6c8af723fb79f96e1bcc3d87e952e0a7a9eea0e Author: Guillem Jover Date: Sun Apr 1 03:23:10 2018 +0200 dpkg-checkbuilddeps: Fix indentation scripts/dpkg-checkbuilddeps.pl | 69 +++++++++++++++++++++--------------------- 1 file changed, 34 insertions(+), 35 deletions(-) commit 114121d649b57bea9236b807d7c57bc918c67723 Author: Guillem Jover Date: Mon Apr 30 01:30:44 2018 +0200 debian: Add libncurses-dev as the first Build-Depends alternative This is part of the ncurses 6 transition, and the previous packages are now transitional, let's use the current one and leave the old for backwards compatibility. debian/changelog | 1 + debian/control | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit c72f539b979a0c8647d2a6c62ee45565cd243b3d Author: Guillem Jover Date: Thu Apr 26 03:36:36 2018 +0200 build: Add an autogen script This conforms to general expectations, and makes having to infer what is needed to prepare the source tree more easily discoverable. README | 2 +- autogen | 5 +++++ debian/changelog | 1 + debian/rules | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) commit 22685bcfa8aa4b13bfd95a117320fc0bedfa6715 Author: Guillem Jover Date: Sat Mar 31 17:47:14 2018 +0200 build: Add CPAN distribution machinery Add a new dist-cpan target that takes care of preparing a perl distribution to be uploaded to CPAN. Only the modules are shipped, some of which do require dpkg tools being installed though. Closes: #821177 Makefile.am | 4 ++- configure.ac | 9 ++++++- cpan.am | 48 ++++++++++++++++++++++++++++++++++ debian/changelog | 1 + scripts/.gitignore | 1 + scripts/Build.PL.in | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++ scripts/Test/Dpkg.pm | 20 +++++++++++--- 7 files changed, 152 insertions(+), 5 deletions(-) commit 9999d4b6bdefe5ccf54ffda534cd243ea1de89a4 Author: Guillem Jover Date: Sat Mar 31 17:16:16 2018 +0200 build: Make PERL_MIN_VERSION also a configure output variable We need to rename the m4 macro to avoid infinite loops. We will need this output variable for the CPAN support. m4/dpkg-progs.m4 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 5cc92fcf27b65c069a7e21da491debb0afa692a4 Author: Guillem Jover Date: Sat Mar 31 17:22:39 2018 +0200 Dpkg: Fix default DATADIR Even though we always override it from the build system the default pathname got out-of-sync with the repository when the architecture tables got moved into the data directory. Fixes: commit 97309bef8b664c2d58cb689a3e82848021ae9bad scripts/Dpkg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 94728ead2cc22af5043b16483aab1e4f5a50223c Author: Guillem Jover Date: Sun Apr 29 01:26:10 2018 +0200 Revert "Dpkg::Deps: Accept $archqual for add_provided_package() method" This reverts commit 83272497c5be8c4e703ab179906cf904465fe775. This commit introduced a regression in the author test suite. And there's a patch by Johannes 'josch' Schauer which should be fixing this and other problems. If this is needed after all, we will need to refactor the functions first to take a hash instead of a long list of arguments. debian/changelog | 1 - scripts/Dpkg/Deps.pm | 14 ++++---------- scripts/dpkg-checkbuilddeps.pl | 2 +- scripts/dpkg-genbuildinfo.pl | 3 +-- scripts/dpkg-gencontrol.pl | 3 +-- 5 files changed, 7 insertions(+), 16 deletions(-) commit 9f7e58acdf28043bce2dfaf24ba27bb878418658 Author: Guillem Jover Date: Wed Mar 15 13:33:09 2017 +0100 Use internerr() or BUG() instead of assert() The problem with assert() is that it does not print the contents of the variables. It also can be disabled on NDEBUG. But we always want these consistency checks no matter what, and they are not performance sensitive anyway. Enable -Wno-nonnull-compare so that we can keep doing run-time non-NULL checks in functions, instead of just compile-time checks. TODO | 1 - debian/changelog | 3 +++ debian/rules | 7 ++++- debian/usertags | 3 ++- dpkg-split/join.c | 5 ++-- dselect/baselist.cc | 6 +++-- dselect/main.cc | 1 - dselect/methlist.cc | 11 +++++--- dselect/method.cc | 7 ++--- dselect/methparse.cc | 5 ++-- dselect/pkgdepcon.cc | 4 +-- dselect/pkglist.cc | 23 +++++++++++----- dselect/pkgsublist.cc | 9 ++++--- dselect/pkgtop.cc | 5 ++-- lib/dpkg/arch.c | 4 +-- lib/dpkg/dbmodify.c | 18 +++++++++---- lib/dpkg/dump.c | 68 +++++++++++++++++++++++++++++++---------------- lib/dpkg/file.c | 4 +-- lib/dpkg/parse.c | 6 +++-- lib/dpkg/path-remove.c | 4 +-- lib/dpkg/pkg-array.c | 5 ++-- lib/dpkg/pkg-db.c | 7 ++--- lib/dpkg/pkg.c | 6 +++-- lib/dpkg/triglib.c | 15 ++++++++--- m4/dpkg-compiler.m4 | 1 + src/archives.c | 19 +++++++++---- src/configure.c | 5 ++-- src/depcon.c | 13 +++++---- src/enquiry.c | 5 ++-- src/filesdb.c | 10 ++++--- src/packages.c | 23 +++++++++++----- src/script.c | 6 +++-- src/trigproc.c | 15 +++++++---- src/unpack.c | 18 +++++++++---- utils/start-stop-daemon.c | 8 +++--- 35 files changed, 235 insertions(+), 115 deletions(-) commit 9622251478262d26ab6e01aa865417370a533069 Author: Guillem Jover Date: Sun Mar 25 16:37:38 2018 +0200 s-s-d: Switch an internal error from a fatal() to a BUG() call This one is a programming bug, and should not be reported as a normal fatal error. debian/changelog | 2 ++ utils/start-stop-daemon.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 4a6e59ebda3148aeffcab80db57bf114436232b0 Author: Guillem Jover Date: Sun Mar 25 16:36:29 2018 +0200 s-s-d: Add support for new bug() function and BUG() macro These will take care of reporting internal errors or programming bugs in the code. utils/start-stop-daemon.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 88d4da0a6c8ae18ddce08cee27c16abb72f8c454 Author: Guillem Jover Date: Sun Mar 25 15:12:57 2018 +0200 dselect: Fix assert() to expect methlockfd to be initialized The assert should be checking whether the method lock fd has been initialized, not whether it's not zero, which happens to be the case with the default uninitialized -1 value. debian/changelog | 2 ++ dselect/method.cc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit f87f8d43113a48e2a9b5261dca758e87895721f2 Author: Guillem Jover Date: Wed Mar 15 13:33:09 2017 +0100 dpkg: Switch DEBIAN/conffile parsing assert() into an ohshit() This is a run-time error, not a programming error. debian/changelog | 2 ++ src/unpack.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) commit ecab1a59e2d2e2be01c08cd9ebe1f783eb26e5ae Author: Guillem Jover Date: Wed Mar 15 13:33:09 2017 +0100 dselect: Assume that m_malloc() never returns NULL The m_-prefixed functions are already taking care of that. dselect/cxx-support.cc | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) commit cd96cca4b2cf83f46d6e289418ed06e3c2ef7066 Author: Guillem Jover Date: Fri Mar 16 04:33:31 2018 +0100 libdpkg: Make pkg_name() and pkgbin_name() get const structs Modifying the struct pkginfo and struct pkgbin complicates how the code is used, and when the function can be called. Let's just initialize the pkgname_archqual variable at parse time, so that we can use it at any time, simplifying the overall code. lib/dpkg/dpkg-db.h | 7 +++---- lib/dpkg/dump.c | 10 ++-------- lib/dpkg/parse.c | 10 ++++++++++ lib/dpkg/pkg-show.c | 17 ++--------------- 4 files changed, 17 insertions(+), 27 deletions(-) commit ac3134292ecb5ea5f203c3fa1376cbc093d35518 Author: Guillem Jover Date: Fri Mar 16 04:17:16 2018 +0100 libdpkg: Add new str_concat() function lib/dpkg/libdpkg.map | 1 + lib/dpkg/string.c | 19 +++++++++++++++++++ lib/dpkg/string.h | 1 + lib/dpkg/t/t-string.c | 34 +++++++++++++++++++++++++++++++++- 4 files changed, 54 insertions(+), 1 deletion(-) commit 738d1fdb056d3137f4d6291ac72386b0ced17769 Author: Helge Kreutzmann Date: Sun Mar 25 06:57:33 2018 +0200 Update German translation of manual pages Update to 2915t1f. man/po/de.po | 39 +++++++++++++++++++++++++-------------- 1 file changed, 25 insertions(+), 14 deletions(-) commit 3aa636491f02f84efc789f9f2f263d792fa7bd7a Author: Guillem Jover Date: Sun Mar 25 01:55:38 2018 +0100 debian: Add bzip2 and xz-utils to Build-Depends The functional test suite under t-func/ uses these compression tools to unpack a test .deb package. This has not been a problem up-to-now because dpkg-dev, which gets installed on the build systems, depends also on these packages. But the dependencies are really missing. Prompted-by: Bálint Réczey debian/changelog | 2 ++ debian/control | 3 +++ 2 files changed, 5 insertions(+) commit 0d9c18d163ca37ef4c0c2127f8ec901f721d1473 Author: Guillem Jover Date: Sat Mar 24 19:37:51 2018 +0100 libcompat: Convert md5 module to use C99 int types In commit 1f4d0354fc4a8c80c6463b9aaebd93822247341b we opted to map the BSD int types to the C99 to avoid modifying the imported code. But we had to modify it anyway, those types are legacy and we require the C99 ones for the rest of the codebase. So let's just switch to them, and get rid of the type compatibility mapping. configure.ac | 1 - debian/changelog | 2 ++ lib/compat/md5.c | 20 ++++++++++---------- lib/compat/md5.h | 14 ++++++++------ m4/dpkg-types.m4 | 20 -------------------- 5 files changed, 20 insertions(+), 37 deletions(-) commit 1e892d4e03cc396bd84e7f478d9cba77bfa40c70 Author: Guillem Jover Date: Sat Mar 24 19:58:47 2018 +0100 libcompat: Add md5 module to the libcompat-test library We have slightly modified the source and might continue to do so in the future, we should thus test that it builds correctly, even if we are not needing it on the current build. debian/changelog | 3 +++ lib/compat/Makefile.am | 1 + 2 files changed, 4 insertions(+) commit fd36605d790d82d42c6bfb83db0cc77a0cea3a35 Author: Guillem Jover Date: Sat Mar 24 06:08:36 2018 +0100 Revert "debian: Disable R³ field until debhelper supports it" This reverts commit ba52826a3429b9037e1876ba63c51afb211f151d. R³ is supported fully now by debhelper, so we can use it when building ourselves. debian/changelog | 1 - debian/control | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) commit 544dd8967940aeee11b47b53a8df6f88110a9a16 Author: Guillem Jover Date: Thu Mar 22 04:00:07 2018 +0100 Dpkg::Vendor::Debian: Mark riscv64 as having gcc built-in PIE support debian/changelog | 1 + scripts/Dpkg/Vendor/Debian.pm | 1 + 2 files changed, 2 insertions(+) commit cba523f59c2d8f18d8b1e9940681579f871034ce Author: Guillem Jover Date: Thu Mar 22 03:59:28 2018 +0100 Dpkg::Vendor::Debian: Split pie builtin arches one per line This makes changing them easier to see when diffing. scripts/Dpkg/Vendor/Debian.pm | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) commit 83272497c5be8c4e703ab179906cf904465fe775 Author: Guillem Jover Date: Mon Feb 6 03:52:50 2017 +0100 Dpkg::Deps: Accept $archqual for add_provided_package() method debian/changelog | 1 + scripts/Dpkg/Deps.pm | 14 ++++++++++---- scripts/dpkg-checkbuilddeps.pl | 2 +- scripts/dpkg-genbuildinfo.pl | 3 ++- scripts/dpkg-gencontrol.pl | 3 ++- 5 files changed, 16 insertions(+), 7 deletions(-) commit f7488217a506871f1aed58373220a76ea2e170ab Author: Guillem Jover Date: Mon Feb 6 03:17:32 2017 +0100 Dpkg::Deps: Turn virtualpkg tracking from an arrayyref into a hashref This is more extensible and more clear. debian/changelog | 1 + scripts/Dpkg/Deps.pm | 19 ++++++++++++++----- scripts/dpkg-genbuildinfo.pl | 3 +-- 3 files changed, 16 insertions(+), 7 deletions(-) commit e7e4dbd3c1ca0d270a49787e6c8f34a488e09d5d Author: Guillem Jover Date: Sun Mar 25 01:36:03 2018 +0100 build: Enable gcc-7 -Wregister warning if available debian/changelog | 1 + m4/dpkg-compiler.m4 | 1 + 2 files changed, 2 insertions(+) commit 9fb2b44c59e409bf5541d77fd31c961ef1d01265 Author: Guillem Jover Date: Sun Mar 25 01:21:01 2018 +0100 build: Enable clang -Wdocumentation warning if available Fix a couple of function parameter typos surfaced by the new warning. Warned-by: clang debian/changelog | 1 + dpkg-deb/build.c | 8 ++++---- m4/dpkg-compiler.m4 | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) commit 2f8793d09cbe9c20bd62259c6361119aecf73105 Author: Guillem Jover Date: Sun Mar 25 05:18:18 2018 +0200 build: Sort warning options This makes it easier to add new ones without accidentally adding duplicates. m4/dpkg-compiler.m4 | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) commit b268b7096a970ced824d0ab0dc62b6f0e770230c Author: Guillem Jover Date: Sun Mar 25 05:16:32 2018 +0200 build: Automatically replace -Wno- with -W when testing compiler flags This is less error prone, less repetitive and the correct thing to do ayway. Instead of manually passing the positive form for these flags. debian/changelog | 2 ++ m4/dpkg-compiler.m4 | 10 ++++------ 2 files changed, 6 insertions(+), 6 deletions(-) commit a597f069a9147d5d868637e276f712e41e836512 Author: Guillem Jover Date: Fri Mar 2 00:38:18 2018 +0100 build: Mark command variables as precious debian/changelog | 1 + m4/dpkg-progs.m4 | 2 ++ 2 files changed, 3 insertions(+) commit fe789543b6f36ea0517812b21d47841a8e42911b Author: Guillem Jover Date: Wed Jan 3 02:36:54 2018 +0100 deb-src-control(5): Document the Testsuite and Testsuite-Triggers fields Prompted-by: Mattia Rizzolo (on IRC) debian/changelog | 2 ++ man/deb-src-control.man | 9 +++++++++ 2 files changed, 11 insertions(+) commit ddb22cc8e90c329af1e38f1cdddb6f0c6d48712a Author: Helge Kreutzmann Date: Thu Feb 22 18:30:22 2018 +0100 Update German translation of manual pages Update to 2914t1f. man/po/de.po | 49 ++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 42 insertions(+), 7 deletions(-) commit 79b681f5675ce9068b5b5e93da0def5f93c9c247 Author: Helge Kreutzmann Date: Thu Feb 22 18:22:19 2018 +0100 Update German scripts translation Update to 599t. scripts/po/de.po | 65 +++++++++++++++++++++++++++++++------------------------- 1 file changed, 36 insertions(+), 29 deletions(-) commit 003dd27ceea43e3d487a853f4e9d344eb1c3cb2a Author: Guillem Jover Date: Mon Feb 19 23:28:51 2018 +0100 debian: Fix some typos in the changelog debian/changelog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 6c45a0a42932f0156506ad9fbbb9b85c16ec2499 Author: Guillem Jover Date: Mon Feb 5 19:22:20 2018 +0100 dpkg: Increment the line number on --set-selections on unknown packages When the package is not known, we do an early skip to the next loop iteration, but forgot to increment the line number, which means that these will be off. Closes: #888983 Reported-by: Heinz Repp debian/changelog | 2 ++ src/select.c | 1 + 2 files changed, 3 insertions(+) commit f6e152b63f9eb183313807898be0569f5321bdf6 Author: Jack Bates Date: Tue Jan 30 20:46:27 2018 +0000 scripts/mk: Export architecture variables by default The dpkg-architecture(1) man page states that these variables are exported, and that's what dpkg-buildpackage does itself when setting up the build environment. Doing this is always safe. Closes: #888964 Signed-off-by: Guillem Jover debian/changelog | 3 +++ scripts/mk/architecture.mk | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit e226e6cf5507eebd4888d3d11e1b65752af6752f Author: Guillem Jover Date: Sat Feb 3 03:24:00 2018 +0100 Dpkg::Source::Package: Print building lines for upstream tarball signatures When we are picking up upstream tarball signatures, we should also print them as being used to create the source package. Closes: #888787 debian/changelog | 2 ++ scripts/Dpkg/Source/Package/V1.pm | 5 ++++- scripts/Dpkg/Source/Package/V2.pm | 18 ++++++++++++------ 3 files changed, 18 insertions(+), 7 deletions(-) commit dde2a51557ccde71a536d5e4a9af236bcb45be9c Author: Guillem Jover Date: Sat Feb 3 03:24:00 2018 +0100 Dpkg::Source::Package::V2: Print one building line per existing tarball Lumping all found tarballs into a single line makes the output more confusing. debian/changelog | 1 + scripts/Dpkg/Source/Package/V2.pm | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit b988d6be020eb8362167b195fb0de658a4db3642 Author: Guillem Jover Date: Sun Nov 12 03:08:49 2017 +0100 spec/R³: Declare specification as recommendation, stable debian/changelog | 1 + doc/rootless-builds.txt | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit 585db35d2356193e679dff3eb73d99e65c575f7b Author: Guillem Jover Date: Sat Oct 28 12:56:42 2017 +0200 dpkg-buildpackage: Add new --rules-requires-root This new option makes it possible to force falling back to the legacy behavior of assuming that debian/rules files require root. debian/changelog | 1 + man/dpkg-buildpackage.man | 4 ++++ scripts/dpkg-buildpackage.pl | 8 +++++++- 3 files changed, 12 insertions(+), 1 deletion(-) commit 566a4b61b6c3359c3d4cffa05519ecbc967b292c Author: Guillem Jover Date: Wed Jan 3 02:20:20 2018 +0100 spec/R³: Add new DEB_RULES_REQUIRES_ROOT variable This variable is set by the builder to notify debian/rules that it supports this specification. Wordsmithing-by: Niels Thykier debian/changelog | 1 + doc/rootless-builds.txt | 9 +++++++++ man/dpkg-buildpackage.man | 7 +++++++ scripts/dpkg-buildpackage.pl | 3 +++ 4 files changed, 20 insertions(+) commit 36f8ff64764d301d151e55c256b9913f1ada94e3 Author: Guillem Jover Date: Wed Jan 3 01:59:17 2018 +0100 spec/R³: The DEB_GAIN_ROOT_CMD should preserve the environment Proposed-by: Josh Triplett debian/changelog | 2 ++ doc/rootless-builds.txt | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) commit f6095fa5db1e4d277a0660806875375d60286250 Author: Guillem Jover Date: Wed Jan 3 01:57:30 2018 +0100 dpkg-buildpackage: Do not set DEB_GAIN_ROOT_CMD on The specification is clear on this, and we should not be setting this variable when the values are different to "no" and "binary-targets". debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 5 +++++ 2 files changed, 7 insertions(+) commit 28fee8b445cd94bf7efd76f6c3fd0c62bdf94b6d Author: Guillem Jover Date: Wed Jan 3 01:54:51 2018 +0100 spec/R³: Rename DPKG_GAIN_ROOT_CMD to DEB_GAIN_ROOT_CMD This variable should not be dpkg specific, as it is supposed to be set by any builder driving the package build, and not just dpkg itself. Introduce ephemereal backwards compatibility by mapping the old name to the new one, even thught there are no known users. debian/changelog | 4 ++++ doc/rootless-builds.txt | 14 +++++++++----- man/dpkg-buildpackage.man | 2 +- scripts/dpkg-buildpackage.pl | 4 +++- 4 files changed, 17 insertions(+), 7 deletions(-) commit cfb7a0e98b05e41cdbe9f695fd9f625c7a119b81 Author: Guillem Jover Date: Sun Dec 10 13:36:11 2017 +0100 dpkg-gensymbols: Print "error" instead of "warning" when these are fatal It's confusing to emit the compare problems as warnings when they cause the program to exit with an error exit code. Closes: #881488 debian/changelog | 2 ++ scripts/dpkg-gensymbols.pl | 31 +++++++++++++++++++------------ 2 files changed, 21 insertions(+), 12 deletions(-) commit 81591e0f2590052ff221964c8c554bbbd39763b5 Author: Guillem Jover Date: Sat Jan 13 02:34:46 2018 +0100 Dpkg::Vendor::Debian: Mark hurd-i386 as having built-in PIE support Requested-by: Samuel Thibault debian/changelog | 2 ++ scripts/Dpkg/Vendor/Debian.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit ee0855cc66076691de4796be48f8a0d889fde001 Author: Manuel A. Fernandez Montecelo Date: Tue Jan 16 00:43:51 2018 +0100 arch: Add support for riscv64 CPU [guillem@debian.org: - Update unit-tests. ] Closes: #822914 Stable-Candidate: 1.18.x Signed-off-by: Guillem Jover data/cputable | 1 + debian/changelog | 3 +++ scripts/t/Dpkg_Arch.t | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) commit 2f5816d8be40b449d2473b22f9e0c33b32f3bd78 Author: Guillem Jover Date: Sun Dec 10 12:07:42 2017 +0100 scripts: Reject negated values in Architecture field Add new positive options argument to arch validators, as the Architecture field should not accept negated architectures. We preserve the current functions default behavior and add a new option to control whether to reject negated architectures. Fixes: commit d355b340f3a6cde7fc1cb5649d82fbebd3b97ea1 Stable-Candidate: 1.18.x debian/changelog | 3 +++ scripts/Dpkg/Arch.pm | 28 ++++++++++++++++++++++------ scripts/dpkg-genchanges.pl | 4 ++-- scripts/dpkg-gencontrol.pl | 2 +- scripts/t/Dpkg_Arch.t | 9 ++++++++- 5 files changed, 36 insertions(+), 10 deletions(-) commit 797ed78bd87c77b6fa9c3867d0fefa90bb21014c Author: Guillem Jover Date: Tue Dec 5 01:56:15 2017 +0100 scripts/mk: Add new buildtools variables This adds support for AS, STRIP, OBJCOPY, OBJDUMP, NM, AR and RANLIB. Prompted-by: Helmut Grohne debian/changelog | 2 ++ scripts/mk/buildtools.mk | 14 ++++++++++++++ scripts/t/mk.t | 7 +++++++ scripts/t/mk/buildtools.mk | 14 ++++++++++++++ 4 files changed, 37 insertions(+) commit b29058ea75ce28f95b373b0c36deffd4b57d466b Author: Dmitry Shachnev Date: Sun Dec 3 03:37:23 2017 +0100 Dpkg::Shlibs::SymbolFile: Check that $state->{seen} exists instead of $state being defined Fixes: commit 0d2b3cee25b74dd3fd9ddc3a469b8b144368c963 Closes: #880166 Signed-off-by: Guillem Jover debian/changelog | 3 +++ scripts/Dpkg/Shlibs/SymbolFile.pm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 876855ff96f6dd72cbb92fa57bc316576f585737 Author: Guillem Jover Date: Sun Oct 29 18:40:54 2017 +0100 test: Infer automatically the unit test temp directory Add new test_get_temp_path() function, and replace all hardcoded settings of the temporary directory and its creation. debian/changelog | 1 + scripts/Test/Dpkg.pm | 13 +++++++++++++ scripts/t/Dpkg_Compression.t | 4 ++-- scripts/t/Dpkg_OpenPGP.t | 4 +--- scripts/t/Dpkg_Path.t | 4 ++-- scripts/t/Dpkg_Source_Patch.t | 2 +- scripts/t/dpkg_buildpackage.t | 6 ++---- scripts/t/dpkg_source.t | 6 ++---- 8 files changed, 24 insertions(+), 16 deletions(-) commit 33c866433dd4b186aae970e05c639b52ad5e7ece Author: Guillem Jover Date: Sun Oct 29 18:40:54 2017 +0100 test: Infer automatically the unit test data directory We can easily know the name of the calling unit test, and can thus infer the pathname for the data directory, instead of having to duplicate the name, and potentially ending with it being out of sync. debian/changelog | 1 + scripts/Test/Dpkg.pm | 18 ++++++++++++++++-- scripts/t/Dpkg_Changelog.t | 2 +- scripts/t/Dpkg_Checksums.t | 2 +- scripts/t/Dpkg_Conf.t | 2 +- scripts/t/Dpkg_Control.t | 2 +- scripts/t/Dpkg_Control_Fields.t | 2 +- scripts/t/Dpkg_Control_Tests.t | 2 +- scripts/t/Dpkg_Dist_Files.t | 2 +- scripts/t/Dpkg_OpenPGP.t | 2 +- scripts/t/Dpkg_Shlibs.t | 2 +- scripts/t/Dpkg_Source_Patch.t | 2 +- scripts/t/Dpkg_Source_Quilt.t | 2 +- scripts/t/Dpkg_Substvars.t | 2 +- scripts/t/mk.t | 4 +++- 15 files changed, 32 insertions(+), 15 deletions(-) commit d6ba39af48a8c8eadc1b1542fcd6db0edf2dbe7f Author: Guillem Jover Date: Sun Oct 29 18:18:39 2017 +0100 test: Consider *.PL also to be perl files debian/changelog | 1 + scripts/Test/Dpkg.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 11e20af76b831cb569950c341cf78c55d7ad9a00 Author: Guillem Jover Date: Sun Oct 29 18:17:07 2017 +0100 test: Check POD in all perl scripts We should check POD syntax in any perl script that contains it, not just within the Dpkg perl modules. debian/changelog | 1 + t/pod.t | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) commit eac83d72e7cd82a8a07e601f2381b39b62b1b2fa Author: Guillem Jover Date: Sun Oct 29 15:37:54 2017 +0100 build: Set distribution tarball format to ustar Use it instead of the default v7 format. configure.ac | 2 +- debian/changelog | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) commit 5003d763fdd29fe9533b2927eb083d6e6d6d98d4 Author: Guillem Jover Date: Sat Oct 28 03:27:46 2017 +0200 dpkg-deb: Fix directory traversal with --raw-extract Guarantee that the DEBIAN pathname does not exist. Closes: #879982 Reported-by: Jakub Wilk debian/changelog | 3 +++ dpkg-deb/dpkg-deb.h | 2 ++ dpkg-deb/extract.c | 16 ++++++++-------- 3 files changed, 13 insertions(+), 8 deletions(-) commit fe186374cd2a287723fe227fe37ea4a5373822c0 Author: Paul Wise Date: Mon Dec 4 15:12:50 2017 +0800 Dpkg::Changelog: Print versions for incorrect changelog range warnings Within scripts operating on lots of different package changelogs, this can help track down where these warnings come from. Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/Dpkg/Changelog.pm | 18 +++++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) commit 0e894ddaa68792246bd03a5dcf3f2e56fd2aeb74 Author: Guillem Jover Date: Fri Oct 27 22:06:58 2017 +0200 Dpkg::Vendor::Debian: Use proper use_feature key We need to access the features within the feature area hash now. Missed in a previous refactoring. Fixes: commit 2125e8dd7388e2adb9b6c837f4832fe8f0f63b25 Reported-by: Mattia Rizzolo (on IRC) Closes: #881051 debian/changelog | 3 +++ scripts/Dpkg/Vendor/Debian.pm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit bae5051ec6219be508b46bab785cddf1f04904f0 Author: Guillem Jover Date: Sat Jan 13 02:35:24 2018 +0100 libdpkg: Include for makedev() The glibc implementation provides this macro in and optionally the BSD variants in , although the latter are being deprecated and emit a warning with newer glibc. Conditionally include to prepare for the future removal from glibc. debian/changelog | 1 + lib/dpkg/tarfn.c | 3 +++ 2 files changed, 4 insertions(+) commit 52564e68c64a3e39e0e50ea1ec06ac66eaab5ef3 Author: Frans Spiesschaert Date: Sun Dec 3 03:32:40 2017 +0100 po: Update Dutch translations Closes: #881401, #881403 Signed-off-by: Guillem Jover debian/changelog | 2 + man/po/nl.po | 576 ++++++++++++++++++++++++++++++------------------------- po/nl.po | 93 ++++----- 3 files changed, 366 insertions(+), 305 deletions(-) commit 63b4236297f2df1f909eeac156998be2f254b41e Author: Mert Dirik Date: Tue Jan 16 01:10:55 2018 +0100 po: Update Turkish programs translations Closes: #886252 Signed-off-by: Guillem Jover debian/changelog | 1 + po/tr.po | 109 +++++++++++++++++-------------------------------------- 2 files changed, 35 insertions(+), 75 deletions(-) commit 0fa461b1c0823cf7a82ed10a72d3d5eb5530a9f6 Author: Milo Casagrande Date: Sun Dec 3 03:25:06 2017 +0100 po: Update Italian programs translation Closes: #883085 Signed-off-by: Guillem Jover debian/changelog | 1 + po/it.po | 629 +++++++++++++++++-------------------------------------- 2 files changed, 189 insertions(+), 441 deletions(-) commit b9798daaa596ad5d539bcdd5ca89de1cb0b81697 Author: Guillem Jover Date: Mon Nov 20 15:32:32 2017 +0100 po: Fix Spanish translation po/es.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3ed0cc75a0113a5eda762b9a19448e78ce43097e Author: Javier Fernández-Sanguino Peña Date: Wed Nov 8 01:06:25 2017 +0100 Update Spanish translation debian/changelog | 1 + dselect/po/es.po | 94 +++++++-------------- po/es.po | 243 ++++++++++++++++++------------------------------------- 3 files changed, 108 insertions(+), 230 deletions(-) commit 28436a28b91f3bdbc7216150a15f1f087f06e66b Author: Helge Kreutzmann Date: Fri Nov 3 19:13:24 2017 +0100 Update German translation of manual pages Update to 2910t1f. man/po/de.po | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 58 insertions(+), 6 deletions(-) commit d3159e98fc7e2c405814a0edc1e3d5b2e40f55de Author: Sven Joachim Date: Fri Nov 3 17:10:59 2017 +0100 German dpkg translation update Update to 1109t. debian/changelog | 3 ++ po/de.po | 95 +++++++++++++++++--------------------------------------- 2 files changed, 31 insertions(+), 67 deletions(-) commit 0485bbdee8491e328b976cb1697c4aa54c28382b Author: Guillem Jover Date: Mon Oct 23 00:58:21 2017 +0200 debian: Bump Standards-Version to 4.1.1 (no changes needed) debian/changelog | 1 + debian/control | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit e1792f2285fc68fee89d63572a8de31b38dddce6 Author: Guillem Jover Date: Sun Oct 22 23:28:06 2017 +0200 debian: Add Breaks dgit << 3.13~ to libdpkg-perl Older dgit versions assumed that Dpkg::Compression::Process was available, via implicit import from Dpkg::Source::Package. Reported-by: Ian Jackson debian/changelog | 4 ++++ debian/control | 3 +++ 2 files changed, 7 insertions(+) commit 948fe221afc7f540b2de6760affa94c9373c0452 Author: Guillem Jover Date: Sun Oct 22 23:18:07 2017 +0200 debian: Add Breaks debhelper << 10.10.1~ to dpkg-dev We want to make debhelper users that will use R³ support not having to add a versioned Depends on the relevant dpkg-dev package. debian/changelog | 2 ++ debian/control | 3 +++ 2 files changed, 5 insertions(+) commit 8998ff736606402771745ff27dc43b2cc1165b09 Author: Guillem Jover Date: Sun Oct 22 17:29:10 2017 +0200 dpkg-maintscript-helper: Add color support The initial color support only covered the C and perl programs, and missed this shell script. debian/changelog | 1 + man/dpkg-maintscript-helper.man | 8 +++++ scripts/dpkg-maintscript-helper.sh | 64 +++++++++++++++++++++++++++++++++++--- 3 files changed, 69 insertions(+), 4 deletions(-) commit 365c88f0d4e5dc136ff0c539e83835aa0d85808b Author: Guillem Jover Date: Sun Oct 22 19:46:55 2017 +0200 man: Document DPKG_NLS environment variable for all programs using it debian/changelog | 1 + man/dpkg-architecture.man | 5 +++++ man/dpkg-buildflags.man | 5 +++++ man/dpkg-buildpackage.man | 5 +++++ man/dpkg-checkbuilddeps.man | 5 +++++ man/dpkg-distaddfile.man | 5 +++++ man/dpkg-genbuildinfo.man | 5 +++++ man/dpkg-genchanges.man | 5 +++++ man/dpkg-gencontrol.man | 5 +++++ man/dpkg-gensymbols.man | 5 +++++ man/dpkg-mergechangelogs.man | 5 +++++ man/dpkg-name.man | 5 +++++ man/dpkg-parsechangelog.man | 5 +++++ man/dpkg-scanpackages.man | 5 +++++ man/dpkg-scansources.man | 5 +++++ man/dpkg-shlibdeps.man | 5 +++++ man/dpkg-source.man | 5 +++++ man/dpkg-vendor.man | 5 +++++ 18 files changed, 86 insertions(+) commit ee81e7843c7127a4335ea902c58baf67043d61a3 Author: Guillem Jover Date: Sun Oct 22 18:51:30 2017 +0200 man: Document DPKG_COLORS environment variable for all programs using it debian/changelog | 1 + man/dpkg-architecture.man | 6 ++++++ man/dpkg-buildflags.man | 5 +++++ man/dpkg-checkbuilddeps.man | 5 +++++ man/dpkg-deb.man | 5 +++++ man/dpkg-distaddfile.man | 7 +++++++ man/dpkg-divert.man | 5 +++++ man/dpkg-genbuildinfo.man | 5 +++++ man/dpkg-genchanges.man | 7 +++++++ man/dpkg-gencontrol.man | 7 +++++++ man/dpkg-gensymbols.man | 6 ++++++ man/dpkg-mergechangelogs.man | 7 +++++++ man/dpkg-name.man | 7 +++++++ man/dpkg-parsechangelog.man | 7 +++++++ man/dpkg-query.man | 5 +++++ man/dpkg-scanpackages.man | 7 +++++++ man/dpkg-scansources.man | 7 +++++++ man/dpkg-shlibdeps.man | 7 +++++++ man/dpkg-source.man | 5 +++++ man/dpkg-split.man | 5 +++++ man/dpkg-statoverride.man | 5 +++++ man/dpkg-trigger.man | 5 +++++ man/dpkg-vendor.man | 5 +++++ 23 files changed, 131 insertions(+) commit 1cfd01e99fa80325d35948afaa3c483a8e876fb6 Author: Guillem Jover Date: Sun Oct 22 17:28:57 2017 +0200 doc: Fix typo in a date doc/coding-style.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b484d99fb62631a5f7949f6069948242c42678c4 Author: Helge Kreutzmann Date: Sun Oct 22 07:01:20 2017 +0200 Update German translation of manual pages Update to 2907t1f. man/po/de.po | 56 +++++++++++++++++++++++++++----------------------------- 1 file changed, 27 insertions(+), 29 deletions(-) commit db6c5b5043e51c196818c2d24070c089ca9ea1d4 Author: Christoph Biedl Date: Fri Oct 20 01:29:48 2017 +0200 Dpkg::Source::Package::V1: Check that $tarname is defined before use Closes: #879124 Warned-by: perl Signed-off-by: Guillem Jover debian/changelog | 4 ++++ scripts/Dpkg/Source/Package/V1.pm | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit adddd73d8bdff96ce5343a03220c37c187bbe8c9 Author: Guillem Jover Date: Sat Oct 21 13:21:45 2017 +0200 po: Remove obsolete FIXME comments in translations These have been fixed in the original msgid. dselect/po/es.po | 3 +-- po/es.po | 7 +------ 2 files changed, 2 insertions(+), 8 deletions(-) commit 78e824f4e26156ee6edb8b80ad30125f818c11f3 Author: Guillem Jover Date: Sat Oct 21 13:21:00 2017 +0200 man: Add missing dot on the dpkg-buildflags «lfs» paragraph Spotted-by: Helge Kreutzmann debian/changelog | 2 ++ man/dpkg-buildflags.man | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit c18496842f69044d3ae8d05378daf35779583c2a Author: Guillem Jover Date: Sat Oct 21 13:17:45 2017 +0200 dselect: Stop marking an untranslatable string as such Spotted-by: Santiago Vila dselect/method.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b4e46fab018e3d5ae813642b20b955d8a5327b1e Author: Guillem Jover Date: Thu Oct 19 01:39:14 2017 +0200 dpkg-buildpackage: Setup and check rootcommand only if needed When building in R³ mode or when the user requested to run a rule as root we should setup the rootcommand, otherwise we should ignore it. Reported-by: Niels Thykier debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 46 +++++++++++++++++++++++++------------------- 2 files changed, 28 insertions(+), 20 deletions(-) commit c84fa61a459b9c6f9217c361485de6c0650b279f Author: Guillem Jover Date: Thu Oct 19 00:52:32 2017 +0200 dpkg-buildpackage: Run dpkg-source from the current directory It used to be the case that dpkg-source did not support running from the current directory. That got fixed in commit a7f16be86689ee46f4b2e445e5f08a63f447cdeb. Which means we can simplify the code. debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 16 +++------------- 2 files changed, 5 insertions(+), 13 deletions(-) commit 96547b59076841cb85a2682870cf6742dbb9a3e3 Author: Guillem Jover Date: Thu Oct 19 00:51:54 2017 +0200 dpkg-buildpackage: Pass the debian/control source stanza to R³ parser This meant the field was being ignored. debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit ba52826a3429b9037e1876ba63c51afb211f151d Author: Guillem Jover Date: Thu Oct 19 00:51:21 2017 +0200 debian: Disable R³ field until debhelper supports it If we use a dpkg that fully supports the field, with a debhelper that does not, this will produce broken builds. Disable for now, until such debhelper has been released, and then we'll need to add some kind of relationship to avoid the problem. debian/changelog | 1 + debian/control | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit 4d731a01e5a7c845c59df9128198e38385f1da9a Author: Helge Kreutzmann Date: Wed Oct 18 20:49:41 2017 +0200 Update German translation of manual pages Update to 2907t1f. man/po/de.po | 138 +++++++++++++++++++++++------------------------------------ 1 file changed, 53 insertions(+), 85 deletions(-) commit 99072a426755a8ee2b8d62114f05638f89af4d90 Author: Guillem Jover Date: Wed Oct 18 01:16:43 2017 +0200 doc: Update gettext minimal version in README README | 2 +- debian/changelog | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) commit 7e48a3921244dcaa0c2bf9fadd53a52ab230212a Author: Guillem Jover Date: Tue Oct 17 22:42:16 2017 +0200 dpkg-buildpackage: Do not rehash .dsc file when signing binary-only builds Reported-by: Ximin Luo Stable-Candidate: 1.18.x debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit a3a9527efb1345ac71014dd59da911db05e99ea0 Author: Guillem Jover Date: Tue Oct 17 21:20:53 2017 +0200 dpkg-buildpackage: Fix logic to decide whether to call the build targets The build targets never require root, so checking them will always return false. We need to key on the binary target instead. This broke tons of packages that are violating Debian policy MUSTs. Thanks-to: James Clarke Closes: #878899 debian/changelog | 3 +++ scripts/dpkg-buildpackage.pl | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 833274b1e2dc9551a346531dfd0b83bd417ad595 Author: Guillem Jover Date: Tue Oct 17 21:59:17 2017 +0200 debian: Add Breaks to libdpkg-perl against pkg-kde-tools That package is using private modules with no API guarantees, and broke due to recent changes in 1.19.0. Closes: #878919 debian/changelog | 3 +++ debian/control | 3 +++ 2 files changed, 6 insertions(+) commit c721e45e62b5e1cdf228dea835acfe67ca059f35 Author: Helge Kreutzmann Date: Tue Oct 17 22:01:09 2017 +0200 Update German translation of manual pages Update to 2890t12f6u. debian/changelog | 3 +++ man/po/de.po | 25 +++++++++---------------- 2 files changed, 12 insertions(+), 16 deletions(-) commit 0b449f11f86006b830fa07b9eca0f5f5cd04f1e8 Author: Helge Kreutzmann Date: Tue Oct 17 21:29:59 2017 +0200 Update German scripts translation Update to 599t. debian/changelog | 3 +++ scripts/po/de.po | 50 ++++++++++++++++---------------------------------- 2 files changed, 19 insertions(+), 34 deletions(-) commit a8a817f6c601651185f0b44b23d4bc7c799a7cd7 Author: Guillem Jover Date: Tue Oct 17 04:58:15 2017 +0200 build: Cleanup the correct polkit file Fixes: commit 5757ab6142a3785389bd2cd6375f103a1f626240 utils/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5757ab6142a3785389bd2cd6375f103a1f626240 Author: Guillem Jover Date: Tue Oct 17 04:43:38 2017 +0200 debian: Install update-alternatives policykit-1 file debian/changelog | 2 ++ debian/dpkg.install | 1 + utils/.gitignore | 2 +- utils/Makefile.am | 6 +++--- 4 files changed, 7 insertions(+), 4 deletions(-) commit e92108eac0c3acb33758bd5bdf1f0d25f1ee498e Author: Guillem Jover Date: Tue Oct 17 04:07:19 2017 +0200 scripts/t: Skip Dpkg::OpenPGP test if gpg is not present debian/changelog | 3 ++- scripts/t/Dpkg_OpenPGP.t | 12 +++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) commit 3a9c75bdda65c2a87fa802d7f1b10e578a49d0c0 Author: Guillem Jover Date: Tue Oct 17 03:10:58 2017 +0200 Bump version to 1.19.1 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 90d2887c67f2b1d0915169cc49725bb774083aba Author: Guillem Jover Date: Tue Oct 17 01:53:35 2017 +0200 Release 1.19.0 debian/changelog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit b0500cbbabaab727cf89a6fec73c417f90d11cf6 Author: Guillem Jover Date: Tue Oct 17 02:09:25 2017 +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/de.po | 215 +- man/po/dpkg-man.pot | 6698 +++++++++++++++++++++++++---------------------- man/po/es.po | 858 +++++- man/po/fr.po | 957 +++++-- man/po/hu.po | 740 +++++- man/po/it.po | 959 +++++-- man/po/ja.po | 858 ++++-- man/po/nl.po | 1207 +++++++-- man/po/pl.po | 861 ++++-- man/po/pt_BR.po | 725 ++++- man/po/ru.po | 744 +++++- man/po/sv.po | 955 +++++-- man/po/zh_CN.po | 741 +++++- po/ast.po | 240 +- po/bs.po | 185 +- po/ca.po | 239 +- po/cs.po | 237 +- po/da.po | 225 +- po/de.po | 117 +- po/dpkg.pot | 167 +- po/dz.po | 197 +- po/el.po | 215 +- po/eo.po | 225 +- po/es.po | 243 +- po/et.po | 192 +- po/eu.po | 233 +- po/fr.po | 247 +- po/gl.po | 213 +- po/hu.po | 197 +- po/id.po | 217 +- po/it.po | 243 +- po/ja.po | 235 +- po/km.po | 197 +- po/ko.po | 219 +- po/ku.po | 181 +- po/lt.po | 197 +- po/mr.po | 194 +- po/nb.po | 217 +- po/ne.po | 199 +- po/nl.po | 241 +- po/nn.po | 199 +- po/pa.po | 186 +- po/pl.po | 233 +- po/pt.po | 336 ++- po/pt_BR.po | 211 +- po/ro.po | 243 +- po/ru.po | 225 +- po/sk.po | 229 +- po/sv.po | 225 +- po/th.po | 225 +- po/tl.po | 227 +- po/tr.po | 247 +- po/vi.po | 231 +- po/zh_CN.po | 237 +- po/zh_TW.po | 225 +- scripts/po/ca.po | 160 +- scripts/po/de.po | 75 +- scripts/po/dpkg-dev.pot | 106 +- scripts/po/es.po | 152 +- scripts/po/fr.po | 153 +- scripts/po/pl.po | 151 +- scripts/po/ru.po | 149 +- scripts/po/sv.po | 149 +- 94 files changed, 18024 insertions(+), 8844 deletions(-) commit 7598ecb905a058de4211e74675ef426e9b9d82e4 Author: Miguel Figueiredo Date: Tue Oct 17 01:09:20 2017 +0200 po: Update Portuguese programs translations Closes: #868800 Signed-off-by: Guillem Jover debian/changelog | 1 + po/pt.po | 188 ++++++++++++++++++++++++------------------------------- 2 files changed, 84 insertions(+), 105 deletions(-) commit 70252402dc326a958992e29e87b86de5b45016a7 Author: Boyuan Yang <073plan@gmail.com> Date: Sat Oct 7 20:14:19 2017 +0800 po: Fix errors in Simplified Chinese programs translation * The word "build" should be translated as "构建" instead of "编译", which means "compilation". * The word "alphanumeric" should be translated as "字母数字的" instead of "字母的", which means "alphabetic". Closes: #877929 Reviewed-by: Zhou Mo Signed-off-by: Guillem Jover debian/changelog | 2 +- po/zh_CN.po | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) commit a0d21db5d77eb2d1d6af51520ca2aad6350310f6 Author: Guillem Jover Date: Mon Oct 16 10:30:06 2017 +0200 po: Add Catalan translations for policykit file po/ca.po | 8 ++++++++ 1 file changed, 8 insertions(+) commit 8e2bbd2ab23edd7d9ea0b424a2f1791a0136a741 Author: Guillem Jover Date: Sun Aug 20 02:14:36 2017 +0200 u-a: Add new policykit file This makes it possible to use the pkexec tool to execute u-a from GUI programs. We need to bump the gettext build-dependency to at least 0.19.7 which is the first version introducing ITS support and GETTEXTDATADIR variable support (GETTEXTDATADIRS support was added in 0.19.8). Proposed-by: Boyuan Yang <073plan@gmail.com> Makefile.am | 2 ++ configure.ac | 19 +++++++------------ debian/changelog | 2 ++ debian/control | 4 ++-- po/Makevars | 7 +++++++ po/POTFILES.in | 1 + po/its/polkit.its | 7 +++++++ po/its/polkit.loc | 6 ++++++ utils/.gitignore | 1 + utils/Makefile.am | 19 +++++++++++++++++++ utils/update-alternatives.polkit.in | 20 ++++++++++++++++++++ 11 files changed, 74 insertions(+), 14 deletions(-) commit 53dbac6cdff347fc8acc8cdacf7e509ceadd7f5d Author: Guillem Jover Date: Sun Jan 22 20:09:24 2017 +0100 dpkg-deb: Fix capitalization of Debian in output messages Here Debian refers to the distribution and in English this needs to be capitalized. No translation will be unfuzzed, as the capitalization rules change among locales. Warned-by: spellintian debian/changelog | 1 + dpkg-deb/extract.c | 8 ++++---- t-func/deb-format.at | 14 +++++++------- 3 files changed, 12 insertions(+), 11 deletions(-) commit 2e344c2119c5a55a3180ddd61c67f8a657520ceb Author: Guillem Jover Date: Sat Sep 16 13:43:52 2017 +0200 Dpkg::Getopt: Do not normalize args past a passthrough stop word Some commands pass some arguments through to another command, and those must not be normalized as that might break their invocation. Reported-by: Helmut Grohne Stable-Candidate: 1.17.x 1.18.x debian/changelog | 4 ++++ scripts/Dpkg/Getopt.pm | 13 ++++++++----- scripts/dpkg-architecture.pl | 2 +- scripts/dpkg-parsechangelog.pl | 2 +- scripts/t/Dpkg_Getopt.t | 11 ++++++++--- 5 files changed, 22 insertions(+), 10 deletions(-) commit e23943051599ff21e6ca955ac8e5ead4cda1891c Author: Guillem Jover Date: Sun Apr 9 03:17:26 2017 +0200 Dpkg::Deps: Do not unnecessarily require setting the host_arch If we are not reducing the architectures, or we are not going to use the known facts, we do not need to know and set the host architecture, which relies on gcc being present. Closes: #856396 debian/changelog | 2 ++ scripts/Dpkg/Deps.pm | 18 +++++++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) commit 4bf65e6ba11fb5097b82073bea48e1ae4a96f5d7 Author: Guillem Jover Date: Sun Apr 9 03:16:40 2017 +0200 Dpkg::Arch: Do not emit a perl warning if gcc or dpkg is not found We are emitting options or errors elsewhere. debian/changelog | 2 ++ scripts/Dpkg/Arch.pm | 4 ++++ 2 files changed, 6 insertions(+) commit 44b0bf1a576e3b0cfcb4c87f18d4195c3ffccb8f Author: Guillem Jover Date: Mon Oct 9 08:15:25 2017 +0200 dpkg: Print the package name on maintainter script errors When processing an archive or a package, we can call maintainer script for other packages. Not printing the package name for the script that failed means we can get very confusing output. Closes: #877521 debian/changelog | 1 + src/script.c | 29 ++++++++++++++++++++++------- 2 files changed, 23 insertions(+), 7 deletions(-) commit f9d1a5cdfcc6d2cd0afc008f4070289533904fd7 Author: Guillem Jover Date: Tue Oct 17 00:46:38 2017 +0200 Dpkg::ErrorHandling: Unify subprocess errors with the ones from libdpkg debian/changelog | 1 + scripts/Dpkg/ErrorHandling.pm | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) commit db880e67e10a6b1b33102955027c5d79c49df6d2 Author: Guillem Jover Date: Mon Oct 16 21:37:42 2017 +0200 libdpkg: Clarify subprocess error message by shuffling it around For command-names the current message was more or less fine. But for command descriptions the message made little sense. debian/changelog | 1 + lib/dpkg/subproc.c | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) commit 0f5d107191fa58a4092d9ce17d079a50c82c4332 Author: Guillem Jover Date: Fri Oct 6 03:35:40 2017 +0200 debian: Add git and bzr to Suggests for libdpkg-perl The Dpkg::Source::Package::V3 source formats can use them. Closes: #877688 debian/changelog | 1 + debian/control | 4 ++++ 2 files changed, 5 insertions(+) commit d9ba911e0bb30f2f8e290b7b8a80f527616a3034 Author: Guillem Jover Date: Sat Oct 7 03:41:55 2017 +0200 Dpkg::Source::Package: Call source format prerequisites method if present We want to be able to check for prerequisites when loading the source format module. That function used to be called import, which is a misnomer here, and was not being invoked. Rename it to the more appropriate prerequisites() and call it if it's present from the module loading code. Addresses: #877688 debian/changelog | 2 ++ scripts/Dpkg/Source/Package.pm | 1 + scripts/Dpkg/Source/Package/V3/Bzr.pm | 2 +- scripts/Dpkg/Source/Package/V3/Git.pm | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) commit e48a0b532be96f587c5d479c150ba50857792fff Author: Guillem Jover Date: Fri Oct 6 09:39:07 2017 +0200 Dpkg::Source::Package::V3: Use find_command() instead of ad-hoc code debian/changelog | 2 ++ scripts/Dpkg/Source/Package/V3/Bzr.pm | 7 ++----- scripts/Dpkg/Source/Package/V3/Git.pm | 7 ++----- 3 files changed, 6 insertions(+), 10 deletions(-) commit 0b1391fd2c30e9ad955fde84c90c30509877b5c4 Author: Guillem Jover Date: Sun Aug 20 02:22:16 2017 +0200 Dpkg::Source::Package: Auto-convert binary signatures to OpenPGP ASCII Armor When we are building a source package, if we find a binary signature in the form of a .sig file, we should try to auto-convert it to the format that we expect to include in the source package, which is an OpenPGP ASCII Armor. debian/changelog | 2 + scripts/Dpkg/OpenPGP.pm | 80 ++++++++++++++++++++++++ scripts/Dpkg/Source/Package/V1.pm | 4 ++ scripts/Dpkg/Source/Package/V2.pm | 7 +++ scripts/Makefile.am | 5 ++ scripts/po/POTFILES.in | 1 + scripts/t/Dpkg_OpenPGP.t | 56 +++++++++++++++++ scripts/t/Dpkg_OpenPGP/package_1.0.orig.tar | 0 scripts/t/Dpkg_OpenPGP/package_1.0.orig.tar.asc | 16 +++++ scripts/t/Dpkg_OpenPGP/package_1.0.orig.tar.sig | Bin 0 -> 566 bytes 10 files changed, 171 insertions(+) commit 9e5e03e9a6ddf74bb22ffc5ea8794a14a592d6b6 Author: Guillem Jover Date: Thu Sep 28 09:28:24 2017 +0200 Dpkg::Control::HashCore: Optimize field/value parsing in parse() We switch from a capturing regex to split() plus a checking regex. debian/changelog | 2 ++ scripts/Dpkg/Control/HashCore.pm | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit a76b755572bfd7b106ef283193d32fba8cbc5dd1 Author: Guillem Jover Date: Thu Sep 28 09:28:24 2017 +0200 Dpkg::Control::HashCore: Optimize first character matching in parse() We store the first character in a variable. debian/changelog | 2 ++ scripts/Dpkg/Control/HashCore.pm | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit f5b7b766b4d9f07f8de7c7ad040b747ffb1cb014 Author: Guillem Jover Date: Thu Sep 28 02:52:12 2017 +0200 Dpkg::Control::HashCore: Optimize trailing space trimming in parse() We should only apply the "costly" substitution when there is at least one whitespace. debian/changelog | 2 ++ scripts/Dpkg/Control/HashCore.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 1b2bb72f7b5da8419be5521b0c1a25eab6ce6f06 Author: Guillem Jover Date: Wed Sep 27 02:10:07 2017 +0200 Dpkg::Control::HashCore: Optimize trailing space matching on parse() We remove the trailing space after the chomp, so that we cover the common case of a single \n with chomp, and do not need to check for trailing spaces more than once while parsing. We preserve the chomp'ed string to be used for the Armor Header checks, which have a different set of allowed whitespace, than what \s covers. debian/changelog | 2 ++ scripts/Dpkg/Control/HashCore.pm | 16 ++++++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) commit b56eddde1a625feff02ebfb92dff88c96f11d376 Author: Guillem Jover Date: Wed Sep 27 01:59:22 2017 +0200 Dpkg::Control::HashCore: Expect stanza delimiters more often than Armor Headers Usually we will just have Armor Headers at the beginning and end of the data, so it's more common to find stanza delimiter lines. Optimize for that. debian/changelog | 2 ++ scripts/Dpkg/Control/HashCore.pm | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 10 deletions(-) commit 63958db6f8a0816539ad98b419775ae1ae00105c Author: Guillem Jover Date: Tue Sep 26 05:09:43 2017 +0200 Dpkg::Control::HashCore: Do not use an intermediate variable in STORE method debian/changelog | 2 ++ scripts/Dpkg/Control/HashCore.pm | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) commit b95681f0ad831c2bacb25bd25ee220fb58f78466 Author: Guillem Jover Date: Tue Sep 26 03:32:42 2017 +0200 dpkg-deb: Make --uniform-compression the new default behavior Add support for negating the option via --no-uniform-compression. debian/changelog | 2 ++ dpkg-deb/main.c | 5 +++-- man/dpkg-deb.man | 5 ++++- t-func/deb-split.at | 13 +++++++------ 4 files changed, 16 insertions(+), 9 deletions(-) commit 08c15e1b795d2468798c43330ca5426e10487cbc Author: Guillem Jover Date: Tue Sep 26 02:38:25 2017 +0200 t-func: Use UTC0 when setting TZ debian/changelog | 1 + t-func/atlocal.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 4618ae2495a843b40ea5223fa7a4910543194297 Author: Guillem Jover Date: Mon Mar 2 23:56:08 2015 +0100 scripts/mk: Add new buildtools.mk support This make fragment contains setup for build tool variables for both TOOL and TOOL_FOR_BUILD. It does not get included by default from default.mk debian/changelog | 3 +++ scripts/Makefile.am | 1 + scripts/mk/Makefile.am | 7 ++++++ scripts/mk/buildtools.mk | 56 ++++++++++++++++++++++++++++++++++++++++++++++ scripts/mk/default.mk | 2 +- scripts/t/mk.t | 28 ++++++++++++++++++++++- scripts/t/mk/buildtools.mk | 21 +++++++++++++++++ 7 files changed, 116 insertions(+), 2 deletions(-) commit d917dd74cfb8c78f7a99a7e02d4098866f3f763d Author: Guillem Jover Date: Mon Sep 18 03:02:58 2017 +0200 dpkg-buildflags: Add support for new future feature area This new area includes an lfs feature, to be used instead of the getconf(1) interfaces which cannot support cross-building. debian/changelog | 3 +++ man/dpkg-buildflags.man | 12 +++++++++++- scripts/Dpkg/BuildFlags.pm | 6 +++--- scripts/Dpkg/Vendor/Debian.pm | 15 +++++++++++++++ 4 files changed, 32 insertions(+), 4 deletions(-) commit e59a804d37e129042be326702d6af62fda493f49 Author: Guillem Jover Date: Mon Sep 25 03:14:51 2017 +0200 Dpkg::Arch: Add new debarch_to_cpubits() function scripts/Dpkg/Arch.pm | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit b9dd3e5dd385877c6c57157d47169f792aeff532 Author: Guillem Jover Date: Mon Sep 25 03:09:15 2017 +0200 scripts: Rename debarch_to_cpuattrs() to debarch_to_abiattrs() scripts/Dpkg/Arch.pm | 6 +++--- scripts/Dpkg/Shlibs/Symbol.pm | 4 ++-- scripts/dpkg-architecture.pl | 8 ++++---- scripts/t/Dpkg_Arch.t | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) commit 2125e8dd7388e2adb9b6c837f4832fe8f0f63b25 Author: Guillem Jover Date: Mon Sep 18 00:54:25 2017 +0200 Dpkg::Vendor::Debian: Merge build flag methods into a single private method This reduces code redundancy, and makes it possible to reuse common code for various feature areas. debian/changelog | 2 + scripts/Dpkg/Vendor/Debian.pm | 217 +++++++++++++++++++----------------------- 2 files changed, 100 insertions(+), 119 deletions(-) commit ec1eb273accae4f7d35d3ef840505fa400fbe82d Author: Guillem Jover Date: Sun Apr 9 15:44:41 2017 +0200 scripts: Add support for source package Description and substvars We support a new source package Description field in debian/control that will be copied into the .dsc file. The field will also be used to initialize the new source:Synopsis and source:Extended-Description substvars that will be available when generating the DEBIAN/control and .changes files. Closes: #555743 debian/changelog | 5 +++++ man/deb-src-control.man | 11 +++++++++++ man/deb-substvars.man | 8 ++++++++ man/dsc.man | 10 ++++++++++ scripts/Dpkg/Control/FieldsCore.pm | 8 ++++---- scripts/Dpkg/Substvars.pm | 26 +++++++++++++++++++++++++- scripts/dpkg-genchanges.pl | 4 ++++ scripts/dpkg-gencontrol.pl | 4 ++++ scripts/dpkg-source.pl | 2 +- scripts/t/Dpkg_Control_Fields.t | 13 +++++++------ 10 files changed, 79 insertions(+), 12 deletions(-) commit fc57bf83dcb089b1cca96f6c08b2b375cc693995 Author: Guillem Jover Date: Sun Apr 9 04:15:11 2017 +0200 dpkg-genchanges: Honor substvars in Description field This field can have substvars applied in the binary package, so it is a safe replacement compared to all other output fields. More so with the newly introduced S: style automatic substvars. Closes: #856547 debian/changelog | 2 ++ man/dpkg-genchanges.man | 6 ++++-- scripts/dpkg-genchanges.pl | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) commit 6f406f2dc14e9cac1ee0385e422b6fa0bf8822cc Author: Guillem Jover Date: Wed Jul 12 02:14:18 2017 +0200 Dpkg::Vendor::Debian: Mark powerpc as having builtin PIE debian/changelog | 2 +- scripts/Dpkg/Vendor/Debian.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit d920305d9deb52fa7c1fb8b0f01bfc31cf517e41 Author: Guillem Jover Date: Sun Sep 10 16:18:15 2017 +0200 dpkg-genbuildinfo: Add support for new Build-Kernel-Version field Packages intended to be built in a generic way must never rely on the currently running kernel on the build system (an exception could be an optimization rebuild using the current system as the reference baseline). But to be able to detect when a package might not be reproducible due to varying kernel information it is still useful to be able to record this information. Although that information can be very sensitive. When the builder has explicitly enabled the Build-Kernel-Version field with the new dpkg-genbuildinfo --always-include-kernel option, it will get included in the generated .buildinfo file. Closes: #873937 debian/changelog | 3 +++ man/deb-buildinfo.man | 6 ++++++ man/dpkg-genbuildinfo.man | 6 ++++++ scripts/Dpkg/Control/FieldsCore.pm | 8 ++++++-- scripts/dpkg-genbuildinfo.pl | 9 +++++++++ scripts/t/Dpkg_Control_Fields.t | 6 +++--- 6 files changed, 33 insertions(+), 5 deletions(-) commit b964b3d6270a6205b74c4910e6d2783123850982 Author: Guillem Jover Date: Tue Feb 28 15:01:21 2017 +0100 dselect: Remove traces of non-US support from methods This has been obsoleted long ago. debian/changelog | 1 + dselect/methods/disk/install | 2 +- dselect/methods/disk/setup | 5 +---- dselect/methods/disk/update | 7 +++---- dselect/methods/ftp/setup.pl | 4 ---- dselect/methods/multicd/README.multicd | 4 ---- dselect/methods/multicd/desc.multi_mount | 5 ++--- dselect/methods/multicd/desc.multi_nfs | 4 ++-- dselect/methods/multicd/setup | 14 +------------- dselect/methods/multicd/update | 6 +++--- 10 files changed, 14 insertions(+), 38 deletions(-) commit eeaf7bae8e6482646f268c4d4a57cb328e2cd250 Author: Guillem Jover Date: Tue Feb 28 04:50:54 2017 +0100 dselect: Remove long obsolete floppy method TODO | 1 - debian/changelog | 1 + dselect/methods/Makefile.am | 6 -- dselect/methods/floppy/desc.floppy | 9 --- dselect/methods/floppy/install | 113 ------------------------------------- dselect/methods/floppy/names | 1 - dselect/methods/floppy/setup | 89 ----------------------------- dselect/methods/floppy/update | 89 ----------------------------- man/dselect.man | 2 +- 9 files changed, 2 insertions(+), 309 deletions(-) commit e0396b06cb90801eaa3b66a6aac6e471019f6cfc Author: Helge Kreutzmann Date: Mon Sep 25 21:14:26 2017 +0200 Update German translation of manual pages Update to 2892t1f. man/po/de.po | 279 ++++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 248 insertions(+), 31 deletions(-) commit 0b74be976effc25d222c8f548aea3f8e8f184b48 Author: Helge Kreutzmann Date: Mon Sep 25 19:04:21 2017 +0200 Update German scripts translation Update to 594t. scripts/po/de.po | 79 +++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 55 insertions(+), 24 deletions(-) commit ce7d7276c3c3baa197a895ef408fe57218dee65f Author: Sven Joachim Date: Sun Sep 24 22:02:31 2017 +0200 German dpkg translation update Update to 1105t. po/de.po | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit b77da84672f77ee4eafaef8a308555c496335738 Author: Guillem Jover Date: Sun Sep 24 21:00:06 2017 +0200 debian: Add support for DPKG_ROOT in dpkg maintainer scripts debian/changelog | 1 + debian/dpkg.postinst | 2 +- debian/dpkg.postrm | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit f310046425d3527cfad39072216373f34af9ca31 Author: Guillem Jover Date: Sun Sep 24 20:57:22 2017 +0200 debian: Remove alternative logs when purging dpkg (!?) debian/changelog | 1 + debian/dpkg.postrm | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) commit b7507002eeac63c580e8ea9d8c8e1e9071733150 Author: Guillem Jover Date: Sun Sep 24 18:35:16 2017 +0200 debian: Remove maintscript code for downgrades to ancient dpkg versions The code here was handling pre-triggers and pre-multiarch downgrades. Makefile.am | 1 - debian/changelog | 2 + debian/dpkg.postrm | 17 ------ debian/dpkg.prerm | 149 ----------------------------------------------------- 4 files changed, 2 insertions(+), 167 deletions(-) commit 2910d4924d49f536e71b748978370e9122fe3f4b Author: Guillem Jover Date: Sun Sep 24 18:33:34 2017 +0200 debian: Remove workaround for ancient gcc w/o stackprotectorstrong support debian/changelog | 1 + debian/rules | 7 +------ 2 files changed, 2 insertions(+), 6 deletions(-) commit bd882f3f0ac1c062f9ad39053a6c5b94b4458a50 Author: Guillem Jover Date: Sun Sep 24 18:31:44 2017 +0200 debian: Remove Replaces and Breaks for ancient transitions debian/changelog | 1 + debian/control | 9 --------- 2 files changed, 1 insertion(+), 9 deletions(-) commit 6f4209e478c76f96b49def24e83db88ed88395d4 Author: Guillem Jover Date: Sun Sep 24 18:16:10 2017 +0200 debian: Remove ancient code recompressing alternatives database backups The code converted the backups from xz to gzip in the dpkg daily cron job due to a short-lived change that compressed the database backups in xz. debian/changelog | 2 ++ debian/dpkg.cron.daily | 11 ----------- 2 files changed, 2 insertions(+), 11 deletions(-) commit 72182989948d4bc9711174741c22b0fc66c348f1 Author: Guillem Jover Date: Sun Sep 24 18:11:05 2017 +0200 debian: Split alternatives logrotate into its own configuration file This should help some downstreams and derivatives which package update-alternatives on its own package, for example. Makefile.am | 1 + debian/changelog | 2 ++ debian/{dpkg.logrotate => dpkg.alternatives.logrotate} | 9 --------- debian/dpkg.logrotate | 9 --------- debian/rules | 1 + 5 files changed, 4 insertions(+), 18 deletions(-) commit fc7bd599cf17a34fd624e55e89af1637af7ff5d7 Author: Guillem Jover Date: Sun Sep 24 17:53:40 2017 +0200 debian: Fix typo in changelog file debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 05deb17c83bccf1f25cb04f7a38eb2da0a9f5294 Author: Guillem Jover Date: Sun Sep 24 17:45:26 2017 +0200 debian: Switch to debhelper compatibility level 10 debian/changelog | 1 + debian/compat | 2 +- debian/control | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit 568428d42250abb3b8a6cc13cf16531e5981eb1d Author: Guillem Jover Date: Sun Sep 24 17:31:09 2017 +0200 debian: Bump Standards-Version to 4.1.0 (no changes needed) debian/changelog | 1 + debian/control | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 9c4320832595d8f8f5168a37679fc4e901a2e974 Author: Guillem Jover Date: Sun Sep 24 17:24:48 2017 +0200 debian: Do not set redundant source compression to xz The default source compression has been xz for a while. Makefile.am | 1 - debian/changelog | 1 + debian/source/options | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) commit 4dabb60bcd0488bac46e4f1daba8c0d8a0d8d65d Author: Guillem Jover Date: Wed Sep 20 02:13:52 2017 +0200 debian: Set Rules-Requires-Root field to no debian/changelog | 1 + debian/control | 1 + 2 files changed, 2 insertions(+) commit c365c51ea613d11b5cdc1c82f1f7062b990d5b07 Author: Guillem Jover Date: Tue Sep 19 02:29:49 2017 +0200 scripts: Fix function signatures documentation debian/changelog | 1 + scripts/Dpkg/Build/Env.pm | 10 +++++----- scripts/Dpkg/Vendor.pm | 12 ++++++------ 3 files changed, 12 insertions(+), 11 deletions(-) commit 04f99e25b9d4fa3f3d63b89ae4d702364d407c26 Author: Guillem Jover Date: Fri Mar 6 23:38:05 2015 +0100 dpkg-buildflags: Add new --query command This command is equivalent to --status but in deb822 format. debian/changelog | 2 ++ man/dpkg-buildflags.man | 30 ++++++++++++++++++++++++++++++ scripts/dpkg-buildflags.pl | 42 +++++++++++++++++++++++++++++++++++++----- 3 files changed, 69 insertions(+), 5 deletions(-) commit fca1bfe8406898105d1d724fb808f0cbcf985ae4 Author: Guillem Jover Date: Sun Sep 17 12:18:15 2017 +0200 dpkg-buildpackage: Add support for rootless builds Implement the rootless-builds specification, by honoring the Rules-Requires-Root (R³) field. debian/changelog | 2 + man/deb-src-control.man | 33 ++++++++++++ man/dpkg-buildpackage.man | 6 ++- scripts/Dpkg/Control/FieldsCore.pm | 5 ++ scripts/dpkg-buildpackage.pl | 100 ++++++++++++++++++++++++++++++++----- 5 files changed, 132 insertions(+), 14 deletions(-) commit b3608a01a8ac1416f0620bdf03d497c5b761b244 Author: Guillem Jover Date: Mon Sep 18 12:28:11 2017 +0200 dpkg-buildpackage: Rename withecho to run_cmd scripts/dpkg-buildpackage.pl | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) commit 2ed19233dc9a6e123e3f66d3f475d65dc5933ea9 Author: Guillem Jover Date: Mon Sep 18 12:25:59 2017 +0200 dpkg-buildpackage: Error out if --as-root is passed w/o --rules-target debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 5 +++++ 2 files changed, 7 insertions(+) commit 2436807c87b033a1ea25164d3b951cd559084a5a Author: Guillem Jover Date: Sun Sep 17 12:15:32 2017 +0200 dpkg-deb: Add support for rootless builds This sets the control member entries always to root:root, and makes it possible to do the same for the data member entries via the new --root-onwer-group option. Closes: #291320 Based-on-patch-by: Niels Thykier Signed-off-by: Guillem Jover debian/changelog | 4 ++++ dpkg-deb/build.c | 5 +++++ dpkg-deb/dpkg-deb.h | 1 + dpkg-deb/main.c | 3 +++ man/dpkg-deb.man | 9 +++++++++ 5 files changed, 22 insertions(+) commit c6fa483ce9e3babd9a43ac30788c9101dca44d18 Author: Guillem Jover Date: Sun Sep 17 05:54:22 2017 +0200 dpkg-deb: Refactor tarball_pack options into a new struct dpkg-deb/build.c | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) commit cd791ccf8117398ea765eda3a92db52a9cf04c23 Author: Guillem Jover Date: Sun Sep 17 12:04:15 2017 +0200 dpkg-deb: Sanity check config maintainer script file type and permissions This is a well-known executable maintainer script, that ideally should be handled by dpkg itself. But for now we will at least sanity check its file type and permissions. debian/changelog | 2 ++ dpkg-deb/build.c | 1 + lib/dpkg/dpkg.h | 2 ++ 3 files changed, 5 insertions(+) commit 11fce7c00e04a5b045ba733d574a304515f1321e Author: Niels Thykier Date: Sat Sep 16 15:54:18 2017 +0200 doc: Add new rootless builds experimental draft specification [guillem@debian.org: - Mark the spec as an experimental draft. - Add new Background section. - Rename Package-Creation-Requires-Root to Rules-Requires-Root. - Rename dpkg/rules-requires-root to dpkg/target-subcommand. - Add new dpkg/target/ keyword. - Use dpkg-deb --build instead of dpkg --build. - Fix DPKG_GAIN_ROOT_CMD invocation, and denote it as the one to use instead of the alternative wrapper command. - Rearrange sections and reflow text. ] Signed-off-by: Guillem Jover Makefile.am | 1 + debian/changelog | 3 + debian/dpkg-dev.docs | 1 + doc/rootless-builds.txt | 161 ++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 166 insertions(+) commit 943ebbb0b991b993fddad71b824965c530251c51 Author: Guillem Jover Date: Sun Sep 24 17:55:03 2017 +0200 scripts/t: Switch from IO::String to native open support We can also remove the versioned dpkg-dev Build-Depends now that we do not use any build profile anymore. README | 1 - debian/changelog | 3 +++ debian/control | 3 --- scripts/t/Dpkg_Control.t | 15 ++++++++------- scripts/t/Dpkg_Shlibs.t | 21 +++++++++++---------- 5 files changed, 22 insertions(+), 21 deletions(-) commit ff837f376cf97167e65b2b41e2e16103c98a911f Author: Guillem Jover Date: Sun Sep 17 12:01:45 2017 +0200 scripts: Use split() with ' ' instead of /\s+/ debian/changelog | 1 + scripts/Dpkg/Arch.pm | 2 +- scripts/Dpkg/BuildProfiles.pm | 4 ++-- scripts/Dpkg/Shlibs/SymbolFile.pm | 2 +- scripts/dpkg-buildpackage.pl | 4 ++-- scripts/dpkg-source.pl | 2 +- 6 files changed, 8 insertions(+), 7 deletions(-) commit 7c75716f63cce2eabe6430fb573d711d0e519b2d Author: Guillem Jover Date: Sat Jul 15 01:55:35 2017 +0200 Dpkg::Control::HashCore: Use substr instead of a regex When we want to match the first character on a parsed control file line, using substr is more efficient than using a regex. debian/changelog | 2 ++ scripts/Dpkg/Control/HashCore.pm | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit f0fa8190fe02bb9db8168ae6a67f592f135b06c2 Author: Guillem Jover Date: Sat Jul 15 15:07:53 2017 +0200 Dpkg::Control::FieldsCore: Do not execute code at import time debian/changelog | 1 + scripts/Dpkg/Control/FieldsCore.pm | 32 +++++++++++++++++++++----------- 2 files changed, 22 insertions(+), 11 deletions(-) commit 42f6282a932b9908a2562f3b753348458917c9e3 Author: Guillem Jover Date: Fri Jul 14 03:20:38 2017 +0200 Dpkg::Control::FieldsCore: Remove dependency on Dpkg::Checksums debian/changelog | 1 + scripts/Dpkg/Control/FieldsCore.pm | 58 +++++++++++++++++++++++++------------- 2 files changed, 40 insertions(+), 19 deletions(-) commit 2cd5cb673398bb279a7a4bfce8a4b77ce2a08e17 Author: Guillem Jover Date: Fri Jun 7 08:28:50 2013 +0200 Dpkg::Control::FieldsCore: Switch internal field name handling to lowercase Change field name handling to always work with them as lowercase, add a new name key to store the capitalized form, and use that when we need to return that form instead of computing it on every instance. debian/changelog | 2 + scripts/Dpkg/Control/FieldsCore.pm | 428 +++++++++++++++++++++++-------------- 2 files changed, 273 insertions(+), 157 deletions(-) commit c670a64c1b430b0e49e673a746656493fd35bd4d Author: Guillem Jover Date: Thu Aug 31 12:02:50 2017 +0200 scripts/t: Add new unit test for Dpkg::Control::Fields debian/changelog | 1 + scripts/Makefile.am | 1 + scripts/t/Dpkg_Control_Fields.t | 247 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 249 insertions(+) commit 328edcc9229ee95402107b39b1041eb5aaa24405 Author: Guillem Jover Date: Sat Sep 2 02:03:01 2017 +0200 Dpkg::Control::FieldsCore: Complete field order for all control types The CTRL_PKG_DEB and CTRL_FILE_STATUS types were missing some allowed fields in their order list, which meant that the field information was not coherent. debian/changelog | 2 ++ scripts/Dpkg/Control/FieldsCore.pm | 11 ++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) commit f470b400c18e9c8dff7bc3bacec5753b8371ec5e Author: Guillem Jover Date: Sat Sep 2 02:01:10 2017 +0200 Dpkg::Control::FieldsCore: Mark all missing CTRL_INDEX_* fields as allowed debian/changelog | 2 ++ scripts/Dpkg/Control/FieldsCore.pm | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) commit fb45d741f8edb5f9282ff8aaf79cab7e86fa95dd Author: Guillem Jover Date: Sat Sep 2 01:58:51 2017 +0200 Dpkg::Control::Types: Move misplaced comments scripts/Dpkg/Control/Types.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit da7c7542f1337d15f1435ca30eb3a4348fefe3e7 Author: Guillem Jover Date: Sun Jul 16 17:35:03 2017 +0200 Dpkg::Changelog::Parse: Disable compression when using the default file debian/changelog | 2 ++ scripts/Dpkg/Changelog/Parse.pm | 13 +++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) commit dd196e60b1b18f8b127a06d24c9095a1696838f1 Author: Guillem Jover Date: Sat Jul 15 15:07:35 2017 +0200 Dpkg::Gettxt: Add support for new DPKG_NLS environment variable When set to 0, it will disable NLS (i18n) support in the Dpkg modules, and reduce the load chain. debian/changelog | 3 +++ scripts/Dpkg/Gettext.pm | 33 ++++++++++++++++++++++++++------- 2 files changed, 29 insertions(+), 7 deletions(-) commit ff00042f3d77a2b8d122a7a7628d43a3e3bbf385 Author: Guillem Jover Date: Fri Jul 14 03:09:23 2017 +0200 Dpkg::File: Move file_lock() into a new Dpkg::Lock module This reduces the load chain for several Dpkg modules. debian/changelog | 2 ++ scripts/Dpkg/File.pm | 33 --------------------------------- scripts/Dpkg/{File.pm => Lock.pm} | 11 +---------- scripts/Makefile.am | 2 ++ scripts/dpkg-distaddfile.pl | 2 +- scripts/dpkg-genbuildinfo.pl | 2 +- scripts/dpkg-gencontrol.pl | 2 +- scripts/po/POTFILES.in | 1 + scripts/t/Dpkg_Lock.t | 27 +++++++++++++++++++++++++++ 9 files changed, 36 insertions(+), 46 deletions(-) commit 6f059fcf7b0d26ec6e4d6d3ea9a1ec342bd37f18 Author: Guillem Jover Date: Fri Jul 14 02:58:02 2017 +0200 Dpkg::Vendor: Disable decompression support for origin files These files are not supposed to be compressed, disabling decompression support gives a significant performance improvement for anything that is making use of vendor hooks, even if indirectly. debian/changelog | 1 + scripts/Dpkg/Vendor.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 9db913167657ce6c5b208c63117069813f15c0ea Author: Guillem Jover Date: Fri Jul 14 02:58:02 2017 +0200 Dpkg::Interface::Storable: Add new option to disable compression support Only load the Dpkg::Compression::FileHandle module if the compression option is enabled. Some control files are not supposed to ever be compressed, and making it possible to disable the compression support reduces substantially the amount of modules being loaded by default. debian/changelog | 2 ++ scripts/Dpkg/Interface/Storable.pm | 40 +++++++++++++++++++++++++------------- 2 files changed, 29 insertions(+), 13 deletions(-) commit 47ccfd91e707720aa05296463673ed78c3e2e512 Author: Guillem Jover Date: Thu Aug 31 10:30:40 2017 +0200 scripts/t: Avoid many function arguments in check_options() Fixes: Subroutines::ProhibitManyArgs Warned-by: perlcritic debian/changelog | 1 + scripts/t/Dpkg_Changelog.t | 234 ++++++++++++++++++++++++++------------------- t/critic.t | 1 + 3 files changed, 139 insertions(+), 97 deletions(-) commit 417c80f6fbc6673aac6c42bb1fdc3e0280b01cd1 Author: Guillem Jover Date: Thu Aug 31 03:29:53 2017 +0200 Dselect::Ftp: Avoid many function arguments in do_connect() Addresses: Subroutines::ProhibitManyArgs Warned-by: perlcritic debian/changelog | 1 + dselect/methods/Dselect/Ftp.pm | 38 ++++++++++++++++++++------------------ dselect/methods/ftp/install.pl | 18 +++++++++--------- dselect/methods/ftp/setup.pl | 18 +++++++++--------- dselect/methods/ftp/update.pl | 36 ++++++++++++++++++------------------ 5 files changed, 57 insertions(+), 54 deletions(-) commit 0d2b3cee25b74dd3fd9ddc3a469b8b144368c963 Author: Guillem Jover Date: Wed Jun 29 02:34:58 2016 +0200 Dpkg::Shlibs::SymbolFile: Avoid many function arguments in parse() Addresses: Subroutines::ProhibitManyArgs Warned-by: perlcritic debian/changelog | 1 + scripts/Dpkg/Shlibs/SymbolFile.pm | 44 +++++++++++++++++++++------------------ 2 files changed, 25 insertions(+), 20 deletions(-) commit 600bf60bdf19b0857cf1fce0b01a281512b96dd2 Author: Guillem Jover Date: Sat Jul 15 15:27:25 2017 +0200 Dpkg::ErrorHandling: Move printforhelp initialization into usageerr() This way we remove code executed at import time. debian/changelog | 1 + scripts/Dpkg/ErrorHandling.pm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 5ea09cee634e4fe0cfac726937ccd2be81c272e8 Author: Guillem Jover Date: Sat Jul 15 15:21:33 2017 +0200 Dpkg::ErrorHandling: Move color setup into report_pretty Call setup_color() only if we are going to print something, so that we remove code executed at import time. debian/changelog | 1 + scripts/Dpkg/ErrorHandling.pm | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit 8829502bfc75a74b1539634bb3ca1f801589c0ff Author: Guillem Jover Date: Fri Jul 14 00:36:21 2017 +0200 Dpkg::ErrorHandling: Only load Term::ANSIColor if we are using colors If we are not using colors we should not be imposing the additional load times over most modules using the error handling functionality. debian/changelog | 2 ++ scripts/Dpkg/ErrorHandling.pm | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 79f7e1533187cabe9bf6c00777a101bfe48d0971 Author: Guillem Jover Date: Sat Jul 15 01:59:41 2017 +0200 Dpkg::Vendor: Only load Dpkg::BuildOptions and Dpkg::Arch if needed The Dpkg::Vendor-specific modules are loaded as part of many other modules load-chains. But not all parts of these modules are used, as they are hook-specific. Switch these two modules to be required only when we are going over the specific code paths needing them. debian/changelog | 3 +++ scripts/Dpkg/Vendor/Debian.pm | 11 +++++++---- scripts/Dpkg/Vendor/Ubuntu.pm | 10 +++++++--- 3 files changed, 17 insertions(+), 7 deletions(-) commit 6217726eb5cfbc3b1ea4603b69bcb43881f29cbd Author: Guillem Jover Date: Fri Jul 14 00:35:11 2017 +0200 Dpkg::Compression::FileHandle: Only load POSIX if we need signal handling If we are not using signal handling code we should not be imposing the additional load times over most modules using the transparent compression support, which currently includes all Dpkg::Control users. debian/changelog | 2 ++ scripts/Dpkg/Compression/FileHandle.pm | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit ff4692b945e889a3618ccba448c1d735a6395243 Author: Guillem Jover Date: Sat Jul 15 01:59:41 2017 +0200 Dpkg::Vendor::Ubuntu: Remove unused Dpkg::Path Missed in commit d62520090a7dafb123b6f1f4d4e9b61b75218057. debian/changelog | 1 + scripts/Dpkg/Vendor/Ubuntu.pm | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) commit a4889aac5b4a5eaa66823df86575f30b00d741a4 Author: Guillem Jover Date: Fri Jul 14 00:33:14 2017 +0200 Dpkg::Source: Use Errno module instead of the slow to import POSIX debian/changelog | 1 + scripts/Dpkg/Source/Functions.pm | 2 +- scripts/Dpkg/Source/Package/V1.pm | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit 6b15b128a22e4c825b8c32ccec56022baef1ac38 Author: Guillem Jover Date: Fri Jul 14 00:31:49 2017 +0200 perl: Remove unused use POSIX module imports debian/changelog | 1 + scripts/Dpkg/Arch.pm | 1 - scripts/Dpkg/Source/Package/V2.pm | 1 - scripts/Dpkg/Substvars.pm | 2 -- scripts/dpkg-shlibdeps.pl | 1 - 5 files changed, 1 insertion(+), 5 deletions(-) commit ca2b8b44910acbc3adbb53dfb121f7f85fcebc81 Author: Helge Kreutzmann Date: Sat Sep 9 13:27:25 2017 +0200 Update German translation of manual pages Update to 2869t1f. man/po/de.po | 338 ++++++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 267 insertions(+), 71 deletions(-) commit 17319b5bd1271d88ef8dd55a64aa03cd12121c8a Author: Guillem Jover Date: Wed Sep 6 03:17:32 2017 +0200 debian: Add bug closure for .buildinfo filename not using the binary version This was already fixed in commit f02d4572568398a55503351d9e5d04212a4207fc. Closes: #869236 debian/changelog | 1 + 1 file changed, 1 insertion(+) commit 6a2ae2cbc78517698c77db762cd97b18b9389786 Author: Guillem Jover Date: Wed Sep 6 01:48:47 2017 +0200 man: Remove recommendation to use Pre-Depends for trigger directives Closes: #864882 debian/changelog | 2 ++ man/deb-triggers.man | 12 ++++-------- 2 files changed, 6 insertions(+), 8 deletions(-) commit e6171e188e7c1fc7cfc9f159fe55abba7a1d128a Author: Guillem Jover Date: Tue Sep 5 03:27:31 2017 +0200 man: Clarify that sanitize options should not be used for production builds Ref: http://www.openwall.com/lists/oss-security/2016/02/17/9 debian/changelog | 1 + man/dpkg-buildflags.man | 3 +++ 2 files changed, 4 insertions(+) commit 05bbea38469409fd718e44cb550fabd2f1b073f5 Author: Guillem Jover Date: Tue Sep 5 03:22:31 2017 +0200 man: Document trailing commas as valid in debian/control dependency fields For any dependency field found on debian/control, trailing commas are accepted and eliminated when generating the binary control files. So that things like substvars can be used at the end of the list even if they produce no output. Prompted-by: Mattia Rizzolo debian/changelog | 3 +++ man/deb-src-control.man | 15 ++++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) commit ba9acf9f64928adf15e4ad470ac15c19ec095fab Author: Guillem Jover Date: Wed Aug 17 00:56:38 2016 +0200 man: Add new man page for debian/rules debian/changelog | 1 + debian/dpkg-dev.manpages | 1 + man/Makefile.am | 2 ++ man/deb-src-rules.man | 88 ++++++++++++++++++++++++++++++++++++++++++++++++ man/po/po4a.cfg | 3 ++ 5 files changed, 95 insertions(+) commit e6e7cef81e77343249df5cffbcd4a9f0d06772de Author: Guillem Jover Date: Sat Aug 26 15:50:37 2017 +0200 man: Use correct name for archname validator value Reported-by: Niels Thykier debian/changelog | 2 ++ man/dpkg.man | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 0fe059239ea00e6c82830f15a9417889d2789839 Author: Jakub Wilk Date: Thu Sep 7 01:46:58 2017 +0200 libdpkg: Fix integer overflow in unit test Fixes: commit 59f63342b9121b9d941d3dbd09487c953a113f6e Signed-off-by: Guillem Jover lib/dpkg/t/t-deb-version.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9844b9425ed9571f72826ca5749b279891232f82 Author: Guillem Jover Date: Thu Sep 7 00:38:35 2017 +0200 build: Remove references to deleted preinst files Fixes: commit c991f1bf5c799f72caecb6d62bcb339171796aa4 Makefile.am | 2 -- 1 file changed, 2 deletions(-) commit 5b8693138c585b56a5f8c03223cce369f9790cfd Author: Sven Joachim Date: Tue Aug 29 21:05:40 2017 +0200 German dpkg translation update Update to 1105t. debian/changelog | 1 + po/de.po | 126 +++++++++++++++++++++++++++++-------------------------- 2 files changed, 68 insertions(+), 59 deletions(-) commit 79ef050500720eefa12afa14f11b775575bde385 Author: Helge Kreutzmann Date: Tue Aug 29 20:20:02 2017 +0200 Update German translation of manual pages Update to 2845t1f. man/po/de.po | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) commit db370156fa34ddbc79d83e86326d4a3eadf0779d Author: Guillem Jover Date: Sun Aug 20 02:23:34 2017 +0200 Dpkg::Source::Package::V1: Re-enable upstream tar signatures when building debian/changelog | 1 + scripts/Dpkg/Source/Package/V1.pm | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) commit b8639b63cbdb09569eb650d4605bfccc00aaf4ca Author: Chris Lamb Date: Sat Aug 5 03:18:31 2017 +0200 Dpkg::Substvars: Make the warnings output deterministic Closes: #870221 Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/Dpkg/Substvars.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 3373f5f95ca6fd6590b9bd6efdb5fbca9853cb44 Author: Guillem Jover Date: Wed Jul 12 02:14:18 2017 +0200 Dpkg::Vendor::Debian: Mark ppc64 as having builtin PIE debian/changelog | 1 + scripts/Dpkg/Vendor/Debian.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 59f63342b9121b9d941d3dbd09487c953a113f6e Author: Guillem Jover Date: Sun Aug 20 10:03:33 2017 +0200 libdpkg: Fix integer overflow in deb(5) version parser The previous code was both not checking for overflows, and triggering undefined behavior as it was overflowing a signed integer. Closes: #868356 debian/changelog | 2 ++ lib/dpkg/deb-version.c | 27 +++++++++++++++++++++------ lib/dpkg/t/t-deb-version.c | 22 +++++++++++++++++++++- 3 files changed, 44 insertions(+), 7 deletions(-) commit 99b3e1c276af88327b5f9423cfdf75afead28018 Author: Guillem Jover Date: Fri Jul 14 02:03:29 2017 +0200 perl: Use -> operator for function variables debian/changelog | 2 ++ scripts/Dpkg/Deps.pm | 6 +++--- scripts/Dpkg/Dist/Files.pm | 2 +- scripts/Dpkg/Exit.pm | 2 +- scripts/Dpkg/Index.pm | 4 ++-- scripts/Dpkg/Shlibs/SymbolFile.pm | 4 ++-- scripts/Dpkg/Source/Patch.pm | 6 +++--- scripts/dpkg-buildpackage.pl | 2 +- scripts/dpkg-mergechangelogs.pl | 6 +++--- scripts/t/Dpkg_Compression.t | 4 ++-- 10 files changed, 20 insertions(+), 18 deletions(-) commit 3f2687270a406347a14463a5e3031d214827bf56 Author: Guillem Jover Date: Mon Aug 21 01:34:47 2017 +0200 utils: Fix u-a man page section reference in README file Closes: #872309 debian/changelog | 2 ++ utils/README.alternatives | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 38ec57a5ac6e82f3eb8835dd35b2b9b2821853b7 Author: Guillem Jover Date: Fri Jul 14 02:02:30 2017 +0200 t: Rename FIXME to BUG This is not something that we can easily fix, those are all upstream problems. t/critic/perlcriticrc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 0350aec23c0563aa63a0410ad5fa27e731cd94d8 Author: Guillem Jover Date: Sat Aug 5 03:15:44 2017 +0200 man: The Testsuite field is comma-separated debian/changelog | 1 + man/dsc.man | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 6882258b4cbf28720252ea90a6c74342a20af897 Author: Guillem Jover Date: Wed Jul 12 01:38:04 2017 +0200 man: Add section 7 man pages to .gitignore man/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 4ccf8231dd81902ff4c4df8f6e0f5f14dc008c73 Author: Helge Kreutzmann Date: Wed Jul 12 14:32:51 2017 +0200 Update German translation of manual pages Update to 2845t1f. man/po/de.po | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) commit 6db1379ed6d9fbabbd04f95cf35795a360328e33 Author: Helge Kreutzmann Date: Tue Jul 11 21:22:52 2017 +0200 Add missing quote sign man/deb-src-control.man | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 37cd72b22e8ab3e06f3b922d6b9abef036756492 Author: Helge Kreutzmann Date: Tue Jul 11 21:22:35 2017 +0200 Add missing space man/deb-control.man | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ddf75c69ce91acf11656c70b2000609d2cbb48c1 Author: Helge Kreutzmann Date: Tue Jul 11 21:21:58 2017 +0200 Update German translation of manual pages Update to 2842t3f1u. man/po/de.po | 215 ++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 131 insertions(+), 84 deletions(-) commit 43a6207d9c91f612c1e843ba61e5a8feddbebe0c Author: Helge Kreutzmann Date: Tue Jul 11 20:25:05 2017 +0200 Update German scripts translation Update to 588t. debian/changelog | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit ea49488a7a4e4c8cff0c408970f4d5623b9085da Author: Helge Kreutzmann Date: Tue Jul 11 20:24:24 2017 +0200 Update German scripts translation Update to 588t. scripts/po/de.po | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 5df20387d3bab369759814bae8176d1810b1e66e Author: Guillem Jover Date: Sat Jul 8 18:47:43 2017 +0200 man: Document that dependency fields in binary stanza can have restrictions The architecture specifications and the restriction formulas apply also to the dependency fields in the binary package stanzas in debian/control. debian/changelog | 2 ++ man/deb-src-control.man | 3 +++ 2 files changed, 5 insertions(+) commit 28b48f61383084409d297a95e50d783bff032ebe Author: Guillem Jover Date: Sat Jul 8 18:46:33 2017 +0200 man: Move udeb-specific fields to the end of the list of fields Mention that these fields are really udeb-specific. debian/changelog | 2 ++ man/deb-src-control.man | 23 ++++++++++++----------- 2 files changed, 14 insertions(+), 11 deletions(-) commit e4f3b720bf7a4e092eaa1c75d064038425bb0afb Author: Guillem Jover Date: Sat Jul 8 18:17:52 2017 +0200 man: Move Package-Type description just after the Package field debian/changelog | 2 ++ man/deb-src-control.man | 14 +++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) commit 769e051eb653b3fc666205416ce8c68f14027e1b Author: Guillem Jover Date: Sat Jul 8 18:16:23 2017 +0200 man: Write the actual glyphs used to delimit dependency restrictions debian/changelog | 2 ++ man/deb-src-control.man | 11 +++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) commit 40fb9578f690aeff0bb52e76797fc89994553c66 Author: Guillem Jover Date: Sat Jul 8 18:15:21 2017 +0200 man: Document Package-Type and Enhances fields in deb-control(5) debian/changelog | 1 + man/deb-control.man | 10 ++++++++++ 2 files changed, 11 insertions(+) commit a6c063d50048a04d023785540fda910e9de9a304 Author: Guillem Jover Date: Sat Jul 8 18:13:50 2017 +0200 man: Sort control field export markers by tool order First we list source, then binary, then changes. debian/changelog | 1 + man/deb-src-control.man | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) commit a8f8ee3fd4e6e26ad0afc8875b6553a435c23a0e Author: Guillem Jover Date: Sat Jul 8 18:11:29 2017 +0200 man: Remove reference to obsolete dpkg-cross(1) The dpkg-cross program and its package have been obsolete for some time, it is also unmaintained and bug-ridden with Debian policy violations. debian/changelog | 1 + man/dpkg-architecture.man | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) commit 82dbfea51d1a44b13d2e4fb8cc4f06b534d39c29 Author: Guillem Jover Date: Sat Jul 8 18:10:04 2017 +0200 man: Move deb-version man page to section 7 This man page does not describe a file format, move it to the conventions section. debian/changelog | 1 + debian/dpkg-dev.manpages | 2 +- man/Makefile.am | 4 +++- man/deb-buildinfo.man | 4 ++-- man/deb-changelog.man | 2 +- man/deb-changes.man | 4 ++-- man/deb-control.man | 4 ++-- man/deb-src-control.man | 2 +- man/deb-version.man | 4 ++-- man/dsc.man | 4 ++-- 10 files changed, 17 insertions(+), 14 deletions(-) commit f02d4572568398a55503351d9e5d04212a4207fc Author: Guillem Jover Date: Wed Jul 5 16:33:41 2017 +0200 dpkg-genbuildinfo: Always use the binary version for the .buildinfo filename We should use the binary (instead of the source) version for the .buildinfo filename, otherwise on binNMUs the filename will be wrong. Reported-by: Raphaël Hertzog debian/changelog | 2 ++ man/deb-buildinfo.man | 4 ++-- man/dpkg-buildpackage.man | 4 ++-- man/dpkg-genbuildinfo.man | 2 +- scripts/dpkg-genbuildinfo.pl | 5 +++-- 5 files changed, 10 insertions(+), 7 deletions(-) commit 08ceaf0dd829aa1cee5382974ce29540955a25df Author: Guillem Jover Date: Sat Apr 1 16:49:48 2017 +0000 dpkg-shlibdeps: Cache get_control_path() calls It is basically a thin-wrapper around «dpkg-query --control-path» and the repeated calls add up to quite a sum. Results from a poor-mans performance test on ~90 ELF binaries from piglit: * BEFORE: real 0m35.892s user 0m15.652s sys 0m18.584s * AFTER: real 0m10.884s user 0m7.316s sys 0m3.296s Closes: #846405 Based-on-patch-by: Niels Thykier Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/dpkg-shlibdeps.pl | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) commit 96a678f5adfb9328ad042254b9a60f3ec0dc75a7 Author: Guillem Jover Date: Fri Jul 7 03:05:29 2017 +0200 po: Add all source files to POTFILES.in files Even though some do not have any translation currently, not listing all the source files by principle means that we might start adding translated strings to existing files and forget to update the needed POTFILES.in. In this case also there were some files that did have translations. debian/changelog | 1 + po/POTFILES.in | 23 +++++++++++++++++++---- scripts/po/POTFILES.in | 5 +++++ 3 files changed, 25 insertions(+), 4 deletions(-) commit abad69ed09d0986bd4a554b5b5fc6779a7ef3d48 Author: Frans Spiesschaert Date: Fri Jul 7 01:54:01 2017 +0200 po: Update Dutch man page translation Closes: #862924 Signed-off-by: Guillem Jover debian/changelog | 1 + man/po/nl.po | 106 ++++++++++++++++++++++++++----------------------------- 2 files changed, 51 insertions(+), 56 deletions(-) commit 48e19bbcb6323d0fda5df367af994e5ff299d5e3 Author: Pietro Battiston Date: Fri Jul 7 01:31:20 2017 +0200 po: Fix in Italian program translation Closes: #864509 Reviewed-by: Mattia Rizzolo Signed-off-by: Guillem Jover debian/changelog | 1 + po/it.po | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit b7b077d09a8e004bd57da18923f5f14bf77e3160 Author: Zhou Mo Date: Fri Jul 7 00:32:47 2017 +0200 po: Update Simplified Chinese programs translation Closes: #867133 Signed-off-by: Guillem Jover debian/changelog | 4 ++ po/zh_CN.po | 117 ++++++++++++++++--------------------------------------- 2 files changed, 37 insertions(+), 84 deletions(-) commit c991f1bf5c799f72caecb6d62bcb339171796aa4 Author: Guillem Jover Date: Fri Jul 7 00:21:50 2017 +0200 debian: Remove preinst maintainer scripts for dselect and dpkg-dev These were upgrade recipes from 1.14.x, for an old /usr/share/doc symlink to directory switch. Closes: #867327 debian/changelog | 3 +++ debian/dpkg-dev.preinst | 31 ------------------------------- debian/dselect.preinst | 31 ------------------------------- 3 files changed, 3 insertions(+), 62 deletions(-) commit 10b721dc31872a1f561e2a25ae2331d1add9bfd3 Author: Guillem Jover Date: Thu Jul 6 03:58:19 2017 +0200 t-provides: Add versioned Provides version range case Suggested-by: Adrian Bunk t-provides/Makefile | 28 ++++++++++++++++++++++++++- t-provides/pkg-a-depends-ge-lt/DEBIAN/control | 8 ++++++++ t-provides/pkg-b-provides-10/DEBIAN/control | 8 ++++++++ t-provides/pkg-c-provides-20/DEBIAN/control | 8 ++++++++ 4 files changed, 51 insertions(+), 1 deletion(-) commit b7f2c0a2e088a2ebf5f41bce7f2b5a55061f644c Author: Helge Kreutzmann Date: Wed Jul 5 19:36:56 2017 +0200 Update German translation of manual pages Update to 2843t1f. man/po/de.po | 53 +++++++++++++++++++++++++++++------------------------ 1 file changed, 29 insertions(+), 24 deletions(-) commit 55c291c69bc9ee7c00731f4f5ffafd42673eb7d1 Author: Guillem Jover Date: Tue Jul 4 03:33:25 2017 +0200 s-s-d: Parse usernames and groupnames starting with digits correctly We should not consider a username or groupname that starts with digits as a valid uid or gid. When parsing integers we should parse the strings fully and not consider any partial parsing to be correct. Reported-by: Bodo Eggert <7eggert@online.de> debian/changelog | 2 ++ utils/start-stop-daemon.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit b8a9fefcfa67f7c93a526cfdb3c92943129f9d65 Author: Guillem Jover Date: Wed May 24 03:06:25 2017 +0200 man: Update buildinfo information to match the current implementation debian/changelog | 2 ++ man/dpkg-buildpackage.man | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 398a4ae2cc734d6187af8972d5225dbf7e51fde7 Author: Guillem Jover Date: Sun May 21 19:43:35 2017 +0200 dpkg-source: Remove unused Dpkg::Index module import scripts/dpkg-source.pl | 1 - 1 file changed, 1 deletion(-) commit 976d6ad7be0b704fab3675175a051b9d94a9b68e Author: Guillem Jover Date: Tue Feb 14 13:55:03 2017 +0100 Dpkg::Index: Add a new "unique_tuple_key" option to set_options() When the option is true it will set a get_func_key to a function that generates a unique tuple for that item. For CTRL_INDEX_SRC and CTRL_PKG_SRC use the Package and Version fields, for CTRL_INDEX_PKG and CTRL_PKG_DEB use the Package, Version and Architecture fields, all joined by "_" to index the entries. This behavior will become the default in dpkg 1.20.x. A deprecation warning will be emitted now requesting to set the option to true or to set a get_key_func options. Prompted-by: Johannes Schauer debian/changelog | 3 +++ scripts/Dpkg/Index.pm | 69 +++++++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 62 insertions(+), 10 deletions(-) commit 13a9dcf9c0396fe959a95508514695985ee98522 Author: Guillem Jover Date: Tue Feb 14 13:55:03 2017 +0100 Dpkg::Index: Itemize the CTRL_* constants in the POD debian/changelog | 1 + scripts/Dpkg/Index.pm | 50 +++++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 42 insertions(+), 9 deletions(-) commit ef8a0d63edcc867a66ddb10c801e4a8bb36c0111 Author: Guillem Jover Date: Tue Jul 4 05:05:41 2017 +0200 test: Add missing POD stopwords Fixes: commit 2378fb62a7b0985aef451beb9ff856a4df5dd715 t/pod-spell.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 8ee86f14b2525813a9fe8a2018d55b09b451b32e Author: Helge Kreutzmann Date: Sun May 21 07:57:47 2017 +0200 Fix changelog debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 505c67eb0ce3a39219394e94ab6d27e0667f2b3e Author: Helge Kreutzmann Date: Sun May 21 07:55:48 2017 +0200 Update German translation of manual pages Update to 2843t1f. debian/changelog | 5 ++++- man/po/de.po | 68 +++++++++++++++++++++++++++++++++++++------------------- 2 files changed, 49 insertions(+), 24 deletions(-) commit 68ddad3e87562ab2760a168482569a283d97375f Author: Guillem Jover Date: Sun May 21 00:20:20 2017 +0200 debian: Install the perl module man pages from section 3perl Fixes: commit 0b020bec8cffe1bf21931f868262d7a34592d1a3 debian/libdpkg-perl.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit efad997fbe3d4b4db0ba95fe42149cf6b56d48fc Author: Guillem Jover Date: Sat Apr 22 18:49:14 2017 +0200 man: Use command-string instead of command for dpkg-architecture -c argument Using the same name as the name in the SYNOPSIS, or the COMMANDS section seems confusing as it can be understood as the program accepting -c argument values without the -c command option. Reported-by: Johannes Schauer debian/changelog | 2 ++ man/dpkg-architecture.man | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit 5fe793718842afc08c81ab6b86209fa959bb9b60 Author: Guillem Jover Date: Sun Apr 9 16:53:28 2017 +0200 man: Clarify behavior for dpkg-maintscript-helper Closes: #857852 debian/changelog | 1 + man/dpkg-maintscript-helper.man | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) commit 5a16a039309ccc52892f628b761a16f2baedf79f Author: Guillem Jover Date: Sun Apr 9 15:01:20 2017 +0200 man: Mark source:Version substvar in bold in deb-substvars(5) debian/changelog | 1 + man/deb-substvars.man | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 2378fb62a7b0985aef451beb9ff856a4df5dd715 Author: Guillem Jover Date: Sun Apr 9 03:51:03 2017 +0200 man: Document currently accepted syntax for changelogs The current implementation supports several comment lines, VCS and editor variable settings which get ignored. In addition, to be able to handle ancient changelog entries, the parser will detect those and ignore while preserving them for output. Closes: #858579 Reviewed-by: G. Branden Robinson debian/changelog | 3 +++ man/deb-changelog.man | 10 +++++++++- man/dpkg-mergechangelogs.man | 4 ++-- scripts/Dpkg/Changelog/Debian.pm | 8 ++++---- 4 files changed, 18 insertions(+), 7 deletions(-) commit b22d5b1ba169c10a608c2f351cae32fd51206055 Author: Niels Thykier Date: Sat Apr 1 09:47:14 2017 +0000 dpkg-shlibdeps: Remove unused my $file variable Signed-off-by: Niels Thykier debian/changelog | 2 ++ scripts/dpkg-shlibdeps.pl | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) commit f57835579cf70a7ed5569d84c30c25a901a18ca3 Author: Guillem Jover Date: Sat May 20 05:06:17 2017 +0200 test: Use Module::Metadata instead of grepping for $VERSION debian/changelog | 1 + t/pod-coverage.t | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 9e8530f5e7d89c8abe9e6cf782a11698f280127c Author: Guillem Jover Date: Thu May 18 00:16:49 2017 +0200 test: Add new module-version unit test This will check that the module $VERSION matches the newest entry in the CHANGES section if there is any POD present. Makefile.am | 1 + debian/changelog | 2 ++ t/module-version.t | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+) commit 983c1bc74c8e036bc5ae6d9646474d8acbc9a112 Author: Guillem Jover Date: Thu May 18 00:12:01 2017 +0200 Test::Dpkg: Add new all_perl_modules function debian/changelog | 1 + scripts/Test/Dpkg.pm | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) commit c96fef71fc69b4d30ef60f7dfb5790fc1d5d31b6 Author: Guillem Jover Date: Thu May 18 00:07:14 2017 +0200 test: Disable perlcritic ValuesAndExpressions::ProhibitEscapedCharacter debian/changelog | 1 + t/critic/perlcriticrc | 3 +++ 2 files changed, 4 insertions(+) commit 27d8ebdbe3e106d2d16c37e9e3e4271308aab17a Author: Guillem Jover Date: Thu May 18 00:00:38 2017 +0200 test: Enable perlcritic Documentation::RequirePodSections Declare the minimum required POD sections. debian/changelog | 3 ++- t/critic.t | 1 + t/critic/perlcriticrc | 7 ++++--- 3 files changed, 7 insertions(+), 4 deletions(-) commit dd3cdbaf21841205a47d980a6678672973847d10 Author: Guillem Jover Date: Wed May 17 23:42:17 2017 +0200 test: Enable perlcritic Miscellanea::ProhibitTies debian/changelog | 2 ++ scripts/Dpkg/Compression/FileHandle.pm | 2 +- scripts/Dpkg/Control/HashCore.pm | 2 +- t/critic.t | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) commit 0b020bec8cffe1bf21931f868262d7a34592d1a3 Author: Guillem Jover Date: Sun Apr 9 03:19:25 2017 +0200 build: Install perl man pages in section 3perl debian/changelog | 1 + scripts/Makefile.am | 12 +++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) commit 7fd3dc1d6aed1c1a8a6bbe783d982e6db6073412 Author: Guillem Jover Date: Fri Mar 31 05:53:00 2017 +0200 build: Do not override the default DEPENDENCIES for libdpkg Extend it instead, to make sure that we preserve the libcompat dependency generated from LIBADD. debian/changelog | 1 + lib/dpkg/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 449adb2959642f8a10729a0cbf6eedf0cc4441b2 Author: Guillem Jover Date: Wed Feb 22 22:49:18 2017 +0100 build: Add new gcc-7 warnings debian/changelog | 2 ++ m4/dpkg-compiler.m4 | 2 ++ 2 files changed, 4 insertions(+) commit 7f779d971f1f9af460cb2286047ab97e854796ac Author: Guillem Jover Date: Thu May 18 06:25:26 2017 +0200 Dpkg::Util: Remove and replace with core module List::Util Our current minimal Perl version contains a new enough List::Util module implementing none and any, and several other functions. debian/changelog | 3 ++ scripts/Dpkg/Arch.pm | 2 +- scripts/Dpkg/BuildProfiles.pm | 2 +- scripts/Dpkg/Changelog/Parse.pm | 2 +- scripts/Dpkg/Deps.pm | 1 - scripts/Dpkg/Shlibs.pm | 2 +- scripts/Dpkg/Shlibs/Symbol.pm | 2 +- scripts/Dpkg/Source/Package/V3/Quilt.pm | 2 +- scripts/Dpkg/Source/Quilt.pm | 2 +- scripts/Dpkg/Util.pm | 59 --------------------------------- scripts/Makefile.am | 2 -- scripts/dpkg-genbuildinfo.pl | 2 +- scripts/dpkg-genchanges.pl | 2 +- scripts/dpkg-gencontrol.pl | 2 +- scripts/dpkg-scanpackages.pl | 2 +- scripts/dpkg-scansources.pl | 2 +- scripts/dpkg-shlibdeps.pl | 2 +- scripts/dpkg-source.pl | 2 +- scripts/po/POTFILES.in | 1 - scripts/t/Dpkg_Util.t | 38 --------------------- t/critic/perlcriticrc | 3 -- t/pod-coverage.t | 2 +- 22 files changed, 18 insertions(+), 119 deletions(-) commit 810aa7aec63ded6de321bab69cd1b5e725a0fff1 Author: Guillem Jover Date: Thu May 18 05:56:23 2017 +0200 doc: Bump minimal Perl version to 5.20.2 The Perl version in Debian jessie is 5.20.2, which is the release that will be oldstable once 1.19.x gets uploaded to Debian unstable. debian/changelog | 3 ++- doc/coding-style.txt | 4 ++-- m4/dpkg-progs.m4 | 2 +- t/minimum-version.t | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) commit 090d1481ae666a7e1527c9e674424f7a4abb1b02 Author: Helge Kreutzmann Date: Thu May 18 18:10:06 2017 +0200 Remove accidentially forgotten ,fuzzy man/po/de.po | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) commit 65f96697fa0bedd74fd554244365943bc6014d3b Author: Guillem Jover Date: Thu May 18 05:28:32 2017 +0200 Bump version to 1.19.0 TODO | 2 +- debian/changelog | 6 ++++++ scripts/Dpkg.pm | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) commit 4fd7def03c96e82c03773c6eca111cf244bae8c0 Author: Guillem Jover Date: Wed May 17 13:16:31 2017 +0200 Release 1.18.24 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 99eec1e82a7e6f020dc7f5a5eb7c5281517c670c Author: Guillem Jover Date: Wed May 17 13:27:04 2017 +0200 po: Regenerate .pot files and merge .po files with them dselect/po/bs.po | 2 +- dselect/po/ca.po | 5 ++- dselect/po/cs.po | 3 +- 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/de.po | 31 ++++++++++------ man/po/dpkg-man.pot | 21 ++++++----- man/po/es.po | 15 +++++--- man/po/fr.po | 15 +++++--- man/po/hu.po | 15 +++++--- man/po/it.po | 15 +++++--- man/po/ja.po | 15 +++++--- man/po/nl.po | 24 +++++++++--- man/po/pl.po | 15 +++++--- man/po/pt_BR.po | 15 +++++--- man/po/ru.po | 15 +++++--- man/po/sv.po | 15 +++++--- man/po/zh_CN.po | 15 +++++--- po/ast.po | 14 +++---- po/bs.po | 12 +++--- po/ca.po | 29 +++++++++------ po/cs.po | 18 +++++---- po/da.po | 12 +++--- po/de.po | 12 +++--- po/dpkg.pot | 14 +++---- po/dz.po | 14 +++---- po/el.po | 14 +++---- po/eo.po | 12 +++--- po/es.po | 59 ++++++++++++++++++----------- po/et.po | 14 +++---- po/eu.po | 12 +++--- po/fr.po | 12 +++--- po/gl.po | 14 +++---- po/hu.po | 14 +++---- po/id.po | 12 +++--- po/it.po | 12 +++--- po/ja.po | 12 +++--- po/km.po | 14 +++---- po/ko.po | 12 +++--- po/ku.po | 12 +++--- po/lt.po | 14 +++---- po/mr.po | 14 +++---- po/nb.po | 12 +++--- po/ne.po | 14 +++---- po/nl.po | 12 +++--- po/nn.po | 12 +++--- po/pa.po | 14 +++---- po/pl.po | 12 +++--- po/pt.po | 12 +++--- po/pt_BR.po | 14 +++---- po/ro.po | 12 +++--- po/ru.po | 12 +++--- po/sk.po | 12 +++--- po/sv.po | 12 +++--- po/th.po | 12 +++--- po/tl.po | 12 +++--- po/tr.po | 12 +++--- po/vi.po | 12 +++--- po/zh_CN.po | 12 +++--- po/zh_TW.po | 12 +++--- scripts/po/ca.po | 99 ++++++++++++++++++++++++++++--------------------- scripts/po/de.po | 19 ++++------ scripts/po/dpkg-dev.pot | 13 +------ scripts/po/es.po | 21 +++++------ scripts/po/fr.po | 17 ++++----- scripts/po/pl.po | 21 +++++------ scripts/po/ru.po | 17 ++++----- scripts/po/sv.po | 21 +++++------ 94 files changed, 594 insertions(+), 528 deletions(-) commit a373a65e062a47e572f96cf8242e0886de6a2923 Author: Helge Kreutzmann Date: Wed May 17 20:31:16 2017 +0200 Update German translation of manual pages Update to 2841t1f. debian/changelog | 2 +- man/po/de.po | 26 ++++++++++++++++---------- 2 files changed, 17 insertions(+), 11 deletions(-) commit 19cf51bc93a023fed4aa843dfd4090e537b20833 Author: Guillem Jover Date: Wed Jan 11 23:19:50 2017 +0100 libdpkg: Improve tar metadata parsing Make the existing octal parser more robust, by checking for the expected format of leading zeros or spaces, followed by any ASCII octal characters (0-7), followed by zero or more space or NULs. Even though POSIX specifies that numerical fields should end with at least one space or NUL, we still support this extension which has been present in other implementations for a long time. Add support for base-256 encoded numeric fields, to support large values, for UID/GID, device number, size and even negative timestamps. This is necessary not only to be able to store larger values, but to cover packages that can already be generated by dpkg-deb, given that it uses the system GNU tar when building. Closes: #850834 debian/changelog | 8 +++ lib/dpkg/libdpkg.map | 2 + lib/dpkg/t/.gitignore | 1 + lib/dpkg/t/Makefile.am | 1 + lib/dpkg/t/t-tar.c | 148 ++++++++++++++++++++++++++++++++++++++++++++++ lib/dpkg/tarfn.c | 155 ++++++++++++++++++++++++++++++++++++++++++++----- lib/dpkg/tarfn.h | 9 ++- man/deb.man | 9 ++- 8 files changed, 314 insertions(+), 19 deletions(-) commit a6fbd1693e41d86db6884f1ce8b8576fcdeb7495 Author: Guillem Jover Date: Mon May 15 06:45:14 2017 +0200 libdpkg: Do not parse device number for non block nor char tar entry objects We should not try to parse these fields if the tar entry is neither a block nor a char device. On older tar entries these fields will be all NULs, so it would make a parser expecting a somewhat strictly formatted octal value to error out. debian/changelog | 2 ++ lib/dpkg/tarfn.c | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit 7c58bb402d7e57312f89efae4a9d811b9b29d11a Author: Guillem Jover Date: Mon May 15 06:43:17 2017 +0200 libdpkg: Handle files with non-zero sizes in c-tarextract test code The test suite only handles empty files, so it never had any problem with not skipping those objects. But when testing it on common data, and to make the code future-proof, we should just skip the file objects when parsing them. debian/changelog | 1 + lib/dpkg/t/c-tarextract.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+) commit 9507afd811a3d73822dc6a6b110bd602b82aad0b Author: Guillem Jover Date: Wed Apr 26 19:11:10 2017 +0200 dpkg: Fix digest inference for shared conffiles The code in charge of inferring the digest for a conffile was checking the owning package status twice, and ignoring conffiles with a status lower than "unpacked" even if they had been configured previously and their md5sums were valid. This was causing bogus takeover unpack errors. Fixes: commit 05a8ddb482419d110571679a29bcd25e3c2b036d Closes: #861217 Stable-Candidate: 1.17.x debian/changelog | 2 ++ src/archives.c | 6 +----- 2 files changed, 3 insertions(+), 5 deletions(-) commit 0970c5e5c48d24f5d723f0d0f0c0cec37338b59b Author: Guillem Jover Date: Thu Mar 16 17:20:13 2017 +0100 dpkg: Fix conffile takeover handling during unpack on --root or diversions The current code was trying to stat(2) a conffile without taking into account a specified root directory, nor any possible diversions. But the check based on the device and inode was pretty much unnecessary because a simple string comparison is enough here, which as a bogus solves both problems by reducing the code size. Closes: #837051, #858004 Stable-Candidate: 1.17.x debian/changelog | 2 ++ src/archives.c | 9 +-------- 2 files changed, 3 insertions(+), 8 deletions(-) commit 7cdeb9bafb4512b29b40e3c74fef7ced7e03a01b Author: Guillem Jover Date: Sat Apr 29 23:43:49 2017 +0200 Dpkg::Source::Package: Ignore debian/files and debian/files.new by default These are generated files, and these pathnames are part of the external interface. With the introduction of the buildinfo support, these get generated even on source builds, which means that it can disrupt previous workflows based on not cleaning the source tree, because they assumed that source-only builds did not have filesystem side-effects. debian/changelog | 6 ++++++ scripts/Dpkg/Source/Package.pm | 8 ++++++-- scripts/Dpkg/Source/Package/V1.pm | 8 ++++++-- 3 files changed, 18 insertions(+), 4 deletions(-) commit 45f0c9a93098af4173a6cd6c6a90b3e5d043f213 Author: Guillem Jover Date: Sun Apr 30 00:42:17 2017 +0200 dpkg-genbuildinfo: Add duplicate prevention code for debian/files We should do something similar to what dpkg-gencontrol is doing, by preventing duplicated entries for the same file with different versions. In this case, because the assumption is that there can ever only be one buildinfo file for a «source» or «all» build, but possibly multiple for arch-specific builds (from another build driver than dpkg-buildpackage), we filter based on this. debian/changelog | 4 ++++ scripts/dpkg-genbuildinfo.pl | 14 +++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) commit 8ffbe5f5c0012c740e1b61c460cea093ac080dea Author: Guillem Jover Date: Sat Apr 22 18:48:10 2017 +0200 dpkg-maintscript-helper: Print all unowned files from a directory Add a new internal command that is not part of the public interface, that takes care of checking whether a pathname is owned by a package. This internal command has some logic to prevent external abuse, by checking whether the parent has set a specific environment variable with a token that changes per release. The code will list all unowned files because xargs does not short-circuit on the first command erroring out, as long these do not terminate with an exit code of 255. Closes: #813454, #860238 Based-on-patch-by: Bastien ROUCARIÈS debian/changelog | 4 ++++ scripts/dpkg-maintscript-helper.sh | 31 +++++++++++++++++++++++-------- 2 files changed, 27 insertions(+), 8 deletions(-) commit 31f98198278ae0a70b5594680e05454a383ac175 Author: Guillem Jover Date: Sun Apr 23 04:51:58 2017 +0200 dpkg-shlibdeps: Preserve the order when scanning symbols/shlibs files The code was getting all the possible shared library pathnames for the wanted SONAME, but was not preserving the order carefully constructed in find_library(), so we were overwriting symbols/shlibs information when parsing multiple entries, and selecting the symbols/shlibs files randomly based on the perl hash order. This causes regressions when multiple packages provide the same SONAME on different directories. An example would be libc6:amd64 and libc6-amd64:i386. Fixes: commit a927295c93fb7a17742441aa863aaffcf4a351b5 Closes: #860979 Reported-by: Helmut Grohne debian/changelog | 4 +++ scripts/dpkg-shlibdeps.pl | 74 ++++++++++++++++++++++++++++++++--------------- 2 files changed, 55 insertions(+), 23 deletions(-) commit 7c77a05faaff3e23ca39f27e946f4edee5b8b144 Author: Guillem Jover Date: Sun Mar 19 19:40:14 2017 +0100 Dpkg::Source::Patch: Indented patch test-case POSIX specifies that a diff hunk can be indented by spaces or tabs (while the original patch(1) by Larry Wall also accepts 'X'), as long as the amount of spaces is consistent for all subsequent lines. And as we are not checking for this condition at all, any such indented hunk can avoid the sanity checks performed by Dpkg::Source::Patch. On systems using GNU patch >= 2.7.5, this should, in principle, not be a problem anymore, as that implementation protects against directory traversal issue. But on other systems where the patch implementation does not perform such checks (such as the BSDs) this is an issue, so check for this in the test-suite. Those are arguably all security issues in these various patch implementations, but given that we are performing sanity checks and that those implementations are currently very lax, it seems prudent to do the heavy lifting ourselves and also take the possible blame too. Ref: CVE-2017-8283 Stable-Candidate: 1.17.x debian/changelog | 3 +++ scripts/Makefile.am | 1 + scripts/t/Dpkg_Source_Patch.t | 6 +++++- scripts/t/Dpkg_Source_Patch/indent-header.patch | 9 +++++++++ 4 files changed, 18 insertions(+), 1 deletion(-) commit 3a9f07899770432d25990e4cdd78974f8821520a Author: Guillem Jover Date: Fri May 5 19:09:07 2017 +0200 Dpkg::Deps: Bump $VERSION to match the documented CHANGES The documentation on the CHANGES section did not match the current $VERSION, bump it so that it does, and document when it was actually bumped, so that users do not get confused. Fixes: commit 608f93858f2fc44e86538fbf585d4e0fa9cf7743 debian/changelog | 1 + scripts/Dpkg/Deps.pm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 8ba04d41c839318b5a024f6c5298848d3b54c723 Author: Guillem Jover Date: Tue Mar 28 22:44:36 2017 +0200 build: Detect the required GNU patch This makes sure the perl module is using a directory traversal resistant patch implementation, currently that's only GNU patch. Fixes: CVE-2017-8283 Stable-Candidate: 1.17.x configure.ac | 1 + debian/changelog | 4 ++++ m4/dpkg-progs.m4 | 15 +++++++++++++++ scripts/Dpkg.pm | 13 ++++++++++++- scripts/Dpkg/Source/Patch.pm | 9 +++++---- scripts/Makefile.am | 2 ++ 6 files changed, 39 insertions(+), 5 deletions(-) commit 068980536d9bf613cc0e0b6d17b49cc3e3b37313 Author: Guillem Jover Date: Tue Mar 28 22:44:36 2017 +0200 build: Detect the required GNU tar For now we do require a GNU tar implementation, so let's check this explicitly in configure, so that downstream packagers do not get surprised when the code fails at run-time. In the future this should be lifted once we switch fully to an internal tar implementation. debian/changelog | 1 + m4/dpkg-progs.m4 | 3 +++ 2 files changed, 4 insertions(+) commit b13055da588bd58617e7fdf453eff7453f9ec41a Author: Michael Vogt Date: Fri Mar 17 08:36:44 2017 +0100 t-conffile-root-option: New test case [guillem@debian.org: - Protect check within a feature conditional. - Refactor root directory into a TEST_ROOT variable. - Use BEROOT when removing the chroot. - Minor formatting fixes for comments. - Remove empty blank last lines. ] Fixes: https://bugs.debian.org/858004 Fixes: https://bugs.launchpad.net/bugs/1673247 Signed-off-by: Guillem Jover Feature.mk | 1 + Makefile | 3 ++ t-conffile-root-option/Makefile | 36 ++++++++++++++++++++++ .../pkg-conff-a-1/DEBIAN/conffiles | 1 + .../pkg-conff-a-1/DEBIAN/control | 7 +++++ t-conffile-root-option/pkg-conff-a-1/test-conffile | 1 + .../pkg-conff-a-2/DEBIAN/control | 7 +++++ .../pkg-conff-b-1/DEBIAN/control | 7 +++++ .../pkg-conff-b-2/DEBIAN/conffiles | 1 + .../pkg-conff-b-2/DEBIAN/control | 7 +++++ t-conffile-root-option/pkg-conff-b-2/test-conffile | 1 + 11 files changed, 72 insertions(+) commit d62520090a7dafb123b6f1f4d4e9b61b75218057 Author: Adam Conrad Date: Wed Apr 26 03:09:37 2017 +0200 Dpkg::Vendor::Ubuntu: Remove obsolete hardening-wrapper support Signed-off-by: Guillem Jover debian/changelog | 3 +++ scripts/Dpkg/Vendor/Ubuntu.pm | 37 ------------------------------------- 2 files changed, 3 insertions(+), 37 deletions(-) commit bea859cbc426deec85729d363b9f63ec9d490d71 Author: Guillem Jover Date: Fri Mar 31 05:51:43 2017 +0200 libdpkg: Add missing symbols to the map file This causes build failures when enabling the shared library. debian/changelog | 1 + lib/dpkg/libdpkg.map | 11 +++++++++++ 2 files changed, 12 insertions(+) commit 7e0656a1e1ab5177b5bacecad96ee0a1386b505a Author: Guillem Jover Date: Wed Mar 15 19:49:08 2017 +0100 arch: Add support for ARM64 ILP32 Closes: #824742 Based-on-patch-by: Wookey data/abitable | 1 + data/ostable | 1 + data/tupletable | 1 + debian/changelog | 3 +++ scripts/t/Dpkg_Arch.t | 4 ++-- 5 files changed, 8 insertions(+), 2 deletions(-) commit 747f3df99aa0263ba684c6ce317310b0c75f72c8 Author: Guillem Jover Date: Mon Mar 6 22:28:45 2017 +0100 build: Use libexec variable for auxiliary internal programs Using libdir is wrong, and doubly so when being referred from architecture independent files such as perl modules. This affects non-Debian based systems, which might by default use an arch varying libdir per architecture, for example when using the obsolete multilib layout. debian/changelog | 3 +++ debian/rules | 1 + dselect/Makefile.am | 3 ++- dselect/methods/Makefile.am | 2 +- man/Makefile.am | 2 +- scripts/Makefile.am | 2 +- 6 files changed, 9 insertions(+), 4 deletions(-) commit 24899e778c30cbbe399c1cc27f4a004faf33b7e1 Author: Guillem Jover Date: Sun Apr 2 19:27:19 2017 +0200 build: Spell builtin correctly This has no functional effect, it's just used for output. m4/dpkg-libs.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ac578fa8c26729ae08594bd71275df6322f9a77f Author: Guillem Jover Date: Sun May 7 16:26:59 2017 +0200 po: Add missing new lines in Catalan translation scripts/po/ca.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit d363dae69e329fa22289bc5c794c87162573f10d Author: Guillem Jover Date: Fri Apr 28 04:08:08 2017 +0200 debian: Add missing changelog entries Entry for Spanish translation update. Multi-maintainer marking in 1.18.23. debian/changelog | 2 ++ 1 file changed, 2 insertions(+) commit f6cae61030e322b8815cc4f4a8a263c90447f6bc Author: Guillem Jover Date: Sat Apr 29 23:43:11 2017 +0200 po: Update Catalan translation debian/changelog | 7 + dselect/po/ca.po | 94 ++----- po/ca.po | 364 ++++++++---------------- scripts/po/ca.po | 834 +++++++++++++++++-------------------------------------- 4 files changed, 404 insertions(+), 895 deletions(-) commit 451bd5d85672e60eed60ef2e24bf007182395e6d Author: David Rabel Date: Sat Mar 11 12:51:48 2017 +0100 po: Fix German man page translation Closes: #857449 Signed-off-by: Guillem Jover debian/changelog | 3 +++ man/po/de.po | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit e43d0d04e3376e104ab68ce61c23d941e970ca45 Author: Guillem Jover Date: Thu Mar 9 04:22:24 2017 +0100 po: Unfuzzy strings after spelling fixes man/po/de.po | 14 +++++++------- man/po/dpkg-man.pot | 12 ++++++------ man/po/es.po | 16 ++++++++-------- man/po/fr.po | 24 ++++++++++++------------ man/po/hu.po | 14 +++++++------- man/po/it.po | 16 ++++++++-------- man/po/ja.po | 16 ++++++++-------- man/po/nl.po | 14 +++++++------- man/po/pl.po | 16 ++++++++-------- man/po/pt_BR.po | 14 +++++++------- man/po/ru.po | 14 +++++++------- man/po/sv.po | 16 ++++++++-------- man/po/zh_CN.po | 14 +++++++------- po/ast.po | 8 ++++---- po/bs.po | 4 ++-- po/ca.po | 4 ++-- po/cs.po | 4 ++-- po/da.po | 4 ++-- po/de.po | 4 ++-- po/dpkg.pot | 4 ++-- po/dz.po | 8 ++++---- po/el.po | 8 ++++---- po/eo.po | 4 ++-- po/es.po | 4 ++-- po/et.po | 4 ++-- po/eu.po | 4 ++-- po/fr.po | 4 ++-- po/gl.po | 8 ++++---- po/hu.po | 8 ++++---- po/id.po | 8 ++++---- po/it.po | 4 ++-- po/ja.po | 4 ++-- po/km.po | 12 ++++++------ po/ko.po | 8 ++++---- po/ku.po | 4 ++-- po/lt.po | 8 ++++---- po/mr.po | 8 ++++---- po/nb.po | 8 ++++---- po/ne.po | 8 ++++---- po/nl.po | 4 ++-- po/nn.po | 6 +++--- po/pa.po | 4 ++-- po/pl.po | 4 ++-- po/pt.po | 4 ++-- po/pt_BR.po | 8 ++++---- po/ro.po | 8 ++++---- po/ru.po | 4 ++-- po/sk.po | 6 +++--- po/sv.po | 4 ++-- po/th.po | 4 ++-- po/tl.po | 6 +++--- po/tr.po | 4 ++-- po/vi.po | 4 ++-- po/zh_CN.po | 4 ++-- po/zh_TW.po | 6 +++--- scripts/po/ca.po | 6 +++--- scripts/po/de.po | 6 +++--- scripts/po/dpkg-dev.pot | 6 +++--- scripts/po/es.po | 6 +++--- scripts/po/fr.po | 6 +++--- scripts/po/pl.po | 6 +++--- scripts/po/ru.po | 6 +++--- scripts/po/sv.po | 6 +++--- 63 files changed, 242 insertions(+), 242 deletions(-) commit 71db021361e25a46aebac52ca62e406d1e6c0f7c Author: Guillem Jover Date: Tue Mar 14 03:15:29 2017 +0100 doc: Do not include mispellings in changelogs This makes detecting them more difficult, as they become a bunch of false-positives to wade through. ChangeLog.old | 57 +++++++++++++++++++++++++--------------------------- debian/changelog | 20 +++++++++--------- man/po/ChangeLog.old | 6 +++--- po/ChangeLog.old | 2 +- 4 files changed, 42 insertions(+), 43 deletions(-) commit 75033aa803928948d8bc422bf505ab99f72f0095 Author: Guillem Jover Date: Tue Mar 7 02:42:18 2017 +0100 doc: Spelling fixes Spotted-by: Josh Soref ChangeLog.old | 7 +++---- debian/changelog | 4 ++-- src/configure.c | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) commit b46c8ba6504ab341d74e61f003124d772a3f3875 Author: Josh Soref Date: Sun Feb 26 22:14:52 2017 +0000 doc: Spelling fixes Signed-off-by: Guillem Jover ChangeLog.old | 102 ++++++++++++++++++------------------- TODO | 6 +-- debian/changelog | 78 ++++++++++++++-------------- doc/README.api | 2 +- dpkg-deb/extract.c | 2 +- dselect/basecmds.cc | 2 +- dselect/methods/floppy/update | 2 +- dselect/methods/ftp/install.pl | 2 +- dselect/pkgdepcon.cc | 2 +- dselect/pkglist.cc | 2 +- lib/compat/obstack.c | 2 +- lib/compat/obstack.h | 2 +- lib/dpkg/dbdir.c | 4 +- lib/dpkg/debug.c | 2 +- lib/dpkg/debug.h | 2 +- lib/dpkg/fields.c | 4 +- lib/dpkg/report.c | 2 +- lib/dpkg/t/c-trigdeferred.c | 2 +- lib/dpkg/t/t-ehandle.c | 2 +- lib/dpkg/t/t-tarextract.t | 2 +- lib/dpkg/t/t-treewalk.t | 4 +- m4/dpkg-arch.m4 | 2 +- man/deb-buildinfo.man | 2 +- man/deb-version.man | 2 +- man/dpkg-source.man | 6 +-- man/dpkg.man | 2 +- man/po/ChangeLog.old | 2 +- po/ChangeLog.old | 4 +- scripts/Dpkg/Control/HashCore.pm | 2 +- scripts/Dpkg/Shlibs/Symbol.pm | 2 +- scripts/Dpkg/Source/Package.pm | 2 +- scripts/dpkg-buildpackage.pl | 6 +-- scripts/dpkg-maintscript-helper.sh | 2 +- scripts/dpkg-shlibdeps.pl | 2 +- scripts/t/Dpkg_Changelog.t | 8 +-- scripts/t/Dpkg_Changelog/shadow | 20 ++++---- scripts/t/Dpkg_Checksums.t | 2 +- scripts/t/Dpkg_Dist_Files.t | 2 +- scripts/t/Dpkg_Shlibs.t | 6 +-- scripts/t/Dpkg_Shlibs/ld.so.conf | 6 +-- scripts/t/Dpkg_Shlibs/ld.so.conf_2 | 2 +- scripts/t/dpkg_buildpackage.t | 2 +- scripts/t/mk.t | 2 +- src/archives.c | 2 +- src/configure.c | 2 +- src/main.c | 2 +- src/t/dpkg_divert.t | 2 +- src/trigproc.c | 2 +- 48 files changed, 163 insertions(+), 161 deletions(-) commit 4137592923011e34c865d34d202a02871c3840aa Author: Miroslav Kure Date: Sat May 6 13:20:04 2017 +0200 Updated Czech translation debian/changelog | 3 + dselect/po/cs.po | 203 +++++++++++--------------- po/cs.po | 428 +++++++++++++++++-------------------------------------- 3 files changed, 221 insertions(+), 413 deletions(-) commit ce003c48ef2226e65d9dabdbedb2512b56e1185f Author: Javier Fernández-Sanguino Peña Date: Fri Apr 7 17:49:46 2017 +0200 Updated Spanish translation po/es.po | 307 ++++++++++++++++++++------------------------------------------- 1 file changed, 96 insertions(+), 211 deletions(-) commit 00bff507e351682e9f5da1267d28192d776f0420 Author: Guillem Jover Date: Mon Apr 3 11:06:17 2017 +0200 t-conffile-replaces-diverted: New test case Feature.mk | 1 + Makefile | 3 +++ t-conffile-replaces-diverted/Makefile | 17 +++++++++++++++++ .../pkg-conff-0/DEBIAN/conffiles | 1 + t-conffile-replaces-diverted/pkg-conff-0/DEBIAN/control | 7 +++++++ t-conffile-replaces-diverted/pkg-conff-0/test/conffile | 1 + t-conffile-replaces-diverted/pkg-conff-1/DEBIAN/control | 7 +++++++ .../pkg-conff-move/DEBIAN/conffiles | 1 + .../pkg-conff-move/DEBIAN/control | 8 ++++++++ .../pkg-conff-move/test/conffile | 1 + 10 files changed, 47 insertions(+) commit 7a315d3a5adfaab1a53167404e8d409539792fbd Author: Johannes Schauer Marin Rodrigues Date: Tue Jan 31 08:17:06 2017 +0100 build: Support running from path with spaces Signed-off-by: Guillem Jover Test.mk | 2 +- t-multiarch/Makefile | 44 ++++++++++++++++++++++---------------------- t-triggers/Makefile | 12 ++++++------ 3 files changed, 29 insertions(+), 29 deletions(-) commit 5ea227a0ff5cc9b218f937cd6cfaa50ed5f32637 Author: Johannes Schauer Marin Rodrigues Date: Mon Mar 6 05:16:30 2017 +0100 Add bug number for dpkg-maintscript-helper lack of non-root support Signed-off-by: Guillem Jover Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 89f9f6ce119ecb0345b1404eea2853f156182601 Author: Guillem Jover Date: Mon Mar 6 06:52:13 2017 +0100 Bump version to 1.18.24 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 933f2d62873822eae68fc082f69b4a7c48802c28 Author: Guillem Jover Date: Mon Mar 6 05:41:23 2017 +0100 Release 1.18.23 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f797959b4912b18b8f40768b08dad2ab774e1421 Author: Guillem Jover Date: Mon Mar 6 06:27:22 2017 +0100 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/de.po | 32 ++++---- man/po/dpkg-man.pot | 46 +++++++----- man/po/es.po | 71 ++++++++++-------- man/po/fr.po | 71 ++++++++++-------- man/po/hu.po | 50 +++++++------ man/po/it.po | 71 ++++++++++-------- man/po/ja.po | 69 ++++++++++-------- man/po/nl.po | 189 ++++++++++++++++++++++-------------------------- man/po/pl.po | 73 +++++++++++-------- man/po/pt_BR.po | 52 +++++++------ man/po/ru.po | 50 +++++++------ man/po/sv.po | 71 ++++++++++-------- man/po/zh_CN.po | 47 +++++++----- 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 | 4 +- po/nn.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 | 29 ++++++-- scripts/po/de.po | 2 +- scripts/po/dpkg-dev.pot | 15 +++- scripts/po/es.po | 19 +++-- scripts/po/fr.po | 27 ++++++- scripts/po/pl.po | 29 ++++++-- scripts/po/ru.po | 29 ++++++-- scripts/po/sv.po | 29 ++++++-- 94 files changed, 702 insertions(+), 521 deletions(-) commit fa453ac3249430d39db85d814324e0eb7c874cd7 Author: Frans Spiesschaert Date: Mon Mar 6 05:03:42 2017 +0100 po: Update Dutch translations Closes: #856325, #856326 Signed-off-by: Guillem Jover debian/changelog | 6 ++ man/po/nl.po | 163 +++++++++++++++++++++++++++++++------------------------ po/nl.po | 10 ++-- 3 files changed, 103 insertions(+), 76 deletions(-) commit fe65fe1d82c1b3d84f5b733057a6ea809a229f82 Author: Helge Kreutzmann Date: Mon Feb 27 08:58:01 2017 +0100 Update German translation of manual pages Update to 2841t1f. debian/changelog | 3 ++ man/po/de.po | 90 +++++++++++++++++++++++++++++++++++++------------------- 2 files changed, 62 insertions(+), 31 deletions(-) commit 643ae098b54463eed6c40869a03a72f43c946585 Author: Helge Kreutzmann Date: Mon Feb 27 08:41:40 2017 +0100 Update German scripts translation Update to 589t. debian/changelog | 3 +++ scripts/po/de.po | 28 ++++++++++++++++++++++------ 2 files changed, 25 insertions(+), 6 deletions(-) commit f34ce936004583f3280182a9dcc3daa9295f56a0 Author: Guillem Jover Date: Wed Feb 22 22:46:56 2017 +0100 libdpkg: Use snprintf() instead of sprintf() The field width in a format string does not limit the number of bytes emitted, so we can overflow, even if we are checking the number of bytes written. Use snprintf() to limit the amount written. Warned-by: gcc-7 debian/changelog | 2 ++ lib/dpkg/ar.c | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) commit 63bf76937536f21b5ec110c75c166c3d7b343c76 Author: Guillem Jover Date: Wed Feb 22 22:44:29 2017 +0100 dpkg: Add a comment on any switch case that falls through Warned-by: gcc-7 debian/changelog | 2 ++ src/archives.c | 1 + src/depcon.c | 6 ++++-- 3 files changed, 7 insertions(+), 2 deletions(-) commit 7b1b21e4c94ca046141e4d13bd96a0a3d1b6169f Author: Jörg Sonnenberger Date: Wed Feb 15 03:42:40 2017 +0100 dselect: Do not depend on cxxabi.h to have declared __cxa_pure_virtual The C++ ABI specifies that these functions are within the “__cxxabiv1” namespace, and that “abi” is an alias to be used by userland. But in this case as we are replacing the implementation we should also use the same canonical namespace. Signed-off-by: Guillem Jover debian/changelog | 4 ++++ dselect/cxx-support.cc | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) commit 414903639c5c23ec4e346a011feea2deb7565be0 Author: Guillem Jover Date: Sat Feb 11 22:40:20 2017 +0100 s-s-d: Define _KMEMUSER for NetBSD We need to define this macro to be able to get the declarations for the struct proc and other struct kproc_info members. debian/changelog | 2 ++ utils/start-stop-daemon.c | 3 +++ 2 files changed, 5 insertions(+) commit 12af640e1bcfa7dd1327ccd0e5d775d7ba1571d2 Author: Guillem Jover Date: Sat Feb 11 22:39:56 2017 +0100 s-s-d: Use correct struct kinfo_proc ruid submember on NetBSD debian/changelog | 2 ++ utils/start-stop-daemon.c | 2 ++ 2 files changed, 4 insertions(+) commit 2283f64a899e73d5e9db15508083fe31e995c4e1 Author: Guillem Jover Date: Sat Feb 11 22:37:52 2017 +0100 s-s-d: Use 5-argument kvm_getprocs() call form on OpenBSD debian/changelog | 1 + utils/start-stop-daemon.c | 4 ++++ 2 files changed, 5 insertions(+) commit 6031615231a9fd4ba1d462aff9a1cb08037ca184 Author: Guillem Jover Date: Sat Feb 11 20:03:20 2017 +0100 s-s-d: Rename err to ret as the former is a function on BSDs Do not shadow the global err() with a local variable. debian/changelog | 2 ++ utils/start-stop-daemon.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit a390de3632925cf1271523a8672dfb642caa68eb Author: Guillem Jover Date: Sat Feb 11 20:01:14 2017 +0100 test: Use the detected perl interpreter instead of a random one from PATH We check for a specific version of perl and store that in the PERL variable. But the shebangs on several test scripts hardcode a specific perl that might not be present or might not be recent enough. Always invoke perl scripts explicitly with PERL, or implicitly by letting the currently running interpreter use itself. check.am | 3 ++- debian/changelog | 2 ++ scripts/t/dpkg_buildpackage.t | 3 ++- scripts/t/dpkg_source.t | 2 +- scripts/t/merge_changelogs.t | 2 +- scripts/t/mk.t | 4 ++-- 6 files changed, 10 insertions(+), 6 deletions(-) commit 6acaea0708bd7f7c1e261fbb50e429b1efe10368 Author: Guillem Jover Date: Sat Feb 18 20:31:49 2017 +0100 build: Do not fail on missing compression libraries or headers on check mode This is supposed to be the automatic detection mode, so we should cope gracefully with any of these being missing. Regression introduced in commit a166517a6d2f095c96b9661e8f2519470576a513. debian/changelog | 2 ++ m4/dpkg-libs.m4 | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) commit 94f8b385a6d433a0c84f2dda22dc8c0129dba915 Author: Guillem Jover Date: Mon Feb 13 06:00:50 2017 +0100 build: Handle libmd implementations built into system libc As found on some BSD systems. debian/changelog | 2 ++ m4/dpkg-libs.m4 | 13 +++++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) commit 5c32516dcad58980481ae85c71e65eaeb97865e1 Author: Guillem Jover Date: Sat Feb 11 19:58:09 2017 +0100 build: Check by also including On several BSD systems the header is not self-contained and requires to compile, add the pre-requisite so that the check succeeds there. configure.ac | 6 +++++- debian/changelog | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) commit edeb1593a9e7e2a5a38f2b28841d831bfee4ee7d Author: Thomas Klausner Date: Sat Feb 11 19:55:16 2017 +0100 libcompat: Do not redeclare sys_siglist when the system does so This can cause issues if the declaration is not exactly the same, and declaring it when the system already does is bogus no matter what. Signed-off-by: Guillem Jover debian/changelog | 3 +++ lib/compat/strsignal.c | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) commit ce97c5865788e0d311645d12d1c84f6fdf1412ea Author: Guillem Jover Date: Tue Feb 7 15:47:23 2017 +0100 Dpkg::Vendor::Debian: Switch PIE handling to have no default (!) Delegate the setting to gcc builtin or an explicit request by a user. This is needed to cope with the general PIE brokenness situation in Debian, and the current specific brokenness of a Debian gcc patch mangling the dpkg build flags. This is wrong in so many levels, as we'll have discrepancies between architectures, the interface towards maintainers is inconsistent, and updating the PIE support needs touching and coordinating two places. But it's certainly the current lesser evil. Closes: #848129, #845550 debian/changelog | 5 +++++ man/dpkg-buildflags.man | 2 +- scripts/Dpkg/Vendor/Debian.pm | 15 ++++++++++++--- 3 files changed, 18 insertions(+), 4 deletions(-) commit 8e6660991e63cce477c8cb2e2ba62237b351efc0 Author: Guillem Jover Date: Tue Feb 7 01:51:12 2017 +0100 Dpkg::Vendor::Debian: Mark more architectures as having gcc builtin PIE Specifically kfreebsd-amd64, kfreebsd-i386, sparc and sparc64. debian/changelog | 2 ++ man/dpkg-buildflags.man | 5 +++-- scripts/Dpkg/Vendor/Debian.pm | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) commit dded9f5b0699f5ddead03e46b58ce674effe7fe4 Author: Nicolas Boulenguez Date: Sat Feb 18 15:18:54 2017 +0100 Dpkg::Source::Package: Add ‘.mnt-ignore’ to the default ignore lists Closes: #855450 Signed-off-by: Guillem Jover debian/changelog | 3 +++ scripts/Dpkg/Source/Package.pm | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) commit 952326db379555e0f3241806a40e12cda3d8a205 Author: Guillem Jover Date: Sun Feb 12 01:31:25 2017 +0100 Dpkg::Shlibs::Objdump: Do not parse bogus ELF binaries in get_format() If the ELF class or endianness are unknown or bogus, ignore the file. Reported-by: Niels Thykier debian/changelog | 2 ++ scripts/Dpkg/Shlibs/Objdump.pm | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 0fad19f2a3014b487d8c6dbcf70feac03ff0b693 Author: Guillem Jover Date: Wed Feb 8 06:08:03 2017 +0100 Dpkg::Shlibs::Objdump:Object: Warn for unknown exec formats in analyze() Emit an explicit warning whenever we cannot detect the format for an executable object, instead of delegating this to the subsequent objdump, and letting it die, which ca be canfusing and is not future-proof. Closes: #854536 debian/changelog | 2 ++ scripts/Dpkg/Shlibs/Objdump.pm | 5 +++++ 2 files changed, 7 insertions(+) commit 1c1675500edf4285f87384af3e709c3801f87c51 Author: Guillem Jover Date: Wed Feb 8 06:08:03 2017 +0100 Dpkg::Shlibs::Objdump: Fix read() error handling in get_format() The rest of the code handles non-binary files (ELF in this case) gracefully and ignores them, even though not very explicitly, as objdump will emit a warning that might be difficult to decrypt. We will still fail for other read failures that are not just short-reads, as those imply some actual problem with the passed files. Closes: #854536 debian/changelog | 2 ++ scripts/Dpkg/Shlibs/Objdump.pm | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) commit 365056cc8f79a77bb4dd8fe3a8f0f6fccd1b9370 Author: Guillem Jover Date: Sun Feb 5 05:02:15 2017 +0100 t-buildinfo: Add new test case t-buildinfo/.gitignore | 2 ++ t-buildinfo/Makefile | 11 +++++++++++ t-buildinfo/db-buildinfo/status | 28 ++++++++++++++++++++++++++++ t-buildinfo/db-buildinfo/updates/.keep | 0 t-buildinfo/pkg-source/debian/changelog | 5 +++++ t-buildinfo/pkg-source/debian/control | 13 +++++++++++++ t-buildinfo/pkg-source/debian/files | 2 ++ t-buildinfo/pkg-source/debian/source/format | 1 + 8 files changed, 62 insertions(+) commit e8f3d891884738f5283112b24a4f5dd35901e2fd Author: Johannes Schauer Marin Rodrigues Date: Sun Feb 5 04:16:57 2017 +0100 build: Add not-root support This addes a new unprivileged execution mode. For now many tests get disabled because they do not currently support that mode, but they will be getting enabled as the required features are added. [guillem@debian.org: - Set DPKG_NOT_ROOT if not-root is in DPKG_TESTSUITE_OPTIONS. - Rework BEROOT and DPKG_ENV variable handling. - Minor style fixes. ] Signed-off-by: Guillem Jover Feature.mk | 4 ++++ Makefile | 21 ++++++++++++++++++++- README | 6 +++++- Test.mk | 19 ++++++++++++++----- db-regen | 3 +++ t-multiarch/Makefile | 16 +++++++++++++++- t-triggers/Makefile | 6 ++++++ 7 files changed, 67 insertions(+), 8 deletions(-) commit 98e6ae2a98e375a192b9b30915afeeb3ff725aad Author: Guillem Jover Date: Sun Feb 26 18:52:11 2017 +0100 build: Do not check builtin build dependencies We assume that we have the required builtin build dependencies, and will try to check only the explicit dependencies specified in the control file. Feature.mk | 1 + Test.mk | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) commit b492d69e5a6ec072d5aebf9d6a14a69a3ef4d569 Author: Johannes Schauer Marin Rodrigues Date: Sun Feb 5 03:22:03 2017 +0100 build: Use DPKG_INSTDIR or DPKG_ROOT for global paths Signed-off-by: Guillem Jover t-conffile-conflict/Makefile | 8 +- t-conffile-forceask/Makefile | 6 +- t-conffile-forcemiss/Makefile | 6 +- t-conffile-forcenew/Makefile | 6 +- t-conffile-normal/Makefile | 8 +- t-conffile-rename/Makefile | 26 ++--- t-conffile-replaces-disappear/Makefile | 10 +- t-conffile-replaces-downgrade/Makefile | 2 +- t-conffile-replaces-existing-and-upgrade/Makefile | 2 +- t-conffile-replaces-existing/Makefile | 2 +- t-conffile-replaces-upgrade/Makefile | 4 +- t-conffile-replaces/Makefile | 2 +- t-conffile-versioned-replaces-downgrade/Makefile | 2 +- t-dir-leftover-parents/Makefile | 4 +- .../pkg-dir-shared-notempty/DEBIAN/postinst | 2 +- .../pkg-dir-shared-notempty/DEBIAN/postrm | 2 +- t-file-replaces-disappear/Makefile | 28 ++--- t-file-replaces-versioned/Makefile | 2 +- t-file-replaces/Makefile | 2 +- t-filtering/Makefile | 68 +++++------ t-multiarch/Makefile | 80 ++++++------- t-switch-symlink-abs-to-dir/Makefile | 8 +- t-triggers-path/Makefile | 8 +- t-triggers-path/pkg-interest/DEBIAN/postinst | 4 +- t-triggers/Makefile | 126 ++++++++++----------- t-triggers/pkg-triggers-await/DEBIAN/postinst | 4 +- t-triggers/pkg-triggers-noawait/DEBIAN/postinst | 4 +- t-triggers/pkg-triggers/DEBIAN/postinst | 4 +- 28 files changed, 215 insertions(+), 215 deletions(-) commit 3fab9f4aa1b58f7bc649be48bf037ab1f0f01de1 Author: Guillem Jover Date: Sun Feb 26 19:56:56 2017 +0100 build: Rework PATH handling Move it before setting DPKG_ENV, and add it unconditionally. Test.mk | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 27bb073c1f40014c4eafbe43f150a76a02a6c542 Author: Guillem Jover Date: Wed Feb 8 05:04:34 2017 +0100 Dpkg::Shlibs::Objdump: Do not special case EM_SPARC32PLUS for NetBSD The affected code in NetBSD was bogus, and has been removed now. So there is no point in trying to special case the EM_SPARC32PLUS ELF machine ID depending on the ELF class, for something that should never happen. Ref: https//gnats.netbsd.org/51925 debian/changelog | 3 +++ scripts/Dpkg/Shlibs/Objdump.pm | 11 +---------- 2 files changed, 4 insertions(+), 10 deletions(-) commit 64f4738462ac22904f4743278043aa15a69093b7 Author: Guillem Jover Date: Sun Feb 19 16:37:20 2017 +0100 dpkg-genbuildinfo: Declare .buildinfo format as stable with version 1.0 All the currently planned changes have been done, let's bump the format version to denote a stable format, which will not change in incomatible changes any more without bumping the major version component. debian/changelog | 1 + man/deb-buildinfo.man | 2 +- scripts/dpkg-genbuildinfo.pl | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit 896a740cfe9f774bf266b1f94027a91a1072a12e Author: Guillem Jover Date: Mon Feb 6 03:12:37 2017 +0100 dpkg-genbuildinfo: Handle unmatched virtual arch-qualified packages The dependency traversal code is currently broken, and this mostly papers over the issue. Properly fixing this involves changes all over the place, which would be too intrusive for this series. We should handle this gracefully, instead of letting perl die. Closes: #849944 debian/changelog | 2 ++ scripts/dpkg-genbuildinfo.pl | 1 + 2 files changed, 3 insertions(+) commit d3c4079b124e592d3ab072c842da7b75fe937174 Author: Guillem Jover Date: Sun Feb 26 19:33:32 2017 +0100 dpkg-buildpackage: Document --ignore-builtin-builddeps in --help output Missed in commit 98b3341f5f46866208862ff40e4336ff1a7e1cd3. debian/changelog | 1 + scripts/dpkg-buildpackage.pl | 2 ++ 2 files changed, 3 insertions(+) commit 75ef93c8bb14ed852c4dee24df3aa7eacc306f27 Author: Guillem Jover Date: Mon Feb 13 05:23:02 2017 +0100 dpkg-source: Document --before-build and --after-build in --help output debian/changelog | 1 + scripts/dpkg-source.pl | 2 ++ 2 files changed, 3 insertions(+) commit 45eb890431c219b35055f98bdaa0f15587dca249 Author: Guillem Jover Date: Sun Feb 19 20:47:33 2017 +0100 man: Clarify the requirements for deb-conffile(5) pathnames Closes: #854417 Proposed-by: Dieter Adriaenssens debian/changelog | 4 +++- man/deb-conffiles.man | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) commit 807c31c54baebb72535bfedff50cd8ed45a7b3e5 Author: Helge Kreutzmann Date: Wed Feb 8 21:54:20 2017 +0100 Minor fix Noted by looking at lintian warning man/po/de.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b1f9e2e4c743ab8db3f646423a718ec9e5a6fec3 Author: Guillem Jover Date: Thu Feb 2 05:15:20 2017 +0100 t-source-minimal: Ignore .buildinfo files t-source-minimal/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 7ae676e439f16465a4bc7d52314cdcc99f2b988b Author: Guillem Jover Date: Wed Feb 1 05:41:31 2017 +0100 t-db: Add new unit tests for field blank lines lax parser Feature.mk | 1 + t-db/Makefile | 13 +++++++++++++ t-db/db-field-blank-lines-update/status | 13 +++++++++++++ t-db/db-field-blank-lines-update/updates/.keep | 0 t-db/db-field-blank-lines-update/updates/0001 | 13 +++++++++++++ t-db/db-field-blank-lines/status | 27 ++++++++++++++++++++++++++ t-db/db-field-blank-lines/updates/.keep | 0 7 files changed, 67 insertions(+) commit 513bbda90f15b763653b842180b77088f1d790eb Author: Guillem Jover Date: Wed Feb 1 06:28:43 2017 +0100 Bump version to 1.18.23 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 2240c05fea67fd57f182344a237d02ef58ed9629 Author: Guillem Jover Date: Wed Feb 1 05:51:06 2017 +0100 Release 1.18.22 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 113d307f3a3ac6b89855620d5c8a3a7fed038c3e Author: Guillem Jover Date: Wed Feb 1 05:48:49 2017 +0100 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/de.po | 2 +- man/po/dpkg-man.pot | 4 ++-- man/po/es.po | 2 +- man/po/fr.po | 2 +- 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_BR.po | 2 +- man/po/ru.po | 2 +- 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/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/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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 94 files changed, 98 insertions(+), 98 deletions(-) commit 66f0819359a5b40a845213348772033c353d30ae Author: Guillem Jover Date: Wed Feb 1 05:21:26 2017 +0100 Dpkg::Shlibs::Objdump: Mask ABI bits in flags for ARM These are too unreliable for exact matches. There are objects with EABIv4 in the wild, even when the current is EABIv5. The soft and hard float flags are not always set on armel and armhf respectively, although the Tag_ABI_VFP_args attribute in the the ARM attribute section should always be present on armhf. And there are cases were both soft and hard float flags are set at the same time(!). Mask all flags on ARM, so that we get back to the previous behavior with objdump. We can try to revisit this for a better matching during the dpkg 1.19.x cycle. Closes: #853793 debian/changelog | 3 +++ scripts/Dpkg/Shlibs/Objdump.pm | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) commit eeeae2acc87ab380b732491d22af7ec3f4b6b772 Author: Guillem Jover Date: Mon Jan 30 01:04:31 2017 +0100 libdpkg: Turn status file parser errors on field blank lines into warnings Regression introduced in commit e4cb12a710457b103a7544c4de5e9fc1b2bd24d8. This has caused issues at least on Cydia installations. And it should have been introduced as a lax parsing error, only failing for new packages, and warn on already installed ones. Otherwise one cannot easily recover after upgrading to a new dpkg on an affected system. Reported-by: Jay Freeman Stable-Candidate: 1.17.x debian/changelog | 5 +++++ lib/dpkg/dpkg-db.h | 4 +++- lib/dpkg/parse.c | 12 ++++++++---- 3 files changed, 16 insertions(+), 5 deletions(-) commit 2906c9de5ee60b8cdfe09c8bfefa3c00721416be Author: Mert Dirik Date: Wed Feb 1 05:30:52 2017 +0100 po: Update Turkish programs translations Closes: #853202 Signed-off-by: Guillem Jover debian/changelog | 3 + po/tr.po | 193 ++++++++++++++----------------------------------------- 2 files changed, 53 insertions(+), 143 deletions(-) commit 9ef2064880c0972949623406738d708e58614562 Author: Helge Kreutzmann Date: Mon Jan 30 19:46:04 2017 +0100 Update German scripts translation Update to 588t. debian/changelog | 3 ++- scripts/po/de.po | 73 ++++---------------------------------------------------- 2 files changed, 7 insertions(+), 69 deletions(-) commit 5a50df9e31c2e203e576e09c906e5b6f85d5512e Author: Guillem Jover Date: Mon Jan 30 18:51:48 2017 +0100 doc: Document that using eatmydata improves performance significantly Suggested-by: James Clarke README | 3 +++ 1 file changed, 3 insertions(+) commit bb164350b32529ae030268ee0094644adb716b9e Author: Guillem Jover Date: Mon Jan 30 18:50:52 2017 +0100 doc: Document required actions after first clone Prompted-by: Johannes Schauer README | 2 ++ 1 file changed, 2 insertions(+) commit c88d6b3f4374263749a3519269eba11f10fd19bc Author: Guillem Jover Date: Mon Jan 30 18:47:55 2017 +0100 doc: Add a fat warning on the current run requirements README | 7 +++++++ 1 file changed, 7 insertions(+) commit 8241647cbae784a0339665dbdd1aa891d9f191fb Author: Guillem Jover Date: Mon Jan 30 18:46:11 2017 +0100 build: Preserve dynamic linker environment variables through sudo We need these variables preserved in case we want to run fakeroot, eatmydata or similar programs. Test.mk | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 1e459c8c1ec2bdd64afd4698af791a24cb9e98db Author: Guillem Jover Date: Sun Jan 29 21:09:15 2017 +0100 Bump version to 1.18.22 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 447a8c37501bccf7b1b6f3c34231a806ffb1fae9 Author: Guillem Jover Date: Sun Jan 29 20:30:05 2017 +0100 Release 1.18.21 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 35dcf8c31f41cc052d3c438e0e361154bbc7a3dc Author: Guillem Jover Date: Sun Jan 29 20:43:52 2017 +0100 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/de.po | 45 +++++++++++++++++++-------------------------- man/po/dpkg-man.pot | 24 ++---------------------- man/po/es.po | 28 ++++++---------------------- man/po/fr.po | 28 ++++++---------------------- man/po/hu.po | 28 ++++++---------------------- man/po/it.po | 28 ++++++---------------------- man/po/ja.po | 28 ++++++---------------------- man/po/nl.po | 45 +++++++++++++++++---------------------------- man/po/pl.po | 28 ++++++---------------------- man/po/pt_BR.po | 26 +++++--------------------- man/po/ru.po | 28 ++++++---------------------- man/po/sv.po | 28 ++++++---------------------- man/po/zh_CN.po | 22 +--------------------- 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/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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 94 files changed, 176 insertions(+), 378 deletions(-) commit d5a9cf8b9dcfbb717c7748e1ffd2e287e12b035d Author: Guillem Jover Date: Sun Jan 29 20:28:15 2017 +0100 Revert "dpkg-source: Generate Testsuite-Restrictions fields from test restrictions" This reverts commit 9899bdcf9bde76d969b124abf0a898fcbb202c70. This change is contentious and should have been discussed more widely. Given that this has been live only for a couple of days, the impact should be minimal, but still something to take into account once and if this gets reintroduced, in the same or different form and shape. Closes: #852820 debian/changelog | 5 +++++ man/dsc.man | 7 ------- scripts/Dpkg/Control/FieldsCore.pm | 7 +------ scripts/Makefile.am | 1 - scripts/dpkg-source.pl | 17 ----------------- scripts/t/dpkg_source.t | 16 +--------------- scripts/t/dpkg_source/testsuite_4.dsc | 17 ----------------- 7 files changed, 7 insertions(+), 63 deletions(-) commit ca30a8d1dbbf5f978242b90d4f690116ae7004a9 Author: Guillem Jover Date: Sun Jan 29 01:07:38 2017 +0100 Dpkg::Shlibs::Objdump: Map alternative or old ELF machines to canonical ones Some ELF binaries contain alternative or old ELF machine types, which should match with their canonical forms. Map those before encoding the ABI. We ignore some mappings for things that should certainly never appear in current systems. Of note are EM_PPC_OLD (17) that conflicts with EM_VPP550 (17), and EM_PJ_OLD (99) that conflicts with EM_SNP1K (99). Warned-by: rebootstrap debian/changelog | 6 ++++++ scripts/Dpkg/Shlibs/Objdump.pm | 49 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) commit 994f53838d176b54a89d76e21a3cc66992c82849 Author: Helge Kreutzmann Date: Sat Jan 28 11:00:17 2017 +0100 Add missing markup to option man/dpkg-buildpackage.man | 2 +- man/po/de.po | 61 +++++++++++++++++++++++++---------------------- man/po/dpkg-man.pot | 10 ++++---- man/po/es.po | 12 +++++----- man/po/fr.po | 12 +++++----- man/po/hu.po | 12 +++++----- man/po/it.po | 12 +++++----- man/po/ja.po | 12 +++++----- man/po/nl.po | 12 +++++----- man/po/pl.po | 12 +++++----- man/po/pt_BR.po | 12 +++++----- man/po/ru.po | 12 +++++----- man/po/sv.po | 12 +++++----- man/po/zh_CN.po | 12 +++++----- 14 files changed, 105 insertions(+), 100 deletions(-) commit 953b57bd95d33ae5c6c1edd021b21aed50e9ad99 Author: Helge Kreutzmann Date: Sat Jan 28 10:47:59 2017 +0100 Update German translation of manual pages Update to 2843t1f. debian/changelog | 3 ++- man/po/de.add | 2 +- man/po/de.po | 61 ++++++++++++++++++++++---------------------------------- 3 files changed, 27 insertions(+), 39 deletions(-) commit b05ad4670360c758cd663d4e37115c10f9bbecdc Author: Guillem Jover Date: Sat Jan 28 07:10:34 2017 +0100 Bump version to 1.18.21 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 8a71e426a1e11123fb0720a425a6c595bef08dbe Author: Guillem Jover Date: Sat Jan 28 06:32:59 2017 +0100 Release 1.18.20 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3fe59e9e16733040fc61756c03206729223c5f96 Author: Guillem Jover Date: Sat Jan 28 06:28:28 2017 +0100 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/de.po | 82 ++++++++++++++++++++++++++++++++++++------------- man/po/dpkg-man.pot | 43 +++++++++++++++++++++----- man/po/es.po | 43 ++++++++++++++++++++++---- man/po/fr.po | 43 ++++++++++++++++++++++---- man/po/hu.po | 43 ++++++++++++++++++++++---- man/po/it.po | 44 ++++++++++++++++++++++---- man/po/ja.po | 43 ++++++++++++++++++++++---- man/po/nl.po | 58 ++++++++++++++++++++++++++-------- man/po/pl.po | 43 ++++++++++++++++++++++---- man/po/pt_BR.po | 41 +++++++++++++++++++++---- man/po/ru.po | 43 ++++++++++++++++++++++---- man/po/sv.po | 43 ++++++++++++++++++++++---- man/po/zh_CN.po | 44 ++++++++++++++++++++++---- 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/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 | 5 +-- scripts/po/de.po | 73 ++++++++++++++++++++++++++++++++++++++++--- scripts/po/dpkg-dev.pot | 7 +++-- scripts/po/es.po | 5 +-- scripts/po/fr.po | 5 +-- scripts/po/pl.po | 5 +-- scripts/po/ru.po | 5 +-- scripts/po/sv.po | 5 +-- 94 files changed, 678 insertions(+), 195 deletions(-) commit 10d8503da992b76502c829f7ddc111d45159d1fa Author: Guillem Jover Date: Sat Jan 28 06:31:44 2017 +0100 debian: Clarify previous Built-For-Profiles entry The information is also available in the .changes files. debian/changelog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 823b72fa54eedec344d2c32c47bb4f1d5e24980a Author: Guillem Jover Date: Sat Jan 28 04:40:40 2017 +0100 man: Document that Built-For-Profile is also included in .changes files Missed in commit 7662e0937bb064a0754d12605d80a96a17e2aadf. debian/changelog | 2 ++ man/deb-changes.man | 4 ++++ 2 files changed, 6 insertions(+) commit afa428a4175c4aeeb640a4b9cb45a4fdb5ddf247 Author: Guillem Jover Date: Sat Jan 28 04:19:05 2017 +0100 Dpkg::File: Disable the NFS-unsafe warning on Linux On Linux systems the flock() locks get converted to file-range locks on NFS mounts, which makes it safe. The correct solution here will be to completely get rid of the need to do any locking, which should also make parallel builds faster. Addresses: #677865 (on Linux) debian/changelog | 2 ++ scripts/Dpkg/File.pm | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) commit 5124722df07abb3f440221c28bc578ed82844446 Author: Guillem Jover Date: Sat Jan 28 00:04:33 2017 +0100 dpkg-buildpackage: Make --unsigned-changes not sign .buildinfo either There was no option to disable signing globally, so many users and tools rely on the two existing options to disable it. But with the introduction of signed .buildinfo files, there is no way for old tools to request the right thing. Abuse --unsigned-changes to mean not signing .buildinfo either. Closes: #852822 debian/changelog | 3 +++ man/dpkg-buildpackage.man | 6 ++++-- scripts/dpkg-buildpackage.pl | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) commit b29f31f1a0474bb66bf9b04b1e6627bfc5596b56 Author: Guillem Jover Date: Fri Jan 27 23:12:05 2017 +0100 dpkg-buildpackage: Add new --no-sign option This option disables signing any file. This makes this option a future-proof way to disable all signing, in case we add yet more files to sign, so that programs do not have to keep learning what options to pass. debian/changelog | 2 ++ man/dpkg-buildpackage.man | 7 ++++++- scripts/dpkg-buildpackage.pl | 6 ++++++ 3 files changed, 14 insertions(+), 1 deletion(-) commit 8efe8ef48927c71df6809c0107db881a047e6c3f Author: Guillem Jover Date: Sat Jan 28 00:03:18 2017 +0100 Dpkg::Shlibs::Objdump: Encode the ELF ABI as a big-endian byte stream This way when unpacking for output, the result gives meaningful results. debian/changelog | 2 ++ scripts/Dpkg/Shlibs/Objdump.pm | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 0cdf7ebbbf1dd8192dc3e8dfde70ec40685b1926 Author: Guillem Jover Date: Fri Jan 27 23:03:29 2017 +0100 Dpkg::Shlibs::Objdump: Mask ELF machine bits for SH and MIPS These do not define the ABI, and seem to be set depending on the ISA used. Mask them for now, and postpone possibly making more fine-grained matching in the future. debian/changelog | 7 +++++++ scripts/Dpkg/Shlibs/Objdump.pm | 4 +--- 2 files changed, 8 insertions(+), 3 deletions(-) commit 9bb4b96cd4473ba70b750e69b87fceef0cc8cd85 Author: Helge Kreutzmann Date: Fri Jan 27 16:08:07 2017 +0100 Update German translation of manual pages Update to 2839t1f. debian/changelog | 3 +++ man/po/de.po | 43 +++++++++++++++++++------------------------ 2 files changed, 22 insertions(+), 24 deletions(-) commit 4efa6adb87157b80a6a714afbf22c2546b5ee129 Author: Helge Kreutzmann Date: Fri Jan 27 15:45:55 2017 +0100 Update German scripts translation Update to 588t. debian/changelog | 3 ++- scripts/po/de.po | 80 ++++++-------------------------------------------------- 2 files changed, 10 insertions(+), 73 deletions(-) commit bd7a9b52089ec294dadddb7318649e8a52c10793 Author: Guillem Jover Date: Fri Jan 27 06:51:41 2017 +0100 Bump version to 1.18.20 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 7a623b48b62d50f388c072c22dd0304e0877540e Author: Guillem Jover Date: Fri Jan 27 05:43:49 2017 +0100 Release 1.18.19 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 51ceb559fa81e4eb2355bc278b993d3057d6e848 Author: Guillem Jover Date: Fri Jan 27 05:46:57 2017 +0100 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/de.po | 63 +++++++-- man/po/dpkg-man.pot | 131 +++++++++++++------ man/po/es.po | 173 +++++++++++++++++++------ man/po/fr.po | 219 ++++++++++++++++++++++--------- man/po/hu.po | 138 ++++++++++++++------ man/po/it.po | 207 +++++++++++++++++++++--------- man/po/ja.po | 173 +++++++++++++++++++------ man/po/nl.po | 334 +++++++++++++++++++++++++++++++----------------- man/po/pl.po | 175 ++++++++++++++++++------- man/po/pt_BR.po | 140 ++++++++++++++------ man/po/ru.po | 147 ++++++++++++++------- man/po/sv.po | 216 ++++++++++++++++++++++--------- man/po/zh_CN.po | 136 ++++++++++++++------ po/ast.po | 14 +- po/bs.po | 14 +- po/ca.po | 14 +- po/cs.po | 14 +- po/da.po | 14 +- po/de.po | 2 +- po/dpkg.pot | 12 +- po/dz.po | 14 +- po/el.po | 14 +- po/eo.po | 14 +- po/es.po | 14 +- po/et.po | 13 +- po/eu.po | 14 +- po/fr.po | 14 +- po/gl.po | 14 +- po/hu.po | 14 +- po/id.po | 14 +- po/it.po | 14 +- po/ja.po | 14 +- po/km.po | 14 +- po/ko.po | 14 +- po/ku.po | 14 +- po/lt.po | 14 +- po/mr.po | 14 +- po/nb.po | 14 +- po/ne.po | 14 +- po/nl.po | 63 ++------- po/nn.po | 14 +- po/pa.po | 14 +- po/pl.po | 14 +- po/pt.po | 14 +- po/pt_BR.po | 14 +- po/ro.po | 17 ++- po/ru.po | 14 +- po/sk.po | 14 +- po/sv.po | 14 +- po/th.po | 14 +- po/tl.po | 14 +- po/tr.po | 14 +- po/vi.po | 14 +- po/zh_CN.po | 14 +- po/zh_TW.po | 14 +- scripts/po/ca.po | 57 ++++++--- scripts/po/de.po | 104 ++++++++++++--- scripts/po/dpkg-dev.pot | 47 ++++--- scripts/po/es.po | 57 ++++++--- scripts/po/fr.po | 58 ++++++--- scripts/po/pl.po | 57 ++++++--- scripts/po/ru.po | 57 ++++++--- scripts/po/sv.po | 57 ++++++--- 94 files changed, 2528 insertions(+), 907 deletions(-) commit a82a935a837a7d4c55a5dbb7281dbce87f0eeeb6 Author: Guillem Jover Date: Thu Jan 26 13:52:32 2017 +0100 dpkg-buildpackage: Add support for signed .buildinfo files Add new options -ui and --unsigned-buildinfo. Closes: #843925 debian/changelog | 2 ++ man/dpkg-buildpackage.man | 18 ++++++++++----- scripts/dpkg-buildpackage.pl | 54 ++++++++++++++++++++++++++++++++----------- scripts/t/dpkg_buildpackage.t | 1 + 4 files changed, 56 insertions(+), 19 deletions(-) commit 633756be05d6dbd46f93f4211b44c2660dc8dc6c Author: Guillem Jover Date: Fri Jan 27 05:23:27 2017 +0100 dpkg-genbuildinfo: Fix parsing of Pre-Depends and Depends The loop is per package stanza, so we need to parse both fields separately. Based-on-patch-by: Johannes Schauer Signed-off-by: Guillem Jover debian/changelog | 3 +++ scripts/dpkg-genbuildinfo.pl | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) commit c9b4ec6a1d80feea2f5c97bfaf435be75ca84cde Author: Guillem Jover Date: Fri Dec 23 00:34:46 2016 +0100 dpkg-genchanges: Fix check for expected number of binary artifacts Only count the binaries that we are going to include in the upload, instead of guessing using implicit counts. debian/changelog | 2 ++ scripts/dpkg-genchanges.pl | 11 ++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) commit 0701185eae3629224a7f74a2ff1b8e1d08630180 Author: Guillem Jover Date: Fri Dec 23 00:25:38 2016 +0100 dpkg-genchanges: Include .buildinfo files also for source-only uploads The .buildinfo file also makes sense on source-only uploads, because it is still a build. And more so when we have done a full build, but filtered the changes to only include the sources in the upload. In any case, this was the intended behavior from the beginning. Closes: #846164 debian/changelog | 2 ++ scripts/dpkg-genchanges.pl | 6 ++++++ scripts/t/dpkg_buildpackage/test-source_0_source.changes | 3 +++ 3 files changed, 11 insertions(+) commit 5bddd2d7b9944ab2eacb1860ba625b69b0b4411c Author: Guillem Jover Date: Fri Dec 23 00:21:24 2016 +0100 dpkg-genchanges: Do not compute the architecture list twice Just generate the list correctly when doing the initial filtering instead of having to do a useless two-pass. debian/changelog | 1 + scripts/dpkg-genchanges.pl | 8 ++------ 2 files changed, 3 insertions(+), 6 deletions(-) commit fbc87b74543e9b20d9bcd6c85ec121db10bae523 Author: Guillem Jover Date: Fri Dec 23 00:16:14 2016 +0100 dpkg-genchanges: Fold dist filtering and checksumming into initial loop We should not include architectures for artifacts we are not going to distribute. And we should not recompute the checksums for artifacts we have already computed. debian/changelog | 4 ++++ scripts/dpkg-genchanges.pl | 20 +++++++++----------- 2 files changed, 13 insertions(+), 11 deletions(-) commit 4b7990d7ec9af59678dbda90ba0b86d967c2a36b Author: Guillem Jover Date: Fri Jan 27 04:01:19 2017 +0100 Revert "dpkg-genchanges: Only add architectures for .deb/.udeb artifacts" This reverts commit cae957871dad79bbd48e264611ad3b4ca146dd7c. This was done to handle the .buildinfo files, but the changes is bogus, as it breaks the historical behavior of taking into account non-deb files such as by-hand ones. debian/changelog | 2 ++ scripts/dpkg-genchanges.pl | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit c253c35957ecb2964774a28b0daa7e54275a7de9 Author: Guillem Jover Date: Fri Jan 27 03:51:57 2017 +0100 dpkg-genchanges: Invert the binary distribution loop inside-out Move the if conditional from outside to inside the loop, this way removing one nesting level. scripts/dpkg-genchanges.pl | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) commit cccf56a59647868cf0de0959c87ba4c07409d958 Author: Guillem Jover Date: Fri Jan 27 00:34:44 2017 +0100 test: Rename parse_option to parse_features Missed in commit dad593660d922abce634542b43e9d56b03228a8c. scripts/t/Dpkg_BuildOptions.t | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit feab90e61d0cdaf113a8c233cc584f3125f85924 Author: Guillem Jover Date: Tue Dec 20 11:05:39 2016 +0100 dpkg-genbuildinfo: Add initial support for DEB_BUILD_OPTIONS This will make it possible to enable or disable specific features that should be recorded in the .buildinfo file. For now only “all” and “path” are supported. Closes: #848705 debian/changelog | 4 ++++ man/dpkg-genbuildinfo.man | 14 ++++++++++++++ scripts/dpkg-genbuildinfo.pl | 12 +++++++++--- 3 files changed, 27 insertions(+), 3 deletions(-) commit dad593660d922abce634542b43e9d56b03228a8c Author: Guillem Jover Date: Thu Jan 26 00:06:35 2017 +0100 Dpkg::BuildOptions: Add new parse_features() method This has been refactored from Dpkg::Vendor::Debian, to have a generic option parser. debian/changelog | 2 ++ scripts/Dpkg/BuildOptions.pm | 45 +++++++++++++++++++++++++++++++++++++++++-- scripts/Dpkg/Vendor/Debian.pm | 35 ++++++--------------------------- scripts/t/Dpkg_BuildOptions.t | 38 +++++++++++++++++++++++++++++++++++- 4 files changed, 88 insertions(+), 32 deletions(-) commit 8ae966ae7d3635b8359829085db4262923ceae96 Author: Guillem Jover Date: Wed Jan 25 04:39:08 2017 +0100 dpkg-shlibdeps: Improve ELF ABI mismatch detector The previous ELF ABI mismatch detector was very naïve, as the string returned by «objdump -a» is a very simplistic representation of the ELF ABI used. Switch to our own ELF header parser, so that we can distinguish based on the fields that define the object ABI. This is still not enough, and we will have collisions with things such as linux-i386 and hurd-i386, but most of the previously colliding objects are now filtered. This also makes us independent of objdump not supporting any unknown ELF object ABI. Closes: #849913 debian/changelog | 5 ++ scripts/Dpkg/Shlibs.pm | 3 + scripts/Dpkg/Shlibs/Objdump.pm | 127 ++++++++++++++++++++++++++++++++--------- scripts/dpkg-shlibdeps.pl | 11 ++-- 4 files changed, 113 insertions(+), 33 deletions(-) commit 8c6b68c0b0c7d323dbd440f880f2661a2ea58c3b Author: Guillem Jover Date: Thu Jan 26 18:00:11 2017 +0100 Dpkg::ErrorHandling: Add a new debug() function Switch scripts to use the new function instead of using ad-hoc implementations. debian/changelog | 1 + scripts/Dpkg/ErrorHandling.pm | 19 +++++++++++++++++++ scripts/dpkg-gensymbols.pl | 14 ++++++++------ scripts/dpkg-scansources.pl | 8 +++----- scripts/dpkg-shlibdeps.pl | 39 ++++++++++++++++++++------------------- 5 files changed, 51 insertions(+), 30 deletions(-) commit 1bb3cb87b16eefefb1e7e2728f50b2c7bad38846 Author: Guillem Jover Date: Thu Jan 26 13:21:49 2017 +0100 test: Disable perlcritic ValuesAndExpressions::RequireNumberSeparators This test produces false positives on long hex numbers, even when they have been separated with underscores. t/critic.t | 1 - t/critic/perlcriticrc | 7 +++---- 2 files changed, 3 insertions(+), 5 deletions(-) commit 9d5e55d449a32a70158c81314649d312babd2684 Author: Guillem Jover Date: Thu Jan 26 13:44:31 2017 +0100 build: Disable disk pre-allocation by default Contrary to what one would expect, this seems to be causing major issues in several "modern" filesystems, as it collides with the heuristics and optimizations that these try to perform. Disable this by default, but let the builder enable it again in case this is not a problem on certain systems. configure.ac | 2 ++ debian/changelog | 4 ++++ lib/dpkg/fdio.c | 9 +++++++++ m4/dpkg-funcs.m4 | 15 +++++++++++++++ 4 files changed, 30 insertions(+) commit c8153b8c748278098c3e87f966a8194b5825ad88 Author: Guillem Jover Date: Thu Jan 26 14:01:54 2017 +0100 build: Rename DPKG_MMAP macro to DPKG_USE_MMAP configure.ac | 2 +- m4/dpkg-funcs.m4 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit eadff9fe58daa5fb3db91e670aeb8bba454b87af Author: Guillem Jover Date: Thu Jan 26 13:56:19 2017 +0100 debian: Add missing bug closure debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 004d506ee6bf1d97e9d6e2eff10af9ed6f3a64f6 Author: Frans Spiesschaert Date: Thu Jan 26 23:11:09 2017 +0100 po: Update Dutch translations Closes: #851889, #851891 Signed-off-by: Guillem Jover debian/changelog | 2 + man/po/nl.po | 190 +++++++++++++++++++++++++++++-------------------------- po/nl.po | 72 +++++++++++---------- 3 files changed, 139 insertions(+), 125 deletions(-) commit 70c3b045a657cd4923c1146c3b1b817b6337f6b2 Author: Helge Kreutzmann Date: Wed Jan 25 19:48:45 2017 +0100 Update German translation of manual pages Update to 2836t1f. man/po/de.po | 42 +++++++++++++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 9 deletions(-) commit 9899bdcf9bde76d969b124abf0a898fcbb202c70 Author: Guillem Jover Date: Fri Dec 16 22:39:38 2016 +0100 dpkg-source: Generate Testsuite-Restrictions fields from test restrictions This information is currently only available in the Restrictions field in the debian/tests/control file. When dispatching tests, it might be inconvenient to have to download and unpack the source package beforehand. Let's expose this via the .dsc in a similar way we do for the Testsuite-Triggers field. Closes: #847926 Based-on-patch-by: Iain Lane debian/changelog | 3 +++ man/dsc.man | 7 +++++++ scripts/Dpkg/Control/FieldsCore.pm | 7 ++++++- scripts/Makefile.am | 1 + scripts/dpkg-source.pl | 17 +++++++++++++++++ scripts/t/dpkg_source.t | 16 +++++++++++++++- scripts/t/dpkg_source/testsuite_4.dsc | 17 +++++++++++++++++ 7 files changed, 66 insertions(+), 2 deletions(-) commit df630946cc239c4fb7494dd3a2b78fa4e1c98358 Author: Guillem Jover Date: Thu Dec 15 23:47:16 2016 +0100 dpkg-source: Refactor testsuite functions Call set_testsuite_triggers_field() from inside set_testsuite_fields(), so that we do not have to perform the same checks more than once. debian/changelog | 1 + scripts/dpkg-source.pl | 20 +++++++++----------- 2 files changed, 10 insertions(+), 11 deletions(-) commit 028bfa99a016ae133e451d606d7b88a2975b5680 Author: Guillem Jover Date: Wed Jan 25 03:30:35 2017 +0100 test: Correctly iterate over all default and passed .dsc template substvars The code was returning all keys and values for %default_substvars, when instead we should have been requesting all %default_substvars and %options keys. debian/changelog | 1 + scripts/t/dpkg_source.t | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 2f05b55f031371458f6903fae4bfebacc555bd07 Author: Guillem Jover Date: Mon Jan 23 04:45:19 2017 +0100 test: Refactor unit test data path into test_get_data_path() scripts/Test/Dpkg.pm | 14 ++++++++++++++ scripts/t/Dpkg_Changelog.t | 4 ++-- scripts/t/Dpkg_Changelog_Ubuntu.t | 8 ++++++-- scripts/t/Dpkg_Checksums.t | 4 ++-- scripts/t/Dpkg_Conf.t | 4 ++-- scripts/t/Dpkg_Control.t | 5 ++--- scripts/t/Dpkg_Control_Tests.t | 4 ++-- scripts/t/Dpkg_Dist_Files.t | 4 ++-- scripts/t/Dpkg_Shlibs.t | 7 +++---- scripts/t/Dpkg_Source_Patch.t | 4 ++-- scripts/t/Dpkg_Source_Quilt.t | 4 ++-- scripts/t/Dpkg_Substvars.t | 4 ++-- 12 files changed, 41 insertions(+), 25 deletions(-) commit 24212e60a762bfc1d71a782646fb1fbf830bcfaf Author: Helge Kreutzmann Date: Mon Jan 23 19:52:49 2017 +0100 Update German translation of manual pages Update to 2833t1f. man/po/de.po | 147 ++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 95 insertions(+), 52 deletions(-) commit efbc99d6b83304a56ed2294eea5ba573b0b1b932 Author: Helge Kreutzmann Date: Mon Jan 23 19:31:32 2017 +0100 Update German scripts translation Update to 589t. debian/changelog | 3 +++ scripts/po/de.po | 18 +++++++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) commit c0a41875c811d0887ee6175be18e90d6a998dddd Author: Sven Joachim Date: Mon Jan 23 17:18:11 2017 +0100 German dpkg translation update Update to 1103t. po/de.po | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit 3d975af556d69a32db7857d5a4141c5f823ca180 Author: Guillem Jover Date: Sun Jan 8 13:33:38 2017 +0100 u-a: Use areadlink() instead of lstat() + xreadlink() We avoid an lstat() call as we catch the error from areadlink and can react on that instead of an uncontrolled failure from xreadlink(). debian/changelog | 1 + utils/update-alternatives.c | 11 ++--------- 2 files changed, 3 insertions(+), 9 deletions(-) commit 8a3d3c40733b42aaa303fe3b0d483fa8a38325a3 Author: Guillem Jover Date: Fri Jan 6 02:52:42 2017 +0100 u-a: Refactor pathname existence check into a new function debian/changelog | 1 + utils/update-alternatives.c | 57 ++++++++++++++++++--------------------------- 2 files changed, 24 insertions(+), 34 deletions(-) commit bf4f4ab7c51b1415cbe940a972ec3d54bbdb5561 Author: Guillem Jover Date: Sat Dec 31 11:56:35 2016 +0100 u-a: Move xvasprintf() and xasprintf() definitions earlier in the code This will make it possible to use these functions without having to use forward declarations. utils/update-alternatives.c | 48 ++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 24 deletions(-) commit 85c3f8489e5eff5bdaf50ec3959a7798876f7a97 Author: Guillem Jover Date: Fri Dec 23 00:09:55 2016 +0100 dpkg-buildpackage, dpkg-source: Always set SOURCE_DATE_EPOCH If we do not have a date from the changelog set it to the current time. Closes: #849081 debian/changelog | 2 ++ scripts/Dpkg/Source/Archive.pm | 2 +- scripts/dpkg-buildpackage.pl | 2 +- scripts/dpkg-source.pl | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) commit 7c88ebf6194b4be5c515ad7cf5fc7fea096dd334 Author: Guillem Jover Date: Wed Dec 28 11:06:00 2016 +0100 libdpkg, Dpkg::Version: Do not allow empty epochs and revisions When there's at least one colon or one dash, we should expect epoch and revision numbers. debian/changelog | 2 ++ lib/dpkg/parsehelp.c | 8 +++++++- lib/dpkg/t/t-version.c | 13 +++++++++---- scripts/Dpkg/Version.pm | 10 ++++++++++ scripts/t/Dpkg_Version.t | 16 ++++++++++++---- 5 files changed, 40 insertions(+), 9 deletions(-) commit 6c8203440bf443d3031ee2ab8485b16c1b6da3b6 Author: Guillem Jover Date: Mon Jan 2 16:29:49 2017 +0100 man, Dpkg::Control::FieldsCore: Add new Auto-Built-Package field This field is used to distinguish packages that have been automatically injected by some build tool, and are not present in the debian/control file. debian/changelog | 2 ++ man/deb-control.man | 8 ++++++++ scripts/Dpkg/Control/FieldsCore.pm | 6 +++++- 3 files changed, 15 insertions(+), 1 deletion(-) commit 667b38f6a42647f49464b19cd6792a51aa238fd4 Author: Guillem Jover Date: Sun Jan 8 13:30:34 2017 +0100 Dpkg: Call anonymous subs via -> operator instead of casting with & And fix the documentation while at it, which was incorrect code. debian/changelog | 2 ++ scripts/Dpkg/Conf.pm | 4 ++-- scripts/Dpkg/Substvars.pm | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) commit 83b5b8fe54f21dec140282ee4a2ea01b90b6b6a5 Author: Guillem Jover Date: Sun Jan 22 19:53:47 2017 +0100 doc: Fix typos in documentation and code comments Warned-by: codespell, spellintian ChangeLog.old | 36 ++++++++++++++++++------------------ README.l10n | 2 +- TODO | 2 +- debian/changelog | 23 ++++++++++++----------- doc/README.feature-removal-schedule | 2 +- dselect/methods/disk/setup | 2 +- lib/dpkg/t/t-ehandle.c | 2 +- lib/dpkg/t/t-progname.c | 2 +- man/dpkg-source.man | 2 +- man/dselect.man | 6 +++--- scripts/Dpkg/Control/HashCore.pm | 2 +- scripts/Dpkg/IPC.pm | 2 +- scripts/Dpkg/Source/Package/V1.pm | 2 +- scripts/t/dpkg_buildpackage.t | 2 +- src/configure.c | 2 +- src/divertcmd.c | 2 +- 16 files changed, 46 insertions(+), 45 deletions(-) commit cd9f688ca4bfd49e6574e2842dbd514459e84569 Author: Guillem Jover Date: Sun Jan 22 16:16:19 2017 +0100 dpkg-gencontrol: Stop emitting Built-For-Profiles The information is already provided in .buildinfo files, and including it in the binary packages makes them unreproducible even when the profile used would not alter its contents. Closes: #831524 debian/changelog | 4 ++++ man/deb-control.man | 8 +++++--- scripts/dpkg-gencontrol.pl | 2 -- 3 files changed, 9 insertions(+), 5 deletions(-) commit 10b38de76c904bedc2aa6776248bcc1085bad6f0 Author: Guillem Jover Date: Wed Jan 18 01:33:18 2017 +0100 s-s-d: Use the new process executable support in GNU/Hurd This gives the actual executable name instead of having to look into argv[0], which is not really correct, as the program doing execve() can set that to anything it likes. We have to check for the name being NULL or empty due to an initial implementation bug. debian/changelog | 3 +++ utils/start-stop-daemon.c | 12 ++++++++++++ 2 files changed, 15 insertions(+) commit 944576d35d755560aa5dec99925cdc26adefd396 Author: Guillem Jover Date: Wed Jan 18 01:33:18 2017 +0100 s-s-d: Use proc_stat_pid() instead of accessing the member directly utils/start-stop-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c786b8aaba703c94072f4838c42e6ae6aaae9085 Author: Guillem Jover Date: Sun Jan 15 16:20:42 2017 +0100 Dpkg::Source::Package::V2: Abort on EOF in patch name prompt Instead of entering into an infinite loop. Closes: #851441 debian/changelog | 2 ++ scripts/Dpkg/Source/Package/V2.pm | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) commit 2b5f99a5acd116b552063e36ea6badbd266e8fd3 Author: Guillem Jover Date: Tue Aug 23 14:23:44 2016 +0200 Dpkg::Source::Package: Clarify major/minor format version parsing code scripts/Dpkg/Source/Package.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 21699eb533b7ab655f89dd8df4a772ceae7fd946 Author: Guillem Jover Date: Sun Jan 15 03:47:30 2017 +0100 Dpkg::Arch: Add new import tags This makes using the module a bit easier. debian/changelog | 1 + scripts/Dpkg/Arch.pm | 43 ++++++++++++++++++++++++++++++++++++++++++- scripts/Dpkg/Shlibs.pm | 3 +-- scripts/dpkg-architecture.pl | 6 +----- scripts/dpkg-source.pl | 2 +- t/pod-spell.t | 1 + 6 files changed, 47 insertions(+), 9 deletions(-) commit e8d687a1093124fdb17c7ac6569c5a605b2da2f1 Author: Guillem Jover Date: Sun Jan 15 03:29:29 2017 +0100 Dpkg::Arch: Fix debwildcard_to_debtuple() on quadruplets The function was splitting tuples at most into three elements, which made it unable to handle quadruplets. Extend the unit tests to cover wildcard quadruplets. Missed in commit 9d7ba99cc3ff84fc553ed39da9d2e4f4008d35b6. Reported-by: Julian Andres Klode debian/changelog | 6 ++++ scripts/Dpkg/Arch.pm | 2 +- scripts/t/Dpkg_Arch.t | 86 ++++++++++++++++++++++++++++++++++++++------------- 3 files changed, 71 insertions(+), 23 deletions(-) commit 6131b9c953c9d1cfa6fe248cab44a08311464720 Author: Guillem Jover Date: Mon Jan 2 16:26:12 2017 +0100 debian: Add debsig-verify to dpkg Suggests The code supports optionally calling this program. Listing it in the Suggests will also help people that are looking for a maintained and supported .deb signing tooling. Prompted-by: Stuart Prescott debian/changelog | 4 ++++ debian/control | 1 + 2 files changed, 5 insertions(+) commit 0e6fc91ac25378c040c57b3db2b6fe2d745eeba4 Author: Guillem Jover Date: Wed Dec 28 11:07:53 2016 +0100 man: Move control member file references from dpkg(1) to deb(5) The information in dpkg(1) was out of place, and deb(5) already contained a skeleton of this information, which is in any case the more logical place to be. debian/changelog | 1 + man/deb.man | 22 +++++++++++++++++++--- man/dpkg.man | 16 +--------------- 3 files changed, 21 insertions(+), 18 deletions(-) commit 4df257da3babde76934ca347c39c7558f1fdda06 Author: Guillem Jover Date: Wed Aug 31 20:38:45 2016 +0200 doc: Cleanup software requirements in README Add a reference to the coding-style.txt for the perl requirements. Move po4a to building from git section. README | 12 ++++++------ debian/changelog | 4 ++++ 2 files changed, 10 insertions(+), 6 deletions(-) commit 4fe765630a179af5b649efdca4b0244ea8f73028 Author: Sven Joachim Date: Sun Jan 1 22:02:39 2017 +0100 German dpkg translation update Update to 1101t. debian/changelog | 3 ++ po/de.po | 96 ++++++++++++++------------------------------------------ 2 files changed, 27 insertions(+), 72 deletions(-) commit 210117715cb48ef93ff51042de9b09424ba9b2cb Author: Helge Kreutzmann Date: Wed Dec 21 08:01:58 2016 +0100 Update German translation of manual pages Update to 2832t1f. debian/changelog | 3 ++- man/po/de.po | 12 ++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) commit e3dace7dee19f97318df5202baf61a85e8bc511a Author: Guillem Jover Date: Tue Dec 20 14:30:40 2016 +0100 Bump version to 1.18.19 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 82954dd2d81ce91128b05528eb626d7011e668c4 Author: Guillem Jover Date: Tue Dec 20 13:53:41 2016 +0100 Release 1.18.18 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 57b38c2b373aaa671fdb90de1d891ccd09c8c115 Author: Guillem Jover Date: Tue Dec 20 13:28:20 2016 +0100 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/de.po | 38 ++++++++++++++++++++++++++++++-------- man/po/dpkg-man.pot | 35 ++++++++++++++++++++++++++++------- man/po/es.po | 32 +++++++++++++++++++++++++++----- man/po/fr.po | 32 +++++++++++++++++++++++++++----- man/po/hu.po | 32 +++++++++++++++++++++++++++----- man/po/it.po | 32 +++++++++++++++++++++++++++----- man/po/ja.po | 32 +++++++++++++++++++++++++++----- man/po/nl.po | 32 +++++++++++++++++++++++++++----- man/po/pl.po | 32 +++++++++++++++++++++++++++----- man/po/pt_BR.po | 32 +++++++++++++++++++++++++++----- man/po/ru.po | 32 +++++++++++++++++++++++++++----- man/po/sv.po | 32 +++++++++++++++++++++++++++----- man/po/zh_CN.po | 31 ++++++++++++++++++++++++++----- 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/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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 94 files changed, 438 insertions(+), 154 deletions(-) commit ed50eeb5f0de8cae858fb6095f34582d99dc2982 Author: Guillem Jover Date: Tue Dec 20 12:51:54 2016 +0100 man: Add a rationale for the purpose of Testsuite-Triggers in dsc(5) Prompted-by: Mattia Rizzolo debian/changelog | 2 ++ man/dsc.man | 3 +++ 2 files changed, 5 insertions(+) commit 6d38570bf8cc436cfee2d34c450a4d24ea7ff2a7 Author: Guillem Jover Date: Tue Dec 20 12:47:17 2016 +0100 man: Document DPKG_DATADIR in an ENVIRONMENT section in dpkg-architecture(1) debian/changelog | 2 ++ man/dpkg-architecture.man | 6 ++++++ 2 files changed, 8 insertions(+) commit a9eb36b4022bb9c0094b9fa5f1a26c01de3bade4 Author: Guillem Jover Date: Tue Dec 20 12:41:21 2016 +0100 debian: Revert the perl to perl:any dependency change in libdpkg-perl Even though this was a correct change, it currently breaks debootstrap in stable (jessie), testing (stretch) and unstable, which does not support arch-qualified dependencies. We'll have to live with the Multi-Arch hinter being unhappy for now. debian/changelog | 7 +++++++ debian/control | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) commit 00c301f0d0be3a66c64a2ba6e3ac554ffe8a048c Author: Helge Kreutzmann Date: Mon Dec 19 17:38:43 2016 +0100 Update German translation of manual pages Update to 2829t1f. debian/changelog | 3 ++- man/po/de.po | 12 +++++------- 2 files changed, 7 insertions(+), 8 deletions(-) commit cc4643495d517737d449d4fc895fb3655aded14b Author: Guillem Jover Date: Mon Dec 19 03:42:06 2016 +0100 Bump version to 1.18.18 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit c692e9bf782d2b8787ffc0a5f6ad4683bd7e1145 Author: Guillem Jover Date: Mon Dec 19 02:43:19 2016 +0100 Release 1.18.17 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit db24e964777fa25b6b33835db769cae98064024a Author: Guillem Jover Date: Mon Dec 19 03:05:25 2016 +0100 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/de.po | 50 +++++++++++++++++++++++++-------------------- man/po/dpkg-man.pot | 31 ++++++++++++++++++---------- man/po/es.po | 43 ++++++++++++++++++++++++++------------- man/po/fr.po | 54 ++++++++++++++++++++++++++----------------------- man/po/hu.po | 37 ++++++++++++++++++++------------- man/po/it.po | 43 ++++++++++++++++++++++++++------------- man/po/ja.po | 43 ++++++++++++++++++++++++++------------- man/po/nl.po | 44 +++++++++++++++++++++++++++------------- man/po/pl.po | 53 ++++++++++++++++++++++++++---------------------- man/po/pt_BR.po | 39 +++++++++++++++++++++-------------- man/po/ru.po | 39 +++++++++++++++++++++-------------- man/po/sv.po | 50 ++++++++++++++++++++++++++------------------- man/po/zh_CN.po | 37 ++++++++++++++++++++------------- 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/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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 94 files changed, 430 insertions(+), 301 deletions(-) commit 49b71bcfc8c42e88e564007a2c8639be075b0e54 Author: Guillem Jover Date: Mon Dec 19 02:35:41 2016 +0100 man: Document that dpkg sets DPKG_ADMINDIR on maintainer scripts environment debian/changelog | 1 + man/dpkg.man | 5 +++++ 2 files changed, 6 insertions(+) commit a927295c93fb7a17742441aa863aaffcf4a351b5 Author: Raphaël Hertzog Date: Mon Nov 14 11:46:09 2016 +0100 dpkg-shlibdeps: Improve logic to identify packages owning a library With things like merged-/usr, a system might have libraries that are stored for example in /usr/lib but that dpkg knows under /lib. This breaks some of the initial assumptions made in dpkg-shlibdeps. We now scan all possible paths for a given library (instead of trying to guess which one is the canonical one) and whenever we find a match in the dpkg database, we also associate the package for the associated realpath(). That way when a library is not properly identified, we can fallback on looking if its realpath is known and be confident that if the library was packaged, we did identify it correctly. [guillem@debian.org: - Fold find_library_locations() into find_library(). - Minor coding style fixes. - Squash the two separate commits and cleanup the commit message. ] Closes: #843073 Signed-off-by: Guillem Jover debian/changelog | 3 +++ scripts/Dpkg/Shlibs.pm | 19 +++++-------------- scripts/dpkg-shlibdeps.pl | 31 ++++++++++++++++--------------- 3 files changed, 24 insertions(+), 29 deletions(-) commit cff8e24ca76451a4a52cea6b05e8a76dcd1f5ecf Author: Guillem Jover Date: Mon Dec 19 01:38:17 2016 +0100 debian: Hardcode a perl:any dependency in the libdpkg-perl package The perl policy states that lib*-perl packages have to depend on the perl package. Depending on a perl-modules packages is currently not possible. And dh_perl will not emit a perl:any dependency for us, so the current best option is to just hardcode it ourselves. Reported-by: Sven Joachim debian/changelog | 5 +++-- debian/control | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) commit b94e70c630d3a3962a8647a066dccacc57859a32 Author: Helge Kreutzmann Date: Sun Dec 18 15:18:22 2016 +0100 Update German translation of manual pages Update to 2828t1f. man/po/de.po | 70 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 36 insertions(+), 34 deletions(-) commit f1d072c9bd4db4e31fcf573fb8414011da2c2aa5 Author: Guillem Jover Date: Sun Dec 18 12:23:16 2016 +0100 dpkg-maintscript-helper: Validate versions in all commands The symlink_to_dir and dir_to_symlink commands were not validating the versions, be consistent. debian/changelog | 2 ++ scripts/dpkg-maintscript-helper.sh | 2 ++ 2 files changed, 4 insertions(+) commit 0b8cb1a8ed053e2e6a28c2100397002222dd7eaf Author: Guillem Jover Date: Sun Dec 18 12:23:04 2016 +0100 dpkg-maintscript-helper: Handle empty versions as they are optional arguments Regression introduced in commit b51bc4ff0cd540b82e131470053eeed1c3d2f026. Closes: #848422 debian/changelog | 2 ++ scripts/dpkg-maintscript-helper.sh | 18 ++++++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) commit e9b4c9389a16a763c81c86a3270642d39249f60e Author: Guillem Jover Date: Sat Dec 17 16:46:25 2016 +0100 man: Clarify that dpkg-buildpackage -T does not run dpkg-source --before-build Closes: #649531 debian/changelog | 3 +++ man/dpkg-buildpackage.man | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) commit f27865fad257cfc29511b01ba810466b40c994a1 Author: Guillem Jover Date: Fri Dec 16 22:39:25 2016 +0100 debian: Do not insert a perl:Depends for libdpkg-perl Because tying the modules to a specific interpreter is wrong. debian/changelog | 5 +++++ debian/control | 1 - debian/rules | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) commit e8d375b11f1cb4d13d094584c7f28fe01a375056 Author: Helge Kreutzmann Date: Sat Dec 17 17:08:08 2016 +0100 Update German translation of manual pages Update to 2828t1f. debian/changelog | 3 ++ man/po/de.po | 130 +++++++++++++++++++------------------------------------ 2 files changed, 47 insertions(+), 86 deletions(-) commit 50efdbd5b924eda2dadb8ffa4bd373328c95cc5d Author: Helge Kreutzmann Date: Sat Dec 17 16:42:57 2016 +0100 Fix typo man/dpkg.man | 2 +- man/po/de.po | 4 ++-- man/po/dpkg-man.pot | 2 +- man/po/es.po | 4 ++-- man/po/fr.po | 4 ++-- man/po/hu.po | 4 ++-- man/po/it.po | 4 ++-- man/po/ja.po | 4 ++-- man/po/nl.po | 4 ++-- man/po/pl.po | 4 ++-- man/po/pt_BR.po | 4 ++-- man/po/ru.po | 4 ++-- man/po/sv.po | 4 ++-- man/po/zh_CN.po | 4 ++-- 14 files changed, 26 insertions(+), 26 deletions(-) commit 0d6b842301c46e38f501d0b2dead528e2b1e0edf Author: Helge Kreutzmann Date: Sat Dec 17 16:39:07 2016 +0100 Update German scripts translation Update to 586t. debian/changelog | 3 ++- scripts/po/de.po | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) commit 9ecc04b0e49b6021c26d7e27faa549dcf70be48c Author: Guillem Jover Date: Sat Dec 17 02:48:28 2016 +0100 debian: Fix bug closure debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 16eaa0c5eb2e5c8dbaaff1146e77d2739960d245 Author: Guillem Jover Date: Sat Dec 17 02:42:11 2016 +0100 Bump version to 1.18.17 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit ea797b62b22eb5cdc0778556fa7ba7bb5198b0ed Author: Guillem Jover Date: Sat Dec 17 00:26:04 2016 +0100 Release 1.18.16 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ce2ed3059756d695e46b331c09d7ee50cde78050 Author: Guillem Jover Date: Sat Dec 17 00:38:50 2016 +0100 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/de.po | 259 +++++++++++++++++++-------- man/po/dpkg-man.pot | 150 ++++++++++------ man/po/es.po | 185 ++++++++++++++------ man/po/fr.po | 208 ++++++++++++++++------ man/po/hu.po | 160 ++++++++++++----- man/po/it.po | 209 ++++++++++++++++------ man/po/ja.po | 185 ++++++++++++++------ man/po/nl.po | 457 ++++++++++++++++++++---------------------------- man/po/pl.po | 185 ++++++++++++++------ man/po/pt_BR.po | 160 ++++++++++++----- man/po/ru.po | 160 ++++++++++++----- man/po/sv.po | 203 +++++++++++++++------ man/po/zh_CN.po | 171 ++++++++++++------ po/ast.po | 77 ++++++-- po/bs.po | 67 ++++++- po/ca.po | 77 +++++++- po/cs.po | 79 +++++++-- po/da.po | 76 +++++++- po/de.po | 120 +++++++++++-- po/dpkg.pot | 64 ++++++- po/dz.po | 76 ++++++-- po/el.po | 77 ++++++-- po/eo.po | 79 +++++++-- po/es.po | 79 +++++++-- po/et.po | 76 ++++++-- po/eu.po | 81 +++++++-- po/fr.po | 77 +++++++- po/gl.po | 77 ++++++-- po/hu.po | 76 ++++++-- po/id.po | 80 +++++++-- po/it.po | 76 +++++++- po/ja.po | 117 ++++++++++++- po/km.po | 76 ++++++-- po/ko.po | 80 +++++++-- po/ku.po | 69 +++++++- po/lt.po | 76 ++++++-- po/mr.po | 76 ++++++-- po/nb.po | 80 +++++++-- po/ne.po | 76 ++++++-- po/nl.po | 161 +++++++++++------ po/nn.po | 76 ++++++-- po/pa.po | 75 ++++++-- po/pl.po | 79 +++++++-- po/pt.po | 120 +++++++++++-- po/pt_BR.po | 77 ++++++-- po/ro.po | 80 +++++++-- po/ru.po | 79 +++++++-- po/sk.po | 79 +++++++-- po/sv.po | 79 +++++++-- po/th.po | 79 +++++++-- po/tl.po | 82 +++++++-- po/tr.po | 117 ++++++++++++- po/vi.po | 120 +++++++++++-- po/zh_CN.po | 122 +++++++++++-- po/zh_TW.po | 79 +++++++-- scripts/po/ca.po | 8 +- scripts/po/de.po | 10 +- scripts/po/dpkg-dev.pot | 8 +- scripts/po/es.po | 8 +- scripts/po/fr.po | 8 +- scripts/po/pl.po | 8 +- scripts/po/ru.po | 8 +- scripts/po/sv.po | 8 +- 94 files changed, 4976 insertions(+), 1414 deletions(-) commit 9bafd1bd723c92bf1e043a7493c87181322faca8 Author: Frans Spiesschaert Date: Sat Dec 17 00:19:23 2016 +0100 po: Update Dutch translations Closes: #848378, #848379 Signed-off-by: Guillem Jover debian/changelog | 2 + man/po/nl.po | 1235 +++++++++++++++++++++++++++++------------------------- po/nl.po | 48 ++- 3 files changed, 683 insertions(+), 602 deletions(-) commit fd4e326cc9727dbd79b643d8e0fea51fdc324ca0 Author: Zhou Mo Date: Fri Dec 9 11:58:02 2016 +0100 po: Update Simplified Chinese programs translation Closes: #844955 Signed-off-by: Guillem Jover debian/changelog | 3 ++ po/zh_CN.po | 95 +++++++++++++++----------------------------------------- 2 files changed, 28 insertions(+), 70 deletions(-) commit c7dcd2c919c1c57e58b6226eab79af430952eda7 Author: Martin Bagge Date: Tue Dec 6 16:22:50 2016 +0100 po: Correct spelling mistake in Swedish translation Closes: #847220 Signed-off-by: Guillem Jover debian/changelog | 1 + scripts/po/sv.po | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 94b53bdeaf3249d140bc7bae07b5e304b769a1c0 Author: Guillem Jover Date: Fri Dec 9 10:36:57 2016 +0100 libdpkg: Add virtual source:Upstream-Version field Closes: #844348 debian/changelog | 1 + lib/dpkg/pkg-format.c | 14 ++++++++++++++ man/dpkg-query.man | 4 ++++ 3 files changed, 19 insertions(+) commit e0043dccaaaf3a935fcec0be81d446d6c3dd83f1 Author: Guillem Jover Date: Fri Dec 9 09:10:28 2016 +0100 libdpkg: Add a new source version accessor lib/dpkg/dpkg-db.h | 4 ++++ lib/dpkg/libdpkg.map | 1 + lib/dpkg/pkg-show.c | 15 +++++++++++++++ 3 files changed, 20 insertions(+) commit 7d93495f41e5ecb125825ce13f7cae0a215075d4 Author: Guillem Jover Date: Sun Nov 9 01:14:07 2014 +0100 libdpkg: Refactor varbuf_add_source_version() out from virt_source_version() lib/dpkg/dpkg-db.h | 4 ++++ lib/dpkg/libdpkg.map | 1 + lib/dpkg/pkg-format.c | 18 +----------------- lib/dpkg/pkg-show.c | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 40 insertions(+), 17 deletions(-) commit 232c13c84b5d3c47f8319ea6f9adc8cc3ee71eda Author: Guillem Jover Date: Sun Dec 4 22:58:45 2016 +0100 dpkg: Allow readlink(2) returning a size smaller than stat(2) Some bogus filesystems do not return the actual symlink size in st_size, which contradicts POSIX. But allowing the case where the returned size is smaller than the one used to allocate memory is harmless, although suspect. Let it through, but still print a warning so that users can install stuff but are reminded they need to get a fixed filesystem in place. This has affected at least ecryptfs in the past and now file-based encryption support in ext4 on Android N. Reported-by: Jay Freeman debian/changelog | 8 ++++++++ src/archives.c | 10 ++++++++-- src/configure.c | 5 ++++- 3 files changed, 20 insertions(+), 3 deletions(-) commit b51bc4ff0cd540b82e131470053eeed1c3d2f026 Author: Guillem Jover Date: Sun Dec 4 22:52:42 2016 +0100 dpkg-maintscript-helper: Use the new --validate-version command Do not abuse the --compare-versions command to perform version validation, use the new --validate-version command expressly added now to perform such task. Because the latter returns appropriate exit codes, does not print messages in debug mode and is the correct interface to use. Closes: #844701 debian/changelog | 3 +++ scripts/dpkg-maintscript-helper.sh | 10 ++++------ 2 files changed, 7 insertions(+), 6 deletions(-) commit 4801f159330b344148e777071d50ebc02c0d9056 Author: Guillem Jover Date: Sun Dec 4 22:51:24 2016 +0100 dpkg: Add new --validate- commands These commands make it possible to test if several of those s have a valid syntax. The current list of supported things is «pkgname», «trigname», «archname» and «version». debian/changelog | 3 +++ man/dpkg.man | 23 ++++++++++++++++++- src/enquiry.c | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- src/main.c | 11 +++++++++- src/main.h | 11 +++++++++- 5 files changed, 111 insertions(+), 4 deletions(-) commit 680135184b16269ef414897ba7bc64b2f51df4c7 Author: Guillem Jover Date: Sun Dec 4 02:35:27 2016 +0100 libdpkg: Decrease xz encoder threads to not exceed memory limits Automatically decrease xz encoder threads to try to not exceed available memory limits. This should alleviated the insane requirements of memory needed on 32-bit architectures with many cores, which results in more than the userspace addressable memory, when using settings such as -z9 and/or -Sextreme in dpkg-deb. Closes: #846564 debian/changelog | 5 +++++ lib/dpkg/compress.c | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+) commit 4af19ef13553873dcc24e82d7984f5ce6703f0fc Author: Guillem Jover Date: Sun Dec 4 02:35:27 2016 +0100 libdpkg: Use lzma_cputhreads() instead of sysconf(_SC_NPROCESSORS_ONLN) The former is way more portable than the latter. debian/changelog | 2 ++ lib/dpkg/compress.c | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) commit 0d609e2c8c0070310b531d2d470f79044121bea8 Author: Guillem Jover Date: Thu Nov 24 02:16:15 2016 +0100 libdpkg, Dpkg::Version: Reject empty upstream versions These are not permitted by deb-version(5), but the code was letting those through. debian/changelog | 2 ++ lib/dpkg/parsehelp.c | 2 ++ lib/dpkg/t/t-version.c | 8 +++++++- scripts/Dpkg/Version.pm | 5 +++++ scripts/t/Dpkg_Version.t | 11 +++++++++-- 5 files changed, 25 insertions(+), 3 deletions(-) commit b7684ab03c18df09197d364eccf2d3529e6a5fc4 Author: Guillem Jover Date: Sun Nov 27 19:08:21 2016 +0100 dpkg: Fix typo in code comment src/archives.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 507d2533461f5f81dd013e028e738ef424aeeae0 Author: Guillem Jover Date: Fri Nov 25 03:09:43 2016 +0100 dpkg-buildpackage: Add support for multiple targets on -T This makes it possible to run several desired targets in a single run, which avoids the overhead of the rest of the steps run. It also makes it possible to test if packages can be built twice in a row. Closes: #671074 debian/changelog | 2 ++ man/dpkg-buildpackage.man | 19 ++++++++++--------- scripts/dpkg-buildpackage.pl | 13 +++++++------ 3 files changed, 19 insertions(+), 15 deletions(-) commit 08ac6a92b4f4366548472464ebfb86708b124a5c Author: Guillem Jover Date: Tue Nov 29 02:26:11 2016 +0100 Dpkg::Build::Info: Whitelist other DPKG_ namespaced variables debian/changelog | 3 +++ scripts/Dpkg/Build/Info.pm | 12 ++++++++++-- scripts/t/Dpkg_Build_Info.t | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) commit 4fbf5294c525ec10408b876d0e2dbc7ea99757b2 Author: Guillem Jover Date: Sun Dec 4 22:55:15 2016 +0100 build: Honor DPKG_DATADIR again in the installed Dpkg modules This was an explicit public interface, documented in the man page. It is also the only way to cleanly override the architecture tables, which might be needed in certain circumstances. Partially revert the commit c3a9a82fcf58df34077638cdbfd7bb752624629e, but preserve the code simplification. debian/changelog | 2 ++ scripts/Dpkg.pm | 4 +++- scripts/Makefile.am | 14 +++++++------- 3 files changed, 12 insertions(+), 8 deletions(-) commit cfa3c832fe5a20dbbd2addf45e61f143ac4d745d Author: Guillem Jover Date: Sun Dec 4 18:14:20 2016 +0100 build: Enable compression libs also in automatic check mode The code setting the compression macros when found was only acting when explicitly enabling the compression libraries. debian/changelog | 2 ++ m4/dpkg-libs.m4 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 685e2f76f6ca91c4ad8aa1e91763e520ac52f8e8 Author: Guillem Jover Date: Thu Dec 15 23:14:54 2016 +0100 man: Update dpkg-parsechangelog parser options This got missed in commit d1629d0ec1b2619a1f2bd6839f975335e9cb6484. The options specific to the changelog parser program did not get updated when the parser got switched to be a perl module. Closes: #848189 debian/changelog | 3 +++ man/dpkg-parsechangelog.man | 10 +--------- 2 files changed, 4 insertions(+), 9 deletions(-) commit 82ad2a662b4e24cc298f2319f36112fd235088fb Author: Guillem Jover Date: Sun Dec 4 04:52:47 2016 +0100 man: Fix bogus description of --force-confmiss This force option is the only one that performs its action independently of the conffile changing or not in the new package. The description was bogusly updated when trying to clarify the other conf force options. Regression introduced in commit 4bcc6b8e0a587b432b145fafa642674607cddddd. Reported-by: Sven Joachim Closes: #846395 debian/changelog | 3 +++ man/dpkg.man | 7 +++---- 2 files changed, 6 insertions(+), 4 deletions(-) commit 230d3a5acd9c94a74a38faf37e8a2f9bf75cc322 Author: Guillem Jover Date: Tue Nov 29 02:25:11 2016 +0100 man: Document DPKG_GENSYMBOLS_CHECK_LEVEL in dpkg-gensymbols(1) debian/changelog | 2 ++ man/dpkg-gensymbols.man | 6 ++++++ 2 files changed, 8 insertions(+) commit a7bca3a03c5cfe6de7c3bad79999af8ea22b93f5 Author: Guillem Jover Date: Sun Nov 27 04:53:01 2016 +0100 man: Document the working directory when running dpkg-buildpackage hooks debian/changelog | 5 +++++ man/dpkg-buildpackage.man | 1 + 2 files changed, 6 insertions(+) commit 82ee3afaab56df58a47991a4fbb58abbba3ce57a Author: Guillem Jover Date: Sat Dec 17 01:01:38 2016 +0100 t-conffile-forceask: Remove the installed package on cleanup t-conffile-forceask/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1131e7b4d24601d810557367846347698bc0d28e Author: Guillem Jover Date: Sat Dec 17 01:00:51 2016 +0100 t-conffile-forcenew: Modify the conffile from the Makefile Do not use a postinst to modify the conffile as that makes reusing the code and reasoning about it more difficult. t-conffile-forcenew/Makefile | 8 ++++++-- t-conffile-forcenew/mod-conffile | 1 + t-conffile-forcenew/pkg-conff-forcenew-0/DEBIAN/postinst | 2 -- 3 files changed, 7 insertions(+), 4 deletions(-) commit af404380a7e0f8993f0c42104d7907c2310383cc Author: Guillem Jover Date: Thu Dec 8 15:30:51 2016 +0100 t-conffile-forcemiss: Split and fix --force-confmiss test case The --force-confmiss option is independent from --force-confask, split it into its own test case. Makefile | 1 + t-conffile-forceask/Makefile | 10 ++-------- t-conffile-forcemiss/Makefile | 16 ++++++++++++++++ .../pkg-conff-forcemiss-0/DEBIAN/conffiles | 1 + .../pkg-conff-forcemiss-0/DEBIAN/control | 7 +++++++ t-conffile-forcemiss/pkg-conff-forcemiss-0/test-conffile | 1 + .../pkg-conff-forcemiss-1/DEBIAN/conffiles | 1 + .../pkg-conff-forcemiss-1/DEBIAN/control | 7 +++++++ t-conffile-forcemiss/pkg-conff-forcemiss-1/test-conffile | 1 + t-conffile-forcemiss/ref-conffile | 1 + 10 files changed, 38 insertions(+), 8 deletions(-) commit a2efb15eef7d85ffc8e96f279f8e2b3d3e89d39a Author: Helge Kreutzmann Date: Wed Nov 16 19:00:45 2016 +0100 Update German translation of manual pages Update to 2820t1f. debian/changelog | 3 +++ man/po/de.po | 74 +++++++++----------------------------------------------- 2 files changed, 15 insertions(+), 62 deletions(-) commit 080efa81aa91ba67c0c2ce9832249ad1532121e2 Author: Helge Kreutzmann Date: Wed Nov 16 18:49:27 2016 +0100 Update German scripts translation Update to 585t. debian/changelog | 3 +- scripts/po/de.po | 86 +------------------------------------------------------- 2 files changed, 3 insertions(+), 86 deletions(-) commit eae9831ef4bb68daa6fa3e1252bca57051f1713d Author: Guillem Jover Date: Wed Nov 16 05:16:50 2016 +0100 Bump version to 1.18.16 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit cceea9aa56d0d2fbe5becd9331b15d6b51082f70 Author: Guillem Jover Date: Wed Nov 16 03:28:43 2016 +0100 Release 1.18.15 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9544ba8813d2998e4948247b0bc1b8d5b36ec51d Author: Guillem Jover Date: Wed Nov 16 03:47:38 2016 +0100 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/de.po | 224 ++++++++++++++++++++++++++++++++---------------- man/po/dpkg-man.pot | 79 +++++++---------- man/po/es.po | 173 ++++++++++++++++++++----------------- man/po/fr.po | 175 ++++++++++++++++++++----------------- man/po/hu.po | 89 ++++++++----------- man/po/it.po | 181 ++++++++++++++++++++------------------ man/po/ja.po | 170 +++++++++++++++++++----------------- man/po/nl.po | 201 ++++++++++++++++++++++++++----------------- man/po/pl.po | 171 +++++++++++++++++++----------------- man/po/pt_BR.po | 87 ++++++++----------- man/po/ru.po | 89 ++++++++----------- man/po/sv.po | 171 +++++++++++++++++++----------------- man/po/zh_CN.po | 85 ++++++++---------- 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/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 | 15 ++-- scripts/po/de.po | 94 ++++++++++++++++++-- scripts/po/dpkg-dev.pot | 11 +-- scripts/po/es.po | 15 ++-- scripts/po/fr.po | 15 ++-- scripts/po/pl.po | 15 ++-- scripts/po/ru.po | 15 ++-- scripts/po/sv.po | 15 ++-- 94 files changed, 1218 insertions(+), 1022 deletions(-) commit a971ad91437af8880cad4703695dcf12ee45959b Author: Guillem Jover Date: Wed Nov 16 03:00:07 2016 +0100 libdpkg: Only preallocate disk size for files bigger than 16 KiB Preallocating for very small fails causes some filesystems to degrade performance. Do so only for "big enough" files. Closes: #824636 debian/changelog | 2 ++ lib/dpkg/fdio.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) commit 4c217aee7a610dad02d5b28a2f9bf5d934fea77c Author: Guillem Jover Date: Mon Nov 14 04:07:07 2016 +0100 dpkg-buildpackage: Fallback to one job on unknown number of online processors On unsupported or exotic systems where we might be unable to retrieve the number of online processors and have been requested to infer them ourselves via the --jobs or --jobs-try “auto” argument, default to serial execution instead of unlimited jobs, to be on the safe side. Proposed-by: Simon McVittie debian/changelog | 4 ++++ man/dpkg-buildpackage.man | 3 ++- scripts/dpkg-buildpackage.pl | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) commit 950bfdaf77eacb631767a1a18e698137b56bba5b Author: Guillem Jover Date: Mon Nov 14 01:19:09 2016 +0100 dpkg-genbuildinfo: Bump Format to version 0.2 debian/changelog | 1 + man/deb-buildinfo.man | 2 +- scripts/dpkg-genbuildinfo.pl | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit d5005e4576bcf9b341e83cfb8647d5f96438642f Author: Guillem Jover Date: Mon Nov 14 01:17:32 2016 +0100 dpkg-genbuildinfo: Use deterministic .buildinfo filenames Using undeterministic filenames based on the buildinfo-id produces ugly looking filenames, which get left behind when rebuilding the same source multiple times as they vary by date. There's really no great point in using unique filenames as they will end up with different contents depending on the builder. debian/changelog | 2 ++ man/deb-buildinfo.man | 16 +++++++------- man/dpkg-buildpackage.man | 11 ---------- man/dpkg-genbuildinfo.man | 12 +---------- scripts/Test/Dpkg.pm | 18 ---------------- scripts/dpkg-buildpackage.pl | 16 +++----------- scripts/dpkg-genbuildinfo.pl | 25 +++++++++++----------- .../t/dpkg_buildpackage/test-source_0_all.changes | 6 +++--- .../t/dpkg_buildpackage/test-source_0_any.changes | 6 +++--- .../dpkg_buildpackage/test-source_0_binary.changes | 6 +++--- .../t/dpkg_buildpackage/test-source_0_full.changes | 6 +++--- 11 files changed, 38 insertions(+), 86 deletions(-) commit 8ff4522cf0f08659dee954ac2c6256c607b045df Author: Guillem Jover Date: Mon Nov 14 00:51:06 2016 +0100 dpkg-genbuildinfo: Add Build-Date field This records the time the build happened. This might be useful when there is a need to track down problems caused by external time-based events not visible from inside the build system. Things like hardware, software deployment or other such failures. debian/changelog | 1 + man/deb-buildinfo.man | 5 +++++ scripts/Dpkg/Control/FieldsCore.pm | 5 ++++- scripts/dpkg-genbuildinfo.pl | 14 ++++++++++++-- 4 files changed, 22 insertions(+), 3 deletions(-) commit da73ac074ed8b5e9aa20684b9da5c8e64469adb1 Author: Guillem Jover Date: Mon Nov 14 00:35:51 2016 +0100 dpkg-genbuildinfo: On source builds add source to the Architecture field debian/changelog | 2 ++ scripts/dpkg-genbuildinfo.pl | 2 ++ 2 files changed, 4 insertions(+) commit 30a7b88b63cd540d80133ddd70669079550bac2d Author: Guillem Jover Date: Mon Nov 14 00:51:26 2016 +0100 man: Escape dashes in field names in dpkg-buildinfo(1) debian/changelog | 2 ++ man/dpkg-genbuildinfo.man | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) commit 11d4587f58a0bfa0a888408d6e60e85d28360c9c Author: Guillem Jover Date: Sun Nov 13 18:57:51 2016 +0100 Dpkg::Deps: Fix typo in croak() Spotted-by: James Clarke scripts/Dpkg/Deps.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d3d4348c31418fd2a392e148a880dce7db283d20 Author: Guillem Jover Date: Sun Nov 13 17:54:59 2016 +0100 Dpkg::Deps: Validate architecture arguments in deps_parse() This function only works with real and known Debian architectures. It will not work with wildcards, nor the special architectures 'all' nor 'source'. Validate the arguments and croak early on to spot bogus usage. Prompted-by: Johannes Schauer debian/changelog | 3 +++ scripts/Dpkg/Deps.pm | 9 ++++++++- scripts/t/Dpkg_Deps.t | 21 ++++++++++++++++++++- 3 files changed, 31 insertions(+), 2 deletions(-) commit 39545fbc7444e259d039fe39bd5345a2edaf8084 Author: Guillem Jover Date: Sat Nov 12 14:59:55 2016 +0100 data: Do not enable PIE when linking static programs It seems like at least glibc does not support statically linked PIE programs, and produces random junk. Disable globally for now, if there's a desire to enable static PIE binaries, which is known to work on some architectures (such as musl-based ones) we can add specialized specs files in the future. Closes: #843714 Proposed-by: Szabolcs Nagy data/pie-link.specs | 2 +- debian/changelog | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) commit 429bd8f096e1e86c700201285018cda17d78f183 Author: Guillem Jover Date: Fri Nov 11 04:23:23 2016 +0100 t: Mark partially documented POD modules as TODO This makes sure we will not forget to get them out of the ignore list once they get documented. debian/changelog | 4 ++++ t/pod-coverage.t | 19 ++++++++++++++----- 2 files changed, 18 insertions(+), 5 deletions(-) commit 5c33a429eb77b4a7baffce88161caa2274c9edd8 Author: Guillem Jover Date: Fri Nov 11 04:22:52 2016 +0100 Dpkg::Vendor::Debian: Use a hash instead of a long regex Addresses RegularExpressions::RequireExtendedFormatting. Warned-by: perlcritic scripts/Dpkg/Vendor/Debian.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 4522d52bfb1f6eb86a2d274bd167020f23d9917f Author: Helge Kreutzmann Date: Fri Nov 11 21:54:21 2016 +0100 Update German translation of manual pages Update to 2823t1f. debian/changelog | 3 ++- man/po/de.po | 34 ++++++++++++++++++---------------- 2 files changed, 20 insertions(+), 17 deletions(-) commit eefb5979d3fd8b9cc265d7092a10f4f8c71893b8 Author: Guillem Jover Date: Fri Nov 11 03:40:57 2016 +0100 Bump version to 1.18.15 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 9157be44c71e22df1f0d705d290e4b1945375e29 Author: Guillem Jover Date: Fri Nov 11 02:26:15 2016 +0100 Release 1.18.14 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 183fccdfc6eb915ba8e354ce0090c899b1f0d18f Author: Guillem Jover Date: Fri Nov 11 02:45:27 2016 +0100 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/de.po | 79 +++++++++++++++++++++++++++++++------------------ man/po/dpkg-man.pot | 23 ++++++++++---- man/po/es.po | 20 +++++++++---- man/po/fr.po | 29 +++++++++++++----- man/po/hu.po | 20 +++++++++---- man/po/it.po | 29 +++++++++++++----- man/po/ja.po | 20 +++++++++---- man/po/nl.po | 33 ++++++++++++++++----- man/po/pl.po | 20 +++++++++---- man/po/pt_BR.po | 20 +++++++++---- man/po/ru.po | 20 +++++++++---- man/po/sv.po | 29 +++++++++++++----- man/po/zh_CN.po | 20 +++++++++---- 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/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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 94 files changed, 348 insertions(+), 182 deletions(-) commit 546df26ab1b245a65c82d6e942ccd450ec3ba04a Author: Guillem Jover Date: Fri Nov 11 02:54:53 2016 +0100 debian: List public Dpkg::Control::Tests module in libdpkg-perl description debian/changelog | 2 ++ debian/control | 1 + 2 files changed, 3 insertions(+) commit 91eae38314584ba73510b1ccfd0955016cd806cc Author: Guillem Jover Date: Fri Nov 11 02:24:24 2016 +0100 man: Clarify how to revert to the serial dpkg-buildpackage behavior Explicitly mention in dpkg-buildpackage(1) that setting the number of parallel jobs to 1, restores the serial behavior. Prompted-by: Thorsten Glaser debian/changelog | 3 +++ man/dpkg-buildpackage.man | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) commit 8a821d32cee21e1ea53af1e6274e19540208db56 Author: Guillem Jover Date: Fri Nov 11 01:43:33 2016 +0100 man: Improve the DEB_BUILD_OPTIONS description in dpkg-buildpackage(1) Mention that this flag might also affect the beahavior of debian/rules, and also mention the parallel option. debian/changelog | 3 +++ man/dpkg-buildpackage.man | 9 +++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) commit 2e4d88c2015be90e59524ca0a61a42fbdd039acb Author: Guillem Jover Date: Fri Nov 11 01:32:37 2016 +0100 Dpkg::Build::Info: New module refactored from dpkg-genbuildinfo This will allow other projects to use the same whitelist as dpkg does. Requested-by: Johannes Schauer debian/changelog | 2 ++ debian/control | 1 + scripts/Dpkg/Build/Info.pm | 86 ++++++++++++++++++++++++++++++++++++++++++++ scripts/Makefile.am | 2 ++ scripts/dpkg-genbuildinfo.pl | 29 ++++----------- scripts/po/POTFILES.in | 1 + scripts/t/Dpkg_Build_Info.t | 28 +++++++++++++++ 7 files changed, 126 insertions(+), 23 deletions(-) commit e20aeeaf590385d86cfb4754fbdc2e9ef85950b9 Author: Nishanth Aravamudan Date: Fri Nov 11 00:56:44 2016 +0100 Dpkg::Changelog::Entry::Debian: Fix parse error message when date is on May When a broken date is on May the error message ended up being very confusing as it mentioned that it was using a full instead of an abbreviated month name, because for May both are the same. Nest the conditionals to avoid this problem. Closes: #843829 Signed-off-by: Guillem Jover debian/changelog | 4 ++++ scripts/Dpkg/Changelog/Entry/Debian.pm | 14 +++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) commit a50ea56e8a040e305b0cf4f9248262a60ff1b3e5 Author: Guillem Jover Date: Fri Nov 11 00:39:52 2016 +0100 libdpkg, scripts: Change default color behavior to auto Our test run with the setting activated by apt, has not shown any signs of pitch forks nor angry mobs. Let's switch this by default to auto, so that the more clear but still hopefully unobtrusive colors can help people deal with interesting messages, warnings or error conditions. debian/changelog | 1 + lib/dpkg/color.c | 2 +- man/dpkg-buildpackage.man | 4 ++-- man/dpkg.man | 4 ++-- scripts/Dpkg/ErrorHandling.pm | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) commit 89b80a3da82ea5b10b1500d6c531432d0ce585a5 Author: Guillem Jover Date: Thu Nov 10 16:42:13 2016 +0100 dpkg: Fix use after free issue on error summary We are releasing the dpkg database now after running the commands, which means that the postponed error reporting summary was trying to print messages that had already been freed from the database memory pool. Duplicate the passed strings so that we are impervious to the database life-cycle. Regression introduced in commit 3404fd24ef8020b4d6dc17adb82d7e6c035d90dc. Closes: #843874 debian/changelog | 4 ++++ src/errors.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 8ce8524a7268525b27e04cab550e92edd9ea18a5 Author: Guillem Jover Date: Thu Nov 10 04:55:02 2016 +0100 data: Improve PIE handling - Rename the spec name cc1_options to self_spec. - Do not set PIE options if they have been negated, and do not reset them if they have been requested. Closes: #843791, #843826 data/no-pie-compile.specs | 2 +- data/no-pie-link.specs | 2 +- data/pie-compile.specs | 4 ++-- data/pie-link.specs | 2 +- debian/changelog | 6 ++++++ 5 files changed, 11 insertions(+), 5 deletions(-) commit c0f98e5994506ebd676918832aca97a81cf2bd45 Author: Helge Kreutzmann Date: Wed Nov 9 20:21:25 2016 +0100 Fix missing markup man/po/de.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2028cb7ac2374e46242a0878b33519589be23fb7 Author: Guillem Jover Date: Wed Nov 9 01:28:07 2016 +0100 build: Change DPKG_BUILD_RELEASE_DATE to use perl instead of date(1) As the former is more portable, and we were using GNUisms. debian/changelog | 2 ++ m4/dpkg-build.m4 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 7b02c624679d395124439549d0c78941b0197bf2 Author: Guillem Jover Date: Wed Nov 9 01:26:48 2016 +0100 build: Fix DPKG_BUILD_RELEASE_DATE to require DPKG_PROG_PERL It uses perl. debian/changelog | 1 + m4/dpkg-build.m4 | 1 + 2 files changed, 2 insertions(+) commit a166517a6d2f095c96b9661e8f2519470576a513 Author: Guillem Jover Date: Tue Nov 8 03:01:04 2016 +0100 build: Do not enable compression libraries if the headers are not usable debian/changelog | 2 ++ m4/dpkg-libs.m4 | 30 ++++++++++++++---------------- 2 files changed, 16 insertions(+), 16 deletions(-) commit f8b99da0c0858c919fd21e07774c8a001e91e1ba Author: Guillem Jover Date: Tue Nov 8 03:01:04 2016 +0100 build: Fix inversion logic in libmd configure check when requested explicitly debian/changelog | 2 ++ m4/dpkg-libs.m4 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 6ec8b1b4b180015924fb39a6f33d2f7527355324 Author: Guillem Jover Date: Tue Nov 8 02:31:01 2016 +0100 test: Do not fail on missing fakeroot just skip them debian/changelog | 4 ++++ scripts/t/dpkg_buildpackage.t | 8 ++++++-- t-func/atlocal.in | 4 ++-- 3 files changed, 12 insertions(+), 4 deletions(-) commit b8f8c886d704c4fdaa0303d6311a4a211637a490 Author: Helge Kreutzmann Date: Mon Nov 7 22:08:58 2016 +0100 Update German translation of manual pages Update to 2822t1f. debian/changelog | 3 ++- man/po/de.po | 63 +++++++++++++++++--------------------------------------- 2 files changed, 21 insertions(+), 45 deletions(-) commit f89b9ed0a391b6c57d0a27910f6833a8e22cf141 Author: Guillem Jover Date: Mon Nov 7 04:16:56 2016 +0100 Bump version to 1.18.14 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit c14351d0754635b43e4dcfddd2779af67476cc85 Author: Guillem Jover Date: Mon Nov 7 03:28:47 2016 +0100 Release 1.18.13 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e7f11a7943c351375f450673140c27247e81f88f Author: Guillem Jover Date: Mon Nov 7 03:39:35 2016 +0100 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/de.po | 186 ++++++++++++++++++++++++++++++------------------ man/po/dpkg-man.pot | 48 +++++++------ man/po/es.po | 55 ++++++++------ man/po/fr.po | 55 ++++++++------ man/po/hu.po | 46 ++++++------ man/po/it.po | 46 ++++++------ man/po/ja.po | 55 ++++++++------ man/po/nl.po | 69 ++++++++++++------ man/po/pl.po | 55 ++++++++------ man/po/pt_BR.po | 46 ++++++------ man/po/ru.po | 46 ++++++------ man/po/sv.po | 55 ++++++++------ man/po/zh_CN.po | 46 ++++++------ 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/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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 94 files changed, 568 insertions(+), 408 deletions(-) commit cf7f30aeba89f5bafe5046b7666985b661eaf217 Author: Guillem Jover Date: Wed Aug 10 22:51:11 2016 +0200 Dpkg::Vendor::Debian: Improve PIE flags support Fix changelog for dpkg 1.18.11 to mention PIE got enabled by default for all architectures, not just the ones where gcc does that itself. When emitting PIE flags on architectures where gcc does not inject those itself, do it via a specs file too, so that maintainers can use them unconditionally regardless of the object being compiled or linked. When injecting -no-pie for linking via gcc specs also inject -fno-PIE. Update the documentation to make the current situation more clear. Makefile.am | 2 ++ data/no-pie-link.specs | 2 +- data/pie-compile.specs | 2 ++ data/pie-link.specs | 2 ++ debian/changelog | 20 ++++++++++++++++---- man/dpkg-buildflags.man | 31 ++++++++++++++++++------------- scripts/Dpkg/Vendor/Debian.pm | 12 ++++++------ 7 files changed, 47 insertions(+), 24 deletions(-) commit f3b7b1c9683b68066c11b32a0a839293d4a32636 Author: Reiner Herrmann Date: Sun Nov 6 23:46:12 2016 +0100 build: Use deterministic dates for generated man pages Pin the timezone to UTC so that the computed dates are deterministic and produce deterministic generated man pages. Closes: #843469 Signed-off-by: Guillem Jover debian/changelog | 3 +++ m4/dpkg-build.m4 | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit acae2616d9e28e4d387d9c455c4a6ca89aa5b862 Author: Guillem Jover Date: Mon Nov 7 02:55:22 2016 +0100 debian: Ship deb-src-files(5) man page in dpkg-dev Missed in commit 10264ea2e5dc7b5df31bffae6fd644638d89ee15. debian/changelog | 1 + debian/dpkg-dev.manpages | 1 + 2 files changed, 2 insertions(+) commit 95ac91f64ddbf6c63cc5f152fbf2623a47c932b3 Author: Sven Joachim Date: Sun Nov 6 18:31:44 2016 +0100 debian: Add missing Breaks on old libdpkg-perl to dpkg Commit 9d7ba99cc3ff84fc553ed39da9d2e4f4008d35b6 renamed the triplettable file to tupletable and added the necessary dpkg dependency to libdpkg-perl, but did not forbid the other now broken combination of old libdpkg-perl and new dpkg. Closes: #843429 Signed-off-by: Guillem Jover debian/changelog | 3 +++ debian/control | 2 ++ 2 files changed, 5 insertions(+) commit 2636428d04b9b7f8fb6befcc7e6f6c12a9354189 Author: Guillem Jover Date: Mon Nov 7 02:59:21 2016 +0100 debian: Add bug closure for Dpkg::Dist:Files load_dir bug Closes: #843436 debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 050d596fdc0b4ef78f55a7c96cc74cdbfadce2d4 Author: Helge Kreutzmann Date: Sun Nov 6 09:01:55 2016 +0100 Update German translation of manual pages Update to 2822t1f. man/po/de.po | 238 ++++++++++++++++++++++++----------------------------------- 1 file changed, 97 insertions(+), 141 deletions(-) commit 2771731dcfdc3c0c4c9e23c1a35daf2ef307b84f Author: Helge Kreutzmann Date: Sun Nov 6 08:40:47 2016 +0100 Unify translation between man pages and scripts scripts/po/de.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 1095fdab355a0e41114e753827dc41dd3d8b879c Author: Guillem Jover Date: Sun Nov 6 07:42:11 2016 +0100 Dpkg::Dist::Files: Do not try to load non-files in load_dir method Non-Linux systems allow to open directories, which return their contents, this makes the load method fail with parsing errors. Make the code only try to ever load regular files. debian/changelog | 4 +++- scripts/Dpkg/Dist/Files.pm | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) commit f7e8c9bbf1dfb8e26c11a66625dba34301585e7e Author: Guillem Jover Date: Sun Nov 6 06:28:25 2016 +0100 Bump version to 1.18.13 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit d60f0286d0347d29e2c5232d018e12dd74711596 Author: Guillem Jover Date: Sun Nov 6 05:11:53 2016 +0100 Release 1.18.12 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c4d76610c2596c985a731c9b91eea266d57d0a2b Author: Guillem Jover Date: Sun Nov 6 06:07:07 2016 +0100 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/de.po | 3887 ++++++++++++++++++++--------------------------- man/po/dpkg-man.pot | 2151 ++++++++++++++++---------- man/po/es.po | 2722 +++++++++++++++++++++------------ man/po/fr.po | 2760 +++++++++++++++++++++------------ man/po/hu.po | 2273 +++++++++++++++++---------- man/po/it.po | 2735 +++++++++++++++++++++------------ man/po/ja.po | 2729 +++++++++++++++++++++------------ man/po/nl.po | 3667 ++++++++++++++++++++++---------------------- man/po/pl.po | 2711 +++++++++++++++++++++------------ man/po/pt_BR.po | 2229 +++++++++++++++++---------- man/po/ru.po | 2269 +++++++++++++++++---------- man/po/sv.po | 2502 +++++++++++++++++++----------- man/po/zh_CN.po | 2228 +++++++++++++++++---------- 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/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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 94 files changed, 20990 insertions(+), 14041 deletions(-) commit 440df47fa761624e6199b05e924501d9bad34978 Author: Guillem Jover Date: Sun Nov 6 05:35:09 2016 +0100 doc: Add missing comma between optional and author README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 19ba65f1e1f88cec2fd9a0c25597772c6af7930e Author: Guillem Jover Date: Sun Nov 6 05:34:29 2016 +0100 man: Document environment variables used by source format modules debian/changelog | 2 ++ man/dpkg-source.man | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) commit 0448eb0b2748f12180a83081b68f66048fbb7446 Author: Guillem Jover Date: Sun Nov 6 05:24:45 2016 +0100 man: Use %VERSION% in dpkg-statoverride(1) source item .TH macro debian/changelog | 1 + man/dpkg-statoverride.man | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 8a2b91519ef8f6827861150e6a863c5a6576deb6 Author: Guillem Jover Date: Sun Nov 6 05:23:20 2016 +0100 man: Use "dpkg suite" as the manual item in .TH macro debian/changelog | 1 + man/deb-buildinfo.man | 2 +- man/deb-changelog.man | 2 +- man/deb-changes.man | 2 +- man/deb-conffiles.man | 2 +- man/deb-control.man | 2 +- man/deb-extra-override.man | 2 +- man/deb-old.man | 2 +- man/deb-origin.man | 2 +- man/deb-override.man | 2 +- man/deb-postinst.man | 2 +- man/deb-postrm.man | 2 +- man/deb-preinst.man | 2 +- man/deb-prerm.man | 2 +- man/deb-shlibs.man | 2 +- man/deb-split.man | 2 +- man/deb-src-control.man | 2 +- man/deb-src-files.man | 2 +- man/deb-substvars.man | 2 +- man/deb-symbols.man | 2 +- man/deb-triggers.man | 2 +- man/deb-version.man | 2 +- man/deb.man | 2 +- man/deb822.man | 2 +- man/dpkg-architecture.man | 2 +- man/dpkg-buildpackage.man | 2 +- man/dpkg-checkbuilddeps.man | 2 +- man/dpkg-distaddfile.man | 2 +- man/dpkg-divert.man | 2 +- man/dpkg-genbuildinfo.man | 2 +- man/dpkg-genchanges.man | 2 +- man/dpkg-gencontrol.man | 2 +- man/dpkg-gensymbols.man | 2 +- man/dpkg-name.man | 2 +- man/dpkg-parsechangelog.man | 2 +- man/dpkg-scanpackages.man | 2 +- man/dpkg-scansources.man | 2 +- man/dpkg-shlibdeps.man | 2 +- man/dpkg-source.man | 2 +- man/dpkg-split.man | 2 +- man/dpkg-statoverride.man | 2 +- man/dsc.man | 2 +- man/dselect.man | 2 +- man/start-stop-daemon.man | 2 +- man/update-alternatives.man | 2 +- 45 files changed, 45 insertions(+), 44 deletions(-) commit ae2fef44767017905865d65d46c101a2a1b5596f Author: Guillem Jover Date: Sun Nov 6 05:17:01 2016 +0100 man: Rename FILE FORMATS section to FILES debian/changelog | 2 ++ man/dpkg-source.man | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit e1aebafaf6b8b54828655ec35e11ad290bc56873 Author: Guillem Jover Date: Sun Nov 6 05:08:40 2016 +0100 build: Set umask to 0022 for functional test suite debian/changelog | 3 ++- t-func/atlocal.in | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) commit 4087ff25f36c8169407ee69a854c32e4e4c5596e Author: Guillem Jover Date: Sun Nov 6 05:03:54 2016 +0100 Bump version to 1.18.12 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 4a794e1db4749020c0bb96dc0c01f5d6e9753477 Author: Guillem Jover Date: Sun Nov 6 03:09:08 2016 +0100 Release 1.18.11 debian/changelog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 33ce3e2508fd8f8ad03415ff6d67ece0557f5113 Author: Guillem Jover Date: Sun Nov 6 03:32:12 2016 +0100 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/de.po | 4511 +++++++++++++++++++++++++++-------------------- man/po/es.po | 637 ++++--- man/po/fr.po | 639 ++++--- man/po/hu.po | 466 ++--- man/po/it.po | 613 ++++--- man/po/ja.po | 638 ++++--- man/po/nl.po | 1676 ++++++++++++++---- man/po/pl.po | 596 ++++--- man/po/pt_BR.po | 422 ++--- man/po/ru.po | 490 ++--- man/po/sv.po | 610 ++++--- man/po/zh_CN.po | 461 +++-- po/ast.po | 74 +- po/bs.po | 85 +- po/ca.po | 120 +- po/cs.po | 118 +- po/da.po | 118 +- po/de.po | 2 +- po/dpkg.pot | 43 +- po/dz.po | 66 +- po/el.po | 68 +- po/eo.po | 118 +- po/es.po | 126 +- po/et.po | 66 +- po/eu.po | 120 +- po/fr.po | 122 +- po/gl.po | 68 +- po/hu.po | 66 +- po/id.po | 70 +- po/it.po | 120 +- po/ja.po | 120 +- po/km.po | 66 +- po/ko.po | 71 +- po/ku.po | 53 +- po/lt.po | 65 +- po/mr.po | 66 +- po/nb.po | 70 +- po/ne.po | 66 +- po/nl.po | 119 +- po/nn.po | 62 +- po/pa.po | 65 +- po/pl.po | 122 +- po/pt.po | 118 +- po/pt_BR.po | 68 +- po/ro.po | 74 +- po/ru.po | 118 +- po/sk.po | 68 +- po/sv.po | 118 +- po/th.po | 118 +- po/tl.po | 66 +- po/tr.po | 125 +- po/vi.po | 120 +- po/zh_CN.po | 118 +- po/zh_TW.po | 68 +- scripts/po/ca.po | 135 +- scripts/po/de.po | 5 +- scripts/po/dpkg-dev.pot | 117 +- scripts/po/es.po | 135 +- scripts/po/fr.po | 136 +- scripts/po/pl.po | 134 +- scripts/po/ru.po | 134 +- scripts/po/sv.po | 133 +- 93 files changed, 9918 insertions(+), 6528 deletions(-) commit e6f564f666698c43b49ed26cc2e54d8f7f9ce7a0 Author: Guillem Jover Date: Sun Nov 6 03:21:28 2016 +0100 build: Distribute missing test files scripts/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) commit 93f9e46472665af1574b85cb0f31199f83ad4355 Author: Guillem Jover Date: Sat Nov 5 23:56:42 2016 +0100 debian: Add perl:Depends substvar to dpkg-dev package Depends The scripts use modules not present in perl-base, so to be entirely correct we require the perl package, even though it gets pulled anyway by the libdpkg-perl package. Warned-by: dpkg-gencontrol debian/changelog | 1 + debian/control | 1 + 2 files changed, 2 insertions(+) commit 1852648603b1cc26ee4ce95a5173032445af4eb1 Author: Guillem Jover Date: Fri Oct 21 00:18:55 2016 +0200 Dpkg::Vendor::Debian: Handle PIE enabled by default in gcc Add support for compiler built-in features, so that we do not set them when enabled and set negated flags when disabled. We use gcc spec files to set these flags so that we avoid any conflict with other incompatible flags that would make the build fail. Closes: #835149 Based-on-patch-by: Bálint Réczey Makefile.am | 2 ++ data/no-pie-compile.specs | 2 ++ data/no-pie-link.specs | 2 ++ debian/changelog | 5 +++++ debian/libdpkg-perl.install | 1 + man/dpkg-buildflags.man | 19 ++++++++++++++----- scripts/Dpkg/Vendor/Debian.pm | 23 +++++++++++++++++++++-- 7 files changed, 47 insertions(+), 7 deletions(-) commit ca964d9a5d191113526b02e0565d2244b0ffa63b Author: Guillem Jover Date: Sun Nov 6 00:44:44 2016 +0100 t-source-minimal: Refactor dpkg-buildpackage invocation Request no signing and no check command. Test.mk | 2 +- t-source-minimal/Makefile | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) commit 08aec587bb2e7fbc6392017f1e3b3cc1034d6476 Author: Guillem Jover Date: Sun Nov 6 01:45:07 2016 +0100 t-source-build: Remove tests merged in main dpkg repository Makefile | 4 --- t-source-build/.gitignore | 2 -- t-source-build/Makefile | 30 -------------------- t-source-build/pkg-source-1.0/debian/changelog | 5 ---- t-source-build/pkg-source-1.0/debian/control | 24 ---------------- t-source-build/pkg-source-1.0/debian/copyright | 17 ----------- t-source-build/pkg-source-1.0/debian/rules | 28 ------------------ t-source-build/pkg-source-1.0/debian/source/format | 1 - t-source-build/pkg-source-1.0/debian/watch | 0 t-source-build/ref/pkg-source_1.0_all.changes | 24 ---------------- t-source-build/ref/pkg-source_1.0_any.changes | 24 ---------------- t-source-build/ref/pkg-source_1.0_binary.changes | 27 ------------------ t-source-build/ref/pkg-source_1.0_full.changes | 33 ---------------------- t-source-build/ref/pkg-source_1.0_source.changes | 27 ------------------ 14 files changed, 246 deletions(-) commit 53392da21859b4df51cb19b6c880f2f06135eca7 Author: Helge Kreutzmann Date: Sat Nov 5 20:57:36 2016 +0100 Update German translation of manual pages Update to 2790t17f10u. man/po/de.po | 121 ++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 66 insertions(+), 55 deletions(-) commit 9d53237b7b8b330f8708553a22206f49a4be707c Author: Helge Kreutzmann Date: Sat Nov 5 18:10:07 2016 +0100 Update German scripts translation Update to 586t. scripts/po/de.po | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit b8227f0b53e67d0b43f295f01dcd8e08a5cce5aa Author: Guillem Jover Date: Sat Nov 5 19:55:42 2016 +0100 Dpkg::Changelog: Cope gracefully with a missing trailer timestamp The get_timepiece methods might return an undef value if there was no timestamp in the trailer. Do not call the Time::Piece epoch method in that case, as that causes a perl error. Regression introduced in commit ea22158eb8b0dcaf42b0cdacd5b4560764f353c8. Closes: #843248 Based-on-patch-by: Ian Jackson debian/changelog | 3 +++ scripts/Dpkg/Changelog.pm | 4 ++-- scripts/Dpkg/Changelog/Entry.pm | 2 ++ scripts/Dpkg/Changelog/Entry/Debian.pm | 2 ++ scripts/t/Dpkg_Changelog.t | 5 +++-- scripts/t/Dpkg_Changelog/unreleased | 11 +++++++++++ 6 files changed, 23 insertions(+), 4 deletions(-) commit 4daaec6bb83c65bc7b83022dd241b5d6bbf83b86 Author: Guillem Jover Date: Fri Nov 4 05:28:26 2016 +0100 dpkg: Do not fail when removing non-existent files on read-only filesystems Trying to rmdir(2) or unlink(2) a non-existent pathname on at least Linux returns with EROFS. Handle this case specifically to check if the pathname exists with access(2). Closes: #838877 debian/changelog | 2 ++ lib/dpkg/path-remove.c | 7 +++++++ 2 files changed, 9 insertions(+) commit 1e3658185caf8de4034fb3648b32674970ce6cce Author: Guillem Jover Date: Fri Nov 4 04:11:59 2016 +0100 dpkg-buildpackage: Enable -Jauto by default The Debian build daemons have already been enabling parallel builds for a some time now. This has the advantage that it should make the builds faster, and that it gives similar conditions to local builders to the ones on build daemon networks, helping to catch problems with parallel build support in packages before the upload. Closes: #842845 Suggested-by: Simon McVittie debian/changelog | 1 + man/dpkg-buildpackage.man | 2 ++ scripts/dpkg-buildpackage.pl | 9 +++++++-- 3 files changed, 10 insertions(+), 2 deletions(-) commit 3787b186acab4fe9976679123aecd0c16e883293 Author: Guillem Jover Date: Sat Nov 5 05:06:06 2016 +0100 debian: Set MAKEFLAGS to -jN from parallel=N in DEB_BUILD_OPTIONS Honor parallel build option. debian/changelog | 1 + debian/rules | 1 + 2 files changed, 2 insertions(+) commit e169dfcb236facb0cce6a6153178e11dbdcd1e0e Author: Guillem Jover Date: Fri Nov 4 03:25:22 2016 +0100 Test::Dpkg: Use x modifier on a long regex Addresses RegularExpressions::RequireExtendedFormatting. Warned-by: perlcritic scripts/Test/Dpkg.pm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit f43fd1f753962228e0443c89f7274cc342f6694d Author: Guillem Jover Date: Fri Nov 4 03:24:09 2016 +0100 dpkg-genbuildinfo: Use an intermediate variable to placate perlcritic The code is fine, but perlcritic seems to have issues properly parsing it. Let's help it by using an intermediate variable. Addresses RegularExpressions::ProhibitUnusedCapture. Warned-by: perlcritic scripts/dpkg-genbuildinfo.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b575f63c14444376f71fe78565b2a072e78e8297 Author: Helge Kreutzmann Date: Sat Nov 5 10:00:58 2016 +0100 Update German translation of manual pages Update to 2770t25f21u. man/po/de.po | 1550 ++++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 1073 insertions(+), 477 deletions(-) commit c61520d6efabf073405a162975f1388313424d41 Author: Helge Kreutzmann Date: Sat Nov 5 09:31:12 2016 +0100 Fix typo man/deb-buildinfo.man | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f94c0d84648af8a128f37f029c903d6f3e9f430a Author: Helge Kreutzmann Date: Fri Nov 4 19:20:57 2016 +0100 Update German scripts translation Update to 586t. debian/changelog | 5 +- scripts/po/de.po | 136 ++++++++++++++++++++++++++++++++++++++++--------------- 2 files changed, 104 insertions(+), 37 deletions(-) commit 90be667de7c9f54631579f0ec55b62a6b6a3a24f Author: Guillem Jover Date: Thu Nov 3 23:42:42 2016 +0100 dpkg-genbuildinfo: Filter .buildinfo files from checksums inclusion This makes the script slightly more idempotent by filtering the only file it generates and registers itself. scripts/dpkg-genbuildinfo.pl | 3 +++ 1 file changed, 3 insertions(+) commit ebe99eaf776faed23639bffb8e020c81b4d455de Author: Guillem Jover Date: Thu Nov 3 23:35:33 2016 +0100 dpkg-genbuildinfo: For binary builds expect at least one binary artifact If we are doing a binary build, we should expect at least one binary artifact, and fail otherwise, instead of just always emitting a warning due to missing binary artifacts. Reported-by: Sven Joachim scripts/dpkg-genbuildinfo.pl | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) commit 45b7b6e794d066f027d977b4d59c1f3a7c6534c8 Author: Guillem Jover Date: Thu Nov 3 23:35:33 2016 +0100 dpkg-genbuildinfo: For source builds always assume the .dsc is present If we are doing a source build, we should just expect the source to be available, and fail otherwise, instead of just emitting a warning. scripts/dpkg-genbuildinfo.pl | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit ee8975322f93e41ccd5787ebb6cadaecc81cadf3 Author: Guillem Jover Date: Tue Nov 1 06:21:18 2016 +0100 scripts: Add support for .buildinfo files The .buildinfo files are a new type of control files, similar to the .changes files, meant to describe the environment of a build and its artifacts. They are meant to be added to the Debian archive to allow independent parties to reproduce a build and verify the result. Specifications for .buildinfo are available at: This patch adds support for .buildinfo files in Dpkg::Control, adds new .buildinfo fields to Dpkg::Control::Fields, a new builtin-system-build-paths Dpkg::Vendor hook, and adds a new script named dpkg-genbuildinfo, that will now be called by dpkg-buildpackage before generating the .changes file. [ntyni@debian.org: small changes. ] Closes: #138409 Based-on-patch-by: Jérémy Bobbio Signed-off-by: Guillem Jover debian/changelog | 7 + debian/dpkg-dev.install | 1 + debian/dpkg-dev.manpages | 2 + man/Makefile.am | 4 + man/deb-buildinfo.man | 178 ++++++++ man/dpkg-buildpackage.man | 31 +- man/dpkg-genbuildinfo.man | 153 +++++++ man/po/po4a.cfg | 6 + scripts/.gitignore | 1 + scripts/Dpkg/Control.pm | 13 +- scripts/Dpkg/Control/FieldsCore.pm | 41 +- scripts/Dpkg/Control/Types.pm | 3 + scripts/Dpkg/Vendor/Debian.pm | 2 + scripts/Dpkg/Vendor/Default.pm | 12 + scripts/Makefile.am | 2 + scripts/Test/Dpkg.pm | 1 + scripts/dpkg-buildpackage.pl | 35 +- scripts/dpkg-genbuildinfo.pl | 491 +++++++++++++++++++++ scripts/po/POTFILES.in | 1 + .../t/dpkg_buildpackage/test-source_0_all.changes | 3 + .../t/dpkg_buildpackage/test-source_0_any.changes | 3 + .../dpkg_buildpackage/test-source_0_binary.changes | 3 + .../t/dpkg_buildpackage/test-source_0_full.changes | 3 + t/pod-spell.t | 2 + 24 files changed, 982 insertions(+), 16 deletions(-) commit f89e053f3e3a6f0f73a9ce2c8dd2c72db93d44bb Author: Guillem Jover Date: Thu Nov 3 03:38:44 2016 +0100 Dpkg::Dist::Files: Add new load_dir method This method scans all fragment files inside a directory and loads each of them. scripts/Dpkg/Dist/Files.pm | 15 +++++++++++++++ scripts/t/Dpkg_Dist_Files.t | 16 +++++++++++++++- scripts/t/Dpkg_Dist_Files/files-fragment-a | 1 + scripts/t/Dpkg_Dist_Files/files-fragment-b | 1 + 4 files changed, 32 insertions(+), 1 deletion(-) commit 2aa7752b0069188cc692fd71db6a680d94bc1765 Author: Guillem Jover Date: Thu Nov 3 03:37:50 2016 +0100 Dpkg::Dist::Files: Change add_file to return $file scripts/Dpkg/Dist/Files.pm | 2 ++ 1 file changed, 2 insertions(+) commit 39cb4f28e973ac1860b57777e795ce1eafb7875d Author: Guillem Jover Date: Thu Nov 3 01:05:59 2016 +0100 dpkg-distaddfile: Rename variable from $file to $filename scripts/dpkg-distaddfile.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ed51db5ca0f6bc9393f4a5480f2ddbce68374a9d Author: Sven Joachim Date: Wed Nov 2 09:15:01 2016 +0100 man/po/de.po: Add missing italics marker Its absence caused po4a to die with the `Unknown '<' or '>' sequence' error message. man/po/de.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit cae957871dad79bbd48e264611ad3b4ca146dd7c Author: Guillem Jover Date: Wed Nov 2 05:03:19 2016 +0100 dpkg-genchanges: Only add architectures for .deb/.udeb artifacts When we are parsing filenames for artifacts that ressemble a known package, we should not be assuming that the third basename _-separated item is an architecture. Only consider it so for .deb and .udebs. debian/changelog | 2 ++ scripts/dpkg-genchanges.pl | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) commit 2783ac6d21466bb9e448ecbe89c95f8fbafadb92 Author: Guillem Jover Date: Wed Nov 2 01:33:12 2016 +0100 dpkg-gencontrol: Do not update the files list file when printing to STDOUT If we are outputting the contents to STDOUT, do not update the debian/files file, as we have not generated a control file that will allow to build a binary package. debian/changelog | 2 ++ scripts/dpkg-gencontrol.pl | 76 ++++++++++++++++++++++------------------------ 2 files changed, 39 insertions(+), 39 deletions(-) commit 158f94e8cdc9aed56d29c625ab2a3edfcf30c8b7 Author: Guillem Jover Date: Wed Nov 2 01:31:09 2016 +0100 dpkg-gencontrol: Delegate open/close operations to save() method scripts/dpkg-gencontrol.pl | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) commit e977c30856fda238027cec2efa9ab888c04c8757 Author: Guillem Jover Date: Wed Nov 2 01:14:51 2016 +0100 dpkg-gencontrol: Do substvar instantiation just once Do it before perparing for the final output, instead of doing it per some specific fields and then a global one immediately before output. debian/changelog | 1 + scripts/dpkg-gencontrol.pl | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) commit 36e180f62e258f043db360ddc549d59217f19588 Author: Guillem Jover Date: Wed Nov 2 01:07:14 2016 +0100 man: Add zh_CH to gitignore man/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 8295cf9de5a5da6a1e9668e654a7ca2b4280b627 Author: Helge Kreutzmann Date: Tue Nov 1 14:53:21 2016 +0100 Update German translation of manual pages Update to 2751t2f1u. man/po/de.po | 661 ++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 358 insertions(+), 303 deletions(-) commit 9404bc3be6e058d35ab314db1b1eddd1b182c61a Author: Helge Kreutzmann Date: Tue Nov 1 06:29:07 2016 +0100 Update German scripts translation Update to 581t. scripts/po/de.po | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 84bdfecc4d9e7ed248e41495742deb0720f5b08d Author: Sven Joachim Date: Mon Oct 31 18:27:51 2016 +0100 German dpkg translation update Update to 1091t. debian/changelog | 1 + po/de.po | 76 +++++++++++++++++++++++++++++--------------------------- 2 files changed, 40 insertions(+), 37 deletions(-) commit 9122b2f6bd869378627d073cc16ab1c932e55a74 Author: Guillem Jover Date: Fri Aug 12 21:34:59 2016 +0200 dpkg-architecture: Add new DEB_*_ARCH_ABI and DEB_*_ARCH_LIBC variables debian/changelog | 2 ++ man/dpkg-architecture.man | 12 ++++++++++++ scripts/dpkg-architecture.pl | 17 ++++++++++++----- scripts/mk/architecture.mk | 2 +- scripts/t/mk/architecture.mk | 6 ++++++ 5 files changed, 33 insertions(+), 6 deletions(-) commit 15f36bee2a34ec03c77ac38dc156eea0005e6737 Author: Guillem Jover Date: Sun Jun 14 16:42:02 2015 +0200 Dpkg::Arch: Support debarch_to_debtuple returning a hash references scripts/Dpkg/Arch.pm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 9d7ba99cc3ff84fc553ed39da9d2e4f4008d35b6 Author: Guillem Jover Date: Sun Jun 14 15:27:23 2015 +0200 arch: Internally represent architectures as quadruplets This allows to detangle the libc used from the calling conventions. Makefile.am | 3 +- data/abitable | 8 +-- data/cputable | 4 +- data/ostable | 58 ++++++++++---------- data/triplettable | 39 -------------- data/tupletable | 39 ++++++++++++++ debian/changelog | 1 + debian/control | 2 + man/dpkg-architecture.man | 33 +++++++++--- scripts/Dpkg/Arch.pm | 120 ++++++++++++++++++++++-------------------- scripts/Dpkg/Path.pm | 4 +- scripts/Dpkg/Vendor/Debian.pm | 6 +-- scripts/dpkg-architecture.pl | 9 ++-- scripts/t/Dpkg_Arch.t | 30 +++++------ 14 files changed, 191 insertions(+), 165 deletions(-) commit 16847ec012a11435bec3872593ba3c7e5b9ff492 Author: Guillem Jover Date: Fri Jan 29 11:13:12 2016 +0100 arch: Add a version pseudo-field to the arch tables This should allow external parsers to know if they can understand the table contents. data/abitable | 2 ++ data/cputable | 2 ++ data/ostable | 2 ++ data/triplettable | 2 ++ debian/changelog | 1 + man/dpkg-architecture.man | 7 +++++++ 6 files changed, 16 insertions(+) commit 86a6018a6bd90ad091e9879145381003b1dd317b Author: Guillem Jover Date: Mon Oct 31 00:39:49 2016 +0100 debian: Move dpkg to be the first binary package stanza in debian/control debhelper assigns special meaning by considering it the main package. debian/changelog | 2 ++ debian/control | 34 +++++++++++++++++----------------- 2 files changed, 19 insertions(+), 17 deletions(-) commit dd13047c47def1f54696527eee9769c57b98ac90 Author: Guillem Jover Date: Mon Oct 31 01:03:01 2016 +0100 test: Simply ignore yes(1) error messages While this is suboptimal, this is pretty much the only sane option we've got, as we cannot (per POSIX) reset a signal disposition that was set to IGNORE when the non-interactive shell got executed. This partially reverts commit f074889198fa4099474b068a611ebd56bbfc20d8 which was just wrong. t-func/atlocal.in | 3 --- t-func/deb-split.at | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) commit f074889198fa4099474b068a611ebd56bbfc20d8 Author: Guillem Jover Date: Sun Oct 30 21:53:07 2016 +0100 test: Set SIGPIPE to a sane state Some environments, such as Jenkins, set the SIGPIPE handler to ignore, which gets inherited by the test suite, and yes(1) barfs as it checks for error conditions after print. Reset the SIGPIPE handler to a sane default state. t-func/atlocal.in | 3 +++ 1 file changed, 3 insertions(+) commit 703872d23958cf0a427f323026961b0dfbfdf99f Author: Guillem Jover Date: Sun Oct 30 20:05:11 2016 +0100 debian: Run autotest test suite in verbose mode The autotest machinery does not print any log when a test fails which is less than helpful when run on a build daemon. debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit c84047753a72533f716c9ab245cce01297ccb297 Author: Guillem Jover Date: Sun Oct 30 20:03:30 2016 +0100 t-func: Unset compressor environment variables We should make the functional tests impervious to environment variables. Reported-by: Sven Joachim t-func/atlocal.in | 6 ++++++ 1 file changed, 6 insertions(+) commit 9921c4e45a37e6bd567fc7134176effbd59d0beb Author: Sven Joachim Date: Sun Oct 30 10:53:50 2016 +0100 scripts/t: Do not try to sign test packages If GnuPG is available in the build environment, dpkg-buildpackage will use it to sign the .dsc and .changes files which fails because there is no secret key for "Dpkg Developers ". Signed-off-by: Guillem Jover scripts/t/dpkg_buildpackage.t | 1 + 1 file changed, 1 insertion(+) commit 0bbc4f7b75f257807ea5d789a8226e8434bd6f58 Author: Guillem Jover Date: Sun Oct 30 19:48:30 2016 +0100 scripts/t: Output STDERR when commands fail Store the STDERR output and emit it as diag() output on exit failure. Also check the exit value for expected success. And do not abort on error from the dpkg-buildpackage command. scripts/t/dpkg_buildpackage.t | 11 ++++++++--- scripts/t/dpkg_source.t | 10 +++++++--- 2 files changed, 15 insertions(+), 6 deletions(-) commit 4c379a6e218ad96185c2abdb074bf37def13dfd4 Author: Guillem Jover Date: Sun Oct 30 17:22:55 2016 +0100 dpkg: Give more information on --set-selections warnings Mention that the package cannot be found on the status nor available database, and that to the FAQ. Closes: #842230 debian/changelog | 1 + src/select.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 109d819c409ba6f8013787da372f0565d4d3c214 Author: Frans Spiesschaert Date: Sun Oct 30 17:14:05 2016 +0100 po: Update Dutch translations [guillem@debian.org: Unfuzzy strings. ] Closes: #841117, #842187 Signed-off-by: Guillem Jover debian/changelog | 4 + man/po/nl.po | 3831 ++++++++++++++++++++++++------------------------------ po/nl.po | 124 +- 3 files changed, 1703 insertions(+), 2256 deletions(-) commit cce49e861302d8e2c2a29b95d265ce47c51b4c0c Author: Guillem Jover Date: Tue Oct 11 04:50:45 2016 +0200 man/po: Update .po files, unfuzzy strings and remove obsolete strings - Unfuzzy strings after typo fixes. - Unfuzzy strings after pathname replacement. - Unfuzzy strings after hyphenation change. - Unfuzzy translations after switch from escape sequences to UTF-8. - Remove obsolete translation strings. man/po/de.po | 9208 ++++++++++++++++++++++++++------------------------- man/po/dpkg-man.pot | 6943 ++++++++++++++++++++------------------ man/po/es.po | 8142 ++++++++++++++++++++++++--------------------- man/po/fr.po | 8750 ++++++++++++++++++++++++------------------------ man/po/hu.po | 7692 +++++++++++++++++++++--------------------- man/po/it.po | 8024 +++++++++++++++++++++++--------------------- man/po/ja.po | 8315 ++++++++++++++++++++++++---------------------- man/po/nl.po | 8393 +++++++++++++++++++++++++--------------------- man/po/pl.po | 9041 ++++++++++++++++++++++++-------------------------- man/po/pt_BR.po | 7776 ++++++++++++++++++++++--------------------- man/po/ru.po | 8142 ++++++++++++++++++++++----------------------- man/po/sv.po | 8987 ++++++++++++++++++++++++------------------------- man/po/zh_CN.po | 7422 ++++++++++++++++++++++------------------- 13 files changed, 55007 insertions(+), 51828 deletions(-) commit 77dbe5778a811218d5308c1adb1838d55ba84565 Author: Guillem Jover Date: Mon Sep 19 00:50:53 2016 +0200 test: Ignore POD coverage for partially private modules The Dpkg::Arch and Dpkg::Source::Package modules are partially private, and several of its functions are not yet documented as public. Ignore these two for now to avoid the expected failures. debian/changelog | 1 + t/pod-coverage.t | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) commit 3c69ed9189bdcf6d86be470ec1b841624f719786 Author: Guillem Jover Date: Mon Sep 19 00:50:30 2016 +0200 test: Pass -q to grep command to suppress matched output debian/changelog | 1 + t/pod-coverage.t | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit 583e7b0ab992c4770414e1f8f903f207035d0523 Author: Guillem Jover Date: Wed Sep 14 23:26:16 2016 +0200 perl: Remove default «.» from @INC before loading modules When loading eval'ed modules we should remove «.» from @INC, or we might end up loading code under the caller's control. Fixes: CVE-2016-1238 debian/changelog | 2 ++ dselect/methods/ftp/install.pl | 1 + dselect/methods/ftp/setup.pl | 5 ++++- dselect/methods/ftp/update.pl | 5 ++++- scripts/Dpkg/Changelog/Parse.pm | 1 + scripts/Dpkg/File.pm | 5 ++++- scripts/Dpkg/Gettext.pm | 5 ++++- scripts/Dpkg/Source/Package.pm | 6 +++++- scripts/Dpkg/Vendor.pm | 1 + scripts/dpkg-mergechangelogs.pl | 5 ++++- 10 files changed, 30 insertions(+), 6 deletions(-) commit b4e88220c2ba83bb96fc8f7430437b7d3e1bf1bf Author: Guillem Jover Date: Tue Sep 13 03:16:20 2016 +0200 dpkg: Do not log nor print duplicate removal action We print “Removing ()” lines and log remove action twice when purging a package from frontends, because they usually first call --remove and then --purge sequentially. When purging a package which is already in config-files (i.e. it has been removed before), do not print nor log the remove action. debian/changelog | 6 ++++++ src/remove.c | 11 ++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) commit 7ec59824455d8e7da029ad8bf53821e580cdac56 Author: Guillem Jover Date: Mon Sep 12 01:20:44 2016 +0200 dselect: Include missing for new and delete operator declarations debian/changelog | 1 + dselect/cxx-support.cc | 2 ++ 2 files changed, 3 insertions(+) commit f59f70bdad94b50de14b2939101c91387188bac4 Author: Guillem Jover Date: Wed Sep 7 20:25:20 2016 +0200 test: Delete MAKEFLAGS when testing make invocations If the parent has been called with -jN then the MAKEFLAGS will contain information to be used by the jobserver, but those file descriptors are closed in the way, and make complains. As we are testing the makefiles serially anyway, just remove the MAKEFLAGS to get rid of the warnings. debian/changelog | 1 + scripts/t/mk.t | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) commit 44cfbc4b31de7d3dc3c6471aeaf21768b4dc015a Author: Guillem Jover Date: Wed Sep 7 04:56:32 2016 +0200 build: Pass --as-needed to the linker for dselect to avoid libstdc++ We are not really using anything from libstdc++, so let's avoid the dependency entirely. This makes this the only frontend not to pull in the C++ run-time. configure.ac | 1 + debian/changelog | 2 ++ dselect/Makefile.am | 4 ++++ m4/dpkg-linker.m4 | 19 +++++++++++++++++++ 4 files changed, 26 insertions(+) commit ed6cbcf7a1706523580a91491adb9ecd55098f9c Author: Guillem Jover Date: Wed Sep 7 04:49:33 2016 +0200 dselect: Implement local abi::__cxa_pure_virtual When using g++ if we provide our version of this function we can avoid the dependency on either libstdc++ or libsup++. configure.ac | 12 ++++++++++++ debian/changelog | 3 +++ dselect/cxx-support.cc | 11 +++++++++++ 3 files changed, 26 insertions(+) commit 1fc6530294334e421c0da3652181eedd2669433e Author: Guillem Jover Date: Wed Sep 7 04:39:14 2016 +0200 dselect: Add replacement new and delete array operators debian/changelog | 1 + dselect/cxx-support.cc | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) commit 2ca60a4d810dac811613e2c17bb0c28fc523dad4 Author: Guillem Jover Date: Wed Sep 7 04:37:25 2016 +0200 dselect: Move C++ support code into its own file debian/changelog | 1 + dselect/Makefile.am | 1 + dselect/cxx-support.cc | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++ dselect/main.cc | 21 -------------------- 4 files changed, 55 insertions(+), 21 deletions(-) commit bb4ae26e35f9ca76a991ace7fb3497823ac1a3e8 Author: Guillem Jover Date: Mon Oct 10 05:36:30 2016 +0200 libdpkg: Simplify and trim-down dlist.h macros Remove unused macros and simplify remaining ones given the current usage in the code base. lib/dpkg/dlist.h | 39 ++++++++++++++++----------------------- lib/dpkg/triglib.c | 6 +++--- lib/dpkg/trignote.c | 2 +- 3 files changed, 20 insertions(+), 27 deletions(-) commit 678fd0b6dc195f48779fda72b0eb97d68c85e7ac Author: Guillem Jover Date: Sat Sep 3 05:20:38 2016 +0200 libdpkg: Fix free() on uninitialized pointer in error_context_errmsg_format() When erroring out inside a recursive error handler the error context errmsg field was not initialized, which meant the a free() was being done on a garbage pointer, crashing the program. Regression introduced in commit 4e1e0e78412060de420d2fa7f8a24231d6eff9bb. debian/changelog | 2 ++ lib/dpkg/ehandle.c | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) commit cd08e06004d615073be86e8fe5b233ccf9d6c0ed Author: Guillem Jover Date: Sat Sep 3 18:12:49 2016 +0200 libdpkg: Add new unit test for error handling debian/changelog | 1 + lib/dpkg/t/.gitignore | 1 + lib/dpkg/t/Makefile.am | 1 + lib/dpkg/t/t-ehandle.c | 129 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 132 insertions(+) commit 1dff5fd4920f3d457a1b0b7d43d9ed9a3fb73f35 Author: Guillem Jover Date: Wed Aug 10 20:39:39 2016 +0200 libdpkg: Improve comment in error_context_errmsg_format() The wording was quite confusing on the code flow. lib/dpkg/ehandle.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit d1f570622cff0fcfafd6b85f6beafce01d893563 Author: Guillem Jover Date: Wed Aug 10 20:39:39 2016 +0200 libdpkg: Return error in error_context_errmsg_format() only if truncated In case we have to use the emergency buffer because the previous vasprintf() call failed, we should only return an error code if the vsnprintf() call on the emergency buffer truncates the output. debian/changelog | 4 ++++ lib/dpkg/ehandle.c | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) commit 1d1c70fed17c17ef11e167b5c68825239659777b Author: Guillem Jover Date: Wed Aug 10 20:39:39 2016 +0200 libdpkg: Only set error context message if it has been formatted correctly We should not be adding junk to the error context message. debian/changelog | 2 ++ lib/dpkg/ehandle.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 4f12a3b01b6e2bdcaf03e9f9b45d8bea7355ebcd Author: Guillem Jover Date: Sun Aug 28 17:05:24 2016 +0200 scripts/t: Skip the tests if IO::String is not present This makes this dependency optional. README | 2 +- debian/changelog | 1 + scripts/t/Dpkg_Control.t | 9 ++++++--- scripts/t/Dpkg_Shlibs.t | 8 ++++++-- 4 files changed, 14 insertions(+), 6 deletions(-) commit 322a17a9df9f4adfc029e3a40b185439b6acb224 Author: Guillem Jover Date: Sun Aug 28 02:24:56 2016 +0200 libcompat: Disable gettext support in getopt module We do not carry translations for this module, and it makes it pull libintl for programs that might not use it otherwise. debian/changelog | 3 +++ lib/compat/getopt.c | 11 +++-------- 2 files changed, 6 insertions(+), 8 deletions(-) commit 7d22e85e637ae71791870497d001ff10609b31d3 Author: Guillem Jover Date: Sat Aug 27 17:37:51 2016 +0200 libcompat: Include getopt module when we need getopt_long The latter requires the local getopt implementation, so we need to include it even if the system provides a getopt implementation. debian/changelog | 1 + lib/compat/Makefile.am | 4 ++++ 2 files changed, 5 insertions(+) commit 251474f44384a584b8ac65407fb6ccc2cca66b97 Author: Guillem Jover Date: Fri Aug 26 02:58:09 2016 +0200 libcompat: Add missing include Warned-by: gcc on AIX debian/changelog | 1 + lib/compat/strerror.c | 1 + 2 files changed, 2 insertions(+) commit 1d4e37d00e0aa8bd8b11bb034eb45812f3ec8ca5 Author: Guillem Jover Date: Sun Aug 28 16:50:22 2016 +0200 libdpkg: Add on AIX for major() and minor() configure.ac | 1 + debian/changelog | 1 + lib/dpkg/t/c-tarextract.c | 4 ++++ 3 files changed, 6 insertions(+) commit 534510ae79d96691ba31d08b52c1158455a9621f Author: Guillem Jover Date: Fri Aug 26 02:58:36 2016 +0200 libdpkg: Use our own dpkg_ar_hdr instead of relying on the system one The ar format is not standardized and some systems might provide a different format than the one used by dpkg. For example on AIX. debian/changelog | 3 +++ dpkg-deb/extract.c | 2 +- dpkg-split/info.c | 2 +- lib/dpkg/ar.c | 12 ++++++------ lib/dpkg/ar.h | 19 ++++++++++++++++--- lib/dpkg/t/t-ar.c | 6 +++--- 6 files changed, 30 insertions(+), 14 deletions(-) commit 9d0d823be92a5931428f3c8eedb83d7a9efe2d37 Author: Guillem Jover Date: Fri Aug 26 02:57:34 2016 +0200 data: Add support for AIX operating system data/ostable | 1 + data/triplettable | 1 + debian/changelog | 2 ++ scripts/t/Dpkg_Arch.t | 2 +- 4 files changed, 5 insertions(+), 1 deletion(-) commit c9fd007bbe22d52bd490f815f58bd46a398d53ae Author: Guillem Jover Date: Sun Aug 28 17:02:46 2016 +0200 Dpkg: Add new Dpkg::PROGMAKE variable to store GNU make command name debian/changelog | 1 + scripts/Dpkg.pm | 8 +++++++- scripts/Makefile.am | 2 ++ scripts/dpkg-buildpackage.pl | 2 +- scripts/t/mk.t | 3 ++- 5 files changed, 13 insertions(+), 3 deletions(-) commit 062ee4500fc879735c5b453a8b9e7c6c3cd4be4a Author: Guillem Jover Date: Tue Jan 20 21:46:24 2015 +0100 Dpkg: Add new Dpkg::PROGTAR variable to store GNU tar command name debian/changelog | 1 + lib/dpkg/t/Makefile.am | 3 +++ lib/dpkg/t/t-tarextract.t | 6 ++++-- scripts/Dpkg.pm | 13 ++++++++++++- scripts/Dpkg/Source/Archive.pm | 5 +++-- scripts/Makefile.am | 2 ++ 6 files changed, 25 insertions(+), 5 deletions(-) commit c3a9a82fcf58df34077638cdbfd7bb752624629e Author: Guillem Jover Date: Sun Sep 4 18:21:02 2016 +0200 build: Do not honor DPKG_DATADIR on the installed Dpkg module Move the environment variable DPKG_DATADIR override for Dpkg::DATADIR into the first assignment, so that the new replacement logic can make it disappear at installation time. This simplifies the code and reduces the exposure of this internal purpose machinery. debian/changelog | 1 + scripts/Dpkg.pm | 3 +-- scripts/Makefile.am | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) commit 33e6fcb5cd9b478e1646b50d247c233edcbd0088 Author: Guillem Jover Date: Thu Aug 25 00:20:52 2016 +0200 Dpkg::Compression: Only use gzip --rsyncable on Debian and derivatives The gzip package in Debian at some point acquired a Debian-specific --rsyncable option via a vendor patch. Which is not present in most of the major distributions, dpkg downstream systems, nor gzip upstream, who have stated they will most probably not accept it because people should be using pigz instead. This option should have never been accepted in dpkg, ever. But removing it now would probably cause demands for tarring and feathering. In addition we cannot use the Dpkg::Vendor logic because that would cause circular module dependencies. The whole affair is pretty disgusting really. Check the perl Config to discern Debian and hopefully derivatives too. debian/changelog | 4 ++++ scripts/Dpkg/Compression.pm | 21 ++++++++++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) commit 739bb238937e2999feb6b853e5594d89fc981a56 Author: Guillem Jover Date: Sat Oct 1 17:59:06 2016 +0200 Dpkg::Compression::FileHandle: Inherit from IO::File instead of FileHandle Avoid the indirection, and use the more current module. debian/changelog | 2 ++ scripts/Dpkg/Compression/FileHandle.pm | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit bc4ceb7af5ee80eb8f13852251f2b351f59ef06d Author: Guillem Jover Date: Wed Oct 5 04:11:36 2016 +0200 Dpkg::Build::Type: Always map the build type to the shortest string form We should try to map to the shortest string to make life easier. debian/changelog | 2 ++ scripts/Dpkg/Build/Types.pm | 12 ++++++++---- scripts/t/Dpkg_Build_Types.t | 6 +++--- scripts/t/dpkg_buildpackage.t | 2 -- 4 files changed, 13 insertions(+), 9 deletions(-) commit 05d5a6590879078c9992b9e8a8a07371413858e1 Author: Guillem Jover Date: Fri Oct 14 23:58:59 2016 +0200 Dpkg::IPC: Defer filehandle closures in spawn() to avoid double-close When the caller passes the same filehandle for STDIN, STDOUT or STDERR, the code will try to close the same filehandle more than once, producing an error. Defer the closures to the end using the same close_in_child array already used for other filehandles. Closes: #839905, #840293 debian/changelog | 2 ++ scripts/Dpkg/IPC.pm | 9 ++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) commit ea506ec3f20f6c81ce3dcff5cd99ab8146685a35 Author: Guillem Jover Date: Sun Oct 2 19:51:59 2016 +0200 Dpkg::Source::Package: Prefix private functions with _ debian/changelog | 1 + scripts/Dpkg/Source/Package/V2.pm | 24 ++++++++++++------------ scripts/Dpkg/Source/Package/V3/Bzr.pm | 6 +++--- scripts/Dpkg/Source/Package/V3/Git.pm | 6 +++--- scripts/Dpkg/Source/Package/V3/Quilt.pm | 16 ++++++++-------- 5 files changed, 27 insertions(+), 26 deletions(-) commit fa532fbc4bcf5d67a3e50174cb5518381a71d0b4 Author: Guillem Jover Date: Tue Sep 13 03:30:10 2016 +0200 Dpkg::Conf: Document obsolete functions This fixes a Pod::Coverage issue. debian/changelog | 1 + scripts/Dpkg/Conf.pm | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit a42b066cf4677c2500c9f8e5bfdc14dfd7763e5a Author: Guillem Jover Date: Sun Oct 16 16:13:59 2016 +0200 Dpkg::Substvars: Fix POD formatting Reported-by: Niels Thykier scripts/Dpkg/Substvars.pm | 1 + 1 file changed, 1 insertion(+) commit 86819a8693e5fa4b5d8ccaace3131a52fd564789 Author: Guillem Jover Date: Fri Oct 7 00:24:59 2016 +0200 u-a: Fix short-lived memory leaks These interfaces were bad, as requiring to pass pre-allocated strings, means we cannot sanely recover and the call sites do not know when the function took ownership of the pointers or not, and as such subsequent calls might or might not be able to reuse the pointers or free them. Reported-by: Helmut Grohne debian/changelog | 2 ++ utils/update-alternatives.c | 49 ++++++++++++++++++++++++--------------------- 2 files changed, 28 insertions(+), 23 deletions(-) commit cdf41bcf1d3551ffa0ce1cc85be69d4ea9251893 Author: Guillem Jover Date: Thu Aug 25 00:45:04 2016 +0200 u-a: Fix lookup by name on --config The code was wrong and not working at least on Mac OS X. debian/changelog | 2 ++ utils/update-alternatives.c | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) commit e12ad320d4c073016d77acefdb71ebf4e34b82be Author: Guillem Jover Date: Sat Aug 27 17:38:50 2016 +0200 s-s-d: Port process handling to AIX configure.ac | 1 + debian/changelog | 1 + utils/start-stop-daemon.c | 77 +++++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 76 insertions(+), 3 deletions(-) commit 63fafbed03ca661147b2a958522292301436c8b5 Author: Guillem Jover Date: Sat Aug 27 15:21:24 2016 +0200 s-s-d: Cleanup OS* macros When setting them sort them on by relative importance/relevance/freeness. Separate the name with an underscore and use proper case for the kernel names. Update the name of several OSes/kernels. utils/start-stop-daemon.c | 128 +++++++++++++++++++++++----------------------- 1 file changed, 64 insertions(+), 64 deletions(-) commit 47f9afbd7b1351f5673bf32b6f1da484c3b8563c Author: Guillem Jover Date: Tue Aug 23 21:45:05 2016 +0200 s-s-d: Port process handling to Mac OS X Based-on-a-patch-by: Mo McRoberts Signed-off-by: Guillem Jover debian/changelog | 2 ++ utils/start-stop-daemon.c | 87 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) commit 97af191aa67e3b6c03ba7d7fa22a88a0ec6591df Author: Guillem Jover Date: Tue Aug 23 21:41:35 2016 +0200 s-s-d: On FreeBSD return STATUS_UNKNOWN instead of false in do_procinit() The function returns an enum status_code, not a bool. debian/changelog | 2 ++ utils/start-stop-daemon.c | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) commit 37af4e517e8fdf925638ddc57138a89ff0b8e8dd Author: Guillem Jover Date: Tue Aug 23 21:39:24 2016 +0200 s-s-d: Handle _POSIX_PRIORITY_SCHEDULING being defined to -1 or 0 POSIX states that these can be defined as -1 (unavailable), or 0 (available at build-time, but might or might not be available at run-time). Handles these, which happens to be the case in Mac OS X. debian/changelog | 2 ++ utils/start-stop-daemon.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit 454721714d100209ace5e8151bf9f9019de43ed6 Author: Guillem Jover Date: Sat Aug 27 15:14:35 2016 +0200 s-s-d: Use reserved system preprocessor symbols Use underscore-prefixed symbols to distinguish the system we are building for. debian/changelog | 2 ++ utils/start-stop-daemon.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit 236305c3359262726f698cf79bd030f7e004b164 Author: Guillem Jover Date: Thu Aug 25 01:02:59 2016 +0200 libdpkg: Cast strlen() return value to ssize_t to match write() return type Warned-by: clang debian/changelog | 1 + lib/dpkg/t/t-buffer.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 43df068870410902c561d1cf6e7ae47ca080f6c6 Author: Guillem Jover Date: Tue Aug 23 21:34:42 2016 +0200 libdpkg: Add missing include Warned-by: clang debian/changelog | 1 + lib/dpkg/path-remove.c | 1 + 2 files changed, 2 insertions(+) commit f10a135c0e22cac01a68c08a3aea2303eb7d4f37 Author: Guillem Jover Date: Tue Aug 23 21:33:48 2016 +0200 Cast off_t variables to intmax_t when printing them with %jd Warned-by: clang debian/changelog | 2 ++ dpkg-deb/extract.c | 2 +- lib/dpkg/ar.c | 2 +- lib/dpkg/t/c-tarextract.c | 7 ++++--- src/archives.c | 4 ++-- src/configure.c | 3 ++- 6 files changed, 12 insertions(+), 8 deletions(-) commit 57b2ce9c2db08c74eeba0872740da1be09ce6874 Author: Guillem Jover Date: Wed Jul 16 17:12:43 2014 +0200 test: Add an initial functional test suite for dpkg-deb and dpkg-split Move various easy tests from the dpkg-tests repository, so that we can test whether the infrastructure is viable. Makefile.am | 1 + configure.ac | 5 + debian/changelog | 1 + t-func/.gitignore | 5 + t-func/Makefile.am | 44 +++++++ t-func/atlocal.in | 26 ++++ t-func/deb-content.at | 42 +++++++ t-func/deb-fields.at | 21 ++++ t-func/deb-format.at | 329 ++++++++++++++++++++++++++++++++++++++++++++++++++ t-func/deb-split.at | 86 +++++++++++++ t-func/local.at | 32 +++++ t-func/testsuite.at | 10 ++ 12 files changed, 602 insertions(+) commit a54a3c7e86e2f7b568d4aa162586d46ab4ed7105 Author: Guillem Jover Date: Sun Sep 18 22:43:20 2016 +0200 scripts/t: Add dpkg-buildpackage functional tests Taken from dpkg-tests functional test suite. debian/changelog | 1 + scripts/Makefile.am | 7 + scripts/t/dpkg_buildpackage.t | 209 +++++++++++++++++++++ scripts/t/dpkg_buildpackage/test-source_0.dsc | 15 ++ .../t/dpkg_buildpackage/test-source_0_all.changes | 24 +++ .../t/dpkg_buildpackage/test-source_0_any.changes | 24 +++ .../dpkg_buildpackage/test-source_0_binary.changes | 27 +++ .../t/dpkg_buildpackage/test-source_0_full.changes | 33 ++++ .../dpkg_buildpackage/test-source_0_source.changes | 27 +++ 9 files changed, 367 insertions(+) commit 1d8f6e1fa32cedd33788991d9301899fc6f2dcfb Author: Guillem Jover Date: Tue Aug 5 22:08:12 2014 +0200 scripts/t: Add dpkg-source functional tests debian/changelog | 1 + scripts/Makefile.am | 5 + scripts/Test/Dpkg.pm | 18 ++++ scripts/t/dpkg_source.t | 167 ++++++++++++++++++++++++++++++++++ scripts/t/dpkg_source/testsuite_0.dsc | 16 ++++ scripts/t/dpkg_source/testsuite_1.dsc | 16 ++++ scripts/t/dpkg_source/testsuite_2.dsc | 16 ++++ scripts/t/dpkg_source/testsuite_3.dsc | 15 +++ 8 files changed, 254 insertions(+) commit 6c32c76ba20b641e14fc1533cecb3ca674850a90 Author: Guillem Jover Date: Sat Aug 20 18:47:41 2016 +0200 dpkg-source: Make the program reproducible when run standalone Running dpkg-source directly is more common than running dpkg-deb directly. In addition dpkg-source needs to parse the changelog anyway, something that dpkg-deb does not need nor, in any case, has an easy way to do currently. So let's make it generate reproducible source by default. debian/changelog | 2 ++ man/dpkg-source.man | 7 +++++++ scripts/dpkg-source.pl | 3 +++ 3 files changed, 12 insertions(+) commit 66a12fb8b22f13bb89dd59bf13db2fb939d3de87 Author: Guillem Jover Date: Sat Aug 20 18:44:10 2016 +0200 Dpkg::Source::Archive: Fix reproducible source package support We should make sure the generated tarball has its filenames sorted, otherwise tar will use whatever order comes from the filesystem. debian/changelog | 2 ++ scripts/Dpkg/Source/Archive.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit a0be1b0c02f7af096db44e25d6e6eb4227cb3e57 Author: Guillem Jover Date: Sat Aug 20 03:17:31 2016 +0200 libdpkg: Rename test suite commands to be prefixed with c- instead of t- This should make it more clear that these are not intended to be used directly by the TAP test runner. In addition now we can use the proper name for the .t perl scripts. debian/changelog | 1 + lib/dpkg/t/.gitignore | 5 ++--- lib/dpkg/t/Makefile.am | 8 ++++---- lib/dpkg/t/{t-tarextract.c => c-tarextract.c} | 0 lib/dpkg/t/{t-treewalk.c => c-treewalk.c} | 0 lib/dpkg/t/{t-tar.t => t-tarextract.t} | 4 ++-- lib/dpkg/t/{t-tree.t => t-treewalk.t} | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) commit 0f599ea0ae387771ccfb1aa866c4981ada83932a Author: Guillem Jover Date: Sat Aug 20 03:11:41 2016 +0200 libdpkg: Make test main function a TEST_ENTRY macro This avoids confusing coverage programs, as the file that actually contains the main function is the test itself. debian/changelog | 4 ++++ lib/dpkg/t/t-ar.c | 3 +-- lib/dpkg/t/t-arch.c | 3 +-- lib/dpkg/t/t-buffer.c | 3 +-- lib/dpkg/t/t-c-ctype.c | 3 +-- lib/dpkg/t/t-command.c | 3 +-- lib/dpkg/t/t-deb-version.c | 3 +-- lib/dpkg/t/t-error.c | 3 +-- lib/dpkg/t/t-macros.c | 3 +-- lib/dpkg/t/t-mod-db.c | 3 +-- lib/dpkg/t/t-path.c | 3 +-- lib/dpkg/t/t-pkg-list.c | 3 +-- lib/dpkg/t/t-pkg-queue.c | 3 +-- lib/dpkg/t/t-pkginfo.c | 3 +-- lib/dpkg/t/t-progname.c | 3 +-- lib/dpkg/t/t-string.c | 3 +-- lib/dpkg/t/t-subproc.c | 3 +-- lib/dpkg/t/t-test-skip.c | 3 +-- lib/dpkg/t/t-test.c | 3 +-- lib/dpkg/t/t-trigger.c | 3 +-- lib/dpkg/t/t-varbuf.c | 3 +-- lib/dpkg/t/t-version.c | 3 +-- lib/dpkg/test.h | 35 +++++++++++++++++------------------ 23 files changed, 42 insertions(+), 60 deletions(-) commit 1c40b7de35c97b92876e29a3a8049c03207765c2 Author: Guillem Jover Date: Thu Aug 18 05:41:54 2016 +0200 dpkg-gencontrol: Implement source stanza substvars prefixed with S: These auto-generated variables map each source stanza field into an output substvar prefixed with “S:”. debian/changelog | 3 +++ man/deb-substvars.man | 8 ++++++++ scripts/dpkg-gencontrol.pl | 1 + 3 files changed, 12 insertions(+) commit a8abe4885f8535a783bdb0c7188076a272dd6182 Author: Guillem Jover Date: Thu Aug 18 05:41:54 2016 +0200 Dpkg::Substvars: Add new method set_field_substvars() Refactor the ad-code in Dpkg::Control::HashCore to use this new method. debian/changelog | 1 + scripts/Dpkg/Control/HashCore.pm | 4 +--- scripts/Dpkg/Substvars.pm | 19 +++++++++++++++++++ 3 files changed, 21 insertions(+), 3 deletions(-) commit 020460f5729775fcc5d7ac0a8289f87ce9732be0 Author: Guillem Jover Date: Thu Aug 18 05:20:34 2016 +0200 dpkg: Initialize and reset the filesdb in --command-fd debian/changelog | 2 ++ src/main.c | 4 ++++ 2 files changed, 6 insertions(+) commit fe8668803a7691b49a3b0aa1165c293d62235bb3 Author: Guillem Jover Date: Thu Aug 18 05:19:59 2016 +0200 dpkg: Add new files_db_reset() function src/filesdb.c | 9 +++++++++ src/filesdb.h | 1 + 2 files changed, 10 insertions(+) commit 3b3efd17900415e5ca35ed30caa6d882b36dbc03 Author: Guillem Jover Date: Thu Aug 18 05:18:36 2016 +0200 dpkg: Track newargs in a different variable to avoid modifying it The dpkg_options_parse() call modifies the argv argument which means that if we try to free it later on or realloc it we will crash. src/main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 83fdc82a38f4207ffa92162624c22c413534396d Author: Guillem Jover Date: Thu Aug 18 05:17:44 2016 +0200 dpkg: Shutdown the modstatdb in --get-selections Otherwise we'll crash in commandfd. debian/changelog | 1 + src/select.c | 2 ++ 2 files changed, 3 insertions(+) commit 25da5c597065fcd033b0755327902a421c4124a0 Author: Guillem Jover Date: Thu Aug 18 05:17:10 2016 +0200 libdpkg: Do not crash if we pass a NULL cip argument to setaction() debian/changelog | 1 + lib/dpkg/options.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 3404fd24ef8020b4d6dc17adb82d7e6c035d90dc Author: Guillem Jover Date: Wed Aug 17 02:54:50 2016 +0200 libdpkg: Reset pkg db when shutting down the modstat db debian/changelog | 2 ++ dselect/main.cc | 2 +- lib/dpkg/dbmodify.c | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) commit 4cf0771c7e06bbb0bdfd0ff041672e462a122605 Author: Guillem Jover Date: Wed Aug 17 02:41:59 2016 +0200 dpkg: Switch from non-freeing malloc to m_malloc for invoke hooks These do not need to be part of the non-freeing memory pool, as that should be reserved for packaging metadata. debian/changelog | 1 + src/main.c | 19 +++++++++++++++++-- src/main.h | 2 +- 3 files changed, 19 insertions(+), 3 deletions(-) commit 977b99e516cf667b035d9086d85bf17c9ad0f48d Author: Guillem Jover Date: Wed Dec 3 19:03:18 2014 +0100 dpkg: Switch from non-freeing malloc to m_malloc on statdb slurping The individual strings are now nfstrsave()ed so there is no need to allocate the whole file in the non-freeing memory pool. debian/changelog | 1 + src/statdb.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 29df37ac73cc130e53bfc4278db9ea912d488ca9 Author: Guillem Jover Date: Mon Aug 15 23:12:43 2016 +0200 Dpkg: Document the behavior for consecutive calls to parse() methods Prompted-by: Johannes Schauer debian/changelog | 2 ++ scripts/Dpkg/Changelog/Debian.pm | 6 ++++-- scripts/Dpkg/Conf.pm | 5 ++++- scripts/Dpkg/Control/HashCore.pm | 4 +++- scripts/Dpkg/Control/Info.pm | 4 ++-- scripts/Dpkg/Control/Tests/Entry.pm | 5 ++++- scripts/Dpkg/Index.pm | 6 ++++-- 7 files changed, 23 insertions(+), 9 deletions(-) commit 26e44471eb8d53b7a468d5cf3eeb72a875246d8b Author: Guillem Jover Date: Mon Aug 15 21:07:44 2016 +0200 Dpkg::Substavars: Make the parse method return the number of substvars parsed debian/changelog | 2 ++ scripts/Dpkg/Substvars.pm | 8 ++++++++ 2 files changed, 10 insertions(+) commit 4570cd64ebdaf8d16a85e718cd700f6bfddbf305 Author: Guillem Jover Date: Mon Aug 15 18:03:44 2016 +0200 Dpkg::Checksums: Mention that add_from_file is used to verify digests too Make it explicit in the sub description. Prompted-by: Johannes Schauer debian/changelog | 2 ++ scripts/Dpkg/Checksums.pm | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit df36f0eef973fb87f73eacd89fc6c8d1eb3ab94a Author: Guillem Jover Date: Mon Aug 15 17:49:41 2016 +0200 Dpkg: Add POD markup scripts/Dpkg/Control.pm | 2 +- scripts/Dpkg/Vendor/Default.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit ec9a74a317feef78d5ca6579e21167767fa8fe40 Author: Guillem Jover Date: Wed Aug 10 20:25:45 2016 +0200 Dpkg::Vendor: Rework keyring hooks Add new archive-keyrings and archive-keyrings-historic for archive related keyrings. Rename keyrings to package-keyrings for the source package keyrings. And add a compatibility keyrings hook that aliases to package-keyrings and emits a deprecation warning. Prompted-by: Johannes Schauer debian/changelog | 3 +++ scripts/Dpkg/Source/Package.pm | 2 +- scripts/Dpkg/Vendor/Debian.pm | 9 ++++++++- scripts/Dpkg/Vendor/Default.pm | 25 +++++++++++++++++++++++-- scripts/Dpkg/Vendor/Ubuntu.pm | 15 ++++++++++----- 5 files changed, 45 insertions(+), 9 deletions(-) commit 35f247d5ceda3637a477b92897a1e829dc36d25c Author: Guillem Jover Date: Sun Sep 18 19:13:37 2016 +0200 dpkg-deb: Generate reproducible file modes for the .deb control member Closes: #787980 debian/changelog | 2 ++ dpkg-deb/build.c | 22 ++++++++++++++-------- 2 files changed, 16 insertions(+), 8 deletions(-) commit 6e5862ef6ee8409eb686db526fe93b91aa8dcb1d Author: Guillem Jover Date: Sat Aug 20 20:02:12 2016 +0200 dpkg-split: Make the deb-split(5) generation reproducible Honor SOURCE_DATE_EPOCH, so that we can control the output and generate reproducible split packages. debian/changelog | 2 ++ dpkg-split/split.c | 24 ++++++++++++++++++++++++ man/dpkg-split.man | 6 ++++++ 3 files changed, 32 insertions(+) commit 31d3ed62687e99d2a22a942aa6c83e579863192a Author: Guillem Jover Date: Sat Aug 20 19:43:08 2016 +0200 dpkg-split: Do not emit epochs for unambiguous versions in deb-split header Regression introduced in commit ce4f0311e6e7a7b5125c4e881a0f2d3a8e1eea45. debian/changelog | 2 ++ dpkg-split/split.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 6560c152deda0e0e9f894ab2fd30c50a9b371c81 Author: Guillem Jover Date: Sat Dec 6 09:23:04 2014 +0100 dpkg: Fix md5sum parse error messages to include package name affected debian/changelog | 2 ++ src/filesdb-hash.c | 27 ++++++++++++++------------- 2 files changed, 16 insertions(+), 13 deletions(-) commit 931a690aed6dbc0e08dd085b5748162f6eaa1535 Author: Guillem Jover Date: Tue Aug 9 02:50:14 2016 +0200 dpkg: Remove obsolete --print-installation-architecture option debian/changelog | 1 + doc/README.feature-removal-schedule | 16 ++++++++-------- src/enquiry.c | 8 -------- src/main.c | 1 - src/main.h | 1 - 5 files changed, 9 insertions(+), 18 deletions(-) commit b42e8e0a76e914cd88de8cbd41150064504a597b Author: Guillem Jover Date: Tue Aug 9 02:44:59 2016 +0200 dpkg-deb: Remove obsolete --old and --new options debian/changelog | 1 + doc/README.feature-removal-schedule | 18 +++++++++--------- dpkg-deb/main.c | 22 ---------------------- man/dpkg-deb.man | 6 ------ 4 files changed, 10 insertions(+), 37 deletions(-) commit ef6187ded62bb3973e4e57779edc87c3e2904af5 Author: Guillem Jover Date: Tue Aug 9 02:19:28 2016 +0200 dpkg-deb: Obsolete bzip2 and lzma compression methods debian/changelog | 1 + doc/README.feature-removal-schedule | 42 ++++++++++++++++++------------------- dpkg-deb/main.c | 6 +++--- man/dpkg-deb.man | 9 ++++---- 4 files changed, 29 insertions(+), 29 deletions(-) commit 15062f983997ead5b67c47aafbbb52ec9113f9b1 Author: Guillem Jover Date: Tue Aug 9 01:58:40 2016 +0200 Dpkg::Substvars: Obsolete Source-Version substvar Emit an error when the source package uses this substvar. debian/changelog | 2 ++ doc/README.feature-removal-schedule | 18 ++++++++++-------- man/deb-substvars.man | 5 +++-- scripts/Dpkg/Substvars.pm | 18 +++++++++++------- t/pod-spell.t | 1 + 5 files changed, 27 insertions(+), 17 deletions(-) commit c3eb16614789f56bc68d0c6b58930e6700ecf0ac Author: Javier Serrano Polo Date: Fri Aug 19 02:10:55 2016 +0200 dpkg-scanpackages: Support scanning a single binary file This makes it possible to pass a binary package pathname so that the tree does not need to be traversed. This also makes this command symetric with dpkg-scansources. Closes: #833964 Signed-off-by: Guillem Jover debian/changelog | 2 ++ man/dpkg-scanpackages.man | 4 ++-- scripts/dpkg-scanpackages.pl | 8 ++++---- 3 files changed, 8 insertions(+), 6 deletions(-) commit cb0a2b1ef2781ca3d79a9aeca20c3eb30db08d1c Author: David Kalnischkies Date: Sun Aug 7 18:42:36 2016 +0200 dpkg-maintscript-helper: Make conffile commands more robust Check that conffile pathname arguments are absolute paths. Verify version number to be valid. [guillem@debian.org: - reword error messages. - add a comment explaining the --compare-versions usage. - use 0 instead of 1-1 as dummy version number. ] Signed-off-by: Guillem Jover debian/changelog | 3 +++ scripts/dpkg-maintscript-helper.sh | 12 ++++++++++++ 2 files changed, 15 insertions(+) commit 8765f379613cbaf8bd060719fdab4899a4e91608 Author: Guillem Jover Date: Tue Aug 9 03:03:13 2016 +0200 debian: Stop compressing the dpkg.deb package with gzip There are only 5 remaining packages in the Debian base system that still compress with gzip, the rest are all using xz, so there is no point in making dpkg use gzip any longer. debian/changelog | 1 + debian/rules | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) commit a5e6bbdd8ae883eebe20f184afe0fa3732f2e057 Author: Guillem Jover Date: Mon Aug 15 17:39:15 2016 +0200 debian: Remove ancient upgrade code from maintainer scripts These were upgrade recipes from 1.9.x, 1.10.x and 1.15.x. Makefile.am | 1 - debian/changelog | 1 + debian/dpkg.lintian-overrides | 2 -- debian/dpkg.postinst | 28 ---------------- debian/dpkg.preinst | 76 ------------------------------------------- 5 files changed, 1 insertion(+), 107 deletions(-) commit 797b492eddb13889e1d8a86eabcf272738294a10 Author: Guillem Jover Date: Tue Oct 4 04:21:03 2016 +0200 debian: Remove unused dh_strip from binary_indep debian/changelog | 1 + debian/rules | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) commit 8de212101893d64d519d2b70d7e8c8d867d3df84 Author: Guillem Jover Date: Tue Oct 4 04:19:57 2016 +0200 debian: Use perl:Depends via dh_perl instead of a hardcoded perl debian/changelog | 1 + debian/control | 2 +- debian/rules | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) commit 19b2192db8382d435da6f424a9d9bba524670e5f Author: Guillem Jover Date: Fri Aug 5 23:47:06 2016 +0200 debian: Remove u-a, dpkg-divert and dpkg-statoverride compat symlinks (again) There are very few packages now using the hardcoded paths, with bugs and patches. It's about time to clean this up. Makefile.am | 1 - TODO | 3 --- debian/changelog | 2 ++ debian/control | 14 ++++++++++++++ debian/dpkg.links | 3 --- 5 files changed, 16 insertions(+), 7 deletions(-) commit 3dfce697ebf2d8d7ccd4e0997a158e703e142f84 Author: Guillem Jover Date: Wed Sep 14 04:10:53 2016 +0200 debian: Remove obsolete dependency relationships All these are satisfied in Debian oldstable. debian/changelog | 1 + debian/control | 17 +---------------- 2 files changed, 2 insertions(+), 16 deletions(-) commit 7919a23bc6e04f1e1ea1e8df22bf97b621a02512 Author: Guillem Jover Date: Wed Sep 14 03:29:03 2016 +0200 debian: Wrap and document dependency relationships debian/changelog | 1 + debian/control | 99 ++++++++++++++++++++++++++++++++++++++++++++------------ 2 files changed, 79 insertions(+), 21 deletions(-) commit eaae9ccefbcd678fb03b44146e8f4dfe4c33205f Author: Guillem Jover Date: Wed Sep 14 03:37:28 2016 +0200 debian: Add liblocale-gettext-perl to libdpkg-perl Recommends The Dpkg::Gettext module makes conditional usage of this module, so we should Recommend it to give the user a chance to get it installed. debian/changelog | 2 ++ debian/control | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) commit 4636380f40be4a5041964c693d5813d4de94ba82 Author: Guillem Jover Date: Wed Aug 17 01:58:51 2016 +0200 debian: Fix changelog translation entries debian/changelog | 264 +++++++++++++++++++++++++++---------------------------- 1 file changed, 132 insertions(+), 132 deletions(-) commit 97309bef8b664c2d58cb689a3e82848021ae9bad Author: Guillem Jover Date: Wed Aug 10 23:52:03 2016 +0200 data: Move architecture tables to a new data directory Makefile.am | 10 +++++----- abitable => data/abitable | 0 cputable => data/cputable | 0 ostable => data/ostable | 0 triplettable => data/triplettable | 0 run-script | 2 +- scripts/Makefile.am | 2 +- utils/Makefile.am | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) commit 7fd94771c8340fecef49d90577de4d49adcfe323 Author: Guillem Jover Date: Sun Sep 25 02:34:21 2016 +0200 man/po: Append the German addendum at the end of the translation Do not assume that every page has the SEE ALSO section. debian/changelog | 2 ++ man/po/de.add | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit b1c278d631048724461c87e1e2749f2d1ed8be15 Author: Guillem Jover Date: Sun Oct 16 22:41:54 2016 +0200 man: Disable hyphenation globally Instead of marking specific words as not hyphenable, depending on the width of the output, which should not be considered stable. Or simply the SEE ALSO section. Just disable hyphenation globally for the whole man page. debian/changelog | 2 ++ man/deb-changelog.man | 1 + man/deb-changes.man | 1 + man/deb-conffiles.man | 1 + man/deb-control.man | 7 ++++--- man/deb-extra-override.man | 1 + man/deb-old.man | 1 + man/deb-origin.man | 1 + man/deb-override.man | 2 +- man/deb-postinst.man | 1 + man/deb-postrm.man | 1 + man/deb-preinst.man | 1 + man/deb-prerm.man | 1 + man/deb-shlibs.man | 1 + man/deb-split.man | 1 + man/deb-src-control.man | 3 ++- man/deb-src-files.man | 2 +- man/deb-substvars.man | 2 +- man/deb-symbols.man | 1 + man/deb-triggers.man | 1 + man/deb-version.man | 1 + man/deb.man | 1 + man/deb822.man | 1 + man/dpkg-architecture.man | 13 +++++++------ man/dpkg-buildflags.man | 15 ++++++++------- man/dpkg-buildpackage.man | 6 +++--- man/dpkg-checkbuilddeps.man | 1 + man/dpkg-deb.man | 1 + man/dpkg-distaddfile.man | 2 +- man/dpkg-divert.man | 1 + man/dpkg-genchanges.man | 2 +- man/dpkg-gencontrol.man | 2 +- man/dpkg-gensymbols.man | 1 + man/dpkg-maintscript-helper.man | 2 +- man/dpkg-mergechangelogs.man | 1 + man/dpkg-name.man | 1 + man/dpkg-parsechangelog.man | 1 + man/dpkg-query.man | 1 + man/dpkg-scanpackages.man | 2 +- man/dpkg-scansources.man | 1 + man/dpkg-shlibdeps.man | 1 + man/dpkg-source.man | 2 +- man/dpkg-split.man | 1 + man/dpkg-statoverride.man | 1 + man/dpkg-trigger.man | 1 + man/dpkg-vendor.man | 1 + man/dpkg.cfg.man | 1 + man/dpkg.man | 2 +- man/dsc.man | 1 + man/dselect.cfg.man | 1 + man/dselect.man | 1 + man/start-stop-daemon.man | 1 + man/update-alternatives.man | 1 + 53 files changed, 73 insertions(+), 30 deletions(-) commit 590cc95af461469c8d858d593042aa111291d633 Author: Guillem Jover Date: Mon Oct 17 03:45:37 2016 +0200 man: Switch from groff escape sequences to UTF-8 This will make writting and translating the man pages easier. debian/changelog | 1 + man/deb-changelog.man | 10 ++++---- man/deb-changes.man | 8 +++--- man/deb-control.man | 30 +++++++++++------------ man/deb-old.man | 2 +- man/deb-origin.man | 4 +-- man/deb-split.man | 18 +++++++------- man/deb-src-control.man | 30 +++++++++++------------ man/deb-symbols.man | 6 ++--- man/deb-triggers.man | 14 +++++------ man/deb-version.man | 14 +++++------ man/deb.man | 4 +-- man/deb822.man | 14 +++++------ man/dpkg-buildflags.man | 14 +++++------ man/dpkg-buildpackage.man | 2 +- man/dpkg-deb.man | 8 +++--- man/dpkg-divert.man | 2 +- man/dpkg-gensymbols.man | 28 ++++++++++----------- man/dpkg-maintscript-helper.man | 2 +- man/dpkg-mergechangelogs.man | 4 +-- man/dpkg-name.man | 8 +++--- man/dpkg-parsechangelog.man | 6 ++--- man/dpkg-query.man | 30 +++++++++++------------ man/dpkg-shlibdeps.man | 12 ++++----- man/dpkg-source.man | 54 ++++++++++++++++++++--------------------- man/dpkg-statoverride.man | 6 ++--- man/dpkg.cfg.man | 2 +- man/dpkg.man | 48 ++++++++++++++++++------------------ man/dsc.man | 8 +++--- man/dselect.cfg.man | 2 +- man/dselect.man | 44 ++++++++++++++++----------------- man/po/po4a.cfg | 2 +- man/update-alternatives.man | 4 +-- 33 files changed, 221 insertions(+), 220 deletions(-) commit 75439a326729192b9ceeee0021956bda7e89158d Author: Guillem Jover Date: Wed Oct 5 04:30:17 2016 +0200 man: Generate the man pages at build time This makes it possible to filter them and update several variable strings such as system and package pathnames, the release date and the dpkg suite version. And will make it possible to use UTF-8 in the source and convert to the more conservative groff escape sequences on the output. configure.ac | 1 + debian/changelog | 5 + m4/dpkg-build.m4 | 8 ++ man/.gitignore | 5 + man/Makefile.am | 130 ++++++++++++++++++--- man/{deb-changelog.5 => deb-changelog.man} | 2 +- man/{deb-changes.5 => deb-changes.man} | 2 +- man/{deb-conffiles.5 => deb-conffiles.man} | 10 +- man/{deb-control.5 => deb-control.man} | 2 +- ...deb-extra-override.5 => deb-extra-override.man} | 2 +- man/{deb-old.5 => deb-old.man} | 2 +- man/{deb-origin.5 => deb-origin.man} | 6 +- man/{deb-override.5 => deb-override.man} | 2 +- man/{deb-postinst.5 => deb-postinst.man} | 2 +- man/{deb-postrm.5 => deb-postrm.man} | 2 +- man/{deb-preinst.5 => deb-preinst.man} | 2 +- man/{deb-prerm.5 => deb-prerm.man} | 2 +- man/{deb-shlibs.5 => deb-shlibs.man} | 2 +- man/{deb-split.5 => deb-split.man} | 2 +- man/{deb-src-control.5 => deb-src-control.man} | 2 +- man/{deb-src-files.5 => deb-src-files.man} | 2 +- man/{deb-substvars.5 => deb-substvars.man} | 2 +- man/{deb-symbols.5 => deb-symbols.man} | 2 +- man/{deb-triggers.5 => deb-triggers.man} | 3 +- man/{deb-version.5 => deb-version.man} | 2 +- man/{deb.5 => deb.man} | 2 +- man/{deb822.5 => deb822.man} | 2 +- man/{dpkg-architecture.1 => dpkg-architecture.man} | 14 +-- man/{dpkg-buildflags.1 => dpkg-buildflags.man} | 16 +-- man/{dpkg-buildpackage.1 => dpkg-buildpackage.man} | 6 +- ...kg-checkbuilddeps.1 => dpkg-checkbuilddeps.man} | 4 +- man/{dpkg-deb.1 => dpkg-deb.man} | 2 +- man/{dpkg-distaddfile.1 => dpkg-distaddfile.man} | 2 +- man/{dpkg-divert.1 => dpkg-divert.man} | 6 +- man/{dpkg-genchanges.1 => dpkg-genchanges.man} | 2 +- man/{dpkg-gencontrol.1 => dpkg-gencontrol.man} | 2 +- man/{dpkg-gensymbols.1 => dpkg-gensymbols.man} | 2 +- ...script-helper.1 => dpkg-maintscript-helper.man} | 2 +- ...-mergechangelogs.1 => dpkg-mergechangelogs.man} | 2 +- man/{dpkg-name.1 => dpkg-name.man} | 2 +- ...kg-parsechangelog.1 => dpkg-parsechangelog.man} | 2 +- man/{dpkg-query.1 => dpkg-query.man} | 8 +- man/{dpkg-scanpackages.1 => dpkg-scanpackages.man} | 2 +- man/{dpkg-scansources.1 => dpkg-scansources.man} | 2 +- man/{dpkg-shlibdeps.1 => dpkg-shlibdeps.man} | 22 ++-- man/{dpkg-source.1 => dpkg-source.man} | 2 +- man/{dpkg-split.1 => dpkg-split.man} | 6 +- man/{dpkg-statoverride.1 => dpkg-statoverride.man} | 6 +- man/{dpkg-trigger.1 => dpkg-trigger.man} | 5 +- man/{dpkg-vendor.1 => dpkg-vendor.man} | 8 +- man/{dpkg.cfg.5 => dpkg.cfg.man} | 6 +- man/{dpkg.1 => dpkg.man} | 38 +++--- man/{dsc.5 => dsc.man} | 2 +- man/{dselect.cfg.5 => dselect.cfg.man} | 6 +- man/{dselect.1 => dselect.man} | 8 +- man/po/po4a.cfg | 104 ++++++++--------- man/{start-stop-daemon.8 => start-stop-daemon.man} | 2 +- ...date-alternatives.1 => update-alternatives.man} | 14 +-- man/utf8toman.sed | 88 ++++++++++++++ 59 files changed, 404 insertions(+), 195 deletions(-) commit 6db5b664cd164a553c6c7d2960cc93e83a5ef689 Author: Guillem Jover Date: Mon Oct 3 04:11:47 2016 +0200 man: Improve user-defined field export marker documentation Mention that X can be followed by zero or more (instead of one or more) letters. Turn the items into a proper list. debian/changelog | 3 +++ man/deb-src-control.5 | 32 ++++++++++++++++++++------------ 2 files changed, 23 insertions(+), 12 deletions(-) commit 47da670a4743bc08d704dd6aa92111b582c96582 Author: Guillem Jover Date: Mon Oct 3 04:01:17 2016 +0200 man: Turn the Multi-Arch values into a list This should make it easier to scan. debian/changelog | 1 + man/deb-control.5 | 35 +++++++++++++++++++++++------------ 2 files changed, 24 insertions(+), 12 deletions(-) commit 0dd43d6f6e2f22ff29a9ce6f2e3ace5f448ed8b8 Author: Guillem Jover Date: Mon Sep 26 02:24:14 2016 +0200 man: Move paragraph markup outside of indented level in u-a(1) man/update-alternatives.1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 8a3558d6b2bd62cab93a6596cceb625962d572a8 Author: Guillem Jover Date: Mon Sep 26 02:23:17 2016 +0200 man: Turn the u-a(1) --query example item into a sub-section This makes it more clear that this is not another field, but an entire sub-section of its own. debian/changelog | 1 + man/update-alternatives.1 | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) commit 48cb9c0b34343529b5f7860dba7d834976c83fe6 Author: Guillem Jover Date: Mon Sep 26 02:22:31 2016 +0200 man: Add missing options markup The options should be always in bold. man/update-alternatives.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 49d0db0de56a7305d45e8fd7bac1d7a1f2b6e5e5 Author: Guillem Jover Date: Mon Sep 26 02:21:51 2016 +0200 man: Itemize --log format entries in dpkg(1) This makes it easier to read. debian/changelog | 1 + man/dpkg.1 | 33 ++++++++++++++++++++------------- 2 files changed, 21 insertions(+), 13 deletions(-) commit 4b62c7950ee00e5a0c781a6a9686450a818978ef Author: Guillem Jover Date: Mon Sep 26 02:20:59 2016 +0200 man: Fix bogus markup Remove markups for missing or unbalanced items. man/dpkg.1 | 1 - man/update-alternatives.1 | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) commit f96e9936d79b12b404a8ef8703b85a8ded597bdb Author: Guillem Jover Date: Mon Sep 26 02:20:15 2016 +0200 man: Remove redundant markup in dpkg-gensymbols(1) man/dpkg-gensymbols.1 | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) commit 3a8c4193ddbbf7d7039a02442b7f5094b3b4bf86 Author: Guillem Jover Date: Mon Sep 26 02:15:55 2016 +0200 man: Switch deb-triggers(5) types into a proper list debian/changelog | 1 + man/deb-triggers.5 | 31 ++++++++++++------------------- 2 files changed, 13 insertions(+), 19 deletions(-) commit 6d4e43ed854f51a9eb3c3cd946cb8abfab66858c Author: Guillem Jover Date: Thu Sep 22 20:33:58 2016 +0200 man: Fix typo in dpkg-buildflags(1) man/dpkg-buildflags.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7e910c8d4b93d2b958da51f32aa26bd76575959e Author: Guillem Jover Date: Fri Aug 19 02:29:44 2016 +0200 man: Add version when "new" substvars were introduced in deb-substvars(5) debian/changelog | 1 + man/deb-substvars.5 | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) commit 01f819fb4742d68063f4aee12b63b84b5100b014 Author: Guillem Jover Date: Wed Aug 17 00:53:25 2016 +0200 man: Add man page references to other binary control files in dpkg(1) debian/changelog | 1 + man/dpkg.1 | 2 ++ 2 files changed, 3 insertions(+) commit 10264ea2e5dc7b5df31bffae6fd644638d89ee15 Author: Guillem Jover Date: Wed Aug 17 00:51:29 2016 +0200 man: Add new deb-src-files(5) man page Prompted-by: Johannes Schauer debian/changelog | 2 ++ man/Makefile.am | 1 + man/deb-src-files.5 | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++ man/dpkg-distaddfile.1 | 5 +++++ man/dpkg-genchanges.1 | 1 + man/po/po4a.cfg | 3 +++ 6 files changed, 66 insertions(+) commit 385481dd3e33cbdd550b129db38f228c5c956539 Author: Guillem Jover Date: Wed Aug 17 00:45:16 2016 +0200 man: Add basic maintainer script man pages These document the bare minimum, with a brief description of the maintainer scripts and the ways they can get called. debian/changelog | 2 ++ debian/dpkg-dev.manpages | 4 ++++ debian/dpkg-dev.preinst | 15 +------------ debian/dpkg.postinst | 22 +------------------ debian/dpkg.postrm | 27 +---------------------- debian/dpkg.preinst | 15 +------------ debian/dpkg.prerm | 18 +-------------- debian/dselect.preinst | 15 +------------ man/Makefile.am | 4 ++++ man/deb-postinst.5 | 53 ++++++++++++++++++++++++++++++++++++++++++++ man/deb-postrm.5 | 57 ++++++++++++++++++++++++++++++++++++++++++++++++ man/deb-preinst.5 | 45 ++++++++++++++++++++++++++++++++++++++ man/deb-prerm.5 | 50 ++++++++++++++++++++++++++++++++++++++++++ man/dpkg.1 | 8 +++---- man/po/po4a.cfg | 12 ++++++++++ 15 files changed, 237 insertions(+), 110 deletions(-) commit b7972c6df31f9990efb70ed662ca4ba2f6d365bd Author: Guillem Jover Date: Mon Aug 15 18:16:51 2016 +0200 man: Document the .changes filename that dpkg-buildpackage generates Prompted-by: Johannes Schauer debian/changelog | 2 ++ man/dpkg-buildpackage.1 | 8 ++++++++ 2 files changed, 10 insertions(+) commit 5dd05c068d01d3a74d9786d1719b1258693d78f9 Author: Guillem Jover Date: Mon Aug 15 17:57:17 2016 +0200 man: Improve dpkg-deb --build arguments documentation The Architecture field is now mandatory when building. Clarify that when passing a directory the generated archive is placed therein. Rename the first directory argument to distinguish it from the second. Prompted-by: Johannes Schauer debian/changelog | 2 ++ man/dpkg-deb.1 | 15 +++++---------- 2 files changed, 7 insertions(+), 10 deletions(-) commit 07d119d50a469bcee7c1da77d97415c979cc7d05 Author: Guillem Jover Date: Tue Aug 9 02:34:29 2016 +0200 man: Fix formatting in SOURCE_DATE_EPOCH description debian/changelog | 1 + man/dpkg-deb.1 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 4c0db86906f3c7ee8d486469d2233b6b0d58d812 Author: Guillem Jover Date: Wed Aug 17 01:48:28 2016 +0200 man: Fix typos Warned-by: lintian man/dpkg-source.1 | 2 +- man/dsc.5 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit fa216338f324d5b4041795fd3ef94685a4afb6cd Author: Jakub Wilk Date: Fri Aug 19 02:06:04 2016 +0200 doc, man: Fix typos Closes: #834584 Warned-by: mwic, anorack Signed-off-by: Guillem Jover debian/changelog | 2 ++ doc/README.feature-removal-schedule | 4 ++-- doc/triggers.txt | 2 +- man/deb-changes.5 | 2 +- man/deb-src-control.5 | 2 +- man/deb-version.5 | 2 +- man/dpkg-architecture.1 | 2 +- man/dpkg-buildflags.1 | 2 +- man/dselect.1 | 2 +- 9 files changed, 11 insertions(+), 9 deletions(-) commit 2587fce6d86347d4ec45abeca51f996bffb73a63 Author: Guillem Jover Date: Tue Aug 9 02:46:41 2016 +0200 doc: Update custom changelog parser API support status in README.api debian/changelog | 2 ++ doc/README.api | 14 ++++---------- 2 files changed, 6 insertions(+), 10 deletions(-) commit ca9b5c65112fadd794d953f6daf72f0ff26cd175 Author: Guillem Jover Date: Sun Oct 16 16:03:02 2016 +0200 build: Print an actual newline instead of a literal \n in lcov output debian/changelog | 1 + doc/lcov-inject.pl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 89c630f72bdce926c544b9564f364f55ded60413 Author: Guillem Jover Date: Sun Oct 9 20:34:27 2016 +0200 build: Use cp with -R instead of -r The former is more portable and has not been marked as deprecated by POSIX. debian/changelog | 2 ++ man/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 618fdf4242eae14949d0896e98dce20d3f2a0ceb Author: Guillem Jover Date: Sun Oct 9 17:37:23 2016 +0200 build: Use two space indentation for shell code Makefile.am | 16 +++++++------- dselect/Makefile.am | 8 +++---- dselect/methods/Makefile.am | 4 ++-- man/Makefile.am | 52 +++++++++++++++++++++------------------------ scripts/Makefile.am | 38 ++++++++++++++++----------------- scripts/mk/Makefile.am | 6 +++--- 6 files changed, 59 insertions(+), 65 deletions(-) commit 734dfd60d4cc60b3ed30bb242cf200e493cf7625 Author: Guillem Jover Date: Sun Oct 9 17:21:17 2016 +0200 build: Use builddir instead of CURDIR in man Makefile.am debian/changelog | 1 + man/Makefile.am | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) commit 5a0276aaac40c86a309a8a8e490f2d9a5c1805ca Author: Guillem Jover Date: Wed Sep 14 02:38:19 2016 +0200 build: Check for the required minimal perl version We document the minimal perl version required at build and run-time, but we should instead do an actual check so that this is catched earlier and gives less surprises during the build process. debian/changelog | 1 + m4/dpkg-progs.m4 | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) commit a65b903c5b4303f85573df0f511151afc5c375fa Author: Guillem Jover Date: Tue Sep 13 03:40:51 2016 +0200 build: Fix and update libselinux check Require libselinux 2.0.99, which introduced the selinux_status_* API. Switch to use the pkg-config file unconditionally, introduced in libselinux 2.0.89. Remove the static linking support. Perform refinement checks only if libselinux is available. debian/changelog | 3 +++ m4/dpkg-libs.m4 | 38 ++++++++++++-------------------------- 2 files changed, 15 insertions(+), 26 deletions(-) commit 4ccdc11f30a1a5a87f0172449ffce546275c6dc5 Author: Guillem Jover Date: Mon Sep 12 02:03:35 2016 +0200 build: Specify exec argument for TAP::Harness Older versions of TAP::Harness do not handle non-perl executables. So check if the test has the executable bits, and return an arrayref to use it, otherwise return undef to use the perl interpreter. check.am | 2 ++ debian/changelog | 2 ++ 2 files changed, 4 insertions(+) commit c23a8958fdc84b60be640d6750967b85b75dd168 Author: Guillem Jover Date: Wed Sep 7 20:30:47 2016 +0200 build: Add support for running the test suite in parallel Add a new test variable TEST_PARALLEL, and set it from debian/rules when we've got the parallel=N tag in DEB_BUILD_OPTIONS. check.am | 3 +++ debian/changelog | 1 + debian/rules | 8 +++++++- 3 files changed, 11 insertions(+), 1 deletion(-) commit c33e208e0b36f7931a2367622f7a96a10e23f91f Author: Guillem Jover Date: Mon Sep 5 01:21:57 2016 +0200 build: Bump po4a version We are using --porefs wrap option which was introduced in 0.43. README | 2 +- debian/changelog | 1 + debian/control | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) commit dcaf92e9e92edfebb5764ee88a32ca3bd0aaf994 Author: Guillem Jover Date: Sun Sep 4 23:50:10 2016 +0200 build: Spell out NLS in configure output configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d72b33214a2cd398b34a921500abc0c5e4968be1 Author: Guillem Jover Date: Sun Sep 4 17:17:15 2016 +0200 build: Check the availability of -Wpositive variant instead of -Wno-positive At least gcc and clang do not warn on -Wno-* warning flags, only when something else needs to be reported, which defeats our test. In those cases pass an additional argument that will be what we will actually check, but not use afterwards. debian/changelog | 3 +++ m4/dpkg-compiler.m4 | 12 ++++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) commit 4cef597299b9d9e7a229365f127156c46aacc51d Author: Guillem Jover Date: Thu Aug 25 01:07:07 2016 +0200 build: Disable -Wtautological-constant-out-of-range-compare This emits a false positive for the test suite. Warned-by: clang debian/changelog | 1 + m4/dpkg-compiler.m4 | 1 + 2 files changed, 2 insertions(+) commit c01a5dfae716d896292f4a2e492f5e2f755052fa Author: Guillem Jover Date: Sun Aug 28 02:20:29 2016 +0200 build: Change --with-* option logic to default to check We will use the libraries if available and only error out if the user explicitly selected them via --with- or if the library is a requirement for an enabled program. configure.ac | 10 +++++----- debian/changelog | 1 + m4/dpkg-libs.m4 | 59 ++++++++++++++++++++++++++++++++------------------------ 3 files changed, 40 insertions(+), 30 deletions(-) commit ab756a6fda75316b9498d4275be5f8b8cf801557 Author: Guillem Jover Date: Mon Aug 29 00:33:44 2016 +0200 build: Fix typo in SE Linux library detection code Although this only affected the static mode. Regression introduced in commit 067295e958dcc9af87d2adfd0c697e9f87ef7b73. debian/changelog | 2 ++ m4/dpkg-libs.m4 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 568d1c90483e3b04977107b51afdc088d2b032c2 Author: Guillem Jover Date: Wed Sep 7 04:12:21 2016 +0200 build: Disable C++ exceptions for dselect debian/changelog | 1 + dselect/Makefile.am | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 9aa458e8a34bdef30538a84e6cf74bc4ac5d4d6c Author: Guillem Jover Date: Sun Aug 28 18:59:03 2016 +0200 build: Fix M4sh/Autoconf coding style Indent the code in a way that makes it easier to follow. Use AS_IF instead of shell constructs. Quote all autoconf macro arguments. Add a new section to coding-style.txt describing M4sh/Autoconf. configure.ac | 128 ++++++++++++++++++++++++-------------- debian/changelog | 2 + doc/coding-style.txt | 54 ++++++++++++++++ m4/dpkg-arch.m4 | 78 +++++++++++------------ m4/dpkg-build.m4 | 33 +++++----- m4/dpkg-compiler.m4 | 45 +++++++------- m4/dpkg-coverage.m4 | 79 ++++++++++++------------ m4/dpkg-funcs.m4 | 120 ++++++++++++++++++++---------------- m4/dpkg-libs.m4 | 171 +++++++++++++++++++++++++++------------------------ m4/dpkg-linker.m4 | 39 ++++++------ m4/dpkg-progs.m4 | 53 ++++++++-------- m4/dpkg-types.m4 | 58 +++++++++-------- m4/dpkg-unicode.m4 | 11 ++-- 13 files changed, 492 insertions(+), 379 deletions(-) commit 758ecf7fe1cb15abb87c796fb3a7f15933c56f67 Author: Guillem Jover Date: Sat Aug 27 22:32:55 2016 +0200 build: Fix the __progname check to avoid the optimizer discarding the symbol Because we were assigning to another unused variable, when building the check with optimizations enabled, which is the default when using gcc as the compiler, the variable was being discarded. Instead pass it to printf() so that it cannot do so. debian/changelog | 1 + m4/dpkg-funcs.m4 | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) commit 4f8bca211cb06db748f418723af68d64e42aa54a Author: Guillem Jover Date: Thu Aug 25 00:36:31 2016 +0200 build: Clean up compiler and linker automatic flag usage Detect if the flags work at configure time, instead of enabling them unconditionally. Amend the description so that the above is clear. And rename the options so that downstreams realize about the change. README | 4 ++-- configure.ac | 4 ++-- debian/changelog | 1 + m4/dpkg-compiler.m4 | 27 ++++++++++++++------------- m4/dpkg-linker.m4 | 26 ++++++++++++++++---------- 5 files changed, 35 insertions(+), 27 deletions(-) commit cb0656f31ad55cac9175a2283394ba17316f6a5c Author: Guillem Jover Date: Sun Aug 14 18:57:12 2016 +0200 build: Add support for profiling perl modules This allows to pass things like PERL_PROFILE=-d:NYTProf so that we can generate profiling information. debian/changelog | 4 ++++ run-script | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 39d917eb4778834676ca38bc76829ec258998888 Author: Helge Kreutzmann Date: Sat Oct 29 10:42:07 2016 +0200 Change all quotes in translation to (correct) verbatim quotes Includes a few minor fixes noted during conversion man/po/de.po | 434 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 217 insertions(+), 217 deletions(-) commit 80936431e439769d0779fec83b080edcbd9884b3 Author: Guillem Jover Date: Wed Oct 26 19:53:29 2016 +0200 t-source-minimal: Add a gitignore file t-source-minimal/.gitignore | 2 ++ 1 file changed, 2 insertions(+) commit eba91071f108f44946d4688c89ffeaca4791ec80 Author: Guillem Jover Date: Wed Oct 26 19:51:26 2016 +0200 t-source-minimal: Disable signing dpkg-buildpackage still signs by default, which breaks non-interactive usages. t-source-minimal/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 50d72aeaf749dfac73b00fb6075a7dc6f8e645a0 Author: Guillem Jover Date: Sun Sep 18 17:26:52 2016 +0200 t-source-build: Update checksums after reproducible sort dpkg-source fix t-source-build/ref/pkg-source_1.0_full.changes | 12 ++++++------ t-source-build/ref/pkg-source_1.0_source.changes | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) commit 31f8b6bcc934301bf6328a3a21a0728547891daf Author: Helge Kreutzmann Date: Sun Sep 18 08:39:01 2016 +0200 Fix a string formatting so that it actually gets translated man/deb-changelog.5 | 2 +- man/po/de.po | 6 +++--- man/po/dpkg-man.pot | 2 +- man/po/es.po | 4 ++-- man/po/fr.po | 4 ++-- man/po/hu.po | 4 ++-- man/po/it.po | 4 ++-- man/po/ja.po | 4 ++-- man/po/nl.po | 4 ++-- man/po/pl.po | 4 ++-- man/po/pt_BR.po | 4 ++-- man/po/ru.po | 4 ++-- man/po/sv.po | 4 ++-- man/po/zh_CN.po | 4 ++-- 14 files changed, 27 insertions(+), 27 deletions(-) commit 1195cc7b84d0f3a1d183010f04ffabeedd0fee6e Author: Helge Kreutzmann Date: Mon Aug 1 19:31:25 2016 +0200 Update German translation of manual pages Update to 2666t2f1u. debian/changelog | 3 ++- man/po/de.po | 52 ++++++---------------------------------------------- 2 files changed, 8 insertions(+), 47 deletions(-) commit f2eed6bedb991225e9b0f48f2f33db63d7425e09 Author: Guillem Jover Date: Sun Jul 31 16:33:13 2016 +0200 Bump version to 1.18.11 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit d20d0477d31c7110a452a7515edb751bd09c0f81 Author: Guillem Jover Date: Sun Jul 31 12:57:11 2016 +0200 Release 1.18.10 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit cf9c30a9fec731d3a13e519cef1c6d7b1a6690d5 Author: Guillem Jover Date: Sun Jul 31 15:43:30 2016 +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/de.po | 245 +++++++++++++++++++++++---------------- man/po/dpkg-man.pot | 217 +++++++++++++++++++++++------------ man/po/es.po | 265 +++++++++++++++++++++++++++++-------------- man/po/fr.po | 296 ++++++++++++++++++++++++++++++++---------------- man/po/hu.po | 234 ++++++++++++++++++++++++-------------- man/po/it.po | 255 +++++++++++++++++++++++++++-------------- man/po/ja.po | 264 ++++++++++++++++++++++++++++-------------- man/po/nl.po | 274 ++++++++++++++++++++++++++++++-------------- man/po/pl.po | 286 ++++++++++++++++++++++++++++++---------------- man/po/pt_BR.po | 238 ++++++++++++++++++++++++-------------- man/po/ru.po | 241 +++++++++++++++++++++++++-------------- man/po/sv.po | 295 +++++++++++++++++++++++++++++++---------------- man/po/zh_CN.po | 232 ++++++++++++++++++++++++------------- 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/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 | 24 ++-- scripts/po/dpkg-dev.pot | 4 +- scripts/po/es.po | 2 +- scripts/po/fr.po | 2 +- scripts/po/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 94 files changed, 2313 insertions(+), 1219 deletions(-) commit 1ced81aa6ecb5930ba0dda0c8271c856379d1979 Author: Mert Dirik Date: Thu Jul 28 10:59:55 2016 +0200 po: Update Turkish programs translations Closes: #832070 Signed-off-by: Guillem Jover debian/changelog | 1 + po/tr.po | 139 +++++++++++++++++++++---------------------------------- 2 files changed, 53 insertions(+), 87 deletions(-) commit 4af3d6777f86226d46260910cedccf22815f0991 Author: Guillem Jover Date: Sun Jul 31 16:09:38 2016 +0200 debian: Add deb-conffiles(5) to dpkg-dev package Missed in commit 90e33b3495cb60c2008673aedf467a796ff85a41. debian/dpkg-dev.manpages | 1 + 1 file changed, 1 insertion(+) commit 627c6505f63ce15dfdd4a45837d7380359da5594 Author: Carsten Leonhardt Date: Thu Jul 28 10:51:15 2016 +0200 man: Fix typos in dpkg-shlibdeps(1) Closes: #832434 Signed-off-by: Guillem Jover debian/changelog | 2 ++ man/dpkg-shlibdeps.1 | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit ea8dbc045864c61a99c4b6a6882f46477f688fd2 Author: Guillem Jover Date: Sat Jul 23 13:31:34 2016 +0200 man: Escape dashes debian/changelog | 1 + man/deb-changes.5 | 6 +++--- man/dsc.5 | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) commit d5f3d026b87c345f3158f8033e252df58899b515 Author: Guillem Jover Date: Sat Jul 23 14:18:38 2016 +0200 t: Add POD coverage support for public perl modules Makefile.am | 1 + debian/changelog | 2 ++ t/pod-coverage.t | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+) commit 6e3747138b002e7e0a6478d3662b6160824171c2 Author: Guillem Jover Date: Sat Jul 23 14:17:02 2016 +0200 Test::Dpkg: Refactor perl modules directory list into a new function debian/changelog | 1 + scripts/Test/Dpkg.pm | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) commit 47663b8528e54353718619fe1b43167688955801 Author: Guillem Jover Date: Sat Jul 23 13:31:51 2016 +0200 dpkg-deb: Fix typo in code comment dpkg-deb/build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cd64cd76c924070a2c1f57bac817216e705b6b52 Author: Guillem Jover Date: Fri Jul 29 21:32:34 2016 +0200 Dpkg: Rename various private methods and functions Rename private functions names, so that they have an underscore and more uniform names. This way it is made explicit that those functions are not expected to be used by external modules, and provide no guarantees on their API stability. debian/changelog | 2 ++ scripts/Dpkg/Arch.pm | 38 +++++++++++++++++----------------- scripts/Dpkg/Compression/FileHandle.pm | 16 +++++++------- scripts/Dpkg/Exit.pm | 8 +++---- scripts/Dpkg/Version.pm | 6 +++--- 5 files changed, 36 insertions(+), 34 deletions(-) commit 048f56f78cd7886c1835343ff97b68679a6f7aa6 Author: Guillem Jover Date: Fri Jul 29 21:17:58 2016 +0200 Dpkg::Changelog::Entry::Debian: Document all public methods debian/changelog | 1 + scripts/Dpkg/Changelog/Entry/Debian.pm | 49 ++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) commit 94852b0e8973d2f9878dc93794346d8670c0720e Author: Mattia Rizzolo Date: Thu Jul 28 10:55:31 2016 +0200 Dpkg::Vendor::Debian: Enable fixdebugpath build flag feature by default Closes: #832179 Signed-off-by: Guillem Jover debian/changelog | 2 ++ man/dpkg-buildflags.1 | 2 +- scripts/Dpkg/Vendor/Debian.pm | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) commit d959233560317459336d39197f515c2042472762 Author: Guillem Jover Date: Sun Jul 17 18:54:18 2016 +0200 Dpkg::Source::Archive: Add support for reproducible source packages Clamp the mtime of the source files when building the tarball to the first defined value from the source_date option, SOURCE_DATE_EPOCH environment variable or time(). This makes sure the generated source tarballs always contain the same mtime for files or directories that have been modified during the build. debian/changelog | 3 +++ debian/control | 7 ++++++- scripts/Dpkg/Source/Archive.pm | 5 ++++- 3 files changed, 13 insertions(+), 2 deletions(-) commit 8f673914ef6bb6fb831f242d1ca0f78cfe451634 Author: Guillem Jover Date: Sun Jul 17 12:57:44 2016 +0200 man: Source format 1.0 does not support building with upstream signatures Building format 1.0 source packages with upstream signatures was disabled in commit 92ca32c34f39f011c993e11746170c0258efb541, as a feature that got introduced too suddenly. Update the documentation in dpkg-source(1) to reflect that fact. debian/changelog | 2 ++ man/dpkg-source.1 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 3ae32a1d1a171174a0e6f8d002b4d3efaecd47ba Author: Guillem Jover Date: Sun Jul 17 19:14:14 2016 +0200 man: Fix misspelled -fdebug-prefix-map flag in dpkg-buildflags(1) Reported-by: Mattia Rizzolo debian/changelog | 2 ++ man/dpkg-buildflags.1 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit dba94a622fb8036eda66c40de03badbb6977cb34 Author: Guillem Jover Date: Sun Jul 17 02:23:47 2016 +0200 Fix documentation typos Warned-by: codespell ChangeLog.old | 8 ++++---- scripts/dpkg-maintscript-helper.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) commit 5cc45259decbb303050c8788b177cbd844990431 Author: Guillem Jover Date: Wed Jul 13 17:52:59 2016 +0200 Fix repeated "the" word typos Prompted-by: Valentin Samir in #830989 ChangeLog.old | 4 ++-- debian/changelog | 4 +++- lib/dpkg/ehandle.c | 2 +- man/deb-changelog.5 | 2 +- man/dpkg-shlibdeps.1 | 2 +- man/po/de.po | 10 +++++----- man/po/dpkg-man.pot | 4 ++-- man/po/es.po | 4 ++-- man/po/fr.po | 10 +++++----- man/po/hu.po | 4 ++-- man/po/it.po | 4 ++-- man/po/ja.po | 4 ++-- man/po/nl.po | 4 ++-- man/po/pl.po | 10 +++++----- man/po/pt_BR.po | 4 ++-- man/po/ru.po | 4 ++-- man/po/sv.po | 10 +++++----- man/po/zh_CN.po | 4 ++-- scripts/Dpkg/Changelog.pm | 2 +- 19 files changed, 47 insertions(+), 45 deletions(-) commit 3d48d0724725f11c5cb899b0df884bd464786506 Author: Guillem Jover Date: Sun Jul 17 16:41:29 2016 +0200 t-source-build: Add missing files These got missed in commit 3ff570bbe2bc4004c5cd1a51cd9e965faf24ffd5. t-source-build/.gitignore | 2 ++ t-source-build/ref/pkg-source_1.0_all.changes | 24 +++++++++++++++++ t-source-build/ref/pkg-source_1.0_any.changes | 24 +++++++++++++++++ t-source-build/ref/pkg-source_1.0_binary.changes | 27 +++++++++++++++++++ t-source-build/ref/pkg-source_1.0_full.changes | 33 ++++++++++++++++++++++++ t-source-build/ref/pkg-source_1.0_source.changes | 27 +++++++++++++++++++ 6 files changed, 137 insertions(+) commit acbc75ac1550a71410ea3161cd0dbaf99b97c9c9 Author: Guillem Jover Date: Sun Jul 17 16:34:55 2016 +0200 t-source-minimal: Use a better Uploader phony address t-source-minimal/pkg-minimal_1.0/debian/changelog | 2 +- t-source-minimal/pkg-minimal_1.0/debian/control | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 3ff570bbe2bc4004c5cd1a51cd9e965faf24ffd5 Author: Guillem Jover Date: Sun Jul 17 16:34:10 2016 +0200 t-source-build: Add dpkg-buildpackage test with reproducible sources Feature.mk | 1 + Makefile | 4 +++ Test.mk | 1 + t-source-build/Makefile | 30 ++++++++++++++++++++++ t-source-build/pkg-source-1.0/debian/changelog | 5 ++++ t-source-build/pkg-source-1.0/debian/control | 24 +++++++++++++++++ t-source-build/pkg-source-1.0/debian/copyright | 17 ++++++++++++ t-source-build/pkg-source-1.0/debian/rules | 28 ++++++++++++++++++++ t-source-build/pkg-source-1.0/debian/source/format | 1 + t-source-build/pkg-source-1.0/debian/watch | 0 10 files changed, 111 insertions(+) commit 57388cb1bd1f5fb8f23a54e3d5ccfe796fef0ae4 Author: Helge Kreutzmann Date: Sat Jul 16 15:05:51 2016 +0200 Update German translation of manual pages Update to 2666t2f1u. man/po/de.po | 290 ++++++++++++++++++----------------------------------------- 1 file changed, 86 insertions(+), 204 deletions(-) commit 155eba6a1762e64c1f92119e72d06c08430dffc4 Author: Helge Kreutzmann Date: Fri Jul 15 21:06:15 2016 +0200 Update German translation of manual pages Update to 2630t31f8u. man/po/de.po | 127 ++++++++++++++++------------------------------------------- 1 file changed, 35 insertions(+), 92 deletions(-) commit fcf1982d5625a926f1e18e006d0fd71e2c4222ea Author: Sven Joachim Date: Mon Jul 11 06:23:34 2016 +0200 German dpkg translation update Update to 1092t. debian/changelog | 3 +++ po/de.po | 11 +++++------ 2 files changed, 8 insertions(+), 6 deletions(-) commit f357a0ba3bd748e295c5ae27b07b45a1068f61fc Author: Helge Kreutzmann Date: Sun Jul 10 20:41:58 2016 +0200 Update German translation of manual pages Update to 2610t49f10u. debian/changelog | 3 + man/po/de.po | 387 +++++++++++++++++++++++++++++++------------------------ 2 files changed, 224 insertions(+), 166 deletions(-) commit 1b33c6611fef5a8a370e8dd94b01114d6b33ad33 Author: Guillem Jover Date: Thu Jul 7 22:27:42 2016 +0200 dpkg: Use the conffile name instead of the real pathname it might refer to When activating file triggers on conffile purge, use the conffile name instead of the real pathname it might refer to. This fixes a segfault when using --instdir, or when the conffile has been moved around and replaced with a symlink to the target. Regression introduced in 2f065fc151ac4635ae40bd769d1be810e1222e05. Closes: #830267 Stable-Candidate: 1.17.x debian/changelog | 5 +++++ src/remove.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit a3fe877790c4f8feb6e99bdd49912aeb75c996d1 Author: Guillem Jover Date: Wed Jul 6 22:47:25 2016 +0200 Dpkg::Vendor::Debian: Disable fixdebugpath on unsafe characters in path If the path has any unsafe characters we would need to escape them on output, but the escaping method depends on how the output is going to be used, which complicates things a bit. To make it safe to eventually enable this feature by default, we'll just check for safe characters and silently disable it otherwise. debian/changelog | 2 ++ scripts/Dpkg/Vendor/Debian.pm | 18 ++++++++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) commit 8d6ada9596f0dea58c9392d7327d1ba7aa507760 Author: Guillem Jover Date: Thu Jul 7 19:30:25 2016 +0200 dpkg: Fix a short-lived memory leak in archive argument parsing Warned-by: coverity debian/changelog | 1 + src/archives.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 2e54e4d5e8ee740e84d0f258a16e944441e8207a Author: Guillem Jover Date: Fri Jul 8 00:59:24 2016 +0200 man: Add references to deb-control(5) and deb-triggers(5) in dpkg(1) debian/changelog | 1 + man/dpkg.1 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 90e33b3495cb60c2008673aedf467a796ff85a41 Author: Guillem Jover Date: Thu Jul 7 19:55:10 2016 +0200 man: Add new deb-conffiles(5) man page debian/changelog | 1 + man/Makefile.am | 1 + man/deb-conffiles.5 | 41 +++++++++++++++++++++++++++++++++++++++++ man/dpkg.1 | 2 +- man/po/po4a.cfg | 3 +++ 5 files changed, 47 insertions(+), 1 deletion(-) commit 01de825ccc43e2644603a0f87e41090a38698181 Author: Guillem Jover Date: Thu Jul 7 19:36:28 2016 +0200 man: Use debian/control as the SYNOPSIS in deb-src-control(5) debian/changelog | 1 + man/deb-src-control.5 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 6a8b0ca36b8f38e19214f9f524e531c5f70a6097 Author: Guillem Jover Date: Thu Jul 7 19:33:47 2016 +0200 man: Fix deb-changes(5) description to talk about .changes instead of .dsc Reported-by: HW42 debian/changelog | 2 ++ man/deb-changes.5 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 7f909add54996875123095cc3c5a98dafc66f8eb Author: Guillem Jover Date: Tue Jul 5 00:14:46 2016 +0200 man: Document Testsuite-Triggers in dsc(5) debian/changelog | 4 ++++ man/dsc.5 | 7 +++++++ 2 files changed, 11 insertions(+) commit a99e525246ad2870fc3e87dfccf150e573504913 Author: Helge Kreutzmann Date: Tue Jul 5 18:48:49 2016 +0200 Update German scripts translation Update to 581t. scripts/po/de.po | 225 +++++++++++++++++-------------------------------------- 1 file changed, 68 insertions(+), 157 deletions(-) commit ad721fa0c21b5658496191f36f77fb921ef81742 Author: Helge Kreutzmann Date: Mon Jul 4 22:24:28 2016 +0200 Update German scripts translation Update to 575t6f. debian/changelog | 3 +- scripts/po/de.po | 87 +++++++++++++++++--------------------------------------- 2 files changed, 28 insertions(+), 62 deletions(-) commit bc71664b5cf8690a21ae06a84e382bc253c76a60 Author: Guillem Jover Date: Mon Jul 4 09:58:58 2016 +0200 Bump version to 1.18.10 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit afac2e15719862b5fed1d4c15eb593b225cfd13b Author: Guillem Jover Date: Mon Jul 4 09:23:31 2016 +0200 Release 1.18.9 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 274a6543d4f198d01cd39198a2580b1adb235d5d Author: Guillem Jover Date: Mon Jul 4 09:31:35 2016 +0200 debian: Fix typo in changelog Reported-by: Mattia Rizzolo debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 936b9278ce979a6b55923e9f5b6d4783e4c382d5 Author: Sven Joachim Date: Mon Jul 4 09:16:33 2016 +0200 man: Fix user configuration filename in dpkg-buildpackage(1) Closes: #829546 Signed-off-by: Guillem Jover debian/changelog | 3 +++ man/dpkg-buildpackage.1 | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 383260e568cef224269ab19d4250f2a87177b778 Author: Guillem Jover Date: Mon Jul 4 08:18:12 2016 +0200 scripts: Require Dpkg::Control::Info in dpkg-buildpackage Regression introduced in commit ad94a98cf614e1c4129f8611080232d69d210a0a. Closes: #829542 Reported-by: Helmut Grohne debian/changelog | 4 +++- scripts/dpkg-buildpackage.pl | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) commit 816f7ba39b046fefdd1d0554347363cf9e180a41 Author: Guillem Jover Date: Sun Jul 3 23:18:40 2016 +0200 Bump version to 1.18.9 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit bfb3bb81eeb9dca6635869f376a8e9a0ff4434a8 Author: Guillem Jover Date: Sun Jul 3 19:02:28 2016 +0200 Release 1.18.8 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit aacff8219fa8cf560b0f753dc4dca3011ba19e74 Author: Guillem Jover Date: Sun Jul 3 19:18:01 2016 +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/de.po | 1072 +++++++++++++++++++++++++++++++++++------------ man/po/dpkg-man.pot | 618 ++++++++++++++++++--------- man/po/es.po | 913 ++++++++++++++++++++++++++++------------ man/po/fr.po | 984 +++++++++++++++++++++++++++++++------------ man/po/hu.po | 722 +++++++++++++++++++++---------- man/po/it.po | 975 ++++++++++++++++++++++++++++++------------ man/po/ja.po | 912 ++++++++++++++++++++++++++++------------ man/po/nl.po | 1028 ++++++++++++++++++++++++++++++++++----------- man/po/pl.po | 917 ++++++++++++++++++++++++++++------------ man/po/pt_BR.po | 749 ++++++++++++++++++++++----------- man/po/ru.po | 746 ++++++++++++++++++++++----------- man/po/sv.po | 981 +++++++++++++++++++++++++++++++------------ man/po/zh_CN.po | 682 ++++++++++++++++++++---------- po/ast.po | 77 ++-- po/bs.po | 79 ++-- po/ca.po | 77 ++-- po/cs.po | 77 ++-- po/da.po | 77 ++-- po/de.po | 77 ++-- po/dpkg.pot | 72 ++-- po/dz.po | 77 ++-- po/el.po | 77 ++-- po/eo.po | 77 ++-- po/es.po | 77 ++-- po/et.po | 74 ++-- po/eu.po | 77 ++-- po/fr.po | 77 ++-- po/gl.po | 77 ++-- po/hu.po | 77 ++-- po/id.po | 77 ++-- po/it.po | 77 ++-- po/ja.po | 77 ++-- po/km.po | 77 ++-- po/ko.po | 77 ++-- po/ku.po | 70 ++-- po/lt.po | 77 ++-- po/mr.po | 77 ++-- po/nb.po | 77 ++-- po/ne.po | 77 ++-- po/nl.po | 77 ++-- po/nn.po | 77 ++-- po/pa.po | 70 ++-- po/pl.po | 77 ++-- po/pt.po | 77 ++-- po/pt_BR.po | 77 ++-- po/ro.po | 77 ++-- po/ru.po | 77 ++-- po/sk.po | 77 ++-- po/sv.po | 77 ++-- po/th.po | 77 ++-- po/tl.po | 77 ++-- po/tr.po | 77 ++-- po/vi.po | 77 ++-- po/zh_CN.po | 80 ++-- po/zh_TW.po | 77 ++-- scripts/po/ca.po | 486 ++++++++++++--------- scripts/po/de.po | 516 +++++++++++++++-------- scripts/po/dpkg-dev.pot | 271 ++++++------ scripts/po/es.po | 460 +++++++++++--------- scripts/po/fr.po | 463 ++++++++++++-------- scripts/po/pl.po | 485 ++++++++++++--------- scripts/po/ru.po | 474 ++++++++++++--------- scripts/po/sv.po | 475 ++++++++++++--------- 94 files changed, 11932 insertions(+), 6278 deletions(-) commit 6ab5c0754b2f98430f6761b5dc54f643c3d32838 Author: Helmut Grohne Date: Sun Jul 3 18:23:41 2016 +0200 arch: Add TILE-Gx support to cputable TILE-Gx is little endian 64-bit. Closes: #823167 Signed-off-by: Guillem Jover cputable | 1 + debian/changelog | 3 +++ scripts/t/Dpkg_Arch.t | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) commit e4b63e8e12c855974f9ec5a1d40df4baf3f3bc3c Author: Guillem Jover Date: Sun Jun 26 02:26:21 2016 +0200 build: Remove quotes causing strange spaces in configure --help output m4/dpkg-libs.m4 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 067295e958dcc9af87d2adfd0c697e9f87ef7b73 Author: Guillem Jover Date: Sun Jun 26 02:12:32 2016 +0200 build: Uniformize library build options Make all of them consistently follow the pattern --with-lib. Rename the m4 macros, preprocessor defines, and automake _LIBS flags. README | 6 ++--- configure.ac | 8 +++---- debian/changelog | 2 ++ debian/rules | 6 ++--- dpkg-deb/Makefile.am | 4 ++-- lib/compat/Makefile.am | 4 ++-- lib/dpkg/Makefile.am | 4 ++-- lib/dpkg/compress.c | 10 ++++----- lib/dpkg/libdpkg.pc.in | 2 +- m4/dpkg-libs.m4 | 60 +++++++++++++++++++++++++------------------------- src/script.c | 4 ++-- src/selinux.c | 12 +++++----- 12 files changed, 62 insertions(+), 60 deletions(-) commit 785c8a5f78ef757836884ed1acbf6e9171822a53 Author: Guillem Jover Date: Sun Jun 26 01:53:31 2016 +0200 build: Use libmd auotmatically if available Disable it for Debian packages for now, as this would pull the library into the pseudo-essential set and requires discussion in debian-devel. README | 1 + debian/changelog | 3 +++ debian/rules | 1 + m4/dpkg-libs.m4 | 4 ---- 4 files changed, 5 insertions(+), 4 deletions(-) commit da91f1dc459fefbbb021fd29421e074bce7c56a7 Author: Guillem Jover Date: Sat Jun 25 20:56:33 2016 +0200 build: Stop allowing to set deprecated bzip2 compressor as dpkg-deb default We are trying to get rid of it, so do not make life more difficult by allowing to set it as the default dpkg-deb compressor. debian/changelog | 2 ++ m4/dpkg-build.m4 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 5536b2b785b3caf4ccc3e4a4655764e0442e8a21 Author: Guillem Jover Date: Fri Jun 24 20:14:33 2016 +0200 scripts/mk: Export SOURCE_DATE_EPOCH The minimally guaranteed entry point to build packages is the debian/rules file, dpkg-buildpackage and any environment it sets up cannot be relied upon. Export this variable from pkg-info.mk preset from the debian/changelog Timestamp. Closes: #824572 debian/changelog | 2 ++ scripts/mk/pkg-info.mk | 7 +++++++ 2 files changed, 9 insertions(+) commit 0c945f0c9b385c9a1a3cba6089da24a61f416cc2 Author: Guillem Jover Date: Sun Jul 3 18:52:46 2016 +0200 Dpkg::Source::Package::V2: Preset Last-Update field with current time We know the current date, so let's make it easier on maintainers by presetting the field value when generating the patch header template. Closes: #828146 Based-on-patch-by: Daniel Shahaf debian/changelog | 3 +++ scripts/Dpkg/Source/Package/V2.pm | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) commit 92ca32c34f39f011c993e11746170c0258efb541 Author: Guillem Jover Date: Mon Jun 20 23:32:41 2016 +0200 Dpkg::Source::Package::V1: Disable upstream tar signature when building The current stable dpkg series does not support extracting upstream tar signatures. So let's disable this for now until either those are supported in 1.17.x or 1.18.x, and we'll be able to enable them again in 1.18.x or 1.19.x respectively. debian/changelog | 3 +++ scripts/Dpkg/Source/Package/V1.pm | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) commit 883453e9f5fb746816912adee8a0e32bb370433e Author: Guillem Jover Date: Mon Jun 20 02:24:22 2016 +0200 test: Add unit tests for dependency simplification with build profiles debian/changelog | 1 + scripts/t/Dpkg_Deps.t | 23 ++++++++++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) commit 5d45b9a7607b3f5f7552cb50e73afcd723f94f15 Author: Ben Hutchings Date: Mon Jun 20 23:23:56 2016 +0200 Dpkg::Deps::Simple: Check whether restrictions are implied We need to check whether the restrictions on self imply the restrictions on "o", along with all the other tests. [guillem@debian.org: minor style fixes. ] Closes: #827633 Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/Dpkg/Deps.pm | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) commit 8a74ef70c07aa4d3abadda13f259322145c12e53 Author: Guillem Jover Date: Thu Jun 16 20:22:24 2016 +0200 test: Add new synopsis unit test Make sure all SYNOPSIS sections have compilable code. Makefile.am | 1 + README | 1 + debian/changelog | 1 + t/synopsis.t | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 35 insertions(+) commit 96ffab9abd1eba496dc4fc8a679977f4339c0c9c Author: Guillem Jover Date: Thu Jun 16 20:21:47 2016 +0200 Dpkg::Compression::FileHandle: Fix example code in SYNOPSIS Make it compile. debian/changelog | 1 + scripts/Dpkg/Compression/FileHandle.pm | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) commit fdb17ae55adb26240a5a192a1afae174eeffb7b3 Author: Guillem Jover Date: Thu Jun 16 20:19:59 2016 +0200 test: Add new minimum perl version unit test Verify that the perl version we want to restrict ourselves in the coding style is enforced through the test suite. Makefile.am | 1 + README | 1 + debian/changelog | 1 + t/minimum-version.t | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 35 insertions(+) commit 2b1b5e2ec413c077068ec838ea7b82cc6fb7ba37 Author: Guillem Jover Date: Thu Jun 16 19:56:24 2016 +0200 test: Accept perl's Lancaster Consensus AUTHOR_TESTING variable This is the variable perl developers expect when running author or developer tests, honour it to make people's life easier. README | 6 +++--- debian/changelog | 1 + scripts/Test/Dpkg.pm | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) commit 6278c8e98fee08f8ce0c2dc17a07a28d31eb3584 Author: Guillem Jover Date: Thu Jun 16 19:56:24 2016 +0200 test: Refactor common unit test checks for needed things debian/changelog | 1 + scripts/Test/Dpkg.pm | 57 +++++++++++++++++++++++++++++++++++++++++ scripts/t/Dpkg_Shlibs_Cppfilt.t | 9 +++---- t/critic.t | 16 +++--------- t/pod-spell.t | 21 +++++---------- t/pod.t | 9 +++---- t/strict.t | 13 +++------- t/syntax.t | 6 ++--- 8 files changed, 80 insertions(+), 52 deletions(-) commit ecc297ebf559226122516dc129718d8814cffb4e Author: Guillem Jover Date: Sun Jun 26 02:20:28 2016 +0200 doc: Mark perlcritic as an optional author test dependency README | 2 +- debian/changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit 5104e0e0c00f90f46fcd7307234c7f76a397dfc0 Author: Guillem Jover Date: Wed Jun 15 02:05:42 2016 +0200 test: Add new pod-spell unit test Makefile.am | 1 + README | 3 ++ debian/changelog | 1 + t/pod-spell.t | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 101 insertions(+) commit 50a0d0c436279ae7c8024fd0d3eb07f5f9ac0051 Author: Guillem Jover Date: Wed Jun 15 01:50:35 2016 +0200 man, perl: Remove most AUTHOR sections These are strongly discouraged by the man-pages project, because they are redundant with the copyright notices, and tend to get out-of-sync. In addition their format is inconsitent. Just remove them in the same way we did for man pages in the past. debian/changelog | 4 ++++ man/dpkg.cfg.5 | 4 ---- man/dselect.cfg.5 | 4 ---- scripts/Dpkg/BuildFlags.pm | 4 ---- scripts/Dpkg/BuildOptions.pm | 4 ---- scripts/Dpkg/Changelog.pm | 5 ----- scripts/Dpkg/Changelog/Debian.pm | 5 ----- scripts/Dpkg/Changelog/Entry.pm | 4 ---- scripts/Dpkg/Changelog/Entry/Debian.pm | 4 ---- scripts/Dpkg/Checksums.pm | 4 ---- scripts/Dpkg/Compression.pm | 4 ---- scripts/Dpkg/Compression/FileHandle.pm | 4 ---- scripts/Dpkg/Compression/Process.pm | 4 ---- scripts/Dpkg/Conf.pm | 4 ---- scripts/Dpkg/Control.pm | 4 ---- scripts/Dpkg/Control/Changelog.pm | 4 ---- scripts/Dpkg/Control/Fields.pm | 4 ---- scripts/Dpkg/Control/FieldsCore.pm | 4 ---- scripts/Dpkg/Control/Hash.pm | 4 ---- scripts/Dpkg/Control/HashCore.pm | 4 ---- scripts/Dpkg/Control/Info.pm | 4 ---- scripts/Dpkg/Control/Types.pm | 4 ---- scripts/Dpkg/IPC.pm | 5 ----- scripts/Dpkg/Index.pm | 4 ---- scripts/Dpkg/Interface/Storable.pm | 4 ---- scripts/Dpkg/Path.pm | 4 ---- scripts/Dpkg/Source/Package.pm | 4 ---- scripts/Dpkg/Substvars.pm | 4 ---- scripts/Dpkg/Version.pm | 6 ------ 29 files changed, 4 insertions(+), 117 deletions(-) commit 4cc48876cca560e72b3b83eece8b4252f812f991 Author: Guillem Jover Date: Tue Jun 14 00:28:00 2016 +0200 man: Clarify shared library search order in dpkg-shlibdeps(1) debian/changelog | 1 + man/dpkg-shlibdeps.1 | 13 +++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) commit 44979459146761e10e7202f95c6d96d333bfe068 Author: Guillem Jover Date: Tue Jun 14 00:02:07 2016 +0200 Dpkg::Shlibs: Preserve order when prepending library paths When using add_library_dir, the paths were prepended to the library paths and ended up being reversed from their insertion order. This causes weird behavior when using dpkg-shlibdeps -l option. Closes: #823805 debian/changelog | 3 +++ scripts/Dpkg/Shlibs.pm | 36 ++++++++++++++++++++++-------------- scripts/t/Dpkg_Shlibs.t | 21 +++++++++++++-------- 3 files changed, 38 insertions(+), 22 deletions(-) commit 5d2873e1f64ef7f6ed0e0783946a2156fd2d322f Author: Guillem Jover Date: Mon Jun 13 20:32:43 2016 +0200 Dpkg::Vendor::Debian: Support getting the build path from the environment Having dpkg-buildflags change its output depending on its current working directory is not very friendly. We add a new environment variable to be able to specify it so that we can control the output. And use it from the test suite so make sure we always use the same path regardless of where we execute the makefile snippets from. debian/changelog | 2 ++ man/dpkg-buildflags.1 | 5 +++++ scripts/Dpkg/Vendor/Debian.pm | 3 ++- scripts/t/mk.t | 2 ++ 4 files changed, 11 insertions(+), 1 deletion(-) commit f91301f2b4b2961c9698eb4f19d9b775640afa49 Author: Guillem Jover Date: Sun Jun 19 17:30:15 2016 +0200 Dpkg::Deps: Arch qualifiers only imply one another if they are the same Because we are handling dependencies in isolation, and the full context of the implications are only known when doing dependency resolution at run-time, we can only assert that they are implied if they are equal. Closes: #745366, #827628 debian/changelog | 2 ++ scripts/Dpkg/Deps.pm | 33 ++++++++++++++------------------- scripts/t/Dpkg_Deps.t | 21 ++++++++++++++------- 3 files changed, 30 insertions(+), 26 deletions(-) commit 3426cb9ba2e8d156d3c4a9d014aac87c91d7aa2f Author: Guillem Jover Date: Tue Jun 7 09:08:48 2016 +0200 dpkg-genchanges: Skip automatic debugging symbol packages This is quite ugly as we are hardcoding a package name pattern here, which as of now is distribution-specific. For the current automatic debug package implementation, these contain an Auto-Built-Package field, only present in the generated DEBIAN/control file, because they do not exist in the debian/control file. We should eventually detect that field and store it in the debian/files list file, and then ignore the warning from dpkg-genchanges, but for now we'll just quiesce the warning as it avoids unnecessarily confusing people reading the output. debian/changelog | 2 ++ scripts/dpkg-genchanges.pl | 4 ++++ 2 files changed, 6 insertions(+) commit e635ed265aaa58c4ebc24cc6e661349aa05ad865 Author: Guillem Jover Date: Mon Jun 6 02:56:06 2016 +0200 dpkg-buildpackage: Use arch:all in .changes filename when not building arch:any Closes: #826161 debian/changelog | 3 +++ scripts/dpkg-buildpackage.pl | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) commit ad94a98cf614e1c4129f8611080232d69d210a0a Author: Guillem Jover Date: Tue May 31 00:01:53 2016 +0200 dpkg-buipdpackage: Do not use build target fallback on arch:any + arch:all As part of the transition to make build-indep and build-arch mandatory and to be able to remove the fallback code without needing a flag day, we split the transition in chunks. This is the first one which is made mandatory. More will come. debian/changelog | 2 ++ man/dpkg-buildpackage.1 | 7 ++++--- scripts/dpkg-buildpackage.pl | 15 +++++++++++++++ 3 files changed, 21 insertions(+), 3 deletions(-) commit 5b3952a330c177b0f99c20c36b4ff2a0fb699be5 Author: Guillem Jover Date: Mon May 30 23:54:43 2016 +0200 dpkg-buildpackage: Refactor build target fallback code Move this aside to not clutter the main code flow, to make it easier to add additional heuristics and to make clear what needs to be removed once the time comes. scripts/dpkg-buildpackage.pl | 41 ++++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 17 deletions(-) commit 5dc74874e6cf26e01105d8b1798e39b8b8d9e126 Author: Guillem Jover Date: Fri May 13 02:40:09 2016 +0200 dpkg-buildpackage: Preset build timestamp to latest changelog entry Set the SOURCE_DATE_EPOCH environment variable to Unix timestamp since the epoch of the latest entry in debian/changelog. This enables build to be easily reproduced as the dates captured in the «.deb» archives will be deterministic. SOURCE_DATE_EPOCH can also be externaly set before running dpkg-buildpackage to reproduce the build with an arbitrary date. Closes: #759999 Ref: https://reproducible-builds.org/specs/source-date-epoch/ Base-on-patch-by: Jérémy Bobbio debian/changelog | 3 +++ man/dpkg-buildpackage.1 | 5 +++++ scripts/dpkg-buildpackage.pl | 2 ++ 3 files changed, 10 insertions(+) commit f6f2371a5dfb7c4d5b2b096a063e2a54db455edb Author: Guillem Jover Date: Mon Jul 13 04:09:09 2015 +0200 dpkg-deb: Set ar timestamp and tar mtime clamping to SOURCE_DATE_EPOCH The ar and tar file entries contain a timestamp which is usually filled with the current build time and the file mtime respectively. This causes the generated deb(5) packages to not be reproducible for the same source package and same build environment. We now check if the environment variable SOURCE_DATE_EPOCH is defined, parse that and use it as the timestamp for ar and to clamp the mtime in the tar file entries. This variable is specified to contain the timestamp of the source release date in seconds since the epoch. Closes: #759999 Base-on-patch-by: Jérémy Bobbio debian/changelog | 3 +++ dpkg-deb/build.c | 21 ++++++++++++++++++++- man/dpkg-deb.1 | 5 +++++ 3 files changed, 28 insertions(+), 1 deletion(-) commit 7feab6458058794a3ad330b8677d5a25b555631d Author: Guillem Jover Date: Mon Jul 13 04:09:09 2015 +0200 dpkg-deb: Use same timestamp for the ar container as for tar mtime clamping We use the same timestamp for all ar members, and the tarball mtime clamping for each tar file entry. debian/changelog | 2 ++ dpkg-deb/build.c | 2 ++ 2 files changed, 4 insertions(+) commit 62a638211c0c03ab2eefb59b5c613115007da1b3 Author: Guillem Jover Date: Wed May 18 01:54:35 2016 +0200 dpkg-deb: Use new GNU tar --clamp-mtime option This will guarantee that no file in binary packages has an mtime later than the specified time. Which will be required to make binary packages reproducible. The option was officially added in GNU tar 1.29, but in Debian it was introduced as a vendor patch in 1.28, so on Debian we depend on the latter instead of the former version. Closes: #759886 debian/changelog | 2 ++ debian/control | 2 +- dpkg-deb/build.c | 18 +++++++++++++++--- 3 files changed, 18 insertions(+), 4 deletions(-) commit 4ae57cb6d964e4c98ea1330ac192b2948b2b1724 Author: Sven Joachim Date: Mon Jun 20 23:28:03 2016 +0200 dpkg-query: Fix strtol() errno check when parsing the COLUMNS envvar Regression introduced in commit 3d258742dfe5cd18e4e06a5fbd855b99bb95046e. Closes: #827265 Signed-off-by: Guillem Jover debian/changelog | 2 ++ src/querycmd.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 2f065fc151ac4635ae40bd769d1be810e1222e05 Author: Guillem Jover Date: Sun May 22 02:42:00 2016 +0200 dpkg: Activate file triggers for conffiles on purge The code has never activated triggers for conffiles on purge, the code before commit 65ade6390b47fe3ec6a0e2ba341f3d553bf4 was activating them on removal, which was obviously wrong. Stable-Candidate: 1.17.x Reported-by: Helmut Grohne debian/changelog | 3 +++ src/remove.c | 7 +++++++ 2 files changed, 10 insertions(+) commit 77fcf29f146645f7729b8ffd920cc99442f91eda Author: Guillem Jover Date: Sat May 21 14:27:26 2016 +0200 dpkg: Set primary group to 0 when running as root If the user was running with a primary group that is not root, actions performed by maintainer scripts might inherit and use the wrong primary group when creating files, or doing group based checks. Reported-by: Stuart Prescott debian/changelog | 2 ++ src/main.c | 6 ++++++ 2 files changed, 8 insertions(+) commit 87ee98484404dfca3e3b59622def0b953e9bdd7f Author: Guillem Jover Date: Sat May 14 19:40:37 2016 +0200 dpkg: Cleanup instdir handling in maintscript_pre_exec() Rename instdirl to instdirlen. Use that instead of checking if the first character of instdir is non-NUL. Move the changedir assignment to a proper if/else conditional. src/script.c | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) commit b28741590210bf6eca9c10309433a54f332e661c Author: Niall Walsh Date: Sat May 14 18:22:35 2016 +0200 dpkg: On --force-chrootless only set changedir to instdir if defined This breaks --force-chrootless (or --force-all, which is a terrible idea in general) without having set --instdir. Closes: #824542 Signed-off-by: Guillem Jover debian/changelog | 2 ++ src/script.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit a15e095201abd2cb3490337b620ede8338bc3de1 Author: Guillem Jover Date: Thu Feb 2 04:38:39 2012 +0100 libdpkg: Add new struct dpkg_ar and basic operations Switch current code to use dpkg_ar instead of taking a filename and a file descriptor arguments. debian/changelog | 1 + dpkg-deb/build.c | 31 +++++++------ dpkg-deb/extract.c | 48 +++++++++----------- dpkg-split/dpkg-split.h | 5 ++- dpkg-split/info.c | 117 +++++++++++++++++++++++++++--------------------- dpkg-split/main.c | 10 +++-- dpkg-split/queue.c | 8 ++-- dpkg-split/split.c | 14 +++--- lib/dpkg/ar.c | 114 +++++++++++++++++++++++++++++++++++----------- lib/dpkg/ar.h | 28 +++++++++--- lib/dpkg/libdpkg.map | 5 +++ 11 files changed, 237 insertions(+), 144 deletions(-) commit 038a6e0832a5f8a89b8a1cf251e6517600912efd Author: Guillem Jover Date: Mon May 30 20:40:14 2016 +0200 s-s-d: Simplify action dispatching in main() Avoid useless intermediate variables, and use if else to select the actions. utils/start-stop-daemon.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) commit 58811966a6b2e6879d29bc438497743668a4442d Author: Guillem Jover Date: Mon May 30 20:02:38 2016 +0200 s-s-d: Switch do_start() to return a value instead of exit()ing directly utils/start-stop-daemon.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 3bda1e34afefcd5ebd20bde16bdfb9239c433090 Author: Guillem Jover Date: Fri May 20 02:10:31 2016 +0200 s-s-d: Set return buffer length for sysctl(2) calls on */kFreeBSD debian/changelog | 2 ++ utils/start-stop-daemon.c | 9 ++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) commit b1e7927080f0a010d7d1ce77106779af72536176 Author: Guillem Jover Date: Thu May 19 02:07:14 2016 +0200 s-s-d: Fix number of entries computation returned by sysctl() on */kFreeBSD debian/changelog | 2 ++ utils/start-stop-daemon.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit ea7b5273024507d831578c7dd911a7293178b10c Author: Guillem Jover Date: Mon Jun 6 03:18:47 2016 +0200 dpkg-source: Add new --no-overwrite-dir extraction option Closes: #826334 debian/changelog | 1 + man/dpkg-source.1 | 4 ++++ scripts/Dpkg/Source/Package.pm | 3 ++- scripts/Dpkg/Source/Package/V1.pm | 6 +++++- scripts/Dpkg/Source/Package/V2.pm | 6 +++++- scripts/Dpkg/Source/Package/V3/Bzr.pm | 6 +++++- scripts/Dpkg/Source/Package/V3/Git.pm | 6 +++++- scripts/Dpkg/Source/Package/V3/Native.pm | 7 ++++++- scripts/dpkg-source.pl | 4 ++++ 9 files changed, 37 insertions(+), 6 deletions(-) commit 90324cfa942ba23d5d44b28b1087fbd510340502 Author: Guillem Jover Date: Fri May 13 17:26:01 2016 +0200 dpkg-source: Generate Testsuite-Triggers field from test dependencies Sometimes autopkgtests regress due to change in a package which is only a test dependency (Depends: in debian/tests/control), not a build or binary one. It is useful to trigger a test if such a test dependency changes. Record the union of all test dependency packages in a new Testsuite-Triggers field in the .dsc, so that they will be recorded in the Sources package index. Ignore versions and flatten OR dependencies as they are not interesting for determining reverse test dependencies and should not be (ab)used for replacing debian/tests/control parsing. Closes: #779559 LP: #1491145 Based-on-patch-by: Martin Pitt Signed-off-by: Guillem Jover debian/changelog | 3 +++ scripts/Dpkg/Control/FieldsCore.pm | 8 ++++++-- scripts/dpkg-source.pl | 31 +++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 2 deletions(-) commit 8ed23e4495ad5e87d08e3e784a23c517efa2b15c Author: Guillem Jover Date: Sun Jul 3 19:59:19 2016 +0200 t-breaks, t-breaks-multiarch: New test cases The first passes, the second fails and needs to be fixed in the code. Prompted-by: David Kalnischkies Makefile | 2 ++ t-breaks-multiarch/Makefile | 22 ++++++++++++++++++++++ t-breaks-multiarch/lib-a-0-amd64/DEBIAN/control | 8 ++++++++ t-breaks-multiarch/lib-a-0-i386/DEBIAN/control | 8 ++++++++ t-breaks-multiarch/lib-a-1-amd64/DEBIAN/control | 8 ++++++++ t-breaks-multiarch/lib-a-1-i386/DEBIAN/control | 8 ++++++++ t-breaks-multiarch/lib-b-0-amd64/DEBIAN/control | 8 ++++++++ t-breaks-multiarch/lib-b-0-i386/DEBIAN/control | 8 ++++++++ t-breaks-multiarch/lib-b-1-amd64/DEBIAN/control | 8 ++++++++ t-breaks-multiarch/lib-b-1-i386/DEBIAN/control | 8 ++++++++ t-breaks-multiarch/pkg-c/DEBIAN/control | 8 ++++++++ t-breaks/Makefile | 12 ++++++++++++ t-breaks/lib-a-0/DEBIAN/control | 7 +++++++ t-breaks/lib-a-1/DEBIAN/control | 7 +++++++ t-breaks/lib-b-0/DEBIAN/control | 7 +++++++ t-breaks/lib-b-1/DEBIAN/control | 7 +++++++ t-breaks/pkg-c/DEBIAN/control | 8 ++++++++ 17 files changed, 144 insertions(+) commit 8f5bda5f58d36c4197384dab3a218196e662b3b9 Author: Guillem Jover Date: Sat Jul 2 18:33:12 2016 +0200 t-source-minimal: New minimal source package unit test Prompted-by: Johannes Schauer Makefile | 1 + t-source-minimal/Makefile | 11 +++++++++++ t-source-minimal/pkg-minimal_1.0/debian/changelog | 5 +++++ t-source-minimal/pkg-minimal_1.0/debian/control | 13 +++++++++++++ t-source-minimal/pkg-minimal_1.0/debian/copyright | 17 +++++++++++++++++ t-source-minimal/pkg-minimal_1.0/debian/rules | 20 ++++++++++++++++++++ .../pkg-minimal_1.0/debian/source/format | 1 + t-source-minimal/pkg-minimal_1.0/debian/watch | 0 8 files changed, 68 insertions(+) commit ff8c1d6aad5a8976c1f60dff6c2a7fc75f3cfe33 Author: Guillem Jover Date: Tue Jun 21 22:40:16 2016 +0200 dpkg-source: Check that debian/tests/control is a regular file We are parsing the file now, so make sure it's something we can actually work with. debian/changelog | 1 + scripts/dpkg-source.pl | 2 ++ 2 files changed, 3 insertions(+) commit 0d159ba9b5da8bd5dfcb9e9110ba3e4c2867b0fe Author: Guillem Jover Date: Fri May 13 17:10:33 2016 +0200 Dpkg::Control: Add new autopkgtest control files support Add new CTRL_TESTS control types, new Dpkg::Control::Tests and Dpkg::Control::Tests::Entry modules, add support for the fields that can appear on these control files, and update Dpkg::Index to handle them as well. [niels@thykier.net: Fix logic inversion. ] debian/changelog | 4 + scripts/Dpkg/Control.pm | 13 +++- scripts/Dpkg/Control/FieldsCore.pm | 24 +++++- scripts/Dpkg/Control/Tests.pm | 83 +++++++++++++++++++++ scripts/Dpkg/Control/Tests/Entry.pm | 91 +++++++++++++++++++++++ scripts/Dpkg/Control/Types.pm | 3 + scripts/Dpkg/Index.pm | 7 +- scripts/Makefile.am | 6 ++ scripts/t/Dpkg_Control_Tests.t | 71 ++++++++++++++++++ scripts/t/Dpkg_Control_Tests/tests-missing-fields | 7 ++ scripts/t/Dpkg_Control_Tests/tests-plain-text | 6 ++ scripts/t/Dpkg_Control_Tests/tests-valid | 18 +++++ 12 files changed, 330 insertions(+), 3 deletions(-) commit fc55edbf31dc9d8649229fdca441cb63844424d9 Author: Guillem Jover Date: Mon Nov 3 19:38:00 2014 +0100 dpkg-buildpackage: Add config file support The new configuration file is buildpackage.conf under either the dpkg system or user configuration directories. Closes: #539692, #765494 debian/changelog | 3 +++ man/dpkg-buildpackage.1 | 16 ++++++++++++++++ scripts/dpkg-buildpackage.pl | 8 ++++++++ 3 files changed, 27 insertions(+) commit 293bd243a19149165fc4fd8830b16a51d471a5e9 Author: Guillem Jover Date: Mon Nov 3 19:37:44 2014 +0100 dpkg-buildpackage: Add long options Add new long options for any short option that is a useful configurable candidate. debian/changelog | 2 + man/dpkg-buildpackage.1 | 127 ++++++++++++++++++++------------ scripts/dpkg-buildpackage.pl | 170 +++++++++++++++++++++++-------------------- 3 files changed, 171 insertions(+), 128 deletions(-) commit 73c307b0d003149258efb620195ec03d08544378 Author: Guillem Jover Date: Mon Nov 3 19:36:46 2014 +0100 Dpkg::Conf: Add support for system and user config loading debian/changelog | 1 + scripts/Dpkg/Conf.pm | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) commit 24a4f968635d60dde8bd2077d652096119e8d4f9 Author: Guillem Jover Date: Sun May 22 17:10:59 2016 +0200 Revert "Dpkg::Conf: Switch implementation to be hash based" This reverts commit 94e241761c06ab112ec3e899dd9449784928c6c5. This change broke backwards compatibility in multiple ways. The format_argv option was set by default, the order was not preserved, which was important for dpkg.cfg files, and duplicate option names stopped being supported. Add regression tests to avoid similar changes in the future. Closes: #824938 debian/changelog | 6 ++++ scripts/Dpkg/Conf.pm | 78 +++++++++++++--------------------------- scripts/t/Dpkg_Conf.t | 64 ++++++++++++++++----------------- scripts/t/Dpkg_Conf/config-mixed | 5 ++- 4 files changed, 66 insertions(+), 87 deletions(-) commit 8b3cd883be8d5236f2c78b245bc7e0bd8f712888 Author: Guillem Jover Date: Mon Jun 6 23:31:38 2016 +0200 Dpkg::Substvars: Validate source version in set_version_substvars() debian/changelog | 2 ++ scripts/Dpkg/Substvars.pm | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit ea22158eb8b0dcaf42b0cdacd5b4560764f353c8 Author: Guillem Jover Date: Sat Apr 2 03:19:17 2016 +0200 Dpkg::Changelog: Add new Timestamp field to output This field contains the date of the entry in seconds since the epoch. To make it easier to retrieve the date in a format that is easier to handle. debian/changelog | 2 ++ man/dpkg-parsechangelog.1 | 11 +++++++++++ scripts/Dpkg/Changelog.pm | 8 ++++++++ scripts/Dpkg/Control/FieldsCore.pm | 5 ++++- scripts/t/Dpkg_Changelog.t | 4 ++++ 5 files changed, 29 insertions(+), 1 deletion(-) commit 4e8550c8e2a4f5aab5b803df0ea77c50e089d2dd Author: Guillem Jover Date: Sat Apr 2 03:19:17 2016 +0200 Dpkg::Changelog: Add a getter for the Time::Piece object Make it possible to retrieve the already parsed Time::Piece object, instead of having to reparse it. debian/changelog | 1 + scripts/Dpkg/Changelog/Entry.pm | 16 +++++++++++++++- scripts/Dpkg/Changelog/Entry/Debian.pm | 15 +++++++++++++-- 3 files changed, 29 insertions(+), 3 deletions(-) commit d1629d0ec1b2619a1f2bd6839f975335e9cb6484 Author: Guillem Jover Date: Wed May 18 00:26:42 2016 +0200 scripts: Replace changelog program parsers with perl modules Using programs to implement the custom changelog parsers was very inefficient as it required to parse the custom changelog, output deb822 formatted entries to then parse that and output again with the desired format. These were implemented as programs because at the time the perl code in dpkg was not using perl modules, so it was not easy to extend. Using perl modules now is cleaner and allows for a faster implementation. In addition there's no known users in Debian, so it was deemed safe to remove the support without a transition. debian/changelog | 1 + debian/libdpkg-perl.install | 1 - doc/README.feature-removal-schedule | 25 ++++ man/dpkg-parsechangelog.1 | 34 ++--- scripts/Dpkg/Changelog/Parse.pm | 251 ++++++++++++++---------------------- scripts/Makefile.am | 7 +- scripts/changelog/.gitignore | 1 - scripts/changelog/debian.pl | 138 -------------------- scripts/dpkg-parsechangelog.pl | 5 +- scripts/po/POTFILES.in | 1 - 10 files changed, 135 insertions(+), 329 deletions(-) commit 852242677f4bc308f17564660927dbd8569c3d2e Author: Guillem Jover Date: Sun May 15 16:18:39 2016 +0200 Dpkg::Changelog: Add new format_range() method Deprecate dpkg() and rfc822() methods by this new method, which has a more clear name and generic interface. debian/changelog | 2 + scripts/Dpkg/Changelog.pm | 192 +++++++++++++++++++++++++++------------- scripts/Dpkg/Changelog/Parse.pm | 4 +- scripts/changelog/debian.pl | 9 +- scripts/t/Dpkg_Changelog.t | 16 ++-- 5 files changed, 145 insertions(+), 78 deletions(-) commit c7fc55a0b1d82dd2056d8f0a35d016f976ba6fab Author: Steven Chamberlain Date: Tue May 10 03:17:29 2016 +0200 Dpkg::Vendor::Debian: Do not disable PIE buildflags on */kFreeBSD anymore The flag should work on all current */kFreeBSD systems now. Closes: #823877 Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/Dpkg/Vendor/Debian.pm | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit ae799cf4b90d97fa29803bbb84f711e106f4466a Author: Guillem Jover Date: Fri May 13 20:49:36 2016 +0200 dpkg-source: Move -q option to the General options section in --help output debian/changelog | 2 ++ scripts/dpkg-source.pl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 0082e22eb7a49ccdeab35bd8899526c48f9a1428 Author: Guillem Jover Date: Fri May 13 20:46:03 2016 +0200 dpkg-source: Document various long options in --help output debian/changelog | 1 + scripts/dpkg-source.pl | 12 ++++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) commit 707dcbf39165396bf852790e7d309d4cf78123cc Author: Guillem Jover Date: Fri May 13 17:09:52 2016 +0200 test: Bump ValuesAndExpressions::RequireNumberSeparators minimum to 99999 Up to 5 digits should be considered visually clear. debian/changelog | 3 +++ t/critic/perlcriticrc | 4 ++++ 2 files changed, 7 insertions(+) commit 346b6eb35c7b94cadd1bd0e228aa7faae63b3e00 Author: Guillem Jover Date: Wed Jun 15 02:07:10 2016 +0200 Dpkg::Changelog::Entry::Debian: Mark example with C<> scripts/Dpkg/Changelog/Entry/Debian.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e5b4e9a0c9ba1cd20f7f4f56e6c8bd6b3d9b0797 Author: Guillem Jover Date: Mon Jun 27 01:14:33 2016 +0200 Dpkg: Use warnings::warnif() instead of carp() for deprecated warnings Suggested-by: Niels Thykier debian/changelog | 2 ++ scripts/Dpkg/Changelog/Entry/Debian.pm | 9 ++++++--- scripts/Dpkg/Checksums.pm | 9 ++++++--- scripts/Dpkg/Deps.pm | 6 ++---- scripts/Dpkg/Gettext.pm | 4 ++-- scripts/Dpkg/Substvars.pm | 6 ++++-- 6 files changed, 22 insertions(+), 14 deletions(-) commit b2ce10a6200a933ad244c3f1a9bd605b41800ad0 Author: Guillem Jover Date: Wed May 18 01:12:02 2016 +0200 scripts: Fix typos in POD scripts/Dpkg/Arch.pm | 2 +- scripts/Dpkg/BuildOptions.pm | 2 +- scripts/Dpkg/Control/FieldsCore.pm | 2 +- scripts/Dpkg/Deps.pm | 2 +- scripts/Dpkg/Index.pm | 2 +- scripts/Dpkg/Vendor/Debian.pm | 4 ++-- scripts/Dpkg/Vendor/Default.pm | 6 +++--- scripts/Dpkg/Vendor/Ubuntu.pm | 4 ++-- scripts/Dpkg/Version.pm | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) commit 779de6b3ca6358e1a4a5641a228a3537f10d572f Author: Guillem Jover Date: Sat Jun 25 20:44:52 2016 +0200 dpkg: Fix typo in debug output Warned-by: lintian src/divertdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1b09bbc32b5b5fa838ac308f9698eebd56e268d1 Author: Guillem Jover Date: Sun Jul 3 12:56:29 2016 +0200 man: Merge ENVIRONMENT sections in dpkg-buildflags(1) debian/changelog | 1 + man/dpkg-buildflags.1 | 11 +++++------ 2 files changed, 6 insertions(+), 6 deletions(-) commit d1735cc1a0a87d4abeb91733f3f8a2957a4c1163 Author: Guillem Jover Date: Sun May 22 19:20:04 2016 +0200 man: Document interaction between PIE and libraries Based-on-text-by: Christian Seiler on debian-devel debian/changelog | 2 ++ man/dpkg-buildflags.1 | 28 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) commit 31b965e71beb1964e378b856f64d8c8611aed51b Author: Guillem Jover Date: Wed May 18 03:01:29 2016 +0200 man: Document the tar entry size limitation for deb(5) format debian/changelog | 1 + man/deb.5 | 2 ++ 2 files changed, 3 insertions(+) commit 09844a76f03d80d861641780fca5a2fb71e32dc3 Author: Guillem Jover Date: Wed May 18 01:22:58 2016 +0200 man: Clarify the format of the db:Status-Abbrev virtual field Closes: #824515 debian/changelog | 2 ++ man/dpkg-query.1 | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit b4682659183bc8faaf092a28b6b22647a765efa5 Author: Guillem Jover Date: Fri May 13 02:42:12 2016 +0200 man: Improve dpkg-buildpackage(1) on environment expectations debian/changelog | 4 ++++ man/dpkg-buildpackage.1 | 15 ++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) commit e1635ee3f89c1a0af48d789da700150aa04cda38 Author: Guillem Jover Date: Fri May 13 02:03:44 2016 +0200 man: Fix typos man/dpkg-buildflags.1 | 2 +- man/dpkg-buildpackage.1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 41a27b2ec48d40539afbf2071f06fb36bf9b414c Author: Zhou Mo Date: Sun Jun 12 20:24:46 2016 +0200 po: Update Simplified Chinese programs translations Closes: #824873 Signed-off-by: Guillem Jover debian/changelog | 1 + po/zh_CN.po | 87 ++++++++++++++++++-------------------------------------- 2 files changed, 29 insertions(+), 59 deletions(-) commit 177d85ef4ed54fabf60cc2ff1e9e8c5a5b4ff604 Author: Helge Kreutzmann Date: Mon May 9 21:08:33 2016 +0200 Update German translation of manual pages Update to 2628t. man/po/de.po | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 01262f4dfb05812ca1104edf50718e7f1a2be14c Author: Helge Kreutzmann Date: Mon May 9 19:16:16 2016 +0200 Update German scripts translation Update to 586t. debian/changelog | 6 ++++++ scripts/po/de.po | 17 ++++++----------- 2 files changed, 12 insertions(+), 11 deletions(-) commit 94ff2317a78cb2a61353f768eb9bb3b48a549f18 Author: Sven Joachim Date: Mon May 9 20:35:01 2016 +0200 German dpkg translation update Update to 1092t. debian/changelog | 3 ++- po/de.po | 34 ++++++++-------------------------- 2 files changed, 10 insertions(+), 27 deletions(-) commit 533b48e2ade3b4fe78ee3b1ff0e89dcf00c233f2 Author: Guillem Jover Date: Mon May 9 05:10:56 2016 +0200 Bump version to 1.18.8 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit a6cd8e3d2b88e89c9bb613ae937c578d5d305bf3 Author: Guillem Jover Date: Mon May 9 03:19:59 2016 +0200 Release 1.18.7 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4c4cade866e2c15cd2f3840d907861e4c6ea0af2 Author: Guillem Jover Date: Mon May 9 03:27:24 2016 +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/de.po | 265 +++++++++++++++++++++++++----------------------- man/po/dpkg-man.pot | 39 ++++--- man/po/es.po | 25 ++++- man/po/fr.po | 25 ++++- man/po/hu.po | 25 ++++- man/po/it.po | 25 ++++- man/po/ja.po | 25 ++++- man/po/nl.po | 25 ++++- man/po/pl.po | 25 ++++- man/po/pt_BR.po | 25 ++++- man/po/ru.po | 25 ++++- man/po/sv.po | 25 ++++- man/po/zh_CN.po | 25 ++++- po/ast.po | 59 ++++++----- po/bs.po | 27 +++-- po/ca.po | 53 ++++++---- po/cs.po | 53 ++++++---- po/da.po | 53 ++++++---- po/de.po | 53 ++++++---- po/dpkg.pot | 29 +++--- po/dz.po | 43 ++++---- po/el.po | 37 +++---- po/eo.po | 53 ++++++---- po/es.po | 53 ++++++---- po/et.po | 39 +++---- po/eu.po | 53 ++++++---- po/fr.po | 53 ++++++---- po/gl.po | 53 +++++----- po/hu.po | 43 ++++---- po/id.po | 57 ++++++----- po/it.po | 55 ++++++---- po/ja.po | 53 ++++++---- po/km.po | 43 ++++---- po/ko.po | 57 ++++++----- po/ku.po | 30 +++--- po/lt.po | 32 +++--- po/mr.po | 43 ++++---- po/nb.po | 57 ++++++----- po/ne.po | 43 ++++---- po/nl.po | 53 ++++++---- po/nn.po | 40 ++++---- po/pa.po | 39 +++---- po/pl.po | 53 ++++++---- po/pt.po | 53 ++++++---- po/pt_BR.po | 63 +++++++----- po/ro.po | 57 ++++++----- po/ru.po | 53 ++++++---- po/sk.po | 53 ++++++---- po/sv.po | 53 ++++++---- po/th.po | 53 ++++++---- po/tl.po | 40 ++++---- po/tr.po | 53 ++++++---- po/vi.po | 53 ++++++---- po/zh_CN.po | 53 ++++++---- po/zh_TW.po | 53 ++++++---- scripts/po/ca.po | 14 ++- scripts/po/de.po | 14 ++- scripts/po/dpkg-dev.pot | 7 +- scripts/po/es.po | 5 +- scripts/po/fr.po | 14 ++- scripts/po/pl.po | 14 ++- scripts/po/ru.po | 14 ++- scripts/po/sv.po | 14 ++- 94 files changed, 1670 insertions(+), 1115 deletions(-) commit d078868c0df78a4a711314445f176b5252a5e433 Author: Guillem Jover Date: Mon May 9 04:02:54 2016 +0200 arch: Clarify column descriptions in table files Prompted-by: Wookey abitable | 4 ++-- cputable | 16 ++++++++-------- debian/changelog | 1 + ostable | 12 ++++++------ 4 files changed, 17 insertions(+), 16 deletions(-) commit 56799b5381710a15386d584d7dbd18f4daf3e234 Author: Ben Hutchings Date: Tue May 3 00:53:25 2016 +0200 arch: Bump the GNU triplet cpu from i386 to i686 This matches toolchain changes. Closes: #823619 Signed-off-by: Guillem Jover cputable | 2 +- debian/changelog | 3 +++ debian/rules | 7 ------- 3 files changed, 4 insertions(+), 8 deletions(-) commit 608f93858f2fc44e86538fbf585d4e0fa9cf7743 Author: Guillem Jover Date: Sat May 7 17:52:57 2016 +0200 Dpkg::Deps: Add support for tests dependencies These include package names with the usually invalid character ‘@’. Used when parsing debian/tests/control files. debian/changelog | 3 +++ scripts/Dpkg/Deps.pm | 23 ++++++++++++++++++++++- scripts/t/Dpkg_Deps.t | 10 +++++++++- 3 files changed, 34 insertions(+), 2 deletions(-) commit 9233e3897e388d5b907d92a4d67a6b5c16f9bb0f Author: Guillem Jover Date: Sat May 7 17:47:15 2016 +0200 Dpkg::Deps: Refactor options for Dpkg::Deps::Simple->new into a new hash scripts/Dpkg/Deps.pm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 4e1e0e78412060de420d2fa7f8a24231d6eff9bb Author: Guillem Jover Date: Fri May 6 01:21:44 2016 +0200 libdpkg: Rework error message handling to use variable buffers We'll use variable buffers to avoid truncation. We fallback to use the emergency error message buffer, so that at least we can output something. Prompted-by: Manuel A. Fernandez Montecelo debian/changelog | 5 +++ lib/dpkg/ehandle.c | 104 +++++++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 91 insertions(+), 18 deletions(-) commit 7b1652626d343b661794b4f1eb670eb14f984456 Author: Guillem Jover Date: Sat May 7 02:42:31 2016 +0200 libdpkg: Refactor and colorize abort printing into a new function debian/changelog | 1 + lib/dpkg/ehandle.c | 20 ++++++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) commit 21e6e04881868c5ed5fc520ea14037c0482292bb Author: Guillem Jover Date: Sat May 7 02:20:05 2016 +0200 libdpkg: Reorder ehandle functions Sort them in a more logical order. lib/dpkg/ehandle.c | 126 ++++++++++++++++++++++++++--------------------------- 1 file changed, 63 insertions(+), 63 deletions(-) commit 99d596bf629c06d7b5d66825c4ca49141bbcc7e9 Author: Guillem Jover Date: Fri May 6 01:20:47 2016 +0200 libdpkg: Do not use fixed size strings in reporting functions debian/changelog | 1 + lib/dpkg/report.c | 20 ++++++++++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) commit 5982d9503c425d4435d542947632a4c7c2646005 Author: Guillem Jover Date: Fri May 6 01:20:16 2016 +0200 libdpkg: Do not use fixed size buffers in options module debian/changelog | 1 + lib/dpkg/options.c | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) commit 58876fceaf5de97a2ae609ba023d69445d6b0b41 Author: Guillem Jover Date: Fri May 6 01:17:13 2016 +0200 dselect: Do not use fixed size strings for menu entries debian/changelog | 1 + dselect/main.cc | 15 ++++++++------- dselect/method.cc | 5 +---- 3 files changed, 10 insertions(+), 11 deletions(-) commit 836dc7412c1d5d5fa3825fc5d2761ca1388d38c3 Author: Guillem Jover Date: Fri May 6 01:16:32 2016 +0200 libdpkg: Add new fmt and vfmt varbuf methods lib/dpkg/varbuf.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit 6c9dbd427d085ce0bba878e294d1c8c20d1112cd Author: Guillem Jover Date: Fri May 6 01:15:38 2016 +0200 s-s-d: Use a heap allocated formatted string for what to stop debian/changelog | 4 ++++ utils/start-stop-daemon.c | 29 ++++++++++++++++++----------- 2 files changed, 22 insertions(+), 11 deletions(-) commit a558a21ae7f04751f7f5dfe724cd9d5f95905734 Author: Guillem Jover Date: Thu May 5 20:13:56 2016 +0200 dpkg-source: Add new --require-strong-checksums option and change default Erroring out when no strong checksums are present is very harsh, as we do not even do something similar for invalid/unknown/expired signatures which means doing this for checksums has really no point. Add a new command-line option to force the behavior to be strict, and change to a warning. Regression introduced in commit 040973c7a1e50b78ef042ef5ffbfff0440c24700. Closes: #823428 Reported-by: Niko Tyni debian/changelog | 5 +++++ man/dpkg-source.1 | 5 +++++ scripts/Dpkg/Source/Package.pm | 23 +++++++++++++++++++++-- scripts/dpkg-source.pl | 5 +++++ 4 files changed, 36 insertions(+), 2 deletions(-) commit a234261b4e7929bab7035d8223e2abd3801a3b9b Author: Guillem Jover Date: Wed May 4 21:39:17 2016 +0200 Dpkg: Relax dependency restriction parsing to allow sloppy spaces Allow sloppy spaces again around versions, architectures and profile restrictions, so that we do not fail on previously accepted dependencies. Regression introduced in commit bd17966babf8705e8f02c808f646dfa149828256. Closes: #823431 Reported-by: Niko Tyni debian/changelog | 4 ++++ scripts/Dpkg/BuildProfiles.pm | 4 ++-- scripts/Dpkg/Deps.pm | 2 +- scripts/t/Dpkg_Deps.t | 14 +++++++++++++- 4 files changed, 20 insertions(+), 4 deletions(-) commit abbdf5b8384482c1527d7dc5f55f9640f5d957ce Author: Guillem Jover Date: Sat May 7 17:29:54 2016 +0200 man: Shorten example symbol names in dpkg-gensymbols(1) This fixes a mandb warning due to very long strings in the Dutch man page translation that is part of a block quote, and cannot be line wrapped. Unfuzzy all translations. Warned-by: lintian debian/changelog | 5 +++++ man/dpkg-gensymbols.1 | 12 ++++++------ man/po/de.po | 26 +++++++++++++------------- man/po/es.po | 16 ++++++++-------- man/po/fr.po | 14 +++++++------- man/po/hu.po | 14 +++++++------- man/po/it.po | 16 ++++++++-------- man/po/ja.po | 16 ++++++++-------- man/po/nl.po | 24 ++++++++++++------------ man/po/pl.po | 16 ++++++++-------- man/po/pt_BR.po | 14 +++++++------- man/po/ru.po | 14 +++++++------- man/po/sv.po | 16 ++++++++-------- man/po/zh_CN.po | 14 +++++++------- 14 files changed, 111 insertions(+), 106 deletions(-) commit 724ae36a3994af259a56bcd5b7147634741511ac Author: Helge Kreutzmann Date: Sun May 8 13:59:48 2016 +0200 Update German scripts translation Update to 586t. debian/changelog | 3 ++ scripts/po/de.po | 145 ++++++++++--------------------------------------------- 2 files changed, 28 insertions(+), 120 deletions(-) commit c3c607c12ebc2f9007855a74ea39fc0a30815630 Author: Helge Kreutzmann Date: Sun May 8 13:56:18 2016 +0200 Update German translation of manual pages Update to 2626t. man/po/de.po | 70 +++++++++++++++++++++++++++--------------------------------- 1 file changed, 31 insertions(+), 39 deletions(-) commit 474f97603b921bb098a9489169d1d7b5e125837f Author: Helge Kreutzmann Date: Thu May 5 20:27:15 2016 +0200 Update German translation of manual pages Update to 2620t4f2t. debian/changelog | 3 +- man/po/de.po | 380 +++++++++++++++++++++---------------------------------- 2 files changed, 147 insertions(+), 236 deletions(-) commit 8f7bd27930b5da644b38c6cc38de8874ee9ebcfa Author: Helge Kreutzmann Date: Thu May 5 18:17:34 2016 +0200 Fix typo man/dpkg.1 | 2 +- man/po/es.po | 4 ++-- man/po/fr.po | 4 ++-- man/po/hu.po | 4 ++-- man/po/it.po | 4 ++-- man/po/ja.po | 4 ++-- man/po/nl.po | 4 ++-- man/po/pl.po | 4 ++-- man/po/pt_BR.po | 4 ++-- man/po/ru.po | 4 ++-- man/po/sv.po | 4 ++-- man/po/zh_CN.po | 4 ++-- 12 files changed, 23 insertions(+), 23 deletions(-) commit 692399ad61daad3a78183fab67010c59cf8568bf Author: Guillem Jover Date: Tue May 3 21:07:23 2016 +0200 Bump version to 1.18.7 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit a55af61da2b84db7cf8fad9c291f2df50ba06c1e Author: Guillem Jover Date: Tue May 3 20:17:18 2016 +0200 Release 1.18.6 debian/changelog | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 4e3993e3e650ebf44a49be007fac4ec255ca3290 Author: Guillem Jover Date: Tue May 3 19:42:57 2016 +0200 s-s-d: Initialize nentries from sysctl(2) on */kFreeBSD debian/changelog | 2 ++ utils/start-stop-daemon.c | 1 + 2 files changed, 3 insertions(+) commit 7d184c737fde3cb9a02647cfd277a4cd8a7deed3 Author: Guillem Jover Date: Tue May 3 19:23:08 2016 +0200 s-s-d: Rename sysctl() name variables to mib This is the common name used for the first argument, and avoids the variable name clash with the function argument with the same name. This fixes a build failure on */kFreeBSD systems. debian/changelog | 3 +++ utils/start-stop-daemon.c | 60 +++++++++++++++++++++++------------------------ 2 files changed, 33 insertions(+), 30 deletions(-) commit 776bbabb4533d9d48c6356744839e10338ace2b8 Author: Guillem Jover Date: Tue May 3 19:15:01 2016 +0200 dpkg: Fix off-by-one array allocation We need two entries more than the current nfiles, one for the next one and one for the final NULL. debian/changelog | 2 ++ src/archives.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 4b5023759c9ed35581e3174c6fce09ac8be8589f Author: Guillem Jover Date: Tue May 3 19:14:31 2016 +0200 dpkg: Use m_strdup() instead of strdup() debian/changelog | 1 + src/archives.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit c931762286a22626b4f9958d457248a027bfc0f7 Author: Guillem Jover Date: Tue May 3 18:11:06 2016 +0200 dpkg: Fix file queue tail assignment in file queue pop When we are popping a file from the files queue, we might end up messing it up. To check for the side-effects on the file-system one should look for files with .dpkg-new extension for packages that have been fully configured and where those files are not listed as owned by them. These packages will need to be reinstalled. Closes: #823288 debian/changelog | 4 ++++ src/archives.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 6f71f80300f2afabfdaa655aabae0a9374061c6f Author: Guillem Jover Date: Tue May 3 18:08:32 2016 +0200 libdpkg: Fix doxygen annotations lib/dpkg/treewalk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 151bb81382611be1ec1cb3a27f297e515c840521 Author: Sven Joachim Date: Mon May 2 19:55:13 2016 +0200 German dpkg translation update Update to 1091t. debian/changelog | 3 +++ po/de.po | 40 +++++++++++++++++----------------------- 2 files changed, 20 insertions(+), 23 deletions(-) commit ea538cdb5b70ce527f4f51e1671fdd13c7b61f91 Author: Guillem Jover Date: Mon May 2 05:37:48 2016 +0200 debian: Bump Standards-Version to 3.9.8 (no changes needed) debian/changelog | 3 ++- debian/control | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) commit ca3e44931dfbde851e363835a8fe3b1e1b1d72ad Author: Guillem Jover Date: Mon May 2 05:35:41 2016 +0200 Bump version to 1.18.6 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit c9e4c2e707ae7824bc9bf4fccc938c6b22cfbded Author: Guillem Jover Date: Mon May 2 05:09:30 2016 +0200 t-control-no-arch: New dpkg-deb considers missing Architecture field an error Feature.mk | 1 + t-control-no-arch/Makefile | 13 +++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) commit 050aedfa419c307d3dd77208dcc87f73ddc695f5 Author: Guillem Jover Date: Mon May 2 04:16:51 2016 +0200 Release 1.18.5 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 97931f84a599593818761c7dd13f4739e025e7a7 Author: Guillem Jover Date: Mon May 2 04:26:09 2016 +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 | 28 +- 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/de.po | 853 ++++-- man/po/dpkg-man.pot | 2318 +++++++++++--- man/po/es.po | 2984 ++++++++++++++---- man/po/fr.po | 3024 +++++++++++++++---- man/po/hu.po | 2679 ++++++++++++---- man/po/it.po | 2995 ++++++++++++++---- man/po/ja.po | 2970 ++++++++++++++---- man/po/nl.po | 7714 ++++++++++++++++++++++++++++++----------------- man/po/pl.po | 2983 ++++++++++++++---- man/po/pt_BR.po | 2364 ++++++++++++--- man/po/ru.po | 2673 ++++++++++++---- man/po/sv.po | 3020 +++++++++++++++---- man/po/zh_CN.po | 2393 ++++++++++++--- po/ast.po | 393 +-- po/bs.po | 230 +- po/ca.po | 347 ++- po/cs.po | 341 ++- po/da.po | 341 ++- po/de.po | 58 +- po/dpkg.pot | 221 +- po/dz.po | 378 +-- po/el.po | 398 +-- po/eo.po | 345 ++- po/es.po | 352 ++- po/et.po | 351 ++- po/eu.po | 349 ++- po/fr.po | 349 ++- po/gl.po | 397 +-- po/hu.po | 366 ++- po/id.po | 393 +-- po/it.po | 349 ++- po/ja.po | 344 ++- po/km.po | 378 +-- po/ko.po | 381 +-- po/ku.po | 306 +- po/lt.po | 372 +-- po/mr.po | 376 +-- po/nb.po | 379 +-- po/ne.po | 382 +-- po/nl.po | 350 ++- po/nn.po | 372 +-- po/pa.po | 330 +- po/pl.po | 353 ++- po/pt.po | 455 ++- po/pt_BR.po | 397 +-- po/ro.po | 385 +-- po/ru.po | 351 ++- po/sk.po | 349 ++- po/sv.po | 339 ++- po/th.po | 331 +- po/tl.po | 374 +-- po/tr.po | 345 ++- po/vi.po | 338 ++- po/zh_CN.po | 331 +- po/zh_TW.po | 341 ++- scripts/po/ca.po | 281 +- scripts/po/de.po | 160 +- scripts/po/dpkg-dev.pot | 217 +- scripts/po/es.po | 261 +- scripts/po/fr.po | 370 ++- scripts/po/pl.po | 289 +- scripts/po/ru.po | 288 +- scripts/po/sv.po | 286 +- 94 files changed, 40029 insertions(+), 15800 deletions(-) commit 85651f17887d4c9f82a61b97aa13a50aa714d0eb Author: Helmut Grohne Date: Mon Nov 9 22:16:10 2015 +0100 dpkg: Add new --force-script-chrootless option Currently, dpkg chroots to the instdir before invoking maintainer scripts. The new force flag will inhibit the chroot call. The user is supposed to know that the packages being operated on does support this new mode of operation. Thus the force flag is marked as dangerous. [guillem@debian.org: - Rename force option to --force-script-chrootless. - Reword force option description in man page. - Reactor changedir variable. ] Ref: #804624 Signed-off-by: Guillem Jover debian/changelog | 2 ++ man/dpkg.1 | 10 +++++++++- src/main.c | 3 +++ src/main.h | 1 + src/script.c | 9 +++++---- 5 files changed, 20 insertions(+), 5 deletions(-) commit 1a1cb120d14c9e77e7e560587f444cb1bfc6da5c Author: Helmut Grohne Date: Mon Nov 9 22:07:52 2015 +0100 dpkg: Export variable DPKG_ROOT in maintainer scripts This variable holds the value of instdir. It is supposed to be used in maintainer scripts. It should be prepended to all paths that are operated on. Currently, dpkg chroots to the instdir before invoking maintainer scripts, so when it does that DPKG_ROOT is set to the empty string. Thus currently, DPKG_ROOT is always empty. [guillem@debian.org: - Reword man page to clarify current status. ] Closes: #804624 Signed-off-by: Guillem Jover debian/changelog | 2 ++ man/dpkg.1 | 10 ++++++++++ src/main.c | 2 ++ src/script.c | 2 ++ 4 files changed, 16 insertions(+) commit eb58be2f272cf619971d66e40d368111ac0d3dbc Author: Daniel Kahn Gillmor Date: Thu Mar 24 13:19:28 2016 -0400 Dpkg::Vendor::Debian: Add fixdebugpath to reproducible feature This feature normalizes the path stored in debug symbols, so that these symbols can be built reproducibly regardless of the location of the build in the larger filesystem. It defaults to off, but should be enabled by systems trying to generate reproducible packages. [guillem@debian.org: - Add additional build flags. - Rename feature name. - Import Cwd module with require instead of use. ] Closes: #819194 Signed-off-by: Guillem Jover debian/changelog | 2 ++ man/dpkg-buildflags.1 | 10 ++++++++++ scripts/Dpkg/Vendor/Debian.pm | 14 ++++++++++++++ 3 files changed, 26 insertions(+) commit f02d1c55ced66f3885c88d2c2431983f1c525454 Author: Guillem Jover Date: Sun Apr 24 00:13:53 2016 +0200 scripts: Remove -s option argument parsing that does not match The -si and -sn arguments are handled in previous code branches. scripts/Dpkg/Source/Package/V1.pm | 4 ++-- scripts/dpkg-buildpackage.pl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 194d3fe7ac2f3d30b252f1f7660ae46187dcae3f Author: Guillem Jover Date: Mon Apr 18 11:00:03 2016 +0200 dpkg-genchanges: Add new -O option This unifies this command with other commands outputting a generated file. debian/changelog | 1 + man/dpkg-genchanges.1 | 6 +++++- scripts/dpkg-genchanges.pl | 13 ++++++++++--- 3 files changed, 16 insertions(+), 4 deletions(-) commit 5792b38b091945aaf13082c5749194417d4aaec3 Author: Guillem Jover Date: Sat Apr 16 12:19:17 2016 +0200 dpkg-shlibdeps: Add new -I option to ignore package build directories This option can be used to completely ignore local package build trees, for example in cases where've got multiple compatible builds of the same shared library, which provide use the same SONAME, and we want all our local objects to use the same single library instead of whatever came first. Using -x in the above case does not work, because that just removes the dependency after processing, so we end up with missing dependencies. Closes: #821025 debian/changelog | 2 ++ man/dpkg-shlibdeps.1 | 5 +++++ scripts/dpkg-shlibdeps.pl | 31 +++++++++++++++++++++++-------- 3 files changed, 30 insertions(+), 8 deletions(-) commit c26060b71e8c69e2306fa570628b58ab306c99d8 Author: Guillem Jover Date: Wed Sep 2 13:37:53 2015 +0200 Dpkg::Source::Package: Include upstream orig tarball signatures If there are upstream signatures for orig.tar files, pick them up and include them in the .dsc file. See: #759478 debian/changelog | 2 ++ man/dpkg-source.1 | 8 ++++++++ scripts/Dpkg/Source/Package/V1.pm | 3 +++ scripts/Dpkg/Source/Package/V2.pm | 2 ++ scripts/dpkg-genchanges.pl | 1 + 5 files changed, 16 insertions(+) commit d01212f2d7e59fc713c66b5d60421ac2296c1463 Author: Guillem Jover Date: Sat Apr 23 18:34:31 2016 +0200 Dpkg::Source::Package::V1: Allow detached upstream orig tarball signatures Upstream orig tarballs usually come with detached signatures, which would be useful to have in the source package, as an additional check that could be performed to verify its integrity and provenance. Fixes: #759478 Suggested-by: Daniel Kahn Gillmor debian/changelog | 2 ++ scripts/Dpkg/Source/Package/V1.pm | 3 +++ 2 files changed, 5 insertions(+) commit 396e17158165df0a62f032dd95f23901e8da2ade Author: Guillem Jover Date: Sun Apr 10 00:06:04 2016 +0200 Dpkg::Changelog: Handle undef versions When the changelog entry header line has an empty versions, the code was trying to use an undef version to access a hash. debian/changelog | 2 ++ scripts/Dpkg/Changelog.pm | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit bc2068676fe68ff4080ddee254622ee689ad28ac Author: Guillem Jover Date: Sun Apr 3 19:45:14 2016 +0200 scripts: Add support for new --build option to define build type This simplifies the way to select what to build, and makes it both easier to remember, and easier to deal with in the code. The current set of split single options are really a mess. debian/changelog | 3 ++ man/dpkg-buildpackage.1 | 76 ++++++++++++++++++++++++++++---------------- man/dpkg-genchanges.1 | 56 +++++++++++++++++++++----------- scripts/Dpkg/Build/Types.pm | 54 ++++++++++++++++++++++++++++++- scripts/dpkg-buildpackage.pl | 13 ++++---- scripts/dpkg-genchanges.pl | 6 +++- scripts/t/Dpkg_Build_Types.t | 15 +++++++-- 7 files changed, 168 insertions(+), 55 deletions(-) commit e731c1fcca81470e08f81ded165243bc5f05f8d0 Author: Guillem Jover Date: Sun May 1 17:20:16 2016 +0200 Dpkg::Build::Types: Allow disabling the checks in set_build_type() This makes it possible to test the different code paths. scripts/Dpkg/Build/Types.pm | 10 +++++++--- scripts/t/Dpkg_Build_Types.t | 13 ++++++++++++- 2 files changed, 19 insertions(+), 4 deletions(-) commit 3baee8a7d507d7d24ba9a8762399c54129efc1d7 Author: Guillem Jover Date: Wed Apr 6 17:33:26 2016 +0200 Dpkg::Build::Types: Clarify build type functions Distinguish build_has_any from build_has_all. Rename build_has_not into build_has_none. Fix scripts to use the correct bits check function. scripts/Dpkg/Build/Types.pm | 18 +++++++++--------- scripts/dpkg-buildpackage.pl | 18 +++++++++--------- scripts/dpkg-genchanges.pl | 18 +++++++++--------- scripts/t/Dpkg_Build_Types.t | 16 ++++++++-------- 4 files changed, 35 insertions(+), 35 deletions(-) commit dd064b2138478d9a53beefa7a873425d1738e4cb Author: Guillem Jover Date: Wed Apr 6 17:33:26 2016 +0200 Dpkg::Build::Types: Add new build_has_any function Fix regression introduced in commit d122537d6df899dc1d0599e0a24ee3b27f0d9e18. These instances need to trigger whenever there is any bit set. scripts/Dpkg/Build/Types.pm | 19 +++++++++++++++++-- scripts/dpkg-buildpackage.pl | 4 ++-- scripts/dpkg-genchanges.pl | 2 +- 3 files changed, 20 insertions(+), 5 deletions(-) commit 9c9fc468fe445bf7a531c89135bc06d66ced58dc Author: Guillem Jover Date: Sun May 1 16:06:31 2016 +0200 Dpkg::Build::Types: Remove BUILD_SOURCE composite constants These are very specialized and not used often, let's compose them from basic types when needed. scripts/Dpkg/Build/Types.pm | 20 ++------------------ scripts/dpkg-buildpackage.pl | 4 ++-- scripts/dpkg-genchanges.pl | 4 ++-- scripts/t/Dpkg_Build_Types.t | 9 +++++---- 4 files changed, 11 insertions(+), 26 deletions(-) commit e0c33c729c395dd8592c91723065d723246dab31 Author: Guillem Jover Date: Thu Sep 17 18:01:16 2015 +0200 libdpkg, scripts: Add very basic color support This adds disabled by default color output, that can be enabled with the new DPKG_COLOR environment variable. The colors are currently hard-coded ANSI escape sequences, but will be made configurable eventually. check.am | 1 + debian/changelog | 3 + lib/dpkg/Makefile.am | 2 + lib/dpkg/color.c | 74 ++++++++++++++++++++++++ lib/dpkg/color.h | 87 ++++++++++++++++++++++++++++ lib/dpkg/ehandle.c | 10 +++- lib/dpkg/libdpkg.map | 5 ++ lib/dpkg/report.c | 11 +++- man/dpkg-buildpackage.1 | 5 ++ man/dpkg.1 | 5 ++ scripts/Dpkg/Changelog.pm | 6 +- scripts/Dpkg/ErrorHandling.pm | 129 ++++++++++++++++++++++++++++++++++++++---- scripts/dpkg-buildflags.pl | 10 ++-- 13 files changed, 324 insertions(+), 24 deletions(-) commit 5833b05c482cc8346dd6e7c8785e76f85ed52d4d Author: Guillem Jover Date: Thu Sep 17 18:01:16 2015 +0200 scripts: Refactor command printing into new printcmd() function scripts/Dpkg/ErrorHandling.pm | 8 ++++++++ scripts/dpkg-buildpackage.pl | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) commit d2a1a297eed6a9f90d400c7314ba0d59441e011f Author: Guillem Jover Date: Sun Apr 3 13:36:46 2016 +0200 Dpkg::ErrorHandling: Add new notice() reporting function scripts/Dpkg/ErrorHandling.pm | 6 ++++++ 1 file changed, 6 insertions(+) commit 579db424c7224009f74056245b46740fc2cfccaf Author: Guillem Jover Date: Sun Apr 3 13:36:46 2016 +0200 scripts: Switch raw information output to use info() debian/changelog | 1 + scripts/dpkg-buildpackage.pl | 6 +++--- scripts/dpkg-genchanges.pl | 6 ++++-- 3 files changed, 8 insertions(+), 5 deletions(-) commit 829326ae59424d98ce3e12d9360dfb572ac43f0e Author: Guillem Jover Date: Sun Apr 3 17:05:47 2016 +0200 dpkg-deb: Promote a print to a warning for missing control files debian/changelog | 1 + dpkg-deb/info.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit db8d2e8a85fe0623edea396a76b5ab3cd8542e1b Author: Guillem Jover Date: Tue Apr 12 00:55:20 2016 +0200 dpkg-deb: Use info() instead of plain printf() dpkg-deb/build.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 79990a172ac01713028a795b177f53e544ba3223 Author: Guillem Jover Date: Tue Apr 12 00:25:19 2016 +0200 libdpkg: Add new info() reporting function lib/dpkg/libdpkg.map | 1 + lib/dpkg/report.c | 13 +++++++++++++ lib/dpkg/report.h | 2 ++ 3 files changed, 16 insertions(+) commit 0a4a59224418b994ef421b7a2abb0ae561397107 Author: Guillem Jover Date: Mon Apr 25 00:20:58 2016 +0200 dselect: Rename info screenpart to info_body dselect/baselist.cc | 6 +++--- dselect/dselect.h | 2 +- dselect/main.cc | 4 ++-- dselect/methlist.cc | 2 +- dselect/pkginfo.cc | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) commit 0ebb97e4f208d5dec759cfb12b7c0caea6d99894 Author: Guillem Jover Date: Mon Apr 25 00:13:34 2016 +0200 dselect: Rename info variable into depinfo dselect/pkgsublist.cc | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) commit 6dcc38a354432f9d4d4f24b6ccc8c4a29472e1e4 Author: Guillem Jover Date: Mon Apr 25 00:05:32 2016 +0200 dselect: Remove intermediate pkgbin info variable dselect/pkgtop.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit a53b82ce38c2eca43e5fbbfbf82d9129fcdf7418 Author: Guillem Jover Date: Sat Apr 2 21:11:33 2016 +0200 dpkg-source: Use context gettext functions for "" string scripts/dpkg-source.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7fdaf8df9877bd6516b4c1ff027b96a3936f456c Author: Guillem Jover Date: Sat Apr 2 21:07:37 2016 +0200 perl: Fix various perl critic regressions lib/dpkg/t/t-tree.t | 2 +- lib/dpkg/t/t-trigdeferred.t | 10 +++++----- scripts/Dpkg/Arch.pm | 2 +- scripts/Dpkg/Source/Patch.pm | 4 ++-- scripts/dpkg-source.pl | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) commit 580246792085f4bfd3433e11cff523145df32662 Author: Guillem Jover Date: Sat Jan 24 02:10:22 2015 +0100 dpkg: Pass to maintscript actions that cannot get it otherwise The upgrade actions and their rollback counterparts do not have access to the new binary package which is somewhere on the filesystem depending on how dpkg was invoked, nor to its metadata. If the maintainer script wants to know the , it needs to be turned into a template and that version instantiated at build-time, which is cumbersome. So we now pass when these upgrade actions are already getting , but not on the cases where they do not get any argument at all, as that's their differentiator. Prompted-by: Andrey Utkin debian/changelog | 9 +++++++++ debian/dpkg.postrm | 6 +++--- debian/dpkg.preinst | 4 ++-- debian/dpkg.prerm | 2 +- src/cleanup.c | 2 ++ src/script.c | 1 + src/unpack.c | 2 ++ 7 files changed, 20 insertions(+), 6 deletions(-) commit 3cf9613ae1ccd2a3aea9738055946da8eae7f505 Author: Guillem Jover Date: Sat Apr 2 01:33:06 2016 +0200 Dpkg::Source::Package: Use GnuPG instead of gpg to refer to the software The message is confusing as it refers to the command, but we might use gpg2, also the message talks about the command not being installed when in this context it would be expected a package. Instead use the software name GnuPG. debian/changelog | 2 ++ scripts/Dpkg/Source/Package.pm | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit fbdbddc0a8454bbee8d0958086b5be3dd774843d Author: Guillem Jover Date: Fri Apr 1 21:17:22 2016 +0200 dpkg-maintscript-helper: Decouple local declaration from command assignment The assignment within an export/local/declare builtin masks the command return value, which means that if we are running with «set -e» the shell will not notice an error from the command. Warned-by: shellcheck debian/changelog | 3 +++ scripts/dpkg-maintscript-helper.sh | 10 ++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) commit e98186307142dab197d74e08b7f19eb336b3464e Author: Guillem Jover Date: Fri Apr 1 20:59:03 2016 +0200 dpkg-maintscript-helper: Do safe matching of directories containing conffiles By using a variable for the grep match we are exposed to metacharacters acting as part of the regular expression. Proposed-by: Carsten Hey debian/changelog | 4 ++++ scripts/dpkg-maintscript-helper.sh | 14 +++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) commit 4690386097e0afe099106e1b0a0ff9eda34eb9a9 Author: Guillem Jover Date: Sun Apr 3 13:37:12 2016 +0200 Rename new R6 O32 MIPS architectures to remove the 32 suffix The new arch names for the R6 O32 variants do not follow the same convention as the pre-existing O32 architectures. Which is rather confusing. In addition the confusion would be worsened by having mips32r6 and mipsn32r6 for the O32 and N32 ABIs. Signed-off-by: YunQiang Su Signed-off-by: Guillem Jover cputable | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 174b5a5e63b105b34f9c6ebd37d9c1a58f21ff63 Author: Guillem Jover Date: Wed Apr 20 00:11:32 2016 +0200 build: Use a single po4a opt argument instead of the same per language debian/changelog | 1 + man/po/po4a.cfg | 13 +------------ 2 files changed, 2 insertions(+), 12 deletions(-) commit 11912fc691d60acaa84d50ea5e325248a97b0ba3 Author: Guillem Jover Date: Tue Apr 19 17:23:09 2016 +0200 build: Quote dirname argument We should protect this argument in case the user has the source tree in a pathname with spaces. Reported-by: Carsten Hey debian/changelog | 2 ++ run-script | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit d668f81e2b3b4d45853ed29e7b325b8e69c22622 Author: Guillem Jover Date: Sat Apr 2 21:14:26 2016 +0200 build: Use spaces instead of tabs to separate pod2man options scripts/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 14df95486dda61dc7b094a05c69b5175716eb342 Author: Guillem Jover Date: Fri Apr 1 10:07:20 2016 +0200 build: Add t.tmp to libdpkg .gitignore file lib/dpkg/t/.gitignore | 1 + 1 file changed, 1 insertion(+) commit f3c014ef289008188ac375d9ef2ec2440b9bbb2d Author: Guillem Jover Date: Fri Apr 22 02:21:31 2016 +0200 man: Add missing value for Standards-Version field in dsc(5) Reported-by: Helge Kreutzmann debian/changelog | 2 ++ man/dsc.5 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 28aa601435d4e5029bf9d1d3ea0764e642f847f7 Author: Guillem Jover Date: Wed Apr 20 10:59:33 2016 +0200 man: Make explicit that deb-control(5) documents the binary control file debian/changelog | 1 + man/deb-control.5 | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) commit 44e59a551c9fa988aa0732e7312da7f5027e13f2 Author: Guillem Jover Date: Wed Apr 20 10:59:33 2016 +0200 man: Remove wrong mention that deb-control(5) support comments debian/changelog | 1 + man/deb-control.5 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 8771da184eea6f58dd04a7e5076fd2b209fdd390 Author: Guillem Jover Date: Wed Apr 20 10:43:13 2016 +0200 man: Clarify what characters constitute the deb822(5) syntax Use Unicode code points and their printable characters to make it clear what exact characters or ranges we are talking about. Based-on-a-patch-by: Ben Finney debian/changelog | 3 +++ man/deb822.5 | 38 +++++++++++++++++++++----------------- 2 files changed, 24 insertions(+), 17 deletions(-) commit e2aa86cd78c7ad8e91a655f9f8d82c31c8196046 Author: Guillem Jover Date: Wed Apr 20 10:21:15 2016 +0200 man: Document in deb822(5) that deb-origin(5) also supports comments Prompted-by: Ben Finney debian/changelog | 1 + man/deb822.5 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 18335f84bf75a6be078bf2365c1f780b59524a0a Author: Guillem Jover Date: Sat Apr 2 11:38:29 2016 +0200 man: Document that i386 does not suffer performance loss due to PIE anymore Commit e49be6015dcdcc3ef62ab6bbf58de5053e7dd8ad did not update the dpkg-buildflags documentation to reflect the fact that at least i386 does not suffer from performance loss due to PIE when using gcc >= 5. Reported-by: Niels Thykier debian/changelog | 2 ++ man/dpkg-buildflags.1 | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 12ec6c3c77bab3b90baf8538db9011b88078c7f8 Author: Frans Spiesschaert Date: Thu Apr 28 11:52:41 2016 +0200 po: Update Dutch translations Update programs translations and add new man page translations. [guillem@debian.org: - Remove spurious ‘|’ near dpkg --remove string. - Hook man page translation into build system. - Update copyright years. ] Closes: #822797, #822798 Signed-off-by: Guillem Jover debian/changelog | 4 + man/.gitignore | 1 + man/po/nl.add | 1 + man/po/nl.po | 22466 +++++++++++++++++++++++++++++++++++++++++++++++++++++ man/po/po4a.cfg | 2 +- po/nl.po | 225 +- 6 files changed, 22586 insertions(+), 113 deletions(-) commit 4cb5c8bda45ddb6158838301ab295d78fe256abf Author: Takuma Yamada Date: Sat Apr 16 12:59:15 2016 +0200 po: Update Japanese programs translations Closes: #819939, #819940 Signed-off-by: Guillem Jover debian/changelog | 4 ++++ dselect/po/ja.po | 73 +++++++++++++++++++++++++++----------------------------- po/ja.po | 25 +++++++++---------- 3 files changed, 52 insertions(+), 50 deletions(-) commit 2ce30377b69eb9f2031158574f2939c82826882b Author: Guillem Jover Date: Mon Apr 11 23:17:57 2016 +0200 debian: Fix typos in changelog Reported-by: Niels Thykier (patching typo) debian/changelog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 0f4d57a2c4b4b4f1cd085e824c394cf6fbe38012 Author: Helge Kreutzmann Date: Thu Apr 21 11:35:37 2016 +0200 Review and removal of FIXMEs for stable translation man/po/de.po | 36 ++++++++++-------------------------- 1 file changed, 10 insertions(+), 26 deletions(-) commit 99df81a42d25b0343dfa3af1e55b608275e707e0 Author: Helge Kreutzmann Date: Thu Apr 21 11:11:53 2016 +0200 Update German translation of manual pages Update to 2600t1f. man/po/de.po | 39 +++++++++++++++++++++++++++++++++------ 1 file changed, 33 insertions(+), 6 deletions(-) commit 9de362025a8ae6056693d9ea401542e66911cbbf Author: Helge Kreutzmann Date: Wed Apr 20 15:49:18 2016 +0200 Update German translation of manual pages Update to 2590t2f9u. man/po/de.po | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) commit 80fad0397ca380fb58787f378b6fe767a27719e2 Author: Helge Kreutzmann Date: Mon Apr 18 11:38:56 2016 +0200 Update German translation of manual pages Update to 2583t2f16u. man/po/de.po | 490 +++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 324 insertions(+), 166 deletions(-) commit 6a9675acd9c609d4a950049ac29378a1312decbb Author: Helge Kreutzmann Date: Sun Apr 3 07:15:28 2016 +0200 Update German scripts translation Update to 585t. scripts/po/de.po | 57 ++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 35 insertions(+), 22 deletions(-) commit 043fc3dbe87a61e4b425a096405319147c698fde Author: Sven Joachim Date: Fri Apr 1 19:32:51 2016 +0200 German dpkg translation update Update to 1092t. debian/changelog | 1 + po/de.po | 309 +++++++++++++++++++++++++++++-------------------------- 2 files changed, 162 insertions(+), 148 deletions(-) commit e49be6015dcdcc3ef62ab6bbf58de5053e7dd8ad Author: Guillem Jover Date: Mon Mar 28 00:46:36 2016 +0200 debian: Enable all hardening flags Starting with gcc-5 there is no performance loss when enabling PIE on i386, so there is no point in not enabling it. Ref: https://software.intel.com/en-us/blogs/2014/12/26/new-optimizations-for-x86-in-upcoming-gcc-50-32bit-pic-mode debian/changelog | 3 +++ debian/rules | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit eb2fbf2f77e7fb9bc01ee15aed9aa77e0080e488 Author: Guillem Jover Date: Sun Jul 12 02:49:15 2015 +0200 Dpkg::Changelog::Entry::Debian: Do not parse entry multiple times Add new parse_header() and parse_trailer() methods, and deprecate check_header() and check_trailer(). This way we just parse the entry once and the getters can use the pre-parsed values. debian/changelog | 3 + scripts/Dpkg/Changelog/Debian.pm | 4 +- scripts/Dpkg/Changelog/Entry/Debian.pm | 121 +++++++++++++++++++++------------ 3 files changed, 84 insertions(+), 44 deletions(-) commit 94e241761c06ab112ec3e899dd9449784928c6c5 Author: Guillem Jover Date: Sun Mar 27 17:30:37 2016 +0200 Dpkg::Conf: Switch implementation to be hash based Store the options in a hash instead of a list so that we can more easily retrieve them. And add two accessors and an option to the filter method to control its behavior. debian/changelog | 2 ++ scripts/Dpkg/Conf.pm | 88 ++++++++++++++++++++++++++++++++++++++++----------- scripts/t/Dpkg_Conf.t | 54 +++++++++++++++++-------------- 3 files changed, 103 insertions(+), 41 deletions(-) commit 1fc3455ebaa71ad6e34e7a95d89d4bdd2718fa7a Author: Guillem Jover Date: Thu Mar 24 10:26:31 2016 +0100 Dpkg::Control::HashCore: Remove unused Dpkg::Checksums import scripts/Dpkg/Control/HashCore.pm | 1 - 1 file changed, 1 deletion(-) commit 040973c7a1e50b78ef042ef5ffbfff0440c24700 Author: Guillem Jover Date: Wed Mar 23 10:25:47 2016 +0100 Dpkg::Source::Package: Error out on sources w/o any strong digest This is used by dpkg-source --extract, which can still be disabled with --no-check. debian/changelog | 3 +++ scripts/Dpkg/Source/Package.pm | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) commit f8cecc73587e81b29acc7dc19d8c60da3eb61215 Author: Guillem Jover Date: Wed Mar 23 10:25:47 2016 +0100 Dpkg::Checksums: Add strong digest marking support This will make it possible to error out when a source package only contains no strong digests. debian/changelog | 1 + scripts/Dpkg/Checksums.pm | 33 ++++++++++++++++++++++++++++++--- scripts/t/Dpkg_Checksums.t | 3 ++- 3 files changed, 33 insertions(+), 4 deletions(-) commit b970f032e13e4296b9c0eaa91d507b30bee17f1b Author: Guillem Jover Date: Wed Mar 23 23:49:16 2016 +0100 scripts/t: Use is() instead of ok() to test for undef scripts/t/Dpkg_Deps.t | 2 +- scripts/t/Dpkg_Path.t | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit bd17966babf8705e8f02c808f646dfa149828256 Author: Guillem Jover Date: Sun Mar 6 14:29:08 2016 +0100 Dpkg::Deps: Make the dependency parser more strict Do not allow obviously broken dependencies. Closes: #784806 debian/changelog | 1 + scripts/Dpkg/Deps.pm | 10 ++++++---- scripts/t/Dpkg_Deps.t | 10 +++++++++- 3 files changed, 16 insertions(+), 5 deletions(-) commit d355b340f3a6cde7fc1cb5649d82fbebd3b97ea1 Author: Guillem Jover Date: Sat Mar 5 13:10:42 2016 +0100 scripts: Use new Dpkg::Arch functions to validate and parse architectures Closes: #784808 debian/changelog | 2 ++ scripts/Dpkg/Deps.pm | 4 ++-- scripts/dpkg-genchanges.pl | 6 +++--- scripts/dpkg-gencontrol.pl | 11 +++-------- scripts/dpkg-source.pl | 7 +++---- 5 files changed, 13 insertions(+), 17 deletions(-) commit b61fee98a751d163ea99d2667328de6f8b663520 Author: Guillem Jover Date: Sun Mar 6 19:26:13 2016 +0100 Dpkg::Arch: Add new functions to validate and parse architecture names debian/changelog | 1 + scripts/Dpkg/Arch.pm | 42 +++++++++++++++++++++++++++++++++++++++++- scripts/t/Dpkg_Arch.t | 24 +++++++++++++++++++++++- 3 files changed, 65 insertions(+), 2 deletions(-) commit 09300f0f870f19ad1123f9a798f7c702912f3b55 Author: Guillem Jover Date: Sat Feb 27 12:44:41 2016 +0100 dpkg-deb, scripts: Make the Architecture field mandatory on package builds We still accept source and binary packages with missing or empty Architecture fields, but when building either of these, we require the field to be present. debian/changelog | 1 + dpkg-deb/build.c | 15 +++++---------- scripts/Dpkg/Source/Package.pm | 4 ++-- scripts/dpkg-genchanges.pl | 2 +- scripts/dpkg-gencontrol.pl | 8 ++++---- 5 files changed, 13 insertions(+), 17 deletions(-) commit fb391b608a5bb9eda6bbb79674083e75425ab195 Author: Guillem Jover Date: Tue Mar 29 02:10:09 2016 +0200 build: Do not require passing the perl interpreter to run-script We will try to use the PERL environment variable or fallback to use perl for the scripts interpreter. debian/changelog | 1 + debian/rules | 2 +- m4/dpkg-arch.m4 | 2 +- run-script | 8 ++++---- 4 files changed, 7 insertions(+), 6 deletions(-) commit 55d3a40e1b4113bb61558bc6106912910abe16f8 Author: Guillem Jover Date: Sun Mar 20 23:19:13 2016 +0100 build: Make git log invocation immune to local configuration Some of the options that can be configured globally can leak local repository information when generating the ChangeLog, such as the --decorate=long option for example. Makefile.am | 1 + debian/changelog | 1 + 2 files changed, 2 insertions(+) commit c12278e352c68e72c114ac67c23985a744cb59b1 Author: Guillem Jover Date: Sat Mar 5 02:35:27 2016 +0100 build: Add a configuration summary to configure output Remove the notices printed inbetween the checks as this is now printed as part of the summary. configure.ac | 37 +++++++++++++++++++++++++++++++++++++ debian/changelog | 1 + m4/dpkg-build.m4 | 2 -- 3 files changed, 38 insertions(+), 2 deletions(-) commit a7f0f2c6e0551f16142b249ccd6f6f1485256dd9 Author: Guillem Jover Date: Sat Mar 5 02:33:59 2016 +0100 build: Set have_libfoo for required libraries detected m4/dpkg-libs.m4 | 3 +++ 1 file changed, 3 insertions(+) commit 11d243dc17e2c55418af79f6af997e30a57bd099 Author: Guillem Jover Date: Sat Mar 5 02:30:18 2016 +0100 build: Make it possible to build without system libmd debian/changelog | 1 + m4/dpkg-libs.m4 | 22 +++++++++++++++++----- 2 files changed, 18 insertions(+), 5 deletions(-) commit e2e1d11a1367c724aa4a6e42d4e129ade0090eb6 Author: Guillem Jover Date: Fri Mar 4 01:32:52 2016 +0100 build: Split libps and libkvm detection into their own macros and variables Do not tie these libraries in a single variable for start-stop-daemon, instead move the usage to the Makefile.am. configure.ac | 3 ++- debian/changelog | 1 + m4/dpkg-libs.m4 | 25 ++++++++++++++++++------- utils/Makefile.am | 4 +++- 4 files changed, 24 insertions(+), 9 deletions(-) commit 5637c205ed403dc1ff363f9c7550ab923be5831b Author: Guillem Jover Date: Fri Mar 4 01:29:15 2016 +0100 build: Remove unused UA_LIBS variable debian/changelog | 1 + utils/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit ab7871885c9463a484cc8ce1589ba32c321b7f56 Author: Guillem Jover Date: Sun Mar 27 18:16:37 2016 +0200 dpkg-query: Refactor pkg_array_match_pattenr() src/querycmd.c | 139 +++++++++++++++++++++++---------------------------------- 1 file changed, 57 insertions(+), 82 deletions(-) commit 3d258742dfe5cd18e4e06a5fbd855b99bb95046e Author: Guillem Jover Date: Tue Mar 1 02:30:59 2016 +0100 dpkg-query: Be more strict when parsing the COLUMNS environment variable Use strtol() instead of atoi() which does not make it possible to check for many error conditions. debian/changelog | 1 + src/querycmd.c | 11 ++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) commit ecd4baa091619cbbdd70043129dd992573580371 Author: Guillem Jover Date: Sun Mar 27 17:49:35 2016 +0200 libdpkg: Move gettext.h header inclusions outside extern blocks Our local includes when included from C++ code, and this was being done inside an extern "C" block. Reported-by: Kai Kang lib/dpkg/i18n.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit e5193b65c713e81ed8d895757be01fce946a19df Author: Guillem Jover Date: Tue Mar 1 02:27:57 2016 +0100 libdpkg: Namespace tar function names lib/dpkg/tarfn.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit c4584dd6ca809d02d03c10200cefd43d5039b0a2 Author: Guillem Jover Date: Tue Mar 1 02:26:17 2016 +0100 libdpkg: Rewrite the trigger deferred file parser from flex to manual The format is very simple, and a simple hand-written parser is smaller and avoids a build dependency. The reduction in the generated artifacts is non-insignificant. On linux-amd64 it's an overall reduction of 30KiB on stripped binaries. README | 1 - configure.ac | 2 - debian/changelog | 3 + debian/control | 2 +- lib/dpkg/.gitignore | 1 - lib/dpkg/Makefile.am | 2 +- lib/dpkg/{trigdeferred.l => trigdeferred.c} | 151 +++++++++++++++++----------- po/POTFILES.in | 2 +- 8 files changed, 99 insertions(+), 65 deletions(-) commit 08ca3174ca1a7fd7d9ba7fd1a3b136ea1a34b0d6 Author: Guillem Jover Date: Wed Mar 2 01:03:15 2016 +0100 libdpkg: Add a unit test for the trigger deferred parser debian/changelog | 1 + lib/dpkg/t/.gitignore | 1 + lib/dpkg/t/Makefile.am | 2 + lib/dpkg/t/c-trigdeferred.c | 96 ++++++++++++++++++++++++++++++++++ lib/dpkg/t/t-trigdeferred.t | 123 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 223 insertions(+) commit feaea05f7267762fe0b844e9b8d61d99a9909110 Author: Guillem Jover Date: Wed Mar 16 11:53:26 2016 +0100 dpkg: Do not error out when failing to open the SE label db on permissive mode If we are running in permissive mode (non-enforced) we should not consider SE Linux issues as errors. Closes: #811037 debian/changelog | 2 ++ src/selinux.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 94e11e11b5a77d3be7b049316971a9b617b5cc54 Author: Guillem Jover Date: Sun Mar 15 00:41:59 2015 +0100 dpkg: Search for debsig-verify in PATH instead of using an absolute path Check that the command exists in the PATH before using it. This makes it future proof, and friendlier to other systems that might not be using the same filesystem layout. It also makes it possible to use a local debsig-verify in a path such as /usr/local/bin. debian/changelog | 1 + lib/dpkg/dpkg.h | 2 +- src/unpack.c | 7 ++++--- 3 files changed, 6 insertions(+), 4 deletions(-) commit ccc09502395899eef8def40f4ef9b28cec74899e Author: Guillem Jover Date: Sun Mar 15 00:26:47 2015 +0100 dpkg: Factor find_command() out from checkpath() src/help.c | 62 +++++++++++++++++++++++++++++++++++--------------------------- src/main.h | 1 + 2 files changed, 36 insertions(+), 27 deletions(-) commit e8f3c9e67608002e835051e46067fa9d5d80b9e2 Author: Guillem Jover Date: Tue Mar 22 10:30:54 2016 +0100 Dpkg::Changelog::Debian: Move SEE ALSO section to the end debian/changelog | 1 + scripts/Dpkg/Changelog/Debian.pm | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) commit 140f6e31a841b658502217950d8252589de8ccff Author: Guillem Jover Date: Tue Mar 29 09:35:51 2016 +0200 man: Switch output encoding to UTF-8 Recent man-db implementations support man pages encoded in UTF-8, so there's no point anymore in generating man pages with legacy encodings. debian/changelog | 1 + man/po/po4a.cfg | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 12 deletions(-) commit 9175ca644354d05a9d2229ebd2a05026cdb53db7 Author: Guillem Jover Date: Mon Mar 28 00:45:12 2016 +0200 man: Add list of flags set by bug feature area debian/changelog | 1 + man/dpkg-buildflags.1 | 5 +++++ 2 files changed, 6 insertions(+) commit 1a8528bf2cdf34087ba34189ad450899d29b281f Author: Guillem Jover Date: Fri Mar 4 17:39:51 2016 +0100 man: Fix grammar in dpkg-deb(1) man page Reported-by: Dilyan Palauzov man/dpkg-deb.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1699781842381c905dc1f2c2b9c822ef0472926d Author: Guillem Jover Date: Tue Mar 1 02:31:41 2016 +0100 man, scripts: Fix typos in documentation Warned-by: lintian man/deb-src-control.5 | 3 ++- scripts/Dpkg/Conf.pm | 2 +- scripts/Dpkg/Deps.pm | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) commit fa72f4b18f88bab1dae78a5e519512807dec1e6c Author: Guillem Jover Date: Tue Mar 22 10:29:18 2016 +0100 man, Dpkg::Vendor: Document the format of the origin filename Prompted-by: Martin Michlmayr debian/changelog | 1 + man/deb-origin.5 | 13 +++++++++++-- scripts/Dpkg/Vendor.pm | 9 ++++++++- 3 files changed, 20 insertions(+), 3 deletions(-) commit 27dc82138de8e641938f48c908b54af6ba6668bf Author: Guillem Jover Date: Sat Feb 27 12:33:44 2016 +0100 man: Update field requirements of control file formats to match dpkg reality Document all fields that are just recommended instead of required, or simply add if they are recommended and did not mention the fact before. debian/changelog | 1 + man/deb-changes.5 | 4 ++-- man/deb-control.5 | 6 +++--- man/deb-src-control.5 | 4 ++-- man/dsc.5 | 6 +++--- 5 files changed, 11 insertions(+), 10 deletions(-) commit a8dece2602dc4975becb62ddccd67f181ee0dec9 Author: Guillem Jover Date: Tue Oct 7 16:48:34 2014 +0200 s-s-d: Switch kFreeBSD to use sysctl(3) Avoid libkvm-dev to make sure we always use the low-level sysctl(3) interface. debian/changelog | 2 + debian/control | 1 - utils/start-stop-daemon.c | 102 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 104 insertions(+), 1 deletion(-) commit 1fb6ccf6688321dc7d663ea2b1c86459efe91250 Author: Guillem Jover Date: Tue Nov 20 22:38:42 2012 +0100 s-s-d: Unify --help output with the rest of the tools debian/changelog | 1 + utils/start-stop-daemon.c | 90 +++++++++++++++++++++++++++-------------------- 2 files changed, 53 insertions(+), 38 deletions(-) commit 026c72c3a205547f99de05e0adcc5684a7a094fa Author: Helge Kreutzmann Date: Sun Mar 20 19:11:15 2016 +0100 Various translation fixes Found during review on debian-l10n-german scripts/po/de.po | 88 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) commit 848f149326b7d840e0b19c5a54bd44f6d864f4b4 Author: Helge Kreutzmann Date: Sun Mar 20 18:57:24 2016 +0100 Update German translation of manual pages Update to 2540t3f54u. man/po/de.po | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) commit 2adbfc3ca7a859f05899fcb2b4b071870e735654 Author: Helge Kreutzmann Date: Sun Mar 13 12:22:39 2016 +0100 Update German translation of manual pages Update to 2530t3f64u. man/po/de.po | 300 +++++++++++++++++++++++++++-------------------------------- 1 file changed, 139 insertions(+), 161 deletions(-) commit 7a7c8fd0bf2b916e08efc22e051e47cfaae8e98e Author: Helge Kreutzmann Date: Fri Mar 11 21:03:08 2016 +0100 Update German translation of manual pages Update to 2480t24f93u. Also include fixes noted during review on debian-l10n-german. man/po/de.po | 256 +++++++++++++++++++---------------------------------------- 1 file changed, 82 insertions(+), 174 deletions(-) commit ab89ff367e9b2f15ec65fc3a932526073ca3c4b4 Author: Helge Kreutzmann Date: Fri Mar 11 20:59:15 2016 +0100 Fix typo man/dsc.5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4a0b6174ae16e334ca2819e36dee1bf8efeb9927 Author: Helge Kreutzmann Date: Thu Mar 10 21:35:13 2016 +0100 Update German translation of manual pages Update to 2441t52f104u. debian/changelog | 3 + man/po/de.add | 2 +- man/po/de.po | 2413 ++++++++++++++++++++++++++++++++++++++++++++---------- 3 files changed, 2001 insertions(+), 417 deletions(-) commit 62d1cdf98ceb380c8524e1617a98aade77fb6899 Author: Helge Kreutzmann Date: Wed Mar 9 21:25:31 2016 +0100 Updated German scripts translation debian/changelog | 3 +++ 1 file changed, 3 insertions(+) commit d4fb613acab691ec66dd2d1e150b6341c09cf0b3 Author: Helge Kreutzmann Date: Wed Mar 9 21:22:04 2016 +0100 Update German scripts translation Update to 584t. Also includes various fixes found on debian-l10n-german scripts/po/de.po | 284 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 215 insertions(+), 69 deletions(-) commit d2cad80b4caaae0751f1877bacedce9059dd01b3 Author: Guillem Jover Date: Sun Mar 6 20:14:01 2016 +0100 t-deb-format: Use non-empty ar members to workaround binutils regression Bug-Debian: https://bugs.debian.org/813006 t-deb-format/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 067ebda9af9b8df3d9c267ccc00ddb82a2bb0a97 Author: Guillem Jover Date: Fri Feb 26 10:52:57 2016 +0100 dpkg: Remove FIND usage, use treewalk instead debian/changelog | 1 + lib/dpkg/dpkg.h | 3 --- src/archives.c | 66 +++++++++++++++++++------------------------------------- src/help.c | 2 +- 4 files changed, 24 insertions(+), 48 deletions(-) commit 513a6a9b568d3d65cc19f3caa72ce32a0af391a2 Author: Guillem Jover Date: Fri Feb 26 10:51:57 2016 +0100 dpkg-deb: Use the treewalk module to build the .deb control member We reduce external dependencies on commands, and get sorted file lists. Closes: #719845 debian/changelog | 2 ++ dpkg-deb/build.c | 48 +++++++++++++++++++++++++----------------------- 2 files changed, 27 insertions(+), 23 deletions(-) commit 231ba4312b8b215a2e388461d19a2b0d1b7f53c1 Author: Guillem Jover Date: Fri Feb 26 10:51:04 2016 +0100 dpkg-deb: Use the treewalk module to build the .deb data member We reduce external dependencies on commands, avoid a read syscall per byte on the pipe, reduce code substantially, and get sorted file lists. debian/changelog | 1 + dpkg-deb/build.c | 86 ++++++++++++++------------------------------------------ 2 files changed, 22 insertions(+), 65 deletions(-) commit c2989c39ecfe9b917dbbc0c6087c7b5df9f28d23 Author: Guillem Jover Date: Fri Feb 26 10:49:42 2016 +0100 libdpkg: New treewalk module This has the nice properties of avoiding duplicated stat(2) calls, not calling find(1), and sorting the output w/o stalling on the entire input being slurped and sorted. debian/changelog | 3 + lib/dpkg/Makefile.am | 2 + lib/dpkg/t/.gitignore | 1 + lib/dpkg/t/Makefile.am | 2 + lib/dpkg/t/t-tree.t | 160 +++++++++++++++ lib/dpkg/t/t-treewalk.c | 132 ++++++++++++ lib/dpkg/treewalk.c | 534 ++++++++++++++++++++++++++++++++++++++++++++++++ lib/dpkg/treewalk.h | 88 ++++++++ po/POTFILES.in | 1 + 9 files changed, 923 insertions(+) commit 40f5f8f76b023092f10eca8ab34b87fffbe3d207 Author: Guillem Jover Date: Sun Feb 21 11:36:20 2016 +0100 Dpkg::Index: Check existence of search criteria When checking a regex or a string match we should avoid comparing against undefined fields, as those produce perl warnings, and will never match anyway. We leave the CODE references alone, as the caller might want to check if the field value is undefined. Closes: #780906 Based-on-patch-by: Daniel Dehennin debian/changelog | 3 +++ scripts/Dpkg/Index.pm | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 0500e0e73c609aaa8499cd73fb8b6e7b12be2f68 Author: Carsten Hey Date: Sun Feb 21 12:07:01 2016 +0100 dpkg-maintscript-helper: Allow broken versions starting with a dash Such versions are not allowed by dpkg by default, but existing systems might have them on installed packages, or the user might have used --force-bad-version. Allow these versions in the version comparison, so that old packages can be fixed using the maintscript-helper. Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/dpkg-maintscript-helper.sh | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 10 deletions(-) commit 678e4a0def7808d90ca476dd9a4f55b8cb285c6e Author: Carsten Hey Date: Sat Feb 20 10:26:29 2016 +0100 dpkg-maintscript-helper: Anchor pathnames in sed and grep regexes Make conffile checks a bit more robust, by anchoring them at the beginning of the string. This requires both «dpkg-query -W -f» and md5sum(1) to prepended a space but nothing else to pathnames. Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/dpkg-maintscript-helper.sh | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit 2969b2690f05af1bb3dca635cb5aabaf4ff006ba Author: Carsten Hey Date: Sat Feb 20 10:25:28 2016 +0100 dpkg-maintscript-helper: Quote shell variables Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/dpkg-maintscript-helper.sh | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 10 deletions(-) commit 9fb91dd0a2629f605f2a6d1aed7a6e8b96f90670 Author: Carsten Hey Date: Fri Feb 19 11:00:23 2016 +0100 dpkg-maintscript-helper: Use fixed string matching for pathnames Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/dpkg-maintscript-helper.sh | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 6143e43239bd1e36652ad7a3fac850edbc8c76a7 Author: Guillem Jover Date: Sat Feb 20 10:11:37 2016 +0100 dpkg: Update unpack.c header comment The function is not huge any longer, just big, as it has been refactored substantially over time. And although it can still be reduced further, it is definitely not the defining trait of this file anymore. src/unpack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4edadf9234bff7dce1a34cc1fd35fc4e29591e5e Author: Guillem Jover Date: Sat Feb 20 09:56:28 2016 +0100 dpkg: Refactor pkg_check_depcon() src/unpack.c | 126 ++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 68 insertions(+), 58 deletions(-) commit 3e3458881624cf349e8c0684d3b69111c37c720d Author: Guillem Jover Date: Sat Feb 20 09:21:49 2016 +0100 dpkg: Refactor pkg_deconfigure_others() src/unpack.c | 99 ++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 53 insertions(+), 46 deletions(-) commit b2d2b8a433a8e947fd6a820b9fa77a6a250d0b02 Author: Guillem Jover Date: Sun Jun 1 00:35:09 2014 +0200 libdpkg, dpkg: Rename iterators from ‘it’ to ‘iter’ lib/dpkg/dump.c | 8 ++++---- lib/dpkg/pkg-array.c | 8 ++++---- src/enquiry.c | 28 ++++++++++++++-------------- src/help.c | 8 ++++---- src/packages.c | 8 ++++---- src/remove.c | 12 ++++++------ src/select.c | 8 ++++---- src/trigproc.c | 16 ++++++++-------- src/unpack.c | 14 +++++++------- src/verify.c | 8 ++++---- 10 files changed, 59 insertions(+), 59 deletions(-) commit 7a4322e6f24d981a490e885efe2bfaf9ddcbb7f2 Author: Guillem Jover Date: Tue Feb 16 00:48:51 2016 +0100 dpkg: Refactor pkg_remove_old_files() src/unpack.c | 305 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 159 insertions(+), 146 deletions(-) commit a39a8926794be400f24c9cb665e4028fd4f351ca Author: Guillem Jover Date: Tue Feb 16 00:14:12 2016 +0100 dpkg: Refactor pkg_update_fields() src/unpack.c | 159 ++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 85 insertions(+), 74 deletions(-) commit 0aa4f9dc6fc5733f61b9d56a13c00bc294dd1e46 Author: Guillem Jover Date: Mon Feb 15 17:49:13 2016 +0100 dpkg: Refactor pkg_disappear_others() src/unpack.c | 186 ++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 108 insertions(+), 78 deletions(-) commit b482ce05b80a1cc27f23a3a6ad7887ae589fbe56 Author: Guillem Jover Date: Mon Feb 15 17:41:16 2016 +0100 dpkg: Refactor pkg_remove_backup_files() src/unpack.c | 43 ++++++++++++++++++++++++++----------------- 1 file changed, 26 insertions(+), 17 deletions(-) commit 3e5881036f4800631f925ab78241d9a68b048ea7 Author: Guillem Jover Date: Mon Feb 15 17:25:41 2016 +0100 dpkg: Refactor pkg_remove_files_from_others() src/unpack.c | 125 +++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 69 insertions(+), 56 deletions(-) commit 02c42aa6ddb9eb350ff34a80e9632c195b0db813 Author: Guillem Jover Date: Sat Feb 20 00:24:58 2016 +0100 dpkg: Switch addfiletolist() to tar_filenamenode_queue_push() src/archives.c | 15 ++------------- src/archives.h | 3 --- src/unpack.c | 2 +- 3 files changed, 3 insertions(+), 17 deletions(-) commit 91fc77d76c59a010a33651bc286c4b127f21b0a5 Author: Guillem Jover Date: Sat Feb 20 00:24:05 2016 +0100 dpkg: Switch remove_file_from_list() to tar_filenamenode_queue_pop() The new function uses a namespaced function name, and is not based on tarcontext, nor gets an unused tar_entry argument any more. src/archives.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 68a1aec292a37aae6ff552b51de75d02e00e4c91 Author: Guillem Jover Date: Fri Feb 19 01:33:23 2016 +0100 dpkg: Switch tarcontext newfilesp member into a filenamenode_queue src/archives.c | 8 ++++---- src/archives.h | 3 ++- src/unpack.c | 20 ++++++++++---------- 3 files changed, 16 insertions(+), 15 deletions(-) commit e37401bdf52b1ed61ac4620cb9361554382a7598 Author: Guillem Jover Date: Thu Feb 18 17:57:30 2016 +0100 dpkg: Rename filenamenode_queu_push() to tar_filenamenode_queue_push() Make the function less general, as we are using an extraction specific obstack. src/archives.c | 32 ++++++++++++++++---------------- src/archives.h | 4 ++++ src/main.h | 5 ----- src/unpack.c | 4 ++-- 4 files changed, 22 insertions(+), 23 deletions(-) commit 4b86f722f1a147580c365f2fcd33606644fc565b Author: Guillem Jover Date: Thu Feb 18 17:55:23 2016 +0100 dpkg: Fix memory leak when unpacking conffiles We keep a queue of conffile filenodenames, and never free it. We should be using instead the obstack allocator, so that when we are done with this package the list entries get all released at the same time. debian/changelog | 1 + src/archives.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 13b5c7b4b9e492a27c6f592414fb253720f006c4 Author: Guillem Jover Date: Fri Feb 26 17:53:35 2016 +0100 dpkg: Encapsulate obstack usage inside new tar_pool functions These functions hide tar obstack usage, and stop requiring an explicit initialization, so that we can always safely call the allocator and it will always start from a known good state. src/archives.c | 48 ++++++++++++++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 18 deletions(-) commit 9c6738c3fed06c9e8a81b8118d79789c25df6594 Author: Guillem Jover Date: Tue Feb 16 09:27:40 2016 +0100 dpkg: Add a new struct invoke_list to store invoke hooks This gets rid of the pointer to pointer to pointer handling, by simplifying and structuring things a bit. src/main.c | 35 ++++++++++++++++------------------- src/main.h | 4 ++++ 2 files changed, 20 insertions(+), 19 deletions(-) commit 73648a0ac41522727ff67ac4a47ddca74cea5c62 Author: Guillem Jover Date: Tue Feb 16 09:26:22 2016 +0100 dpkg: Use a node instead the head pointer to traverse the namenode list src/filesdb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit b66ea0592eecdfe323a6f0f4c8a74111b5d01953 Author: Guillem Jover Date: Wed Feb 17 00:19:42 2016 +0100 man: Clarify that deb-symbols(5) documents the binary format subset The template symbol files are described in dpkg-gensymbols(1). Closes: #795163 debian/changelog | 3 +++ man/deb-symbols.5 | 4 ++++ 2 files changed, 7 insertions(+) commit 6033ef0550a7ad189f857ac366ae9745013ccf77 Author: Guillem Jover Date: Sun Feb 21 09:22:46 2016 +0100 build: Use AC_SUBST instead of AC_DEFINE for BUILD_DEVEL_DOCS debian/changelog | 2 ++ m4/dpkg-build.m4 | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit d0971206b7f6c00ea82965b10cfda56248cc56c7 Author: Guillem Jover Date: Tue Feb 16 00:48:12 2016 +0100 build: Add new gcc-6 warnings m4/dpkg-compiler.m4 | 2 ++ 1 file changed, 2 insertions(+) commit 465a927a09fe640f96b60dabf91f4d27eac077f2 Author: Guillem Jover Date: Mon Feb 22 19:17:38 2016 +0100 u-a: Remove useless alternative_has_slave() before alternative_get_slave() This gets rid of a warning with gcc-6, that does not understand that we never pass a NULL ‘sl’ pointer as we have checked previously if it has slaves via alternative_has_slave(). And gets rid of unneeded calls to alternative_has_slave(), which internally do alternative_get_slave() anyway. utils/update-alternatives.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit f52a476c69716bd7f94a6c0c1bc83e6f4795c016 Author: Guillem Jover Date: Mon Feb 22 19:17:38 2016 +0100 u-a: Move check for new slave inside alternative_evolve_slave() Let's move all the logic concerning checking if the slave link needs to be updated local to the function that was doing so. utils/update-alternatives.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 964f92016dd3d05b80d9500109cd37bd14a737da Author: Guillem Jover Date: Mon Feb 22 19:47:04 2016 +0100 u-a: Move alternative temporary extension to the build system This removes another dpkg-specific string from the code to make life easier for downstreams using update-alternatives on non-dpkg based systems. debian/changelog | 2 ++ utils/Makefile.am | 1 + utils/update-alternatives.c | 2 -- 3 files changed, 3 insertions(+), 2 deletions(-) commit cb93a53a1da27d7a1286c068b9f79d39b481e8e3 Author: Guillem Jover Date: Mon Feb 22 19:43:08 2016 +0100 u-a: Generalize admindir environment variable handling This variable is currently set by dpkg, but other package managers or callers might set it with a different name on other downstream projects. Let's move the variable name to the build system so that third parties do not have to modify the code going on to remove a dpkg-specific name. debian/changelog | 3 +++ utils/Makefile.am | 4 ++++ utils/update-alternatives.c | 10 ++++++---- 3 files changed, 13 insertions(+), 4 deletions(-) commit d266282998c59533704bfd9b019065732d5a41da Author: Guillem Jover Date: Mon Feb 15 20:31:08 2016 +0100 t-provides-self: New test case Prompted-by: Julian Andres Klode Makefile | 1 + t-provides-self/Makefile | 291 ++++++++++++++++++++++ t-provides-self/pkg-breaks-eq/DEBIAN/control | 8 + t-provides-self/pkg-breaks-ge/DEBIAN/control | 8 + t-provides-self/pkg-breaks-le/DEBIAN/control | 8 + t-provides-self/pkg-breaks/DEBIAN/control | 8 + t-provides-self/pkg-conflicts-eq/DEBIAN/control | 8 + t-provides-self/pkg-conflicts-ge/DEBIAN/control | 8 + t-provides-self/pkg-conflicts-le/DEBIAN/control | 8 + t-provides-self/pkg-conflicts/DEBIAN/control | 8 + t-provides-self/pkg-depends-eq/DEBIAN/control | 8 + t-provides-self/pkg-depends-ge/DEBIAN/control | 8 + t-provides-self/pkg-depends-le/DEBIAN/control | 8 + t-provides-self/pkg-depends/DEBIAN/control | 8 + t-provides-self/pkg-predepends-eq/DEBIAN/control | 8 + t-provides-self/pkg-predepends-ge/DEBIAN/control | 8 + t-provides-self/pkg-predepends-le/DEBIAN/control | 8 + t-provides-self/pkg-predepends/DEBIAN/control | 8 + t-provides-self/pkg-provides-10-20/DEBIAN/control | 8 + t-provides-self/pkg-provides-10/DEBIAN/control | 8 + t-provides-self/pkg-provides-20/DEBIAN/control | 8 + t-provides-self/pkg-provides/DEBIAN/control | 8 + 22 files changed, 452 insertions(+) commit fe5139a65c7997ec77d0dec556eff8c55945f60c Author: Guillem Jover Date: Tue Feb 9 19:14:06 2016 +0100 man: Fix documentation for package flags The “reinstreq” flag was mispelled, and the “ok” flag was missing. debian/changelog | 1 + man/dpkg.1 | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 536d46d7f6982052a28c4a57683843119fa0b2c2 Author: Guillem Jover Date: Sat Feb 6 22:18:28 2016 +0100 test: Add a unit test to compile perl code with warnings With «use warnings» some inermodule issues such as redefinitions of symbols are not catched, because that is too late. Define PERL in the unit test environment so that we can invoke the detected interpreter. And disable the now redundant syntax_ok() check from the strict.t unit test. Makefile.am | 1 + check.am | 1 + debian/changelog | 2 ++ t/strict.t | 3 +-- t/{strict.t => syntax.t} | 28 +++++++++++++++++++--------- 5 files changed, 24 insertions(+), 11 deletions(-) commit 8adc184ffabb309894345185704eab54a75874d0 Author: YunQiang Su Date: Sat Feb 6 02:26:48 2016 +0100 Add MIPS R6 architectures to arch tables MIPS R6 is a new release of MIPS32 and MIPS64. R6 is not fully compatible with R5-, as it adds and *removes* some instructions, and adds emulation of the removed instructions in the kernel, so old binaries can still run on new R6 CPUs, but at a significant performance cost. Closes: #807340 Signed-off-by: Guillem Jover cputable | 4 ++++ debian/changelog | 2 ++ scripts/t/Dpkg_Arch.t | 2 +- triplettable | 4 ++++ 4 files changed, 11 insertions(+), 1 deletion(-) commit 6d7d92b8d5f5e25cebae6bf2c72515d14102550b Author: Guillem Jover Date: Wed Apr 8 15:59:38 2015 +0200 dpkg-source: Add backend-specific --help options support This will print source format specific options depending on the --format version specified. debian/changelog | 1 + man/dpkg-source.1 | 2 ++ scripts/Dpkg/Source/Package.pm | 4 +++ scripts/Dpkg/Source/Package/V1.pm | 60 ++++++++++++++++++++++++++++++++ scripts/Dpkg/Source/Package/V2.pm | 52 +++++++++++++++++++++++++++ scripts/Dpkg/Source/Package/V3/Custom.pm | 12 +++++++ scripts/Dpkg/Source/Package/V3/Git.pm | 20 +++++++++++ scripts/Dpkg/Source/Package/V3/Quilt.pm | 20 +++++++++++ scripts/dpkg-source.pl | 50 ++++++++++++++++++++++++-- 9 files changed, 218 insertions(+), 3 deletions(-) commit 52e7aad6962ddbb4a247b331e3a25597fcf4ce9c Author: Guillem Jover Date: Sun Jan 31 11:22:17 2016 +0100 dpkg-genchanges: Check first for build type to short-circuit boolean expressions This way we reduce the checks to perform on the architectures. And it could allow to avoid computing the host architecture when doing source only builds. debian/changelog | 2 ++ scripts/dpkg-genchanges.pl | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) commit ddde04a8b60d6abce48ff857eda34495b3ebf059 Author: Guillem Jover Date: Sat Jan 30 10:02:36 2016 +0100 Dpkg::BuildEnv: Rename to Dpkg::Build::Env scripts/Dpkg/Arch.pm | 6 ++-- scripts/Dpkg/{BuildEnv.pm => Build/Env.pm} | 6 ++-- scripts/Dpkg/BuildFlags.pm | 34 ++++++++++---------- scripts/Dpkg/BuildOptions.pm | 6 ++-- scripts/Dpkg/BuildProfiles.pm | 8 ++--- scripts/Dpkg/Vendor.pm | 6 ++-- scripts/Makefile.am | 4 +-- scripts/dpkg-buildflags.pl | 3 +- scripts/po/POTFILES.in | 2 +- scripts/t/Dpkg_BuildEnv.t | 50 ------------------------------ scripts/t/Dpkg_Build_Env.t | 50 ++++++++++++++++++++++++++++++ 11 files changed, 88 insertions(+), 87 deletions(-) commit d122537d6df899dc1d0599e0a24ee3b27f0d9e18 Author: Guillem Jover Date: Fri Jan 29 19:44:40 2016 +0100 scripts: Use new Dpkg::Build::Types module instead of ad-hoc code scripts/dpkg-buildpackage.pl | 73 ++++++++++---------------------------------- scripts/dpkg-genchanges.pl | 67 +++++++++------------------------------- 2 files changed, 31 insertions(+), 109 deletions(-) commit 6e28595c2dd54f38b7e005355692996179e2c557 Author: Guillem Jover Date: Fri Jan 29 22:46:11 2016 +0100 Dpkg::Build::Types: Add new module scripts/Dpkg/Build/Types.pm | 192 +++++++++++++++++++++++++++++++++++++++++++ scripts/Makefile.am | 2 + scripts/po/POTFILES.in | 1 + scripts/t/Dpkg_Build_Types.t | 43 ++++++++++ 4 files changed, 238 insertions(+) commit ba511d919ea9bfe727fefb897a5503be93f1cade Author: Guillem Jover Date: Sat Jan 30 09:37:05 2016 +0100 Dpkg::Vendor::Debian: Do not enable stack-protector on nios2 This gcc target does not support stack-protector. Acked-by: Marek Vasut Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/Dpkg/Vendor/Debian.pm | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 4a2c19ed61d5b8c57f33526bf3566ac6213adae2 Author: Guillem Jover Date: Sun Jan 31 11:01:12 2016 +0100 man: Packages are automatically forgotten only if they contain no user data If a package in the database contains a selection for example, then it will not be forgotten. Closes: #813179 debian/changelog | 2 ++ man/dpkg.1 | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 5540c4d2e979ef35a118dfa1b76f62536db96943 Author: Guillem Jover Date: Fri Feb 5 18:22:08 2016 +0100 man: Clarify pathname filters behavior Document a bit how the filters work internally so that their behavior is more easily understood. Closes: #811267 debian/changelog | 2 ++ man/dpkg.1 | 15 ++++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) commit 44d4104fc13673d2a7ea4cc28efbda1136cd7340 Author: Guillem Jover Date: Fri Jan 29 10:53:48 2016 +0100 doc: Update coding style Add a new section for troff style. Add a subsection for C++ extensions. Update perl style to mention that the development checks need to pass, that private modules can use POD but need to be marked as such, and to update indentation and alignment to use soft tabs only. doc/coding-style.txt | 50 +++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 39 insertions(+), 11 deletions(-) commit dad9d31e26201422e057a4f4cd3702f53061f113 Author: Guillem Jover Date: Tue Jan 26 13:38:39 2016 +0100 Update mailmap .mailmap | 1 + 1 file changed, 1 insertion(+) commit 73b2046e49e356f8c018b4d0f53bc673a1ec620d Author: Zhou Mo Date: Mon Jan 18 02:46:33 2016 +0100 po: Update Simplified Chinese programs translation Closes: #809517 Signed-off-by: Guillem Jover debian/changelog | 1 + po/zh_CN.po | 114 ++++++++++++++++--------------------------------------- 2 files changed, 34 insertions(+), 81 deletions(-) commit 39c8339430567dfc943ed2535bf3a541b779ffb4 Author: Trần Ngọc Quân Date: Thu Jan 14 08:39:35 2016 +0700 po: Update Vietnamese programs translation Signed-off-by: Trần Ngọc Quân Signed-off-by: Guillem Jover debian/changelog | 4 ++- po/vi.po | 78 ++++++++++++-------------------------------------------- 2 files changed, 19 insertions(+), 63 deletions(-) commit 0c3262ca0a3345fb4bc16d55f3adbd97d0f75b52 Author: Guillem Jover Date: Sun Jan 24 14:00:25 2016 +0100 debian: Clarify where to find the GPL-2 license Move text about location of GPL-2 on Debian systems into a Comment field, and add the stock reference to the gnu.org site in case the license is not provided with the source code. debian/changelog | 1 + debian/copyright | 3 +++ 2 files changed, 4 insertions(+) commit 0c6d938277828f241b107adf01f13d39cf574ec0 Author: Guillem Jover Date: Sun Jan 24 13:59:07 2016 +0100 Use https:// URLs instead of http:// or git:// when possible (round three) This covers docs, code comments and packaging, which includes the dpkg git repository, copyright format URL and examples in man pages among others. README | 1 - TODO | 2 +- debian/changelog | 6 +++++- debian/control | 2 +- debian/copyright | 2 +- lib/dpkg/c-ctype.c | 2 +- lib/dpkg/c-ctype.h | 2 +- lib/dpkg/t/t-c-ctype.c | 2 +- man/deb-src-control.5 | 2 +- 9 files changed, 12 insertions(+), 9 deletions(-) commit 3456a88215ad7cd124f84da865a0a86b71ac96db Author: Guillem Jover Date: Tue Jan 26 12:25:55 2016 +0100 dpkg: Detect non-regular file archive arguments earlier We cannot handle anything else that is not a regular file (excluding symlinks to them), so detect this earlier and error out in such case. debian/changelog | 1 + src/archives.c | 4 ++++ 2 files changed, 5 insertions(+) commit 521e84da3a2b9ad62d5dbab0f4e1794aef149996 Author: Guillem Jover Date: Tue Jan 26 00:57:32 2016 +0100 dpkg: Use ohshit() instead of internerr() for unhandled dpkg-split exit codes If dpkg-split exits with an unhandled exit code we should not abort dpkg, we should just handle the error in the same way we handle errors from debsig-verify or dpkg-deb. Closes: #812679 debian/changelog | 2 ++ src/unpack.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit b52810ec8cc3415796a687a0bba6a6c70b9d53af Author: Guillem Jover Date: Mon Jan 18 02:09:03 2016 +0100 dpkg: Check that all passed archive filenames exist before queueing them We can prevent many bad situations by performing earlier checks on the archives. We'll start now by checking if the passed filenames do actually exist. And we can move some other checks here piece by piece. Closes: #809963 debian/changelog | 2 ++ src/archives.c | 19 ++++++++++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) commit 250d932511216b7d5f03cd317ed696624818e84e Author: Guillem Jover Date: Mon Jan 18 02:09:03 2016 +0100 dpkg: Print the archive filename when it cannot be accessed debian/changelog | 1 + src/unpack.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit 4313ec68d8fe5d4ccd8f345b576a0ddbe27a4931 Author: Guillem Jover Date: Sat Jan 16 20:46:48 2016 +0100 Dpkg::Source::Patch: Only warn once when a diff patches a file multiple times Reword the warning message to make it clear that the diff might be patching the file more than once, not just twice, which might be incorrect. And only emit a single warning. debian/changelog | 3 +++ scripts/Dpkg/Source/Patch.pm | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 3f11ae3b3db909f4a6fb6faba21f9688ff33a5e5 Author: Guillem Jover Date: Sat Jan 16 20:40:45 2016 +0100 Dpkg::Source: Make patching a file multiple times fatal for first quilt patch When we check if the first quilt patch in a series can be applied, we use «patch --dry-run» with other options, but that cannot work if the same diff patches a file multiple times, as patch does not record the previous state in memory. We are alredy detecting this condition, but only emitting a warning, instead make it possible to turn it into a fatal error. Closes: #810720 Reported-by: Apollon Oikonomopoulos debian/changelog | 3 +++ scripts/Dpkg/Source/Package/V3/Quilt.pm | 2 +- scripts/Dpkg/Source/Patch.pm | 9 +++++++-- 3 files changed, 11 insertions(+), 3 deletions(-) commit f18ebb4a64a92678d2c0ebd1a4dde2993b1b9577 Author: Guillem Jover Date: Sun Jan 3 19:08:09 2016 +0100 Dpkg: Fix typos in documentation scripts/Dpkg/Compression.pm | 2 +- scripts/Dpkg/Index.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 2f211a5f257712ef629cef03c2422425aa42ea12 Author: Guillem Jover Date: Tue Jan 26 12:36:21 2016 +0100 Dpkg::Control::Types: Move constant comments into their own line This gets rid of the need to align the comments when longer constants are added, and unifies the style with the rest of the code base. scripts/Dpkg/Control/Types.pm | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) commit 4b88120061f92ba94441afe9f88421325d99b305 Author: Guillem Jover Date: Sun Jan 3 18:56:28 2016 +0100 Dpkg::Control: Add new CTRL_COPYRIGHT control block types The types are CTRL_COPYRIGHT_HEADER, CTRL_COPYRIGHT_FILES and CTRL_COPYRIGHT_LICENSE. These describe the different control blocks of a machine readable debian/copyright file, as specified in . debian/changelog | 2 ++ scripts/Dpkg/Control.pm | 27 ++++++++++++++++++++++++++- scripts/Dpkg/Control/FieldsCore.pm | 35 ++++++++++++++++++++++++++++++++--- scripts/Dpkg/Control/Types.pm | 9 +++++++++ scripts/Dpkg/Index.pm | 8 ++++++++ 5 files changed, 77 insertions(+), 4 deletions(-) commit cf66d0e6f0e81db7757af9af7eee39de028f2d24 Author: Guillem Jover Date: Mon May 28 08:34:26 2012 +0200 Dpkg::Control: Add new CTRL_REPO_RELEASE control block type debian/changelog | 2 ++ scripts/Dpkg/Control.pm | 23 +++++++++++++++++------ scripts/Dpkg/Control/FieldsCore.pm | 35 +++++++++++++++++++++++++++++++---- scripts/Dpkg/Control/Types.pm | 3 +++ 4 files changed, 53 insertions(+), 10 deletions(-) commit 9497c00cf86c449115353284908198ee7567e440 Author: Guillem Jover Date: Wed Dec 30 02:20:34 2015 +0100 dselect: Use EOF instead of ERR for fgetc() errors The macro ERR is a curses one, use EOF which is a stdio value. Warned-by: gcc-6 dselect/method.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 742cb8c4fd0990867dd437cf52dd86ccabdf5f05 Author: Guillem Jover Date: Wed Dec 30 02:19:32 2015 +0100 dselect: Use EACCES instead of EWOULDBLOCK for fcntl(2) F_SETLK This fcntl(2) sub-command returns either EACCES or EAGAIN on error. Warned-by: gcc-6 debian/changelog | 1 + dselect/method.cc | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit c399906c2d576d523deacccd60d6072864279874 Author: Guillem Jover Date: Wed Dec 30 02:18:28 2015 +0100 dselect: Implement delete operator with size argument The C++14 spec states that if the delete operator is defined then the one with a size argument must also be implemented. Warned-by: gcc-6 debian/changelog | 2 ++ dselect/main.cc | 6 ++++++ 2 files changed, 8 insertions(+) commit 6ca0dfd078e9ac9303b2cbede58c239f06531a47 Author: Guillem Jover Date: Tue Dec 29 02:52:17 2015 +0100 scripts: Do not abort when traversing symlinks to directories dpkg-scanpackages and dpkg-scansources started using File::Find since commit 3f8099b21bbb934d03c340fef1925824465e0571, but did not get passed «follow_skip => 2». Closes: #809219 debian/changelog | 2 ++ scripts/dpkg-scanpackages.pl | 2 +- scripts/dpkg-scansources.pl | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) commit 35a7c62b3863429e89e527e4ab0bccc34e4c820f Author: Miguel Figueiredo Date: Tue Dec 29 17:33:26 2015 +0000 updated Portuguese translation debian/changelog | 3 + po/pt.po | 204 ++++++++++++++++++++++++++----------------------------- 2 files changed, 99 insertions(+), 108 deletions(-) commit 36e272e27c16460109604b1fa942e06187bc287c Author: Guillem Jover Date: Mon Dec 28 04:36:24 2015 +0100 libdpkg: Print correct integer parse error for short-only options Some options do not provide a long name, we should handle that and print an appropriate message, instead of passing NULL to printf. Closes: #809174 debian/changelog | 2 ++ lib/dpkg/options.c | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit 5cd5b4ff027d1397992ad086a306efdcc5553f79 Author: Guillem Jover Date: Wed Oct 21 16:18:04 2015 +0200 man: Document and improve C/C++ programs exit codes debian/changelog | 1 + man/dpkg-deb.1 | 10 ++++++++++ man/dpkg-divert.1 | 10 ++++++++++ man/dpkg-query.1 | 12 +++++++++--- man/dpkg-split.1 | 7 ++++--- man/dpkg-statoverride.1 | 17 +++++++++++++++-- man/dpkg-trigger.1 | 14 ++++++++++++++ man/dpkg-vendor.1 | 6 +++--- man/dpkg.1 | 18 ++++++++++++++++-- man/dselect.1 | 10 ++++++++++ 10 files changed, 92 insertions(+), 13 deletions(-) commit 17ab352ea8b4735eac13bd00c6394c50c0f49ba7 Author: Guillem Jover Date: Sun Oct 11 03:48:31 2015 +0200 man: Add new deb822(5) man page Adapted from the Debian policy manual. debian/changelog | 1 + debian/dpkg-dev.manpages | 1 + man/Makefile.am | 1 + man/deb822.5 | 135 +++++++++++++++++++++++++++++++++++++++++++++++ man/po/po4a.cfg | 3 ++ 5 files changed, 141 insertions(+) commit 2c0016a31f42fc8b3aefb334fbacc3941d66a950 Author: Guillem Jover Date: Sun Oct 11 03:09:45 2015 +0200 man: Document Source field version in deb-control(5) debian/changelog | 1 + man/deb-control.5 | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) commit 5bfa947cd4e8c40541bdfc71450c7030dedb3e2e Author: Guillem Jover Date: Sun Oct 11 01:11:04 2015 +0200 man: Add missing quotes debian/changelog | 1 + man/dpkg-deb.1 | 4 ++-- man/dpkg-query.1 | 4 ++-- man/dpkg.1 | 19 ++++++++++--------- 4 files changed, 15 insertions(+), 13 deletions(-) commit ed25cf75f04bd50f0841795f12d5f2234e4bd531 Author: Guillem Jover Date: Sun Oct 11 01:09:04 2015 +0200 man: Fix reference to --record-avail instead of inexistent --avail debian/changelog | 1 + man/dpkg.1 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 1e375ee0ff72ec42998c520a6deb92b106fa78ed Author: Guillem Jover Date: Sun Oct 11 00:13:42 2015 +0200 man: Mark Maintainer field as bold in deb-src-control(5) debian/changelog | 1 + man/deb-src-control.5 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 6d4221b2adfbc1610b89e0c01f833258d6f71839 Author: Guillem Jover Date: Sat Oct 10 20:56:16 2015 +0200 man: Move --audit description just after --verify in dpkg(1) These commands are related and belong together. debian/changelog | 1 + man/dpkg.1 | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) commit 65468d2a7ede58706c0949ac7e7feebab3eabee6 Author: Guillem Jover Date: Sat Oct 10 20:52:58 2015 +0200 man: Fix --remove and --purge summary formatting in dpkg(1) debian/changelog | 1 + man/dpkg.1 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit a7456aa961e25f4385b4e3dc14962a16b0edcdd8 Author: Guillem Jover Date: Sat Oct 10 20:40:40 2015 +0200 man: Remove superfluous SEE ALSO references from dpkg-source(1) debian/changelog | 1 + man/dpkg-source.1 | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) commit a52e0f2202be518b24becbbd22866b162dad11db Author: Guillem Jover Date: Mon Oct 13 11:39:39 2014 +0200 doc, man: Remove Debian specific policy references Debian, although a primary one, is just one of the many "downstreams", and dpkg should document everything it implements, so adding references to the Debian policy makes it more confusing for people that use dpkg in non-Debian systems. debian/changelog | 1 + doc/triggers.txt | 6 +++--- man/deb-control.5 | 8 +++----- man/deb-override.5 | 5 ++--- man/deb-shlibs.5 | 3 +-- man/deb-src-control.5 | 18 ++++++------------ man/dpkg-buildpackage.1 | 5 +++-- man/dselect.1 | 6 ++---- scripts/Dpkg/Changelog/Debian.pm | 8 ++------ 9 files changed, 23 insertions(+), 37 deletions(-) commit 04c342b3cc12b626725183480d8487f33e827398 Author: Guillem Jover Date: Tue May 6 01:34:40 2014 +0200 man: Add new dsc(5), deb-changelog(5) and deb-changes(5) man pages TODO | 7 -- debian/changelog | 1 + debian/dpkg-dev.manpages | 3 + man/Makefile.am | 6 +- man/deb-changelog.5 | 169 ++++++++++++++++++++++++++++++++++ man/deb-changes.5 | 188 ++++++++++++++++++++++++++++++++++++++ man/dpkg-genchanges.1 | 4 +- man/dpkg-gencontrol.1 | 1 + man/dpkg-parsechangelog.1 | 3 + man/dpkg-source.1 | 2 + man/dsc.5 | 228 ++++++++++++++++++++++++++++++++++++++++++++++ man/po/po4a.cfg | 9 ++ 12 files changed, 612 insertions(+), 9 deletions(-) commit 38ac205718000f455113269eb835db3d6312ce20 Author: Guillem Jover Date: Wed Oct 7 16:06:00 2015 +0200 man: Document missing fields Add information about the Install-Size, Built-For-Profiles and Build-Profiles fields. debian/changelog | 2 ++ man/deb-control.5 | 10 ++++++++++ man/deb-src-control.5 | 15 +++++++++++++++ 3 files changed, 27 insertions(+) commit 79c82da555743dc1a6ad8b814fba667a18ec6410 Author: Guillem Jover Date: Sat Oct 10 20:19:31 2015 +0200 man: Add references to man pages describing file formats debian/changelog | 1 + man/dpkg-genchanges.1 | 6 ++++++ man/dpkg-gencontrol.1 | 6 ++++++ man/dpkg-source.1 | 3 +++ 4 files changed, 16 insertions(+) commit 07427198de298bd08c131a9796a8d4bcadeb2b0a Author: Guillem Jover Date: Fri Oct 9 16:49:39 2015 +0200 man: Mark debian changelog format in bold debian/changelog | 1 + man/dpkg-parsechangelog.1 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit cba1e2479c69e2cee676c4a49438c5746736daf1 Author: Guillem Jover Date: Wed Oct 7 15:28:59 2015 +0200 man: Say value instead of option in deb-control(5) debian/changelog | 3 ++- man/deb-control.5 | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) commit b50f8d4247f9c68f83783a9c6fc0c1d28960f7d4 Author: Guillem Jover Date: Fri Dec 25 14:21:34 2015 +0100 Bump version to 1.18.5 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 39ac56b186ba3fb0082156084a86aed07562fc3a Author: Guillem Jover Date: Fri Dec 25 13:20:42 2015 +0100 Release 1.18.4 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8a96426df61ba02e40b7e7bf306f3e240bf37634 Author: Guillem Jover Date: Fri Dec 25 13:46:45 2015 +0100 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/de.po | 103 ++++++++++++++++++++++----------- man/po/dpkg-man.pot | 94 ++++++++++++++++++++++-------- man/po/es.po | 118 +++++++++++++++++++++++++++++--------- man/po/fr.po | 149 ++++++++++++++++++++++++++++++++++++------------ man/po/hu.po | 94 ++++++++++++++++++++++-------- man/po/it.po | 142 ++++++++++++++++++++++++++++++++++----------- man/po/ja.po | 118 +++++++++++++++++++++++++++++--------- man/po/pl.po | 121 ++++++++++++++++++++++++++++++--------- man/po/pt_BR.po | 98 ++++++++++++++++++++++--------- man/po/ru.po | 98 +++++++++++++++++++++++-------- man/po/sv.po | 143 +++++++++++++++++++++++++++++++++++----------- man/po/zh_CN.po | 96 +++++++++++++++++++++++-------- po/ast.po | 22 +++---- po/bs.po | 20 +++---- po/ca.po | 20 ++++--- po/cs.po | 20 ++++--- po/da.po | 22 +++---- po/de.po | 20 ++++--- po/dpkg.pot | 20 +++---- po/dz.po | 22 +++---- po/el.po | 22 +++---- po/eo.po | 20 ++++--- po/es.po | 20 ++++--- po/et.po | 20 +++---- po/eu.po | 20 ++++--- po/fr.po | 20 ++++--- po/gl.po | 22 +++---- po/hu.po | 22 +++---- po/id.po | 22 +++---- po/it.po | 20 ++++--- po/ja.po | 20 ++++--- po/km.po | 22 +++---- po/ko.po | 22 +++---- po/ku.po | 20 +++---- po/lt.po | 22 +++---- po/mr.po | 22 +++---- po/nb.po | 22 +++---- po/ne.po | 22 +++---- po/nl.po | 20 ++++--- po/nn.po | 22 +++---- po/pa.po | 22 +++---- po/pl.po | 20 ++++--- po/pt.po | 20 ++++--- po/pt_BR.po | 22 +++---- po/ro.po | 22 +++---- po/ru.po | 20 ++++--- po/sk.po | 20 ++++--- po/sv.po | 20 ++++--- po/th.po | 20 ++++--- po/tl.po | 22 +++---- po/tr.po | 20 ++++--- po/vi.po | 20 ++++--- po/zh_CN.po | 20 ++++--- po/zh_TW.po | 20 ++++--- scripts/po/ca.po | 50 ++++++++-------- scripts/po/de.po | 29 +++++----- scripts/po/dpkg-dev.pot | 30 +++------- scripts/po/es.po | 45 +++++++-------- scripts/po/fr.po | 47 ++++++++------- scripts/po/pl.po | 50 ++++++++-------- scripts/po/ru.po | 50 ++++++++-------- scripts/po/sv.po | 50 ++++++++-------- 93 files changed, 1699 insertions(+), 966 deletions(-) commit 27d4807a75aa86dd608e6393e8ab2d9a739f1da9 Author: Guillem Jover Date: Fri Dec 25 04:42:08 2015 +0100 debian: Add missing Build-Depends for restriction formula support Although these are really not needed, as they are available already from Debian stable, it makes it obvious for people who might want to backport dpkg to older suites or distributions. Warned-by; lintian debian/changelog | 2 ++ debian/control | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) commit b027759978c6c1e44f9a73bcf641b4dbe56e9c51 Author: Guillem Jover Date: Fri Dec 25 04:31:19 2015 +0100 debian: Fix typo in copyright file Warned-by: lintian debian/copyright | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bf9d1edb80b8b70765c6427fb289751a8c10083e Author: Julian R Date: Sun Dec 6 08:49:07 2015 +0100 po: Fix small typo in German man page translation Closes: #807156 Signed-off-by: Guillem Jover debian/changelog | 2 +- man/po/de.po | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit bcd050da05b79ac0c57ac8eb47746926630c44a6 Author: Guillem Jover Date: Tue Dec 22 02:23:31 2015 +0100 Dpkg::Control::FieldsCore: Add support for Build-Essential field Closes: #806315 debian/changelog | 2 ++ man/deb-control.5 | 5 +++++ man/deb-src-control.5 | 2 ++ scripts/Dpkg/Control/FieldsCore.pm | 3 +++ 4 files changed, 12 insertions(+) commit 0258d07b2a8adcdb524702fb6d83366191263679 Author: Paul Wise Date: Tue Dec 22 02:15:12 2015 +0100 Dpkg::Vendor::Debian: Enable timeless build flag feature by default Closes: #805872 Signed-off-by: Guillem Jover debian/changelog | 2 ++ man/dpkg-buildflags.1 | 2 +- scripts/Dpkg/Vendor/Debian.pm | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) commit db4f3d717895fcc2348579670a58ed95a7f0f4a7 Author: Marek Vasut Date: Thu Dec 24 12:32:03 2015 +0100 Add NIOS2 support to cputable NIOS2 is a little endian soft-core by Altera. Signed-off-by: Guillem Jover cputable | 1 + debian/changelog | 1 + scripts/t/Dpkg_Arch.t | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) commit 0b15d3dfb913c2bd6ea687c4061618c58b5e2c0a Author: Guillem Jover Date: Sun Dec 20 21:24:12 2015 +0100 dpkg-architecture: Fix usage of -s after other action options We should always initialize the required variables, otherwise previous action options might reset $req_vars and we get unexpected results. Reported-by: Niels Thykier debian/changelog | 2 ++ scripts/dpkg-architecture.pl | 1 + 2 files changed, 3 insertions(+) commit 9455819299d52d5bda2a12aeb8ece691472c6713 Author: Guillem Jover Date: Wed Dec 23 00:27:29 2015 +0100 man: Add a subsection separating external from internal environment variables debian/changelog | 2 ++ man/dpkg.1 | 2 ++ 2 files changed, 4 insertions(+) commit 90c148e2846892aab2f36c1774e4022a19299ce0 Author: Guillem Jover Date: Wed Dec 23 00:07:21 2015 +0100 man: Clarify in dpkg-query(1) when binary:Package gets arch-qualified In commit d658a8ec1110c9b3b20987cd903a54f59801117f the semantics of the arch-qualifications changed, update the documentation to reflect that. Closes: #801958 debian/changelog | 2 ++ man/dpkg-query.1 | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit ef02d7c9450762676d470368dc50f9201e5de5ed Author: Guillem Jover Date: Sun Dec 20 06:55:30 2015 +0100 doc: Update maintainers AUTHORS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 873b44e35962bf3be07c8950d768610d0a5710a5 Author: Yuri Gribov Date: Thu Dec 24 12:22:26 2015 +0100 dpkg: Fix physical file offset comparison The comparison function pkg_sorter_by_listfile_phys_offs passed to qsort does not satisfy qsort symmetry requirements, for some inputs pkg_sorter_by_listfile_phys_offs(a, b) != - pkg_sorter_by_listfile_phys_offs(b, a) This may cause various qsort misbehaviors e.g. failing to properly sort the input array (on some platforms qsort could even abort although that seems to not be the case for glibc-based systems). Closes: #808912 Signed-off-by: Guillem Jover Stable-Candidate: 1.16.x 1.17.x debian/changelog | 2 ++ src/filesdb.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) commit 673e96778382fdfbbbce8130cbb95785e7abf39a Author: Guillem Jover Date: Sun Dec 20 05:57:02 2015 +0100 libdpkg: Add experimental multithreaded xz compressor support This should speed up compression on multicore systems. This code has only been build tested against latest xz-utils git tree, but not run tested, as the package in Debian is too old. Rrquires xz >= 5.2.0. debian/changelog | 2 ++ lib/dpkg/compress.c | 20 +++++++++++++++++++- m4/dpkg-libs.m4 | 3 +++ 3 files changed, 24 insertions(+), 1 deletion(-) commit bc8657eda0fdde4856989385b61122eac1a4b3d9 Author: Helge Kreutzmann Date: Sun Dec 20 06:29:07 2015 +0100 Update German translation of manual pages Update to 2417t. Also include fixes noted during review on debian-l10n-german. man/po/de.po | 188 ++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 108 insertions(+), 80 deletions(-) commit 15713d12c478d25b99e952cb481063952947460c Author: Helge Kreutzmann Date: Sun Dec 20 06:05:04 2015 +0100 Update German scripts translation Update to 550t. Also includes various fixes found on debian-l10n-german scripts/po/de.po | 127 ++++++++++++++++++++++++++----------------------------- 1 file changed, 60 insertions(+), 67 deletions(-) commit c50e8dc2e9557181676808be96ae7594bf48ce8b Author: Hanno Böck Date: Thu Nov 19 01:31:19 2015 +0100 libdpkg: Fix an off-by-one read access in ar member name variable The problem here is that due to the previous loop the variable ‘i’ can be -1 and thus the expression in the conditional reads invalid memory. [guillem@debian.org: - Remove surrounding parenthesis. ] Warned-by: afl Signed-off-by: Guillem Jover Stable-Candidate: 1.16.x 1.17.x debian/changelog | 2 ++ lib/dpkg/ar.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit c66cdd38c195a44c33e73d016372ac0ef775c4de Author: Hanno Böck Date: Thu Nov 19 20:03:10 2015 +0100 dpkg-deb: Fix off-by-one write access on ctrllenbuf variable This affects old format .deb packages. Fixes: CVE-2015-0860 Warned-by: afl Signed-off-by: Guillem Jover Stable-Candidate: 1.16.x 1.17.x debian/changelog | 5 ++++- dpkg-deb/extract.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) commit 77337a8b0f6f789d79032486157f6d9260c2c53e Author: Guillem Jover Date: Sun Nov 15 15:44:16 2015 +0100 build: Try to use latest gettext available Using AM_GNU_GETTEXT_REQUIRE_VERSION specifies the minimal required gettext version, but tries to use tha latest supported version available on the system, so we can take advantage of any fixes and improvements. We cannot remove AM_GNU_GETTEXT_VERSION() for backwards compatibility reasons, otherwise older autopoint and autoreconf versions would not be able to know what is the minimal required gettext versions. configure.ac | 8 ++++++++ debian/changelog | 2 ++ 2 files changed, 10 insertions(+) commit a199f52ec15a4f12e5be453d77563dccbe660766 Author: Guillem Jover Date: Sun Nov 15 15:42:42 2015 +0100 po: Update Makevars from latest gettext 0.19.6 template dselect/po/Makevars | 25 +++++++++++++++++++++++++ po/Makevars | 25 +++++++++++++++++++++++++ scripts/po/Makevars | 25 +++++++++++++++++++++++++ 3 files changed, 75 insertions(+) commit a1d208fa56300c8545207ddf30d2762e7bf0f5c4 Author: Guillem Jover Date: Sun Nov 8 03:06:20 2015 +0100 dpkg-checkbuilddeps: Exit with 1 on unsatisfied dependencies Regression introduced in commit d287060bb1a45f5de33eb27034a7d8b27b039dbb. We cannot rely on die's error code as it might be anything. Prompted-by: David Kalnischkies debian/changelog | 2 ++ scripts/dpkg-checkbuilddeps.pl | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) commit 522a3ba2853b41602d5452be598d5ccb4d326621 Author: Guillem Jover Date: Tue Nov 3 15:39:30 2015 +0100 dpkg: Add support for DPKG_MAINTSCRIPT_DEBUG environment variable This variable will be set on the maintainer scripts environment to either 0 or 1, depending on whether dpkg was called with --debug requesting maintainer scripts debugging output. debian/changelog | 1 + man/dpkg.1 | 6 ++++++ src/script.c | 5 +++++ 3 files changed, 12 insertions(+) commit d7c33d07f37d522a14eb86265cf8a3aed169b9b3 Author: Guillem Jover Date: Mon Nov 2 04:44:05 2015 +0100 scripts/t: Improve test coverage debian/changelog | 2 ++ scripts/t/Dpkg_Arch.t | 30 ++++++++++++++++++++++++++++-- scripts/t/Dpkg_BuildEnv.t | 27 +++++++++++++++++++++++++-- scripts/t/Dpkg_BuildFlags.t | 29 +++++++++++++++++++++++++++-- scripts/t/Dpkg_BuildProfiles.t | 16 ++++++++++++++-- scripts/t/Dpkg_Dist_Files.t | 4 +++- scripts/t/Dpkg_Exit.t | 35 +++++++++++++++++++++++++++++++++-- scripts/t/Dpkg_Package.t | 4 +++- scripts/t/Dpkg_Substvars.t | 29 ++++++++++++++++++++++++----- scripts/t/Dpkg_Vars.t | 15 +++++++++++++-- scripts/t/Dpkg_Version.t | 14 +++++++++++++- 11 files changed, 185 insertions(+), 20 deletions(-) commit d92794f4a8db43959b06d4191860dcc27e5ddcbf Author: Guillem Jover Date: Fri Nov 27 20:15:35 2015 +0100 Dpkg::Source::Package: Add ‘.gitreview’ to the default ignore list debian/changelog | 1 + scripts/Dpkg/Source/Package.pm | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit db5de206928c9eb6d686b83e64d31fd1cfc40915 Author: Guillem Jover Date: Mon Nov 2 04:44:05 2015 +0100 Dpkg::Arch: Make the host gnu type retrieval more compiler agnostic Rename get_gcc_host_gnu_type() to get_host_gnu_type(), and use a hash to store the values per compiler name, so that we can keep track of different output depending on the compiler selected. Update the warning messages to not assume that CC is pointing to gcc. debian/changelog | 2 ++ scripts/Dpkg/Arch.pm | 39 +++++++++++++++++++++------------------ scripts/dpkg-architecture.pl | 10 +++++----- 3 files changed, 28 insertions(+), 23 deletions(-) commit 78b312b01d05471030f58d2c5d550fc068cb84c9 Author: Guillem Jover Date: Sat Nov 7 17:38:40 2015 +0100 Dpkg::Arch: Add a new set_host_gnu_type() This function makes it possible to get get_raw_host_arch() out from the block containing the local $gcc_host_gnu_type variable, reducing the nesting level. scripts/Dpkg/Arch.pm | 60 +++++++++++++++++++++++++++++----------------------- 1 file changed, 34 insertions(+), 26 deletions(-) commit fd4f223dd179917ca0d7d800660e53b969c46c84 Author: Guillem Jover Date: Thu Nov 12 23:02:39 2015 +0100 Dpkg::Arch: Handle an undef architecture argument in debarch_to_debtriplet() scripts/Dpkg/Arch.pm | 2 ++ 1 file changed, 2 insertions(+) commit 254fb06ea089d5d77d40d33b6ad8374c56ff55f6 Author: Guillem Jover Date: Sun Nov 1 21:32:28 2015 +0100 Dpkg::BuildFlags: Document supported feature areas debian/changelog | 1 + scripts/Dpkg/BuildFlags.pm | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) commit 31257982ef24a9e7dfe66df456fcd174ab75de7b Author: Guillem Jover Date: Sun Nov 8 03:29:44 2015 +0100 man: Clarify role of Build-Depends in deb-src-control(5) Make it clearer when does the field apply, and what is it equivalent to. Prompted-by: Johannes Schauer debian/changelog | 2 ++ man/deb-src-control.5 | 13 ++++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) commit 128ed95e865acfe99ceec1460a1513c59ad10514 Author: Guillem Jover Date: Mon Nov 2 19:35:00 2015 +0100 man: Document that dpkg-buildpacakge -nc -S implies -d debian/changelog | 1 + man/dpkg-buildpackage.1 | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit c193ca1aa220e09d6acbdea264b3f0b8a97db5d8 Author: Guillem Jover Date: Sun Oct 25 01:38:43 2015 +0200 libdpkg: Document pkg-show module lib/dpkg/pkg-show.c | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) commit be3cbc2ef633524f8dac876f77a300ed4ce956f1 Author: Guillem Jover Date: Sun Nov 8 11:33:40 2015 +0100 build: Do not quote the interpreter argument This makes it possible again to pass options to the interpreter. run-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f3af91bcb364140590ed3736f562dfe849bb6b72 Author: Guillem Jover Date: Fri Oct 30 02:35:00 2015 +0100 build: Add an configure option to choose the kind of documentation The option --disable-devel-docs can be used to override the current default, which is to build development documentation. configure.ac | 2 ++ debian/changelog | 2 ++ doc/Doxyfile.in | 6 +++--- m4/dpkg-build.m4 | 17 +++++++++++++++++ 4 files changed, 24 insertions(+), 3 deletions(-) commit c5e8c926397056044711ee9649d74c5dda2f21dc Author: Guillem Jover Date: Sun Nov 1 03:55:30 2015 +0100 build: Descend into scripts on coverage-clean rule Makefile.am | 1 + debian/changelog | 1 + 2 files changed, 2 insertions(+) commit c666a362de03187d91b6076d71b0b6c101f93302 Author: Guillem Jover Date: Fri Oct 30 02:35:00 2015 +0100 doc: Update test suite directory in Doxygen configuration doc/Doxyfile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6d2acde144b064a11f45cf6109a8ec003d58aecb Author: Guillem Jover Date: Fri Oct 30 02:13:28 2015 +0100 doc: Update Doxygen configuration from version 1.8.9.1 doc/Doxyfile.in | 238 ++++++++++++++++++++++++++++++++------------------------ 1 file changed, 135 insertions(+), 103 deletions(-) commit cb55c5b4f0662d83d3df4da25f2f87373fabe11d Author: Guillem Jover Date: Sun Oct 25 01:29:05 2015 +0200 libdpkg: Rename pkg_summary to pkgbin_summary This makes the function name consistent with the existing coding convention, and the other functions that require a pkgbin to operate. lib/dpkg/libdpkg.map | 2 +- lib/dpkg/pkg-format.c | 2 +- lib/dpkg/pkg-show.c | 2 +- lib/dpkg/pkg-show.h | 4 ++-- src/enquiry.c | 2 +- src/querycmd.c | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) commit df5deb4f20c96ffd573e8900de6981a2c3024b2a Author: Guillem Jover Date: Wed Oct 21 16:54:29 2015 +0200 dpkg-trigger: Move exit from command function to its call site This makes it explicit that the code flow stops at the call site instead of requiring the reader to know that this specific function never returns. src/trigcmd.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 97a8d2695cad465a6c9d0f4469644a8ba6f778d0 Author: Guillem Jover Date: Wed Oct 21 16:52:56 2015 +0200 dpkg-divert: Return from a command function instead of directly exiting This makes it possible to perform any necessary normal cleanup before exiting, and unifies the usage with all other command functions. debian/changelog | 2 ++ src/divertcmd.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 9c311e1a445868630f8c8e4600d7539599e49ce5 Author: Guillem Jover Date: Wed Oct 21 16:48:47 2015 +0200 u-a: Merge all action handling into a single if-else-if block Introduce two boolean variables to track when to log the command-line arguments when modifying anything on the system, and another one when modifying a single alternative to initialize and update it. This unifies the code, and will make it easier to switch it into a shared library in the future. debian/changelog | 2 ++ utils/update-alternatives.c | 45 ++++++++++++++++++++++++++++----------------- 2 files changed, 30 insertions(+), 17 deletions(-) commit e6bb801e5a30bbb4499308a81dc0c5fd25676045 Author: Guillem Jover Date: Sun Oct 18 15:42:38 2015 +0200 u-a: Switch xasprintf() to return an allocated string It should make the code more clear, and in many cases it avoids having to use a temporary variable. utils/update-alternatives.c | 59 +++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 32 deletions(-) commit 0db77512a15877ca25384b775406323a2302c125 Author: Guillem Jover Date: Sun Oct 18 15:34:45 2015 +0200 Use new str_fmt() instead of m_asprintf() It should make the code more clear, and in many cases it avoids having to use a temporary variable. dpkg-deb/build.c | 13 +++++-------- dpkg-deb/extract.c | 2 +- dpkg-deb/info.c | 4 ++-- dpkg-split/queue.c | 6 +++--- dpkg-split/split.c | 2 +- lib/dpkg/atomic-file.c | 4 ++-- lib/dpkg/dbdir.c | 6 +----- lib/dpkg/dir.c | 2 +- lib/dpkg/error.c | 2 +- lib/dpkg/options.c | 8 ++++---- lib/dpkg/path.c | 5 +---- lib/dpkg/tarfn.c | 8 ++------ lib/dpkg/triglib.c | 6 +----- src/archives.c | 5 +---- src/divertcmd.c | 12 ++++-------- src/main.c | 10 ++-------- src/script.c | 2 +- 17 files changed, 33 insertions(+), 64 deletions(-) commit 302829039a4dba8a37fa31dfc0e06ca4a8e5a04b Author: Guillem Jover Date: Sun Oct 18 06:10:56 2015 +0200 libdpkg: Add new str_fmt() This function is easier and more natural to use than m_asprintf(), and we currently never use the returned length anyway. lib/dpkg/dpkg.h | 1 + lib/dpkg/libdpkg.map | 1 + lib/dpkg/string.c | 23 ++++++++++++++++++++++- lib/dpkg/string.h | 3 ++- lib/dpkg/t/t-string.c | 19 +++++++++++++++++-- 5 files changed, 43 insertions(+), 4 deletions(-) commit 0e50ba17b2df7d84b88567d2d82b8e83febd4f11 Author: Helge Kreutzmann Date: Sun Nov 15 20:31:05 2015 +0100 Fixes and improvements Noticed while proofreading the scripts translations on debian-l10n-german man/po/de.po | 77 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 38 insertions(+), 39 deletions(-) commit 11b784200def36033925f0b5480a7f475a8c7631 Author: Helge Kreutzmann Date: Wed Nov 11 21:04:09 2015 +0100 Fixes and improvements Fix typo noticed by Ben Wiederhake and reported on debian-l10n-german. Improvements stemming from proofreading of the scripts translation. man/po/de.po | 70 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 35 insertions(+), 35 deletions(-) commit 649a1d30026029ca1744144c9b5f641e58015b71 Author: Helge Kreutzmann Date: Sun Nov 1 11:49:23 2015 +0100 Various (important) translation fixes Found during review on debian-l10n-german scripts/po/de.po | 576 +++++++++++++++++++++++++++---------------------------- 1 file changed, 285 insertions(+), 291 deletions(-) commit 7a91341446851cd3594a8b752823b8c1f26d652a Author: Guillem Jover Date: Tue Oct 13 17:39:53 2015 +0200 dpkg-deb: Refactor tarball packing into a new function dpkg-deb/build.c | 87 ++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 56 insertions(+), 31 deletions(-) commit 6559530d5e0298a57bce3b71703538d6fd225635 Author: Guillem Jover Date: Wed Oct 14 05:00:25 2015 +0200 dpkg-deb: Generate the control build dir just once dpkg-deb/build.c | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) commit af5a9c80d49839d44c1ea87e17e50be27e09204f Author: Guillem Jover Date: Sat Oct 17 05:54:25 2015 +0200 dpkg: Fix varbuf memory leaks In «dpkg --verify» and the dpkg infodb format upgrade logic. Both are not big leaks, the first is bound by the amount of packages, as the varbuf is reused for each file on each package, and the second is just one instance of a leaked varbuf. Stable-Candidate: 1.16.x 1.17.x debian/changelog | 1 + src/infodb-upgrade.c | 1 + src/verify.c | 2 ++ 3 files changed, 4 insertions(+) commit 931d9ade22f16c406769fe90e8397b3b53d15aa8 Author: Guillem Jover Date: Sat Oct 17 04:27:40 2015 +0200 libdpkg: Remove varbuf terminate() method The string() method already NUL terminates the buffer, so there is never any need to explicitly terminate it beforehand. dselect/methlist.cc | 1 - dselect/pkginfo.cc | 4 +--- dselect/pkgsublist.cc | 1 - lib/dpkg/varbuf.h | 10 +--------- 4 files changed, 2 insertions(+), 14 deletions(-) commit e7a32556af38b5630412de406d2f0842150ff086 Author: Guillem Jover Date: Sat Oct 17 04:25:56 2015 +0200 libdpkg: Add new varbuf_get_str() lib/dpkg/t/t-varbuf.c | 34 ++++++++++++++++++++++++++++++++-- lib/dpkg/varbuf.c | 10 +++++++++- lib/dpkg/varbuf.h | 3 ++- 3 files changed, 43 insertions(+), 4 deletions(-) commit da97e399c2ad884dbed77ccb2f960cfd354df25e Author: Guillem Jover Date: Sat Sep 20 02:24:37 2014 +0200 libdpkg: Add varbuf_snapshot() and varbuf_rollback() support This adds a proper interface to snapshot a varbuf state and it rollback so that a common stem can be reused on multiple instances. lib/dpkg/t/t-varbuf.c | 34 +++++++++++++++++++++++++++++++++- lib/dpkg/varbuf.c | 14 +++++++++++++- lib/dpkg/varbuf.h | 7 +++++++ src/archives.c | 11 ++++++----- src/archives.h | 2 +- src/infodb-access.c | 6 +++--- src/infodb-upgrade.c | 8 ++++---- src/remove.c | 25 ++++++++++++++----------- src/unpack.c | 4 ++-- 9 files changed, 83 insertions(+), 28 deletions(-) commit 10d77ba878eb998b3eede0c5ac7917a901de05b0 Author: Guillem Jover Date: Sat Oct 10 16:06:41 2015 +0200 libdpkg: Config-Version should also be initialized on triggers-pending A package in triggers-pending state should be considered an installed package, by not doing so we might end up not passing the correct version to the configure maintainer script and making it look like we are doing a configuration for a first install, instead of an upgrade. Closes: #801156 Reported-by: Andreas Beckmann Stable-Candidate: 1.16.x 1.17.x debian/changelog | 4 ++++ lib/dpkg/parse.c | 19 ++++++++++++------- 2 files changed, 16 insertions(+), 7 deletions(-) commit b0f1071aaff431f68825c1b749f6c6ab58475a9d Author: Guillem Jover Date: Sat Oct 17 16:57:01 2015 +0200 build: Quote paths in run-scripts This makes the script more robust, although the source tree is not really prepared to be built on paths with spaces. run-script | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 91d50f40621cb797a53e8df7b9f1381dd2a8915b Author: Guillem Jover Date: Sat Oct 17 16:51:38 2015 +0200 build: Add the dselect/methods directory to the TAP::Harness library paths This is not currently used, but it makes sure these modules are visible for future tests. check.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 17aeccf7d53858900a419b924b018d0992af8fe9 Author: Guillem Jover Date: Sat Oct 17 16:50:29 2015 +0200 build: Use absolute buildir pathnames in PATH variable This makes sure that even if any subprocess changes directory, the PATH environment variable will keep being correct. check.am | 2 +- debian/changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit f02217095bb294ab1eac879e495ffa23398ff7b6 Author: Guillem Jover Date: Fri Oct 9 16:55:35 2015 +0200 build: Set PERL5LIB globally for the test suite to the local modules directory Regression introduced in commit 34b26c7db232b300991df5fb6f52707b381df28f. Some functional tests are passing through makefile and exec barriers, where the lib parameter for TAP::Harness is lost. Reintroduce the explicit global setting of PERL5LIB so that it gets inherited for all subprocesses. Closes: #801329 Reported-by: Jérémy Bobbio Stable-Candidate: 1.17.x Makefile.am | 1 - check.am | 1 + debian/changelog | 4 ++++ 3 files changed, 5 insertions(+), 1 deletion(-) commit f3b8dfb3bdf030ca4ce2a1491f103fb9061b49c7 Author: Guillem Jover Date: Sat Oct 3 16:11:14 2015 +0200 Update Heiko Schlittermann's email address AUTHORS | 2 +- THANKS | 2 +- debian/copyright | 2 +- dselect/methods/multicd/install | 2 +- dselect/methods/multicd/setup | 2 +- dselect/methods/multicd/update | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) commit afbbf703ebdcc11b12353ccc8bca93bf901def0a Author: Guillem Jover Date: Sat Oct 3 16:09:05 2015 +0200 Update Ian Jackson's email address AUTHORS | 2 +- THANKS | 2 +- debian/copyright | 4 ++-- dpkg-deb/build.c | 2 +- dpkg-deb/dpkg-deb.h | 2 +- dpkg-deb/extract.c | 2 +- dpkg-deb/info.c | 2 +- dpkg-deb/main.c | 2 +- dpkg-split/dpkg-split.h | 2 +- dpkg-split/info.c | 2 +- dpkg-split/join.c | 2 +- dpkg-split/main.c | 2 +- dpkg-split/queue.c | 2 +- dpkg-split/split.c | 2 +- dselect/basecmds.cc | 2 +- dselect/baselist.cc | 2 +- dselect/basetop.cc | 2 +- dselect/bindings.cc | 2 +- dselect/bindings.h | 2 +- dselect/curkeys.cc | 2 +- dselect/dselect.h | 2 +- dselect/helpmsgs.cc | 2 +- dselect/helpmsgs.h | 2 +- dselect/keyoverride | 2 +- dselect/main.cc | 2 +- dselect/methkeys.cc | 2 +- dselect/methlist.cc | 2 +- dselect/method.cc | 2 +- dselect/method.h | 2 +- dselect/methods/multicd/install | 2 +- dselect/methods/multicd/setup | 4 ++-- dselect/methods/multicd/update | 2 +- dselect/methparse.cc | 2 +- dselect/mkcurkeys.pl | 2 +- dselect/pkgcmds.cc | 2 +- dselect/pkgdepcon.cc | 2 +- dselect/pkgdisplay.cc | 2 +- dselect/pkginfo.cc | 2 +- dselect/pkgkeys.cc | 2 +- dselect/pkglist.cc | 2 +- dselect/pkglist.h | 2 +- dselect/pkgsublist.cc | 2 +- dselect/pkgtop.cc | 2 +- dselect/po/ja.po | 2 +- lib/compat/alphasort.c | 2 +- lib/compat/compat.h | 2 +- lib/compat/scandir.c | 2 +- lib/compat/snprintf.c | 2 +- lib/compat/strerror.c | 2 +- lib/compat/strsignal.c | 2 +- lib/compat/unsetenv.c | 2 +- lib/compat/vsnprintf.c | 2 +- lib/dpkg/cleanup.c | 2 +- lib/dpkg/dbmodify.c | 2 +- lib/dpkg/debug.c | 2 +- lib/dpkg/depcon.c | 2 +- lib/dpkg/dlist.h | 2 +- lib/dpkg/dpkg-db.h | 2 +- lib/dpkg/dpkg.h | 2 +- lib/dpkg/dump.c | 2 +- lib/dpkg/ehandle.c | 2 +- lib/dpkg/ehandle.h | 2 +- lib/dpkg/fields.c | 2 +- lib/dpkg/file.c | 2 +- lib/dpkg/mlib.c | 2 +- lib/dpkg/namevalue.h | 2 +- lib/dpkg/nfmalloc.c | 2 +- lib/dpkg/options.c | 2 +- lib/dpkg/options.h | 2 +- lib/dpkg/parse.c | 2 +- lib/dpkg/parsedump.h | 2 +- lib/dpkg/parsehelp.c | 2 +- lib/dpkg/path-remove.c | 2 +- lib/dpkg/path.c | 2 +- lib/dpkg/pkg-array.c | 2 +- lib/dpkg/pkg-db.c | 2 +- lib/dpkg/pkg-namevalue.c | 2 +- lib/dpkg/pkg-show.c | 2 +- lib/dpkg/pkg.c | 2 +- lib/dpkg/string.c | 2 +- lib/dpkg/subproc.c | 2 +- lib/dpkg/trigdeferred.h | 2 +- lib/dpkg/trigdeferred.l | 2 +- lib/dpkg/triglib.c | 2 +- lib/dpkg/triglib.h | 2 +- lib/dpkg/trigname.c | 2 +- lib/dpkg/trignote.c | 2 +- lib/dpkg/utils.c | 2 +- lib/dpkg/varbuf.c | 2 +- lib/dpkg/varbuf.h | 2 +- lib/dpkg/version.c | 2 +- lib/dpkg/version.h | 2 +- man/deb-old.5 | 2 +- man/deb-substvars.5 | 2 +- man/deb.5 | 2 +- man/dpkg-deb.1 | 2 +- man/dpkg-distaddfile.1 | 2 +- man/dpkg-divert.1 | 2 +- man/dpkg-genchanges.1 | 2 +- man/dpkg-gencontrol.1 | 2 +- man/dpkg-parsechangelog.1 | 2 +- man/dpkg-shlibdeps.1 | 2 +- man/dpkg-source.1 | 2 +- man/dpkg-split.1 | 2 +- man/dpkg.1 | 2 +- man/po/de.po | 2 +- man/po/fr.po | 4 ++-- man/po/pl.po | 2 +- man/po/ru.po | 2 +- man/po/sv.po | 2 +- po/ja.po | 2 +- scripts/Dpkg/Vendor/Ubuntu.pm | 2 +- scripts/Dpkg/Version.pm | 2 +- scripts/dpkg-source.pl | 2 +- src/archives.c | 2 +- src/archives.h | 2 +- src/cleanup.c | 2 +- src/configure.c | 2 +- src/depcon.c | 2 +- src/divertdb.c | 2 +- src/enquiry.c | 2 +- src/errors.c | 2 +- src/filesdb.c | 2 +- src/filesdb.h | 2 +- src/help.c | 2 +- src/infodb-access.c | 2 +- src/infodb-upgrade.c | 2 +- src/main.c | 2 +- src/main.h | 2 +- src/packages.c | 2 +- src/querycmd.c | 2 +- src/remove.c | 2 +- src/script.c | 2 +- src/select.c | 2 +- src/statdb.c | 2 +- src/trigcmd.c | 2 +- src/trigproc.c | 2 +- src/unpack.c | 2 +- src/update.c | 2 +- utils/update-alternatives.c | 2 +- 140 files changed, 143 insertions(+), 143 deletions(-) commit a243173bd78e50555ef98ab5af6451a44c84f3de Author: Frans Spiesschaert Date: Fri Oct 2 18:21:33 2015 +0200 po: Update Dutch programs translation Closes: #800513 Signed-off-by: Guillem Jover debian/changelog | 1 + po/nl.po | 69 ++++++++++++-------------------------------------------- 2 files changed, 16 insertions(+), 54 deletions(-) commit 0171e6d57b73b92ebc6b7448eb367477af0bc6f3 Author: Guillem Jover Date: Sat Oct 17 21:30:17 2015 +0200 t-deb-newline: New test case Feature.mk | 1 + Makefile | 3 +++ t-deb-newline/Makefile | 8 ++++++++ t-deb-newline/pkg-newline/DEBIAN/control | 7 +++++++ "t-deb-newline/pkg-newline/file\nnewline" | 0 5 files changed, 19 insertions(+) commit a2760d848085a8278af8fc34aa9239b0493c0af4 Author: Guillem Jover Date: Sat Oct 17 21:23:10 2015 +0200 build: Make the test cases runable independently Move the feature checks into its own file so that we can make the individual test cases use the same logic. Feature.mk | 43 +++++++++++++++++++++++++++++++++++++++++++ Makefile | 33 ++------------------------------- Test.mk | 6 ++++++ 3 files changed, 51 insertions(+), 31 deletions(-) commit 7e46e388f635c33c37c8d7e27aa20b440344956a Author: Guillem Jover Date: Sun Oct 18 00:42:39 2015 +0200 build: Rework DPKG_HAS_CONFIGURE_WITH_IMPLICIT_TRIGGER_PENDING setup Explicitly undefine the variable on dpkg >= 1.17.x for now, and change the comment on 1.18.x for when it is fixed. Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 893514e4bb60bca7e8078932db932afa52af5bb6 Author: Guillem Jover Date: Sun Oct 11 15:06:27 2015 +0200 t-triggers-configure: New test case Bug-Debian: https://bugs.debian.org/801156 Makefile | 6 +++++- t-triggers-configure/Makefile | 22 ++++++++++++++++++++++ t-triggers-configure/pkg-activate/DEBIAN/control | 7 +++++++ .../pkg-activate/test/trigger/test-file | 1 + t-triggers-configure/pkg-interest-0/DEBIAN/control | 7 +++++++ .../pkg-interest-0/DEBIAN/triggers | 1 + t-triggers-configure/pkg-interest-1/DEBIAN/control | 7 +++++++ .../pkg-interest-1/DEBIAN/postinst | 15 +++++++++++++++ .../pkg-interest-1/DEBIAN/triggers | 1 + 9 files changed, 66 insertions(+), 1 deletion(-) commit 81b7c4d9a6cf884b3b8062d4cd591c5aec91e8c1 Author: Helge Kreutzmann Date: Tue Oct 6 19:40:19 2015 +0200 Update German translation of manual pages Update to 2415t. Also include fixes noted during review on debian-l10n-german. debian/changelog | 3 ++ man/po/de.po | 139 ++++++++++++++++++++++++++++--------------------------- 2 files changed, 75 insertions(+), 67 deletions(-) commit 3f8099b21bbb934d03c340fef1925824465e0571 Author: Guillem Jover Date: Fri Oct 2 13:57:57 2015 +0200 scripts: Switch all find(1) command calls to File::Find The find(1) command has subtle behavior differences depending on the implementation (for example BSD vs GNU), the perl module is more portable and has a more consistent behavior, such as always canonicalizing the pathnames. Closes: #800649 debian/changelog | 3 +++ scripts/dpkg-scanpackages.pl | 28 ++++++++++++++-------------- scripts/dpkg-scansources.pl | 15 ++++++++------- 3 files changed, 25 insertions(+), 21 deletions(-) commit a1bb7029b2cd3507ee27434af10354f4fad0f331 Author: Guillem Jover Date: Tue Sep 29 02:35:49 2015 +0200 man: Clarify that the md5sum check on «dpkg --verify» Mention that it is performed on the file contents, and failures denote changed content. Closes: #760248 debian/changelog | 2 ++ man/dpkg.1 | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 2be668a86abd464ebfba4257abaef09b57a63098 Author: Guillem Jover Date: Mon Sep 28 15:52:10 2015 +0200 man: Move target architecture description to the TERMS section People expect the terms to be described in the section of the same name, instead of on some random command-line option. Closes: #799046 debian/changelog | 5 +++++ man/dpkg-architecture.1 | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) commit 856da9cf1198abd433124c75d74507bfbf5eae65 Author: Mert Dirik Date: Mon Sep 28 15:33:07 2015 +0200 po: Update Turkish programs translation Closes: #799875 Signed-off-by: Guillem Jover debian/changelog | 1 + po/tr.po | 80 +++++++++++++------------------------------------------- 2 files changed, 19 insertions(+), 62 deletions(-) commit f22ad4d12318c55b599d29ca46be9c137107a550 Author: Helge Kreutzmann Date: Tue Sep 22 19:50:49 2015 +0200 Update German scripts translation Update to 552t. Also includes various fixes found e.g. on debian-l10n-german debian/changelog | 3 +++ scripts/po/de.po | 69 +++++++++++++++++++++++++++----------------------------- 2 files changed, 36 insertions(+), 36 deletions(-) commit d85bfcff7315b627edc0fb623574afbe6491eb0c Author: Kenshi Muto Date: Mon Sep 21 18:31:10 2015 +0200 po: Update Japanese program translations Signed-off-by: Guillem Jover debian/changelog | 3 +- po/ja.po | 246 +++++++++++++++++-------------------------------------- 2 files changed, 76 insertions(+), 173 deletions(-) commit f47156235d5b46609963f99d6ba996c473433c94 Author: Guillem Jover Date: Mon Sep 21 07:49:16 2015 +0200 Bump version to 1.18.4 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit ef4ebe74db2d2e16f4758eb708ff97014720a7e6 Author: Guillem Jover Date: Mon Sep 21 07:11:51 2015 +0200 Release 1.18.3 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit cc61d0133e403cfdcfb6086bbaa55806319ecc11 Author: Guillem Jover Date: Mon Sep 21 07:17:31 2015 +0200 po: Regenerate .pot files and merge .po files with them dselect/po/bs.po | 20 ++-- dselect/po/ca.po | 25 +++-- dselect/po/cs.po | 25 +++-- dselect/po/da.po | 25 +++-- dselect/po/de.po | 25 +++-- dselect/po/dselect.pot | 24 ++--- dselect/po/el.po | 25 +++-- dselect/po/es.po | 25 +++-- dselect/po/et.po | 25 +++-- dselect/po/eu.po | 25 +++-- dselect/po/fr.po | 36 ++++--- dselect/po/gl.po | 25 +++-- dselect/po/hu.po | 20 ++-- dselect/po/id.po | 25 +++-- dselect/po/it.po | 25 +++-- dselect/po/ja.po | 25 +++-- dselect/po/ko.po | 25 +++-- dselect/po/nb.po | 25 +++-- dselect/po/nl.po | 25 +++-- dselect/po/nn.po | 25 +++-- dselect/po/pl.po | 25 +++-- dselect/po/pt.po | 25 +++-- dselect/po/pt_BR.po | 25 +++-- dselect/po/ro.po | 25 +++-- dselect/po/ru.po | 25 +++-- dselect/po/sk.po | 25 +++-- dselect/po/sv.po | 25 +++-- dselect/po/tl.po | 25 +++-- dselect/po/vi.po | 25 +++-- dselect/po/zh_CN.po | 25 +++-- dselect/po/zh_TW.po | 25 +++-- man/po/de.po | 45 ++++---- man/po/dpkg-man.pot | 56 ++++------ man/po/es.po | 105 ++++++++++--------- man/po/fr.po | 105 ++++++++++--------- man/po/hu.po | 80 ++++++++------- man/po/it.po | 111 +++++++++++--------- man/po/ja.po | 105 ++++++++++--------- man/po/pl.po | 105 ++++++++++--------- man/po/pt_BR.po | 76 +++++++------- man/po/ru.po | 80 ++++++++------- man/po/sv.po | 105 ++++++++++--------- man/po/zh_CN.po | 71 ++++++------- po/ast.po | 131 +++++++++++++----------- po/bs.po | 101 +++++++++--------- po/ca.po | 259 +++++++++++++++++++++++++++++----------------- po/cs.po | 127 ++++++++++++----------- po/da.po | 127 ++++++++++++----------- po/de.po | 129 ++++++++++++----------- po/dpkg.pot | 101 +++++++++--------- po/dz.po | 124 +++++++++++----------- po/el.po | 126 ++++++++++++----------- po/eo.po | 127 ++++++++++++----------- po/es.po | 129 ++++++++++++----------- po/et.po | 124 +++++++++++----------- po/eu.po | 129 ++++++++++++----------- po/fr.po | 265 ++++++++++++++++++++++++++++++++---------------- po/gl.po | 126 ++++++++++++----------- po/hu.po | 122 +++++++++++----------- po/id.po | 139 +++++++++++++------------ po/it.po | 129 ++++++++++++----------- po/ja.po | 129 ++++++++++++----------- po/km.po | 122 +++++++++++----------- po/ko.po | 137 ++++++++++++++----------- po/ku.po | 105 ++++++++++--------- po/lt.po | 112 ++++++++++---------- po/mr.po | 122 +++++++++++----------- po/nb.po | 135 +++++++++++++----------- po/ne.po | 122 +++++++++++----------- po/nl.po | 131 +++++++++++++----------- po/nn.po | 114 +++++++++++---------- po/pa.po | 112 ++++++++++---------- po/pl.po | 127 ++++++++++++----------- po/pt.po | 133 +++++++++++++----------- po/pt_BR.po | 124 +++++++++++----------- po/ro.po | 135 +++++++++++++----------- po/ru.po | 131 +++++++++++++----------- po/sk.po | 131 +++++++++++++----------- po/sv.po | 127 ++++++++++++----------- po/th.po | 125 +++++++++++++---------- po/tl.po | 116 +++++++++++---------- po/tr.po | 131 +++++++++++++----------- po/vi.po | 142 ++++++++++++++------------ po/zh_CN.po | 125 +++++++++++++---------- po/zh_TW.po | 125 +++++++++++++---------- scripts/po/ca.po | 50 ++++++--- scripts/po/de.po | 41 ++++---- scripts/po/dpkg-dev.pot | 36 ++++--- scripts/po/es.po | 50 ++++++--- scripts/po/fr.po | 211 ++++++++++++++++++++++++++------------ scripts/po/pl.po | 50 ++++++--- scripts/po/ru.po | 50 ++++++--- scripts/po/sv.po | 50 ++++++--- 93 files changed, 4333 insertions(+), 3552 deletions(-) commit 6c07fabfd53228a5c51596f2f26c8872c141833a Author: Trần Ngọc Quân Date: Thu Sep 17 09:41:35 2015 +0700 po: Update Vietnamese programs translation Signed-off-by: Trần Ngọc Quân Signed-off-by: Guillem Jover debian/changelog | 1 + po/vi.po | 25 +++++++++---------------- 2 files changed, 10 insertions(+), 16 deletions(-) commit 176098fb7eb9279339f418ac6c11653ddbe5a859 Author: Sven Joachim Date: Thu Sep 17 17:31:29 2015 +0200 s-s-d: Do not set changegroup unconditionally Commit 3db7a6eb4fd16b4cea475009bd80be3a41ada014 would always set changegroup in the --chuid option, even if no colon is given on the commandline. [guillem@debian.org: - Avoid an else from a fatal if. ] Signed-off-by: Guillem Jover utils/start-stop-daemon.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit d287060bb1a45f5de33eb27034a7d8b27b039dbb Author: Guillem Jover Date: Thu Sep 17 18:14:00 2015 +0200 scripts: Use error() and errormsg() instead of printing on STDERR directly This way any transformation done for error messages gets applied consistently to all error output. scripts/Dpkg/Source/Package/V1.pm | 3 +-- scripts/dpkg-checkbuilddeps.pl | 8 ++++---- 2 files changed, 5 insertions(+), 6 deletions(-) commit 9a54c92f8b09bf2b267b34542ed907a6fa791e09 Author: Guillem Jover Date: Thu Sep 17 18:01:37 2015 +0200 Dpkg::Gettext: Add new function N_ debian/copyright | 1 + scripts/Dpkg/Gettext.pm | 28 +++++++++++++++++++++++++--- scripts/po/Makevars | 3 ++- 3 files changed, 28 insertions(+), 4 deletions(-) commit a603506740df8e83d441c72f1de234b9ba709693 Author: Guillem Jover Date: Thu Sep 17 02:03:53 2015 +0200 dselect: Initialize all baselist member variables Warned-by: coverity dselect/baselist.cc | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) commit 9a75ba2a93f349bc74fd80068bc4abc5a44f728b Author: Guillem Jover Date: Thu Sep 17 02:03:32 2015 +0200 dselect: Move sigwinch baselist member variables into setupsigwinch() dselect/baselist.cc | 5 +++-- dselect/dselect.h | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) commit 21e982448e8dda1ac6c534303a8ba4f54b46127e Author: Guillem Jover Date: Thu Sep 17 02:00:14 2015 +0200 dselect: Refactor SIGWINCH signal blocking and unblocking This way we can move the sigset_t sigwinchset declaration into the new sigwinch_mask() member function instead of having it as a member variable. dselect/baselist.cc | 21 ++++++++++++++++++--- dselect/dselect.h | 3 ++- dselect/methlist.cc | 6 ++---- dselect/pkglist.cc | 6 ++---- 4 files changed, 24 insertions(+), 12 deletions(-) commit 908261815da543e2b9a4ec046e6859e68ea26431 Author: Guillem Jover Date: Wed Sep 16 02:14:31 2015 +0200 libdpkg: Do not try to release the triggers lock on dry-run We were installing a dummy cleanup handler, but removing it on some error conditions when returning from trigdef_update_start(), but trigdef_process_done() was expecting to always have a cleanup handler to pop. Reported-by: David Kalnischkies debian/changelog | 2 ++ lib/dpkg/trigdeferred.l | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) commit f467eb0f53d3b78e8565790e8caf008b60abac66 Author: Guillem Jover Date: Tue Sep 15 15:28:39 2015 +0200 libdpkg: Fix inadvertent license change back from GPL2 to GPL2+ In commit b95907e6e0f3f25136fb2ebcc8d3489efb208dea, several functions were refactored out from src/filesdb.c (with a GPL2+ license), into lib/utils.c (with a GPL2 license), inadvertently making them change license. Ian clarified that this was a mistake in: Signed-off-by: Ian Jackson Signed-off-by: Guillem Jover debian/changelog | 1 + debian/copyright | 8 +------- lib/dpkg/utils.c | 7 +++++-- 3 files changed, 7 insertions(+), 9 deletions(-) commit b67c481e2e12b6239b1642e7e52fe29db7e94f28 Author: Guillem Jover Date: Tue Sep 15 15:33:54 2015 +0200 dselect: Switch multicd method license from GPL2 to GPL2+ All authors have agreed to the change: Heiko in Martin in Ian in Raphaël in Guillem with this commit. Signed-off-by: Heiko Schlittermann Signed-off-by: Martin Schulze Signed-off-by: Ian Jackson Signed-off-by: Raphaël Hertzog Signed-off-by: Guillem Jover debian/changelog | 2 ++ debian/copyright | 10 +--------- dselect/methods/multicd/install | 5 +++-- dselect/methods/multicd/setup | 5 +++-- dselect/methods/multicd/update | 5 +++-- 5 files changed, 12 insertions(+), 15 deletions(-) commit c7413c2c4fd3db02bc6aa9c5513b8490faea63d4 Author: Guillem Jover Date: Tue Sep 15 20:59:50 2015 +0200 s-s-d: Remove now unused xstrdup() function Warned-by: gcc utils/start-stop-daemon.c | 11 ----------- 1 file changed, 11 deletions(-) commit 571df9b2933bbd34c11ba4536875e8c3803e0342 Author: Guillem Jover Date: Tue Sep 15 20:56:36 2015 +0200 u-a: Do not try to free() a «const char *» The returned value is always allocated now, and the call sites are respinsible for its release, so it should not have been a «const char *» pointer, modify the call tree to make it «char *». Warned-by: gcc utils/update-alternatives.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit ae83a2d9838e3f6a4cfc4b49a94681537147142b Author: Guillem Jover Date: Tue Sep 15 23:21:26 2015 +0200 dpkg-shlibdeps: Move regex variable inside function The function is defined after its first call site, so the regex variable is not found when compiling the code. scripts/dpkg-shlibdeps.pl | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) commit b83c018366b00a804b34598234b7df1bcdeec832 Author: Guillem Jover Date: Tue Sep 15 21:52:42 2015 +0200 t: Filter out any environment variable starting with DEB_ in mk.t These might affect the test results, and make them fail. debian/changelog | 2 ++ scripts/t/mk.t | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit be89151850c2cd592bd676810ebf2a3ea4122d3d Author: Guillem Jover Date: Wed Sep 16 13:34:40 2015 +0200 t: Separate perl-critic tests with blank lines to make them more readable t/critic/perlcriticrc | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) commit 2fe0977d0895a91b7a8f5a669dc9dde5277dc936 Author: Guillem Jover Date: Tue Sep 15 19:45:58 2015 +0200 t: Disable perl-critic RegularExpressions::ProhibitEnumeratedClasses We work primarily with ASCII, so we want to specify the exact characters to match. t/critic/perlcriticrc | 3 +++ 1 file changed, 3 insertions(+) commit 7af0e3ba84361d4df748e43b372e2abe2f3d9c11 Author: Helge Kreutzmann Date: Wed Sep 16 22:31:22 2015 +0200 Correct incorrect translation as spotted by Sven Joachim scripts/po/de.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 40d2c52132ff600a3bc74fb197b484670164ce55 Author: Helge Kreutzmann Date: Wed Sep 16 20:50:23 2015 +0200 Update German translation of manual pages Update to 2415t. debian/changelog | 3 ++ man/po/de.po | 120 +++++++++++++++++++++++++++---------------------------- 2 files changed, 63 insertions(+), 60 deletions(-) commit 0f5492abafa79b49f8f18a8873c359ce09162d00 Author: Helge Kreutzmann Date: Wed Sep 16 19:48:54 2015 +0200 Update German scripts translation Update to 553t. scripts/po/de.po | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) commit bc07306f4e975bcca1b4197a35341e928fef1c89 Author: Guillem Jover Date: Mon Sep 14 21:27:20 2015 +0200 s-s-d: Fix short-lived memory leak when parsing --chuid Introduced in commit 3db7a6eb4fd16b4cea475009bd80be3a41ada014. Warned-by: coverity utils/start-stop-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit de6b7323ff3929d70a849de28bb4606ab32360a5 Author: Guillem Jover Date: Mon Sep 14 21:22:30 2015 +0200 u-a: Fix memory leak in alternative_config_all() Warned-by: coverity utils/update-alternatives.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 244f260024836a0a9a04b1f42f4858d1ee142af7 Author: Guillem Jover Date: Tue Sep 15 02:42:49 2015 +0200 man: Mark each individual required field as such Do not use segregated sections for required and optional fields, they are more difficult to organize this way. debian/changelog | 2 ++ man/deb-control.5 | 12 +++++------- man/deb-origin.5 | 5 ++--- 3 files changed, 9 insertions(+), 10 deletions(-) commit bb24616fe84b225214469d925c3db573166924dd Author: Guillem Jover Date: Tue Sep 15 02:38:40 2015 +0200 man: Add missing dashes to package-list in deb-src-control(5) debian/changelog | 1 + man/deb-src-control.5 | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) commit 9043cdef192332f3a0fc710731d3bf7e73aaa3aa Author: Guillem Jover Date: Mon Sep 14 16:37:07 2015 +0200 debian: Use --with-devlibdir to only switch libdpkg-dev to a multiarch dir The perl plugins and dselect methods need to use the non-multiarch directory, or things break. We can use now the new option to only install the C libdpkg files in a multiarch enabled path. The fix from commit 3ce3a7adeb8c815734a35b95aee96bacd1aafde4 was not correct, as libdpkg.pc was not moved to the multiarch directory and was making the build fail, because it needs to have a libdir matching the directory where the library was installed. debian/changelog | 5 ++--- debian/rules | 7 +------ 2 files changed, 3 insertions(+), 9 deletions(-) commit eae0b17537596dc5589598c4724feb14c5d7e949 Author: Guillem Jover Date: Mon Sep 14 16:14:42 2015 +0200 build: Add a new --with-devlibdir configure option This will make it possible to use a different directory for the C libdpkg files to the dselect methods and perl plugins directory. configure.ac | 2 ++ debian/changelog | 2 ++ lib/dpkg/Makefile.am | 4 ++-- lib/dpkg/libdpkg.pc.in | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) commit 23020a4da876727a0b1c412bf287cf80ba1cfc66 Author: Guillem Jover Date: Mon Sep 14 04:45:15 2015 +0200 perl: Split overlong regexes into multiline extended regexes This should make the regular expressions easier to read and understand, and allows to add comments describing specific parts. Addresses RegularExpressions::RequireExtendedFormatting. Warned-by: perlcritic debian/changelog | 1 + dselect/methods/Dselect/Ftp.pm | 11 ++++-- scripts/Dpkg/Changelog/Debian.pm | 66 +++++++++++++++++++++++++++++----- scripts/Dpkg/Changelog/Entry/Debian.pm | 35 +++++++++++++++--- scripts/Dpkg/Shlibs/Objdump.pm | 15 ++++++-- scripts/dpkg-shlibdeps.pl | 14 +++++++- src/t/dpkg_divert.t | 12 +++++-- t/critic.t | 1 + t/critic/perlcriticrc | 7 ++-- 9 files changed, 141 insertions(+), 21 deletions(-) commit bc7701399f90ec24fc54ca7d893d2088a188b4d8 Author: Guillem Jover Date: Mon Sep 14 03:48:48 2015 +0200 t: Fix coding style src/t/dpkg_divert.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e65aa3db04eb908c9507d5d356a95cedb890814d Author: Guillem Jover Date: Sun Sep 6 21:25:00 2015 +0200 dpkg-deb: Fix off-by-one write access on versionbuf variable Closes: #798324 Warned-by: afl Reported-by: Jacek Wielemborek Stable-Candidate: 1.16.x 1.17.x debian/changelog | 2 ++ dpkg-deb/extract.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 64acb4e4b98d7abe7436d83f0d64f0a3238fe5f3 Author: Guillem Jover Date: Tue Sep 1 19:04:57 2015 +0200 dpkg: Fix --verify with --root The code was not taking into account the root prefix when verifying pathnames, which resulted in all files failing to verify. debian/changelog | 1 + src/verify.c | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) commit 21f5898d846a1cd69bdc6849e2097168cde02fdf Author: Guillem Jover Date: Tue Aug 18 15:52:28 2015 +0200 Dpkg::Changelog::Entry::Debian: Catch bogus month names Check if the month is a valid abbreviated month name, with proper capitalization, and check explicitly for unabbreviated month names, otherwise the error message might be too confusing. debian/changelog | 2 ++ scripts/Dpkg/Changelog/Entry/Debian.pm | 21 +++++++++++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) commit f2471e8f413d86b2f483c1fc73daac7967ab0b68 Author: Guillem Jover Date: Tue Aug 18 15:52:28 2015 +0200 Dpkg::Changelog::Entry::Debian: Do not abort on Time::Piece parse errors The Date::Parse str2time() function returns undef on parse errors, but Time::Piece strptime() aborts, so to preserve the previous behavior we need to trap any such errors, and handle them ourselves, as the caller might want to warn instead. Closes: #795936 debian/changelog | 3 +++ scripts/Dpkg/Changelog/Entry/Debian.pm | 8 +++++--- 2 files changed, 8 insertions(+), 3 deletions(-) commit 98b4330b2cde21512a87a751553b48e2b83e5b55 Author: Guillem Jover Date: Mon Aug 31 05:07:18 2015 +0200 Dpkg::Source::Package::V2: Do not warn when removing an empty subdirectory When extracting a source package, do not warn if the pathname to remove is an empty directory, just silently remove it, as it might be part of a git repository, as a submodule for example. Closes: #796671 debian/changelog | 2 ++ scripts/Dpkg/Source/Package/V2.pm | 4 ++++ 2 files changed, 6 insertions(+) commit 90153db09cea93c94f7b1520e81814361cc5fcde Author: Steven Chamberlain Date: Mon Aug 31 04:40:53 2015 +0200 Add new kfreebsd-armhf support Closes: #796283 Signed-off-by: Guillem Jover debian/changelog | 2 ++ ostable | 1 + triplettable | 1 + 3 files changed, 4 insertions(+) commit 51f3204e3d8b66af121da86c3b885d95ee509164 Author: Guillem Jover Date: Sat Aug 8 02:49:15 2015 +0200 u-a: Remove subcall and surrounding code This function and macros are unused, now that all commands have been reimplemented fully as built-ins. utils/update-alternatives.c | 51 --------------------------------------------- 1 file changed, 51 deletions(-) commit 9e93806ab9d6f719ad24fc2567f5810ba69315d2 Author: Guillem Jover Date: Sat Aug 8 02:40:27 2015 +0200 u-a: Reimplement --set-selections as a built-in command Do not execute itself with --set or --auto for each alternative to set a selection for, just handle them in-process. debian/changelog | 2 ++ utils/update-alternatives.c | 22 ++++++++++++---------- 2 files changed, 14 insertions(+), 10 deletions(-) commit c9c7a4e39babc7467c42d1c9808c83c05ed2e9bc Author: Guillem Jover Date: Sat Aug 8 01:57:37 2015 +0200 u-a: Reimplement --all as a fully built-in command Do not execute itself with --config for each alternative to configure, just handle them all in-process. debian/changelog | 2 ++ utils/update-alternatives.c | 39 +++++++++++++++++++++++++-------------- 2 files changed, 27 insertions(+), 14 deletions(-) commit 0fd9fb9b031efc0241e0beca6ae66de1820cbc5b Author: Guillem Jover Date: Sat Sep 12 17:30:03 2015 +0200 u-a: Move selection functions after alternative_update() We will need to use functions defined further down the file, so let's move these ones after alternative_update(). utils/update-alternatives.c | 246 ++++++++++++++++++++++---------------------- 1 file changed, 123 insertions(+), 123 deletions(-) commit 3b839f916b5b7a209eab9acef50281ebd50b42fd Author: Guillem Jover Date: Fri Aug 7 19:13:01 2015 +0200 u-a: Refactor config, remove, set_manual and set_auto actions This simplifies the main() function, and will allow reusing some of these new functions to avoid having to call itself. utils/update-alternatives.c | 136 +++++++++++++++++++++++++++++--------------- 1 file changed, 89 insertions(+), 47 deletions(-) commit 73b937b90836e15a56e75bd86814e32b825ef9eb Author: Guillem Jover Date: Fri Aug 7 19:11:23 2015 +0200 u-a: Rename alternative_remove to alternative_remove_files We will use this name for the actual alternative remove action. utils/update-alternatives.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e8fb0382021ccb2baf704a19653477250952a844 Author: Guillem Jover Date: Thu Dec 18 20:56:11 2014 +0100 u-a: Move current best alternative from the trail to the head No callers have been found in Debian parsing the best version of an alternative. debian/changelog | 2 ++ utils/update-alternatives.c | 11 +++++------ 2 files changed, 7 insertions(+), 6 deletions(-) commit 55661248cc3028446b9e73eb17e41fa12aad2b54 Author: Guillem Jover Date: Thu Dec 18 20:55:24 2014 +0100 u-a: Print master and slave links on --display debian/changelog | 1 + man/update-alternatives.1 | 1 + utils/update-alternatives.c | 3 +++ 3 files changed, 5 insertions(+) commit 93748e328ff3912d3503b323881a2df556d80fad Author: Guillem Jover Date: Fri Aug 7 03:35:57 2015 +0200 libdpkg: Do not fallback to strlen() when using strcspn() The strcspn() function always returns the requested length, there is no need to fallback to strlen(). lib/dpkg/pkg-format.c | 4 ---- lib/dpkg/pkg-show.c | 9 ++------- 2 files changed, 2 insertions(+), 11 deletions(-) commit 7d493c3ce4c816ba2142f29066f26f6bc4b63b54 Author: Guillem Jover Date: Wed Apr 30 22:04:43 2014 +0200 libdpkg, dpkg-divert: Mark unimportant unlink() return code as unwanted Make it explicit that we do not care about the return code of these unlink() calls. Warned-by: coverity lib/dpkg/cleanup.c | 2 +- lib/dpkg/dbmodify.c | 2 +- src/divertcmd.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 3db7a6eb4fd16b4cea475009bd80be3a41ada014 Author: Guillem Jover Date: Thu May 1 16:34:24 2014 +0200 s-s-d: Fix short-lived memory leaks As a side effect now a missing group after ‘:’ on --chuid is a fatal error. Warned-by: coverity debian/changelog | 2 ++ utils/start-stop-daemon.c | 43 ++++++++++++++++++++++++++++++------------- 2 files changed, 32 insertions(+), 13 deletions(-) commit 3ce3a7adeb8c815734a35b95aee96bacd1aafde4 Author: Guillem Jover Date: Sun Aug 9 05:38:12 2015 +0200 debian: Do not change libdir for the entire dpkg This changes too many directories that are expected to be non-multiarch aware. Instead perform the moving to the correct multiarch directories in debian/rules. Closes: #794977 debian/changelog | 3 +++ debian/dselect.install | 2 +- debian/libdpkg-perl.install | 2 +- debian/rules | 7 ++++++- 4 files changed, 11 insertions(+), 3 deletions(-) commit 56a777da0bc20dd1c49564e2a97fc7fdfe93aa51 Author: Guillem Jover Date: Sun Aug 9 05:25:28 2015 +0200 debian: Use an intermediate variable to hold debian/tmp debian/rules | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 6b421f74021f21fb2dae97f3caacdf9e3c805b29 Author: Guillem Jover Date: Sun Aug 9 05:49:06 2015 +0200 debian: Remove unneeded --sourcedir options from dh_install calls With debhelper compatibility 7 and above, debian/tmp is used by default. debian/changelog | 2 ++ debian/rules | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 87dfde5acfeb60f2b647902663c300068f85942d Author: Sébastien Poher Date: Fri Sep 11 17:03:12 2015 +0200 po: Update French translations Closes: #798369, #798370, #798371 Signed-off-by: Guillem Jover debian/changelog | 5 + dselect/po/fr.po | 96 ++++------- po/fr.po | 247 +++++++++------------------ scripts/po/fr.po | 495 ++++++++++++------------------------------------------- 4 files changed, 210 insertions(+), 633 deletions(-) commit 2239f86b2249dedc457350af959367eb0258ada4 Author: Sven Joachim Date: Sun Aug 9 11:10:20 2015 +0200 German dpkg translation update Update to 1093t. debian/changelog | 1 + po/de.po | 77 +++++++++++++------------------------------------------- 2 files changed, 19 insertions(+), 59 deletions(-) commit c8f18f5e6e51dd6985d7e519b2e0fb2e1504d6a4 Author: Helge Kreutzmann Date: Thu Aug 6 20:33:16 2015 +0200 Update German scripts translation Update to 551t. debian/changelog | 3 +++ scripts/po/de.po | 26 ++++++++++++++++---------- 2 files changed, 19 insertions(+), 10 deletions(-) commit 629f06716634ce80997555b337c987e8e9191105 Author: Guillem Jover Date: Wed Aug 5 21:32:51 2015 +0200 doc: Fix typos for --predep-package option name Closes: #794688 Reported-by: Sven Joachim debian/changelog | 4 +++- man/dpkg.1 | 2 +- man/po/de.po | 6 +++--- src/main.c | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) commit bec92eed801f0f3c36ea40d4a80ab84078889eb7 Author: Guillem Jover Date: Thu Aug 6 02:05:37 2015 +0200 scripts/t: Get the reference build flags from dpkg-buildflags.pl The build flags might change depending on the architecture, so instead of hardcoding them, retrieve them from the source's tree dpkg-buildflags.pl. Closes: #794694 debian/changelog | 4 ++++ scripts/t/mk.t | 4 ++++ scripts/t/mk/buildflags.mk | 18 +++++++++--------- 3 files changed, 17 insertions(+), 9 deletions(-) commit 84790a78dab74e4813cbdfdcaae1ca3ce13ee99e Author: Guillem Jover Date: Thu Aug 6 01:58:41 2015 +0200 scripts/t: Generalize get_arch_vars() into cmd_get_vars() scripts/t/mk.t | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) commit afef8fbf76e4d87ea8ab824370507f5017a4818e Author: Guillem Jover Date: Wed Aug 5 21:27:41 2015 +0200 Dpkg::Changelog::Entry::Debian: Only warn on invalid week days Regression introduced in commit 7a71b4b78e8a81158c45073dee05b0d1cc46b71c. The previous implementation using Date::Parse ignored invalid week days, and the new one using Time::Piece is strict, so we get fatal errors. Validate the week day ourselves, emit a warning in case of an invalid value, and ignore it when passing the value to strptime from Time::Piece. Reported-by: Jakub Wilk debian/changelog | 6 ++++++ scripts/Dpkg/Changelog/Entry/Debian.pm | 15 ++++++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) commit bacb47ef2cee950c9c167b9cb6a95ecd0a051634 Author: Guillem Jover Date: Thu Aug 6 03:20:54 2015 +0200 debian: Add changelog entry for previous commit debian/changelog | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 331b057e7bce80895be20062fd7673d5df2e32b0 Author: Jordi Mallach Date: Wed Aug 5 12:37:46 2015 +0200 Update Catalan translation. po/ca.po | 471 ++++++++++++++++++++++++++------------------------------------- 1 file changed, 196 insertions(+), 275 deletions(-) commit 2563cb0d19ce9f6105691183b1ef16551dba9ccc Author: Guillem Jover Date: Wed Aug 5 03:11:05 2015 +0200 Bump version to 1.18.3 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 5459d330c73cdcfd1327bc93c0ebddc2da4a3a3a Author: Guillem Jover Date: Mon Aug 3 15:41:05 2015 +0200 Release 1.18.2 debian/changelog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ddc5c0c9579d60c13474361933d12b248d2c6dff Author: Guillem Jover Date: Tue Aug 4 21:02:16 2015 +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/de.po | 60 ++++---- man/po/dpkg-man.pot | 255 ++++++++++++++++++++++++++++----- man/po/es.po | 344 +++++++++++++++++++++++++++++++++++++-------- man/po/fr.po | 367 ++++++++++++++++++++++++++++++++++++++++-------- man/po/hu.po | 308 ++++++++++++++++++++++++++++++++-------- man/po/it.po | 363 +++++++++++++++++++++++++++++++++++++++-------- man/po/ja.po | 343 ++++++++++++++++++++++++++++++++++++-------- man/po/pl.po | 344 +++++++++++++++++++++++++++++++++++++-------- man/po/pt_BR.po | 308 ++++++++++++++++++++++++++++++++-------- man/po/ru.po | 310 ++++++++++++++++++++++++++++++++-------- man/po/sv.po | 365 +++++++++++++++++++++++++++++++++++++++-------- man/po/zh_CN.po | 303 +++++++++++++++++++++++++++++++-------- po/ast.po | 41 +++--- po/bs.po | 21 +-- po/ca.po | 79 ++++++++--- po/cs.po | 79 ++++++++--- po/da.po | 79 ++++++++--- po/de.po | 81 ++++++++--- po/dpkg.pot | 23 +-- po/dz.po | 41 +++--- po/el.po | 41 +++--- po/eo.po | 79 ++++++++--- po/es.po | 79 ++++++++--- po/et.po | 43 +++--- po/eu.po | 79 ++++++++--- po/fr.po | 77 +++++++--- po/gl.po | 41 +++--- po/hu.po | 41 +++--- po/id.po | 43 +++--- po/it.po | 79 ++++++++--- po/ja.po | 79 ++++++++--- po/km.po | 43 +++--- po/ko.po | 41 +++--- po/ku.po | 21 +-- po/lt.po | 41 +++--- po/mr.po | 41 +++--- po/nb.po | 41 +++--- po/ne.po | 39 ++--- po/nl.po | 79 ++++++++--- po/nn.po | 271 ++++++++++++----------------------- po/pa.po | 41 +++--- po/pl.po | 81 ++++++++--- po/pt.po | 79 ++++++++--- po/pt_BR.po | 41 +++--- po/ro.po | 41 +++--- po/ru.po | 79 ++++++++--- po/sk.po | 45 +++--- po/sv.po | 79 ++++++++--- po/th.po | 79 ++++++++--- po/tl.po | 313 +++++++++++++++-------------------------- po/tr.po | 79 ++++++++--- po/vi.po | 97 +++++++++---- po/zh_CN.po | 79 ++++++++--- po/zh_TW.po | 47 ++++--- scripts/po/ca.po | 46 ++++-- scripts/po/de.po | 23 +-- scripts/po/dpkg-dev.pot | 32 +++-- scripts/po/es.po | 46 ++++-- scripts/po/fr.po | 46 ++++-- scripts/po/pl.po | 46 ++++-- scripts/po/ru.po | 46 ++++-- scripts/po/sv.po | 46 ++++-- 93 files changed, 5135 insertions(+), 1852 deletions(-) commit 3b19e2209a125698dad25f6e16a2f0d0c976a990 Author: Guillem Jover Date: Tue Aug 4 21:52:23 2015 +0200 man: Fix formatting and grammar errors Reported-by: Helge Kreutzmann man/dpkg-buildpackage.1 | 4 ++-- man/dpkg.1 | 4 ++-- man/po/de.po | 14 +++++++------- 3 files changed, 11 insertions(+), 11 deletions(-) commit c40e5458b70df36767f11828bb51cbba8ae4ebc8 Author: Guillem Jover Date: Tue Aug 4 19:45:27 2015 +0200 scripts/t: Delete DEB_VENDOR from the environment to get reliable results debian/changelog | 1 + scripts/t/Dpkg_Vendor.t | 3 +++ 2 files changed, 4 insertions(+) commit f9d80776cbb11fe6f07366ce0836df1d5f911456 Author: Guillem Jover Date: Tue Aug 4 19:20:27 2015 +0200 scripts/t: Add test cases for the makefile snippets debian/changelog | 1 + scripts/Makefile.am | 9 ++++- scripts/t/mk.t | 76 +++++++++++++++++++++++++++++++++++++++++++ scripts/t/mk/architecture.mk | 30 +++++++++++++++++ scripts/t/mk/buildflags.mk | 14 ++++++++ scripts/t/mk/debian/changelog | 5 +++ scripts/t/mk/pkg-info.mk | 9 +++++ scripts/t/mk/vendor.mk | 5 +++ 8 files changed, 148 insertions(+), 1 deletion(-) commit 8bc91e0955c99f48fbc177ba77d84a8d851cfa8c Author: Guillem Jover Date: Sun Aug 2 02:02:02 2015 +0200 Dpkg::Shlibs::Objdump: Support spaces in symbol names The ELF spec does not disallow symbols with embedded spaces, so we should really be supporting those. This is required by Go shared libraries. Closes: #785344 Based-on-patch-by: Michael Hudson-Doyle Signed-off-by: Guillem Jover debian/changelog | 3 + scripts/Dpkg/Shlibs/Objdump.pm | 12 +-- scripts/Makefile.am | 23 +++++- scripts/t/Dpkg_Shlibs.t | 38 +++++++++- scripts/t/Dpkg_Shlibs/.gitignore | 1 + scripts/t/Dpkg_Shlibs/objdump.spacesyms | 124 +++++++++++++++++++++++++++++++ scripts/t/Dpkg_Shlibs/spacesyms-c-gen.pl | 37 +++++++++ scripts/t/Dpkg_Shlibs/spacesyms-o-map.pl | 25 +++++++ scripts/t/Dpkg_Shlibs/spacesyms.map | 7 ++ 9 files changed, 262 insertions(+), 8 deletions(-) commit 411de2793a8ab522fb68c4ecd13d310332ed8af9 Author: Guillem Jover Date: Sat Aug 1 23:05:17 2015 +0200 Dpkg::Deps: Make the dependency comparison deep We have to check the whole dependency tree, and not only compare the first alternative from a Dpkg::Deps::Multiple. This allows sorting them in a reproducible way. Closes: #792491 Based-on-patch-by: Chris Lamb Signed-off-by: Guillem Jover debian/changelog | 3 +++ scripts/Dpkg/Deps.pm | 43 ++++++++++++++++++++++++------------------- scripts/t/Dpkg_Deps.t | 4 ++-- 3 files changed, 29 insertions(+), 21 deletions(-) commit 0ccd2f60fc794296e925ce5da242bc7aebefd0f8 Author: Guillem Jover Date: Sat Aug 1 23:00:30 2015 +0200 scripts: Use none instead of ah-hoc checks This simplifies the code, and fixes a false positive on perl critic (ControlStructures::ProhibitUntilBlocks), due to the word "until" appearing in the block. scripts/Dpkg/Changelog/Parse.pm | 7 ++----- scripts/changelog/debian.pl | 11 +++++------ 2 files changed, 7 insertions(+), 11 deletions(-) commit 2b5045c492fd4f1f0f6f3114e7b444014fe446c4 Author: Guillem Jover Date: Fri Jul 31 17:40:10 2015 +0200 dpkg-source: Add an optional essential=yes key/value to Package-List This makes this information available in the Sources package files, so that when bootstrapping a new architecture all Essential:yes packages are known in advance. Prompted-by: Helmut Grohne debian/changelog | 3 +++ scripts/dpkg-source.pl | 4 ++++ 2 files changed, 7 insertions(+) commit 14dff6e0c34443bcc0be402627549d891df4813b Author: Guillem Jover Date: Sat Aug 1 11:05:03 2015 +0200 libdpkg: Set used signals in test suite to their default action This fixes build failures when SIGINT, SIGTERM or SIGPIPE are set to ignore the signals. debian/changelog | 3 +++ lib/dpkg/t/t-subproc.c | 7 +++++++ 2 files changed, 10 insertions(+) commit c59cbc409f4d4c3f3ffd899be9c97b5ad87d1412 Author: Helge Kreutzmann Date: Thu Jul 30 18:18:21 2015 +0200 Update German translation of manual pages Update to 2418t. man/po/de.po | 114 ++++++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 85 insertions(+), 29 deletions(-) commit 4cd20132a184035e267dfc275ca2cfbc3174b87d Author: Helge Kreutzmann Date: Thu Jul 30 17:56:57 2015 +0200 Update German scripts translation Update to 550t. scripts/po/de.po | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit dc505ca07a9037079299aca4aeabe513d514a32e Author: Guillem Jover Date: Thu Jul 30 05:38:28 2015 +0200 scripts/mk: Add an extra level of escaping for double evals Regression introduced in commit 486241a9d3521ed093be9a02b00f4d404dc39b35. Otherwise the values are not computed lazily, many of which are quite expensive. Rename dpkg_late_eval to dpkg_lazy_eval so that the other makefiles can be intermixed with the ones needing the extra level of escaping. Closes: #793330 debian/changelog | 3 +++ scripts/mk/architecture.mk | 4 ++-- scripts/mk/buildflags.mk | 6 +++--- 3 files changed, 8 insertions(+), 5 deletions(-) commit 3ba3e1619ce07aaddbe38782cab4554f5148d14d Author: Guillem Jover Date: Tue Jul 21 07:39:41 2015 +0200 debian: Mark libio-string-perl as This allows building the package without running the test suite, and not requiring build dependencies specific to the test suite. Which makes it easier to bootstrap an architecture. Prompted-by: Helmut Grohne debian/changelog | 1 + debian/control | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 795c00ee8a2b322c6729a5cbfee8af326d6e3a7c Author: Guillem Jover Date: Sat Jun 27 03:13:56 2015 +0200 debian: Make the libdpkg-dev package Multi-Arch:same debian/changelog | 2 ++ debian/control | 1 + debian/dselect.install | 2 +- debian/libdpkg-dev.install | 4 ++-- debian/libdpkg-perl.install | 2 +- debian/rules | 2 ++ 6 files changed, 9 insertions(+), 4 deletions(-) commit 6703756a6c7610549a1f05d0e87cddac3fc563d5 Author: Guillem Jover Date: Sat Jun 27 03:09:26 2015 +0200 debian: Group all dpkg-architecture variables together debian/rules | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 02e2060504f1c8dbbe5dec8211beaf945350c789 Author: Guillem Jover Date: Mon Jul 13 16:33:58 2015 +0200 Dpkg::Source::Archive: Future-proof tar invocations The function options should come before any other option. And at least the --owner and --group options might become positional in the same way --no-recursion did with tar > 1.28, according to upstream. Suffle options around to make sure this does not cause any problems in the future. debian/changelog | 3 +++ scripts/Dpkg/Source/Archive.pm | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) commit fcfe4f3aa2f3cb7f8179d4f2fe6dd65e75f7bbdf Author: Richard Purdie Date: Mon Jul 13 16:29:09 2015 +0200 dpkg-deb: Move tar option --no-recursion before -T With tar > 1.28 the --no-recursion option is now positional, and needs to be passed before the -T option, otherwise the tarball will end up with duplicated entries. Stable-Candidate: 1.16.x 1.17.x Signed-off-by: Richard Purdie Signed-off-by: Guillem Jover debian/changelog | 4 ++++ dpkg-deb/build.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit ca4f306f0dd8a3019360a3677e3306b629573956 Author: Guillem Jover Date: Mon Jun 22 00:18:46 2015 +0200 libdpkg: Replace FSF address by pointing to the gnu.org URL Use the URL, instead of the outdated FSF address, which is way more stable, as the latter has changed several times in the past. lib/dpkg/t/t-tarextract.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 4970a0bfb40325d651b20f418a11ef82964a1d87 Author: Guillem Jover Date: Mon Jun 22 13:19:45 2015 +0200 libdpkg: Document functions with Doxygen markup lib/dpkg/path-remove.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 8d09898b4fce5ad1409cf3bbdf502d1b8d7d774d Author: Guillem Jover Date: Tue Jun 16 01:33:43 2015 +0200 libdpkg: Only use the SHELL environment variable for interactive shells SHELL is the user preferred shell, but it does not guarantee a POSIX shell. Use it only for interactive shells, and use «sh» otherwise. Closes: #788819 Stable-Candidate: 1.16.x 1.17.x debian/changelog | 2 ++ lib/dpkg/command.c | 14 ++++++++------ man/dpkg.1 | 5 +++-- 3 files changed, 13 insertions(+), 8 deletions(-) commit 777915108d9d36d022dc4fc4151a615fc95e5032 Author: Guillem Jover Date: Tue Jun 16 01:31:10 2015 +0200 libdpkg: Use CRC64 for xz integrity checks This is the default CRC used by the xz command-line tool, align with it and switch from CRC32 to CRC64. It should provide slightly better detection against damaged data, at a negligible speed difference. debian/changelog | 3 +++ lib/dpkg/compress.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit bba1ceccf591850c47dfc5ec9883c6af9dab34f7 Author: Guillem Jover Date: Tue Jul 7 10:41:15 2015 +0200 libcompat: Use string_to_security_class() instead of literal SECCLASS values The header is deprecated, and warns to use string_to_security_class() instead of macro values. debian/changelog | 3 +++ lib/compat/selinux.c | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) commit 02eabc99813dcee64ee5016f1e878c408b639328 Author: Guillem Jover Date: Wed Jul 29 19:19:18 2015 +0200 libcompat: Try to use NSIG when sys_siglist is defined We cannot compute the size of the array with sizeof when the only thing we have is an extern declaration. Try to use NSIG, and fallback to 32 items in case it is not defined. Prompted-by: Igor Pashev debian/changelog | 3 +++ lib/compat/strsignal.c | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) commit 98b3341f5f46866208862ff40e4336ff1a7e1cd3 Author: Guillem Jover Date: Sun Jul 5 23:59:24 2015 +0200 dpkg-checkbuilddeps: Add support for ignoring built-in build dependencies There is currently no way to require that «Build-Essential: yes» packages be installed, so on Debian-based systems we have to rely on the build-essential metapackage, which is slightly wrong. In addition users that know what they are doing, might want to disable only the implicit build dependencies and conflicts, but not the entire dependency checks, and there was no way to do that. Add new «dpkg-buildpackage --ignore-builtin-builddeps» and «dpkg-checkbuilddeps -I» options. Closes: #480638, #571671 debian/changelog | 3 +++ man/dpkg-buildpackage.1 | 7 ++++++- man/dpkg-checkbuilddeps.1 | 9 +++++++-- scripts/dpkg-buildpackage.pl | 4 ++++ scripts/dpkg-checkbuilddeps.pl | 9 +++++++-- 5 files changed, 27 insertions(+), 5 deletions(-) commit 2d6bf271b4aff616a8dd591975b0c219e02d0ef5 Author: Guillem Jover Date: Thu Jul 2 05:01:35 2015 +0200 dpkg-checkbuilddeps: Move build-essential:native to a new vendor hook This package is distribution specific, and it does not belong in the generic build dependency checker. debian/changelog | 2 ++ scripts/Dpkg/Vendor/Debian.pm | 4 ++++ scripts/Dpkg/Vendor/Default.pm | 16 ++++++++++++++++ scripts/dpkg-checkbuilddeps.pl | 9 +++++++-- 4 files changed, 29 insertions(+), 2 deletions(-) commit 1063e2e684a5e2fcc71608217c9171c9f2bdee0c Author: Guillem Jover Date: Mon Jun 29 21:14:19 2015 +0200 dpkg-gencontrol: Add the correct filename to debian/files When overriding the Package field, we have to take that into account while generating the filename to add to debian/files, as the field overrides happen after all field values have been computed. Reported-by: Niels Thykier debian/changelog | 3 +++ scripts/dpkg-gencontrol.pl | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 89d9dd6870349fd3e103ae26ea072b80f2f46c84 Author: Guillem Jover Date: Wed Jul 1 05:20:00 2015 +0200 dpkg-gencontrol: Use $oppackage only to get a control file's package name The authoritative package name later on should come from the actual fields. scripts/dpkg-gencontrol.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit ec206658f9196eed04789d551d43651383e3fbc4 Author: Guillem Jover Date: Mon Jun 29 04:05:05 2015 +0200 dpkg-buildpackage: Add new -J option This option behaves in the same way as -j, except that it does not set the MAKEFLAGS environment variable, and as such it is safer to use with any package including those that are not parallel-build safe. debian/changelog | 1 + man/dpkg-buildpackage.1 | 6 ++++++ scripts/dpkg-buildpackage.pl | 16 ++++++++++++---- 3 files changed, 19 insertions(+), 4 deletions(-) commit 6d6c0d9cb77e57a8e9cf5d09979006980ac53f57 Author: Guillem Jover Date: Thu Jul 30 06:37:22 2015 +0200 Dpkg::Changelog::Parse: Set a default filename in changelog_parse() Regression introduced in commit 43556e0a9f216d59b4bc1a0f4e6e10e9afea3f7d, during a botched rebase. scripts/Dpkg/Changelog/Parse.pm | 1 + 1 file changed, 1 insertion(+) commit 186b975683340d848b00d92c9352a3158a418eef Author: Guillem Jover Date: Thu Jul 30 06:18:09 2015 +0200 build: Add t/Dpkg_Changelog/date-format to test_data Missed in commit 7a71b4b78e8a81158c45073dee05b0d1cc46b71c. scripts/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 9ce2e10f76760a817a0be70df25b0829127fe9e9 Author: Helge Kreutzmann Date: Wed Jul 29 20:44:26 2015 +0200 Update German scripts translation Update to 550t. debian/changelog | 3 +++ scripts/po/de.po | 13 +++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) commit 354bdeeee01d3faf8c19e13f7fcbd6ee5cc7b83a Author: Guillem Jover Date: Sun Jul 19 16:32:08 2015 +0200 Dpkg::Dist::Files: Allow colons (:) in added filenames Regression introduced in commit ab15fd24dd1a8207ab1463410338f24283989f7c. Packages can contain colons in their filenames if the upstream version contains colons. Reported-by: Jakub Wilk debian/changelog | 3 +++ scripts/Dpkg/Dist/Files.pm | 4 ++-- scripts/t/Dpkg_Dist_Files.t | 42 ++++++++++++++++++++++++++---------------- 3 files changed, 31 insertions(+), 18 deletions(-) commit 227b930b29ebe942992eb5c5f9563ac81be7ab47 Author: Guillem Jover Date: Thu Jul 2 04:14:11 2015 +0200 Dpkg::Vendor::Debian: Disable thread sanitizer when address is enabled These are mutually incompatible, prefer the address sanitizer when both are enabled at the same time. debian/changelog | 3 +++ scripts/Dpkg/Vendor/Debian.pm | 5 +++++ 2 files changed, 8 insertions(+) commit a779ef95e8eef38b2cfc300d422aa54e900b4d64 Author: Guillem Jover Date: Thu Jul 9 01:54:18 2015 +0200 Dpkg::Source::Package::V2: Do not exclude pre-existing symlinks for debian/ This effectively reverts commit 867c88dadccff6e285c48dadccb61f9001b50d9b. There is no point in excluding pre-existing symlinks when unpacking the packaging tarball, as GNU tar will make sure to unlink any symlink before extracting an object replacing it. So there should be no danger of escaping the directory. Closes: #790073, #791535 debian/changelog | 2 ++ scripts/Dpkg/Source/Package/V2.pm | 14 +------------- 2 files changed, 3 insertions(+), 13 deletions(-) commit 3f7960bca703219e89016af0d583288ffc928446 Author: Guillem Jover Date: Thu Jun 25 18:57:51 2015 +0200 Dpkg::Source::Package::V2: Make the BinaryFiles package self-contained Explicitly import File::Spec, to avoid relying on the other imports in the same file. debian/changelog | 2 ++ scripts/Dpkg/Source/Package/V2.pm | 1 + 2 files changed, 3 insertions(+) commit 81b7b5c3435a571b82938d1179c77803ac88be76 Author: Guillem Jover Date: Thu Jun 25 19:00:20 2015 +0200 Dpkg::Source::Package::V2: Import make_path from File::Path Regression introduced in commit 5e59d94a17051b1185c591a1fc3eed00e3b01070. Closes: #789957 debian/changelog | 2 ++ scripts/Dpkg/Source/Package/V2.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 8c038a0891e758b3cbd399023ed7307ea7b6f6d7 Author: Guillem Jover Date: Tue Jul 21 02:36:15 2015 +0200 Dpkg::Control::FieldsCore: Allow the Maintainer field in CTRL_FILE_STATUS This field is part of the status field. debian/changelog | 1 + scripts/Dpkg/Control/FieldsCore.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 95d9b43f8ad87bcfc180bd3cd9631c1f7ea83569 Author: Guillem Jover Date: Mon Jun 22 13:15:03 2015 +0200 Dpkg::Control::HashCore: Remove trailing space before handling dot-separators Regression introduced in commit aea291e3db1ac0414dcf005a0a607e78bdd77a5e. Any spaces after the blank line dot-separator should be stripped before handling the dot-separator, otherwise we get duplicated dots in field contents. Closes: #789580 Stable-Candidate: 1.16.x 1.17.x debian/changelog | 3 +++ scripts/Dpkg/Control/HashCore.pm | 2 +- scripts/t/Dpkg_Control.t | 2 ++ scripts/t/Dpkg_Control/control-1 | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) commit 43556e0a9f216d59b4bc1a0f4e6e10e9afea3f7d Author: Guillem Jover Date: Wed Jul 1 08:00:05 2015 +0200 Dpkg::Changelog::Parse: Use a builtin parser when the input format is "debian" When the input format is "debian" (either forced or detected), just use a builtin implementation instead of forking the external plugin, parsing the changelog, outputting the result, and parsing that again. The external plugin can be used by forcing it through a new option to changelog_parse(). debian/changelog | 3 ++ scripts/Dpkg/Changelog/Parse.pm | 78 +++++++++++++++++++++++++++++++++++++++-- 2 files changed, 79 insertions(+), 2 deletions(-) commit 0ac9c7b49920a795dee9ded28c1f54218926ce96 Author: Guillem Jover Date: Tue Jul 28 19:48:14 2015 +0200 Dpkg::Changelog::Parse: Remove intermediate variable $changelogfile scripts/Dpkg/Changelog/Parse.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit c2c755d0924ef9aea32cd81ab7871fb511b2c2a5 Author: Guillem Jover Date: Sat Jul 25 06:26:25 2015 +0200 Dpkg::Changelog::Parse: Factor out _changelog_detect_format scripts/Dpkg/Changelog/Parse.pm | 39 ++++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-) commit 06f6460c855992021c727faffc29e1c81ca5cd80 Author: Guillem Jover Date: Wed Jul 29 00:56:49 2015 +0200 Dpkg::Changelog::Parse: Move options setup to changelog_parse_plugin start scripts/Dpkg/Changelog/Parse.pm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 8c368c0005e7e26105f440be2b623d23b6bd7fcb Author: Guillem Jover Date: Wed Jul 1 08:00:05 2015 +0200 Dpkg::Changelog::Parse: Refactor changelog_parse into changelog_parse_plugin debian/changelog | 1 + scripts/Dpkg/Changelog/Parse.pm | 34 +++++++++++++++++++++++++++++----- 2 files changed, 30 insertions(+), 5 deletions(-) commit 99a71f73902004f96dcc672b0ee4321e1e074ecd Author: Guillem Jover Date: Wed Jul 1 08:00:05 2015 +0200 Dpkg::Changelog::Parse: Fix changelog_parse documentation Fix typos, grammar and style issues. debian/changelog | 1 + scripts/Dpkg/Changelog/Parse.pm | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) commit 8f222426e6e9254150f09b579766a839c02910de Author: Guillem Jover Date: Sat Jul 11 01:08:43 2015 +0200 Dpkg::Changelog::Entry::Debian: Simplify distribution splitting Use «split(' ', $string)», instead of removing the heading whitespace and then using «split(/\s+/, $string)». This should be faster too. debian/changelog | 1 + scripts/Dpkg/Changelog/Entry/Debian.pm | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) commit 7a71b4b78e8a81158c45073dee05b0d1cc46b71c Author: Guillem Jover Date: Tue Jun 2 22:41:30 2015 +0200 Dpkg::Changelog::Entry::Debian: Use Time::Piece instead of Date::Parse The new module is in the perl core distribution, which reduces the build and run-time dependencies, helping with architecture bootstrapping. Prompted-by: Helmut Grohne README | 1 - debian/changelog | 3 +++ debian/control | 4 ++-- scripts/Dpkg/Changelog/Entry/Debian.pm | 10 ++++++++-- scripts/t/Dpkg_Changelog.t | 12 ++++++++++-- scripts/t/Dpkg_Changelog/date-format | 17 +++++++++++++++++ 6 files changed, 40 insertions(+), 7 deletions(-) commit 9849eff1e45bcd0c341a6ffb8675874a478fad9b Author: Guillem Jover Date: Wed Jul 1 05:10:08 2015 +0200 Dpkg::Changelog::Entry::Debian: Remove non-functional timezone name support The Debian changelog trailer regex intended to support a timezone name inside parenthesis, like this: -- Name Sat, 30 May 2015 03:18:43 +0200 (CEST) is bogus, and it only accepts one character. As in: -- Name Sat, 30 May 2015 03:18:43 +0200 (C) which while also "valid", as per RFC822, they are pretty much useless as per RFC5322. The implementation has kept that part unchanged since its inception in dpkg 1.3.0, 1996-08. So let's just drop it instead of fixing the regex, given that the timezone name has never been accepted, many time-parsing functions ignore it, it is redundant, declared obsolete by RFC5322 and Debian policy dropped an explicit reference to it due to bug #569174. debian/changelog | 3 +++ scripts/Dpkg/Changelog/Entry/Debian.pm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit c84b88a553be23c4b1cb35c1e8fdba3299703204 Author: Helge Kreutzmann Date: Tue Jul 28 20:20:56 2015 +0200 Update German translation of manual pages Update to 2413t. man/po/de.po | 262 ++++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 223 insertions(+), 39 deletions(-) commit 9f4d51f8a2d390af885f6926d68107681943f013 Author: Guillem Jover Date: Fri Jul 24 06:15:01 2015 +0200 Dpkg::Arch: Document and mark the module as public Expose only the functions that are stable and public, the reset should be considered private for now. debian/changelog | 1 + debian/control | 1 + scripts/Dpkg/Arch.pm | 118 ++++++++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 119 insertions(+), 1 deletion(-) commit 03727d83bade2f8c5b1b3c084814694129e0917a Author: Guillem Jover Date: Fri Jul 10 16:55:26 2015 +0200 Dpkg::Changelog: Fix POD syntax on verbatim paragraph debian/changelog | 1 + scripts/Dpkg/Changelog.pm | 23 ++++++++++++----------- 2 files changed, 13 insertions(+), 11 deletions(-) commit 43e7940b48d7ec0b9f56e87a38862ce3bc8e4238 Author: Guillem Jover Date: Sat Jul 25 06:08:53 2015 +0200 Dpkg: Say FUNCTIONS instead of METHODS when appropriate debian/changelog | 1 + scripts/Dpkg/IPC.pm | 2 +- scripts/Dpkg/Path.pm | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit 604b44f89f6d4a80a7afae1885eba2f9b1b30e1d Author: Guillem Jover Date: Tue Jun 2 22:39:10 2015 +0200 Dpkg: Remove my keyword from POD function prototypes debian/changelog | 1 + scripts/Dpkg/BuildEnv.pm | 4 ++-- scripts/Dpkg/BuildFlags.pm | 4 ++-- scripts/Dpkg/BuildOptions.pm | 2 +- scripts/Dpkg/BuildProfiles.pm | 4 ++-- scripts/Dpkg/Changelog.pm | 6 +++--- scripts/Dpkg/Changelog/Entry.pm | 16 ++++++++-------- scripts/Dpkg/Changelog/Entry/Debian.pm | 12 ++++++------ scripts/Dpkg/Changelog/Parse.pm | 2 +- scripts/Dpkg/Checksums.pm | 2 +- scripts/Dpkg/Compression.pm | 8 ++++---- scripts/Dpkg/Compression/FileHandle.pm | 6 +++--- scripts/Dpkg/Compression/Process.pm | 6 +++--- scripts/Dpkg/Conf.pm | 2 +- scripts/Dpkg/Control.pm | 2 +- scripts/Dpkg/Control/FieldsCore.pm | 2 +- scripts/Dpkg/Control/HashCore.pm | 6 +++--- scripts/Dpkg/Deps.pm | 10 +++++----- scripts/Dpkg/Gettext.pm | 6 +++--- scripts/Dpkg/IPC.pm | 2 +- scripts/Dpkg/Index.pm | 14 +++++++------- scripts/Dpkg/Path.pm | 10 +++++----- scripts/Dpkg/Source/Package.pm | 4 ++-- scripts/Dpkg/Substvars.pm | 2 +- scripts/Dpkg/Version.pm | 10 +++++----- 25 files changed, 72 insertions(+), 71 deletions(-) commit e2e40913fad1eb5d3155e1f93d75991ab933b73c Author: Guillem Jover Date: Tue Jul 28 05:57:29 2015 +0200 doc: Fix multiple typos Warned-by: spellintian ChangeLog.old | 24 ++++++++++++------------ TODO | 4 ++-- debian/changelog | 18 +++++++++--------- dselect/po/zh_TW.po | 4 ++-- scripts/Dpkg/Source/Package/V2.pm | 2 +- scripts/dpkg-shlibdeps.pl | 2 +- 6 files changed, 27 insertions(+), 27 deletions(-) commit 6b16edc08b4cf7253e3349fcd98142d5aee629a8 Author: Guillem Jover Date: Sun Jul 26 18:55:52 2015 +0200 man: Document multiarch triplet in dpkg-architecture(1) TERMS section Also make it a bit more clear by changing the “GNU system type” example to use something else than i386, which is the only current difference between these terms. debian/changelog | 1 + man/dpkg-architecture.1 | 12 ++++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) commit 1a2bd5d89332f4e6fcde0451a679f5f3b537a198 Author: Guillem Jover Date: Sun Jul 26 18:55:52 2015 +0200 man: Clarify that an architecture wildcard is a Debian thing debian/changelog | 2 ++ man/dpkg-architecture.1 | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 609c9132d1ba404f9d5f956708714a3513b73a62 Author: Guillem Jover Date: Sun Jul 26 18:55:52 2015 +0200 man: Document abitable in dpkg-architecture(1) debian/changelog | 1 + man/dpkg-architecture.1 | 3 +++ 2 files changed, 4 insertions(+) commit 41925f2a449e61ae81820fd0a81072eeb4601bc1 Author: Guillem Jover Date: Sun Jul 26 03:43:59 2015 +0200 Document --yet-to-unpack, --predep-packages and --assert- commands Both in «dpkg --help» and dpkg(1). Mark them as supported. Prompted-by: Johannes Schauer debian/changelog | 2 ++ man/dpkg.1 | 36 ++++++++++++++++++++++++++++++++++++ src/main.c | 15 ++++++++------- 3 files changed, 46 insertions(+), 7 deletions(-) commit 4c34663ee96ade8a3daad1e588691d6a0cfaeed5 Author: Guillem Jover Date: Sun Jul 26 03:36:34 2015 +0200 man: Add a missing colon to separate a --force option man/dpkg.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 08f4215663282ed07b249c412ccc613c4cfdf275 Author: Guillem Jover Date: Sun Jul 26 00:31:58 2015 +0200 man: Clarify when some features where added The version information was in a confusing place, move closer to the added feature, and add missing version information. debian/changelog | 1 + man/dpkg-buildflags.1 | 4 ++-- man/dpkg-buildpackage.1 | 4 ++-- man/dpkg.1 | 4 +++- 4 files changed, 8 insertions(+), 5 deletions(-) commit 70657337fcec98fa52ad256ee57520d3d81a9c4a Author: Guillem Jover Date: Sun Jul 26 00:15:39 2015 +0200 man: Fix typo in dpkg-scanpackages(1) man/dpkg-scanpackages.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 648beca3fb751ca1fe0a5ff7a6bf5525e41a466e Author: Guillem Jover Date: Sun Jun 28 19:36:32 2015 +0200 man: Document DPKG_HOOK_ACTION also in ENVIRONMENT section debian/changelog | 1 + man/dpkg.1 | 5 +++++ 2 files changed, 6 insertions(+) commit e8fedc0a30b15959c772dee519e2c91ffb07cb92 Author: Guillem Jover Date: Tue Jun 9 04:36:34 2015 +0200 man: Use the feature area name in the subsection title Using something else is more confusing as it does not match with the actual feature name. debian/changelog | 1 + man/dpkg-buildflags.1 | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) commit c1bb547fc7a3714d3573cfddccb0356d52b469bd Author: Chris Lamb Date: Thu Jun 4 19:42:39 2015 +0200 man: Fix grammar in dpkg-architecture(1) Closes: #787616 Signed-off-by: Guillem Jover debian/changelog | 3 +++ man/dpkg-architecture.1 | 2 +- man/po/de.po | 2 +- man/po/dpkg-man.pot | 2 +- man/po/es.po | 4 ++-- man/po/fr.po | 2 +- man/po/hu.po | 2 +- man/po/it.po | 2 +- man/po/ja.po | 4 ++-- man/po/pl.po | 4 ++-- man/po/pt_BR.po | 2 +- man/po/ru.po | 2 +- man/po/sv.po | 2 +- man/po/zh_CN.po | 2 +- 14 files changed, 19 insertions(+), 16 deletions(-) commit 42497e69ab8676301d223a05b7259dd93e0f33f6 Author: Guillem Jover Date: Fri Jun 26 16:33:41 2015 +0200 po: Revert bogus removal of fuzzy markers Regression introduced in commit de997dd555c2fd16418e90c54f06ac105eb7ed39. This fixes the damage caused by msguntypot. Warned-by: i18nspector po/hu.po | 10 +++++----- po/id.po | 4 ++-- po/ko.po | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) commit 180b9ee409be170f8adfd413d566794a7d11956e Author: Guillem Jover Date: Fri Jun 26 16:13:40 2015 +0200 po: Fix plural form translations for single plural languages Regression introduced in commit de997dd555c2fd16418e90c54f06ac105eb7ed39, due to brokenness in msguntypot. Warned-by: i18nspector Closes: #790025 debian/changelog | 3 +++ po/hu.po | 23 +++++++---------------- po/id.po | 29 ++++++++++------------------- po/ja.po | 27 +++++++++------------------ po/ko.po | 29 ++++++++++------------------- po/th.po | 27 +++++++++------------------ 6 files changed, 48 insertions(+), 90 deletions(-) commit 9bd1242502996b0858c782b7e23ea55827148a71 Author: Frans Spiesschaert Date: Thu Jun 25 17:47:41 2015 +0200 po: Update Dutch translations [guillem@debian.org: - Do not translate «none» in dpkg-deb --help output. - Remove surplus format specifier in a string. ] Closes: #789096, #789097 Signed-off-by: Guillem Jover debian/changelog | 4 +- dselect/po/nl.po | 97 +- po/nl.po | 3988 +++++++++++++++++++++++++----------------------------- 3 files changed, 1896 insertions(+), 2193 deletions(-) commit ebdacc3f1f58a5111bee73c615df81f62f1aa093 Author: Mert Dirik Date: Thu Jun 11 11:25:54 2015 +0200 po: Update Turkish programs translation Closes: #788211 Signed-off-by: Guillem Jover debian/changelog | 1 + po/tr.po | 104 +++++++++++++++++++++++++++---------------------------- 2 files changed, 52 insertions(+), 53 deletions(-) commit c2cfd39b9cebc94457514409c327d1ff6ebfc180 Author: Zhou Mo Date: Sun Jun 7 12:51:39 2015 +0000 po: Update Simplified Chinese programs translation Closes: #787986 Signed-off-by: Guillem Jover debian/changelog | 1 + po/zh_CN.po | 14 ++++++-------- 2 files changed, 7 insertions(+), 8 deletions(-) commit 8a1b9a26cf3d75873a360d4994183f54a3764f8e Author: Trần Ngọc Quân Date: Tue May 19 15:59:30 2015 +0700 po: Update Vietnamese programs translation Signed-off-by: Trần Ngọc Quân Signed-off-by: Guillem Jover debian/changelog | 3 +++ po/vi.po | 44 +++++++++++++++++++------------------------- 2 files changed, 22 insertions(+), 25 deletions(-) commit 4f39a9a91b45a0cc0f77d896ac298f03d762d693 Author: Guillem Jover Date: Sun May 31 00:26:11 2015 +0200 t-file-conflicts: Rename from t-conflict-file Makefile | 2 +- {t-conflict-file => t-file-conflicts}/Makefile | 0 {t-conflict-file => t-file-conflicts}/pkg-a/DEBIAN/control | 0 {t-conflict-file => t-file-conflicts}/pkg-a/test-conflict | 0 {t-conflict-file => t-file-conflicts}/pkg-b/DEBIAN/control | 0 {t-conflict-file => t-file-conflicts}/pkg-b/test-conflict | 0 6 files changed, 1 insertion(+), 1 deletion(-) commit 8c07fa1722353e703015133e4dcd469bd81f4310 Author: Guillem Jover Date: Sun May 24 07:10:41 2015 +0200 t-conflicts: New test case Makefile | 5 +++++ t-conflicts/Makefile | 15 +++++++++++++++ t-conflicts/pkg-a/DEBIAN/control | 8 ++++++++ t-conflicts/pkg-b/DEBIAN/control | 7 +++++++ 4 files changed, 35 insertions(+) commit d881246161b118a5de1575fafc71a60211470569 Author: Helge Kreutzmann Date: Sat May 30 12:47:30 2015 +0200 Update German translation of manual pages Update to 2389t. debian/changelog | 3 +++ man/po/de.po | 34 +++++++--------------------------- 2 files changed, 10 insertions(+), 27 deletions(-) commit 1b8c20ad2f817099015f9f286c7935e53fb56594 Author: Guillem Jover Date: Sat May 30 03:18:59 2015 +0200 Bump version to 1.18.2 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 4280417c17d1e85fc36ba558c3bbe6c8c1f034aa Author: Guillem Jover Date: Fri May 29 19:44:23 2015 +0200 Release 1.18.1 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 96ce5e6548f10a1950080ec2bec32cc1d46183b9 Author: Guillem Jover Date: Sat May 30 01:06:49 2015 +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 | 4 ++-- 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/de.po | 37 ++++++++++++++++++++++++++++--------- man/po/dpkg-man.pot | 19 +++++++++---------- man/po/es.po | 17 ++++++++--------- man/po/fr.po | 17 ++++++++--------- man/po/hu.po | 17 ++++++++--------- man/po/it.po | 17 ++++++++--------- man/po/ja.po | 17 ++++++++--------- man/po/pl.po | 17 ++++++++--------- man/po/pt_BR.po | 17 ++++++++--------- man/po/ru.po | 17 ++++++++--------- man/po/sv.po | 17 ++++++++--------- man/po/zh_CN.po | 17 ++++++++--------- po/ast.po | 14 +++++++++++++- po/bs.po | 12 +++++++++++- po/ca.po | 14 +++++++++++++- po/cs.po | 14 +++++++++++++- po/da.po | 14 +++++++++++++- po/de.po | 14 +++++++++++++- po/dpkg.pot | 14 ++++++++++++-- po/dz.po | 14 +++++++++++++- po/el.po | 14 +++++++++++++- po/eo.po | 14 +++++++++++++- po/es.po | 14 +++++++++++++- po/et.po | 14 +++++++++++++- po/eu.po | 14 +++++++++++++- po/fr.po | 14 +++++++++++++- po/gl.po | 14 +++++++++++++- po/hu.po | 14 +++++++++++++- po/id.po | 14 +++++++++++++- po/it.po | 14 +++++++++++++- po/ja.po | 14 +++++++++++++- po/km.po | 14 +++++++++++++- po/ko.po | 14 +++++++++++++- po/ku.po | 12 +++++++++++- po/lt.po | 14 +++++++++++++- po/mr.po | 14 +++++++++++++- po/nb.po | 14 +++++++++++++- po/ne.po | 14 +++++++++++++- po/nl.po | 14 +++++++++++++- po/nn.po | 14 +++++++++++++- po/pa.po | 12 +++++++++++- po/pl.po | 14 +++++++++++++- po/pt.po | 14 +++++++++++++- po/pt_BR.po | 14 +++++++++++++- po/ro.po | 14 +++++++++++++- po/ru.po | 14 +++++++++++++- po/sk.po | 14 +++++++++++++- po/sv.po | 14 +++++++++++++- po/th.po | 14 +++++++++++++- po/tl.po | 14 +++++++++++++- po/tr.po | 14 +++++++++++++- po/vi.po | 14 +++++++++++++- po/zh_CN.po | 14 +++++++++++++- po/zh_TW.po | 14 +++++++++++++- 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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 93 files changed, 698 insertions(+), 194 deletions(-) commit 0ced7a67b687fd2a3f906c24739ae7d82d594cc5 Author: Guillem Jover Date: Thu May 28 00:22:31 2015 +0200 Revert "dpkg-gensymbols: Use the original template symbols file when diffing" This reverts commit 9251cc40db1793d01ad0c27408fb0f170c067772. There's too much information not being preserved in the symbols files to be able to regenerate templates for them. Although the #PACKAGE# pattern has been fixed, there is still comments, #include directives and symbols order. Let's revert it and consider the request that prompted the change requires too much work for too little gain. Closes: #785937, #786840 debian/changelog | 4 ++++ scripts/dpkg-gensymbols.pl | 7 +------ 2 files changed, 5 insertions(+), 6 deletions(-) commit 2ae3e07e436175b8424534539c63565bb70f67f2 Author: Guillem Jover Date: Mon May 25 06:00:54 2015 +0200 dpkg-deb: Set correct default compression value for control.tar.gz member Regression introduced in commit f1f9887b8f96965d6046857d12fda24c053c6d4b. The compressor independent way to denote the default value has been to use -1, but that needs to be fixed up to the actual default value per compressor, before the compressor specific setup. When using the gzip command-line tool this is a fatal error as it does not recognize the argument «-c-1». When using the zlib shared library this makes the code always default to the compression level 1, as ‘-’ is ignored by gzdopen(). The current minimal fix is to call compressor_check_params() when setting up the default control.tar compressor paramaters, although that makes the API hard to use correctly. This will be improved in the future. Closes: #786654 debian/changelog | 4 ++++ dpkg-deb/build.c | 2 ++ 2 files changed, 6 insertions(+) commit 0fc916a4a8cf43cf22abd720bd14d8ca355366ff Author: Guillem Jover Date: Wed May 27 19:31:51 2015 +0200 dpkg-shlibdeps: Reformat map/grep/keys usage to make it easier to read It was not clear with a quick visual scan if these were all part of the same statement. scripts/dpkg-shlibdeps.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 2a708a80d1849b615e83be4709c346ca3994da6a Author: Guillem Jover Date: Wed May 27 19:30:31 2015 +0200 dpkg-shlibdeps: Initialize $warnings with ORed constants instead of a literal This makes the assignment easier to understand. scripts/dpkg-shlibdeps.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d4ffe3118cc8132910e80bb90999032523c90212 Author: Maximilian Schwerin Date: Wed May 20 09:56:42 2015 +0200 dpkg-scansources: Sort output by package name and version This is useful if multiple versions of the same package are kept together in the same repository. [guillem@debian.org: - Minor code formatting fix. ] Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/dpkg-scansources.pl | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) commit dbdb71563e75a96cee24955db4d9981be8f7f8e9 Author: Maximilian Schwerin Date: Wed May 20 09:56:41 2015 +0200 dpkg-scanpackages: Sort output by package name and version This is useful if multiple versions of the same package are kept together in the same repository. Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/dpkg-scanpackages.pl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit d54b2f1ce614d51b6c9d25e9bb6e94557564db5e Author: Guillem Jover Date: Fri May 29 20:37:09 2015 +0200 build: Use system libmd if available This fixes a build failure on at least FreeBSD, and possibly other BSD systems, where the md5.h header provided by libmd maps the md5 functions to namespaced ones, and then there is a mismatch between the always included functions from libcompat and from libmd. configure.ac | 1 + debian/changelog | 1 + lib/compat/Makefile.am | 3 ++- lib/dpkg/Makefile.am | 4 +++- lib/dpkg/libdpkg.pc.in | 2 +- m4/dpkg-libs.m4 | 16 +++++++++++++++- 6 files changed, 23 insertions(+), 4 deletions(-) commit 07655bd782222b94b84dce2a4200a3a2c04c4d69 Author: Guillem Jover Date: Sat Mar 14 23:58:19 2015 +0100 build: Move PACKAGE_RELEASE definition from dpkg.h to configure.ac There's no need to expose this macro in the API header. More so when the PACKAGE_VERSION macro is only defined in config.h which is not installed by default on the system. configure.ac | 2 ++ lib/dpkg/dpkg.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) commit acf1c3f037184ae513fafe4c4adc43b2d57fc95d Author: Guillem Jover Date: Sat Mar 14 23:57:17 2015 +0100 libdpkg: Rename DPKG_VERSION_ARCH to PACKAGE_RELEASE This avoids confusing the project-wide macro with the DPKG_VERSION_ namespaced ones. dpkg-deb/main.c | 2 +- dpkg-split/main.c | 2 +- dselect/main.cc | 4 ++-- lib/dpkg/dpkg.h | 2 +- src/divertcmd.c | 2 +- src/main.c | 2 +- src/querycmd.c | 2 +- src/statcmd.c | 2 +- src/trigcmd.c | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) commit bf316c32edf2487d8b4b691ffb82fec368b92a2b Author: Ian Jackson Date: Sat Apr 18 19:47:54 2015 +0200 dpkg: Honor Conflicts/Breaks/Pre-Depends for packages in unpacked and half states Closes: #377860 Signed-off-by: Guillem Jover debian/changelog | 2 ++ src/depcon.c | 5 +++++ 2 files changed, 7 insertions(+) commit 7366ce825ae2ab7feb73fe5458323fc79b8baa6f Author: Guillem Jover Date: Sat Apr 18 19:56:05 2015 +0200 dpkg: Sort PKG_STAT_ switch cases in descending order src/depcon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 734381f8f57cdf78ebf7c62b58698b59ad96434f Author: Guillem Jover Date: Sun Feb 1 23:24:38 2015 +0100 dpkg-buildpackage: Make -j override any parallel option in DEB_BUILD_OPTIONS The commit a24fa4c525934922a6035470556051d50ad4da02 changed the semantics in the opposite direction. Which does not make any sense at all, and goes against any current practice. debian/changelog | 2 ++ man/dpkg-buildpackage.1 | 5 ++--- scripts/dpkg-buildpackage.pl | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) commit c65e2c63e0735decb4b0a249f793e30df9848bfe Author: Guillem Jover Date: Sun Feb 1 23:24:38 2015 +0100 man: Remove spurious = from argless parallel option in dpkg-buildpackage debian/changelog | 2 ++ man/dpkg-buildpackage.1 | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 8e8c7b7fdefa0087ceb2e1ed304124f348f790a1 Author: Guillem Jover Date: Fri May 22 07:58:47 2015 +0200 Dpkg::Shlibs::SymbolFile: Use map instead of foreach to initialize the hash scripts/Dpkg/Shlibs/SymbolFile.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b24e5502d6963a1efe0940b31ae6ffc0c9ac6584 Author: Guillem Jover Date: Wed May 27 20:56:56 2015 +0200 dpkg: Simplify sehandle handling Remove pointless dpkg_selabel_get_handle() function, rename dpkg_sehandle to sehandle, and change dpkg_selabel_set_context() to access the variable directly. src/selinux.c | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) commit 2600dd55f20f2921b50a63803c22a2816ec07607 Author: Guillem Jover Date: Wed May 27 20:50:51 2015 +0200 dpkg: Set the SE Linux file context even without a file type in mode If the mode does not have a file type, for whatever reason, the libselinux labelling code will try to match on the pathname, which is better than no labelling at all. This should never happen in practice, but it is a safer assumption and more future proof. debian/changelog | 1 + src/selinux.c | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) commit 66cf80b20ae2a9ca5764dd1f7053afe1bf9597ed Author: Guillem Jover Date: Thu May 21 21:10:45 2015 +0200 dpkg: Fix setting the SE Linux context when a file has a statoverride We need to pass the file type in the mode so that the SE labelling function does anything at all. Closes: #786435 debian/changelog | 2 ++ src/archives.c | 18 ++++++++++-------- src/statcmd.c | 10 ++++++---- 3 files changed, 18 insertions(+), 12 deletions(-) commit c5b1985591f15294cd73229126490b35c29ce88d Author: Guillem Jover Date: Thu May 21 21:08:24 2015 +0200 libdpkg: Use ~S_IFMT instead of hardcoded 07777 literal in chmod() call lib/dpkg/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9163f5e583b4202f6119a7f645792e320a12c7fd Author: Guillem Jover Date: Thu May 21 20:10:37 2015 +0200 scripts, dselsect/methods: Switch from `` to operator qx() dselect/methods/Dselect/Ftp.pm | 4 ++-- dselect/methods/ftp/install.pl | 8 ++++---- dselect/methods/ftp/setup.pl | 6 +++--- dselect/methods/ftp/update.pl | 2 +- scripts/Dpkg/Arch.pm | 4 ++-- scripts/Dpkg/Source/Package/V3/Git.pm | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) commit cd8c1f2573064f81c56e3552fa5c84a321dd4db2 Author: Guillem Jover Date: Thu May 21 19:54:07 2015 +0200 Dpkg::Compression: Fix the current default compressor in the documentation debian/changelog | 2 ++ scripts/Dpkg/Compression.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 89c443f4d4bf27b8c1a57708b9fd83344d93bc65 Author: Guillem Jover Date: Wed May 20 21:32:11 2015 +0200 Dpkg::Shlibs::SymbolFile: Do not replace #PACKAGE# in template mode These markers get instantiated when generating the output files, replacing them when generating a template is wrong. debian/changelog | 1 + scripts/Dpkg/Shlibs/SymbolFile.pm | 12 +++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) commit d633338e57d140b6273d11ef54a3f3823c229524 Author: Guillem Jover Date: Fri May 29 07:34:18 2015 +0200 Dpkg::BuildProfiles: Initialize $cache_profiles when setting them We should consider the value being cached when we set it manually. scripts/Dpkg/BuildProfiles.pm | 1 + 1 file changed, 1 insertion(+) commit 79ad650071220b43e10338034be442f7b3eea567 Author: Guillem Jover Date: Wed May 20 14:49:56 2015 +0200 scripts: Use the state keyword This moves the variables closer to the block they are being used in. And protects them from external access. debian/changelog | 1 + scripts/Dpkg/Arch.pm | 49 +++++++++++++++++--------------- scripts/Dpkg/Shlibs.pm | 3 +- scripts/Dpkg/Shlibs/Objdump.pm | 63 +++++++++++++++++++++--------------------- scripts/Dpkg/Vendor.pm | 5 ++-- 5 files changed, 63 insertions(+), 58 deletions(-) commit e4baa20f727c041f7dba60c18fc434053f13fa98 Author: Guillem Jover Date: Wed May 20 14:47:11 2015 +0200 scripts: Use non-destructive substitutions inside map This avoids having to use a temporary variable, and makes the code more clear. debian/changelog | 1 + scripts/Dpkg/Source/Package/V1.pm | 2 +- scripts/Dpkg/Source/Package/V2.pm | 6 +----- 3 files changed, 3 insertions(+), 6 deletions(-) commit 8cb07a12ca16b099f368f78cd46ecec338e95367 Author: Guillem Jover Date: Wed May 20 14:45:34 2015 +0200 scripts: Add missing strict and warnings pragmas for submodules debian/changelog | 2 ++ scripts/Dpkg/Control/HashCore.pm | 3 +++ scripts/Dpkg/Shlibs/Objdump.pm | 3 +++ 3 files changed, 8 insertions(+) commit 018dd2fd3bd73fe5218d6aef09e7bab54de652ca Author: Guillem Jover Date: Wed May 20 14:43:54 2015 +0200 doc: Bump minimal Perl version to 5.14.2 The current version in Debian oldstable (wheezy) is 5.14.2. doc/coding-style.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1086dec9c8f292789ada307a324f54e3a21c8769 Author: Zhou Mo Date: Wed May 27 19:29:09 2015 +0200 po: Update Simplified Chinese programs translation Closes: #786377 Signed-off-by: Guillem Jover debian/changelog | 1 + po/zh_CN.po | 40 ++++++++++++++++++---------------------- 2 files changed, 19 insertions(+), 22 deletions(-) commit 8365e0e1e53cde1f0b064ab65d50602dec1feff2 Author: Sven Joachim Date: Fri May 22 16:54:42 2015 +0200 German dselect translation update Update to 276t. debian/changelog | 3 ++ dselect/po/de.po | 98 ++++++++++++++++++-------------------------------------- 2 files changed, 35 insertions(+), 66 deletions(-) commit 438db7a31e074691e70e8ace7fff91631030624b Author: Guillem Jover Date: Mon Mar 16 23:00:05 2015 +0100 dpkg-deb, dpkg: Do not allow pathnames with embedded newlines None of the deb toolchain supports embedded newlines in filenames, we could try to escape them but then we'd need to add support in other tools to unescape these too, and this does not sem worth the trouble. Closes: #720761 debian/changelog | 2 ++ dpkg-deb/build.c | 2 ++ src/archives.c | 4 ++++ 3 files changed, 8 insertions(+) commit 2739012645f59d15ec9bae8e519d7ae6624b504c Author: Guillem Jover Date: Mon May 18 23:24:30 2015 +0200 libdpkg: Cast c_isbits() c argument to unsigned char when indexing the array We need c to wrap around as an unsigned char when it is -1 (i.e. EOF). debian/changelog | 4 ++++ lib/dpkg/c-ctype.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit d760ee8968b11715efb62047896ace32a8c40676 Author: Guillem Jover Date: Tue May 19 04:13:21 2015 +0200 debian: Fix typos in changelog Reported-by: Niels Thykier (variable typo) debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ebe8a053e09bf0b1d9d28f7234f0f06aef91c11f Author: Sven Joachim Date: Mon May 18 21:07:08 2015 +0200 German dpkg translation update Update to 1091t. debian/changelog | 3 ++ po/de.po | 125 +++++++++++++++++++++++-------------------------------- 2 files changed, 54 insertions(+), 74 deletions(-) commit 841381f3e8c2360703974a5bcd1386762aaeaa53 Author: Helge Kreutzmann Date: Mon May 18 19:52:13 2015 +0200 Update German translation of manual pages Update to 2389t. debian/changelog | 3 ++- man/po/de.po | 10 +++------- 2 files changed, 5 insertions(+), 8 deletions(-) commit 9d21b34f2f6c0af2582a526da6f87ec3b89cde2c Author: Guillem Jover Date: Mon May 18 16:08:52 2015 +0200 Bump version to 1.18.1 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit d1ee0ce8b6c72b15bca23227434cd2fe9d82a476 Author: Guillem Jover Date: Mon May 18 15:08:38 2015 +0200 Release 1.18.0 debian/changelog | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 936050b34639aabb413f4a0d1b7ce95dd5205d16 Author: Guillem Jover Date: Mon May 18 15:26:19 2015 +0200 po: Regenerate .pot files and merge .po files with them man/po/de.po | 198 ++++++++++++++++++++------------------- man/po/dpkg-man.pot | 157 +++++++++++++++++-------------- man/po/es.po | 214 ++++++++++++++++++++++++++++-------------- man/po/fr.po | 240 +++++++++++++++++++++++++++++++++-------------- man/po/hu.po | 177 +++++++++++++++++++++-------------- man/po/it.po | 241 ++++++++++++++++++++++++++++++++++-------------- man/po/ja.po | 214 ++++++++++++++++++++++++++++-------------- man/po/pl.po | 214 ++++++++++++++++++++++++++++-------------- man/po/pt_BR.po | 157 +++++++++++++++++-------------- man/po/ru.po | 174 ++++++++++++++++++++-------------- man/po/sv.po | 240 +++++++++++++++++++++++++++++++++-------------- man/po/zh_CN.po | 165 +++++++++++++++++++-------------- po/ast.po | 31 +++++-- po/bs.po | 15 +-- po/ca.po | 31 +++++-- po/cs.po | 34 ++++--- po/da.po | 31 +++++-- po/de.po | 31 +++++-- po/dpkg.pot | 13 ++- po/dz.po | 39 +++++--- po/el.po | 36 +++++--- po/eo.po | 31 +++++-- po/es.po | 34 ++++--- po/et.po | 34 ++++--- po/eu.po | 31 +++++-- po/fr.po | 43 ++++++--- po/gl.po | 36 +++++--- po/hu.po | 37 +++++--- po/id.po | 31 +++++-- po/it.po | 31 +++++-- po/ja.po | 31 +++++-- po/km.po | 37 +++++--- po/ko.po | 31 +++++-- po/ku.po | 23 +++-- po/lt.po | 34 ++++--- po/mr.po | 37 +++++--- po/nb.po | 33 ++++--- po/ne.po | 36 +++++--- po/nl.po | 37 +++++--- po/nn.po | 38 +++++--- po/pa.po | 23 +++-- po/pl.po | 31 +++++-- po/pt.po | 33 ++++--- po/pt_BR.po | 38 +++++--- po/ro.po | 31 +++++-- po/ru.po | 31 +++++-- po/sk.po | 31 +++++-- po/sv.po | 31 +++++-- po/th.po | 31 +++++-- po/tl.po | 38 +++++--- po/tr.po | 35 +++++-- po/vi.po | 34 +++++-- po/zh_CN.po | 35 +++++-- po/zh_TW.po | 31 +++++-- scripts/po/ca.po | 118 +++++++++++++----------- scripts/po/de.po | 31 +++---- scripts/po/dpkg-dev.pot | 78 ++++++++-------- scripts/po/es.po | 115 ++++++++++++----------- scripts/po/fr.po | 116 ++++++++++++----------- scripts/po/pl.po | 116 ++++++++++++----------- scripts/po/ru.po | 110 +++++++++++----------- scripts/po/sv.po | 116 ++++++++++++----------- 62 files changed, 2890 insertions(+), 1660 deletions(-) commit d658a8ec1110c9b3b20987cd903a54f59801117f Author: Guillem Jover Date: Sun May 17 04:54:47 2015 +0200 libdpkg: Consider foreign packages ambiguous in need of arch-qualifier With cross-arch dependencies, foreign arch-qualified dependencies and foreign packages become really ambiguous in error messages, but also on the usual progress reporting. Arch-qualifying foreign packages should be backwards compatible, because if a user had foreign packages installed on a pre-multiarch dpkg, then that was already out of spec. And if they do now, it means they have enabled multiarch. Keeping Multi-Arch:same packages always arch-qualified still makes sense because those will not appear on a non-Multi-Arch enabled distribution, and are required to distinguish which instance we are referring to. debian/changelog | 1 + lib/dpkg/pkg-show.c | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) commit 6289376d25637a55e468d154c8c4e78aa26f1f30 Author: Guillem Jover Date: Sun May 17 19:41:00 2015 +0200 dpkg: When upgrading, copy over the cached arch-qualified package name We need to make sure that the cached arch-qualified package name is updated too, or we might end up with the wrong arch-qualified package name on cross-upgrades. debian/changelog | 2 ++ src/unpack.c | 1 + 2 files changed, 3 insertions(+) commit 8f28c5172ce9c1a765222311afabbefb5a9bf1d5 Author: Guillem Jover Date: Sat Apr 18 21:36:29 2015 +0200 Dpkg::Shlibs: Reorder library directories The correct order is: «dpkg-shlibdeps -l» > ENV{LD_LIBRARY_PATHS} > cross-multiarch > DEFAULT_LIBRARY_PATH > ld.so.conf > DEFAULT_MULTILIB_PATH This preserves the ld.so behavior, gives preference to the cross paths, and preserves -l and ENV{LD_LIBRARY_PATHS} as the ones to override all the rest. debian/changelog | 3 +++ scripts/Dpkg/Shlibs.pm | 26 ++++++++++++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) commit 37b7e396bef84e73b9290c1e746e867bf7009850 Author: Guillem Jover Date: Fri May 15 17:05:04 2015 +0200 Dpkg::Shlibs: Remove ancient multilib paths The /emul/ia32-linux/lib and /emul/ia32-linux/usr/lib paths, inherited from ia64, have long been unused, since Debian squeeze. It's about time to get rid of them. debian/changelog | 1 + scripts/Dpkg/Shlibs.pm | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) commit 93da43460d292198c02c5f0a8b0bf4929c0dd915 Author: Guillem Jover Date: Fri May 15 02:41:44 2015 +0200 Dpkg::Shlibs: Do not add cross-root directories to default search list There's no reason to include these in the default search library list anymore, as multiarch has superseded this usage for a long time, and no package in Debian should be shipping libraries in those paths neither other packages linking against those. Not including the paths avoids polluting the search list. If a user outside Debian wants to use a cross-root layout, the «dpkg-shlibdeps -l» option can be used to specify those. debian/changelog | 2 ++ scripts/Dpkg/Shlibs.pm | 11 +---------- 2 files changed, 3 insertions(+), 10 deletions(-) commit 7b52b5fa9d855ce1f3d78bd2795ccb40a22feda2 Author: Guillem Jover Date: Fri May 15 14:50:24 2015 +0200 Dpkg::Shlibs: Fix add_library_dir to initialize the library paths if needed We need to initialize the paths, otherwise a subsequent initialization will discard any paths added with this function. Regression introduced in commit 96e0d5d129fd963b3ef254580985c54bb717b5af. scripts/Dpkg/Shlibs.pm | 3 +++ scripts/t/Dpkg_Shlibs.t | 15 +++++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) commit 4c64976c089756201ecf6e0c60285f14a922764a Author: Guillem Jover Date: Sat May 16 06:41:55 2015 +0200 scripts/t: Remove unused use Data::Dumper scripts/t/Dpkg_Shlibs.t | 2 -- 1 file changed, 2 deletions(-) commit 1ca7f6ff559a98215ce2e13fb8a8f4c4b42b28f9 Author: Guillem Jover Date: Sat May 16 06:38:31 2015 +0200 scripts/t: Swap is_deeply() got and expected arguments scripts/t/Dpkg_Shlibs.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 9470e136e954de5821428d4b18b50cb634a23a2d Author: Guillem Jover Date: Thu May 14 18:18:59 2015 +0200 scripts: Document dpkg version when module versions got bumped This has two purposes, first it will make it easier to know if the module version needs to be bumped for the current development release, and second it will make it easier for users to know how "old" that module version is, and to which dpkg series and specific version it corresponds to. debian/changelog | 1 + scripts/Dpkg.pm | 4 ++-- scripts/Dpkg/BuildFlags.pm | 8 ++++---- scripts/Dpkg/BuildOptions.pm | 4 ++-- scripts/Dpkg/BuildProfiles.pm | 2 +- scripts/Dpkg/Changelog.pm | 2 +- scripts/Dpkg/Changelog/Debian.pm | 2 +- scripts/Dpkg/Changelog/Entry.pm | 2 +- scripts/Dpkg/Changelog/Entry/Debian.pm | 4 ++-- scripts/Dpkg/Changelog/Parse.pm | 2 +- scripts/Dpkg/Checksums.pm | 6 +++--- scripts/Dpkg/Compression.pm | 6 +++--- scripts/Dpkg/Compression/FileHandle.pm | 4 ++-- scripts/Dpkg/Compression/Process.pm | 2 +- scripts/Dpkg/Conf.pm | 4 ++-- scripts/Dpkg/Control.pm | 2 +- scripts/Dpkg/Control/Changelog.pm | 2 +- scripts/Dpkg/Control/Fields.pm | 2 +- scripts/Dpkg/Control/FieldsCore.pm | 2 +- scripts/Dpkg/Control/Hash.pm | 2 +- scripts/Dpkg/Control/HashCore.pm | 4 ++-- scripts/Dpkg/Control/Info.pm | 4 ++-- scripts/Dpkg/Deps.pm | 12 ++++++------ scripts/Dpkg/Exit.pm | 4 ++-- scripts/Dpkg/Gettext.pm | 12 ++++-------- scripts/Dpkg/IPC.pm | 6 +++--- scripts/Dpkg/Index.pm | 2 +- scripts/Dpkg/Interface/Storable.pm | 2 +- scripts/Dpkg/Path.pm | 10 +++++----- scripts/Dpkg/Source/Package.pm | 4 ++-- scripts/Dpkg/Substvars.pm | 10 +++++----- scripts/Dpkg/Vendor.pm | 4 ++-- scripts/Dpkg/Version.pm | 4 ++-- 33 files changed, 69 insertions(+), 72 deletions(-) commit 448faad0f04d7f56e5b708ff76213fe0f92c2ae2 Author: Guillem Jover Date: Thu May 14 17:19:03 2015 +0200 Dpkg::Dist::Files: Allow ~ in added filenames When we are constructing a .changes file we add the source artifacts to the distribution manually, before loading the distribution list from debian/files. We should allow ~ in the filename as that's a valid character in a version number. Regression introduced in commit ab15fd24dd1a8207ab1463410338f24283989f7c. Reported-by: Niels Thykier scripts/Dpkg/Dist/Files.pm | 2 +- scripts/t/Dpkg_Dist_Files.t | 29 ++++++++++++++++++++++++++++- 2 files changed, 29 insertions(+), 2 deletions(-) commit 915151a10317220fcf7d3b821020c94808fad155 Author: Guillem Jover Date: Tue May 12 01:41:54 2015 +0200 scripts: Say METHODS instead of FUNCTIONS or OBJECT FOO in POD section titles debian/changelog | 1 + scripts/Dpkg/BuildFlags.pm | 2 +- scripts/Dpkg/BuildOptions.pm | 2 +- scripts/Dpkg/Changelog.pm | 4 ++-- scripts/Dpkg/Changelog/Debian.pm | 4 ++-- scripts/Dpkg/Changelog/Entry.pm | 2 +- scripts/Dpkg/Changelog/Entry/Debian.pm | 2 +- scripts/Dpkg/Changelog/Parse.pm | 4 ++-- scripts/Dpkg/Checksums.pm | 2 +- scripts/Dpkg/Conf.pm | 2 +- scripts/Dpkg/Control.pm | 2 +- scripts/Dpkg/Control/Changelog.pm | 2 +- scripts/Dpkg/Control/HashCore.pm | 2 +- scripts/Dpkg/Control/Info.pm | 2 +- scripts/Dpkg/Deps.pm | 2 +- scripts/Dpkg/Index.pm | 2 +- scripts/Dpkg/Source/Package.pm | 10 ++++++++-- scripts/Dpkg/Vendor/Default.pm | 2 +- scripts/Dpkg/Version.pm | 2 +- 19 files changed, 29 insertions(+), 22 deletions(-) commit 32655cdb3a933bcafbc999fa156ed075938c176b Author: Guillem Jover Date: Tue May 12 00:59:39 2015 +0200 scripts/t: Reduce timeout from 5 to 1 in test case The invoked sleep is 10 seconds, so reducing the timeout to 1 second should be safe, as this is all time bounded. This also speeds up the test suite. debian/changelog | 1 + scripts/t/Dpkg_IPC.t | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 8729c1bcfab023e864acf5c19ca97c6d1ea283a8 Author: Guillem Jover Date: Tue May 12 00:57:51 2015 +0200 scripts/t: Do not use a timeout when testing cat I/O While a 5 seconds timeout should be usually safe, it pretty much depends on the system being fast enough, and not being under any other load. This also ties unrelated checks together, and unnecessarily slows down the test suite. debian/changelog | 1 + scripts/t/Dpkg_IPC.t | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) commit 5f5f7c3b90839005060ef58ea3e1abcf214b018f Author: Guillem Jover Date: Tue May 12 00:49:29 2015 +0200 Dpkg::IPC: Kill the process when reaching timeout in wait_child() If we reached the timeout while waiting for the process to terminate, we should not leave the dangling process running astray. debian/changelog | 1 + scripts/Dpkg/IPC.pm | 11 ++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) commit bd290bf49f15246092d592c38b9f36366c1edbd1 Author: Guillem Jover Date: Mon May 11 17:44:34 2015 +0200 dselect: Remove outdated local copy of the Debian README.mirrors.txt file This file was a very outdated copy from before 2001, the user is better served by downloading it once they are doing the setup, in case they use Debian. There's no point in doing it ourselves, as the download methods need a major revamp anyway. Closes: #784966 debian/changelog | 3 + dselect/methods/Dselect/Ftp.pm | 11 +- dselect/methods/Makefile.am | 1 - dselect/methods/ftp/README.mirrors.txt | 259 --------------------------------- 4 files changed, 7 insertions(+), 267 deletions(-) commit 2a2977862fe0dc0826e2fb0af4dad2a0c3f8c365 Author: Niels Thykier Date: Sat Apr 4 08:12:44 2015 +0200 libdpkg: Fix typo in Doxygen documentation Signed-off-by: Niels Thykier Signed-off-by: Guillem Jover lib/dpkg/arch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ee36bf55d5666f72e925737bc850ec20267d8220 Author: Guillem Jover Date: Wed Mar 25 19:32:30 2015 +0100 libdpkg: Mention (^Z) instead of char for the MSDOS end of file character Let's not use unneeded abbreviations, but in this case instead of just expanding “char”, we'll say “(^Z)” like in the other error message instance. debian/changelog | 1 + lib/dpkg/parse.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 66ef975101966d528e479e749ff7529eaceac7e4 Author: Guillem Jover Date: Sat Mar 21 11:58:58 2015 +0100 libdpkg: Rename parse_EOF() to parse_at_eof() There's no actual reason to have EOF uppercased, just lowercase and have the function be more descriptive. lib/dpkg/parse.c | 24 ++++++++++++------------ lib/dpkg/parsedump.h | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) commit 67090e4a5210b688ff24619590f28e7d63830479 Author: Guillem Jover Date: Fri Mar 20 22:59:55 2015 +0100 libdpkg: Rename filter symbols to digest This clarifies the current functionality of this set of symbols. lib/dpkg/buffer.c | 60 ++++++++++++++++++++++++++-------------------------- lib/dpkg/buffer.h | 20 +++++++++--------- lib/dpkg/libdpkg.map | 2 +- 3 files changed, 41 insertions(+), 41 deletions(-) commit 5bcdaa5eac7178031e3cb6035df58a12a4a1fa2a Author: Guillem Jover Date: Thu Mar 19 13:51:22 2015 +0100 libdpkg: Handle libtool executables in progname unit test debian/changelog | 1 + lib/dpkg/t/t-progname.c | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) commit df62aa18e2e0d0d67183199f57b761dba6e9c721 Author: Guillem Jover Date: Thu Mar 19 13:47:05 2015 +0100 libdpkg: Add missing dpkg_error functions to the map file lib/dpkg/libdpkg.map | 3 +++ 1 file changed, 3 insertions(+) commit 20a5b3509e94c1a349657c2a9e656d5ddbe558b6 Author: Guillem Jover Date: Wed Mar 18 23:08:34 2015 +0100 dpkg-shlibdeps: Use Dpkg::Substvars instead of ad-hoc parsing the file scripts/dpkg-shlibdeps.pl | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) commit 9aa0a60a2491caeed59af5fd760c064b3be3cc00 Author: Guillem Jover Date: Wed Mar 18 22:42:23 2015 +0100 Dpkg::Substvars: Add new filter() method debian/changelog | 1 + scripts/Dpkg/Substvars.pm | 27 +++++++++++++++++++++++++-- scripts/Makefile.am | 1 + scripts/t/Dpkg_Substvars.t | 36 +++++++++++++++++++++++++++++++++++- scripts/t/Dpkg_Substvars/substvars2 | 7 +++++++ 5 files changed, 69 insertions(+), 3 deletions(-) commit a58dd78cb1667a26961f07ba80f0f2d676e41959 Author: Guillem Jover Date: Wed Mar 18 23:18:11 2015 +0100 Dpkg::Dist::Files: Add new filter() method scripts/Dpkg/Dist/Files.pm | 14 ++++++++++++++ scripts/t/Dpkg_Dist_Files.t | 33 ++++++++++++++++++++++++++++++++- 2 files changed, 46 insertions(+), 1 deletion(-) commit b9cec509388cb444b1acf4baa69c90a4ef9e9241 Author: Guillem Jover Date: Sun May 10 22:55:03 2015 +0200 Dpkg::Dist::Files: Add new reset() method scripts/Dpkg/Dist/Files.pm | 6 ++++++ 1 file changed, 6 insertions(+) commit 5b62b3a0ff0692a111447e71581f2e4659e97595 Author: Guillem Jover Date: Wed Mar 18 23:24:34 2015 +0100 Dpkg::Conf: Improve filter function Use stub functions when the user does not provide them, to allow filtering with a single grep(). scripts/Dpkg/Conf.pm | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) commit f3deda236b2fe425a1d1ff79e8d894f7047fedaa Author: Guillem Jover Date: Wed May 13 23:23:27 2015 +0200 scripts/t: Add test cases for Dpkg::Checksums debian/changelog | 2 +- scripts/Makefile.am | 3 ++ scripts/t/Dpkg_Checksums.t | 99 ++++++++++++++++++++++++++++++++++++++++- scripts/t/Dpkg_Checksums/data-1 | 1 + scripts/t/Dpkg_Checksums/data-2 | 1 + scripts/t/Dpkg_Checksums/empty | 0 6 files changed, 103 insertions(+), 3 deletions(-) commit b2567f003544ab36b8c7a04aa6cc76f481a9b5f7 Author: Guillem Jover Date: Wed May 13 17:47:06 2015 +0200 scripts/t: Remove note that Dpkg_Getopt.t needs actual test cases The module already has 100% code coverage. scripts/t/Dpkg_Getopt.t | 2 -- 1 file changed, 2 deletions(-) commit 94340b6b3f02450373f97dba607eb2887f4b6628 Author: Guillem Jover Date: Wed May 13 17:33:35 2015 +0200 scripts/t: Add test cases for Dpkg::Conf debian/changelog | 1 + scripts/Makefile.am | 1 + scripts/t/Dpkg_Conf.t | 92 +++++++++++++++++++++++++++++++++++++++- scripts/t/Dpkg_Conf/config-mixed | 23 ++++++++++ 4 files changed, 115 insertions(+), 2 deletions(-) commit e2047c6fae9dec683013e814ece7b13a96cdce37 Author: Guillem Jover Date: Sun May 10 05:08:52 2015 +0200 Dpkg::Control::HashCore: Use proper quotes Reverts partial regression introduced with cherry pick in commit aea291e3db1ac0414dcf005a0a607e78bdd77a5e. scripts/Dpkg/Control/HashCore.pm | 2 +- scripts/po/de.po | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 369b8aa9127069f2569eb8ac27b50b42c3a141ac Author: Guillem Jover Date: Sun May 17 18:44:11 2015 +0200 man: Fix spelling error Regression introduced in commit 30d45ed5ccc3b9cf1f7cc745a1f293137ec958aa. Warned-by: lintian man/update-alternatives.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 696fdb1c68b4ee1ffcb83dbb30b8b761b5be2eef Author: Mert Dirik Date: Sun May 17 20:04:26 2015 +0200 po: Update Turkish programs translation Closes: #785096 Signed-off-by: Guillem Jover debian/changelog | 1 + po/tr.po | 426 +++++++++++++++++++++++-------------------------------- 2 files changed, 182 insertions(+), 245 deletions(-) commit ae364b54a4f8a20ef808911fed702bbe06c4aee5 Author: Guillem Jover Date: Sat Apr 18 19:31:55 2015 +0200 t-conflict: Rename to t-conflict-file Makefile | 2 +- {t-conflict => t-conflict-file}/Makefile | 0 {t-conflict => t-conflict-file}/pkg-a/DEBIAN/control | 0 {t-conflict => t-conflict-file}/pkg-a/test-conflict | 0 {t-conflict => t-conflict-file}/pkg-b/DEBIAN/control | 0 {t-conflict => t-conflict-file}/pkg-b/test-conflict | 0 6 files changed, 1 insertion(+), 1 deletion(-) commit 9b40bf6c311815cbbf49aa8e0bdc9bf786816f50 Author: Helge Kreutzmann Date: Sun May 10 05:50:14 2015 +0200 Update German translation of manual pages Update to 2389t. man/po/de.po | 151 ++++++++++------------------------------------------------- 1 file changed, 24 insertions(+), 127 deletions(-) commit ac6d5f6bedc88fe5f50264818afb70a14dd5d3cc Author: Helge Kreutzmann Date: Sat May 9 18:49:04 2015 +0200 Update German translation of manual pages Update to 2370t18f1u. man/po/de.po | 1465 ++++++++++++++++++++++++++++++---------------------------- 1 file changed, 756 insertions(+), 709 deletions(-) commit 7de08d413aed20cb1f2ad7c36a6396ba3bf7afd9 Author: Helge Kreutzmann Date: Sat May 9 13:27:32 2015 +0200 Update German scripts translation Update to 552t. scripts/po/de.po | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) commit 18e044bb6b6d776a0a10dc045c00fbe8441df593 Author: Guillem Jover Date: Fri May 8 06:27:35 2015 +0200 dpkg-genchanges: Remove intermediate @f variable scripts/dpkg-genchanges.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 983e21eca2967b0c8e65f786ebd1b0e04ba52919 Author: Guillem Jover Date: Fri May 8 06:24:49 2015 +0200 dpkg-genchanges: Annotate any non-deb binaries with their package type Make it more generic, and annotate not just udebs with their package type. debian/changelog | 2 ++ scripts/dpkg-genchanges.pl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 5bd832f53875e7ed40a5f303f877c28cafa2899d Author: Guillem Jover Date: Mon May 4 05:44:38 2015 +0200 dpkg-genchanges: Allow binary packages not found in debian/control We are already warning when a binary package is not found in debian/control, there's no actual reason to then error out because they do not have a section or priority in that debian/control file. debian/changelog | 2 ++ scripts/dpkg-genchanges.pl | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 401f09ecf4735e2df774b17a5a771f4a1e191ba9 Author: Guillem Jover Date: Mon May 4 05:44:38 2015 +0200 dpkg-genchanges: Merge two loops traversing the same keys scripts/dpkg-genchanges.pl | 2 -- 1 file changed, 2 deletions(-) commit 61088cb90955feeeac9fb6564b4b8c5c845831a1 Author: Guillem Jover Date: Mon May 4 06:02:55 2015 +0200 dpkg-genchanges: Skip files based on the architecture from the filename Instead of using the architecture from the package in the debian/control file, just use the one coming from the filename, as we rely too on the package name from the filename to get to the architecture. debian/changelog | 1 + scripts/dpkg-genchanges.pl | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) commit ddbf6f259a1c6fd07db7db4cf022cbf1cf1da669 Author: Guillem Jover Date: Mon May 4 09:28:03 2015 +0200 dpkg-genchanges: Use the checksums files list when building the Files field This should guarantee that the output order is always the same as the other Checksum fields, even if debian/files entries change order. debian/changelog | 2 ++ scripts/dpkg-genchanges.pl | 4 ++++ 2 files changed, 6 insertions(+) commit e69de9edc7d30172be68e92c3fe1e61329d0431a Author: Guillem Jover Date: Tue May 5 00:08:04 2015 +0200 dpkg-genchanges: Fix error message on empty dsc file Pass the argument for the format string to the correct function call. debian/changelog | 1 + scripts/dpkg-genchanges.pl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit b36dc1c825378fbd96502336b0a5835ceb33f9ae Author: Guillem Jover Date: Tue Mar 24 23:57:35 2015 +0100 dpkg-genchanges: Fix perl warning when parsing BY-HAND file entries Cherry picked from commit 23e354ae1211a754fdafd6718e3e61398f6c1d37. Regression introduced in commit e1749d77a44ee1c82c2d047cf9be4b071554832d. Closes: #781074 debian/changelog | 2 ++ scripts/dpkg-genchanges.pl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 2c1bc6002ed100c29e1567683d75c36e58ea6f0c Author: Guillem Jover Date: Thu Apr 30 01:16:11 2015 +0200 dpkg-source: Remove stray whitespace in shebang Spotted-by: Justin F. Hallett scripts/dpkg-source.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ab15fd24dd1a8207ab1463410338f24283989f7c Author: Guillem Jover Date: Fri Mar 13 23:59:55 2015 +0100 Dpkg::Dist::Files: Parse filename on add_file() to initialize files values scripts/Dpkg/Dist/Files.pm | 15 ++++++--------- scripts/t/Dpkg_Dist_Files.t | 16 +++++++++++++++- 2 files changed, 21 insertions(+), 10 deletions(-) commit 715a507fc59c7cf679c7fedcd8f336697893ed27 Author: Guillem Jover Date: Fri Mar 13 23:59:55 2015 +0100 Dpkg::Dist::Files: Factor file parsing into a new member function scripts/Dpkg/Dist/Files.pm | 48 ++++++++++++++++++++++++++++++---------------- 1 file changed, 31 insertions(+), 17 deletions(-) commit e974a079d91f1dcb0eb2b61fe3c825d714f299d6 Author: Guillem Jover Date: Mon Apr 27 15:11:21 2015 +0200 Dpkg::Dist::Files: Always sort the files list on output This guarantees the debian/files and anything parsing it via this module get reproducible results regardless of things such as parallel builds. Reported-by: Jérémy Bobbio debian/changelog | 3 +++ scripts/Dpkg/Dist/Files.pm | 14 +++----------- scripts/t/Dpkg_Dist_Files.t | 18 ++++++++++-------- 3 files changed, 16 insertions(+), 19 deletions(-) commit 1dc1c04ca808b0c9efc2c83eeb1de7a32f7b110f Author: Guillem Jover Date: Fri Apr 24 23:51:26 2015 +0200 dpkg-statoverride: Fix error messages on invalid uid/git/mode syntax errors When parsing command-line arguments we should not say that the error comes from the statoverride file. debian/changelog | 2 ++ src/statdb.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit db5c277534f955dc983bb81814df9ea08076c71e Author: Helge Kreutzmann Date: Wed May 6 14:39:14 2015 +0200 po: Update German man pages translation Signed-off-by: Guillem Jover man/po/de.po | 414 +++++++++++------------------------------------------------ 1 file changed, 74 insertions(+), 340 deletions(-) commit 4503bec2779ba43e80fd605f8428e4af8669bf69 Author: Trần Ngọc Quân Date: Sun May 3 15:52:08 2015 +0700 po: Update Vietnamese programs translation Signed-off-by: Trần Ngọc Quân Signed-off-by: Guillem Jover debian/changelog | 1 + po/vi.po | 324 +++++++++++++++++++++++++------------------------------ 2 files changed, 147 insertions(+), 178 deletions(-) commit 2ffe6c3acf4cf0b79e6bf752bcaf2737a9e1e998 Author: Zhou Mo Date: Fri Apr 24 01:56:56 2015 +0200 po: Update Simplified Chinese programs translation Closes: #782326 Signed-off-by: Guillem Jover debian/changelog | 3 ++ po/zh_CN.po | 102 ++++++++++++++++++++++--------------------------------- 2 files changed, 43 insertions(+), 62 deletions(-) commit 1e61694dcd22ac8b16b55325c31ccc4bcf312f1b Author: Guillem Jover Date: Mon May 4 05:41:44 2015 +0200 build: Allow running scripts from outside the source tree debian/rules | 2 +- run-script | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) commit de6bbfc869da500094a584d95c8d584ae5f75dea Author: Guillem Jover Date: Thu Apr 23 18:54:18 2015 +0200 build: Pass -Wall to automake in AM_INIT_AUTOMAKE When we switched from the gnu to foreign flavor the warnings got more lax, bring them up a notch. configure.ac | 2 +- debian/changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit a7caec3d1ac3b299f56c54dca206049f2fc5cf18 Author: Guillem Jover Date: Thu Apr 23 18:50:58 2015 +0200 build: Call AM_PROG_AR Even though we use libtool to link static libraries, it still requires AM_PROG_AR to be called to detect the archiver to use. Warned-by: automake configure.ac | 1 + debian/changelog | 1 + 2 files changed, 2 insertions(+) commit 1efac5a7b353d3294f61e3e528c729f18dca459a Author: Guillem Jover Date: Thu Apr 23 18:43:17 2015 +0200 build: Pass CC to the test suite If the build system does not have gcc available, the Dpkg::Arch module requires the CC environment variable to be set so that we can detect the host system. check.am | 1 + debian/changelog | 1 + 2 files changed, 2 insertions(+) commit 4436eea426184745c8d882f43ab2bee150d2d4a9 Author: Guillem Jover Date: Thu Apr 23 18:38:33 2015 +0200 build: Use single suffix rules instead of non-portable %-pattern rules debian/changelog | 1 + dselect/methods/Makefile.am | 4 +++- scripts/Makefile.am | 6 ++++-- 3 files changed, 8 insertions(+), 3 deletions(-) commit 454137cb3972d3365ee9b0e71cd97f32219e25be Author: Roderich Schupp Date: Fri Apr 24 01:47:29 2015 +0200 Dpkg::Control::Info: Do not print on undef filehandle in output() Closes: #781887 Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/Dpkg/Control/Info.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 7e85106707c5ddea3381bc985e0c916507915bcc Author: Guillem Jover Date: Tue Apr 21 17:18:15 2015 +0200 Dpkg::Control::Info: Allow not loading the file in the constuctor Accept an %opts argument for the constructor, and accept either passing a filename option as undef, or a scalar undef. Closes: #782019 debian/changelog | 3 +++ scripts/Dpkg/Control/Info.pm | 30 ++++++++++++++++++++++-------- 2 files changed, 25 insertions(+), 8 deletions(-) commit 2a76ceda76f462cea6f50ac740ed95c343ec409e Author: Guillem Jover Date: Tue Apr 21 20:48:47 2015 +0200 Dpkg::Source::Patch: Pass PATCH_GET envvar instead of -g0 to patch For GNU patch the default value for -g is already 0, but that option is not available in other systems, such as FreeBSD. Let's switch to use the environment variable PATCH_GET, so that we make sure it gets set to a known value, and so that we can stop using the unportable option. debian/changelog | 3 +++ scripts/Dpkg/Source/Patch.pm | 8 ++++---- scripts/Dpkg/Source/Quilt.pm | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) commit aea291e3db1ac0414dcf005a0a607e78bdd77a5e Author: Guillem Jover Date: Thu Mar 19 22:51:46 2015 +0100 Dpkg::Control::HashCore: Fix OpenPGP Armor Header Line parsing Cherry picked from commit b4ccfe4982161b8beb44f1d0c98f791c4f238edd. We should only accept [\r\t ] as trailing whitespace, although RFC4880 does not clarify what whitespace really maps to, we should really match the GnuPG implementation anyway, as that is what we use to verify the signatures. Fixes: CVE-2015-0840 Reported-by: Jann Horn debian/changelog | 5 +++++ scripts/Dpkg/Control/HashCore.pm | 21 ++++++++++++--------- scripts/Makefile.am | 1 + scripts/t/Dpkg_Control.t | 5 ++++- scripts/t/Dpkg_Control/bogus-armor-formfeed.dsc | 19 +++++++++++++++++++ 5 files changed, 41 insertions(+), 10 deletions(-) commit 60b2a4fa317f0b473043b13fff16c52a812ad800 Author: Guillem Jover Date: Tue Apr 21 18:38:15 2015 +0200 scripts/t: Skip test cases when there is no c++filt available In principle we require c++filt at run-time, but for now let's not fail these tests on such systems. debian/changelog | 1 + scripts/t/Dpkg_Shlibs.t | 9 +++++++++ scripts/t/Dpkg_Shlibs_Cppfilt.t | 10 +++++++++- 3 files changed, 19 insertions(+), 1 deletion(-) commit 349f9c3569cb978f1cc0e69ac00d573d99581a18 Author: Guillem Jover Date: Thu Apr 23 21:06:32 2015 +0200 s-s-d: Cleanup timespec_mul() utils/start-stop-daemon.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 033b2950694fc3fa6d90dca34de1e4f8fa06c934 Author: Guillem Jover Date: Tue Apr 21 09:07:42 2015 +0200 s-s-d: Switch to use a monotonic clock if available Use clock_gettime(CLOCK_MONOTONIC) if available instead of gettimeofday() which gets affected by abrupt system clock changes, and might mess with the timeout calculations. Closes: #783014 Suggested-by: Jose M Calhariz debian/changelog | 3 +++ utils/start-stop-daemon.c | 7 +++++++ 2 files changed, 10 insertions(+) commit 7131cdd1dacf12ba9735cc62f0d1691d60e8cc72 Author: Guillem Jover Date: Wed Apr 22 21:28:24 2015 +0200 s-s-d: Switch to use timespec instead of timeval Switch to use pselect() instead of select(). utils/start-stop-daemon.c | 76 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 53 insertions(+), 23 deletions(-) commit c8c665f47a7353aeb078460a296d51dbd2a6620f Author: Guillem Jover Date: Sun Mar 1 22:22:04 2015 +0100 s-s-d: Do not leak kvm descriptors Cherry picked from commit eaa073bc37901a6d8c46abc9fa5e7ec5551df04b. We should close the kvm instances after every operation, so not to leak them, as they might exhaust the file descriptor pool, or leak into the started process. Closes: #779467 Based-on-patch-by: Jeff Epler debian/changelog | 2 ++ utils/start-stop-daemon.c | 44 ++++++++++++++++++++++++++++++++++---------- 2 files changed, 36 insertions(+), 10 deletions(-) commit e51c293832dd71645c7e2eff530e2a3bdca1b458 Author: Helge Kreutzmann Date: Thu Apr 30 21:04:58 2015 +0200 Update German translation of manual pages Update to 2320t67f1u. man/po/de.po | 99 ++++++++++-------------------------------------------------- 1 file changed, 16 insertions(+), 83 deletions(-) commit 6a7d94d9fbccfbbf32b363fd9eacff266c349fbb Author: Helge Kreutzmann Date: Sat Apr 25 21:44:43 2015 +0200 Update German translation of manual pages Update to 2310t77f1u. man/po/de.po | 334 ++++++++++------------------------------------------------- 1 file changed, 56 insertions(+), 278 deletions(-) commit f30d926803492c98e4baa9b32e7e2bae86d931bd Author: Guillem Jover Date: Tue Apr 21 07:34:40 2015 +0200 src/t: Fix dpkg-divert.t when skipping test due to missing /dev/full We need to restore the admindir permissions or the subsequent non-skipped test will not pass. src/t/dpkg_divert.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit ff8419c7967af14bdc1d1aa629f7c355ae065817 Author: Guillem Jover Date: Tue Mar 17 22:26:05 2015 +0100 dpkg-gensymbols: Use an intermediate variable to keep the file label scripts/dpkg-gensymbols.pl | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 9251cc40db1793d01ad0c27408fb0f170c067772 Author: Guillem Jover Date: Mon Mar 16 23:53:16 2015 +0100 dpkg-gensymbols: Use the original template symbols file when diffing We should not create a new template symbols file, because the output might change (different sorting order for example) relative to the original. Closes: #773718 debian/changelog | 4 ++++ scripts/dpkg-gensymbols.pl | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) commit 30caac9aa9e2559fc899caa88ae284b530ff524e Author: Guillem Jover Date: Tue Mar 17 22:25:32 2015 +0100 scripts: Move each statement into its own line scripts/Dpkg/Conf.pm | 3 ++- scripts/Dpkg/Source/Package/V2.pm | 4 +++- scripts/Dpkg/Source/Patch.pm | 2 +- scripts/Dpkg/Substvars.pm | 4 +++- scripts/dpkg-gensymbols.pl | 4 +++- 5 files changed, 12 insertions(+), 5 deletions(-) commit c0e93b4815598b884eb68abd40601f0035022ef4 Author: Guillem Jover Date: Fri Apr 3 17:06:26 2015 +0200 libdpkg: Remove unused LIST_CHECKNODE_PART and LIST_CHECKNODE macros Instead of adding a missing “#include ” to the header file, just remove the unused macros. Prompted-by: Niels Thykier lib/dpkg/dlist.h | 13 ------------- 1 file changed, 13 deletions(-) commit 4d7f9ffbefde64ba28c6dc87a1c9a823cc7f56d7 Author: Niels Thykier Date: Fri Apr 3 16:16:00 2015 +0200 Remove some unnecessary includes of assert.h Signed-off-by: Niels Thykier dpkg-deb/extract.c | 1 - dpkg-deb/main.c | 1 - dpkg-split/main.c | 1 - dpkg-split/queue.c | 1 - lib/dpkg/ehandle.c | 1 - lib/dpkg/log.c | 1 - src/help.c | 1 - 7 files changed, 7 deletions(-) commit 3a5e0d6cd99c92cfe7c22fb33c636bf15bcf4728 Author: Guillem Jover Date: Thu Mar 12 23:53:30 2015 +0100 dpkg: Use badusage() instead of ohshit() for command-line errors debian/changelog | 1 + dpkg-deb/main.c | 4 ++-- src/trigcmd.c | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) commit 6d987d5647075275f7261e1b7f9c7d157cfc40fb Author: Guillem Jover Date: Tue Apr 21 06:27:09 2015 +0200 scripts/t: Do not use system() string form This passes the arguments as a list, and stops ignoring stderr. scripts/t/Dpkg_Shlibs.t | 2 +- scripts/t/merge_changelogs.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 1d01c619ff52e5d1ed44a3e2c95be7cd7fa48e90 Author: Guillem Jover Date: Tue Apr 21 05:34:06 2015 +0200 src/t: Fix dpkg-divert.t to work even w/o /dev/full The /dev/full device is not usually available outside of Linux, and we should not rely on it. debian/changelog | 1 + src/t/dpkg_divert.t | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) commit 16fd072481648412b413ecfa0b4efdb867dab10c Author: Guillem Jover Date: Tue Apr 21 05:34:06 2015 +0200 src/t: Fix dpkg-divert.t to work on BSD userland On FreeBSD «rm -rf» cannot traverse a directory with mode 000, so we need to remove it beforehand. debian/changelog | 2 ++ src/t/dpkg_divert.t | 2 ++ 2 files changed, 4 insertions(+) commit 5843f277d94c8dc100440525e9d5b9c98836d58f Author: Guillem Jover Date: Tue Apr 21 05:33:09 2015 +0200 scripts/t: Fix typo scripts/t/Dpkg_Source_Patch.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 56ee0496fa49df716db16f8b948412714e2c7378 Author: Guillem Jover Date: Mon Apr 20 23:58:55 2015 +0200 Update amd64 GNU cpu regex in cputable to match amd64 too FreeBSD outputs amd64 as the cpu, so we need to match that in addition to x86_64. cputable | 2 +- debian/changelog | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) commit 63be043d93aa1a7979b8e0f4f638ecf8485eca03 Author: Guillem Jover Date: Sun Apr 19 17:18:50 2015 +0200 man: Clarify interaction between arch-qualifiers and Multi-Arch:foreign This should improve over commit 0fec5cfcf2cc07ea7ac3a20855ecef276d6e34c4. man/deb-control.5 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 93600b77bec6cb583b65fb817a2b13212c2d0b44 Author: Guillem Jover Date: Sun Apr 19 17:18:50 2015 +0200 man: Clarify implicit arch-qualifiers in Provides field This corrects the wording to match the implementation. The change in commit 0fec5cfcf2cc07ea7ac3a20855ecef276d6e34c4 missed the fact that Provides was bundled with the fields that get :any as an implicit arch-qualifier. Split the Provides field description as it's different enough from the other group to merit being described separately. man/deb-control.5 | 42 ++++++++++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 16 deletions(-) commit 0b27f55d8531c82cf78bdc17e0539548cf153828 Author: Guillem Jover Date: Thu Apr 2 04:57:03 2015 +0200 man: Document that apt might expect Packages.xz too debian/changelog | 1 + man/dpkg-scanpackages.1 | 2 ++ 2 files changed, 3 insertions(+) commit 30d45ed5ccc3b9cf1f7cc745a1f293137ec958aa Author: Guillem Jover Date: Thu Mar 26 23:58:43 2015 +0100 man: Remove unneeded u-a references from options descriptions debian/changelog | 1 + man/update-alternatives.1 | 10 ++++------ 2 files changed, 5 insertions(+), 6 deletions(-) commit 7beeb8d100a19f619d7a1173bf379dfd4513bbf7 Author: Guillem Jover Date: Sun Mar 22 23:49:19 2015 +0100 man: Clarify that dpkg-buildpackage -jN forces parallel builds This forces the parallel builds regardless of the packaging or upstream build systems supporting them. Closes: #780866 debian/changelog | 2 ++ man/dpkg-buildpackage.1 | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) commit bdf093f58b51b5d5cdeb9fa8e941bc14190d6eac Author: Guillem Jover Date: Mon Mar 30 22:44:49 2015 +0200 debian: Rework installed documentation debian/changelog | 2 ++ debian/dselect.docs | 1 - debian/libdpkg-dev.docs | 1 - debian/libdpkg-perl.docs | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) commit 094e49827757a7273e740985fe0c931c147be1b6 Author: Guillem Jover Date: Sun Mar 29 03:19:05 2015 +0200 debian: Get rid of backward compatibility pseudo-tags from bug reports All bug reports should have been renamed by now, there's no need to list the old tags anymore. debian/changelog | 1 + debian/usertags | 104 +++++++++++++++++++++++++++---------------------------- 2 files changed, 52 insertions(+), 53 deletions(-) commit f85e380f63d1511df17dc24376e1b746369baf90 Author: Guillem Jover Date: Sat Mar 28 17:13:21 2015 +0100 debian: Update my copyright years debian/copyright | 2 +- dpkg-deb/build.c | 2 +- dpkg-deb/info.c | 1 + dpkg-split/split.c | 2 +- dselect/main.cc | 2 +- dselect/methparse.cc | 1 + dselect/pkgdisplay.cc | 1 + get-version | 2 +- lib/dpkg/command.h | 2 +- lib/dpkg/compress.c | 2 +- lib/dpkg/dpkg.h | 2 +- lib/dpkg/error.c | 2 +- lib/dpkg/error.h | 2 +- lib/dpkg/fields.c | 2 +- lib/dpkg/mlib.c | 1 + lib/dpkg/namevalue.c | 2 +- lib/dpkg/namevalue.h | 2 +- lib/dpkg/options.c | 2 +- lib/dpkg/parse.c | 2 +- lib/dpkg/path-remove.c | 2 +- lib/dpkg/path.h | 2 +- lib/dpkg/pkg-format.c | 2 +- lib/dpkg/pkg-namevalue.c | 2 +- lib/dpkg/pkg-spec.c | 2 +- lib/dpkg/tarfn.c | 2 +- lib/dpkg/triglib.c | 2 +- man/deb-control.5 | 2 +- man/deb-src-control.5 | 2 +- man/deb-symbols.5 | 1 + man/deb-triggers.5 | 2 +- man/deb-version.5 | 1 + man/dpkg-architecture.1 | 2 +- man/dpkg-buildflags.1 | 2 +- man/dpkg-buildpackage.1 | 2 +- man/dpkg-deb.1 | 2 +- man/dpkg-divert.1 | 2 +- man/dpkg-genchanges.1 | 2 +- man/dpkg-gencontrol.1 | 2 +- man/dpkg-gensymbols.1 | 2 +- man/dpkg-maintscript-helper.1 | 2 +- man/dpkg-name.1 | 2 +- man/dpkg-parsechangelog.1 | 2 +- man/dpkg-shlibdeps.1 | 2 +- man/dpkg-source.1 | 2 +- man/dpkg-statoverride.1 | 2 +- man/dpkg-trigger.1 | 2 +- man/dpkg.1 | 2 +- man/dpkg.cfg.5 | 2 +- man/dselect.1 | 2 +- man/dselect.cfg.5 | 2 +- man/start-stop-daemon.8 | 2 +- man/update-alternatives.1 | 2 +- scripts/Dpkg/Arch.pm | 2 +- scripts/Dpkg/BuildOptions.pm | 1 + scripts/Dpkg/Changelog/Debian.pm | 2 +- scripts/Dpkg/Changelog/Parse.pm | 1 + scripts/Dpkg/Control/HashCore.pm | 1 + scripts/Dpkg/Control/Info.pm | 1 + scripts/Dpkg/IPC.pm | 2 +- scripts/Dpkg/Shlibs.pm | 1 + scripts/Dpkg/Shlibs/Cppfilt.pm | 1 + scripts/Dpkg/Source/Functions.pm | 2 ++ scripts/Dpkg/Source/Package.pm | 1 + scripts/Dpkg/Source/Package/V1.pm | 1 + scripts/Dpkg/Source/Package/V2.pm | 2 +- scripts/Dpkg/Source/Patch.pm | 1 + scripts/Dpkg/Util.pm | 2 +- scripts/Dpkg/Vendor/Debian.pm | 1 + scripts/changelog/debian.pl | 2 +- scripts/dpkg-checkbuilddeps.pl | 2 +- scripts/dpkg-maintscript-helper.sh | 2 +- scripts/dpkg-name.pl | 2 +- scripts/dpkg-scansources.pl | 2 +- src/archives.c | 2 +- src/archives.h | 1 + src/cleanup.c | 2 +- src/configure.c | 2 +- src/enquiry.c | 2 +- src/help.c | 2 +- src/main.c | 2 +- src/main.h | 2 +- src/remove.c | 2 +- src/select.c | 2 +- src/selinux.c | 2 +- src/statcmd.c | 2 +- src/unpack.c | 2 +- src/verify.c | 2 +- utils/update-alternatives.c | 2 +- 88 files changed, 89 insertions(+), 70 deletions(-) commit dc1c7ec2dd5e401c708a29397c928db75a877133 Author: Guillem Jover Date: Sat Mar 28 17:12:21 2015 +0100 debian: Add missing public modules to dpkg-dev package description debian/changelog | 1 + debian/control | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) commit 493a4848d066476ebb009d68ff3f506cbeeaf884 Author: Guillem Jover Date: Fri Mar 27 23:02:35 2015 +0100 debian: Name each public-domain license with a different name debian/changelog | 1 + debian/copyright | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit d37c3c8c93f6f9345dac4cb08014e23f8bdd9a13 Author: Guillem Jover Date: Fri Mar 27 23:00:01 2015 +0100 debian: Switch to debhelper compatibility level 9 debian/changelog | 1 + debian/compat | 2 +- debian/control | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit 8dfc4cd2e65b359e9e408d26b218add28d406f47 Author: Helge Kreutzmann Date: Sat Apr 18 18:41:35 2015 +0200 Update German translation of manual pages Update to 2270t117f1u. man/po/de.po | 878 +++++++++++------------------------------------------------ 1 file changed, 162 insertions(+), 716 deletions(-) commit 5c8486359563fbe9844d278e2878018dd59613a4 Author: Helge Kreutzmann Date: Sat Apr 18 18:12:25 2015 +0200 Fix typo (missing space) man/dpkg-buildpackage.1 | 2 +- man/po/es.po | 4 ++-- man/po/fr.po | 4 ++-- man/po/hu.po | 4 ++-- man/po/it.po | 4 ++-- man/po/ja.po | 4 ++-- man/po/pl.po | 4 ++-- man/po/pt_BR.po | 4 ++-- man/po/ru.po | 4 ++-- man/po/sv.po | 4 ++-- man/po/zh_CN.po | 4 ++-- 11 files changed, 21 insertions(+), 21 deletions(-) commit 8cb89b00cbd28b5e8b7d859ca01559a658980de0 Author: Guillem Jover Date: Thu Apr 9 01:30:54 2015 +0200 build: Handle multiple dpkg series gracefully Allow to specify which dpkg series we want to test. Default to the current one in dpkg.git master. And unify make variable usage that conditionalizes test on available features. Makefile | 43 +++++++++++++++++++++++++++++++++++++++++-- README | 3 +++ t-deb-conffiles/Makefile | 6 ++++++ t-deb-format/Makefile | 20 +++++++++++++------- t-provides/Makefile | 10 ++++++++++ t-triggers/Makefile | 4 +++- 6 files changed, 76 insertions(+), 10 deletions(-) commit ea71ee3497d27f1c7f6642a0abb90bc08059bf9c Author: Helge Kreutzmann Date: Sun Apr 12 19:09:28 2015 +0200 Update German translation of manual pages Update to 2160t227f1u. man/po/de.add | 2 +- man/po/de.po | 933 ++++++++++++---------------------------------------------- 2 files changed, 193 insertions(+), 742 deletions(-) commit ae597c8f928ab88423d6e9bba7d3a484507e29a9 Author: Helge Kreutzmann Date: Sun Apr 12 07:06:54 2015 +0200 Update German scripts translation Update to 550t. scripts/po/de.po | 322 +++++++++++++++---------------------------------------- 1 file changed, 88 insertions(+), 234 deletions(-) commit d3c86b4d290bcee0fc7d26ec0574f6856f9d2096 Author: Guillem Jover Date: Tue Mar 10 03:18:08 2015 +0100 po: Remove useless language and maintainer names from LINGUAS files The information should be kept in the .po files, having it here just duplicates it and makes it more costly to keep it sync. dselect/po/LINGUAS | 65 +--------------------------------------- po/LINGUAS | 87 +----------------------------------------------------- scripts/po/LINGUAS | 19 +----------- 3 files changed, 3 insertions(+), 168 deletions(-) commit 0b36380ef444360e59662f9e12778dc9d71a5ba3 Author: Guillem Jover Date: Thu Mar 5 21:26:16 2015 +0100 dpkg-name: Use Dpkg::Version instead of manually stripping the epoch scripts/dpkg-name.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 1f7907c2e9c6740b406919661185240cf9365cd5 Author: Guillem Jover Date: Wed Mar 4 04:17:13 2015 +0100 dpkg-scansources: Move main() into outer scope There's no point in the main() function, just move the code out of it, to conform with the rest of the codebase. This also gets rid of the $exit variable, which was serving not purpose at all, as the main() function was always returning 0. scripts/dpkg-scansources.pl | 85 ++++++++++++++++++++------------------------- 1 file changed, 38 insertions(+), 47 deletions(-) commit 6ec2138f61e47817fabf0806859449faf35d7f06 Author: Guillem Jover Date: Wed Mar 4 04:08:09 2015 +0100 dpkg-scansources: Handle parsed source control data just once Move all control data processing after having parsed it. Sort the entries if necessary, and then print them. scripts/dpkg-scansources.pl | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) commit a2215c7dab34adced59dca6a6d9139e997b083d3 Author: Guillem Jover Date: Wed Mar 4 03:40:47 2015 +0100 dpkg-scanpackages: Create the dpkg-deb pipe using open instead of Dpkg::IPC scripts/dpkg-scanpackages.pl | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit 15c0c8429903ef08ada0fd735dc8140db45a59e3 Author: Guillem Jover Date: Wed Mar 4 03:26:26 2015 +0100 dpkg-shlibdeps: Say substvars instead of varlist in error messages debian/changelog | 1 + scripts/dpkg-shlibdeps.pl | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit d9de01ec25be9d4fe5a7d06fdcb8341d5960ecb0 Author: Guillem Jover Date: Tue Mar 3 23:46:09 2015 +0100 scripts: Pass a list to open() for commands instead of a string scripts/dpkg-scansources.pl | 2 +- scripts/t/Dpkg_Compression.t | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) commit 208b323fd273463c5669f6ed68c1b11f673df0a3 Author: Guillem Jover Date: Tue Mar 3 23:23:20 2015 +0100 scripts: Change version() functions to never exit scripts/dpkg-checkbuilddeps.pl | 3 +-- scripts/dpkg-scanpackages.pl | 3 +-- scripts/dpkg-scansources.pl | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) commit 710252f8a4c5d89b2ad94d7c1171256cb87939ef Author: Guillem Jover Date: Tue Mar 3 23:12:52 2015 +0100 dpkg-scansources: Use syserr() instead of close_msg() Remove now unnecessary function. debian/changelog | 1 + scripts/dpkg-scansources.pl | 8 +------- 2 files changed, 2 insertions(+), 7 deletions(-) commit f2dad32eb544c69bc802c3180d675896545da8a5 Author: Guillem Jover Date: Mon Mar 2 03:10:37 2015 +0100 dpkg-scanpackages: Use a scalar variable instead of an IO::Handle scripts/dpkg-scanpackages.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 5864c7885661f9332f2d7cf81fd0bc56a127fc97 Author: Guillem Jover Date: Mon Mar 2 03:16:00 2015 +0100 dpkg-scanpackages: Remove unused IO::File scripts/dpkg-scanpackages.pl | 1 - 1 file changed, 1 deletion(-) commit 3ccceb8acb2f552df3392a0538438f3a433a0406 Author: Guillem Jover Date: Mon Mar 2 02:34:56 2015 +0100 Dpkg::Shlibs::Cppfilt: Remove unused IO::Handle scripts/Dpkg/Shlibs/Cppfilt.pm | 1 - 1 file changed, 1 deletion(-) commit 303685d1ecbb3a933adf877850bdb1a75f21bfc0 Author: Guillem Jover Date: Sun Mar 1 15:33:07 2015 +0100 dpkg-scanpackages: Rework error handling on missing Package field scripts/dpkg-scanpackages.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 00d4a39b2aed1b6c387d3da0d93a85c8141df23f Author: Guillem Jover Date: Sat Feb 28 23:59:23 2015 +0100 dpkg-scanpackages: Factor out deb processing into a new process_deb() function scripts/dpkg-scanpackages.pl | 124 +++++++++++++++++++++++-------------------- 1 file changed, 65 insertions(+), 59 deletions(-) commit 869b66753c6b1530ef3ec7961810372b80b42397 Author: Guillem Jover Date: Sat Feb 28 23:45:25 2015 +0100 dpkg-scansources: Use proper constants instead of constant subs scripts/dpkg-scansources.pl | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit f027f743929abca7c1351c5f8150e10272072415 Author: Guillem Jover Date: Fri Apr 10 04:39:54 2015 +0200 dpkg-maintscript-helper: Fix logic in symlink argument check The check was inverted. Regression introduced in commit 4266c68bc4516d706544555026b00c5be759b24c. scripts/dpkg-maintscript-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 24c37ae5a5c701ad54ae842031e1db3556f29875 Author: Guillem Jover Date: Wed Apr 8 06:13:34 2015 +0200 man: Use .TQ to separate different but related options in dpkg(1) debian/changelog | 1 + man/dpkg.1 | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) commit 0bb21c41598380bcf228a258368ac643c5b66cae Author: Guillem Jover Date: Wed Apr 8 06:04:58 2015 +0200 man: Use .IP and .br instead of .PP and .in +5 man/deb-triggers.5 | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) commit 1c7fbcdb7ca2175658d0d8d6ec2b6ab2582bdc09 Author: Guillem Jover Date: Tue Apr 7 05:23:44 2015 +0200 man: Fix option values and pathname markup in dpkg-deb(1) debian/changelog | 1 + man/dpkg-deb.1 | 29 +++++++++++++++-------------- 2 files changed, 16 insertions(+), 14 deletions(-) commit 961545d6a5835ffe6f22266e8f7bf68f118efe5e Author: Guillem Jover Date: Tue Apr 7 05:17:35 2015 +0200 man: Say control-field-name instead of control-file-field in dpkg-deb(1) debian/changelog | 1 + man/dpkg-deb.1 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit a786f2c8c8a669fe4b723f641ceb49df53a3d122 Author: Guillem Jover Date: Mon Apr 6 23:39:22 2015 +0200 man: Say archive instead of filename for dpkg-deb option in dpkg(1) debian/changelog | 1 + man/dpkg.1 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 023e0d4f2f98af7f9b1cbc3d905cd8cdc586c924 Author: Guillem Jover Date: Mon Apr 6 23:38:17 2015 +0200 man: Say output instead of display for dpkg-deb tar-file option debian/changelog | 1 + man/dpkg.1 | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9a15bba98030d93613f69cf145c060c658a5017a Author: Guillem Jover Date: Mon Apr 6 23:36:27 2015 +0200 man: Add missing period to a sentence in dselect(1) man/dselect.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 280274123fbadcd3051f997fd8bf57546fa2b18e Author: Guillem Jover Date: Mon Apr 6 23:34:41 2015 +0200 man: Mark dselect(1) color attributes in bold debian/changelog | 1 + man/dselect.1 | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit 786fc80f2d66b77915cead6155ec5cc464a10c6b Author: Guillem Jover Date: Mon Apr 6 23:32:49 2015 +0200 man: Lowercase warning and note admonitions in s-s-d(8) debian/changelog | 1 + man/start-stop-daemon.8 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit de997dd555c2fd16418e90c54f06ac105eb7ed39 Author: Guillem Jover Date: Mon Apr 6 23:30:37 2015 +0200 po: Unfuzzy translations dselect/po/bs.po | 108 ++++++------ dselect/po/ca.po | 108 ++++++------ dselect/po/cs.po | 108 ++++++------ dselect/po/da.po | 108 ++++++------ dselect/po/de.po | 108 ++++++------ dselect/po/dselect.pot | 108 ++++++------ dselect/po/el.po | 108 ++++++------ dselect/po/es.po | 108 ++++++------ dselect/po/et.po | 108 ++++++------ dselect/po/eu.po | 108 ++++++------ dselect/po/fr.po | 108 ++++++------ dselect/po/gl.po | 108 ++++++------ dselect/po/hu.po | 108 ++++++------ dselect/po/id.po | 108 ++++++------ dselect/po/it.po | 108 ++++++------ dselect/po/ja.po | 108 ++++++------ dselect/po/ko.po | 108 ++++++------ dselect/po/nb.po | 108 ++++++------ dselect/po/nl.po | 108 ++++++------ dselect/po/nn.po | 108 ++++++------ dselect/po/pl.po | 108 ++++++------ dselect/po/pt.po | 108 ++++++------ dselect/po/pt_BR.po | 108 ++++++------ dselect/po/ro.po | 108 ++++++------ dselect/po/ru.po | 108 ++++++------ dselect/po/sk.po | 108 ++++++------ dselect/po/sv.po | 108 ++++++------ dselect/po/tl.po | 108 ++++++------ dselect/po/vi.po | 108 ++++++------ dselect/po/zh_CN.po | 108 ++++++------ dselect/po/zh_TW.po | 108 ++++++------ po/ast.po | 418 ++++++++++++++++++++++---------------------- po/bs.po | 417 ++++++++++++++++++++++---------------------- po/ca.po | 417 ++++++++++++++++++++++---------------------- po/cs.po | 417 ++++++++++++++++++++++---------------------- po/da.po | 417 ++++++++++++++++++++++---------------------- po/de.po | 420 ++++++++++++++++++++++---------------------- po/dpkg.pot | 415 ++++++++++++++++++++++---------------------- po/dz.po | 418 ++++++++++++++++++++++---------------------- po/el.po | 418 ++++++++++++++++++++++---------------------- po/eo.po | 417 ++++++++++++++++++++++---------------------- po/es.po | 417 ++++++++++++++++++++++---------------------- po/et.po | 418 ++++++++++++++++++++++---------------------- po/eu.po | 417 ++++++++++++++++++++++---------------------- po/fr.po | 417 ++++++++++++++++++++++---------------------- po/gl.po | 418 ++++++++++++++++++++++---------------------- po/hu.po | 453 ++++++++++++++++++++++++------------------------ po/id.po | 452 +++++++++++++++++++++++------------------------ po/it.po | 417 ++++++++++++++++++++++---------------------- po/ja.po | 442 +++++++++++++++++++++++----------------------- po/km.po | 418 ++++++++++++++++++++++---------------------- po/ko.po | 452 +++++++++++++++++++++++------------------------ po/ku.po | 418 ++++++++++++++++++++++---------------------- po/lt.po | 418 ++++++++++++++++++++++---------------------- po/mr.po | 418 ++++++++++++++++++++++---------------------- po/nb.po | 418 ++++++++++++++++++++++---------------------- po/ne.po | 418 ++++++++++++++++++++++---------------------- po/nl.po | 418 ++++++++++++++++++++++---------------------- po/nn.po | 418 ++++++++++++++++++++++---------------------- po/pa.po | 418 ++++++++++++++++++++++---------------------- po/pl.po | 417 ++++++++++++++++++++++---------------------- po/pt.po | 417 ++++++++++++++++++++++---------------------- po/pt_BR.po | 418 ++++++++++++++++++++++---------------------- po/ro.po | 418 ++++++++++++++++++++++---------------------- po/ru.po | 417 ++++++++++++++++++++++---------------------- po/sk.po | 417 ++++++++++++++++++++++---------------------- po/sv.po | 417 ++++++++++++++++++++++---------------------- po/th.po | 442 +++++++++++++++++++++++----------------------- po/tl.po | 418 ++++++++++++++++++++++---------------------- po/tr.po | 417 ++++++++++++++++++++++---------------------- po/vi.po | 442 +++++++++++++++++++++++----------------------- po/zh_CN.po | 417 ++++++++++++++++++++++---------------------- po/zh_TW.po | 417 ++++++++++++++++++++++---------------------- scripts/po/ca.po | 94 +++++----- scripts/po/de.po | 94 +++++----- scripts/po/dpkg-dev.pot | 94 +++++----- scripts/po/es.po | 94 +++++----- scripts/po/fr.po | 94 +++++----- scripts/po/pl.po | 96 +++++----- scripts/po/ru.po | 96 +++++----- scripts/po/sv.po | 94 +++++----- 81 files changed, 10814 insertions(+), 11003 deletions(-) commit d465dca48fb9c7c03aedf6fd8f266d22085d2bec Author: Guillem Jover Date: Fri Feb 27 09:44:08 2015 +0100 Consistently use proper quotation marks all over the place That is "" or '', and not the unbalanced `' pair. TODO | 2 +- debian/changelog | 2 + debian/dpkg-dev.preinst | 2 +- debian/dpkg.postinst | 2 +- debian/dpkg.postrm | 2 +- debian/dpkg.preinst | 2 +- debian/dpkg.prerm | 2 +- debian/dselect.preinst | 2 +- dpkg-deb/build.c | 28 ++++++------ dpkg-deb/extract.c | 7 +-- dpkg-deb/info.c | 18 ++++---- dpkg-deb/main.c | 6 +-- dpkg-split/info.c | 44 +++++++++++-------- dpkg-split/join.c | 8 ++-- dpkg-split/main.c | 4 +- dpkg-split/queue.c | 25 ++++++----- dpkg-split/split.c | 4 +- dselect/basecmds.cc | 4 +- dselect/helpmsgs.cc | 66 ++++++++++++++--------------- dselect/main.cc | 7 +-- dselect/methlist.cc | 2 +- dselect/methods/multicd/install | 2 +- dselect/methparse.cc | 29 +++++++------ dselect/pkginfo.cc | 2 +- lib/dpkg/arch.c | 4 +- lib/dpkg/atomic-file.c | 6 +-- lib/dpkg/dbmodify.c | 19 +++++---- lib/dpkg/dump.c | 2 +- lib/dpkg/fields.c | 46 ++++++++++---------- lib/dpkg/options.c | 8 ++-- lib/dpkg/parse.c | 20 ++++----- lib/dpkg/parsehelp.c | 2 +- lib/dpkg/trigdeferred.l | 26 ++++++------ lib/dpkg/triglib.c | 38 ++++++++--------- lib/dpkg/utils.c | 6 +-- scripts/Dpkg/Changelog/Entry/Debian.pm | 2 +- scripts/Dpkg/Control/HashCore.pm | 2 +- scripts/Dpkg/Source/Functions.pm | 2 +- scripts/Dpkg/Source/Package.pm | 2 +- scripts/Dpkg/Source/Package/V1.pm | 20 ++++----- scripts/Dpkg/Source/Package/V2.pm | 15 ++++--- scripts/Dpkg/Source/Package/V3/Bzr.pm | 10 ++--- scripts/Dpkg/Source/Package/V3/Custom.pm | 2 +- scripts/Dpkg/Source/Package/V3/Git.pm | 8 ++-- scripts/Dpkg/Source/Package/V3/Native.pm | 6 +-- scripts/Dpkg/Source/Package/V3/Quilt.pm | 2 +- scripts/Dpkg/Source/Patch.pm | 29 +++++++------ scripts/Dpkg/Source/Quilt.pm | 2 +- scripts/Dpkg/Substvars.pm | 2 +- scripts/Dpkg/Version.pm | 2 +- scripts/dpkg-architecture.pl | 2 +- scripts/dpkg-buildflags.pl | 2 +- scripts/dpkg-distaddfile.pl | 2 +- scripts/dpkg-genchanges.pl | 2 +- scripts/dpkg-gencontrol.pl | 12 +++--- scripts/dpkg-gensymbols.pl | 2 +- scripts/dpkg-name.pl | 2 +- scripts/dpkg-parsechangelog.pl | 2 +- scripts/dpkg-scanpackages.pl | 2 +- scripts/dpkg-scansources.pl | 2 +- scripts/dpkg-shlibdeps.pl | 14 +++--- scripts/dpkg-source.pl | 8 ++-- scripts/dpkg-vendor.pl | 2 +- src/archives.c | 73 ++++++++++++++++---------------- src/cleanup.c | 9 ++-- src/configure.c | 12 +++--- src/divertcmd.c | 14 +++--- src/divertdb.c | 2 +- src/filesdb.c | 6 +-- src/infodb-access.c | 2 +- src/infodb-upgrade.c | 10 ++--- src/main.c | 8 ++-- src/packages.c | 2 +- src/querycmd.c | 4 +- src/remove.c | 12 +++--- src/script.c | 12 +++--- src/statcmd.c | 4 +- src/trigcmd.c | 2 +- src/unpack.c | 20 ++++----- utils/update-alternatives.c | 12 +++--- 80 files changed, 421 insertions(+), 392 deletions(-) commit 9929591b148577bec771400e003c820afcb9175d Author: Guillem Jover Date: Sat Feb 28 17:44:00 2015 +0100 Regenerate .pot files and merge .po files with them dselect/po/bs.po | 662 ++-- dselect/po/ca.po | 709 ++-- dselect/po/cs.po | 709 ++-- dselect/po/da.po | 711 ++-- dselect/po/de.po | 713 ++-- dselect/po/dselect.pot | 621 ++-- dselect/po/el.po | 693 ++-- dselect/po/es.po | 709 ++-- dselect/po/et.po | 693 ++-- dselect/po/eu.po | 709 ++-- dselect/po/fr.po | 709 ++-- dselect/po/gl.po | 698 ++-- dselect/po/hu.po | 673 ++-- dselect/po/id.po | 698 ++-- dselect/po/it.po | 698 ++-- dselect/po/ja.po | 709 ++-- dselect/po/ko.po | 698 ++-- dselect/po/nb.po | 709 ++-- dselect/po/nl.po | 709 ++-- dselect/po/nn.po | 693 ++-- dselect/po/pl.po | 709 ++-- dselect/po/pt.po | 709 ++-- dselect/po/pt_BR.po | 698 ++-- dselect/po/ro.po | 698 ++-- dselect/po/ru.po | 709 ++-- dselect/po/sk.po | 709 ++-- dselect/po/sv.po | 709 ++-- dselect/po/tl.po | 693 ++-- dselect/po/vi.po | 709 ++-- dselect/po/zh_CN.po | 698 ++-- dselect/po/zh_TW.po | 709 ++-- man/po/de.po | 3491 ++++++++++++++----- man/po/dpkg-man.pot | 6606 ++++++++++++++++++----------------- man/po/es.po | 8023 +++++++++++++++++++++++++------------------ man/po/fr.po | 8679 ++++++++++++++++++++++++++++------------------ man/po/hu.po | 6942 +++++++++++++++++++------------------ man/po/it.po | 8360 ++++++++++++++++++++++++++------------------ man/po/ja.po | 8035 +++++++++++++++++++++++++------------------ man/po/pl.po | 8033 +++++++++++++++++++++++++------------------ man/po/pt_BR.po | 6803 +++++++++++++++++++----------------- man/po/ru.po | 6925 +++++++++++++++++++------------------ man/po/sv.po | 8751 +++++++++++++++++++++++++++++------------------ man/po/zh_CN.po | 6908 ++++++++++++++++++++----------------- po/ast.po | 2447 ++++++------- po/bs.po | 2368 +++++++------ po/ca.po | 2445 ++++++------- po/cs.po | 2439 ++++++------- po/da.po | 2441 ++++++------- po/de.po | 2442 ++++++------- po/dpkg.pot | 2348 +++++++------ po/dz.po | 2430 ++++++------- po/el.po | 2437 ++++++------- po/eo.po | 2439 ++++++------- po/es.po | 2443 ++++++------- po/et.po | 2407 ++++++------- po/eu.po | 2439 ++++++------- po/fr.po | 2443 ++++++------- po/gl.po | 2439 ++++++------- po/hu.po | 2423 ++++++------- po/id.po | 2436 ++++++------- po/it.po | 2441 ++++++------- po/ja.po | 2437 ++++++------- po/km.po | 2430 ++++++------- po/ko.po | 2436 ++++++------- po/ku.po | 2370 +++++++------ po/lt.po | 2423 ++++++------- po/mr.po | 2430 ++++++------- po/nb.po | 2444 ++++++------- po/ne.po | 2430 ++++++------- po/nl.po | 2430 ++++++------- po/nn.po | 2420 ++++++------- po/pa.po | 2389 +++++++------ po/pl.po | 2439 ++++++------- po/pt.po | 2439 ++++++------- po/pt_BR.po | 2438 ++++++------- po/ro.po | 2438 ++++++------- po/ru.po | 2439 ++++++------- po/sk.po | 2440 ++++++------- po/sv.po | 2439 ++++++------- po/th.po | 2439 ++++++------- po/tl.po | 2420 ++++++------- po/tr.po | 2443 ++++++------- po/vi.po | 2441 ++++++------- po/zh_CN.po | 2439 ++++++------- po/zh_TW.po | 2439 ++++++------- scripts/po/ca.po | 1836 +++++----- scripts/po/de.po | 371 +- scripts/po/dpkg-dev.pot | 1454 ++++---- scripts/po/es.po | 1740 +++++----- scripts/po/fr.po | 1822 +++++----- scripts/po/pl.po | 1825 +++++----- scripts/po/ru.po | 1826 +++++----- scripts/po/sv.po | 1825 +++++----- 93 files changed, 121007 insertions(+), 102960 deletions(-) commit e5f2ffb3c2bae264482e705d7db7c7f1066d3908 Author: Guillem Jover Date: Mon Mar 9 23:49:42 2015 +0100 man: Use various groff escape sequences for quoting characters debian/changelog | 1 + man/deb-control.5 | 61 ++++++++++++++++++++--------------- man/deb-old.5 | 2 +- man/deb-origin.5 | 2 +- man/deb-src-control.5 | 60 +++++++++++++++++++--------------- man/deb-symbols.5 | 6 ++-- man/deb-triggers.5 | 14 ++++---- man/deb-version.5 | 14 ++++---- man/deb.5 | 4 +-- man/dpkg-buildflags.1 | 16 ++++----- man/dpkg-deb.1 | 4 +-- man/dpkg-divert.1 | 4 +-- man/dpkg-gensymbols.1 | 13 ++++---- man/dpkg-maintscript-helper.1 | 2 +- man/dpkg-name.1 | 19 +++++------ man/dpkg-parsechangelog.1 | 9 +++--- man/dpkg-query.1 | 18 ++++++----- man/dpkg-shlibdeps.1 | 10 +++--- man/dpkg-source.1 | 75 +++++++++++++++++++++++-------------------- man/dpkg-statoverride.1 | 10 +++--- man/dpkg.1 | 47 ++++++++++++++------------- man/dpkg.cfg.5 | 2 +- man/dselect.1 | 63 +++++++++++++++++++----------------- man/dselect.cfg.5 | 2 +- man/start-stop-daemon.8 | 2 +- man/update-alternatives.1 | 5 +-- 26 files changed, 253 insertions(+), 212 deletions(-) commit f19ad168659fe39efdcc4ce53dc0eea1190f3a3e Author: Guillem Jover Date: Sun Mar 8 23:23:37 2015 +0100 man: Mark field names in bold debian/changelog | 1 + man/deb-control.5 | 8 ++++---- man/dpkg-scanpackages.1 | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) commit 48f05b0655d38fae51a45cbfa3269c1bb1464d91 Author: Guillem Jover Date: Sun Mar 8 23:20:07 2015 +0100 man: Separate multi-line hanging tag paragraphs with .TQ debian/changelog | 1 + man/deb-control.5 | 1 + man/dpkg-buildflags.1 | 4 +++- 3 files changed, 5 insertions(+), 1 deletion(-) commit 4c8db8e1b96b10fef1ef956ee33fe3bf531983cf Author: Guillem Jover Date: Sun Mar 8 23:18:12 2015 +0100 man: Mark some words and commands as non-hyphenable debian/changelog | 1 + man/deb-control.5 | 6 +++--- man/deb-src-control.5 | 2 +- man/dpkg-architecture.1 | 12 ++++++------ man/dpkg-buildflags.1 | 6 +++--- man/dpkg-buildpackage.1 | 4 ++-- 6 files changed, 16 insertions(+), 15 deletions(-) commit 2a49e06717f9e4e7884df6741c5a462e6d920285 Author: Guillem Jover Date: Sat Mar 7 23:56:39 2015 +0100 man: Document that dpkg performs sanity checks on PATH debian/changelog | 1 + man/dpkg.1 | 5 +++++ 2 files changed, 6 insertions(+) commit 329e09e34f91b9efab4718b0d5d98c6c0d445779 Author: Guillem Jover Date: Fri Mar 6 23:44:55 2015 +0100 man: Document in dpkg-buildflags(1) that DEB_VENDOR influences the execution debian/changelog | 1 + man/dpkg-buildflags.1 | 6 ++++++ 2 files changed, 7 insertions(+) commit 2c3253a0fb9579206377c4531a596f7a24104222 Author: Guillem Jover Date: Tue Apr 7 20:17:59 2015 +0200 debian: Group changelog entries per type of change This should help to easily see related changes, or skip entire sections if the reader is not interested. debian/changelog | 167 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 86 insertions(+), 81 deletions(-) commit 4d0426565fb665f42812ded7256c543293fdc606 Author: Guillem Jover Date: Tue Apr 7 08:47:46 2015 +0200 libdpkg: Add path-remove.c to POTFILES Missed in commit f603dc5d087325ba52807ec55777de485bc87128. po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 4c1b9c849df104452feba43faf68bc04b0b868c2 Author: Guillem Jover Date: Fri Feb 27 09:46:52 2015 +0100 man: Document that dpkg-source is sometimes better than dpkg-buildpackage -S Suggested-by: Johannes Schauer debian/changelog | 2 ++ man/dpkg-buildpackage.1 | 3 +++ 2 files changed, 5 insertions(+) commit 292a21f821680f4ee6e1bbbf9b31d965a2b9a19a Author: Guillem Jover Date: Fri Feb 27 00:55:20 2015 +0100 scripts: Move "(default)" annotations in --help output after option description debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 6 +++--- scripts/dpkg-genchanges.pl | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) commit 34e90e894f489f73f4df094367ba2dda2915ffcc Author: Guillem Jover Date: Thu Feb 26 23:30:02 2015 +0100 dpkg-buildpackage: Make dependency checks fatal for -S When we are doing a source-only build the dependency checks are required to be able to safely call the clean target. If the user also specifies -nc then the dependency checks will be omitted. debian/changelog | 1 + scripts/dpkg-buildpackage.pl | 8 +------- 2 files changed, 2 insertions(+), 7 deletions(-) commit d198a81b12addaacf6d726f3334dea48e4598f43 Author: Guillem Jover Date: Thu Feb 26 23:17:28 2015 +0100 dpkg-buildpackage: Disable dependency checks on -S -nc If we are only doing a source build and request not to clean, then there's no need to check the build dependencies, as clean is the only thing in a source-only build that requires them. debian/changelog | 1 + scripts/dpkg-buildpackage.pl | 2 ++ 2 files changed, 3 insertions(+) commit 770965969c0ec9edc91ab9cdada5c97b022809dd Author: Guillem Jover Date: Thu Apr 2 23:56:02 2015 +0200 dpkg: Add --ctrl-tarfile forwarding command for dpkg-deb debian/changelog | 1 + man/dpkg.1 | 2 ++ src/main.c | 6 ++++-- 3 files changed, 7 insertions(+), 2 deletions(-) commit f79acb2abcecc8aa8e28ca85e149789aa98fc723 Author: Guillem Jover Date: Fri Feb 27 11:05:50 2015 +0100 man: Document that timestamps are reset for format 3.0 (quilt) too Prompted-by: Niko Tyni (in #759404) debian/changelog | 2 ++ man/dpkg-source.1 | 4 ++++ 2 files changed, 6 insertions(+) commit cd9def7469966513036a4db842d74112a2627703 Author: Guillem Jover Date: Tue Feb 24 23:47:06 2015 +0100 man: Document version when new features were introduced This should make it easier for people to know when it is safe to use a feature, or if those features are available in older versions, for example when backporting packages. debian/changelog | 1 + man/deb-symbols.5 | 6 ++- man/dpkg-architecture.1 | 5 ++- man/dpkg-buildflags.1 | 7 ++-- man/dpkg-buildpackage.1 | 71 +++++++++++++++++++++------------- man/dpkg-checkbuilddeps.1 | 16 ++++---- man/dpkg-deb.1 | 15 +++++--- man/dpkg-divert.1 | 3 +- man/dpkg-genchanges.1 | 19 +++++---- man/dpkg-gencontrol.1 | 6 +-- man/dpkg-query.1 | 11 ++++-- man/dpkg-scanpackages.1 | 16 +++++--- man/dpkg-scansources.1 | 12 ++++-- man/dpkg-shlibdeps.1 | 22 +++++++---- man/dpkg-source.1 | 98 ++++++++++++++++++++++++++++++----------------- man/dpkg-trigger.1 | 4 +- man/dpkg.1 | 72 ++++++++++++++++++++-------------- man/start-stop-daemon.8 | 25 +++++++----- man/update-alternatives.1 | 11 +++--- 19 files changed, 258 insertions(+), 162 deletions(-) commit 9271979407212c5f7f28bb3b97b3dd9a34d1c1c5 Author: Guillem Jover Date: Wed Apr 1 20:46:58 2015 +0200 man: Properly terminate a bold marking in dpkg(1) debian/changelog | 1 + man/dpkg.1 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit d0cac1673a0f0c23d7e13de963ce9f3910a297fe Author: Guillem Jover Date: Thu Mar 5 23:59:04 2015 +0100 man: Place short options before long ones debian/changelog | 2 ++ dselect/main.cc | 12 ++++++------ man/dpkg-mergechangelogs.1 | 2 +- man/dselect.1 | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) commit ce65b8610bf1cee865d64e072f0a018b02d8dad0 Author: Guillem Jover Date: Fri Apr 3 04:12:59 2015 +0200 man: Mark --format values in bold debian/changelog | 1 + man/dpkg-parsechangelog.1 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 889fa8de40c5b4a5c55ab9496cbc95c32299bea2 Author: Guillem Jover Date: Fri Oct 10 14:48:40 2014 +0200 man: Move description of --all option as the first range option man/dpkg-parsechangelog.1 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit f650c023943601bf6386a24ede9b409986e590e8 Author: Guillem Jover Date: Fri Oct 10 14:48:40 2014 +0200 man: Capitalize dpkg-parsechangelog option dscriptions debian/changelog | 1 + man/dpkg-parsechangelog.1 | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) commit c91c10793d4aa7279e487dd8525a2237b13b1303 Author: Guillem Jover Date: Sun Apr 5 06:40:06 2015 +0200 dselect: Document -? option debian/changelog | 1 + dselect/main.cc | 4 ++-- man/dselect.1 | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) commit afdcbb5b2138b7cc8fb47edcb42c1fb11aa4ffc3 Author: Guillem Jover Date: Sun Apr 5 06:22:43 2015 +0200 dselect: Improve color-spec --help output debian/changelog | 1 + dselect/main.cc | 23 ++++++++++++----------- man/dselect.1 | 2 +- 3 files changed, 14 insertions(+), 12 deletions(-) commit 99bc249f9f8ad94a3f11b0a57f2c261267f3c989 Author: Guillem Jover Date: Sun Apr 5 05:24:44 2015 +0200 dselect: Improve commands listing in --help output Print them before options and list them one on each line with a description. debian/changelog | 2 ++ dselect/main.cc | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) commit f602b6017b6c7ffe4f807f83c06ff46e673c7d2c Author: Guillem Jover Date: Sun Apr 5 06:08:23 2015 +0200 dselect: Say command instead of action debian/changelog | 1 + dselect/main.cc | 4 ++-- man/dselect.1 | 18 +++++++++--------- 3 files changed, 12 insertions(+), 11 deletions(-) commit d96afaf15c1f4e343aad1af8dfc95c7bdaef5c48 Author: Guillem Jover Date: Fri Oct 10 14:48:40 2014 +0200 dpkg-parsechangelog: Rename changelogfile argument to changelog-file This makes the name consistent with all other instances in the code base. debian/changelog | 1 + scripts/changelog/debian.pl | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) commit 148c86fcdff45fbf97c114505d6f8039b52d7d94 Author: Guillem Jover Date: Fri Oct 10 14:48:40 2014 +0200 dpkg-parsechangelog: Normalize command-line parsing This allows them to accept «-ovalue», «-o value», «--option=value» and «--option value», which are the common option formats people expect. Closes: #693951 debian/changelog | 3 ++ man/dpkg-parsechangelog.1 | 24 +++++---- scripts/changelog/debian.pl | 38 ++++++-------- scripts/dpkg-parsechangelog.pl | 114 +++++++++++++++++++++-------------------- 4 files changed, 94 insertions(+), 85 deletions(-) commit 767035bc168e2d85a52dd0ff499706f821053ec3 Author: Helge Kreutzmann Date: Wed Apr 1 18:31:01 2015 +0200 Update German translation of manual pages Update to 2376t. man/po/de.po | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 89 insertions(+), 6 deletions(-) commit 996ead57b175935fdfcc524974082a50c52f7047 Author: Guillem Jover Date: Thu Feb 26 02:05:50 2015 +0100 debian: Fix typo in changelog debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6edbe55eba1656cc0b29bf4bf40dd915b5c1d5a6 Author: Guillem Jover Date: Wed Feb 25 23:32:37 2015 +0100 build: Remove unused AC_CHECK_DECLS for strnlen This is not used since we moved away from the original strnlen.h header in commit d73c292dab981991d73bb3678b0ee13f664c869a. configure.ac | 1 - 1 file changed, 1 deletion(-) commit 30b1eb3d4e4b68f9da82f2bec098796386864376 Author: Guillem Jover Date: Wed Feb 4 18:46:12 2015 +0100 libcompat: Check that HAVE_DECL_SYS_SIGLIST is 0 instead of undefined Cherry picked from commit 4e872b317ef6d69d3daab1058ddfa7a8940a06a6. For declarations the autoconf test always defines the preprocessor symbol to either 0 or 1, contrary to other tests where it's either undefined or 1. Closes: #777044 Based-on-patch-by: Alex Potapenko debian/changelog | 3 +++ lib/compat/strsignal.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit caf11a34878e3f1ac7fe883be6c993e8fcef121a Author: Guillem Jover Date: Mon Feb 2 23:37:28 2015 +0100 dpkg-statoverride: Do not accept unknown user or group names on --add Cherry picked from commit 5c58085b746d234066ea94d386182cfc72c612ba. We should not allow adding user or group names to the database that do not exist in the system passwd database, as the main dpkg program uses strict parsing and will fail with an unrecoverable fatal error if it cannot find a matching name for a uid/gid. Regression introduced in commit e4d6db177fad401ddc8432cf0e2c64e4fcf7bc0d, where we went from too strict to too lax parsing. Closes: #775124 debian/changelog | 2 ++ src/statcmd.c | 10 ++++------ 2 files changed, 6 insertions(+), 6 deletions(-) commit c005f4e35a4f91a250cb0108ab5644ce7e1d064c Author: Guillem Jover Date: Tue Oct 21 22:43:55 2014 +0200 Dpkg::Vendor::Debian: Add sanitize feature area This feature area includes the features “address”, “thread”, “leak” and “undefined”, all disabled by default. Cloess: #760741 debian/changelog | 3 +++ man/dpkg-buildflags.1 | 27 ++++++++++++++++++++-- scripts/Dpkg/Vendor/Debian.pm | 52 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+), 2 deletions(-) commit fd9a1ad6a1b94e2e739f74ef0e556d0eda99dcc7 Author: Guillem Jover Date: Sun Feb 22 21:02:16 2015 +0100 Dpkg::Gettext: Add support for context functions scripts/Dpkg/Gettext.pm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit e88280bba6f2fbb5504159757a64a03b5a5424af Author: Guillem Jover Date: Sat Feb 21 23:46:34 2015 +0100 Dpkg::Gettext: Add support for $DEFAULT_TEXT_DOMAIN This allows to get localized messages even when the program has called textdomain() with a different value than the one used in the Dpkg perl modules. It also allows the user to set a different default domain name. debian/changelog | 2 ++ scripts/Dpkg/Gettext.pm | 39 ++++++++++++++++++++++++++++++++------- 2 files changed, 34 insertions(+), 7 deletions(-) commit 596c09c45952cebdd34dcaa42e5f29d1938ae4d7 Author: Mathias Behrle Date: Wed Feb 25 13:47:46 2015 +0100 dpkg-maintscript-helper: Support moving a conffile not being shipped When the conffile stops being shipped, it might make sense to move it somewhere else to preserve it. Do not fail if the new conffile does not exist. Closes: #767003 Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/dpkg-maintscript-helper.sh | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) commit 4266c68bc4516d706544555026b00c5be759b24c Author: Guillem Jover Date: Sat Feb 21 17:00:06 2015 +0100 dpkg-maintscript-helper: Handle symlinks and pathnames ending in slash For symlinks, error out as the argument is obviously bogus. For pathnames just strip the trailing slash, as this is a common way to name directories. Closes: #771752 debian/changelog | 2 ++ scripts/dpkg-maintscript-helper.sh | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) commit 595395466b0820b8231bb4ef373b976e9bb8152a Author: Guillem Jover Date: Fri Feb 20 02:16:10 2015 +0100 dpkg: Rework oldconffsetflags() into pkg_conffiles_mark_old() Change the signature to take a pkginfo instead of a list of conffiles. And turn the while loop into a for loop. src/help.c | 21 ++++++++++++++------- src/main.h | 2 +- src/remove.c | 2 +- src/unpack.c | 4 ++-- src/verify.c | 2 +- 5 files changed, 19 insertions(+), 12 deletions(-) commit ce4f0311e6e7a7b5125c4e881a0f2d3a8e1eea45 Author: Guillem Jover Date: Sun Apr 6 06:03:24 2014 +0200 dpkg-split: Parse deb control file directly from stdin This reduces the dpkg-deb calls to just one instead of one per field. In addition we also reduce the parsing and dumping to a single instance. dpkg-split/split.c | 54 ++++++++++++++++++++++-------------------------------- 1 file changed, 22 insertions(+), 32 deletions(-) commit 02d0c3228bbbd12a19bea77816ded88f7dd5f78e Author: Guillem Jover Date: Wed Mar 25 18:51:07 2015 +0100 libdpkg: Export parsedb functions in the map file These will be used soon by the dpkg programs. lib/dpkg/libdpkg.map | 5 +++++ 1 file changed, 5 insertions(+) commit d6aeb1f2b3352c17a182e1db9dcca62000cc9623 Author: Guillem Jover Date: Fri Feb 20 00:33:14 2015 +0100 dpkg-deb: Use path_remove_tree() instead of direcly calling «rm -rf» dpkg-deb/info.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) commit f603dc5d087325ba52807ec55777de485bc87128 Author: Guillem Jover Date: Thu Feb 19 23:50:14 2015 +0100 libdpkg: Move path removal functions to path-remove module lib/dpkg/Makefile.am | 1 + lib/dpkg/libdpkg.map | 4 ++ lib/dpkg/path-remove.c | 143 +++++++++++++++++++++++++++++++++++++++++++++++++ lib/dpkg/path.h | 8 +++ src/archives.c | 35 ------------ src/archives.h | 2 - src/cleanup.c | 1 + src/help.c | 65 ---------------------- src/main.h | 3 -- src/remove.c | 1 + 10 files changed, 158 insertions(+), 105 deletions(-) commit ca2eb8ec82fd6450ad283279b8ad16c6b13b3433 Author: Guillem Jover Date: Thu Feb 19 23:57:19 2015 +0100 libdpkg: Rename ensure_pathname_nonexisting() to path_remove_tree() src/archives.c | 8 ++++---- src/help.c | 9 +++++---- src/main.h | 2 +- src/remove.c | 4 ++-- src/unpack.c | 4 ++-- 5 files changed, 14 insertions(+), 13 deletions(-) commit cd552708022da5924c4066e1d4e462a461532f40 Author: Guillem Jover Date: Thu Feb 26 00:07:05 2015 +0100 libdpkg: Fix trig_activate_start() calling sequence comment lib/dpkg/triglib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit ee6ff7f97b55026a3d4a5baaa8611723b05347fa Author: Guillem Jover Date: Wed Feb 25 23:59:17 2015 +0100 libdpkg: Duplicate trig_activating_name just once in trig_activate_start() Instead of on each *_start() function. This should also avoid mistakes like the ones fixed in commit c39373bdc04c83e33f92bf374236bf04a894ae93. lib/dpkg/triglib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 5c2e744fa8c69435d20eec4d3dcfcd66798edc43 Author: Guillem Jover Date: Wed Feb 25 23:50:00 2015 +0100 libdpkg: Rename struct symlinkList to tar_symlink_entry lib/dpkg/tarfn.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 0d458827e376719a11f24c158fb4cc83f06be064 Author: Helge Kreutzmann Date: Tue Mar 31 20:59:31 2015 +0200 Update German scripts translation Update to 547t. debian/changelog | 3 + scripts/po/de.po | 1386 ++++++++++++++++++++++++++---------------------------- 2 files changed, 674 insertions(+), 715 deletions(-) commit 9df9fbbfe26328f2392ecfde1b4f0c427c728392 Author: Guillem Jover Date: Wed Feb 18 20:02:02 2015 +0100 dselect: Improve available state sorting order strings Switch to use terms that are more common in package managers, and as such should be more familiar to new users. debian/changelog | 1 + dselect/pkgdisplay.cc | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) commit 5ff29d575f5910ce861d587e96f288b1464a476b Author: Guillem Jover Date: Wed Feb 18 20:03:37 2015 +0100 Dpkg::Source::Patch: Add missing preposition in error message debian/changelog | 1 + scripts/Dpkg/Source/Patch.pm | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit d23fc91c07075c8fe4b4d8da2076619e14cc22a3 Author: Guillem Jover Date: Wed Feb 18 18:43:14 2015 +0100 dpkg-genchanges: Clarify changes description open error debian/changelog | 1 + scripts/dpkg-genchanges.pl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit c97cd956ed6f0dc69f72915d2f7dc7303fff0d88 Author: Guillem Jover Date: Tue Feb 17 03:41:05 2015 +0100 dpkg-scanpackages: Merge the same warning messages into a single line debian/changelog | 1 + scripts/dpkg-scanpackages.pl | 15 +++++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) commit d195b23cffcf807a35125869c7989ee1542ef61d Author: Guillem Jover Date: Tue Feb 17 03:17:19 2015 +0100 Say directory instead of dir in output messages debian/changelog | 1 + dselect/methods/multicd/setup | 4 ++-- scripts/Dpkg/Source/Functions.pm | 2 +- scripts/Dpkg/Source/Package/V1.pm | 4 ++-- scripts/dpkg-gencontrol.pl | 2 +- scripts/dpkg-gensymbols.pl | 2 +- scripts/dpkg-name.pl | 4 ++-- scripts/dpkg-scanpackages.pl | 2 +- src/remove.c | 2 +- 9 files changed, 12 insertions(+), 11 deletions(-) commit 19d98528e6dd7dd4d82f3d1d564f443382fd5f99 Author: Guillem Jover Date: Tue Feb 17 01:34:37 2015 +0100 Use "" instead of "return" or "enter" in input prompts This should make it more clear we are talking about the key and not something else. debian/changelog | 1 + dselect/methods/ftp/setup.pl | 2 +- scripts/dpkg-buildpackage.pl | 2 +- utils/update-alternatives.c | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) commit 453132199086db399401668a2c572b32c9f71717 Author: Guillem Jover Date: Tue Feb 17 01:19:08 2015 +0100 Expand EOF and eof into "end of file" in error messages debian/changelog | 1 + dselect/methparse.cc | 15 ++++++++++----- lib/dpkg/parse.c | 16 ++++++---------- lib/dpkg/utils.c | 2 +- scripts/Dpkg/Changelog/Debian.pm | 7 ++++--- scripts/Dpkg/Control/HashCore.pm | 2 +- src/configure.c | 2 +- src/main.c | 3 ++- src/select.c | 6 ++++-- src/t/dpkg_divert.t | 6 ++++-- 10 files changed, 34 insertions(+), 26 deletions(-) commit c6d00a09743e4fa4d531a341f0113c43a2669972 Author: Guillem Jover Date: Mon Feb 16 23:58:39 2015 +0100 scripts: Uppercase field names in error messages debian/changelog | 1 + scripts/Dpkg/Control/Info.pm | 2 +- scripts/Dpkg/Source/Package.pm | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) commit d1ca4be7f80e040a325c653336b6182c0ec024ee Author: Guillem Jover Date: Mon Feb 16 23:57:51 2015 +0100 dpkg-name: Say package instead of it in warning message debian/changelog | 1 + scripts/dpkg-name.pl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit a609805efa566bbe02485566e65bbac2dbf666f4 Author: Guillem Jover Date: Mon Feb 16 23:54:27 2015 +0100 Dpkg::Changelog::Parse: Say execute instead of exec in error message debian/changelog | 2 ++ scripts/Dpkg/Changelog/Parse.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 2a6d9275c0bdd44f306adf816cfcec95204d0e54 Author: Guillem Jover Date: Sun Feb 15 23:58:34 2015 +0100 libdpkg: Simplify namevalue parsing code This removes the special fallback value from the name/value table, so that we cannot accidentally parse it as a valid value. dselect/pkgdisplay.cc | 1 - lib/dpkg/fields.c | 87 ++++++++++++++++++++++++++++++------------------ lib/dpkg/namevalue.c | 8 ++--- lib/dpkg/namevalue.h | 2 -- lib/dpkg/pkg-namevalue.c | 1 - 5 files changed, 56 insertions(+), 43 deletions(-) commit e512a2cbae3727d2ede9060944bb532d998b3c00 Author: Guillem Jover Date: Sat Feb 14 23:56:25 2015 +0100 dpkg: Use dpkg_error_print() instead of explicitly printing a dpkg_error src/enquiry.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) commit 7614571bb8ef84ca6e4b6de4b93a9bcc2ebbef73 Author: Guillem Jover Date: Sat Feb 14 23:55:08 2015 +0100 libdpkg: Add new dpkg_error_print() function lib/dpkg/error.c | 18 ++++++++++++++++++ lib/dpkg/error.h | 3 +++ lib/dpkg/libdpkg.map | 1 + 3 files changed, 22 insertions(+) commit 24ee92a45643e428717b052b50e91d62029ad71f Author: Guillem Jover Date: Fri Dec 21 10:25:36 2012 +0100 libdpkg: Change m_vasprintf() to assume it is more prone to succeed lib/dpkg/mlib.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit 670e9d691f0ca4d8dd1c693a8cb47218404f76ac Author: Guillem Jover Date: Sun Dec 2 21:52:29 2012 +0100 libdpkg: Factor out new m_vasprintf() from m_asprintf() lib/dpkg/dpkg.h | 2 ++ lib/dpkg/libdpkg.map | 1 + lib/dpkg/mlib.c | 18 ++++++++++++++---- 3 files changed, 17 insertions(+), 4 deletions(-) commit 6b4ff833d2f171da3740f00e90b0613db72a5601 Author: Guillem Jover Date: Fri Feb 13 04:22:58 2015 +0100 dpkg-query: Do not fail on -W and -l when multiple arguments match a package We should not short-circuit on first match for a package, as that produces bogus errors when the following arguments do match those packages as well, either because they are repeated or because they are sub or super-patterns. Closes: #588505 debian/changelog | 2 ++ src/querycmd.c | 27 +++++++++++++++++++-------- 2 files changed, 21 insertions(+), 8 deletions(-) commit 8f3f34cf26325a4cd9e0f3f53aaa113632ff9077 Author: Guillem Jover Date: Fri Feb 13 04:36:19 2015 +0100 dpkg-query: Use pkg_array_foreach() instead of ad-hoc traversal src/querycmd.c | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) commit 55553c41c15ddcf93b3c3a7ee42feccff4366bb9 Author: Guillem Jover Date: Fri Feb 13 04:30:54 2015 +0100 libdpkg: Add new pkg_array_foreach() function lib/dpkg/libdpkg.map | 1 + lib/dpkg/pkg-array.c | 25 ++++++++++++++++++++++++- lib/dpkg/pkg-array.h | 6 +++++- 3 files changed, 30 insertions(+), 2 deletions(-) commit 0cf46b6e677ef5f64d6543db9786ba892229f44e Author: Guillem Jover Date: Thu Feb 12 02:49:13 2015 +0100 debian: Only use stackprotectorstrong when building with gcc >= 4.9 This allows to build the package on old systems, such as Debian wheezy. debian/changelog | 1 + debian/rules | 6 ++++++ 2 files changed, 7 insertions(+) commit dd0f24f2edd15342fbd5fedbfd2c269c71406315 Author: Guillem Jover Date: Wed Mar 11 20:03:05 2015 +0100 scripts/t: Ignore stderr from «dpkg --compare-versions» if it does not fail Since commit ed4ce62868d2d03d87b24741cae4ace5a0d6056a, the command will emit warnings when using the deprecated operators '<' and '>'. scripts/t/Dpkg_Version.t | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 01abe8afb95f4bafb1f192fb3fe451a95cd2e3f8 Author: Guillem Jover Date: Sun Feb 15 23:18:31 2015 +0100 perl: Rework use and exporter declarations Place 'use' strict and warnings first, then Exporter 'our' declarations, then Test module imports, then system module imports, then Dpkg module imports, then 'use' parent and overload pragmas, separated by a blank line for each block. Split each exported symbol declaration into its own line to ease modifications. dselect/methods/Dselect/Ftp.pm | 17 +++++++++++++---- scripts/Dpkg.pm | 17 +++++++++++++++-- scripts/Dpkg/Arch.pm | 32 ++++++++++++++++++++++---------- scripts/Dpkg/BuildProfiles.pm | 8 ++++++-- scripts/Dpkg/Changelog/Debian.pm | 3 ++- scripts/Dpkg/Changelog/Entry/Debian.pm | 15 ++++++++++----- scripts/Dpkg/Changelog/Parse.pm | 8 +++++--- scripts/Dpkg/Checksums.pm | 10 ++++++---- scripts/Dpkg/Compression.pm | 25 +++++++++++++++---------- scripts/Dpkg/Compression/FileHandle.pm | 6 +++--- scripts/Dpkg/Control.pm | 21 +++++++++++++++------ scripts/Dpkg/Control/Changelog.pm | 1 + scripts/Dpkg/Control/Fields.pm | 3 +-- scripts/Dpkg/Control/FieldsCore.pm | 29 ++++++++++++++++++++--------- scripts/Dpkg/Control/Types.pm | 16 +++++++++++++--- scripts/Dpkg/Deps.pm | 13 +++++++++---- scripts/Dpkg/Dist/Files.pm | 4 ++-- scripts/Dpkg/ErrorHandling.pm | 20 +++++++++++++++----- scripts/Dpkg/Exit.pm | 7 +++++-- scripts/Dpkg/File.pm | 9 ++++++--- scripts/Dpkg/Getopt.pm | 4 +++- scripts/Dpkg/Gettext.pm | 8 +++++++- scripts/Dpkg/IPC.pm | 11 +++++++---- scripts/Dpkg/Package.pm | 8 +++++--- scripts/Dpkg/Path.pm | 16 +++++++++++----- scripts/Dpkg/Shlibs.pm | 10 +++++++--- scripts/Dpkg/Shlibs/Cppfilt.pm | 11 +++++++---- scripts/Dpkg/Shlibs/Objdump.pm | 4 ++-- scripts/Dpkg/Shlibs/Symbol.pm | 3 ++- scripts/Dpkg/Source/Archive.pm | 10 +++++----- scripts/Dpkg/Source/Functions.pm | 10 +++++++--- scripts/Dpkg/Source/Package.pm | 19 ++++++++++--------- scripts/Dpkg/Source/Package/V1.pm | 12 ++++++------ scripts/Dpkg/Source/Package/V2.pm | 20 ++++++++++---------- 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 | 8 ++++---- scripts/Dpkg/Source/Package/V3/Quilt.pm | 8 ++++---- scripts/Dpkg/Source/Patch.pm | 10 +++++----- scripts/Dpkg/Source/Quilt.pm | 12 ++++++------ scripts/Dpkg/Substvars.pm | 6 +++--- scripts/Dpkg/Util.pm | 9 +++++++-- scripts/Dpkg/Vars.pm | 9 ++++++--- scripts/Dpkg/Vendor.pm | 14 ++++++++++---- scripts/Dpkg/Vendor/Debian.pm | 4 ++-- scripts/Dpkg/Version.pm | 26 ++++++++++++++++++-------- scripts/Test/Dpkg.pm | 4 +++- scripts/dpkg-distaddfile.pl | 1 + scripts/dpkg-genchanges.pl | 1 + scripts/dpkg-mergechangelogs.pl | 6 +++--- scripts/dpkg-source.pl | 8 ++++---- scripts/t/Dpkg_Control.t | 1 + scripts/t/Dpkg_Shlibs.t | 1 + 54 files changed, 358 insertions(+), 192 deletions(-) commit 046ad868331a9f1581837404449b4320e6d09c36 Author: Guillem Jover Date: Thu Feb 12 01:34:14 2015 +0100 Dpkg::Gettext: Use parenthesis on carp call to tell perl it is a function Because we are using 'require' instead of 'use', perl does not know that the symbol is a function instead of a bareword. scripts/Dpkg/Gettext.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 19966da8950830948181ee707858384d3a11effb Author: Guillem Jover Date: Wed Feb 11 06:50:35 2015 +0100 dpkg-statoverride: Set the SE Linux context on --update When we update the file, we should apply the SE Linux context in the same way we are doing while unpacking binary packages. Closes: #690361 debian/changelog | 1 + src/Makefile.am | 5 +++++ src/statcmd.c | 4 ++++ 3 files changed, 10 insertions(+) commit ad959d4c7bced43649b1aefc30beadc06f93111a Author: Guillem Jover Date: Wed Feb 11 06:46:42 2015 +0100 dpkg: Move SE Linux support into a separate file This will allow to use the code in dpkg-statoverride, and unclutters the tar handling code. po/POTFILES.in | 1 + src/Makefile.am | 1 + src/archives.c | 99 +--------------------------------------- src/main.h | 6 +++ src/selinux.c | 139 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 148 insertions(+), 98 deletions(-) commit 18bfaa4e7588e5607be04c0f64842190d95008a4 Author: Guillem Jover Date: Thu Dec 4 19:05:43 2014 +0100 debian: Remove old trigger related Breaks/Conflicts from dpkg debian/changelog | 1 + debian/control | 42 +----------------------------------------- debian/dpkg.lintian-overrides | 2 -- 3 files changed, 2 insertions(+), 43 deletions(-) commit d389058aecf5bf2b14bbbd7ef97d33f7b76ec158 Author: Guillem Jover Date: Sat Feb 21 01:19:41 2015 +0100 build: Disable tests for trigger processing with dependency checks Makefile | 5 +++++ 1 file changed, 5 insertions(+) commit 2a9111dd62bdfb6c07683db62d7f67c5eec45f73 Author: Helge Kreutzmann Date: Wed Feb 11 20:34:03 2015 +0100 Update German translation of manual pages Update to 2366t. man/po/de.po | 627 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 327 insertions(+), 300 deletions(-) commit 10ff6c4fc598dbc9697c825a8c8e1bf25caa2fcb Author: Raphaël Hertzog Date: Wed Feb 11 08:33:21 2015 +0100 debian: drop myself from Uploaders debian/changelog | 3 +++ debian/control | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 473bd89d5163c2e247f391cf470cae84deba323d Author: Guillem Jover Date: Wed Feb 4 22:52:17 2015 +0100 doc: Bump DOT_GRAPH_MAX_NODES from 50 to 100 This avoids doxygen truncating the graphs due to too many nodes, and the accompanying warnings. doc/Doxyfile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e1e109ad87dab86d155524f02417fc20e2874d59 Author: Guillem Jover Date: Wed Nov 26 21:37:07 2014 +0100 build: Map % back to : Although we do not have any epochs (and should never need one!), it serves as an example script for others to use. get-version | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 57554c38e9a2208a4c0e004b67ceda98b7439fda Author: Guillem Jover Date: Wed Nov 26 21:37:07 2014 +0100 build: Use tr instead of sed to map _ to ~ get-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit eb06339d12cc9797db9a6c069ab3d287db2102aa Author: Guillem Jover Date: Sun Feb 1 23:04:18 2015 +0100 Dpkg::BuildOptions: Fix typo scripts/Dpkg/BuildOptions.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5e97e572b749e111ef9cf1b796e6af06846b0092 Author: Guillem Jover Date: Wed Nov 26 21:35:18 2014 +0100 Dpkg::Source::Package: Add ‘.mailmap’ to the default ignore lists debian/changelog | 1 + scripts/Dpkg/Source/Package.pm | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit d3d8d778d7e00eceb0073123caf6ca718ae9e82c Author: Guillem Jover Date: Tue Dec 16 18:25:29 2014 +0100 dpkg-deb: Add support for reading the archive from standard input All commands reading archives support this, except for --raw-extract that does not. Closes: #616614 Based-on-patch-by: Johannes Schauer debian/changelog | 3 +++ dpkg-deb/extract.c | 8 +++++++- man/dpkg-deb.1 | 8 ++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) commit c3972f49f90ed4cc94421c4be5af523df7dd23c4 Author: Guillem Jover Date: Sat Feb 7 20:41:46 2015 +0100 dpkg-deb: Fix compressor subprocess name This has not been a gzip-only compressor for a long time, update the code to reflect this. dpkg-deb/build.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit dfb3c1b8f54352b3db05494ff408d42ead808ef6 Author: Guillem Jover Date: Sat Feb 7 20:02:52 2015 +0100 dpkg-deb: Avoid an intermediate variable for the version string dpkg-deb/build.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit b7c8836813228c4d7517dde292df7bca835ab0bb Author: Guillem Jover Date: Mon Feb 9 19:54:18 2015 +0100 dpkg: Fix --audit to report missing and empty architecture fields The parser always converts the value from DPKG_ARCH_NONE to DPKG_ARCH_EMPTY, so we will handle both here to avoid any such problem in the future. Regression introduced in commit 0238c795df88925c6579f740c7681ade22e88625. debian/changelog | 2 ++ src/enquiry.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 753374a4e1fbbd013127b5c8cb832c7014f479a1 Author: Guillem Jover Date: Mon Feb 9 19:41:23 2015 +0100 libdpkg: Clarify that pkg_spec error messages should print empty architectures The error message should print the passed package specifier, even if the architecture qualifier was empty, otherwise it could seem confusing. So state that we only want to handle the DPKG_ARCH_NONE case, and implicitly ignore DPKG_ARCH_EMPTY. lib/dpkg/pkg-spec.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit b008da395dc30c0e59530ed4370134582d90ec65 Author: Guillem Jover Date: Sat Feb 7 20:00:06 2015 +0100 dpkg-deb: Handle properly missing and empty architecture fields The parser always converts the value from DPKG_ARCH_NONE to DPKG_ARCH_EMPTY, so we will handle both here to avoid any such problem in the future. Regression introduced in commit 0238c795df88925c6579f740c7681ade22e88625. debian/changelog | 2 ++ dpkg-deb/build.c | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) commit 462714edc7c2244a06ee2b9ccd33f4064b692378 Author: Guillem Jover Date: Fri Feb 6 21:18:55 2015 +0100 dpkg-deb: Factor out check_control_file() from check_control_area() dpkg-deb/build.c | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) commit 59c4fca8bf9dfe6b3e35432abb09e3243e022f00 Author: Guillem Jover Date: Fri Feb 6 21:18:55 2015 +0100 dpkg-deb: Rename check_new_pkg() to check_control_area() dpkg-deb/build.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 2aeff6e069580bae18b0e936b140cedbb7befa18 Author: Guillem Jover Date: Fri Nov 14 17:34:10 2014 +0100 dpkg-deb, libdpkg: Fix short-lived memory leaks Closes: #769515 debian/changelog | 1 + dpkg-deb/build.c | 2 ++ dpkg-deb/info.c | 2 ++ lib/dpkg/compress.c | 4 ++++ 4 files changed, 9 insertions(+) commit b284e7dc76923be937d6402536674e65a1e2eddb Author: Guillem Jover Date: Sun Feb 8 03:59:37 2015 +0100 dpkg-deb: Rename pkg_get_pathname() to gen_dest_pathname_from_pkg() dpkg-deb/build.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit cde1ec7b97ebda0c110ad9eaab331e0d160b2766 Author: Guillem Jover Date: Sat Jan 31 17:12:06 2015 +0100 dpkg-deb: Move destination pathname generation into a new function Always allocate the pathname, and return NULL in case we cannot generate one, delegating it to the code that parses the control file. dpkg-deb/build.c | 72 ++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 46 insertions(+), 26 deletions(-) commit 7720ab422764ce9d24977ad541dc7ed825d933be Author: Guillem Jover Date: Sun Feb 8 23:32:34 2015 +0100 libdpkg: Do not silently eat a standalone ‘-’ in the command-line parser A single dash is commonly used to refer to standard input, and having to use ‘--’ to stop the parser is very cumbersome. Besides, there's no reason a standalone ‘-’ should be silently ignored. debian/changelog | 1 + lib/dpkg/options.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 76bfda78aacf06ca01b9b4b813689193b21910dc Author: Guillem Jover Date: Thu Nov 6 21:09:24 2014 +0100 libdpkg: Trim whitespace from the end of config file lines This will stop passing strange spaces to the option handlers, and avoids an unintelligible error message about unbalanced quotes when using quoted arguments. Ref: #762031 Reported-by: Christoph Biedl debian/changelog | 2 ++ lib/dpkg/options.c | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) commit 279a55c16156f8f9a232481e732fe900c07ae7a9 Author: Guillem Jover Date: Sun Nov 9 00:21:52 2014 +0100 dpkg: Add comment describing pkg_istobe values src/main.h | 5 +++++ 1 file changed, 5 insertions(+) commit 68c4b0b5268614a0d6a710627e8e42f90b7208b1 Author: Guillem Jover Date: Fri Jan 30 02:58:28 2015 +0100 man: Move man pages from section 8 to 1 These programs were moved from …/sbin/ to …/bin/ but the man pages did not follow suit. debian/changelog | 2 ++ debian/dpkg.manpages | 6 +++--- man/Makefile.am | 6 +++--- man/{dpkg-divert.8 => dpkg-divert.1} | 4 ++-- man/{dpkg-statoverride.8 => dpkg-statoverride.1} | 4 ++-- man/po/po4a.cfg | 6 +++--- man/{update-alternatives.8 => update-alternatives.1} | 4 ++-- 7 files changed, 17 insertions(+), 15 deletions(-) commit 365de3ae4de86f84ed2f028344980a6a592d5b35 Author: Tomas Pospisek Date: Thu Jan 29 23:53:01 2015 +0100 man: Document the obsolete dpkg --compare-versions operators in dpkg(1) [guillem@debian.org: - Tiny wording and formatting tweaks. ] Closes: #776551 Signed-off-by: Guillem Jover debian/changelog | 3 +++ man/dpkg.1 | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) commit ed4ce62868d2d03d87b24741cae4ace5a0d6056a Author: Guillem Jover Date: Thu Jan 29 23:50:10 2015 +0100 dpkg: Warn on obsolete '<' and '>' operators in --compare-versions These have very confusing semantics, and for the same reason that they should be avoided in package control data, they should be avoided on the command-line. Emit a warning for unsuspecting users that might get trapped by these operators. debian/changelog | 1 + src/enquiry.c | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit ce37b28cac7e6608f68646071f8e8bea957af339 Author: Guillem Jover Date: Sun Feb 8 04:03:09 2015 +0100 debian: Fix changelog formatting debian/changelog | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit f183e4d39ffacc90d8a3db9be54cc8be9b00bb8d Author: Helge Kreutzmann Date: Thu Jan 29 22:36:57 2015 +0100 Update German translation of manual pages Update to 2364t. debian/changelog | 3 + man/po/de.po | 5314 ++++++++++++++++++++++++++++-------------------------- 2 files changed, 2736 insertions(+), 2581 deletions(-) commit ae736c6f93f507f7b1e00b002e26d8bfcd62f72c Author: Guillem Jover Date: Wed Jan 28 21:29:19 2015 +0100 libdpkg: Make virtinfos a static variable Warned-by: clang lib/dpkg/pkg-format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 39dac7ef6dd31823075d43a202a1a4a5ac13b98d Author: Guillem Jover Date: Wed Jan 28 21:28:26 2015 +0100 libdpkg: Mark functions as DPKG_ATTR_NORET Warned-by: clang lib/dpkg/command.h | 2 +- lib/dpkg/compress.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 23a058153c9cf0be2cb49b41cf9581c7ccf6ee50 Author: Guillem Jover Date: Tue Jan 27 19:21:44 2015 +0100 dpkg-genchanges: Use strftime() instead of unportable «date -R» The latter is not specified in POSIX, and is not widely portable. We have to temporarily set LC_TIME to 'C', to get the output specified by RFC-2822. debian/changelog | 2 ++ scripts/dpkg-genchanges.pl | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) commit 67d6106e54018059092db674787dc6a2994f1379 Author: Guillem Jover Date: Tue Jan 27 18:05:36 2015 +0100 dpkg: Fix indentation src/unpack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3010654eeed22f91c7dd018482b4c814042a4a6d Author: Guillem Jover Date: Tue Jan 27 18:05:19 2015 +0100 libcompat: Remove dangling blank line lib/compat/alphasort.c | 1 - 1 file changed, 1 deletion(-) commit 8c5be590854ff613ed234dcc8d1d24d7ed638626 Author: Guillem Jover Date: Mon Jan 26 17:05:18 2015 +0100 libdpkg: Remove unneeded braces in if statement lib/dpkg/tarfn.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit dbafc0431b45fca65ee2a4b2fff40fed918d1d23 Author: Guillem Jover Date: Mon Jan 26 17:01:10 2015 +0100 libdpkg: Remove useless trailing ‘;’ in for (;;) block lib/dpkg/tarfn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e66be31b1e40cf2b147c5940b860c72a7e85d81a Author: Guillem Jover Date: Sat Jan 24 01:40:04 2015 +0100 build: Add new gcc 5 warnings Warn on features not present in ISO C99 but present in ISO C11, on sizeof for an array argument, on switch keyword with bool values, and logical not on the left handside of a comparison. m4/dpkg-compiler.m4 | 4 ++++ 1 file changed, 4 insertions(+) commit 4ec629eaee8edf37d06cfada82eb5d59001a200a Author: Guillem Jover Date: Wed Jan 28 19:04:11 2015 +0100 build: Check for -Wformat-security with -Wformat This flag does not work anymore in gcc 5 w/o also passing -Wformat. m4/dpkg-compiler.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1cf30e78ad84c3f0808d3dae6587cca910c1171f Author: Guillem Jover Date: Thu Jan 22 02:39:29 2015 +0100 build: Make va_copy check cross-compilable We are only checking if the va_copy symbol is available, do not try to run the test program. debian/changelog | 2 ++ m4/dpkg-funcs.m4 | 31 ++++++++++++++----------------- 2 files changed, 16 insertions(+), 17 deletions(-) commit 5294116c6d0f290fd13096d3b70904159078ecf3 Author: Guillem Jover Date: Thu Jan 22 02:09:07 2015 +0100 build: When cross-building assume a working snprintf on SUS >= v3 SUSv2 and earlier had conflicting semantics with the C99 snprintf() ones. Because we expect a C99 environment, assume that if we are using SUSv3 or newer then we have a working snprintf() implementation. debian/changelog | 2 ++ m4/dpkg-funcs.m4 | 19 +++++++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) commit 950be3fcbdf373d43dea6f5b18fcf3c61747fd33 Author: Guillem Jover Date: Thu Jan 22 00:36:18 2015 +0100 build: Rework DPKG_C_C99 macro to define HAVE_C_C99 just once Use the opportunity to fix the indentation. m4/dpkg-compiler.m4 | 53 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 23 deletions(-) commit a4938a097f33f22ccaef453ba015898f89ecd508 Author: Guillem Jover Date: Tue Jan 20 13:58:36 2015 +0100 build: Use mv instead of «cp -p» There's no point in preserving the file metadata if we are going to overwrite it from a shell redirection. scripts/Makefile.am | 4 ++-- scripts/mk/Makefile.am | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) commit 04725ad2b4b9077f4af5bc3781519c08cb6eb069 Author: Guillem Jover Date: Tue Jan 20 13:57:29 2015 +0100 build: Always pass -f to rm calls scripts/Makefile.am | 2 +- scripts/mk/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9ed7d4d47b73ffe67e1f7d31f899a1dfd43d490b Author: Guillem Jover Date: Tue Jan 20 02:37:20 2015 +0100 dpkg-gencontrol: Rework Installed-Size field default value computation Switch from «du» to File::Find, and accumulate size usage per filesystem object, on 1 KiB units. Use the actual size only for regular files and symlinks, and just 1 KiB for any other filesystem object type. This guarantees a constant and reproducible size regardless of the build system filesystem being used. Document how the value is computed, and that it is just a size approximation. Closes: #650077 debian/changelog | 4 ++++ man/deb-substvars.5 | 19 ++++++++++++------- scripts/dpkg-gencontrol.pl | 43 ++++++++++++++++++++++--------------------- 3 files changed, 38 insertions(+), 28 deletions(-) commit d5bbe517c05e6e3712636726a1bcf7b22c3fd17b Author: Guillem Jover Date: Tue Jan 20 02:19:04 2015 +0100 Dpkg::Checksums: Switch from using programs to Digest modules This was one cause for portability problems, as the checksum programs have different names on different systems, they also have different output. Obsolete the program property, now that we are not making using any of those programs. debian/changelog | 2 ++ scripts/Dpkg/Checksums.pm | 58 ++++++++++++++++++++++++++--------------------- 2 files changed, 34 insertions(+), 26 deletions(-) commit b021f2d380679e57b75cce508a35087bf3c7a71f Author: Guillem Jover Date: Mon Jan 19 20:41:53 2015 +0100 build: Wrap file references in man page PO files debian/changelog | 1 + man/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 2ed75691a974b8456b26d83e984c56e6933f8331 Author: Guillem Jover Date: Sun Jan 18 21:12:37 2015 +0100 build: Bump gettext version to 0.19 This allows us to use the new --add-location option with the file argument, which will remove a huge amount diff noise on source code changes, while still retaining the useful origin of the string. README | 2 +- configure.ac | 2 +- debian/changelog | 3 +++ debian/control | 2 +- dselect/po/Makevars | 5 +++-- man/Makefile.am | 1 + po/Makevars | 5 +++-- scripts/po/Makevars | 5 +++-- 8 files changed, 16 insertions(+), 9 deletions(-) commit 106b0a0b3f818293cc5cb2bb567ec687a4254b33 Author: Guillem Jover Date: Sun Jan 18 02:07:01 2015 +0100 scripts: Remove unused «use Dpkg» scripts/Dpkg/Changelog.pm | 1 - scripts/Dpkg/Checksums.pm | 1 - scripts/Dpkg/Source/Package/V2.pm | 1 - scripts/Dpkg/Source/Package/V3/Bzr.pm | 1 - scripts/Dpkg/Source/Package/V3/Custom.pm | 1 - scripts/Dpkg/Source/Package/V3/Git.pm | 1 - scripts/Dpkg/Source/Package/V3/Native.pm | 1 - scripts/Dpkg/Source/Package/V3/Quilt.pm | 1 - scripts/Dpkg/Source/Patch.pm | 1 - scripts/t/Dpkg_Vendor.t | 1 - 10 files changed, 10 deletions(-) commit b815aaeb6f28ee7027ea2a1c66262efa17d706a6 Author: Guillem Jover Date: Tue Jan 13 14:20:04 2015 +0100 dpkg-shlibdeps: Use dpkg-query instead of dpkg for --search This has the effect of honoring the admindir passed as an environment variable, as dpkg sets the variable unconditionally, but dpkg-query does honor it. Closes: #775258 debian/changelog | 2 ++ scripts/dpkg-shlibdeps.pl | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit 79076f9b6161fec2e048f03b3daaa5b81bb723ab Author: Guillem Jover Date: Tue Dec 2 00:06:02 2014 +0100 dpkg-scansources: Fix perl uninitialized value usage on missing Binary field debian/changelog | 2 ++ scripts/dpkg-scansources.pl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 5604301adaa4c10c455a560407a01898adf7af9e Author: Guillem Jover Date: Wed Jan 28 03:46:15 2015 +0100 Dpkg::IPC: Document function signatures debian/changelog | 1 + scripts/Dpkg/IPC.pm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit f25418fe3ae04d1a8d439dd14c4ab411ef1770ac Author: Guillem Jover Date: Fri Jan 2 19:33:25 2015 +0100 Dpkg::Util: Update comment to mention new implementations from List::Util scripts/Dpkg/Util.pm | 3 +++ 1 file changed, 3 insertions(+) commit 0c388b9842662ec332642ac7e1344cd2d48c2dc4 Author: Guillem Jover Date: Mon Dec 1 23:51:59 2014 +0100 Dpkg::Source::Package::V2: Use TMPDIR instead of manually setting DIR debian/changelog | 2 ++ scripts/Dpkg/Source/Package/V2.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 44915e38da1f4e5fc692f0e5e24c0dee620eb965 Author: Guillem Jover Date: Mon Dec 1 23:47:56 2014 +0100 Dpkg::Source::Patch: Enable sub-second timestamps with Time::HiRes We should have a recent enough Perl now. debian/changelog | 1 + scripts/Dpkg/Source/Patch.pm | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) commit 5e59d94a17051b1185c591a1fc3eed00e3b01070 Author: Guillem Jover Date: Mon Dec 1 22:11:29 2014 +0100 perl: Switch from legacy File::Path functions to new ones Use make_path() instead of mkpath(), and remove_tree() instead of rmtree(). debian/changelog | 1 + dselect/methods/ftp/install.pl | 8 ++++---- scripts/Dpkg/Source/Package/V2.pm | 8 ++++---- scripts/Dpkg/Source/Patch.pm | 4 ++-- scripts/dpkg-name.pl | 4 ++-- 5 files changed, 13 insertions(+), 12 deletions(-) commit 200e5fd6572ca67d2d26c2da0c53ded782626225 Author: Helmut Grohne Date: Sat Dec 6 01:36:25 2014 +0100 Dpkg::Shlibs: Prefer multiarch paths to multilib ones Match the ld.so path resolution logic, by preferring multiarch paths over multilib or cross paths. [guillem@debian.org: - Adapt to current code. ] Closes: #772184 Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/Dpkg/Shlibs.pm | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit 99c025a516ea775187e6834f2f37246297f1a304 Author: Guillem Jover Date: Sun Nov 30 21:54:00 2014 +0100 Dpkg::Shlibs: Split multiarch cross-compilation libraries from toolchain ones Split them so that we can mark the toolchain cross-compilation libraries as deprecated, and in the future possibly just hide them by default. scripts/Dpkg/Shlibs.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 845d011793a67c211a3ed93ea399a95fc331808b Author: Guillem Jover Date: Sun Nov 30 21:54:00 2014 +0100 Dpkg::Shlibs: Do not use an intermediate library path variable Assign directly to @librarypaths when adding the cross-compilation library paths. scripts/Dpkg/Shlibs.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 0a297195aa68c7e5a5066d80504bc6e18887f97d Author: Guillem Jover Date: Sun Nov 30 21:54:00 2014 +0100 Dpkg::Shlibs: Detangle deprecated multilib paths into their own variables This will allow in the future to hide these by default and avoid polluting the default paths. scripts/Dpkg/Shlibs.pm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 9a005b87fce1fa542d8d033a0eecdb0a0aff0334 Author: Guillem Jover Date: Sun Nov 30 21:37:22 2014 +0100 Dpkg::Shlibs: Remove support for GCC_TARGET environment variable This was a temporary workaround for very old gcc toolchains. See: #453267 debian/changelog | 2 ++ scripts/Dpkg/Shlibs.pm | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) commit 96e0d5d129fd963b3ef254580985c54bb717b5af Author: Guillem Jover Date: Sun Nov 23 21:19:44 2014 +0100 Dpkg::Shlibs: Move @librarypaths setup into new setup_library_paths() function This avoids inflicting the cost of the setup on any code loading the module. It also makes it easier to unit test the module. scripts/Dpkg/Shlibs.pm | 97 ++++++++++++++++++++++++++++---------------------- 1 file changed, 55 insertions(+), 42 deletions(-) commit fe4bec2900e867f4fc68622dfe035aaced0b2359 Author: Guillem Jover Date: Mon Jan 12 21:17:38 2015 +0100 Dpkg::Shlibs: Rename reset_library_paths() to blank_library_paths() This will allow to initialize the library paths to be an empty array, instead of just resetting it after the fact, which means the new name will make more sense. scripts/Dpkg/Shlibs.pm | 10 +++++----- scripts/t/Dpkg_Shlibs.t | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) commit cc8dcb869da29be73f969ec972f24356b6c038ce Author: Guillem Jover Date: Sun Nov 23 21:19:44 2014 +0100 test: Remove unused @save_paths variable scripts/t/Dpkg_Shlibs.t | 1 - 1 file changed, 1 deletion(-) commit ea1357d0f153c9a0534ea301f7d7ef2262343249 Author: Guillem Jover Date: Sat Nov 22 23:59:39 2014 +0100 Dpkg: Use shift instead of @_ on single argument unpacking scripts/Dpkg/Arch.pm | 16 ++++++++-------- scripts/Dpkg/BuildEnv.pm | 4 ++-- scripts/Dpkg/BuildFlags.pm | 23 +++++++++++++++-------- scripts/Dpkg/BuildOptions.pm | 2 +- scripts/Dpkg/Changelog.pm | 8 ++++---- scripts/Dpkg/Changelog/Entry.pm | 8 ++++---- scripts/Dpkg/Changelog/Entry/Debian.pm | 26 +++++++++++++------------- scripts/Dpkg/Checksums.pm | 7 ++++--- scripts/Dpkg/Compression.pm | 6 +++--- scripts/Dpkg/Compression/FileHandle.pm | 6 +++--- scripts/Dpkg/Compression/Process.pm | 4 ++-- scripts/Dpkg/Conf.pm | 2 +- scripts/Dpkg/Control.pm | 2 +- scripts/Dpkg/Control/FieldsCore.pm | 2 +- scripts/Dpkg/Control/HashCore.pm | 2 +- scripts/Dpkg/Deps.pm | 8 ++++---- scripts/Dpkg/Dist/Files.pm | 2 +- scripts/Dpkg/File.pm | 2 +- scripts/Dpkg/Index.pm | 4 ++-- scripts/Dpkg/Interface/Storable.pm | 2 +- scripts/Dpkg/Shlibs.pm | 2 +- scripts/Dpkg/Shlibs/Objdump.pm | 10 +++++----- scripts/Dpkg/Shlibs/Symbol.pm | 2 +- scripts/Dpkg/Shlibs/SymbolFile.pm | 8 ++++---- scripts/Dpkg/Source/Archive.pm | 3 ++- scripts/Dpkg/Source/Functions.pm | 8 ++++---- scripts/Dpkg/Source/Package.pm | 12 ++++++------ scripts/Dpkg/Source/Package/V1.pm | 3 ++- scripts/Dpkg/Source/Package/V2.pm | 12 ++++++------ scripts/Dpkg/Source/Package/V3/Quilt.pm | 4 ++-- scripts/Dpkg/Source/Patch.pm | 4 ++-- scripts/Dpkg/Source/Quilt.pm | 24 ++++++++++++------------ scripts/Dpkg/Substvars.pm | 2 +- scripts/Dpkg/Vendor/Default.pm | 2 +- scripts/Dpkg/Vendor/Ubuntu.pm | 2 +- scripts/Dpkg/Version.pm | 4 ++-- scripts/dpkg-architecture.pl | 2 +- scripts/dpkg-buildpackage.pl | 6 +++--- scripts/dpkg-name.pl | 6 +++--- scripts/dpkg-source.pl | 2 +- scripts/t/Dpkg_Compression.t | 2 +- scripts/t/Dpkg_Control.t | 2 +- scripts/t/Dpkg_Deps.t | 2 +- 43 files changed, 135 insertions(+), 125 deletions(-) commit 609750150cdf265ff8ed7477613ea319399cb0ad Author: Guillem Jover Date: Tue Nov 18 22:05:53 2014 +0100 Dpkg::Arch: Refactor table loading into a common function The loading is always the same, the difference is just in the parsing logic. scripts/Dpkg/Arch.pm | 74 ++++++++++++++++++---------------------------------- 1 file changed, 25 insertions(+), 49 deletions(-) commit add97a770e54a9f691f7abacc6eb5be876027645 Author: Guillem Jover Date: Tue Nov 18 22:05:53 2014 +0100 Dpkg::Arch: Assume abitable is always present Switch the conditional loading of the abitable to expect it to always exist, and bump libdpkg-perl depends on dpkg to 1.16.3, the version introducing the file. This will allow some refactoring. debian/changelog | 2 ++ debian/control | 2 +- scripts/Dpkg/Arch.pm | 18 ++++++------------ 3 files changed, 9 insertions(+), 13 deletions(-) commit 061c572fdade80049d96db839d60d89e7387f607 Author: Guillem Jover Date: Tue Nov 18 23:56:10 2014 +0100 test: Move use strict and warnings as the first directives scripts/t/Dpkg_Arch.t | 4 ++-- scripts/t/Dpkg_BuildOptions.t | 1 + scripts/t/Dpkg_Changelog.t | 1 + scripts/t/Dpkg_Deps.t | 1 + scripts/t/Dpkg_IPC.t | 1 + scripts/t/Dpkg_Substvars.t | 4 ++-- scripts/t/Dpkg_Version.t | 1 + scripts/t/merge_changelogs.t | 3 ++- src/t/dpkg_divert.t | 8 +++++--- utils/t/update_alternatives.t | 12 +++++++----- 10 files changed, 23 insertions(+), 13 deletions(-) commit 8d557d6c8ea6f370e00d13eaa6234b2ef2d800dc Author: Guillem Jover Date: Mon Nov 17 10:40:45 2014 +0100 test: Check perl code compilation, warnings and strictness Makefile.am | 8 ++++++++ README | 1 + debian/changelog | 2 ++ t/strict.t | 40 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 51 insertions(+) commit f38b214a69052741625e36e265f8b3e47959fa11 Author: Guillem Jover Date: Wed Jan 21 01:59:06 2015 +0100 test: Add new common Test::Dpkg module This will centralize common testsuite functions. README | 1 - scripts/Makefile.am | 4 ++++ scripts/Test/Dpkg.pm | 39 +++++++++++++++++++++++++++++++++++++++ t/critic.t | 8 ++------ 4 files changed, 45 insertions(+), 7 deletions(-) commit ace4a0e8f7b6d468eb62f847734c4deeb616ec13 Author: Guillem Jover Date: Sun Sep 28 15:13:47 2014 +0200 test: Rename TAP test directories from test to t Makefile.am | 6 +++--- configure.ac | 2 +- lib/dpkg/Makefile.am | 2 +- lib/dpkg/{test => t}/.gitignore | 0 lib/dpkg/{test => t}/Makefile.am | 0 lib/dpkg/{test => t}/t-ar.c | 0 lib/dpkg/{test => t}/t-arch.c | 0 lib/dpkg/{test => t}/t-buffer.c | 0 lib/dpkg/{test => t}/t-c-ctype.c | 0 lib/dpkg/{test => t}/t-command.c | 0 lib/dpkg/{test => t}/t-deb-version.c | 0 lib/dpkg/{test => t}/t-error.c | 0 lib/dpkg/{test => t}/t-macros.c | 0 lib/dpkg/{test => t}/t-mod-db.c | 0 lib/dpkg/{test => t}/t-path.c | 0 lib/dpkg/{test => t}/t-pkg-list.c | 0 lib/dpkg/{test => t}/t-pkg-queue.c | 0 lib/dpkg/{test => t}/t-pkginfo.c | 0 lib/dpkg/{test => t}/t-progname.c | 0 lib/dpkg/{test => t}/t-string.c | 0 lib/dpkg/{test => t}/t-subproc.c | 0 lib/dpkg/{test => t}/t-tar.t | 0 lib/dpkg/{test => t}/t-tarextract.c | 0 lib/dpkg/{test => t}/t-test-skip.c | 0 lib/dpkg/{test => t}/t-test.c | 0 lib/dpkg/{test => t}/t-trigger.c | 0 lib/dpkg/{test => t}/t-varbuf.c | 0 lib/dpkg/{test => t}/t-version.c | 0 {test => t}/critic.t | 4 ++-- {test => t}/critic/perlcriticrc | 0 {test => t}/pod.t | 0 31 files changed, 7 insertions(+), 7 deletions(-) commit e0b76a5e48404babba62342a682a2b6c3ad79a08 Author: Guillem Jover Date: Tue Jan 27 20:01:18 2015 +0100 test: Fix perlcritic errors in t-tar.t Fixes ValuesAndExpressions::RequireQuotedHeredocTerminator and ValuesAndExpressions::ProhibitInterpolationOfLiterals. lib/dpkg/test/t-tar.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 96ff574ed0269199d0f6caa98a65fb14a9486684 Author: Guillem Jover Date: Wed Jan 21 01:05:53 2015 +0100 build: Rename perl scripts to have a .pl extension This allows to easily replace the shebang at installation time to use the system perl interpreter and will make it easier to analyze all perl scripts in the source tree. Makefile.am | 4 ++-- doc/{lcov-inject => lcov-inject.pl} | 2 +- dselect/methods/Makefile.am | 27 +++++++++++++++++++++++---- dselect/methods/ftp/.gitignore | 3 +++ dselect/methods/ftp/{install => install.pl} | 0 dselect/methods/ftp/{setup => setup.pl} | 0 dselect/methods/ftp/{update => update.pl} | 0 7 files changed, 29 insertions(+), 7 deletions(-) commit d7676a0374c682a8291e3bc11cae549d14dce04b Author: Guillem Jover Date: Thu Nov 6 21:45:18 2014 +0100 Remove trailing newline from string literal in warning calls debian/changelog | 1 + lib/dpkg/options.c | 2 +- src/main.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit 6e56dce4194d7a4de56c0a9111020e19e5963bf2 Author: Guillem Jover Date: Mon Dec 29 17:03:48 2014 +0100 scripts: Rename and deprecate _g function with g_ The old function name was inconsistent with the other gettext family of short aliases which has already caused some code typos, and functions starting with underscore are considered by convention private in Perl. debian/changelog | 1 + scripts/Dpkg/Arch.pm | 12 ++-- scripts/Dpkg/BuildFlags.pm | 6 +- scripts/Dpkg/BuildOptions.pm | 2 +- scripts/Dpkg/Changelog.pm | 40 +++++------ scripts/Dpkg/Changelog/Debian.pm | 24 +++---- scripts/Dpkg/Changelog/Entry/Debian.pm | 20 +++--- scripts/Dpkg/Changelog/Parse.pm | 16 ++--- scripts/Dpkg/Checksums.pm | 14 ++-- scripts/Dpkg/Compression.pm | 4 +- scripts/Dpkg/Compression/FileHandle.pm | 4 +- scripts/Dpkg/Compression/Process.pm | 6 +- scripts/Dpkg/Conf.pm | 4 +- scripts/Dpkg/Control.pm | 20 +++--- scripts/Dpkg/Control/FieldsCore.pm | 4 +- scripts/Dpkg/Control/HashCore.pm | 22 +++---- scripts/Dpkg/Control/Info.pm | 6 +- scripts/Dpkg/Deps.pm | 4 +- scripts/Dpkg/Dist/Files.pm | 4 +- scripts/Dpkg/ErrorHandling.pm | 18 ++--- scripts/Dpkg/File.pm | 6 +- scripts/Dpkg/Gettext.pm | 27 ++++++-- scripts/Dpkg/IPC.pm | 28 ++++---- scripts/Dpkg/Interface/Storable.pm | 10 +-- scripts/Dpkg/Package.pm | 6 +- scripts/Dpkg/Shlibs.pm | 2 +- scripts/Dpkg/Shlibs/Cppfilt.pm | 2 +- scripts/Dpkg/Shlibs/Objdump.pm | 8 +-- scripts/Dpkg/Shlibs/Symbol.pm | 4 +- scripts/Dpkg/Shlibs/SymbolFile.pm | 10 +-- scripts/Dpkg/Source/Archive.pm | 12 ++-- scripts/Dpkg/Source/Functions.pm | 12 ++-- scripts/Dpkg/Source/Package.pm | 44 ++++++------- scripts/Dpkg/Source/Package/V1.pm | 84 +++++++++++------------ scripts/Dpkg/Source/Package/V2.pm | 108 +++++++++++++++--------------- scripts/Dpkg/Source/Package/V3/Bzr.pm | 32 ++++----- scripts/Dpkg/Source/Package/V3/Custom.pm | 6 +- scripts/Dpkg/Source/Package/V3/Git.pm | 36 +++++----- scripts/Dpkg/Source/Package/V3/Native.pm | 18 ++--- scripts/Dpkg/Source/Package/V3/Quilt.pm | 16 ++--- scripts/Dpkg/Source/Patch.pm | 110 +++++++++++++++---------------- scripts/Dpkg/Source/Quilt.pm | 42 ++++++------ scripts/Dpkg/Substvars.pm | 10 +-- scripts/Dpkg/Vars.pm | 4 +- scripts/Dpkg/Vendor.pm | 2 +- scripts/Dpkg/Vendor/Debian.pm | 6 +- scripts/Dpkg/Vendor/Ubuntu.pm | 10 +-- scripts/Dpkg/Version.pm | 12 ++-- scripts/changelog/debian.pl | 12 ++-- scripts/dpkg-architecture.pl | 24 +++---- scripts/dpkg-buildflags.pl | 18 ++--- scripts/dpkg-buildpackage.pl | 92 +++++++++++++------------- scripts/dpkg-checkbuilddeps.pl | 18 ++--- scripts/dpkg-distaddfile.pl | 18 ++--- scripts/dpkg-genchanges.pl | 54 +++++++-------- scripts/dpkg-gencontrol.pl | 60 ++++++++--------- scripts/dpkg-gensymbols.pl | 42 ++++++------ scripts/dpkg-mergechangelogs.pl | 16 ++--- scripts/dpkg-name.pl | 38 +++++------ scripts/dpkg-parsechangelog.pl | 14 ++-- scripts/dpkg-scanpackages.pl | 48 +++++++------- scripts/dpkg-scansources.pl | 22 +++---- scripts/dpkg-shlibdeps.pl | 72 ++++++++++---------- scripts/dpkg-source.pl | 78 +++++++++++----------- scripts/dpkg-vendor.pl | 22 +++---- scripts/po/Makevars | 2 +- 66 files changed, 783 insertions(+), 765 deletions(-) commit 08ce938d42f01ebe939f8a527f7b02ec017d3cc7 Author: Guillem Jover Date: Mon Dec 29 12:34:42 2014 +0100 dpkg-gensymbols: Add support for arch-bits and arch-endian tags These allow to tag symbols as being only relevant on architectures with specific bits or endianness. The current supported values are 32 and 64 for arch-bits, and little and big for arch-endian. They can also be combined by using multiple tags on the same symbol. Closes: #630342 debian/changelog | 2 + man/dpkg-gensymbols.1 | 39 +++++++++--- scripts/Dpkg/Shlibs/Symbol.pm | 17 +++-- scripts/Makefile.am | 10 ++- scripts/t/Dpkg_Shlibs.t | 55 ++++++++++++++-- scripts/t/Dpkg_Shlibs/basictags.c | 42 +++++++++++-- scripts/t/Dpkg_Shlibs/basictags.symbols | 9 ++- scripts/t/Dpkg_Shlibs/objdump.basictags-amd64 | 85 ++++++++++++++----------- scripts/t/Dpkg_Shlibs/objdump.basictags-i386 | 90 +++++++++++++++------------ scripts/t/Dpkg_Shlibs/objdump.basictags-mips | 84 +++++++++++++++++++++++++ 10 files changed, 331 insertions(+), 102 deletions(-) commit 2edb74f777af3dbab2a7bdfc75ab60b8d70fa2a7 Author: Guillem Jover Date: Mon Dec 29 02:59:00 2014 +0100 Dpkg::Shlibs::Symbol: Use new debarch_is_concerned() instead of Dpkg::Deps Stop abusing the Dpkg::Deps object just to get the architecture computation from it. scripts/Dpkg/Shlibs/Symbol.pm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit e5b233d01ae5914e492316fb2b6e1278a2a7541e Author: Guillem Jover Date: Mon Dec 29 02:59:00 2014 +0100 Dpkg::Arch: Add new debarch_is_concerned() Factor out from Dpkg::Deps::Simple::arch_is_concerned(). scripts/Dpkg/Arch.pm | 29 +++++++++++++++++++++++++++++ scripts/Dpkg/Deps.pm | 25 ++----------------------- 2 files changed, 31 insertions(+), 23 deletions(-) commit baccc432ff05e2c75328c9c3597b3b53bd3986e9 Author: Guillem Jover Date: Sun Dec 28 20:14:48 2014 +0100 libdpkg: Remove now unused cistype() functions These have a suboptimal license and implementation. Just get rid of them. debian/copyright | 1 - lib/dpkg/dpkg.h | 4 ---- lib/dpkg/libdpkg.map | 1 - lib/dpkg/utils.c | 23 ----------------------- 4 files changed, 29 deletions(-) commit 45dcca46d83ea52d683afa4b486d9321148b46cf Author: Guillem Jover Date: Sun Dec 28 20:14:48 2014 +0100 Switch code to use the new C locale character type functions debian/changelog | 2 ++ dpkg-deb/build.c | 4 ++-- dpkg-deb/info.c | 4 ++-- dpkg-split/info.c | 5 +++-- dpkg-split/split.c | 10 +++++----- dselect/baselist.cc | 5 +++-- dselect/methparse.cc | 26 +++++++++++++++----------- dselect/pkgtop.cc | 4 ++-- lib/dpkg/arch.c | 6 +++--- lib/dpkg/dbmodify.c | 5 +++-- lib/dpkg/deb-version.c | 5 +++-- lib/dpkg/fields.c | 49 ++++++++++++++++++++++++++++++++----------------- lib/dpkg/options.c | 9 +++++---- lib/dpkg/parse.c | 14 +++++++------- lib/dpkg/parsehelp.c | 19 ++++++++++--------- lib/dpkg/pkg-db.c | 7 +++++-- lib/dpkg/string.c | 3 ++- lib/dpkg/triglib.c | 9 +++++---- lib/dpkg/version.c | 14 +++++++------- src/main.c | 12 ++++++++---- src/remove.c | 5 +++-- src/select.c | 16 ++++++++++------ src/unpack.c | 4 ++-- 23 files changed, 139 insertions(+), 98 deletions(-) commit 8183122e10463954453d756f4a037f9ea3f1c5c5 Author: Guillem Jover Date: Sun Dec 28 19:55:54 2014 +0100 libdpkg: Add new pure ASCII C locale character type functions These do not get affected by the user locale, nor by the character encodings. For dpkg control data, we always want to use ASCII. lib/dpkg/Makefile.am | 2 + lib/dpkg/c-ctype.c | 186 ++++++++++++++++++++++++++++++++++++++++++++++ lib/dpkg/c-ctype.h | 130 ++++++++++++++++++++++++++++++++ lib/dpkg/libdpkg.map | 1 + lib/dpkg/test/.gitignore | 1 + lib/dpkg/test/Makefile.am | 1 + lib/dpkg/test/t-c-ctype.c | 107 ++++++++++++++++++++++++++ po/POTFILES.in | 1 + 8 files changed, 429 insertions(+) commit 83e8c53c46f0e83ec25b4ecbdeaf9a1c13a4a1e3 Author: Guillem Jover Date: Sun Dec 28 19:49:50 2014 +0100 Remove unused includes dpkg-deb/extract.c | 1 - dpkg-deb/main.c | 1 - dselect/method.cc | 1 - dselect/pkginfo.cc | 1 - lib/dpkg/dump.c | 1 - src/archives.c | 1 - src/cleanup.c | 1 - src/errors.c | 1 - src/packages.c | 1 - 9 files changed, 9 deletions(-) commit c73cbff5355b5a8f6856ce10c3a84910e36f177c Author: Guillem Jover Date: Sat Jan 17 16:37:10 2015 +0100 libdpkg: Add missing symbols to the version script Some of these where accidentally dropped, reinstate them for now. lib/dpkg/libdpkg.map | 8 ++++++++ 1 file changed, 8 insertions(+) commit d8e6c56b20a1cbf1897f34db5f93d7aea0265a1d Author: Guillem Jover Date: Sat Jan 10 05:14:54 2015 +0100 libdpkg: Change m_calloc() signature to take also a nmemb argument We are using these on arrays, so we end up having to compute the total size from the number of members and the member size. Just delegate the computation to the underlaying call which should ideally also handle overflows and similar. And we can always pass nmemb=1 from the call sites if needed. lib/dpkg/dpkg.h | 2 +- lib/dpkg/mlib.c | 4 ++-- src/querycmd.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) commit 9af7e8d0684103f683fe2a72eddf5459f0fa95a0 Author: Guillem Jover Date: Thu Jan 8 10:28:29 2015 +0100 debian: Document the postinst triggered invocation in the comment header debian/changelog | 2 ++ debian/dpkg.postinst | 3 +++ 2 files changed, 5 insertions(+) commit bf1e76621ddfb652b16616f6b481f09290fc2355 Author: Guillem Jover Date: Sat Jan 17 13:22:37 2015 +0100 man: Document dpkg-query --search behavior Add how the pattern is interpreted as a substring match, or as a literal path lookup. And explain how some metacharacters behave. Closes: #775379 debian/changelog | 1 + man/dpkg-query.1 | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) commit a70815c94ad9d1f6a649a203e3608a2566c1d972 Author: Guillem Jover Date: Sat Jan 17 21:00:14 2015 +0100 dpkg-query: Only trim trailing "/" and "/." from pathnames in --search We should not be trimming those characters from substring matches, or we might get very confusing results. This was actually the intention behind commit af9e264518c4cab8e70788d0724d362ef25534d6, but somehow failed at it. debian/changelog | 2 ++ src/querycmd.c | 23 +++++++++-------------- 2 files changed, 11 insertions(+), 14 deletions(-) commit 3802dd1144df87b637bbe8b8351f467fe49e4674 Author: Guillem Jover Date: Sat Jan 17 20:32:39 2015 +0100 man: Use “wildcard characters” instead of “wildchars” in dpkg-query(1) debian/changelog | 1 + man/dpkg-query.1 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 74d64b44768dbe4cf1a672f9ff982d160e5734e3 Author: Guillem Jover Date: Wed Dec 3 19:16:28 2014 +0100 man: Document that current feature areas only work on Debian and derivatives debian/changelog | 2 ++ man/dpkg-buildflags.1 | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit d8fc005f2ddd679530664290e21a7d8bd37c5b86 Author: Guillem Jover Date: Sun Nov 23 23:06:37 2014 +0100 man: Fix and update Arch substvar description in deb-substvars(5) debian/changelog | 1 + man/deb-substvars.5 | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 9d70c7a6582b2d70dc7e520e31c459c5dd5b7fd2 Author: Guillem Jover Date: Fri Nov 21 22:45:18 2014 +0100 man: Improve dpkg-maintscript-helper pkgname argument documentation Clarify how the package name gets generated when empty or omitted, and when it sould be arch-qualified or not depending on whether the package is Multi-Arch:same. Closes: #776072 debian/changelog | 2 ++ man/dpkg-maintscript-helper.1 | 12 ++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) commit 188b3057315d3aa1d11044d98ddc828ab6358670 Author: Guillem Jover Date: Thu Dec 18 02:26:31 2014 +0100 man: Update dpkg --log documentation Add missing actions, and describe the startup messages. Closes: #773398 debian/changelog | 2 ++ man/dpkg.1 | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) commit 971317da57f10432e38c9ea414001c0461c1ed24 Author: Guillem Jover Date: Mon Dec 15 21:27:14 2014 +0100 man: Add the version when dpkg-deb --raw-extract was added debian/changelog | 1 + man/dpkg-deb.1 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 453d6bfd6c39deb59b41c34d602f49065ba6f2cd Author: Guillem Jover Date: Mon Nov 10 19:55:31 2014 +0100 man: Document versioned Provides debian/changelog | 1 + man/deb-control.5 | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit 0fec5cfcf2cc07ea7ac3a20855ecef276d6e34c4 Author: Guillem Jover Date: Mon Nov 10 19:40:22 2014 +0100 man: Document arch-qualifiers for dependency fields Closes: #768842 Reported-by: Johannes Schauer debian/changelog | 4 +++- man/deb-control.5 | 21 ++++++++++++++++----- man/deb-src-control.5 | 14 +++++++++++++- 3 files changed, 32 insertions(+), 7 deletions(-) commit 84e5efe254400b5df570fd1a5e70aeedf8b0632d Author: Peter Krefting Date: Wed Jan 14 23:04:25 2015 +0100 Remove references to my @debian.org email address THANKS | 2 +- dselect/po/LINGUAS | 2 +- dselect/po/sv.po | 4 ++-- man/po/sv.po | 4 ++-- po/LINGUAS | 2 +- po/sv.po | 4 ++-- scripts/po/LINGUAS | 2 +- scripts/po/sv.po | 4 ++-- 8 files changed, 12 insertions(+), 12 deletions(-) commit ff261dbd5d08f25b4a7b90d5999602806c6c9919 Author: Guillem Jover Date: Tue Dec 9 23:53:18 2014 +0100 Bump version to 1.18.0 TODO | 2 +- debian/changelog | 6 ++++++ scripts/Dpkg.pm | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) commit 84a3a0408e778454c7fb110d6556f05548d23fd7 Author: Guillem Jover Date: Tue Dec 23 17:45:58 2014 +0100 Release 1.17.23 debian/changelog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit c8da1924469f5a4de3709ec22ac43bf1c183af42 Author: Guillem Jover Date: Tue Dec 23 19:19:32 2014 +0100 Regenerate .pot files and merge .po files with them dselect/po/bs.po | 2 +- dselect/po/ca.po | 8 +- 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 | 26 ++-- 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 | 65 ++------ dselect/po/nl.po | 2 +- dselect/po/nn.po | 2 +- dselect/po/pl.po | 2 +- dselect/po/pt.po | 86 +++-------- 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 +- po/ast.po | 16 +- po/bs.po | 16 +- po/ca.po | 41 ++--- po/cs.po | 16 +- po/da.po | 16 +- po/de.po | 16 +- po/dpkg.pot | 18 +-- po/dz.po | 16 +- po/el.po | 16 +- po/eo.po | 19 +-- po/es.po | 142 +++++++++++------ po/et.po | 16 +- po/eu.po | 16 +- po/fr.po | 19 +-- po/gl.po | 16 +- po/hu.po | 16 +- po/id.po | 16 +- po/it.po | 16 +- po/ja.po | 16 +- po/km.po | 16 +- po/ko.po | 16 +- po/ku.po | 16 +- po/lt.po | 16 +- po/mr.po | 16 +- po/nb.po | 16 +- po/ne.po | 16 +- po/nl.po | 16 +- po/nn.po | 16 +- po/pa.po | 16 +- po/pl.po | 16 +- po/pt.po | 156 ++++++------------- po/pt_BR.po | 16 +- po/ro.po | 16 +- po/ru.po | 16 +- po/sk.po | 16 +- po/sv.po | 20 +-- po/th.po | 78 +++++----- po/tl.po | 16 +- po/tr.po | 16 +- po/vi.po | 16 +- po/zh_CN.po | 16 +- po/zh_TW.po | 16 +- scripts/po/ca.po | 401 +++++++++++++++++++++++++++++++----------------- scripts/po/de.po | 2 +- scripts/po/dpkg-dev.pot | 4 +- scripts/po/es.po | 101 ++++++++---- scripts/po/fr.po | 2 +- scripts/po/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 81 files changed, 930 insertions(+), 864 deletions(-) commit 810f7b321048167747e9a320c7f0978d65f64074 Author: Guillem Jover Date: Thu Dec 11 23:50:37 2014 +0100 debian: Add versioned Breaks on packages creating trigger cycles There are two groups of packages, ones where the old version of the packages produced trigger cycles as they were using awaiting trigger directives, but are fixed now, which get a << versioned Breaks on the fixed version. And packages that are still not fixed that get a <= versioned Breaks on the broken version. debian/changelog | 4 ++++ debian/control | 15 +++++++++++++++ 2 files changed, 19 insertions(+) commit fa1cfce24dc7c0659cb16b4a6ff09f660e318731 Author: Guillem Jover Date: Sat Nov 29 15:56:15 2014 +0100 libdpkg, dpkg: Fix out-of-bounds read accesses Limit the buffer accesses to the size of the buffer being accessed. This affects reads done when parsing field and trigger names, or checking the package ownership of conffiles and directories. Use a new length member for struct fieldinfo and nickname to avoid recomputing the same known length over and over again, but use strlen() instead for arbitrary fields, conffiles and directories to avoid increaseing the memory footprint too much. Reported-by: Joshua Rogers debian/changelog | 3 ++ lib/dpkg/parse.c | 84 +++++++++++++++++++++++++-------------------------- lib/dpkg/parsedump.h | 6 ++++ lib/dpkg/pkg-format.c | 16 +++++----- lib/dpkg/triglib.c | 4 +-- src/help.c | 3 +- 6 files changed, 63 insertions(+), 53 deletions(-) commit f58eee9edbfc876d92af50323e1492b676a705d4 Author: Guillem Jover Date: Fri Dec 5 09:41:00 2014 +0100 dpkg: Reset trigger cycle tracking on unsatisfied dependencies during trigproc If we are not going to process triggers due to an unsatisfied dependency, we should reset the trigger cycle tracking information so that we do not end up reporting bogus cycle errors. Closes: #771730 debian/changelog | 2 ++ src/trigproc.c | 7 +++++++ 2 files changed, 9 insertions(+) commit 6bcd4f46ff8bc671edde3d48a2e87df44526a5f6 Author: Guillem Jover Date: Tue Dec 23 01:35:58 2014 +0100 t-triggers-depfarcycle: Rework test case t-triggers-depfarcycle/Makefile | 25 ++++++++++++++++------ t-triggers-depfarcycle/pkg-files-1/DEBIAN/control | 8 ------- .../pkg-files-1/test/trigger/test-file | 1 - .../{pkg-files-0 => pkg-files}/DEBIAN/control | 0 .../test/trigger/test-file | 0 5 files changed, 18 insertions(+), 16 deletions(-) commit fa8344a6cfa7edd288eda45cc7ab6c71dd35f46b Author: Guillem Jover Date: Tue Dec 23 01:35:31 2014 +0100 t-triggers-halt: New test case Makefile | 1 + t-triggers-halt/Makefile | 26 ++++++++++++++++++++++++ t-triggers-halt/pkg-depends/DEBIAN/control | 8 ++++++++ t-triggers-halt/pkg-files/DEBIAN/control | 7 +++++++ t-triggers-halt/pkg-files/test/trigger/test-file | 1 + t-triggers-halt/pkg-remove/DEBIAN/control | 7 +++++++ t-triggers-halt/pkg-trigger/DEBIAN/control | 8 ++++++++ t-triggers-halt/pkg-trigger/DEBIAN/postinst | 23 +++++++++++++++++++++ t-triggers-halt/pkg-trigger/DEBIAN/triggers | 1 + 9 files changed, 82 insertions(+) commit 99850c9d8e6296345495f7583f446a3fe0189473 Author: Guillem Jover Date: Tue Dec 16 04:29:09 2014 +0100 t-triggers-selfcycle: New test case Makefile | 1 + t-triggers-selfcycle/Makefile | 25 ++++++++++++++++++++++ .../pkg-trigger-activate/DEBIAN/control | 7 ++++++ .../pkg-trigger-activate/DEBIAN/postinst | 10 +++++++++ .../pkg-trigger-activate/DEBIAN/triggers | 2 ++ .../pkg-trigger-unpack/DEBIAN/control | 7 ++++++ .../pkg-trigger-unpack/DEBIAN/postinst | 10 +++++++++ .../pkg-trigger-unpack/DEBIAN/triggers | 1 + .../pkg-trigger-unpack/test/trigger/test-file | 1 + 9 files changed, 64 insertions(+) commit c183855743b5d9fba922e014e59beec43b2821b3 Author: Guillem Jover Date: Tue Dec 16 04:25:03 2014 +0100 t-triggers-depends: Improve test case t-triggers-depends/Makefile | 27 +++++++++++----------- .../{pkg-files => pkg-activate}/DEBIAN/control | 4 ++-- .../pkg-activate/test/trigger/trigger-file | 1 + .../{pkg-depends-0 => pkg-depended}/DEBIAN/control | 4 ++-- t-triggers-depends/pkg-depends-1/DEBIAN/control | 7 ------ .../pkg-files/test/trigger/test-file | 1 - .../{pkg-trigger => pkg-interest}/DEBIAN/control | 4 ++-- t-triggers-depends/pkg-interest/DEBIAN/postinst | 16 +++++++++++++ .../{pkg-trigger => pkg-interest}/DEBIAN/triggers | 0 t-triggers-depends/pkg-trigger/DEBIAN/postinst | 16 ------------- 10 files changed, 37 insertions(+), 43 deletions(-) commit deb2686df6aa25bd6446ed1a73cb8f96dbf7e935 Author: Guillem Jover Date: Tue Dec 16 04:22:54 2014 +0100 test: Use DPKG_CONFIGURE instead of its expanded form t-triggers-cycle/Makefile | 2 +- t-triggers-depcycle/Makefile | 2 +- t-triggers-depends/Makefile | 2 +- t-triggers-depfarcycle/Makefile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit ee6a54cdd64edbd038bd01664995c4849186aedd Author: Guillem Jover Date: Fri Dec 19 18:48:35 2014 +0100 build: Specify a --log for dpkg This avoids polluting the system log file with the test runs. Test.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2a7390d1108b221cc2fa34923f723caff9b0a2d1 Author: Guillem Jover Date: Sat Dec 6 00:11:14 2014 +0100 libdpkg: Skip tar extractor tests if tar is not GNU tar >= 1.27 This allows building on older systems. debian/changelog | 1 + lib/dpkg/test/t-tar.t | 13 ++++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) commit ad1f3e78510415b26fc27cedf6c0ab4ab4c463b0 Author: Guillem Jover Date: Fri Dec 5 23:29:03 2014 +0100 dselect: Use a matching group instead of ${^MATCH} in s/// It seems that this is not supported or does not work in perl 5.14.0, although it should be since 5.10.0. Switch to a group matching to allow using older perl version from stable. debian/changelog | 3 +++ dselect/mkcurkeys.pl | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 085763c09419bfe6f238963a362d2dd47d62b974 Author: Łukasz Dulny Date: Mon Dec 22 22:31:58 2014 +0100 po: Update Polish dselect translation Signed-off-by: Guillem Jover dselect/po/pl.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit eac7221429adc2ebcabedea2d3d162ea49b46357 Author: Guillem Jover Date: Tue Dec 16 04:20:08 2014 +0100 build: Do not pass -r to rm for db/arch This is a file, there is no need to recurse on it. db-regen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 103ceecee3fd76a776c0984f6bae0b29154c8c70 Author: Guillem Jover Date: Sun Dec 7 15:38:50 2014 +0100 build: Allow creating an out-of-tree dpkg database db-regen | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 40aa4a8efc5f7f499be4f7a494897e70f2089b22 Author: Theppitak Karoonboonyanan Date: Sat Dec 13 23:17:40 2014 +0100 po: Update Thai programs translation Closes: #772965 Signed-off-by: Guillem Jover debian/changelog | 1 + po/th.po | 239 ++++++++++++++++++------------------------------------- 2 files changed, 80 insertions(+), 160 deletions(-) commit 6affd8b5ce898d81c68567e5f008bb0ecd8af5ea Author: Guillem Jover Date: Tue Dec 2 19:04:18 2014 +0100 po: Update Catalan translations debian/changelog | 3 + dselect/po/ca.po | 197 +++---- po/ca.po | 114 ++-- scripts/po/ca.po | 1513 +++++++++++++++++++++++++++++++----------------------- 4 files changed, 1008 insertions(+), 819 deletions(-) commit 231d3c11b5657cda7a11d424b9762f6dd4f7dd07 Author: Felipe E. F. de Castro Date: Tue Dec 9 01:03:33 2014 +0100 po: Update Esperanto programs translation Signed-off-by: Guillem Jover debian/changelog | 1 + po/eo.po | 690 +++++++++++++++++-------------------------------------- 2 files changed, 209 insertions(+), 482 deletions(-) commit 3291d8bb2f96d2a5d83f2aca602ef53d0438c0eb Author: Hans Fredrik Nordhaug Date: Sat Dec 6 09:28:59 2014 +0100 po: Update Norwegian Bokmål dselect translation Signed-off-by: Guillem Jover debian/changelog | 1 + dselect/po/nb.po | 61 ++++++++++++++++++++++---------------------------------- 2 files changed, 25 insertions(+), 37 deletions(-) commit e38c125bd463fc98060a1f491487b1f9a6b13a66 Author: Iñaki Larrañaga Murgoitio Date: Wed Dec 3 10:55:11 2014 +0100 po: Update Basque programs translation Closes: #771893 Signed-off-by: Guillem Jover debian/changelog | 1 + po/eu.po | 2404 ++++++++++++++++++++---------------------------------- 2 files changed, 891 insertions(+), 1514 deletions(-) commit 700b2528940d3386ed1f737cbf80c5dadd12b469 Author: Milo Casagrande Date: Tue Dec 2 15:46:55 2014 +0100 po: Update Italian programs translation Signed-off-by: Guillem Jover debian/changelog | 1 + po/it.po | 66 +++++++++++++------------------------------------------- 2 files changed, 16 insertions(+), 51 deletions(-) commit a2af3e6d3e1b4a51362611b96291ec87336b5ab0 Author: Sébastien Poher Date: Tue Dec 2 07:03:10 2014 +0100 po: Update French translations Signed-off-by: Guillem Jover debian/changelog | 2 ++ man/po/fr.po | 11 +---------- po/fr.po | 13 ++++--------- 3 files changed, 7 insertions(+), 19 deletions(-) commit a7a0c9d66a3431b2475b158445fc2705ebc5b58e Author: Trần Ngọc Quân Date: Mon Dec 1 08:32:33 2014 +0700 po: Update Vietnamese dselect translation Signed-off-by: Trần Ngọc Quân Signed-off-by: Guillem Jover debian/changelog | 1 + dselect/po/vi.po | 466 +++++++++++++++++++++++++------------------------------ 2 files changed, 209 insertions(+), 258 deletions(-) commit 86a843c99a3370ed889fe24c2ca8b952af3b2a1b Author: Beatrice Torracca Date: Tue Dec 2 06:08:58 2014 +0100 po: Update Italian man pages translation [guillem@debian.org: - Fix POD markup. ] Closes: #771673 Signed-off-by: Guillem Jover debian/changelog | 3 + man/po/it.po | 1923 +++++++++++++++++++++++++++++++----------------------- 2 files changed, 1109 insertions(+), 817 deletions(-) commit 8c06cbc0f5eb0756c7f67070002d3f7dd1879932 Author: Yuri Kozlov Date: Tue Dec 2 06:04:28 2014 +0100 po: Update Russian translations Closes: #771682, #771691, #772841 Signed-off-by: Guillem Jover debian/changelog | 3 + dselect/po/ru.po | 78 ++---- po/ru.po | 142 +++-------- scripts/po/ru.po | 740 ++++++++++++++++++------------------------------------- 4 files changed, 290 insertions(+), 673 deletions(-) commit 9bbfbdc2c51a5707da6b71dd8c93665ece10385b Author: Zhou Mo Date: Sun Nov 30 17:56:14 2014 +0100 po: Update Simplified Chinese programs translation Closes: #771264 Signed-off-by: Guillem Jover debian/changelog | 1 + po/zh_CN.po | 200 +++++++++++++++++++++++++++---------------------------- 2 files changed, 98 insertions(+), 103 deletions(-) commit 50f9eae2d048fa3a96d6e32138618e8b36f52cb9 Author: Łukasz Dulny Date: Sun Nov 30 17:49:42 2014 +0100 po: Update Polish translations Signed-off-by: Guillem Jover debian/changelog | 4 + dselect/po/pl.po | 73 +---- scripts/po/pl.po | 952 +++++++++++++++++++------------------------------------ 3 files changed, 347 insertions(+), 682 deletions(-) commit 740adcbfe6fe5807ac986d980f69593ac8b33b1f Author: Guillem Jover Date: Thu Dec 4 23:47:40 2014 +0100 po: Revert spurious PO-Revision-Date changes The fixes in commit 2d1948951f6309ed4a287b4a2a9a2776040f3a04 for Language-Team addresses did not update any string, revert the PO-Revision-Date field update to be able to tell which translations are stale. dselect/po/it.po | 2 +- po/nl.po | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit af8faeebf27d347f948a73a356876af91c78f078 Author: Guillem Jover Date: Thu Dec 4 23:47:40 2014 +0100 po: Update Language-Team email addresses Several of these email addresses where blank, no longer valid, or the mailing list rejected non-subscriber posts. Prefer lists in Debian servers. dselect/po/id.po | 2 +- dselect/po/sk.po | 2 +- dselect/po/zh_CN.po | 2 +- dselect/po/zh_TW.po | 2 +- po/id.po | 2 +- po/it.po | 2 +- po/sk.po | 2 +- po/tr.po | 2 +- po/zh_TW.po | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) commit a385487cb08c5c755fab75e57a22ad00a5e548f3 Author: Javier Fernández-Sanguino Peña Date: Tue Dec 2 20:30:20 2014 +0100 Update dselect translation to Spanish debian/changelog | 1 + dselect/po/es.po | 88 ++++++++++++-------------------------------------------- 2 files changed, 20 insertions(+), 69 deletions(-) commit 6f256bd13d10453bfdb693a3e0cdccaf8fb01e62 Author: Javier Fernández-Sanguino Peña Date: Tue Dec 2 20:25:30 2014 +0100 Fix errors in translation po/es.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 501edbfd6cfe5225dd553f92e1e8fe583c4bedd3 Author: Javier Fernández-Sanguino Peña Date: Tue Dec 2 20:24:32 2014 +0100 Partial update scripts/po/es.po | 315 +++++++++++++++++++++---------------------------------- 1 file changed, 118 insertions(+), 197 deletions(-) commit 07cf5ca27c9a1ef0f90fb9e113bc3a413c0cb6ab Author: Javier Fernández-Sanguino Peña Date: Tue Dec 2 19:56:52 2014 +0100 Updated Spanish translation debian/changelog | 1 + po/es.po | 711 ++++++++++++++++--------------------------------------- 2 files changed, 206 insertions(+), 506 deletions(-) commit bc1442eeb69034949a1c4508cef0edc907fa2f80 Author: Miguel Figueiredo Date: Sun Nov 30 13:30:13 2014 +0000 Updated Portuguese translation debian/changelog | 1 + dselect/po/pt.po | 96 ++++++++++++++++++++++---------------------------------- 2 files changed, 38 insertions(+), 59 deletions(-) commit cceae4ee00d4e10c3fd9ebf8b03c3ad9eb506666 Author: Miguel Figueiredo Date: Sun Nov 30 11:59:03 2014 +0000 Updated Portuguese translation Update to 1090t debian/changelog | 1 + po/pt.po | 118 ++++++++++++++++++++++++++----------------------------- 2 files changed, 56 insertions(+), 63 deletions(-) commit 6803c52c5b086f833f427ffe20ecf0aa7b567fbc Author: Peter Krefting Date: Sun Nov 30 10:15:35 2014 +0100 Update Swedish translation po/sv.po: 1090t0f0u debian/changelog | 1 + po/sv.po | 21 ++++++++------------- 2 files changed, 9 insertions(+), 13 deletions(-) commit 6f1046517a187ae455b7c9e82d2dba0d9800320e Author: Miroslav Kure Date: Sat Nov 29 11:54:00 2014 +0100 po: Update Czech translation debian/changelog | 6 +++- dselect/po/cs.po | 22 +++++------- po/cs.po | 103 +++++++++---------------------------------------------- 3 files changed, 30 insertions(+), 101 deletions(-) commit c7fbb47a14099d04da2243e8135340891de06a91 Author: Guillem Jover Date: Fri Nov 28 02:41:35 2014 +0100 Bump version to 1.17.23 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 384c3bd70cd0ef568716eef267a15d20fa3b2d2b Author: Guillem Jover Date: Fri Nov 28 02:02:51 2014 +0100 Release 1.17.22 debian/changelog | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 66a7ae62157c0246d74ec7f9f08a4564e7ce12d0 Author: Trần Ngọc Quân Date: Fri Nov 28 07:35:23 2014 +0700 po: Update Vietnamese programs translation Signed-off-by: Trần Ngọc Quân Signed-off-by: Guillem Jover po/vi.po | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) commit 2d1948951f6309ed4a287b4a2a9a2776040f3a04 Author: Guillem Jover Date: Fri Nov 28 01:49:25 2014 +0100 po: Fix mailing list addresses These bounced in the call for translations. dselect/po/it.po | 4 ++-- po/nl.po | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 69fe02658332607dbf48fc6d73d21175871960ba Author: Kenshi Muto Date: Fri Nov 28 01:35:12 2014 +0100 po: Update Japanese translations Closes: #771255, #771256 Signed-off-by: Guillem Jover debian/changelog | 2 + dselect/po/ja.po | 72 ++----- po/ja.po | 575 ++++++++++++++----------------------------------------- 3 files changed, 160 insertions(+), 489 deletions(-) commit 4d7b094e8186c815b4a7865a43c56c0095c302a8 Author: Frans Spiesschaert Date: Fri Nov 28 01:09:47 2014 +0100 po: Update Dutch dselect translation Closes: #771237 Signed-off-by: Guillem Jover debian/changelog | 1 + dselect/po/nl.po | 532 +++++++++++++++++++++++++------------------------------ 2 files changed, 238 insertions(+), 295 deletions(-) commit 726a498d775feab41d6f23ab01fc9b8fe32459f0 Author: Joe Dalton Date: Fri Nov 28 00:59:20 2014 +0100 po: Update Danish translations Signed-off-by: Guillem Jover debian/changelog | 2 + dselect/po/da.po | 233 ++++++++++++++++++++++--------------------------------- po/da.po | 202 ++++++++--------------------------------------- 3 files changed, 129 insertions(+), 308 deletions(-) commit 8da3a78b0cfa604e6d7ccc5bcb11680e24c901cf Author: Mert Dirik Date: Fri Nov 28 00:56:04 2014 +0100 po: Update Turkish programs translation Signed-off-by: Guillem Jover debian/changelog | 1 + po/tr.po | 54 +++++++++++++++++++----------------------------------- 2 files changed, 20 insertions(+), 35 deletions(-) commit 8fd232ff8473763a90e74d755313e37b8f26bc0a Author: Łukasz Dulny Date: Fri Nov 28 00:50:14 2014 +0100 po: Update Polish programs translation Signed-off-by: Guillem Jover debian/changelog | 1 + po/pl.po | 143 +++++++++++++------------------------------------------ 2 files changed, 34 insertions(+), 110 deletions(-) commit f411ec437d01ac9370332abee9b99843004e64ff Author: Guillem Jover Date: Thu Nov 27 17:59:43 2014 +0100 po: Update Catalan programs translation debian/changelog | 1 + po/ca.po | 27 ++++++--------------------- 2 files changed, 7 insertions(+), 21 deletions(-) commit 6a2ece23c4d8f56cc1bc0b42d9e340a77ef81fa4 Author: Sven Joachim Date: Thu Nov 27 17:21:55 2014 +0100 German dpkg translation update Update to 1090t. po/de.po | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) commit fe163ddfd2d7c8c776655ddd833101c40c3b0389 Author: Guillem Jover Date: Wed Nov 26 20:00:48 2014 +0100 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 | 8 +- man/po/es.po | 6 +- man/po/hu.po | 6 +- man/po/it.po | 6 +- man/po/ja.po | 6 +- man/po/pl.po | 6 +- man/po/pt_BR.po | 6 +- man/po/ru.po | 6 +- man/po/zh_CN.po | 1990 ++++++++++++++++++++++++----------------------- po/ast.po | 306 ++++---- po/bs.po | 299 +++---- po/ca.po | 306 ++++---- po/cs.po | 306 ++++---- po/da.po | 306 ++++---- po/de.po | 306 ++++---- po/dpkg.pot | 301 +++---- po/dz.po | 306 ++++---- po/el.po | 306 ++++---- po/eo.po | 306 ++++---- po/es.po | 306 ++++---- po/et.po | 306 ++++---- po/eu.po | 306 ++++---- po/fr.po | 318 ++++---- po/gl.po | 306 ++++---- po/hu.po | 306 ++++---- po/id.po | 306 ++++---- po/it.po | 306 ++++---- po/ja.po | 306 ++++---- po/km.po | 306 ++++---- po/ko.po | 306 ++++---- po/ku.po | 306 ++++---- po/lt.po | 306 ++++---- po/mr.po | 306 ++++---- po/nb.po | 306 ++++---- po/ne.po | 306 ++++---- po/nl.po | 306 ++++---- po/nn.po | 306 ++++---- po/pa.po | 310 ++++---- po/pl.po | 306 ++++---- po/pt.po | 306 ++++---- po/pt_BR.po | 306 ++++---- po/ro.po | 306 ++++---- po/ru.po | 306 ++++---- po/sk.po | 306 ++++---- po/sv.po | 310 ++++---- po/th.po | 306 ++++---- po/tl.po | 306 ++++---- po/tr.po | 306 ++++---- po/vi.po | 319 ++++---- po/zh_CN.po | 327 ++++---- po/zh_TW.po | 306 ++++---- scripts/po/ca.po | 2 +- scripts/po/de.po | 5 +- scripts/po/dpkg-dev.pot | 4 +- scripts/po/es.po | 2 +- scripts/po/fr.po | 74 +- scripts/po/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 90 files changed, 7955 insertions(+), 7136 deletions(-) commit 75a857d79d3d3a5cb8367bbd49d5e89bb94af0a1 Author: Guillem Jover Date: Fri Nov 14 18:35:32 2014 +0100 libdpkg: Register all pending triggers for deferred processing Trigger processing on the deferred stage is just opportunistic, but we enqueue all currently pending triggers that might have been activated on a previous unpack run, only when being called as «dpkg --configure pkgname…». This is a mostly conformant workaround for frontends like apt that do not correctly call «dpkg --configure -a» or «dpkg --triggers-only -a» after their normal runs, and leave packages in triggers-pending and triggers-awaited states. Closes: #766758 debian/changelog | 5 +++++ src/main.h | 1 + src/packages.c | 3 +++ src/trigproc.c | 38 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 47 insertions(+) commit 54526e8773218199ef588c17509ec6fc5c044da7 Author: Guillem Jover Date: Thu Nov 13 23:49:15 2014 +0100 dpkg: Do not ignore trigger cycles for direct dependencies These are just normal trigger cycles, and as such should not be special cased. And a strict reading of the triggers spec does not allow them either. It might make sense to allow self-cycles, but avoiding cycles from direct dependencies does not make much sense. debian/changelog | 2 ++ src/packages.c | 18 ------------------ 2 files changed, 2 insertions(+), 18 deletions(-) commit 9a9ba74915876449b1fe20d4b76ab759f7d09d86 Author: Guillem Jover Date: Thu Nov 13 12:10:42 2014 +0100 dpkg: Fail on trigger processing when it is required to progress Trigger processing is sometimes required and sometimes opportunistic. When trying to make progress on the packages queue, we need to consider it an error if the dependencies cannot be satisfied in this run. But if we are running the deferred trigger processing, then we should not fail, as that's just opportunistic. Closes: #768852 debian/changelog | 3 +++ src/main.h | 9 ++++++++- src/packages.c | 2 +- src/trigproc.c | 20 +++++++++++++++++--- src/unpack.c | 2 +- 5 files changed, 30 insertions(+), 6 deletions(-) commit c4e109999d90e99199754e3e419ef90477b2a046 Author: Guillem Jover Date: Tue Nov 11 19:49:48 2014 +0100 dpkg: Restore multiple processing checks for packages and archives The notices about duplicate entries not being processed got suppressed when the requeueing insertion protection got enabled. Add a new variable to track when packages or archives have been processed more than once. Regression introduced in commit ce27f5dc0c3dc6ed7656d09784ea461407765d7d. debian/changelog | 2 ++ src/filesdb.c | 1 + src/main.h | 2 ++ src/packages.c | 19 +++++++++++++------ src/unpack.c | 2 +- 5 files changed, 19 insertions(+), 7 deletions(-) commit b1c19bc87eb661f074e63a2aa5c8ac9e55e3fac4 Author: Guillem Jover Date: Wed Nov 12 10:17:08 2014 +0100 libdpkg, dpkg: Normalize tar entry uid and gid only in dpkg unpack The tar extractor should be independent from the current system, so that testing it can be made reproducible. Move the preference over the system user and group names to the actual dpkg unpack code. Regression introduced in commit f71e02c8e913884bfbf9d97b58ded4591b823cdb. Closes: #769211 debian/changelog | 2 ++ lib/dpkg/tarfn.c | 37 +++++++++++++++++++++++++------------ lib/dpkg/tarfn.h | 3 +++ src/archives.c | 2 ++ 4 files changed, 32 insertions(+), 12 deletions(-) commit bd3f720ca063c581ca5c446ba8bb9b3318d6dd3d Author: Guillem Jover Date: Wed Nov 12 00:57:55 2014 +0100 libdpkg: Fix fd_allocate_size() function to build on Mac OS X Add missing semicolons to fcntl() call, and rename fs_preallocate_setup() call sites to fd_preallocate_setup() on Mac OS X codepath. Regression introduced in commit 87b0b20b86407baf1deb4e91b3fd839e01228ac8. Reported-by: Dominyk Tiller debian/changelog | 2 ++ lib/dpkg/fdio.c | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) commit 611305ef0e85092cc24887e040c19e9e808dd633 Author: Guillem Jover Date: Tue Nov 11 17:37:04 2014 +0100 libdpkg: Do not match partial field names in control files There is currently no instance of any misspelled field names known to dpkg in Debian. Only known field names are possibly affected. Regression introduced in commit 864e230e90de1cef94c81f10582e6d99717d593b. Closes: #769119 debian/changelog | 2 ++ lib/dpkg/parse.c | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 446f11df6302716c2a1f993761ee54ecb44d42bb Author: Guillem Jover Date: Fri Nov 7 20:49:26 2014 +0100 libdpkg: Escape package and architecture on control file parsing warning The package and architecture names are injected into a variable that is used as a format string. Because these are user controlled, we need to format-escape them so that they become inert. Regression introduced in commmit 3be2cf607868adb9a2c0e5af06f20168a072eeb6. Fixes: CVE-2014-8625 Closes: #768485 Reporteb-by: Joshua Rogers debian/changelog | 5 +++++ lib/dpkg/parsehelp.c | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) commit b89caa796ac54ca86db33c6b06e72a122975bf0e Author: Guillem Jover Date: Wed Nov 19 21:49:08 2014 +0100 debian: Add Breaks on man-db, fontconfig and readahead-fedora The old versions of these packages produced trigger cycles as they were using awaiting trigger directives. Closes: #768599 debian/changelog | 2 ++ debian/control | 4 ++++ 2 files changed, 6 insertions(+) commit a213746672a3e12a8ef6b86ccf04594bf30e8fba Author: Guillem Jover Date: Sun Nov 9 00:51:42 2014 +0100 debian: Reintroduce u-a, dpkg-divert and dpkg-statoverride compat symlinks There are still packages using those paths, but the relevant lintian check did not list any, so these got removed prematurely. Makefile.am | 1 + TODO | 2 ++ debian/changelog | 4 ++++ debian/dpkg.links | 3 +++ 4 files changed, 10 insertions(+) commit e04dd68c0a36e465a656a9e78830dcf28e455242 Author: Guillem Jover Date: Mon Nov 17 00:55:20 2014 +0100 man: Bump minimal version for dir_to_symlink and symlink_to_dir commands The minimal version for dir_to_symlink with all current features is 1.17.13, and for symlink_to_dir is 1.17.14. But to make it simpler, let's just say the latter. This also avoids unnecessary translator work. Missed in commits 7fe9dcdd57c083180a7994957d1e5217d28e970a and a92a3ac5056363e9c21c48187f6ff965481742f4. Closes: #769843 debian/changelog | 2 ++ man/dpkg-maintscript-helper.1 | 4 ++-- man/po/de.po | 10 +++++----- man/po/fr.po | 10 +++++----- man/po/sv.po | 10 +++++----- 5 files changed, 19 insertions(+), 17 deletions(-) commit 2d3adc759c37bf73c12730c79b73dc26ca171c7d Author: Guillem Jover Date: Thu Nov 6 18:13:27 2014 +0100 man: Add when dpkg-deb --ctrl-tarfile got introduced Missed in commit 03c0873bd720a4f93db0cc4764fa98d3dbcadede. debian/changelog | 3 +++ man/dpkg-deb.1 | 2 +- man/po/de.po | 12 +++++++----- man/po/dpkg-man.pot | 8 ++++---- man/po/es.po | 8 ++++---- man/po/fr.po | 12 ++++++------ man/po/hu.po | 8 ++++---- man/po/it.po | 8 ++++---- man/po/ja.po | 8 ++++---- man/po/pl.po | 8 ++++---- man/po/pt_BR.po | 8 ++++---- man/po/ru.po | 8 ++++---- man/po/sv.po | 14 +++++++------- 13 files changed, 56 insertions(+), 51 deletions(-) commit e05713d1c730233ef3190e2bc7d0d575bd326615 Author: Zhou Mo Date: Sat Nov 1 17:01:57 2014 +0100 po: Add new Simplified Chinese man pages translation [guillem@debian.org: - Add build infrastructure. ] Closes: #767573 Signed-off-by: Guillem Jover debian/changelog | 1 + man/po/po4a.cfg | 5 +- man/po/zh_CN.add | 0 man/po/zh_CN.po | 16919 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 16923 insertions(+), 2 deletions(-) commit ef41da3479b6c0d116b2e5492b82903c8a6c3432 Author: Zhou Mo Date: Fri Nov 21 22:42:11 2014 +0100 po: Update Simplified Chinese translation Closes: #770280 Signed-off-by: Guillem Jover debian/changelog | 2 +- po/zh_CN.po | 393 ++++++++++++++++++++++++++++--------------------------- 2 files changed, 198 insertions(+), 197 deletions(-) commit b20bdcf93553ff4db4e95a56af02d3e2b7b7e2ef Author: Sébastien Poher Date: Thu Nov 6 17:51:35 2014 +0100 po: Update French translations Closes: #767918, #767934 Signed-off-by: Guillem Jover debian/changelog | 3 +- dselect/po/fr.po | 40 +++++---- man/po/fr.po | 253 +++++++++++++++++++++++++++++++++++++------------------ 3 files changed, 195 insertions(+), 101 deletions(-) commit 5b2ed55f981a852d1bff4769fb8952e3165a2e3f Author: Guillem Jover Date: Wed Nov 19 20:47:46 2014 +0100 t-triggers: Take into account temporary workaround for apt For now we need to make «dpkg --configure pkgname» process any pending triggers, because apt is not doing it by itself. During the 1.18.x cycle this workaround will be reverted. Make the test cope with this for now. t-triggers/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit c0959bfdba2ef5847a9d15836b537642565ef79a Author: Guillem Jover Date: Wed Nov 19 18:08:04 2014 +0100 t-deb-split: Only ignore the data file not the entire packaging t-deb-split/.gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3d9de7c5a3e27550ffec17df4d9bf26cafaf7d73 Author: Guillem Jover Date: Fri Nov 14 00:19:49 2014 +0100 t-queue-process-deconf-dupe: Add file Replaces t-queue-process-deconf-dupe/pkg-a-0/test-move | 0 t-queue-process-deconf-dupe/pkg-b/DEBIAN/control | 1 + t-queue-process-deconf-dupe/pkg-b/test-move | 0 3 files changed, 1 insertion(+) commit e1370b289d1cd746044b34215ac3f07329671f78 Author: Guillem Jover Date: Fri Nov 14 00:19:49 2014 +0100 t-breaks-queue-dupe: Rename to t-queue-process-deconf-dupe Makefile | 2 +- {t-breaks-queue-dupe => t-queue-process-deconf-dupe}/Makefile | 0 .../pkg-a-0/DEBIAN/control | 0 {t-breaks-queue-dupe => t-queue-process-deconf-dupe}/pkg-a-0/test-a | 0 .../pkg-a-1/DEBIAN/control | 0 {t-breaks-queue-dupe => t-queue-process-deconf-dupe}/pkg-a-1/test-a | 0 .../pkg-b/DEBIAN/control | 0 {t-breaks-queue-dupe => t-queue-process-deconf-dupe}/pkg-b/test-b | 0 8 files changed, 1 insertion(+), 1 deletion(-) commit 6c27633904c42a75be9974461c83d382aaa825f0 Author: Guillem Jover Date: Fri Nov 14 01:15:30 2014 +0100 t-triggers-depcycle: Do not break trigger cycles for direct dependencies t-triggers-depcycle/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 6ec6dde0d8e3ca15bed1bfc5706a280ab2826e63 Author: Guillem Jover Date: Fri Nov 14 00:17:08 2014 +0100 t-control-bogus: Add new test cases t-control-bogus/Makefile | 12 ++++++++++++ t-control-bogus/pkg-bogus-fieldname-empty/DEBIAN/control | 8 ++++++++ t-control-bogus/pkg-bogus-fieldname-partial/DEBIAN/control | 7 +++++++ t-control-bogus/pkg-bogus-format-string/DEBIAN/control | 7 +++++++ 4 files changed, 34 insertions(+) commit f9d8c9d6221fcb6f6846db2cc868ed910400167a Author: Guillem Jover Date: Thu Nov 6 00:48:37 2014 +0100 t-maintscript-leak: Add new test case Check for file descriptor leaks on kFreeBSD and Linux. Makefile | 1 + t-maintscript-leak/Makefile | 14 ++++++++++++++ t-maintscript-leak/pkg-maintscript-leak/DEBIAN/control | 7 +++++++ t-maintscript-leak/pkg-maintscript-leak/DEBIAN/postinst | 16 ++++++++++++++++ t-maintscript-leak/pkg-maintscript-leak/DEBIAN/postrm | 16 ++++++++++++++++ t-maintscript-leak/pkg-maintscript-leak/DEBIAN/preinst | 16 ++++++++++++++++ t-maintscript-leak/pkg-maintscript-leak/DEBIAN/prerm | 16 ++++++++++++++++ 7 files changed, 86 insertions(+) commit f55564caa3d2c67e74e28f55bc408169c8886a2e Author: Guillem Jover Date: Sat Nov 1 20:49:20 2014 +0100 t-breaks-queue-dupe: Add new test case Ref: #578872 Makefile | 1 + t-breaks-queue-dupe/Makefile | 12 ++++++++++++ t-breaks-queue-dupe/pkg-a-0/DEBIAN/control | 7 +++++++ t-breaks-queue-dupe/pkg-a-0/test-a | 0 t-breaks-queue-dupe/pkg-a-1/DEBIAN/control | 7 +++++++ t-breaks-queue-dupe/pkg-a-1/test-a | 0 t-breaks-queue-dupe/pkg-b/DEBIAN/control | 8 ++++++++ t-breaks-queue-dupe/pkg-b/test-b | 0 8 files changed, 35 insertions(+) commit c195722ccb13c5f669a001fc2aee0c84d11d39f3 Author: Zhou Mo Date: Fri Oct 31 21:30:51 2014 +0100 po: Update Simplified Chinese programs translation Closes: #766724 Signed-off-by: Guillem Jover debian/changelog | 1 + po/zh_CN.po | 197 ++++++++++++++++++++++++++++--------------------------- 2 files changed, 100 insertions(+), 98 deletions(-) commit 3efab5944128cee4f7151ec6de17865e3a6b41e3 Author: Trần Ngọc Quân Date: Sat Oct 25 13:47:12 2014 +0700 po: Update Vietnamese programs translation Signed-off-by: Trần Ngọc Quân Signed-off-by: Guillem Jover debian/changelog | 1 + po/vi.po | 15 ++++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) commit 39491c823ff0a5e8e4c87749f00438ffdaee027d Author: Helge Kreutzmann Date: Fri Oct 31 19:16:57 2014 +0100 Add missing markup to fix build man/po/sv.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit aadff2b8ee0237297452585e01f5c6ba92f5f98a Author: Peter Krefting Date: Thu Oct 30 21:13:09 2014 +0100 dpkg-architecture: Fix typo in manual page man/dpkg-architecture.1 | 2 +- man/po/de.po | 2 +- man/po/dpkg-man.pot | 2 +- man/po/es.po | 2 +- man/po/fr.po | 2 +- man/po/hu.po | 2 +- man/po/it.po | 2 +- man/po/ja.po | 2 +- man/po/pl.po | 2 +- man/po/pt_BR.po | 2 +- man/po/ru.po | 2 +- man/po/sv.po | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) commit 8994131a323cb600234a83b391670c2998ae51c6 Author: Peter Krefting Date: Thu Oct 30 21:11:17 2014 +0100 Update Swedish translation man/po/sv.po: 2350t0f0u debian/changelog | 1 + man/po/sv.po | 1235 +++++++++++++++++++----------------------------------- 2 files changed, 437 insertions(+), 799 deletions(-) commit 3f1aeb438dfa3232b4fb3f7c677d273fd603c9d5 Author: Peter Krefting Date: Thu Oct 30 15:10:31 2014 +0100 Update Swedish translation po/sv.po: 1088t0f0u dselect/po/sv.po: 27t0f0u scripts/po/sv.po: 554t0f0u debian/changelog | 5 + dselect/po/sv.po | 74 +++--------- po/sv.po | 127 +++++--------------- scripts/po/sv.po | 360 +++++++++++++++++-------------------------------------- 4 files changed, 160 insertions(+), 406 deletions(-) commit 464a64c748201c906ed70123edf4832e53373081 Author: Sébastien Poher Date: Mon Oct 27 10:41:07 2014 -0400 Update French translation Signed-off-by: Raphaël Hertzog dselect/po/fr.po | 24 ++--- man/po/fr.po | 322 ++++++++++++------------------------------------------- po/fr.po | 41 +++---- scripts/po/fr.po | 127 +++++++++------------- 4 files changed, 138 insertions(+), 376 deletions(-) commit 88ef88c9b396ef36bb7d139e264389ab8d7ac126 Author: Sébastien Poher Date: Sun Oct 26 15:49:24 2014 -0400 Update French translation man/po/fr.po: 2306t41f3u dselect/po/fr.po: 271t3f4u scripts/po/fr.po: 541t8f5u po/fr.po: 1084t4f Signed-off-by: Raphaël Hertzog debian/changelog | 3 + dselect/po/fr.po | 62 +---- man/po/fr.po | 796 ++++++++++++++++++++++--------------------------------- po/fr.po | 127 +++------ scripts/po/fr.po | 145 +++++----- 5 files changed, 435 insertions(+), 698 deletions(-) commit e9ee490e3c0699ab32b9535860b882a209cb0325 Author: Sven Joachim Date: Sat Oct 25 21:44:47 2014 +0200 Revert "Sven closed #766311 in 9bd52bb4baf0e6f0e5afac2c00e85e75506077ed" This reverts commit 615a7ff35e2772f5a3f395a209e8230b12a72935. The bug got already closed in dpkg 1.17.21. debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ed381030c69ffe4bac8e0389176b3ca211b04afd Author: Helge Kreutzmann Date: Sat Oct 25 21:13:29 2014 +0200 Update German scripts translation Update to 554t. scripts/po/de.po | 33 ++++++++++----------------------- 1 file changed, 10 insertions(+), 23 deletions(-) commit 615a7ff35e2772f5a3f395a209e8230b12a72935 Author: Helge Kreutzmann Date: Sat Oct 25 21:06:16 2014 +0200 Sven closed #766311 in 9bd52bb4baf0e6f0e5afac2c00e85e75506077ed debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fb2d229038e0daf7184243f074b0e1cdad8d30e8 Author: Helge Kreutzmann Date: Sat Oct 25 20:57:53 2014 +0200 Update German translation of manual pages Update to 2339t. debian/changelog | 6 ++++ man/po/de.po | 102 +++++++++++++++---------------------------------------- 2 files changed, 34 insertions(+), 74 deletions(-) commit 3af65628b74d36952a8221c73fb194c90fe01eab Author: Sven Joachim Date: Sat Oct 25 10:24:27 2014 +0200 German dpkg translation update Update to 1088t. debian/changelog | 3 ++- po/de.po | 18 ++++-------------- 2 files changed, 6 insertions(+), 15 deletions(-) commit 2d77f3d9547f721f1ee5b985b2197b59cd8adc28 Author: Guillem Jover Date: Sat Oct 25 03:45:59 2014 +0200 Bump version to 1.17.22 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 6fc9e281551e0d851e38249679688bbabbad5c5f Author: Guillem Jover Date: Sat Oct 25 02:24:41 2014 +0200 Release 1.17.21 debian/changelog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit fc43f4610d42a36755900f00286fc5868614fd77 Author: Guillem Jover Date: Sat Oct 25 03:05:40 2014 +0200 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/de.po | 221 +++++++++++++++++++++++++++++++++--------------- man/po/dpkg-man.pot | 192 ++++++++++++++++++++++++++--------------- man/po/es.po | 221 +++++++++++++++++++++++++++++++++--------------- man/po/fr.po | 219 ++++++++++++++++++++++++++++++++--------------- man/po/hu.po | 194 +++++++++++++++++++++++++++--------------- man/po/it.po | 209 ++++++++++++++++++++++++++++++--------------- man/po/ja.po | 220 ++++++++++++++++++++++++++++++++--------------- man/po/pl.po | 221 +++++++++++++++++++++++++++++++++--------------- man/po/pt_BR.po | 194 +++++++++++++++++++++++++++--------------- man/po/ru.po | 195 +++++++++++++++++++++++++++--------------- man/po/sv.po | 217 ++++++++++++++++++++++++++++++++--------------- po/ast.po | 52 +++++++----- po/bs.po | 39 ++++----- po/ca.po | 52 +++++++----- po/cs.po | 52 +++++++----- po/da.po | 52 +++++++----- po/de.po | 52 +++++++----- po/dpkg.pot | 41 ++++----- po/dz.po | 61 ++++++++----- po/el.po | 52 +++++++----- po/eo.po | 52 +++++++----- po/es.po | 52 +++++++----- po/et.po | 39 ++++----- po/eu.po | 52 +++++++----- po/fr.po | 52 +++++++----- po/gl.po | 52 +++++++----- po/hu.po | 60 ++++++++----- po/id.po | 52 +++++++----- po/it.po | 52 +++++++----- po/ja.po | 52 +++++++----- po/km.po | 60 ++++++++----- po/ko.po | 52 +++++++----- po/ku.po | 39 ++++----- po/lt.po | 39 ++++----- po/mr.po | 49 ++++++----- po/nb.po | 52 +++++++----- po/ne.po | 62 +++++++++----- po/nl.po | 60 ++++++++----- po/nn.po | 39 ++++----- po/pa.po | 60 ++++++++----- po/pl.po | 52 +++++++----- po/pt.po | 52 +++++++----- po/pt_BR.po | 52 +++++++----- po/ro.po | 52 +++++++----- po/ru.po | 52 +++++++----- po/sk.po | 52 +++++++----- po/sv.po | 52 +++++++----- po/th.po | 52 +++++++----- po/tl.po | 39 ++++----- po/tr.po | 52 +++++++----- po/vi.po | 52 +++++++----- po/zh_CN.po | 91 +++++++------------- po/zh_TW.po | 52 +++++++----- scripts/po/ca.po | 152 +++++++++++++++++---------------- scripts/po/de.po | 152 +++++++++++++++++---------------- scripts/po/dpkg-dev.pot | 154 +++++++++++++++++---------------- scripts/po/es.po | 152 +++++++++++++++++---------------- scripts/po/fr.po | 152 +++++++++++++++++---------------- scripts/po/pl.po | 152 +++++++++++++++++---------------- scripts/po/ru.po | 152 +++++++++++++++++---------------- scripts/po/sv.po | 152 +++++++++++++++++---------------- 92 files changed, 3540 insertions(+), 2227 deletions(-) commit d87a05a75c14ca42ea5545ca76ab24c3bbb297e8 Author: Guillem Jover Date: Sat Oct 25 02:26:36 2014 +0200 doc: Update features removal schedule - The -u, --udeb dpkg-scanpackages options got removed, state that. - Remove the entry about obsolete fields, as these need to be preserved for backward compatibility, they are part of the external interface to be able to handle ancient binary packages. debian/changelog | 5 +++++ doc/README.feature-removal-schedule | 11 +---------- 2 files changed, 6 insertions(+), 10 deletions(-) commit 317083c11091dcd9e2b1a36677964aaaa0b53c1c Author: Guillem Jover Date: Fri Oct 24 15:18:11 2014 +0200 dpkg: Perform trigger cycle detection earlier or later depending on dependtry Do trigger cycle detection after dependency checks in dependtry <= 1, and before dependency cycle breaking in dependtry > 1. This makes sure to always catch trigger cycles, but still gives the opportunity to try to process triggers for packages that are not yet ready in the first dependtry, but which might be a bit later on, without wrongly detecting avoidable and bogus trigger cycles. Closes: #766557 debian/changelog | 6 ++++++ src/trigproc.c | 15 +++++++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) commit a67c4ccd2d72d01d3c0e5f9a152d685ef8d86a1d Author: Guillem Jover Date: Wed Oct 15 15:36:34 2014 +0200 dpkg: Add explicit await trigger directives and command-line options The current default of awaiting is really bad, because most packages do not really require to be put in a triggers-awaited status. Also maintainers tend to use it instead of the -noawait variant, making trigger cycles more common. Changing the default behavior was not an option, as precisely doing so would affect the packages that would break when not put in a triggers-awaited status. Instead we'll add explicit await variants for the triggers, and dpkg-trigger, and probably deprecate the implicit ones during the 1.18.x cycle. Maybe, and only maybe it can be switched to be the noawait variants in 1.19.x or 1.20.x, perhaps. debian/changelog | 4 ++++ lib/dpkg/triglib.c | 14 ++++++++++++-- man/deb-triggers.5 | 17 +++++++++++++++-- man/dpkg-trigger.1 | 4 ++++ src/trigcmd.c | 14 +++++++------- 5 files changed, 42 insertions(+), 11 deletions(-) commit 0196624315bc4d0d9763caf586edab1106cc1da2 Author: Guillem Jover Date: Fri Oct 24 09:34:42 2014 +0200 dpkg-parsechangelog: Accept -S value in addition to -Svalue Instead of rewording the man page and the --help output, just accept what is to be expected from the documentation. Closes: #766559 debian/changelog | 2 ++ scripts/dpkg-parsechangelog.pl | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 5e4830d28fd7c8354a82b0b1c3a07d94946bee64 Author: Guillem Jover Date: Fri Oct 24 09:32:58 2014 +0200 dpkg-parsechangelog: Do not accept values bundled with long option names The parser was accepting things like «--count10», which is just broken. Instead allow only «--count=10» in addition to «--count 10». debian/changelog | 3 +++ scripts/dpkg-parsechangelog.pl | 8 ++------ 2 files changed, 5 insertions(+), 6 deletions(-) commit 563ec9322ed2544bd18fb320e60d525496c8ea88 Author: Guillem Jover Date: Fri Oct 24 09:31:34 2014 +0200 dpkg-genchanges(1): Document -g and -G options Missed in commit e161b733cf23716f35328afcd6f0ac23dc4f8e03. Closes: #766568 debian/changelog | 1 + man/dpkg-genchanges.1 | 12 ++++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) commit f22d73c3d22194ffc85d7c56b0a084448636e82d Author: Guillem Jover Date: Fri Oct 24 02:47:04 2014 +0200 dpkg-source: Error out on obsolete Build-Profiles syntax Switch the warning into an error, and stop doing the backward compatibility mapping now that only doxygen is using the obsolete syntax. debian/changelog | 1 + scripts/dpkg-source.pl | 11 +++-------- 2 files changed, 4 insertions(+), 8 deletions(-) commit 9e26996fa45cd5fc1c5b92025fddf3cac5c7b1a5 Author: Guillem Jover Date: Sat Oct 25 00:41:20 2014 +0200 debian: Require patch >= 2.7 to get git-style diff support This guarantees that we get a reproducible behavior, as previous patch versions did not support git-style diffs. debian/changelog | 4 ++++ debian/control | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 853d6296c0a7afc290266cc56f5132adaa371c3a Author: Zhou Mo Date: Sat Oct 25 00:52:17 2014 +0200 po: Update Simplified Chinese program translations Signed-off-by: Guillem Jover debian/changelog | 1 + po/zh_CN.po | 137 ++++++++++++++++++++++++++----------------------------- 2 files changed, 66 insertions(+), 72 deletions(-) commit d52c9520fb328d5e65d6109b847aa3e891c5cae7 Author: Guillem Jover Date: Fri Oct 24 02:46:44 2014 +0200 po: Update Catalan translations debian/changelog | 4 ++ po/ca.po | 21 +++--- scripts/po/ca.po | 192 +++++++++++++++++++------------------------------------ 3 files changed, 76 insertions(+), 141 deletions(-) commit 550722473370c877c1111fad4b9fe073347d65f0 Author: Guillem Jover Date: Sat Oct 25 00:31:08 2014 +0200 t-triggers: Add explicit await test cases t-triggers/Makefile | 20 +++++++++++++++----- t-triggers/pkg-trig-cmd/DEBIAN/postinst | 3 +++ t-triggers/pkg-trig-cmd/DEBIAN/postrm | 3 +++ t-triggers/pkg-trig-cmd/DEBIAN/preinst | 3 +++ t-triggers/pkg-trig-cmd/DEBIAN/prerm | 3 +++ t-triggers/pkg-triggers-await/DEBIAN/control | 7 +++++++ t-triggers/pkg-triggers-await/DEBIAN/postinst | 13 +++++++++++++ t-triggers/pkg-triggers-await/DEBIAN/triggers | 2 ++ 8 files changed, 49 insertions(+), 5 deletions(-) commit 9bd52bb4baf0e6f0e5afac2c00e85e75506077ed Author: Sven Joachim Date: Thu Oct 23 17:52:46 2014 +0200 German dpkg translation update Update to 1088t. debian/changelog | 3 ++- po/de.po | 16 +++++++--------- 2 files changed, 9 insertions(+), 10 deletions(-) commit e1558a226b101eaabf55e9e5f7c5943550a2e184 Author: Guillem Jover Date: Thu Oct 23 02:12:23 2014 +0200 Bump version to 1.17.21 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 824353a6a263b0a2a2bc424dbdb28c544a5ff624 Author: Guillem Jover Date: Thu Oct 23 00:43:14 2014 +0200 Release 1.17.20 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4191c2cd8c955172df853658f8e5ddc1f5584ef8 Author: Guillem Jover Date: Thu Oct 23 01:06:46 2014 +0200 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/de.po | 6 +- man/po/dpkg-man.pot | 6 +- man/po/es.po | 6 +- man/po/fr.po | 6 +- man/po/hu.po | 4 +- man/po/it.po | 6 +- man/po/ja.po | 6 +- man/po/pl.po | 6 +- man/po/pt_BR.po | 4 +- man/po/ru.po | 6 +- man/po/sv.po | 6 +- po/ast.po | 162 ++++++++++++++++++++++++---------------------- po/bs.po | 161 ++++++++++++++++++++++++---------------------- po/ca.po | 165 ++++++++++++++++++++++++----------------------- po/cs.po | 165 ++++++++++++++++++++++++----------------------- po/da.po | 165 ++++++++++++++++++++++++----------------------- po/de.po | 165 ++++++++++++++++++++++++----------------------- po/dpkg.pot | 163 +++++++++++++++++++++++----------------------- po/dz.po | 161 ++++++++++++++++++++++++---------------------- po/el.po | 161 ++++++++++++++++++++++++---------------------- po/eo.po | 165 ++++++++++++++++++++++++----------------------- po/es.po | 165 ++++++++++++++++++++++++----------------------- po/et.po | 161 ++++++++++++++++++++++++---------------------- po/eu.po | 162 ++++++++++++++++++++++++---------------------- po/fr.po | 165 ++++++++++++++++++++++++----------------------- po/gl.po | 161 ++++++++++++++++++++++++---------------------- po/hu.po | 161 ++++++++++++++++++++++++---------------------- po/id.po | 162 ++++++++++++++++++++++++---------------------- po/it.po | 165 ++++++++++++++++++++++++----------------------- po/ja.po | 165 ++++++++++++++++++++++++----------------------- po/km.po | 161 ++++++++++++++++++++++++---------------------- po/ko.po | 162 ++++++++++++++++++++++++---------------------- po/ku.po | 161 ++++++++++++++++++++++++---------------------- po/lt.po | 161 ++++++++++++++++++++++++---------------------- po/mr.po | 161 ++++++++++++++++++++++++---------------------- po/nb.po | 162 ++++++++++++++++++++++++---------------------- po/ne.po | 161 ++++++++++++++++++++++++---------------------- po/nl.po | 161 ++++++++++++++++++++++++---------------------- po/nn.po | 161 ++++++++++++++++++++++++---------------------- po/pa.po | 161 ++++++++++++++++++++++++---------------------- po/pl.po | 165 ++++++++++++++++++++++++----------------------- po/pt.po | 165 ++++++++++++++++++++++++----------------------- po/pt_BR.po | 161 ++++++++++++++++++++++++---------------------- po/ro.po | 162 ++++++++++++++++++++++++---------------------- po/ru.po | 165 ++++++++++++++++++++++++----------------------- po/sk.po | 165 ++++++++++++++++++++++++----------------------- po/sv.po | 165 ++++++++++++++++++++++++----------------------- po/th.po | 165 ++++++++++++++++++++++++----------------------- po/tl.po | 161 ++++++++++++++++++++++++---------------------- po/tr.po | 165 ++++++++++++++++++++++++----------------------- po/vi.po | 168 +++++++++++++++++++++++++----------------------- po/zh_CN.po | 168 +++++++++++++++++++++++++----------------------- po/zh_TW.po | 165 ++++++++++++++++++++++++----------------------- scripts/po/ca.po | 105 +++++++++++++++++------------- scripts/po/de.po | 108 ++++++++++++++++++------------- scripts/po/dpkg-dev.pot | 107 +++++++++++++++++------------- scripts/po/es.po | 111 +++++++++++++++++++------------- scripts/po/fr.po | 113 ++++++++++++++++++-------------- scripts/po/pl.po | 111 +++++++++++++++++++------------- scripts/po/ru.po | 114 +++++++++++++++++++------------- scripts/po/sv.po | 108 ++++++++++++++++++------------- 92 files changed, 4135 insertions(+), 3720 deletions(-) commit fe0982b81b6812af15ac6070e9f9fa67ea85e623 Author: Guillem Jover Date: Wed Oct 22 23:40:46 2014 +0200 dpkg(1): Reword description for installed status Prompted-by: #752123 debian/changelog | 1 + man/dpkg.1 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 26a5f85e7bd5cb974d23fef543d9a69caa3726bf Author: Guillem Jover Date: Wed Oct 22 19:01:51 2014 +0200 u-a: Inline alternative status description into translatable string This makes it possible to correctly translate the string. Required-by: #766311 debian/changelog | 2 ++ utils/update-alternatives.c | 9 ++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) commit 2d5eb396c21b773b50fdd2bbe0cbce0bac1c94b6 Author: Guillem Jover Date: Wed Oct 22 14:59:36 2014 +0200 po: Unfuzzy strings scripts/po/ca.po | 2 +- scripts/po/de.po | 4 ++-- scripts/po/dpkg-dev.pot | 2 +- scripts/po/es.po | 2 +- scripts/po/fr.po | 2 +- scripts/po/pl.po | 4 ++-- scripts/po/ru.po | 4 ++-- scripts/po/sv.po | 4 ++-- 8 files changed, 12 insertions(+), 12 deletions(-) commit c5aa5d8e00d076a4ca4b35ab8f2a3eb082bb6cd5 Author: Guillem Jover Date: Tue Oct 14 20:05:54 2014 +0200 Dpkg::Source::Package::V2: Allow detached upstream signatures Upstream tarballs usually come with detached signatures, which would be useful to have in the source package, as an additional check that could be performed to verify its integrity and provenance. For now just allow the detached signatures to be listed in the file fields in the source control file (.dsc). Closes: #759478 Suggested-by: Daniel Kahn Gillmor debian/changelog | 3 +++ scripts/Dpkg/Source/Package/V2.pm | 23 +++++++++++++++++++++-- 2 files changed, 24 insertions(+), 2 deletions(-) commit 9ee62ecfc8937f24a82805a424564997042dd984 Author: Guillem Jover Date: Wed Oct 22 22:29:21 2014 +0200 dpkg: Make the initial dependtry be 1 instead of 0 This gets rid of an unused dependtry step, which got accidentally introduced when the perl dpkg was rewritten in C, ages ago. debian/changelog | 3 +++ src/packages.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit edeed5695089a283a0abffcf0044fc9bf1c3a0b8 Author: Guillem Jover Date: Wed Oct 22 14:04:30 2014 +0200 dpkg: Make sure to always switch to the next dependtry after no progress We might get into a situation where we are making no progress, and dependencies_ok() is still telling us that we can make progress by fixing some triggers awaited package, but if those packages require a dependency cycle to be broken we will get stuck and not progress to the next dependtry. Add an additional hard limit where we will jump dependtry, in case we are not making any progress. This is a safety net that was removed when triggers got introduced, but that only became active when adding the dependency checks to trigproc(), although it was never future-proof. Regression introduced in commit 10440009b68f59eeed4cb1b56547e3cf356aa540 and commit e121d882c92099d1f1aa9eedd0c0e90806a44efa. Closes: #766242, #766322 debian/changelog | 4 ++++ src/packages.c | 10 +++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) commit e65a01f242a218828ec205467fb6203515fde48a Author: Guillem Jover Date: Wed Oct 22 14:03:56 2014 +0200 dpkg: Add a debug line for each package processed in the queue This gives a general overview of the current progress. src/packages.c | 3 +++ 1 file changed, 3 insertions(+) commit ce27f5dc0c3dc6ed7656d09784ea461407765d7d Author: Guillem Jover Date: Tue Oct 21 23:18:26 2014 +0200 dpkg: Add a requeueing insertion protection for process_queue() We should not requeue packages already in the queue. Just protect it in a similar way in how the deferred triggers queue is protected. In the future these can be unified. debian/changelog | 3 +++ src/filesdb.c | 1 + src/main.h | 2 ++ src/packages.c | 7 +++++++ 4 files changed, 13 insertions(+) commit 2867df049d99250b59c3449669541e370182af43 Author: Trần Ngọc Quân Date: Wed Oct 22 15:24:58 2014 +0700 po: Update Vietnamese programs translation Signed-off-by: Trần Ngọc Quân Signed-off-by: Guillem Jover debian/changelog | 1 + po/vi.po | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) commit 3f918d69c608ab87c7d0f12c8ad36ade1ed8c1e3 Author: Zhou Mo Date: Tue Oct 21 10:18:34 2014 +0200 po: Update Simplified Chinese program translations Signed-off-by: Guillem Jover debian/changelog | 1 + po/zh_CN.po | 15 +++++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) commit 8f86502b9d72f9a5f3c170ae22226295a30484d3 Author: Guillem Jover Date: Tue Oct 21 10:17:45 2014 +0200 debian: Correct Zhou Mo name .mailmap | 1 + debian/changelog | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit ee77bc3b16a7f3feb0658193b00d07a57c8aa673 Author: Sven Joachim Date: Mon Oct 20 18:52:30 2014 +0200 German dpkg translation update Update to 1087t, thanks to Helge Kreutzmann for his suggestions. debian/changelog | 3 ++- po/de.po | 17 ++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) commit c15691f73c83b9f453145b7b5e1f9d360720c6d6 Author: Guillem Jover Date: Mon Oct 20 16:06:42 2014 +0200 Bump version to 1.17.20 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 2846468164a5cb5e008409bc5288df30a31b05f6 Author: Guillem Jover Date: Mon Oct 20 15:17:53 2014 +0200 Release 1.17.19 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 63e09e806236dfe588407e951f5b8169756cc90b Author: Guillem Jover Date: Mon Oct 20 15:26:14 2014 +0200 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/de.po | 536 ++++++++++++++++++++++++++---------------------- man/po/dpkg-man.pot | 442 ++++++++++++++++++++------------------- man/po/es.po | 466 ++++++++++++++++++++++------------------- man/po/fr.po | 476 +++++++++++++++++++++++------------------- man/po/hu.po | 444 ++++++++++++++++++++------------------- man/po/it.po | 476 +++++++++++++++++++++++------------------- man/po/ja.po | 466 ++++++++++++++++++++++------------------- man/po/pl.po | 466 ++++++++++++++++++++++------------------- man/po/pt_BR.po | 444 ++++++++++++++++++++------------------- man/po/ru.po | 444 ++++++++++++++++++++------------------- man/po/sv.po | 476 +++++++++++++++++++++++------------------- po/ast.po | 69 ++++--- po/bs.po | 63 +++--- po/ca.po | 69 ++++--- po/cs.po | 68 +++--- po/da.po | 68 +++--- po/de.po | 68 +++--- po/dpkg.pot | 65 +++--- po/dz.po | 68 +++--- po/el.po | 68 +++--- po/eo.po | 68 +++--- po/es.po | 69 ++++--- po/et.po | 69 ++++--- po/eu.po | 68 +++--- po/fr.po | 68 +++--- po/gl.po | 68 +++--- po/hu.po | 68 +++--- po/id.po | 69 ++++--- po/it.po | 72 +++---- po/ja.po | 68 +++--- po/km.po | 68 +++--- po/ko.po | 68 +++--- po/ku.po | 68 +++--- po/lt.po | 68 +++--- po/mr.po | 68 +++--- po/nb.po | 68 +++--- po/ne.po | 68 +++--- po/nl.po | 68 +++--- po/nn.po | 68 +++--- po/pa.po | 68 +++--- po/pl.po | 68 +++--- po/pt.po | 69 ++++--- po/pt_BR.po | 69 ++++--- po/ro.po | 68 +++--- po/ru.po | 69 ++++--- po/sk.po | 68 +++--- po/sv.po | 68 +++--- po/th.po | 68 +++--- po/tl.po | 69 ++++--- po/tr.po | 118 ++++------- po/vi.po | 68 +++--- po/zh_CN.po | 68 +++--- po/zh_TW.po | 68 +++--- scripts/po/ca.po | 2 +- scripts/po/de.po | 37 +++- scripts/po/dpkg-dev.pot | 4 +- scripts/po/es.po | 2 +- scripts/po/fr.po | 2 +- scripts/po/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 92 files changed, 4490 insertions(+), 3674 deletions(-) commit d3264ed3251cda9083ba8c717926e3dfb97f1a9d Author: Guillem Jover Date: Sat Oct 18 04:49:33 2014 +0200 dpkg: Rework dependency problem debug and notices on trigproc() The dependencies_ok() function already prints adequate debugging information, there's no point repeating it in the call site. Add also a notice() in case we end up forcing the dependency. debian/changelog | 1 + src/trigproc.c | 18 +++++++----------- 2 files changed, 8 insertions(+), 11 deletions(-) commit e121d882c92099d1f1aa9eedd0c0e90806a44efa Author: Guillem Jover Date: Wed Oct 15 15:30:28 2014 +0200 dpkg: Fix trigger dependency checks and cycle detection Break dependency cycles on dependtry > 1 in trigproc(), before calling dependencies_ok(). But if we have a dependency cycle where a package A awaits triggers and package P has them pending, and both depend on each other, the dependency cycle breaking code is not smart enough to break it at the correct place, as the relationship is directional. So we handle it specially on deppossi_ok_found(), in case we are in the cycle breaking dependtry. Otherwise we just defer it, but do not record that it can be fixed by trigger processing, because we would get into an inifite loop. Move trigger cycle detection after dependency checks, so that it does not detect bogus trigger cycles that would have been avoided simply by the dependency checks and cycle breaking code. Regression introduced in commit 35c1c59cfad75d75b3d98974ad201f95d932adb6. Closes: #765434, #765668, #765734, #765781, #765789, #765952 debian/changelog | 3 +++ src/packages.c | 18 ++++++++++++++++++ src/trigproc.c | 10 +++++++--- 3 files changed, 28 insertions(+), 3 deletions(-) commit 17630063debf3183b61bd82fddd2bed484e0c954 Author: Guillem Jover Date: Sun Oct 19 14:02:07 2014 +0200 dpkg: Reverse --verify-format logic to accept 'rpm' as valid Closes: #765907 debian/changelog | 2 ++ src/main.h | 2 +- src/verify.c | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) commit 1f57f1f06c7fe1cbcdaa1242049b7b23aa9135aa Author: Guillem Jover Date: Sat Oct 18 23:17:56 2014 +0200 dpkg: Add invoke hooks for add-architecture and remove-architecture Prompted-by: Helmut Grohne debian/changelog | 2 ++ man/dpkg.1 | 3 ++- src/main.c | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) commit 6df7eb8f84400af6c0d38ead029c0257c890fdd4 Author: Guillem Jover Date: Fri Oct 17 14:36:17 2014 +0200 scripts/t: Enable and fix minimal :native arch-qualifier tests scripts/t/Dpkg_Deps.t | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 1c1823e0751f4aa47f16d97a3eaf854a4af414fe Author: Guillem Jover Date: Sun Oct 19 05:23:09 2014 +0200 s-s-d(8): Mention --pid and --ppid in the DESCRIPTION section debian/changelog | 1 + man/start-stop-daemon.8 | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit d163f7f5c06261b7126856246be971e86580a1e9 Author: Guillem Jover Date: Thu Oct 16 22:34:35 2014 +0200 s-s-d: Add a new --remove-pidfile option This is the counter-option to --make-pidfile, so that programs that need their pidfile created can use an option to remove them without needing to do that manually. debian/changelog | 1 + man/start-stop-daemon.8 | 11 ++++++++++- utils/start-stop-daemon.c | 19 +++++++++++++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) commit af9a54d1f985a3c513adda9a44e4cc3bf7240ab3 Author: Zhou Mo Date: Sat Oct 18 23:30:21 2014 +0200 po: Update Simplified Chinese programs translation Closes: #765693 Signed-off-by: Guillem Jover debian/changelog | 1 + po/zh_CN.po | 2070 +++++++++++++++++++----------------------------------- 2 files changed, 732 insertions(+), 1339 deletions(-) commit 4c1001ed39c0f1bad09e6a38585858fb373e8ef6 Author: Milo Casagrande Date: Sat Oct 18 04:53:58 2014 +0200 po: Update Italian programs translation Closes: #765748 Signed-off-by: Guillem Jover debian/changelog | 1 + po/it.po | 161 ++++++++++++++++++++----------------------------------- 2 files changed, 58 insertions(+), 104 deletions(-) commit c1d14ed88e50f02596fdc33d5f223f7bddb0a815 Author: Guillem Jover Date: Mon Oct 20 01:24:38 2014 +0200 t-triggers: Add trigger and dependency cycle test cases Makefile | 3 +++ t-triggers-cycle/Makefile | 21 ++++++++++++++++++ t-triggers-cycle/pkg-depends/DEBIAN/control | 7 ++++++ t-triggers-cycle/pkg-trigger-a/DEBIAN/control | 8 +++++++ t-triggers-cycle/pkg-trigger-a/DEBIAN/postinst | 20 +++++++++++++++++ t-triggers-cycle/pkg-trigger-a/DEBIAN/triggers | 1 + t-triggers-cycle/pkg-trigger-b/DEBIAN/control | 8 +++++++ t-triggers-cycle/pkg-trigger-b/DEBIAN/postinst | 20 +++++++++++++++++ t-triggers-cycle/pkg-trigger-b/DEBIAN/triggers | 1 + t-triggers-depcycle/Makefile | 25 ++++++++++++++++++++++ t-triggers-depcycle/pkg-depends-0/DEBIAN/control | 7 ++++++ t-triggers-depcycle/pkg-depends-1/DEBIAN/control | 8 +++++++ t-triggers-depcycle/pkg-files-0/DEBIAN/control | 8 +++++++ .../pkg-files-0/test/trigger/test-file | 1 + t-triggers-depcycle/pkg-files-1/DEBIAN/control | 8 +++++++ .../pkg-files-1/test/trigger/test-file | 1 + t-triggers-depcycle/pkg-trigger/DEBIAN/control | 8 +++++++ t-triggers-depcycle/pkg-trigger/DEBIAN/postinst | 23 ++++++++++++++++++++ t-triggers-depcycle/pkg-trigger/DEBIAN/triggers | 1 + t-triggers-depfarcycle/Makefile | 25 ++++++++++++++++++++++ .../pkg-depends-a/DEBIAN/control | 8 +++++++ .../pkg-depends-b/DEBIAN/control | 8 +++++++ t-triggers-depfarcycle/pkg-files-0/DEBIAN/control | 8 +++++++ .../pkg-files-0/test/trigger/test-file | 1 + t-triggers-depfarcycle/pkg-files-1/DEBIAN/control | 8 +++++++ .../pkg-files-1/test/trigger/test-file | 1 + t-triggers-depfarcycle/pkg-trigger/DEBIAN/control | 8 +++++++ t-triggers-depfarcycle/pkg-trigger/DEBIAN/postinst | 16 ++++++++++++++ t-triggers-depfarcycle/pkg-trigger/DEBIAN/triggers | 1 + 29 files changed, 263 insertions(+) commit f7b328a12c21ed6d4d0bdc17bc45fb4545165bb3 Author: Guillem Jover Date: Mon Oct 13 21:03:14 2014 +0200 s-s-d: Create a pidfile even when not backgrounding ourselves Regression introduced in commit 29778da537e2ff1a0f032db33dde43413b7345ef. When the user asked us to create the pidfile, but _not_ to background ourselves, we should still create the pidfile. This usage is somewhat dubious, as s-s-d has an option to background, which is better in any way, as it will make sure to return error codes in case the program cannot be started for whatever reason. But it's still a regression. Closes: #765110 debian/changelog | 4 ++++ utils/start-stop-daemon.c | 3 +++ 2 files changed, 7 insertions(+) commit 1bc921f8c8bcad83158cd240da4ecb266d9dc62f Author: Guillem Jover Date: Mon Oct 13 11:17:22 2014 +0200 debian: Bump the Breaks on devscripts to 2.14.10 Due to the new dpkg-architecture command-line parsing strictness introduced in 1.17.17. Closes: #764965 debian/changelog | 4 ++++ debian/control | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit eaded13dba7476659441accdac1f663f475ab5b5 Author: Mert Dirik Date: Mon Oct 13 11:18:58 2014 +0200 po: Update Turkish programs translation Closes: #764942 Signed-off-by: Guillem Jover debian/changelog | 3 +++ po/tr.po | 9 +++++---- 2 files changed, 8 insertions(+), 4 deletions(-) commit 78a6aac2559648d1a0e0b4926e23aed67d8b81fb Author: Helge Kreutzmann Date: Mon Oct 13 21:10:07 2014 +0200 Update German scripts translation Update to 550t. debian/changelog | 3 ++ scripts/po/de.po | 100 ++++++++++++++++++++++++------------------------------- 2 files changed, 47 insertions(+), 56 deletions(-) commit 2bbe5ccc5ec29999524df1ec770d626a09313e9d Author: Helge Kreutzmann Date: Sun Oct 12 21:24:10 2014 +0200 Update German translation of manual pages Update to 2339t. debian/changelog | 3 +- man/po/de.po | 677 +++++++++++++++++++------------------------------------ 2 files changed, 233 insertions(+), 447 deletions(-) commit b83451ce4c75742daa219bfc81bdef95e413af0c Author: Guillem Jover Date: Sun Oct 12 16:42:10 2014 +0200 Bump version to 1.17.19 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 45a0a65b2ccf4c29bbf0ba95583a14f4c1bb2185 Author: Guillem Jover Date: Sun Oct 12 15:47:49 2014 +0200 Release 1.17.18 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8f0122e0c439de1ee4521a9009427aa3704de521 Author: Guillem Jover Date: Sun Oct 12 15:16:41 2014 +0200 dpkg-shlibdeps: Handle empty minimum versions when initializing them If the minimum version is empty (which means it was 0), we cannot use it to compare against the existing minimum version if that exists, and we should not be overwritting that, either. Regression introduced in commit 51c55641fb6c66e149ea93c344cb788c68978c75. Closes: #764929 debian/changelog | 5 +++++ scripts/dpkg-shlibdeps.pl | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 8f28a4db519461cf529616dd627a634e3a1fa56c Author: Guillem Jover Date: Sun Oct 12 15:40:10 2014 +0200 po: Update Catalan translations debian/changelog | 4 +++ dselect/po/ca.po | 68 +++++++++---------------------------------- po/ca.po | 88 ++++++++++---------------------------------------------- 3 files changed, 32 insertions(+), 128 deletions(-) commit 06cee0299cfc821bfcd1ee2dd7c54ac75095ae37 Author: Sven Joachim Date: Sun Oct 12 09:11:55 2014 +0200 German dselect translation update Update to 278t. debian/changelog | 3 ++- dselect/po/de.po | 24 +++++++++--------------- 2 files changed, 11 insertions(+), 16 deletions(-) commit 0b3bf6654af546eece8d19a00859ea109e26a0b6 Author: Guillem Jover Date: Sun Oct 12 07:00:25 2014 +0200 Bump version to 1.17.18 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit fbfc2aa1c004aa9e6088f5c5e9a9bcb6abbea66a Author: Guillem Jover Date: Sun Oct 12 04:59:36 2014 +0200 Release 1.17.17 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 148d7edd0da215a7d93b92c89c7aaf035f9e4d4d Author: Guillem Jover Date: Sun Oct 12 05:37:50 2014 +0200 Regenerate .pot files and merge .po files with them dselect/po/bs.po | 32 +- dselect/po/ca.po | 36 +- dselect/po/cs.po | 36 +- dselect/po/da.po | 36 +- dselect/po/de.po | 36 +- dselect/po/dselect.pot | 34 +- dselect/po/el.po | 36 +- dselect/po/es.po | 36 +- dselect/po/et.po | 36 +- dselect/po/eu.po | 36 +- dselect/po/fr.po | 36 +- dselect/po/gl.po | 36 +- dselect/po/hu.po | 36 +- dselect/po/id.po | 36 +- dselect/po/it.po | 36 +- dselect/po/ja.po | 36 +- dselect/po/ko.po | 37 +- dselect/po/nb.po | 36 +- dselect/po/nl.po | 36 +- dselect/po/nn.po | 36 +- dselect/po/pl.po | 36 +- dselect/po/pt.po | 36 +- dselect/po/pt_BR.po | 36 +- dselect/po/ro.po | 36 +- dselect/po/ru.po | 36 +- dselect/po/sk.po | 36 +- dselect/po/sv.po | 36 +- dselect/po/tl.po | 36 +- dselect/po/vi.po | 36 +- dselect/po/zh_CN.po | 36 +- dselect/po/zh_TW.po | 36 +- man/po/de.po | 688 +++++++++++++++++------------- man/po/dpkg-man.pot | 566 ++++++++++++------------ man/po/es.po | 677 ++++++++++++++++------------- man/po/fr.po | 688 +++++++++++++++++------------- man/po/hu.po | 631 ++++++++++++++------------- man/po/it.po | 673 ++++++++++++++++------------- man/po/ja.po | 675 ++++++++++++++++------------- man/po/pl.po | 679 ++++++++++++++++------------- man/po/pt_BR.po | 627 ++++++++++++++------------- man/po/ru.po | 627 ++++++++++++++------------- man/po/sv.po | 687 +++++++++++++++++------------- po/ast.po | 28 +- po/bs.po | 28 +- po/ca.po | 28 +- po/cs.po | 28 +- po/da.po | 28 +- po/de.po | 28 +- po/dpkg.pot | 32 +- po/dz.po | 28 +- po/el.po | 28 +- po/eo.po | 28 +- po/es.po | 28 +- po/et.po | 28 +- po/eu.po | 28 +- po/fr.po | 28 +- po/gl.po | 28 +- po/hu.po | 28 +- po/id.po | 28 +- po/it.po | 28 +- po/ja.po | 28 +- po/km.po | 28 +- po/ko.po | 28 +- po/ku.po | 28 +- po/lt.po | 28 +- po/mr.po | 28 +- po/nb.po | 28 +- po/ne.po | 28 +- po/nl.po | 28 +- po/nn.po | 28 +- po/pa.po | 28 +- po/pl.po | 28 +- po/pt.po | 28 +- po/pt_BR.po | 28 +- po/ro.po | 28 +- po/ru.po | 28 +- po/sk.po | 28 +- po/sv.po | 28 +- po/th.po | 28 +- po/tl.po | 28 +- po/tr.po | 28 +- po/vi.po | 28 +- po/zh_CN.po | 28 +- po/zh_TW.po | 28 +- scripts/po/ca.po | 1045 +++++++++++++++++++++++---------------------- scripts/po/de.po | 1085 +++++++++++++++++++++++++---------------------- scripts/po/dpkg-dev.pot | 1044 +++++++++++++++++++++++---------------------- scripts/po/es.po | 1040 ++++++++++++++++++++++++--------------------- scripts/po/fr.po | 1068 ++++++++++++++++++++++++---------------------- scripts/po/pl.po | 1032 +++++++++++++++++++++++--------------------- scripts/po/ru.po | 1028 +++++++++++++++++++++++--------------------- scripts/po/sv.po | 1026 +++++++++++++++++++++++--------------------- 92 files changed, 10090 insertions(+), 7787 deletions(-) commit 9b08b531fd0dcaa0da2558929172ce21c2d312b9 Author: Guillem Jover Date: Sat Oct 11 22:13:12 2014 +0200 scripts: Document private modules as such in a CHANGES section This is to try to make sure, that even if documented, people will not accidentally rely on private modules, that have not API stability guarantees. debian/changelog | 1 + scripts/Dpkg/BuildEnv.pm | 6 ++++++ scripts/Dpkg/Control/Types.pm | 6 ++++++ scripts/Dpkg/Vendor/Debian.pm | 8 ++++++++ scripts/Dpkg/Vendor/Default.pm | 6 ++++++ scripts/Dpkg/Vendor/Ubuntu.pm | 6 ++++++ 6 files changed, 33 insertions(+) commit 916aa6d3bbfa0d0290f5ba74706f71a68f6da0cd Author: Guillem Jover Date: Sat Oct 11 16:17:12 2014 +0200 scripts: Remove EXPORTED from POD section titles These are clearly exported, otherwise they would not be documented. debian/changelog | 1 + scripts/Dpkg/Checksums.pm | 2 +- scripts/Dpkg/Compression.pm | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit 8d886702ff54efcd19dcf674cb92ea125a4822ca Author: Guillem Jover Date: Sat Oct 11 15:58:15 2014 +0200 scripts: Document all public module versions in a CHANGES section This makes it clear what is the current version of the module, and that it is a public interface. debian/changelog | 1 + scripts/Dpkg/BuildFlags.pm | 4 ++++ scripts/Dpkg/BuildOptions.pm | 4 ++++ scripts/Dpkg/Changelog.pm | 6 ++++++ scripts/Dpkg/Changelog/Debian.pm | 6 ++++++ scripts/Dpkg/Changelog/Entry.pm | 6 ++++++ scripts/Dpkg/Changelog/Entry/Debian.pm | 4 ++++ scripts/Dpkg/Changelog/Parse.pm | 6 ++++++ scripts/Dpkg/Checksums.pm | 4 ++++ scripts/Dpkg/Compression.pm | 4 ++++ scripts/Dpkg/Compression/FileHandle.pm | 4 ++++ scripts/Dpkg/Compression/Process.pm | 6 ++++++ scripts/Dpkg/Conf.pm | 4 ++++ scripts/Dpkg/Control.pm | 6 ++++++ scripts/Dpkg/Control/Changelog.pm | 6 ++++++ scripts/Dpkg/Control/Fields.pm | 6 ++++++ scripts/Dpkg/Control/FieldsCore.pm | 6 ++++++ scripts/Dpkg/Control/Hash.pm | 6 ++++++ scripts/Dpkg/Control/HashCore.pm | 4 ++++ scripts/Dpkg/Control/Info.pm | 6 ++++++ scripts/Dpkg/Deps.pm | 4 ++++ scripts/Dpkg/Exit.pm | 4 ++++ scripts/Dpkg/IPC.pm | 4 ++++ scripts/Dpkg/Index.pm | 6 ++++++ scripts/Dpkg/Interface/Storable.pm | 6 ++++++ scripts/Dpkg/Path.pm | 4 ++++ scripts/Dpkg/Source/Package.pm | 4 ++++ scripts/Dpkg/Substvars.pm | 4 ++++ scripts/Dpkg/Vendor.pm | 4 ++++ scripts/Dpkg/Version.pm | 4 ++++ 30 files changed, 143 insertions(+) commit 1b7cbd6176575f926526b380475e9f055121e01e Author: Guillem Jover Date: Fri Oct 10 00:50:26 2014 +0200 Dpkg::BuildProfiles: Mark the module as a public interface debian/changelog | 1 + debian/control | 1 + scripts/Dpkg/BuildProfiles.pm | 8 +++++++- 3 files changed, 9 insertions(+), 1 deletion(-) commit 9faba94aeacc7f8a85a785d7cf1334cf340208fe Author: Guillem Jover Date: Sat Oct 11 21:37:37 2014 +0200 Dpkg::Gettext: Move exporter code close to the top scripts/Dpkg/Gettext.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 726492a9c7e032ea37e4838b70994d7d7fe7c3b3 Author: Guillem Jover Date: Sat Oct 11 16:11:03 2014 +0200 Dpkg::Gettext: Document public module debian/changelog | 1 + scripts/Dpkg/Gettext.pm | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) commit 9a456ae165ff9d6f21a4d8581e3bce8c572bdb25 Author: Guillem Jover Date: Sat Oct 11 16:31:33 2014 +0200 Dpkg: Document public module debian/changelog | 1 + debian/control | 1 + scripts/Dpkg.pm | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+) commit 98183cda83b5f1622e1c7a3189bca05f416f44d6 Author: Guillem Jover Date: Fri Oct 10 00:51:39 2014 +0200 debian: List Dpkg::Exit and Dpkg::Interface::Storable as public modules debian/changelog | 2 ++ debian/control | 2 ++ 2 files changed, 4 insertions(+) commit d54542f573336abe87676547f1b01cda5726c71e Author: Guillem Jover Date: Thu Oct 9 16:02:05 2014 +0200 scripts: Do not modify the topic variable values in list functions Fixes ControlStructures::ProhibitMutatingListFunctions. Warned-by: perlcritic debian/changelog | 1 + scripts/Dpkg/Source/Package/V1.pm | 3 ++- scripts/dpkg-shlibdeps.pl | 11 ++++++----- test/critic.t | 1 + test/critic/perlcriticrc | 3 +++ 5 files changed, 13 insertions(+), 6 deletions(-) commit b4d79c218d72c4cae356c4dcbdd531d13913cea7 Author: Guillem Jover Date: Wed Oct 8 15:30:01 2014 +0200 scripts/t: Use nocheck instead of notest in build profile tests The name for the equivalent DEB_BUILD_OPTIONS value is nocheck, so avoid possible confusion and spreading through cargo-culting. scripts/t/Dpkg_Deps.t | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) commit e16a76d241f0c69e96bcfdc96b360cc7c82a9f48 Author: Guillem Jover Date: Sat Oct 11 05:45:24 2014 +0200 dpkg-buildpackage: Add support for host and target long flags These are passed through to dpkg-architecture if specified. This restores the ability to specify the target architecture when building cross-compilers. Regression introduced in commit f29ed62d0c340869752c61d55a2df74159c31625. Reported-by: Helmut Grohne debian/changelog | 5 +++++ man/dpkg-buildpackage.1 | 17 +++++++++++++---- scripts/dpkg-buildpackage.pl | 43 +++++++++++++++++++++++++++++++++---------- 3 files changed, 51 insertions(+), 14 deletions(-) commit b91283794a8ef658968cf555ca3b9a274ace46cd Author: Guillem Jover Date: Sat Oct 11 05:29:01 2014 +0200 dpkg-architecture: Add long command and option names for all short options debian/changelog | 1 + man/dpkg-architecture.1 | 62 +++++++++++++------------ scripts/dpkg-architecture.pl | 105 ++++++++++++++++++++++--------------------- 3 files changed, 89 insertions(+), 79 deletions(-) commit a8e036317bc203372949315519ed9474fb504a16 Author: Guillem Jover Date: Fri Oct 10 14:48:40 2014 +0200 dpkg-architecture: Normalize ARGV parsing This allows to accept «-ovalue», «-o value», «--option=value» and «--option value», which are the common option formats people expect. debian/changelog | 2 ++ scripts/dpkg-architecture.pl | 67 ++++++++++++++++++++++++-------------------- 2 files changed, 38 insertions(+), 31 deletions(-) commit 0a2a1af94495be0b8204f827abc09e20a11dd447 Author: Guillem Jover Date: Sat Oct 11 17:40:36 2014 +0200 dpkg-architecture: Use || instead of conditional to assign _ARCH variables scripts/dpkg-architecture.pl | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) commit 8509ed25cc643a93bfc8beaecfe2f4de7d584f9a Author: Guillem Jover Date: Sat Oct 11 17:28:28 2014 +0200 dpkg-architecture: Initialize DEB_TARGET_ARCH variable w/o DEB_HOST_ARCH Because the code did not state that the DEB_TARGET_ARCH requires the DEB_HOST_ARCH variable to be set, it was getting undefined values. Just initialize to the host value w/o assuming it has already been set. debian/changelog | 2 ++ scripts/dpkg-architecture.pl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 6f1097093f9a0db8b0cebf77a567e222a854c86c Author: Guillem Jover Date: Fri Oct 10 05:38:01 2014 +0200 Dpkg::Getopt: New private module debian/changelog | 1 + scripts/Dpkg/Getopt.pm | 43 +++++++++++++++++++++++++++++++++++++++++++ scripts/Makefile.am | 2 ++ scripts/po/POTFILES.in | 1 + scripts/t/Dpkg_Getopt.t | 37 +++++++++++++++++++++++++++++++++++++ 5 files changed, 84 insertions(+) commit e68f081acd9f1c210d3464b0a5e2c732e1b5c025 Author: Guillem Jover Date: Mon Oct 6 19:28:23 2014 +0200 scripts/mk: Set DEB_TARGET_ variables from architecture.mk Missed in commit f29ed62d0c340869752c61d55a2df74159c31625. debian/changelog | 2 ++ scripts/mk/architecture.mk | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 218d22c82fd2ec6d865fcbc1442873726f9b22d2 Author: Johannes Schauer Marin Rodrigues Date: Fri Oct 10 17:55:54 2014 +0200 Dpkg::BuildProfiles: Allow multiple whitespace in get_build_profiles() This makes the DEB_BUILD_PROFILES environment variable parsing more lax. Signed-off-by: Guillem Jover debian/changelog | 4 ++++ scripts/Dpkg/BuildProfiles.pm | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 51c55641fb6c66e149ea93c344cb788c68978c75 Author: Jérémy Bobbio Date: Fri Oct 10 17:15:13 2014 +0200 dpkg-shlibdeps: Initialize with correct minimum version from a symbols file When initializing the minimum version for a dependency, we have to use the greater one from any SONAME present in that symbols file, because the shared libraries might not have been available before that version for example. This also guarantees a reproducible output, as the minimum version selected is not dependant on the hash order. Closes: #764721 [guillem@debian.org: - Reword debugging message. ] Signed-off-by: Guillem Jover debian/changelog | 3 +++ scripts/dpkg-shlibdeps.pl | 10 +++------- 2 files changed, 6 insertions(+), 7 deletions(-) commit f7dec25b625c5a917633329867f08c5378cadd78 Author: Guillem Jover Date: Mon Oct 6 16:44:11 2014 +0200 dpkg-genchanges: Add missing Dpkg::BuildProfiles imports Regression introduced in commit 61e228eb7b68b85529dc8e9c9c49ef7f51a797bb. Closes: #764216 Reported-by: Johannes Schauer debian/changelog | 3 +++ scripts/dpkg-genchanges.pl | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) commit 216c509b1daee0e2a9e0e095c5e862cf16e181c0 Author: Guillem Jover Date: Fri Oct 10 13:54:16 2014 +0200 dpkg: Do not write the database when changing selections with --dry-run Closes: #764673 debian/changelog | 2 ++ src/select.c | 17 +++++++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) commit 35c1c59cfad75d75b3d98974ad201f95d932adb6 Author: Guillem Jover Date: Sun May 27 19:43:55 2012 +0200 dpkg: Defer trigger processing if the packages do not fulfill dependencies The spec specified this behavior, but the code never abided by it. Change it now that most of the packages with trigger cycles have been switched to noawaiting triggers. The rest will make dpkg bail out on upgrade. We might need to add appropriate versioned Breaks before the Debian release to get a smoother distribution upgrade. Closes: #671711 debian/changelog | 2 ++ src/trigproc.c | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) commit 02405cbb877a14ad8441e1a312cb56720f20df47 Author: Guillem Jover Date: Fri Oct 10 19:43:08 2014 +0200 dselect: Mark for translation and improve sthfailed() strings debian/changelog | 1 + dselect/method.cc | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) commit 6669f360063b59bd0e4e70895947f6f370bcc3fc Author: Guillem Jover Date: Fri Oct 10 19:41:50 2014 +0200 dpkg: Mark for translation and unify "rm cleanup" string Use an already existing string to avoid introducing a new string for translation. debian/changelog | 1 + src/help.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit ae3faa43f7f425e8c4ce72bc3beef3c9e8703ae4 Author: Guillem Jover Date: Fri Oct 10 16:50:36 2014 +0200 doc, scripts: Fix typos in comments ChangeLog.old | 2 +- debian/changelog | 1 + scripts/dpkg-shlibdeps.pl | 10 +++++----- scripts/t/merge_changelogs/ch-b | 2 +- scripts/t/merge_changelogs/ch-merged | 2 +- scripts/t/merge_changelogs/ch-merged-basic | 2 +- scripts/t/merge_changelogs/ch-merged-pr | 2 +- scripts/t/merge_changelogs/ch-merged-pr-basic | 2 +- 8 files changed, 12 insertions(+), 11 deletions(-) commit 57dfc48c6cf40c0982eaabfc7a3c02b94f139221 Author: Guillem Jover Date: Sat Oct 11 20:13:33 2014 +0200 po: Sort POTFILES This makes it easier to see if files are missing. scripts/po/POTFILES.in | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 7754e5f1dae24fad85171f2391dc82f4235fbfe1 Author: Guillem Jover Date: Sat Oct 11 20:11:39 2014 +0200 po: Add missing perl programs and modules to POTFILES debian/changelog | 4 ++++ scripts/po/POTFILES.in | 3 +++ 2 files changed, 7 insertions(+) commit 6f5610cc0eedbf0895de46130dffb96f77f7d367 Author: Trần Ngọc Quân Date: Mon Oct 6 09:16:43 2014 +0700 po: Update Vietnamese program translations - Update 2 new strings. - Change meaning of stat. Signed-off-by: Trần Ngọc Quân Signed-off-by: Guillem Jover debian/changelog | 1 + po/vi.po | 101 ++++++++++++++----------------------------------------- 2 files changed, 27 insertions(+), 75 deletions(-) commit bc87a5df2f538281b82c31eea3cbcb08df5d893f Author: Helge Kreutzmann Date: Wed Oct 8 20:47:04 2014 +0200 Update German scripts translation Update to 545t1f1u. scripts/po/de.po | 34 ++++++++++++++-------------------- 1 file changed, 14 insertions(+), 20 deletions(-) commit 55fe060f5c23ec489a95545eebfc32d25fe52b6c Author: Helge Kreutzmann Date: Mon Oct 6 21:17:12 2014 +0200 Update German scripts translation Update to 543t1f1u. debian/changelog | 3 ++ scripts/po/de.po | 85 +++++++++++++++++++------------------------------------- 2 files changed, 31 insertions(+), 57 deletions(-) commit 72993d7142f9b9feb72ceffd3ed2bc2a1d7890ac Author: Sven Joachim Date: Mon Oct 6 18:30:44 2014 +0200 German dpkg translation update Update to 1083t3u. debian/changelog | 3 ++- po/de.po | 63 +++++++------------------------------------------------- 2 files changed, 9 insertions(+), 57 deletions(-) commit 37dd6556a214c2cf0dc5f5069835fbe62d2e73ff Author: Guillem Jover Date: Mon Oct 6 13:47:14 2014 +0200 Bump version to 1.17.17 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit d344b6cf462f4b90a6bd2c5d777453fb3f68272e Author: Guillem Jover Date: Mon Oct 6 13:29:24 2014 +0200 Release 1.17.16 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0ccf9ad2298cf426c1a3fc741497d483b056e04c Author: Guillem Jover Date: Mon Oct 6 13:10:19 2014 +0200 libdpkg: Set umask to 0 when creating symlinks in test suite to normalize results POSIX specifies that symlinks have undefined permissions in their mode, so their setting is system dependent. Linux does not honor the umask for symlinks, other systems like Hurd or kFreeBSD do, which means we get different results due to this. Regression introduced in commit f71e02c8e913884bfbf9d97b58ded4591b823cdb. Closes: #764171 debian/changelog | 5 +++++ lib/dpkg/test/t-tar.t | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) commit 09b0ee85aea1767a3f980be4fe7d77eabef6f549 Author: Guillem Jover Date: Mon Oct 6 13:04:21 2014 +0200 Dpkg::Source::Patch: Switch remaining topic to named variable in analyze() The loop in the function was expecting $line to be filled by its last part, and by working on the topic variable it was not getting updated. Switch all topic variable usages in that funtion so that we can restore working source unpacking. Regression introduced in commmit 0d5e17af7391fb0d3a3c695dac40f8df41f8b11c. Closes: #764206 Addresses BuiltinFunctions::ProhibitUselessTopic. Warned-by: perlcritic debian/changelog | 3 +++ scripts/Dpkg/Source/Patch.pm | 16 ++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) commit 9f5611d93395b216a0de8ec1af5726ac0ddd0924 Author: Guillem Jover Date: Mon Oct 6 03:42:44 2014 +0200 man: Set the copyright holder for the original code This is similar to commit a17d469cc3d5ccca9daa84f98fed3cc8e51e656d, but this was just never assigned a proper copyright holder so it defaulted to the FSF, which is not correct. configure.ac | 1 + debian/changelog | 2 +- man/Makefile.am | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) commit 5ed1d7ef8a526511e613c77363fc9da756039000 Author: Guillem Jover Date: Mon Oct 6 03:42:06 2014 +0200 po: Use the same name as the Maintainer field for the copyright holder dselect/po/Makevars | 2 +- po/Makevars | 2 +- scripts/po/Makevars | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 36eda4c1bc6bd1fb4797a1cde25e8595949c29fd Author: Guillem Jover Date: Mon Oct 6 03:37:28 2014 +0200 Bump version to 1.17.16 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 3bdb2496c6b7fdb7766d3a056d7815ba545ff247 Author: Guillem Jover Date: Mon Oct 6 03:22:03 2014 +0200 Release 1.17.15 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 50d95392fb8efc3f4691535350a6908838ad5a78 Author: Guillem Jover Date: Mon Oct 6 03:18:04 2014 +0200 libdpkg: Set umask to the expected value of 0022 in tar test case There's no guarantee the build system will have the same umask as any other system. Make sure to set it to what we expect. debian/changelog | 2 ++ lib/dpkg/test/t-tar.t | 3 +++ 2 files changed, 5 insertions(+) commit 36f8d0019d9fbe3b2ce23a341887ebe33c94ca88 Author: Aurelien Jarno Date: Wed Oct 1 16:58:18 2014 +0200 dpkg-buildflags: Do not blacklist pie and stackprotector on mips/mipsel pie is blacklisted on mips and mipsel, according to the comments due to #526961. This bug has been fixed more than 4 years ago, it's time to reactivate pie support. Similarly strack-protector support has been added on mips and mipsel in gcc 4.6 so we can now activate it too. Closes: #763672 Signed-off-by: Aurelien Jarno Signed-off-by: Guillem Jover debian/changelog | 3 ++- scripts/Dpkg/Vendor/Debian.pm | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) commit 2a250d64021800e6f2f58c87dbdc014fc10dcdb6 Author: Guillem Jover Date: Mon Oct 6 02:43:57 2014 +0200 Bump version to 1.17.15 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 0a8c971b020eded716a196a9a5d1cf083d42e882 Author: Guillem Jover Date: Mon Oct 6 00:11:48 2014 +0200 Release 1.17.14 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1951e200bc4f65c584616f0a1f1e0c1f87d38ccc Author: Guillem Jover Date: Mon Oct 6 00:57:37 2014 +0200 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 | 6 +- 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/de.po | 1944 +++++++++++++++++++++++++++++----------------- man/po/dpkg-man.pot | 1566 ++++++++++++++++++++++--------------- man/po/es.po | 1896 ++++++++++++++++++++++++++++----------------- man/po/fr.po | 1954 +++++++++++++++++++++++++++++----------------- man/po/hu.po | 1649 +++++++++++++++++++++++---------------- man/po/it.po | 1811 +++++++++++++++++++++++++++---------------- man/po/ja.po | 1891 ++++++++++++++++++++++++++++----------------- man/po/pl.po | 1895 ++++++++++++++++++++++++++++----------------- man/po/pt_BR.po | 1647 +++++++++++++++++++++++---------------- man/po/ru.po | 1650 +++++++++++++++++++++++---------------- man/po/sv.po | 1955 ++++++++++++++++++++++++++++++----------------- po/ast.po | 636 ++++++++------- po/bs.po | 620 ++++++++------- po/ca.po | 691 +++++++++-------- po/cs.po | 688 +++++++++-------- po/da.po | 686 +++++++++-------- po/de.po | 684 +++++++++-------- po/dpkg.pot | 624 ++++++++------- po/dz.po | 635 ++++++++------- po/el.po | 635 ++++++++------- po/eo.po | 650 ++++++++-------- po/es.po | 652 ++++++++-------- po/et.po | 631 ++++++++------- po/eu.po | 636 ++++++++------- po/fr.po | 688 +++++++++-------- po/gl.po | 635 ++++++++------- po/hu.po | 630 ++++++++------- po/id.po | 634 ++++++++------- po/it.po | 688 +++++++++-------- po/ja.po | 648 ++++++++-------- po/km.po | 628 ++++++++------- po/ko.po | 634 ++++++++------- po/ku.po | 624 ++++++++------- po/lt.po | 632 ++++++++------- po/mr.po | 628 ++++++++------- po/nb.po | 636 ++++++++------- po/ne.po | 633 ++++++++------- po/nl.po | 635 ++++++++------- po/nn.po | 747 +++++++++--------- po/pa.po | 624 ++++++++------- po/pl.po | 688 +++++++++-------- po/pt.po | 686 +++++++++-------- po/pt_BR.po | 635 ++++++++------- po/ro.po | 636 ++++++++------- po/ru.po | 686 +++++++++-------- po/sk.po | 652 ++++++++-------- po/sv.po | 688 +++++++++-------- po/th.po | 646 ++++++++-------- po/tl.po | 763 +++++++++--------- po/tr.po | 688 +++++++++-------- po/vi.po | 686 +++++++++-------- po/zh_CN.po | 632 ++++++++------- po/zh_TW.po | 648 ++++++++-------- scripts/po/ca.po | 660 ++++++++-------- scripts/po/de.po | 738 ++++++++++-------- scripts/po/dpkg-dev.pot | 650 ++++++++-------- scripts/po/es.po | 749 +++++++++--------- scripts/po/fr.po | 754 +++++++++--------- scripts/po/pl.po | 729 ++++++++++-------- scripts/po/ru.po | 736 +++++++++--------- scripts/po/sv.po | 730 ++++++++++-------- 92 files changed, 29573 insertions(+), 23643 deletions(-) commit f71e02c8e913884bfbf9d97b58ded4591b823cdb Author: Guillem Jover Date: Wed Oct 1 05:02:43 2014 +0200 libdpkg: Add new tar extractor test cases Test the different supported tar formats, and verify that we can parse them correctly. debian/changelog | 1 + lib/dpkg/test/.gitignore | 2 + lib/dpkg/test/Makefile.am | 22 ++++++- lib/dpkg/test/t-tar.t | 141 +++++++++++++++++++++++++++++++++++++++++++ lib/dpkg/test/t-tarextract.c | 125 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 288 insertions(+), 3 deletions(-) commit b59b7403a713f5f28ad16b61183197e4fba9a588 Author: Guillem Jover Date: Wed Oct 1 05:00:46 2014 +0200 libdpkg: Record user and group name in tar_entry This will allow tar extractors to get to that information too. lib/dpkg/tarfn.c | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) commit bc684d1e438855f3232f6bc73209e74e7f2589a7 Author: Guillem Jover Date: Wed Oct 1 05:00:46 2014 +0200 libdpkg: Make the uname and gname file_stat members non-const We need to allocate and free them. lib/dpkg/file.h | 4 ++-- src/statcmd.c | 4 ++-- src/statdb.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 67e532374a9562da5d94140b8a28a217d0372706 Author: Guillem Jover Date: Wed Oct 1 05:00:46 2014 +0200 libdpkg: Refactor tar_entry copying into tar_entry_copy() lib/dpkg/tarfn.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 4c406e07d26018896902d475b8a1c0e9f6474efc Author: Guillem Jover Date: Sun Sep 28 20:31:50 2014 +0200 libdpkg: Consider a hardlink tar entry as a regular file for mode values The hardlink gets converted into a regular file on extract, so use the same mode as a regular file would have instead of 0. debian/changelog | 2 ++ lib/dpkg/tarfn.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit a8c984c339753c07c41022588ebcd8a2c0af3aa1 Author: Guillem Jover Date: Sat Sep 27 04:54:42 2014 +0200 dpkg: Document optional -C argument in --help output Closes: #763000 debian/changelog | 1 + src/main.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 3eab05ef9de9959c0e67f23d020ed1fa06b16d49 Author: Guillem Jover Date: Fri Sep 26 05:45:25 2014 +0200 dpkg: Double the filesdb hash table size to the closest 2^18 prime Times have changed, and it's common to have at least these many files. This reduces the amount of collisions. Eventually we should switch to dynamically growing hash tables. debian/changelog | 3 +++ src/filesdb.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 67c4ac7e7a9c8a8c20d0796b5a58e8f4797c3d7b Author: Guillem Jover Date: Fri Sep 26 05:43:56 2014 +0200 dpkg: Switch the filesdb module to use the FNV hash function Use it instead of what seems to be a custom hash function. This seems to reduce dispersion somewhat. As a side effect this fixes an integer overflow. Addresses: #760741 Warned-by: ASan Reported-by: Bálint Réczey debian/changelog | 3 +++ src/filesdb.c | 15 +++++---------- 2 files changed, 8 insertions(+), 10 deletions(-) commit c8cd4cc0c17b43fec77595324f64e22dcc15f3e1 Author: Guillem Jover Date: Sat Sep 27 21:19:13 2014 +0200 libdpkg: Switch to the recommended FNV-1a variant This should give better dispersion. And the function is way way less complex than the possible future MurmurHash3 or xxHash candidates. debian/changelog | 2 ++ lib/dpkg/strhash.c | 4 ++-- lib/dpkg/test/t-string.c | 34 +++++++++++++++++----------------- 3 files changed, 21 insertions(+), 19 deletions(-) commit c342c6d0bb9c418743bdb27e2ec0e1601033f02b Author: Guillem Jover Date: Fri Sep 26 05:42:13 2014 +0200 libdpkg: Move the FNV hash function into a new strhash module This will allow using the hash function in other parts of the code. The additional changes are: - Fix an incorrect value in a comment. - Uppercase preprocessor macros. - Add unit tests. debian/changelog | 1 + lib/dpkg/Makefile.am | 1 + lib/dpkg/libdpkg.map | 1 + lib/dpkg/pkg-db.c | 23 +++------------------- lib/dpkg/strhash.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++ lib/dpkg/string.h | 2 ++ lib/dpkg/test/t-string.c | 27 +++++++++++++++++++++++++- 7 files changed, 84 insertions(+), 21 deletions(-) commit a8b3ff906c1d01082c435ede40f6241529c9e409 Author: Guillem Jover Date: Fri Sep 26 05:42:13 2014 +0200 libdpkg: Add missing to dpkg/string.h needed for size_t and NULL This makes the header stand alone. lib/dpkg/string.h | 1 + 1 file changed, 1 insertion(+) commit 9b9acf81bac908889d0db3631c53277329bafb80 Author: Guillem Jover Date: Fri Sep 26 01:21:56 2014 +0200 libdpkg: Fix off-by-one error in command argv size calculation We need a ghost byte for the terminating NUL character, so add it up to the requested needed bytes. Closes: #760690 Warned-by: valgrind Based-on-patch-by: Bálint Réczey debian/changelog | 2 ++ lib/dpkg/command.c | 3 +++ 2 files changed, 5 insertions(+) commit 183fcc5b4cbe9ca1d89011ef4b37cee1e2c8c856 Author: Guillem Jover Date: Thu Sep 25 21:05:08 2014 +0200 dpkg: Do not print pointers in debug output messages This does not give any meaningful information, besides the pointers being equal or different. Print an actual file or package name instead. debian/changelog | 2 ++ src/help.c | 4 ++-- src/trigproc.c | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) commit 8f3c317bf1b565b50e30b493f9c769ae1ad51c31 Author: Guillem Jover Date: Thu Oct 2 06:56:22 2014 +0200 dpkg-source: Rework command parsing and add --build and --extract aliases This uses the long command names w/o the -- to select the actions to take, rewords some usage error messages to be more generic and maintainable (by not listing each command supported), and add the long aliases for the most common commands. debian/changelog | 1 + man/dpkg-source.1 | 26 ++++++++++-------- scripts/dpkg-source.pl | 73 +++++++++++++++++++++++++++----------------------- 3 files changed, 55 insertions(+), 45 deletions(-) commit f88c908b5f058d592d87f89b58d9c0b7f34d8194 Author: Guillem Jover Date: Tue Sep 30 23:47:40 2014 +0200 scripts: Unpack arguments just once Addresses Subroutines::RequireArgUnpacking. Warned-by: perlcritic scripts/Dpkg/Changelog.pm | 3 +-- scripts/Dpkg/Compression/Process.pm | 10 ++++++---- scripts/Dpkg/Deps.pm | 4 ++-- scripts/Dpkg/IPC.pm | 6 ++++-- scripts/Dpkg/Shlibs/Symbol.pm | 10 +++------- scripts/Dpkg/Shlibs/SymbolFile.pm | 3 +-- 6 files changed, 17 insertions(+), 19 deletions(-) commit 4502f420bd22eab1634d5a9c710c79d58e13e76e Author: Guillem Jover Date: Tue Sep 30 21:25:40 2014 +0200 scripts: Unpack arguments instead of accessing @_ directly Addresses Subroutines::RequireArgUnpacking. Warned-by: perlcritic scripts/Dpkg/Compression.pm | 4 +++- scripts/Dpkg/Control/FieldsCore.pm | 9 ++++++--- scripts/Dpkg/Gettext.pm | 7 ++++--- scripts/Dpkg/Shlibs/Symbol.pm | 28 +++++++++++++++++++++------- scripts/Dpkg/Source/Package.pm | 5 ++--- scripts/Dpkg/Source/Package/V3/Quilt.pm | 8 +++++--- scripts/Dpkg/Version.pm | 4 +++- scripts/dpkg-mergechangelogs.pl | 6 ++++-- scripts/dpkg-source.pl | 4 +++- 9 files changed, 51 insertions(+), 24 deletions(-) commit 386e46306f1f6dbb84296f9be1379de10b1cc535 Author: Guillem Jover Date: Thu Sep 25 18:42:49 2014 +0200 scripts/t: Make sure temporary files are always cleaned up If the test suite is interrupted or it fails in the middle, the temporary files will not be unlinked. Switch to use the native File::Temp support for removal. debian/changelog | 2 ++ scripts/t/Dpkg_IPC.t | 7 ++----- scripts/t/merge_changelogs.t | 9 ++++----- 3 files changed, 8 insertions(+), 10 deletions(-) commit 49a77f01c54c422637dfdec6bf8a6d3203debc38 Author: Guillem Jover Date: Thu Sep 25 01:47:11 2014 +0200 dpkg-architecture: Say arch-wildcard instead of arch-alias in --help output The latter is an old name for the architecture wildcards. debian/changelog | 1 + scripts/dpkg-architecture.pl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 1987e8e3e18537aae6d259aca16f78a69b576527 Author: Guillem Jover Date: Thu Sep 25 01:44:32 2014 +0200 dpkg-architecture: Add architecture restriction options for -L This allows to select specific subsets of all valid known architectures, matching by wildcard (-W), endianness (-E) or bits (-B). The restricting options can be combined, or omitted altogether. Closes: #762635 debian/changelog | 4 ++++ man/dpkg-architecture.1 | 14 ++++++++++++++ scripts/dpkg-architecture.pl | 22 ++++++++++++++++++++-- 3 files changed, 38 insertions(+), 2 deletions(-) commit ac00888ad6b66c913e99718816730c942056feef Author: Guillem Jover Date: Thu Sep 25 01:32:08 2014 +0200 dpkg-architecture: Move -L actual code close to the other commands We can do this now that the variables initialized are performed on demand, so that we can request no variables at all. This makes the code more consistent on when to act on the given commands. scripts/dpkg-architecture.pl | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) commit 175ba3203008090ff7206ee15598923d101439d9 Author: Guillem Jover Date: Wed Sep 24 14:40:15 2014 +0200 dpkg-scanpackages: Add a new --hash option to enable specific file checksums This allows to restrict the file checksums generated to the specified comma-separated list. Requested-by: Thorsten Glaser debian/changelog | 2 ++ man/dpkg-scanpackages.1 | 7 ++++++- scripts/dpkg-scanpackages.pl | 12 ++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) commit e301741dc2464654c04798c5c09ebaaa5fbbd1e6 Author: Guillem Jover Date: Tue Sep 23 16:39:27 2014 +0200 dpkg-buildpackage: Do not pipe the files to sign to GnuPG When GnuPG uses the gpg-agent it is unable to detect the correct tty configuration if stdin is a pipe instead of the current terminal. Copy the file to sign to a temporary directory and append to it a newline, and pass that as an actual command-line argument. Closes: #762391 debian/changelog | 3 +++ scripts/dpkg-buildpackage.pl | 28 ++++++++++++++++++---------- 2 files changed, 21 insertions(+), 10 deletions(-) commit 8a54695dd467a25eac3d1df5f1aea7bdf73be7c2 Author: Guillem Jover Date: Sat Sep 20 09:55:49 2014 +0200 dpkg-deb: Remove arbitrary filename limit The limit was lifted when the code switched from a constant sized string to a dynamic one via varbuf. debian/changelog | 2 ++ dpkg-deb/build.c | 2 -- dpkg-deb/dpkg-deb.h | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) commit e9a73826b1a310ac34d2cfc1ab278e0f930f5dc6 Author: Guillem Jover Date: Sat Sep 20 02:14:09 2014 +0200 dpkg: Use varbuf_end_str() instead of varbuf_add_char() with explicit '\0' src/infodb-access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a1920c132369534dd18157dafa4758c44d555ddd Author: Guillem Jover Date: Sat Sep 20 02:05:19 2014 +0200 dpkg: Never try to remove the root directory or its backups It should never have backups around, and we should never try to remove it as it can never be removed anyway. This also causes problems with setups where the root directory is read-only with a read-write overlay or a symlink farm. Requested-by: sepero111@gmx.com debian/changelog | 3 +++ src/remove.c | 24 ++++++++++++++---------- src/unpack.c | 8 ++++++++ 3 files changed, 25 insertions(+), 10 deletions(-) commit f524ee7c6d1d95fa83f263eee126bae27b148782 Author: Guillem Jover Date: Mon Sep 15 16:04:56 2014 +0200 dpkg: Normalize instdir by removing trailing '/' and '/.' This gets rid of several inconsistencies and doubled «/» in syscalls and output messages. debian/changelog | 3 +++ src/archives.c | 14 +++----------- src/configure.c | 2 -- src/main.c | 19 ++++++++++++++++--- src/unpack.c | 1 - 5 files changed, 22 insertions(+), 17 deletions(-) commit d2efd3e2702487f4f60ff8fc00f7a67ce42d0169 Author: Guillem Jover Date: Sat Sep 20 02:03:35 2014 +0200 dpkg: Use an intermediate variable for namenodetouse() return value src/unpack.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 98956c26a2d8039b8ec66231910fc9418329c09b Author: Johannes Schauer Marin Rodrigues Date: Tue Aug 19 07:57:03 2014 +0200 scripts: Update restriction formula syntax - The restriction list parsing now reflects the changes at which were agreed upon in the bootstrap sprint 2014 in Paris. - Restriction lists are now restriction formulas. - Restriction formulas are given in disjunctive normal form expression: pkg - Removal of the implicit prefix/namespace mechanic. - Since there can be more than one <> block, the regex in parse_string() in Dpkg::Deps is now greedy. - Construct the profiles entry of the Packages-List field by converting the " " syntax into "bar,baz+blub". - Include a temporary compatibility mapping for the old way to write the Build-Profiles field in binary packages which can be removed once all affected source packages have moved to the new syntax. - Adjust testcases. Closes: #760158 [guillem@debian.org: - Add a warning when using the old syntax in dpkg-source. - Move comments before the regexes, not besides them in dpkg-source. - Change from an xnor to == in evaluate_restriction_formula(). - Move the Dpkg::Util import close to the other Dpkg imports. - Add test cases for the new parse_build_profiles() behavior. ] Signed-off-by: Guillem Jover debian/changelog | 11 ++++++++++ man/deb-src-control.5 | 17 ++++++++------ man/dpkg-buildpackage.1 | 14 ++++++------ man/dpkg-checkbuilddeps.1 | 7 +++--- scripts/Dpkg/BuildProfiles.pm | 49 +++++++++++++++++++++-------------------- scripts/Dpkg/Deps.pm | 13 ++++++----- scripts/dpkg-source.pl | 27 +++++++++++++++++++++-- scripts/t/Dpkg_BuildProfiles.t | 25 +++++++++++++++++---- scripts/t/Dpkg_Deps.t | 50 ++++++++++++++++++++++++------------------ 9 files changed, 139 insertions(+), 74 deletions(-) commit 61e228eb7b68b85529dc8e9c9c49ef7f51a797bb Author: Guillem Jover Date: Tue Aug 19 07:57:03 2014 +0200 dpkg-genchanges: Handle omitted packages due to build profiles Properly handle the absence of packages in DEBIAN/control depending on build profiles, so that we do not emit bogus warnings anymore. Closes: #758191 Based-on-patch-by: Johannes Schauer Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/Dpkg/BuildProfiles.pm | 42 +++++++++++++++++++++++++++++++++++++++++- scripts/Dpkg/Deps.pm | 31 ++----------------------------- scripts/dpkg-genchanges.pl | 12 ++++++++++-- 4 files changed, 55 insertions(+), 32 deletions(-) commit 1eb338d799a3887f82a5181bfc667ba6c6892364 Author: Guillem Jover Date: Thu Oct 2 00:51:49 2014 +0200 Dpkg::BuildProfiles: Add new parse_build_profile() Use it everywhere instead of inline code. scripts/Dpkg/BuildProfiles.pm | 14 +++++++++++++- scripts/Dpkg/Deps.pm | 3 ++- scripts/t/Dpkg_BuildProfiles.t | 9 +++++++-- 3 files changed, 22 insertions(+), 4 deletions(-) commit 13ae3fa02e85ec76cafad83e033365f43e6debe7 Author: Guillem Jover Date: Fri Sep 12 14:14:51 2014 +0200 Dpkg::Source::Package: Use a simple string match instead of a regex Addresses RegularExpressions::ProhibitFixedStringMatches. Warned-by: perlcritic scripts/Dpkg/Source/Package/V1.pm | 6 +++--- scripts/Dpkg/Source/Package/V2.pm | 24 ++++++++++++------------ scripts/Dpkg/Source/Package/V3/Quilt.pm | 4 ++-- 3 files changed, 17 insertions(+), 17 deletions(-) commit 24df99399ba5b63dc354ff49ea8622a8ca1cd17d Author: Guillem Jover Date: Fri Sep 12 06:08:37 2014 +0200 perl: Use length instead of /^$/ to test for an empty string Addresses RegularExpressions::ProhibitFixedStringMatches. Warned-by: perlcritic dselect/methods/ftp/install | 4 ++-- scripts/Dpkg/Conf.pm | 3 ++- scripts/Dpkg/Control/HashCore.pm | 6 +++--- scripts/Dpkg/Source/Package/V2.pm | 2 +- scripts/Dpkg/Source/Patch.pm | 12 ++++++++---- 5 files changed, 16 insertions(+), 11 deletions(-) commit e7ec307653c124fa6c2a68385beddbd2f3a4f091 Author: Guillem Jover Date: Thu Sep 11 23:47:52 2014 +0200 Dpkg::Arch: Map i786 to i386 for the multiarch pathname Missed in commit 7386defdaebf4746dc074a118bf7430cecf7a57f. debian/changelog | 1 + scripts/Dpkg/Arch.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 52230e6fe98fdd1b2de2651e95d4f7afb74c7fed Author: Guillem Jover Date: Thu Sep 11 20:55:36 2014 +0200 Dpkg::Source::Package::V2: Rename %origtar to %addonfile Make it clear that these are the addon tarballs. scripts/Dpkg/Source/Package/V2.pm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 6821616fc62734abc60ab98ae7bc6b37db772457 Author: Guillem Jover Date: Thu Oct 2 06:03:00 2014 +0200 libdpkg: Add new SUBPROC_RETSIGNO to return the signal number This will allow to replace some ad-hoc code in debsig-verify. lib/dpkg/subproc.c | 2 ++ lib/dpkg/subproc.h | 2 ++ 2 files changed, 4 insertions(+) commit b097b5cf5dd032ccc6bc946d837da5d2c5baad6f Author: Guillem Jover Date: Thu Oct 2 06:01:09 2014 +0200 libdpkg: Also return an error code for unhandled subprocess status lib/dpkg/subproc.c | 3 +++ 1 file changed, 3 insertions(+) commit b8a6ab4c5c88463bfe8ff1e13cddbf397c950c61 Author: Guillem Jover Date: Wed Oct 1 19:56:11 2014 +0200 libdpkg: Namespace and reword subproc flags dpkg-deb/extract.c | 2 +- dpkg-split/split.c | 2 +- dselect/method.cc | 2 +- lib/dpkg/file.c | 2 +- lib/dpkg/subproc.c | 14 +++++++------- lib/dpkg/subproc.h | 22 +++++++++++++++------- lib/dpkg/test/t-command.c | 2 +- lib/dpkg/test/t-subproc.c | 13 +++++++------ src/archives.c | 2 +- src/configure.c | 4 ++-- src/script.c | 2 +- src/unpack.c | 6 +++--- 12 files changed, 41 insertions(+), 32 deletions(-) commit cece29526d506b89b54cc80a6c400f9f58f36286 Author: Guillem Jover Date: Mon Apr 23 09:05:33 2012 +0200 libdpkg: Add new alias subproc_signals_restore() for pop_cleanup() This hides the fact that to restore the signals we are doing a pop_cleanup(). dselect/method.cc | 2 +- lib/dpkg/libdpkg.map | 1 + lib/dpkg/subproc.c | 6 ++++++ lib/dpkg/subproc.h | 1 + src/script.c | 4 ++-- 5 files changed, 11 insertions(+), 3 deletions(-) commit 054129e47776db138d367b16a3f1552426d1051d Author: Guillem Jover Date: Mon Apr 23 08:58:10 2012 +0200 libdpkg: Rename subproc_signals_setup() to subproc_signals_ignore() dselect/method.cc | 2 +- lib/dpkg/libdpkg.map | 2 +- lib/dpkg/subproc.c | 2 +- lib/dpkg/subproc.h | 2 +- src/script.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) commit b6fda271b84fef4b24c5876cebe17511a0890264 Author: Guillem Jover Date: Mon Apr 23 08:55:35 2012 +0200 libdpkg: Refactor setting and resetting a single signal into new functions lib/dpkg/subproc.c | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) commit 59427cc7a4b5289168a3b6a9598fe2c0eb6bf475 Author: Guillem Jover Date: Wed Sep 10 15:37:18 2014 +0200 libdpkg: Rename subproc_wait_check() to subproc_reap() dpkg-deb/build.c | 10 +++++----- dpkg-deb/extract.c | 8 ++++---- dpkg-deb/info.c | 2 +- dpkg-split/split.c | 2 +- dselect/method.cc | 2 +- lib/dpkg/compress.c | 2 +- lib/dpkg/file.c | 2 +- lib/dpkg/libdpkg.map | 2 +- lib/dpkg/subproc.c | 2 +- lib/dpkg/subproc.h | 2 +- lib/dpkg/test/t-command.c | 8 ++++---- lib/dpkg/test/t-subproc.c | 12 ++++++------ src/archives.c | 2 +- src/configure.c | 4 ++-- src/help.c | 2 +- src/script.c | 2 +- src/unpack.c | 8 ++++---- 17 files changed, 36 insertions(+), 36 deletions(-) commit f7be86add268ad27c99c86a55fb2ad12d2fc8da7 Author: Guillem Jover Date: Wed Sep 10 15:34:22 2014 +0200 libdpkg: Make subproc_wait() and subproc_check() private lib/dpkg/libdpkg.map | 2 -- lib/dpkg/subproc.c | 4 ++-- lib/dpkg/subproc.h | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) commit 398875d07d87fb65a4965ffbfe8b860f526a4ad8 Author: Guillem Jover Date: Wed Sep 10 15:31:41 2014 +0200 libdpkg, dpkg: Switch subproc_wait() calls to subproc_wait_check() Add a new PROCNOCHECK flag to disable the checks and to make both calls equivalent. lib/dpkg/file.c | 2 +- lib/dpkg/subproc.c | 9 +++++++-- lib/dpkg/subproc.h | 1 + src/configure.c | 4 ++-- src/unpack.c | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) commit 5c4fdbe903f5006eee3337a1b2c08c1cfe114191 Author: Guillem Jover Date: Wed Sep 10 12:56:16 2014 +0200 dpkg, dselect: Use subproc_wait_check() instead of ad-hoc code in call sites dselect/method.cc | 8 ++++---- src/unpack.c | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) commit a34bbbbc918c30a1f6bc403c62512d3c4afb3cbc Author: Guillem Jover Date: Wed Sep 10 12:28:42 2014 +0200 u-a(8): Fix prerm invocation arguments It is usually called in prerm's remove and deconfigure, not install. Closes: #761025 Reported-by: jre debian/changelog | 2 ++ man/update-alternatives.8 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 90c2e4c9e0231b15d4f93be120fcc01dd22ea82e Author: Guillem Jover Date: Sun Oct 5 01:48:52 2014 +0200 s-s-d: Do not fail when kvm_getprocs() cannot find any process Return NULL, and let the call sites return false themselves. This fixes the code failing on retries when the process has disappeared. debian/changelog | 2 ++ utils/start-stop-daemon.c | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) commit 8fbe533b5b335ca08c0478687ea30a9a96f3fc6a Author: Guillem Jover Date: Fri Oct 3 04:52:04 2014 +0200 s-s-d: On kFreeBSD do not make kvm_openfiles() open /dev/mem We do not need that file, as we are not using any kvm_read(3) call, either explicitly or implicitly. Everything is retrieved through sysctl(2). libkvm from FreeBSD allows to pass /dev/null as the memory file to denote that we do not need it. This will make s-s-d work again on jails which do not usually have /dev/mem available. Reported-by: Steven Chamberlain debian/changelog | 3 +++ utils/start-stop-daemon.c | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) commit c0817d3bcf59fa88c655c730a56285d52342aba4 Author: Guillem Jover Date: Tue May 6 07:22:50 2014 +0200 s-s-d: Refactor KVM code Create two new functions, ssd_kvm_open() and ssd_kvm_get_procs(). utils/start-stop-daemon.c | 83 +++++++++++++++++++++++++---------------------- 1 file changed, 44 insertions(+), 39 deletions(-) commit 8f686fbeb1d3bc5ed2f4b3f5a5f79d17ab61c868 Author: Christos Trochalakis Date: Thu Oct 2 17:00:31 2014 +0200 s-s-d: Do not abort on --stop when only pid or ppid options are specified When running with «--stop» and only pid or ppid as matching options, start-stop-daemon aborts with a "no match option" error. «pid» and «ppid» are proper matching options, so they should be enough to proceed. Missed in commits 80de58344cb38ab085ca2c7808f4f7b3be1d2422 and 3fabf94e0b5fe1bcdea26fecee1c87e74fab98b2. Closes: #763767 Signed-off-by: Guillem Jover debian/changelog | 2 ++ utils/start-stop-daemon.c | 4 ++++ 2 files changed, 6 insertions(+) commit e63048c680f151026237f2411e2bfebe2722f73d Author: Guillem Jover Date: Tue Sep 9 15:40:45 2014 +0200 s-s-d: Make sure the pidfile is always created with a 022 umask Although this got partially corrected with the fix for the background and pidfile creation bug, it still migth happen that the parent had a too restrictive umask. Closes: #760222 Reported-by: Will Conley debian/changelog | 2 ++ utils/start-stop-daemon.c | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) commit 29778da537e2ff1a0f032db33dde43413b7345ef Author: Guillem Jover Date: Tue Sep 9 15:14:51 2014 +0200 s-s-d: Do not exit from first parent before the pidfile has been created When using the --background option combined with --make-pidfile, the parent process might end up exiting before the child's pidfile has been created, which might confuse service supervising programs. Fix the race condition by making the first parent wait for the second one, so that it can safely create the pidfile if required. Closes: #686420 Based-on-patch-by: Nir Soffer debian/changelog | 3 +++ utils/start-stop-daemon.c | 58 +++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 56 insertions(+), 5 deletions(-) commit f27abd5a083c07bd367423f67cedf94b3d33b3f8 Author: Guillem Jover Date: Tue Sep 9 15:08:44 2014 +0200 s-s-d: Move write_pidfile() before daemonize() We'll be needing to call the former in the latter. utils/start-stop-daemon.c | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) commit 877057869d5ae7cc3a0c7911ab905275b41d1d09 Author: Guillem Jover Date: Tue Sep 9 14:47:39 2014 +0200 s-s-d: Abort if the system or compatibility setsid() fails This requires to check the setpgid() return value in the setsid() compatibility function. debian/changelog | 2 ++ utils/start-stop-daemon.c | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 1fab3f69a9c8991c3431a0cca3e49446f6a161e2 Author: Guillem Jover Date: Mon Sep 8 01:31:11 2014 +0200 arch: Remove lpia architecture support This architecture was a bad idea from the start, but was added regardless to make life for the Ubuntu people easier. This mistake will not be repeated again. Remove it to stop people thinking this might somehow set a precedent. Ref: debian/changelog | 1 + ostable | 1 - triplettable | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) commit b851df1817ebaf60a95ae6478824c0e732890fc0 Author: Guillem Jover Date: Fri Sep 5 22:02:28 2014 +0200 libdpkg: Fix error message from buffer_copy() read and write function The buffer_read() and buffer_write() function error codes should have higher precedence than a possible error from a truncated stream, otherwise we will get confusing or just wrong error messages. Regression introduced in commit ded3dfed77b7fd268914e19e8081b43c9233cc05. Closes: #759498 debian/changelog | 3 +++ lib/dpkg/buffer.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 8ac9b317f6fabdaf6c8fb723fe7063bb9f5414b5 Author: Paul Wise Date: Sat Sep 27 05:07:44 2014 +0200 Dpkg::Vendor::Debian: Add a timeless feature in the reproducible area This will add approproriate options to warn about __TIME__, __DATE__ and __TIMESTAMP__ macros. Closes: #762683 Signed-off-by: Guillem Jover debian/changelog | 2 ++ man/dpkg-buildflags.1 | 7 +++++++ scripts/Dpkg/Vendor/Debian.pm | 6 ++++++ 3 files changed, 15 insertions(+) commit 24ce14e24fd53887efcff43b66eaaf7ad1de7be4 Author: Paul Wise Date: Sat Sep 27 05:04:05 2014 +0200 Dpkg::Vendor::Debian: Add support for a reproducible feature area Signed-off-by: Guillem Jover debian/changelog | 2 ++ man/dpkg-buildflags.1 | 9 +++++++-- scripts/Dpkg/Vendor/Debian.pm | 17 +++++++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) commit 3885b21c26616dc79976f640769cf25be029ccf3 Author: Guillem Jover Date: Sat Sep 27 05:00:11 2014 +0200 Dpkg::Vendor::Debian: Fix comments wording scripts/Dpkg/Vendor/Debian.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 60652d3854e28e64e68dbd589036bfc67b0ce058 Author: Guillem Jover Date: Fri Sep 26 18:50:38 2014 +0200 dpkg-buildflags: Honor feature area settings from DEB_BUILD_OPTIONS This allows users to specify build flags from specific area features. These settings will be overridden by any subsequent settings from DEB_BUILD_MAINT_OPTIONS, in the same way other build flags are affected, so that the maintainer can disable specific things that might be broken. man/dpkg-buildflags.1 | 14 +++++++++----- scripts/Dpkg/Vendor/Debian.pm | 22 +++++++++++++++------- 2 files changed, 24 insertions(+), 12 deletions(-) commit 155d680222e349a2143f0d13e7addae23cf91a67 Author: Guillem Jover Date: Fri Sep 26 18:50:38 2014 +0200 scripts/mk: Pass DEB_BUILD_OPTIONS to dpkg-buildflags The build flags depend on options specified in DEB_BUILD_OPTIONS, otherwise things like noopt do not work. debian/changelog | 2 ++ scripts/mk/buildflags.mk | 1 + 2 files changed, 3 insertions(+) commit 794c651d0933099ee684e95d08d5d799ead1a04b Author: Guillem Jover Date: Fri Sep 26 18:13:42 2014 +0200 dpkg-buildflags: Reverse exit logic to check for errors Instead of defaulting to exiting with an error, and bailing out on successful operations, reverse the logic as there are fewer error exit codepaths. This also reduces code nesting. scripts/dpkg-buildflags.pl | 36 +++++++++++++----------------------- 1 file changed, 13 insertions(+), 23 deletions(-) commit 6775adf4af978a8fcd4fdafa955fff3970a047a0 Author: Guillem Jover Date: Fri Sep 26 17:30:58 2014 +0200 dpkg-buildflags: Fold list action handling with the other actions if block scripts/dpkg-buildflags.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit f60868c4dae719b10a391063c3ae93e5f82f1d38 Author: Guillem Jover Date: Sun Sep 7 01:24:45 2014 +0200 dpkg-buildflags: Add a canary feature to the qa feature area This can be used to test the propagation of build flags by checking the build logs for any omission. Closes: #628516 debian/changelog | 2 ++ man/dpkg-buildflags.1 | 9 +++++++++ scripts/Dpkg/Vendor/Debian.pm | 12 ++++++++++++ 3 files changed, 23 insertions(+) commit 1f0936a4bf4b56af2c18af27ee78a0842e0e002c Author: Guillem Jover Date: Fri Sep 5 13:45:09 2014 +0200 dpkg-buildflags: Add a bug feature to the qa feature area This feature will enable fatal warnings for code that can pose actual problems. Closes: #682659 debian/changelog | 2 ++ man/dpkg-buildflags.1 | 4 ++++ scripts/Dpkg/Vendor/Debian.pm | 10 ++++++++++ 3 files changed, 16 insertions(+) commit 14904c35f056e5bef24275f3af0d295ad6a529e5 Author: Guillem Jover Date: Fri Sep 5 13:45:09 2014 +0200 dpkg-buildflags: Add a new qa feature area This will allow to add various Quality Assurance features that can be used to avoid common errors. debian/changelog | 1 + man/dpkg-buildflags.1 | 11 ++++++++--- scripts/Dpkg/Vendor/Debian.pm | 17 +++++++++++++++++ 3 files changed, 26 insertions(+), 3 deletions(-) commit 94597f68a82e55f193e8313781bd55356363e388 Author: Guillem Jover Date: Fri Sep 5 13:45:09 2014 +0200 Dpkg::Vendor::Debian: Prefix add_hardening_flags with _ to mark as private scripts/Dpkg/Vendor/Debian.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f905ed36cb5dcb3506c04fd4b38f36446418993b Author: Guillem Jover Date: Fri Sep 5 13:41:57 2014 +0200 dpkg-buildflags(1): Move generic feature area details to the section top These are valid for any future feature area, so share the information to avoid having to repeat it on each subsection. debian/changelog | 1 + man/dpkg-buildflags.1 | 28 +++++++++++++++------------- 2 files changed, 16 insertions(+), 13 deletions(-) commit a92a3ac5056363e9c21c48187f6ff965481742f4 Author: Guillem Jover Date: Thu Sep 4 13:54:28 2014 +0200 dpkg-maintscript-helper: Add support for relative symlinks to symlink_to_dir Suggested-by: Don Armstrong debian/changelog | 2 ++ man/dpkg-maintscript-helper.1 | 5 +++-- scripts/dpkg-maintscript-helper.sh | 20 ++++++++++++++------ 3 files changed, 19 insertions(+), 8 deletions(-) commit bf46f08e0f1d5999a0c1518ffa9931651e95931f Author: Guillem Jover Date: Thu Sep 4 13:48:01 2014 +0200 Dpkg::Deps: Add new deps_iterate() function Closes: #759747 Based-on-patch-by: Dima Kogan debian/changelog | 2 ++ scripts/Dpkg/Deps.pm | 41 +++++++++++++++++++++++++++++++++++++++-- scripts/t/Dpkg_Deps.t | 19 ++++++++++++++++++- 3 files changed, 59 insertions(+), 3 deletions(-) commit 778367253dcba95e007a5024f6decbaeb974c665 Author: Guillem Jover Date: Mon Sep 1 17:14:58 2014 +0200 dpkg-maintscript-helper(1): Add a mention of packaging helpers support Mention that packaging helper might support dpkg-maintscript-helper natively, and add an explicit reference to dh_installdeb(1), debhelper being the most commonly used helper, w/o going into the actual details. Closes: #759754 debian/changelog | 3 +++ man/dpkg-maintscript-helper.1 | 11 ++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) commit 5cc36d8e80e38e8cb32d009695edce3cd1ae381a Author: Guillem Jover Date: Sat Aug 30 02:54:31 2014 +0200 Dpkg::Deps::KnownFacts: Add support for versioned Provides This got missed in commit 5bb02fe80e9f40dcad9703a72f67cf615ff217b5. debian/changelog | 2 ++ scripts/Dpkg/Deps.pm | 16 +++++++++++----- scripts/t/Dpkg_Deps.t | 35 ++++++++++++++++++++++++++++++++++- 3 files changed, 47 insertions(+), 6 deletions(-) commit dc8ea230f2a49f29bc22fcba6a5f22429e3f6c91 Author: Guillem Jover Date: Sat Aug 30 02:54:11 2014 +0200 Dpkg::Deps: Emit a warning when using the obsolete check_package() function debian/changelog | 1 + scripts/Dpkg/Deps.pm | 6 ++++++ 2 files changed, 7 insertions(+) commit fe60460326c3e37d21bdb031d063b84780c82eba Author: Guillem Jover Date: Sat Aug 30 02:31:29 2014 +0200 perl: Do not use the topic variable unnecessarily Fixes BuiltinFunctions::ProhibitUselessTopic and RegularExpressions::ProhibitUselessTopic. Warned-by: perlcritic scripts/Dpkg/Checksums.pm | 2 +- scripts/Dpkg/Control/HashCore.pm | 8 ++++---- scripts/Dpkg/Deps.pm | 2 +- scripts/Dpkg/Shlibs/Objdump.pm | 2 +- scripts/Dpkg/Shlibs/SymbolFile.pm | 4 ++-- scripts/Dpkg/Source/Package/V2.pm | 6 +++--- scripts/Dpkg/Source/Package/V3/Bzr.pm | 4 ++-- scripts/Dpkg/Source/Quilt.pm | 4 ++-- scripts/dpkg-buildpackage.pl | 2 +- scripts/dpkg-gensymbols.pl | 2 +- scripts/dpkg-scansources.pl | 2 +- scripts/dpkg-shlibdeps.pl | 4 ++-- test/critic.t | 2 ++ 13 files changed, 23 insertions(+), 21 deletions(-) commit c6df3fdc4f57da160c5bb6877a7e9aea93cc2eb7 Author: Guillem Jover Date: Tue Sep 30 17:02:54 2014 +0200 dselect: Parse the system curses.h header instead of dselect-curses.h Regression introduced in commit 51926eebbba1f20c3bf994e7364512a1c63a25f2. Because our local header file that decides which curses header to include also matches on curses.h, we've been processing that header all this time, meaning we've defaulted to the builtin and override keys only. debian/changelog | 3 +++ dselect/Makefile.am | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit b4e6a1c8bd4b37e2192797ceeac3001e4ed1c7f4 Author: Guillem Jover Date: Tue Sep 30 17:01:01 2014 +0200 dselect: Quote the FTP package name instead of trying to manually escape it dselect/methods/ftp/install | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 0d5e17af7391fb0d3a3c695dac40f8df41f8b11c Author: Guillem Jover Date: Tue Sep 30 04:33:42 2014 +0200 scripts: Use named variables instead of using the topic variable Switch code that uses roughly more explicit instances of the topic variable than implicit ones. Addresses BuiltinFunctions::ProhibitUselessTopic. Warned-by: perlcritic dselect/methods/ftp/install | 24 ++++++++++---------- dselect/mkcurkeys.pl | 45 ++++++++++++++++++++----------------- scripts/Dpkg/Arch.pm | 7 ++---- scripts/Dpkg/Changelog.pm | 14 ++++++------ scripts/Dpkg/Changelog/Parse.pm | 10 ++++----- scripts/Dpkg/Compression/Process.pm | 6 ++--- scripts/Dpkg/Control/HashCore.pm | 10 ++++----- scripts/Dpkg/IPC.pm | 26 ++++++++++----------- scripts/Dpkg/Shlibs/Cppfilt.pm | 16 ++++++------- scripts/Dpkg/Source/Package.pm | 6 ++--- scripts/Dpkg/Source/Package/V2.pm | 20 ++++++++--------- scripts/Dpkg/Source/Patch.pm | 32 +++++++++++++++----------- scripts/Dpkg/Source/Quilt.pm | 22 +++++++++++------- scripts/dpkg-scanpackages.pl | 13 +++++------ scripts/dpkg-shlibdeps.pl | 24 ++++++++++---------- 15 files changed, 144 insertions(+), 131 deletions(-) commit f85c96ff672cfd9c1526a8387f088dbfc51df569 Author: Guillem Jover Date: Fri Aug 29 19:27:02 2014 +0200 dselect: Remove unnecessary handling of obsolete Package_Revision field This is automatically handled by «dpkg-deb --field» now that it uses the libdpkg deb822 parser. debian/changelog | 2 ++ dselect/methods/ftp/install | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) commit 2e5f5b658c7c7153d3131e7224d9c337c0be1164 Author: Guillem Jover Date: Fri Aug 29 19:17:09 2014 +0200 dpkg-deb: Stop warning on unknown arbitrary fields The rest of the tools, particularly the ones in dpkg-dev, do not emit such warnings, so doing it when building the binary packages is a bit pointless, and usually annoys maintainers or downstream developers who end up disabling this code anyway. This might have served a purpose some time ago, to easily spot typos in field names, but we do have other means to check for those now, like more strict parsing in dpkg, which will warn or error on required fields, or tools like lintian which do a thorough check on the produced packages. debian/changelog | 1 + dpkg-deb/build.c | 38 -------------------------------------- man/deb-src-control.5 | 3 +-- 3 files changed, 2 insertions(+), 40 deletions(-) commit 49e2e69055d5c42f2b9536468b51d30f18344bf9 Author: Guillem Jover Date: Wed Aug 27 13:49:17 2014 +0200 dpkg-genchanges: Fix order of Files field in generated .changes file Regression introduced in commit e1749d77a44ee1c82c2d047cf9be4b071554832d. As the code switched to use the list of files to be distributed instead of the files with checksums, the order changed. Move the code around to inject the source files first into the distributed files so that we recover the old behavior, and make it consistent with the Checksums fields. debian/changelog | 2 + scripts/dpkg-genchanges.pl | 147 ++++++++++++++++++++++----------------------- 2 files changed, 75 insertions(+), 74 deletions(-) commit 4c67c44847ad068bb24cc5d5f94f5f9e349c1d24 Author: Guillem Jover Date: Wed Aug 27 13:49:17 2014 +0200 dpkg-genchanges: Do not repeat dsc name in multiple places Use a single variable to track the name. Reduce the scope of the $dsc variable. scripts/dpkg-genchanges.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 7625c1359d479cff42d15aa5551cac23c1ac7ebb Author: Guillem Jover Date: Wed Aug 27 13:49:17 2014 +0200 dpkg-genchanges: Merge fallback Section and Priority value assignments This makes the code more clear, and will make sure to emit a warning also when the fields have an explicit '-' value. debian/changelog | 2 ++ scripts/dpkg-genchanges.pl | 26 ++++++++------------------ 2 files changed, 10 insertions(+), 18 deletions(-) commit 13871b788efbd6dafc19a24b537229eef46a854c Author: Guillem Jover Date: Wed Aug 27 13:12:27 2014 +0200 dpkg-genchanges: Do not use an intermediate variable with the upload dir We only use it in one place, just inline the $uploadfilesdir variable there. scripts/dpkg-genchanges.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit e1666917ab7d28506b2f379d4e6af12cb015f072 Author: Guillem Jover Date: Wed Aug 27 13:10:37 2014 +0200 dpkg-genchanges: Use $include directly instead of convenience is_ functions These were testing for the wrong thing, by checking for the reverse. Remove the unnecessary functions and check for what we actually want, which should make the code more clear. scripts/dpkg-genchanges.pl | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit 1fa66ec98b8eb9c5305f2c58ce2f261ec3697c84 Author: Guillem Jover Date: Sun Sep 14 13:30:39 2014 +0200 scripts: Place Commands: before Options: in --help output debian/changelog | 2 ++ scripts/dpkg-architecture.pl | 18 +++++++++--------- scripts/dpkg-vendor.pl | 10 +++++----- 3 files changed, 16 insertions(+), 14 deletions(-) commit 9c81361552de98c234c75fc6c26928e3eae7983e Author: Guillem Jover Date: Sun Sep 14 13:19:44 2014 +0200 dpkg-architecture: Clarify that -a, -t, -e and -i work with the host system Stating that these handle the “current” architecture makes no sense, and it's not more clear. Just say clearly what they work with. debian/changelog | 1 + man/dpkg-architecture.1 | 25 +++++++++++++------------ scripts/dpkg-architecture.pl | 8 ++++---- 3 files changed, 18 insertions(+), 16 deletions(-) commit f29ed62d0c340869752c61d55a2df74159c31625 Author: Guillem Jover Date: Sat Aug 23 18:25:07 2014 +0200 dpkg-architecture: Add support for target information This adds support for the DEB_TARGET_ family of variables, which denote the machine the compiler should be building for. If the user did not specify them on the command line they will default to the host architecture. debian/changelog | 4 ++++ man/dpkg-architecture.1 | 31 +++++++++++++++++++++++- scripts/dpkg-architecture.pl | 57 ++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 89 insertions(+), 3 deletions(-) commit 17aaa7eeddc04cc2a133a3c56ed5650d3f90cbe3 Author: Guillem Jover Date: Thu Aug 28 11:59:25 2014 +0200 dpkg-architecture: Refactor check_arch_coherency() scripts/dpkg-architecture.pl | 57 +++++++++++++++++++++++++------------------- 1 file changed, 33 insertions(+), 24 deletions(-) commit 03c0873bd720a4f93db0cc4764fa98d3dbcadede Author: Guillem Jover Date: Wed Aug 20 11:23:11 2014 +0200 dpkg-deb: Add new --ctrl-tarfile command This allows to easily extract the entire control member in tar format, for further processing. debian/changelog | 1 + dpkg-deb/dpkg-deb.h | 1 + dpkg-deb/extract.c | 17 +++++++++++++++++ dpkg-deb/main.c | 2 ++ man/dpkg-deb.1 | 13 +++++++++++-- 5 files changed, 32 insertions(+), 2 deletions(-) commit 81f0fdb71a029abdb4cb9d404c55ba5871cd3cf5 Author: Guillem Jover Date: Wed Aug 20 11:06:45 2014 +0200 dpkg-source: Fix perl warning when typing Ctrl-D on patch name prompt When prompting the user for a patch name, if they type Ctrl-D the variable reading from STDIN will be initialized to undef, but we were acting on it anyway. Catch that case. debian/changelog | 1 + scripts/Dpkg/Source/Package/V2.pm | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 941f8c810fd050c91a18a6c7ead6b34c8d12ead3 Author: Guillem Jover Date: Sun Jun 1 01:31:33 2014 +0200 dpkg: Factor out deb_parse_conffiles() from process_archive() src/unpack.c | 177 ++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 103 insertions(+), 74 deletions(-) commit bbe34bf13e7d6fcbe9b5702e9826526160796771 Author: Guillem Jover Date: Sun Oct 5 05:04:12 2014 +0200 dpkg: Rename newconff_append() to filenamenode_queue_push() The function is not conffile specific, so let's make that clear. Rename also the local variables to make sense in the new context. src/archives.c | 18 +++++++++--------- src/main.h | 4 ++-- src/unpack.c | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) commit 43af9a7184ed1468e6479af41d6eb0f3a1abe5c4 Author: Guillem Jover Date: Sun Jun 1 01:24:03 2014 +0200 dpkg: Use struct filelist instead of two fileinlist to track newconffiles src/archives.c | 12 ++++++++---- src/main.h | 7 +++++-- src/unpack.c | 14 +++++++------- 3 files changed, 20 insertions(+), 13 deletions(-) commit b67c9f74ce7a6343cd5b128afc68736965d2ba3a Author: Guillem Jover Date: Sun Jun 1 01:00:51 2014 +0200 dpkg: Add new struct filenamenode_queue src/filesdb.h | 7 +++++++ 1 file changed, 7 insertions(+) commit 4c65eaf4a1e9692f48d680a366e2fa91cca0a116 Author: Guillem Jover Date: Sun Jun 1 01:11:19 2014 +0200 dpkg: Remove static from pointer variables These were supposedly static to cater to the push_cleanup() needs, but as these are pointers they are unaffected by an unrolled stack. src/unpack.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 2db3d929026f2512dc4a1358a099bcd82b556beb Author: Guillem Jover Date: Sat May 31 21:31:22 2014 +0200 libdpkg: Rename pkg_db_iter_next_pkg() local variable r to pkg lib/dpkg/pkg-db.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 9c68ece4293dcd844000a731edc20572c9240b5f Author: Guillem Jover Date: Fri Oct 3 20:01:43 2014 +0200 build: Split test_programs and test_scripts out of test_cases We do not need TEST_PREFIX anymore, as the prefixes are implicit for each typo of test case. Use the build directory for compiled programs and the source directory for scripts. Makefile.am | 4 ++-- check.am | 11 +++++------ lib/dpkg/test/Makefile.am | 4 +--- scripts/Makefile.am | 4 ++-- src/Makefile.am | 5 +++-- utils/Makefile.am | 5 +++-- 6 files changed, 16 insertions(+), 17 deletions(-) commit 9540bc984b08c5936c5aad2f1cab15f3b3560b84 Author: Guillem Jover Date: Thu Oct 2 05:00:46 2014 +0200 build: Fix compiler flag detection with non-GCC compilers We enable -Werror when checking the flags so that on compilers like clang which just emit a warning on unknown warning options, instead of erroring out, we get proper detection. We could just use stuff like -Werror=unknown-warning-option and -Werror=unused-command-line-argument, but then we would need to detect if those are available as they might make the compiler error out if they are no supported. So just using the blanket -Werror, although more broad, makes the code less complicated. debian/changelog | 1 + m4/dpkg-compiler.m4 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit e695dc22e239788db1cb5d9e2a5ab2578c225263 Author: Guillem Jover Date: Tue May 6 07:24:55 2014 +0200 build: Disable unused run-time type information for dselect The dselect codebase does not make use of RTTI (run-time type information), so including support for it is a waste. debian/changelog | 1 + dselect/Makefile.am | 2 ++ 2 files changed, 3 insertions(+) commit 11e417e08ba07587c28e2073fab9d04df4d58bfe Author: Guillem Jover Date: Fri Oct 3 20:25:58 2014 +0200 debian: Bump Standards-Version to 3.9.6 (no changes needed) debian/changelog | 1 + debian/control | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit e1846c60ac3e303b7f2a13e5b4a693e915f8ee0a Author: Guillem Jover Date: Tue Sep 23 21:12:40 2014 +0200 debian: Switch copyright to machine-readable format 1.0 And extensively update the information within. debian/changelog | 2 + debian/copyright | 239 +++++++++++++++++++++++++++++++++++++++++-------------- 2 files changed, 181 insertions(+), 60 deletions(-) commit a17d469cc3d5ccca9daa84f98fed3cc8e51e656d Author: Guillem Jover Date: Fri Oct 3 17:28:21 2014 +0200 po: The copyright holder for the original code is not SPI This was changed to not claim the copyright was assigned to the FSF, but the new holder is not correct either. The claims in the translations are all probably wrong due to this, but that might require asking the translators. debian/changelog | 1 + dselect/po/Makevars | 2 +- po/Makevars | 2 +- scripts/po/Makevars | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) commit bc54a48f0ac140b8fdf37401a8bc69446243e20b Author: Guillem Jover Date: Fri Oct 3 06:46:13 2014 +0200 po: Fix mismatched format string in Catalan translation Warned-by: i18nspector debian/changelog | 1 + po/ca.po | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) commit c0536fef2860c0481c5fbb13c3b3d28e4cbaf59d Author: Guillem Jover Date: Wed Aug 20 11:15:35 2014 +0200 po: Fix '--' to '-' on translations for single character options debian/changelog | 3 +++ po/cs.po | 4 ++-- po/de.po | 2 +- po/es.po | 4 ++-- po/pl.po | 2 +- po/sv.po | 4 ++-- 6 files changed, 11 insertions(+), 8 deletions(-) commit f67b2b629959107238a8d596a2f3b049a835cbe1 Author: Mert Dirik Date: Fri Oct 3 06:34:45 2014 +0200 po: Add Turkish program translations Closes: #763825 Signed-off-by: Guillem Jover debian/changelog | 1 + po/LINGUAS | 3 + po/tr.po | 6433 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 6437 insertions(+) commit 2ea951ed8f8e490bbf36a3be7917a97502c05a6e Author: Łukasz Dulny Date: Tue Sep 30 17:22:10 2014 +0200 po: Update Polish program translations Signed-off-by: Guillem Jover debian/changelog | 1 + po/pl.po | 592 ++++++++++++++++++------------------------------------- 2 files changed, 188 insertions(+), 405 deletions(-) commit 8dd4210524139b357593e4f27d0fd1d7d8e240d6 Author: Guillem Jover Date: Thu Sep 4 13:19:04 2014 +0200 po: Fix Italian man page translations The translated strings for some dpkg-deb arguments were swapped. Closes: #759149 Reported-by: xor debian/changelog | 2 ++ man/po/it.po | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit cb4d4423f4c890082af0bdd09fba92ba7386d479 Author: Guillem Jover Date: Mon Oct 6 00:26:25 2014 +0200 debian: Move changelog entry around debian/changelog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit af33c5a14275e81f16c3fa49a3b45c620aedf17d Author: Guillem Jover Date: Fri Sep 26 01:14:46 2014 +0200 doc: Do not add timestamps to Doxygen output The API documentation is not shipped in any binary packages but it might in the future. Given that it already contains the project version down to a git commit if necessary and the Doxygen version, there's really no need for the timestamp. doc/Doxyfile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 271336835dd2b7874793086c65af1430e8530852 Author: Guillem Jover Date: Fri Sep 12 21:33:53 2014 +0200 doc: Update Doxygen configuration from version 1.8.8 This gets rid of some warnings due to deprecated options. doc/Doxyfile.in | 2348 +++++++++++++++++++++++++++++++++---------------------- 1 file changed, 1405 insertions(+), 943 deletions(-) commit 3ea5ac4e6bd9a79414afa1a88cf9e1e1b12a0073 Author: Miroslav Kure Date: Sun Oct 5 06:19:04 2014 +0200 Czech translation update debian/changelog | 3 +++ po/cs.po | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit fa6b85bb66ebae0734aa908c4b24abeb180c67f8 Author: Helge Kreutzmann Date: Thu Sep 25 23:26:13 2014 +0200 Update German translation of manual pages Update to 2289t. man/po/de.po | 51 ++++++++++++++++++++++++++++++++++----------------- 1 file changed, 34 insertions(+), 17 deletions(-) commit 205357f14cd1bb9d6ad2ca5fa6c916d6b9e2d17c Author: Raphaël Hertzog Date: Thu Sep 25 16:02:16 2014 +0200 deb-triggers(5): explain better why {interest,activate}-noawait should be favored Christoph Biedl asked me in #762031 to integrate more explanations why the *-noawait directives should be preferred. debian/changelog | 4 ++++ man/deb-triggers.5 | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) commit 29422bfdb78282d3c8a64ebb586bd723d89ab0e4 Author: Helge Kreutzmann Date: Fri Aug 22 09:57:29 2014 +0200 Update German translation of manual pages Update to 2288t. debian/changelog | 3 +- man/po/de.po | 130 +++++++++++++++++++++---------------------------------- 2 files changed, 52 insertions(+), 81 deletions(-) commit 40cdb8236e2e739f9f1fd33f790a27e750e11855 Author: Guillem Jover Date: Tue Aug 19 20:33:41 2014 +0200 Bump version to 1.17.14 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 9f7937f78805ce4022236add3d76809f4071fd30 Author: Guillem Jover Date: Sun Aug 17 15:35:34 2014 +0200 Release 1.17.13 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c5363f315832465082ca51e347c60e6c3d7762e5 Author: Guillem Jover Date: Sun Aug 17 15:56:45 2014 +0200 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 | 4 +- 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/de.po | 659 +++++++++++++++++++++++------------------- man/po/dpkg-man.pot | 567 +++++++++++++++++++----------------- man/po/es.po | 624 ++++++++++++++++++++++------------------ man/po/fr.po | 750 +++++++++++++++++++++++++++--------------------- man/po/hu.po | 579 ++++++++++++++++++++----------------- man/po/it.po | 635 ++++++++++++++++++++++------------------ man/po/ja.po | 624 ++++++++++++++++++++++------------------ man/po/pl.po | 629 ++++++++++++++++++++++------------------ man/po/pt_BR.po | 596 ++++++++++++++++++++------------------ man/po/ru.po | 601 ++++++++++++++++++++------------------ man/po/sv.po | 634 ++++++++++++++++++++++------------------ po/ast.po | 2 +- po/bs.po | 2 +- po/ca.po | 2 +- po/cs.po | 17 +- po/da.po | 2 +- po/de.po | 2 +- po/dpkg.pot | 6 +- 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/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/vi.po | 11 +- 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 | 66 +++-- scripts/po/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 91 files changed, 3936 insertions(+), 3220 deletions(-) commit d69cf19881732900ff964f1f10545b51e3de4282 Author: Guillem Jover Date: Sat Apr 5 05:25:46 2014 +0200 s-s-d: Switch GNU/kFreeBSD systems to use libkvm Use libkvm instead of relying on linprocfs, which is not the native procfs on kFreeBSD, and it is usually not mounted as FreeBSD programs do not expect it to be present. This stops making the code handle GNU/kFreeBSD as if it was a Linux-based system. debian/changelog | 3 +++ debian/control | 1 + utils/start-stop-daemon.c | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) commit 5fb63f2db08482d5d553105e4ed3055426aa3a87 Author: Guillem Jover Date: Sat Aug 16 13:18:34 2014 +0200 libcompat: Only test the strerror() if sys_errlist and sys_nerr are present These are deprecated symbols, and some systems which do have strerror() do not have these variables, most notably GNU/Hurd. So do not try to test the current implementation there as it will fail. Closes: #758199 configure.ac | 1 + debian/changelog | 2 ++ lib/compat/Makefile.am | 5 ++++- lib/compat/strerror.c | 4 +++- m4/dpkg-types.m4 | 16 ++++++++++++++++ 5 files changed, 26 insertions(+), 2 deletions(-) commit 294cd0e0ec711d9578ae97f09a76eb045a7bf6b9 Author: Guillem Jover Date: Fri Aug 15 19:53:20 2014 +0200 scripts: Revert some unsafe //= usages back to ||= This reverts some of the unsafe assignments, as the variable might have contained a value evaluating to false, and we are assigning non-false values. This specifically fixes dpkg-source --commit and -b not working any longer. Regression introduced in commit b0337f001bee1f3791cb87505b1330c9bf83e2be. Closes: #758426 Reported-by: Neil Williams debian/changelog | 3 +++ scripts/Dpkg/Shlibs/Objdump.pm | 2 +- scripts/Dpkg/Source/Package.pm | 2 +- scripts/Dpkg/Source/Patch.pm | 4 ++-- 4 files changed, 7 insertions(+), 4 deletions(-) commit 914e739cf4ecdcd7120fbb7f203a26c03cc30ba9 Author: Guillem Jover Date: Tue Aug 19 09:53:05 2014 +0200 dpkg-maintscript-helper: Fix symlink_to_dir to assure absolute pathnames We must ensure that the original symlink and symlink targets are absolute pathnames. For the latter it is easier to make sure the filesystem symlink target matches the argument passed, as we can canonicalize the argument. debian/changelog | 2 ++ man/dpkg-maintscript-helper.1 | 4 ++-- scripts/dpkg-maintscript-helper.sh | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) commit 9445ed7ce79e697ade95d1bddb68b30f54bdb6be Author: Guillem Jover Date: Tue Aug 19 10:12:39 2014 +0200 Add test cases for switching directories from and to relative symlink targets Makefile | 6 +- .../Makefile | 0 .../pkg-dir-conffile-0/DEBIAN/conffiles | 0 .../pkg-dir-conffile-0/DEBIAN/control | 0 .../pkg-dir-conffile-0/test-path/file-conf | 0 .../pkg-dir-conffile-1/DEBIAN/control | 0 .../pkg-dir-conffile-1/DEBIAN/postinst | 0 .../pkg-dir-conffile-1/DEBIAN/postrm | 0 .../pkg-dir-conffile-1/DEBIAN/preinst | 0 .../pkg-dir-conffile-1/test-path | 0 .../pkg-dir-file-moved/DEBIAN/control | 0 .../pkg-dir-file-moved/test-dir/file-normal | 0 .../pkg-dir-file-other/DEBIAN/control | 0 .../pkg-dir-file-other/test-path/file-other | 0 .../pkg-dir-symlink-ext-0/DEBIAN/control | 0 .../pkg-dir-symlink-ext-0/test-path/file-normal | 0 .../pkg-dir-symlink-ext-1/DEBIAN/control | 0 .../pkg-dir-symlink-ext-1/DEBIAN/postinst | 0 .../pkg-dir-symlink-ext-1/DEBIAN/postrm | 0 .../pkg-dir-symlink-ext-1/DEBIAN/preinst | 0 .../pkg-dir-symlink-ext-1/test-path | 0 .../pkg-dir-symlink-int-0/DEBIAN/control | 0 .../pkg-dir-symlink-int-0/test-path/file-normal | 0 .../pkg-dir-symlink-int-1/DEBIAN/control | 0 .../pkg-dir-symlink-int-1/DEBIAN/postinst | 0 .../pkg-dir-symlink-int-1/DEBIAN/postrm | 0 .../pkg-dir-symlink-int-1/DEBIAN/preinst | 0 .../pkg-dir-symlink-int-1/test-dir/file-other | 0 .../pkg-dir-symlink-int-1/test-path | 0 .../Makefile | 90 +++++++++++----------- .../pkg-dir-conffile-0/DEBIAN/conffiles | 1 + .../pkg-dir-conffile-0/DEBIAN/control | 0 .../test-path/test-subpath}/file-conf | 0 .../pkg-dir-conffile-1/DEBIAN/control | 0 .../pkg-dir-conffile-1/DEBIAN/postinst | 6 ++ .../pkg-dir-conffile-1/DEBIAN/postrm | 6 ++ .../pkg-dir-conffile-1/DEBIAN/preinst | 6 ++ .../pkg-dir-conffile-1/test-path/test-subpath | 1 + .../pkg-dir-file-moved/DEBIAN/control | 0 .../pkg-dir-file-moved/test-dir/file-normal | 0 .../pkg-dir-file-other/DEBIAN/control | 0 .../test-path/test-subpath}/file-other | 0 .../pkg-dir-symlink-ext-0/DEBIAN/control | 0 .../test-path/test-subpath}/file-normal | 0 .../pkg-dir-symlink-ext-1/DEBIAN/control | 0 .../pkg-dir-symlink-ext-1/DEBIAN/postinst | 6 ++ .../pkg-dir-symlink-ext-1/DEBIAN/postrm | 6 ++ .../pkg-dir-symlink-ext-1/DEBIAN/preinst | 6 ++ .../pkg-dir-symlink-ext-1/test-path/test-subpath | 1 + .../pkg-dir-symlink-int-0/DEBIAN/control | 0 .../test-path/test-subpath}/file-normal | 0 .../pkg-dir-symlink-int-1/DEBIAN/control | 0 .../pkg-dir-symlink-int-1/DEBIAN/postinst | 6 ++ .../pkg-dir-symlink-int-1/DEBIAN/postrm | 6 ++ .../pkg-dir-symlink-int-1/DEBIAN/preinst | 6 ++ .../pkg-dir-symlink-int-1/test-dir}/file-other | 0 .../pkg-dir-symlink-int-1/test-path/test-subpath | 1 + .../Makefile | 0 .../pkg-dir-real/DEBIAN/control | 0 .../pkg-dir-real/test-dir/file-dir | 0 .../pkg-dir-symlink-0/DEBIAN/control | 0 .../pkg-dir-symlink-0/test-symlink | 0 .../pkg-dir-symlink-1/DEBIAN/control | 0 .../pkg-dir-symlink-1/DEBIAN/postinst | 0 .../pkg-dir-symlink-1/DEBIAN/postrm | 0 .../pkg-dir-symlink-1/DEBIAN/preinst | 0 .../pkg-dir-symlink-1/test-symlink/file-owned | 0 .../Makefile | 8 +- .../pkg-dir-real/DEBIAN/control | 0 .../pkg-dir-real/test-dir/file-dir | 0 .../pkg-dir-symlink-0/DEBIAN/control | 0 .../pkg-dir-symlink-0/test-path/test-symlink | 1 + .../pkg-dir-symlink-1/DEBIAN/control | 0 .../pkg-dir-symlink-1/DEBIAN/postinst | 6 ++ .../pkg-dir-symlink-1/DEBIAN/postrm | 6 ++ .../pkg-dir-symlink-1/DEBIAN/preinst | 6 ++ .../test-path}/test-symlink/file-owned | 0 77 files changed, 130 insertions(+), 51 deletions(-) commit 7fe9dcdd57c083180a7994957d1e5217d28e970a Author: Helmut Grohne Date: Mon Aug 18 08:20:53 2014 +0200 dpkg-maintscript-helper: Fix dir_to_symlink to handle relative symlink targets When invoking dir_to_symlink, dpkg-maintscript-helper was assuming the target to be absolute, but Debian policy 10.5 requires relative symlinks in a few places. So it now works with relative targets. Signed-off-by: Helmut Grohne Signed-off-by: Guillem Jover debian/changelog | 2 ++ man/dpkg-maintscript-helper.1 | 7 ++++--- scripts/dpkg-maintscript-helper.sh | 12 ++++++++++-- 3 files changed, 16 insertions(+), 5 deletions(-) commit 78623bf34188a2f0f97b51da829abcee199b3f67 Author: Guillem Jover Date: Mon Aug 18 12:14:03 2014 +0200 dpkg-maintscript-helper(1): Remove duplicate “of the” debian/changelog | 1 + man/dpkg-maintscript-helper.1 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 244324044fb832901c1de6619ac0bf261a76abc5 Author: Guillem Jover Date: Sat Aug 16 12:25:11 2014 +0200 dpkg(1): Split --remove and --purge options This makes it easier to see at a glance the differences between the options, and allows to more easily describe the specifics of each. This also clarifies on which package states each option can operate. Closes: #576338 debian/changelog | 2 ++ man/dpkg.1 | 52 +++++++++++++++++++++++++++++++++++----------------- 2 files changed, 37 insertions(+), 17 deletions(-) commit d3cbd092424b8a3e16ca9c4e4bcf068d93952382 Author: Guillem Jover Date: Fri Aug 15 22:20:30 2014 +0200 dpkg-query(1): Merge binary:Package descriptions debian/changelog | 2 ++ man/dpkg-query.1 | 14 ++++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) commit db398ae92f4fd5f8147154ce2e0286d9e8009212 Author: Sven Joachim Date: Fri Aug 15 17:32:01 2014 +0200 German dselect translation update Update to 271t. debian/changelog | 1 + dselect/po/de.po | 49 +++++++------------------------------------------ 2 files changed, 8 insertions(+), 42 deletions(-) commit 4f73dc68e84c06008850e9fc44440517657a0d78 Author: Romain Francoise Date: Mon Aug 11 10:17:22 2014 +0200 dpkg-buildflags: Remove arch blacklist from stackprotectorstrong option As of gcc-defaults 1.130 all architectures have moved to GCC 4.9, so we can remove the architecture blacklist for stackprotectorstrong. Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/Dpkg/Vendor/Debian.pm | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) commit 4ed6ea9d09853cd75c56439ce5aa76492c6bd542 Author: Guillem Jover Date: Fri Aug 15 15:43:56 2014 +0200 dpkg-deb: Remove unbalanced trailing single-quote in error message Reported-by: Trần Ngọc Quân debian/changelog | 4 ++++ dpkg-deb/main.c | 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 | 4 ++-- po/es.po | 2 +- po/et.po | 2 +- po/eu.po | 8 ++++---- po/fr.po | 2 +- po/gl.po | 2 +- po/hu.po | 2 +- po/id.po | 8 ++++---- po/it.po | 2 +- po/ja.po | 2 +- po/km.po | 2 +- po/ko.po | 4 ++-- po/ku.po | 2 +- po/lt.po | 2 +- po/mr.po | 2 +- po/nb.po | 8 ++++---- po/ne.po | 2 +- po/nl.po | 2 +- po/nn.po | 2 +- po/pa.po | 2 +- po/pl.po | 2 +- po/pt.po | 4 ++-- po/pt_BR.po | 2 +- po/ro.po | 4 ++-- po/ru.po | 2 +- po/sk.po | 2 +- po/sv.po | 2 +- po/th.po | 2 +- po/tl.po | 2 +- po/vi.po | 4 ++-- po/zh_CN.po | 4 ++-- po/zh_TW.po | 2 +- 42 files changed, 60 insertions(+), 56 deletions(-) commit 59e6e1563a88f47d0011ee62bc3c7b763fb9ab4f Author: Guillem Jover Date: Fri Aug 15 15:26:53 2014 +0200 dpkg-shlibdeps: Do not unnecessarily interpolate strings This mostly reverts commit 2379a80fbdc49084894b448a49d6859486b92d02, which would make the perlcritic test fail. scripts/dpkg-shlibdeps.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 5e6fe1e575d397791e62dc20265c09e737e45a9f Author: Trần Ngọc Quân Date: Fri Aug 15 15:58:20 2014 +0200 Update Vietnamese program translations Signed-off-by: Trần Ngọc Quân Signed-off-by: Guillem Jover debian/changelog | 1 + po/vi.po | 73 ++++++++++++++++++++++++++++---------------------------- 2 files changed, 38 insertions(+), 36 deletions(-) commit cb750fdcf6bd8950ea4433e6f6af818419c1b1d5 Author: Helge Kreutzmann Date: Fri Aug 15 15:33:34 2014 +0200 Update German translation of manual pages Update to 2282t. debian/changelog | 1 + man/po/de.po | 65 ++++++++++++++++++++++++++------------------------------ 2 files changed, 31 insertions(+), 35 deletions(-) commit 2379a80fbdc49084894b448a49d6859486b92d02 Author: Raphaël Hertzog Date: Fri Aug 15 14:12:42 2014 +0200 dpkg-shlibdeps: fix error string embedding literal '\n' instead of the expected newline Update the translation strings accordingly. Error introduced in 7104dc16110603687b85c6e2b9a0170b17caab8c. scripts/dpkg-shlibdeps.pl | 8 ++++---- scripts/po/ca.po | 6 +++--- scripts/po/de.po | 10 +++++----- scripts/po/dpkg-dev.pot | 4 ++-- scripts/po/es.po | 6 +++--- scripts/po/fr.po | 6 +++--- scripts/po/pl.po | 6 +++--- scripts/po/ru.po | 6 +++--- scripts/po/sv.po | 6 +++--- 9 files changed, 29 insertions(+), 29 deletions(-) commit f8b8f253c11fc257aaadbeca2c01a237c2ada503 Author: Raphaël Hertzog Date: Fri Aug 15 14:05:08 2014 +0200 Update French translation of scripts and manual pages debian/changelog | 5 +- man/po/fr.po | 260 ++++++++++++-------------------------- scripts/po/fr.po | 373 +++++++++++++++++-------------------------------------- 3 files changed, 196 insertions(+), 442 deletions(-) commit 25cd13277bc627b4fccecb342d11c2cc1c752c8e Author: Jean-Pierre Giraud Date: Fri Aug 15 10:32:33 2014 +0200 Update French translation of manual pages debian/changelog | 3 + man/po/fr.po | 3834 +++++++++++++++++++++--------------------------------- 2 files changed, 1468 insertions(+), 2369 deletions(-) commit 4b72b02378c9a2d032123c9274494046c926d9b4 Author: Miroslav Kure Date: Fri Aug 15 11:30:25 2014 +0200 Czech dpkg/dselect translation update debian/changelog | 3 +- dselect/po/cs.po | 46 +---- po/cs.po | 621 +++++++++++++++++-------------------------------------- 3 files changed, 201 insertions(+), 469 deletions(-) commit ecd5e8e7790e4c3ca7bb1b60fdc511733444d0bc Author: Guillem Jover Date: Fri Aug 15 04:38:34 2014 +0200 Bump version to 1.17.13 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 5fb7e7e63bf5f5fd323138d281f2ed5e1a83c0dd Author: Guillem Jover Date: Fri Aug 15 03:30:46 2014 +0200 Release 1.17.12 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c707a59f4d003a9c4e6498ab5c8e9ffd4b0e6d21 Author: Guillem Jover Date: Fri Aug 15 03:59:49 2014 +0200 Regenerate .pot files and merge .po files with them dselect/po/bs.po | 212 +++++++++++++++++--------------- dselect/po/ca.po | 244 ++++++++++++++++++++++--------------- dselect/po/cs.po | 244 ++++++++++++++++++++++--------------- dselect/po/da.po | 244 ++++++++++++++++++++++--------------- dselect/po/de.po | 250 +++++++++++++++++++++---------------- dselect/po/dselect.pot | 210 +++++++++++++++++--------------- dselect/po/el.po | 212 +++++++++++++++++--------------- dselect/po/es.po | 246 ++++++++++++++++++++++--------------- dselect/po/et.po | 263 ++++++++++++++++++++++++--------------- dselect/po/eu.po | 244 ++++++++++++++++++++++--------------- dselect/po/fr.po | 244 ++++++++++++++++++++++--------------- dselect/po/gl.po | 244 ++++++++++++++++++++++--------------- dselect/po/hu.po | 212 +++++++++++++++++--------------- dselect/po/id.po | 212 +++++++++++++++++--------------- dselect/po/it.po | 212 +++++++++++++++++--------------- dselect/po/ja.po | 244 ++++++++++++++++++++++--------------- dselect/po/ko.po | 244 ++++++++++++++++++++++--------------- dselect/po/nb.po | 244 ++++++++++++++++++++++--------------- dselect/po/nl.po | 244 ++++++++++++++++++++++--------------- dselect/po/nn.po | 212 +++++++++++++++++--------------- dselect/po/pl.po | 244 ++++++++++++++++++++++--------------- dselect/po/pt.po | 244 ++++++++++++++++++++++--------------- dselect/po/pt_BR.po | 244 ++++++++++++++++++++++--------------- dselect/po/ro.po | 244 ++++++++++++++++++++++--------------- dselect/po/ru.po | 244 ++++++++++++++++++++++--------------- dselect/po/sk.po | 244 ++++++++++++++++++++++--------------- dselect/po/sv.po | 244 ++++++++++++++++++++++--------------- dselect/po/tl.po | 212 +++++++++++++++++--------------- dselect/po/vi.po | 212 +++++++++++++++++--------------- dselect/po/zh_CN.po | 212 +++++++++++++++++--------------- dselect/po/zh_TW.po | 244 ++++++++++++++++++++++--------------- man/po/de.po | 318 ++++++++++++++++++++++++++++++++---------------- man/po/dpkg-man.pot | 212 ++++++++++++++++++++++---------- man/po/es.po | 280 +++++++++++++++++++++++++++++------------- man/po/fr.po | 280 +++++++++++++++++++++++++++++------------- man/po/hu.po | 220 +++++++++++++++++++++++---------- man/po/it.po | 282 +++++++++++++++++++++++++++++------------- man/po/ja.po | 280 +++++++++++++++++++++++++++++------------- man/po/pl.po | 280 +++++++++++++++++++++++++++++------------- man/po/pt_BR.po | 219 +++++++++++++++++++++++---------- man/po/ru.po | 221 +++++++++++++++++++++++---------- man/po/sv.po | 280 +++++++++++++++++++++++++++++------------- 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/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/vi.po | 2 +- po/zh_CN.po | 2 +- po/zh_TW.po | 2 +- scripts/po/ca.po | 142 +++++++++++---------- scripts/po/de.po | 150 +++++++++++------------ scripts/po/dpkg-dev.pot | 144 +++++++++++----------- scripts/po/es.po | 142 +++++++++++---------- scripts/po/fr.po | 142 +++++++++++---------- scripts/po/pl.po | 142 +++++++++++---------- scripts/po/ru.po | 142 +++++++++++---------- scripts/po/sv.po | 142 +++++++++++---------- 91 files changed, 6772 insertions(+), 4599 deletions(-) commit ee66f6753c34b573432d07af4caeaa9b9e180466 Author: Guillem Jover Date: Fri Aug 15 02:32:39 2014 +0200 scripts: Allow specifying the same build type option multiple times For backwards compatibility allow the same exact option, as it seems such invocations are found in the wild in scripts and similar. Closes: #757795 debian/changelog | 3 +++ scripts/dpkg-buildpackage.pl | 2 +- scripts/dpkg-genchanges.pl | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) commit 010bac3aaa682ee61afd25f430ed803f1f423f24 Author: Guillem Jover Date: Fri Aug 15 02:32:15 2014 +0200 scripts: Refactor build type setting into a new set_build_type function scripts/dpkg-buildpackage.pl | 37 ++++++++++++++++--------------------- scripts/dpkg-genchanges.pl | 33 +++++++++++++++------------------ 2 files changed, 31 insertions(+), 39 deletions(-) commit b572af443f15c6578fbfa3ad049d5d8c231bdf5b Author: Guillem Jover Date: Wed Aug 13 09:36:19 2014 +0200 scripts: Use length instead of defined when checking environment variables In these cases we are not interested if the variables are defined, but if they have actual content. debian/changelog | 2 ++ scripts/Dpkg/BuildFlags.pm | 4 ++-- scripts/Dpkg/Source/Package.pm | 2 +- scripts/Dpkg/Vendor/Ubuntu.pm | 2 +- scripts/dpkg-architecture.pl | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) commit 3f0c739bff65e6167cc91626fa77145247560fda Author: Jan Blunck Date: Wed Aug 13 18:02:48 2014 +0200 Dpkg::Source::Archive: Use tar --format=gnu when creating archives Explicitly instruct Dpkg::Source::Archive to use the gnu format when creating archives. Some versions of tar (specifically on openSUSE >= 12.2) have a different default tar format. This change makes the archive creation more consistent. Signed-off-by: Jan Blunck Signed-off-by: Guillem Jover debian/changelog | 3 +++ scripts/Dpkg/Source/Archive.pm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 8394f02bd4feac7bcb3607fcc25beb879031c5bc Author: Guillem Jover Date: Sun Aug 10 20:29:47 2014 +0200 Dpkg::Vendor::Debian: Refactor common compiler flags into intermediate variables scripts/Dpkg/Vendor/Debian.pm | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) commit f20bb6d7403d85da1994f5cec74af937ef535b80 Author: Guillem Jover Date: Mon Aug 11 20:40:10 2014 +0200 s-s-d: Remove wasteful strlen() comparison before strcmp() utils/start-stop-daemon.c | 2 -- 1 file changed, 2 deletions(-) commit d3d2ba1dd39ae02c92efafd4d4541d33665e48fb Author: Guillem Jover Date: Wed Aug 13 09:34:41 2014 +0200 libdpkg: Set close-on-exec for the debug output This fixes a file descriptor leak on dselect subprocesses. debian/changelog | 1 + dselect/main.cc | 2 +- lib/dpkg/debug.c | 6 +++++- lib/dpkg/debug.h | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) commit 76650b3c3ed1245db69073cdafdf1c35c8aa2eac Author: Guillem Jover Date: Wed Aug 13 09:32:44 2014 +0200 libdpkg: Set the appropriate report buffer for the debug output Do so centrally in the debug_set_output() function instead of on the call sites. dselect/main.cc | 1 - lib/dpkg/debug.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) commit b13e29d6875a316be2139875eea4d35b3790849e Author: Guillem Jover Date: Mon Aug 11 15:59:41 2014 +0200 dselect: Add new architecture columns to package list view The new columns, shown by default, can be turned off with the new ‘A’ key, or bound to another key via the new “archdisplay” keybinding. debian/changelog | 3 +++ dselect/helpmsgs.cc | 2 +- dselect/pkgcmds.cc | 25 +++++++++++++++++++++++++ dselect/pkgdisplay.cc | 17 +++++++++++++++++ dselect/pkgkeys.cc | 2 ++ dselect/pkglist.cc | 2 ++ dselect/pkglist.h | 4 ++++ dselect/pkgtop.cc | 18 ++++++++++++++++++ man/dselect.1 | 19 +++++++++++-------- 9 files changed, 83 insertions(+), 9 deletions(-) commit ced655387fa38215c61d3df5478cd4228c04b92a Author: Guillem Jover Date: Tue Mar 20 09:39:42 2012 +0100 dselect: Rework columns code Add a new struct to hold each column data, and helper functions to handle it, so that we can easily add new columns w/o needing to have to manually track the current and previous column width and similar. debian/changelog | 1 + dselect/baselist.cc | 40 +++++++++++++++++ dselect/dselect.h | 16 +++++++ dselect/methlist.cc | 23 +++++----- dselect/method.h | 5 ++- dselect/pkgdisplay.cc | 53 +++++++++------------- dselect/pkglist.h | 16 ++++--- dselect/pkgtop.cc | 122 ++++++++++++++++++++++++-------------------------- 8 files changed, 161 insertions(+), 115 deletions(-) commit 271d88e37cfd30147157acd79bcbc9d5f51ecfe7 Author: Guillem Jover Date: Sun Aug 10 20:29:10 2014 +0200 dselect(1): Fix formatting of last paragraphs inside --color description debian/changelog | 1 + man/dselect.1 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 7c446c5df19cd8ab41563154014a2a96b203662a Author: Guillem Jover Date: Sun Aug 10 20:28:22 2014 +0200 dpkg-query(1): Describe virtual fields Add short description to each virtual field, and mention the version they got introduced in dpkg. debian/changelog | 3 +++ man/dpkg-query.1 | 46 ++++++++++++++++++++++++++++++++++------------ 2 files changed, 37 insertions(+), 12 deletions(-) commit 464ebf59ed3b91684e01255c4070f3eb7ea63af9 Author: Guillem Jover Date: Sun Aug 10 03:37:06 2014 +0200 libcompat: Only build the compatibility selinux code if requested If we are not using libselinux, then we cannot build the selinux compatibility code as it requires the library. Also fixes build failures on non-Linux systems, where the library is not available. Closes: #757637 debian/changelog | 5 +++++ lib/compat/Makefile.am | 7 ++++++- m4/dpkg-libs.m4 | 5 +++-- 3 files changed, 14 insertions(+), 3 deletions(-) commit 1878855c4a3eaa5a544c81e24b5a990d6139ff7b Author: Helge Kreutzmann Date: Sun Aug 10 17:59:01 2014 +0200 Update German translation of manual pages Update to 2268t. debian/changelog | 3 ++ man/po/de.po | 150 +++++++++++++++---------------------------------------- 2 files changed, 43 insertions(+), 110 deletions(-) commit f5570454c6ce871085eadc9a211ec15518fb7922 Author: Helge Kreutzmann Date: Sun Aug 10 17:18:31 2014 +0200 Update German scripts translation Update to 545t. debian/changelog | 3 + scripts/po/de.po | 208 ++++++++++++------------------------------------------- 2 files changed, 47 insertions(+), 164 deletions(-) commit 37eac9a01af064feb6b26b2b04dcdace8530ae02 Author: Sven Joachim Date: Sun Aug 10 08:28:33 2014 +0200 German dpkg translation update Update to 1085t3u. debian/changelog | 3 ++- po/de.po | 29 ++++++++++------------------- 2 files changed, 12 insertions(+), 20 deletions(-) commit 619e91702c720cc1b1254570e17f1a02b113535c Author: Guillem Jover Date: Sun Aug 10 03:02:09 2014 +0200 Bump version to 1.17.12 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 23b8f2a3e2650b78c4448ba437afb20f04850674 Author: Guillem Jover Date: Sat Aug 9 17:16:36 2014 +0200 Release 1.17.11 debian/changelog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 208a117a76c736daf7bcadee8a60e8cefa9b5202 Author: Guillem Jover Date: Sat Aug 9 17:15:47 2014 +0200 Regenerate .pot files and merge .po files with them dselect/po/bs.po | 12 +- dselect/po/ca.po | 12 +- dselect/po/cs.po | 12 +- dselect/po/da.po | 12 +- dselect/po/de.po | 12 +- dselect/po/dselect.pot | 14 +- dselect/po/el.po | 12 +- dselect/po/es.po | 12 +- dselect/po/et.po | 12 +- dselect/po/eu.po | 12 +- dselect/po/fr.po | 12 +- dselect/po/gl.po | 12 +- dselect/po/hu.po | 12 +- dselect/po/id.po | 12 +- dselect/po/it.po | 12 +- dselect/po/ja.po | 12 +- dselect/po/ko.po | 12 +- dselect/po/nb.po | 12 +- dselect/po/nl.po | 12 +- dselect/po/nn.po | 12 +- dselect/po/pl.po | 12 +- dselect/po/pt.po | 12 +- dselect/po/pt_BR.po | 12 +- dselect/po/ro.po | 12 +- dselect/po/ru.po | 12 +- dselect/po/sk.po | 12 +- dselect/po/sv.po | 12 +- dselect/po/tl.po | 12 +- dselect/po/vi.po | 12 +- dselect/po/zh_CN.po | 12 +- dselect/po/zh_TW.po | 12 +- man/po/de.po | 993 +++++++++++++++++------------- man/po/dpkg-man.pot | 889 ++++++++++++++------------- man/po/es.po | 947 ++++++++++++++++------------- man/po/fr.po | 946 ++++++++++++++++------------- man/po/hu.po | 899 +++++++++++++++------------- man/po/it.po | 948 ++++++++++++++++------------- man/po/ja.po | 945 ++++++++++++++++------------- man/po/pl.po | 947 ++++++++++++++++------------- man/po/pt_BR.po | 899 +++++++++++++++------------- man/po/ru.po | 899 +++++++++++++++------------- man/po/sv.po | 1084 +++++++++++++++++++-------------- po/ast.po | 498 +++++++-------- po/bs.po | 475 ++++++++------- po/ca.po | 500 ++++++++-------- po/cs.po | 500 ++++++++-------- po/da.po | 512 ++++++++-------- po/de.po | 500 ++++++++-------- po/dpkg.pot | 477 ++++++++------- po/dz.po | 496 +++++++-------- po/el.po | 496 +++++++-------- po/eo.po | 500 ++++++++-------- po/es.po | 500 ++++++++-------- po/et.po | 494 ++++++++------- po/eu.po | 497 +++++++-------- po/fr.po | 607 +++++++++---------- po/gl.po | 496 +++++++-------- po/hu.po | 496 +++++++-------- po/id.po | 497 +++++++-------- po/it.po | 500 ++++++++-------- po/ja.po | 500 ++++++++-------- po/km.po | 496 +++++++-------- po/ko.po | 497 +++++++-------- po/ku.po | 480 ++++++++------- po/lt.po | 496 +++++++-------- po/mr.po | 496 +++++++-------- po/nb.po | 497 +++++++-------- po/ne.po | 496 +++++++-------- po/nl.po | 496 +++++++-------- po/nn.po | 495 +++++++-------- po/pa.po | 484 +++++++-------- po/pl.po | 500 ++++++++-------- po/pt.po | 1531 +++++++++++++++++++++-------------------------- po/pt_BR.po | 496 +++++++-------- po/ro.po | 497 +++++++-------- po/ru.po | 502 ++++++++-------- po/sk.po | 500 ++++++++-------- po/sv.po | 504 ++++++++-------- po/th.po | 500 ++++++++-------- po/tl.po | 495 +++++++-------- po/vi.po | 500 ++++++++-------- po/zh_CN.po | 497 +++++++-------- po/zh_TW.po | 500 ++++++++-------- scripts/po/ca.po | 647 ++++++++++---------- scripts/po/de.po | 793 ++++++++++++++---------- scripts/po/dpkg-dev.pot | 635 ++++++++++---------- scripts/po/es.po | 731 ++++++++++++---------- scripts/po/fr.po | 795 ++++++++++++++---------- scripts/po/pl.po | 729 ++++++++++++---------- scripts/po/ru.po | 731 ++++++++++++---------- scripts/po/sv.po | 789 ++++++++++++++---------- 91 files changed, 20077 insertions(+), 18039 deletions(-) commit d6838f2dca3da5a9eb8615002a1e7fef7766b81b Author: Guillem Jover Date: Thu Aug 7 01:17:50 2014 +0200 dpkg: Fix --add-architecture and --remove-architecture to take one argument These commands take exactly one argument, check that and error out. Closes: #757254 debian/changelog | 2 ++ src/main.c | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) commit e161b733cf23716f35328afcd6f0ac23dc4f8e03 Author: Guillem Jover Date: Tue Aug 5 12:42:04 2014 +0200 scripts: Add -g and -G options for source plus arch-indep/specific builds These were the last two combinations missing, just add them to let the user have full control over the build ouput. Closes: #756975 debian/changelog | 2 ++ man/dpkg-buildpackage.1 | 16 +++++++++++++--- scripts/dpkg-buildpackage.pl | 20 +++++++++++++++++++- scripts/dpkg-genchanges.pl | 20 ++++++++++++++++++-- 4 files changed, 52 insertions(+), 6 deletions(-) commit 0a0d2970536741905e4a6197cd4450dac0a1188a Author: Guillem Jover Date: Tue Aug 5 12:42:04 2014 +0200 dpkg-genchanges: Correctly filter host arch from the Architecture field We should also filter the host arch in the same way we filter the all arch when the build type excludes these packages, otherwise we get incongruent .changes files. debian/changelog | 4 ++++ scripts/dpkg-genchanges.pl | 2 ++ 2 files changed, 6 insertions(+) commit c781f4c98830e7254a634cd11ab83eb53db12733 Author: Guillem Jover Date: Fri Aug 8 12:12:51 2014 +0200 scripts: Only allow one build type option For dpkg-genchanges and dpkg-buildpackage, specifying more than one build type option seems rather confusing, as depending on the combination it can either fail, or make the last option win. And it will get even more confusing when adding the remaining options to cover all build type combinations. Just be consistent about this and fail hard when specifying conflicting build types. debian/changelog | 1 + scripts/dpkg-buildpackage.pl | 14 +++++++------- scripts/dpkg-genchanges.pl | 9 +++++---- 3 files changed, 13 insertions(+), 11 deletions(-) commit eb0b88adf42e02e1a05261a116dd9e9860282039 Author: Guillem Jover Date: Mon Aug 4 18:19:07 2014 +0200 dpkg-buildpackage: Move checkbuilddeps and target settings out of the options loop scripts/dpkg-buildpackage.pl | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) commit 175ca02107648317dfd1439bee7a633c182ce2ca Author: Guillem Jover Date: Tue Jan 14 19:35:10 2014 +0100 scripts: Unify build options description in --help output debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 10 +++++----- scripts/dpkg-genchanges.pl | 12 ++++++------ 3 files changed, 13 insertions(+), 11 deletions(-) commit acc2f23ea5a1c04c72a5e9dfc71831110f720471 Author: Guillem Jover Date: Tue Dec 17 05:39:15 2013 +0100 dpkg-genchanges: Only print build type once If -B or -A are specified multiple times, there will be multiple confusing messages stating what will supposedly be including, one for each option appearence. Just merge the messages with the other build type description. While at it, reword the binary-only upload message to be consistent with the new merged ones. debian/changelog | 3 +++ scripts/dpkg-genchanges.pl | 10 +++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) commit 801e49c9081db764215f3821cbc791912dc131e1 Author: Guillem Jover Date: Tue Aug 5 10:45:19 2014 +0200 dpkg-gencontrol: Emit a warning when using the deprecated -is/-ip options Let users know these are without effect. debian/changelog | 2 ++ scripts/dpkg-gencontrol.pl | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit b15f3541b36feed5efe864e7e39a429bb21dee71 Author: Guillem Jover Date: Tue Aug 5 10:16:00 2014 +0200 dpkg-buildpackage: Ignore DEB_CHECK_COMMAND if the command is not found This is an environment setting, that might percolate to chroots and similar, so it is not wise to fail hard in case the command is not found, contrary to when it is passed on the command line. Just ignore the setting in that case. debian/changelog | 1 + scripts/dpkg-buildpackage.pl | 2 ++ 2 files changed, 3 insertions(+) commit 0c8a23acb4332026eb4c043651906eada2f7ce2b Author: Guillem Jover Date: Tue Aug 5 10:06:50 2014 +0200 Dpkg::Path: Change find_command() to handle an empty or undef argument This makes some call sites more natural. debian/changelog | 1 + scripts/Dpkg/Path.pm | 11 ++++++++--- scripts/Dpkg/Source/Package/V2.pm | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) commit 95103016f248a4d81ca0b410768313c0e1f1871f Author: Guillem Jover Date: Thu Jul 31 14:35:06 2014 +0200 Dpkg::Source::Archive: Delete the current compressor SIGPIPE disposition With some archives, the tar process will terminate prematurely if it finds trailing zeros, but the compressor will try to keep feeding it with data, although the other end of the pipe will now be gone. We handle this already by ignoring processes terminated by SIGPIPE, but if the process is ignoring SIGPIPE it might get terminated due to the error from the write(2) call, which we are not handling. Reset the SIGPIPE disposition to its default setting. Closes: #756526 debian/changelog | 2 ++ scripts/Dpkg/Source/Archive.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 379a071c368b3aaef914a8bb1478fdf511ed7370 Author: Guillem Jover Date: Thu Jul 31 14:34:00 2014 +0200 Dpkg::Compression::FileHandle: Add %opts to ensure_open() member This options will be passed down the the (un)compressor spawn()'s call. debian/changelog | 1 + scripts/Dpkg/Compression/FileHandle.pm | 33 +++++++++++++++++++++++---------- 2 files changed, 24 insertions(+), 10 deletions(-) commit 747ec69e691cd7adeac3f573c348834042e82ee0 Author: Guillem Jover Date: Thu Jul 31 13:50:04 2014 +0200 Dpkg::IPC: Add support for sig and delete_sig spawn() options debian/changelog | 1 + scripts/Dpkg/IPC.pm | 36 +++++++++++++++++++++++++++++++++++- 2 files changed, 36 insertions(+), 1 deletion(-) commit 7104dc16110603687b85c6e2b9a0170b17caab8c Author: Sylvestre Ledru Date: Mon Jul 28 05:33:22 2014 +0200 dpkg-shlibdeps: Add a hint to the error on no dependency information found Suggest in the output to check if the library is actually packaged. [guillem@debian.org: - Line-wrap to 80 columns. - Slight rewording. ] Closes: #756230 Signed-off-by: Guillem Jover debian/changelog | 3 +++ scripts/dpkg-shlibdeps.pl | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) commit 43c945efdf244e9124d916e3a4e028a557ed8e3c Author: Guillem Jover Date: Mon Jul 28 02:54:26 2014 +0200 Dpkg::Control::HashCore: Say OpenPGP instead of PGP in comments and errors When we meant the standard (and not the tool) we should have been saying OpenPGP. debian/changelog | 2 ++ scripts/Dpkg/Control/HashCore.pm | 16 ++++++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) commit 53ab15cf80df8727026cee31cb8dc7899f2488e8 Author: Guillem Jover Date: Mon Jul 28 05:26:05 2014 +0200 scripts: Use // instead of || where appropriate Replace only safe usages, i.e. those that fallback on initialization values that evaluate to false anyway. Or when the API is explicit about the variable being undefined. scripts/Dpkg/Arch.pm | 2 +- scripts/Dpkg/Changelog.pm | 22 +++++++++++----------- scripts/Dpkg/Changelog/Entry.pm | 2 +- scripts/Dpkg/Compression/FileHandle.pm | 2 +- scripts/Dpkg/Deps.pm | 4 ++-- scripts/Dpkg/Package.pm | 2 +- scripts/Dpkg/Shlibs/Objdump.pm | 2 +- scripts/Dpkg/Shlibs/Symbol.pm | 4 ++-- scripts/Dpkg/Source/Patch.pm | 4 ++-- scripts/Dpkg/Vendor/Ubuntu.pm | 2 +- scripts/dpkg-checkbuilddeps.pl | 2 +- scripts/dpkg-genchanges.pl | 2 +- 12 files changed, 25 insertions(+), 25 deletions(-) commit b0337f001bee1f3791cb87505b1330c9bf83e2be Author: Guillem Jover Date: Sun Jul 27 20:07:32 2014 +0200 scripts: Use //= instead of ||= when appropriate Replace only safe usages, i.e. those that fallback on initialization values that evaluate to false anyway. Or when the API is explicit about the variable being undefined. scripts/Dpkg/Compression/Process.pm | 2 +- scripts/Dpkg/IPC.pm | 4 ++-- scripts/Dpkg/Shlibs/Objdump.pm | 2 +- scripts/Dpkg/Source/Archive.pm | 8 ++++---- scripts/Dpkg/Source/Package.pm | 4 ++-- scripts/Dpkg/Source/Package/V1.pm | 8 ++++---- scripts/Dpkg/Source/Patch.pm | 10 +++++----- scripts/Dpkg/Substvars.pm | 2 +- scripts/changelog/debian.pl | 4 ++-- scripts/dpkg-buildpackage.pl | 2 +- scripts/dpkg-genchanges.pl | 2 +- 11 files changed, 24 insertions(+), 24 deletions(-) commit 543ac69d2470e39f6b95a59b82fee116bc1b90d7 Author: Guillem Jover Date: Sun Jul 27 19:49:58 2014 +0200 scripts: Use //= instead of explicit defined or exists checks scripts/Dpkg/BuildOptions.pm | 2 +- scripts/Dpkg/Changelog/Parse.pm | 4 +--- scripts/Dpkg/Checksums.pm | 4 ++-- scripts/Dpkg/Deps.pm | 26 ++++++++++++-------------- scripts/Dpkg/Index.pm | 7 +++---- scripts/Dpkg/Shlibs/Symbol.pm | 9 ++++----- scripts/Dpkg/Shlibs/SymbolFile.pm | 10 ++++------ scripts/Dpkg/Source/Package.pm | 14 +++++--------- scripts/Dpkg/Source/Package/V2.pm | 30 ++++++++++-------------------- scripts/Dpkg/Source/Package/V3/Quilt.pm | 6 ++---- scripts/Dpkg/Source/Patch.pm | 12 ++++++------ scripts/Dpkg/Substvars.pm | 6 +++--- scripts/dpkg-shlibdeps.pl | 12 ++++-------- 13 files changed, 57 insertions(+), 85 deletions(-) commit 0efb836c42e264dfe60cc1db9d605ef608be5524 Author: Guillem Jover Date: Sun Jul 27 19:18:30 2014 +0200 Dpkg::Substvars: Warn on usage of deprecated Source-Version substvar debian/changelog | 1 + scripts/Dpkg/Substvars.pm | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) commit cdaa15c594f66b853649c70569610e5614080979 Author: Guillem Jover Date: Sun Jul 27 16:16:11 2014 +0200 scripts: Mark Format and Installed-Size as automatic substvars debian/changelog | 2 ++ scripts/dpkg-genchanges.pl | 2 +- scripts/dpkg-gencontrol.pl | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) commit de546f66a7fe7f35fb87fb1abb66a98ff4487ae9 Author: Guillem Jover Date: Sun Jul 27 16:11:28 2014 +0200 Dpkg::Substvars: Add automatic variable tracking This makes the code more clear and does not require to explicitly list the variables on output. debian/changelog | 2 ++ scripts/Dpkg/Control/HashCore.pm | 2 +- scripts/Dpkg/Substvars.pm | 28 +++++++++++++++++++++++----- 3 files changed, 26 insertions(+), 6 deletions(-) commit b1737a26c9a33f1bab3e886a66055fe7c30156ad Author: Guillem Jover Date: Sun Jul 27 15:28:34 2014 +0200 Dpkg::Substvars: Switch used tracking from a counter to a bitfield This will allow to easily add other variable attributes, and not have to care about one hash per attribute per variable. scripts/Dpkg/Substvars.pm | 48 ++++++++++++++++++++++++++++++----------------- 1 file changed, 31 insertions(+), 17 deletions(-) commit 1da1f62fb9fb4553d68e70745c435aaf158457bd Author: Guillem Jover Date: Sun Jul 27 15:52:50 2014 +0200 Dpkg::Substvars: Move upstream version computation into a temporary variable scripts/Dpkg/Substvars.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 0b9d10267cc204f693633909edb8a128cded89aa Author: Guillem Jover Date: Sun Jul 27 15:26:41 2014 +0200 Dpkg::Substvars: Add missing trailing dot scripts/Dpkg/Substvars.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 66bc1cdd7f2397c6982cb0079895f44a0ba006b4 Author: Guillem Jover Date: Mon Jul 21 02:00:09 2014 +0200 libdpkg: Remove unused pkglibdir variable from libdpkg.pc.in The replaceable string @pkglibdir@ has possibly never been instantiated from configure, but as the variable is unused, let's just remove it. Warned-by: lintian debian/changelog | 1 + lib/dpkg/libdpkg.pc.in | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) commit 7386defdaebf4746dc074a118bf7430cecf7a57f Author: Guillem Jover Date: Fri Aug 8 20:52:10 2014 +0200 Update i386 architecture GNU cpu regex in cputable to match i786 too cputable | 2 +- debian/changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit 4b9c267a21500b3d2f7bafe7d2af6100ffa8d2a9 Author: Guillem Jover Date: Fri Aug 8 20:20:40 2014 +0200 Bump the i386 architecture GNU triplet to i586-linux-gnu This matches the change in gcc. Somewhat reluctantly, as i386 wants to be its unique snowflake and use a GNU triplet not matching its baseline. This will cause problems when cross-building and using unmatched combinations of dpkg-dev and gcc. Closes: #751363 cputable | 2 +- debian/changelog | 5 +++++ debian/rules | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) commit fd8934117860821c3a5ddb11c51eb86b25ad97c0 Author: Jae Junh Date: Mon Jul 21 00:55:40 2014 +0200 Add powerpcel support to cputable Signed-off-by: Guillem Jover cputable | 1 + debian/changelog | 1 + 2 files changed, 2 insertions(+) commit 65ad0315beecce0c76b8fc6316ceb969b1ab9179 Author: Guillem Jover Date: Mon Jul 21 00:47:15 2014 +0200 dpkg-source: Print the correct removed binary filename with --include-removal When removing a binary file and using --include-removal, we get a bogus error message about including a pathname relative to /dev/null in debian/source/include-binaries. Closes: #755166 debian/changelog | 2 ++ scripts/Dpkg/Source/Package/V2.pm | 15 ++++++++------- scripts/Dpkg/Source/Patch.pm | 28 +++++++++++++++------------- 3 files changed, 25 insertions(+), 20 deletions(-) commit 87b0b20b86407baf1deb4e91b3fd839e01228ac8 Author: Guillem Jover Date: Tue Jul 15 21:00:52 2014 +0200 dpkg: Try to preallocate the disk size for extracted files This might help in avoiding filesystem fragmentation, and possibly improve performance on some filesystems. We use the system specific methods if available, and only use posix_fallocate() if nothing else is available, because on some systems its semantics are counter to what we want to obtain here, as the libc library will fallback to manually writing '\0' to each block to force the preallocation, instead of just failing and leaving the application to do so if desired. configure.ac | 5 +++- debian/changelog | 3 +++ lib/dpkg/fdio.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++ lib/dpkg/fdio.h | 3 +++ lib/dpkg/libdpkg.map | 1 + src/archives.c | 5 ++++ 6 files changed, 91 insertions(+), 1 deletion(-) commit 101e5beaf233e3df0eef71a88e005d79633b19bf Author: Guillem Jover Date: Sat Jul 12 14:12:10 2014 +0200 Dpkg::Source::Quilt: Clarify error message when patches fail to apply There are other reasons besides patches with no fuzz, mention that the patch could be malformed too, to make the error message less confusing. debian/changelog | 3 +++ scripts/Dpkg/Source/Quilt.pm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit b047237d3bf1519541de2043ab7bd01e1cad7121 Author: Guillem Jover Date: Sat Jul 12 03:36:32 2014 +0200 dpkg-source: Add --format an --ignore-bad-version to --help output debian/changelog | 1 + scripts/dpkg-source.pl | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) commit f2b5b096ca0bd8bde4ffff60800ad1e8d69ec71d Author: Guillem Jover Date: Fri Jul 11 13:41:12 2014 +0200 dpkg-source(1): Mark the “and” between the filenames as regular format debian/changelog | 1 + man/dpkg-source.1 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit f5cf71edffe4a63c54ef4fc4eddd924382229c5d Author: Guillem Jover Date: Sun Aug 3 21:33:34 2014 +0200 dpkg-buildpackage(1): Improve man page Mark DEB_CHECK_COMMAND as bold. Add final item for done hook in the actions sequence. Mention that -nc does not apply either when -F is specified. Mention that the --FOO-option options can be used multiple times. Fix a typo in the BUGS section. debian/changelog | 6 ++++++ man/dpkg-buildpackage.1 | 11 ++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) commit 07a39b75cc81bacee9f011b0c628821226ae262c Author: Guillem Jover Date: Fri Aug 8 21:41:15 2014 +0200 dpkg(1): Move the explanation of functional checks to the --verify command It makes more sense to have it in the --verify command description than on the --verify-format one. Closes: #747264 debian/changelog | 2 ++ man/dpkg.1 | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit 30b1fef6064ac64584ff2701965f5118d0fd3be0 Author: Guillem Jover Date: Fri Jul 11 13:39:06 2014 +0200 dpkg-scanpackages: Spell nocheck option in wait_child() correctly Spotted-by: James McCoy (in devscripts) debian/changelog | 2 ++ scripts/dpkg-scanpackages.pl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit db3c4abdd24fe4c444c575f0b412ae2bbd013c1d Author: Guillem Jover Date: Sat Jul 5 20:54:21 2014 +0200 dpkg-source: Automatically add the Testsuite field This is a comma-separated field. The only currently known value for the field is autopkgtest, which requires the debian/tests/control file to be present, even if empty, otherwise it is a deb822-style file. Existing and unknown values will be preserved, and autopkgtest will be appended. If the autopkgtest value is present but there is no debian/tests/control file, then the value will be removed and a warning emitted. debian/changelog | 1 + scripts/dpkg-source.pl | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) commit ec3bd7eac1f0170fa279ef7ee9297018e7bcb5a8 Author: Guillem Jover Date: Sat Jul 5 19:27:58 2014 +0200 Dpkg::Vendor::Debian: Split feature area option parsing into a function scripts/Dpkg/Vendor/Debian.pm | 45 +++++++++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 19 deletions(-) commit 1592301d59f92164c8e45871ee9c34f27dab1eca Author: Guillem Jover Date: Tue Jul 1 17:19:32 2014 +0200 Dpkg::Source::Patch: Add comment about ignoring the Index: pseudo-header scripts/Dpkg/Source/Patch.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 8aecb71520112b8e3ce168b1addc84a95bbc4ce5 Author: Guillem Jover Date: Tue Jul 1 03:57:44 2014 +0200 libdpkg: Add db:Status-Want, db:Status-Status and db:Status-Eflag fields These are virtual fields for the database Status field, which will allow easier access to the specific status values. debian/changelog | 2 ++ lib/dpkg/pkg-format.c | 36 ++++++++++++++++++++++++++++++++++++ man/dpkg-query.1 | 3 +++ 3 files changed, 41 insertions(+) commit 767d782ac8caa482182be6a319ab20bc935f0de6 Author: Guillem Jover Date: Tue Jul 1 03:56:55 2014 +0200 libdpkg: Use varbuf used member instead of strlen() over the buffer lib/dpkg/pkg-format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 589602c7802ab927d7f3e4ed026601d9ca701012 Author: Guillem Jover Date: Tue Jul 1 03:55:37 2014 +0200 dpkg-deb: Use parsedb() instead of an ad-hoc deb822 parser This makes sure any field fixup and sanity check is performed on the input, and gets reflected on the output. debian/changelog | 3 ++ dpkg-deb/dpkg-deb.h | 1 - dpkg-deb/info.c | 82 ++++++++++++++++++++--------------------------------- 3 files changed, 33 insertions(+), 53 deletions(-) commit bdfc98f46c81b56b895e436e3652b553fa106ce9 Author: Guillem Jover Date: Tue Jul 1 02:40:11 2014 +0200 libdpkg: Add new varbuf_add_arbfield() lib/dpkg/dump.c | 18 ++++++++++++++---- lib/dpkg/libdpkg.map | 1 + lib/dpkg/parsedump.h | 4 ++++ 3 files changed, 19 insertions(+), 4 deletions(-) commit 78c18f294df6956eac2bba8af31a26cfc1f24381 Author: Guillem Jover Date: Sun Jun 29 03:14:27 2014 +0200 libdpkg: Refactor field search functions lib/dpkg/dpkg-db.h | 6 ++++++ lib/dpkg/parsehelp.c | 24 ++++++++++++++++++++++++ lib/dpkg/pkg-format.c | 28 +++++++--------------------- 3 files changed, 37 insertions(+), 21 deletions(-) commit f7e10180d3ead4f3187ab48557d8aee3bd85ea4a Author: Guillem Jover Date: Sat Jun 28 18:38:48 2014 +0200 dpkg-buildflags: Add support for new hardening flag stackprotectorstrong This flag is now part of the default set on Debian and derivatives, but it will fallback to stackprotector when the former is not functional or disabled by the user. Based-on-patch-by: Romain Francoise debian/changelog | 4 ++++ man/dpkg-buildflags.1 | 18 ++++++++++++++++-- scripts/Dpkg/Vendor/Debian.pm | 22 +++++++++++++++++++++- 3 files changed, 41 insertions(+), 3 deletions(-) commit 67ef2fc226847c8e36a1c75d7b34df8c538480f7 Author: Guillem Jover Date: Fri Jun 20 01:10:06 2014 +0200 dpkg: On removal check Depends and Pre-Depends for unpacked packages Ignoring those dependencies for packages in unpacked and half-configured states does not improve their progress towards an installed state, it actually degrades it. debian/changelog | 2 ++ src/remove.c | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) commit 5bb02fe80e9f40dcad9703a72f67cf615ff217b5 Author: Guillem Jover Date: Thu Sep 13 21:34:43 2012 +0200 Add versioned Provides support - Add a new dpkg --assert-versioned-provides command. - Packages can provide a specific version, “virtual (= 1.0)” which will be honored, previously it would just be accepted when parsing. - Non-versioned virtual packages will not satisfy versioned dependencies. - Versioned virtual packages will satisfy non-versioned dependencies. This commit is very slightly based on the code reverted in commit 7df7d53a57b9913f4a20b2c9dcd554a2d88ff9f3, which was mostly skeletal. Closes: #7330, #24934, #112131, #134582, #180316 Based-on-patch-by: Ben Collins debian/changelog | 8 +++++ dselect/pkgdepcon.cc | 9 ++--- dselect/pkgsublist.cc | 6 ++-- lib/dpkg/depcon.c | 40 +++++++++++++++++++++ lib/dpkg/dpkg-db.h | 4 +++ src/depcon.c | 15 ++++---- src/enquiry.c | 12 +++++-- src/main.c | 3 +- src/main.h | 2 ++ src/packages.c | 97 ++++++++++++++++++++++++++++++++------------------- 10 files changed, 145 insertions(+), 51 deletions(-) commit 840d33bf1de3c65a54f87658b24be7f3e338b14c Author: Guillem Jover Date: Thu Jun 19 11:28:12 2014 +0200 dpkg: Do not write to the available file when unpacking binary packages This information is not useful as dpkg has never recorded the archive path, so it has never been truly available for re-installation anyway. Only write to it if recording the information from the binary package to the available file via --record-avail. debian/changelog | 3 +++ src/archives.c | 16 +++++++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) commit e4d6db177fad401ddc8432cf0e2c64e4fcf7bc0d Author: Guillem Jover Date: Thu Aug 12 03:26:05 2010 +0200 dpkg-statoverride: Do not abort when user and group names are unknown When parsing the statoverride database from dpkg-statoverride do not consider it an error and refuse to operate at all if the user or group names are not known to the system, just preserve them. Closes: #563307 debian/changelog | 3 +++ lib/dpkg/file.h | 5 +++++ src/archives.c | 2 +- src/filesdb.h | 7 ++++++- src/statcmd.c | 14 +++++++++++++- src/statdb.c | 32 +++++++++++++++++++++++++------- 6 files changed, 53 insertions(+), 10 deletions(-) commit b1f5d2251758c16678c1095b4d2c6be02c42f982 Author: Adam Conrad Date: Mon Jun 9 20:15:37 2014 +0200 Dpkg::Vendor::Debian: Do not disable stack-protector on arm64 The toolchain supports it now on arm64. Closes: #751032 Signed-off-by: Guillem Jover debian/changelog | 3 +++ scripts/Dpkg/Vendor/Debian.pm | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 92ab1bb69c3f251a2811015d94d1933b3b39e43a Author: Guillem Jover Date: Mon Jun 9 19:38:05 2014 +0200 libdpkg: Fix file triggers/Unincorp descriptor leak on subprocesses Regression introduced in commit 10440009b68f59eeed4cb1b56547e3cf356aa540, with the initial triggers implementation. Closes: #751021 debian/changelog | 3 +++ lib/dpkg/trigdeferred.l | 4 ++++ 2 files changed, 7 insertions(+) commit 73bc422dee4accae89e800d50cb79068e77a7c31 Author: Fredrik Fornwall Date: Thu Jun 19 01:40:37 2014 +0200 Replace obsolete with The standard location instead of is the preferred one since a long time (Changelog.old mentions this change being made in 1996). This patch fixes the two occurrences that have slipped through, making the includes consistent with other files in dpkg as well as fixing compiling on e.g. Android which lacks . Closes: #752036 Signed-off-by: Guillem Jover debian/changelog | 2 ++ lib/dpkg/trigdeferred.l | 3 ++- src/trigproc.c | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) commit 586439a2fbba72d474f2c621cfa8cadde04bf9bb Author: Guillem Jover Date: Sat Jun 7 15:44:40 2014 +0200 dpkg: Use filenamenodeflags enum instead of wrongly using fnnflags src/filesdb-hash.c | 2 +- src/filesdb.c | 2 +- src/filesdb.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) commit 3ffc86f96b84794a238881631acb3c4947e3c082 Author: Guillem Jover Date: Sun Jun 8 01:59:25 2014 +0200 libcompat: Add a setexecfilecon() function out from dpkg code This is now a fallback implementation in case libselinux is too old. debian/changelog | 1 + lib/compat/Makefile.am | 5 ++++ lib/compat/compat.h | 4 +++ lib/compat/selinux.c | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++ m4/dpkg-libs.m4 | 2 ++ src/script.c | 48 +----------------------------- 6 files changed, 94 insertions(+), 47 deletions(-) commit 5362b6e879ee26323d8257e474d4c94a2b242592 Author: Guillem Jover Date: Tue Nov 20 18:05:02 2012 +0100 dpkg: Use SELinux setexecfilecon() if available instead of ad-hoc code There's no point in duplicating all this code in dpkg, when this is provided now by libselinux. debian/changelog | 1 + m4/dpkg-libs.m4 | 4 ++++ src/script.c | 4 ++++ 3 files changed, 9 insertions(+) commit f1cdf4ad022189d3e840543bc2e854c67903b40b Author: Guillem Jover Date: Mon Jun 9 15:39:37 2014 +0200 dselect: Mark new and delete operators with new throw and noexcept macros Warned-by: clang++ dselect/main.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 633159444e2f0c8fe1e167aff56d70601168610a Author: Guillem Jover Date: Mon Jun 9 15:39:37 2014 +0200 libdpkg: Add DPKG_ATTR_THROW and DPKG_ATTR_NOEXCEPT macros lib/dpkg/macros.h | 8 ++++++++ 1 file changed, 8 insertions(+) commit 75a93afbe53d6d2554ed87abeb794a75373156fd Author: Guillem Jover Date: Sat Jun 7 12:41:23 2014 +0200 libcompat: Do not run qsort over the scandir list if it is NULL Warned-by: coverity debian/changelog | 1 + lib/compat/scandir.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 66c070b9b83ca500d2038252240540bc70edd922 Author: Guillem Jover Date: Sat Jun 7 12:26:39 2014 +0200 libcompat: Mark compat functions with attribute printf and vprintf We duplicate these macros here too so that we can quiesce some warnings when building the compatibility code. lib/compat/compat.h | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) commit 338374a655d6d8ca97196cc6bca80109d955b278 Author: Guillem Jover Date: Sat Jun 7 12:26:39 2014 +0200 libdpkg: Move __func__ and nullptr definitions to libcompat These are really compatibility macros for systems w/o the required compiler support. We need to duplicate the logic for LIBCOMPAT_GCC_VERSION, but for now we will keep that and DPKG_GCC_VERSION to avoid having to make compat.h a public header. lib/compat/compat.h | 21 +++++++++++++++++++++ lib/dpkg/macros.h | 13 ------------- 2 files changed, 21 insertions(+), 13 deletions(-) commit f45bc2de515013c983ee9e8f6898bd3119832fc1 Author: Guillem Jover Date: Sat Jun 7 12:26:32 2014 +0200 libcompat: Make the library testable This will allow us to guarantee the compatibility implementations at least build, and can eventually be tested. debian/changelog | 2 ++ lib/compat/Makefile.am | 15 ++++++++++- lib/compat/alphasort.c | 2 ++ lib/compat/asprintf.c | 2 ++ lib/compat/compat.h | 69 +++++++++++++++++++++++++++++++++++++------------- lib/compat/scandir.c | 2 ++ lib/compat/snprintf.c | 3 ++- lib/compat/strerror.c | 4 +++ lib/compat/strndup.c | 3 +-- lib/compat/strsignal.c | 2 ++ lib/compat/unsetenv.c | 2 ++ lib/compat/vasprintf.c | 2 ++ lib/compat/vsnprintf.c | 2 ++ 13 files changed, 88 insertions(+), 22 deletions(-) commit 5a7ed8dcb798baec356e48466ec4c5fa4754103e Author: Guillem Jover Date: Mon Jun 9 02:05:38 2014 +0200 build: Refactor compiler option checks into a new function m4/dpkg-compiler.m4 | 155 ++++++++++++++++++++++++++-------------------------- 1 file changed, 77 insertions(+), 78 deletions(-) commit a499612664a4047ecb0dca533038701f7691f489 Author: Guillem Jover Date: Sat Aug 9 00:54:13 2014 +0200 Update some dpkg git URLs to the new and newer (cgit switch) scheme README | 2 +- debian/changelog | 1 + debian/control | 2 +- man/deb-src-control.5 | 4 ++-- man/po/de.po | 8 ++++---- man/po/dpkg-man.pot | 4 ++-- man/po/es.po | 8 ++++---- man/po/fr.po | 8 ++++---- man/po/hu.po | 4 ++-- man/po/it.po | 8 ++++---- man/po/ja.po | 8 ++++---- man/po/pl.po | 8 ++++---- man/po/pt_BR.po | 4 ++-- man/po/ru.po | 4 ++-- man/po/sv.po | 8 ++++---- 15 files changed, 41 insertions(+), 40 deletions(-) commit 5904dc92b16a9dcadba1c3d35ea3d3ff1baf2e63 Author: Guillem Jover Date: Sat Jul 12 03:16:08 2014 +0200 Use https:// URLs instead of http:// when possible (round two) Switch more URLs, now that these services have had SSL enabled. README | 2 +- TODO | 2 +- debian/changelog | 5 ++++- debian/control | 2 +- dselect/methods/ftp/README.mirrors.txt | 2 +- dselect/po/es.po | 6 +++--- man/deb-origin.5 | 2 +- man/deb-src-control.5 | 2 +- man/dselect.1 | 2 +- man/po/de.po | 12 ++++++------ man/po/dpkg-man.pot | 6 +++--- man/po/es.po | 18 +++++++++--------- man/po/fr.po | 12 ++++++------ man/po/hu.po | 6 +++--- man/po/it.po | 12 ++++++------ man/po/ja.po | 12 ++++++------ man/po/pl.po | 12 ++++++------ man/po/pt_BR.po | 6 +++--- man/po/ru.po | 6 +++--- man/po/sv.po | 12 ++++++------ po/es.po | 6 +++--- scripts/Dpkg/Changelog/Debian.pm | 2 +- scripts/Dpkg/Source/Package/V2.pm | 2 +- scripts/Dpkg/Vendor.pm | 2 +- scripts/Dpkg/Vendor/Debian.pm | 2 +- scripts/po/es.po | 6 +++--- scripts/t/origins/debian | 2 +- 27 files changed, 82 insertions(+), 79 deletions(-) commit 9c66baec36b4d65e31e8122eac2baf2203def945 Author: Guillem Jover Date: Mon Jul 28 05:04:15 2014 +0200 Fix Spanish translation of dpkg-query -l header The uppercase letter hints got wrongly translated, and they were not matching the actual printed letters in the package columns output. Closes: #756209 debian/changelog | 1 + po/es.po | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) commit bb4ce52fcd386d080791ab2cf1e239675042f3db Author: Miguel Figueiredo Date: Sun Aug 3 20:09:51 2014 +0200 Update Portuguese programs translation Closes: #756920 Signed-off-by: Guillem Jover debian/changelog | 1 + po/pt.po | 1348 ++++++++++++++++++++++++++---------------------------- 2 files changed, 658 insertions(+), 691 deletions(-) commit d72c13b336ca62fe03ead86dc20a9c1d2e7a1e3b Author: Joe Dalton Date: Mon Jul 7 22:49:19 2014 +0200 Update Danish program translations [guillem@debian.org: - Fix format string. - Remove spurious trailing dot. ] Closes: #754127 Signed-off-by: Guillem Jover debian/changelog | 1 + po/da.po | 530 ++++++++++++++++--------------------------------------- 2 files changed, 156 insertions(+), 375 deletions(-) commit f7ecbfe89f9f8a8a3f410573047ff706327e77f2 Author: Jean-Baka Domelevo Entfellner Date: Fri Aug 8 10:49:23 2014 +0200 Update French program translations. With the help of Julien Patriarca. Reviewed-by: Raphaël Hertzog debian/changelog | 1 + po/fr.po | 1986 ++++++++---------------------------------------------- 2 files changed, 264 insertions(+), 1723 deletions(-) commit 9219282872e21800fefaee643d97035c85bc2e85 Author: Guillem Jover Date: Wed Jul 16 18:06:58 2014 +0200 t-provides: Add test cases for upgrading the providing package t-provides/Makefile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) commit 94a46c91ea60076e2b593bba8ec661dd95d3d753 Author: Guillem Jover Date: Mon Jul 14 01:21:48 2014 +0200 Use package status functions instead of using ad-hoc code t-conffile-replaces-disappear/Makefile | 10 +++++----- t-conffile-replaces-downgrade/Makefile | 4 ++-- t-conffile-replaces-existing-and-upgrade/Makefile | 4 ++-- t-conffile-replaces-existing/Makefile | 4 ++-- t-conffile-replaces-upgrade/Makefile | 4 ++-- t-conffile-replaces/Makefile | 4 ++-- t-conffile-versioned-replaces-downgrade/Makefile | 4 ++-- t-control-bogus/Makefile | 4 ++-- t-deb-lfs/Makefile | 4 ++-- t-deb-split/Makefile | 2 +- t-dir-shared-replaces-lost/Makefile | 4 ++-- t-disappear-depended/Makefile | 4 ++-- t-disappear-empty/Makefile | 4 ++-- t-failinst-failrm/Makefile | 2 +- t-field-priority/Makefile | 5 ++--- t-file-replaces-disappear/Makefile | 10 +++++----- t-file-replaces-versioned/Makefile | 4 ++-- t-file-replaces/Makefile | 4 ++-- t-multiarch/Makefile | 12 ++++++------ t-normal/Makefile | 2 +- t-option-dry-run/Makefile | 2 +- t-unpack-device/Makefile | 2 +- t-unpack-divert-hardlink/Makefile | 2 +- t-unpack-fifo/Makefile | 2 +- t-unpack-hardlink/Makefile | 2 +- t-unpack-symlink/Makefile | 2 +- 26 files changed, 53 insertions(+), 54 deletions(-) commit 9fbe1fe2e4fa746c1c7cbe1c16837b475b6c5904 Author: Guillem Jover Date: Fri Jun 20 13:30:07 2014 +0200 t-failinst-failrm: Upgrade to a fixed package to be able to purge Removes a dubious «dpkg-query --control-path» usage. t-failinst-failrm/Makefile | 10 ++++------ .../DEBIAN/control | 1 - .../DEBIAN/postinst | 2 +- .../DEBIAN/prerm | 3 +-- .../DEBIAN/control | 7 ++----- 5 files changed, 8 insertions(+), 15 deletions(-) commit 9f833d25c9700c14f032c850d807433a14759015 Author: Guillem Jover Date: Fri Jun 20 13:29:25 2014 +0200 t-depends-versioned: Merge into t-depends Makefile | 1 - t-depends-versioned/Makefile | 61 --------------------- t-depends/Makefile | 63 +++++++++++++++++++++- .../pkg-depends-eq/DEBIAN/control | 0 .../pkg-depends-ge/DEBIAN/control | 0 .../pkg-depends-gt/DEBIAN/control | 0 .../pkg-depends-le/DEBIAN/control | 0 .../pkg-depends-lt/DEBIAN/control | 0 .../pkg-version-1/DEBIAN/control | 0 .../pkg-version-2/DEBIAN/control | 0 .../pkg-version-3/DEBIAN/control | 0 11 files changed, 61 insertions(+), 64 deletions(-) commit 4534d62788d194d8d89adeef446eb47c1c3ecf3a Author: Guillem Jover Date: Fri Jun 20 00:26:00 2014 +0200 t-provides: Add versioned provides tests t-provides/Makefile | 242 ++++++++++++++++++++- .../{pkg-provides => pkg-breaks-eq}/DEBIAN/control | 6 +- .../{pkg-provides => pkg-breaks-ge}/DEBIAN/control | 6 +- .../{pkg-provides => pkg-breaks-le}/DEBIAN/control | 6 +- .../{pkg-provides => pkg-breaks}/DEBIAN/control | 6 +- t-provides/pkg-conflicts-eq/DEBIAN/control | 8 + t-provides/pkg-conflicts-ge/DEBIAN/control | 8 + t-provides/pkg-conflicts-le/DEBIAN/control | 8 + .../{pkg-provides => pkg-conflicts}/DEBIAN/control | 6 +- t-provides/pkg-depends-eq/DEBIAN/control | 8 + t-provides/pkg-depends-ge/DEBIAN/control | 8 + t-provides/pkg-depends-le/DEBIAN/control | 8 + t-provides/pkg-predepends-eq/DEBIAN/control | 8 + t-provides/pkg-predepends-ge/DEBIAN/control | 8 + t-provides/pkg-predepends-le/DEBIAN/control | 8 + t-provides/pkg-predepends/DEBIAN/control | 8 + t-provides/pkg-provides-10-20/DEBIAN/control | 8 + .../DEBIAN/control | 6 +- .../DEBIAN/control | 6 +- t-provides/pkg-provides/DEBIAN/control | 2 +- 20 files changed, 345 insertions(+), 29 deletions(-) commit b00595133427f55d62cff8eb3b19249344e139d1 Author: Guillem Jover Date: Fri Jun 20 10:32:53 2014 +0200 t-depends-provides: Rename to t-provides Makefile | 2 +- {t-depends-provides => t-provides}/Makefile | 0 {t-depends-provides => t-provides}/pkg-depends/DEBIAN/control | 0 {t-depends-provides => t-provides}/pkg-provides/DEBIAN/control | 0 4 files changed, 1 insertion(+), 1 deletion(-) commit 7fc5e632a0b57218f40ce58b7185cb49bfefd0aa Author: Guillem Jover Date: Fri Jun 20 00:30:40 2014 +0200 t-provides-arch-implicit: Add new test case t-provides-arch-implicit/Makefile | 4 ++++ 1 file changed, 4 insertions(+) commit ccc8035e588b814d20b81a788132076489462be3 Author: Guillem Jover Date: Fri Jun 20 00:27:17 2014 +0200 build: Enable t-triggers-depends Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f1835372c19c9c4f56de5a871052e1b73e5fd97a Author: Guillem Jover Date: Fri Jun 20 00:47:11 2014 +0200 build: Remove xz compressed source packages The default has changed some time ago, so we should handle that now. Test.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6f84a47a24bbc79332a0db9819b9df72c4a06970 Author: Guillem Jover Date: Fri Jun 20 00:28:17 2014 +0200 build: Export PATH Test.mk | 1 + 1 file changed, 1 insertion(+) commit 2a3bccdefc1ed77b653377f4276542890096e0e5 Author: Peter Krefting Date: Sat Jun 14 21:00:35 2014 +0100 Update Swedish translation man/po/sv.po: 2258t0f0u po/sv.po: 1090t0f0u scripts/po/sv.po: 542t0f0u debian/changelog | 9 + man/po/sv.po | 518 ++++++++++++++++++++----------------------------------- po/sv.po | 65 ++----- scripts/po/sv.po | 49 ++---- 4 files changed, 224 insertions(+), 417 deletions(-) commit 4006ec7c774a2c866dce6abf8e661a11cbc50fdd Author: Guillem Jover Date: Thu Jun 5 20:49:38 2014 +0200 Bump version to 1.17.11 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit e0d235697883fc71720e831a2cf53c987b2f121e Author: Guillem Jover Date: Thu Jun 5 13:40:24 2014 +0200 Release 1.17.10 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0d306fa1a499401a3a0939d5fe47a30bbd827e3d Author: Guillem Jover Date: Thu Jun 5 13:53:56 2014 +0200 Regenerate .pot files and merge .po files with them dselect/po/bs.po | 58 +-- dselect/po/ca.po | 58 +-- dselect/po/cs.po | 58 +-- dselect/po/da.po | 58 +-- dselect/po/de.po | 58 +-- dselect/po/dselect.pot | 60 +-- dselect/po/el.po | 58 +-- dselect/po/es.po | 58 +-- dselect/po/et.po | 58 +-- dselect/po/eu.po | 58 +-- dselect/po/fr.po | 58 +-- dselect/po/gl.po | 58 +-- dselect/po/hu.po | 58 +-- dselect/po/id.po | 58 +-- dselect/po/it.po | 58 +-- dselect/po/ja.po | 58 +-- dselect/po/ko.po | 58 +-- dselect/po/nb.po | 58 +-- dselect/po/nl.po | 58 +-- dselect/po/nn.po | 58 +-- dselect/po/pl.po | 58 +-- dselect/po/pt.po | 58 +-- dselect/po/pt_BR.po | 58 +-- dselect/po/ro.po | 58 +-- dselect/po/ru.po | 58 +-- dselect/po/sk.po | 58 +-- dselect/po/sv.po | 58 +-- dselect/po/tl.po | 58 +-- dselect/po/vi.po | 58 +-- dselect/po/zh_CN.po | 58 +-- dselect/po/zh_TW.po | 58 +-- man/po/dpkg-man.pot | 1045 +++++++++++++++++++++++-------------------- man/po/es.po | 1098 +++++++++++++++++++++++++-------------------- man/po/fr.po | 1098 +++++++++++++++++++++++++-------------------- man/po/hu.po | 1074 ++++++++++++++++++++++++-------------------- man/po/it.po | 1134 ++++++++++++++++++++++++++-------------------- man/po/ja.po | 1098 +++++++++++++++++++++++++-------------------- man/po/pl.po | 1101 +++++++++++++++++++++++++-------------------- man/po/pt_BR.po | 1083 ++++++++++++++++++++++++-------------------- man/po/ru.po | 1083 ++++++++++++++++++++++++-------------------- man/po/sv.po | 1140 +++++++++++++++++++++++++++-------------------- po/ast.po | 1002 ++++++++++++++++++++--------------------- po/bs.po | 986 ++++++++++++++++++++-------------------- po/ca.po | 992 ++++++++++++++++++++--------------------- po/cs.po | 992 ++++++++++++++++++++--------------------- po/da.po | 992 ++++++++++++++++++++--------------------- po/de.po | 992 ++++++++++++++++++++--------------------- po/dpkg.pot | 988 ++++++++++++++++++++-------------------- po/dz.po | 998 ++++++++++++++++++++--------------------- po/el.po | 1002 ++++++++++++++++++++--------------------- po/eo.po | 992 ++++++++++++++++++++--------------------- po/es.po | 992 ++++++++++++++++++++--------------------- po/et.po | 998 ++++++++++++++++++++--------------------- po/eu.po | 998 ++++++++++++++++++++--------------------- po/fr.po | 992 ++++++++++++++++++++--------------------- po/gl.po | 1000 ++++++++++++++++++++--------------------- po/hu.po | 998 ++++++++++++++++++++--------------------- po/id.po | 1000 ++++++++++++++++++++--------------------- po/it.po | 991 ++++++++++++++++++++-------------------- po/ja.po | 994 ++++++++++++++++++++--------------------- po/km.po | 998 ++++++++++++++++++++--------------------- po/ko.po | 1002 ++++++++++++++++++++--------------------- po/ku.po | 992 ++++++++++++++++++++--------------------- po/lt.po | 998 ++++++++++++++++++++--------------------- po/mr.po | 998 ++++++++++++++++++++--------------------- po/nb.po | 1000 ++++++++++++++++++++--------------------- po/ne.po | 1000 ++++++++++++++++++++--------------------- po/nl.po | 1000 ++++++++++++++++++++--------------------- po/nn.po | 1000 ++++++++++++++++++++--------------------- po/pa.po | 992 ++++++++++++++++++++--------------------- po/pl.po | 994 ++++++++++++++++++++--------------------- po/pt.po | 992 ++++++++++++++++++++--------------------- po/pt_BR.po | 998 ++++++++++++++++++++--------------------- po/ro.po | 1000 ++++++++++++++++++++--------------------- po/ru.po | 992 ++++++++++++++++++++--------------------- po/sk.po | 992 ++++++++++++++++++++--------------------- po/sv.po | 992 ++++++++++++++++++++--------------------- po/th.po | 992 ++++++++++++++++++++--------------------- po/tl.po | 1002 ++++++++++++++++++++--------------------- po/vi.po | 992 ++++++++++++++++++++--------------------- po/zh_CN.po | 998 ++++++++++++++++++++--------------------- po/zh_TW.po | 992 ++++++++++++++++++++--------------------- scripts/po/ca.po | 242 +++++----- scripts/po/de.po | 4 +- scripts/po/dpkg-dev.pot | 241 +++++----- scripts/po/es.po | 262 ++++++----- scripts/po/fr.po | 262 ++++++----- scripts/po/pl.po | 262 ++++++----- scripts/po/ru.po | 262 ++++++----- scripts/po/sv.po | 262 ++++++----- 90 files changed, 28410 insertions(+), 26956 deletions(-) commit bb2fe22738675a5a92d65aad03efcc73efd3a368 Author: Guillem Jover Date: Thu May 22 00:47:05 2014 +0200 scripts: Add test case for patch disabling hunks This does not pose any security issue, as the hunk parser is strict, and will reject a patch if it considers that the hunk marker is not present. debian/changelog | 1 + scripts/Makefile.am | 1 + scripts/t/Dpkg_Source_Patch.t | 5 ++++- scripts/t/Dpkg_Source_Patch/ghost-hunk.patch | 7 +++++++ 4 files changed, 13 insertions(+), 1 deletion(-) commit 5348cbc981a65c3c9b05bb4d13553bda930c2d78 Author: Guillem Jover Date: Fri May 2 01:41:18 2014 +0200 Dpkg::Source::Patch: Fix patch header parsing to avoid directory traversals The code parsing the patches was not taking into account that patches w/ partial or no pathname headers are still valid patches, and that they can specify the pathname in the Index: pseudo-header or in a single «+++ » pathname header, which allows doing directory traversal when unpacking source packages. The first vector is due to how the Index: pseudo-header is handled by patch. Its value gets used (on non-POSIX mode) only when both «+++ » and «--- » pathname headers do not provide a pathname, by either having an empty pathname or by the header being completely absent. The minimal fix for this is to just consider that we've parsed the header when we see a hunk header marker «@@ -». This is CVE-2014-3865 and #749183. The other vector is due to patches with only a «+++ » pathname header, which get skipped by the parser as it only checks for «--- » pathname header lines. The minimal fix for this is to also check for «+++ » when parsing the patch header. This is CVE-2014-3864 and #746498. The first issue is a superset of the second, and its fix is sufficient and covers and fixes too the second vector, as the «@@ -» marker is mandatory for a patch to be valid. An unspecified directory traversal vulnerability was initially reported in #746498 by Javier Serrano Polo , and while no information had been provided, I independently found #749183 and what was supposed to be #746498, which was later on published. Fixes: CVE-2014-3864, CVE-2014-3865 Closes: #746498, #749183 debian/changelog | 7 +++++++ scripts/Dpkg/Source/Patch.pm | 2 +- scripts/Makefile.am | 4 ++++ scripts/t/Dpkg_Source_Patch.t | 16 +++++++++++++++- scripts/t/Dpkg_Source_Patch/index-+++.patch | 4 ++++ scripts/t/Dpkg_Source_Patch/index-alone.patch | 3 +++ scripts/t/Dpkg_Source_Patch/index-inert.patch | 8 ++++++++ scripts/t/Dpkg_Source_Patch/partial.patch | 3 +++ 8 files changed, 45 insertions(+), 2 deletions(-) commit dbb9cc36ae606bc5cbdb81baae02b9067913d143 Author: Guillem Jover Date: Fri May 2 00:09:43 2014 +0200 scripts: Add test cases for C-style encoded pathnames in patches This covers the directory traversal issues from CVE-2014-0471 and CVE-2014-3127. debian/changelog | 1 + scripts/Makefile.am | 1 + scripts/t/Dpkg_Source_Patch.t | 30 ++++++++++++++++++++++++++++-- scripts/t/Dpkg_Source_Patch/c-style.patch | 4 ++++ 4 files changed, 34 insertions(+), 2 deletions(-) commit 82f803592c55e5505f8d8e66ed6b011f03a6ba45 Author: Guillem Jover Date: Wed Jun 4 20:25:16 2014 +0200 debian: Update changelog entry for #746306 bug fix (CVE-2014-0471) Add attribution for the reporter, and a reference to the newly assigned CVE-2014-3127. debian/changelog | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 5eecc35eaf9075d72541d3f5ddd7b7fb6d33b8de Author: Guillem Jover Date: Wed Jun 4 09:21:07 2014 +0200 s-s-d: Add DragonFlyBSD support Closes: #734452 Based-on-patch-by: Hleb Valoshka <375gnu@gmail.com> debian/changelog | 2 ++ utils/start-stop-daemon.c | 13 +++++++++++++ 2 files changed, 15 insertions(+) commit 03a46a0abffc5379847bbe067eae9633b97e9a64 Author: Hleb Valoshka <375gnu@gmail.com> Date: Wed Jun 4 08:51:26 2014 +0200 Add support for DragonFlyBSD to ostable and triplettable Signed-off-by: Guillem Jover debian/changelog | 2 ++ ostable | 1 + triplettable | 1 + 3 files changed, 4 insertions(+) commit 397448b7486b14ce3d844743c71e277a0b086141 Author: Guillem Jover Date: Thu Jun 5 20:04:19 2014 +0200 Dpkg::Control::HashCore: Only skip actual empty first line field values Regression introduced in commit c2ee90f92ab6c915db774403414b2ea70c967c3e. We need to check if the value is empty, not if it's false. Add a regression test. scripts/Dpkg/Control/HashCore.pm | 2 +- scripts/t/Dpkg_Control.t | 4 +++- scripts/t/Dpkg_Control/control-1 | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) commit 37b310bad3ba96ce14a9a81875e4130d06b8968b Author: Helge Kreutzmann Date: Wed Jun 4 20:44:45 2014 +0200 Update German translation of manual pages Update to 2258t. man/po/de.po | 566 ++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 312 insertions(+), 254 deletions(-) commit ddde22c33c712d40ab26a76e0b08515ef69b45d2 Author: Helge Kreutzmann Date: Wed Jun 4 20:33:29 2014 +0200 Update German scripts translation Update to 542t. scripts/po/de.po | 96 +++++++++++++++++++++++++++++--------------------------- 1 file changed, 50 insertions(+), 46 deletions(-) commit 63b138afa6ca41ff33c3a282187bd2de1826c489 Author: Guillem Jover Date: Mon Jun 2 06:37:29 2014 +0200 libdpkg: Uppercase and namespace pkgstatus enum values dselect/pkgcmds.cc | 10 ++++---- dselect/pkgdepcon.cc | 16 ++++++------ dselect/pkglist.cc | 36 +++++++++++++------------- lib/dpkg/dbmodify.c | 6 ++--- lib/dpkg/dpkg-db.h | 16 ++++++------ lib/dpkg/dump.c | 30 +++++++++++----------- lib/dpkg/parse.c | 41 +++++++++++++++--------------- lib/dpkg/pkg-db.c | 2 +- lib/dpkg/pkg-namevalue.c | 16 ++++++------ lib/dpkg/pkg.c | 8 +++--- lib/dpkg/test/t-pkginfo.c | 38 ++++++++++++++-------------- lib/dpkg/triglib.c | 14 +++++------ lib/dpkg/trignote.c | 6 ++--- src/archives.c | 14 +++++------ src/cleanup.c | 10 ++++---- src/configure.c | 25 +++++++++--------- src/depcon.c | 61 +++++++++++++++++++++++--------------------- src/enquiry.c | 38 ++++++++++++++++------------ src/filesdb.c | 6 ++--- src/help.c | 16 ++++++------ src/infodb-upgrade.c | 2 +- src/main.c | 2 +- src/packages.c | 39 +++++++++++++++-------------- src/querycmd.c | 15 +++++------ src/remove.c | 31 ++++++++++++----------- src/script.c | 10 ++++---- src/select.c | 3 ++- src/trigproc.c | 26 +++++++++---------- src/unpack.c | 64 ++++++++++++++++++++++++----------------------- src/verify.c | 2 +- 30 files changed, 311 insertions(+), 292 deletions(-) commit 8fc618ad8e8df6efbcd52c5d96500f65e9c1b8db Author: Guillem Jover Date: Mon Jun 2 01:00:25 2014 +0200 libdpkg: Uppercase and namespace pkgpriority enum values dpkg-deb/build.c | 2 +- dselect/pkgcmds.cc | 4 ++-- dselect/pkglist.cc | 14 +++++++------- dselect/pkglist.h | 3 ++- dselect/pkgtop.cc | 10 +++++----- lib/dpkg/dpkg-db.h | 16 ++++++++-------- lib/dpkg/dump.c | 4 ++-- lib/dpkg/fields.c | 2 +- lib/dpkg/parse.c | 6 +++--- lib/dpkg/pkg-namevalue.c | 14 +++++++------- lib/dpkg/pkg-show.c | 2 +- lib/dpkg/pkg.c | 2 +- src/querycmd.c | 2 +- 13 files changed, 41 insertions(+), 40 deletions(-) commit 224d0246bb59e5066de6693a18bf8654dafa135d Author: Guillem Jover Date: Mon Jun 2 00:52:37 2014 +0200 libdpkg: Uppercase and namespace pkgeflag enum values dselect/pkgdepcon.cc | 4 ++-- lib/dpkg/dpkg-db.h | 4 ++-- lib/dpkg/dump.c | 2 +- lib/dpkg/parse.c | 4 ++-- lib/dpkg/pkg-namevalue.c | 4 ++-- lib/dpkg/pkg.c | 6 +++--- lib/dpkg/test/t-pkginfo.c | 12 ++++++------ src/archives.c | 4 ++-- src/cleanup.c | 14 +++++++------- src/configure.c | 2 +- src/enquiry.c | 4 ++-- src/remove.c | 2 +- src/unpack.c | 4 ++-- 13 files changed, 33 insertions(+), 33 deletions(-) commit 2240b13459eb24c653a0c1d88987076cfaaf19ef Author: Guillem Jover Date: Mon Jun 2 00:48:45 2014 +0200 libdpkg: Uppercase and namespace pkgwant enum values dselect/pkgcmds.cc | 28 ++++++++++++++-------------- dselect/pkgdepcon.cc | 14 +++++++------- dselect/pkglist.cc | 12 ++++++------ lib/dpkg/dpkg-db.h | 12 ++++++------ lib/dpkg/dump.c | 2 +- lib/dpkg/parse.c | 12 ++++++------ lib/dpkg/pkg-namevalue.c | 10 +++++----- lib/dpkg/pkg.c | 4 ++-- lib/dpkg/test/t-pkginfo.c | 4 ++-- src/archives.c | 5 +++-- src/enquiry.c | 4 ++-- src/errors.c | 3 ++- src/packages.c | 8 ++++---- src/querycmd.c | 2 +- src/remove.c | 14 +++++++------- src/select.c | 5 +++-- src/unpack.c | 4 ++-- 17 files changed, 73 insertions(+), 70 deletions(-) commit befc7844fd6273c56405f0714af3ea4eab44dcf1 Author: Guillem Jover Date: Mon Jun 2 00:38:57 2014 +0200 libdpkg: Uppercase and namespace pkgmultiarch enum values lib/dpkg/depcon.c | 4 ++-- lib/dpkg/dpkg-db.h | 8 ++++---- lib/dpkg/parse.c | 16 ++++++++-------- lib/dpkg/pkg-namevalue.c | 8 ++++---- lib/dpkg/pkg-show.c | 2 +- lib/dpkg/pkg.c | 4 ++-- src/archives.c | 6 +++--- src/infodb-access.c | 2 +- src/infodb-format.c | 2 +- src/infodb-upgrade.c | 2 +- src/unpack.c | 8 ++++---- 11 files changed, 31 insertions(+), 31 deletions(-) commit 132e2b9266aae80a207720127c1f96c5719aec43 Author: Guillem Jover Date: Wed May 28 01:28:21 2014 +0200 dpkg: Uppercase and namespace color cycle enum values The current names are way too generic, and prone to collide with actual color variables or similar. src/depcon.c | 8 ++++---- src/filesdb.c | 2 +- src/main.h | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) commit f29cb1dbe37379680189f88c1bd0517ecfe1c34c Author: Guillem Jover Date: Wed May 28 01:27:07 2014 +0200 libdpkg: Uppercase and reword pkg_spec_flags enum values lib/dpkg/pkg-spec.c | 20 ++++++++++---------- lib/dpkg/pkg-spec.h | 8 ++++---- src/querycmd.c | 4 ++-- src/select.c | 2 +- 4 files changed, 17 insertions(+), 17 deletions(-) commit d504365c196426bb9475c4a3b82f5abadfcabbc9 Author: Guillem Jover Date: Wed May 28 01:25:58 2014 +0200 dpkg-divert: Uppercase file_stat enum values src/divertcmd.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit cb6a7683285dd7af9074cce1c6503a61d65feff1 Author: Guillem Jover Date: Wed May 28 01:24:22 2014 +0200 dpkg: Uppercase pkg_infodb_format enum values src/infodb-access.c | 4 ++-- src/infodb-format.c | 12 ++++++------ src/infodb-upgrade.c | 4 ++-- src/infodb.h | 10 +++++----- 4 files changed, 15 insertions(+), 15 deletions(-) commit 2c1c66b8bd3399505c52e2e393b768e05b622818 Author: Guillem Jover Date: Wed May 28 01:21:56 2014 +0200 dpkg: Uppercase and namespace filesdb_load_status enum and values src/filesdb.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 3fc4c7daf22817ae42c586d3c34d39b1be3ab252 Author: Guillem Jover Date: Wed May 28 01:20:34 2014 +0200 dpkg: Uppercase, namespace and reword istobe enum type and values src/archives.c | 15 ++++++++------- src/configure.c | 4 ++-- src/depcon.c | 56 +++++++++++++++++++++++++++++++------------------------- src/enquiry.c | 13 +++++++------ src/filesdb.c | 3 ++- src/help.c | 4 ++-- src/main.h | 14 +++++++------- src/packages.c | 23 +++++++++++++++-------- src/remove.c | 11 ++++++----- src/unpack.c | 12 ++++++------ 10 files changed, 86 insertions(+), 69 deletions(-) commit 8db1203bde0dd87a12633b999abe5840095fe60c Author: Guillem Jover Date: Wed May 28 01:17:51 2014 +0200 dpkg: Uppercase conffopt enum values and split words with underscore Also rename userrmd to USER_DEL. src/configure.c | 92 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) commit 9251c6e31b96a784db2f53784c921ec206efd8a3 Author: Guillem Jover Date: Wed May 28 01:18:19 2014 +0200 libdpkg: Uppercase trig_options enum values lib/dpkg/triglib.c | 20 ++++++++++---------- lib/dpkg/triglib.h | 5 +++-- 2 files changed, 13 insertions(+), 12 deletions(-) commit b22d8a95e38e187cf0e4e870cb892b42cca57ebd Author: Guillem Jover Date: Wed May 28 00:57:51 2014 +0200 libdpkg: Uppercase trigdef enum values and separate words with underscores lib/dpkg/trigdeferred.h | 27 ++++++++++++++------------- lib/dpkg/trigdeferred.l | 29 +++++++++++++++-------------- lib/dpkg/triglib.c | 22 +++++++++++----------- src/trigcmd.c | 18 +++++++++--------- 4 files changed, 49 insertions(+), 47 deletions(-) commit 8d49206ec2887e0c726efea4dafe874211fbc045 Author: Guillem Jover Date: Wed May 28 01:30:30 2014 +0200 dpkg: Uppercase found_status enum values src/packages.c | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) commit b9bb0fa75fceafbba983dfdc221274c9f0991abf Author: Guillem Jover Date: Wed May 28 00:56:09 2014 +0200 dpkg: Uppercase dep_check enum values src/configure.c | 6 +++--- src/main.h | 6 +++--- src/packages.c | 16 ++++++++-------- src/remove.c | 14 +++++++------- 4 files changed, 21 insertions(+), 21 deletions(-) commit 72ba255678a0f4b940a7cc9d3f71d716077e9758 Author: Guillem Jover Date: Wed May 28 00:55:29 2014 +0200 dpkg-split: Uppercase and reword discard_which enum values Use the more meaningful DISCARD_PART_ prefix instead of the cryptic and now confusing DS_ one (previously coming from the discardsome() function). dpkg-split/queue.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit a89ceee852b90de13977026701e818feaf06afc5 Author: Guillem Jover Date: Wed May 28 00:54:51 2014 +0200 u-a: Uppercase altdb_flags enum values utils/update-alternatives.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 91e2cc2b7434a101dde71f3725d358b4ccbfda66 Author: Guillem Jover Date: Wed May 28 00:54:35 2014 +0200 u-a: Uppercase opcode enum values utils/update-alternatives.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 1052bbc02aac04c4d45a2d6b87d0ed538af840d7 Author: Guillem Jover Date: Wed May 28 00:54:14 2014 +0200 s-s-d: Uppercase status_code enum values utils/start-stop-daemon.c | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) commit 1dda27ffd3d162280d5e7d09fa1f1d214f4c775e Author: Guillem Jover Date: Wed May 28 00:53:08 2014 +0200 s-s-d: Uppercase action_code enum values utils/start-stop-daemon.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) commit 670c99fbcd993f1e3a8236bd38ac664f8b5658dd Author: Guillem Jover Date: Wed May 28 00:51:46 2014 +0200 libdpkg: Uppercase and expand atomic_file_flags enum values lib/dpkg/atomic-file.c | 4 ++-- lib/dpkg/atomic-file.h | 4 ++-- lib/dpkg/dump.c | 2 +- src/divertcmd.c | 2 +- src/statcmd.c | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) commit 0bac29bc7ceb5e8eb7816a61720dc7ae1e4fe693 Author: Guillem Jover Date: Wed May 28 00:51:01 2014 +0200 libdpkg: Uppercase dpkg_relation enum values dselect/pkgdepcon.cc | 2 +- dselect/pkgsublist.cc | 14 +++++++------- lib/dpkg/dump.c | 12 ++++++------ lib/dpkg/fields.c | 16 ++++++++-------- lib/dpkg/test/t-version.c | 34 +++++++++++++++++----------------- lib/dpkg/version.c | 15 ++++++++------- lib/dpkg/version.h | 14 +++++++------- src/depcon.c | 6 +++--- src/enquiry.c | 4 ++-- src/packages.c | 8 ++++---- src/unpack.c | 2 +- 11 files changed, 64 insertions(+), 63 deletions(-) commit d3d70a975903a567c799b3f05f2cc4521a497dbf Author: Guillem Jover Date: Wed May 28 00:49:11 2014 +0200 libdpkg: Uppercase and namespace dpkg_arch_type enum values dpkg-deb/build.c | 2 +- lib/dpkg/arch.c | 51 +++++++++++++++++++++++---------------------- lib/dpkg/arch.h | 18 ++++++++-------- lib/dpkg/depcon.c | 11 +++++----- lib/dpkg/dump.c | 4 ++-- lib/dpkg/fields.c | 8 ++++---- lib/dpkg/parse.c | 16 ++++++++------- lib/dpkg/pkg-db.c | 8 ++++---- lib/dpkg/pkg-show.c | 6 +++--- lib/dpkg/pkg-spec.c | 15 +++++++------- lib/dpkg/pkg.c | 6 +++--- lib/dpkg/test/t-arch.c | 56 +++++++++++++++++++++++++------------------------- src/divertcmd.c | 4 ++-- src/enquiry.c | 10 ++++----- src/main.c | 8 ++++---- src/unpack.c | 11 +++++----- 16 files changed, 120 insertions(+), 114 deletions(-) commit 90d16af0604d35ca7d90921f5d59d685d3f2c560 Author: Guillem Jover Date: Wed May 28 00:39:13 2014 +0200 libdpkg: Uppercase tar related enum values lib/dpkg/tarfn.c | 52 +++++++++++++++++++++++------------------------ lib/dpkg/tarfn.h | 30 +++++++++++++-------------- src/archives.c | 62 ++++++++++++++++++++++++++++---------------------------- src/filters.c | 6 +++--- 4 files changed, 75 insertions(+), 75 deletions(-) commit 1c12ad9cfde5d73a952e64f977a2b96b8aea1f02 Author: Guillem Jover Date: Wed May 28 00:38:22 2014 +0200 libdpkg: Uppercase handler_type enum values lib/dpkg/ehandle.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit eb3c2635f919fdde7b0d65b5db8eded9a428a9a1 Author: Guillem Jover Date: Wed May 28 00:38:14 2014 +0200 libdpkg: Uppercase compressor enum values dpkg-deb/build.c | 6 +++--- dpkg-deb/extract.c | 12 +++++------ dpkg-deb/main.c | 18 ++++++++-------- lib/dpkg/compress.c | 62 ++++++++++++++++++++++++++--------------------------- lib/dpkg/compress.h | 28 ++++++++++++------------ m4/dpkg-build.m4 | 2 +- 6 files changed, 64 insertions(+), 64 deletions(-) commit 3031836bd08090a6998d121056e4617d073b3194 Author: Guillem Jover Date: Wed Jun 4 00:19:21 2014 +0200 build: Uppercase enum in C99 test code m4/dpkg-compiler.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6f5b608a28fbd67e1aa913897203b058dfa66abb Author: Guillem Jover Date: Wed May 28 00:36:52 2014 +0200 doc: Uppercase enum values in C coding style doc/coding-style.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c7ad73d0a95ed527e1efe013b97cf849f3af55e9 Author: Guillem Jover Date: Mon Jun 2 00:32:45 2014 +0200 Move enum definitions out of structs This untangles the types, and makes it possible to use functions that use such enums as arguments from C++ code, as otherwise the enum would need to be declared within the struct namespace. dselect/pkgcmds.cc | 63 +++++++++++++++++++++++---------------- dselect/pkgdepcon.cc | 35 +++++++++++----------- dselect/pkglist.cc | 65 ++++++++++++++++++++-------------------- dselect/pkglist.h | 19 ++++++------ dselect/pkgsublist.cc | 5 +++- dselect/pkgtop.cc | 11 +++---- lib/dpkg/dpkg-db.h | 82 ++++++++++++++++++++++++++++++--------------------- lib/dpkg/error.h | 14 +++++---- lib/dpkg/pkg-spec.h | 22 +++++++------- src/filesdb.h | 42 +++++++++++++------------- src/main.h | 24 ++++++++++----- 11 files changed, 216 insertions(+), 166 deletions(-) commit dc2edadf0bcb624eafbcd16c92aae7691180f7a4 Author: Guillem Jover Date: Mon Jun 2 14:48:12 2014 +0200 dpkg: Give names to anonymous public enums inside structs This will help once we move them out of the structs. src/filesdb.h | 4 ++-- src/main.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) commit cd852844bc2471834da1b5cba980ec2c62f717ee Author: Guillem Jover Date: Tue May 27 01:39:33 2014 +0200 Replace non-breaking spaces with ASCII spaces ChangeLog.old | 2 +- scripts/Dpkg/Source/Patch.pm | 2 +- scripts/dpkg-shlibdeps.pl | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) commit e6c1af78ae46aa989dcc16f90694f4bd15a1bc3e Author: Guillem Jover Date: Fri May 23 07:01:32 2014 +0200 dpkg: Add support for per-package --audit This allows to check for specific issues with a requested package. debian/changelog | 1 + man/dpkg.1 | 5 +++-- src/enquiry.c | 38 ++++++++++++++++++++++++++++---------- 3 files changed, 32 insertions(+), 12 deletions(-) commit c52a62fdf86b571f75c903523da5f5ea8bdb3c13 Author: Guillem Jover Date: Fri May 23 07:01:32 2014 +0200 libdpkg: Add new pkg_array_init_from_names() function lib/dpkg/libdpkg.map | 1 + lib/dpkg/pkg-array.c | 26 +++++++++++++++++++++++++- lib/dpkg/pkg-array.h | 6 +++++- 3 files changed, 31 insertions(+), 2 deletions(-) commit 07255ee8bfbef08b76f41842c63f9bd3f6dd9788 Author: Guillem Jover Date: Fri May 23 07:01:32 2014 +0200 libdpkg: Refactor dpkg_options_parse_pkgname() lib/dpkg/Makefile.am | 1 + lib/dpkg/libdpkg.map | 1 + lib/dpkg/options-parsers.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++ lib/dpkg/options.h | 5 +++++ po/POTFILES.in | 1 + src/main.c | 8 +------ src/packages.c | 8 +------ src/querycmd.c | 30 +++++--------------------- src/verify.c | 11 ++-------- 9 files changed, 70 insertions(+), 48 deletions(-) commit 25d6273c1ac34c2a63cb23358983fa2462a4f152 Author: Guillem Jover Date: Tue May 27 15:39:54 2014 +0200 dpkg: Use badusage() on illegal package names in --ignore-depends debian/changelog | 2 ++ src/main.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit b064e530891b7a193b717f848759663cd4a14e7e Author: Guillem Jover Date: Fri May 23 07:52:51 2014 +0200 dpkg: Rename audit variables to more generic names The checks are not about bad package status information anymore, update variable names to match reality. src/enquiry.c | 55 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 28 insertions(+), 27 deletions(-) commit 4efe5c9a025829e89b070f8689f5d8ca40d5e398 Author: Guillem Jover Date: Fri May 23 07:12:19 2014 +0200 dpkg(1): Document what --audit does nowadays The checks performed now are more than just checking for partially installed packages. debian/changelog | 2 ++ man/dpkg.1 | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) commit 5aa87f8bbd898081f5426ed4317c84a1b1ba7188 Author: Guillem Jover Date: Wed May 21 13:45:46 2014 +0200 deb(5): Add media type information Add current, just approved new media type and the previous now deprecated ones for reference. debian/changelog | 1 + man/deb.5 | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) commit 9e639d62c018ffe1d74b8c072732835acbc8852b Author: Guillem Jover Date: Sat May 31 10:31:56 2014 +0200 libdpkg: Add new pkg_priority_name() function lib/dpkg/dpkg-db.h | 2 ++ lib/dpkg/dump.c | 4 +--- lib/dpkg/libdpkg.map | 1 + lib/dpkg/pkg-show.c | 16 ++++++++++++++++ 4 files changed, 20 insertions(+), 3 deletions(-) commit f078b51a7d1a73716f322fcd3814fc025aa9d2cd Author: Guillem Jover Date: Mon May 19 12:56:04 2014 +0200 libdpkg, dpkg: Use new status to names mapping functions This gets rid of the need to export the statusinfos and wantinfos variables from libdpkg. lib/dpkg/dbmodify.c | 5 +++-- lib/dpkg/dump.c | 8 ++++---- lib/dpkg/libdpkg.map | 2 -- lib/dpkg/parse.c | 6 +++--- src/archives.c | 4 ++-- src/configure.c | 6 +++--- src/packages.c | 3 ++- src/select.c | 4 ++-- src/trigproc.c | 4 ++-- 9 files changed, 21 insertions(+), 21 deletions(-) commit 6f82877d87f7ef637b12cc8e2614bea58f3f081d Author: Guillem Jover Date: Mon May 19 09:20:16 2014 +0200 libdpkg: Add status to name mapping functions lib/dpkg/dpkg-db.h | 6 +++++- lib/dpkg/libdpkg.map | 3 +++ lib/dpkg/pkg-show.c | 41 ++++++++++++++++++++++++++++++++++++++++- 3 files changed, 48 insertions(+), 2 deletions(-) commit 8e2f4a98e014cf86483c55ea1bc0a7e0133ea8e6 Author: Guillem Jover Date: Mon May 19 09:19:30 2014 +0200 libdpkg: Move package name/value mappings to a new pkg-namevalue module This will allow other modules to use the tables, which are pretty much independent from any code, w/o pulling in the whole parsing code. lib/dpkg/Makefile.am | 1 + lib/dpkg/parsehelp.c | 52 -------------------------------- lib/dpkg/pkg-namevalue.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+), 52 deletions(-) commit f2ea976c0ae897d3ac640eb0c16a21249d2537bc Author: Guillem Jover Date: Mon Jun 2 14:28:59 2014 +0200 Dpkg::Source::Package::V2: Do not assume sensible-editor is present This command is very Debian specific, fallback to try to use VISUAL, EDITOR or vi if the previous are either unset or not found. debian/changelog | 3 +++ scripts/Dpkg/Source/Package/V2.pm | 12 ++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) commit c2ee90f92ab6c915db774403414b2ea70c967c3e Author: Guillem Jover Date: Fri May 23 15:49:01 2014 +0200 Dpkg::Control::HashCore: Do not emit trailing space on field empty first line This spurious space is unnecessary and takes a non-insignificant amount of disk space on archive index files for example. Update dpkg-dev Breaks on devscripts to version << 2.14.4, as previous versions of debchange expect a trailing space from dpkg-parsechangelog output. Closes: #749044 Based-on-patch-by: Johannes Schauer debian/changelog | 4 ++++ debian/control | 2 +- scripts/Dpkg/Control/HashCore.pm | 15 +++++++++------ scripts/t/Dpkg_Changelog.t | 8 ++++---- scripts/t/Dpkg_Control.t | 2 +- 5 files changed, 19 insertions(+), 12 deletions(-) commit 7ed4d813007158b956e493eb35b3645c96113e55 Author: Guillem Jover Date: Sun May 18 13:41:50 2014 +0200 debian: Quiesce tar warnings in cron job by redirecting stderr to /dev/null It seems that --warning=none does not completely quiesce GNU tar (see #749307), so unfortunately we have to end up using more drastic measures, by ignoring all of stderr for now. Closes: #748544 debian/changelog | 2 ++ debian/dpkg.cron.daily | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 012dbf88a913f562b4ab7901103a9549cdd4c8f6 Author: Guillem Jover Date: Mon Jun 2 00:48:23 2014 +0200 Update Catalan program translation debian/changelog | 1 + po/ca.po | 640 +++++++++++++++++-------------------------------------- 2 files changed, 194 insertions(+), 447 deletions(-) commit f051931a7b6aaa943ff75b2d275f25bc42a5b4e4 Author: Milo Casagrande Date: Sun Jun 1 19:24:21 2014 +0200 Update Italian program translation [guillem@debian.org: - Move package version (%s) besides package name %s. - Update missed translation. - Replace a ; with a :. - Fix few typos. ] Closes: #750105 Signed-off-by: Guillem Jover debian/changelog | 3 + po/it.po | 612 ++++++++++++++++--------------------------------------- 2 files changed, 178 insertions(+), 437 deletions(-) commit 6922608f5dcb0bbe9d6772a2e6b7cd58d1d5441a Author: Helge Kreutzmann Date: Sat May 17 17:34:57 2014 +0200 Update German translation of manual pages Update to 2251t. man/po/de.po | 744 ++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 410 insertions(+), 334 deletions(-) commit a9efe1746ac427b0db8997413b13cf1105093c1c Author: Helge Kreutzmann Date: Sat May 17 15:42:17 2014 +0200 Update German scripts translation Update to 541t. debian/changelog | 3 +++ 1 file changed, 3 insertions(+) commit 2b14470363c1d411411c5b03735b75650ae572f7 Author: Helge Kreutzmann Date: Sat May 17 15:40:59 2014 +0200 Update German scripts translation Update to 541t. scripts/po/de.po | 162 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 82 insertions(+), 80 deletions(-) commit 432295ab9dfced6ab98159b3442f50c69c0dea89 Author: Guillem Jover Date: Wed May 14 04:16:57 2014 +0200 Dpkg::Source::Quilt: Refactor register() and unregister() methods Refactor the code out from Dpkg::Source::Package::V3::Quilt into two new methods that take care of registering and unregistering a patch from the series and applied_patches in-core and on-disk lists. scripts/Dpkg/Source/Package/V3/Quilt.pm | 60 +--------------------------- scripts/Dpkg/Source/Quilt.pm | 69 +++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+), 58 deletions(-) commit 6b153d07845ebcc98b195d47d07638b21c43db29 Author: Guillem Jover Date: Sat May 17 03:34:04 2014 +0200 Dpkg::Source::Package::V3::Quilt: Handle series files with no final newline Do not mangle the series files when the last line is missing a newline, by loading and saving the file with the added patch. This is quite ugly in general, but fixes the immediate problem. The code will be getting a general overhaul in due time. Closes: #584233 debian/changelog | 2 ++ scripts/Dpkg/Source/Package/V3/Quilt.pm | 9 +++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) commit d8ec10fa65cee0fe67cf557bd48f18ac2442a5f6 Author: Guillem Jover Date: Sat May 17 03:33:04 2014 +0200 Dpkg::Source::Package::V3::Quilt: Refactor _load_file() scripts/Dpkg/Source/Package/V3/Quilt.pm | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit f2722da230af8b5581ebc208f68e6d2ccf6de3b6 Author: Guillem Jover Date: Wed May 14 04:00:41 2014 +0200 Dpkg::Source::Quilt: Rename write_db() to save_db() This is the normal counterpart to load actions. scripts/Dpkg/Source/Package/V3/Quilt.pm | 2 +- scripts/Dpkg/Source/Quilt.pm | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) commit 4f333e1c25e3316f895c82eda3689f6d8a074900 Author: Guillem Jover Date: Wed May 14 03:56:51 2014 +0200 Dpkg::Source::Quilt: Refactor write_patch_list() scripts/Dpkg/Source/Quilt.pm | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit 286ba89fa57931688d2950d9c10f49dc1226f310 Author: Guillem Jover Date: Sat May 17 01:14:32 2014 +0200 Dpkg::Source::Quilt: Add minimal test case debian/changelog | 1 + scripts/Makefile.am | 1 + scripts/t/Dpkg_Source_Quilt.t | 13 ++++++++++++- scripts/t/Dpkg_Source_Quilt/parse/debian/patches/series | 9 +++++++++ 4 files changed, 23 insertions(+), 1 deletion(-) commit c87941de954281a8aa66d032c85657f64bfe4dce Author: Guillem Jover Date: Thu May 15 04:08:44 2014 +0200 Dpkg::Deps::Multiple: Add profile_is_concerned() and reduce_profiles() methods These got missed in commit 7662e0937bb064a0754d12605d80a96a17e2aadf. The current dpkg code is not using those methods, but external programs might need them. debian/changelog | 3 +++ scripts/Dpkg/Deps.pm | 30 +++++++++++++++++++++++++++++- scripts/t/Dpkg_Deps.t | 19 ++++++++++++++++++- 3 files changed, 50 insertions(+), 2 deletions(-) commit f89c20f1fa074a46e9c3da9e5efa15bbfc56949d Author: Guillem Jover Date: Thu May 15 04:07:59 2014 +0200 Dpkg::Deps: Add test cases for OR relationships debian/changelog | 1 + scripts/t/Dpkg_Deps.t | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) commit a5b5f737990633e52fc9eea7684f9884bec6924b Author: Guillem Jover Date: Thu May 15 06:22:33 2014 +0200 Dpkg: Update and fix CHANGES POD sections Do not use actual POD =item, just normal paragraphs. Split items in different paragraphs. Sort versions in decreasing order. Document missing changes in public interfaces. Qualify methods with the variable. debian/changelog | 1 + scripts/Dpkg/BuildFlags.pm | 20 ++++++++++---------- scripts/Dpkg/Changelog/Entry/Debian.pm | 1 + scripts/Dpkg/Conf.pm | 6 ++++++ scripts/Dpkg/Control/HashCore.pm | 2 +- scripts/Dpkg/Deps.pm | 22 +++++++--------------- scripts/Dpkg/Exit.pm | 1 + scripts/Dpkg/Substvars.pm | 15 +++++++++++++++ 8 files changed, 42 insertions(+), 26 deletions(-) commit ad75cd9bdfb0a6322425206ab70882ad7d832125 Author: Guillem Jover Date: Thu May 15 06:26:22 2014 +0200 Dpkg::Deps: Bump VERSION to 1.03 This was missed in commit e8950d7e2d4a58f96c74782825e2edf7ceb583ca. debian/changelog | 1 + scripts/Dpkg/Deps.pm | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) commit 6e5a46ad3d085e9a187deb30934a22e6d618d9b7 Author: Guillem Jover Date: Thu May 15 06:09:50 2014 +0200 Dpkg::Path: Bump VERSION to 1.03 This was missed in commit eb4bb268ab954748d015626a216f46f632f2371a. debian/changelog | 2 ++ scripts/Dpkg/Path.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit a4e5d3da5d67cc485f124d7348b09cd539d91104 Author: Guillem Jover Date: Wed May 14 02:53:55 2014 +0200 dpkg-buildpackage: Add support for automatic parallel jobs selection This adds support to automatically set the number of jobs to be used by the build process to match the number of online processors, with the new -j argument «auto». It will try to infer the number of processors from getconf(1), but the system might not support the configuration variable, in which case it will fallback to not having any limit when passing the -j option to make. debian/changelog | 2 ++ man/dpkg-buildpackage.1 | 11 ++++++++--- scripts/dpkg-buildpackage.pl | 9 ++++++++- 3 files changed, 18 insertions(+), 4 deletions(-) commit aa9b18df5af6abacc40914aabccd765be74f7a4c Author: Guillem Jover Date: Tue May 13 23:57:59 2014 +0200 dpkg-buildpackage(1): Document that the -j argument is optional This was clear from the --help output, but not from the man page. debian/changelog | 1 + man/dpkg-buildpackage.1 | 16 +++++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) commit 789d2428488f481cef86661d445175ea8316be4f Author: Guillem Jover Date: Wed May 14 04:40:35 2014 +0200 dpkg-gensymbols(1): Improve symbols file maintenance documentation Add notes about checking for backwards compatibility. Closes: #746973 Based-on-patch-by: "Bernhard R. Link" debian/changelog | 3 +++ man/dpkg-gensymbols.1 | 17 +++++++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) commit 1e214262bb68c4c966fde9fbdbd671d781b9833e Author: Guillem Jover Date: Thu May 8 18:23:51 2014 +0200 dpkg-deb(1): Mention deprecation of bzip2 and lzma compressors debian/changelog | 1 + man/dpkg-deb.1 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit dad5ea1f6ebee41a47317a6e5df14fbcb3f2da5c Author: Guillem Jover Date: Thu May 8 18:20:34 2014 +0200 deb(5): Change control.tar.gz reference to simply control.tar debian/changelog | 1 + man/deb.5 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 6c6c62aaa1d83743672f4bd9f45bbda2bd8a85a3 Author: Guillem Jover Date: Mon May 5 06:31:37 2014 +0200 deb-src-control(5): Expand Vcs-* into each supported field This makes it easier to search for the fields in the man page. debian/changelog | 2 ++ man/deb-src-control.5 | 16 +++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) commit 0acc2cce961ad687ac5c64e8690c11eeec72dde2 Author: Guillem Jover Date: Mon May 12 20:24:41 2014 +0200 man: Remove spurious trailing space from msgstr This makes po4a emit a warning. man/po/de.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 46d7b70a2ddf31ca51aa768c37cb08b17e3890f3 Author: Guillem Jover Date: Tue May 6 01:32:17 2014 +0200 man: Attempt to clarify and improve wording of some strange constructs Reported-by: Helge Kreutzmann debian/changelog | 3 +++ man/dpkg-maintscript-helper.1 | 4 ++-- man/dpkg-query.1 | 8 ++++---- man/dpkg.1 | 10 +++++----- 4 files changed, 14 insertions(+), 11 deletions(-) commit a5b58e2c07de26c65e0f3d098cb5a7fc462984e1 Author: Helge Kreutzmann Date: Tue May 6 01:32:17 2014 +0200 man: Fix typo Signed-off-by: Guillem Jover man/dpkg-maintscript-helper.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1e5163809eff116ff1b34956562e1f6ec0bbf370 Author: Guillem Jover Date: Tue May 6 01:33:17 2014 +0200 perl: Fix unused capture groups false positives These are false positives, as when there's no match perl will leave the subpattern variables untouched. We'll just use the opportunity to unconfuse perlcritic, making some of those variable usages more clear by using intermediate variables. Fixes RegularExpressions::ProhibitUnusedCapture. Warned-by: perlcritic dselect/methods/ftp/install | 4 ++-- scripts/Dpkg/Control/HashCore.pm | 11 ++++++----- scripts/Dpkg/Shlibs/Objdump.pm | 6 ++++-- scripts/dpkg-buildpackage.pl | 9 ++++++--- scripts/dpkg-shlibdeps.pl | 3 ++- test/critic.t | 1 + 6 files changed, 21 insertions(+), 13 deletions(-) commit 395f6ced94938c72927575e8d5b40305da321799 Author: Guillem Jover Date: Thu Jan 3 03:46:39 2013 +0100 scripts: Switch unused capturing groups to non-capturing ones These have better runtime performance, not that it matters in many of the instances here though. Addresses RegularExpressions::ProhibitUnusedCapture. Warned-by: perlcritic scripts/Dpkg/Changelog/Debian.pm | 14 +++++++------- scripts/Dpkg/Source/Package/V3/Bzr.pm | 2 +- scripts/Dpkg/Source/Patch.pm | 2 +- scripts/Dpkg/Source/Quilt.pm | 2 +- scripts/Dpkg/Vendor/Debian.pm | 8 ++++---- scripts/dpkg-architecture.pl | 2 +- scripts/dpkg-buildflags.pl | 2 +- scripts/dpkg-buildpackage.pl | 8 ++++---- scripts/dpkg-distaddfile.pl | 2 +- scripts/dpkg-genchanges.pl | 6 +++--- scripts/dpkg-gencontrol.pl | 2 +- scripts/dpkg-gensymbols.pl | 2 +- scripts/dpkg-parsechangelog.pl | 2 +- scripts/dpkg-shlibdeps.pl | 2 +- scripts/dpkg-source.pl | 6 +++--- scripts/dpkg-vendor.pl | 2 +- 16 files changed, 32 insertions(+), 32 deletions(-) commit 600a530a9031341ff76b9764843c3d7a5dc1fd2f Author: Guillem Jover Date: Mon May 5 03:17:41 2014 +0200 scripts: Use character classes instead of single character alternations Fixes RegularExpressions::ProhibitSingleCharAlternation. Warned-by: perlcritic scripts/Dpkg/Changelog/Debian.pm | 6 +++--- scripts/Dpkg/Deps.pm | 2 +- test/critic.t | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) commit fa48a94434acf00681259bbe8f7acb0efad76153 Author: Guillem Jover Date: Sun May 4 16:25:21 2014 +0200 scripts: Add template test cases for most modules This at least tests if the module in question can be use'ed correctly, and gives a more realistic code coverage report. The remaining modules should be covered by one of their parents. debian/changelog | 1 + scripts/Makefile.am | 17 +++++++++++++++++ scripts/t/Dpkg_BuildEnv.t | 27 +++++++++++++++++++++++++++ scripts/t/Dpkg_BuildFlags.t | 27 +++++++++++++++++++++++++++ scripts/t/Dpkg_BuildProfiles.t | 27 +++++++++++++++++++++++++++ scripts/t/Dpkg_Checksums.t | 27 +++++++++++++++++++++++++++ scripts/t/Dpkg_Conf.t | 27 +++++++++++++++++++++++++++ scripts/t/Dpkg_ErrorHandling.t | 27 +++++++++++++++++++++++++++ scripts/t/Dpkg_Exit.t | 27 +++++++++++++++++++++++++++ scripts/t/Dpkg_File.t | 27 +++++++++++++++++++++++++++ scripts/t/Dpkg_Gettext.t | 27 +++++++++++++++++++++++++++ scripts/t/Dpkg_Index.t | 27 +++++++++++++++++++++++++++ scripts/t/Dpkg_Interface_Storable.t | 27 +++++++++++++++++++++++++++ scripts/t/Dpkg_Source_Archive.t | 27 +++++++++++++++++++++++++++ scripts/t/Dpkg_Source_Functions.t | 27 +++++++++++++++++++++++++++ scripts/t/Dpkg_Source_Package.t | 27 +++++++++++++++++++++++++++ scripts/t/Dpkg_Source_Patch.t | 27 +++++++++++++++++++++++++++ scripts/t/Dpkg_Source_Quilt.t | 27 +++++++++++++++++++++++++++ scripts/t/Dpkg_Vars.t | 27 +++++++++++++++++++++++++++ 19 files changed, 477 insertions(+) commit 79a6978160ccf752d058786ab8fb61ad7fa1646a Author: Guillem Jover Date: Fri Apr 4 21:59:10 2014 +0200 perl: Do not use global match variables Fixes Variables::ProhibitMatchVars. Warned-by: perlcritic debian/changelog | 1 + dselect/methods/disk/setup | 6 +++--- dselect/methods/multicd/setup | 6 +++--- dselect/mkcurkeys.pl | 12 ++++++------ scripts/Dpkg/Changelog/Entry/Debian.pm | 4 ++-- scripts/Dpkg/Package.pm | 4 ++-- scripts/Dpkg/Vendor/Ubuntu.pm | 4 ++-- scripts/dpkg-architecture.pl | 20 ++++++++++---------- scripts/dpkg-distaddfile.pl | 4 ++-- scripts/dpkg-gencontrol.pl | 32 ++++++++++++++++---------------- scripts/dpkg-gensymbols.pl | 4 ++-- test/critic.t | 1 + 12 files changed, 50 insertions(+), 48 deletions(-) commit 0e5d6ee28bd2bbb542405b8d1e7de5a6ecf47c1d Author: Guillem Jover Date: Thu Jan 3 02:30:23 2013 +0100 test: Add labels to Test::More tests Fixes TestingAndDebugging::RequireTestLabels. Warned-by: perlcritic scripts/t/Dpkg_Changelog.t | 4 ++-- scripts/t/Dpkg_IPC.t | 6 +++--- scripts/t/Dpkg_Package.t | 10 +++++----- scripts/t/Dpkg_Shlibs.t | 10 ++++++---- src/t/dpkg_divert.t | 8 ++++---- test/critic.t | 1 + 6 files changed, 21 insertions(+), 18 deletions(-) commit a987464f0548427c88e0f1f9d59b71c79419fd82 Author: Guillem Jover Date: Thu May 8 19:05:58 2014 +0200 dpkg-maintscript-helper: Print only once that we are moving a conffile Move the printing to the final phase, and skip the intermediate message that we are moving the file aside for later processing. This information is redundant and really unnecessary. It also does not match the other actions in the script. Closes: #747370 debian/changelog | 2 ++ scripts/dpkg-maintscript-helper.sh | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) commit abe3bb7c5b14502156973e0f060cd3234b2e7cc4 Author: Guillem Jover Date: Tue Apr 22 08:24:44 2014 +0200 dpkg-buildpackage: Move code inside s///eg into a function By using a closure, we makes the code more clear. scripts/dpkg-buildpackage.pl | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 93b30facbec3336e5a35f0825dd565650cc25a6e Author: Guillem Jover Date: Sun May 11 05:28:43 2014 +0200 dpkg-architecture: Move -L argument to the Commands --help output section The -L argument is not an option, it's a full blown command. debian/changelog | 1 + scripts/dpkg-architecture.pl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit cdff05813bc4447012174b87033560d938384803 Author: Guillem Jover Date: Wed Apr 30 21:48:23 2014 +0200 dpkg: Switch an assert() on a volatile variable to an internerr() The assert() has a side-effect as the variable is volatile, switch it to an internerr() so that we always get the same result regardless of the build settings, NDEBUG in this case. Warned-by: coverity src/packages.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b766dca91159da611c6340dea347f4ef00159768 Author: Guillem Jover Date: Wed May 14 04:27:31 2014 +0200 s-s-d: Cope with bogus OpenVZ kernels that prepend the " (deleted)" marker There are OpenVZ Linux kernels that instead of appending, prepend the deleted marker, making the exec check fail to match. Add a workaround so that those systems do not get affected. This will still be affecting any other userland tool that checks the /proc/PID/exe symlink, and might end up helping this behaviour to get entrenched, but better this than the getting strange system failures. Closes: #731530 debian/changelog | 3 +++ utils/start-stop-daemon.c | 16 ++++++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) commit c312296f675c345b9213e349934f43d4a2f316a0 Author: Guillem Jover Date: Wed Apr 30 22:17:33 2014 +0200 u-a: Switch from alternative_has_choice() to checking if fs is NULL We are performing the same search twice, let's just reuse the fs pointer to decide if we have found the choice. This was confusing coverity, and making it think that alternative_has_broken_slave() could get fs with a NULL value. Warned-by: coverity utils/update-alternatives.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 96d58c81919e45bad12fbe9ab4b7a295743f2614 Author: Guillem Jover Date: Sat May 3 03:48:01 2014 +0200 u-a: Fix TOCTOU race in rename_mv() This does not have any security implications, but it makes the code more robust. Warned-by: coverity debian/changelog | 1 + utils/update-alternatives.c | 22 +++++++++------------- 2 files changed, 10 insertions(+), 13 deletions(-) commit ec7488184f4065911171d22a3fafd60155dd7cc3 Author: Guillem Jover Date: Sat May 3 03:39:02 2014 +0200 u-a: Fix TOCTOU race when loading an alternative This does not have any security implications, but it makes the code more robust. Warned-by: coverity debian/changelog | 2 ++ utils/update-alternatives.c | 21 ++++++++++----------- 2 files changed, 12 insertions(+), 11 deletions(-) commit 4f8369c744c345f99baa6145ce7eef48fe078928 Author: Guillem Jover Date: Sat May 3 03:59:54 2014 +0200 libdpkg: Fix TOCTOU race in triggers database loading This is not security sensitive. Warned-by: coverity debian/changelog | 1 + lib/dpkg/trigdeferred.l | 27 +++++++++++++-------------- 2 files changed, 14 insertions(+), 14 deletions(-) commit d8f78de9b0431470673409f9bffaa7fcffca7c49 Author: Guillem Jover Date: Thu May 1 04:04:42 2014 +0200 libdpkg: Improve branch coverage for string module debian/changelog | 2 ++ lib/dpkg/test/t-string.c | 23 ++++++++++++++++------- 2 files changed, 18 insertions(+), 7 deletions(-) commit ded3dfed77b7fd268914e19e8081b43c9233cc05 Author: Guillem Jover Date: Wed Apr 30 22:32:15 2014 +0200 libdpkg: Fix memory leaks in buffer_copy() on error conditions Check for errors from subfunctions and break out of the loop to be able to release resources. Check also for unexpected EOF only after freeing resources, so that we don't end up leaking them. Warned-by: coverity debian/changelog | 1 + lib/dpkg/buffer.c | 12 +++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) commit 9274fe071004f02dcd64eba5f40b342e40bc2fd1 Author: Guillem Jover Date: Sun May 11 08:11:22 2014 +0200 libdpkg: Swap deb name and member name in dpkg_ar_member_get_size() Otherwise we might perform an out of bounds buffer read access in the error output on bogus member sizes. debian/changelog | 2 ++ lib/dpkg/ar.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit df4f36e172b43bdb2336ba5a2747da439f1fc09d Author: Guillem Jover Date: Thu May 15 08:37:15 2014 +0200 libdpkg: Make dpkg_locales_init() a public symbol lib/dpkg/libdpkg.map | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 4149d109d6eb75ec256c9f940d3f5e867b5e6524 Author: Guillem Jover Date: Mon May 12 20:23:26 2014 +0200 libdpkg: Add missing dpkg_program_ symbols to the version script lib/dpkg/libdpkg.map | 4 ++++ 1 file changed, 4 insertions(+) commit 42f8e27790df66a088f21f357c449be0dc6a40a5 Author: Guillem Jover Date: Thu May 1 03:44:33 2014 +0200 dselect: Fix word wrapping logic The switch from integer literal to boolean literals botched one of the assignments, which was turned from 1 to false, fix that now, and stop turning parts of the code path dead. Regression introduced in commit cf21cccb98bdb31a84bbe1aa1217c712b47aedd2. Warned-by: coverity debian/changelog | 1 + dselect/baselist.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 93a8d7423561f90559a00a760945e529a5e6e414 Author: Guillem Jover Date: Mon May 12 07:33:56 2014 +0200 build: Switch to use libtool for the static libraries This makes it possible to embed libcompat inside libdpkg, so that the static library that we ship is self contained with the required compatibility code, specifically the MD5 functions. This also prepares the build system for when we start building a shared library, although it disables it by default. Closes: #746122 .gitignore | 4 ++++ README | 1 + configure.ac | 8 +++++++- debian/changelog | 5 +++++ dpkg-deb/Makefile.am | 3 +-- dpkg-split/Makefile.am | 3 +-- dselect/Makefile.am | 3 +-- lib/compat/Makefile.am | 30 +++++++++++++++--------------- lib/dpkg/Makefile.am | 19 +++++++++++++++++-- lib/dpkg/test/Makefile.am | 3 +-- m4/dpkg-build.m4 | 11 ++++++++++- m4/dpkg-linker.m4 | 20 ++++++++++++++++++++ src/Makefile.am | 3 +-- utils/Makefile.am | 4 ++-- 14 files changed, 86 insertions(+), 31 deletions(-) commit 3fb93b089cd890aadc043c79c7926682b23392bf Author: Guillem Jover Date: Sun May 4 19:56:53 2014 +0200 build: Fix lcov-inject to consider different coverage percentages The current code was not taking into account the different coverage ranges, with their different colors, and different images for the completion bar. Refactor the code into functions, while we are at it. doc/lcov-inject | 61 ++++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 45 insertions(+), 16 deletions(-) commit acd884519b4c4aae38ef37e26fe14cbffe2b4f78 Author: Guillem Jover Date: Thu May 1 21:44:10 2014 +0200 build: Do not use lcov-inject first argument as target directory All arguments are files to modify. doc/lcov-inject | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b75d9bce9d03acbfd80ffd3eefafabcfbc07c454 Author: Raphaël Hertzog Date: Tue May 6 10:25:53 2014 +0200 dpkg-source: unpack additional tarballs in a deterministic order Reported-by: Samuel Bronson Closes: #747148 debian/changelog | 4 ++++ scripts/Dpkg/Source/Package/V2.pm | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 3fd7a23c09505bd4cd54b8439219d6a2fd0610d8 Author: Helge Kreutzmann Date: Wed Apr 30 21:06:59 2014 +0200 Update German translation of manual pages Update to 2243t. debian/changelog | 3 +- man/po/de.po | 89 ++++++++++++++++++++++++++++---------------------------- 2 files changed, 46 insertions(+), 46 deletions(-) commit 9c356290ddb3d9d807899bb951c02e4c19b853c1 Author: Guillem Jover Date: Wed Apr 30 08:56:43 2014 +0200 Bump version to 1.17.10 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 8c0c62688da4faa66acad269532ebbe6d50bd95f Author: Guillem Jover Date: Wed Apr 30 05:46:12 2014 +0200 Release 1.17.9 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1759ec117f0eb067677010ee7f6d27784e5fadd1 Author: Guillem Jover Date: Wed Apr 30 05:55:24 2014 +0200 Regenerate .pot files and merge .po files with them dselect/po/bs.po | 26 +++--- dselect/po/ca.po | 26 +++--- dselect/po/cs.po | 26 +++--- dselect/po/da.po | 26 +++--- dselect/po/de.po | 26 +++--- dselect/po/dselect.pot | 28 +++--- dselect/po/el.po | 26 +++--- dselect/po/es.po | 26 +++--- dselect/po/et.po | 26 +++--- dselect/po/eu.po | 26 +++--- dselect/po/fr.po | 26 +++--- dselect/po/gl.po | 26 +++--- dselect/po/hu.po | 26 +++--- dselect/po/id.po | 26 +++--- dselect/po/it.po | 26 +++--- dselect/po/ja.po | 26 +++--- dselect/po/ko.po | 26 +++--- dselect/po/nb.po | 26 +++--- dselect/po/nl.po | 26 +++--- dselect/po/nn.po | 26 +++--- dselect/po/pl.po | 26 +++--- dselect/po/pt.po | 26 +++--- dselect/po/pt_BR.po | 26 +++--- dselect/po/ro.po | 26 +++--- dselect/po/ru.po | 26 +++--- dselect/po/sk.po | 26 +++--- dselect/po/sv.po | 26 +++--- dselect/po/tl.po | 26 +++--- dselect/po/vi.po | 26 +++--- dselect/po/zh_CN.po | 26 +++--- dselect/po/zh_TW.po | 26 +++--- man/po/dpkg-man.pot | 4 +- po/ast.po | 222 +++++++++++++++++++++++------------------------ po/bs.po | 222 +++++++++++++++++++++++------------------------ po/ca.po | 222 +++++++++++++++++++++++------------------------ po/cs.po | 222 +++++++++++++++++++++++------------------------ po/da.po | 222 +++++++++++++++++++++++------------------------ po/de.po | 222 +++++++++++++++++++++++------------------------ po/dpkg.pot | 224 ++++++++++++++++++++++++------------------------ po/dz.po | 222 +++++++++++++++++++++++------------------------ po/el.po | 222 +++++++++++++++++++++++------------------------ po/eo.po | 222 +++++++++++++++++++++++------------------------ po/es.po | 222 +++++++++++++++++++++++------------------------ po/et.po | 222 +++++++++++++++++++++++------------------------ po/eu.po | 222 +++++++++++++++++++++++------------------------ po/fr.po | 222 +++++++++++++++++++++++------------------------ po/gl.po | 222 +++++++++++++++++++++++------------------------ po/hu.po | 222 +++++++++++++++++++++++------------------------ po/id.po | 222 +++++++++++++++++++++++------------------------ po/it.po | 222 +++++++++++++++++++++++------------------------ po/ja.po | 222 +++++++++++++++++++++++------------------------ po/km.po | 222 +++++++++++++++++++++++------------------------ po/ko.po | 222 +++++++++++++++++++++++------------------------ po/ku.po | 222 +++++++++++++++++++++++------------------------ po/lt.po | 222 +++++++++++++++++++++++------------------------ po/mr.po | 222 +++++++++++++++++++++++------------------------ po/nb.po | 222 +++++++++++++++++++++++------------------------ po/ne.po | 222 +++++++++++++++++++++++------------------------ po/nl.po | 222 +++++++++++++++++++++++------------------------ po/nn.po | 222 +++++++++++++++++++++++------------------------ po/pa.po | 222 +++++++++++++++++++++++------------------------ po/pl.po | 222 +++++++++++++++++++++++------------------------ po/pt.po | 222 +++++++++++++++++++++++------------------------ po/pt_BR.po | 222 +++++++++++++++++++++++------------------------ po/ro.po | 222 +++++++++++++++++++++++------------------------ po/ru.po | 222 +++++++++++++++++++++++------------------------ po/sk.po | 222 +++++++++++++++++++++++------------------------ po/sv.po | 222 +++++++++++++++++++++++------------------------ po/th.po | 222 +++++++++++++++++++++++------------------------ po/tl.po | 222 +++++++++++++++++++++++------------------------ po/vi.po | 222 +++++++++++++++++++++++------------------------ po/zh_CN.po | 222 +++++++++++++++++++++++------------------------ po/zh_TW.po | 222 +++++++++++++++++++++++------------------------ scripts/po/ca.po | 72 ++++++++-------- scripts/po/de.po | 77 +++++++++-------- scripts/po/dpkg-dev.pot | 69 +++++++-------- scripts/po/es.po | 74 ++++++++-------- scripts/po/fr.po | 74 ++++++++-------- scripts/po/pl.po | 73 ++++++++-------- scripts/po/ru.po | 73 ++++++++-------- scripts/po/sv.po | 73 ++++++++-------- 81 files changed, 5247 insertions(+), 5254 deletions(-) commit 5daf50d5e45aece8b2acf5688f234cca49bc33c7 Author: Guillem Jover Date: Wed Apr 30 05:40:33 2014 +0200 build: Make test suite errors fatal again We need to check in the aggregated results if any test had any problem, and die accordingly. Regression introduced in commit 34b26c7db232b300991df5fb6f52707b381df28f. Closes: #746331 check.am | 3 ++- debian/changelog | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) commit 8cd7aa2c68ed1648cd517c4e724eab8f1b6eebdc Author: Guillem Jover Date: Wed Apr 30 05:35:39 2014 +0200 libdpkg: Mark the command_get_pager() tests on a tty as TODO The build daemon environment does not expose a controlling terminal. Mark these as possibly failing and as such non-fatal. debian/changelog | 2 ++ lib/dpkg/test/t-command.c | 18 ++++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) commit 00e2aadcdc9d86655963df13068afd85eca2ed83 Author: Guillem Jover Date: Mon Apr 28 22:15:58 2014 +0200 s-s-d: Fix off-by-one stack buffer overrun on GNU/Linux and GNU/kFreeBSD This might happen if the executable pathname is longer than _POSIX_PATH_MAX. Although this should not have security implications as the buffer is surrounded by two arrays (so those catch accesses even if the stack grows up or down), and we are compiling with -fstack-protector anyway. We just need to always leave room for the final NUL character. Warned-by: coverity debian/changelog | 5 +++++ utils/start-stop-daemon.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 2579acce1f6add74150790e806d859c3f3f8d362 Author: Guillem Jover Date: Mon Apr 28 22:07:29 2014 +0200 u-a: Fix memory leaks in alternative_parse_fileset() Free prio_str and master_file. Warned-by: coverity debian/changelog | 1 + utils/update-alternatives.c | 4 ++++ 2 files changed, 5 insertions(+) commit 00e3728ddb52b98d20d2f4ee789f9d55898b1781 Author: Guillem Jover Date: Tue Apr 29 03:12:21 2014 +0200 dselect: Assign desc->desc instead of checking if desc is not nullptr If we've not found any description we end up in the sentinel entry that contains nullptr for desc->action and desc->desc, but definitely not nullptr for desc. Just assigning desc->desc will do the right thing. Warned-by: coverity dselect/bindings.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3df20bdb86cb217ee55c12c8f2277f3af787bf71 Author: Guillem Jover Date: Mon Apr 28 21:44:17 2014 +0200 dselect: Fix memory leak in set_color() Warned-by: coverity debian/changelog | 1 + dselect/main.cc | 2 ++ 2 files changed, 3 insertions(+) commit a94d04a1927a28987f3163e707c651d4b4350a73 Author: Guillem Jover Date: Mon Apr 28 21:34:53 2014 +0200 dselect: Do not leak keybindings from describenext() The code affected is currently unused. Warned-by: coverity debian/changelog | 1 + dselect/baselist.cc | 1 + 2 files changed, 2 insertions(+) commit 3c05293dac0e485b8042cbdef82f3369fb751595 Author: Guillem Jover Date: Mon Apr 28 21:20:16 2014 +0200 dpkg-split: Fix short lived memory leaks in mksplit() Warned-by: coverity debian/changelog | 1 + dpkg-split/split.c | 4 ++++ 2 files changed, 5 insertions(+) commit dd0ec1036fb5fdf8b0462edf357d72d491b3c8aa Author: Guillem Jover Date: Tue Apr 29 03:02:08 2014 +0200 dpkg: Annotate case statements that fall through with a comment Be explicit, so that code readers or static analyzers do not get confused. Warned-by: coverity src/configure.c | 1 + src/packages.c | 1 + 2 files changed, 2 insertions(+) commit b6788715227adb30ba41b5a049d1cbfb9e3ff1d7 Author: Guillem Jover Date: Mon Apr 28 21:54:52 2014 +0200 dpkg: Do not leak the filepackages_iterator in dir_is_used_by_others() Warned-by: coverity debian/changelog | 2 ++ src/help.c | 1 + 2 files changed, 3 insertions(+) commit 055717db09c9b6de7bf3cd9e12fd579d8002e565 Author: Guillem Jover Date: Mon Apr 28 20:48:14 2014 +0200 libdpkg: Do not leak long tar names on bogus tar archives Make sure we free the long names, in case of a bogus or truncated tar archive with long entries not followed by a normal entry. Warned-by: coverity debian/changelog | 1 + lib/dpkg/tarfn.c | 4 ++++ 2 files changed, 5 insertions(+) commit 99e299736daf81e9ffcf9d40cdc5085748c6dfbe Author: Guillem Jover Date: Tue Apr 29 06:36:44 2014 +0200 libcompat: Make sure P_tmpdir is always defined This will guarantee the macro constant is always defined, which allows us to remove an equivalent code branch, which in normal conditions is dead code. As a side effect this unconfuses static code analyzers like cppcheck or coverity. configure.ac | 1 + lib/compat/compat.h | 4 ++++ lib/dpkg/path.c | 4 ---- 3 files changed, 5 insertions(+), 4 deletions(-) commit 6f2a7a736c0c2873c3415c1cd1eb8b5c7c42c4b5 Author: Guillem Jover Date: Tue Apr 29 14:51:54 2014 +0200 debian: Switch alternative database backups from xz to gzip Switch the alternatives database backups from xz to gzip, as the latter is Essential and we can rely on it being always present, using xz here is not worth the trouble, disk space savings, or possible additional dependencies. Closes: #746354 debian/changelog | 1 + debian/dpkg.cron.daily | 14 +++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) commit a12eb58959d0a10584a428f4a3103a49204c410f Author: Guillem Jover Date: Wed Apr 30 02:28:45 2014 +0200 Dpkg::Source::Patch: Outright reject C-style filenames in patches Because patch only started recognizing C-style filenames in diffs in version 2.7, it's not safe to assume one behaviour or the other, as the system might or might not have a recent enough version, or a GNU patch program at all. There's also no reason we should be supporting this kind of strange encoded filenames in patches, when we have not done so up to now. Let's just ban these types of diffs and be done with it. Fixes: CVE-2014-0471 Closes: #746306 debian/changelog | 4 ++++ scripts/Dpkg/Source/Patch.pm | 32 +------------------------------- 2 files changed, 5 insertions(+), 31 deletions(-) commit 1c7de0bd723f701ac4e38579ac2e92e65fb98f11 Author: Steve Petruzzello Date: Wed Apr 30 03:19:10 2014 +0200 Update French scripts translation Closes: #746350 Signed-off-by: Guillem Jover debian/changelog | 1 + scripts/po/fr.po | 653 +++++++++++++++++++------------------------------------ 2 files changed, 225 insertions(+), 429 deletions(-) commit f2b80a0c3d3224525e12210ae8f4cb6bf38352d7 Author: Helge Kreutzmann Date: Tue Apr 29 21:35:41 2014 +0200 Fix debian/changelog formatting debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9260ba126c7f27e45e414fa84e3657413f378d87 Author: Helge Kreutzmann Date: Tue Apr 29 21:34:34 2014 +0200 Update German translation of manual pages Update to 2234t4f5u. debian/changelog | 5 +- man/po/de.po | 195 ++++++++++++++----------------------------------------- 2 files changed, 51 insertions(+), 149 deletions(-) commit 56d84eb9549fe6b31355d6eb6bdc70aad774929c Author: Helge Kreutzmann Date: Mon Apr 28 21:07:42 2014 +0200 Update German scripts translation Update to 541t. debian/changelog | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 9caa9005a50fed01881409833fcddd3292f0ae11 Author: Helge Kreutzmann Date: Mon Apr 28 19:57:26 2014 +0200 Update German scripts translation Update to 541t. scripts/po/de.po | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) commit 7dc7e3244230ceb6731f66baa74a70029a878a28 Author: Guillem Jover Date: Mon Apr 28 15:41:58 2014 +0200 Bump version to 1.17.9 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit c9feb7a20b04f9fd05fe8c268b31dee4f5f7c11d Author: Guillem Jover Date: Mon Apr 28 13:33:26 2014 +0200 Release 1.17.8 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 98b7dea7bfef4bab01d9377f19767860f4ca0d06 Author: Guillem Jover Date: Mon Apr 28 14:55:28 2014 +0200 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/de.po | 1187 ++++++++++++++++++++++++++--------------------- man/po/dpkg-man.pot | 1087 +++++++++++++++++++++++-------------------- man/po/es.po | 1150 ++++++++++++++++++++++++--------------------- man/po/fr.po | 1150 ++++++++++++++++++++++++--------------------- man/po/hu.po | 1100 +++++++++++++++++++++++-------------------- man/po/it.po | 1134 +++++++++++++++++++++++--------------------- man/po/ja.po | 1150 ++++++++++++++++++++++++--------------------- man/po/pl.po | 1150 ++++++++++++++++++++++++--------------------- man/po/pt_BR.po | 1097 +++++++++++++++++++++++-------------------- man/po/ru.po | 1099 +++++++++++++++++++++++-------------------- man/po/sv.po | 1179 +++++++++++++++++++++++++--------------------- po/ast.po | 24 +- po/bs.po | 24 +- po/ca.po | 24 +- po/cs.po | 24 +- po/da.po | 24 +- po/de.po | 2 +- po/dpkg.pot | 26 +- po/dz.po | 24 +- po/el.po | 24 +- po/eo.po | 24 +- po/es.po | 24 +- po/et.po | 24 +- po/eu.po | 24 +- po/fr.po | 24 +- po/gl.po | 24 +- po/hu.po | 24 +- po/id.po | 24 +- po/it.po | 24 +- po/ja.po | 24 +- po/km.po | 24 +- po/ko.po | 24 +- po/ku.po | 24 +- po/lt.po | 24 +- po/mr.po | 24 +- po/nb.po | 24 +- po/ne.po | 24 +- po/nl.po | 24 +- po/nn.po | 24 +- po/pa.po | 24 +- po/pl.po | 24 +- po/pt.po | 24 +- po/pt_BR.po | 24 +- po/ro.po | 24 +- po/ru.po | 2 +- po/sk.po | 24 +- po/sv.po | 24 +- po/th.po | 24 +- po/tl.po | 24 +- po/vi.po | 63 +-- po/zh_CN.po | 24 +- po/zh_TW.po | 24 +- scripts/po/ca.po | 68 +-- scripts/po/de.po | 73 +-- scripts/po/dpkg-dev.pot | 70 +-- scripts/po/es.po | 70 +-- scripts/po/fr.po | 70 +-- scripts/po/pl.po | 70 +-- scripts/po/ru.po | 70 +-- scripts/po/sv.po | 73 +-- 91 files changed, 7595 insertions(+), 6497 deletions(-) commit a82651188476841d190c58693f95827d61959b51 Author: Guillem Jover Date: Tue Apr 15 08:15:44 2014 +0200 Dpkg::Source::Patch: Correctly parse C-style diff filenames We need to strip the surrounding quotes, and unescape any escape sequence, so that we check the same files that the patch program will be using, otherwise a malicious package could overpass those checks, and perform directory traversal attacks on source package unpacking. Fixes: CVE-2014-0471 Reported-by: Jakub Wilk debian/changelog | 3 +++ scripts/Dpkg/Source/Patch.pm | 59 ++++++++++++++++++++++++++++++++++++-------- 2 files changed, 52 insertions(+), 10 deletions(-) commit d4dfad8cff69c245516abc570d0bba1f614c1443 Author: Guillem Jover Date: Mon Apr 28 06:24:46 2014 +0200 build: Enable failed test case reporting from the TAP::Harness Set the «failures» argument for the harness, so that we can get the failing test case entries, particularly important for the C test suite, as perl will not report a line number for those. check.am | 1 + debian/changelog | 2 ++ 2 files changed, 3 insertions(+) commit b029a83ea643d1b0893dd6946604d10dd11eff4e Author: Guillem Jover Date: Sun Apr 27 04:51:08 2014 +0200 build: Use the perl TAP::Harness for the C test suite The automake TAP driver only appeared once the parallel test runner allowed custom drivers after 1.11, which we were not requesting in the AM_INIT_AUTOMAKE call. But simply requesting a later version is not good enough, as Debian stable (wheezy) is still only shipping automake 1.11. Instead just switch to use the perl TAP::Harness infrastructure for the C test suite too. Regression introduced in commit d9833ac0b6b66e9dfaff272f6d0a25373bfff091. configure.ac | 1 - debian/changelog | 3 +++ lib/dpkg/test/Makefile.am | 7 +++++-- 3 files changed, 8 insertions(+), 3 deletions(-) commit 1f73ec4ecbac379558ffbef60f827782826b9539 Author: Guillem Jover Date: Mon Apr 28 14:11:48 2014 +0200 build: Add new TEST_PREFIX variable to control test case execution paths This is required as the perl test cases are in srcdir, but C based test cases are going to be in builddir. check.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 34b26c7db232b300991df5fb6f52707b381df28f Author: Guillem Jover Date: Mon Apr 28 06:24:46 2014 +0200 build: Switch test runner from Test::Harness to TAP::Harness The latter is the recommended module for new code, the former being just a compatibility wrapper around it. And it will allow to set more detailed options for the harness that are not exposed through the Test::Harness wrapper. We use a make variable instead of inlining the perl code in the make recipe due to the way make escapes backslashes inside single-quotes in recipes, which disturbs the semantics of the perl code. check.am | 14 ++++++++++---- debian/changelog | 1 + 2 files changed, 11 insertions(+), 4 deletions(-) commit 15c4eb9f7223dcc309b46ba89b2b3081e2f9a2a7 Author: Guillem Jover Date: Mon Apr 28 13:02:15 2014 +0200 dpkg(1): Improve wording for --verify and --verify-format Closes: #733057 debian/changelog | 2 ++ man/dpkg.1 | 22 +++++++++++++--------- 2 files changed, 15 insertions(+), 9 deletions(-) commit deeb5efc57607b02703d145a1a74bba502cbc0e6 Author: Guillem Jover Date: Mon Apr 28 07:32:55 2014 +0200 dpkg-maintscript-helper: Document environment requirements for supports Closes: #739634 debian/changelog | 2 ++ man/dpkg-maintscript-helper.1 | 9 ++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) commit 2408a8d606ac5463070abe892c750050e4e44019 Author: Trần Ngọc Quân Date: Mon Apr 28 09:15:52 2014 +0700 Update and review Vietnamese program translations Signed-off-by: Trần Ngọc Quân Signed-off-by: Guillem Jover debian/changelog | 1 + po/vi.po | 58 ++++++++++++++++++++++++++++---------------------------- 2 files changed, 30 insertions(+), 29 deletions(-) commit a5046e81f3b7bbfa252253b54f186c65cbe3cdf0 Author: Sven Joachim Date: Sun Apr 27 14:42:02 2014 +0200 German dpkg translation update Update to 1088t2u. debian/changelog | 1 + po/de.po | 86 ++++++++++++++++---------------------------------------- 2 files changed, 25 insertions(+), 62 deletions(-) commit 151d6965f8807101f86aceddebd2262e241c6c8b Author: Yuri Kozlov Date: Sun Apr 27 02:51:37 2014 +0200 Update Russian program translations Closes: #745869 Signed-off-by: Guillem Jover debian/changelog | 4 + po/ru.po | 584 ++++++++++++++++++------------------------------------- 2 files changed, 189 insertions(+), 399 deletions(-) commit 85a8d37cc4d02a405785aded7ef911bcd326ac22 Author: Guillem Jover Date: Tue Apr 22 10:37:37 2014 +0200 libcompat: Fix comparison between signed and unsigned in strsignal() lib/compat/strsignal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d73c292dab981991d73bb3678b0ee13f664c869a Author: Guillem Jover Date: Thu Apr 24 16:18:06 2014 +0200 libcompat: Declare strnlen() prototype in compat.h Remove now unused strnlen.h header. lib/compat/Makefile.am | 2 +- lib/compat/compat.h | 6 ++++-- lib/compat/strnlen.c | 2 +- lib/compat/strnlen.h | 32 -------------------------------- 4 files changed, 6 insertions(+), 36 deletions(-) commit efc8feeb9a995a3cfa97a6428921e4c6820a48ce Author: Guillem Jover Date: Tue Apr 22 10:10:17 2014 +0200 libdpkg: Add missing header These are currently shadowed by the inclusion from . lib/dpkg/error.c | 1 + lib/dpkg/namevalue.c | 1 + lib/dpkg/trignote.c | 2 ++ lib/dpkg/varbuf.h | 1 + 4 files changed, 5 insertions(+) commit 5a20d9d36d7db0a17def3515c0da7de4e03906a1 Author: Guillem Jover Date: Sat Apr 26 15:32:04 2014 +0200 libdpkg: Add test cases for str_is_set() and str_is_unset() lib/dpkg/test/t-string.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit d3df3e21d58249722fcfe63aaa47fad0878a680d Author: Guillem Jover Date: Sat Apr 26 03:15:16 2014 +0200 libdpkg: Add test cases for dpkg_error functions lib/dpkg/test/.gitignore | 1 + lib/dpkg/test/Makefile.am | 1 + lib/dpkg/test/t-error.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+) commit c2fbf5fc71f92553fbeebcedbe80d0d61b70db24 Author: Guillem Jover Date: Sat Apr 26 03:12:56 2014 +0200 libdpkg: Use new DPKG_VERSION_OBJECT instead of local version macro Use the new macro instead of the local one with a generic and ambiguous name. lib/dpkg/test/t-version.c | 71 +++++++++++++++++++++++------------------------ 1 file changed, 34 insertions(+), 37 deletions(-) commit ef88152dc868f3ea7962448bd729e70c4ca08ff6 Author: Guillem Jover Date: Sat Apr 26 03:12:56 2014 +0200 libdpkg: Add new DPKG_VERSION_OBJECT macro lib/dpkg/version.h | 6 ++++++ 1 file changed, 6 insertions(+) commit e231f923b771285f20bfc8825e8cfe179ab97847 Author: Guillem Jover Date: Sat Apr 26 03:11:59 2014 +0200 libdpkg: Move test_warn() and test_error() to dpkg/test.h These are generic test macros that can be reused by other test cases. lib/dpkg/test.h | 12 ++++++++++++ lib/dpkg/test/t-version.c | 11 ----------- 2 files changed, 12 insertions(+), 11 deletions(-) commit 1a27a761f5630b845ad0155760294e448b417517 Author: Guillem Jover Date: Sat Apr 26 15:39:46 2014 +0200 libdpkg: Handle space-only strings when parsing versions Consider these empty strings too. debian/changelog | 1 + lib/dpkg/parsehelp.c | 7 ++++--- lib/dpkg/test/t-version.c | 4 +++- 3 files changed, 8 insertions(+), 4 deletions(-) commit cb9a0d64081b5aa3741c78556f83a86eb16c3df6 Author: Guillem Jover Date: Fri Apr 25 20:11:18 2014 +0200 libdpkg: Add test cases for parseversion() branch coverage lib/dpkg/test/t-version.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit 095464713625ed3e499ab1a0c146905fbb79786c Author: Guillem Jover Date: Thu Apr 24 03:05:12 2014 +0200 libdpkg: Add test cases for dpkg_ar_member_is_illegal() lib/dpkg/test/t-ar.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit fceb4381db95c250598498fae7eb4e785b7c6d10 Author: Guillem Jover Date: Thu Apr 24 02:53:21 2014 +0200 libdpkg: Add test cases for unmatched str_match_end() lib/dpkg/test/t-string.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit f1db062ae39da54475fe29122fddf61c9b8bd721 Author: Guillem Jover Date: Thu Apr 24 02:52:56 2014 +0200 libdpkg: Add test cases for growing command argv lib/dpkg/test/t-command.c | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) commit a666682166c712b8b434b009206e658d99c5627c Author: Guillem Jover Date: Thu Apr 24 02:37:11 2014 +0200 libdpkg: Add test cases for command_get_pager() lib/dpkg/test/t-command.c | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) commit f7b96f72e5f495858ba1afb1221f580aa9ba7a73 Author: Guillem Jover Date: Thu Apr 24 02:18:39 2014 +0200 libdpkg: Add test cases for dpkg_arch_describe() debian/changelog | 1 + lib/dpkg/test/t-arch.c | 24 +++++++++++++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) commit 3c1044570cb188dd7d32245a27e4c944db97baf9 Author: Guillem Jover Date: Thu Apr 24 03:36:39 2014 +0200 Dpkg::Vendor: Add test cases for get_vendor_dir() scripts/t/Dpkg_Vendor.t | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit b253ce5a1c7741dd46929fddab69c5a27677c888 Author: Guillem Jover Date: Thu Apr 24 03:36:18 2014 +0200 Dpkg::Deps: Add test cases for deps_concat() scripts/t/Dpkg_Deps.t | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 757999904994ce29b4e13615d3c6b1502e85d84a Author: Guillem Jover Date: Thu Apr 24 03:22:57 2014 +0200 Dpkg::Dist:Files: Add test cases for get_file() debian/changelog | 2 ++ scripts/t/Dpkg_Dist_Files.t | 14 +++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) commit f87633813519bcce2f7ef0f573a55d436382a6e8 Author: Guillem Jover Date: Fri Apr 25 03:26:55 2014 +0200 build: Add project version to the C code coverage report Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 165921053e1a4f74290849843588dda4ab099116 Author: Guillem Jover Date: Fri Apr 25 03:25:10 2014 +0200 build: Stop using a local lcov-prolog template Newer lcov versions already produce UTF-8 encoded output, so there's no need to use our local html prolog. Ref: #590562 Makefile.am | 2 -- doc/lcov-prolog | 8 -------- 2 files changed, 10 deletions(-) commit ef1e51a9a2ec51a6a5e603bfeae84c10b9cf53c9 Author: Guillem Jover Date: Fri Apr 25 03:19:53 2014 +0200 build: Remove top_builddir value from Perl coverage report Do not expose the builddir in the html output. scripts/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) commit 8dcb3372f43444dd08095ec55c0e82bf84974719 Author: Guillem Jover Date: Fri Apr 25 03:16:38 2014 +0200 build: Inject a Perl coverage index entry into the lcov report Add correct summary values, create a percentage bar, and remove the lcov-epilog template, which was being inserted in every and each generated lcov html file, not just the indices. The injection should be considered fragile, as it depends on the input report not changing its structure. But this is no worse than using the local prolog and epilog html templates. Makefile.am | 11 +++++++-- doc/lcov-epilog | 8 ------- doc/lcov-inject | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+), 10 deletions(-) commit 54c36750fefd670885d161716b08f2cf1a662e61 Author: Guillem Jover Date: Fri Apr 25 01:31:44 2014 +0200 build: Enable back lcov branch coverage This got disabled by default starting with lcov 1.10, enable it back to get the full coverage report. Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit abf7e757c1fc9c8e12fd1b4546ddc7ff64f394cb Author: Guillem Jover Date: Fri Apr 25 01:30:37 2014 +0200 build: Use LCOV_OPTS in all lcov related invocations Switch from --checksum to --rc geninfo_checksum=1 so that it can be passed to all commands, even the ones that do not recognize --checksum. Makefile.am | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 3d42412b38d52baf48f07c18b616b2ff51cddbce Author: Guillem Jover Date: Fri Apr 25 01:19:29 2014 +0200 build: Use --coverage instead of -fprofile-arcs and -ftest-coverage Noticed while investigating the lack of branch coverage. It appears the option is supported for a very long time, at least since gcc 4.1.x. m4/dpkg-coverage.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a1e0856703533fa3bb8f0647006714aba5c89df7 Author: Guillem Jover Date: Thu Apr 24 15:21:24 2014 +0200 build: Add descriptive titles before each coverage section Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) commit 25774c03fa79abff8af94b3f42cec5ffb34a969e Author: Guillem Jover Date: Thu Apr 24 15:20:35 2014 +0200 build: Generate a C code coverage text report on stdout Print a text report to stdout, like with the Perl coverage. Makefile.am | 1 + 1 file changed, 1 insertion(+) commit c8ea9114c5ad1b48ae1f326c826dc0be32817a25 Author: Guillem Jover Date: Thu Apr 24 15:18:52 2014 +0200 build: Use 'rm -f' instead of implicit GNU make RM variable Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4bd80e698556dd74365706141537e3893d77659d Author: Guillem Jover Date: Sat Apr 26 17:07:18 2014 +0200 debian: Do not emit tar warnings from dpkg cron file Ref: #745592, #745651 debian/changelog | 2 +- debian/dpkg.cron.daily | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) commit fa18a297ad65d6e6eca196c7086292642203eeca Author: Guillem Jover Date: Sat Apr 26 17:05:58 2014 +0200 debian: Use a variable to track the alternatives database name debian/dpkg.cron.daily | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 08a4313ff5334f8c64379315b2a301531b267c60 Author: Guillem Jover Date: Wed Apr 23 11:46:32 2014 +0200 debian: Do not backup nonexistent database files The arch database only exists if the user has more than one architecture configured. Closes: #745592, #745651 debian/changelog | 3 ++- debian/dpkg.cron.daily | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) commit 3b5ef6a7dc6ba1571e3acdc19e872e73c8c8c225 Author: Guillem Jover Date: Mon Apr 21 17:59:33 2014 +0200 Bump version to 1.17.8 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 3ee521be308cd0e2fe6d9d49f38d3a78d925080e Author: Guillem Jover Date: Mon Apr 21 05:04:11 2014 +0200 Release 1.17.7 debian/changelog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 31601c1e6289b423fa9dd53fc05e39805f6c646e Author: Guillem Jover Date: Fri Apr 4 23:51:01 2014 +0200 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/de.po | 1368 +++++++++++++++++++++++++--------------------- man/po/dpkg-man.pot | 1144 ++++++++++++++++++++------------------- man/po/es.po | 1240 ++++++++++++++++++++++-------------------- man/po/fr.po | 1240 ++++++++++++++++++++++-------------------- man/po/hu.po | 1185 +++++++++++++++++++++------------------- man/po/it.po | 1238 +++++++++++++++++++++++------------------- man/po/ja.po | 1238 ++++++++++++++++++++++-------------------- man/po/pl.po | 1238 ++++++++++++++++++++++-------------------- man/po/pt_BR.po | 1181 +++++++++++++++++++++------------------- man/po/ru.po | 1193 +++++++++++++++++++++------------------- man/po/sv.po | 1378 ++++++++++++++++++++++++++--------------------- po/ast.po | 220 ++++---- po/bs.po | 216 ++++---- po/ca.po | 223 ++++---- po/cs.po | 223 ++++---- po/da.po | 223 ++++---- po/de.po | 261 +++++---- po/dpkg.pot | 218 ++++---- po/dz.po | 220 ++++---- po/el.po | 220 ++++---- po/eo.po | 223 ++++---- po/es.po | 223 ++++---- po/et.po | 220 ++++---- po/eu.po | 220 ++++---- po/fr.po | 224 ++++---- po/gl.po | 220 ++++---- po/hu.po | 220 ++++---- po/id.po | 220 ++++---- po/it.po | 225 ++++---- po/ja.po | 223 ++++---- po/km.po | 220 ++++---- po/ko.po | 220 ++++---- po/ku.po | 219 ++++---- po/lt.po | 219 ++++---- po/mr.po | 220 ++++---- po/nb.po | 220 ++++---- po/ne.po | 220 ++++---- po/nl.po | 220 ++++---- po/nn.po | 220 ++++---- po/pa.po | 219 ++++---- po/pl.po | 223 ++++---- po/pt.po | 223 ++++---- po/pt_BR.po | 222 ++++---- po/ro.po | 220 ++++---- po/ru.po | 223 ++++---- po/sk.po | 223 ++++---- po/sv.po | 265 +++++---- po/th.po | 261 +++++---- po/tl.po | 220 ++++---- po/vi.po | 261 +++++---- po/zh_CN.po | 220 ++++---- po/zh_TW.po | 223 ++++---- scripts/po/ca.po | 675 ++++++++++++----------- scripts/po/de.po | 666 ++++++++++++----------- scripts/po/dpkg-dev.pot | 641 +++++++++++----------- scripts/po/es.po | 676 ++++++++++++----------- scripts/po/fr.po | 681 ++++++++++++----------- scripts/po/pl.po | 670 ++++++++++++----------- scripts/po/ru.po | 670 ++++++++++++----------- scripts/po/sv.po | 666 ++++++++++++----------- 91 files changed, 14902 insertions(+), 13373 deletions(-) commit f32d4b924e1ed4b6ae0c59cd28ed91029da64d20 Author: Guillem Jover Date: Sun Apr 13 16:22:39 2014 +0200 debian: Be verbose on make check errors by printing the test suite log debian/changelog | 1 + debian/rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit b89a125dbc0fa5d1672a140489dcc8ea7db6af00 Author: Andreas Beckmann Date: Sun Feb 16 23:52:10 2014 +0100 debian: Add Conflicts against obsolete packages using install-info in their prerm These packages have been removed after they were released with lenny or squeeze, but they may survive dist-upgrades to wheezy and jessie. Since their prerm uses install-info they cannot be removed any longer after installing dpkg 1.17.x and there is no upgrade path to a fixed package version. So use Conflicts, because these packages need to be removed (with their prerm) before a dpkg that would disallow to subsequently remove them is upgraded. Breaks would only at most request to deconfigure them. All Conflicts have the form PACKAGE (<< VERSION). If the source package still exists, the VERSION that dropped the problematic PACKAGE was used. Otherwise the next possible maintainer upload VERSION that could reintroduce PACKAGE into sid was used. [guillem@debian.org: - Replace Breaks with Conflicts. - Update lintian-overrides. ] Closes: #735159 Signed-off-by: Guillem Jover debian/changelog | 3 +++ debian/control | 20 ++++++++++++++++++++ debian/dpkg.lintian-overrides | 2 ++ 3 files changed, 25 insertions(+) commit c531799acff35a3605c1481028812f40b574355c Author: Guillem Jover Date: Sun Mar 30 05:20:44 2014 +0200 debian: Backup all databases with user percolated data We want to backup all databases that have possible user data, in case something went wrong, or one of the databases got lost or similar. debian/changelog | 1 + debian/dpkg.cron.daily | 30 +++++++++++++++++++++++++----- 2 files changed, 26 insertions(+), 5 deletions(-) commit 14ba15362deea88bb1a4e571bf28e2f79dfb9aad Author: Guillem Jover Date: Sat Apr 5 17:03:18 2014 +0200 dpkg-deb: Use --no-unquote when using -T to avoid mangling filenames We get the filenames from find(1), so we should not be letting tar mangle them, or it might create unexpected results. Closes: #743687 Reported-by: Niels Thykier debian/changelog | 2 ++ dpkg-deb/build.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 9c049f43b8597ae6241f52aceee0647a4b2c79f3 Author: Guillem Jover Date: Mon Jan 13 01:48:28 2014 +0100 dpkg-deb: Deprecate compressing .deb files with bzip2 This compressor has been superseded by xz when it comes to compression ratio, and in cases where higher compatibility or raw speed is desired gzip is still the better option. Issue a warning for now for the -Zbzip2 option value, the support for that value will get disabled at a later point. debian/changelog | 5 +++++ doc/README.feature-removal-schedule | 11 +++++++++++ dpkg-deb/main.c | 2 ++ 3 files changed, 18 insertions(+) commit 15e690628d282badc1a7dd5ecf27012c5f9fefa9 Author: Guillem Jover Date: Wed Apr 9 08:14:52 2014 +0200 dpkg: On --verify error out on not-installed packages This makes the behaviour of this command consistent with other commands taking package names as arguments. debian/changelog | 1 + src/verify.c | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) commit 97f282bc09a32d95df9596a1c6c4165c5ca4db52 Author: Guillem Jover Date: Thu Mar 27 20:08:13 2014 +0100 dpkg: Add support for loading Packages-files from pipes or stdin This allows loading Packages files in --update-avail and --merge-avail from pipes, or stdin if the argument is omitted or is ‘-’. Closes: #357093, #367297 debian/changelog | 3 +++ man/dpkg.1 | 12 +++++++++--- src/main.c | 4 ++-- src/update.c | 10 +++++++--- 4 files changed, 21 insertions(+), 8 deletions(-) commit a26fce6a81fbe2804e9fc28de172e9a6c69d1679 Author: Guillem Jover Date: Thu Mar 27 20:08:13 2014 +0100 libdpkg: Add support for interpreting filename '-' as stdin Add a new flag so that the caller can request this new interpretation explicitly w/o needing to change the semantics of the filename for the normal case. lib/dpkg/dpkg-db.h | 2 ++ lib/dpkg/parse.c | 4 ++++ 2 files changed, 6 insertions(+) commit dcc9d6d7f4dd06e79b601b453570b124e1285bfe Author: Guillem Jover Date: Thu Mar 27 19:52:22 2014 +0100 libdpkg: Allow loading deb822 package stanzas from a pipe lib/dpkg/parse.c | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) commit 97e6268256a62927e85bf3a137fc22a111753d87 Author: Guillem Jover Date: Thu Mar 27 19:19:28 2014 +0100 libdpkg: Refactor parsedb_load() out from parsedb_open() And move the call to parsedb() to detangle the opening operation from the loading one. lib/dpkg/parse.c | 21 +++++++++++++++------ lib/dpkg/parsedump.h | 2 ++ 2 files changed, 17 insertions(+), 6 deletions(-) commit 7d98d267c8d276e78fb2cf8a315780c7ddebb620 Author: Guillem Jover Date: Thu Mar 27 19:19:28 2014 +0100 libdpkg: Refactor parsedb_parse() out from parsedb() lib/dpkg/parse.c | 39 +++++++++++++++++++++++++++------------ lib/dpkg/parsedump.h | 2 ++ 2 files changed, 29 insertions(+), 12 deletions(-) commit 509b759c93deca71e8709e5d8f82514820f3d9c1 Author: Guillem Jover Date: Mon Apr 21 02:39:49 2014 +0200 libdpkg: Move parsedb descriptor closure to parsedb_close() Add a new parsedb flag to track if we need to close the file descriptor. lib/dpkg/dpkg-db.h | 2 ++ lib/dpkg/parse.c | 14 ++++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) commit ef11a50ff851781a05bb49adf1d34a11192ab64e Author: Guillem Jover Date: Thu Mar 27 19:38:40 2014 +0100 libdpkg: Refactor parsedb_new() out from parsedb_open() lib/dpkg/parse.c | 23 ++++++++++++++++++----- lib/dpkg/parsedump.h | 2 ++ 2 files changed, 20 insertions(+), 5 deletions(-) commit a0225b5d8acbd553074373f1b90da631f35bee1a Author: Guillem Jover Date: Thu Mar 27 19:38:40 2014 +0100 libdpkg: Rename parse_close() to parsedb_close() lib/dpkg/parse.c | 6 +++--- lib/dpkg/parsedump.h | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) commit 584dffcc0e9f85782ddecca6b24e5b5ac82d3361 Author: Guillem Jover Date: Mon Apr 21 03:50:31 2014 +0200 libdpkg: Rename parse_open() to parsedb_open() lib/dpkg/parse.c | 4 ++-- lib/dpkg/parsedump.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 880d5ba027ba13d91697838f4cc2151b866b840b Author: Guillem Jover Date: Tue Apr 8 00:47:22 2014 +0200 libdpkg: Move parser fd into parsedb_state This removes a function static variable, as it is now allocated inside a structure in the heap, so push_cleanup will always be able to access it, and makes parsedb() a bit more reentrable and easier to refactor. lib/dpkg/parse.c | 13 +++++++------ lib/dpkg/parsedump.h | 1 + 2 files changed, 8 insertions(+), 6 deletions(-) commit 16405d6edf30d9169f73e11a0a7d797aa7c5de20 Author: Guillem Jover Date: Tue Apr 8 00:43:33 2014 +0200 libdpkg: Allocate parsedb_state on the heap lib/dpkg/parse.c | 34 +++++++++++++++++++--------------- lib/dpkg/parsedump.h | 4 ++-- 2 files changed, 21 insertions(+), 17 deletions(-) commit 97ffe228c96b815a2dc3a689b70b6827d0cb255b Author: Guillem Jover Date: Mon Feb 24 06:00:01 2014 +0100 dpkg-split, dpkg: Use new str_match_end() function instead of ad-hoc code dpkg-split/split.c | 18 +++++++----------- src/packages.c | 12 +++++------- 2 files changed, 12 insertions(+), 18 deletions(-) commit 9933a758c0a8c40dc7977e3d0c101c70d511aee3 Author: Guillem Jover Date: Mon Feb 24 06:00:01 2014 +0100 libdpkg: Add new str_match_end() function lib/dpkg/libdpkg.map | 1 + lib/dpkg/string.c | 23 ++++++++++++++++++++++- lib/dpkg/string.h | 4 +++- lib/dpkg/test/t-string.c | 13 +++++++++++-- 4 files changed, 37 insertions(+), 4 deletions(-) commit 4e6079bb6756db9567c44079706df4e0abf0a46a Author: Guillem Jover Date: Mon Jan 27 04:21:25 2014 +0100 libdpkg: Add new struct dpkg_ar_member to handle in-core ar headers lib/dpkg/ar.c | 37 ++++++++++++++++++++++++++++--------- lib/dpkg/ar.h | 16 +++++++++++++++- 2 files changed, 43 insertions(+), 10 deletions(-) commit d9833ac0b6b66e9dfaff272f6d0a25373bfff091 Author: Guillem Jover Date: Wed Feb 19 21:40:03 2014 +0100 libdpkg: Switch test suite to use TAP This has the following benefits. It stops using assert() for the test framework, it prints a more descriptive message, it performs all test cases even if one fails. It allows to skip specific cases, or mark as todo. This also switches the build system to use the automake TAP driver. configure.ac | 1 + debian/changelog | 1 + lib/dpkg/test.h | 64 +++++++++++++++++++++++++++------ lib/dpkg/test/.gitignore | 1 + lib/dpkg/test/Makefile.am | 2 ++ lib/dpkg/test/t-ar.c | 2 ++ lib/dpkg/test/t-arch.c | 2 ++ lib/dpkg/test/t-buffer.c | 2 ++ lib/dpkg/test/t-command.c | 2 ++ lib/dpkg/test/t-deb-version.c | 2 ++ lib/dpkg/test/t-macros.c | 2 ++ lib/dpkg/test/t-mod-db.c | 2 ++ lib/dpkg/test/t-path.c | 2 ++ lib/dpkg/test/t-pkg-list.c | 2 ++ lib/dpkg/test/t-pkg-queue.c | 2 ++ lib/dpkg/test/t-pkginfo.c | 2 ++ lib/dpkg/test/t-progname.c | 2 ++ lib/dpkg/test/t-string.c | 2 ++ lib/dpkg/test/t-subproc.c | 5 ++- lib/dpkg/test/{t-ar.c => t-test-skip.c} | 23 +++--------- lib/dpkg/test/t-test.c | 18 +++++++++- lib/dpkg/test/t-trigger.c | 2 ++ lib/dpkg/test/t-varbuf.c | 2 ++ lib/dpkg/test/t-version.c | 2 ++ 24 files changed, 117 insertions(+), 30 deletions(-) commit 75e991baaeb1d27dd81c1366573b4e765bd49d9e Author: Guillem Jover Date: Wed Apr 9 03:49:56 2014 +0200 libdpkg: Use new test_alloc() macro to test memory allocations Use this instead of normal pass/fail macros, as it will test_bail() on errors, exiting with a proper exit code. debian/changelog | 1 + lib/dpkg/test.h | 16 ++++++++++++++++ lib/dpkg/test/t-arch.c | 2 +- lib/dpkg/test/t-buffer.c | 3 +-- lib/dpkg/test/t-path.c | 17 ++++++----------- lib/dpkg/test/t-pkg-list.c | 14 +++++++------- lib/dpkg/test/t-version.c | 4 ++-- 7 files changed, 34 insertions(+), 23 deletions(-) commit c0ee47fb7540063935020177a842801b79286ed7 Author: Guillem Jover Date: Wed Feb 19 21:40:03 2014 +0100 libdpkg: Add new test_bail() macro lib/dpkg/test.h | 7 +++++++ 1 file changed, 7 insertions(+) commit 01c11fcafd5b48f3a3f2c8fc2e84f0d53336711f Author: Guillem Jover Date: Wed Apr 9 06:35:00 2014 +0200 libdpkg: Test command_exec() exit code Do not expect the test program to just fail. debian/changelog | 1 + lib/dpkg/test/t-command.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) commit c008407f8f6373a28694ea4c45cc75cfef9438f0 Author: Guillem Jover Date: Wed Feb 19 21:40:03 2014 +0100 libdpkg: Do not unnecessarily shut up stdout in t-subproc The only problematic output comes from stderr. debian/changelog | 2 ++ lib/dpkg/test/t-subproc.c | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 07413972ae2ff9fafc08d862e4ed05985f182a5f Author: Guillem Jover Date: Wed Apr 9 20:28:48 2014 +0200 libdpkg, dpkg-deb: Fix compound literal usage with C99 compilers We cannot portably assign a compound literal to a static variable, as the expression is not constant. GCC accepts these for backwards compatibility in its C89 mode, but not in its C99 mode. debian/changelog | 2 ++ dpkg-deb/main.c | 4 ++-- lib/dpkg/deb-version.h | 10 ++++++++-- lib/dpkg/pkg-queue.h | 10 ++++++++-- 4 files changed, 20 insertions(+), 6 deletions(-) commit 639786e29c72baf6b1f0b2ca1cada34df54d8dff Author: Guillem Jover Date: Wed Apr 9 20:14:22 2014 +0200 build: Test for required compound literals And clarify the comment on the designated initializers. debian/changelog | 1 + doc/coding-style.txt | 3 ++- m4/dpkg-compiler.m4 | 6 +++++- 3 files changed, 8 insertions(+), 2 deletions(-) commit 09d43d4f21f6b70c0c1aff2711a1503d7ecf8a35 Author: Guillem Jover Date: Wed Feb 12 05:14:35 2014 +0100 build: Set TAR variable at build time instead of hardcoding it This allows for non-GNU systems to use another value for their GNU tar, which usually is either gnutar or gtar. configure.ac | 3 ++- debian/changelog | 3 +++ lib/dpkg/dpkg.h | 1 - m4/dpkg-progs.m4 | 10 ++++++++++ 4 files changed, 15 insertions(+), 2 deletions(-) commit e07b0622e82ecac1131dd0f1443b19555fc53f44 Author: Guillem Jover Date: Thu Apr 3 08:36:23 2014 +0200 build: Do not link s-s-d against libihash and libshouldbeinlibc on GNU/Hurd These libraries are not used now, and the linking is unnecessary and superfluous. The libps interfaces used to expose or required the caller to use functions from those other libraries long time ago, not anymore though. debian/changelog | 2 ++ m4/dpkg-libs.m4 | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) commit 3fabf94e0b5fe1bcdea26fecee1c87e74fab98b2 Author: Guillem Jover Date: Wed Mar 26 17:26:26 2014 +0100 s-s-d: Add a new --ppid matching option This allows to check for processes with a specific parent PID. Suggested-by: Alex Mestiashvili debian/changelog | 2 + man/start-stop-daemon.8 | 8 +++- utils/start-stop-daemon.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 99 insertions(+), 4 deletions(-) commit 861e165c26d2f62e658d95aedd2746ce0c7445e2 Author: Guillem Jover Date: Sun Apr 20 04:30:23 2014 +0200 s-s-d: Detect system specific headers at configure time Instead of hardcoding their usage depending on system macros. configure.ac | 5 +++-- debian/changelog | 2 ++ utils/start-stop-daemon.c | 31 ++++++++++++++++--------------- 3 files changed, 21 insertions(+), 17 deletions(-) commit eb2981da25b8d68036406e135b891b91139a2601 Author: Guillem Jover Date: Sun Apr 20 04:30:23 2014 +0200 s-s-d: Move Hurd specific headers after all standard headers utils/start-stop-daemon.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit d12071e4aa2b2e137a3a1ab76408b4d68ab67181 Author: Guillem Jover Date: Sat Apr 5 07:44:02 2014 +0200 s-s-d: Fix OpenBSD KVM code to use current kinfo_proc layout debian/changelog | 1 + utils/start-stop-daemon.c | 6 ++++++ 2 files changed, 7 insertions(+) commit 8d708158339cd0503580a810814b97e48926a3d4 Author: Guillem Jover Date: Sat Apr 5 06:51:33 2014 +0200 s-s-d: Add a native FreeBSD pid_is_exec() method Use the KERN_PROC_PATHNAME sysctl interface to retrieve the process pathname. This will allow to stop requiring the linprocfs fileystem which is not the native procfs and is not usually mounted by default anyway. This still has the problem that the pathname cannot be retrieved when the inode has been unlinked, in the same way as when accessing the /proc//exe symlink from linprocfs. debian/changelog | 4 ++++ utils/start-stop-daemon.c | 26 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) commit 559895751cb775e47e2f6466de10a55a5ee7587c Author: Guillem Jover Date: Sat Apr 5 05:24:22 2014 +0200 s-s-d: Fix FreeBSD KVM code to use current kinfo_proc layout debian/changelog | 1 + utils/start-stop-daemon.c | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) commit 02901d4027d0ac49a8a1f88e954da61ea3f625d2 Author: Guillem Jover Date: Sat Apr 5 05:24:22 2014 +0200 s-s-d: Add a generic KVM implementation for do_procinit() This uses the traditional BSD kinfo_proc layout. debian/changelog | 2 ++ utils/start-stop-daemon.c | 29 +++++++++++++++++++++++++++-- 2 files changed, 29 insertions(+), 2 deletions(-) commit cc05292a2d745fd2798153b423663dd673b0dcba Author: Guillem Jover Date: Fri Apr 18 19:55:26 2014 +0200 s-s-d: Remove unnecessary pointer reference and dereference dance utils/start-stop-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7a1b2fb6872d3d2641704d9d08ed0f99757774db Author: Guillem Jover Date: Wed Mar 26 20:35:04 2014 +0100 s-s-d: Use symbolic names for option codes utils/start-stop-daemon.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 51e4a23b56464da01481969d141aa5a41ad3b2ef Author: Guillem Jover Date: Wed Mar 26 17:21:36 2014 +0100 s-s-d: Refactor Linux comm retrieval and switch to use /proc/PID/status This trades parsing ambiguities due to process names with ‘)’ for ones with embedded ‘\n’. But it should be more robust and future proof in general, and allows to retrieve any field by name, which makes the code more clear and reusable. debian/changelog | 3 +++ utils/start-stop-daemon.c | 56 +++++++++++++++++++++++++++++++++-------------- 2 files changed, 42 insertions(+), 17 deletions(-) commit d3611d0d83151f0405506419111bc9cc4066af68 Author: Guillem Jover Date: Sun Apr 13 06:56:44 2014 +0200 dpkg-buildflags: Add support for FCFLAGS, OBJCFLAGS and OBJCXXFLAGS Add default values in Debian and derivatives for these flags. Distinguish FFLAGS from FCFLAGS by mentioning that the former is for the Fortran 77 compiler and the latter for the Fortran 9x compiler. Closes: #744326 debian/changelog | 2 ++ man/dpkg-buildflags.1 | 20 ++++++++++++++++---- scripts/Dpkg/BuildFlags.pm | 9 +++++++++ scripts/Dpkg/Vendor/Debian.pm | 8 ++++++++ scripts/Dpkg/Vendor/Ubuntu.pm | 3 ++- scripts/mk/buildflags.mk | 8 ++++++-- 6 files changed, 43 insertions(+), 7 deletions(-) commit d82f11f1e7205183b19cf3983a2ce90d980119ad Author: Guillem Jover Date: Fri Apr 18 07:45:43 2014 +0200 dpkg-buildflags(1): Add missing flags affected by hardening options debian/changelog | 1 + man/dpkg-buildflags.1 | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) commit 163d44a7bd33397ab3b4c68f0b74db59553a3fb7 Author: Christian Svensson Date: Mon Jan 27 00:15:46 2014 +0100 Add OpenRISC or1k support to cputable Closes: #736717 Signed-off-by: Guillem Jover cputable | 1 + debian/changelog | 2 ++ 2 files changed, 3 insertions(+) commit bbaa8eabaf0826b6213ea568c7ba3f884d352957 Author: Adam Conrad Date: Wed Feb 12 04:41:16 2014 +0100 Dpkg::Vendor::Ubuntu: Update ppc64el build flags support Ubuntu never ended up shipping a ppc64 architecture, instead they have a ppc64el one, so switch to that. And honor the noopt DEB_BUILD_OPTIONS flag. Closes: #738691 Signed-off-by: Guillem Jover debian/changelog | 3 +++ scripts/Dpkg/Vendor/Ubuntu.pm | 10 ++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) commit a580499ac5fa4e1e7feee69d08dfd044d790a275 Author: Guillem Jover Date: Wed Apr 2 16:11:19 2014 +0200 Dpkg::Vendor: Try to load Vendor modules from the parent vendors If there's no available module for the requested vendor, try loading a Parent until one is found, or we fallback to Default. Closes: #735978 debian/changelog | 3 +++ scripts/Dpkg/Vendor.pm | 21 ++++++++++++++------- scripts/Makefile.am | 2 ++ scripts/t/Dpkg_Vendor.t | 33 +++++++++++++++++++++++++++++++++ scripts/t/origins/gnewsense | 4 ++++ 5 files changed, 56 insertions(+), 7 deletions(-) commit 82d38b898e5d3ca243460f705c949c14a16a7c8a Author: Guillem Jover Date: Wed Apr 2 16:09:06 2014 +0200 Dpkg::Vendor: Cache vendor info Control::Hash objects Avoid parsing again the current vendor file on each hook invocation, by caching the parsed object into a hash. debian/changelog | 2 ++ scripts/Dpkg/Vendor.pm | 4 ++++ 2 files changed, 6 insertions(+) commit 86aabea72688567586adc472b502e06ebc28b1c2 Author: Guillem Jover Date: Mon Mar 24 23:04:43 2014 +0100 dpkg-buildpackage: Do not interpret the dsc filename as a regex This only affects generated .changes files, when signing a .dsc file with metacharacters in its filename. Closes: #742535 debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 03dc67940a1bcdfba6732e257fe1f35f59aea8f6 Author: Guillem Jover Date: Thu Apr 3 06:08:45 2014 +0200 dpkg-source: Add arch and profile information to Package-List field Add two new optional values to the Packages-List field, with architecture and build-profiles information. These values have the form «name=value1,value2», and might appear in any order after the mandatory values. This allows to run bootstrapping analysis over the Sources package indices. Requested-by: Johannes Schauer Suggested-by: Raphaël Hertzog debian/changelog | 4 ++++ scripts/Dpkg/Control/FieldsCore.pm | 4 ++++ scripts/dpkg-source.pl | 11 ++++++++++- 3 files changed, 18 insertions(+), 1 deletion(-) commit b916e61f0feb8eb37d9f00bbd4066c4f1b53babe Author: Guillem Jover Date: Fri Mar 28 03:13:52 2014 +0100 dpkg-source: Add a new extraction --ignore-bad-version option This allows to extract ancient source packages with broken versions, that used to be accepted at some point in time by dpkg-source. Closes: #740883 debian/changelog | 2 ++ man/dpkg-source.1 | 5 +++++ scripts/Dpkg/Source/Package.pm | 8 +++++++- scripts/Dpkg/Source/Package/V1.pm | 4 ++++ scripts/Dpkg/Source/Package/V2.pm | 5 +++++ 5 files changed, 23 insertions(+), 1 deletion(-) commit 5175cc7164d1d853375bc4eb59042aa68fcc63f7 Author: Moritz Muehlenhoff Date: Sun Feb 9 03:02:46 2014 +0100 dpkg-source: Improve warning message when ignoring file removals Hint at the --include-removal option in the warning to direct the user to it. Closes: #738310 Signed-off-by: Guillem Jover debian/changelog | 3 +++ scripts/Dpkg/Source/Patch.pm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 9947ec14e51ed738ac1447f788b659fadff3bef2 Author: Guillem Jover Date: Tue Jan 28 01:13:51 2014 +0100 dpkg-genchanges: Clarify error message on binary builds w/o binaries Only load the files list file if it exists, so that we can check if there's any binary file being distributed. When all binary packages are for different architectures than the requested one, and no additional files have been shipped for distribution (via dpkg-distaddfile), we should error out early and with a better and more clear error, than just "no files list file found". Closes: #726520 debian/changelog | 2 ++ scripts/dpkg-genchanges.pl | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) commit e1749d77a44ee1c82c2d047cf9be4b071554832d Author: Guillem Jover Date: Sat Feb 1 01:48:31 2014 +0100 scripts: Use new Dpkg::Dist::Files module instead of ad-hoc code scripts/dpkg-distaddfile.pl | 24 +++++--------- scripts/dpkg-genchanges.pl | 77 +++++++++++++++++---------------------------- scripts/dpkg-gencontrol.pl | 36 +++++++++------------ 3 files changed, 51 insertions(+), 86 deletions(-) commit b777140be7b5f542b821f8a0f1cec74ee8330f12 Author: Guillem Jover Date: Sat Feb 1 01:48:31 2014 +0100 dpkg-genchanges: Only track attributes for distributed files scripts/dpkg-genchanges.pl | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 51db7754d5dbfc4efe1cf205427a37be4c0f46ec Author: Guillem Jover Date: Tue Jan 28 01:40:34 2014 +0100 dpkg-gencontrol: Remove unused %p2ver variable scripts/dpkg-genchanges.pl | 2 -- 1 file changed, 2 deletions(-) commit 06be16451a0840a4769963f559c45367c7b24db4 Author: Guillem Jover Date: Tue Jan 28 01:36:38 2014 +0100 dpkg-genchanges: Remove unnecessary %pa2f variable The first warning never triggers, as it's using %p2f with a key for %pa2f. And the other warning, just uses the %pa2f hash to retrieve a list of package names, already kept in %p2f. scripts/dpkg-genchanges.pl | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) commit 545662b03074278d9b0d009b673e9702c4ea82d0 Author: Guillem Jover Date: Tue Jan 28 01:31:12 2014 +0100 dpkg-gencontrol: Split substvars pass from actual printing This will allow to switch the code to use a new Dpkg::Dist::Files module. scripts/dpkg-gencontrol.pl | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 31f280b1d73f8a76fe7ca0d58a45b41508d2a751 Author: Guillem Jover Date: Tue Jan 28 01:31:12 2014 +0100 dpkg-gencontrol: Move setting of fallback $forcefilename before locking scripts/dpkg-gencontrol.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit be7da07bbc26cf9b799fa6425b60025ab0e91956 Author: Guillem Jover Date: Tue Jan 28 01:08:01 2014 +0100 Dpkg::Dist::Files: New perl module scripts/Dpkg/Dist/Files.pm | 141 +++++++++++++++++++++++++++++++++ scripts/Makefile.am | 3 + scripts/po/POTFILES.in | 1 + scripts/t/Dpkg_Dist_Files.t | 95 ++++++++++++++++++++++ scripts/t/Dpkg_Dist_Files/files-byhand | 5 ++ 5 files changed, 245 insertions(+) commit 1469ab6fc964ffd7f83e4e842ad4cf89a48328e5 Author: Guillem Jover Date: Wed Apr 2 03:59:47 2014 +0200 Dpkg::Deps: Do not generate perl warnings on undef versions in deps_compare() Ref: #737731 debian/changelog | 2 ++ scripts/Dpkg/Deps.pm | 6 ++++-- scripts/t/Dpkg_Deps.t | 6 +++++- 3 files changed, 11 insertions(+), 3 deletions(-) commit c018d4712353cf6d6571e46ff71445e5f33af354 Author: Guillem Jover Date: Mon Jan 27 00:20:51 2014 +0100 Dpkg::Control::HashCore: Document is_pgp_signed as a public option Closes: #735975 debian/changelog | 2 ++ scripts/Dpkg/Control/HashCore.pm | 7 +++++++ 2 files changed, 9 insertions(+) commit 74e7ba89e0478355cf929e6abde534992bc13342 Author: Guillem Jover Date: Sun Jan 26 22:44:44 2014 +0100 dpkg-checkbuilddeps: Split check_line into build_depends and build_conflicts The functions have less in common than what it looks like. Splitting the functions actually reduces the line count. scripts/dpkg-checkbuilddeps.pl | 48 ++++++++++++++++-------------------------- 1 file changed, 18 insertions(+), 30 deletions(-) commit 93a41e1bd09c6eef0383eb67df5a77a28b69ec55 Author: Guillem Jover Date: Wed Feb 26 03:43:04 2014 +0100 dpkg-checkbuilddeps: Move deps_parse() error checking just after the calls scripts/dpkg-checkbuilddeps.pl | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) commit 5639796e64843778a55e3e918a9d980bc3c6371d Author: Guillem Jover Date: Sun Jan 26 22:48:05 2014 +0100 dpkg-checkbuilddeps: Fix bogus message on dependency parse errors Force deps_parse() return code into a scalar, so that the empty list does not get interpolated and ignored. Use the opportunity to reduce nesting. Closes: #736778 debian/changelog | 2 ++ scripts/dpkg-checkbuilddeps.pl | 18 ++++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) commit 78b91af405e5fb918ee8cdfc71856539a5f526a8 Author: Guillem Jover Date: Sun Mar 30 18:28:15 2014 +0200 dpkg-parsechangelog: Do not generate perl warnings on nonexistent fields debian/changelog | 2 ++ scripts/dpkg-parsechangelog.pl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 47732d7563e18f14c2e04784852dd9a837b41701 Author: Guillem Jover Date: Thu Apr 10 01:54:51 2014 +0200 test: Remove sequence number prefixes from test case filenames This stops the madness of having to invent sequence numbers to be able to order the test suite run. Instead we now honour the order of the arguments passed to the runner. Makefile.am | 6 +- debian/changelog | 1 + scripts/Makefile.am | 170 ++++++++++----------- .../200_Dpkg_Shlibs/ld.so.conf.d/inf_recurse.conf | 1 - .../t/200_Dpkg_Shlibs/ld.so.conf.d/recursive.conf | 1 - scripts/t/{110_Dpkg_Arch.t => Dpkg_Arch.t} | 0 ...300_Dpkg_BuildOptions.t => Dpkg_BuildOptions.t} | 0 .../t/{600_Dpkg_Changelog.t => Dpkg_Changelog.t} | 2 +- .../{600_Dpkg_Changelog => Dpkg_Changelog}/countme | 0 .../{600_Dpkg_Changelog => Dpkg_Changelog}/fields | 0 .../misplaced-tz | 0 .../regressions | 0 .../{600_Dpkg_Changelog => Dpkg_Changelog}/shadow | 0 ..._Changelog_Ubuntu.t => Dpkg_Changelog_Ubuntu.t} | 2 +- .../{850_Dpkg_Compression.t => Dpkg_Compression.t} | 2 +- scripts/t/{700_Dpkg_Control.t => Dpkg_Control.t} | 2 +- .../bogus-armor-double.dsc | 0 .../bogus-armor-inline.dsc | 0 .../bogus-armor-nested.dsc | 0 .../bogus-armor-no-sig.dsc | 0 .../bogus-armor-spaces.dsc | 0 .../bogus-armor-trail.dsc | 0 .../bogus-unsigned.dsc | 0 .../t/{700_Dpkg_Control => Dpkg_Control}/control-1 | 0 scripts/t/{400_Dpkg_Deps.t => Dpkg_Deps.t} | 0 scripts/t/{800_Dpkg_IPC.t => Dpkg_IPC.t} | 0 scripts/t/{150_Dpkg_Package.t => Dpkg_Package.t} | 0 scripts/t/{500_Dpkg_Path.t => Dpkg_Path.t} | 2 +- scripts/t/{200_Dpkg_Shlibs.t => Dpkg_Shlibs.t} | 4 +- .../t/{200_Dpkg_Shlibs => Dpkg_Shlibs}/basictags.c | 0 .../basictags.symbols | 0 .../t/{200_Dpkg_Shlibs => Dpkg_Shlibs}/ld.so.conf | 2 +- .../t/Dpkg_Shlibs/ld.so.conf.d/inf_recurse.conf | 1 + .../ld.so.conf.d/normal.conf | 0 scripts/t/Dpkg_Shlibs/ld.so.conf.d/recursive.conf | 1 + .../{200_Dpkg_Shlibs => Dpkg_Shlibs}/ld.so.conf_2 | 0 .../objdump.basictags-amd64 | 2 +- .../objdump.basictags-i386 | 2 +- .../objdump.blacklisted | 0 .../objdump.dbd-pg | 0 .../objdump.glib-ia64 | 0 .../objdump.libc6-2.3 | 0 .../objdump.libc6-2.6 | 0 .../t/{200_Dpkg_Shlibs => Dpkg_Shlibs}/objdump.ls | 0 .../objdump.patterns | 2 +- .../{200_Dpkg_Shlibs => Dpkg_Shlibs}/objdump.space | 0 .../{200_Dpkg_Shlibs => Dpkg_Shlibs}/patterns.cpp | 0 .../{200_Dpkg_Shlibs => Dpkg_Shlibs}/patterns.map | 0 .../patterns.symbols | 0 .../symbols.blacklist-filter | 0 .../symbols.blacklist-groups | 0 .../symbols.blacklist-ignore | 0 .../symbols.blacklisted | 0 .../symbols.fake-1 | 0 .../symbols.fake-2 | 0 .../symbols.fake-3 | 0 .../symbols.include-1 | 0 .../symbols.include-2 | 0 .../symbols.include-3 | 0 ...Dpkg_Shlibs_Cppfilt.t => Dpkg_Shlibs_Cppfilt.t} | 0 .../t/{750_Dpkg_Substvars.t => Dpkg_Substvars.t} | 6 +- .../substvars1 | 0 scripts/t/{550_Dpkg_Util.t => Dpkg_Util.t} | 0 scripts/t/{100_Dpkg_Version.t => Dpkg_Version.t} | 0 .../{910_merge_changelogs.t => merge_changelogs.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 src/Makefile.am | 2 +- src/t/{100_dpkg_divert.t => dpkg_divert.t} | 2 +- test/{100_critic.t => critic.t} | 2 +- test/{100_critic => critic}/perlcriticrc | 0 test/{000_pod.t => pod.t} | 0 utils/Makefile.am | 2 +- ...update_alternatives.t => update_alternatives.t} | 2 +- 83 files changed, 111 insertions(+), 110 deletions(-) commit f6bb010cb94173ef851fffc255c1e5b2a3e23753 Author: Guillem Jover Date: Sun Apr 20 05:10:00 2014 +0200 build: Rename Makecheck.am to just check.am The original name was confusing with Makefile.am, let's be more clear. Makefile.am | 2 +- Makecheck.am => check.am | 0 scripts/Makefile.am | 2 +- src/Makefile.am | 2 +- utils/Makefile.am | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) commit fb728db6fa8eca35534dd7f0be85124392a57e8d Author: Guillem Jover Date: Sun Apr 20 05:00:38 2014 +0200 build: Enable colors for Test::Harness This enables colors in runner ouput, although it does not seem to do much anyway. Makecheck.am | 2 +- debian/changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit 2695fca526f8685fca67f5f3d6a95810297a6d44 Author: Guillem Jover Date: Sun Apr 20 05:00:38 2014 +0200 build: Use Test::Harness instead of ExtUtils::Command::MM This stops using the "internal use only" module ExtUtils::Command::MM, and preserves the order of the modules as passed on the command line, which allows us to remove the sequence number prefixes. Makecheck.am | 3 ++- debian/changelog | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) commit f18b4447aed248f2154e68eb4810c20a2021d6ee Author: Guillem Jover Date: Wed Apr 2 03:57:17 2014 +0200 scripts: Use // operator instead of defined and ternary operator scripts/Dpkg/Deps.pm | 4 ++-- scripts/Dpkg/Shlibs/Objdump.pm | 4 ++-- scripts/Dpkg/Shlibs/Symbol.pm | 2 +- scripts/dpkg-gensymbols.pl | 2 +- scripts/dpkg-scanpackages.pl | 2 +- scripts/dpkg-shlibdeps.pl | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) commit 82e5f76256237dc9407c8f532befe94307d6d724 Author: Guillem Jover Date: Mon Mar 31 07:36:22 2014 +0200 scripts: Add a space after comma scripts/Dpkg/Changelog.pm | 2 +- scripts/Dpkg/Source/Functions.pm | 2 +- scripts/dpkg-genchanges.pl | 6 +++--- scripts/dpkg-scanpackages.pl | 2 +- scripts/dpkg-shlibdeps.pl | 2 +- scripts/dpkg-source.pl | 2 +- scripts/t/200_Dpkg_Shlibs.t | 2 +- scripts/t/750_Dpkg_Substvars.t | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-) commit 76923e8e32be9188cf6236fa1d1e70c280964ceb Author: Guillem Jover Date: Sun Mar 30 20:42:56 2014 +0200 scripts: Add a space after flow control statements scripts/Dpkg/Changelog/Entry/Debian.pm | 2 +- scripts/Dpkg/Changelog/Parse.pm | 2 +- scripts/Dpkg/Shlibs/SymbolFile.pm | 3 ++- scripts/Dpkg/Source/Package.pm | 2 +- scripts/Dpkg/Source/Patch.pm | 4 ++-- scripts/Dpkg/Vendor/Ubuntu.pm | 2 +- scripts/dpkg-gensymbols.pl | 2 +- scripts/dpkg-scansources.pl | 2 +- 8 files changed, 10 insertions(+), 9 deletions(-) commit 7e7156bee2e03e6f5103b330c615387919faa94d Author: Guillem Jover Date: Sun Mar 30 21:20:22 2014 +0200 scripts: Localize $_ in functions with while (<$fh>) style loops This way we make sure we don't affect the $_ value for the caller, in case it was being used. debian/changelog | 1 + scripts/Dpkg/BuildFlags.pm | 2 ++ scripts/Dpkg/Changelog/Debian.pm | 1 + scripts/Dpkg/Changelog/Parse.pm | 2 ++ scripts/Dpkg/Conf.pm | 2 ++ scripts/Dpkg/Control/HashCore.pm | 1 + scripts/Dpkg/Shlibs.pm | 2 ++ scripts/Dpkg/Shlibs/Objdump.pm | 2 ++ scripts/Dpkg/Source/Package/V3/Bzr.pm | 2 ++ scripts/Dpkg/Source/Package/V3/Git.pm | 4 +++- scripts/Dpkg/Source/Patch.pm | 2 ++ scripts/Dpkg/Substvars.pm | 2 ++ 12 files changed, 22 insertions(+), 1 deletion(-) commit ca5c1088f961a3ddd728f4681a7b8018be9bff53 Author: Richard Levitte Date: Fri Feb 14 13:47:37 2014 +0100 dpkg-maintscript-helper: Use exit instead of return to exit a subshell Closes: #738957 Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/dpkg-maintscript-helper.sh | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit f4998f84369dcf7dabc5a478537426b2ce23c1d7 Author: Guillem Jover Date: Tue Apr 1 04:56:37 2014 +0200 dpkg-maintscript-helper(1): Improve symlink<->directory switch information Document that downgrades are not supported, and clarify how to set prior-version. Closes: #739388 debian/changelog | 2 ++ man/dpkg-maintscript-helper.1 | 21 +++++++++++++-------- 2 files changed, 15 insertions(+), 8 deletions(-) commit c62fede80a0b78a34ac39097b0776d649a0aa9af Author: Guillem Jover Date: Fri Mar 28 02:55:52 2014 +0100 dpkg-source(1): Fix indentation of "Extract options (with -x)" title debian/changelog | 1 + man/dpkg-source.1 | 1 + 2 files changed, 2 insertions(+) commit 9f13845ac19b6eeeaa3891cae1a2e15b5190f671 Author: Guillem Jover Date: Wed Apr 2 05:59:55 2014 +0200 dpkg-query(1): Document the --control-path life expectancy There's still at least one scenario that can only be covered by --control-path, and as long as that's the case the command will not get removed. Ref: #699647 debian/changelog | 1 + doc/README.feature-removal-schedule | 4 +++- man/dpkg-query.1 | 11 +++++++++-- 3 files changed, 13 insertions(+), 3 deletions(-) commit 4657c0db7944ff652b77a0fbf7988ff641d6bfb1 Author: Guillem Jover Date: Sat Feb 1 01:51:31 2014 +0100 dpkg-buildpackage(1): Clarify --check-option description Reported-by: Helge Kreutzmann debian/changelog | 1 + man/dpkg-buildpackage.1 | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit acbe5dd19140b01632b46b0329c1b5c0e4e5d09c Author: Guillem Jover Date: Sat Feb 1 01:49:33 2014 +0100 dpkg-buildpackage(1): Add missing "hook" after postclean description Reported-by: Helge Kreutzmann man/dpkg-buildpackage.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3fc6e13a4f894ef7d9a96633f56fede6f43a0511 Author: Guillem Jover Date: Sat Feb 1 01:53:27 2014 +0100 deb-control(5): Clarify Multi-Arch: no field omission Reported-by: Helge Kreutzmann debian/changelog | 1 + man/deb-control.5 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 62935e85ec6f2691837a9c2401807f7d9059cb7b Author: Guillem Jover Date: Wed Apr 2 06:09:06 2014 +0200 deb-symbols(5): Document that the main-dependency-template is always used The main-dependency-template always gets added, and might end up being combined with the template pointed by id-of-dependency-template if that is present. Closes: #737731 debian/changelog | 5 +++++ man/deb-symbols.5 | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) commit 6a1e52d6d68da64bdc2be24277a2d8288912cb82 Author: Theppitak Karoonboonyanan Date: Fri Apr 18 07:34:19 2014 +0200 Update Thai program translation Closes: #745032 Signed-off-by: Guillem Jover debian/changelog | 1 + po/th.po | 508 ++++++++++++++++--------------------------------------- 2 files changed, 145 insertions(+), 364 deletions(-) commit e0a9b2601d82d033cbcef6b0717f36671f6eacb5 Author: Beatrice Torracca Date: Wed Mar 26 17:15:22 2014 +0100 Update Italian man page translation [guillem@debian.org: - Replace logical NOT with NON. - Add missing spaces. ] Closes: #742449 Signed-off-by: Guillem Jover debian/changelog | 1 + man/po/it.po | 1541 +++++++++++++++++++++++------------------------------- 2 files changed, 651 insertions(+), 891 deletions(-) commit 6c5721b05bf84b82f3afe9491e2d649c63169acd Author: Trần Ngọc Quân Date: Mon Feb 10 08:50:06 2014 +0700 Update and review Vietnamese program translation Signed-off-by: Trần Ngọc Quân Signed-off-by: Guillem Jover debian/changelog | 1 + po/vi.po | 64 ++++++++++++++++---------------------------------------- 2 files changed, 19 insertions(+), 46 deletions(-) commit 5d70447ad0775aefd36b4479a493f487f03b5d56 Author: Guillem Jover Date: Mon Mar 24 04:59:57 2014 +0100 build: Disable parallel executions Most of the tests are serial in nature, as they perform package database changes, and the Makefile are written with that in mind. Avoid any surprises by explicitly disallowing parallel executions. Test.mk | 4 ++++ 1 file changed, 4 insertions(+) commit 9a2a2e2c1b1c78acf35fb7a46352e6927516e8dc Author: Guillem Jover Date: Sat Mar 22 04:20:24 2014 +0100 t-deb-format: Check uniform compression support t-deb-format/Makefile | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) commit 51734b6560874807757e6293e28fcce943689249 Author: Guillem Jover Date: Sat Mar 22 04:17:05 2014 +0100 t-deb-lfs: Rename PKG_TFS to PKG_SFS Missed in commit c8bfb5d2d5d5998dfc1630d1a1da4f08c3a36fd2. Reported-by: Bernhard R. Link t-deb-lfs/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit db9051cc21519459b7552f5d04d2465386d0b772 Author: Игорь Пашев Date: Sat Feb 1 23:13:32 2014 +0400 Typo in Swedish translation Hi, Peter! Your patch [1] causes FTBFS: Discard ru/update-alternatives.8 (11 of 138 strings; only 7.97% translated; need 80%). dpkg-buildpackage.1:59: (po4a::man) Unknown '<' or '>' sequence. Faulty message: K?r haken och anropar \fBdebian/rules\fP \fIbyggm?l\fP, d?refter k?rs haken \fBbinary\fP f?ljt av \fBfakeroot debian/rules\fP \fIbin?rm?l\fP (s?vida inte ett bygge av enbart k?llkod har valts med \fB\-S\fP). Observera att \fIbyggm?l\fP och \fIbin?rm?l\fP ?r ett av \fBbuild\fP och \fBbinary\fP (standardval, eller om \fB\-b\fP anges), \fBbuild\-arch\fP och \fBbinary\-arch\fP (om \fB\-B\fP anges) eller \fBbuild\-indep\fP och \fBbinary\-indep\fP (om \fB\-A\fP anges). make[3]: *** [man.stamp] Error 88 A fix: man/po/sv.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c27a16f99657a0618c3e33c51f92e28b71fd6a44 Author: Peter Krefting Date: Wed Jan 29 10:57:09 2014 +0100 Update Swedish translation po/sv.po: 1088t0f0u. man/po/sv.po: 229t0f0u. scripts/po/sv.po: 546t0f0u. debian/changelog | 3 + man/po/sv.po | 385 +++++++++++++++++++++++-------------------------------- po/sv.po | 49 ++----- scripts/po/sv.po | 74 ++--------- 4 files changed, 189 insertions(+), 322 deletions(-) commit 20d8518b28941231ad71917079da8f5bdaeca8b1 Author: Raphaël Hertzog Date: Mon Jan 20 11:16:12 2014 +0100 Fix build failure due bad syntax in German's man page translation man/po/de.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2ab29f5450ac1c3693753be83a2343543e9bee04 Author: Helge Kreutzmann Date: Fri Jan 17 21:44:11 2014 +0100 Update German translation of manual pages Update to 2228t0f1u. debian/changelog | 3 + man/po/de.po | 220 ++++++++++++++++++++----------------------------------- 2 files changed, 81 insertions(+), 142 deletions(-) commit 29c92ffdc6d5833a14dcab907e439296e28fcbc0 Author: Sven Joachim Date: Fri Jan 17 18:27:23 2014 +0100 German dpkg translation update Update to 1086t2u. debian/changelog | 3 +++ po/de.po | 54 +++++++++++++++--------------------------------------- 2 files changed, 18 insertions(+), 39 deletions(-) commit 69bc8eb17199f1aeae4ec9a3ea6a6142639a471c Author: Helge Kreutzmann Date: Fri Jan 17 14:07:18 2014 +0100 Update German scripts translation Update to 546t. debian/changelog | 3 ++- scripts/po/de.po | 76 +++++++++++--------------------------------------------- 2 files changed, 17 insertions(+), 62 deletions(-) commit 1e059955df241caf1a6dcb8ecb47fe72d1641f8c Author: Raphaël Hertzog Date: Thu Jan 16 09:14:01 2014 +0100 dpkg-buildpackage(1): Drop duplicate word “calls” man/dpkg-buildpackage.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ca3e9ea4a3d218f1605757355ee88ca1572d5bb2 Author: Guillem Jover Date: Wed Jan 15 19:11:41 2014 +0100 Dpkg::Compression::FileHandle: Use croak instead of error on programming errors scripts/Dpkg/Compression/FileHandle.pm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 8f7135323abb5707c6e93284929c60ed667d99c6 Author: Guillem Jover Date: Wed Jan 15 19:03:13 2014 +0100 Bump version to 1.17.7 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 4d60c8934f1db37ed64188d3549a44c26de5f63b Author: Guillem Jover Date: Wed Jan 15 05:30:01 2014 +0100 Release 1.17.6 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8bfbf3b8eda02383ac3d178b7a97654c7b979679 Author: Guillem Jover Date: Wed Jan 15 05:29:12 2014 +0100 Regenerate .pot files and merge .po files with them dselect/po/bs.po | 14 +- dselect/po/ca.po | 14 +- dselect/po/cs.po | 14 +- dselect/po/da.po | 14 +- dselect/po/de.po | 14 +- dselect/po/dselect.pot | 16 +- dselect/po/el.po | 14 +- dselect/po/es.po | 14 +- dselect/po/et.po | 14 +- dselect/po/eu.po | 14 +- dselect/po/fr.po | 14 +- dselect/po/gl.po | 14 +- dselect/po/hu.po | 14 +- dselect/po/id.po | 14 +- dselect/po/it.po | 14 +- dselect/po/ja.po | 14 +- dselect/po/ko.po | 14 +- dselect/po/nb.po | 14 +- dselect/po/nl.po | 14 +- dselect/po/nn.po | 14 +- dselect/po/pl.po | 14 +- dselect/po/pt.po | 14 +- dselect/po/pt_BR.po | 14 +- dselect/po/ro.po | 14 +- dselect/po/ru.po | 14 +- dselect/po/sk.po | 14 +- dselect/po/sv.po | 14 +- dselect/po/tl.po | 14 +- dselect/po/vi.po | 14 +- dselect/po/zh_CN.po | 14 +- dselect/po/zh_TW.po | 14 +- man/po/de.po | 746 ++++++++++++++++++++++----------- man/po/dpkg-man.pot | 803 ++++++++++++++++++++++------------- man/po/es.po | 951 ++++++++++++++++++++++++++++-------------- man/po/fr.po | 954 ++++++++++++++++++++++++++++-------------- man/po/hu.po | 824 +++++++++++++++++++++++------------- man/po/it.po | 936 +++++++++++++++++++++++++++-------------- man/po/ja.po | 951 ++++++++++++++++++++++++++++-------------- man/po/pl.po | 954 ++++++++++++++++++++++++++++-------------- man/po/pt_BR.po | 822 +++++++++++++++++++++++------------- man/po/ru.po | 829 ++++++++++++++++++++++++------------- man/po/sv.po | 1058 +++++++++++++++++++++++++++++++---------------- po/ast.po | 624 ++++++++++++++-------------- po/bs.po | 614 +++++++++++++-------------- po/ca.po | 623 ++++++++++++++-------------- po/cs.po | 624 ++++++++++++++-------------- po/da.po | 623 ++++++++++++++-------------- po/de.po | 651 +++++++++++++++-------------- po/dpkg.pot | 615 +++++++++++++-------------- po/dz.po | 622 ++++++++++++++-------------- po/el.po | 623 ++++++++++++++-------------- po/eo.po | 620 +++++++++++++-------------- po/es.po | 627 ++++++++++++++-------------- po/et.po | 621 ++++++++++++++-------------- po/eu.po | 623 ++++++++++++++-------------- po/fr.po | 623 ++++++++++++++-------------- po/gl.po | 623 ++++++++++++++-------------- po/hu.po | 619 +++++++++++++-------------- po/id.po | 620 +++++++++++++-------------- po/it.po | 624 ++++++++++++++-------------- po/ja.po | 646 +++++++++++++++-------------- po/km.po | 621 ++++++++++++++-------------- po/ko.po | 620 +++++++++++++-------------- po/ku.po | 617 +++++++++++++-------------- po/lt.po | 621 ++++++++++++++-------------- po/mr.po | 617 +++++++++++++-------------- po/nb.po | 623 ++++++++++++++-------------- po/ne.po | 619 +++++++++++++-------------- po/nl.po | 622 ++++++++++++++-------------- po/nn.po | 622 ++++++++++++++-------------- po/pa.po | 617 +++++++++++++-------------- po/pl.po | 624 ++++++++++++++-------------- po/pt.po | 622 ++++++++++++++-------------- po/pt_BR.po | 623 ++++++++++++++-------------- po/ro.po | 623 ++++++++++++++-------------- po/ru.po | 622 ++++++++++++++-------------- po/sk.po | 623 ++++++++++++++-------------- po/sv.po | 617 ++++++++++++++------------- po/th.po | 618 +++++++++++++-------------- po/tl.po | 621 ++++++++++++++-------------- po/vi.po | 672 +++++++++++++++--------------- po/zh_CN.po | 618 +++++++++++++-------------- po/zh_TW.po | 618 +++++++++++++-------------- scripts/po/ca.po | 525 ++++++++++++----------- scripts/po/de.po | 468 ++++++++++++--------- scripts/po/dpkg-dev.pot | 501 +++++++++++----------- scripts/po/es.po | 526 ++++++++++++----------- scripts/po/fr.po | 526 ++++++++++++----------- scripts/po/pl.po | 526 ++++++++++++----------- scripts/po/ru.po | 526 ++++++++++++----------- scripts/po/sv.po | 468 ++++++++++++--------- 91 files changed, 21870 insertions(+), 18025 deletions(-) commit 6e1afb26a5c4a27eb19643835c3ba2131670ae96 Author: Guillem Jover Date: Wed Jan 15 05:16:11 2014 +0100 po: Add P_() and C_() to dselect xgettext keywords Make sure these will not get missed in case dselect happens to start using them. dselect/po/Makevars | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0bbcd70316a3aee370fd9f6fce37bd8fb712ac43 Author: Guillem Jover Date: Wed Jan 15 05:01:06 2014 +0100 po: Reset default xgettext keywords The convention in the project is to use the short aliases for actual literal translatable strings, and the long names when using variables or similar. dselect/po/Makevars | 2 +- po/Makevars | 2 +- scripts/po/Makevars | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit ac1a0024c65506efb900bbb2a5a872b5145d4c74 Author: Guillem Jover Date: Wed Jan 15 05:13:04 2014 +0100 po: Set the encoding of all xgettext input files to UTF-8 dselect/po/Makevars | 2 +- scripts/po/Makevars | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 09abbe14148540b53332f7b85747bc698919e67b Author: Guillem Jover Date: Wed Jan 15 05:08:56 2014 +0100 scripts: Use P_() instead of ngettext() scripts/Dpkg/IPC.pm | 6 +++--- scripts/dpkg-gencontrol.pl | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit 8c00027021ef8777e914acb638999f94b3ce98c1 Author: Guillem Jover Date: Sun Jan 12 05:29:29 2014 +0100 dpkg-maintscript-helper: Allow missing prior-version for dir/symlink switches Closes: #733980 debian/changelog | 2 ++ scripts/dpkg-maintscript-helper.sh | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) commit 0b583bfec3e4aadf4cf6a5aec226f31dfe04e5c4 Author: Guillem Jover Date: Fri Jan 10 19:12:09 2014 +0100 dpkg: Fix file descriptor leaks in diversions and statoverride databases Regression introduced in commit ab56d08abe274182c0cab03425610ae61a074eff, while too eagerly removing fclose() calls. Closes: #734783 debian/changelog | 2 ++ src/divertdb.c | 6 +++--- src/statdb.c | 6 +++--- 3 files changed, 8 insertions(+), 6 deletions(-) commit a1c7f96a044198f6a3e067b5598868a6c67920b4 Author: Guillem Jover Date: Tue Jan 7 20:31:30 2014 +0100 dpkg-deb: Align long options in --help ouput dpkg-deb/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5dd25afbfa71b37eeaaa7f1577f51263d2a2d45c Author: Guillem Jover Date: Tue Jan 7 04:33:17 2014 +0100 dpkg-deb: Allow to use the same compression for control.tar as data.tar Add a new --uniform-compression, that allows to use the same compression parameters on the control.tar member as for the data.tar member. This is a transitional need, once a dpkg-deb supporting other control.tar compressions is widely deployed, ideally on stable distribution releases, then the default could possibly get switched. debian/changelog | 2 ++ dpkg-deb/build.c | 21 ++++++++++++--------- dpkg-deb/dpkg-deb.h | 1 + dpkg-deb/main.c | 10 ++++++++++ man/dpkg-deb.1 | 7 +++++++ 5 files changed, 32 insertions(+), 9 deletions(-) commit c17be3cbfc58e5b54ae1d5ae4714460d7ae2e15c Author: Guillem Jover Date: Tue Jan 7 04:00:47 2014 +0100 dpkg-deb: Accept other compressions for control.tar .deb member This includes no compression (control.tar) or xz compression (control.tar.xz). There's really no point allowing the deprecated lzma, or the inferior bzip2 at this time, when gzip and xz are superior in either speed or compression ratio. debian/changelog | 2 ++ dpkg-deb/build.c | 6 +++++- dpkg-deb/dpkg-deb.h | 2 +- dpkg-deb/extract.c | 13 +++++++++++-- man/deb.5 | 7 +++++-- 5 files changed, 24 insertions(+), 6 deletions(-) commit e7e052b462e794165411aa12b36324a66dcb6700 Author: Guillem Jover Date: Tue Jan 7 04:33:17 2014 +0100 dpkg-deb: Use default gzip compression level instead of hardcoding it Use the global default, instead of setting it explicitly in the code. dpkg-deb/build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 517b54aff9bdb67768c109829cbd3631021bbddc Author: Guillem Jover Date: Mon Jan 13 01:38:16 2014 +0100 libdpkg: Add new compressor_get_name() function lib/dpkg/compress.c | 6 ++++++ lib/dpkg/compress.h | 1 + lib/dpkg/libdpkg.map | 1 + 3 files changed, 8 insertions(+) commit f1f9887b8f96965d6046857d12fda24c053c6d4b Author: Guillem Jover Date: Mon Jul 29 23:59:53 2013 +0200 libdpkg: Fixup the compressor parameters during check instead of filter This makes sure the compressor parameters are corrected for cases like gzip with compression level 0, which requires to switch the parameters before we get the compressor extension, otherwise we'll produce binary packages not compliant with the deb(5) spec, even if they can be unpacked by dpkg-deb itself (as zlib does not have a problem considering uncompressed data a valid gzip file). Closes: #718295 debian/changelog | 3 +++ lib/dpkg/compress.c | 22 +++++++++++----------- 2 files changed, 14 insertions(+), 11 deletions(-) commit 00b3f28b54806d814bd65ff59c978507d84e5b6c Author: Guillem Jover Date: Sat Jan 4 01:19:30 2014 +0100 dpkg-query: Ignore same packages when computing screen width as when printing The code was handling a different set of packages when filtering them for printing as when using them to decide on the global column screen width. Closes: #734114 debian/changelog | 2 ++ src/querycmd.c | 29 ++++++++++++++++++++++++++--- 2 files changed, 28 insertions(+), 3 deletions(-) commit 62019c2756e4560f930fcce0a413971b450f24e9 Author: Guillem Jover Date: Sun Dec 29 20:47:57 2013 +0100 dpkg-source: Change default source package compressor for new formats to xz This does not affect V1.0, which only supports gzip compression. debian/changelog | 1 + man/dpkg-source.1 | 4 ++-- scripts/Dpkg/Compression.pm | 2 +- scripts/Dpkg/Source/Package.pm | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) commit 583ee7f304c91fe314a70ca82a55a6c53825609e Author: Guillem Jover Date: Sun Dec 29 20:42:23 2013 +0100 dpkg-source: Set default compression options in source format specific modules This paves the way to be able to set package format specific defaults, and fixes a problem with the default compression level on “3.0 (native)” packages, as it was being set in dpkg-source but not reset when the compressor was changed. Closes: #733326 debian/changelog | 3 +++ scripts/Dpkg/Source/Package.pm | 7 +++++++ scripts/Dpkg/Source/Package/V1.pm | 5 +++++ scripts/dpkg-source.pl | 5 ----- 4 files changed, 15 insertions(+), 5 deletions(-) commit f6b8ce21bec490e6348fccbcb0086bf3909516b7 Author: Guillem Jover Date: Sun Dec 29 20:39:22 2013 +0100 Dpkg::Source::Package: Always pass compression_level explicitly When creating a Dpkg::Source::Archive or a Dpkg::Source::Patch, always be explicit about the compression level instead of relying on the global default level. scripts/Dpkg/Source/Package/V1.pm | 3 ++- scripts/Dpkg/Source/Package/V2.pm | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) commit 6fd63dea78a1b340c1a9eec5fcdfc87961a427ca Author: Guillem Jover Date: Sun Dec 29 20:37:46 2013 +0100 Dpkg::Index: Do not require unused Dpkg::Compression::FileHandle scripts/Dpkg/Index.pm | 1 - 1 file changed, 1 deletion(-) commit c77ecff725cea34acc1bf21d05385ee416cd1681 Author: Guillem Jover Date: Mon Jan 13 02:00:43 2014 +0100 Dpkg::Source::Package::V3::Quilt: Clarify missing revision error Closes: #719348, #733746 debian/changelog | 2 ++ scripts/Dpkg/Source/Package/V3/Quilt.pm | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 3e625372f43daf4b51219629bed9b1bd437c23f0 Author: Guillem Jover Date: Sat Jan 4 16:20:17 2014 +0100 Dpkg::Control::FieldsCore: Add support for Testsuite source field This field is used to specify what type of test suite is present in the source package. The values within are comma separated. debian/changelog | 1 + scripts/Dpkg/Control/FieldsCore.pm | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) commit f1084f41e1d697fae5e1f0f105cd566d9eff0c7b Author: Guillem Jover Date: Fri Dec 13 06:14:18 2013 +0100 dpkg-buildpackage: Add shell hooks support This adds new --hook- options where is currently one of: init preclean source build binary changes postclean check sign done that will execute the specified shell snippet with the following format subsitutions applied: %% A single % character. %a If the action is being performed (0 or 1). %p The source package name. %v The source package version. %s The source package version w/o the epoch. %u The upstream version. This implementation is based and compatible with the debuild code in devscripts 2.13.9. Closes: #476221 debian/changelog | 2 + man/dpkg-buildpackage.1 | 88 ++++++++++++++++++++++++++++++++------------ scripts/dpkg-buildpackage.pl | 61 ++++++++++++++++++++++++++++++ 3 files changed, 128 insertions(+), 23 deletions(-) commit 4132e360be869109032351c002fa25add2bb6ccc Author: Guillem Jover Date: Fri Dec 13 06:14:18 2013 +0100 dpkg-buildpackage: Use Dpkg::Version instead of ad-hoc parsing Use the as_string() method to get a string with the epoch stripped, instead of stripping it manually. And pass the created object to version_check() to avoid doing the conversion twice. scripts/dpkg-buildpackage.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 2a9e9e5e6a8d86bc9b0eeffbc84affc8271d76f1 Author: Guillem Jover Date: Wed Dec 25 22:55:48 2013 +0100 dpkg-buildpackage: Ignore DEB_CHECK_COMMAND on DEB_BUILD_OPTIONS nocheck man/dpkg-buildpackage.1 | 4 ++++ scripts/dpkg-buildpackage.pl | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) commit cd1cdfa01d2328b81ae0307ef024e15d6a0e309d Author: Guillem Jover Date: Wed Dec 25 22:29:57 2013 +0100 dpkg-buildpackage: Recompute checksum hashes for dsc file after signing Missed in commit 31b73ef0056b6c94a257ba3f1fb111b5aed3aa4e. scripts/dpkg-buildpackage.pl | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) commit 6222e8f015b7054411fc18e8a053e48253294a74 Author: Guillem Jover Date: Mon Dec 23 03:55:08 2013 +0100 dpkg-buildpackage: Use Dpkg::Control to parse .changes file This removes a custom parser, replaced by the proper Dpkg::Control type, which reduces code and will make it easier to handle updates in the checksums after signing has happened. scripts/dpkg-buildpackage.pl | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) commit 51b9177f1b981526ed917b380496960373240915 Author: Guillem Jover Date: Sat Jan 11 03:09:30 2014 +0100 Dpkg::Checksums: Allow updating checksums without erroring out debian/changelog | 1 + scripts/Dpkg/Checksums.pm | 34 ++++++++++++++++++++++++---------- 2 files changed, 25 insertions(+), 10 deletions(-) commit fdc9a1b07c49d0f123c4541db151fcb6f08f2137 Author: Guillem Jover Date: Sat Dec 21 02:25:29 2013 +0100 Dpkg::Shlibs::SymbolFile: Add support for Ignore-Blacklist-Groups field The currently available groups are aeabi and gomp. Closes: #694524 debian/changelog | 2 + man/deb-symbols.5 | 18 +++-- scripts/Dpkg/Shlibs/SymbolFile.pm | 15 ++-- scripts/Makefile.am | 5 ++ scripts/t/200_Dpkg_Shlibs.t | 83 +++++++++++++++++++++- scripts/t/200_Dpkg_Shlibs/objdump.blacklisted | 15 ++++ scripts/t/200_Dpkg_Shlibs/symbols.blacklist-filter | 3 + scripts/t/200_Dpkg_Shlibs/symbols.blacklist-groups | 4 ++ scripts/t/200_Dpkg_Shlibs/symbols.blacklist-ignore | 3 + scripts/t/200_Dpkg_Shlibs/symbols.blacklisted | 4 ++ 10 files changed, 143 insertions(+), 9 deletions(-) commit 42ccdd6ab9356c0faa072eb4e20f107aeaa8e3b7 Author: Guillem Jover Date: Thu Dec 19 04:59:16 2013 +0100 Dpkg::Shlibs::SymbolFile: Blacklist GOMP critical section symbols Closes: #708033 debian/changelog | 1 + scripts/Dpkg/Shlibs/SymbolFile.pm | 4 ++++ 2 files changed, 5 insertions(+) commit 942f05dd85a3aa534fa15c811289251f60b27b97 Author: Guillem Jover Date: Thu Dec 19 04:56:43 2013 +0100 Dpkg::Shlibs::SymbolFile: Turn ARM Embedded ABI blacklist into a regex The ARM Embedded ABI spec, states that symbols prefixed with __aeabi_ can appear in output objects, and are implementation specific, just ignore them all, instead of trying to keep up with the GNU toolchain. Not to mention that other toolchains might generate different symbols. debian/changelog | 3 +++ scripts/Dpkg/Shlibs/SymbolFile.pm | 13 ++++--------- 2 files changed, 7 insertions(+), 9 deletions(-) commit e4b5732b99aca6a7cbe63cef1630a715f3809b19 Author: Guillem Jover Date: Thu Dec 19 04:56:43 2013 +0100 Dpkg::Shlibs::SymbolFile: Switch blacklist check into a function This will allow to easily add pattern matches for whole namespaced blacklists. scripts/Dpkg/Shlibs/SymbolFile.pm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit c9dd5ddbc9d8bde13184f1987a7019e2c59ee94f Author: Peter Chang Date: Wed Dec 18 17:14:07 2013 -0800 libdpkg: Use makedev(3) rather than ad-hoc computations The current code does not support large major/minor device numbers, by using the system's makedev(3) we'll be able to use those. This affects at least Linux, NetBSD and OpenBSD based systems. In case the function is not available (such as in Mac OS X), we'll fallback to the compat implementation with the same current limitations. Signed-off-by: Peter Chang Signed-off-by: Guillem Jover debian/changelog | 4 ++++ lib/dpkg/tarfn.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 35177204e6ac755787c8340e2da16df51b2f6e3a Author: Guillem Jover Date: Thu Dec 19 03:43:46 2013 +0100 libcompat: Add new makedev(3) fallback function configure.ac | 1 + lib/compat/compat.h | 4 ++++ 2 files changed, 5 insertions(+) commit 1c2b693e0b9de39dd27e715ae538f87a93ad3adc Author: Guillem Jover Date: Tue Dec 17 23:07:42 2013 +0100 Rename return code variables from r to rc dselect/pkgdepcon.cc | 32 ++++++++++++++++++-------------- dselect/pkglist.cc | 6 +++--- lib/dpkg/version.c | 22 +++++++++++----------- src/archives.c | 26 ++++++++++++++------------ src/configure.c | 6 +++--- src/enquiry.c | 10 +++++----- src/remove.c | 9 +++++---- src/script.c | 22 +++++++++++----------- src/unpack.c | 6 +++--- utils/start-stop-daemon.c | 6 +++--- utils/update-alternatives.c | 8 +++++--- 11 files changed, 81 insertions(+), 72 deletions(-) commit d6341c151bc3e585170d231af9ef7db4f606ef46 Author: Guillem Jover Date: Tue Dec 17 17:53:56 2013 +0100 Use dead_pid instead of r as variable name for waitpid() return value lib/dpkg/subproc.c | 6 +++--- utils/update-alternatives.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit 931bb3cc2763fc8cb99e085a53f00b8598463642 Author: Guillem Jover Date: Tue Dec 17 17:48:34 2013 +0100 dselect: Do not reuse variable r in packagelist::checksearch() Use a different variable with a more meaningful name instead. dselect/pkglist.cc | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) commit 4eca28c8bca02672b9c6c7d317c74611778ffe24 Author: Guillem Jover Date: Tue Dec 17 17:20:02 2013 +0100 Give better names to variables in malloc replacement functions lib/dpkg/mlib.c | 16 ++++++++++------ utils/update-alternatives.c | 8 ++++---- 2 files changed, 14 insertions(+), 10 deletions(-) commit c58d29a9ef5e8700f9003ae48c6e1667e3298d66 Author: Guillem Jover Date: Tue Dec 17 05:41:55 2013 +0100 dpkg-buildpackage: Fix quoting in describe_build regexes Some of the current strings do not escape the dots correctly which means they will end up as regex metacharacters, matching any character instead of just a literal dot. scripts/dpkg-buildpackage.pl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 88d27a75336a16a50b8d92f970cc16af486a9e63 Author: Guillem Jover Date: Tue Jan 14 19:10:17 2014 +0100 dpkg-buildpackage: Correctly hyphenate build-only and source-only debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) commit 42b8c07dd3784d7862fe50f1a6203896ef3dbce2 Author: Guillem Jover Date: Sat Dec 21 01:19:30 2013 +0100 dpkg-gensymbols(1): Fix a typo man/dpkg-gensymbols.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c4ce860fdea16610e0c065cb265a24048a04c17c Author: Guillem Jover Date: Fri Dec 20 06:45:11 2013 +0100 man: Add mention of Multi-Arch: no value This is the default value when it gets ommitted, mention it out of completeness. Closes: #732648 debian/changelog | 1 + man/deb-control.5 | 8 +++++--- man/deb-src-control.5 | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) commit e5e1a096e996884958e2af72144674bae55a654e Author: Trần Ngọc Quân Date: Wed Jan 1 15:00:10 2014 +0700 Update Vietnamese programs translation [guillem@debian.org: - Fix closing double quote. ] Signed-off-by: Trần Ngọc Quân Signed-off-by: Guillem Jover debian/changelog | 1 + po/vi.po | 88 ++++++++++++++++++++++++-------------------------------- 2 files changed, 39 insertions(+), 50 deletions(-) commit f5888e5f2bd3bbfb07b67ee67ad2e988ee0c4a76 Author: Guillem Jover Date: Fri Jan 10 04:42:17 2014 +0100 po: Remove wrong FSF copyright notice in Vietnamese translations All translators that have ever worked in the Vietnamese translations: Phan Vinh Thinh , 2005. Clytie Siddall , 2006-2010. Trần Ngọc Quân , 2012-2013. have never assigned their copyright to the FSF, they just signed the copyright disclaimer: as such the FSF copyright notice is wrong, let's just remove it. dselect/po/vi.po | 1 - po/vi.po | 1 - 2 files changed, 2 deletions(-) commit 0d64781faa5b2571dd4fc95696696c895cf0daf7 Author: Helge Kreutzmann Date: Mon Jan 13 10:42:48 2014 +0100 Fix a translation bug man/po/de.add | 2 +- man/po/de.po | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit b987fed5edc5f6a3aef612ed87b82cfdfe68ef3f Author: Peter Krefting Date: Sun Jan 12 22:10:53 2014 +0100 Update Swedish translation man/po/sv.po: 2193t0f0u. debian/changelog | 1 + man/po/sv.po | 2300 ++++++++++++++++-------------------------------------- 2 files changed, 691 insertions(+), 1610 deletions(-) commit 6a44b5d948c2cc58e4bfacc5ac55b7202c4eed8e Author: Peter Krefting Date: Fri Jan 10 15:39:54 2014 +0100 Update Swedish translation po/sv.po: 1087t0f0. scripts/po/sv.po: 544t0f0u + a typo fix. debian/changelog | 4 + po/sv.po | 591 +++++++++++++++++-------------------------------------- scripts/po/sv.po | 556 ++++++++++++++++++--------------------------------- 3 files changed, 376 insertions(+), 775 deletions(-) commit 1b015cc3e205517803d64622577d6eb5bb77a517 Author: Helge Kreutzmann Date: Sat Dec 21 22:05:23 2013 +0100 Update German translation of manual pages Update to 2203t. man/po/de.po | 509 ++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 297 insertions(+), 212 deletions(-) commit 1ee0a74568fcbaebf24c5d66265c78e35a7e0a7b Author: Helge Kreutzmann Date: Wed Dec 18 20:47:54 2013 +0100 Update German scripts translation Update to 544t. scripts/po/de.po | 200 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 109 insertions(+), 91 deletions(-) commit 80de58344cb38ab085ca2c7808f4f7b3be1d2422 Author: Guillem Jover Date: Sat Dec 14 05:34:27 2013 +0100 s-s-d: Add new --pid option This option is useful when the user knows the pid of the process to act on, and wants to use some of the features from s-s-d, w/o needing to create a fake pid file. Closes: #253265 debian/changelog | 1 + man/start-stop-daemon.8 | 8 ++++++-- utils/start-stop-daemon.c | 34 +++++++++++++++++++++++++++++++--- 3 files changed, 38 insertions(+), 5 deletions(-) commit 6547d58028cacee0fc25d2bfa05d558104ba2fce Author: Guillem Jover Date: Sat Dec 14 04:56:07 2013 +0100 doc: Clear DOT_FONTNAME doxygen now produces a warning, let's use the default instead. doc/Doxyfile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 93d22496db5a86c723b209b5899349b7ce285b7f Author: Guillem Jover Date: Sat Dec 14 04:53:57 2013 +0100 libdpkg: Fix JavaDoc string lib/dpkg/strwide.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4ab4758e01571f7dd8a0e6878149783128bb9e2c Author: Guillem Jover Date: Sat Dec 14 03:52:20 2013 +0100 dpkg-deb, dpkg: Unify and clarify conffile name length error message Clarify the error message, by stating it's either too long or missing a final newline, and unify it to be the same on both dpkg-deb and dpkg. Closes: #108196 debian/changelog | 2 ++ dpkg-deb/build.c | 2 +- src/unpack.c | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) commit a363181bda0e752130176542fb259e5a5bab24d1 Author: Guillem Jover Date: Sat Dec 14 03:52:20 2013 +0100 dpkg-deb: Change conffile name length warning into an error Such packages will not be accepted by dpkg at install time anyway, so catch this early on, and don't let it through. debian/changelog | 2 ++ dpkg-deb/build.c | 12 +++--------- 2 files changed, 5 insertions(+), 9 deletions(-) commit 6e0998adc4ec377aedd264674f0b186c08278cde Author: Guillem Jover Date: Sat Dec 14 03:25:31 2013 +0100 dpkg: Fix debug string to use proper quotes src/enquiry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9eb6a41a9f48f18127bf5a993fdf52c2fc35d25f Author: Guillem Jover Date: Sat Dec 14 03:12:56 2013 +0100 dpkg-deb: Remove trailing newlines from warning message Update and unfuzzy translation strings. debian/changelog | 1 + dpkg-deb/build.c | 4 ++-- po/ast.po | 10 ++++------ po/ca.po | 8 ++++---- po/cs.po | 10 +++++----- po/da.po | 8 ++++---- po/de.po | 8 ++++---- po/dz.po | 8 ++++---- po/el.po | 10 ++++------ po/eo.po | 8 ++++---- po/es.po | 8 ++++---- po/eu.po | 8 ++++---- po/fr.po | 8 ++++---- po/gl.po | 8 ++++---- po/hu.po | 8 ++++---- po/id.po | 6 +++--- po/it.po | 8 ++++---- po/ja.po | 6 +++--- po/ko.po | 6 +++--- po/lt.po | 8 ++++---- po/mr.po | 10 ++++------ po/nb.po | 8 ++++---- po/ne.po | 8 ++++---- po/nl.po | 10 ++++------ po/nn.po | 8 ++++---- po/pl.po | 10 +++++----- po/pt.po | 8 ++++---- po/pt_BR.po | 8 ++++---- po/ro.po | 10 +++++----- po/ru.po | 10 +++++----- po/sk.po | 10 +++++----- po/sv.po | 8 ++++---- po/th.po | 6 +++--- po/tl.po | 10 ++++------ po/vi.po | 6 +++--- po/zh_CN.po | 6 +++--- po/zh_TW.po | 6 +++--- 37 files changed, 141 insertions(+), 150 deletions(-) commit ff2114bd522d72488d82824ccc5c4d96997c062b Author: Guillem Jover Date: Mon Dec 16 06:29:05 2013 +0100 dpkg-buildpackage: Detect missing sign-command before starting the build While a failure in signing the resulting built artifacts is something that can be easily recovered from, by just signing them again, it's better if we just catch this beforehand. debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 9 ++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) commit be3bb946cea90bc68fa480c580b33a99cb19906d Author: Guillem Jover Date: Mon Dec 16 06:19:40 2013 +0100 dpkg-buildpackage: Detect missing gain-root-command even if running as root Give a proper error message instead of a failed to execute the command message later on. debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 16 ++++++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) commit 941d93ff3c086bda22b62bd4bb69f5ae4c9654ec Author: Guillem Jover Date: Sat Dec 14 17:54:40 2013 +0100 dpkg-buildpackage: Assign directly from DEB_SIGN_KEYID environment The conditional checks on the environment variable are useless here, as the current value does not need to be preserved. scripts/dpkg-buildpackage.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1cef5694e585b5b89dd74470b5eef5e88da3f4ff Author: Guillem Jover Date: Fri Dec 13 05:41:30 2013 +0100 dpkg-buildpackage: Add new --check-command and --check-option options Call the checker command on the .changes file before signing anything. Use the new DEB_CHECK_COMMAND environment variable as the default --check-command value. The command will usually be lintian. debian/changelog | 3 +++ man/dpkg-buildpackage.1 | 16 ++++++++++++++++ scripts/dpkg-buildpackage.pl | 18 ++++++++++++++++++ 3 files changed, 37 insertions(+) commit 17f1adad045b8e6b67aac185f0286a2f044b0723 Author: Guillem Jover Date: Fri Dec 13 04:33:00 2013 +0100 dpkg-buildpackage: Refactor $srcmsg generation into a new function Change fileomitted() to take a $files argument, instead of using the global variable. scripts/dpkg-buildpackage.pl | 58 +++++++++++++++++++++++++------------------- 1 file changed, 33 insertions(+), 25 deletions(-) commit c85eeed49f0032f2af3f8838b4af4348d0d77d5a Author: Guillem Jover Date: Sat Dec 14 18:35:41 2013 +0100 dpkg-buildpackage: Remove redundant $srcmsg assignment The setting is always overwritten, and is a duplicate of the fallback if case. scripts/dpkg-buildpackage.pl | 1 - 1 file changed, 1 deletion(-) commit 53baff1c11704c0b8e73754d750572a01848eb89 Author: Guillem Jover Date: Fri Dec 13 05:13:23 2013 +0100 dpkg-buildpackage(1): Split dpkg-source --after-build step from item list This action and the final clean are unrelated, split them. man/dpkg-buildpackage.1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit ac582d0e26ea9c04b579d0af3b6fbc705bd55e98 Author: Guillem Jover Date: Sat Dec 14 16:29:36 2013 +0100 dpkg-buildpackage: Change subcommand option array settings to post-conditions scripts/dpkg-buildpackage.pl | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) commit 0eb6d80f9797bd1b68b76c7b736deb1591054efb Author: Guillem Jover Date: Sat Dec 14 16:25:22 2013 +0100 dpkg-buildpackage: Split variable declarations scripts/dpkg-buildpackage.pl | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) commit db46f385deea56d628cad0c0b0f4f91b174de8fd Author: Guillem Jover Date: Sat Dec 14 16:19:58 2013 +0100 dpkg-buildpackage: Pack source version related variables with similar ones scripts/dpkg-buildpackage.pl | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit c2674f7007c9b7b70a7c54a9c9583fe17d62140a Author: Guillem Jover Date: Mon Dec 16 06:32:44 2013 +0100 dpkg-buildpackage: Move sign-command setup just after gain-root-command This will allow performing more thorough checks on the value, before printing any build progress. scripts/dpkg-buildpackage.pl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 2ce819ef2d9d10b5ae8a57f8cfe9839feca1f28d Author: Guillem Jover Date: Sat Dec 14 16:11:50 2013 +0100 dpkg-buildpackage: Adapt $signsource value wrt whether source is built Instead of checking if we are actually building any source at all, just fold the check into the $signsource value at setup time. scripts/dpkg-buildpackage.pl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 31b73ef0056b6c94a257ba3f1fb111b5aed3aa4e Author: Guillem Jover Date: Fri Dec 13 05:11:12 2013 +0100 dpkg-buildpackage: Move and pack signing logic at the end of the build This packs all signing in a single place, so that additional checks can be performed before any signing is done. debian/changelog | 3 +++ man/dpkg-buildpackage.1 | 12 +++++------- scripts/dpkg-buildpackage.pl | 37 +++++++++++++++---------------------- 3 files changed, 23 insertions(+), 29 deletions(-) commit 76ff150dd4046c5849d4fcdd26c1bb115268afc7 Author: Guillem Jover Date: Mon Dec 16 05:43:30 2013 +0100 scripts: Use croak instead of internerr on programming errors in programs Although these are programs (not modules), we'll use croak here too, as there's no point in reintroducing the internerr function which got axed in commit 8c314d6c4cee9b2c5acf078958243fb72af4e3d2, because croak does a way better job here too. scripts/dpkg-buildpackage.pl | 3 ++- scripts/dpkg-genchanges.pl | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) commit f29cb2788da719a858fd2dbbcec72d0944787d4c Author: Guillem Jover Date: Mon Dec 16 05:37:42 2013 +0100 scripts: Cleanup build_opt() handling - Rename binary_opt() to build_opt() in dpkg-genchanges, and change it to handle -S. - Remove function prototype. - Expand the ternary operator in build_opt() into a if/elsif/else statement. - Use build_opt() instead of hardcoding '-S' all over the place. scripts/dpkg-buildpackage.pl | 31 ++++++++++++++++++++----------- scripts/dpkg-genchanges.pl | 28 +++++++++++++++++++--------- 2 files changed, 39 insertions(+), 20 deletions(-) commit 7221318f4743d47a76c090ce914a1befd6b558d9 Author: Guillem Jover Date: Mon Dec 16 05:01:33 2013 +0100 dpkg-buildpackage: Check explicitly for desired build type on action decisions scripts/dpkg-buildpackage.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 00007d21d8e29e11e23115de5f8923e3bb805b74 Author: Guillem Jover Date: Sat Dec 14 23:22:09 2013 +0100 dpkg-genchanges: Unify $include constant naming with dpkg-buildpackage scripts/dpkg-genchanges.pl | 49 +++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 24 deletions(-) commit 60f8e9e525f6bb8f56a417dba0492594212f15df Author: Guillem Jover Date: Fri Dec 13 04:15:11 2013 +0100 dpkg-buildpackage: Rename $usepause to $signpause scripts/dpkg-buildpackage.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit b8b7a4813922b5cbdcb26d941de1e091958c89a5 Author: Helge Kreutzmann Date: Sat Dec 14 21:07:57 2013 +0100 Update German translation of manual pages Update to 2193t. debian/changelog | 3 +++ man/po/de.po | 78 +++++++++++++++++--------------------------------------- 2 files changed, 27 insertions(+), 54 deletions(-) commit f88c5e9f7b6d2edae3ef16fbce13fdfeaf1f763c Author: Helge Kreutzmann Date: Sat Dec 14 20:49:19 2013 +0100 Update German scripts translation Update to 542t. debian/changelog | 3 ++- scripts/po/de.po | 39 +++------------------------------------ 2 files changed, 5 insertions(+), 37 deletions(-) commit 0e63c3436c59d339baf0cfad18cce5450d5dbfba Author: Guillem Jover Date: Sat Dec 14 02:43:45 2013 +0100 t-deb-conffiles: New test case Makefile | 1 + t-deb-conffiles/Makefile | 15 +++++++++++++++ t-deb-conffiles/pkg-conff-dupe/DEBIAN/conffiles | 3 +++ t-deb-conffiles/pkg-conff-dupe/DEBIAN/control | 7 +++++++ t-deb-conffiles/pkg-conff-dupe/test-conffile-1 | 1 + t-deb-conffiles/pkg-conff-dupe/test-conffile-2 | 1 + t-deb-conffiles/pkg-conff-noel/DEBIAN/conffiles | 1 + t-deb-conffiles/pkg-conff-noel/DEBIAN/control | 8 ++++++++ t-deb-conffiles/pkg-conff-noel/test-conffile-1 | 1 + 9 files changed, 38 insertions(+) commit 6a391e714f3a7c2f155214ff29775bd2eec459d8 Author: Guillem Jover Date: Sat Dec 14 01:54:03 2013 +0100 t-switch-dir-to-symlink: Improve test case Add new tests, and rename old ones to be more consistent and clear. t-switch-dir-to-symlink/Makefile | 122 ++++++++++++++++++--- .../DEBIAN/control | 4 +- .../test-dir/file-normal} | 0 .../DEBIAN/control | 4 +- .../test-path/file-other} | 0 .../DEBIAN/control | 2 +- .../test-path/file-normal} | 0 .../DEBIAN/control | 3 +- .../DEBIAN/postinst | 0 .../DEBIAN/postrm | 0 .../DEBIAN/preinst | 0 .../test-path | 0 .../DEBIAN/control | 2 +- .../test-path/file-normal} | 0 .../DEBIAN/control | 2 +- .../DEBIAN/postinst | 0 .../DEBIAN/postrm | 0 .../DEBIAN/preinst | 0 .../test-dir/file-other} | 0 .../test-path | 0 20 files changed, 116 insertions(+), 23 deletions(-) commit ac1424ed67473877012a7ded5c8a6bc5f71c6dd2 Author: Guillem Jover Date: Thu Dec 12 09:00:15 2013 +0100 Bump version to 1.17.6 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit a365cc920906434e72ced7bdc4d505d317675674 Author: Guillem Jover Date: Thu Dec 12 08:29:50 2013 +0100 Release 1.17.5 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 620e19466d193fd309f39e4fa73a6a67b3518a9a Author: Guillem Jover Date: Thu Dec 12 08:44:15 2013 +0100 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/de.po | 139 +++++++++++++++++++++++++++++++++--------------- man/po/dpkg-man.pot | 68 ++++++++++++++--------- man/po/es.po | 78 ++++++++++++++++++--------- man/po/fr.po | 78 ++++++++++++++++++--------- man/po/hu.po | 67 ++++++++++++++--------- man/po/it.po | 78 ++++++++++++++++++--------- man/po/ja.po | 78 ++++++++++++++++++--------- man/po/pl.po | 78 ++++++++++++++++++--------- man/po/pt_BR.po | 65 +++++++++++++--------- man/po/ru.po | 67 ++++++++++++++--------- man/po/sv.po | 78 ++++++++++++++++++--------- po/ast.po | 6 +-- po/bs.po | 6 +-- po/ca.po | 6 +-- po/cs.po | 6 +-- po/da.po | 6 +-- po/de.po | 12 +++-- po/dpkg.pot | 8 +-- po/dz.po | 6 +-- po/el.po | 6 +-- po/eo.po | 6 +-- po/es.po | 6 +-- po/et.po | 6 +-- po/eu.po | 6 +-- po/fr.po | 6 +-- po/gl.po | 6 +-- po/hu.po | 6 +-- po/id.po | 6 +-- po/it.po | 6 +-- po/ja.po | 6 +-- po/km.po | 6 +-- po/ko.po | 6 +-- po/ku.po | 6 +-- po/lt.po | 6 +-- po/mr.po | 6 +-- po/nb.po | 6 +-- po/ne.po | 6 +-- po/nl.po | 6 +-- po/nn.po | 6 +-- po/pa.po | 6 +-- po/pl.po | 6 +-- po/pt.po | 6 +-- po/pt_BR.po | 6 +-- po/ro.po | 6 +-- po/ru.po | 6 +-- po/sk.po | 6 +-- po/sv.po | 6 +-- po/th.po | 6 +-- po/tl.po | 6 +-- po/vi.po | 6 +-- po/zh_CN.po | 6 +-- po/zh_TW.po | 6 +-- scripts/po/ca.po | 82 ++++++++++++++-------------- scripts/po/de.po | 115 +++++++++++++++++++++++++-------------- scripts/po/dpkg-dev.pot | 84 ++++++++++++++--------------- scripts/po/es.po | 82 ++++++++++++++-------------- scripts/po/fr.po | 82 ++++++++++++++-------------- scripts/po/pl.po | 82 ++++++++++++++-------------- scripts/po/ru.po | 82 ++++++++++++++-------------- scripts/po/sv.po | 82 ++++++++++++++-------------- 91 files changed, 1113 insertions(+), 770 deletions(-) commit 42978175bb28b878207d78eefc45d58eb2400260 Author: Guillem Jover Date: Thu Dec 12 07:19:24 2013 +0100 dpkg-buildpackage: Mention gpg2 as one of the default sign commands Missed in commit 5c2eff43159b9643bba4884876cf6fcc8ac222ef. debian/changelog | 1 + man/dpkg-buildpackage.1 | 13 +++++++------ scripts/dpkg-buildpackage.pl | 3 ++- 3 files changed, 10 insertions(+), 7 deletions(-) commit 5177119c68b19154d091d0455b89db722686fbca Author: Guillem Jover Date: Tue Dec 10 07:07:25 2013 +0100 dpkg-maintscript-helper: Fix symlink_to_dir and dir_to_symlink commands - Always run postinst code regardless of prior-version, as the package might have been never configured before. - Be more strict when checking the expected state of paths. - Rename subcommand shell code to check-files-ownership. - Change dir_to_symlink switch code to use a staging empty directory, to avoid dpkg removing files from other packages, when removing the package old files during upgrade. - Bump minimal version in man page to 1.17.5. Closes: #731730 debian/changelog | 10 ++++ man/dpkg-maintscript-helper.1 | 18 ++++--- scripts/dpkg-maintscript-helper.sh | 108 ++++++++++++++++++++++++++++--------- 3 files changed, 106 insertions(+), 30 deletions(-) commit 4be73ca0f47886b75a9d038a657463686f605e44 Author: Guillem Jover Date: Mon Dec 9 18:23:16 2013 +0100 u-a: Fix a segfault when adding a new slave link to a link group Return the correct slave link from alternative_add_slave(), instead of the typoed sl variable. Regression introduced in commit 9bbdca83fa1a8c817a2f8d02db493f173435a5af. Closes: #731710 Reported-by: Julian Andres Klode Tested-by: Julian Andres Klode Tested-by: Roland Stigge debian/changelog | 3 +++ utils/update-alternatives.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 903d7cce6e29dde4d745bec69dd39b7b1ade1bf1 Author: Guillem Jover Date: Fri Dec 6 19:57:58 2013 +0100 libdpkg: Change non-tty output to be line buffered by default Switch it to be fully buffered only for programs that have precious and abundant output, not just progress reporting output (i.e. dpkg-query). This was causing out-of-order error and debug messages in relation to normal progress reporting, which could be very confusing. Regression introduced in commit 50c1cb4d6e8b4c3ee739646f9df05992b806ea5e. debian/changelog | 7 +++++++ lib/dpkg/libdpkg.map | 1 + lib/dpkg/report.c | 10 +++++++++- lib/dpkg/report.h | 1 + src/querycmd.c | 1 + 5 files changed, 19 insertions(+), 1 deletion(-) commit e1885583908bc65cbe5150e7ab36596f666793a0 Author: Helge Kreutzmann Date: Sat Dec 7 14:49:34 2013 +0100 Update German translation of manual pages Update to 2191t. debian/changelog | 3 ++ man/po/de.po | 142 ++++++++++++++++--------------------------------------- 2 files changed, 44 insertions(+), 101 deletions(-) commit 900a3c8b1b35f08e99721a7f591b6610a799ec14 Author: Helge Kreutzmann Date: Sat Dec 7 12:50:26 2013 +0100 Update German scripts translation Update to 542t. debian/changelog | 3 +++ scripts/po/de.po | 52 +++++----------------------------------------------- 2 files changed, 8 insertions(+), 47 deletions(-) commit 21e6a3ec2c4ba4a5f9478227a1c5e41c4b30f410 Author: Sven Joachim Date: Sat Dec 7 09:03:01 2013 +0100 German dpkg translation update Update to 1086t2u. debian/changelog | 3 ++- po/de.po | 60 ++++++++++++++------------------------------------------ 2 files changed, 17 insertions(+), 46 deletions(-) commit ca25fdc4eb98766c51556dc7f7148470c2bfa5a9 Author: Guillem Jover Date: Sat Dec 7 08:34:39 2013 +0100 Bump version to 1.17.5 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit d9d254481e5ae5f62889195a309bf563fd2851ac Author: Guillem Jover Date: Sat Dec 7 07:35:00 2013 +0100 Release 1.17.4 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1cdb9518d6785240b745a3dd5c4287125e9c49d9 Author: Guillem Jover Date: Sat Dec 7 07:57:28 2013 +0100 Regenerate .pot files and merge .po files with them dselect/po/bs.po | 208 ++++++++++---------- dselect/po/ca.po | 208 ++++++++++---------- dselect/po/cs.po | 208 ++++++++++---------- dselect/po/da.po | 208 ++++++++++---------- dselect/po/de.po | 208 ++++++++++---------- dselect/po/dselect.pot | 210 ++++++++++---------- dselect/po/el.po | 208 ++++++++++---------- dselect/po/es.po | 208 ++++++++++---------- dselect/po/et.po | 208 ++++++++++---------- dselect/po/eu.po | 208 ++++++++++---------- dselect/po/fr.po | 208 ++++++++++---------- dselect/po/gl.po | 208 ++++++++++---------- dselect/po/hu.po | 208 ++++++++++---------- dselect/po/id.po | 208 ++++++++++---------- dselect/po/it.po | 208 ++++++++++---------- dselect/po/ja.po | 208 ++++++++++---------- dselect/po/ko.po | 208 ++++++++++---------- dselect/po/nb.po | 208 ++++++++++---------- dselect/po/nl.po | 208 ++++++++++---------- dselect/po/nn.po | 208 ++++++++++---------- dselect/po/pl.po | 208 ++++++++++---------- dselect/po/pt.po | 208 ++++++++++---------- dselect/po/pt_BR.po | 208 ++++++++++---------- dselect/po/ro.po | 208 ++++++++++---------- dselect/po/ru.po | 208 ++++++++++---------- dselect/po/sk.po | 208 ++++++++++---------- dselect/po/sv.po | 208 ++++++++++---------- dselect/po/tl.po | 208 ++++++++++---------- dselect/po/vi.po | 208 ++++++++++---------- dselect/po/zh_CN.po | 208 ++++++++++---------- dselect/po/zh_TW.po | 208 ++++++++++---------- man/po/de.po | 9 +- man/po/dpkg-man.pot | 8 +- man/po/es.po | 9 +- man/po/fr.po | 9 +- man/po/hu.po | 4 +- man/po/it.po | 9 +- man/po/ja.po | 9 +- man/po/pl.po | 9 +- man/po/pt_BR.po | 4 +- man/po/ru.po | 4 +- man/po/sv.po | 13 +- po/ast.po | 491 +++++++++++++++++++++++----------------------- po/bs.po | 435 +++++++++++++++++++++-------------------- po/ca.po | 497 ++++++++++++++++++++++++----------------------- po/cs.po | 491 +++++++++++++++++++++++----------------------- po/da.po | 491 +++++++++++++++++++++++----------------------- po/de.po | 497 ++++++++++++++++++++++++----------------------- po/dpkg.pot | 419 ++++++++++++++++++++------------------- po/dz.po | 489 ++++++++++++++++++++++++---------------------- po/el.po | 497 ++++++++++++++++++++++++----------------------- po/eo.po | 491 +++++++++++++++++++++++----------------------- po/es.po | 507 +++++++++++++++++++++++++----------------------- po/et.po | 491 +++++++++++++++++++++++----------------------- po/eu.po | 493 +++++++++++++++++++++++----------------------- po/fr.po | 505 ++++++++++++++++++++++++----------------------- po/gl.po | 497 ++++++++++++++++++++++++----------------------- po/hu.po | 489 ++++++++++++++++++++++++---------------------- po/id.po | 493 +++++++++++++++++++++++----------------------- po/it.po | 505 ++++++++++++++++++++++++----------------------- po/ja.po | 497 ++++++++++++++++++++++++----------------------- po/km.po | 489 ++++++++++++++++++++++++---------------------- po/ko.po | 489 ++++++++++++++++++++++++---------------------- po/ku.po | 489 ++++++++++++++++++++++++---------------------- po/lt.po | 493 +++++++++++++++++++++++----------------------- po/mr.po | 489 ++++++++++++++++++++++++---------------------- po/nb.po | 489 ++++++++++++++++++++++++---------------------- po/ne.po | 489 ++++++++++++++++++++++++---------------------- po/nl.po | 491 +++++++++++++++++++++++----------------------- po/nn.po | 488 +++++++++++++++++++++++----------------------- po/pa.po | 448 +++++++++++++++++++++--------------------- po/pl.po | 489 ++++++++++++++++++++++++---------------------- po/pt.po | 493 +++++++++++++++++++++++----------------------- po/pt_BR.po | 497 ++++++++++++++++++++++++----------------------- po/ro.po | 495 +++++++++++++++++++++++----------------------- po/ru.po | 489 ++++++++++++++++++++++++---------------------- po/sk.po | 495 +++++++++++++++++++++++----------------------- po/sv.po | 491 +++++++++++++++++++++++----------------------- po/th.po | 489 ++++++++++++++++++++++++---------------------- po/tl.po | 492 +++++++++++++++++++++++----------------------- po/vi.po | 496 +++++++++++++++++++++++----------------------- po/zh_CN.po | 489 ++++++++++++++++++++++++---------------------- po/zh_TW.po | 489 ++++++++++++++++++++++++---------------------- 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/pl.po | 2 +- scripts/po/ru.po | 2 +- scripts/po/sv.po | 2 +- 91 files changed, 13590 insertions(+), 12998 deletions(-) commit ae25c683c0141ac5ec6554f56d6c8af6f0764b03 Author: Guillem Jover Date: Fri Dec 6 16:04:27 2013 +0100 Use https:// URLs instead of http:// when possible ChangeLog.old | 4 ++-- README | 2 +- README.l10n | 2 +- TODO | 2 +- debian/changelog | 4 +++- debian/control | 2 +- doc/coding-style.txt | 6 +++--- dpkg-deb/build.c | 2 +- dpkg-deb/dpkg-deb.h | 2 +- dpkg-deb/extract.c | 2 +- dpkg-deb/info.c | 2 +- dpkg-deb/main.c | 2 +- dpkg-split/dpkg-split.h | 2 +- dpkg-split/info.c | 2 +- dpkg-split/join.c | 2 +- dpkg-split/main.c | 2 +- dpkg-split/queue.c | 2 +- dpkg-split/split.c | 2 +- dselect/basecmds.cc | 2 +- dselect/baselist.cc | 2 +- dselect/basetop.cc | 2 +- dselect/bindings.cc | 2 +- dselect/bindings.h | 2 +- dselect/curkeys.cc | 2 +- dselect/dselect-curses.h | 2 +- dselect/dselect.h | 2 +- dselect/helpmsgs.cc | 2 +- dselect/helpmsgs.h | 2 +- dselect/keyoverride | 2 +- dselect/main.cc | 2 +- dselect/methkeys.cc | 2 +- dselect/methlist.cc | 2 +- dselect/method.cc | 2 +- dselect/method.h | 2 +- dselect/methods/Dselect/Ftp.pm | 2 +- dselect/methods/disk/install | 2 +- dselect/methods/disk/setup | 2 +- dselect/methods/disk/update | 2 +- dselect/methods/floppy/install | 2 +- dselect/methods/floppy/setup | 2 +- dselect/methods/floppy/update | 2 +- dselect/methods/ftp/install | 2 +- dselect/methods/ftp/setup | 2 +- dselect/methods/ftp/update | 2 +- dselect/methods/multicd/install | 2 +- dselect/methods/multicd/setup | 2 +- dselect/methods/multicd/update | 2 +- dselect/methparse.cc | 2 +- dselect/mkcurkeys.pl | 2 +- dselect/pkgcmds.cc | 2 +- dselect/pkgdepcon.cc | 2 +- dselect/pkgdisplay.cc | 2 +- dselect/pkginfo.cc | 2 +- dselect/pkgkeys.cc | 2 +- dselect/pkglist.cc | 2 +- dselect/pkglist.h | 2 +- dselect/pkgsublist.cc | 2 +- dselect/pkgtop.cc | 2 +- dselect/po/pl.po | 2 +- get-version | 2 +- lib/compat/alphasort.c | 2 +- lib/compat/asprintf.c | 2 +- lib/compat/compat.h | 2 +- lib/compat/scandir.c | 2 +- lib/compat/snprintf.c | 2 +- lib/compat/strerror.c | 2 +- lib/compat/strndup.c | 2 +- lib/compat/strsignal.c | 2 +- lib/compat/unsetenv.c | 2 +- lib/compat/vasprintf.c | 2 +- lib/compat/vsnprintf.c | 2 +- lib/dpkg/ar.c | 2 +- lib/dpkg/ar.h | 2 +- lib/dpkg/arch.c | 2 +- lib/dpkg/arch.h | 2 +- lib/dpkg/atomic-file.c | 2 +- lib/dpkg/atomic-file.h | 2 +- lib/dpkg/buffer.c | 2 +- lib/dpkg/buffer.h | 2 +- lib/dpkg/cleanup.c | 2 +- lib/dpkg/command.c | 2 +- lib/dpkg/command.h | 2 +- lib/dpkg/compress.c | 2 +- lib/dpkg/compress.h | 2 +- lib/dpkg/dbdir.c | 2 +- lib/dpkg/dbmodify.c | 2 +- lib/dpkg/deb-version.c | 2 +- lib/dpkg/deb-version.h | 2 +- lib/dpkg/debug.c | 2 +- lib/dpkg/debug.h | 2 +- lib/dpkg/depcon.c | 2 +- lib/dpkg/dir.c | 2 +- lib/dpkg/dir.h | 2 +- lib/dpkg/dlist.h | 2 +- lib/dpkg/dpkg-db.h | 2 +- lib/dpkg/dpkg.h | 2 +- lib/dpkg/dump.c | 2 +- lib/dpkg/ehandle.c | 2 +- lib/dpkg/ehandle.h | 2 +- lib/dpkg/error.c | 2 +- lib/dpkg/error.h | 2 +- lib/dpkg/fdio.c | 2 +- lib/dpkg/fdio.h | 2 +- lib/dpkg/fields.c | 2 +- lib/dpkg/file.c | 2 +- lib/dpkg/file.h | 2 +- lib/dpkg/glob.c | 2 +- lib/dpkg/glob.h | 2 +- lib/dpkg/i18n.c | 2 +- lib/dpkg/i18n.h | 2 +- lib/dpkg/log.c | 2 +- lib/dpkg/macros.h | 2 +- lib/dpkg/mlib.c | 2 +- lib/dpkg/namevalue.c | 2 +- lib/dpkg/namevalue.h | 2 +- lib/dpkg/nfmalloc.c | 2 +- lib/dpkg/options.c | 2 +- lib/dpkg/options.h | 2 +- lib/dpkg/parse.c | 2 +- lib/dpkg/parsedump.h | 2 +- lib/dpkg/parsehelp.c | 2 +- lib/dpkg/path.c | 2 +- lib/dpkg/path.h | 2 +- lib/dpkg/pkg-array.c | 2 +- lib/dpkg/pkg-array.h | 2 +- lib/dpkg/pkg-db.c | 2 +- lib/dpkg/pkg-format.c | 2 +- lib/dpkg/pkg-format.h | 2 +- lib/dpkg/pkg-list.c | 2 +- lib/dpkg/pkg-list.h | 2 +- lib/dpkg/pkg-queue.c | 2 +- lib/dpkg/pkg-queue.h | 2 +- lib/dpkg/pkg-show.c | 2 +- lib/dpkg/pkg-show.h | 2 +- lib/dpkg/pkg-spec.c | 2 +- lib/dpkg/pkg-spec.h | 2 +- lib/dpkg/pkg.c | 2 +- lib/dpkg/pkg.h | 2 +- lib/dpkg/progname.c | 2 +- lib/dpkg/progname.h | 2 +- lib/dpkg/program.c | 2 +- lib/dpkg/program.h | 2 +- lib/dpkg/progress.c | 2 +- lib/dpkg/progress.h | 2 +- lib/dpkg/report.c | 2 +- lib/dpkg/report.h | 2 +- lib/dpkg/string.c | 2 +- lib/dpkg/string.h | 2 +- lib/dpkg/strwide.c | 2 +- lib/dpkg/subproc.c | 2 +- lib/dpkg/subproc.h | 2 +- lib/dpkg/tarfn.c | 2 +- lib/dpkg/tarfn.h | 2 +- lib/dpkg/test.h | 2 +- lib/dpkg/test/t-ar.c | 2 +- lib/dpkg/test/t-arch.c | 2 +- lib/dpkg/test/t-buffer.c | 2 +- lib/dpkg/test/t-command.c | 2 +- lib/dpkg/test/t-deb-version.c | 2 +- lib/dpkg/test/t-macros.c | 2 +- lib/dpkg/test/t-mod-db.c | 2 +- lib/dpkg/test/t-path.c | 2 +- lib/dpkg/test/t-pkg-list.c | 2 +- lib/dpkg/test/t-pkg-queue.c | 2 +- lib/dpkg/test/t-pkginfo.c | 2 +- lib/dpkg/test/t-progname.c | 2 +- lib/dpkg/test/t-string.c | 2 +- lib/dpkg/test/t-subproc.c | 2 +- lib/dpkg/test/t-test.c | 2 +- lib/dpkg/test/t-trigger.c | 2 +- lib/dpkg/test/t-varbuf.c | 2 +- lib/dpkg/test/t-version.c | 2 +- lib/dpkg/trigdeferred.h | 2 +- lib/dpkg/trigdeferred.l | 2 +- lib/dpkg/triglib.c | 2 +- lib/dpkg/triglib.h | 2 +- lib/dpkg/trigname.c | 2 +- lib/dpkg/trignote.c | 2 +- lib/dpkg/utils.c | 2 +- lib/dpkg/varbuf.c | 2 +- lib/dpkg/varbuf.h | 2 +- lib/dpkg/version.c | 2 +- lib/dpkg/version.h | 2 +- man/deb-control.5 | 2 +- man/deb-extra-override.5 | 2 +- man/deb-old.5 | 2 +- man/deb-origin.5 | 2 +- man/deb-override.5 | 2 +- man/deb-shlibs.5 | 2 +- man/deb-split.5 | 2 +- man/deb-src-control.5 | 4 ++-- man/deb-substvars.5 | 2 +- man/deb-symbols.5 | 4 ++-- man/deb-triggers.5 | 2 +- man/deb-version.5 | 2 +- man/deb.5 | 2 +- man/dpkg-architecture.1 | 2 +- man/dpkg-buildflags.1 | 2 +- man/dpkg-buildpackage.1 | 2 +- man/dpkg-checkbuilddeps.1 | 2 +- man/dpkg-deb.1 | 2 +- man/dpkg-distaddfile.1 | 2 +- man/dpkg-divert.8 | 2 +- man/dpkg-genchanges.1 | 2 +- man/dpkg-gencontrol.1 | 2 +- man/dpkg-gensymbols.1 | 8 ++++---- man/dpkg-maintscript-helper.1 | 2 +- man/dpkg-mergechangelogs.1 | 2 +- man/dpkg-name.1 | 2 +- man/dpkg-parsechangelog.1 | 2 +- man/dpkg-query.1 | 2 +- man/dpkg-scanpackages.1 | 2 +- man/dpkg-scansources.1 | 2 +- man/dpkg-shlibdeps.1 | 2 +- man/dpkg-source.1 | 6 +++--- man/dpkg-split.1 | 2 +- man/dpkg-statoverride.8 | 2 +- man/dpkg-trigger.1 | 2 +- man/dpkg-vendor.1 | 2 +- man/dpkg.1 | 2 +- man/dpkg.cfg.5 | 2 +- man/dselect.1 | 2 +- man/dselect.cfg.5 | 2 +- man/po/de.po | 32 ++++++++++++++++---------------- man/po/dpkg-man.pot | 12 ++++++------ man/po/es.po | 30 +++++++++++++++--------------- man/po/fr.po | 30 +++++++++++++++--------------- man/po/hu.po | 14 +++++++------- man/po/it.po | 24 ++++++++++++------------ man/po/ja.po | 30 +++++++++++++++--------------- man/po/pl.po | 30 +++++++++++++++--------------- man/po/pt_BR.po | 14 +++++++------- man/po/ru.po | 14 +++++++------- man/po/sv.po | 30 +++++++++++++++--------------- man/start-stop-daemon.8 | 2 +- man/update-alternatives.8 | 2 +- po/pl.po | 2 +- scripts/Dpkg.pm | 2 +- scripts/Dpkg/Arch.pm | 2 +- scripts/Dpkg/BuildEnv.pm | 2 +- scripts/Dpkg/BuildFlags.pm | 2 +- scripts/Dpkg/BuildOptions.pm | 2 +- scripts/Dpkg/BuildProfiles.pm | 2 +- scripts/Dpkg/Changelog.pm | 2 +- scripts/Dpkg/Changelog/Debian.pm | 2 +- scripts/Dpkg/Changelog/Entry.pm | 2 +- scripts/Dpkg/Changelog/Entry/Debian.pm | 2 +- scripts/Dpkg/Changelog/Parse.pm | 2 +- scripts/Dpkg/Checksums.pm | 2 +- scripts/Dpkg/Compression.pm | 2 +- scripts/Dpkg/Compression/FileHandle.pm | 2 +- scripts/Dpkg/Compression/Process.pm | 2 +- scripts/Dpkg/Conf.pm | 2 +- scripts/Dpkg/Control.pm | 2 +- scripts/Dpkg/Control/Changelog.pm | 2 +- scripts/Dpkg/Control/Fields.pm | 2 +- scripts/Dpkg/Control/FieldsCore.pm | 2 +- scripts/Dpkg/Control/Hash.pm | 2 +- scripts/Dpkg/Control/HashCore.pm | 2 +- scripts/Dpkg/Control/Info.pm | 2 +- scripts/Dpkg/Control/Types.pm | 2 +- scripts/Dpkg/Deps.pm | 2 +- scripts/Dpkg/ErrorHandling.pm | 2 +- scripts/Dpkg/Exit.pm | 2 +- scripts/Dpkg/File.pm | 2 +- scripts/Dpkg/IPC.pm | 2 +- scripts/Dpkg/Index.pm | 2 +- scripts/Dpkg/Interface/Storable.pm | 2 +- scripts/Dpkg/Package.pm | 2 +- scripts/Dpkg/Path.pm | 2 +- scripts/Dpkg/Shlibs.pm | 2 +- scripts/Dpkg/Shlibs/Cppfilt.pm | 2 +- scripts/Dpkg/Shlibs/Objdump.pm | 2 +- scripts/Dpkg/Shlibs/Symbol.pm | 2 +- scripts/Dpkg/Shlibs/SymbolFile.pm | 2 +- scripts/Dpkg/Source/Archive.pm | 2 +- scripts/Dpkg/Source/Functions.pm | 2 +- scripts/Dpkg/Source/Package.pm | 2 +- scripts/Dpkg/Source/Package/V1.pm | 2 +- scripts/Dpkg/Source/Package/V2.pm | 2 +- scripts/Dpkg/Source/Package/V3/Bzr.pm | 2 +- scripts/Dpkg/Source/Package/V3/Custom.pm | 2 +- scripts/Dpkg/Source/Package/V3/Git.pm | 2 +- scripts/Dpkg/Source/Package/V3/Native.pm | 2 +- scripts/Dpkg/Source/Package/V3/Quilt.pm | 2 +- scripts/Dpkg/Source/Patch.pm | 2 +- scripts/Dpkg/Source/Quilt.pm | 2 +- scripts/Dpkg/Substvars.pm | 2 +- scripts/Dpkg/Util.pm | 2 +- scripts/Dpkg/Vars.pm | 2 +- scripts/Dpkg/Vendor.pm | 2 +- scripts/Dpkg/Vendor/Debian.pm | 2 +- scripts/Dpkg/Vendor/Default.pm | 2 +- scripts/Dpkg/Vendor/Ubuntu.pm | 2 +- scripts/Dpkg/Version.pm | 2 +- scripts/changelog/debian.pl | 2 +- scripts/dpkg-architecture.pl | 2 +- scripts/dpkg-buildflags.pl | 2 +- scripts/dpkg-buildpackage.pl | 2 +- scripts/dpkg-checkbuilddeps.pl | 2 +- scripts/dpkg-distaddfile.pl | 2 +- scripts/dpkg-genchanges.pl | 2 +- scripts/dpkg-gencontrol.pl | 2 +- scripts/dpkg-gensymbols.pl | 2 +- scripts/dpkg-maintscript-helper.sh | 4 ++-- scripts/dpkg-mergechangelogs.pl | 2 +- scripts/dpkg-name.pl | 2 +- scripts/dpkg-parsechangelog.pl | 2 +- scripts/dpkg-scanpackages.pl | 2 +- scripts/dpkg-scansources.pl | 2 +- scripts/dpkg-shlibdeps.pl | 2 +- scripts/dpkg-source.pl | 2 +- scripts/dpkg-vendor.pl | 2 +- scripts/t/100_Dpkg_Version.t | 2 +- scripts/t/110_Dpkg_Arch.t | 2 +- scripts/t/150_Dpkg_Package.t | 2 +- scripts/t/190_Dpkg_Shlibs_Cppfilt.t | 2 +- scripts/t/200_Dpkg_Shlibs.t | 2 +- scripts/t/300_Dpkg_BuildOptions.t | 2 +- scripts/t/400_Dpkg_Deps.t | 2 +- scripts/t/500_Dpkg_Path.t | 2 +- scripts/t/550_Dpkg_Util.t | 2 +- scripts/t/600_Dpkg_Changelog.t | 2 +- scripts/t/600_Dpkg_Changelog_Ubuntu.t | 2 +- scripts/t/700_Dpkg_Control.t | 2 +- scripts/t/750_Dpkg_Substvars.t | 2 +- scripts/t/800_Dpkg_IPC.t | 2 +- scripts/t/850_Dpkg_Compression.t | 2 +- scripts/t/910_merge_changelogs.t | 2 +- src/archives.c | 2 +- src/archives.h | 2 +- src/cleanup.c | 2 +- src/configure.c | 2 +- src/depcon.c | 2 +- src/divertcmd.c | 2 +- src/divertdb.c | 2 +- src/enquiry.c | 2 +- src/errors.c | 2 +- src/file-match.c | 2 +- src/file-match.h | 2 +- src/filesdb-hash.c | 2 +- src/filesdb.c | 2 +- src/filesdb.h | 2 +- src/filters.c | 2 +- src/filters.h | 2 +- src/help.c | 2 +- src/infodb-access.c | 2 +- src/infodb-format.c | 2 +- src/infodb-upgrade.c | 2 +- src/infodb.h | 2 +- src/main.c | 2 +- src/main.h | 2 +- src/packages.c | 2 +- src/querycmd.c | 2 +- src/remove.c | 2 +- src/script.c | 2 +- src/select.c | 2 +- src/statcmd.c | 2 +- src/statdb.c | 2 +- src/t/100_dpkg_divert.t | 2 +- src/trigcmd.c | 2 +- src/trigproc.c | 2 +- src/unpack.c | 2 +- src/update.c | 2 +- src/verify.c | 2 +- test/000_pod.t | 2 +- test/100_critic.t | 2 +- utils/t/100_update_alternatives.t | 2 +- utils/update-alternatives.c | 2 +- 369 files changed, 501 insertions(+), 499 deletions(-) commit cb455941d7dcaadecdded5ca32eeb7fab54fd4bf Author: Guillem Jover Date: Fri Nov 22 07:11:44 2013 +0100 dpkg: Rename showdiff() to show_diff() src/configure.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 43f4d203d023ddda063968a11c02ad125c22cac9 Author: Guillem Jover Date: Wed Nov 13 05:21:33 2013 +0100 dpkg: Move functions around to avoid static declaration src/configure.c | 265 +++++++++++++++++++++++++++----------------------------- 1 file changed, 130 insertions(+), 135 deletions(-) commit 6263f5190eceec3bc30e8c8528c6388cfb1ff15f Author: Guillem Jover Date: Wed Nov 13 05:41:23 2013 +0100 dpkg: Refactor show_prompt() out from promptconfaction() src/configure.c | 207 +++++++++++++++++++++++++++++--------------------------- 1 file changed, 109 insertions(+), 98 deletions(-) commit 3f46417a52669ac2d7753e544dbd4962f245c499 Author: Guillem Jover Date: Wed Nov 13 00:44:47 2013 +0100 dpkg: Move newline from beginning to end of prompt strings src/configure.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit aecfb882c7debed9e76eeb9a5fdd9e12b066d814 Author: Guillem Jover Date: Wed Nov 13 21:02:44 2013 +0100 dpkg: Use warningv() to print message when overriding with --force option debian/changelog | 2 ++ src/errors.c | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) commit af7b764c5adccd4eb26ae118fd413711ce94edb9 Author: Guillem Jover Date: Fri Nov 22 05:48:12 2013 +0100 dpkg-trigger: Use enum trigdef_update_status instead of int Use the correct type to catch the trigdef_update_start() return value, and rename the variable to avoid confusion. src/trigcmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit fe8204dc99f5471607176265cd76bf478d7cc2bf Author: Guillem Jover Date: Thu Nov 14 03:43:03 2013 +0100 dpkg: Rename add_to_queue() to enqueue_package() src/cleanup.c | 2 +- src/configure.c | 2 +- src/main.h | 2 +- src/packages.c | 10 +++++----- src/remove.c | 2 +- src/trigproc.c | 2 +- src/unpack.c | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) commit b17bf8bef6c446b8fe97a88f189c1ccbe5ab094d Author: Guillem Jover Date: Fri Nov 22 21:20:55 2013 +0100 dpkg-split: Get rid of global partqueue queue variable Change scandepot() to return the queue, and discard_parts() to take it as argument. debian/changelog | 1 + dpkg-split/dpkg-split.h | 2 -- dpkg-split/join.c | 2 +- dpkg-split/main.c | 2 -- dpkg-split/queue.c | 26 +++++++++++++++++--------- 5 files changed, 19 insertions(+), 14 deletions(-) commit e6962f426e1d246e8c54a1780eb2d7a570382136 Author: Guillem Jover Date: Fri Nov 22 21:09:20 2013 +0100 dpkg-split: Rename discard symbols Use underscores to split symbol names, and rename discardsome() to discard_parts(). dpkg-split/queue.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) commit 9eca0910aa91eac8989b9fa78cdc9ed06fb2e998 Author: Guillem Jover Date: Tue Nov 12 01:05:11 2013 +0100 dpkg-split: Make scandepot() static dpkg-split/dpkg-split.h | 1 - dpkg-split/queue.c | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) commit e6793331989a7ce97af08209e536f1fb5932e993 Author: Guillem Jover Date: Fri Dec 6 22:06:29 2013 +0100 dpkg: Reset the statoverrides from the in-core database on reload If a statoverride gets removed in a maintainer script, it will not be reflected on the database until after the current dpkg process has been restarted. So we need to reset the statoverride information whenever we are going to reload the statoverride database. debian/changelog | 3 +++ src/statdb.c | 7 +++++++ 2 files changed, 10 insertions(+) commit 1b158222cceb4a9481f4fbab2e26cd0e2011a1a9 Author: Guillem Jover Date: Fri Dec 6 16:58:07 2013 +0100 dpkg: Add debug output on diversions and statoverride database loading debian/changelog | 1 + src/divertdb.c | 3 +++ src/statdb.c | 3 +++ 3 files changed, 7 insertions(+) commit ab56d08abe274182c0cab03425610ae61a074eff Author: Guillem Jover Date: Fri Dec 6 21:33:41 2013 +0100 dpkg: Keep the diversions and statoverride database files open The database files must be kept open during an entire dpkg run, because we need to check if the files have changed, and rely on the inode number, which could get eagerly reused by the filesystem if these files get replaced multiple times in maintainer scripts. Add a code comment explaining the rationale, so that this does not happen again in the future. This partially reverts commit 579b90b61b24a538cf1709d7ceda0b38fec631b3. Closes: #731524 debian/changelog | 6 +++++- src/divertdb.c | 19 ++++++++++++++++--- src/statdb.c | 20 ++++++++++++++++---- 3 files changed, 37 insertions(+), 8 deletions(-) commit 862a7443f712c09beba89bab061a711f0d727550 Author: Guillem Jover Date: Wed Dec 4 05:55:16 2013 +0100 deb-src-control(5): Fix typo man/deb-src-control.5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a593efae1dd5a5a1ca3b63c3955106c4d724a3fe Author: Guillem Jover Date: Thu Dec 5 11:09:12 2013 +0100 Bump version to 1.17.4 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit dddaeb2e58c1b310c2b7d7ed064b33eae16380a6 Author: Guillem Jover Date: Thu Dec 5 10:19:50 2013 +0100 Release 1.17.3 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4e647e16566436120e26be81da30a48fd9519241 Author: Trần Ngọc Quân Date: Thu Dec 5 14:48:12 2013 +0700 Update Vietnamese programs translation Closes: #731409 Signed-off-by: Trần Ngọc Quân Signed-off-by: Guillem Jover debian/changelog | 4 + po/vi.po | 454 ++++++++++++++++++++----------------------------------- 2 files changed, 164 insertions(+), 294 deletions(-) commit 80cc83904a4cc04f1b7a4ebe0439fea25bbaaf74 Author: Guillem Jover Date: Thu Nov 21 06:20:01 2013 +0100 dselect: Use C++11 nullptr instead of 0 or NULL It is way more descriptive, and has a better type. Check for C++11 compiler support and fallback nullptr to 0 if unavailable. configure.ac | 1 + debian/changelog | 3 ++ dselect/baselist.cc | 29 +++++++++++------- dselect/bindings.cc | 14 +++++---- dselect/main.cc | 54 ++++++++++++++++----------------- dselect/methkeys.cc | 48 +++++++++++++++--------------- dselect/methlist.cc | 6 ++-- dselect/method.cc | 18 +++++------ dselect/methparse.cc | 21 +++++++------ dselect/mkcurkeys.pl | 2 +- dselect/pkgcmds.cc | 2 +- dselect/pkgdepcon.cc | 7 +++-- dselect/pkgdisplay.cc | 10 +++---- dselect/pkginfo.cc | 10 +++---- dselect/pkgkeys.cc | 82 +++++++++++++++++++++++++-------------------------- dselect/pkglist.cc | 46 +++++++++++++++-------------- dselect/pkglist.h | 3 +- dselect/pkgtop.cc | 4 +-- lib/dpkg/macros.h | 4 +++ m4/dpkg-compiler.m4 | 49 ++++++++++++++++++++++++++++++ 20 files changed, 244 insertions(+), 169 deletions(-) commit cf21cccb98bdb31a84bbe1aa1217c712b47aedd2 Author: Guillem Jover Date: Mon Nov 18 20:01:40 2013 +0100 Switch variables from int to bool where appropriate dselect/baselist.cc | 12 +++++++----- dselect/dselect.h | 4 ++-- dselect/main.cc | 10 +++++----- dselect/pkgcmds.cc | 6 +++--- dselect/pkgdepcon.cc | 33 +++++++++++++++++++++------------ dselect/pkginfo.cc | 6 +++++- dselect/pkglist.cc | 22 ++++++++++++---------- dselect/pkglist.h | 15 ++++++++------- dselect/pkgsublist.cc | 3 ++- utils/start-stop-daemon.c | 18 +++++++++--------- 10 files changed, 74 insertions(+), 55 deletions(-) commit 632c785858b703042f13b6a5f7280fdd45a85f21 Author: Guillem Jover Date: Tue Nov 12 01:04:49 2013 +0100 Rename cmdinfos set functions to have underscores between words dpkg-deb/main.c | 4 ++-- dpkg-split/main.c | 6 ++++-- dselect/main.cc | 20 +++++++++++++------- src/divertcmd.c | 12 ++++++------ src/main.c | 46 +++++++++++++++++++++++++++++----------------- 5 files changed, 54 insertions(+), 34 deletions(-) commit d2b2ee44cc400af91061fa3c58c3bbdd0cf0dc60 Author: Guillem Jover Date: Fri Nov 22 07:56:26 2013 +0100 build: Reword C99 compiler check output Specify the current compiler being used, and shorten the message checking for an option to enable C99 support. debian/changelog | 1 + m4/dpkg-compiler.m4 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit dd8f8ce84ebfb4d88ab5cd1bc089a0ca73dfb595 Author: Guillem Jover Date: Wed Nov 20 05:27:35 2013 +0100 build: Move DPKG_C_C99 call just after AC_PROG_CC We really want subsequent checks to take advantage of the possibly set flags to enable C99 features. configure.ac | 2 +- debian/changelog | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) commit 0557b5eacad4d8236f2778643b841fb3c40f6d42 Author: Guillem Jover Date: Thu Dec 5 09:03:26 2013 +0100 build: Check availability of warning flags at build time This fixes a build failure with old g++ compilers not accepting -Wc++11-compat. TODO | 3 -- debian/changelog | 3 +- m4/dpkg-compiler.m4 | 92 +++++++++++++++++++++++++++++++++++++++++++++-------- 3 files changed, 80 insertions(+), 18 deletions(-) commit 56a2e6406721134d427c8d56d7ba2e5f5f4c2cc5 Author: Guillem Jover Date: Thu Dec 5 06:51:33 2013 +0100 Bump version to 1.17.3 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 55c90333c5e7faecb4c1f9b726a39ac8f5bb58b7 Author: Guillem Jover Date: Thu Dec 5 04:56:47 2013 +0100 Release 1.17.2 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b943d3ec4cf95b7aa7df9825e92750d15031fa23 Author: Guillem Jover Date: Wed Dec 4 07:19:47 2013 +0100 Regenerate .pot files and merge .po files with them dselect/po/bs.po | 98 +-- dselect/po/ca.po | 98 +-- dselect/po/cs.po | 98 +-- dselect/po/da.po | 98 +-- dselect/po/de.po | 98 +-- dselect/po/dselect.pot | 100 +-- dselect/po/el.po | 98 +-- dselect/po/es.po | 98 +-- dselect/po/et.po | 98 +-- dselect/po/eu.po | 98 +-- dselect/po/fr.po | 98 +-- dselect/po/gl.po | 98 +-- dselect/po/hu.po | 98 +-- dselect/po/id.po | 98 +-- dselect/po/it.po | 98 +-- dselect/po/ja.po | 98 +-- dselect/po/ko.po | 98 +-- dselect/po/nb.po | 98 +-- dselect/po/nl.po | 98 +-- dselect/po/nn.po | 98 +-- dselect/po/pl.po | 98 +-- dselect/po/pt.po | 98 +-- dselect/po/pt_BR.po | 98 +-- dselect/po/ro.po | 98 +-- dselect/po/ru.po | 98 +-- dselect/po/sk.po | 98 +-- dselect/po/sv.po | 98 +-- dselect/po/tl.po | 98 +-- dselect/po/vi.po | 98 +-- dselect/po/zh_CN.po | 98 +-- dselect/po/zh_TW.po | 98 +-- man/po/de.po | 721 ++++++++++------ man/po/dpkg-man.pot | 1709 +++++++++++++++++++++--------------- man/po/es.po | 2202 +++++++++++++++++++++++++++++----------------- man/po/fr.po | 2211 ++++++++++++++++++++++++++++++----------------- man/po/hu.po | 1791 ++++++++++++++++++++++---------------- man/po/it.po | 1949 +++++++++++++++++++++++++---------------- man/po/ja.po | 2211 ++++++++++++++++++++++++++++++----------------- man/po/pl.po | 2197 +++++++++++++++++++++++++++++----------------- man/po/pt_BR.po | 1784 ++++++++++++++++++++++---------------- man/po/ru.po | 1796 ++++++++++++++++++++++---------------- man/po/sv.po | 2191 +++++++++++++++++++++++++++++----------------- po/ast.po | 1629 ++++++++++++++++++---------------- po/bs.po | 1498 +++++++++++++++++--------------- po/ca.po | 1701 ++++++++++++++++++++---------------- po/cs.po | 1690 ++++++++++++++++++++---------------- po/da.po | 1694 ++++++++++++++++++++---------------- po/de.po | 201 ++--- po/dpkg.pot | 1475 ++++++++++++++++--------------- po/dz.po | 1608 ++++++++++++++++++---------------- po/el.po | 1628 ++++++++++++++++++---------------- po/eo.po | 1698 ++++++++++++++++++++---------------- po/es.po | 1706 ++++++++++++++++++++---------------- po/et.po | 1576 +++++++++++++++++---------------- po/eu.po | 1632 ++++++++++++++++++---------------- po/fr.po | 1713 ++++++++++++++++++++---------------- po/gl.po | 1620 ++++++++++++++++++---------------- po/hu.po | 1602 ++++++++++++++++++---------------- po/id.po | 1624 ++++++++++++++++++---------------- po/it.po | 1709 ++++++++++++++++++++---------------- po/ja.po | 1725 ++++++++++++++++++++---------------- po/km.po | 1603 ++++++++++++++++++---------------- po/ko.po | 1622 ++++++++++++++++++---------------- po/ku.po | 1519 +++++++++++++++++--------------- po/lt.po | 1597 ++++++++++++++++++---------------- po/mr.po | 1601 ++++++++++++++++++---------------- po/nb.po | 1632 ++++++++++++++++++---------------- po/ne.po | 1606 ++++++++++++++++++---------------- po/nl.po | 1611 ++++++++++++++++++---------------- po/nn.po | 1596 ++++++++++++++++++---------------- po/pa.po | 1533 ++++++++++++++++---------------- po/pl.po | 1695 ++++++++++++++++++++---------------- po/pt.po | 1702 ++++++++++++++++++++---------------- po/pt_BR.po | 1617 ++++++++++++++++++---------------- po/ro.po | 1636 +++++++++++++++++++---------------- po/ru.po | 1691 ++++++++++++++++++++---------------- po/sk.po | 1696 ++++++++++++++++++++---------------- po/sv.po | 1691 ++++++++++++++++++++---------------- po/th.po | 1687 ++++++++++++++++++++---------------- po/tl.po | 1609 ++++++++++++++++++---------------- po/vi.po | 1704 ++++++++++++++++++++---------------- po/zh_CN.po | 1620 ++++++++++++++++++---------------- po/zh_TW.po | 1687 ++++++++++++++++++++---------------- scripts/po/ca.po | 981 +++++++++++---------- scripts/po/de.po | 787 +++++++++-------- scripts/po/dpkg-dev.pot | 957 ++++++++++---------- scripts/po/es.po | 1123 +++++++++++++----------- scripts/po/fr.po | 1123 +++++++++++++----------- scripts/po/pl.po | 1123 +++++++++++++----------- scripts/po/ru.po | 1123 +++++++++++++----------- scripts/po/sv.po | 1123 +++++++++++++----------- 91 files changed, 55131 insertions(+), 42695 deletions(-) commit 32304d1455abb8abdb47a8cb59039bf907064602 Author: Guillem Jover Date: Thu Dec 5 02:30:35 2013 +0100 dpkg-source(1): Document interaction of --extend-diff-ignore and -i Document what's actually being changed, and how this interacts with previous uses of --extend-diff-ignore, before -i w/o argument. Closes: #729874 debian/changelog | 2 ++ man/dpkg-source.1 | 18 ++++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) commit 5d8db1edd45be3969fe94bb63237b8159664eeb6 Author: Guillem Jover Date: Thu Dec 5 02:09:51 2013 +0100 dpkg-source: Update default diff ignore regex on --extend-diff-ignore The Dpkg::Source::Package formats >= V2, expect an updated default diff ignore regex when --extend-diff-ignore is used, for example in the debian/source/options file, but no --diff-ignore argument is passed. This partially reverts commit 1cccaf0d0c509f9ac77f5448a0573e2d1c9c1ae4, which introduced this regression. scripts/dpkg-source.pl | 2 ++ 1 file changed, 2 insertions(+) commit 9366536a7efccd7b2dcaedfb6ed46c829a80ad10 Author: Guillem Jover Date: Thu Dec 5 02:06:57 2013 +0100 Dpkg::Source::Package: Add new set_default_diff_ignore_regex() function scripts/Dpkg/Source/Package.pm | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit 453d2813b9a74a37f0bf21810e269e853706ea3e Author: Guillem Jover Date: Thu Dec 5 02:01:16 2013 +0100 Dpkg::Source::Package: Make $diff_ignore_default_regexp a true alias If the users are modifying this variable, just copying the real one to the public one will not do it, because changes will not be seen by the module code. Instead create a real alias. Regression introduced in commit 5ae4ce9c2dfddbb36e2e0fc24dde3a27196f00f1. scripts/Dpkg/Source/Package.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7ec8899525ea41bdc365fa4156ef67bb3ab43c5b Author: Guillem Jover Date: Wed Dec 4 05:57:44 2013 +0100 debian: Bump Standards-Version to 3.9.5 debian/changelog | 1 + debian/control | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 7662e0937bb064a0754d12605d80a96a17e2aadf Author: Guillem Jover Date: Wed Dec 4 05:56:17 2013 +0100 Add experimental build profiles support This adds the basic infrastructure support for a new class of generic build-time dependency restrictions, and in particular implements the specific build profiles, which will allow to cull build dependencies depending on the profile being used. There's several things this can be used for, like new port bootstrapping, reduced package builds, and similar. In the future other kinds of restrictions could be added as the build profiles are namespaced with “profile.”. An example field could be: Build-Depends: exotic-compiler, libneeded-dev, tool-tiny, tool-huge (>= 1.0) [linux-any] or even stuff like: Depends: net-tools , plugin-curl The generated binary packages and .changes files will get a new Built-For-Profiles field containing the active profiles during the build. In addition the build profile can be selected using the environment variable DEB_BUILD_PROFILES, with space separated values, such as: DEB_BUILD_PROFILES="embedded bootstrap" The management and possible registration in the profile namespace is currently out of scope in dpkg, this should probably be handled by a distribution specific process. See draft . Closes: #661538 Based-on-patch-by: Patrick "P. J." McDermott Based-on-patch-by: Wookey Based-on-patch-by: Johannes Schauer Signed-off-by: Guillem Jover debian/changelog | 8 ++++ dpkg-deb/build.c | 1 + man/deb-src-control.5 | 14 ++++-- man/dpkg-buildpackage.1 | 14 +++++- man/dpkg-checkbuilddeps.1 | 15 +++++- scripts/Dpkg/BuildProfiles.pm | 82 +++++++++++++++++++++++++++++++ scripts/Dpkg/Control/FieldsCore.pm | 11 +++-- scripts/Dpkg/Deps.pm | 98 ++++++++++++++++++++++++++++++++++++++ scripts/Makefile.am | 1 + scripts/dpkg-buildpackage.pl | 7 +++ scripts/dpkg-checkbuilddeps.pl | 18 +++++-- scripts/dpkg-genchanges.pl | 3 ++ scripts/dpkg-gencontrol.pl | 11 +++-- scripts/dpkg-shlibdeps.pl | 2 +- scripts/t/400_Dpkg_Deps.t | 22 ++++++++- 15 files changed, 289 insertions(+), 18 deletions(-) commit bb53fa0defe392d55ae7b7f49bb28d9e647acb9c Author: Guillem Jover Date: Thu Sep 19 19:28:49 2013 +0200 Do not accept an initial hyphen in field names Accepting such field names as valid, would make the parsers accept control stanzas that have not been properly sanitized from OpenPGP dash-escaping. Just refuse these field names, as there's really no reason to accept them. debian/changelog | 1 + lib/dpkg/parse.c | 3 +++ scripts/Dpkg/Control/HashCore.pm | 3 +++ 3 files changed, 7 insertions(+) commit eecc61381b687a7ed6af65427e115dd4d2c765b6 Author: Guillem Jover Date: Thu Sep 19 19:28:49 2013 +0200 libdpkg: Do not accept empty field names These are just bogus, and should have never been accepted. debian/changelog | 1 + lib/dpkg/parse.c | 2 ++ 2 files changed, 3 insertions(+) commit d5758d52290ccefc1e7689ba1071bdc165f2d414 Author: Guillem Jover Date: Sun Oct 20 05:51:36 2013 +0200 libdpkg: Fallback to use ASCII method for multibyte strings on error We cannot do strict error checking on multibyte conversion at this point in time, because supposedly the database is in UTF-8, but the current locale might be in a different encoding, so the conversion might fail due to that. It could also fail if the user requested a standard locale like C or POSIX which does not support handling UTF-8 encodings. Regression introduced in commit ab5bdc1fc7bbf225efcbb3376ed309015682e772. Reported-by: Raphaël Hertzog lib/dpkg/strwide.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit 84dc4b1dbd0252e7abc7d8bd01c1e1eb61e2a410 Author: Guillem Jover Date: Tue Nov 5 20:05:59 2013 +0100 dpkg: Switch conflictor tracking from a fixed-size array to a queue This fixes several related issues. The list of conflictors has always really been a queue, where packages were added and then acted on, although no package was removed from the list after being processed, which in turn made subsequent conflictors accumulate and reach the arbitrary limit due to previous unrelated Conflicts/Replaces pairs, giving possibly very confusing error messages due to that. Another theoretical problem is that because the list was not cleaned up after processing it, a package could have been enqueued to be removed, then a newer version reinstalled which could get removed again on a subsequent package processing, being it on the list. Closes: #726112 debian/changelog | 7 +++++++ src/archives.c | 2 +- src/archives.h | 2 +- src/unpack.c | 60 ++++++++++++++++++++++++++++++-------------------------- 4 files changed, 41 insertions(+), 30 deletions(-) commit 5c2eff43159b9643bba4884876cf6fcc8ac222ef Author: Guillem Jover Date: Sun Dec 1 19:50:11 2013 +0100 scripts: Add GnuPG 2.x support Add gnupg2 and gpgv2 as alternative Recommends to gnupg and gpgv (to not pull them by default, as that would change the current default build environment pulled in by dpkg-dev), but prefer gpgv2 over gpgv, and gpg2 over gpg at run-time if they are available, so that users installing the alternatives can benefit from the new implementations. debian/changelog | 3 +++ debian/control | 6 ++++-- scripts/Dpkg/Source/Package.pm | 7 ++++++- scripts/dpkg-buildpackage.pl | 9 ++++++--- 4 files changed, 19 insertions(+), 6 deletions(-) commit 231609a19863ffbac9107e784f47dcaf69b9b8bc Author: Guillem Jover Date: Thu Nov 7 07:08:17 2013 +0100 Dpkg::Arch: Move argument unpacking to the beginning of functions These get rid of few false positives from perlcritic. Addresses Subroutines::RequireArgUnpacking. Warned-by: perlcritic scripts/Dpkg/Arch.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit ee69feea1f4148344d3639da110bb61cd71bace0 Author: Guillem Jover Date: Mon Dec 2 03:31:40 2013 +0100 dpkg-buildpackage: Avoid unnecessary removal of empty arguments in withecho The code to remove empty arguments was added to handle a possible empty rootcommand in commit 669ab06759db350765ac751cb52f487ea3418b7f, when it was a scalar. But then rootcommand was switched from a scalar to an array in commit c2acc4de8e86a9f1ad56c546f16355b796be0c60, which makes the removal of empty arguments unnecessary as the sublists get automatic interpolation when calling the function. scripts/dpkg-buildpackage.pl | 1 - 1 file changed, 1 deletion(-) commit b2590e1ea176bf0c4d04fb855f66e324c8018bb1 Author: Guillem Jover Date: Thu Nov 7 06:32:28 2013 +0100 perl: Surround FileHandles with braces in print calls Fixes InputOutput::RequireBracedFileHandleWithPrint. Warned-by: perlcritic dselect/methods/Dselect/Ftp.pm | 2 +- dselect/methods/ftp/install | 2 +- scripts/Dpkg/BuildOptions.pm | 2 +- scripts/Dpkg/Changelog.pm | 4 ++-- scripts/Dpkg/Changelog/Entry.pm | 2 +- scripts/Dpkg/Conf.pm | 2 +- scripts/Dpkg/Control/HashCore.pm | 2 +- scripts/Dpkg/Control/Info.pm | 2 +- scripts/Dpkg/Deps.pm | 8 ++++---- scripts/Dpkg/ErrorHandling.pm | 4 ++-- scripts/Dpkg/IPC.pm | 2 +- scripts/Dpkg/Index.pm | 2 +- scripts/Dpkg/Shlibs/SymbolFile.pm | 10 +++++----- scripts/Dpkg/Source/Package.pm | 4 ++-- scripts/Dpkg/Source/Package/V1.pm | 4 ++-- scripts/Dpkg/Source/Package/V2.pm | 8 ++++---- scripts/Dpkg/Source/Package/V3/Quilt.pm | 4 ++-- scripts/Dpkg/Source/Patch.pm | 6 +++--- scripts/Dpkg/Source/Quilt.pm | 8 ++++---- scripts/Dpkg/Substvars.pm | 2 +- scripts/dpkg-buildpackage.pl | 8 ++++---- scripts/dpkg-checkbuilddeps.pl | 8 ++++---- scripts/dpkg-distaddfile.pl | 4 ++-- scripts/dpkg-genchanges.pl | 6 +++--- scripts/dpkg-gencontrol.pl | 11 ++++++----- scripts/dpkg-mergechangelogs.pl | 2 +- scripts/dpkg-shlibdeps.pl | 6 +++--- scripts/t/800_Dpkg_IPC.t | 2 +- scripts/t/850_Dpkg_Compression.t | 4 ++-- src/t/100_dpkg_divert.t | 6 +++--- test/100_critic.t | 1 + 31 files changed, 70 insertions(+), 68 deletions(-) commit 38d22e9477c3120081c73553138d7f26288a7682 Author: Guillem Jover Date: Thu Nov 7 06:22:58 2013 +0100 scripts: Remove redundant STDOUT from print calls Addresses InputOutput::RequireBracedFileHandleWithPrint. Warned-by: perlcritic scripts/Dpkg/Source/Package/V2.pm | 2 +- scripts/dpkg-scanpackages.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit e5a6908870538026dc1b29f4085855e877e8aed1 Author: Guillem Jover Date: Thu Nov 7 06:21:01 2013 +0100 dselect: Use warn instead of print STDERR in method scripts Addresses InputOutput::RequireBracedFileHandleWithPrint. Warned-by: perlcritic dselect/methods/disk/install | 2 +- dselect/methods/ftp/install | 4 ++-- dselect/methods/ftp/setup | 4 ++-- dselect/methods/ftp/update | 4 ++-- dselect/methods/multicd/install | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) commit 8c314d6c4cee9b2c5acf078958243fb72af4e3d2 Author: Guillem Jover Date: Sun Jan 27 15:27:02 2013 +0100 scripts: Use croak instead of internerr on programming errors in modules Remove now unused internerr() function, replaced by croak which does a way better job. Addresses ErrorHandling::RequireCarping. Warned-by: perlcritic scripts/Dpkg/Changelog/Entry.pm | 8 +++++--- scripts/Dpkg/Compression/FileHandle.pm | 16 ++++++++++------ scripts/Dpkg/Compression/Process.pm | 6 ++++-- scripts/Dpkg/Control/Fields.pm | 4 +++- scripts/Dpkg/Deps.pm | 10 +++++++--- scripts/Dpkg/ErrorHandling.pm | 7 +------ scripts/Dpkg/IPC.pm | 24 +++++++++++++----------- scripts/Dpkg/Interface/Storable.pm | 8 +++++--- scripts/Dpkg/Source/Archive.pm | 8 +++++--- scripts/Dpkg/Source/Package.pm | 11 ++++++----- scripts/Dpkg/Version.pm | 5 +++-- 11 files changed, 62 insertions(+), 45 deletions(-) commit 4b35d5045ad062a8ac61250df685f8b3178e8e9e Author: Guillem Jover Date: Sat Jan 12 16:17:03 2013 +0100 perl: Use croak instead of die on programming errors in modules Addresses ErrorHandling::RequireCarping. Warned-by: perlcritic dselect/methods/Dselect/Ftp.pm | 3 ++- scripts/Dpkg/Control/HashCore.pm | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit bd281a3259a499217326ad4b3b1a2973a83d7434 Author: Guillem Jover Date: Fri Nov 8 06:28:14 2013 +0100 perl: Switch to use low precedence boolean operators for error checks This will make it safe to remove parenthesis around builtins. dselect/methods/Dselect/Ftp.pm | 10 +++--- dselect/methods/disk/install | 2 +- dselect/methods/ftp/install | 8 ++--- dselect/methods/multicd/install | 2 +- dselect/mkcurkeys.pl | 14 ++++----- scripts/Dpkg/Changelog/Parse.pm | 2 +- scripts/Dpkg/Checksums.pm | 2 +- scripts/Dpkg/Compression/FileHandle.pm | 8 ++--- scripts/Dpkg/Control/HashCore.pm | 4 +-- scripts/Dpkg/File.pm | 8 ++--- scripts/Dpkg/IPC.pm | 35 +++++++++++---------- scripts/Dpkg/Interface/Storable.pm | 8 ++--- scripts/Dpkg/Shlibs/Objdump.pm | 4 +-- scripts/Dpkg/Source/Archive.pm | 18 +++++------ scripts/Dpkg/Source/Package.pm | 13 ++++---- scripts/Dpkg/Source/Package/V1.pm | 42 +++++++++++++------------- scripts/Dpkg/Source/Package/V2.pm | 52 ++++++++++++++++---------------- scripts/Dpkg/Source/Package/V3/Bzr.pm | 19 +++++------- scripts/Dpkg/Source/Package/V3/Git.pm | 16 +++++----- scripts/Dpkg/Source/Package/V3/Native.pm | 10 +++--- scripts/Dpkg/Source/Package/V3/Quilt.pm | 24 +++++++-------- scripts/Dpkg/Source/Patch.pm | 14 ++++----- scripts/Dpkg/Source/Quilt.pm | 12 ++++---- scripts/Dpkg/Vendor.pm | 2 +- scripts/dpkg-checkbuilddeps.pl | 4 +-- scripts/dpkg-distaddfile.pl | 22 +++++++------- scripts/dpkg-genchanges.pl | 16 +++++----- scripts/dpkg-gencontrol.pl | 41 +++++++++++++------------ scripts/dpkg-gensymbols.pl | 4 +-- scripts/dpkg-mergechangelogs.pl | 5 +-- scripts/dpkg-name.pl | 4 +-- scripts/dpkg-shlibdeps.pl | 32 ++++++++++---------- scripts/dpkg-source.pl | 8 ++--- scripts/t/600_Dpkg_Changelog.t | 2 +- 34 files changed, 233 insertions(+), 234 deletions(-) commit ee37c9202bb80ea4ee50bf463df1495eaf0d3a7c Author: Guillem Jover Date: Mon Nov 25 21:18:28 2013 +0100 perl: Try to avoid boolean operators after predicates on error checks Using boolean operators after predicates for error checking makes the code flow slightly confusing, do that only after actions, to check if they succeeded and error out otherwise. dselect/methods/disk/install | 13 +++++---- dselect/methods/multicd/install | 13 +++++---- dselect/mkcurkeys.pl | 11 ++++--- scripts/Dpkg/Control/HashCore.pm | 3 +- scripts/Dpkg/Package.pm | 9 ++++-- scripts/Dpkg/Shlibs/SymbolFile.pm | 6 +++- scripts/Dpkg/Source/Package/V1.pm | 6 ++-- scripts/Dpkg/Source/Package/V3/Bzr.pm | 2 +- scripts/Dpkg/Source/Package/V3/Git.pm | 10 +++---- scripts/Dpkg/Source/Patch.pm | 14 ++++++--- scripts/Dpkg/Substvars.pm | 6 ++-- scripts/Dpkg/Vars.pm | 9 +++--- scripts/dpkg-buildpackage.pl | 12 ++++---- scripts/dpkg-distaddfile.pl | 2 +- scripts/dpkg-genchanges.pl | 54 ++++++++++++++++++----------------- scripts/dpkg-gencontrol.pl | 21 +++++++++----- scripts/dpkg-parsechangelog.pl | 3 +- scripts/dpkg-scanpackages.pl | 9 ++++-- scripts/dpkg-scansources.pl | 3 +- scripts/dpkg-shlibdeps.pl | 9 +++--- 20 files changed, 128 insertions(+), 87 deletions(-) commit 0f802f0071e0efd7a260f83c5efc554f0ba585d9 Author: Sven Joachim Date: Sat Nov 30 18:38:49 2013 +0100 German dpkg translation update Update to 1085t2u. po/de.po | 276 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 142 insertions(+), 134 deletions(-) commit e388307c2088026a56458b89026692a135391333 Author: Helge Kreutzmann Date: Mon Nov 25 16:33:24 2013 +0100 Update German scripts translation Update to 542t. scripts/po/de.po | 356 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 182 insertions(+), 174 deletions(-) commit 7a474322884cced4bacb94d64bfe0f350da798e3 Author: Helge Kreutzmann Date: Mon Nov 25 16:29:24 2013 +0100 Update German translation of manual pages Update to 2183t. man/po/de.po | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) commit 0e6111a3af79ba1fc1959535780ee420e5dab651 Author: Guillem Jover Date: Wed Jan 9 21:46:21 2013 +0100 perl: Always check open() return value Fixes InputOutput::RequireCheckedOpen. Warned-by: perlcritic dselect/methods/ftp/install | 6 ++++-- scripts/Dpkg/Changelog/Parse.pm | 3 ++- scripts/dpkg-shlibdeps.pl | 3 ++- scripts/t/800_Dpkg_IPC.t | 9 ++++++--- src/t/100_dpkg_divert.t | 12 ++++++++---- test/100_critic.t | 1 + 6 files changed, 23 insertions(+), 11 deletions(-) commit 9a1e6db62b37c76f609e012ae4e86018def587de Author: Guillem Jover Date: Thu Jan 24 03:14:17 2013 +0100 Dpkg::ErrorHandling: Move syntaxerr to Dpkg::Control::HashCore::parse_error This places the function where it belongs. scripts/Dpkg/Control/HashCore.pm | 43 +++++++++++++++++++++++++++++----------- scripts/Dpkg/Control/Info.pm | 8 +++++--- scripts/Dpkg/ErrorHandling.pm | 11 ++-------- 3 files changed, 38 insertions(+), 24 deletions(-) commit 4b8be5b817eed7950010192f83afc544d5f688cd Author: Guillem Jover Date: Sun Nov 24 05:10:35 2013 +0100 Dpkg::Changelog: Fix parse_error() POD prototype The documentation was missing the $file argument. scripts/Dpkg/Changelog.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 46199371e247af277b9dcab12adb7a5dcbf81d88 Author: Guillem Jover Date: Wed Nov 6 06:39:03 2013 +0100 Dpkg::Changelog::Entry::Debian: Deprecate regex package variables Expose two functions to match a changelog header and trailer, instead of exposing the raw regex variables. Fixes Variables::ProhibitPackageVars. Warned-by: perlcritic debian/changelog | 2 ++ scripts/Dpkg/Changelog/Debian.pm | 7 ++-- scripts/Dpkg/Changelog/Entry/Debian.pm | 58 +++++++++++++++++++++++++++------- test/100_critic.t | 1 + 4 files changed, 53 insertions(+), 15 deletions(-) commit 5ae40e066d21689fde411fdc53774c77d28ff3f2 Author: Guillem Jover Date: Wed Nov 6 20:35:57 2013 +0100 Dpkg::Changelog::Debian: Remove unused $options variable This was left behind when the code got moved into check_header() in commit dc5d755b0fe118938f7bba438fcf2e44461b0f65, remove now. scripts/Dpkg/Changelog/Debian.pm | 1 - 1 file changed, 1 deletion(-) commit 526d1e43d40967b07779ec34ffd1be85280757ec Author: Guillem Jover Date: Wed Nov 6 17:18:38 2013 +0100 scripts: Fix POD headings and item lists scripts/Dpkg/Changelog/Debian.pm | 6 ++++-- scripts/Dpkg/Changelog/Entry/Debian.pm | 6 +++++- scripts/Dpkg/Changelog/Parse.pm | 10 ++++++++-- scripts/Dpkg/Deps.pm | 4 ++-- 4 files changed, 19 insertions(+), 7 deletions(-) commit 1919e88f193dfd98be05cd25acfe86e617cb2228 Author: Guillem Jover Date: Wed Nov 6 06:02:09 2013 +0100 Dpkg::Source::Package: Deprecate public package variables Replace direct usage of $diff_ignore_default_regexp and @tar_ignore_default_pattern with accessor functions. Addresses Variables::ProhibitPackageVars. Warned-by: perlcritic debian/changelog | 2 ++ scripts/Dpkg/Source/Package.pm | 36 +++++++++++++++++++++++++++++++++++- scripts/dpkg-source.pl | 11 ++++++----- 3 files changed, 43 insertions(+), 6 deletions(-) commit 1cccaf0d0c509f9ac77f5448a0573e2d1c9c1ae4 Author: Guillem Jover Date: Wed Nov 6 05:54:14 2013 +0100 dpkg-source: Do not modify $diff_ignore_default_regexp package variable This is the default, only change scoped variables, this will help in further refactoring, and so that we get a correct default on --help. scripts/dpkg-source.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 5ae4ce9c2dfddbb36e2e0fc24dde3a27196f00f1 Author: Guillem Jover Date: Fri Nov 8 05:09:52 2013 +0100 Consistently use regex instead of regexp when possible All changed instances are documentation or private code interfaces. The only remaining variable instance with a regexp name is a publicly exposed variable, which will eventually disappear once it has gone through the deprecation process. dselect/methods/Dselect/Ftp.pm | 2 +- man/dpkg-buildpackage.1 | 2 +- man/dpkg-source.1 | 14 +++++++------- scripts/Dpkg/Index.pm | 2 +- scripts/Dpkg/Source/Package.pm | 15 +++++++++------ scripts/Dpkg/Source/Package/V1.pm | 10 +++++----- scripts/Dpkg/Source/Package/V2.pm | 4 ++-- scripts/Dpkg/Source/Package/V3/Bzr.pm | 6 +++--- scripts/Dpkg/Source/Package/V3/Git.pm | 6 +++--- scripts/Dpkg/Source/Package/V3/Quilt.pm | 2 +- scripts/Dpkg/Source/Patch.pm | 4 ++-- scripts/dpkg-source.pl | 10 +++++----- scripts/t/550_Dpkg_Util.t | 6 +++--- 13 files changed, 43 insertions(+), 40 deletions(-) commit 16f9bd122b8a1e0ed8d6ce88cc57bd73ae829a03 Author: Guillem Jover Date: Wed Nov 6 06:48:37 2013 +0100 Dselect::Ftp: Uppercase public %config package variable This module has a problematic license, so there's no point in doing a more intrusive cleanup, just uppercase the variable and be done with it. Addresses Variables::ProhibitPackageVars. Warned-by: perlcritic dselect/methods/Dselect/Ftp.pm | 47 +++++++++++++++++++++--------------------- dselect/methods/ftp/install | 18 ++++++++-------- dselect/methods/ftp/setup | 26 +++++++++++------------ dselect/methods/ftp/update | 18 ++++++++-------- 4 files changed, 55 insertions(+), 54 deletions(-) commit f5d11751aef250d3013652af80273c7379696b1e Author: Guillem Jover Date: Wed Nov 6 05:36:35 2013 +0100 dselect: Make $ftp variable file global in ftp install method The code is already using a $::ftp variable to be able to cleanup on errors, just move the definition of the $ftp variable outside of the download() function. Addresses Variables::ProhibitPackageVars. Warned-by: perlcritic dselect/methods/ftp/install | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit ebf3faeb2d858442fe568967f6212b1c4bba58da Author: Guillem Jover Date: Wed Nov 6 05:24:16 2013 +0100 Dpkg::Vars: Deprecate $sourcepackage package variable Replace direct usage with function accessor. Addresses Variables::ProhibitPackageVars. Warned-by: perlcritic scripts/Dpkg/Vars.pm | 12 ++++++++---- scripts/dpkg-genchanges.pl | 7 ++++--- scripts/dpkg-gencontrol.pl | 1 + scripts/dpkg-source.pl | 2 +- 4 files changed, 14 insertions(+), 8 deletions(-) commit a3144a5806b3ffa3256dab4e1290a34743059995 Author: Guillem Jover Date: Wed Nov 6 05:11:58 2013 +0100 Dpkg::Deps: Make %relation_ordering package variable private This variable was not documented, so not part of the public API, neither used by any other part of the perl scripts. Addresses Variables::ProhibitPackageVars. Warned-by: perlcritic scripts/Dpkg/Deps.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 901161c0665514c0199c8f970a76f3f1e0330904 Author: Guillem Jover Date: Thu Jul 18 03:38:21 2013 +0200 Dpkg::Shlibs: Deprecate @librarypaths package variable Replace direct usage with accessor functions. Addresses Variables::ProhibitPackageVars. Warned-by: perlcritic scripts/Dpkg/Shlibs.pm | 16 +++++++++++++--- scripts/dpkg-gensymbols.pl | 4 ++-- scripts/dpkg-shlibdeps.pl | 4 ++-- scripts/t/200_Dpkg_Shlibs.t | 8 +++++--- 4 files changed, 22 insertions(+), 10 deletions(-) commit 65e3833500e83cc54279967d47708e45cc5d7df8 Author: Guillem Jover Date: Wed Nov 6 04:44:10 2013 +0100 Dpkg::Deps: Move _arch_* private functions to Dpkg::Deps::Simple Do not use private functions from another module, just move them to the module where they are being used. Fixes Subroutines::ProhibitUnusedPrivateSubroutines and Subroutines::ProtectPrivateSubs. Warned-by: perlcritic scripts/Dpkg/Deps.pm | 183 +++++++++++++++++++++++++-------------------------- test/100_critic.t | 2 + 2 files changed, 91 insertions(+), 94 deletions(-) commit 414bd0e37034045cc5cd339a1244952b48ea3432 Author: Guillem Jover Date: Thu Jul 18 02:33:46 2013 +0200 Dpkg::Exit: Expose proper functions instead of variables Add new functions to interact with the exit handlers. Mark @handlers as deprecated and to stop exporting it on VERSION 2.00. Addresses Variables::ProhibitPackageVars. Warned-by: perlcritic debian/changelog | 1 + scripts/Dpkg/Exit.pm | 69 +++++++++++++++++++++++++++++++- scripts/Dpkg/Source/Package.pm | 8 ++-- scripts/Dpkg/Source/Package/V1.pm | 10 ++--- scripts/Dpkg/Source/Package/V2.pm | 18 ++++----- scripts/Dpkg/Source/Package/V3/Bzr.pm | 6 +-- scripts/Dpkg/Source/Package/V3/Git.pm | 6 +-- scripts/Dpkg/Source/Package/V3/Native.pm | 6 +-- 8 files changed, 95 insertions(+), 29 deletions(-) commit 0ee33bbd23c4500b36c23da59db8f832f03b5c79 Author: Guillem Jover Date: Thu Jul 18 02:21:18 2013 +0200 Dpkg::Compression: Add new compression_get_file_extension_regex() function Replace all direct accesses to $compression_re_file_ext with calls to the new function, and mark the variable as deprecated to be removed on VERSION 2.00. Addresses Variables::ProhibitPackageVars. Warned-by: perlcritic debian/changelog | 2 +- scripts/Dpkg/Compression.pm | 31 +++++++++++++++++-------------- scripts/Dpkg/Compression/FileHandle.pm | 3 ++- scripts/Dpkg/Source/Package.pm | 5 +++-- scripts/Dpkg/Source/Package/V2.pm | 7 ++++--- scripts/Dpkg/Source/Package/V3/Bzr.pm | 5 +++-- scripts/Dpkg/Source/Package/V3/Native.pm | 3 ++- scripts/dpkg-buildpackage.pl | 2 +- scripts/dpkg-genchanges.pl | 2 +- 9 files changed, 34 insertions(+), 26 deletions(-) commit b8e79194cb0c1524a81f5b33f2514620998e28a2 Author: Guillem Jover Date: Thu Jul 18 02:21:18 2013 +0200 Dpkg::Compression: Deprecate default compression variables Mark $default_compression and $default_compression_level as deprecated to be removed on VERSION 2.00. Addresses Variables::ProhibitPackageVars. Warned-by: perlcritic debian/changelog | 3 +++ scripts/Dpkg/Compression.pm | 15 ++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) commit f6ee09954c6cd8fc0a39336f21960ce93afc180c Author: Guillem Jover Date: Tue Nov 5 05:56:45 2013 +0100 perl: Do not allow hard tabs anywhere other than leading position Fixes CodeLayout::ProhibitHardTabs. Warned-by: perlcritic dselect/methods/Dselect/Ftp.pm | 14 ++++++---- dselect/methods/ftp/update | 3 +- dselect/mkcurkeys.pl | 4 +-- scripts/Dpkg/Deps.pm | 2 +- scripts/Dpkg/Gettext.pm | 58 +++++++++++++++++++-------------------- scripts/Dpkg/Shlibs/SymbolFile.pm | 54 ++++++++++++++++++------------------ scripts/dpkg-mergechangelogs.pl | 14 +++++----- scripts/dpkg-scansources.pl | 34 +++++++++++------------ test/100_critic.t | 1 + 9 files changed, 94 insertions(+), 90 deletions(-) commit 809bfc52d03b9dbf1cbca8d23c74d96f5a050e65 Author: Guillem Jover Date: Sat Nov 23 20:06:54 2013 +0100 libdpkg: Rename pdb_deb_control to pdb_single_stanza The previous name didn't really catch the meaning of the flag. lib/dpkg/dpkg-db.h | 8 ++++---- lib/dpkg/parse.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) commit fec5e3dee7cb048207d5ee82fe63ee6513a66cc3 Author: Guillem Jover Date: Sat Nov 23 06:37:08 2013 +0100 build: Set DEFAULT_TEXT_DOMAIN to @PACKAGE@ for libdpkg This makes sure the gettext() calls in the library code get the correct domain name, otherwise if the program is using a domain other than @PACKAGE@ (in this case dpkg), then it will not be able to find the correct translations. debian/changelog | 2 ++ lib/dpkg/Makefile.am | 1 + 2 files changed, 3 insertions(+) commit d7b89a456a071356a352b4bc7d66740f9050dcc2 Author: Guillem Jover Date: Thu Nov 21 21:56:13 2013 +0100 libdpkg: Use fp instead of stdout on isatty() in dpkg_set_report_buffer() Do not hardcode the file descriptor when calling isatty(), use the one provided as an argument. Regression introduced in commit 50c1cb4d6e8b4c3ee739646f9df05992b806ea5e. lib/dpkg/report.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b777a58ac99ca4c6628eeff97c899c368d3ab040 Author: Guillem Jover Date: Thu Nov 21 12:13:26 2013 +0100 dpkg: Do not lose track of packages owning a file Properly reset the pkg_prev pointer for each file iteration, by moving the variable declaration inside the loop. Regression introduced in commit a2ee7d0bb4d56afb82438f09a50251acfa690643. Reported-by: Raphaël Hertzog src/filesdb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 849d3f8d0f55852d85a282daa812b1d48e1c6aac Author: Guillem Jover Date: Thu Nov 21 12:02:30 2013 +0100 dpkg: Set verify_output_rpm() as the default verify output formatter The verify_output function pointer was not initialized, and if the user did not specify --verify-output the program would segfault. Reported-by: Raphaël Hertzog src/verify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 37ca4dc304416071d9d8b018213eb8255e09d6af Author: Guillem Jover Date: Thu Nov 21 21:40:12 2013 +0100 dpkg: Split post_script_tasks() debug message Move the ensure_diversions debug progress message just before the function call, to make this less confusing. src/script.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 09bde8ca466a7bb55fc203a9cb114dd16c5c5b7f Author: Guillem Jover Date: Mon Nov 18 04:47:38 2013 +0100 dpkg: Get rid of post_postinst_tasks_core() Fold post_postinst_tasks_core() into post_postinst_tasks(), and replace open-coded implementation in trigproc(). src/main.h | 2 -- src/script.c | 8 +------- src/trigproc.c | 14 +++----------- 3 files changed, 4 insertions(+), 20 deletions(-) commit 9772f1f27690ff0436d5afa02c924efad59ecd6c Author: Guillem Jover Date: Mon Nov 18 04:43:41 2013 +0100 dpkg: Use modstatdb_get_status() instead of hardcoding msdbrw_write Pass the modstatdb status value used when opening the database, instead of hardcoding msdbrw_write to trig_incorporate() calls, and avoiding calling them on --no-act. src/script.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit f375b5ea1fb408abbc050fcb848263364f94f0ca Author: Guillem Jover Date: Mon Nov 18 04:29:50 2013 +0100 dpkg: Rename and unify maintscript function names src/cleanup.c | 88 ++++++++++++++++++++++++++-------------------------- src/configure.c | 10 +++--- src/main.h | 22 ++++++------- src/remove.c | 9 ++---- src/script.c | 52 +++++++++++++++---------------- src/trigproc.c | 4 +-- src/unpack.c | 96 +++++++++++++++++++++++++++++---------------------------- 7 files changed, 138 insertions(+), 143 deletions(-) commit 734702ce73524ef1ae84d2c1bf89f8b5db6b1b96 Author: Guillem Jover Date: Fri Nov 22 05:25:19 2013 +0100 dpkg-deb: Do not set LC_NUMERIC to POSIX This is unneeded since commit c13a013fd8778f9f558bedfb532c011dcb304394 where float handling was replaced by struct deb_version. But in any case the call had been ineffective for a very long time (since commit 3dc5dd229b5044494db300e6fef7fd47363ce0b6, May 2002), because setting LC_ALL got moved from before to after setting LC_NUMERIC. dpkg-deb/main.c | 1 - 1 file changed, 1 deletion(-) commit 4b924a7b47b6773f2ece6aef6d01450a86a15274 Author: Guillem Jover Date: Fri Nov 22 06:34:25 2013 +0100 libdpkg: Fix crashes on Mac OS X when using first gettext() after fork() On Mac OS X, the libintl code needs to call into the CoreFoundation framework, which is internally threaded, to initialize some caches. This is a problem when that first call is done after a fork(3), because per POSIX, only one thread will survive, leaving the process in a very inconsistent state, leading to crashes. To workaround this, we try to force the caches initialization at program startup time, by performing a dummy gettext("") call. Tested-by: Martin Costabel debian/changelog | 3 +++ lib/dpkg/i18n.c | 14 ++++++++++++++ 2 files changed, 17 insertions(+) commit fa1cd230b9d89c4f861d10267ea635c8babf6627 Author: Guillem Jover Date: Sun Nov 17 06:46:28 2013 +0100 libdpkg: New dpkg_locales_init() Switch all program to use the new function instead of open-coding it. dpkg-deb/main.c | 5 +---- dpkg-split/main.c | 5 +---- dselect/main.cc | 5 +---- lib/dpkg/Makefile.am | 2 +- lib/dpkg/{i18n.h => i18n.c} | 41 ++++++++++++----------------------------- lib/dpkg/i18n.h | 2 ++ lib/dpkg/libdpkg.map | 2 ++ po/POTFILES.in | 1 + src/divertcmd.c | 5 +---- src/main.c | 5 +---- src/querycmd.c | 5 +---- src/statcmd.c | 5 +---- src/trigcmd.c | 5 +---- 13 files changed, 26 insertions(+), 62 deletions(-) commit 42e5cc51a2f8b70de667858a34f398f370c1e4c1 Author: Raphaël Hertzog Date: Thu Nov 21 10:43:49 2013 +0100 t-file-replaces-versioned: New test case This one checks moving a file from package A to B when a A/0 and B/0 are both initially installed. B/1 has a replaces on A (<< 1) to avoid the file conflict. [guillem@debian.org: - Wrap TESTS_DEB assignment line. - Remove blank lines. - Remove Replaces in pkg-file-takeover-0. - Hook into TESTS_PASS. ] Signed-off-by: Guillem Jover Makefile | 1 + t-file-replaces-versioned/Makefile | 52 ++++++++++++++++++++++ .../pkg-file-original-0/DEBIAN/control | 7 +++ .../pkg-file-original-0/test-file | 1 + .../pkg-file-original-0/test-original | 0 .../pkg-file-original-1/DEBIAN/control | 7 +++ .../pkg-file-original-1/test-original | 0 .../pkg-file-takeover-0/DEBIAN/control | 7 +++ .../pkg-file-takeover-0/test-takeover | 0 .../pkg-file-takeover-1/DEBIAN/control | 8 ++++ .../pkg-file-takeover-1/test-file | 1 + .../pkg-file-takeover-1/test-takeover | 0 t-file-replaces-versioned/ref-file | 1 + 13 files changed, 85 insertions(+) commit 62841baecfc474fd1bf61ae8ee75a636ccf8f909 Author: Helge Kreutzmann Date: Sat Nov 9 16:49:12 2013 +0100 Update German translation of manual pages Update to 2183t. man/po/de.po | 102 +++++++++++++++++++++++++++-------------------------------- 1 file changed, 47 insertions(+), 55 deletions(-) commit 5d62da287edc8dc5ee327008a835820a90034e09 Author: Guillem Jover Date: Sat Nov 2 05:39:51 2013 +0100 dpkg: Refactor out run_logger() from run_status_loggers() src/main.c | 45 +++++++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 18 deletions(-) commit e6debc6c476220407a49ea386080fada2e129f1d Author: Guillem Jover Date: Fri Nov 1 21:08:30 2013 +0100 dpkg: Distinguish error reports between archives and packages debian/changelog | 2 ++ src/archives.c | 2 +- src/errors.c | 15 ++++++++++++++- src/main.h | 1 + 4 files changed, 18 insertions(+), 2 deletions(-) commit 7b97cee0791103db6cb644d90817581088bca37e Author: Guillem Jover Date: Fri Nov 1 21:03:46 2013 +0100 dpkg: Refactor enqueue_error_report() out from print_error_perpackage() src/errors.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) commit 43e95b3aea24a0abce17fcee143c08a72cc63e57 Author: Guillem Jover Date: Mon Nov 4 20:35:07 2013 +0100 libdpkg: Change error printer argument from const char * to const void * This will allow passing any other data to the printer callback beside a string. lib/dpkg/ehandle.c | 18 +++++++++--------- lib/dpkg/ehandle.h | 8 ++++---- lib/dpkg/subproc.c | 2 +- src/errors.c | 5 ++++- src/main.h | 2 +- 5 files changed, 19 insertions(+), 16 deletions(-) commit ac7279e940828a3e14988eb720c80ef214b4892b Author: Guillem Jover Date: Mon Nov 4 21:25:38 2013 +0100 libdpkg: Improve error handler and printer function argument names lib/dpkg/ehandle.c | 20 ++++++++++---------- lib/dpkg/ehandle.h | 8 ++++---- 2 files changed, 14 insertions(+), 14 deletions(-) commit 078a5258a35cbbb90251a418f9a5f4023429bc3c Author: Guillem Jover Date: Mon Nov 4 21:25:38 2013 +0100 libdpkg: Suffix error handling function typedef with _func lib/dpkg/ehandle.c | 14 ++++++++------ lib/dpkg/ehandle.h | 10 ++++++---- 2 files changed, 14 insertions(+), 10 deletions(-) commit d9aea52d443b93d8c8cab7e22ffbb7a812201dc3 Author: Guillem Jover Date: Mon Nov 4 21:21:19 2013 +0100 libdpkg: Move error_context printer members into a struct This namespaces the printer specific members making their use more obvious. lib/dpkg/ehandle.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit b44d62d91144ba59949613d6725164ea1f2ac9f8 Author: Guillem Jover Date: Sat Nov 2 05:30:56 2013 +0100 libdpkg: Refactor integer parsing into new dpkg_options_parse_arg_int() dpkg-deb/main.c | 7 +------ lib/dpkg/libdpkg.map | 1 + lib/dpkg/options.c | 15 +++++++++++++++ lib/dpkg/options.h | 2 ++ src/main.c | 21 ++++----------------- 5 files changed, 23 insertions(+), 23 deletions(-) commit e855e3d679393ee475cf7a88c445912de481bf3e Author: Guillem Jover Date: Tue Nov 5 20:43:43 2013 +0100 build: Ignore ~ backup files .gitignore | 1 + 1 file changed, 1 insertion(+) commit 2cfad24014196ca2985ef34bcbb1349fc475e82e Author: Guillem Jover Date: Fri Nov 1 18:46:06 2013 +0100 man: Fix wording for ambiguous constructs Mark in bold and add section to File::Glob reference. Avoid ending a line with a closing parenthesis as po4a adds two spaces after that. Use switched instead of converted uniformly when referring to dir to symlink changes and vice-versa. Refer to the available database as the available file and mark it in italics to conform to current usage. Reported-by: Helge Kreutzmann man/dpkg-gensymbols.1 | 6 +++--- man/dpkg-maintscript-helper.1 | 8 ++++---- man/dpkg.1 | 16 ++++++++-------- 3 files changed, 15 insertions(+), 15 deletions(-) commit c88dd3b6707d10c38370e92a3e6e40d437820ff6 Author: Sven Joachim Date: Fri Nov 1 16:27:29 2013 +0100 German dpkg translation update Update to 1085t2u. po/de.po | 1179 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 627 insertions(+), 552 deletions(-) commit e51a1fdf61a32645ad86db7eecc2148ec7876cc4 Author: Helge Kreutzmann Date: Fri Nov 1 12:07:42 2013 +0100 Update German translation of manual pages Update to 2183t. man/po/de.po | 432 ++++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 309 insertions(+), 123 deletions(-) commit 5272f85995aa73d7a5d37e54a5723fdcd1290d5c Author: Trần Ngọc Quân Date: Wed Oct 30 08:49:22 2013 +0700 Update Vietnamese programs translation Signed-off-by: Trần Ngọc Quân Signed-off-by: Guillem Jover po/vi.po | 120 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 61 insertions(+), 59 deletions(-) commit 4b870bcc52bb1c4c8c1a333fadb31329d4794232 Author: Guillem Jover Date: Mon Aug 26 04:17:19 2013 +0200 dpkg-maintscript-helper: Add new dir_to_symlink command Closes: #583585 debian/changelog | 1 + man/dpkg-maintscript-helper.1 | 34 ++++++++++- scripts/dpkg-maintscript-helper.sh | 117 ++++++++++++++++++++++++++++++++++++- 3 files changed, 150 insertions(+), 2 deletions(-) commit bfc1044bee79b089d1a67864a33ef9600703a18e Author: Guillem Jover Date: Tue Aug 20 03:08:03 2013 +0200 dpkg-maintscript-helper: Add new symlink_to_dir command Closes: #720712 Based-on-patch-by: Bastien ROUCARIÈS debian/changelog | 2 + man/dpkg-maintscript-helper.1 | 38 ++++++++++++++++++- scripts/dpkg-maintscript-helper.sh | 76 +++++++++++++++++++++++++++++++++++++- 3 files changed, 113 insertions(+), 3 deletions(-) commit c7f71379d3e7d16da492a9448efedce6ff872804 Author: Guillem Jover Date: Fri Nov 1 05:01:36 2013 +0100 dpkg-maintscript-helper(1): Refactor common parameters into a new section man/dpkg-maintscript-helper.1 | 67 +++++++++++++++++++------------------------ 1 file changed, 30 insertions(+), 37 deletions(-) commit eb685ae9bf579d6efcb5677ab2f4f3f99cdbdcb8 Author: Guillem Jover Date: Fri Nov 1 05:55:33 2013 +0100 dpkg-maintscript-helper: Accept multiple arguments in error and warning This allows to split overly long strings into smaller chunks on multiple lines. scripts/dpkg-maintscript-helper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 55f5702cc6e642275d8f7d307e088eedcefe1afa Author: Guillem Jover Date: Wed Aug 21 01:58:42 2013 +0200 dpkg-maintscript-helper: Generalize ensure_package_owns_conffile() Rename it and fix the debug message so that it can be used for any file w/o confusing the readers. scripts/dpkg-maintscript-helper.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 030331384dfdb1eb61bca97ac49aaaada082a01d Author: Guillem Jover Date: Mon Aug 26 06:39:05 2013 +0200 t-switch-dir-to-symlink: New test case Bug-Debian: http://bugs.debian.org/583585 Makefile | 1 + t-switch-dir-to-symlink/Makefile | 48 ++++++++++++++++++++++ .../pkg-dir-conffile-0/DEBIAN/conffiles | 1 + .../pkg-dir-conffile-0/DEBIAN/control | 7 ++++ .../pkg-dir-conffile-0/test-path/file-conf | 0 .../pkg-dir-conffile-1/DEBIAN/control | 7 ++++ .../pkg-dir-conffile-1/DEBIAN/postinst | 5 +++ .../pkg-dir-conffile-1/DEBIAN/postrm | 5 +++ .../pkg-dir-conffile-1/DEBIAN/preinst | 5 +++ .../pkg-dir-conffile-1/test-path | 1 + .../pkg-dir-real/DEBIAN/control | 7 ++++ .../pkg-dir-real/test-path/file-dir | 0 .../pkg-dir-symlink-0/DEBIAN/control | 7 ++++ .../pkg-dir-symlink-0/test-path/file-path | 0 .../pkg-dir-symlink-1/DEBIAN/control | 7 ++++ .../pkg-dir-symlink-1/DEBIAN/postinst | 5 +++ .../pkg-dir-symlink-1/DEBIAN/postrm | 5 +++ .../pkg-dir-symlink-1/DEBIAN/preinst | 5 +++ .../pkg-dir-symlink-1/test-dir/file-dir | 0 .../pkg-dir-symlink-1/test-path | 1 + 20 files changed, 117 insertions(+) commit b4dada799147b2af66409b33ef6cedc8bc428699 Author: Bastien ROUCARIÈS Date: Tue Aug 20 19:17:04 2013 +0200 t-switch-symlink-to-dir: New test case [guillem@debian.org: - Use test -h instead of -L. - Use set -e on maintainer scripts. - Test that path is a symlink or a directory after each dpkg operation. - Do not remove the path, that should be handled by dpkg. - Fix package synopsis. ] Bug-Debian: http://bugs.debian.org/720712 Signed-off-by: Guillem Jover Makefile | 1 + t-switch-symlink-to-dir/Makefile | 22 ++++++++++++++++++++++ .../pkg-dir-real/DEBIAN/control | 7 +++++++ .../pkg-dir-real/test-dir/file-dir | 0 .../pkg-dir-symlink-0/DEBIAN/control | 7 +++++++ .../pkg-dir-symlink-0/test-symlink | 1 + .../pkg-dir-symlink-1/DEBIAN/control | 7 +++++++ .../pkg-dir-symlink-1/DEBIAN/postinst | 5 +++++ .../pkg-dir-symlink-1/DEBIAN/postrm | 5 +++++ .../pkg-dir-symlink-1/DEBIAN/preinst | 5 +++++ .../pkg-dir-symlink-1/test-symlink/file-owned | 0 11 files changed, 60 insertions(+) commit 60e6709bf3b2dfb2e2536edf1730c49e69b8ddde Author: Guillem Jover Date: Thu Oct 17 19:13:15 2013 +0200 build: Enable dpkg-maintscript-helper debugging on debug option Test.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 2c9565df8347284ccc3de074ffbdfa25b7ba80a0 Author: Guillem Jover Date: Thu Oct 17 19:23:47 2013 +0200 build: Add empty directories by including placeholder files Make sure that empty directories are present on the repository by adding placeholder .gitignore or .keep files. This includes test case and database directories, and the latter allows to easily see if unexpected files have been created in the database. dpkgdb/info/.gitignore | 2 ++ dpkgdb/updates/.gitignore | 1 + t-dir-extension-check/pkg-dbg-dir/test-dir/.keep | 0 3 files changed, 3 insertions(+) commit ad2b036ead0018efeaceb8c6287bdc0c301d7df1 Author: Helge Kreutzmann Date: Sun Oct 27 19:52:38 2013 +0100 Update German translation of manual pages Update to 2164t. man/po/de.po | 460 ++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 249 insertions(+), 211 deletions(-) commit a1213b9bdc5aea4bcf1f947dc68960d6fbe2908c Author: Helge Kreutzmann Date: Sun Oct 27 18:41:54 2013 +0100 Update German scripts translation Update to 541t. scripts/po/de.po | 280 +++++++++++++++++++++++++++---------------------------- 1 file changed, 140 insertions(+), 140 deletions(-) commit 579b90b61b24a538cf1709d7ceda0b38fec631b3 Author: Guillem Jover Date: Sat Oct 26 00:11:57 2013 +0200 dpkg: Only keep previous database stat info instead of open files There's no point in keeping the files open across subsequent calls, when the only thing we want to know is if the new file is the same as the old one, just preserve the stat information for that. With this we do no longer need to set the close-on-exec bit either. src/divertdb.c | 18 +++++------------- src/statdb.c | 29 ++++++++++------------------- 2 files changed, 15 insertions(+), 32 deletions(-) commit 1d5471c21a9b069c45088827d8451fb031c5af41 Author: Guillem Jover Date: Sat Oct 26 00:09:15 2013 +0200 dpkg: Always return from ensure_statoverrides() if file is NULL Do not proceed within the function if we cannot open the current database because it does not exist and we opened it before. This will only get us to read garbage from memory or segfault. Warned-by: clang static analyzer debian/changelog | 2 ++ src/statdb.c | 5 +++++ 2 files changed, 7 insertions(+) commit c6194499b951876ba197f5be1b8999712c46db13 Author: Guillem Jover Date: Fri Oct 25 23:14:33 2013 +0200 dpkg: Give more meaningful names to database stat variables Name them as stab_prev and stab_next to denote the previous and next database file to read. src/divertdb.c | 11 ++++++----- src/statdb.c | 19 ++++++++++--------- 2 files changed, 16 insertions(+), 14 deletions(-) commit 3e05efebd36e269118ed42938d875b1addf169eb Author: Guillem Jover Date: Fri Oct 25 03:24:34 2013 +0200 dpkg: Only allocate STATOVERRIDEFILE and DIVERSIONSFILE paths once There's no point in reallocating these on every function invocation, if in the future we need to change the paths between calls, then the function can be reworked to take a pathname for example. src/divertdb.c | 5 ++--- src/statdb.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) commit 0ea126b57e7e1b06d0590d6f165e6305d45673ac Author: Guillem Jover Date: Fri Oct 25 03:18:08 2013 +0200 build: Add -Wc++11-compat and -Wlogical-op to the dafault warnings m4/dpkg-compiler.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 252830d65df33097959ff4cda268f90e5373a4ac Author: Guillem Jover Date: Fri Oct 25 03:19:58 2013 +0200 build: Remove -Wno-unused-value from default CXXFLAGS The ncurses bug (#542031) has long been fixed. m4/dpkg-compiler.m4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 20f855ab44ee23543dd79f6e7103c96516e65419 Author: Guillem Jover Date: Wed Oct 23 02:14:51 2013 +0200 dpkg: Use line instead of desc to make use of the strtok() assignment There's no actual behavior change with this, but it makes the code clearer and squashes a warning. Warned-by: clang static analyzer src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 18e59730c2016066bef5c2f702731f3b6f08f66d Author: Guillem Jover Date: Wed Oct 23 02:12:59 2013 +0200 dpkg, libdpkg: Remove unused variable assignments Warned-by: clang static analyzer lib/dpkg/parse.c | 1 - src/script.c | 1 - 2 files changed, 2 deletions(-) commit 9431994c82b786bf2886f3de6fac2b772c305124 Author: Guillem Jover Date: Wed Oct 23 02:06:49 2013 +0200 libdpkg: Unify scandir() list element free()ing This makes the code more clear, and should unconfuse the clang static analyzer. lib/dpkg/dbmodify.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit f470bfb33f0b2d5cf20c2c533e0ccfb2145bbc5c Author: Guillem Jover Date: Sat Oct 26 04:17:44 2013 +0200 libcompat: Do not NULL-terminate the list in scandir() This might cause a segfault in case all entries have been filtered and list has not been allocated. This should only possibly affect systems where the fallback code is being used. debian/changelog | 2 ++ lib/compat/scandir.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) commit 237e3a9497096ed596779c78c08497fe34dd0d3b Author: Guillem Jover Date: Mon Sep 16 18:38:38 2013 +0200 doc: Write hyphen instead of dash when we mean the ‘-’ character debian/changelog | 2 ++ lib/dpkg/arch.c | 2 +- lib/dpkg/test/t-version.c | 4 ++-- man/dpkg-architecture.1 | 2 +- man/dpkg-maintscript-helper.1 | 2 +- man/dpkg-source.1 | 2 +- man/dpkg.1 | 2 +- man/dpkg.cfg.5 | 2 +- man/dselect.1 | 2 +- man/dselect.cfg.5 | 2 +- scripts/Dpkg/Conf.pm | 2 +- scripts/Dpkg/Control/FieldsCore.pm | 2 +- 12 files changed, 14 insertions(+), 12 deletions(-) commit 7a5f47b184dafb615b26f825434284cbe0ff3ed0 Author: Guillem Jover Date: Fri Sep 6 16:57:04 2013 +0200 scripts: Improve and unify -O option handling and man page wording Take an optional filename argument everywhere. Describe the default output file for dpkg-gensymbols. debian/changelog | 3 +++ man/dpkg-gencontrol.1 | 7 ++++--- man/dpkg-gensymbols.1 | 20 ++++++++++++-------- man/dpkg-shlibdeps.1 | 8 ++++---- scripts/dpkg-gencontrol.pl | 7 +++++-- scripts/dpkg-gensymbols.pl | 5 ++--- scripts/dpkg-shlibdeps.pl | 6 ++++-- 7 files changed, 34 insertions(+), 22 deletions(-) commit 13b173b908a2551711a6326e41a4f2371bfa8722 Author: Guillem Jover Date: Sat Oct 26 02:43:14 2013 +0200 scripts: Do not prefix paths with ./ before calling open All those paths are now being opened with the three-form open call, so there's not going to be any kind of ambiguity, just stop prefixing them. scripts/dpkg-distaddfile.pl | 1 - scripts/dpkg-gencontrol.pl | 2 -- scripts/dpkg-shlibdeps.pl | 1 - 3 files changed, 4 deletions(-) commit 1b2f6e01c8c11f0adf04a3dee91ed9a6ac5dae5d Author: Guillem Jover Date: Sun Oct 20 21:06:50 2013 +0200 dpkg-buildflags: Add pie and stack-protector options to FFLAGS When enabled add those flags to the Fortran build flags. Update the man page to document that FFLAGS is a subset of CFLAGS. Closes: #726932 debian/changelog | 3 +++ man/dpkg-buildflags.1 | 4 ++-- scripts/Dpkg/Vendor/Debian.pm | 2 ++ 3 files changed, 7 insertions(+), 2 deletions(-) commit b4182cc9f05906ac3fecc41710b0d3ab9d329b07 Author: Guillem Jover Date: Fri Sep 6 16:56:24 2013 +0200 dpkg-buildpackage(1): Do not mark square brackets in italic man/dpkg-buildpackage.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7bae2d7d93b0e16ee011a1dfa68b6769605ed710 Author: Guillem Jover Date: Sat Aug 24 23:23:08 2013 +0200 Dpkg::Source::Package: Check subprocess exit codes Make sure to error out if one of the subprocesses exits with an error. Spotted-by: Ian Jackson debian/changelog | 2 ++ scripts/Dpkg/Source/Package/V2.pm | 1 + scripts/Dpkg/Source/Package/V3/Bzr.pm | 2 ++ 3 files changed, 5 insertions(+) commit ea20be1445cf8b9d61c84b4042c6d5226de9428f Author: Guillem Jover Date: Sat Aug 24 01:12:48 2013 +0200 dpkg-genchanges: Slighly improve note on no substvar expansion Ref: #719854 Suggested-by: Jérémy Bobbio scripts/dpkg-genchanges.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit f397e9d72bf811c3e8d44746a41b7757638a5c1e Author: Guillem Jover Date: Sat Aug 31 18:21:53 2013 +0200 dpkg-buildpackage: Honor new DEB_SIGN_KEYID environment variable Use the new environment variable if set, as default value to pass to gnupg. Closes: #615813, #719418 Suggested-by: Harald Dunkel debian/changelog | 2 ++ man/dpkg-buildpackage.1 | 8 +++++++- scripts/dpkg-buildpackage.pl | 3 ++- 3 files changed, 11 insertions(+), 2 deletions(-) commit a2ee7d0bb4d56afb82438f09a50251acfa690643 Author: Guillem Jover Date: Fri Oct 18 07:56:24 2013 +0200 dpkg: Use a simple list to track packages owning a file Using a list of package arrays waste at least 10 pointers per path that is not shared by multiple packages, which adds up to significant amount with lots of installed paths and 64-bit pointers. Also the new waste we get from each pkg_list node for each shared file is really minor, as the common thing is for num. paths >>> num. packages. debian/changelog | 3 ++ src/filesdb.c | 101 ++++++++++++++++--------------------------------------- src/filesdb.h | 2 +- 3 files changed, 33 insertions(+), 73 deletions(-) commit 8e4795d3a806aac540f9d75b990a4a0d6c7cd7cf Author: Guillem Jover Date: Fri Oct 18 03:43:52 2013 +0200 libdpkg: Change find_field_info() to return NULL on not-found This is the more natural return code, instead of a field with NULL members. lib/dpkg/pkg-format.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 64064000cd47b1792073809c034c7b8f18c94bc6 Author: Helge Kreutzmann Date: Thu Oct 17 20:39:55 2013 +0200 Update German translation of manual pages Update to 2161t. man/po/de.po | 818 ++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 441 insertions(+), 377 deletions(-) commit af25b678148d6edd6fab7d4986da1c32e9647117 Author: Guillem Jover Date: Thu Oct 17 19:25:09 2013 +0200 Revert "Test.mk: ensure that dpkg required directories are created" This reverts commit 433154f979dea2237747ac0891fe2316f122b4b5. This commit added directory dependencies, with the consequent stat calls for each test case, for no good reason, as these directories should have been added in commit fd2ea02447ce46aea4e2f2aa250cca8940bef21e, by adding a placeholder to be able to track empty directories. Test.mk | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) commit 3a30cb6743e05e43b664335faaa889d090403e24 Author: Guillem Jover Date: Sat Aug 24 01:04:21 2013 +0200 dpkg-deb: Refactor file_treewalk_feed() out from do_build() dpkg-deb/build.c | 87 ++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 53 insertions(+), 34 deletions(-) commit 8911538401d79c17ea347de91ef131365aa86934 Author: Guillem Jover Date: Wed Aug 28 03:00:16 2013 +0200 dpkg-deb: Be explicit when handling deb format 2 code branches Test against an explicit major version 2 instead of just assuming the alternate branch of major version 0 will be 2. This is more future-proof and makes the code clearer. Reported-by: Jérémy Bobbio dpkg-deb/build.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 240330b3738c2374c916ff225a86b039860ddbc1 Author: Guillem Jover Date: Wed Aug 28 02:55:10 2013 +0200 dpkg-deb: Do not leak the data member file descriptor Although this is currently a very short-lived leak. Reported-by: Jérémy Bobbio dpkg-deb/build.c | 2 ++ 1 file changed, 2 insertions(+) commit 2fa8794747f12312cba6333f8d06c3229f23c469 Author: Guillem Jover Date: Sun Aug 18 12:20:26 2013 +0200 libdpkg: Reset environment variables for all compressors in the filter This makes sure the commands will not produce strange output due to environment settings. The cleaned environment variables are XZ_DEFAULTS, XZ_OPT, BZIP and BZIP2, depending on the compressor used. Move GZIP environment variable cleanup to libdpkg, as there's nothing inherently dpkg-deb specific in resetting the environment variables for a specific compressor so that the output is reproducible and a bit more consistent with the code using the specific compressor library. debian/changelog | 3 +++ dpkg-deb/main.c | 2 -- lib/dpkg/compress.c | 29 ++++++++++++++++++++--------- 3 files changed, 23 insertions(+), 11 deletions(-) commit bd58cab620d35bd34021578c97904921cdca45bd Author: Guillem Jover Date: Sun Aug 18 11:49:42 2013 +0200 libdpkg: Do not store timestamps in gzip headers when using the command The zlib library by default does not initialize the gzip header with information like OS, filename or timestamp. Try to do the same when using the gzip command, although there's no way to tell the command not to store the OS. Closes: #719844 debian/changelog | 3 +++ lib/dpkg/compress.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit d61f25455ce09613dfa515e6b1a22c438a677f4c Author: Guillem Jover Date: Sat Aug 17 13:03:51 2013 +0200 dpkg: Print the package version on main progress messages This should help people diagnose problems by providing more context on what's going on by being explicit about what packages is being handled. debian/changelog | 1 + src/archives.c | 10 ++++++---- src/remove.c | 12 ++++++++---- src/trigproc.c | 5 +++-- src/unpack.c | 11 +++++++---- 5 files changed, 25 insertions(+), 14 deletions(-) commit 23cd7bf4371fec649a4a750ef216948efbfbf819 Author: Guillem Jover Date: Fri Apr 29 04:47:55 2011 +0200 dpkg: Improve “Preparing to replace” and “Unpacking” messages Unifies the output, makes it symmetric in case of upgrade or new install by always printing two messages, properly shows from what version we are upgrading to which one, and some cases of cross-grading. Closes: #32427, #71106 debian/changelog | 2 ++ src/unpack.c | 22 ++++++++++++++-------- 2 files changed, 16 insertions(+), 8 deletions(-) commit b4dd2a29d6b7e0a2f65021307481c9a575729aa1 Author: Guillem Jover Date: Mon Jul 23 04:36:16 2012 +0200 dpkg: Add new --verify command For now this checks that the files have not been modified by computing and comparing their md5sum hashes against the ones in the database. The only currently supported output format will try to mimick the one from «rpm --verify», but the default might change in the future in case it is found cumbersome or lacking, and as such programs parsing the command output should be explicit about the format they want. Closes: #187019 debian/changelog | 4 ++ man/dpkg.1 | 23 ++++++++ src/Makefile.am | 4 +- src/main.c | 11 ++++ src/main.h | 6 ++ src/verify.c | 168 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 215 insertions(+), 1 deletion(-) commit 1759c8fd3366450e0cb66d6ad0a1420e33848226 Author: Guillem Jover Date: Thu Jul 19 00:51:13 2012 +0200 dpkg: Add md5sums control file parsing support po/POTFILES.in | 1 + src/filesdb-hash.c | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++++ src/filesdb.h | 1 + 3 files changed, 102 insertions(+) commit 433aa7f577493672c46e9f487916656585b52dce Author: Guillem Jover Date: Mon Sep 2 11:36:41 2013 +0200 u-a: Change mark to be a character instead of a string utils/update-alternatives.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit f2e2ab4bd1b91756e4a4f747b2441893990c7531 Author: Guillem Jover Date: Mon Sep 2 11:33:33 2013 +0200 u-a: Unify idx handling in alternative_select_choice() Make it obvious the 0 passed to alternative_print_choice() is the idx, and move the increment in the for loop into the post action. utils/update-alternatives.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit aae7949241856e5d893f611ed53f2b4e19d40714 Author: Guillem Jover Date: Mon Sep 2 11:31:28 2013 +0200 u-a: Refactor out choice printing into its own function utils/update-alternatives.c | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) commit 39cc848a227998a1ba6737acea8b15c0f5882899 Author: Guillem Jover Date: Mon Sep 2 11:24:54 2013 +0200 u-a: Compute unchanging select choice variables just once Instead of computing them on every loop, do so only once before entering the loop. utils/update-alternatives.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit 6cfc3842df339504e9327e1b90fafc6201fddbf1 Author: Guillem Jover Date: Sun Sep 1 01:53:24 2013 +0200 u-a: Rename DPKG_TMP_EXT to ALT_TMP_EXT Although we are still using dpkg specific file extensions for the temp files, it's one step further in untangling it from dpkg. utils/update-alternatives.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit ebd73fc66a9bedcbaf9308373d0cf366c3d48369 Author: Guillem Jover Date: Thu Aug 29 17:15:15 2013 +0200 u-a: Add new function to return a descriptive alternative status string utils/update-alternatives.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit 9bbdca83fa1a8c817a2f8d02db493f173435a5af Author: Guillem Jover Date: Mon Aug 26 00:06:45 2013 +0200 u-a: When changing slave links do not warn that the link group is broken When new slave links are added or the targets for existing ones are changed, we should not give bogus and confusing warnings as if the link group was broken on disk and needs to be updated. Instead detect these cases and give an informative message noting that the link group needs to be updated due to the slave links changes. But still warn in case any of the slaves is not being updated and is trully broken. debian/changelog | 3 ++ utils/update-alternatives.c | 67 +++++++++++++++++++++++++++++++++------------ 2 files changed, 53 insertions(+), 17 deletions(-) commit bcd503e9bee9d7662fae235e54bf9c4626883523 Author: Guillem Jover Date: Mon Aug 26 00:06:45 2013 +0200 u-a: Refactor alternative_copy_slave() out from alternative_evolve() The new function adds a struct slave to a struct alternative, taking care of allocating the slave strings as copies. utils/update-alternatives.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 5ff17948b7192becb52011aa4646dea757b0bf71 Author: Guillem Jover Date: Sun Aug 25 16:53:05 2013 +0200 u-a: Refactor alternative_has_broken_slave() out from alternative_is_broken() utils/update-alternatives.c | 84 +++++++++++++++++++++++++-------------------- 1 file changed, 47 insertions(+), 37 deletions(-) commit 1558f713929859db6a68594898bd3a4f59529a16 Author: Guillem Jover Date: Sun Aug 25 16:45:00 2013 +0200 u-a: Refactor alternative_evolve_slave() out of alternative_evolve() utils/update-alternatives.c | 86 ++++++++++++++++++++++++--------------------- 1 file changed, 45 insertions(+), 41 deletions(-) commit c23a480b1dddd36dcdad3c08b3b692da55ccc7e0 Author: Guillem Jover Date: Wed Aug 14 23:29:36 2013 +0200 s-s-d: Recognize -C as documented Closes: #719746 Spotted-by: "Brian S. Julin" debian/changelog | 2 ++ utils/start-stop-daemon.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit b7203e9b796270b1f6f2139bd7770484b401afe3 Author: Guillem Jover Date: Mon Oct 14 05:02:13 2013 +0200 doc: Update Doxygen configuration from version 1.8.4 This gets rid of some warnings due to deprecated options. doc/Doxyfile.in | 119 +++++++++++++++++++++++++++++++++----------------------- 1 file changed, 70 insertions(+), 49 deletions(-) commit 89fd6629c2d414b61c5eacd485d8f3f873c8023e Author: Guillem Jover Date: Mon Oct 14 04:20:54 2013 +0200 libdpkg: Use node instead of head when walking a pkg_format_node list lib/dpkg/pkg-format.c | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) commit 453c50e88ceef09a9040e902fe33ca093800dd43 Author: Guillem Jover Date: Mon Oct 14 04:11:23 2013 +0200 libdpkg: Rename pkg_format_node variables from cur to node lib/dpkg/pkg-format.c | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) commit 85c4b70a494e7335b189a2cb8b361e51cf1fd39e Author: Guillem Jover Date: Mon Oct 14 02:46:41 2013 +0200 libdpkg: Remove unused header inclusions from tarfn.h lib/dpkg/tarfn.h | 3 --- 1 file changed, 3 deletions(-) commit d9d8c5ab38fe47796fb6ccbc314d6ab635d5451f Author: Guillem Jover Date: Sun Oct 13 05:33:18 2013 +0200 Use instead of deprecated dselect/baselist.cc | 2 +- src/configure.c | 2 +- src/querycmd.c | 2 +- utils/start-stop-daemon.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit f3eb58ebe798d18c4d14437039e5e2469ab25350 Author: Guillem Jover Date: Sat Oct 12 11:06:35 2013 +0200 Remove unused sys header inclusions src/enquiry.c | 3 --- src/trigcmd.c | 2 -- 2 files changed, 5 deletions(-) commit 3ae71d2472df5a818478fa7bdbdc4b7724c24e2a Author: Guillem Jover Date: Sat Oct 12 10:52:21 2013 +0200 libdpkg: Rename and namespace option parsing and loading functions dpkg-deb/main.c | 2 +- dpkg-split/main.c | 2 +- dselect/main.cc | 4 ++-- lib/dpkg/libdpkg.map | 4 ++-- lib/dpkg/options.c | 20 ++++++++++---------- lib/dpkg/options.h | 7 +++---- src/divertcmd.c | 2 +- src/main.c | 6 +++--- src/querycmd.c | 2 +- src/statcmd.c | 2 +- src/trigcmd.c | 2 +- 11 files changed, 26 insertions(+), 27 deletions(-) commit 0c977fa968be04424ddfd33445b9e4d72348bfaf Author: Guillem Jover Date: Sat Oct 12 10:34:15 2013 +0200 libdpkg: Add dpkg-based program startup and shutdown functions These will perform any necessary action when starting and exiting a dpkg-based program. dpkg-deb/main.c | 6 ++---- dpkg-split/main.c | 7 ++----- dselect/main.cc | 4 ++-- lib/dpkg/Makefile.am | 2 ++ lib/dpkg/dpkg.h | 13 +----------- lib/dpkg/program.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++ lib/dpkg/program.h | 41 +++++++++++++++++++++++++++++++++++++ src/divertcmd.c | 7 +++---- src/main.c | 7 ++----- src/querycmd.c | 6 ++---- src/statcmd.c | 6 ++---- src/trigcmd.c | 7 ++----- 12 files changed, 118 insertions(+), 45 deletions(-) commit 50c1cb4d6e8b4c3ee739646f9df05992b806ea5e Author: Guillem Jover Date: Sat Aug 31 03:20:33 2013 +0200 libdpkg: Use fully buffered output on non-tty If stdout is not a tty, we don't need immediate feedback, and not buffering it can cause a significant slow down in case the amount printed each time is very small. Reported-by: Shawn Landden debian/changelog | 2 ++ lib/dpkg/report.c | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) commit 3b786cf079b577431533c1f0936366246a1ae075 Author: Guillem Jover Date: Sat Oct 12 09:40:36 2013 +0200 libdpkg: Refactor report output buffering setup into a new function dpkg-split/main.c | 3 +-- dselect/main.cc | 2 +- lib/dpkg/libdpkg.map | 1 + lib/dpkg/report.c | 8 +++++++- lib/dpkg/report.h | 3 +++ src/divertcmd.c | 3 +-- src/main.c | 3 +-- src/querycmd.c | 2 +- src/statcmd.c | 3 +-- src/trigcmd.c | 3 +-- 10 files changed, 18 insertions(+), 13 deletions(-) commit a57bcb1d886cda873c2cc81e73e7ac729e34142f Author: Guillem Jover Date: Fri Oct 11 21:07:35 2013 +0200 dpkg-split: Remove redundant call to setvbuf() The output buffer is already setup in main(). dpkg-split/split.c | 2 -- 1 file changed, 2 deletions(-) commit ab5bdc1fc7bbf225efcbb3376ed309015682e772 Author: Guillem Jover Date: Tue Aug 13 02:52:50 2013 +0200 dpkg-query: Fix output when using multibyte character strings When cropping strings, possibly multibyte ones, take into account that there's three different counts to be considered, the number of characters to display, their screen width and the number of bytes they take on the multibyte string. Closes: #257505, #718541 Based-on-patch-by: Changwoo Ryu debian/changelog | 3 ++ lib/dpkg/Makefile.am | 1 + lib/dpkg/libdpkg.map | 2 + lib/dpkg/string.h | 10 +++- lib/dpkg/strwide.c | 127 +++++++++++++++++++++++++++++++++++++++++++++++++++ po/POTFILES.in | 1 + src/querycmd.c | 21 ++++++--- 7 files changed, 158 insertions(+), 7 deletions(-) commit dd13c72c1482c110ed5a28d1a9f13fc8f0dfd72b Author: Guillem Jover Date: Tue Aug 13 02:44:23 2013 +0200 dpkg-query: Do not hardcode summary width in list_format_print_header() src/querycmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 010c35a49336f40e47f992f0ee990869e63093a3 Author: Guillem Jover Date: Sun Oct 6 04:58:17 2013 +0200 dpkg: Activate file triggers on disappearance more accurately Activate them only when we know we are inevitably removing things. debian/changelog | 2 ++ src/unpack.c | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) commit e00a290311af19dbf8d83a61c1ccca040a941207 Author: Guillem Jover Date: Sun Oct 6 04:46:10 2013 +0200 dpkg: Activate all path components for file triggers on removal Because directory processing might get skipped on removal (contrary to unpack), as they might be shared with other packages, some file triggers will not get activated as the code was changed to do more optimal activation. The problem is that the removed paths need to activate all parent paths to be effective. Regression introduced in commit 65ade6390b47fe3ec6a0e2ba341f3d553bf4bbc6. Closes: #725437 debian/changelog | 2 ++ src/remove.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit f8c5f28a5e3124856e8a67e89afb361718fb23e8 Author: Guillem Jover Date: Tue Sep 3 20:14:44 2013 +0200 build: Do not assume make supports nested variables Use @AM_V@ and @AM_DEFAULT_V@ instead of directly using the variables, so that configure can detect if make supports nested variables and use valid values for each case. man/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit cc291cb36d388de6ff2321b429d70b77b0a83790 Author: Guillem Jover Date: Tue Sep 3 20:12:33 2013 +0200 build: Use AC_MSG_ERROR instead of obsolete AC_ERROR configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 34e3c78350476d92182ba234f32111db746aca87 Author: Sven Joachim Date: Thu Oct 3 12:02:06 2013 +0200 German dpkg translation update Update to 1074t2u. po/de.po | 94 +++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 45 deletions(-) commit e200bdee4961a12cbf1112c75771ba65628719e4 Author: Helge Kreutzmann Date: Fri Sep 27 20:54:52 2013 +0200 Update German scripts translation Update to 541t. scripts/po/de.po | 95 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 48 insertions(+), 47 deletions(-) commit 2fd64375d0871503fbfb1d4a4373817eec55fec3 Author: Helge Kreutzmann Date: Sat Sep 21 18:46:24 2013 +0200 Update German translation of manual pages Update to 2155t. man/po/de.po | 801 +++++++++++------------------------------------------------ 1 file changed, 140 insertions(+), 661 deletions(-) commit 39e5100371038ef5aa3f63520ede01f6b91968f3 Author: Guillem Jover Date: Mon Aug 12 00:50:15 2013 +0200 dpkg: Use an enum for the saidread variable TODO | 2 +- src/filesdb.c | 20 +++++++++++++------- 2 files changed, 14 insertions(+), 8 deletions(-) commit 1057ebd7e9ab20cd2038597aeb8d641f790dd3df Author: Guillem Jover Date: Mon Aug 12 00:34:01 2013 +0200 dpkg: When ignoring invalid remove requests consider that progress Because we've taken out the package from the queue, and acted on it, by way of ignoring it, we need to consider that progress when processing the queue, otherwise for huge amount of requests the decreasing queue length at some point will be shorter than the amount of packages that have not supposedly progressed. Closes: #143307 debian/changelog | 2 ++ src/remove.c | 2 ++ 2 files changed, 4 insertions(+) commit ef63703776ae8f17cf65669d098c338bb97efb32 Author: Guillem Jover Date: Mon Aug 12 00:33:09 2013 +0200 dpkg: Use enum dep_check type and values instead of int and literals TODO | 2 +- src/configure.c | 2 +- src/remove.c | 14 ++++++++------ 3 files changed, 10 insertions(+), 8 deletions(-) commit 9b8a544549ea911210f8ec1dc6062bf98e8a3e3a Author: Guillem Jover Date: Sun Aug 11 23:58:18 2013 +0200 Decapitalize error and warning messages debian/changelog | 1 + dselect/methods/Dselect/Ftp.pm | 12 ++++++------ dselect/methods/ftp/install | 10 +++++----- dselect/methods/ftp/setup | 2 +- dselect/methods/ftp/update | 2 +- dselect/methods/multicd/install | 7 ++++--- lib/dpkg/fields.c | 2 +- scripts/Dpkg/Arch.pm | 4 ++-- scripts/Dpkg/Checksums.pm | 8 ++++---- scripts/Dpkg/Shlibs/Objdump.pm | 4 ++-- scripts/Dpkg/Shlibs/SymbolFile.pm | 4 ++-- scripts/Dpkg/Source/Archive.pm | 4 ++-- scripts/dpkg-buildpackage.pl | 4 ++-- scripts/dpkg-gensymbols.pl | 4 ++-- scripts/dpkg-scanpackages.pl | 20 ++++++++++---------- scripts/dpkg-shlibdeps.pl | 2 +- scripts/t/600_Dpkg_Changelog.t | 2 +- src/configure.c | 4 ++-- src/divertcmd.c | 2 +- src/infodb-upgrade.c | 2 +- src/remove.c | 8 ++++---- 21 files changed, 55 insertions(+), 53 deletions(-) commit 17913ae2214d7c0493b9000e0ca61e76349f4e18 Author: Raphaël Hertzog Date: Thu Sep 12 10:06:06 2013 +0200 Fix build failure due to POD syntax error Reported-by: Johannes Schauer man/po/de.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a7d2b86a9fb8b2e63c79854bb3bd8df6c449aae1 Author: Helge Kreutzmann Date: Sun Sep 8 20:57:53 2013 +0200 Update German translation of manual pages Update to 2070t85f. debian/changelog | 1 + man/po/de.add | 2 +- man/po/de.po | 831 +++++++++++++++++++++++-------------------------------- 3 files changed, 355 insertions(+), 479 deletions(-) commit b774fa70775d0768dac21da35e92130d14e3bafe Author: Sven Joachim Date: Thu Sep 5 21:21:43 2013 +0200 German dpkg translation update Update to 1074t2u. debian/changelog | 1 + po/de.po | 762 ++++++++++++++++++++++++++----------------------------- 2 files changed, 354 insertions(+), 409 deletions(-) commit bbee509d24194279754d65a3e8d6e66d0a34e7a8 Author: Christian Perrier Date: Sat Aug 24 15:18:55 2013 +0200 French (Christian Perrier): fix incorrectly translated sentence, thanks to Fabien Givors. debian/changelog | 3 +++ man/po/fr.po | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 433154f979dea2237747ac0891fe2316f122b4b5 Author: Raphaël Hertzog Date: Tue Aug 20 21:19:12 2013 +0200 Test.mk: ensure that dpkg required directories are created Test.mk | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 9792f6e24b6bbd96f61e4949e124c5464d50144a Author: Helge Kreutzmann Date: Sat Aug 17 18:38:57 2013 +0200 Update German scripts translation Update to 541t. debian/changelog | 4 ++ scripts/po/de.po | 124 ++++++++----------------------------------------------- 2 files changed, 22 insertions(+), 106 deletions(-) commit ad7a77243369ecde1737da1ca41060aaa35089fc Author: Guillem Jover Date: Sun Aug 11 02:44:01 2013 +0200 debian: Add bug closure for package refcount fix Closes: #681370 debian/changelog | 1 + 1 file changed, 1 insertion(+) commit c5a055fc60c5d2edad5512ec7be49209ba6f6b51 Author: Guillem Jover Date: Sun Apr 7 18:58:30 2013 +0200 libdpkg: Move field names from parse errors to arguments Try to generalize the error strings so that they get coalesced when marked for translation, or are usable by other fields in the future. This also makes sure no translator will accidentally translate field names. lib/dpkg/fields.c | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) commit 81cf72aeb0413cef87ac262b1b0baea4ddf6b545 Author: Guillem Jover Date: Thu Oct 18 21:02:56 2012 +0200 libdpkg: Fix field names on error messages Either capitalize or rename them to match reality. debian/changelog | 2 ++ lib/dpkg/fields.c | 22 +++++++++++----------- lib/dpkg/parse.c | 4 ++-- 3 files changed, 15 insertions(+), 13 deletions(-) commit 425d915bbe9fd2e00e25afcf1b0e2a1a8f10b104 Author: Guillem Jover Date: Sun Aug 11 01:52:21 2013 +0200 dpkg: Add a debug line when hashing on-disk files on refcounting src/archives.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 8fe6910ed0a87f1233fae933679373866183596f Author: Guillem Jover Date: Mon Jul 29 22:17:16 2013 +0200 dpkg: Pass the package reference count to maintainer scripts The new variable DPKG_MAINTSCRIPT_PACKAGE_REFCOUNT will contain the number of package instances with a state grater than not-installed. This should allow packages to easily perform actions on the first instance installed or the last instance removed, for example. Closes: #681370 debian/changelog | 2 ++ man/dpkg.1 | 5 +++++ src/script.c | 5 +++++ 3 files changed, 12 insertions(+) commit 3bcb4e42f482935a4af877e432f94c911208d464 Author: Guillem Jover Date: Mon Jul 29 22:01:28 2013 +0200 dpkg-gencontrol: Use -c argument as a fallback lock file If the default debian/control file does not exist, try to use the one specified with the -c option, as most probably we are being run from a different directory than the source tree. Closes: #667008 debian/changelog | 2 ++ scripts/dpkg-gencontrol.pl | 2 ++ 2 files changed, 4 insertions(+) commit 6aae0f7fbfd7ec6cb92b1b2412f1f5a042061599 Author: Guillem Jover Date: Mon Jul 29 22:00:23 2013 +0200 scripts: Use a variable instead of a literal string for the lock file scripts/dpkg-distaddfile.pl | 11 ++++++----- scripts/dpkg-gencontrol.pl | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) commit aa435898b6d2b76567684f24750f9a8df4194eff Author: Guillem Jover Date: Sat Aug 10 21:18:09 2013 +0200 Dpkg::Compression::FileHandle: Fix typo in POD string scripts/Dpkg/Compression/FileHandle.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dabfdcf06aa2bd6464962b189a0e3f9c15beddf3 Author: Guillem Jover Date: Sat Aug 10 16:29:58 2013 +0200 dpkg: Remove extra newline from path filter debug output The debug() function automatically appends a newline, no need to duplicate it. src/filters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4ef1e31843c7287cc6833706a5d942486902e0a4 Author: Jeff Bailey Date: Fri Aug 9 03:34:42 2013 +0200 Add ppc64el support to cputable Closes: #718945 Signed-off-by: Guillem Jover cputable | 1 + debian/changelog | 2 ++ 2 files changed, 3 insertions(+) commit aafcf12eff49b1a2e4cabdcd995e182083f07247 Author: Trần Ngọc Quân Date: Fri Aug 2 15:05:12 2013 +0700 Update Vietnamese programs translations Signed-off-by: Trần Ngọc Quân Signed-off-by: Guillem Jover debian/changelog | 4 + po/vi.po | 295 ++++++++++++++++++++----------------------------------- 2 files changed, 113 insertions(+), 186 deletions(-) commit 0d32799fe1778daeaeea4739a5fe864369fb36bc Author: Guillem Jover Date: Thu Aug 8 11:10:29 2013 +0200 libdpkg: Fix theoretical stack buffer overflow in w_dependency() If the dependency field name is longer than 49 chars then there will be a stack buffer overlow. But the function is only ever going to be called from known field names, from the fieldinfos table. So it's currently not possible to trigger this from the dpkg code base, but fixing it now will avoid future unpleasant surprises. Reported-by: Pedro Ribeiro debian/changelog | 2 ++ lib/dpkg/dump.c | 21 ++++++++++----------- 2 files changed, 12 insertions(+), 11 deletions(-) commit c8663a7da87bea618442970b6bdf6f3a9eba32be Author: Guillem Jover Date: Thu Aug 8 11:20:32 2013 +0200 libdpkg: Refactor fieldname dumping into a new varbuf_add_fieldname() lib/dpkg/dump.c | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) commit 72f4e49f965e8860d541bec7fea814d2cea85c81 Author: Guillem Jover Date: Thu Aug 8 10:35:50 2013 +0200 libdpkg: Fix use after free in dpkg_arch_load_list() Reported-by: Pedro Ribeiro debian/changelog | 2 ++ lib/dpkg/arch.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 40fd7f95429998e4f307f7ae00a26c6b483f7852 Author: Guillem Jover Date: Thu Aug 8 10:38:19 2013 +0200 u-a: Fix use after free in alternative_parse_fileset() Reported-by: Pedro Ribeiro debian/changelog | 2 ++ utils/update-alternatives.c | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) commit 63b795f92b43e7b240827861af16e7c38ddb3d24 Author: Guillem Jover Date: Thu Aug 8 03:25:33 2013 +0200 deb(5): Clarify the insertion order of _ members These must be placed after debian-binary and can be placed before control.tar.gz or data.tar. debian/changelog | 1 + man/deb.5 | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 0df9b56bb8de0cde94ee5fad140de8f52196ee2b Author: Guillem Jover Date: Wed Aug 7 02:24:47 2013 +0200 dpkg-deb: Clarify --extract bad usage error message on missing arguments Make clear that the command requires two arguments, instead of suggesting only a deb filename is needed, to then requesting a directory name on a second invocation. Closes: #718899 debian/changelog | 2 ++ dpkg-deb/extract.c | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 44489a55437fb007f8b21c4d9345f235f4b289b7 Author: Guillem Jover Date: Wed Aug 7 02:20:11 2013 +0200 dpkg-deb: Inline controlextractvextract() into call sites Although the two call sites are doing almost the same, they need different argument parsing logic, and inlining the code will allow to print more meaningful bad usage messages. dpkg-deb/extract.c | 60 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 33 insertions(+), 27 deletions(-) commit ae0e9e05926990db2d7aa22d2bbc20aaaa4c9a3f Author: Guillem Jover Date: Wed Aug 7 02:39:27 2013 +0200 dpkg-deb: Use badusage() instead of ohshit() for usage errors dpkg-deb/extract.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 547dca4c3ff23df5dfa554f1943b371cd7056ee4 Author: Guillem Jover Date: Tue Aug 6 22:22:35 2013 +0200 dpkg-deb: Do not accept deb packages with data and control members swapped This is not allowed by the format defined in deb(5), but dpkg-deb has been very lenient all this time. Enforce the correct format by erroring out in case of misplaced members. debian/changelog | 1 + dpkg-deb/extract.c | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) commit cb8ed03bbffe892165620ed1ddf753a6b0c1ee62 Author: Guillem Jover Date: Fri Aug 9 03:23:20 2013 +0200 dpkg-deb: Be more precise on deb member errors Print a message when we've found the data member but do not know the compression, and another one when there's an unknown member before the data member. This also stops resetting adminmember to -1 as a temporary sentinel, so that we don't lose previous state. debian/changelog | 1 + dpkg-deb/extract.c | 16 +++++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) commit 66cc4f78373a472471f09392feaee948ff3a7346 Author: Guillem Jover Date: Mon Oct 29 06:23:04 2012 +0100 dpkg: Automatically prepend needed spaces for continuation force-help lines Instead of trying to implement automatic word-wrapping, which is really tricky when having to take into account wide characters, and locales supporting things like combining characters, or special rules for when to word-wrap, just take the easy way out, and require a newline character to know when to wrap the line. debian/changelog | 1 + po/ca.po | 14 ++++++-------- po/cs.po | 15 +++++++-------- po/da.po | 16 ++++++---------- po/de.po | 14 ++++++-------- po/eo.po | 20 +++++++++----------- po/es.po | 16 +++++++--------- po/fr.po | 19 +++++++++---------- po/it.po | 21 +++++++++------------ po/ja.po | 15 ++++++--------- po/pl.po | 13 ++++++------- po/pt.po | 16 +++++++--------- po/ru.po | 13 ++++++------- po/sk.po | 15 ++++++--------- po/sv.po | 13 +++++-------- po/th.po | 11 +++++------ po/vi.po | 19 ++++++++----------- po/zh_TW.po | 12 +++++------- src/main.c | 31 +++++++++++++++++++++++++------ 19 files changed, 139 insertions(+), 155 deletions(-) commit f7493e8b8d2dea7ee6305d7e5386bf44fcb64b90 Author: Guillem Jover Date: Sat Aug 10 00:11:27 2013 +0200 t-deb-format: New test case Makefile | 1 + t-deb-format/.gitignore | 5 ++ t-deb-format/Makefile | 111 ++++++++++++++++++++++++++++++++++ t-deb-format/pkg-templ/DEBIAN/control | 7 +++ t-deb-format/pkg-templ/file-templ | 1 + 5 files changed, 125 insertions(+) commit fd311b2a2915c711bb089706046f83614e530b1a Author: Kenshi Muto Date: Sat Aug 10 10:04:47 2013 +0900 [l10n] update Japanese program translation po/ja.po | 157 +++++++++++++++++---------------------------------------------- 1 file changed, 43 insertions(+), 114 deletions(-) commit 2fcdaa73ec27a967d1e8b36bcd832fb557405a1c Author: Guillem Jover Date: Sat Aug 10 00:10:40 2013 +0200 t-split: Rename to t-deb-split Makefile | 2 +- {t-split => t-deb-split}/.gitignore | 0 {t-split => t-deb-split}/Makefile | 0 {t-split => t-deb-split}/pkg-split/DEBIAN/control | 0 4 files changed, 1 insertion(+), 1 deletion(-) commit c8bfb5d2d5d5998dfc1630d1a1da4f08c3a36fd2 Author: Guillem Jover Date: Fri Aug 9 22:29:11 2013 +0200 t-lfs: Rename to t-deb-lfs Rename test packages and test files to be more consistent. Makefile | 4 ++-- {t-lfs => t-deb-lfs}/Makefile | 20 ++++++++++---------- {t-lfs => t-deb-lfs}/pkg-lfs/DEBIAN/control | 0 {t-lfs/pkg-tfs => t-deb-lfs/pkg-sfs}/DEBIAN/control | 4 ++-- 4 files changed, 14 insertions(+), 14 deletions(-) commit 36d805bf835bb64c4b6ee0f3a26dab48e2222890 Author: Guillem Jover Date: Wed Jul 31 22:23:39 2013 +0200 debian: Version manpages-it in Replaces with (<< 2.80-4) The package does not ship the overlapping paths any more. debian/changelog | 2 ++ debian/control | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit 17e903c3c035bf033bc7a672d42e0f393419e636 Author: Salvatore Bonaccorso Date: Wed Jul 31 20:47:07 2013 +0200 dpkg-deb(1): Document default compressor change to xz Commit 16ab055e95a804a1fc176c7bd72b52a2be8412ab for dpkg 1.17.0 changed the default compressor from gzip to xz. Adjust dpkg-deb man page to document this change. Signed-off-by: Guillem Jover debian/changelog | 2 ++ man/dpkg-deb.1 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 672254e703fd4ebd7f37aee51ead1d20cce68f0f Author: Guillem Jover Date: Mon Jul 29 17:42:19 2013 +0200 debian: Fix typo and clarify text in 1.17.0 changelog entry debian/changelog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 0aa83a6fe8a3fe5cd01a09f354f6edfb5903b534 Author: Guillem Jover Date: Mon Jul 29 17:21:49 2013 +0200 debian: Add manpages-it Replaces to dselect and dpkg-dev Closes: #717983 Reported-by: Andreas Beckmann debian/changelog | 2 ++ debian/control | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 4e5ce16f0573e510da084b318a3e25a485f86b13 Author: Guillem Jover Date: Sun Jul 28 16:05:51 2013 +0200 s-s-d: Remove space between function name and '(' utils/start-stop-daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 332fe40caf0d95cb374e4ce9fa29066d918d9b19 Author: Guillem Jover Date: Tue Apr 23 16:12:05 2013 +0200 Dpkg::Arch: Make debwildcard_to_debtriplet() more robust Do not incorrectly match 'any' substrings in tuple elements. This is not currently a problem but it could become one if we ever get an architecture name with an 'any' substring on any of its components. debian/changelog | 3 ++- scripts/Dpkg/Arch.pm | 17 +++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) commit 1f015c7b9f96eefcd209d85b539fff63cae30264 Author: Guillem Jover Date: Sun Jul 28 15:06:47 2013 +0200 Bump version to 1.17.2 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 48b8451ce4d0d52aa221774e04978cd27846ee48 Author: Guillem Jover Date: Sun Jul 28 14:44:54 2013 +0200 Release 1.17.1 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 74405db88028a98be46730d028e50c175c77a03f Author: Guillem Jover Date: Sun Jul 28 13:35:36 2013 +0200 Regenerate .pot files and merge .po files with them man/po/de.po | 183 +++++++++++++++++++++++++++++---------------------- man/po/dpkg-man.pot | 162 +++++++++++++++++++++++++-------------------- man/po/es.po | 181 ++++++++++++++++++++++++++++++--------------------- man/po/fr.po | 183 +++++++++++++++++++++++++++++---------------------- man/po/hu.po | 167 ++++++++++++++++++++++++++--------------------- man/po/it.po | 178 +++++++++++++++++++++++++++++--------------------- man/po/ja.po | 182 ++++++++++++++++++++++++++++++--------------------- man/po/pl.po | 184 ++++++++++++++++++++++++++++++---------------------- man/po/pt_BR.po | 172 +++++++++++++++++++++++++++--------------------- man/po/ru.po | 176 ++++++++++++++++++++++++++++--------------------- man/po/sv.po | 183 +++++++++++++++++++++++++++++---------------------- 11 files changed, 1129 insertions(+), 822 deletions(-) commit 16329c3799604b4f20a622833661be2cd2e1e757 Author: Guillem Jover Date: Sun Jul 28 14:41:01 2013 +0200 debian: Install s-s-d directly into /sbin This properly fixes the empty usr/sbin directory that needs cleanup, and avoids the annoying path moves in debian/rules. debian/changelog | 2 ++ debian/dpkg.install | 2 +- debian/rules | 6 +----- 3 files changed, 4 insertions(+), 6 deletions(-) commit af2524c23478134ca90d7990127205550c5d1d4d Author: Guillem Jover Date: Sun Jul 28 13:26:03 2013 +0200 dpkg(1): Document available database update procedure to set selections Mention that the available database needs to be updated, refer to the dpkg FAQ for more details, and add an example when using apt. Suggested-by: Klaus Ita debian/changelog | 2 ++ man/dpkg.1 | 14 +++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) commit 1eb8370227dd72cee4c324ff1f2a2153145cc278 Author: Guillem Jover Date: Sat Jul 27 23:12:30 2013 +0200 scripts/mk: Do not use space before dpkg-parsechangelog -S value Regression introduced in commit a86454180804ee6b54732697e2105708dfce1b82. Closes: #718014 debian/changelog | 2 ++ scripts/mk/pkg-info.mk | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) commit e6e764420210f7bbbe42cc2ec38018aaba6f65b3 Author: Guillem Jover Date: Sat Jul 27 17:36:58 2013 +0200 debian: Add bug closure for manpages-it Replaces issue Closes: #717983 debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 97a567810348f6571b28bb1c59a66ceba2d0550b Author: Guillem Jover Date: Sat Jul 27 15:43:17 2013 +0200 debian: Reword libdpkg-perl description and only list public modules Let's not confuse possible users of what they might be able to use. debian/changelog | 1 + debian/control | 13 ++++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) commit 4f9e85325229d39d1e412332e616c34d8d3344bd Author: Guillem Jover Date: Sat Jul 27 15:17:41 2013 +0200 debian: Add manpages-it Replaces to dpkg due to new translated man pages Reported-by: Alessio Gaeta debian/changelog | 2 ++ debian/control | 1 + 2 files changed, 3 insertions(+) commit a1319e6ea27daf5ebe78c5090e558ef83af2d1f8 Author: Guillem Jover Date: Sat Jul 27 05:36:37 2013 +0200 dpkg-shlibdeps(1): Make explicit that -e can be used multiple times debian/changelog | 3 ++- man/dpkg-shlibdeps.1 | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) commit 63277849ad6536ca23eac7adadd7cbf94bf5f304 Author: Guillem Jover Date: Sat Jul 27 05:32:43 2013 +0200 Bump version to 1.17.1 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) commit 0a6abec3007e5521dc1c379964a272780cad8a04 Author: Guillem Jover Date: Fri Jul 26 23:55:04 2013 +0200 Release 1.17.0 debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c7f3d36b256157beba3f6190b5fb5492c94443e0 Author: Guillem Jover Date: Fri Jul 26 23:48:17 2013 +0200 Regenerate .pot files and merge .po files with them dselect/po/bs.po | 82 +- dselect/po/ca.po | 82 +- dselect/po/cs.po | 82 +- dselect/po/da.po | 82 +- dselect/po/de.po | 82 +- dselect/po/dselect.pot | 84 +- dselect/po/el.po | 82 +- dselect/po/es.po | 82 +- dselect/po/et.po | 82 +- dselect/po/eu.po | 82 +- dselect/po/fr.po | 82 +- dselect/po/gl.po | 82 +- dselect/po/hu.po | 82 +- dselect/po/id.po | 86 +- dselect/po/it.po | 82 +- dselect/po/ja.po | 82 +- dselect/po/ko.po | 82 +- dselect/po/nb.po | 82 +- dselect/po/nl.po | 82 +- dselect/po/nn.po | 82 +- dselect/po/pl.po | 82 +- dselect/po/pt.po | 82 +- dselect/po/pt_BR.po | 82 +- dselect/po/ro.po | 82 +- dselect/po/ru.po | 82 +- dselect/po/sk.po | 86 +- dselect/po/sv.po | 82 +- dselect/po/tl.po | 82 +- dselect/po/vi.po | 82 +- dselect/po/zh_CN.po | 82 +- dselect/po/zh_TW.po | 82 +- man/po/de.po | 5407 +++++++++++++++++++++++++++++------------------ man/po/dpkg-man.pot | 3728 +++++++++++++++++--------------- man/po/es.po | 5346 ++++++++++++++++++++++++++++------------------ man/po/fr.po | 5374 ++++++++++++++++++++++++++++------------------ man/po/hu.po | 3984 ++++++++++++++++++---------------- man/po/it.po | 4341 +++++++++++++++++++++---------------- man/po/ja.po | 5289 +++++++++++++++++++++++++++------------------ man/po/pl.po | 5371 ++++++++++++++++++++++++++++------------------ man/po/pt_BR.po | 4062 +++++++++++++++++++---------------- man/po/ru.po | 4059 +++++++++++++++++++---------------- man/po/sv.po | 5358 ++++++++++++++++++++++++++++------------------ po/ast.po | 1540 +++++++------- po/bs.po | 1465 +++++++------ po/ca.po | 1576 +++++++------- po/cs.po | 1558 +++++++------- po/da.po | 1570 +++++++------- po/de.po | 1576 +++++++------- po/dpkg.pot | 1464 +++++++------ po/dz.po | 1536 +++++++------- po/el.po | 1562 +++++++------- po/eo.po | 1578 +++++++------- po/es.po | 1596 +++++++------- po/et.po | 1505 ++++++------- po/eu.po | 1581 +++++++------- po/fr.po | 1585 +++++++------- po/gl.po | 1562 +++++++------- po/hu.po | 1514 ++++++------- po/id.po | 1569 +++++++------- po/it.po | 1598 +++++++------- po/ja.po | 1572 +++++++------- po/km.po | 1518 ++++++------- po/ko.po | 1569 +++++++------- po/ku.po | 1485 ++++++------- po/lt.po | 1529 +++++++------- po/mr.po | 1511 ++++++------- po/nb.po | 1563 +++++++------- po/ne.po | 1522 ++++++------- po/nl.po | 1534 +++++++------- po/nn.po | 1512 ++++++------- po/pa.po | 1496 ++++++------- po/pl.po | 1580 +++++++------- po/pt.po | 1597 +++++++------- po/pt_BR.po | 1554 +++++++------- po/ro.po | 1584 +++++++------- po/ru.po | 1583 +++++++------- po/sk.po | 1565 +++++++------- po/sv.po | 1578 +++++++------- po/th.po | 1546 +++++++------- po/tl.po | 1520 ++++++------- po/vi.po | 1558 +++++++------- po/zh_CN.po | 1549 +++++++------- po/zh_TW.po | 1546 +++++++------- scripts/po/ca.po | 1006 ++++----- scripts/po/de.po | 1097 +++++----- scripts/po/dpkg-dev.pot | 1000 ++++----- scripts/po/es.po | 1097 +++++----- scripts/po/fr.po | 1093 +++++----- scripts/po/pl.po | 1093 +++++----- scripts/po/ru.po | 1093 +++++----- scripts/po/sv.po | 1093 +++++----- 91 files changed, 70417 insertions(+), 56532 deletions(-) commit bb38862b4a6232b89f5f20abbb5d20756b34d4d6 Author: Guillem Jover Date: Thu Jul 25 03:31:01 2013 +0200 Dpkg::Source::Package: Do not scan control file twice for PGP signature The code was pre-scanning the control file looking for a PGP signature, and the parser was doing a more thorough check later on. Just remove the double parsing, and rely on the more accurate one from the parser. debian/changelog | 1 + scripts/Dpkg/Control/HashCore.pm | 6 +++--- scripts/Dpkg/Source/Package.pm | 10 +--------- 3 files changed, 5 insertions(+), 12 deletions(-) commit 649c745f7ea21ec2628e2b039c7590f3934d7195 Author: Guillem Jover Date: Tue Apr 17 06:49:24 2012 +0200 Dpkg::Control::HashCore: Correctly apply substvar text cleanups Use the new information to properly apply substvars when outputting control stanzas, and avoid doing text cleanups on field values where those changes are not relevant. Closes: #659814 debian/changelog | 2 ++ scripts/Dpkg/Control/HashCore.pm | 21 ++++++++++++++++----- 2 files changed, 18 insertions(+), 5 deletions(-) commit 01ad2ba537d7259f48ec942c007dd8448ffbf42f Author: Guillem Jover Date: Tue Apr 17 06:49:24 2012 +0200 Dpkg::Control::FieldsCore: Add field value separation information This information helps when needing to handle the field values semantically. scripts/Dpkg/Control/FieldsCore.pm | 60 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 2 deletions(-) commit 383dcd074ebaa3e7c2f983cd281f192eb17c80b4 Author: Guillem Jover Date: Thu Jul 18 18:40:02 2013 +0200 Dpkg::Control::HashCore: Switch module to use Dpkg::Control::FieldsCore Because Dpkg::Vendor is not entangled with Dpkg::Control::FieldsCore anymore, Dpkg::Control::HashCore will be able to use it and Dpkg::Control::HashCore::Tie can use it now instead of duplicating field_capitalize(). scripts/Dpkg/Control/HashCore.pm | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) commit a2d801487228e2616c19461fb101190b0ccb7bd7 Author: Guillem Jover Date: Thu Jul 18 18:24:12 2013 +0200 Dpkg::Control::Fields: Detangle Dpkg::Vendor Move the bulk of the code into two new vendor-neutral Core sub-modules Dpkg::Control::FieldsCore and Dpkg::Control::HashCore, that get imported by Dpkg::Control::Fields and Dpkg::Control::Hash respectively; so that modules like Dpkg::Control::HashCore can make use of Dpkg::Control::FieldsCore w/o getting into a circular import due to Dpkg::Vendor previously using Dpkg::Control::Hash. The old dependency graph would have been: Control::Hash → Control::Fields ↑ ↓ Vendor The new one would be: Control::Hash → Control::Fields ↓ ↓ ↓ ↓ Vendor ↓ ↓ ↓ ↓ Control::HashCore → Control::FieldsCore scripts/Dpkg/Control/Fields.pm | 564 +--------------------- scripts/Dpkg/Control/{Fields.pm => FieldsCore.pm} | 20 +- scripts/Dpkg/Control/Hash.pm | 471 +----------------- scripts/Dpkg/Control/{Hash.pm => HashCore.pm} | 11 +- scripts/Dpkg/Vendor.pm | 4 +- scripts/Makefile.am | 2 + scripts/po/POTFILES.in | 2 + 7 files changed, 24 insertions(+), 1050 deletions(-) commit a3f98a7e4789d00a71817e33b3571c290b1abb5a Author: Guillem Jover Date: Thu Jul 25 01:31:56 2013 +0200 scripts: Use () instead of qw() for empty imports scripts/Dpkg/Arch.pm | 2 +- scripts/Dpkg/BuildFlags.pm | 2 +- scripts/Dpkg/Changelog/Parse.pm | 2 +- scripts/Dpkg/ErrorHandling.pm | 2 +- scripts/Dpkg/Shlibs/Symbol.pm | 2 +- scripts/Dpkg/Source/Package/V1.pm | 2 +- scripts/Dpkg/Substvars.pm | 2 +- scripts/Dpkg/Vendor.pm | 2 +- scripts/changelog/debian.pl | 2 +- scripts/dpkg-architecture.pl | 2 +- scripts/dpkg-buildflags.pl | 2 +- scripts/dpkg-buildpackage.pl | 2 +- scripts/dpkg-checkbuilddeps.pl | 2 +- scripts/dpkg-distaddfile.pl | 2 +- scripts/dpkg-genchanges.pl | 2 +- scripts/dpkg-gencontrol.pl | 2 +- scripts/dpkg-gensymbols.pl | 2 +- scripts/dpkg-mergechangelogs.pl | 2 +- scripts/dpkg-name.pl | 2 +- scripts/dpkg-parsechangelog.pl | 2 +- scripts/dpkg-scanpackages.pl | 2 +- scripts/dpkg-scansources.pl | 2 +- scripts/dpkg-shlibdeps.pl | 2 +- scripts/dpkg-source.pl | 2 +- scripts/dpkg-vendor.pl | 2 +- scripts/t/750_Dpkg_Substvars.t | 2 +- 26 files changed, 26 insertions(+), 26 deletions(-) commit 7b73dab6a83ae643361ae5868649a6e2f1b05139 Author: Guillem Jover Date: Thu Jul 18 03:58:18 2013 +0200 dpkg-shlibdeps: New option -l to add private shared library directories This allows to specify additional build-time shared library directories without requiring the caller to set LD_LIBRARY_PATH, which is a run-time dynamic linker variable, and abusing it might be problematic for example when cross-compiling. While accepting colon-separated paths might seem tempting, it disallows valid paths with colons, while not common on system paths, these could be present on user paths, which makes this a bad interface to have. Closes: #698881 debian/changelog | 3 +++ man/dpkg-shlibdeps.1 | 18 +++++++++++++++--- scripts/Dpkg/Shlibs.pm | 11 ++++++++--- scripts/dpkg-shlibdeps.pl | 5 ++++- 4 files changed, 30 insertions(+), 7 deletions(-) commit a86454180804ee6b54732697e2105708dfce1b82 Author: Guillem Jover Date: Thu Jul 25 03:27:54 2013 +0200 dpkg-parsechangelog: Unify -S option parsing with other short options Expect the value for short options contiguous to the option itself, instead of diverging and accepting it only as the next argument. scripts/dpkg-parsechangelog.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 7f00d62776f201cb7415375c6c90f745a1f2cb30 Author: Pablo Oliveira Date: Wed May 29 14:37:43 2013 +0200 Dpkg::Source::Quilt: Fix chmod() arguments order In the restore_quilt_backup_files() function, the chmod() call has the arguments swapped. This prevents restoring quilt patches that remove files. Closes: #710265 Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/Dpkg/Source/Quilt.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit f92960114a4203692030d43dab9c83e0b37742da Author: Lincoln Myers Date: Fri May 17 08:42:56 2013 +0200 perl: Replace non-existent function call _() with _g() [hertzog@debian.org: - Fix the same mistake in scripts/dpkg-shlibdeps.pl ] Closes: #708607 Signed-off-by: Raphaël Hertzog Signed-off-by: Guillem Jover debian/changelog | 3 +++ scripts/Dpkg/File.pm | 4 ++-- scripts/dpkg-shlibdeps.pl | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) commit 6e252be79828ede52bec3831a3147220f011c18f Author: Trần Ngọc Quân Date: Mon Jul 8 12:05:58 2013 +0200 Update Vietnamese programs translation Closes: #715334 Signed-off-by: Guillem Jover debian/changelog | 3 + po/vi.po | 203 ++++++++++++++++++++++++++++--------------------------- 2 files changed, 106 insertions(+), 100 deletions(-) commit d032c07568719858665c688a2b7930b8064b8d56 Author: Beatrice Torracca Date: Sun Jun 23 02:32:23 2013 +0200 Add Italian partial man pages translation [guillem@debian.org: - Fix POD markup. - Add po4a configuration and addendum. ] Closes: #711647 Signed-off-by: Guillem Jover debian/changelog | 3 + man/.gitignore | 1 + man/po/it.add | 1 + man/po/it.po | 17821 +++++++++++++++++++++++++++++++++++++++++++++++++++++ man/po/po4a.cfg | 3 +- 5 files changed, 17828 insertions(+), 1 deletion(-) commit babd1c3a37f2e4de4f5d0644e9f39982faa9a6cf Author: TAKAHASHI Motonobu Date: Sat Mar 30 17:32:18 2013 +0100 Update Japanese man page translation Closes: #704240 Signed-off-by: Guillem Jover debian/changelog | 1 + man/po/ja.po | 1973 ++++++++++++++++-------------------------------------- 2 files changed, 583 insertions(+), 1391 deletions(-) commit 3249d414a07645a3db1e4258e7d4bd0ed0f71f87 Author: Raphaël Hertzog Date: Fri Jul 26 01:14:30 2013 +0200 debian/rules: drop the empty /usr/sbin directory debian/rules | 1 + 1 file changed, 1 insertion(+) commit 0e4b6fb5b82b8228021d2c1dca646f2c2baf8e1b Author: Raphaël Hertzog Date: Fri Jul 26 00:59:08 2013 +0200 dpkg-maintscript-helper: improve behaviour in “Multi-Arch: same” packages Improve dpkg-maintscript-helper to automatically add the architecture qualifier when it auto-detects the package name in the environment. Document the requirement to add the architecture qualifier for such packages in the manual page. debian/changelog | 3 +++ man/dpkg-maintscript-helper.1 | 14 ++++++++------ scripts/dpkg-maintscript-helper.sh | 8 ++++---- 3 files changed, 15 insertions(+), 10 deletions(-) commit 8264aa556d52235157fb0c705ab8535a8d6fdd4a Author: Raphaël Hertzog Date: Fri Jul 26 00:17:36 2013 +0200 dpkg-maintscript-helper: ensures file ownership before acting Fix mv_conffile/rm_confffile to not do anything when the conffile is no longer owned by the current (or named) package. Closes: #716948 Based-on-patch-by: Steve Langasek debian/changelog | 5 +++++ scripts/dpkg-maintscript-helper.sh | 31 +++++++++++++++++++++++++++---- 2 files changed, 32 insertions(+), 4 deletions(-) commit dd13db2d657c1df1f872309b8b5bcb94018bdada Author: Charles Plessy Date: Sat Jul 20 09:38:56 2013 +0200 dpkg(1): Add triggers to the list of binary control information files Signed-off-by: Guillem Jover debian/changelog | 2 ++ man/dpkg.1 | 1 + 2 files changed, 3 insertions(+) commit a64bfa733075a7140193f5a4b9d4292234dd230e Author: Guillem Jover Date: Tue Jan 1 19:30:36 2013 +0100 Dpkg::Arch: Fix value caching by not shadowing the variables Addresses Variables::ProhibitReusedNames. debian/changelog | 1 + scripts/Dpkg/Arch.pm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 46bc7b2ee075f73231cee90446248ce43d69eda3 Author: Guillem Jover Date: Tue Feb 19 21:22:11 2013 +0100 Dpkg::Shlibs::Objdump: Add an optional objdump argument to get_format This gets rid of the localized $OBJDUMP variable, by explicitly passing the overriden value to the recursive call. Fixes Variables::ProhibitLocalVars. scripts/Dpkg/Shlibs/Objdump.pm | 13 +++++++------ test/100_critic.t | 1 + 2 files changed, 8 insertions(+), 6 deletions(-) commit ac36c31b05fc211a5688d1714d5589f227a1bdbd Author: Guillem Jover Date: Sun Jan 27 15:27:33 2013 +0100 Dpkg::Shlibs::Cppfilt: Use syserr instead of internerr on spawn scripts/Dpkg/Shlibs/Cppfilt.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 46af84cb64fdd4cf6fc9a3bbbf7ed22965cc073e Author: Guillem Jover Date: Wed Jul 4 16:21:03 2012 +0200 dpkg-divert: Rename file_copy() arguments src/divertcmd.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit 66940305bb7afc59b8be55f5afc6def1fb335efe Author: Guillem Jover Date: Wed Jul 4 11:37:51 2012 +0200 dpkg-divert: Remove temporary file on error during --rename Do not leave the «.dpkg-divert.tmp» temporary file around if the file copy failed for any reason. debian/changelog | 1 + src/divertcmd.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 7e892ff30f8974f3c2df32fce5703aef6fed63a1 Author: Guillem Jover Date: Wed Jul 4 11:35:52 2012 +0200 libdpkg: Add new cu_filename() function lib/dpkg/cleanup.c | 8 ++++++++ lib/dpkg/dpkg.h | 1 + lib/dpkg/libdpkg.map | 1 + 3 files changed, 10 insertions(+) commit 4fcb3aac35cbb826e21c9ab5bcc661bd1306f691 Author: Guillem Jover Date: Mon Jul 15 17:38:23 2013 +0200 Change user-friendly UI recommendation from dselect to apt Suggested-by: Ma Xiaojun debian/changelog | 2 ++ dpkg-deb/main.c | 6 +++--- src/main.c | 6 +++--- 3 files changed, 8 insertions(+), 6 deletions(-) commit 8d5d625cfdca593ba6f11a84760c97deb0f810e8 Author: Guillem Jover Date: Tue Jan 1 14:38:02 2013 +0100 scripts: Use the block form for the grep function Fixes BuiltinFunctions::RequireBlockGrep. scripts/dpkg-genchanges.pl | 2 +- scripts/dpkg-gencontrol.pl | 2 +- scripts/dpkg-source.pl | 2 +- test/100_critic.t | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) commit 485f640303d899d8f8af23ee2422a635bef56604 Author: Guillem Jover Date: Tue Jan 1 14:38:02 2013 +0100 Dpkg::Version: Use the block form for the map function Fixes BuiltinFunctions::RequireBlockMap. scripts/Dpkg/Version.pm | 4 ++-- test/100_critic.t | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) commit 9f4b98fab6fe3db6c1d80b83b4affa22c540d5cf Author: Guillem Jover Date: Wed Jan 9 19:25:28 2013 +0100 dpkg-source: Use two eq operators instead of a grep This avoids using grep on scalar context. Fixes BuiltinFunctions::ProhibitBooleanGrep. scripts/dpkg-source.pl | 2 +- test/100_critic.t | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit ac704f9d15a93b2f8e0c42fea0fe5137e95b1962 Author: Guillem Jover Date: Wed Jan 9 19:23:01 2013 +0100 scripts: Use Dpkg::Util list functions instead of grep This avoids using the grep builtin on scalar context, which is suboptimal as it does not short-circuit on first match, and it's intended to produce an output array. Ideally we'd directly use the functions from List::MoreUtils, because they might be more performant, but not being a core module is a show stopper. Addresses BuiltinFunctions::ProhibitBooleanGrep. scripts/Dpkg/Arch.pm | 3 ++- scripts/Dpkg/Shlibs.pm | 5 +++-- scripts/Dpkg/Shlibs/Symbol.pm | 3 ++- scripts/Dpkg/Source/Package/V3/Quilt.pm | 3 ++- scripts/dpkg-genchanges.pl | 9 +++++---- scripts/dpkg-gencontrol.pl | 3 ++- scripts/dpkg-scanpackages.pl | 3 ++- scripts/dpkg-scansources.pl | 3 ++- scripts/dpkg-shlibdeps.pl | 14 ++++++++------ scripts/dpkg-source.pl | 7 ++++--- 10 files changed, 32 insertions(+), 21 deletions(-) commit 2622fcbb40385a14373ba9532d7628e1d1f214b1 Author: Guillem Jover Date: Wed Jul 10 01:21:36 2013 +0200 Dpkg::Util: Add new module Add two trivial list utility functions, mimicking the ones from List::MoreUtils, as that is not a core module and we want to avoid the additional dependency. scripts/Dpkg/Util.pm | 51 +++++++++++++++++++++++++++++++++++++++++++++++ scripts/Makefile.am | 2 ++ scripts/t/550_Dpkg_Util.t | 38 +++++++++++++++++++++++++++++++++++ 3 files changed, 91 insertions(+) commit 9581f11d5efb591cd95baeae38054ab37d30df8c Author: Guillem Jover Date: Wed Jan 9 19:54:47 2013 +0100 dpkg-scansources: Use a foreach loop instead of a void map Fixes BuiltinFunctions::ProhibitVoidMap. scripts/dpkg-scansources.pl | 8 +++----- test/100_critic.t | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) commit 2d04ad209e93d5814c68801001dc5f333027577f Author: Guillem Jover Date: Wed Jan 9 19:23:01 2013 +0100 dpkg-gencontrol: Move grep inside an if block This makes the test explicit, and avoids confusing perlcritic of this being a void grep. Fixes BuiltinFunctions::ProhibitVoidGrep. scripts/dpkg-gencontrol.pl | 3 ++- test/100_critic.t | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) commit 89a8da04a92fd3cb913a5e24ff00385a753fd279 Author: Guillem Jover Date: Sun Jan 6 20:37:08 2013 +0100 scripts: Do not mix boolean operators Fixes ValuesAndExpressions::ProhibitMixedBooleanOperators. scripts/Dpkg/IPC.pm | 4 ++-- scripts/Dpkg/Source/Patch.pm | 6 +++--- scripts/dpkg-genchanges.pl | 2 +- scripts/dpkg-name.pl | 4 ++-- scripts/dpkg-scanpackages.pl | 2 +- scripts/dpkg-scansources.pl | 2 +- scripts/dpkg-shlibdeps.pl | 2 +- test/100_critic.t | 1 + 8 files changed, 12 insertions(+), 11 deletions(-) commit 840d3d8836ca3712595ce45e17af9dd16818848d Author: Guillem Jover Date: Fri Jan 4 10:53:59 2013 +0100 scripts: Do not use negative expression in unless and until conditions These are double negations which are hard to grasp at a first glance. Fixes ControlStructures::ProhibitNegativeExpressionsInUnlessAndUntilConditions. scripts/Dpkg/Compression.pm | 2 +- scripts/Dpkg/Source/Archive.pm | 3 ++- scripts/dpkg-buildpackage.pl | 2 +- scripts/dpkg-genchanges.pl | 6 +++--- test/100_critic.t | 1 + 5 files changed, 8 insertions(+), 6 deletions(-) commit ac02d172c0cab7cf06c28326b41dd2cc35da2fdc Author: Guillem Jover Date: Mon May 28 18:48:10 2012 +0200 dpkg-deb: Add support for gzip compression strategies This adds support for filtered, huffman, rle and fixed strategies. Those are only usable when dpkg-deb uses zlib, because the command line tool gzip does not have any way to specify them. debian/changelog | 2 ++ dpkg-deb/main.c | 3 ++- lib/dpkg/compress.c | 29 ++++++++++++++++++++++++++++- lib/dpkg/compress.h | 4 ++++ man/dpkg-deb.1 | 3 ++- 5 files changed, 38 insertions(+), 3 deletions(-) commit 16ab055e95a804a1fc176c7bd72b52a2be8412ab Author: Guillem Jover Date: Mon Jul 8 01:56:37 2013 +0200 build: Switch default dpkg-deb compression from gzip to xz Keep building dpkg.deb with gzip to make debootstrap life easier on non-Debian based systems. configure.ac | 2 +- debian/changelog | 2 ++ debian/rules | 5 ++++- 3 files changed, 7 insertions(+), 2 deletions(-) commit 68a1f4682bb8876168168770a200aaf389b562a7 Author: Guillem Jover Date: Fri May 18 04:19:49 2012 +0200 build: Allow changing the default dpkg-deb compressor on configure This will allow downstreams to choose something better than gzip as their default compressor, for example xz. Or when xz becomes the default to revert back to something else. configure.ac | 3 +++ debian/changelog | 2 ++ dpkg-deb/main.c | 2 +- m4/dpkg-build.m4 | 17 +++++++++++++++++ 4 files changed, 23 insertions(+), 1 deletion(-) commit 2cac2b9c2c004f7ddf92fd5b39d51022a308b4d6 Author: Guillem Jover Date: Fri Oct 19 02:33:08 2012 +0200 dpkg: Rename processarc.c to unpack.c This clarifies the purpose of the file related to the dpkg action to perform. TODO | 2 +- po/POTFILES.in | 2 +- src/Makefile.am | 2 +- src/archives.h | 2 +- src/{processarc.c => unpack.c} | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) commit c24cc696c75c55dd832fc3715ebdf155f0449c0e Author: Guillem Jover Date: Fri Aug 3 13:14:17 2012 +0200 libcompat: Take over md5 module from libdpkg The md5 code is imported from the BSDs, and should not generally be touched, only updated from there. Also on several platforms the code should use the system available interfaces instead. debian/copyright | 2 +- lib/compat/Makefile.am | 3 +++ lib/{dpkg => compat}/md5.c | 0 lib/{dpkg => compat}/md5.h | 0 lib/dpkg/Makefile.am | 1 - lib/dpkg/buffer.c | 2 +- po/POTFILES.in | 1 - 7 files changed, 5 insertions(+), 4 deletions(-) commit 797f8512f6326a22d816a08958cef965269f1009 Author: Guillem Jover Date: Sat Jul 6 22:07:54 2013 +0200 dpkg-buildpackage: Do not warn on unsigned UNRELEASED builds on -uc or -us If the user has explicitly requested not to sign the build, do not complain that we are not going to sign it due to it being UNRELEASED. Regression introduced in commit 8a8030be47fee6b480905781e56eacc8005227fc. scripts/dpkg-buildpackage.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9b70709fc2922070e1901191315c506fc9a581bd Author: Guillem Jover Date: Sat Jul 6 16:52:00 2013 +0200 dpkg-parsechangelog(1): Document --file and --label parser options These options have been supported for a very long time, and --label has been used up to very recently by dpkg-parsechangelog, just document them to make it clear that these need to be supported by the parsers. debian/changelog | 1 + man/dpkg-parsechangelog.1 | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) commit 597a7348527cbe91e35cf04a2e214a562612a768 Author: YunQiang Su Date: Sat Jun 22 06:14:09 2013 +0200 Add support for mipsn32(el) and mips64(el) to arch tables [guillem@debian.org: - Remove unneeded abi entry. - Fix mips64 endianness. ] Closes: #685096, #707323 Signed-off-by: Guillem Jover abitable | 1 + cputable | 2 ++ debian/changelog | 2 ++ ostable | 2 ++ triplettable | 4 ++++ 5 files changed, 11 insertions(+) commit aa16b40d19677307dc1d21327c10e9a5ff9908ea Author: Guillem Jover Date: Thu Jul 4 00:56:36 2013 +0200 Dpkg::Arch: Do not overwrite triplet mappings with latter matches scripts/Dpkg/Arch.pm | 3 +++ 1 file changed, 3 insertions(+) commit 4f0d689d5231354b6bef8b3642e5c1fe9b1985a6 Author: Guillem Jover Date: Mon Jun 24 02:06:54 2013 +0200 doc: Document how to check po4a translations for valid POD markup README.l10n | 7 +++++++ 1 file changed, 7 insertions(+) commit e83599bd2b1118a59677ec7e3a23a0b448049d6c Author: Guillem Jover Date: Mon Feb 11 15:47:57 2013 +0100 Dpkg::Source::Package: Do not return an error message if we can build scripts/Dpkg/Source/Package/V1.pm | 6 ++++-- scripts/Dpkg/Source/Package/V3/Bzr.pm | 4 +++- scripts/Dpkg/Source/Package/V3/Custom.pm | 6 ++++-- scripts/Dpkg/Source/Package/V3/Git.pm | 4 +++- scripts/Dpkg/Source/Package/V3/Quilt.pm | 2 +- 5 files changed, 15 insertions(+), 7 deletions(-) commit acc1f37933b2444631eb510f5450985c8f7270c7 Author: Bernhard R. Link Date: Sun Feb 10 16:07:34 2013 +0100 Dpkg: Catch mismatches between version strings and format versions Ensure that a 3.0 (quilt) package has a non-native version and that a 3.0 (native) package has a native version. To get the information, extend Dpkg::Version with a is_native method to check whether a version has a revision or not. [guillem@debian.org: - Add is_native to history of changes. - Do not return an error string when returning a true result. ] Closes: #700177 Signed-off-by: Guillem Jover debian/changelog | 4 ++++ scripts/Dpkg/Source/Package/V3/Native.pm | 7 +++++++ scripts/Dpkg/Source/Package/V3/Quilt.pm | 5 +++++ scripts/Dpkg/Version.pm | 13 +++++++++++++ 4 files changed, 29 insertions(+) commit ea422eb8649dd15a3f5f2994af8e57c7c2e1e465 Author: Guillem Jover Date: Sun Feb 10 13:18:28 2013 +0100 Dpkg: Move epoch-less or revision-less output logic to Dpkg::Version Instead of doing the magic of generating a version string without epoch and revision and a version string without epoch in Dpkg::Source::Package, extend Dpkg::Version's as_string function to support generating that string. Based-on-patch-by: Bernhard R. Link Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/Dpkg/Source/Package.pm | 7 ++----- scripts/Dpkg/Version.pm | 37 +++++++++++++++++++++++++++++++------ 3 files changed, 35 insertions(+), 11 deletions(-) commit e8950d7e2d4a58f96c74782825e2edf7ceb583ca Author: Colin Watson Date: Tue Jan 8 03:57:23 2013 +0100 Dpkg::Deps: Add support for a build_arch option in deps_parse() Dpkg::Deps::deps_parse takes a host_arch option, but doesn't take a corresponding build_arch option. This means that if you're evaluating dependencies relative to a non-default build architecture, you get Dpkg::Deps::* objects back with the wrong build_arch set, which may cause unexpected behaviour later in simplify_deps. Closes: #697297 Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/Dpkg/Deps.pm | 8 ++++++++ 2 files changed, 10 insertions(+) commit 0b75c4f9aa15978aabda773b3793ed02447c95ae Author: Cédric Boutillier Date: Sat Jun 22 23:59:05 2013 +0200 man: Fix typo in French dpkg-source(1) translation The text about the "unapply-patches" is not correct, the French version mentions that this option cannot be in local-options, whereas the original version says it can be only there. Closes: #708292 Signed-off-by: Guillem Jover debian/changelog | 2 ++ man/po/fr.po | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 2cb257105366f933a3b9e5ea2647033da12b07f3 Author: Guillem Jover Date: Sun Oct 14 12:55:20 2012 +0200 Dpkg::Source::Patch: Sort files inside new diff lexicographically The files inside the diff were being sorted correctly for existing patches, but not for new ones. Closes: #689193 debian/changelog | 2 ++ scripts/Dpkg/Source/Patch.pm | 2 ++ 2 files changed, 4 insertions(+) commit c4cca9674d61a7f15e3172a25a49d8d15ab754f0 Author: Guillem Jover Date: Wed Aug 8 04:37:03 2012 +0200 Dpkg::Changelog::Parse: Always pass the filename to the changelog parser This allows the parser to handle compressed files transparently, instead of opening them and passing the contents through standard input. Closes: #684196 debian/changelog | 1 + scripts/Dpkg/Changelog/Parse.pm | 15 ++++++--------- 2 files changed, 7 insertions(+), 9 deletions(-) commit b736fc0984dc7109a05035f96b58353ffa6fc118 Author: Guillem Jover Date: Wed Aug 8 04:35:30 2012 +0200 changelog-debian: Always use Dpkg::Changelog::Debian->load() The Storable::Interface supports opening standard input transparently whenever '-' is passed as a filename. scripts/changelog/debian.pl | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) commit 52e3d0ecec59f5d38d1bc42686bd96c895389050 Author: Guillem Jover Date: Wed Aug 8 03:50:43 2012 +0200 dpkg-parsechangelog(1): Document that -l- can be used to read from stdin debian/changelog | 1 + man/dpkg-parsechangelog.1 | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit cb674d55c4c7f4983102438f39cec98e8a2d91ce Author: Guillem Jover Date: Tue Jul 17 04:28:57 2012 +0200 Switch usage errors to not print entire --help output Just print a reference to use --help for further details. Which stops annoying experienced users, or users that made a typo on the command-line, by not overwhelming them with screenfuls of help output. Closes: #681371 debian/changelog | 2 ++ scripts/Dpkg/ErrorHandling.pm | 5 +++-- scripts/dpkg-maintscript-helper.sh | 19 ++++++++----------- scripts/dpkg-mergechangelogs.pl | 10 ++++++---- utils/update-alternatives.c | 4 +++- 5 files changed, 22 insertions(+), 18 deletions(-) commit e43fd15f616001727dcc1645a4bbe05ddf639874 Author: Guillem Jover Date: Mon Jun 24 01:52:50 2013 +0200 dpkg-name: Require at least one filename after -- This splits the code to first record the arguments to use as filenames, and then to act on them in a single step, so that we can check if we got the required filenames. debian/changelog | 1 + scripts/dpkg-name.pl | 18 +++++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) commit 37934782af6acc04d6d171e339ef8a41c682cc98 Author: Guillem Jover Date: Wed Jul 18 03:09:20 2012 +0200 dpkg-name: Print correct error message on unknown options before -- Do not interpret unknown options as filenames, to then try to move them and fail when not found. If the user wants to use a filename starting with a dash, these should be passed after --. debian/changelog | 1 + scripts/dpkg-name.pl | 2 ++ 2 files changed, 3 insertions(+) commit 1629f8f1113cd6547e02028e5fed3dafbf89b088 Author: Bernhard R. Link Date: Tue Jul 17 04:08:52 2012 +0200 dpkg-scansources: Move exit call out from usage() This also makes sure the program returns a correct exit code from usageerr(). [guillem@debian.org: - Remove exit call from usage(). ] Signed-off-by: Guillem Jover debian/changelog | 2 ++ scripts/dpkg-scansources.pl | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) commit edda3a6d24eaa9cd07a4cc451df737a09a39b000 Author: Guillem Jover Date: Sun Jun 23 17:22:18 2013 +0200 scripts: Trap $SIG{__WARN__} to call usageerr() on option parse errors This gives a nicer error message, and makes sure we always exit on option parse errors. debian/changelog | 2 ++ scripts/changelog/debian.pl | 6 ++++-- scripts/dpkg-checkbuilddeps.pl | 6 +++--- scripts/dpkg-mergechangelogs.pl | 7 ++++--- scripts/dpkg-scanpackages.pl | 7 ++++--- scripts/dpkg-scansources.pl | 5 ++++- 6 files changed, 21 insertions(+), 12 deletions(-) commit 1dbc70121f3783de4ad294cd6130b4cc794fe9e2 Author: Guillem Jover Date: Sun Jun 23 17:04:36 2013 +0200 scripts: Move Getopt::Long option specifications to array variables scripts/changelog/debian.pl | 6 ++++-- scripts/dpkg-checkbuilddeps.pl | 20 ++++++++++++-------- scripts/dpkg-mergechangelogs.pl | 11 ++++++++--- scripts/dpkg-scanpackages.pl | 15 +++++++++++---- 4 files changed, 35 insertions(+), 17 deletions(-) commit 535325ba3d607cfe816ce7cf8d91d185ab87ca9b Author: Guillem Jover Date: Tue Apr 23 15:04:02 2013 +0200 dpkg: Clarify that --set-selections needs an up-to-date available db Document this in the man page, and warn whenever we find unknown packages during the --set-selections processing. Closes: #703092 debian/changelog | 4 ++++ man/dpkg.1 | 5 +++++ src/select.c | 6 ++++++ 3 files changed, 15 insertions(+) commit 68c2b7826d4eb0436e1db55f80350d18cf116183 Author: Guillem Jover Date: Sat Jun 22 00:11:02 2013 +0200 debian: Update translation updates changelog entries Give proper attribution for French typo fix, and add Spanish typo bug closure, previously committed to the repostory. debian/changelog | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit e2ea33bdd06c4b5e1f2dfdc624e370086ea2e7bc Author: Guillem Jover Date: Wed Jun 19 21:14:11 2013 +0200 test: Only scan perl module files that will ever contain POD markup This should reduce the check time significantly, as it stops checking the program files by duplicate (for