Commit Graph

94 Commits

Author SHA1 Message Date
termux-pacman-bot
19ec75b865 fix(main/perl): force cpan to never interactively prompt to use local::lib, just always default to it
Gets rid of this infinite loop that can permanently freeze many noninteractive scripts which need to run `cpan`:

```
What approach do you want?  (Choose 'local::lib', 'sudo' or 'manual')
 [local::lib]
Warning: You do not have write permission for Perl library directories.

To install modules, you need to configure a local Perl library directory or
escalate your privileges.  CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available).  You may also
resolve this problem manually if you need to customize your setup.

What approach do you want?  (Choose 'local::lib', 'sudo' or 'manual')
 [local::lib]
Warning: You do not have write permission for Perl library directories.

To install modules, you need to configure a local Perl library directory or
escalate your privileges.  CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available).  You may also
resolve this problem manually if you need to customize your setup.

What approach do you want?  (Choose 'local::lib', 'sudo' or 'manual')
 [local::lib]
Warning: You do not have write permission for Perl library directories.

To install modules, you need to configure a local Perl library directory or
escalate your privileges.  CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available).  You may also
resolve this problem manually if you need to customize your setup.

What approach do you want?  (Choose 'local::lib', 'sudo' or 'manual')
 [local::lib]
```
2025-11-06 11:35:45 +00:00
termux-pacman-bot
4887f6961a fix(main/dpkg): Adjust the phrasing of the update-alternatives mandoc hook warning message to be clearer
- For several users, the message was unclear and seemed to imply a serious problem occurring, which was not intended. This should improve the readability of the message.
2025-08-07 08:44:36 +00:00
termux-pacman-bot
97fdbf6fe5 fix(main/dpkg): fixes for the update-alternatives -> mandoc hook
- Fixes https://github.com/termux/termux-packages/issues/25217

- Moves the call to `update_mandoc()` to a codepath that is simultaneously:
  - more likely to run when necessary (such as during `--config` subcommands)
  - and less likely to run when unnecessary (such as during `--install` and `--remove` subcommands)

