summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)AuthorFilesLines
2016-11-16libdpkg: Only preallocate disk size for files bigger than 16 KiBGuillem Jover1-0/+2
Preallocating for very small fails causes some filesystems to degrade performance. Do so only for "big enough" files. Closes: #824636
2016-11-16dpkg-buildpackage: Fallback to one job on unknown number of online processorsGuillem Jover1-0/+4
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 <smcv@debian.org>
2016-11-16dpkg-genbuildinfo: Bump Format to version 0.2Guillem Jover1-0/+1
2016-11-16dpkg-genbuildinfo: Use deterministic .buildinfo filenamesGuillem Jover1-0/+2
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.
2016-11-16dpkg-genbuildinfo: Add Build-Date fieldGuillem Jover1-0/+1
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.
2016-11-16dpkg-genbuildinfo: On source builds add source to the Architecture fieldGuillem Jover1-0/+2
2016-11-16man: Escape dashes in field names in dpkg-buildinfo(1)Guillem Jover1-0/+2
2016-11-13Dpkg::Deps: Validate architecture arguments in deps_parse()Guillem Jover1-0/+3
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 <josch@debian.org>
2016-11-13data: Do not enable PIE when linking static programsGuillem Jover1-0/+4
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 <nsz@port70.net>
2016-11-13t: Mark partially documented POD modules as TODOGuillem Jover1-0/+4
This makes sure we will not forget to get them out of the ignore list once they get documented.
2016-11-11Update German translation of manual pagesHelge Kreutzmann1-1/+2
Update to 2823t1f.
2016-11-11Bump version to 1.18.15Guillem Jover1-0/+6
2016-11-11Release 1.18.14Guillem Jover1-2/+2
2016-11-11debian: List public Dpkg::Control::Tests module in libdpkg-perl descriptionGuillem Jover2-0/+3
2016-11-11man: Clarify how to revert to the serial dpkg-buildpackage behaviorGuillem Jover1-0/+3
Explicitly mention in dpkg-buildpackage(1) that setting the number of parallel jobs to 1, restores the serial behavior. Prompted-by: Thorsten Glaser <t.glaser@tarent.de>
2016-11-11man: Improve the DEB_BUILD_OPTIONS description in dpkg-buildpackage(1)Guillem Jover1-0/+3
Mention that this flag might also affect the beahavior of debian/rules, and also mention the parallel option.
2016-11-11Dpkg::Build::Info: New module refactored from dpkg-genbuildinfoGuillem Jover2-0/+3
This will allow other projects to use the same whitelist as dpkg does. Requested-by: Johannes Schauer <josch@debian.org>
2016-11-11Dpkg::Changelog::Entry::Debian: Fix parse error message when date is on MayNishanth Aravamudan1-0/+4
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 <guillem@debian.org>
2016-11-11libdpkg, scripts: Change default color behavior to autoGuillem Jover1-0/+1
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.
2016-11-11dpkg: Fix use after free issue on error summaryGuillem Jover1-0/+4
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
2016-11-11data: Improve PIE handlingGuillem Jover1-0/+6
- 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
2016-11-09build: Change DPKG_BUILD_RELEASE_DATE to use perl instead of date(1)Guillem Jover1-0/+2
As the former is more portable, and we were using GNUisms.
2016-11-09build: Fix DPKG_BUILD_RELEASE_DATE to require DPKG_PROG_PERLGuillem Jover1-0/+1
It uses perl.
2016-11-09build: Do not enable compression libraries if the headers are not usableGuillem Jover1-0/+2
2016-11-09build: Fix inversion logic in libmd configure check when requested explicitlyGuillem Jover1-0/+2
2016-11-09test: Do not fail on missing fakeroot just skip themGuillem Jover1-0/+4
2016-11-07Update German translation of manual pagesHelge Kreutzmann1-1/+2
Update to 2822t1f.
2016-11-07Bump version to 1.18.14Guillem Jover1-0/+6
2016-11-07Release 1.18.13Guillem Jover1-2/+2
2016-11-07Dpkg::Vendor::Debian: Improve PIE flags supportGuillem Jover1-4/+16
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.
2016-11-07build: Use deterministic dates for generated man pagesReiner Herrmann1-0/+3
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 <guillem@debian.org>
2016-11-07debian: Ship deb-src-files(5) man page in dpkg-devGuillem Jover2-0/+2
Missed in commit 10264ea2e5dc7b5df31bffae6fd644638d89ee15.
2016-11-07debian: Add missing Breaks on old libdpkg-perl to dpkgSven Joachim2-0/+5
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 <guillem@debian.org>
2016-11-07debian: Add bug closure for Dpkg::Dist:Files load_dir bugGuillem Jover1-1/+1
Closes: #843436
2016-11-06Dpkg::Dist::Files: Do not try to load non-files in load_dir methodGuillem Jover1-1/+3
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.
2016-11-06Bump version to 1.18.13Guillem Jover1-0/+6
2016-11-06Release 1.18.12Guillem Jover1-2/+2
2016-11-06man: Document environment variables used by source format modulesGuillem Jover1-0/+2
2016-11-06man: Use %VERSION% in dpkg-statoverride(1) source item .TH macroGuillem Jover1-0/+1
2016-11-06man: Use "dpkg suite" as the manual item in .TH macroGuillem Jover1-0/+1
2016-11-06man: Rename FILE FORMATS section to FILESGuillem Jover1-0/+2
2016-11-06build: Set umask to 0022 for functional test suiteGuillem Jover1-1/+2
2016-11-06Bump version to 1.18.12Guillem Jover1-0/+6
2016-11-06Release 1.18.11Guillem Jover1-3/+3
2016-11-06debian: Add perl:Depends substvar to dpkg-dev package DependsGuillem Jover2-0/+2
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
2016-11-06Dpkg::Vendor::Debian: Handle PIE enabled by default in gccGuillem Jover2-0/+6
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 <balint@balintreczey.hu>
2016-11-05Dpkg::Changelog: Cope gracefully with a missing trailer timestampGuillem Jover1-0/+3
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 <ijackson@chiark.greenend.org.uk>
2016-11-05dpkg: Do not fail when removing non-existent files on read-only filesystemsGuillem Jover1-0/+2
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
2016-11-05dpkg-buildpackage: Enable -Jauto by defaultGuillem Jover1-0/+1
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 <smcv@debian.org>
2016-11-05debian: Set MAKEFLAGS to -jN from parallel=N in DEB_BUILD_OPTIONSGuillem Jover2-0/+2
Honor parallel build option.