dpkg: update to 1.20.0

This commit is contained in:
Leonid Pliushch 2020-03-08 20:00:47 +02:00
parent f99d151b8d
commit bd9f2f00af
2 changed files with 2 additions and 21 deletions

View File

@ -1,10 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://packages.debian.org/dpkg
TERMUX_PKG_DESCRIPTION="Debian package management system"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=1.19.7
TERMUX_PKG_REVISION=9
TERMUX_PKG_VERSION=1.20.0
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/debian/pool/main/d/dpkg/dpkg_${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=4c27fededf620c0aa522fff1a48577ba08144445341257502e7730f2b1a296e8
TERMUX_PKG_SHA256=b633cc2b0e030efb61e11029d8a3fb1123f719864c9992da2e52b471c96d0900
# with the extract.c.patch we remove the -p and --warning=no-timestamp tar options so we can use busybox tar
TERMUX_PKG_DEPENDS="bzip2, coreutils, diffutils, gzip, less, libbz2, liblzma, tar, xz-utils, zlib"
TERMUX_PKG_BREAKS="dpkg-dev"

View File

@ -1,18 +0,0 @@
diff -u -r ../dpkg-1.18.2/lib/dpkg/triglib.c ./lib/dpkg/triglib.c
--- ../dpkg-1.18.2/lib/dpkg/triglib.c 2015-07-12 22:38:47.000000000 -0400
+++ ./lib/dpkg/triglib.c 2015-08-25 17:54:10.350853590 -0400
@@ -787,10 +787,13 @@
if (errno != EEXIST)
ohshite(_("unable to create triggers state"
" directory '%.250s'"), triggersdir);
- } else if (chown(triggersdir, 0, 0)) {
+ }
+#ifndef __ANDROID__
+ else if (chown(triggersdir, 0, 0)) {
ohshite(_("unable to set ownership of triggers state"
" directory '%.250s'"), triggersdir);
}
+#endif
ur = trigdef_update_start(tduf);
}
switch (ur) {