Commit Graph

133 Commits

Author SHA1 Message Date
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
Henrik Grimler
b6a636b876 Merge pull request #3460 from Neo-Oli/termux-services
Proposal: Termux-Services
2019-08-11 21:39:07 +02:00
Leonid Pliushch
c81d4c8698 add stubs to prevent on-device building packages with dangerous operations in build.sh
%ci:no-build
2019-08-08 16:58:34 +03:00
Oliver Schmidhauser
63761bafd2 bump changed packages 2019-07-27 12:05:08 +02:00
Oliver Schmidhauser
c6ea4d5708 make busybox services not run by default 2019-07-27 12:01:51 +02:00
Oliver Schmidhauser
7845adf3e2 Initial Draft for termux-services 2019-07-27 12:01:50 +02:00
Leonid Pliushch
d8cf2ea72c busybox: re-add applet 'which' 2019-07-22 14:36:06 +03:00
Leonid Pliushch
3a0cf0c541 busybox: fix typo in comment 2019-07-22 14:23:56 +03:00
Leonid Pliushch
689cfacb2c busybox: restore some applets that aren't available as separate package 2019-07-22 14:13:32 +03:00
Leonid Pliushch
2a2044cda8 busybox: we still need some applets in order to upgrade packages
Should help with following dpkg errors:

 dpkg: warning: 'rm' not found in PATH or not executable
 dpkg: error: 1 expected program not found in PATH or not executable

 dpkg: warning: 'diff' not found in PATH or not executable
 dpkg: error: 1 expected program not found in PATH or not executable
2019-07-22 00:45:12 +03:00
Leonid Pliushch
f04e8cac45 use utility 'env' from coreutils 2019-07-21 22:44:00 +03:00
Leonid Pliushch
b0b67b8fbe busybox: disable applet symlinks
See https://github.com/termux/termux-packages/issues/4070.
2019-07-21 22:44:00 +03:00
Leonid Pliushch
bf1c224eb4 busybox: no longer essential package 2019-07-21 22:18:09 +03:00
Leonid Pliushch
b677b6999d busybox: enable Netcat v1.10 compatibility mode for netcat/nc applets
Fixes https://github.com/termux/termux-packages/issues/3153.
2019-05-13 00:09:04 +03:00
Leonid Pliushch
c120563b58 fix compilation errors for apt, busybox, imagemagick, libelf, tar 2019-03-10 15:41:38 +02:00
Leonid Pliushch
58ab080810 busybox: fix path to /bin/sh 2019-03-02 14:52:20 +02:00
Fredrik Fornwall
4d3de89684 busybox: Update from 1.29.3 to 1.30.1 2019-02-16 00:34:30 +01:00
Wetitpig
7ddcce5701 No backticks 2019-02-15 18:01:09 +02:00
Wetitpig
5f07ac4eb9 Change permissions 2019-02-09 21:06:31 +02:00
Wetitpig
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Leonid Pliushch
361d8c519f [incomplete] set licenses for packages 2019-01-20 22:41:50 +01:00
Fredrik Fornwall
0a612d4a5c Use system top
Remove top both from busybox (which is broken on Android 8+), and
procps (which has issues on Android 8+) and use a system wrapper
in termux-tools instead.
2018-11-28 03:02:11 +01:00
Fredrik Fornwall
fd0d1be78c busybox: Update from 1.29.2 to 1.29.3 2018-09-11 00:47:48 +02:00
Fredrik Fornwall
1c2cf4f105 busybox: Avoid chroot() in ftpd due to seccomp
In Android 9 chroot() have been addded to the seccomp filter, so the
process is killed if trying to use it. Luckily busybox already contained
fallback if chroot() is not permitted.