- I would be interested in test results from others' devices if possible, because unfortunately, when I tested the original version of this patch it initially worked, but then stopped working after a few days.
2025-07-01 03:35:28 +00:00
termux-pacman-bot
3d7ba82b6e enhance(main/dpkg): add makewhatis hook to update-alternatives 2025-06-30 02:42:11 +00:00
termux-pacman-bot
a1e0713d2d chore(main/dpkg): Use upstream git repository instead of tarball
This fixes building dpkg when old tarball are removed in https://mirrors.kernel.org/debian/pool/main/d/dpkg/
2024-08-24 04:09:52 +00:00
termux-pacman-bot
f3e7a9fa4a bump(main/dpkg): 1.22.6 2024-05-05 21:37:09 +00:00
termux-pacman-bot
da57b21930 dpkg: bump to 1.22.2 2024-03-17 11:08:32 +00:00
termux-pacman-bot
b682672c82 dpkg: use less as pager 2023-11-20 02:35:41 +00:00
termux-pacman-bot
cae623a883 bump(main/dpkg): 1.22.1 2023-11-15 08:31:49 +00:00
termux-pacman-bot
a2b269a43e bump(main/dpkg): 1.22.0 2023-11-01 14:01:34 +00:00
termux-pacman-bot
c3e5968067 dpkg: Bump to 1.21.22 2023-05-19 22:01:22 +00:00
termux-pacman-bot
1e05475eb6 *: Re-enable clang16-porting for essential packages
%ci:no-build
2023-04-01 15:01:26 +00:00
termux-pacman-bot
203ba4f183 *: Disable clang16-porting for essential packages
%ci:no-build
2023-03-28 07:33:09 +00:00
termux-pacman-bot
8b01d61583 dpkg: update to 1.21.21 2023-02-28 13:35:28 +00:00
termux-pacman-bot
4ff8205f47 dpkg: Anti-build-depend on clang
%ci:no-build
2023-02-14 18:03:05 +00:00
termux-pacman-bot
8237b19dec dpkg: Bump to 1.21.20 2023-02-07 18:03:05 +00:00
termux-pacman-bot
3e3f3d3690 dpkg: Bump to 1.21.19 2023-01-26 10:32:53 +00:00
termux-pacman-bot
8c92308296 dpkg: Bump to 1.21.18 2023-01-11 04:01:21 +00:00
termux-pacman-bot
1256df97d8 dpkg: Bump to 1.21.17 2023-01-08 08:32:23 +00:00
termux-pacman-bot
7d90cd1d4e dpkg: Bump to 1.21.15 2023-01-03 20:30:57 +00:00
termux-pacman-bot
8c243545c5 dpkg: update to 1.21.14 2023-01-02 12:40:59 +00:00
termux-pacman-bot
670f87e6a3 dpkg: Bump to 1.21.13 2022-12-20 07:31:07 +00:00
termux-pacman-bot
ae2dc70dae dpkg: Bump to 1.21.12 2022-12-06 23:01:22 +00:00
termux-pacman-bot
3d35f4d4fd dpkg: Bump to 1.21.11 2022-12-04 18:32:39 +00:00
termux-pacman-bot
816aa99933 dpkg: Bump to 1.21.10 2022-12-03 01:27:39 +00:00
termux-pacman-bot
6113b9297e packages/dpkg 2022-07-22 14:10:01 +00:00
termux-actions[bot]
04c45c955a packages/dpkg 2022-05-31 14:20:31 +00:00
termux-actions[bot]
717f2a4a35 packages/dpkg 2022-05-01 16:29:55 +00:00
termux-actions[bot]
42748b23e3 packages/dpkg 2022-03-30 16:53:53 +00:00
termux-actions[bot]
8c443e5bf0 packages/dpkg 2022-03-14 10:41:56 +00:00
Maxython
807bea3c55 packages/dpkg 2021-12-10 13:45:10 +03:00
Maxython
29c5ba8b8f packages/dpkg 2021-12-08 19:43:17 +03:00
Maxython
bc6bcab9fa packages/dpkg 2021-12-05 01:30:15 +03:00
Leonid Pliushch
ca1d255cc7 restart failed build 2021-05-29 16:00:11 +03:00
vhqtvn
124efc9dd9 package updates & build issue fixes (#6919)
aptly: fix build failure

dpkg: fix $TERMUX_ARCH in configure script

gotty: switch to up-to-date upstream

minicom: update source url

ncurses: force build with -fPIC

newsboat: update to 2.23

ovmf: update to 20210421.18.g15ee7b7689

pforth: update to 20210315

pup: build with GO111MODULE=off

rcshell: update source url

remind: update to 03.03.07

tweego: update to 2.1.1

virustotal-cli: update to 0.9.6

docker image: install some missing build tools
2021-05-29 14:41:04 +03:00
suhan-paradkar
0572410fbb update packages (#6703)
asciidoctor: 2.0.15

dpkg: 1.20.9

elixir: 1.11.4

findomain: 4.0.1

fish: 3.2.2

gnunet: 0.14.1
2021-04-29 13:29:27 +03:00
Leonid Pliushch
df64cf9d76 rebuild: dpkg, gnupg, libcurl
apt fails as need updated patches.
2021-02-03 21:33:57 +02:00
Leonid Pliushch
f68101f583 dpkg: update to 1.20.7.1 2021-02-03 21:08:53 +02: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
4c75e489b5 dpkg: update to 1.20.5 2020-07-14 13:05:09 +03:00
ifurther
5c63801a8f dpkg: up to 1.20.4 2020-07-09 00:54:20 +03:00
Leonid Pliushch
15a3942f5e dpkg: build start-stop-daemon utility 2020-06-07 01:23:26 +03:00
Henrik Grimler
6c4affb005 Bump liblzma and dependent packages to restart CI
All except php since it has been uploaded manually
2020-03-20 08:54:28 +01:00
Leonid Pliushch
6d7e9429f7 bump liblzma-dependent packages 2020-03-19 20:58:37 +02:00
Leonid Pliushch
bd9f2f00af dpkg: update to 1.20.0 2020-03-08 20:00:47 +02:00
Leonid Pliushch
c352216c63 packages: standardize values of several control variables for build.sh
Variables

 TERMUX_PKG_PLATFORM_INDEPENDENT
 TERMUX_DEBUG
 TERMUX_PKG_HAS_DEBUG
 TERMUX_PKG_ESSENTIAL
 TERMUX_SUBPKG_ESSENTIAL
 TERMUX_PKG_NO_STATICSPLIT
 TERMUX_PKG_BUILD_IN_SRC
 TERMUX_PKG_FORCE_CMAKE
 TERMUX_PKG_HOSTBUILD

should not accept arbitrary values for marking them "enabled". Instead
they should accept boolean values which makes them easier to handle and
also makes their meaning clear.

build-package.sh should make decision based on variable's value but not on
whether it is set or empty.

%ci:no-build
2019-08-12 18:49:13 +03:00