pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/misc/dpkg



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Jul 21 10:13:19 UTC 2024

Modified Files:
        pkgsrc/misc/dpkg: Makefile PLIST distinfo

Log Message:
dpkg: updated to 1.22.7

dpkg (1.22.7) unstable; urgency=medium

[ Guillem Jover ]
* dpkg-buildpackage: Remove fallback handling for missing required targets.
* dpkg-buildpackage: Fix the debian/rules executable check to respect -R.
* dpkg-realpath: Rewrite in C.
* Revert "test: Pass -T+1 to xz to workaround spurious warning with xz
  5.6.0".
* dpkg-genbuildinfo: Parse Provides as virtual packages.
* dpkg: Do not run hooks or loggers with --dry-run or while unprivileged.
* dpkg-shlibdeps: Add support for new --package option.
* dpkg-buildpackage: Make newline injection during signing GnuPG specific.
  See https://dev.gnupg.org/T7106.
* dpkg-realpath: Do not allow an empty pathname argument.
* dpkg-buildpackage: Add support for building from a specified .dsc or dir.
* dpkg-buildpackage: Reference the .dsc in .buildinfo if building from one.
* Perl modules:
  - Dpkg::BuildDriver: Refactor build driver out of dpkg-buildpackage.
  - Dpkg::Vendor::Ubuntu: Use -fcf-protection=none instead of
    -fno-cf-protection. Thanks to Matthias Klose <doko%ubuntu.com@localhost>.
  - Dpkg::Vendor::Debian: On native builds map *_FOR_BUILD flags to * flags.
  - Dpkg::OpenPGP::ErrorCodes: Update error codes from SOP draft version 10.
    See https://ietf.org/archive/id/draft-dkg-openpgp-stateless-cli-10.html.
  - Dpkg::Vendor::Debian: Set -Wno-error on qa=-bug-implicit-func.
  - Dpkg::Shlibs::Cppfilt: Normalize demangled symbols with llvm or C++11
    format.
  - Dpkg::Archive::Ar: New module.
  - Dpkg::Vendor::Debian: Guarantee UTF-8 locale codeset on sanitize-env.
  - Dpkg::Substvars: Add support for required substvars assigned with !=.
  - Dpkg::Source::Package: Document method additions with an object.
  - Dpkg::Source::Package::V3::Bzr: Remove unused variables.
  - Dpkg::Source::Package: Add a new get_basedirname() method.
* Make fragments:
  - Protect files against double inclusion.
    Thanks to Nicolas Boulenguez <nicolas%debian.org@localhost>.
  - Use filter instead of findstring.
    Thanks to Nicolas Boulenguez <nicolas%debian.org@localhost>.
  - Use explicit test of $(origin) instead of ?=.
    Thanks to Nicolas Boulenguez <nicolas%debian.org@localhost>.
  - Search once for parallel= in DEB_BUILD_OPTIONS.
    Thanks to Nicolas Boulenguez <nicolas%debian.org@localhost>.
  - Generate the _FOR_BUILD variant of each variable automatically.
    Thanks to Nicolas Boulenguez <nicolas%debian.org@localhost>.
  - Reduce the number of subprocesses.
    Thanks to Nicolas Boulenguez <nicolas%debian.org@localhost>.
  - Stop hard-coding dpkg_datadir.
    Thanks to Nicolas Boulenguez <nicolas%debian.org@localhost>.
* Documentation:
  - doc: Add missing full stop to end of sentence.
  - man: Document DEB_BUILD_ARCH and DEB_HOST_ARCH usage in commands.
    Prompted by Thorsten Glaser <tg%mirbsd.de@localhost>.
  - man: Add new libdpkg(7) manual page.
  - man: Document DPKG_COLORS and DPKG_NLS for all perl scripts honoring
    them.
  - man: Document missing Packages front-end fields in dpkg-query(1).
  - man: Document weak checksum algorithms.
  - man: Update verify format example to also include M.
  - doc: Fix grammar for fallback.
  - doc: Fix casing after admonition.
