summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt/apt
Commit message (Collapse)AuthorAgeFilesLines
* apt: Upgrade to v2.6.0Sudip Mukherjee2023-05-056-138/+11
| | | | | | | | | | | | | | Changes: Rebase patches for upstream changes Remove upstream applied patches Update homepage Update sha256sum for new version (From OE-Core rev: 2e42fb105e474b5ab25f2d2ded55124838b39e8d) Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: add missing <cstdint> for uint16_tKhem Raj2023-01-241-0/+35
| | | | | | | | (From OE-Core rev: 8c46ded67df2d830c8bbf5f7b82d75db81d797e2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Fix type mismatches and ptest buildsKhem Raj2022-09-202-0/+91
| | | | | | | | | These issues are found with clang15 (From OE-Core rev: 43ac1ce1df152753d9c92360942d99add81bd4ca) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Do not use std::binary_functionKhem Raj2022-08-173-4/+91
| | | | | | | | | This feature is removed from c++17 (From OE-Core rev: 7fcf108c4e115077cf01754c37bb8ce216c24dc8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: upgrade 2.4.0 -> 2.4.3wangmy2022-03-291-7/+5
| | | | | | | | | | | 0001-aptwebserver.cc-Include-array.patch refreshed for new version. (From OE-Core rev: e147934d8dcb31a33ec3396d31a09aa9cdae2a90) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: upgrade 2.2.4 -> 2.4.0Alexander Kanavin2022-03-093-49/+5
| | | | | | | (From OE-Core rev: dabd96bd0b663300b7d6d2e820bafe5b5c70a314) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: drop unneeded chunk from a musl patch, submit the rest upstreamAlexander Kanavin2021-11-251-26/+9
| | | | | | | | | Upstream has inserted guards around the use of offending constant. (From OE-Core rev: 67cf70f17e9b7afe7ee6416f80545be57714fcd9) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: update 2.2.3 -> 2.2.4Alexander Kanavin2021-06-172-2/+2
| | | | | | | (From OE-Core rev: 56f17fb466a35af7ed80df08bf05970a9fe25c9b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Add missing <array> headerKhem Raj2021-05-281-0/+32
| | | | | | | | | This issue is seen with clang/libc++ (From OE-Core rev: 65e9606bae6bcd849e3e30f3ce093ee64838b774) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: upgrade 2.2.2 -> 2.2.3Alexander Kanavin2021-05-252-2/+2
| | | | | | | (From OE-Core rev: 78fb660b67488bdd7e29ca606c22d0a06c5a309f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Fix build on musl when seccomp is enabledKhem Raj2021-04-261-0/+48
| | | | | | | | (From OE-Core rev: 3ffce694d75977895557ff61f27b627c1a11be12) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Do not disable NLSKhem Raj2021-03-231-0/+37
| | | | | | | | | | Add a patch to disable cmake po targets (From OE-Core rev: 28ba2ddcf73400263ae8409f64190d5f109c44b8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Support old resolver as fallbackKhem Raj2021-03-231-0/+44
| | | | | | | | | | | | Not all C libraries implement the new resolver APIs e.g. musl, therefore keep the old interfaces around and choose using __RES version macro which is meant for this kind of work. (From OE-Core rev: 7450cae1d886abe0d6c7b738a9001579c2b530e0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: update 1.8.2.2 -> 2.2.2Alexander Kanavin2021-03-235-99/+11
| | | | | | | | | | | | | | | Drop 0001-test-libapt-do-not-use-gtest-from-the-host.patch (replaced by WITH_TESTS option). Drop 0001-Do-not-configure-packages-on-installation.patch (no longer necessary). Adjust build dependencies. (From OE-Core rev: f0ede019c828249688e2b287b7845f4ebd2d6203) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: remove host contamination with gtestAlexander Kanavin2020-10-304-3/+43
| | | | | | | (From OE-Core rev: 41aa60cdb1e26617e1eeac95a6ffcdd6561c539f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: update to 1.8.2.1Alexander Kanavin2020-06-0419-474/+901
| | | | | | | | | I took the opportunity to rewrite the recipe from scratch; there was just too much baggage in it. (From OE-Core rev: f058272de9cba188d96940c8c921cf31727fe4d1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: The C.UTF-8 locale is not portableAdrian Bunk2020-05-151-0/+27
| | | | | | | (From OE-Core rev: 1df7f2874de6af8846ca218d0467369768a56aa0) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Remove workarounds for host gcc < 5Adrian Bunk2020-05-153-159/+0
| | | | | | | (From OE-Core rev: f905eabaeb6b32ac9f3d6d8695fe9f8628c1bec5) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Remove workaround patches for no longer supported host distributionsAdrian Bunk2019-05-272-117/+0
| | | | | | | | | All still supported host distributions have gcc >= 4.8. (From OE-Core rev: c8eeb487d09cc4bd0f637260dd01d0982745038f) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Backport a patch to include std::array definitionKhem Raj2019-01-211-0/+35
| | | | | | | | | This partial backport helps compiling apt with clang/libc++ (From OE-Core rev: 50d62a99341d06b8cc0efa1da25cd271e3b6ea9b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: refresh patchesRoss Burton2018-03-095-33/+34
| | | | | | | | | | | | | | | | | | | | | The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: a70103a6e400caaa87e1d36a7e59be7f3059a3bb) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Upgrade to 1.2.24Aníbal Limón2017-08-234-12/+171
| | | | | | | | | | | | | | | | | | | | | | | Add new patches for enable builds on hosts that has GCC version minor than 5 because doesn't support std::array and std::put_time, those patches could be removed after get rid of Debian8 and Centos7 support. - gcc_4.x_Revert-avoid-changing-the-global-LC_TIME-for-Release.patch - gcc_4.x_Revert-use-de-localed-std-put_time-instead-rolling-o.patch - gcc_4.x_apt-pkg-contrib-strutl.cc-Include-array-header.patch The LIC_FILES_CHKSUM changed because the license file now has style changes in the text remains GPLv2+. The patch Revert-always-run-dpkg-configure-a-at-the-end-of-our was updated because now the precision fields use floating point numbers. (From OE-Core rev: da99ae14c3a5719b317ff71b8f778a7c987f6158) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Fix malformed Upstream-Status tagsRoss Burton2017-06-271-1/+1
| | | | | | | | | | Fix a variety of spelling and format mistakes to improve the ease of reading the tags programatically. (From OE-Core rev: 6e1aaf80b0d951b48cd25cb7161ec19448295094) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Fix build in musl it was break due to upgrade to 1.2.12Aníbal Limón2016-08-101-0/+50
| | | | | | | | | | | | methods/connect.cc: Musl doesn't support AI_IDN flag in netdb.h header so define it manually. apt-pkg/contrib/srvrec.h: Add explicity include of sys/types.h to avoid errors in types u_int_SIZE. (From OE-Core rev: a088018e6e36073c0723b160f8b087a5243836ee) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Upgrade to 1.2.12Aníbal Limón2016-08-044-399/+78
| | | | | | | | | | | | | | | | | | | | | | | | Test was made building core-image-sato with package_deb on qemux86 and qemuarm then run for two of them testimage and install packages with apt-get using PACKAGE_FEED_URI's configuration. Now apt support drop priviligies for install packages using a sandbox with _apt user, the useradd class was inherit and configured to install _apt user and group. Rebased patches: - 0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch - 0001-fix-the-gcc-version-check.patch - 0001-remove-Wsuggest-attribute-from-CFLAGS.patch - disable-test.patch - no-curl.patch (From OE-Core rev: 369a7f7232aa8406b63376f7888896fe90f9ce40) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Add support for building for musl targetsKhem Raj2016-01-241-0/+29
| | | | | | | | | | | Turn bzip2 support into a PACKAGECONFIG zlibs is a must have and therefore add it to DEPENDS will make the build consistent (From OE-Core rev: ded03dab901647a7388d219a3a228d4f4f4298e8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: update to 1.0.10.1Alexander Kanavin2015-08-1112-0/+823
(From OE-Core rev: 37c8700560b6da569cdf9d7c306a9aa31dcdf06f) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>