Commit Graph

9262 Commits

Author SHA1 Message Date
Leonid Pliushch
678649c52f python: add tk support 2019-11-17 20:12:12 +02:00
Leonid Pliushch
a541eeb01b move from x11-packages: tk 2019-11-17 20:12:12 +02:00
Leonid Pliushch
0bc27a0f57 x11 dependencies for TK and ImLib2 2019-11-17 20:12:12 +02:00
Leonid Pliushch
0e9c90f7a5 tcl: fix build error 2019-11-17 17:35:14 +02:00
Leonid Pliushch
b942e85b23 tcl: fix license
It is actually https://www.tcl.tk/software/tcltk/license.html and not BSD.
2019-11-17 16:48:18 +02:00
Leonid Pliushch
ad6d208819 python: suggest package 'tk' which is in x11-repo 2019-11-17 16:45:51 +02:00
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
ddf7066863 build-package.sh: fix url for unstable & x11 packages 2019-11-17 14:56:25 +02: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
Leonid Pliushch
8f03632e97 Merge pull request #4535 from rigrig/master
tintin++: Update from 2.01.91 to 2.01.92
2019-11-14 01:03:10 +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
783069ef67 Revert "Shrink docker image (#3362)"
Breaks patching of headers.

This reverts commit 53c281c5e4d947fdf0b0b0f32f60ce826c8dfb26.
2019-11-10 17:15:33 +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
Wetitpig
83796081a9 Shrink docker image (#3362)
* Docker rm Android NDK Version 16-19

* Docker remove vulkan and shaderc too

* Docker remove duplicate files

* Separate Docker clean script

* Docker remove templates

* Docker bz2 large notices

* Docker try symlinks

* Docker preserve some SDK Libraries

* Docker rm fonts and resources from platforms

* Docker source properties.sh
2019-11-10 16:41:19 +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
Leonid Pliushch
f98d9bcdd1 Merge pull request #4508 from landfillbaby/patch-1
build ImageMagick with bzip2
2019-11-08 14:05:11 +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
Leonid Pliushch
f99aaf0259 Merge pull request #4503 from stefanwouldgo/patch-3
bump lnd version to 0.8.0
2019-11-07 15:57:09 +02:00