Age | Commit message (Collapse) | Author | Files | Lines |
|
aclocal uses this to determine whether it needs to update m4 files in
local trees.
|
|
The Perl version in Debian stretch is 5.24.1, which is the release that
will be oldstable once 1.20.x gets uploaded to Debian unstable.
|
|
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.
|
|
Set the more generic name from within DPKG_DIST_IS_RELEASE, and use that
directly in the Build.PL.in file.
|
|
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.
|
|
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.
|
|
We need to rename the m4 macro to avoid infinite loops. We will need
this output variable for the CPAN support.
|
|
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.
|
|
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.
|
|
|
|
Fix a couple of function parameter typos surfaced by the new warning.
Warned-by: clang
|
|
This makes it easier to add new ones without accidentally adding
duplicates.
|
|
This is less error prone, less repetitive and the correct thing to do
ayway. Instead of manually passing the positive form for these flags.
|
|
|
|
|
|
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.
|
|
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
|
|
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.
|
|
This has no functional effect, it's just used for output.
|
|
Signed-off-by: Guillem Jover <guillem@debian.org>
|
|
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.
|
|
As found on some BSD systems.
|
|
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.
|
|
|
|
The code setting the compression macros when found was only acting when
explicitly enabling the compression libraries.
|
|
As the former is more portable, and we were using GNUisms.
|
|
It uses perl.
|
|
|
|
|
|
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>
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
This emits a false positive for the test suite.
Warned-by: clang
|
|
We will use the libraries if available and only error out if the user
explicitly selected them via --with-<library> or if the library is a
requirement for an enabled program.
|
|
Although this only affected the static mode.
Regression introduced in commit 067295e958dcc9af87d2adfd0c697e9f87ef7b73.
|
|
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.
|
|
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.
|
|
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.
|
|
|
|
Make all of them consistently follow the pattern --with-lib<name>.
Rename the m4 macros, preprocessor defines, and automake _LIBS flags.
|
|
Disable it for Debian packages for now, as this would pull the library
into the pseudo-essential set and requires discussion in debian-devel.
|
|
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.
|
|
We will try to use the PERL environment variable or fallback to use perl
for the scripts interpreter.
|
|
Remove the notices printed inbetween the checks as this is now printed
as part of the summary.
|
|
|
|
|
|
Do not tie these libraries in a single variable for start-stop-daemon,
instead move the usage to the Makefile.am.
|