* Code internals:
  - libdpkg: Factor out filesystem database file loading into new function.
    Based on a patch by Simon Richter <sjr%debian.org@localhost>.
  - libcompat: Include missing <string.h> in strnlen module.
    Reported by Simon Richter <sjr%debian.org@localhost>.
  - dpkg-buildpackage: Refactor build target hook execution.
  - libdpkg: Handle readlink() failures in file_readlink().
  - libdpkg: Change varbuf_get_str() to return "" instead of initializing it.
  - libdpkg: Rename varbuf_get_str() to varbuf_str().
  - Use varbuf_str() instead of direct access.
  - libdpkg: Always NUL terminate varbufs.
  - libdpkg: Remove varbuf_end_str() function.
  - libdpkg: Add support for DPKG_NLS environment variable.
  - libdpkg: Add new varbuf prefix and suffix handling functions.
  - libdpkg: Add new file_getcwd() function.
  - dpkg: Use a variable for each conffile pathname type.
  - src: Fix timestamp parse error reporting.
  - src: Check whether SOURCE_DATE_EPOCH is set before parsing it.
    Based on a patch by Rainer Weikusat <rweikusat%cyberadapt.com@localhost>.
  - libdpkg: Add missing header includes.
  - libdpkg: Make file_slurp_fd() NUL-terminate the varbuf.
  - libdpkg: Refactor lax problem reporting into parse_lax_problem()
    function.
  - libdpkg: Turn the warning on Provides version relation into a lax error.
  - libdpkg: Make varbuf_detach() always return a string.
  - libdpkg: Factor fsys_list_parse_buffer() out of
    ensure_packagefiles_available().
  - dpkg-shlibdeps: Refactor executable CLI parsing.
  - dpkg: Refactor conffile disappearing check into a new function.
  - Merge conffile obsolete and remove-on-upgrade into a single flags member.
  - lib, src: Include missing <stdbool.h>.
    Reported by Simon Richter <sjr%debian.org@localhost>.
  - dpkg-ar: New internal ar implementation script.
  - start-stop-daemon: Fix typos in code comments.
  - libcompat: Fix vasprintf() to error out if vsnprintf() returns >=
    INT_MAX.
  - libdpkg: Do not accept len >= INT_MAX in fd_read() and fd_write().
  - dpkg-realpath: Switch direct varbuf accesses to varbuf_str().
  - Revert "dpkg-realpath: Switch direct varbuf accesses to varbuf_str()".
    See https://bugs.debian.org/1076061.
  - dpkg-realpath: Guarantee varbufs have been allocated.
  - Check for < 0 instead of == -1 from syscall return values.
  - Check for >= 0 instead of != -1 for syscall return values.
  - dpkg: Check for < 0 instead of == -1 for conffderef() return values.
  - libdpkg: Check for limit >= 0 instead of != -1 in buffer_copy().
  - libdpkg: Check for updateslength < 0 instead of == -1 in ulist_select().
  - dselect: Use enum values instead of literal integers.
  - libdpkg: Add new execname module.
  - libdpkg: Try to print the executable name of the lock contending process.
  - perl: Use new Dpkg::Source::Package->get_basedirname() method.
* Build system:
  - Re-enable the sanitizer for functional tests in CI.
  - Add missing space before backslash line continuation character.
  - Unconditionally include <stddef.h>.
  - Do not check for memcpy(). Reported by Simon Richter <sjr%debian.org@localhost>.
  - Do not check for functions used unconditionally.
  - Partially revert the sanitizer for some functional tests in CI.
  - Print the release version at the end of configure.
  - Add support to track release VCS commit id.
  - Pass abs_srcdir and abs_builddir to the TAP driver.
  - Rework subst handling for built or installed artifacts.
  - Workaround Tap::Harness verbose misbehavior on parallel mode.
    See https://github.com/Perl-Toolchain-Gang/Test-Harness/issues/105.
  - Fix test verbose and parallel option propagation.
  - Add missing files and sort POTFILES.in.
  - Check whether HAVE_* macros for headers are defined.
  - Include a .dist-vcs-url file in the distributed tarball.
  - Do not include VCS specific files in the distributed tarball.
* Packaging:
  - Suppress start-stop-daemon compat symlink if /sbin is missing.
    Thanks to Johannes Schauer Marin Rodrigues <josch%debian.org@localhost>.
