Commit Graph

130 Commits

Author SHA1 Message Date
Leonid Pliushch b4075c0849
busybox: install to TERMUX_PREFIX, not PREFIX 2021-10-13 12:51:44 +03:00
Leonid Pliushch a292529fae
busybox: expand prefix/home for service scripts 2021-10-13 12:48:35 +03:00
Lucy Phipps df5b043c39
bump btfs, busybox, chezmoi
https://github.com/termux/termux-packages/pull/7335#issuecomment-904202191
2021-08-24 20:10:15 +01:00
Lucy Phipps c432bf15df
busybox, emacs, mutt, nginx: bump to fix builds
for some reason they were built with 0c8a398
2021-08-21 22:27:51 +01:00
Henrik Grimler 2c70621a98 build-package: rename TERMUX_DEBUG to TERMUX_DEBUG_BUILD
To make it more self-explanatory.
2021-08-21 20:55:57 +02:00
Leonid Pliushch f0adf8c2da busybox: bump revision 2021-07-18 11:02:25 +03:00
Sergey Ponomarev 16a2dc5434 busybox: add busybox-httpd service
The "httpd" service is already taken by apache2 package.
So instead we'll use busybox-httpd
2021-07-18 11:02:25 +03:00
Leonid Pliushch 13a5d37f26
busybox: update to 1.33.1 2021-05-04 14:54:33 +00:00
Leonid Pliushch 30bbdb34d1
busybox: update to 1.32.1 2021-01-07 14:00:16 +02:00
Leonid Pliushch 37375312b9
explicitly set maintainer for each package
In issue https://github.com/termux/termux-packages/issues/6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.

Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.

[skip ci]
%ci:no-build
2020-12-20 15:16:34 +02:00
Leonid Pliushch a236799e73 busybox: update 0001-clang-fix.patch
Fixes https://github.com/termux/termux-packages/issues/5854.
2020-10-02 21:48:46 +03:00
its-pointless a4d83af9d0 fix busybox vi ed awk diff 2020-08-07 10:23:42 +10:00
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