304 Commits
Author SHA1 Message Date
David Kalnischkies 8fd6574858 Remove unused public zlib include from libapt fileutl.h
Our public interface doesn't use zlib for quite a while now so lets drop
the last remnants as hopefully nobody depends on us bringing it in…
Unlike our own private lib for transitive provision of unistd.h.

References: 680b916ce7
2022-05-07 10:45:44 +02:00
David Kalnischkies c5b22c3dab Add pkg.apt.nodoxygen build profile
The documentation generated by doxygen is currently not reproducible,
but as fixing this seems hard we can at least provide a way to check
more automatically if the rest of src:apt is reproducible or not.
2022-05-07 10:45:44 +02:00
David Kalnischkies cd92098caa Avoid building all docs in nodoc build profile
Differentiating between different types of documentation we build helps
in better expressing what needs to be done for our arch:any and arch:all
packages currently as well.
2022-05-07 10:45:44 +02:00
Vagrant Cascadian 725fef5ebf Add support for "nodoc" build profile
References: https://wiki.debian.org/BuildProfileSpec#Registered_profile_names
Closes: #1009797

[@donkult: reworded commit message slightly & changed variable name]
2022-05-07 10:45:44 +02:00
Julian Andres Klode 30f47dc8d6 Require dpkg >= 1.20.8
We use a Breaks for the binary package instead of adding
a versioned depends, as Breaks will cause apt solver to upgrade dpkg,
while depends would make apt try to remove apt as first choice.
2021-04-21 11:49:50 +02:00
Julian Andres Klode 1460eebf2a Use XXH3 for cache, hash table hashing
XXH3 is faster than both our CRC32c implementation as well
as DJB hash for hash table hashing, so meh, let's switch to
it.
2020-12-15 13:47:22 +01:00
Debian Janitor 45672b5ba8 Apply multi-arch hints.
+ apt-doc, libapt-pkg-doc: Add Multi-Arch: foreign.

Changes-By: apply-multiarch-hints
2020-11-23 17:47:39 +00:00
Julian Andres Klode 4cf64a718f Bump ABI to 6.0 2020-02-18 12:37:21 +01:00
Julian Andres Klode 6a3bdfb2f0 debian/control: Bump libseccomp-dev Build-Depends to >= 2.4.2
Version 2.4.2 is needed for the new syscalls we added to the
whitelist.
2020-02-10 08:59:06 +01:00
Julian Andres Klode 814ffcfaf3 hashes: Use Libgcrypt for hashing purposes
Switch the code of the Hashes class to use libgcrypt, which allows
us to use hardware-accelerated implementations of SHA1 and friends.
2020-01-14 13:10:36 +01:00
David Kalnischkies 507f9ae50f Drop g++ build-dependency to help crossbuilding
Introduced to help with an ABI break this is now long enough in the
past that we can go back to not explicitly depend on g++ anymore as it
is part of build-essential.

References: f63b3e01e4
Closes: #948201
2020-01-05 12:38:27 +01:00
Julian Andres Klode c743224c3b Change soname to libapt-pkg.so.5.90
This is a bit experimental, and we'll go through a few stages
before reaching libapt-pkg.so.6.0.
2019-05-06 16:07:36 +02:00
Julian Andres Klode dfe2511e31 Merge libapt-inst into libapt-pkg 2019-05-06 12:14:04 +02:00
Julian Andres Klode 60cc44d160 Prevent shutdown while running dpkg
As long as we are running dpkg, keep an inhibitor that
blocks us from shutting down.

LP: #1820886
2019-05-03 16:37:50 +02:00
Ivan Krylov 3a0681754f Mark apt-transport-https as M-A:foreign
The package is an empty dummy by now, but even before it could have made
sense as described in the bugreport and due to external requirements it
might stick around a while still.

References: afe3cd6ef1
Closes: #905141
2019-04-05 16:42:02 +02:00
Julian Andres Klode 0f51535e9b Tighten dependencies from apt and apt-utils on libs
Make apt pull in at least the same version of libapt-pkg,
and apt-utils at least the same version of libapt-inst,
so that upgrading only apt also upgrades the libraries.
2019-03-19 17:49:39 +01:00
Julian Andres Klode f741491272 Use system-provided triehash 2019-03-11 11:15:20 +01:00
Julian Andres Klode 241ed15da4 Bump SONAMEs in preparation for ABI breaks 2019-02-26 16:31:20 +01:00
Julian Andres Klode 57d7e63f5f debian: Update to debhelper-compat (= 12)
Switch from debian/compat to the new Build-Depends syntax - that's
way nicer.
2019-02-07 14:43:55 +01:00
Julian Andres Klode 95612ea3b7 debian/control: Drop libcurl4-gnutls-dev build dependency
Not needed since quite some time.
2019-01-22 18:37:49 +01:00
Julian Andres Klode 5d1dfd120a Adjust libapt-pkg Breaks aptitude to << 0.8.9
The << 0.8.11 was stronger than necessary, and breaks Ubuntu,
which is unable to build aptitude 0.8.11 atm (the test suite
fails since 0.8.10 in C++17 mode, only works in C++14, but
0.8.11 uses C++17 constructs).
2018-11-14 12:05:25 +01:00
Julian Andres Klode a18f38976d Break pre-gcc8 aptitude and apt
gcc 8 broke the ABI again. After they decided to switch mangling of ABI tags in return values from:

 U URI::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >[abi:cxx11]()
to:
 U URI::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >()

in gcc 7, they now removed the legacy symbol in gcc 8, causing us to break our ABI in turn
for that one operator. We need more responsible gcc developers.

Closes: #911090
2018-10-22 11:38:11 +02:00
Julian Andres Klode 6685536344 Build with cmake+ninja instead of cmake+make 2018-04-17 16:35:25 +02:00
Julian Andres Klode 1cbb4c95f3 Merge branch 'pu/zstd' into 'master'
pu/zstd

See merge request apt-team/apt!8
2018-04-15 18:57:53 +00:00
David Kalnischkies c6c6c8fe93 set our two libapt libraries to prio:optional
The override file already implements this, so we just adapt to reality.

Reported-By: lintian excessive-priority-for-library-package
2018-04-07 14:35:40 +02:00