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: Fri Jan 3 13:41:51 UTC 2025
Modified Files:
pkgsrc/misc/dpkg: Makefile PLIST distinfo
pkgsrc/misc/dpkg/patches: patch-configure patch-lib_dpkg_buffer.c
Log Message:
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 <niels%thykier.net@localhost>.
* 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 <sanvila%debian.org@localhost>.
- 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 <helmut%subdivi.de@localhost>.
- 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 <niels%thykier.net@localhost>.
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 <holger%debian.org@localhost>.
Prompted by Niels Thykier <niels%thykier.net@localhost>.
- src: Do not name option variables as no<thing>.
- 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.
To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 pkgsrc/misc/dpkg/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/misc/dpkg/PLIST
cvs rdiff -u -r1.28 -r1.29 pkgsrc/misc/dpkg/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/misc/dpkg/patches/patch-configure
cvs rdiff -u -r1.1 -r1.2 pkgsrc/misc/dpkg/patches/patch-lib_dpkg_buffer.c
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.67 pkgsrc/misc/dpkg/Makefile:1.68
--- pkgsrc/misc/dpkg/Makefile:1.67 Sat Nov 16 12:06:03 2024
+++ pkgsrc/misc/dpkg/Makefile Fri Jan 3 13:41:51 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.67 2024/11/16 12:06:03 wiz Exp $
+# $NetBSD: Makefile,v 1.68 2025/01/03 13:41:51 adam Exp $
-DISTNAME= dpkg_1.22.11
+DISTNAME= dpkg_1.22.12
PKGNAME= ${DISTNAME:S/_/-/}
-PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/d/dpkg/}
EXTRACT_SUFX= .tar.xz
Index: pkgsrc/misc/dpkg/PLIST
diff -u pkgsrc/misc/dpkg/PLIST:1.20 pkgsrc/misc/dpkg/PLIST:1.21
--- pkgsrc/misc/dpkg/PLIST:1.20 Sun Jul 21 10:13:19 2024
+++ pkgsrc/misc/dpkg/PLIST Fri Jan 3 13:41:51 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.20 2024/07/21 10:13:19 adam Exp $
+@comment $NetBSD: PLIST,v 1.21 2025/01/03 13:41:51 adam Exp $
bin/dpkg
bin/dpkg-architecture
bin/dpkg-buildapi
@@ -247,7 +247,6 @@ man/de/man5/dsc.5
man/de/man5/dselect.cfg.5
man/de/man7/deb-version.7
man/de/man7/dpkg-build-api.7
-man/de/man8/dpkg-fsys-usrunmess.8
man/de/man8/start-stop-daemon.8
man/es/man1/dpkg-distaddfile.1
man/es/man5/deb-old.5
@@ -277,7 +276,6 @@ man/fr/man1/dpkg-trigger.1
man/fr/man1/dpkg-vendor.1
man/fr/man1/dselect.1
man/fr/man1/update-alternatives.1
-man/fr/man5/deb-buildinfo.5
man/fr/man5/deb-changelog.5
man/fr/man5/deb-changes.5
man/fr/man5/deb-conffiles.5
@@ -306,7 +304,6 @@ man/fr/man5/dpkg.cfg.5
man/fr/man5/dsc.5
man/fr/man5/dselect.cfg.5
man/fr/man7/deb-version.7
-man/fr/man8/dpkg-fsys-usrunmess.8
man/fr/man8/start-stop-daemon.8
man/it/man1/dpkg-distaddfile.1
man/it/man5/deb-old.5
@@ -465,7 +462,6 @@ 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
man/nl/man1/dpkg-buildapi.1
@@ -527,7 +523,6 @@ man/nl/man5/dsc.5
man/nl/man5/dselect.cfg.5
man/nl/man7/deb-version.7
man/nl/man7/dpkg-build-api.7
-man/nl/man8/dpkg-fsys-usrunmess.8
man/nl/man8/start-stop-daemon.8
man/pl/man1/dpkg-distaddfile.1
man/pl/man5/deb-old.5
@@ -593,7 +588,6 @@ man/pt/man5/dsc.5
man/pt/man5/dselect.cfg.5
man/pt/man7/deb-version.7
man/pt/man7/dpkg-build-api.7
-man/pt/man8/dpkg-fsys-usrunmess.8
man/pt/man8/start-stop-daemon.8
man/sv/man1/dpkg-architecture.1
man/sv/man1/dpkg-buildapi.1
@@ -655,9 +649,7 @@ man/sv/man5/dsc.5
man/sv/man5/dselect.cfg.5
man/sv/man7/deb-version.7
man/sv/man7/dpkg-build-api.7
-man/sv/man8/dpkg-fsys-usrunmess.8
man/sv/man8/start-stop-daemon.8
-sbin/dpkg-fsys-usrunmess
sbin/start-stop-daemon
share/aclocal/dpkg-arch.m4
share/aclocal/dpkg-build.m4
Index: pkgsrc/misc/dpkg/distinfo
diff -u pkgsrc/misc/dpkg/distinfo:1.28 pkgsrc/misc/dpkg/distinfo:1.29
--- pkgsrc/misc/dpkg/distinfo:1.28 Mon Aug 5 09:25:40 2024
+++ pkgsrc/misc/dpkg/distinfo Fri Jan 3 13:41:51 2025
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.28 2024/08/05 09:25:40 adam Exp $
+$NetBSD: distinfo,v 1.29 2025/01/03 13:41:51 adam Exp $
-BLAKE2s (dpkg_1.22.11.tar.xz) = f947ab7c5bb9a6342dc99a429e60917346670455aec60afdb1e682a23f3f2f49
-SHA512 (dpkg_1.22.11.tar.xz) = 8caeb52625e34109bbc3abf1b62792053f989e560b541ec9de85f3fe563f8bcb06db102dbae83058aba16e6f4729260e15e1c7a470762a261bec5460358c0fe9
-Size (dpkg_1.22.11.tar.xz) = 5697040 bytes
-SHA1 (patch-configure) = 65b4536aac73b14b2da01f47fa1fe6f2bbd7faea
-SHA1 (patch-lib_dpkg_buffer.c) = 3032071569fdc649a74512e047ee263ed5288bdb
+BLAKE2s (dpkg_1.22.12.tar.xz) = aef925aa5678423a7561f94f568d669f1904642859fe5f46257205a064d5f44f
+SHA512 (dpkg_1.22.12.tar.xz) = dd89f28359fa28a11ceb1b19486b7a8e4795a4c7e187bb2b70bf12c7804c94bbbfdc9060862ce103aeb06d2b0033a725535b97912b1719e0b73e6c12c583b346
+Size (dpkg_1.22.12.tar.xz) = 5703416 bytes
+SHA1 (patch-configure) = dc8586d8d3c0336bd9920d6e0fbece57eb787636
+SHA1 (patch-lib_dpkg_buffer.c) = c93c8c4fda7c43416690ab71e5afdac2ccefa459
SHA1 (patch-lib_dpkg_color.c) = 7bcb9ab6705f9c423d355c26c58bf916dc4cc935
SHA1 (patch-lib_dpkg_color.h) = 4d5a7989d74130f9f0b89173befb19a6d9b9dcc2
SHA1 (patch-lib_dpkg_libdpkg.map) = 8779bd424d5f9ba211b7be4a600e3bcbfd51e78d
Index: pkgsrc/misc/dpkg/patches/patch-configure
diff -u pkgsrc/misc/dpkg/patches/patch-configure:1.2 pkgsrc/misc/dpkg/patches/patch-configure:1.3
--- pkgsrc/misc/dpkg/patches/patch-configure:1.2 Sat Mar 9 07:56:51 2024
+++ pkgsrc/misc/dpkg/patches/patch-configure Fri Jan 3 13:41:51 2025
@@ -1,11 +1,11 @@
-$NetBSD: patch-configure,v 1.2 2024/03/09 07:56:51 adam Exp $
+$NetBSD: patch-configure,v 1.3 2025/01/03 13:41:51 adam Exp $
Allow libdpkg being a shared library.
Use md5 from OpenSSL.
---- configure.orig 2024-02-27 03:28:03.000000000 +0000
+--- configure.orig 2025-01-01 22:27:27.000000000 +0000
+++ configure
-@@ -17074,12 +17074,6 @@ CC=$lt_save_CC
+@@ -17349,12 +17349,6 @@ CC=$lt_save_CC
@@ -18,7 +18,7 @@ Use md5 from OpenSSL.
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --as-needed linker flag" >&5
-@@ -23971,16 +23965,16 @@ fi
+@@ -24372,16 +24366,16 @@ fi
have_libmd="no"
@@ -39,12 +39,12 @@ Use md5 from OpenSSL.
if test ${ac_cv_search_MD5Init+y}
then :
printf %s "(cached) " >&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 ();
+@@ -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)
{
Index: pkgsrc/misc/dpkg/patches/patch-lib_dpkg_buffer.c
diff -u pkgsrc/misc/dpkg/patches/patch-lib_dpkg_buffer.c:1.1 pkgsrc/misc/dpkg/patches/patch-lib_dpkg_buffer.c:1.2
--- pkgsrc/misc/dpkg/patches/patch-lib_dpkg_buffer.c:1.1 Tue Jun 13 15:44:29 2023
+++ pkgsrc/misc/dpkg/patches/patch-lib_dpkg_buffer.c Fri Jan 3 13:41:51 2025
@@ -1,8 +1,8 @@
-$NetBSD: patch-lib_dpkg_buffer.c,v 1.1 2023/06/13 15:44:29 adam Exp $
+$NetBSD: patch-lib_dpkg_buffer.c,v 1.2 2025/01/03 13:41:51 adam Exp $
Use md5 from OpenSSL.
---- lib/dpkg/buffer.c.orig 2023-03-27 00:41:09.000000000 +0000
+--- lib/dpkg/buffer.c.orig 2024-12-31 20:28:41.000000000 +0000
+++ lib/dpkg/buffer.c
@@ -26,7 +26,7 @@
#include <sys/types.h>
@@ -22,7 +22,7 @@ Use md5 from OpenSSL.
}
static off_t
-@@ -75,7 +75,7 @@ buffer_digest_update(struct buffer_data
+@@ -75,7 +75,7 @@ buffer_digest_update(struct buffer_data
case BUFFER_DIGEST_NULL:
break;
case BUFFER_DIGEST_MD5:
@@ -38,5 +38,5 @@ Use md5 from OpenSSL.
- MD5Final(digest, &ctx->ctx);
+ MD5_Final(digest, &ctx->ctx);
for (i = 0; i < 16; ++i) {
- sprintf(hash, "%02x", *p++);
+ snprintf(hash, 3, "%02x", *p++);
hash += 2;
Home |
Main Index |
Thread Index |
Old Index