78 Commits

Author SHA1 Message Date
Tee KOBAYASHI
41a5ca3bcf coreutils: Bump to 9.3 2023-04-19 09:08:33 +09:00
Tee KOBAYASHI
c3efe1d59c coreutils: Add workaround for undeclared gethostid
%ci:no-build
2023-04-01 21:42:50 +09:00
Tee KOBAYASHI
3c88b59561 *: Disable clang16-porting for essential packages
%ci:no-build
2023-03-28 16:27:35 +09:00
Tee KOBAYASHI
b35ffbab92 coreutils: Replace FICLONE patch with upstream one 2023-03-24 23:10:37 +09:00
Tee KOBAYASHI
cc0c14f01f coreutils: Backport fix for cksum 2023-03-24 23:10:37 +09:00
Lucy Phipps
8a92d8ca15 coreutils: add lib/tmpdir.c to fix-paths.patch 2023-03-23 07:10:09 +00:00
Tee KOBAYASHI
dda3d60bf2 coreutils: Fix FICLONE failure handling, take 2 2023-03-21 22:01:59 +09:00
Tee KOBAYASHI
5d53d8674c coreutils: Add reference to issue from patch
%ci:no-build
2023-03-21 14:25:52 +09:00
Tee KOBAYASHI
63a5b55af9 coreutils: Fix FICLONE failure handling 2023-03-21 14:13:46 +09:00
Lucy Phipps
5952996929 coreutils: delete lib-stdio-impl.h.patch
has been upstreamed
2023-03-20 23:08:32 +00:00
Lucy Phipps
2740fa0268 coreutils: fix fix-paths.patch
the patches for lib/tempname.c were for n unused function which is now removed
2023-03-20 22:55:49 +00:00
Lucy Phipps
a135b87873 coreutils: update to 9.2 2023-03-20 22:32:25 +00:00
Tee KOBAYASHI
ed021c2bb0 coreutils: Fix implementation of struct __sFILE
Remove unnecessary mitigation.
2022-09-28 19:56:10 +09:00
Tee KOBAYASHI
81e65a78d4 coreutils: Mitigate write() error on 32-bit archs 2022-09-14 23:23:42 +09:00
Tee KOBAYASHI
827259bdbf coreutils: Update to 9.1 2022-04-16 22:49:11 +05:30
Lucinda May Phipps
93af891777 coreutils: update src-ls.c.patch 2021-10-22 06:35:05 +01:00
Lucinda May Phipps
9f86b9a18b coreutils: update to 9.0 2021-10-22 06:17:51 +01:00
Leonid Pliushch
a47d342818 coreutils: date: don't fail with 'Bad system call' on settime
Notify user that only root can modify system time.
2021-07-30 18:09:19 +03:00
Leonid Pliushch
fd66e2fe29 get rid of verify-prefix.patch.txt
Switching to a more "soft" solution which will be focused on apt only.

Apt will now send an application package name (com.termux) and prefix
(/data/data/com.termux/files/usr) as part of user-agent string. That
will allow to distinguish real Termux users from parties which download
our packages and binary-patching them for the custom prefix.

Note that this will disable user's possibility to set custom User-Agent
for apt.
2020-12-24 16:42:32 +02:00
Leonid Pliushch
37375312b9 explicitly set maintainer for each package
In issue https://github.com/termux/termux-packages/issues/6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.

Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.

[skip ci]
%ci:no-build
2020-12-20 15:16:34 +02:00
Leonid Pliushch
7e89e130ce apply prefix verification patches again - now shouldn't cause crash 2020-09-28 02:54:13 +03:00
Leonid Pliushch
a6102de687 Revert "add patches for prefix verification"
This reverts commit 2703e4f68f856bb816c695ab53118306ba8104a4.

https://github.com/termux/termux-packages/issues/5858 - seem to be buffer overflow...
2020-09-28 01:37:34 +03:00
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
Leonid Pliushch
328593de6d coreutils: bump revision 2020-07-07 19:33:38 +03:00
Leonid Pliushch
d6db0bb10f coreutils: specify DEFAULT_TMPDIR with patch
https://github.com/termux/termux-packages/issues/5245#issuecomment-623992313
2020-05-05 14:16:27 +03:00