Commit Graph

7749 Commits

Author SHA1 Message Date
Leonid Pliushch
636726a695 gnupg: unsplit dirmngr
See issue https://github.com/termux/termux-packages/issues/4524.
2019-11-14 19:02:23 +02:00
Leonid Pliushch
fc2118cc51 bump revisions for acr, exiftool, libluajit, miniupnpc, virustotal-cli 2019-11-14 18:54:59 +02:00
Richard de Boer
02c9cf400a tintin++: Update from 2.01.91 to 2.01.92
Also fix license field: TinTin++ 2.01.8 switched from GPL-2.0 to GPL-3.0
2019-11-13 23:25:32 +01:00
Leonid Pliushch
0bcdeecc1a apt: move gnupg to suggests to prevent its automatic installation during upgrade 2019-11-13 17:09:37 +02:00
Leonid Pliushch
dc14c12940 apt: prevent usage of certain commands as root
Usage of package manager as root has certain bad effects in Termux such as
messed up SELinux contexts and ownership. Root checks done in 'pkg' wrapper
are not reliable because one can execute 'apt' directly or with third-party
script downloaded from the Internet.

This commit adds user id check and if it found that uid is 0, apt will
refuse to do any work in root session. These checks done in such way so
they cannot be bypassed in any way unless command is executed as non-root
user.

Those who use Termux via ADB root shell should be able to switch to Termux
user id with command 'su' in order to have package manager working.

---

This change also affects the 'termux-info' utility:

 * It will no longer use 'apt policy' to detect subscribed repositories. Each
   source will be checked by script manually.

 * Information will be copied to clipboard only if 'termux-api' is installed.

 * Syntax error in timeout command is fixed: 'timeout' doesn't understand the
   argument '-t'.

 * Minor information entries reordering.
2019-11-13 16:38:40 +02:00
Leonid Pliushch
7e6a37fe9a apt: update patches
Reorganize patches for better understanding and ensure they are applied in
expected order.

Another changes:

 * gnupg is now in recommends (used by apt-key).

 * x11-repo is now in suggests.

 * TCSAFLUSH patch is dropped because it is covered by one of NDK patches
   where TCSAFLUSH value is replaced with TCSANOW.
2019-11-13 14:43:04 +02:00
Fredrik Fornwall
4dc6771365 neovim: Update from 0.4.2 to 0.4.3 2019-11-13 09:53:18 +01:00
Fredrik Fornwall
5e0009ae53 luv: Update from 1.30.1-1 to 1.32.0-0 2019-11-13 09:52:44 +01:00
Leonid Pliushch
66bb50d949 busybox: fix more applets
Seems bc, dc and nmeter are the last ones that crashing.
2019-11-12 13:07:11 +02:00
Leonid Pliushch
3720c734f7 busybox: selectively disable optimization for certain functions
asm volatile("":::"memory") doesn't work reliably, so it is better to disable
optimization for whole function where INIT_G() or similar is used to avoid
instruction reordering.

Covers following issues:

 * https://github.com/termux/termux-packages/issues/2488
 * https://github.com/termux/termux-packages/issues/3216
2019-11-12 04:14:02 +02:00
Leonid Pliushch
ac5daf7925 busybox: update patches
Reorganize patches & do following changes:

 * Enable use of sethostname(2) in utility `hostname`.
 * Enable setting time in utility `date` - busybox already provide own
   implementation of stime(2).

- both features require root.
2019-11-12 02:51:21 +02:00
Leonid Pliushch
7dd20bd19e busybox: update to 1.31.1 2019-11-11 21:30:21 +02:00
Leonid Pliushch
aa5a7e89cc busybox: fix segmentation fault when launching ash 2019-11-11 17:57:03 +02:00
Leonid Pliushch
b4b16bb3ec busybox: bump revision 2019-11-11 17:00:02 +02:00
Leonid Pliushch
cf9e3c08f0 busybox: enable more applets in configuration
Some of them will be useful only as root or if SELinux is set to "permissive".
These applets will not be symlinked and callable only with "busybox <applet name>".

