Commit Graph

69 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
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
1200b5a072 busybox: Update from 1.28.4 to 1.29.1 2018-07-23 01:33:02 +02:00
Henrik Grimler
6f01530a84 busybox: bump package 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
5586ebb426 busybox: Bump revision after patch 2017-10-15 01:03:01 +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
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
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