Commit Graph

51 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
Leonid Pliushch
c17ebf79da
nginx: update to 1.19.5 2020-12-07 22:26:50 +00:00
Henrik Grimler
11c1ef161f nginx: update to 1.19.4 2020-11-06 23:20:16 +01:00
Henrik Grimler
494c0dbff5 nginx: update to 1.19.3 2020-10-17 19:07:35 +02:00
Fredrik Fornwall
dd9cf357a6 nginx: Update from 1.19.1 to 1.19.2 2020-08-18 16:09:55 +02:00
Leonid Pliushch
5e47f33131 nginx: bump revision 2020-07-28 13:44:37 +03:00
Fredrik Fornwall
c7cd2d1262 nginx: Update from 1.19.0 to 1.19.1 2020-07-28 11:05:41 +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
Henrik Grimler
6ef0e5876a Bump pending packages again
Seems previous build failed due to game-packages metadata being updated.
2020-06-07 07:24:03 +02:00
Leonid Pliushch
78e74e209d re-run build for pending packages 2020-06-07 04:04:27 +03:00
Henrik Grimler
37d3d8cf90 nginx: set group to 9999 as suggested by xeffyr 2020-06-06 20:34:36 +02:00
Fredrik Fornwall
56c0ba7c3f nginx: Update from 1.18.0 to 1.19.0 2020-06-01 23:55:09 +02:00
Henrik Grimler
0401f37dbf nginx: ignore group
Otherwise it fails when trying to run as root. This works in my simple tests
2020-05-20 16:29:26 +02:00
Henrik Grimler
ab0286f861 nginx: do not start in daemon mode with service script. 2020-05-20 16:06:07 +02:00
Henrik Grimler
3953b726bd nginx: update to 1.80.0 2020-05-02 10:30:36 +02:00
Leonid Pliushch
1b90f694b9 nginx: update to 1.17.10 2020-04-14 22:25:47 +03:00
Leonid Pliushch
67887babce remove inactive maintainers from corresponding build.sh files
Unspecify package maintainers who didn't submit any updates for their
packages during last 2 years.
2020-03-16 16:39:29 +02:00
Leonid Pliushch
3060392638 nginx: update to 1.17.9 2020-03-08 18:59:19 +02:00
Fredrik Fornwall
3931cb4215 nginx: Update from 1.17.7 to 1.17.8 2020-01-22 22:34:32 +01:00
Henrik Grimler
ee894733a3 nginx: add termux-services script 2020-01-05 21:26:18 +01:00
Leonid Pliushch
9a450aafc9 nginx: update to 1.17.7 2019-12-31 15:14:14 +02:00
Fredrik Fornwall
e463bebcd9 nginx: Update from 1.17.4 to 1.17.6 2019-11-24 20:12:48 +01:00
Leonid Pliushch
e0999e5279 nginx: update to 1.17.4 2019-09-29 13:00:26 +03:00
Fredrik Fornwall
bb02561af4 nginx: Update from 1.17.2 to 1.17.3 2019-08-18 22:07:02 +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
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
Leonid Pliushch
c2b888b463 nginx: update to 1.17.2 2019-07-24 14:29:13 +03:00
Fredrik Fornwall
4278ddae27 nginx: Update from 1.17.0 to 1.17.1 2019-06-28 00:28:26 +02:00
Fredrik Fornwall
26579666a8 nginx: Update from 1.16.0 to 1.17.0 2019-05-29 23:44:57 +02:00
Fredrik Fornwall
d45e6079d8 nginx: Update from 1.15.12 to 1.16.0 2019-05-08 01:54:11 +02:00
Fredrik Fornwall
7e16fcf9be nginx: Update from 1.5.11 to 1.5.12 2019-04-17 22:41:47 +02:00
Leonid Pliushch
11200afa32 add zlib to dependencies where needed 2019-04-14 16:00:23 +03:00
Fredrik Fornwall
12e610bc30 nginx: Update from 1.15.10 to 1.15.11 2019-04-12 01:32:35 +02:00
Fredrik Fornwall
f3c746ba87 nginx: Update from 1.15.9 to 1.15.10 2019-03-30 00:40:43 +01:00
Fredrik Fornwall
fe2fbba877 nginx: Update from 1.15.8 to 1.15.9 2019-03-02 23:05:35 +01:00
Wetitpig
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02: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
58c6ce8882 nginx: Update from 1.15.7 to 1.15.8 2018-12-28 00:58:45 +01:00
Fredrik Fornwall
a090b5f01a nginx: Update from 1.15.6 to 1.15.7 2018-11-28 01:38:34 +01:00
Leonid Pliushch
145c26ca8d nginx: update to 1.15.6 2018-11-10 23:23:43 +01:00
Fredrik Fornwall
5252a7ba3d nginx: Update from 1.15.4 to 1.15.5 2018-10-07 19:19:40 +02:00
Fredrik Fornwall
eb1da6d335 nginx: Update from 1.15.3 to 1.15.4 2018-09-27 00:08:53 +02:00
Fredrik Fornwall
9e26046912 nginx: Update from 1.14.0 to 1.15.3
Also fix compilation error with ndk r18.

