head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.10 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.8 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.6 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.4 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.2 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.2.0.8 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.6 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.4 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.2 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.1.0.6 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.4 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.2 pkgsrc-2023Q2-base:1.1; locks; strict; comment @# @; 1.3 date 2025.01.03.13.41.51; author adam; state Exp; branches; next 1.2; commitid 4yQJTWKfhOmhK2EF; 1.2 date 2024.03.09.07.56.51; author adam; state Exp; branches; next 1.1; commitid x2NPZLQtVWJLts1F; 1.1 date 2023.06.13.15.44.29; author adam; state Exp; branches; next ; commitid ZQzgOrG1T3V8KNsE; desc @@ 1.3 log @dpkg: updated to 1.22.12 dpkg (1.22.12) unstable; urgency=medium [ Guillem Jover ] * libdpkg: Check for pager presence and fallback to less, more and cat. * dpkg-shlibdeps: Add symbolic name alternative to --warnings bits. * Update URLs. * dpkg-deb: Add --no-check option and keep --nocheck as an alias. * dpkg: Unify package and version printing format to «package (version)». * dpkg-buildtree: Add new command is-rootless. Suggested by Niels Thykier . * scripts: Switch messages to be hints. * dpkg-buildpackage: Reword hint on unsatisfied dependencies. * dpkg-checkbuilddeps: Improve unmet dependency error messages. * dpkg-buildpackage: Switch unmet dependency abort message from warning to error. * scripts: Change and inject default value for Section and Priority fields. * Perl modules: - Dpkg::Deps::Multiple: Document that the constructor takes @@deps not %opts. - Dpkg::Changelog::Parse: Use %opts instead of %opt in function POD. - Dpkg::Control: Deprecate the backwards compatibility type aliases. - Dpkg::OpenPGP::Backend::GnuPG: Ignore ValuesAndExpressions::ProhibitMagicNumbers. - Dpkg::Vendor: Simplify module loading logic. - Dpkg::OpenPGP::Backend::SOP: Add rsop as an alternative SOP implementation. - Dpkg::OpenPGP::Backend::SOP: Add gosop as an alternative SOP implementation. - Dpkg::OpenPGP::Backend::Sequoia: Adapt to new CLI 0.40.0 API. - Dpkg::OpenPGP::Backend::Sequoia: Add keystore support. - Dpkg::Shlibs: Improve code comments. - Dpkg::Archive::Ar: Copy only the number of bytes we have read. - Dpkg::Vendor: Remove backwards compatibility module and origin name mangling. - Dpkg::BuildInfo: Add GNUMAKEFLAGS as an allowed environment variable. Thanks to Santiago Vila . - Dpkg::BuildDriver::DebianRules: Handle missing root_cmd option. - Dpkg::ErrorHandling: Add support for hint printing. - Dpkg::OpenPGP::Backend::GnuPG: Handle and warn on concatenated ASCII Armor blocks. - Revert "Dpkg::OpenPGP::Backend::GnuPG: Fallback to use «gpg dearmor» if present". - Dpkg::OpenPGP::Backend::GnuPG: Move armor/dearmor implementation to base class. - Dpkg::OpenPGP::Backend::SOP: Use the parent class armor/dearmor implementations. - Dpkg::Vendor::Debian: Remove merged-/usr taint logic. - Dpkg::Control::FieldsCore: Add new field_get_default_value() function. * Make fragments: - Document DPKG_BUILD_API in buildapi.mk. - Document public API and expected directory to include from. Prompted by Helmut Grohne . - Capitalize variable descriptions. - Clarify format for version variables from pkg-info.mk. - Add support for new DEB_VERSION_EPOCH and DEB_VERSION_REVISION. * Shell library: - Add a default PROGNAME to dpkg-error.sh. - Move setup_colors() contents into dpkg-error.sh script scope. * Documentation: - man: Update debian/control example in deb-src-control(5). - man: Use arch-bits in deb-src-symbols(5) example dependent on bitness. - man: Use modern architectures for manual page examples. - doc: Fix typos in ChangeLog.old. - man: Document purpose of origin files and how they tie to packages. See https://github.com/grml/grml-debian-keyring/issues/7. - man: Use «must» instead of «should» for mandatory behavior. Requested by Niels Thykier . See https://bugs.debian.org/1089794. * Code internals: - lib: Remove compatibility code for C++ earlier than C++11. - scripts: Use %opts instead of %options for constructor and function options. - scripts: Document when constructors take %opts. - scripts: Use %opts instead of %args for function and method options. - scripts: Rename changelog options in programs to %changelog_opts. - scripts: Unify constructor and function options documentation. - libdpkg: Remove const from execname. - libdpkg: Use size_t instead of unsigned int for nargs. - start-stop-daemon: Refactor closefrom() and use it only if the system lacks it. - start-stop-daemon: Try to use close_range() if present to implement closefrom(). - scripts: Fix module loading. Prompted by Holger Levsen . Prompted by Niels Thykier . - src: Do not name option variables as no. - dpkg-deb: Rename control area functions to check_ctrl_*(). - dpkg-deb: Rename check_control_area() to check_build_files(). - dpkg-deb: Fix doxygen comment to match function argument. - perl: Remove function prototypes. - libdpkg: Rename varbuf_rollback_start() to varbuf_rollback_end(). - libdpkg: Rename varbuf_*printf() to varbuf_add_*fmt(). - libdpkg: Add new varbuf_set_*fmt() functions. - dpkg: Switch from varbuf_reset()+varbuf_add_str() to varbuf_set_str(). - Replace varbuf_reset()+varbuf_*printf() with varbuf_set_*fmt(). - Replace varbuf_*printf() with varbuf_add_*fmt(). - libdpkg: Rename varbuf C++ *fmt() methods to add_*fmt(). - dpkg: Replace sprintf() usage with a varbuf in depisok(). - Use snprintf() instead of sprintf(). - libdpkg: Switch varbuf::reset() to use varbuf_reset(). - libdpkg: Rename varbuf::string() to varbuf::str(). - libdpkg: Add new varbuf C++ methods for all functions. - libdpkg: Add new varbuf_state C++ methods for all functions. - libdpkg: Add new varbuf C++ constructor initialized from a C string. - libdpkg: Add new varbuf C++ operator+= methods. - dselect: Switch from operator() to operator+=. - libdpkg: Remove varbuf C++ operator() methods. - libdpkg: Add new varbuf C++ len() method. - libdpkg: Add new varbuf_swap() function. - libdpkg: Add new varbuf C++ copy constructors. - libdpkg: Add new varbuf C++ move constructors. - libdpkg: Add new varbuf_array() and C++ operator[] methods. - dselect: Switch to use varbufs instead of sprintf in keybindings. - dselect: Switch to use varbufs instead of sprintf for searchstring. - dselect: Switch to use varbufs instead of sprintf for describemany(). - dselect: Use file_slurp() instead of open-coding it. - dselect: Switch to use varbufs instead of sprintf for method parser. - dselect: Mark assignment inside baselist::kd_search() as a move assignment. - Cast char to unsigned char for ctype functions. - Remove dpkg-error.sh boilerplate. - scripts: Remove dpkg-fsys-usrunmess program. - dpkg-source: Generalize Package-List field attributes handling. - scripts: Unify handling of default Priority and Section values. - scripts: Switch to use the default per field value for Section and Priority. * Build system: - Make C++ baseline version a hard requirement. - Generalize C/C++ check macros to select the version as an argument. - Bump minimum required C++ standard to C++14. - Warn on C++17, C++20, C++23 and C++26 extensions usage. - Check for C++11 __func__ availability. - Undefine _TIME_BITS when checking for the base off_t size. - Do not use an obsolete x prefix for shell test checks. - Add a new changelog section for the shell library. * Packaging: - Bump Standards-Version to 4.7.0 (no changes needed). - Add a trailing comma to debian/tests/control dependency. - Inline sequoia-chameleon-gnupg dependencies depending on context. - Remove merged-/usr warning logic. * Test suite: - Enable ValuesAndExpressions::ProhibitMagicNumbers except for octals. - Mark variables around longjmp() as volatile. - Add tests for varbuf C++ API. * Localization: - Update Brazilian Portuguese programs translation. - Update Czech translations. - Update Dutch translations. - Update Portuguese man pages translation. - Update Romanian programs translation. - Update Swedish translations. [ Helge Kreutzmann ] * Localization: - Update German man pages translation. [ Sven Joachim ] * Localization: - Update German dselect translation. - Update German programs translation. @ text @$NetBSD: patch-configure,v 1.2 2024/03/09 07:56:51 adam Exp $ Allow libdpkg being a shared library. Use md5 from OpenSSL. --- configure.orig 2025-01-01 22:27:27.000000000 +0000 +++ configure @@@@ -17349,12 +17349,6 @@@@ CC=$lt_save_CC - if test "$enable_shared" = "yes" && test -z "$AUTHOR_TESTING" -then : - - as_fn_error $? "building libdpkg as a shared library is not supported" "$LINENO" 5 - -fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --as-needed linker flag" >&5 @@@@ -24372,16 +24366,16 @@@@ fi have_libmd="no" - for ac_header in md5.h + for ac_header in openssl/md5.h do : - ac_fn_c_check_header_compile "$LINENO" "md5.h" "ac_cv_header_md5_h" "$ac_includes_default" + ac_fn_c_check_header_compile "$LINENO" "openssl/md5.h" "ac_cv_header_md5_h" "$ac_includes_default" if test "x$ac_cv_header_md5_h" = xyes then : printf "%s\n" "#define HAVE_MD5_H 1" >>confdefs.h dpkg_save_libmd_LIBS=$LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing MD5Init" >&5 -printf %s "checking for library containing MD5Init... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing MD5_Init" >&5 +printf %s "checking for library containing MD5_Init... " >&6; } if test ${ac_cv_search_MD5Init+y} then : printf %s "(cached) " >&6 @@@@ -24399,16 +24393,16 @@@@ cat confdefs.h - <<_ACEOF >conftest.$ac_ #ifdef __cplusplus extern "C" #endif -char MD5Init (void); +char MD5_Init (void); int main (void) { -return MD5Init (); +return MD5_Init (); ; return 0; } _ACEOF -for ac_lib in '' md +for ac_lib in '' crypto do if test -z "$ac_lib"; then ac_res="none required" @ 1.2 log @dpkg: updated to 1.22.5 1.22.5 po: Regenerate .pot files and merge .po files with them Dpkg::Vendor::Debian: Enable qa=+bug-implicit-func for abi=+time64 feature Dpkg::Vendor::Debian: Enable time64 feature by default except on -i386 test: Pass -T+1 to xz to workaround spurious warning with xz 5.6.0 Dpkg::Vendor::Ubuntu: Pass compiler flags to disable features Dpkg::Vendor: Make the add_build_flags() a non-private method Dpkg::Vendor::Debian: Only append branch compiler flags if $flag is set @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.1 2023/06/13 15:44:29 adam Exp $ d6 1 a6 1 --- configure.orig 2024-02-27 03:28:03.000000000 +0000 d8 1 a8 1 @@@@ -17074,12 +17074,6 @@@@ CC=$lt_save_CC d21 1 a21 1 @@@@ -23971,16 +23965,16 @@@@ fi d42 6 a47 6 @@@@ -23992,16 +23986,16 @@@@ cat confdefs.h - <<_ACEOF >conftest.$ac_ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -char MD5Init (); +char MD5_Init (); @ 1.1 log @dpkg: updated to 1.21.22 dpkg (1.21.22) unstable; urgency=medium [ Guillem Jover ] * Code internals: - libdpkg: Handle missing Version when formatting source:Upstream-Version. Reported by John Scott . * Localization: - Add Portuguese scripts translations. Thanks to Américo Monteiro . -- Guillem Jover Thu, 11 May 2023 04:04:01 +0200 dpkg (1.21.21) unstable; urgency=medium * Architecture support: - Restore "arch: Add support for loong64 CPU". * Localization: - Update Dutch header boilerplate with an actual copyright line. - Update French scripts translation. Thanks to Sébastien Poher . -- Guillem Jover Sat, 25 Feb 2023 04:39:29 +0100 dpkg (1.21.20) unstable; urgency=medium [ Guillem Jover ] * Documentation: - man: Remove duplicate word in dpkg-buildflags(1). Thanks to Peter Krefting . * Packaging: - Fix versioned Build-Depends on debhelper. - Update lintian overrides. * Test suite: - Update suppressions for cppcheck 2.10. - Skip auto-generated policykit policy file. * Localization: - Add Dutch scripts translation. Thanks to Frans Spiesschaert . - Unfuzzy translations due to typo fix. - Update Czech translations. Thanks to Miroslav Kure . - Update Dutch translations. Thanks to Frans Spiesschaert . - Update French man page translation. Thanks to Jean-Pierre Giraud . - Update French programs translations. Thanks to Sébastien Poher . - Update Hungarian programs translation. Thanks to Nagy Elemér Károly . - Update Korean dselect translation. Thanks to Sangdo Jun . - Update Occitan programs translation. Thanks to Quentin PAGÈS . - Update Portuguese programs translation. Thanks to Miguel Figueiredo . - Update Romanian programs translation. Thanks to Remus-Gabriel Chelu . - Update Russian translations. Thanks to Yuri Kozlov . - Update Simplified Chinese translations. Thanks to Boyuan Yang . - Update Spanish dselect translation. Thanks to jonatan porras . - Update Swedish translations. Thanks to Peter Krefting . - Update Thai programs translation. Thanks to Theppitak Karoonboonyanan . - Update Traditional Chinese dselect translation. Thanks to Cheng-Chia Tseng . - Workaround po4a formatting issue in French translation. -- Guillem Jover Tue, 07 Feb 2023 12:19:12 +0100 dpkg (1.21.19) unstable; urgency=medium [ Guillem Jover ] * Architecture support: - Revert "arch: Add support for loong64 CPU". * Perl modules: - Dpkg::OpenPGP::Backend::GnuPG: Set secure signing preferred algorithms. - Dpkg::OpenPGP::Backend::GnuPG: Touch trustedkeys.gpg on temporary gpg home. - Dpkg::OpenPGP::Backend::GnuPG: Fallback to use «gpg dearmor» if present. Reported by Sven Joachim (on IRC). - Dpkg::Vendor::Ubuntu: Fix lto feature to honor DEB_BUILD_OPTIONS. * Test suite: - Set the permissions explicitly for the copied ChangeLog.old file. - Add unit tests for lto build flags handling in Ubuntu. Thanks to Shengjing Zhu . See https://bugs.launchpad.net/bugs/2002582. * Localization: - Update Catalan translation. - Update Portuguese man pages translation. Thanks to Américo Monteiro . [ Sven Joachim ] * Localization: - Update German programs translation. [ Helge Kreutzmann ] * Localization: - Update German man pages translation. -- Guillem Jover Tue, 24 Jan 2023 23:39:50 +0100 dpkg (1.21.18) unstable; urgency=medium [ Guillem Jover ] * 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. * Build system: - Update .mailmap mappings. * Packaging: - Update copyright years. * Test suite: - Add dpkg-deb build and extract tests. -- Guillem Jover Tue, 10 Jan 2023 18:46:37 +0100 dpkg (1.21.17) unstable; urgency=medium [ Guillem Jover ] * dpkg-genbuildinfo: Do not fail if the cross-compiler cannot compile. * Code internals: - dpkg-buildinfo: Fix indentation. * Packaging: - Stop shipping the «git log» changelog in exchange for no trimming. -- Guillem Jover Thu, 05 Jan 2023 12:34:05 +0100 dpkg (1.21.16) unstable; urgency=medium [ Guillem Jover ] * dpkg-deb: Fix buffer overflow on long directory names with old deb formats. Reported by Georgy Yakovlev . * Perl modules: - Dpkg::Compression: Pass --no-adjust to xz to force compression threaded mode. - Dpkg::Compression: Make xz not emit warnings nor exit non-zero on warnings. - Dpkg::OpenPGP::Backend::SOP: Add sqop as an alternative SOP implementation. - Dpkg::Source::Package::V3::Git: Move error() argument out of g_() call. * Code internals: - libdpkg: Make xz not emit warnings nor exit non-zero on warnings. [ Helge Kreutzmann ] * Localization: - Update German man pages translation. - Update German scripts translation. @ text @d1 1 a1 1 $NetBSD$ d6 1 a6 1 --- configure.orig 2023-05-11 02:04:01.000000000 +0000 d8 1 a8 1 @@@@ -17030,12 +17030,6 @@@@ CC=$lt_save_CC d18 4 a21 4 if test "$enable_shared" = "yes"; then BUILD_SHARED_TRUE= BUILD_SHARED_FALSE='#' @@@@ -23416,16 +23410,16 @@@@ fi d42 1 a42 1 @@@@ -23437,16 +23431,16 @@@@ cat confdefs.h - <<_ACEOF >conftest.$ac_ @