Commit Graph

9027 Commits

Author SHA1 Message Date
Leonid Pliushch
cafe16fde9 python: fix os.link error in pathlib.py
See issue https://github.com/termux/termux-packages/issues/4557.
2019-11-17 23:43:55 +02:00
Leonid Pliushch
bfec3e6fa9 python: fix setup.py.patch 2019-11-17 23:43:55 +02:00
Leonid Pliushch
aa8c190e9f python: update postinst and prerm scripts 2019-11-17 23:43:55 +02:00
Leonid Pliushch
b240cda431 python: do not remove pycache for standard library 2019-11-17 23:43:52 +02:00
Leonid Pliushch
6908c2217f python: more fixes for symlinks 2019-11-17 23:37:44 +02:00
Henrik Grimler
5731f8f231 Merge pull request #4552 from termux/llvm-avr
libllvm: add experimental target avr
2019-11-17 21:12:45 +01:00
Leonid Pliushch
c1c4f9e014 python: fix symlinking
%ci:reset-backlog
2019-11-17 22:03:14 +02:00
Henrik Grimler
6f251f51ed Merge pull request #4556 from termux/texlive-update
texlive: add some files to base texlive package
2019-11-17 20:59:39 +01:00
Henrik Grimler
3a02c6402a texlive: add some files to base texlive package
%ci:no-build
2019-11-17 20:49:41 +01:00
Leonid Pliushch
8c45502cc8 exiftool: update to 11.76
%ci:reset-backlog
2019-11-17 21:34:43 +02:00
Leonid Pliushch
0cdb3bcf5e docker image: install python3.8 2019-11-17 21:26:50 +02:00
Leonid Pliushch
2900e195aa python: update to 3.8.0
%ci:reset-backlog
2019-11-17 21:25:25 +02:00
Leonid Pliushch
5cc58be010 bump more moved packages
Prevent downloading prebuilt package by CI/CD.
2019-11-17 20:56:00 +02:00
Leonid Pliushch
a17cb33b65 tk: bump revision
Prevent downloading prebuilt package by CI/CD.
2019-11-17 20:34:10 +02:00
Leonid Pliushch
95a0205384 move from x11-packages: imlib2 2019-11-17 20:12:12 +02:00
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