Issue https://github.com/termux/termux-packages/issues/3594.
2019-11-11 16:59:01 +02:00
Leonid Pliushch
33d63bca2d busybox: fix LDLIBS 2019-11-11 16:58:52 +02:00
Leonid Pliushch
a3d12b6314 busybox: make build logs more readable
Do not spam build log with warnings about unused command line & optimization
arguments. Now finding of build-time issues should be easier.
2019-11-11 15:14:10 +02:00
Leonid Pliushch
54a1ae38ed busybox: properly pass compiler & linker flags 2019-11-11 15:13:05 +02:00
Leonid Pliushch
3d3b629763 busybox: use config generated by make menuconfig as a base
Fields like CONFIG_SYSROOT are modified with `sed`.
2019-11-11 14:57:43 +02:00
Leonid Pliushch
d62c70b392 Revert nodejs update to 13.1.0
Delaying update since it generates a lot of undefined reference compile-time errors.
2019-11-10 19:32:23 +02:00
Leonid Pliushch
dcf78c3956 move from unstable: virustotal-cli 2019-11-10 19:32:23 +02:00
Leonid Pliushch
391df7ed82 move from unstable: miniupnpc 2019-11-10 19:32:23 +02:00
Leonid Pliushch
808fceb73d move from unstable: libluajit 2019-11-10 19:32:23 +02:00
Leonid Pliushch
670a7cc8ad move from unstable: exiftool 2019-11-10 19:32:23 +02:00
Leonid Pliushch
fc18df1135 move from unstable: acr 2019-11-10 19:32:23 +02:00
Leonid Pliushch
79db5701f0 nodejs: remove configure.py.patch 2019-11-10 18:19:44 +02:00
Leonid Pliushch
408152bed3 Merge pull request #4477 from tomty89/mpv
mpv: Update from 0.29.1 to 0.30.0
2019-11-10 17:12:59 +02:00
Leonid Pliushch
41db4e34cf nodejs: update to 13.1.0 2019-11-10 17:06:31 +02:00
Efreak
63733da336 Don't run apt update if it's been run recently (#4135)
When installing or searching for packages, the `apt update` will run only if it
was not executed within the last 5 minutes. Command `pkg upgrade` will
always execute `apt update` to ensure that latest package versions were
picked during upgrade.
2019-11-10 16:29:05 +02:00
Leonid Pliushch
e4f9eb7467 Merge pull request #4489 from its-pointless/lldbfix
fix lldb for later android versions
2019-11-09 12:26:44 +02:00
Leonid Pliushch
08595bace0 imagemagick: bump revision 2019-11-08 14:05:57 +02:00
lucy phipps
66ce56a744 build ImageMagick with bzip2
libbz2 is listed as a dependency but it's compiled without it
2019-11-08 07:43:01 +00:00
Fredrik Fornwall
09bf324457 curl: Update from 7.66.0 to 7.67.0 2019-11-07 18:05:56 +01:00
stefanwouldgo
c4d32e29da bump lnd version to 0.8.0 2019-11-07 14:15:49 +01:00
Fredrik Fornwall
c5fc8ee564 libsearpc: Fix source checksum 2019-11-07 12:08:35 +01:00
Leonid Pliushch
fc6b2a493f ffmpeg: bump revision 2019-11-07 01:54:54 +02:00
Fredrik Fornwall
e45e34b79b libx265: Update from 3.1.2 to 3.2.1 2019-11-06 15:49:41 +01:00
Leonid Pliushch
3d21f72a63 yasm: add --enable-nls
Needed for `#define HAVE_ICONV 1` in config.h.
2019-11-05 17:18:34 +02:00
Leonid Pliushch
ef9365c3dd yasm: build with libiconv 2019-11-05 16:51:54 +02:00
Leonid Pliushch
cba1405a3c yasm: rebuild package
See https://github.com/termux/termux-packages/issues/4497.
2019-11-05 13:54:47 +02:00
Fredrik Fornwall
dd9d7d1529 harfbuzz: Switch to fossies as freedesktop.org is down 2019-11-03 23:40:31 +01:00
Fredrik Fornwall
b998132903 cmake: Update from 3.15.3 to 3.15.5 2019-11-03 23:01:21 +01:00
Fredrik Fornwall
6deaef466b mime-support: Update from 3.63 to 3.64 2019-11-03 23:00:56 +01:00
Leonid Pliushch
8958420ecf loksh: update to 6.6 2019-11-03 03:28:52 +02:00
Leonid Pliushch
04fe6f7eb2 yarn: update to 1.19.1 2019-11-03 03:20:43 +02:00
Leonid Pliushch
851835d157 wireguard-tools: update to 0.0.20191012 2019-11-03 03:20:25 +02:00
Leonid Pliushch
6b90e16bc6 starship: update to 0.26.0
%ci:reset-backlog
2019-11-03 03:17:31 +02:00
Leonid Pliushch
3b2438af94 swi-prolog: update to 8.1.15 2019-11-03 03:06:04 +02:00
Leonid Pliushch
1f0819d7b6 parallel: update to 20191022 2019-11-03 03:05:37 +02:00
Leonid Pliushch
f6cc5de4fa rclone: update to 1.50.1 2019-11-03 03:05:10 +02:00