* Test suite:
  - Do not fail the functional test suite due to memory leaks.
  - Pass --check-level=exhaustive to cppcheck.
  - Unset DEB_BUILD_MAINT_OPTIONS in build flags tests.
  - Simplify buildflags.mk test of _MAINT_APPEND when TEST_ is empty.
    Thanks to Nicolas Boulenguez <nicolas%debian.org@localhost>.
  - Use loops instead of repetitions in mk fragment tests.
    Thanks to Nicolas Boulenguez <nicolas%debian.org@localhost>.
  - Replace double quotes with single quote in shell recipes.
    Thanks to Nicolas Boulenguez <nicolas%debian.org@localhost>.
  - Test exported variables in addition to Make variables.
    Thanks to Nicolas Boulenguez <nicolas%debian.org@localhost>.
  - Test variable override.
    Thanks to Nicolas Boulenguez <nicolas%debian.org@localhost>.
  - Test DEB_CXXFLAGS_MAINT_SET.
    Thanks to Nicolas Boulenguez <nicolas%debian.org@localhost>.
  - Add missing test for CPP build tool.
    Thanks to Nicolas Boulenguez <nicolas%debian.org@localhost>.
  - Test override of a build tool.
    Thanks to Nicolas Boulenguez <nicolas%debian.org@localhost>.
  - Refactor real and virtual package setup.
    Based on a patch by Johannes Schauer Marin Rodrigues <josch%debian.org@localhost>.
  - Set CC to gcc in make fragments functional tests.
  - Parametrize all Makefile fragment functional tests.
  - Clarify the Makefile fragment variable being tested via comments.
  - Add new DPKG_CHECK_DIFF macro to abstract file comparisons.
  - Only execute Dpkg::Shlibs checks on ELF platforms.
  - Unify all ar invocations into create, extract and list.
  - Refactor ar handling into m4 macros.
  - Switch ar m4 macros to use internal dpkg-ar implementation.
* Localization:
  - Update Dutch man pages translations.
    Thanks to Frans Spiesschaert <Frans.Spiesschaert%yucom.be@localhost>.
  - Update Swedish translations.
    Thanks to Peter Krefting <peter%softwolves.pp.se@localhost>.

[ Helge Kreutzmann ]
* Localization:
  - Update German man pages translation.
  - Update German scripts translation.

[ Sven Joachim ]
* Localization:
  - Update German programs translation.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 pkgsrc/misc/dpkg/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/misc/dpkg/PLIST
cvs rdiff -u -r1.24 -r1.25 pkgsrc/misc/dpkg/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/dpkg/Makefile
diff -u pkgsrc/misc/dpkg/Makefile:1.62 pkgsrc/misc/dpkg/Makefile:1.63
--- pkgsrc/misc/dpkg/Makefile:1.62      Thu Mar 21 06:11:59 2024
+++ pkgsrc/misc/dpkg/Makefile   Sun Jul 21 10:13:18 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.62 2024/03/21 06:11:59 adam Exp $
+# $NetBSD: Makefile,v 1.63 2024/07/21 10:13:18 adam Exp $
 
-DISTNAME=      dpkg_1.22.6
+DISTNAME=      dpkg_1.22.7
 PKGNAME=       ${DISTNAME:S/_/-/}
 CATEGORIES=    misc
 MASTER_SITES=  ${MASTER_SITE_DEBIAN:=pool/main/d/dpkg/}

Index: pkgsrc/misc/dpkg/PLIST
diff -u pkgsrc/misc/dpkg/PLIST:1.19 pkgsrc/misc/dpkg/PLIST:1.20
--- pkgsrc/misc/dpkg/PLIST:1.19 Thu Mar 21 06:11:59 2024
+++ pkgsrc/misc/dpkg/PLIST      Sun Jul 21 10:13:19 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.19 2024/03/21 06:11:59 adam Exp $
+@comment $NetBSD: PLIST,v 1.20 2024/07/21 10:13:19 adam Exp $
 bin/dpkg
 bin/dpkg-architecture
 bin/dpkg-buildapi
@@ -46,6 +46,7 @@ include/dpkg/dpkg-db.h
 include/dpkg/dpkg.h
 include/dpkg/ehandle.h
 include/dpkg/error.h
+include/dpkg/execname.h
 include/dpkg/fdio.h
 include/dpkg/file.h
 include/dpkg/fsys.h
@@ -80,8 +81,11 @@ include/dpkg/version.h
 lib/libdpkg.la
 ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg.pm
 ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Arch.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Archive/Ar.pm
 ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Build/Info.pm
 ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/BuildAPI.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/BuildDriver.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/BuildDriver/DebianRules.pm
 ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/BuildEnv.pm
 ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/BuildFlags.pm
 ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/BuildInfo.pm
