commit 99902811cf1b1f41eed3bce2fc7ab8a4f02c364b Author: Guillem Jover Date: Tue May 24 13:40:52 2022 +0200 Release 1.19.8 debian/changelog | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 006f6affa80906193f3c680861f99927154de48c Author: Guillem Jover Date: Tue May 24 13:40:08 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 | 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 | 52 +++++++++++++++++++++++++++++++++++++++++++- scripts/po/de.po | 57 +++++++++++++++++++++++++++++++++++++++++++++---- scripts/po/dpkg-dev.pot | 49 ++++++++++++++++++++++++++++++++++++++++-- scripts/po/es.po | 52 +++++++++++++++++++++++++++++++++++++++++++- scripts/po/fr.po | 57 +++++++++++++++++++++++++++++++++++++++++++++---- scripts/po/pl.po | 57 +++++++++++++++++++++++++++++++++++++++++++++---- scripts/po/ru.po | 57 +++++++++++++++++++++++++++++++++++++++++++++---- scripts/po/sv.po | 57 +++++++++++++++++++++++++++++++++++++++++++++---- 82 files changed, 491 insertions(+), 101 deletions(-) commit 1f23dddc17f69c9598477098c7fb9936e15fa495 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 (cherry picked from commit 7a6c03cb34d4a09f35df2f10779cbf1b70a5200b) scripts/Dpkg/Source/Archive.pm | 122 +++++++++++++++++++++++++++++++--------- scripts/t/Dpkg_Source_Archive.t | 110 +++++++++++++++++++++++++++++++++++- 2 files changed, 204 insertions(+), 28 deletions(-) commit 9994817895fe72ea068c1bdf078e71515dde66fe Author: Helge Kreutzmann Date: Mon Jun 1 08:56:04 2020 +0200 Fix further errors found in man/po/de.po man/po/de.po | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 73c31ed5fc4b55371724dc9b3a9ab03c688d0dca Author: Helge Kreutzmann Date: Sun Apr 26 15:10:05 2020 +0200 Proofreading of German man apges on debian-l10n-de (Part 4) man/po/de.po | 576 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 290 insertions(+), 286 deletions(-) commit cfda9530c285880db6bd96b7eaef6c54327e53ab Author: Helge Kreutzmann Date: Sun Mar 1 15:03:06 2020 +0100 Proofreading of German man apges on debian-l10n-de (Part 3) man/po/de.add | 7 +- man/po/de.po | 814 +++++++++++++++++++++++++++++----------------------------- 2 files changed, 416 insertions(+), 405 deletions(-) commit e94236b3d24163ce2d102cd09ded21132cfa4d47 Author: Helge Kreutzmann Date: Fri Jan 31 21:26:10 2020 +0100 Proofreading of German man apges on debian-l10n-de (Part 2) man/po/de.po | 327 +++++++++++++++++------------------------------------------ 1 file changed, 95 insertions(+), 232 deletions(-) commit 33affc57f6fc9b82e847a26e345f7268b88e65fb Author: Guillem Jover Date: Fri Jan 17 00:15:03 2020 +0100 build: Build gitlab CI images for buster instead of sid .gitlab-ci.yml | 2 +- debian/changelog | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) commit 1873bcb9d3b4d7aa9482b24ee1f600ccc0a1b16f Author: Helge Kreutzmann Date: Wed Jan 8 21:44:45 2020 +0100 Update German translation of manual pages Update to 2997t1f. man/po/de.po | 140 +++++++++++------------------------------------------------ 1 file changed, 25 insertions(+), 115 deletions(-) commit 01cf53b30189144f57ac19b8e5935aee99b4f911 Author: Helge Kreutzmann Date: Wed Jan 8 18:12:23 2020 +0100 Proofreading of German man apges on debian-l10n-de (Part 1) debian/changelog | 3 +- man/po/de.po | 5070 +++++++++++++----------------------------------------- 2 files changed, 1166 insertions(+), 3907 deletions(-) commit 15ede8be079e9aefaae80a01382e44e08a6feffc Author: Guillem Jover Date: Sun Dec 29 03:03:41 2019 +0100 Bump version to 1.19.8 debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) 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: Mo Zhou 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 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 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 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 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 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 Fernandez-Sanguino 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 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 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 Fernandez-Sanguino Date: Fri Apr 7 17:49:46 2017 +0200 Updated Spanish translation po/es.po | 307 ++++++++++++++++++++------------------------------------------- 1 file changed, 96 insertions(+), 211 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 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 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 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 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 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 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 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 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 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 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 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: elmig 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 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 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 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 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 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 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 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 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 Fernandez-Sanguino 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 Fernandez-Sanguino 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 Fernandez-Sanguino 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 Fernandez-Sanguino 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 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 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: lumin 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 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 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 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 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 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 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 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 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 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 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 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 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 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