Commit Graph

64 Commits

Author SHA1 Message Date
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
Henrik Grimler
dcb926abd4 Copy LICENSE file for some licenses instead of using generic one (#5478)
* termux-licenses: remove licenses that contain copyright information

These licenses cannot be taken from the common termux-licenses package as the copyright information needs to be distributed with the package as well.

271 packages in the main repository needs to be rebuilt after this change.

* termux_step_install_license: remove duplicated comment

* Bump packages that has a license with copyright information

We need to include this copyright information in the package so need
to rebuild them now that termux_step_install_license has been
modified.

The affected licenses are: MIT, ISC, PythonPL, Openfont-1.1, ZLIB,
Libpng, BSD, BSD 2-Clause, BSD 3-Clause.

* zlib: extract license file from zlib.h

* xorgproto: include all individual license files in package

* libgcrypt: include LICENSE file in package

It contains some copyright information so needs to be included in package

* libcrypt: add a dummy BSD 2-Clause license

According to homepage it is suppose to be BSD 2-Clause, but original
project did not include a license file

* libandroid-spawn: add LICENSE file to package

* libandroid-glob: add license file to package

* licenses: allow for comma separated TERMUX_PKG_LICENSE_FILE

%ci:no-build

* libicu: fix so that termux_step_install_license finds license file

%ci:no-build

* termux_step_install_license: check for license file as "License"

%ci:no-build

* libtiff: specify TERMUX_PKG_LICENSE_FILE

%ci:no-build

* asciidoctor: install license to standard location

* krb5: specify license file

* libdb: specify path to license file

%ci:no-build

* libprotobuf: specify path to license file

* darkhttpd: extract license file from darkhttpd.c

* w3m: ensure host libraries are not picked up

* w3m: extract LICENSE file from dock/README

* liblua{,52}: extract license files from doc/readme.html

* termux_step_install_license: look for License.txt as well

* dart: specify path to LICENSE file

* nim: specify license file

* runit: specify license file

* termux_step_install_license: look for LICENSE.TXT as well

* ossp-uuid: extract LICENSE from README

* pigz: extract LICENSE from pigz.c

* ttyrec: extract LICENSE from ttyrec.c

%ci:no-build

* bmon: specify license files

Most of the source files are licensed under MIT, it is not clear (to me) which
parts that are licensed under BSD 2-Clause.

%ci:no-build

* wordgrinder: specify license files

* fdupes: add LICENSE

* autossh: add LICENSE patch

* cmake: specify LICENSE file

* dos2unix: specify LICENSE file

* gnuplot: specify LICENSE file

* termux_step_install_license: look for variants of "copyright" also

* picolisp: specify LICENSE file

* lua-lpeg: extract license file

* tidy: specify license file

* gflags: specify LICENSE file

* timewarrior: fix src url

It seems to have been changed.

* postgresql: specify license file

* ttyrec: fix license patch header

* fossil: specify license file

* fmt: specify license file

* i2pd: specify license file

* leptonica: specify license file

* imgflo: add license file patch

* ired: add license file from ired github repo

* libzen: specify license file

* libmediainfo: specify license file

* mediainfo: specify license file

* tty-clock: add license patch

* samefile: add license patch

* quickjs: add license patch

* docbook-xml: add LICENSE patch

* docbook-xsl: specify LICENSE files

* gnuplot: configure with --without-latex

* timewarrior: add libshared to SRCURL as well

The non-release archives does not contain gitsubmodules so we need to
download it manually.

* restic: switch back to using 0.9.6 archive

* dart: revert revision bump

dart's SDK does not fully support python3 yet, and trying to solve
that is not entirely trivial. We save the dart bump (and upgrade to
2.8.4) for another day.

%ci:no-build
2020-07-07 18:45:45 +02:00
Leonid Pliushch
27caa7032b zsh: avoid set(*)uid & set(*)gid calls
They are blocked by seccomp on recent Android OS versions.
2020-04-21 15:26:34 +03:00
Henrik Grimler
1e1cba7aaa zsh: avoid calls that might be denied by selinux 2020-04-17 13:54:10 +02:00
gammafn
2a8be99088 zsh: add zsh/zselect module (Github: #4939)
Additionally, the module list is now sorted
2020-02-20 13:20:58 -06:00
Leonid Pliushch
32c7b6ddbe zsh: update Src-exec.c.patch 2020-02-17 16:07:00 +02:00
Leonid Pliushch
76614b3e99 zsh: update to 5.8 2020-02-17 15:48:25 +02:00
Leonid Pliushch
5123b0cffa fix formatting of some build.sh 2020-01-13 03:00:07 +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
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