Commit Graph

56 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 d3cfccddbe have zsh run profile too, so services would get executed 2019-07-27 12:01:50 +02:00
Wetitpig 5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Fredrik Fornwall d685ea6a3d zsh: Update from 5.7 to 5.7.1 2019-02-09 00:38:32 +01:00
Fredrik Fornwall 0bf0536a1c zsh: Update from 5.6.2 to 5.7 2019-01-27 09:30:30 +01:00
Leonid Pliushch 6a3865aa08 fix licenses where possible
Some packages have license set to "custom" and this
should be fixed.
2019-01-21 17:17:53 +02:00
Leonid Pliushch 46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall 866662f658 zsh: Add mapfile module (fixes #3116) 2018-12-10 01:36:57 +01:00
Fredrik Fornwall 628dc15b14 zsh: Update from 5.6.1 to 5.6.2
Also enable the zsh/stat module (#2829).
2018-09-15 21:59:14 +02:00
Fredrik Fornwall 84000a3812 zsh: Update from 5.6 to 5.6.1 2018-09-12 00:07:09 +02:00
Fredrik Fornwall e2c5d2eddb zsh: Update from 5.5.1 to 5.6 2018-09-04 23:43:25 +02:00
Fredrik Fornwall 6fda59ce2b zsh: Simplify command_not_found_handler()
See https://github.com/termux/termux-packages/issues/2655#issuecomment-405100634
2018-07-15 18:44:43 +02:00
Fredrik Fornwall a0a6d2d46d zsh: Exit with error in command_not_found_handler
Fixes #2655.
2018-07-15 17:50:13 +02:00
Fredrik Fornwall 658011cd00 bash and zsh: Bump revision after PS1 addition 2018-06-22 01:19:16 +02:00
Tom Yan 5d3ef9ba0c make PS1 dynamic and shell-specific
PS1 is not supposed to be an environment variable (i.e. will not
be listed in `printenv` but only in `set`). Its value should also
be shell-specific.

With this commit we can stop exporting a static PS1 as env var on
the java side.

The prompt would now indicate whether the current user is root.
2018-06-22 01:11:37 +02:00
Fredrik Fornwall bf07a5080b zsh: Update from 5.5 to 5.5.1 2018-04-22 21:42:47 +02:00
Fredrik Fornwall fe61a82994 zsh: Bump revision after enabling pcre 2018-04-12 00:47:40 +02:00
tomty89 f56dfd8d78 zsh: enable pcre (#2331) 2018-04-12 00:39:49 +02:00
Fredrik Fornwall c5fbfdd6c8 zsh: Update from 5.4.2 to 5.5 2018-04-09 14:14:31 +02:00
Fredrik Fornwall 7bfd5ccbce zsh: Build with ac_cv_func_getpwuid=yes
The build exports ac_cv_func_getpwuid=no to disable getpwuid as it
doesn't make much sense on Android. But we need it on zsh to get
the username part of the prompt working. Fixes #424.
2018-01-09 14:51:09 +01:00
Fredrik Fornwall d682058f1d zsh: Fix /usr/local in $fpath (#1730) 2017-11-01 16:13:58 +01:00
Auxilus 6681e6b584 zsh: Update from 5.4.1 to 5.4.2 (#1365) 2017-09-06 13:32:35 +02:00
Fredrik Fornwall 803db458f5 zsh: Update from 5.3.1 to 5.4.1 2017-08-20 12:09:15 +02:00
its-pointless c2a0bc2bab put shebang in scripts 2017-08-17 00:26:27 +02:00
Fredrik Fornwall ce994925c6 zsh: Fix bogus nice() warning (#1151) 2017-07-21 01:08:32 +02:00
Fredrik Fornwall 9d488d627e zsh: Add the zpty module (fixes #672) 2017-01-17 16:12:10 +01:00
Fredrik Fornwall af4dc416ed s/TERMUX_PKG_BUILD_REVISION/TERMUX_PKG_REVISION/ 2017-01-11 01:21:42 -05:00
Fredrik Fornwall fee976030a zsh: Build the system module (fixes #659) 2017-01-08 23:13:12 -05:00
Fredrik Fornwall b4d91635b9 zsh: Update from 5.2.0 to 5.3.1 2016-12-22 13:38:27 -05:00
Fredrik Fornwall 8927f8fbc6 zsh: Return 0 from command_not_found_handler
"The function should return status zero if it successfully handled
the command, or non-zero status if it failed. In the latter case
the standard handling is applied: ‘command not found’ is printed
to standard error and the shell exits with status 127."
- http://zsh.sourceforge.net/Doc/Release/Command-Execution.html

Needed after changes in
https://github.com/termux/termux-packages/pull/566
where the command-not-found program no longer exists itself with 0.
2016-11-28 07:28:06 -05:00
Fredrik Fornwall 4d8dd31459 zsh: Enable the deltochar and mathfunc modules
The deltochar and mathfunc modules are small and used by grml-zsh.

Fixes #494.
2016-10-07 14:16:44 -04:00
Fredrik Fornwall 9fc0086f05 zsh: Add the curses, socket and zprof modules
Also mark $PREFIX/etc/zshrc as a configuration file.
2016-10-03 09:55:56 -04:00
Fredrik Fornwall 51c63287f7 ndk_patches: <dlfcn.h> now #define:s RTLD_*
The Android NDK headers define the RTLD_* values within an enum,
which causes problems with #ifdef checks. Patch these to instead
use #define which is more traditional and what much code expects.
2016-04-18 00:33:02 -04:00
Fredrik Fornwall 0b5eaee9d6 zsh: Enable the zsh/regex module 2016-02-13 18:22:17 -05:00
Fredrik Fornwall 0396b8ee67 Remove .swp file committed by mistake (#119) 2015-12-30 08:30:02 +01:00
Fredrik Fornwall 77a8de768d zsh: Enable the files module (fixes #61) 2015-12-29 19:11:46 -05:00
Fredrik Fornwall fe66968bf8 zsh: Update from 5.1.1 to 5.2.0 2015-12-15 08:56:27 -05:00
Fredrik Fornwall 917dd81c3f Update zsh source url 2015-12-03 16:01:08 -05:00
Fredrik Fornwall 2ba1fa72aa zsh: Work on binary loadable modules 2015-11-25 08:11:49 -05:00
Fredrik Fornwall e46c5cbca3 Make zsh folder permissions to please compaudit
Closes #31.
2015-10-26 20:26:08 -04:00
Fredrik Fornwall 84d1e6dcf2 zsh: Bump revision 2015-09-17 11:03:24 -04:00
Fredrik Fornwall eb176fb635 zsh: Update to 5.1.1 from 5.1 2015-09-11 19:32:59 -04:00
Fredrik Fornwall 4eb87e93aa zsh: Avoid extra binaries 2015-09-09 10:11:46 -04:00
Fredrik Fornwall bfd612760d zsh: Update from 5.0.8 to 5.1 2015-09-02 14:10:57 -04:00
Fredrik Fornwall f0d4e3805a Patch a WIFCONTINUED definition to <sys/wait.h>
This fixes job control in bash and zsh
2015-08-06 19:25:41 -04:00
Fredrik Fornwall 3cc4ef712e Enable command-not-found for bash and zsh interactive shells 2015-07-13 19:41:08 -04:00
Fredrik Fornwall 638b6413b1 zsh: Disable TIOCSETD ioctl during initialization 2015-07-11 17:56:19 -04:00