diff options
author | adam <adam@pkgsrc.org> | 2020-04-11 11:53:42 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-04-11 11:53:42 +0000 |
commit | 0556367db6487994e78afcd5311af3933ed79421 (patch) | |
tree | 34db1cfd50b456dab0721447ac3a9cc66c54fe72 | |
parent | ec903aaab26235a80eebc17146205fcf048fb5b9 (diff) | |
download | pkgsrc-0556367db6487994e78afcd5311af3933ed79421.tar.gz |
dpkg: updated to 1.20.0
dpkg (1.20.0) experimental; urgency=medium
* libdpkg: Do not generate a backup file for the available database.
* perl: Switch Getopt::Long from bundling to bundling_values. This means
the few scripts using Getopt::Long will stop accepting options in the
form «-ab» for «-a -b», which is not future-proof, as it does not allow
these options to get new arguments without making them abiguous.
* dpkg-buildpackage: Remove transient backwards R³ compatibility code.
* buildtools.mk: Add support for nostrip in DEB_BUILD_OPTIONS when setting
the STRIP variable.
* dpkg-genbuildinfo: Do not include irrelevant packages in the Binary field.
* dpkg: Do not clear selections for unknown packages.
* dpkg-shlibdeps: Add support for new Build-Depends-Packages, to be able
to specify multiple packages.
Based on a patch by Frank Schaefer <kelledin@gmail.com>.
* perl: Remove support for versioned GnuPG 2 program and packages.
* libdpkg: Clarify lock contender error message. Print the PID of the lock
contender, and add a warning explaining that removing the lock file is
never the correct solution.
* dpkg-genchanges, dpkg-mergechangelogs: Remove support for ~vola
versioning, as volatile.debian.org was decommissioned some time ago.
* dpkg-genchanges, dpkg-mergechangelogs: Match ~deb also as a backport
marker in versions.
* libdpkg, dpkg: Use new versiondescribe_c() for non-localizable call sites,
such as when writing to a log, which should not be localized.
* dpkg-query: Try to use the package synopsis from the available file if
not installed.
* dpkg-gencontrol: Take into account hardlinks when computing the
Installed-Size substvar.
Patch co-authored with Sven Joachim <svenjoac@gmx.de>.
* dpkg: Fix and clarify behavior for packages marked to be on “hold”. These
need to be processed for configuration and triggers.
* dpkg: Use DPKG_ADMINDIR to set the admindir.
* dpkg-source: Remove backwards compatibility code for legacy build-profiles.
* perl: Give more context on field parsing errors.
* dpkg-buildpackage: Add option to sanitize environment.
* update-alternatives: Cope with a missing administrative directory.
* update-alternatives: Create the administrative directory on demand.
* dpkg-split: Cope with a missing parts/ database directory.
* dpkg-split: Create the parts/ database directory on demand.
* libdpkg: Consider msdbrw_needsuperuser equivalent to msdbrw_write, so
the same checks are performed on normal non --force-not-root operation.
* libdpkg: Add support for bootstrapping the installation of dpkg:
- Create the logfile with correct permissions, and remove the code
setting up the logfile from the dpkg postinst.
- Allow missing status and available databases, so that they get created
on write, and remove the code setting them up from the dpkg postinst.
- Do not change the ownership of the triggers database directory. Either
we are running as root:root which means the ownership should be correct
already, or we are not which means we cannot change it anyway.
- Create the dpkg database directory on demand.
- Create the updates/ database directory on demand.
- Create the info/ database directory on demand.
* dpkg-architecture: Fix handling of exec failing in --command.
Reported by Helmut Grohne <helmut@subdivi.de>.
* dpkg-buildpackage: Do not accept equal signs as part of the hook names.
Reported by Daniel Shahaf <danielsh@apache.org>.
* dselect: Mark a string for translation.
* dselect: Cleanup access methods:
- Remove harddisk methods, as they were non-functional due to fdisk
interface changes, and do not make sense anymore as we can expect users
to mount any such filesystem on their own, to then use a filesystem
method instead. Prompted by Helmut Grohne <helmut@subdivi.de>.
- Remove cdrom method superseded by the multi_cd method.
- Remove nfs methods, as there is nothing special about NFS, and mounting
these should just be left to the local admin, who can mount any other
remote filesystem too.
- Remove multi_mount method, as the multi_cd method can take care of
mounting the necessary images or devices.
- Replace changelog with correct copyright in file header.
* dpkg, dselect: Stop using first-person singular in output messages.
* libdpkg: Fix memory leak in parsedb context close.
* buildtools.mk: Add QMAKE variable.
* po: Fix translation of --compare-versions.
Thanks to Boyuan Yang <byang@debian.org>.
* Perl modules:
- Dpkg::Source::Package: Verify original tarball signatures at build time.
- Dpkg::BuildFlags: Add new unset() method.
Requested by Daniel Schepler <dschepler@gmail.com>.
- Dpkg::Source::Package::V2: Emit a special patch header on
single-debian-patch.
- Dpkg::Vendor::Debian: Only scan /usr/local/ directories that exist.
- Dpkg::Vendor::Debian: Do not set -Werror=implicit-function-declaration
for C++.
- Dpkg::Deps: Check for valid virtual package version relations. Do not
allow non-equal version relations in virtual provides.
- Dpkg: Remove internal lowercase variables $version, $progname,
$admindir, $dpkglibdir and $pkgdatadir.
- Dpkg::Changelog: Remove obsolete methods dpkg() and rfc822().
- Dpkg::Changelog::Entry::Debian: Remove obsolete methods check_header()
and check_trailer(). Hide variables $regex_header and $regex_trailer.
- Dpkg::Changelog::Parse: Remove warnings of obsolete options forceplugin
and libdir. Remove obsolete functions changelog_parse_debian() and
changelog_parse_plugin().
- Dpkg::Compression: Hide internal lowercase variables
$default_compression, $default_compression_level and
$compression_re_file_ext.
- Dpkg::Deps::KnownFacts: Remove obsolete check_package() method.
- Dpkg::Exit: Hide internal lowercase @handlers variable.
- Dpkg::Gettext: Remove obsolete _g() function.
- Dpkg::Source::Package: Hide internal lowercase variable
@tar_ignore_default_pattern. Remove iternal lowercase variable alias
$diff_ignore_default_regexp.
- Dpkg::Substvars: Remove obsolete no_warn() method.
- Dpkg::Index: Change default value for unique_tuple_key to 1.
- Dpkg::Version: Remove deprecation warning from semantic change in
bool overload.
- Dpkg::Checksums: Remove obsolete 'program' property warning.
- Dpkg::Conf: Remove obsolete methods and obsolete croak for method option.
- Dpkg::Vendor: Remove obsolete 'keyrings' hook.
- Dpkg::Exit: Unregister all signal handlers once we have executed them.
- Dpkg::Exit: Register exit handlers also for __DIE__.
- Dpkg::Source::Package::V3::Native: Do not say v1.0 for 3.0 formats.
- Dpkg::Dist::Files: On filename parse error say file instead of package.
- Dpkg::Substvars: Add new vendor:Name and vendor:Id substvars.
- Dpkg::Source::Package: Detect directory traversals under debian
directory. Reported by Felix Lechner <felix.lechner@lease-up.com>.
* Documentation:
- man: Fix uncommon wording constructs.
- man: Use a minus sign for a literal string.
- man: Clarify that the pager is called via «$SHELL -c».
- dpkg-shlibdeps: Document split_soname() function.
Prompted by Christopher Crim <christopher.crim@quoininc.com>.
- Dpkg::Changelog: Document methods provided by subclasses.
Reported by Felix Lechner <felix.lechner@lease-up.com>.
- man: Globally adjust left and disable hyphenation.
- man: Split dselect(1) --color from --colour option items.
- man: Describe the SONAME formats supported in deb-shlibs(5).
- man: Move template symbol documentation into new deb-src-symbols(5).
- Dpkg::Changelog::Parse: Remove $ sigil from option names in POD.
- Dpkg: Say class instead of object when appropriate.
- Dpkg::Changelog: Clarify that these classes inherit from some other
base class, which will contain the missing documentation.
Prompted by intrigeri <intrigeri@debian.org>.
- man: Clarify deb-changelog(5) format.
- man: Clarify debian/source/include-binaries format in dpkg-source(1).
Prompted by Felix Lechner <felix.lechner@lease-up.com>.
- man, doc: Clarify that the postinst "triggered" argument gets the
trigger-name(s) as a space-separated list in the second argument.
Prompted by Michael Biebl <biebl@debian.org>.
- dselect: Update the multicd README file.
- doc, man: Mark T and I package instances to avoid misreadings.
* Code internals:
- Dpkg::Source::Package: Refactor original tarball handling.
- perl: Use File::Copy instead of spawning mv/cp commands.
- Dpkg::OpenPGP: Refactor signature verification into a new function.
- Dpkg::OpenPGP: Make it possible to verify detached signatures.
- Dpkg::OpenPGP: Add support for importing an OpenPGP key into a keyring.
- Dpkg::BuildFlags: Remove unused hash keys.
- libdpkg: Use the variable instead of a type as sizeof() argument.
- libdpkg: Use the totalwritten variable for a consistency check.
- dselect: Reduce scope of variable, to avoid it being unused in a branch.
- dpkg-deb: Fold two adjacent if conditionals into a single one.
- dpkg: Initialize flagdeppossi in check_conflict().
- libdpkg: Add new C locale switch over support.
- libdpkg: Add new versiondescribe_c() to force a C locale.
- dselect: Make baselist::draw_column_*() col arguments const.
- libdpkg: Use p instead of name in dpkg_arch_name_is_illegal().
- dpkg: Remove redudant condition for sourcefile in updateavailable().
- dpkg, update-alternatives: Make variables static.
- libdpkg: Add missing symbols to the version map.
- libdpkg: Fix fiemap memory layout usage that confuses gcc 10 to emit a
warning.
- libdpkg: Only use varbuf_printf() in pkg_format_show() when necessary.
This should speed up «dpkg-query --show» formatting.
- libdpkg: Fix package format string to be a string literal.
This suppresses a gcc warning.
- dpkg: Fix short lived memory leak in --force-help handling.
- dpkg-split: Fix short lived file descriptor leak in --auto.
- start-stop-daemon: Explicitly ignore uninmportant function return values.
- start-stop-daemon: Fix memory leak on multiple --chuid arguments.
- start-stop-daemon: Close the notification socket in the child.
- libdpkg: Fix memory leaks in zlib and bz2 decompression functions.
- libdpkg: Add new dir_make_path() and dir_make_path_parent() functions.
- libdpkg: Add new atomic file flag to create the base path when missing.
- libdpkg: Fix modstatdb_rw enum comments.
- libdpkg, dpkg-query: Optimize db-fsys:Files virtual variable loading.
We load either the entire db-fsys for all packages, possibly optimized
per platform (such as by using fiemap), or the specific ones for the
requested packages. This also fixes a problematic cast removing the
constness of a variable.
- Dpkg::Dist::Files: Document the two filename pattern formats.
- update-alternatives: Remove redundant condition in argument parser.
- update-alternatives: Move error context setup before calling setjmp(),
so that cppcheck stops being confused.
- test: Reformat 200_Dpkg_Shlibs.cpp for coding style conformance.
- dpkg: Make it possible for the compiler to check printf() format
string arguments on dependency printer.
- dselect: Reorder branches in packagelist::deselect_one_of so that they
are not duplicated.
- dselect: Use nullptr instead of NULL.
- dselect: Use static_cast<> instead of old-style type qualifier cast.
- dselect: Do not use unnecessary old-style casts.
- dselect: Fix variable types to avoid needing old-style casts.
- libcompat: Disarm libselinux setexecfilecon() declaration for
libcompat-test.
- libdpkg: Define new VARBUF_OBJECT macro.
- libdpkg: Add new ATOMIC_FILE_NORMAL enum value to avoid a cast in C++.
- libdpkg: Use a new DPKG_NULL macro that works in C and C++.
- libdpkg: Use a new DPKG_STATIC_CAST macro that works in C and C++.
- libdpkg: Move printing of errno into dpkg_error_set().
- libdpkg: Use a varbuf to store the problem messages per parsedb context.
- libdpkg: Fix Doxygen comments.
* Build system:
- Bump minimal Perl version to 5.24.1.
- Add a serial versioning to the m4 files.
- Install m4 files into system aclocal directory.
- Bump minimal gettext version to 0.19.8, to get the m4 files that can
cross-build for musl-based systems.
- Enable more compiler warnings.
- Update Doxygen configuration from version 1.8.16.
* Packaging:
- Remove obsolete Breaks satisfied since oldstable.
- Replace custom rule for 'configure' with call to dh_autoreconf.
Thanks to Dan Streetman <ddstreet@canonical.com>.
- dselect: Remove methods state files on purge.
Spotted by Sven Joachim <svenjoac@gmx.de>.
- Switch to debhelper compatibility level 12.
- Switch from debian/compat to debhelper-commpat in Build-Depends.
- Bump Standards-Version to 4.5.0 (no changes required).
* Test suite:
- Remove perlcritic Documentation::RequirePodLinksIncludeText suppression.
- Clarify cppcheck va_list_usedBeforeStarted suppression.
- Skip build directories from codespell check.
- Update stopwords for codespell 1.16.0.
- Suppress new bogus cppcheck 1.90 false positives.
- libdpkg: Remove redundant assignment in t-ehandle unit test.
- Skip backup files from codespell check.
- Ignore python-3.8 runtime warnings in codespell.
[ Updated programs translations ]
* German (Sven Joachim).
* Portuguese (Miguel Figueiredo).
* Simplified Chinese (Mo Zhou).
[ Updated dselect translations ]
* German (Sven Joachim).
[ Updated scripts translations ]
* German (Helge Kreutzmann).
[ Updated man pages translations ]
* German (Helge Kreutzmann)
-rw-r--r-- | misc/dpkg/Makefile | 6 | ||||
-rw-r--r-- | misc/dpkg/PLIST | 222 | ||||
-rw-r--r-- | misc/dpkg/distinfo | 11 | ||||
-rw-r--r-- | misc/dpkg/patches/patch-utils_start-stop-daemon.c | 18 |
4 files changed, 147 insertions, 110 deletions
diff --git a/misc/dpkg/Makefile b/misc/dpkg/Makefile index 7eec6ceb8ad..3214d70fe82 100644 --- a/misc/dpkg/Makefile +++ b/misc/dpkg/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.48 2019/08/11 13:21:54 wiz Exp $ +# $NetBSD: Makefile,v 1.49 2020/04/11 11:53:42 adam Exp $ -DISTNAME= dpkg_1.18.25 +DISTNAME= dpkg_1.20.0 PKGNAME= ${DISTNAME:S/_/-/} -PKGREVISION= 1 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/d/dpkg/} EXTRACT_SUFX= .tar.xz @@ -21,6 +20,7 @@ BUILD_DEFS+= VARBASE USE_PKGLOCALEDIR= yes USE_LANGUAGES= c c++ +USE_LIBTOOL= yes USE_TOOLS+= gmake msgfmt perl:run gtar:run pod2man GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-admindir=${VARBASE}/db/dpkg diff --git a/misc/dpkg/PLIST b/misc/dpkg/PLIST index 3e6aff86666..d2f777b8bb4 100644 --- a/misc/dpkg/PLIST +++ b/misc/dpkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.12 2017/12/07 12:35:41 adam Exp $ +@comment $NetBSD: PLIST,v 1.13 2020/04/11 11:53:43 adam Exp $ bin/dpkg bin/dpkg-architecture bin/dpkg-buildflags @@ -34,6 +34,8 @@ include/dpkg/c-ctype.h include/dpkg/color.h include/dpkg/command.h include/dpkg/compress.h +include/dpkg/db-ctrl.h +include/dpkg/db-fsys.h include/dpkg/deb-version.h include/dpkg/debug.h include/dpkg/dir.h @@ -43,13 +45,16 @@ include/dpkg/ehandle.h include/dpkg/error.h include/dpkg/fdio.h include/dpkg/file.h +include/dpkg/fsys.h include/dpkg/glob.h include/dpkg/macros.h include/dpkg/namevalue.h include/dpkg/options.h +include/dpkg/pager.h include/dpkg/parsedump.h include/dpkg/path.h include/dpkg/pkg-array.h +include/dpkg/pkg-files.h include/dpkg/pkg-format.h include/dpkg/pkg-list.h include/dpkg/pkg-queue.h @@ -98,6 +103,12 @@ ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Control/Tests.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Control/Tests/Entry.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Control/Types.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Deps.pm +${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Deps/AND.pm +${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Deps/KnownFacts.pm +${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Deps/Multiple.pm +${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Deps/OR.pm +${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Deps/Simple.pm +${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Deps/Union.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Dist/Files.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/ErrorHandling.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Exit.pm @@ -107,6 +118,8 @@ ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Gettext.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/IPC.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Index.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Interface/Storable.pm +${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Lock.pm +${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/OpenPGP.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Package.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Path.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Shlibs.pm @@ -115,6 +128,8 @@ ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Shlibs/Objdump.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Shlibs/Symbol.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Shlibs/SymbolFile.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Source/Archive.pm +${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Source/BinaryFiles.pm +${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Source/Format.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Source/Functions.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Source/Package.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Source/Package/V1.pm @@ -127,7 +142,6 @@ ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Source/Package/V3/Quilt.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Source/Patch.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Source/Quilt.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Substvars.pm -${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Util.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Vars.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Vendor.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Vendor/Debian.pm @@ -136,27 +150,17 @@ ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Vendor/Ubuntu.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dpkg/Version.pm ${PERL5_SUB_INSTALLVENDORLIB}/Dselect/Ftp.pm lib/pkgconfig/libdpkg.pc -libexec/dpkg/methods/disk/desc.cdrom -libexec/dpkg/methods/disk/desc.harddisk libexec/dpkg/methods/disk/desc.mounted -libexec/dpkg/methods/disk/desc.nfs libexec/dpkg/methods/disk/install libexec/dpkg/methods/disk/names libexec/dpkg/methods/disk/setup libexec/dpkg/methods/disk/update -libexec/dpkg/methods/floppy/desc.floppy -libexec/dpkg/methods/floppy/install -libexec/dpkg/methods/floppy/names -libexec/dpkg/methods/floppy/setup -libexec/dpkg/methods/floppy/update libexec/dpkg/methods/ftp/desc.ftp libexec/dpkg/methods/ftp/install libexec/dpkg/methods/ftp/names libexec/dpkg/methods/ftp/setup libexec/dpkg/methods/ftp/update libexec/dpkg/methods/multicd/desc.multi_cd -libexec/dpkg/methods/multicd/desc.multi_mount -libexec/dpkg/methods/multicd/desc.multi_nfs libexec/dpkg/methods/multicd/install libexec/dpkg/methods/multicd/names libexec/dpkg/methods/multicd/setup @@ -205,80 +209,92 @@ man/de/man5/deb-shlibs.5 man/de/man5/deb-split.5 man/de/man5/deb-src-control.5 man/de/man5/deb-src-files.5 +man/de/man5/deb-src-rules.5 +man/de/man5/deb-src-symbols.5 man/de/man5/deb-substvars.5 man/de/man5/deb-symbols.5 man/de/man5/deb-triggers.5 -man/de/man5/deb-version.5 man/de/man5/deb.5 man/de/man5/deb822.5 man/de/man5/dpkg.cfg.5 man/de/man5/dsc.5 man/de/man5/dselect.cfg.5 +man/de/man7/deb-version.7 man/de/man8/start-stop-daemon.8 -man/es/man1/dpkg-distaddfile.1 -man/es/man1/dpkg-divert.1 -man/es/man1/dpkg-gencontrol.1 -man/es/man1/dpkg-mergechangelogs.1 -man/es/man1/dpkg-name.1 -man/es/man1/dpkg-scansources.1 man/es/man1/dpkg-split.1 -man/es/man1/dpkg-vendor.1 man/es/man1/update-alternatives.1 man/es/man5/deb-extra-override.5 man/es/man5/deb-old.5 man/es/man5/deb-override.5 man/es/man5/deb-split.5 -man/es/man8/start-stop-daemon.8 man/fr/man1/dpkg-architecture.1 +man/fr/man1/dpkg-buildflags.1 +man/fr/man1/dpkg-buildpackage.1 +man/fr/man1/dpkg-checkbuilddeps.1 +man/fr/man1/dpkg-deb.1 man/fr/man1/dpkg-distaddfile.1 man/fr/man1/dpkg-divert.1 +man/fr/man1/dpkg-genbuildinfo.1 +man/fr/man1/dpkg-genchanges.1 man/fr/man1/dpkg-gencontrol.1 man/fr/man1/dpkg-gensymbols.1 man/fr/man1/dpkg-maintscript-helper.1 man/fr/man1/dpkg-mergechangelogs.1 man/fr/man1/dpkg-name.1 +man/fr/man1/dpkg-parsechangelog.1 man/fr/man1/dpkg-query.1 +man/fr/man1/dpkg-scanpackages.1 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/dpkg.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 +man/fr/man5/deb-control.5 man/fr/man5/deb-extra-override.5 man/fr/man5/deb-old.5 +man/fr/man5/deb-origin.5 man/fr/man5/deb-override.5 +man/fr/man5/deb-postinst.5 +man/fr/man5/deb-postrm.5 +man/fr/man5/deb-preinst.5 +man/fr/man5/deb-prerm.5 man/fr/man5/deb-split.5 +man/fr/man5/deb-src-control.5 +man/fr/man5/deb-src-files.5 +man/fr/man5/deb-src-rules.5 +man/fr/man5/deb-src-symbols.5 +man/fr/man5/deb-substvars.5 +man/fr/man5/deb-symbols.5 +man/fr/man5/deb-triggers.5 +man/fr/man5/deb.5 +man/fr/man5/deb822.5 +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/start-stop-daemon.8 -man/it/man1/dpkg-architecture.1 -man/it/man1/dpkg-distaddfile.1 man/it/man1/dpkg-maintscript-helper.1 -man/it/man1/dpkg-name.1 -man/it/man1/dpkg-query.1 -man/it/man1/dpkg-scansources.1 man/it/man1/dpkg-split.1 -man/it/man1/dpkg-statoverride.1 -man/it/man1/dpkg-vendor.1 man/it/man1/update-alternatives.1 man/it/man5/deb-extra-override.5 man/it/man5/deb-old.5 man/it/man5/deb-override.5 man/it/man5/deb-split.5 -man/it/man8/start-stop-daemon.8 -man/ja/man1/dpkg-distaddfile.1 -man/ja/man1/dpkg-divert.1 -man/ja/man1/dpkg-gencontrol.1 -man/ja/man1/dpkg-mergechangelogs.1 -man/ja/man1/dpkg-name.1 -man/ja/man1/dpkg-scansources.1 man/ja/man1/dpkg-split.1 -man/ja/man1/dpkg-vendor.1 man/ja/man1/update-alternatives.1 man/ja/man5/deb-extra-override.5 man/ja/man5/deb-old.5 man/ja/man5/deb-override.5 man/ja/man5/deb-split.5 -man/ja/man8/start-stop-daemon.8 man/man1/dpkg-architecture.1 man/man1/dpkg-buildflags.1 man/man1/dpkg-buildpackage.1 @@ -306,48 +322,55 @@ man/man1/dpkg-vendor.1 man/man1/dpkg.1 man/man1/dselect.1 man/man1/update-alternatives.1 -man/man3/Dpkg.3 -man/man3/Dpkg::Arch.3 -man/man3/Dpkg::Build::Env.3 -man/man3/Dpkg::Build::Info.3 -man/man3/Dpkg::Build::Types.3 -man/man3/Dpkg::BuildFlags.3 -man/man3/Dpkg::BuildOptions.3 -man/man3/Dpkg::BuildProfiles.3 -man/man3/Dpkg::Changelog.3 -man/man3/Dpkg::Changelog::Debian.3 -man/man3/Dpkg::Changelog::Entry.3 -man/man3/Dpkg::Changelog::Entry::Debian.3 -man/man3/Dpkg::Changelog::Parse.3 -man/man3/Dpkg::Checksums.3 -man/man3/Dpkg::Compression.3 -man/man3/Dpkg::Compression::FileHandle.3 -man/man3/Dpkg::Compression::Process.3 -man/man3/Dpkg::Conf.3 -man/man3/Dpkg::Control.3 -man/man3/Dpkg::Control::Changelog.3 -man/man3/Dpkg::Control::Fields.3 -man/man3/Dpkg::Control::FieldsCore.3 -man/man3/Dpkg::Control::Hash.3 -man/man3/Dpkg::Control::HashCore.3 -man/man3/Dpkg::Control::Info.3 -man/man3/Dpkg::Control::Tests.3 -man/man3/Dpkg::Control::Tests::Entry.3 -man/man3/Dpkg::Control::Types.3 -man/man3/Dpkg::Deps.3 -man/man3/Dpkg::Exit.3 -man/man3/Dpkg::Gettext.3 -man/man3/Dpkg::IPC.3 -man/man3/Dpkg::Index.3 -man/man3/Dpkg::Interface::Storable.3 -man/man3/Dpkg::Path.3 -man/man3/Dpkg::Source::Package.3 -man/man3/Dpkg::Substvars.3 -man/man3/Dpkg::Vendor.3 -man/man3/Dpkg::Vendor::Debian.3 -man/man3/Dpkg::Vendor::Default.3 -man/man3/Dpkg::Vendor::Ubuntu.3 -man/man3/Dpkg::Version.3 +man/man3/Dpkg.3perl +man/man3/Dpkg::Arch.3perl +man/man3/Dpkg::Build::Env.3perl +man/man3/Dpkg::Build::Info.3perl +man/man3/Dpkg::Build::Types.3perl +man/man3/Dpkg::BuildFlags.3perl +man/man3/Dpkg::BuildOptions.3perl +man/man3/Dpkg::BuildProfiles.3perl +man/man3/Dpkg::Changelog.3perl +man/man3/Dpkg::Changelog::Debian.3perl +man/man3/Dpkg::Changelog::Entry.3perl +man/man3/Dpkg::Changelog::Entry::Debian.3perl +man/man3/Dpkg::Changelog::Parse.3perl +man/man3/Dpkg::Checksums.3perl +man/man3/Dpkg::Compression.3perl +man/man3/Dpkg::Compression::FileHandle.3perl +man/man3/Dpkg::Compression::Process.3perl +man/man3/Dpkg::Conf.3perl +man/man3/Dpkg::Control.3perl +man/man3/Dpkg::Control::Changelog.3perl +man/man3/Dpkg::Control::Fields.3perl +man/man3/Dpkg::Control::FieldsCore.3perl +man/man3/Dpkg::Control::Hash.3perl +man/man3/Dpkg::Control::HashCore.3perl +man/man3/Dpkg::Control::Info.3perl +man/man3/Dpkg::Control::Tests.3perl +man/man3/Dpkg::Control::Tests::Entry.3perl +man/man3/Dpkg::Control::Types.3perl +man/man3/Dpkg::Deps.3perl +man/man3/Dpkg::Deps::AND.3perl +man/man3/Dpkg::Deps::KnownFacts.3perl +man/man3/Dpkg::Deps::Multiple.3perl +man/man3/Dpkg::Deps::OR.3perl +man/man3/Dpkg::Deps::Simple.3perl +man/man3/Dpkg::Deps::Union.3perl +man/man3/Dpkg::Exit.3perl +man/man3/Dpkg::Gettext.3perl +man/man3/Dpkg::IPC.3perl +man/man3/Dpkg::Index.3perl +man/man3/Dpkg::Interface::Storable.3perl +man/man3/Dpkg::Path.3perl +man/man3/Dpkg::Source::Format.3perl +man/man3/Dpkg::Source::Package.3perl +man/man3/Dpkg::Substvars.3perl +man/man3/Dpkg::Vendor.3perl +man/man3/Dpkg::Vendor::Debian.3perl +man/man3/Dpkg::Vendor::Default.3perl +man/man3/Dpkg::Vendor::Ubuntu.3perl +man/man3/Dpkg::Version.3perl man/man5/deb-buildinfo.5 man/man5/deb-changelog.5 man/man5/deb-changes.5 @@ -365,15 +388,17 @@ man/man5/deb-shlibs.5 man/man5/deb-split.5 man/man5/deb-src-control.5 man/man5/deb-src-files.5 +man/man5/deb-src-rules.5 +man/man5/deb-src-symbols.5 man/man5/deb-substvars.5 man/man5/deb-symbols.5 man/man5/deb-triggers.5 -man/man5/deb-version.5 man/man5/deb.5 man/man5/deb822.5 man/man5/dpkg.cfg.5 man/man5/dsc.5 man/man5/dselect.cfg.5 +man/man7/deb-version.7 man/man8/start-stop-daemon.8 man/nl/man1/dpkg-architecture.1 man/nl/man1/dpkg-buildflags.1 @@ -415,60 +440,52 @@ man/nl/man5/deb-postinst.5 man/nl/man5/deb-postrm.5 man/nl/man5/deb-preinst.5 man/nl/man5/deb-prerm.5 -man/nl/man5/deb-shlibs.5 man/nl/man5/deb-split.5 man/nl/man5/deb-src-control.5 man/nl/man5/deb-src-files.5 +man/nl/man5/deb-src-rules.5 +man/nl/man5/deb-src-symbols.5 man/nl/man5/deb-substvars.5 man/nl/man5/deb-symbols.5 man/nl/man5/deb-triggers.5 -man/nl/man5/deb-version.5 man/nl/man5/deb.5 man/nl/man5/deb822.5 man/nl/man5/dpkg.cfg.5 man/nl/man5/dsc.5 man/nl/man5/dselect.cfg.5 +man/nl/man7/deb-version.7 man/nl/man8/start-stop-daemon.8 -man/pl/man1/dpkg-distaddfile.1 -man/pl/man1/dpkg-divert.1 -man/pl/man1/dpkg-gencontrol.1 -man/pl/man1/dpkg-mergechangelogs.1 -man/pl/man1/dpkg-name.1 -man/pl/man1/dpkg-scansources.1 man/pl/man1/dpkg-split.1 -man/pl/man1/dpkg-vendor.1 man/pl/man1/update-alternatives.1 man/pl/man5/deb-extra-override.5 man/pl/man5/deb-old.5 man/pl/man5/deb-override.5 man/pl/man5/deb-split.5 -man/pl/man8/start-stop-daemon.8 -man/sv/man1/dpkg-architecture.1 -man/sv/man1/dpkg-distaddfile.1 -man/sv/man1/dpkg-divert.1 man/sv/man1/dpkg-gencontrol.1 man/sv/man1/dpkg-gensymbols.1 man/sv/man1/dpkg-maintscript-helper.1 -man/sv/man1/dpkg-mergechangelogs.1 -man/sv/man1/dpkg-name.1 -man/sv/man1/dpkg-query.1 -man/sv/man1/dpkg-scansources.1 -man/sv/man1/dpkg-shlibdeps.1 man/sv/man1/dpkg-split.1 -man/sv/man1/dpkg-statoverride.1 -man/sv/man1/dpkg-trigger.1 -man/sv/man1/dpkg-vendor.1 man/sv/man1/update-alternatives.1 man/sv/man5/deb-extra-override.5 man/sv/man5/deb-old.5 man/sv/man5/deb-override.5 man/sv/man5/deb-split.5 -man/sv/man8/start-stop-daemon.8 sbin/start-stop-daemon +share/aclocal/dpkg-arch.m4 +share/aclocal/dpkg-build.m4 +share/aclocal/dpkg-compiler.m4 +share/aclocal/dpkg-coverage.m4 +share/aclocal/dpkg-funcs.m4 +share/aclocal/dpkg-libs.m4 +share/aclocal/dpkg-linker.m4 +share/aclocal/dpkg-progs.m4 +share/aclocal/dpkg-types.m4 +share/aclocal/dpkg-unicode.m4 share/dpkg/abitable share/dpkg/alternatives/README share/dpkg/architecture.mk share/dpkg/buildflags.mk +share/dpkg/buildtools.mk share/dpkg/cputable share/dpkg/default.mk share/dpkg/no-pie-compile.specs @@ -557,3 +574,4 @@ share/locale/zh_CN/LC_MESSAGES/dpkg.mo share/locale/zh_CN/LC_MESSAGES/dselect.mo share/locale/zh_TW/LC_MESSAGES/dpkg.mo share/locale/zh_TW/LC_MESSAGES/dselect.mo +share/polkit-1/actions/org.dpkg.pkexec.update-alternatives.policy diff --git a/misc/dpkg/distinfo b/misc/dpkg/distinfo index 7692db7bd7c..51e2b74f404 100644 --- a/misc/dpkg/distinfo +++ b/misc/dpkg/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.14 2018/08/31 13:58:44 adam Exp $ +$NetBSD: distinfo,v 1.15 2020/04/11 11:53:43 adam Exp $ -SHA1 (dpkg_1.18.25.tar.xz) = 49e827b0fef7e3b335cace31cba8ff6b340a4e27 -RMD160 (dpkg_1.18.25.tar.xz) = dd6ef449130ab14fd9104d3d849f45fe5cea5cfe -SHA512 (dpkg_1.18.25.tar.xz) = a26907c32ea02044d8729b70996b786204d3ce89ac294a8422b009688ab9bf886f593cb37430e84593dec2c26cfbc01a458d47fbda749decdf8acbfb72e07bb3 -Size (dpkg_1.18.25.tar.xz) = 4541640 bytes +SHA1 (dpkg_1.20.0.tar.xz) = eda82352ba507bc7d7749b44579983ace07064c8 +RMD160 (dpkg_1.20.0.tar.xz) = e0a2ca3232723d4e0927e6ae1a7f92648cc917da +SHA512 (dpkg_1.20.0.tar.xz) = 5dd7961bde19ccc891fd5b77ca0085f7fc0308c20380e20b393397ff92e50d1c0f54e7b57676c05876021b44aa3788af8258c21ff2b672110ac92c7ce0b408f9 +Size (dpkg_1.20.0.tar.xz) = 4738556 bytes +SHA1 (patch-utils_start-stop-daemon.c) = 7927b364851b039e44279157aa783afde4508af9 diff --git a/misc/dpkg/patches/patch-utils_start-stop-daemon.c b/misc/dpkg/patches/patch-utils_start-stop-daemon.c new file mode 100644 index 00000000000..aa07ec387ec --- /dev/null +++ b/misc/dpkg/patches/patch-utils_start-stop-daemon.c @@ -0,0 +1,18 @@ +$NetBSD: patch-utils_start-stop-daemon.c,v 1.1 2020/04/11 11:53:43 adam Exp $ + +Fix for systems without SOCK_NONBLOCK. + +--- utils/start-stop-daemon.c.orig 2020-04-11 11:04:32.000000000 +0000 ++++ utils/start-stop-daemon.c +@@ -605,7 +605,11 @@ create_notify_socket(void) + int fd, rc, flags; + + /* Create notification socket. */ ++#ifdef SOCK_NONBLOCK + fd = socket(AF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0); ++#else ++ fd = socket(AF_UNIX, SOCK_DGRAM, 0); ++#endif + if (fd < 0) + fatale("cannot create notification socket"); + |