Update Swedish translation

man/po/sv.po: 2258t0f0u
po/sv.po: 1090t0f0u
scripts/po/sv.po: 542t0f0u
Update French program translations.

With the help of Julien Patriarca.

Reviewed-by: Raphaël Hertzog <hertzog@debian.org>
Update Danish program translations

[guillem@debian.org:
 - Fix format string.
 - Remove spurious trailing dot. ]

Closes: #754127

Signed-off-by: Guillem Jover <guillem@debian.org>
Update Portuguese programs translation

Closes: #756920

Signed-off-by: Guillem Jover <guillem@debian.org>
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
Use https:// URLs instead of http:// when possible (round two)

Switch more URLs, now that these services have had SSL enabled.
Update some dpkg git URLs to the new and newer (cgit switch) scheme
build: Refactor compiler option checks into a new function
libcompat: Make the library testable

This will allow us to guarantee the compatibility implementations at
least build, and can eventually be tested.
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.
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.
libcompat: Do not run qsort over the scandir list if it is NULL

Warned-by: coverity
libdpkg: Add DPKG_ATTR_THROW and DPKG_ATTR_NOEXCEPT macros
dselect: Mark new and delete operators with new throw and noexcept macros

Warned-by: clang++
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.
libcompat: Add a setexecfilecon() function out from dpkg code

This is now a fallback implementation in case libselinux is too old.
dpkg: Use filenamenodeflags enum instead of wrongly using fnnflags
Replace obsolete <sys/fcntl.h> with <fcntl.h>

The standard location <fcntl.h> instead of <sys/fcntl.h> 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 <sys/fcntl.h>.

Closes: #752036

Signed-off-by: Guillem Jover <guillem@debian.org>
libdpkg: Fix file triggers/Unincorp descriptor leak on subprocesses

Regression introduced in commit 10440009b68f59eeed4cb1b56547e3cf356aa540,
with the initial triggers implementation.

Closes: #751021
Dpkg::Vendor::Debian: Do not disable stack-protector on arm64

The toolchain supports it now on arm64.

Closes: #751032

Signed-off-by: Guillem Jover <guillem@debian.org>