termux-packages/packages/dpkg
Leonid Pliushch 9d92a7360c add patches for prefix verification - prevent use of prebuilt packages by third parties
Add a small stub which verifies whether /data/data/com.termux/files/usr is readable
into few important packages such like Bash or APT. If this check fails, e.g.
in case if binary was executed in program with different package name (non-Termux),
program will print warning and exit with error status immediately.

This should prevent use of prebuilt packages by third-party applications.

NOTE: for now it uses /data/data/com.termux/files/usr in reversed order to
prevent automatic "blind" patching with sed. Will replace with randomized
XOR-based variant in case if that measure won't be enough.
2020-09-28 00:10:00 +03:00
..
build.sh add patches for prefix verification - prevent use of prebuilt packages by third parties 2020-09-28 00:10:00 +03:00
configure.patch dpkg: Update from 1.18.0 to 1.18.15 2016-11-26 10:47:55 -05:00
dbmodify_dont_require_root.patch Initial push 2015-06-13 01:03:31 +02:00
extract.c.patch Revert "dpkg: use busybox for rm and tar" 2019-07-21 22:18:09 +03:00
lib-dpkg-atomic-file.c.patch dpkg: Do not even try creating hardlinks 2016-03-16 10:53:16 -04:00
lib-dpkg-dpkg.h.patch dpkg: Fix conffiles handling 2016-03-03 17:45:46 -05:00
lib-dpkg-path-remove.c.patch Revert "dpkg: use busybox for rm and tar" 2019-07-21 22:18:09 +03:00
src-archives.c.patch dpkg: Update from 1.19.0.5 to 1.19.2 2018-11-11 03:28:36 +01:00
src-configure.c.patch dpkg: Update from 1.18.15 to 1.18.18 2016-12-20 18:59:47 -05:00
src-help.c.patch dpkg: Update from 1.19.0.5 to 1.19.2 2018-11-11 03:28:36 +01:00
src-statcmd.c.patch dpkg: Update from 1.17.25 to 1.18.2 2015-08-25 18:25:24 -04:00
verify-prefix.patch.txt add patches for prefix verification - prevent use of prebuilt packages by third parties 2020-09-28 00:10:00 +03:00