@@ -269,7 +273,6 @@ man/fr/man1/dpkg-scansources.1
 man/fr/man1/dpkg-shlibdeps.1
 man/fr/man1/dpkg-source.1
 man/fr/man1/dpkg-split.1
-man/fr/man1/dpkg-statoverride.1
 man/fr/man1/dpkg-trigger.1
 man/fr/man1/dpkg-vendor.1
 man/fr/man1/dselect.1
@@ -345,8 +348,11 @@ man/man1/dselect.1
 man/man1/update-alternatives.1
 man/man3/Dpkg.3perl
 man/man3/Dpkg::Arch.3perl
+man/man3/Dpkg::Archive::Ar.3perl
 man/man3/Dpkg::Build::Info.3perl
 man/man3/Dpkg::BuildAPI.3perl
+man/man3/Dpkg::BuildDriver.3perl
+man/man3/Dpkg::BuildDriver::DebianRules.3perl
 man/man3/Dpkg::BuildEnv.3perl
 man/man3/Dpkg::BuildFlags.3perl
 man/man3/Dpkg::BuildInfo.3perl
@@ -458,6 +464,7 @@ man/man5/dsc.5
 man/man5/dselect.cfg.5
 man/man7/deb-version.7
 man/man7/dpkg-build-api.7
+man/man7/libdpkg.7
 man/man8/dpkg-fsys-usrunmess.8
 man/man8/start-stop-daemon.8
 man/nl/man1/dpkg-architecture.1
@@ -592,6 +599,7 @@ man/sv/man1/dpkg-architecture.1
 man/sv/man1/dpkg-buildapi.1
 man/sv/man1/dpkg-buildflags.1
 man/sv/man1/dpkg-buildpackage.1
+man/sv/man1/dpkg-buildtree.1
 man/sv/man1/dpkg-checkbuilddeps.1
 man/sv/man1/dpkg-deb.1
 man/sv/man1/dpkg-distaddfile.1
@@ -664,6 +672,7 @@ share/aclocal/dpkg-types.m4
 share/aclocal/dpkg-unicode.m4
 share/doc/dpkg/README.api
 share/doc/dpkg/README.feature-removal-schedule
+share/doc/dpkg/spec/build-driver.txt
 share/doc/dpkg/spec/frontend-api.txt
 share/doc/dpkg/spec/protected-field.txt
 share/doc/dpkg/spec/rootless-builds.txt

Index: pkgsrc/misc/dpkg/distinfo
diff -u pkgsrc/misc/dpkg/distinfo:1.24 pkgsrc/misc/dpkg/distinfo:1.25
--- pkgsrc/misc/dpkg/distinfo:1.24      Thu Mar 21 06:11:59 2024
+++ pkgsrc/misc/dpkg/distinfo   Sun Jul 21 10:13:19 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.24 2024/03/21 06:11:59 adam Exp $
+$NetBSD: distinfo,v 1.25 2024/07/21 10:13:19 adam Exp $
 
-BLAKE2s (dpkg_1.22.6.tar.xz) = 4bbd735d23045d6dda160d0d9804f9babd7a5e16566033944fd6373741056a97
-SHA512 (dpkg_1.22.6.tar.xz) = a7a1c42ee69c9b90842ac98140978331ad311b49db23151c796218052ad673bc99c456ad568a4b71bb48f59930adc22ad60f78900ee2a6f04c5fca3096da5983
-Size (dpkg_1.22.6.tar.xz) = 5630704 bytes
+BLAKE2s (dpkg_1.22.7.tar.xz) = f3c14299ad1836ee6a4513080448a8cd0f8b6d8f5cd33b2aef48aed31ae9ebf2
+SHA512 (dpkg_1.22.7.tar.xz) = c1ffe4d6db574929af65ed13dcf1450b55e3407c141fffd8a87107d3a78fd98bd954d5a328f73fe56c8d26c3642082d063a9c8408085ac7bc5010cc2652c550a
+Size (dpkg_1.22.7.tar.xz) = 5690388 bytes
 SHA1 (patch-configure) = 65b4536aac73b14b2da01f47fa1fe6f2bbd7faea
 SHA1 (patch-lib_dpkg_buffer.c) = 3032071569fdc649a74512e047ee263ed5288bdb
 SHA1 (patch-lib_dpkg_color.c) = 7bcb9ab6705f9c423d355c26c58bf916dc4cc935



Home | Main Index | Thread Index | Old Index