See #2789.
2018-08-30 11:20:43 +02:00
Leonid Pliushch
f465b98b47 busybox: fix segfault in 'ftpd'
Fixes https://github.com/termux/termux-packages/issues/2740
2018-08-15 14:45:24 +02:00
Fredrik Fornwall
b6758bd62b busybox: Update from 1.29.1 to 1.29.2 2018-07-31 21:54:18 +02:00
Fredrik Fornwall
2dcd95485a busybox: Fix building without <crypt.h> 2018-07-23 01:49:27 +02:00
Fredrik Fornwall
1200b5a072 busybox: Update from 1.28.4 to 1.29.1 2018-07-23 01:33:02 +02:00
Fredrik Fornwall
dbe9874a3b busybox: Add missing backslash in clang patch 2018-06-08 14:05:14 +02:00
Henrik Grimler
6f01530a84 busybox: bump package 2018-06-08 14:01:26 +02:00
Henrik Grimler
12482ecc15 busybox: make httpd work when built with clang 2018-06-08 14:01:26 +02:00
Henrik Grimler
820a09de14 busybox: Fix less and build with clang on arm
Patch less in a similar manner as svlogd.
2018-06-07 23:03:33 +02:00
Henrik Grimler
2ebffe1f7e busybox: fix #2448 and debug build
Busybox builds "busybox" and "busybox_unstripped", where the latter contains
debug symbols.
2018-06-07 22:37:28 +02:00
Vishal Biswas
160d3aeb06 update ndk to 17 and switch some packages to clang build (#2415)
* update ndk to 17

* bump NDK version in setup-android script

* libnl: fix for ndk r17

* libpixman: use clang's __builtin_shufflevector instead of __builtin_shuffle (#1)

Required to make package build with ndk17.

* fix as for arm

* ndk17 still uses ld.bfd on aarch64

* use -fno-integrated-as for clang only

* glib: remove patch unnecessary after ndk17

* torsocks: remove unneeded patch after ndk17

* subversion: fix build as clang++ now errors out for mismatched flags

* libpulseaudio: fix build with ndk17

https://github.com/termux/termux-packages/pull/2415#issuecomment-388296684

* gst-plugins-good: disable video4linux2

ioctl is defined as __overloadable in ndk17 headers which
  conflicts with v4l2object's member ioctl

* libzmq: disable Werror to build with ndk17

* ltrace: hardcode symbol not available in ndk17

* busybox: build with clang for all arches except arm

* dropbear: build with clang instead of gcc

* gnupg: build with clang instead of gcc

* openssl: use clang for all arches except arm

* picolisp: build with clang instead of gcc

* valgrind: use clang on all arches except aarch64

* Revert "gst-plugins-good: disable video4linux2"

This reverts commit 43850b81ccf60033c25cb13dfd326c1b0528773a.
Already applied on base branch.

* libllvm: use default arm triple
2018-05-27 14:55:20 +02:00
Fredrik Fornwall
b42ad0b3f3 busybox: Update from 1.28.3 to 1.28.4 2018-05-27 14:51:00 +02:00
Fredrik Fornwall
7f5a620157 busybox: Update from 1.28.2 to 1.28.3 2018-04-09 01:31:57 +02:00
Fredrik Fornwall
f4f942c1ec busybox: Update from 1.27.2 to 1.28.2 2018-04-01 23:54:38 +02:00
Fredrik Fornwall
87da5b98dc busybox: Fix date.c patch 2017-12-21 06:01:52 +01:00
Fredrik Fornwall
b698a31ef9 busybox: Remove unused iplink.patch 2017-12-21 05:25:29 +01:00
Fredrik Fornwall
c07aa32eee busybox: Remove unused dpkg.patch 2017-12-21 05:25:29 +01:00
Fredrik Fornwall
5586ebb426 busybox: Bump revision after patch 2017-10-15 01:03:01 +02:00
sp4rkie
2b2d23f6b9 fix #590 (#1591) 2017-10-15 00:59:29 +02:00
Fredrik Fornwall
996a4d677c busybox: Update from 1.27.1 to 1.27.2 2017-09-06 00:13:52 +02:00
Oliver Schmidhauser
82b44b335c Patch for busybox to accept = in emails 2017-08-23 21:08:33 +02:00
Fredrik Fornwall
eaa82eb04e busybox: Note that it's not built with clang 2017-08-21 01:35:23 +02:00
Fredrik Fornwall
a6eab5e543 busybox: Build with gcc for now
Building with clang causes less to segfault on 32-bit arm:
  https://github.com/termux/termux-packages/issues/1245
2017-08-11 03:03:42 +02:00
Fredrik Fornwall
eeeb776d1a busybox: Update from 1.26.2 to 1.27.1 2017-07-25 01:59:40 +02:00
Fredrik Fornwall
76aee696c3 busybox: Fix -Werror=implicit-function-declaration 2017-07-07 00:30:54 +02:00
Fredrik Fornwall
f6db38783a busybox: Patch to build with clang 2017-06-27 23:38:16 +02:00
Fredrik Fornwall
11f23d1ccd busybox: We no longer need -DTERMUX_EXPOSE_MEMPCPY 2017-03-05 23:46:48 +01:00
Oliver Schmidhauser
09e3a055e2 Patch for busybox to accept + in emails (#760)
Since the termux mailinglist has a + in the subscibe mail address, this
is required.
2017-02-09 15:31:37 +01:00
Fredrik Fornwall
4aee3c350c Remove traceroute from busybox and inetutils
We will provide traceroute as a symlink to tracepath so that it
works for non-root users.
2017-01-30 01:19:49 +01:00
Fredrik Fornwall
676cec1373 busybox: CONFIG_UNICODE_WIDE_WCHARS=y (fixes #668) 2017-01-23 09:58:04 +01:00
Fredrik Fornwall
13a113cb27 busybox: Backport fix to wget 2017-01-17 19:36:30 +01:00
Fredrik Fornwall
3bae08c79a busybox: Update from 1.25.1 to 1.26.2 2017-01-13 07:09:56 -05:00
Fredrik Fornwall
af4dc416ed s/TERMUX_PKG_BUILD_REVISION/TERMUX_PKG_REVISION/ 2017-01-11 01:21:42 -05:00
Fredrik Fornwall
b5ae580768 busybox: Set __progname in getopt for -n to work 2016-11-30 20:32:23 -05:00
Fredrik Fornwall
3d9d67c703 busybox: Update from 1.24.2 to 1.25.1 2016-10-08 17:54:48 -04:00
Fredrik Fornwall
385c8aef84 Some more clang preparations 2016-09-03 17:48:41 -04:00
Fredrik Fornwall
6b14aeb8ce busybox: Setup CONFIG_SV_DEFAULT_SERVICE_DIR 2016-08-30 12:25:57 -04:00
Fredrik Fornwall
4932e61a5f busybox: Set CONFIG_FEATURE_NON_POSIX_CP=y
Fixes cp -i (#114) and is hopefully reasonable.
2016-08-12 21:07:19 -04:00
Fredrik Fornwall
ed021630df Fixes for building on a mac 2016-06-11 01:17:00 +02:00
Fredrik Fornwall
c4c4cf01b7 busybox: Enable the egrep applet 2016-05-09 11:47:11 -04:00
Fredrik Fornwall
682310b064 busybox: Build the hostname, id and tty applets 2016-05-08 11:48:51 -04:00
Fredrik Fornwall
324ea7acec busybox: Fix version relation in conflicts
"The deprecated forms < and > were confusingly used to mean earlier/later
or equal, rather than strictly earlier/later, and must not appear in new
packages (though dpkg still supports them with a warning)."

- https://www.debian.org/doc/debian-policy/ch-relationships.html
2016-05-02 18:50:05 -04:00
Fredrik Fornwall
e4ba46a8fe Move $PREFIX/bin/env from coreutils to busybox
The busybox version of env should provide enough functionality, and
having $PREFIX/bin/env available out of the box is valuable.
2016-05-03 00:41:11 +02:00
Fredrik Fornwall
4873188f26 busybox: Backport fix for unzip 2016-04-29 04:34:43 +02:00
Fredrik Fornwall
1df4a885e2 busybox: Update from 1.24.1 to 1.24.2 2016-03-29 17:55:34 -04:00
Fredrik Fornwall
dc90a1d50a busybox: Add 'more' since some are used to that 2016-03-17 19:26:20 -04:00
Fredrik Fornwall
c30d38226b Initial stab at NDK r11 support 2016-03-10 12:01:58 +01:00
Fredrik Fornwall
14fc08f7a6 busybox: Fix 'diff' when for pipes/stdin 2016-02-08 05:52:15 -05:00
Fredrik Fornwall
4e7183b9b8 busybox: Update i686 build 2015-12-25 19:13:55 -05:00
Fredrik Fornwall
9868494adb Make busybox compile for 64-bits 2015-11-26 16:16:58 -05:00
Fredrik Fornwall
46559847b1 Update busybox to 1.24.1 2015-10-26 19:35:22 -04:00
Fredrik Fornwall
4b74af2c3b busybox: Handle ash as symlink and re-enable wget 2015-08-11 21:09:58 -04:00
Fredrik Fornwall
df21bb4e70 busybox: Remove lsmod applet 2015-08-09 16:27:19 -04:00
Fredrik Fornwall
977ad1af3b busybox: Fix telnetd login shell 2015-08-09 07:41:08 -04:00
Fredrik Fornwall
8e928b79be Remove the wget applet from busybox
The wget applet confuses people, is broken on i686 and
does not support https. It's better to install the real GNU wget.
2015-08-03 18:07:02 -04:00
Fredrik Fornwall
02b55df699 Use bash as login shell by default 2015-07-30 19:47:00 -04:00
Fredrik Fornwall
f6b5793487 busybox: Setup folder for crontab 2015-07-26 08:59:22 -04:00
Fredrik Fornwall
49ca09e5e5 Fix wait3() function and bump build revisions 2015-07-11 17:43:48 -04:00
Fredrik Fornwall
8debe534c3 busybox: avoid hardlink 2015-07-08 21:48:16 -04:00
Fredrik Fornwall
59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00