summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dpkg
Commit message (Collapse)AuthorAgeFilesLines
* dpkg: upgrade 1.22.11 -> 1.22.21Gyorgy Sarvari11 hours2-5/+4
| | | | | | | | | | | | | | All executables and scripts (except for start-stop-daemon script) were moved from sbin to bin after the following commit: https://salsa.debian.org/dpkg-team/dpkg/-/commit/12e3bc2991ac27f73545a246bb95b84fb8d262c9 Changelog: https://salsa.debian.org/dpkg-team/dpkg/-/blob/main/debian/changelog (From OE-Core rev: 7535978c5821c1b77cd676fc0aa6e30c24c8dd5a) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove consecutive blank linesAlexander Kanavin2025-06-201-1/+0
| | | | | | | | | | | | | | | | | Some of them were introduced by mass-removal of S = WORKDIR/git assignments; rather than try to fix up (or redo) just these, I've run this sed command over the whole tree: sed -i -z -E 's/([ \t\f\v\r]*\n){3,}/\n\n/g' `find . -name *.bb -o -name *.inc` The rationale is that more than one empty line is wasting vertical screen space, and does nothing for readability. (From OE-Core rev: cedc4ff7c9bcfb22a20e43e47f9759f4007a4f1a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove S in recipes that fetch from git via setting ↵Alexander Kanavin2025-06-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BB_GIT_DEFAULT_DESTSUFFIX Removing all the S = ${WORKDIR}/git assignments works because BB_GIT_DEFAULT_DESTSUFFIX is set to match S from bitbake.conf (which itself is set to match typical tarball releases). A few recipes are setting S to a sub-directory of the git tree and need to be adjusted accordingly. bzip2 recipe is fetching a tarball and separately cloning tests; adjust the recipe to put the latter into 'bzip2-tests', instead of 'git'. devupstream.bbclass no longer needs to rewrite S, and is adjusted accordingly. Adjust scripts/lib/recipetool/append.py to not hardcode 'git' as unpack destination. Adjust kernel-yocto.bbclass to use the git unpack variable instead of hardcoding 'git' (there's also removal of repetition of string constants and a correction of workdir/unpackdir mismatch in one of the if-else branches). Ensure build-appliance-image recipe does not use 'git' as checkout directory for poky repo, but rather explicitly name it 'poky'. Ensure reproducible.py code that looks for git repositories does not hardcode 'git' but uses the destination set by BB_GIT_DEFAULT_DESTSUFFIX. Ensure recipetool does not write out unneeded S settings into newly created recipes that fetch from git. Adjust selftest to not hardcode 'git' as unpack directory. (From OE-Core rev: f80c07019ddadaf9c5fb890faabfda7920ecd15e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: drop suffix from version numberYi Zhao2025-04-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | The current dpkg runtime version is generated by 'git describe' command in build-aux/get-version. But since we have made changes to git repo locally, it adds a -dirty suffix to the version number. Add a .dist-version file in the source directory. Then get-version can determine the version through .dist-version instead of "git describe" command, thus removing the -dirty suffix. Before the fix: $ dpkg --version Debian 'dpkg' package management program version 1.22.11-dirty (amd64). After the fix: $ dpkg --version Debian 'dpkg' package management program version 1.22.11 (amd64). (From OE-Core rev: 04d00d69941a9d09bfbb0956186db7a7d0961327) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: upgrade 1.22.10 -> 1.22.11Alexander Kanavin2024-08-2313-29/+24
| | | | | | | (From OE-Core rev: 591822baa4d0148ef56e2485d039cc807bbc91a8) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: upgrade 1.22.6 -> 1.22.10Trevor Gamblin2024-08-032-12/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This required a refresh of patch '0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch'. Since it didn't have a proper commit message or signoffs, I also added those and renamed the patch in the process. The original title is now the description. Wasn't able to find a new changelog, so commit history will have to do: ef5536cfe (tag: 1.22.10) Release 1.22.10 e4d8d44dd po: Regenerate .pot files and merge .po files with them 58146a371 Revert "scripts/mk: Reduce the number of subprocesses" 3618de586 Dpkg::Changelog: Remove useless escaping for - af10377e2 Dpkg::Changelog::Entry::Debian: Remove obsolete /o modifier from regex dd4d53d97 build: Simplify C standard check output adc3dd67b build: Fix dpkg_cv_c99 assignment in DPKG_C_C99 macro 1b562a0e9 build: Fix length for comment bar line after autoconf functions f320bc0f8 build: Use pre-defined macros to check C/C++ conformance requirements a2f7f85d5 build: Do not define macros for C/C++ standard level e2b256176 Bump version to 1.22.10 82ab77437 (tag: 1.22.9) Release 1.22.9 5dcf833c2 po: Regenerate .pot files and merge .po files with them b40d59472 scripts/mk: Fix typo in comment c05f82972 scripts/mk: Fix pkg-info.mk evaluation by adding new DEB_TIMESTAMP variable 05efe8360 test: Fix typos in Makefile comments 80bdfdfe5 s-s-d: Use a stop context to track the current state 78a970dba dpkg-deb: Track maintscript information in a new struct 514b761a1 dpkg-deb: Print pathname instead of filename and directory in error output f7978c885 dpkg-deb: Add long options for short-only compression ones 06dd1ad0f Bump version to 1.22.9 e9a8f699f (tag: 1.22.8) Release 1.22.8 ccaea43c6 po: Regenerate .pot files and merge .po files with them 017079b0c scripts/mk: Fix make variable expansions passed to dpkg-buildflags 574081691 scripts/mk: Ensure dpkg_datadir is computed once f2f447be4 po: Update Catalan translations 286fc7467 Dpkg::Archive::Ar: Rework _read_buf() error messages to make l10n easier ad717618e po: Update German programs translation 127d25ed1 libdpkg: Fix execname support on GNU/Hurd 94e577411 build: Update lcov usage for version 2.0 1aba90294 doc: Update Doxygen configuration from version 1.9.8 7c1ab6e31 Bump version to 1.22.8 7603b54e2 (tag: 1.22.7) Release 1.22.7 956bede10 po: Regenerate .pot files and merge .po files with them 3eca339cc dpkg-buildpackage: Reference the .dsc in .buildinfo if building from one 555f9fe3c dpkg-buildpackage: Add support for building from a specified .dsc or dir a0e40ff85 perl: Use new Dpkg::Source::Package->get_basedirname() method 5ca492db5 Dpkg::Source::Package: Add a new get_basedirname() method 98adc2ec5 Dpkg::Source::Package::V3::Bzr: Remove unused variables 044955f9b Dpkg::Source::Package: Document method additions with an object 00f0fb173 Dpkg::Substvars: Add support for required substvars assigned with != df60765ed Dpkg::Vendor::Debian: Guarantee UTF-8 locale codeset on sanitize-env 259debe76 build: Do not include VCS specific files in the distributed tarball 5a381b45a build: Include a .dist-vcs-url file in the distributed tarball 4c6e077bf libdpkg: Do not try to strdup() a NULL pointer in dpkg_get_pid_execname() 4ec4dcd01 libdpkg: Remove unused variable in dpkg_get_pid_execname() on GNU/Hurd 99bba12f0 libdpkg: Try to print the executable name of the lock contending process d6a9bb695 libdpkg: Add new execname module b7dc60447 dselect: Use enum values instead of literal integers e56be2165 libdpkg: Check for updateslength < 0 instead of == -1 in ulist_select() af5c8d99e libdpkg: Check for limit >= 0 instead of != -1 in buffer_copy() 1a7b7d52e dpkg: Check for < 0 instead of == -1 for conffderef() return values 4682652aa Check for >= 0 instead of != -1 for syscall return values 5601b4769 Check for < 0 instead of == -1 from syscall return values 040922cf0 dpkg-realpath: Guarantee varbufs have been allocated f724d5076 Revert "dpkg-realpath: Switch direct varbuf accesses to varbuf_str()" 0fee7b211 dpkg-realpath: Switch direct varbuf accesses to varbuf_str() 474db9879 dpkg-realpath: Do not allow an empty pathname argument 983fadb9e libdpkg: Do not accept len >= INT_MAX in fd_read() and fd_write() 9ff1f50b1 libcompat: Fix vasprintf() to error out if vsnprintf() returns >= INT_MAX 811651673 build: Check whether HAVE_* macros for headers are defined 83c6705c1 s-s-d: Fix typos in code comments 4993ac06a build: Add missing files and sort POTFILES.in 45317f873 test: Switch ar m4 macros to use internal dpkg-ar implementation 865322b2a dpkg-ar: New internal ar implementation script fbee9f6d4 Dpkg::Archive::Ar: New module 9b2f0100f test: Refactor ar handling into m4 macros 59ce405f3 test: Unify all ar invocations into create, extract and list 7e27cbae0 Dpkg::Shlibs::Cppfilt: Normalize demangled symbols with llvm or C++11 format 1c7f9f2be test: Only execute Dpkg::Shlibs checks on ELF platforms ef9d366fe test: Add new DPKG_CHECK_DIFF macro to abstract file comparisons 3533e05c2 Dpkg::Vendor::Debian: Set -Wno-error on qa=-bug-implicit-func 0dff3528b po: Update German scripts translation 0b7988833 po: Update German man pages translation 33e3074db Dpkg::OpenPGP::ErrorCodes: Update error codes from SOP draft version 10 0274e3d35 dpkg-buildpackage: Make newline injection during signing GnuPG specific 8389e7010 lib, src: Include missing <stdbool.h> c94e16d93 Dpkg::Vendor::Debian: On native builds map *_FOR_BUILD flags to * flags 17456a341 Merge conffile obsolete and remove-on-upgrade into a single flags member b11ffedca dpkg: Refactor conffile disappearing check into a new function 09ae88618 dpkg-shlibdeps: Add support for new --package option e16a155f5 dpkg-shlibdeps: Refactor executable CLI parsing 01505a922 libdpkg: Factor fsys_list_parse_buffer() out of ensure_packagefiles_available() 6410d905b test: Clarify the Makefile fragment variable being tested via comments 1e9c98a43 test: Parametrize all Makefile fragment functional tests 7e73ffda9 test: Set CC to gcc in make fragments functional tests d8ff5ef85 scripts/mk: Stop hard-coding dpkg_datadir a0b4da48c scripts/mk: Replace more GNU sed constructs with POSIX ones 57048fc8c build: Fix test verbose and parallel option propagation deb4cfe60 build: Workaround Tap::Harness verbose misbehavior on parallel mode f2407763c doc: Fix casing after admonition 153a7c8de doc: Fix grammar for fallback 86fe73a5a po: Update German man pages translation 17dd89881 libdpkg: Make varbuf_detach() always return a string 0e589d3fc libdpkg: Make prefix and suffix varbuf checks cope with unallocated varbufs 7f287adcd libdpkg: Compute string slice for varbuf_has_suffix() check on good values 61b221cf7 man: Update verify format example to also include M 6d6488a9e dpkg: Do not run hooks or loggers with --dry-run or unprivileged bc4dc7153 debian: Suppress s-s-d compat symlink if /sbin is missing 98e16e2eb dpkg-genbuildinfo: Parse Provides as virtual packages b126d9726 test: Refactor real and virtual package setup b33121e1f po: Update German man pages translation b33417497 libdpkg: Turn the warning on Provides version relation into a lax error 77cd6c000 libdpkg: Refactor lax problem reporting into parse_lax_problem() function 4ed783dc7 man: Document weak checksum algorithms e5fb453b3 man: Document missing Packages front-end fields in dpkg-query(1) 77f1ce33a po: Update Dutch man pages translations 9dff67290 libdpkg: Mark file_slurp_fd() NUL-terminate the varbuf e146a68a3 scripts/mk: Reduce the number of subprocesses 970350af0 test: Test override of a build tool 48a52db41 test: Add missing test for CPP build tool 0b4d3ad3d test: Test DEB_CXXFLAGS_MAINT_SET 0a3195357 test: Test variable override 4b04e760a test: Test exported variables in addition to Make variables bb01e59d8 test: Replace double quotes with single quote in shell recipes d583f4846 test: Use loops instead of repetitions in mk fragment tests 4c7702871 test: Simplify buildflags.mk test of _MAINT_APPEND when TEST_ is empty ce5c5af16 test: Unset DEB_BUILD_MAINT_OPTIONS in build flags tests f1175056f build: Rework subst handling for built or installed artifacts 84d82aaaf po: Update German programs translation f8d4dc399 po: Update German man pages translation 24a7aee46 Revert "test: Pass -T+1 to xz to workaround spurious warning with xz 5.6.0" 0f4000a29 test: Initialize varbuf before use 489c0f4b2 libdpkg: Add missing header includes 51b9b23c4 po: Update Swedish translations 0f503ee3a src: Check whether SOURCE_DATE_EPOCH is set before parsing it 2b771a88e src: Fix timestamp parse error reporting f6d747035 dpkg: Use a variable for each conffile pathname type 42158472a dpkg-realpath: Rewrite in C 9d410b391 libdpkg: Add new file_getcwd() function f382029ba libdpkg: Add new varbuf prefix and suffix handling functions e5c856f73 libdpkg: Add support for DPKG_NLS environment variable 24287281f man: Document DPKG_COLORS and DPKG_NLS for all perl scripts honoring them e309f8639 man: Add new libdpkg(7) manual page 46ca7d944 build: Pass abs_srcdir and abs_builddir to the TAP driver ae03bfd28 libdpkg: Remove varbuf_end_str() function cae07d61c libdpkg: Always NUL terminate varbufs fe1c99810 Use varbuf_str() instead of direct access 426997f83 libdpkg: Rename varbuf_get_str() to varbuf_str() aea0858f5 libdpkg: Change varbuf_get_str() to return "" instead of initializing it bfecc8f13 test: Pass --check-level=exhaustive to cppcheck 54a1a23d3 scripts/mk: Generate the _FOR_BUILD variant of each variable automatically 61f824cf1 scripts/mk: Search once for parrallel= in DEB_BUILD_OPTIONS d5835c587 scripts/mk: Use explicit test of $(origin) instead of ?= c0dde13fd scripts/mk: Use filter instead of findstring 8966616fa scripts/mk: Protect files against double inclusion f268c3733 po: Update German man pages translation 3e430c1f2 man: Document DEB_BUILD_ARCH and DEB_HOST_ARCH usage in commands 54a6ad9db build: Add support to track release VCS commit id 00707c50e build: Print the release version at the end of configure 4d9214444 po: Update German man pages translation 2c55113b6 build: Partially revert the sanitizer for some functional tests in CI 78a5e8e24 Dpkg::Vendor::Ubuntu: Use -fcf-protection=none instead of -fno-cf-protection 281c308ee libdpkg: Handle readlink() failures in file_readlink() 197fa86fc Dpkg::BuildDriver: Refactor build driver out of dpkg-buildpackage bab74e22a dpkg-buildpackage: Refactor build target hook execution c711bc865 dpkg-buildpackage: Fix the debian/rules executable check to respect -R f4a75f138 dpkg-buildpackage: Remove fallback handling for missing required targets 7b6e42a13 libcompat: Include missing <string.h> in strnlen module 6a22037c2 build: Do not check for functions used unconditionally 4c586e344 build: Do not check for memcpy() 2eb48ad0c build: Unconditionally include <stddef.h> 4921ef18c build: Add missing space before backslash ebd19171d build: Re-enable the sanitizer for functional tests in CI 7348ad792 doc: Add missing full stop to end of sentence 0d3527afd test: Do not fail the functional test suite due to memory leaks 5cdc783e5 libdpkg: Factor out filesystem database file loading into new function cedd58200 po: Update German man pages translation dfa1ac937 Bump version to 1.22.7 (From OE-Core rev: 576ac47a278eeadb7be65129492906f9260fe958) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: mark patches adding custom non-debian architectures as inappropriate ↵Alexander Kanavin2024-06-245-5/+5
| | | | | | | | | | for upstream (From OE-Core rev: da9906553c69af0db8b14c39ee224348d539e7b1) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: upgrade 1.22.5 -> 1.22.6Wang Mingyu2024-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============ -po: Regenerate .pot files and merge .po files with them -Dpkg::Vendor::Debian: Unconditionally set qa bug-implicit-func -build: Fix typo in CI config -build: Add gen-release script -test: Skip OpenPGP tests if the backend does not have a verify command -test: Refactor certfile and keyfile filenames for OpenPGP test -test: Refactor OpenPGP backend and commands list -build: Test with minimal library dependencies in CI -dpkg-deb: Fix up compressor parameters for default legacy format -man: Document dpkg versions supporting SOURCE_DATE_EPOCH for various tools -debian: Fix typo in man page reference in changelog -po: Fix typos in Swedish man pages translations -po: Update Dutch man pages translations -po: Update Portugese man pages translations -Dpkg::Vendor::Debian: Make it possible to disable qa=-bug-implicit-func -libdpkg: Use a macro to define the zstd default compression level -libdpkg: Use array access instead of pointer arithmetic for meminfo parser -po: Update German man pages translation (From OE-Core rev: b9b4ad48812add8b59d3b17e5c3bd9fd3f8744c7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: update 1.22.0 -> 1.22.5Alexander Kanavin2024-04-1615-104/+73
| | | | | | | | | Drop pager.patch as macros removed upstream. (From OE-Core rev: 63df660741742baf527647d3036b6d3414869c4f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: upgrade to v1.22.0Sudip Mukherjee2023-09-032-6/+5
| | | | | | | | | | | Changes: Use main branch Rebase patch (From OE-Core rev: 7620c855b77937b664b18f6aae29541f883a81f0) Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: upgrade to v1.21.22Sudip Mukherjee2023-06-131-1/+1
| | | | | | | | (From OE-Core rev: 56bdf69a06be21ea376303fbb4d50e9dd570cdbb) 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>
* dpkg: update 1.21.20 -> 1.21.21Alexander Kanavin2023-03-111-2/+2
| | | | | | | | (From OE-Core rev: a79382c53aa8fcf143192b3aa275ab9758af8fdf) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: upgrade 1.21.19 -> 1.21.20Alexander Kanavin2023-02-202-2/+2
| | | | | | | | (From OE-Core rev: e31998514ea509cbe7bebc364f68313453e4307f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: upgrade 1.21.18 -> 1.21.19Alexander Kanavin2023-02-092-2/+2
| | | | | | | | (From OE-Core rev: ee2e6df77028288cb7b6aecbf75e4426ec4edb41) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: upgrade 1.21.17 -> 1.21.18Wang Mingyu2023-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== * Perl modules: - Dpkg::BuildFlags: Fix strip method to always work with duplicates. * Documentation: - man: Add a note to dpkg-fsys-usrunmess(8) about Debian support. * Code internals: - libdpkg: Move compression level max bound check from dpkg-deb. - libdpkg: Switch dpkg_lzma_strerror() to use struct io_lzma. - libdpkg: Split compression filter operation tracking from its status. - libdpkg: Generalize compression stream action handling. - libdpkg: Abstract compression stream status tracking. - libdpkg: Add zstd support for .deb archives. Closes: #892664 * Build system: - Update .mailmap mappings. * Packaging: - Update copyright years. * Test suite: - Add dpkg-deb build and extract tests. (From OE-Core rev: 22666e97b100b44bea85ede144ab6b4e0a2f7006) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: upgrade 1.21.13 -> 1.21.17Wang Mingyu2023-01-121-1/+1
| | | | | | | | (From OE-Core rev: 9a5603fc0777400dd15d1853b2389604488ad2f6) 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>
* dpkg: update 1.21.9 -> 1.21.13Alexander Kanavin2022-12-284-18/+13
| | | | | | | | | libmd is a new dependency. (From OE-Core rev: 53862dd494c849db771d986752ca5dab464dc6cb) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: upgrade 1.21.8 -> 1.21.9wangmy2022-07-121-1/+1
| | | | | | | (From OE-Core rev: 5eb32f3557d0b2fd7b7f23964180054ff2d8879b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: upgrade 1.21.7 -> 1.21.8wangmy2022-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== * dpkg-statoverride: Add support for --force-not-root. Closes: #1009069 * dpkg: Fix <De-configuring> message to allow configuration to use new version. * Perl modules: - Dpkg::Source::Archive: Prevent directory traversal for in-place extracts. - Dpkg::Substvars: Add support for optional substvars assigned with ?=. * Documentation: - man: Reference deb-substvar(5) from dpkg-source(1) and dpkg-shlibdeps(1). - man: Structure and clarify deb-substvars(5). * Build system: - Unhook dist-cpan from make dist target. * Packaging: - Silence warning about merged-usr-via-aliased-dirs on Ubuntu. - Remove useless [] around tr sets. * Localization: - Update Dutch translations. Closes: #1010031, #1010032, #1010033 - Update Portuguese man pages translations. Closes: #1011095 * Localization: - Update German man pages translation. (From OE-Core rev: 83d530c9cbecf60b94739d582a3cb47e992270ba) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: upgrade 1.21.4 -> 1.21.7wangmy2022-04-191-1/+1
| | | | | | | | (From OE-Core rev: 8f6bdb017739f8c12b9b54e450d75d31b4affeb2) 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>
* dpkg: upgrade 1.21.2 -> 1.21.4wangmy2022-03-291-1/+1
| | | | | | | | (From OE-Core rev: cddde2f9f6e229b750dc0bca8109f6a1f57d9dcd) 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>
* dpkg: upgrade 1.21.1 -> 1.21.2wangmy2022-03-167-52/+59
| | | | | | | | | | | | | | | The following patches refreshed for new version: 0001-build.c-ignore-return-of-1-from-tar-cf.patch 0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch 0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch 0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch noman.patch remove-tar-no-timestamp.patch (From OE-Core rev: d495c19b835e8e4c049b83e983487fc8de021499) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-201-1/+1
| | | | | | | | | | | | | license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: update 1.20.9 -> 1.21.1Alexander Kanavin2021-12-174-75/+8
| | | | | | | (From OE-Core rev: f274f495aedd42c951aafd2cec39be159225b3c5) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: replace a patch with a tweak to an already existing sed fixupAlexander Kanavin2021-11-253-26/+2
| | | | | | | (From OE-Core rev: b9751b21f4234854f8750f1048bb54f578bd95d3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patches: correct whitespace/spelling for Upstream-Status tagsAlexander Kanavin2021-11-211-1/+1
| | | | | | | (From OE-Core rev: c613ca14c35a5d1782c79a25b83875cbfa2b952b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: Install dkpg-perl scripts to versioned perl directoryManuel Leonhardt2021-11-031-2/+2
| | | | | | | | | | | | | | | | | | | | Install dpkg-perl scripts to versioned perl directory, otherwise the following traceback happens when running, e.g. dpkg-architecture on the target: Can't locate Dpkg.pm in @INC (you may need to install the Dpkg module) (@INC contains: /usr/lib/perl5/site_perl/5.30.1/aarch64-linux /usr/lib/perl5/site_perl/5.30.1 /usr/lib/perl5/vendor_perl/5.30.1/aarch64-linux /usr/lib/perl5/vendor_perl/5.30.1 /usr/lib/perl5/5.30.1/aarch64-linux /usr/lib/perl5/5.30.1 .) at /usr/bin/dpkg-architecture line 25. Cc: Richard Purdie <richard.purdie@linuxfoundation.org> (From OE-Core rev: bdd4757ae057c7b3bfe27353fa25c4d7807a86ce) Signed-off-by: Manuel Leonhardt <mleonhardt@arri.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-022-20/+20
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: Add ARC supportAlexey Brodkin2021-06-272-0/+69
| | | | | | | | | | | | This back-ports ARC support which was added after the most recent tag 1.20.9 was cut. So on the next version bump this change to be reverted. (From OE-Core rev: aa0493af960cac5c2346c81100eb31d757c561a0) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: update 1.20.7.1 -> 1.20.9Alexander Kanavin2021-05-091-2/+2
| | | | | | | (From OE-Core rev: 2000040d92a41ef5ae594aed2482a7b33d17dda9) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/recipes-devtools: Add HOMEPAGE / DESCRIPTIONDorinda2021-02-261-0/+2
| | | | | | | | | | | Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage [YOCTO #13471] (From OE-Core rev: bb05814335e7101bfd8df0a11dc18a044e867bed) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: update 1.20.5 -> 1.20.7.1Alexander Kanavin2021-02-093-7/+31
| | | | | | | (From OE-Core rev: b13ebb89b63a8a7d1c5d688c72c4aa4f54088963) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: add nativesdk supporthongxu2021-01-161-5/+8
| | | | | | | | | | | | | | | | | | | | | | | - Add nativesdk support and override EXTRA_OECONF and PROV for nativesdk - Replace ${bindir} with ${STAGING_BINDIR_NATIVE} for perl-native shebang to fix QA error of shebang too long in nativesdk build - Conditionally (except musl) add ldconfig to runtime depends to fix the following issue on target [snip] ... dpkg: warning: 'ldconfig' not found in PATH or not executable dpkg: error: 1 expected program not found in PATH or not executable Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and/sbin E: Sub-process /usr/bin/dpkg returned an error code (2) [snip] (From OE-Core rev: a69eee72b25411880146821fe4ec07be4704afee) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: upgrade 1.20.0 -> 1.20.5Richard Purdie2020-07-182-5/+6
| | | | | | (From OE-Core rev: 3aa7081ae85b84deb7e3fe49babc48c5d9919dc6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: change SRC_URI to take dpkg from gitChangqing Li2020-07-122-4/+17
| | | | | | | | | tar.xz on original URL have been removed, switch to use git (From OE-Core rev: b8173a9a5c8bfbfa30bbf066cfbcb1c0eba1b98d) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg-native: rebase and reinstate fix for "tar: file changed as we read it"Paul Eggleton2020-06-232-0/+54
| | | | | | | | | | | | | | | | | | | | In OE-Core rev 8ee36a5f2f9367550d28bf271afc53bca6ff3d5f a patch was added for dpkg to ignore a return of 1 from dpkg's calls to tar (which indicates that files changed in some way while tar was operating) we were observing failures on the autobuilder due to changes to link counts in hard-linked file trees. The patch was subsequently rebased and then later removed during an upgrade in 3812f58b3a438ae533c282170416cdd1681868e0 on the assumption that the fix had been applied upstream, however that was not the case. I am now occasionally seeing these errors in my builds without any apparent material change to the files, so rebase and reinstate the patch. Fixes [YOCTO #13913]. (From OE-Core rev: 3f871fae96e72afa49b9d6a05c96af49173b8a60) Signed-off-by: Paul Eggleton <paul.eggleton@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: Remove workaound patch for host tar < 1.27Adrian Bunk2020-06-092-39/+0
| | | | | | | | | tar >= 1.28 is already required. (From OE-Core rev: 5643dd73fd1ce4d2813d86a2388df85b48e9a135) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: upgrade 1.19.7 -> 1.20.0Alexander Kanavin2020-06-042-3/+12
| | | | | | | (From OE-Core rev: 72166e5dbbf6b2c89f890caf1c33d9e4f98cf925) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: Add riscv32 CPU supportKhem Raj2020-05-032-0/+40
| | | | | | | (From OE-Core rev: 6fef4583a6b578427ffd776d0ec1488649e924a7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: Provide update-alternative for start-stop-daemonJason Wessel2019-08-121-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using DISTRO_FEATURE usrmerge, busybox and something that requires dpkg-start-stop there is a conflict which prints the following error. === ERROR: core-image-minimal-1.0-r1 do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot, then please place them into pkg_postinst_ontarget_${PN} (). Deferring to first boot via 'exit 1' is no longer supported. Details of the failure are in /build/tmp-glibc/work/intel_x86_64-linux/core-image-minimal/1.0-r1/temp/log.do_rootfs. ERROR: core-image-minimal-1.0-r1 do_rootfs: Function failed: do_rootfs === Looking at the log file, it shows the problem: update-alternatives: Error: not linking /build/tmp-glibc/work/intel_x86_64-linux/core-image-minimal/1.0-r1/rootfs/usr/sbin/start-stop-daemon to /usr/bin/busybox.nosuid since /build/tmp-glibc/work/intel_x86_64-linux/core-image-minimal/1.0-r1/rootfs/usr/sbin/start-stop-daemon exists and is not a link === The solution is to add an update-alternative to start-stop-daemon for dpkg. (From OE-Core rev: e6d51c9472dab6cbec313ba51f9e8b9271f02eb8) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: update to 1.19.7Oleksandr Kravchuk2019-06-302-12/+12
| | | | | | | (From OE-Core rev: 4b312777a2e154a6d86311981299bc16f23f053c) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: Use less as pagerRicardo Ribalda Delgado2019-06-192-0/+22
| | | | | | | | | | | | | | | | Debian traditionaly uses /usr/bin/pager as the system pager, which is a link to the user preferred pager. This is a Debianism. Without this patch: root@qt5122:~# dpkg -l sh: pager: command not found dpkg-query: error: showing package list on pager subprocess returned error exit status 127 (From OE-Core rev: 580d7f3325af0569239cdd9757ca77fbe6f29146) Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: Remove workaround patches for no longer supported host distributionsAdrian Bunk2019-05-313-142/+1
| | | | | | | (From OE-Core rev: 282ddd265d8c63975750a604bc4ac2c1ffbcbd76) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: 1.18.25 -> 1.19.4Kai Kang2019-02-258-61/+77
| | | | | | | | | | | | | | | | | | | Upgrade dpkg from 1.18.25 to 1.19.4: * update SRC_URI which DEBIAN_MIRROR * un-export PERL which causes script scripts/dpkg-architecture.pl fails to get cpu type and package arch * add configure option '--disable-update-alternatives' which causes installed-vs-shipped issue * add patch for dpkg-native to resolve host tar may not support options --owner=NAME:ID and --group=NAME:ID * update context of patches * drop dpkg-configure.service that apt provides a systemd timer to do it (From OE-Core rev: 5185b6fe3d4fa9b53baffa6ee419da60ac056da2) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: Upgrade to 1.18.25Aníbal Limón2019-01-032-58/+3
| | | | | | | | | | | Removed (now in upstream), 0001-arch-Add-support-for-riscv64-CPU.patch (From OE-Core rev: 66ed6cd7e7bcce439f449c495a1ad25b1b0442d5) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: Backport riscv supportKhem Raj2018-03-203-5/+71
| | | | | | | | | | Refresh patches with devtool (From OE-Core rev: 6d21977c9d1cf00b102a58e28797250b9a853caf) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: fix malformed/missing Upstream-Status tagsRoss Burton2017-12-101-0/+1
| | | | | | | (From OE-Core rev: 9e7aed823d3035b8429d3c5fc537cacadf16f675) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: use snapshot.debian.orgRoss Burton2017-11-081-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: Support muslx32 buildsweeaun2017-09-132-0/+42
| | | | | | | | | | Modified ostable and tupletable to support muslx32 build. (From OE-Core rev: 13ee656aaa6d529b0d40001062f6d4d84b896d62) Signed-off-by: sweeaun <swee.aun.khor@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: Upgrade to 1.18.24Aníbal Limón2017-08-237-74/+89
| | | | | | | | | | | | | | | | | | | | | | | | | Patches rebased due to don't apply, no major changes, - 0002-Adapt-to-linux-wrs-kernel-version-which-has-characte.patch - arch_pm.patch - noman.patch Patches related to move ostable/triplettable insida data/ostable and data/tupletable instead also needs to comply the new format of the tables for arch detection. - 0006-add-musleabi-to-known-target-tripets.patch - add_armeb_triplet_entry.patch And finally a patch to avoid usage --clamp-mtime in tar needs to be modified because the dpkg-deb internal API changed. - 0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch (From OE-Core rev: dc1ae641435999095e8759812b096fec1f28c90d) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>