Commit Graph

118 Commits

Author SHA1 Message Date
Leonid Pliushch
61ff25a719 busybox: enable write access by default for ftpd service
Don't care about ^security^ - it absent here by design.
Instead, make it easier to use Busybox ftpd service for those who
really need it...
2020-08-03 18:51:43 +03:00
Henrik Grimler
30b2f100c2 busybox: update to 1.32.0 2020-07-20 21:19:40 +02:00
Leonid Pliushch
17d5dfc0a6 finalize the busybox deprecation, add cronie as busybox crond replacement (#5499) 2020-07-09 00:53:36 +03:00
Leonid Pliushch
9ef3af5a2d busybox: bump revision 2020-06-07 03:36:44 +03:00
Leonid Pliushch
1164ea1e16 busybox: lsof is replaced by standalone utility 2020-06-07 03:36:15 +03:00
Leonid Pliushch
13e986f469 busybox: remove tcpsvd link
No longer needed.
2020-06-07 03:35:17 +03:00
Leonid Pliushch
f7177b9638 busybox: bump revision 2020-06-07 02:33:47 +03:00
Leonid Pliushch
c35d0e3a84 busybox: remove ftp-related applet links & nmeter 2020-06-07 02:31:57 +03:00
Leonid Pliushch
8db9761356 busybox: remove applet 'uptime'
Replaced by standalone utility from procps.
2020-06-07 02:23:29 +03:00
Leonid Pliushch
a785f11865 busybox: remove start-stop-daemon applet in favor of one from dpkg package 2020-06-07 01:24:55 +03:00
Leonid Pliushch
789a42170c debianutils: remove add-shell & remove-shell utilities
Termux doesn't control allowed shells through $PREFIX/etc/shells, so
these utilities are useless.
2020-06-07 01:15:22 +03:00
Leonid Pliushch
af47bbf3a4 busybox: remove usleep applet link
Utility 'usleep' has not available in other known packages except busybox.
However same functionality is offered by 'sleep' from coreutils package through
fractional argument.
2020-06-07 01:06:55 +03:00
Leonid Pliushch
e9f65c809d busybox: bump revision 2020-06-07 01:03:29 +03:00
Leonid Pliushch
d6395a5bfd busybox: remove hostname applet
Going to be replaced with standalone utility from inetutils.
2020-06-07 01:02:48 +03:00
Leonid Pliushch
2f562db25a busybox: remove iostat & mpstat applets
They are no longer work on modern Android due to restricted /proc/stat access.
2020-06-07 01:01:30 +03:00
Leonid Pliushch
34dffe1c71 busybox: drop even more applet links
Leaving only applets which do not have replacement in
standalone packages.
2020-06-06 22:36:16 +03:00
Leonid Pliushch
0c50377c3f busybox: avoid use of xopen_as_uid_gid() in crontab applet
Issue https://github.com/termux/termux-packages/issues/4837.
2020-01-30 15:00:35 +02:00
Leonid Pliushch
f07ef24007 busybox: do not try to chown() files when running crontab -e
Issue https://github.com/termux/termux-packages/issues/4837.
2020-01-29 23:26:18 +02:00
Henrik Grimler
d97b308c2b buxybox: bump revision 2020-01-09 08:34:42 +01:00
CUI Hao
bc9a4f86cd busybox: fix typo in crond service script 2020-01-08 21:34:59 -08:00
Henrik Grimler
02deaa800b busybox: use termux_step_install_service_scripts for service scripts 2020-01-05 15:06:16 +01:00
Henrik Grimler
3ce6ec6953 busybox: add termux-services script for crond 2020-01-05 13:03:15 +01:00
Henrik Grimler
c868094d05 busybox: avoid hardcoded $HOME 2020-01-05 12:41:53 +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
Henrik Grimler
3762801fb9 busybox: mark service files for ftpd and telnetd as conffiles 2019-08-22 21:51:00 +02:00
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