Commit Graph

7804 Commits

Author SHA1 Message Date
Leonid Pliushch 18ffb2ff62 python: do not remove tkinter stuff 2019-11-17 16:08:57 +02:00
Leonid Pliushch bfd5395511 bitcoin: build with miniupnpc 2019-11-17 15:57:31 +02:00
Leonid Pliushch d17ebae333 transmission: build with miniupnpc
Note: nothing should be specified in configure flags as library will be
picked automatically.
2019-11-17 15:50:59 +02:00
Leonid Pliushch dac463d3ed transmission: reformat build.sh 2019-11-17 15:46:07 +02:00
Henrik Grimler e3db425e59 libllvm: add experimental target avr
Works on aarch64, at least
2019-11-17 14:44:46 +01:00
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
Leonid Pliushch 3c6841e5c9 quickjs: update to 2019.10.27 2019-11-03 02:56:13 +02:00
Leonid Pliushch cca6bcc669 pango: update to 1.44.7 2019-11-03 02:55:54 +02:00
Leonid Pliushch 8e323308d1 libmicrohttpd: update to 0.9.68 2019-11-03 02:51:07 +02:00
Leonid Pliushch 309507d599 libmaxminddb: update to 1.4.1 2019-11-03 02:50:46 +02:00
its-pointless 4ca28af86b fix lldb for later android versions 2019-11-03 11:44:51 +11:00
Leonid Pliushch b3f05fd22a keybase: update to 4.7.2 2019-11-03 02:37:49 +02:00
Leonid Pliushch e49a81c1df hugo: update to 0.59.1 2019-11-03 02:37:33 +02:00
Leonid Pliushch 98b25c2006 harfbuzz: update to 2.6.4 2019-11-03 02:23:38 +02:00
Leonid Pliushch 41d3599e8d googletest: update to 1.10.0 2019-11-03 02:20:01 +02:00
Leonid Pliushch 51fdbeb86f gmic: update to 2.7.5 2019-11-03 02:17:52 +02:00
Leonid Pliushch 8970e6e3df clamav: fix linking error for at least ARM 2019-11-03 01:55:54 +02:00
Leonid Pliushch fe484b7332 glib: update to 2.62.2 2019-11-03 01:40:12 +02:00
Leonid Pliushch 8e5d218071 gitea: update to 1.9.5 2019-11-03 01:33:11 +02:00
Leonid Pliushch 062a700f25 geoip2-database: update to 20191103 2019-11-03 01:28:12 +02:00
Leonid Pliushch 19f46d6559 gdk-pixbuf: update to 2.40.0 2019-11-03 01:25:20 +02:00
Leonid Pliushch af3e6c0049 clamav: update to 0.102.0 2019-11-03 01:22:21 +02:00
Leonid Pliushch dd3d25aee2 openssh: fix typo in build.sh 2019-11-02 12:39:27 +02:00
Leonid Pliushch c0f0b87318 x11-repo: switch to unversioned url 2019-11-02 02:57:50 +02:00
Fredrik Fornwall 590ad7f6f8 openssh: Remove enabling ssh-dss by default 2019-11-01 13:29:22 +01:00
Fredrik Fornwall a71303512d libedit: Update from 20190324-3.1 to 20191025-3.1 2019-11-01 12:21:38 +01:00
Fredrik Fornwall 55fdf1b26d libxslt: Update from 1.1.33 to 1.1.34 2019-11-01 12:21:31 +01:00
Fredrik Fornwall 9d59c78f89 radare2: Update from 3.9.0 to 4.0.0 2019-11-01 12:21:07 +01:00
Fredrik Fornwall 2eeed1704e jbig2dec: Update from 0.16 to 0.17 2019-11-01 12:20:46 +01:00
Fredrik Fornwall 58d678ad04 libxml2: Update from 2.9.9 to 2.9.10 2019-11-01 12:20:38 +01:00
Fredrik Fornwall 789354107e nodejs-lts: Do not conflict with itself 2019-11-01 11:46:14 +01:00
Leonid Pliushch 055fff1cdb unstable-repo: switch to unversioned url 2019-10-31 17:45:28 +02:00
Fredrik Fornwall ecd455be02 rclone: Update from 1.49.5 to 1.50.0 2019-10-30 17:28:18 +01:00
Fredrik Fornwall 66681d6ef0 libuv: Update from 1.32.0 to 1.33.1 2019-10-30 17:13:10 +01:00
Fredrik Fornwall 315240a346 libssh: Update from 0.9.0 to 0.9.1 2019-10-30 17:12:26 +01:00
Fredrik Fornwall c1165c1e95 libmesode: Update from 0.9.2 to 0.9.3 2019-10-30 17:11:25 +01:00
Fredrik Fornwall 312edecbc7 xorriso: Update from 1.5.0 to 1.5.2 2019-10-30 17:10:23 +01:00
Tom Yan 744cb1d056 mpv: Update from 0.29.1 to 0.30.0 2019-10-30 02:05:31 +08:00
its-pointless a60fb05042 lldb fixes (#4468) 2019-10-28 12:47:55 +02:00
Henrik Grimler 9c269ff500 bs1770gain: Remove package
Following discussion in https://github.com/termux/termux-packages/issues/4455 and https://wiki.termux.com/wiki/Dev:Development_Session_42
2019-10-27 20:20:19 +01:00
Leonid Pliushch f0f00d0e23 lftp: fix lib-vasnprintf.c.patch 2019-10-27 20:10:31 +02:00
Leonid Pliushch 657ed797b2 lftp: fix for "%n not allowed on Android" 2019-10-27 14:10:38 +02:00
its-pointless b6980935d4 experiment generating llvm-config 2019-10-26 16:46:24 +11:00
its-pointless 68655ab880 hopefully last fix.... 2019-10-26 14:26:20 +11:00
Leonid Pliushch df54920e4c Merge pull request #4456 from its-pointless/libffi
fix for libffi
2019-10-26 02:06:16 +03:00
Leonid Pliushch 2b32b60b82 rust: rebuild package 2019-10-25 14:30:07 +03:00
its-pointless d776cc597f fix for libffi 2019-10-25 12:52:01 +11:00
Leonid Pliushch 09d35c5f0a hugo: update to 0.59.0 2019-10-25 02:00:19 +03:00
Leonid Pliushch 408e38d558 librsvg: update to 2.46.3 2019-10-25 01:47:26 +03:00
Leonid Pliushch e2f5ae3f33 nim: update to 1.0.2 2019-10-25 01:46:25 +03:00
Leonid Pliushch 265bc56c6f libgrpc: update to 1.24.3 2019-10-25 01:35:52 +03:00