Also remove use of aio due to seccomp filter.
2018-09-20 00:41:19 +02:00
Fredrik Fornwall
fd72a74c42 openssl: Update from 1.0.2 to 1.1.1 (#2775) 2018-09-11 22:43:19 +02:00
Henrik Grimler
c1b82abd09 Add fixes for debug builds (#2296)
* build-package.sh: add possibility for debug patches and TERMUX_PKG_HAS_DEBUG

Setting TERMUX_PKG_HAS_DEBUG=no disables attempt to build debug build of
package.
Useful for example if a debug build doesn't make sense, as for python-packages
and texlive.

* aapt: skip D_FORTIFY_SOURCE=2 for libandroid-cutils when doing debug build

* lftp: skip D_FORTIFY_SOURCE=2 for debug build

* libflac: don't use -g3 for debug build

Configure script removes it otherwise.

* nano: skip -D_FORTIFY_SOURCE=2 for debug build

* vifm: skip -D_FORTIFY_SOURCE=2 for debug build

* mc: skip -D_FORTIFY_SOURCE=2 for debug build

* dropbear: add __attribute__((overloadable)) to XMEMSET and XMEMCPY if debug

* gdb: add __attribute__((overloadable)) to strchr if debug

* gnuit: add __attribute__((overloadable)) to strchr and strcpy if debug

* gperf: add __attribute__((overloadable)) to strlen if debug

* inetutils: add __attribute__((overloadable)) to strrchr and strchr if debug

* readline: add __attribute__((overloadable)) to strchr if debug

* tsocks: add __attribute__((overloadable)) to poll if debug

* units: add __attribute__((overloadable)) to strchr if debug

* liblua: fix bug in loslib.c that emerged in debug build

Use strncpy instead of strcpy.
Original error message:
loslib.c:169:3: error: 'strcpy' called with string bigger than buffer
  lua_tmpnam(buff, err);
  ^
loslib.c:122:37: note: expanded from macro 'lua_tmpnam'
       strcpy(b, LUA_TMPNAMTEMPLATE); \
                                   ^

* alpine: include our getpass.h in imap's mtest.c to declare getpass

Debug build complained about the previous implicit declaration.

* nginx: use --with-debug instead of --debug

* cboard: skip -D_FORTIFY_SOURCE=2 for debug build

* gettext: add __attribute__((overloadable)) to getcwd if debug

* oathtool: skip -D_FORTIFY_SOURCE=2 for debug build

* php: add __attribute__((overloadable)) to strlcpy and strlcat if debug

* expect: add __attribute__((overloadable)) to strchr if debug

* texlive: set TERMUX_PKG_HAS_DEBUG=no

* asciinema: set TERMUX_PKG_HAS_DEBUG=no

* libllvm: set TERMUX_PKG_HAS_DEBUG=no

Debug build fails with:
home/builder/.termux-build/libllvm/src/lib/Support/Unix/Path.inc:740:19: error: no matching function for call to 'RetryAfterSignal'                                                                                                      if ((ResultFD = sys::RetryAfterSignal(-1, open, P.begin(), OpenFlags)) < 0)

* build-package.sh: set TERMUX_PKG_REPLACES=package if debug build

Hopefully allows us to install debug packages without breaking dependecies.

Should be looked over and be made more similar to how debian does this in any case

* Update build.sh
2018-06-13 02:12:36 +02:00
Fredrik Fornwall
2db10a2925 nginx: Update from 1.12.2 to 1.14.0 2018-05-19 03:50:28 +02:00
Fredrik Fornwall
4a08751d96 nginx: Update from 1.12.1 to 1.12.2 2017-10-28 15:56:10 +02:00
vishalbiswas
947121967f nginx: update from 1.12.0 to 1.12.1 2017-07-12 18:54:03 +02:00
Vishal Biswas
b4a559a5a3 nginx: update from 1.10.3 to 1.12.0 (#929) 2017-04-13 11:15:51 +02:00