summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2018-08-01test: Add new cppcheck integration author testGuillem Jover1-0/+2
2018-07-30build: Add a GitLab CI configurationGuillem Jover1-0/+1
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
2018-07-24test: Add new po author testGuillem Jover1-0/+1
Use i18nspector (if available) to check the .po and .pot files.
2018-07-24build: Distribute autogen scriptGuillem Jover1-0/+1
Fixes: commit c72f539b979a0c8647d2a6c62ee45565cd243b3d
2018-05-03build: Add CPAN distribution machineryGuillem Jover1-1/+3
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
2017-10-17u-a: Add new policykit fileGuillem Jover1-0/+2
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>
2017-09-24debian: Remove maintscript code for downgrades to ancient dpkg versionsGuillem Jover1-1/+0
The code here was handling pre-triggers and pre-multiarch downgrades.
2017-09-24debian: Split alternatives logrotate into its own configuration fileGuillem Jover1-0/+1
This should help some downstreams and derivatives which package update-alternatives on its own package, for example.
2017-09-24debian: Do not set redundant source compression to xzGuillem Jover1-1/+0
The default source compression has been xz for a while.
2017-09-24doc: Add new rootless builds experimental draft specificationNiels Thykier1-0/+1
[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/<target-name> 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 <guillem@debian.org>
2017-09-07build: Remove references to deleted preinst filesGuillem Jover1-2/+0
Fixes: commit c991f1bf5c799f72caecb6d62bcb339171796aa4
2017-05-20test: Add new module-version unit testGuillem Jover1-0/+1
This will check that the module $VERSION matches the newest entry in the CHANGES section if there is any POD present.
2016-11-07Dpkg::Vendor::Debian: Improve PIE flags supportGuillem Jover1-0/+2
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-06Dpkg::Vendor::Debian: Handle PIE enabled by default in gccGuillem Jover1-0/+2
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-10-31arch: Internally represent architectures as quadrupletsGuillem Jover1-1/+2
This allows to detangle the libc used from the calling conventions.
2016-10-30test: Add an initial functional test suite for dpkg-deb and dpkg-splitGuillem Jover1-0/+1
Move various easy tests from the dpkg-tests repository, so that we can test whether the infrastructure is viable.
2016-10-30debian: Remove ancient upgrade code from maintainer scriptsGuillem Jover1-1/+0
These were upgrade recipes from 1.9.x, 1.10.x and 1.15.x.
2016-10-30debian: Remove u-a, dpkg-divert and dpkg-statoverride compat symlinks (again)Guillem Jover1-1/+0
There are very few packages now using the hardcoded paths, with bugs and patches. It's about time to clean this up.
2016-10-30data: Move architecture tables to a new data directoryGuillem Jover1-5/+5
2016-10-29build: Use two space indentation for shell codeGuillem Jover1-8/+8
2016-07-31t: Add POD coverage support for public perl modulesGuillem Jover1-0/+1
2016-07-03test: Add new synopsis unit testGuillem Jover1-0/+1
Make sure all SYNOPSIS sections have compilable code.
2016-07-03test: Add new minimum perl version unit testGuillem Jover1-0/+1
Verify that the perl version we want to restrict ourselves in the coding style is enforced through the test suite.
2016-07-03test: Add new pod-spell unit testGuillem Jover1-0/+1
2016-04-01build: Make git log invocation immune to local configurationGuillem Jover1-0/+1
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.
2016-02-15test: Add a unit test to compile perl code with warningsGuillem Jover1-0/+1
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.
2015-12-12build: Descend into scripts on coverage-clean ruleGuillem Jover1-0/+1
2015-10-18build: Set PERL5LIB globally for the test suite to the local modules directoryGuillem Jover1-1/+0
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 <lunar@debian.org> Stable-Candidate: 1.17.x
2015-01-28test: Check perl code compilation, warnings and strictnessGuillem Jover1-0/+8
2015-01-28test: Rename TAP test directories from test to tGuillem Jover1-3/+3
2015-01-28build: Rename perl scripts to have a .pl extensionGuillem Jover1-2/+2
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.
2014-11-22debian: Reintroduce u-a, dpkg-divert and dpkg-statoverride compat symlinksGuillem Jover1-0/+1
There are still packages using those paths, but the relevant lintian check did not list any, so these got removed prematurely.
2014-10-06build: Split test_programs and test_scripts out of test_casesGuillem Jover1-2/+2
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.
2014-04-26build: Add project version to the C code coverage reportGuillem Jover1-1/+1
2014-04-26build: Stop using a local lcov-prolog templateGuillem Jover1-2/+0
Newer lcov versions already produce UTF-8 encoded output, so there's no need to use our local html prolog. Ref: #590562
2014-04-26build: Inject a Perl coverage index entry into the lcov reportGuillem Jover1-2/+9
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.
2014-04-26build: Enable back lcov branch coverageGuillem Jover1-1/+1
This got disabled by default starting with lcov 1.10, enable it back to get the full coverage report.
2014-04-26build: Use LCOV_OPTS in all lcov related invocationsGuillem Jover1-3/+4
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.
2014-04-26build: Add descriptive titles before each coverage sectionGuillem Jover1-0/+5
2014-04-26build: Generate a C code coverage text report on stdoutGuillem Jover1-0/+1
Print a text report to stdout, like with the Perl coverage.
2014-04-26build: Use 'rm -f' instead of implicit GNU make RM variableGuillem Jover1-2/+2
2014-04-21test: Remove sequence number prefixes from test case filenamesGuillem Jover1-3/+3
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.
2014-04-21build: Rename Makecheck.am to just check.amGuillem Jover1-1/+1
The original name was confusing with Makefile.am, let's be more clear.
2013-06-22doc: Rename README.translators to README.l10nGuillem Jover1-1/+1
2013-06-03build: Handle the ChangeLog as a distributed-only fileGuillem Jover1-6/+1
The ChangeLog file is distributed, and cannot be regenerated outside of the git repository, so do not remove it in DISTCLEANFILES, and move the generation code into dist-hook, which also avoids unnecessary computation during normal builds.
2013-05-08Remove trailing whitespacesGuillem Jover1-2/+2
Do not fix the shlibs conffiles to avoid possible useless prompts. Fixes CodeLayout::ProhibitTrailingWhitespace. Warned-by: perlcritic
2013-04-19test: Add new perl critic test caseGuillem Jover1-0/+2
Mark false positives in the perl code so that perlcritic ignores them, and so that they are documented in-place.
2013-04-19build: Move generic perl test to the top level directoryGuillem Jover1-2/+14
This test is useful for all perl code in the project, not just for the scripts directory. Move it to the top level directory so that we don't have to do strange things referencing sibling directories and similar.
2013-04-19debian: Remove u-a, dpkg-divert and dpkg-statoverride compat symlinksGuillem Jover1-1/+0
There are no packages using absolute paths in the Debian archive anymore.
2013-04-14debian: Drop archtableGuillem Jover1-1/+0
It serves no purpose, it's Debian specific, it's usually outdated relative to the main archive, and everyone should be using dpkg-architecture anyway, or looking at the Debian archive for the distribution supported architectures.