Leonid Plyushch
4f07cb8ee6
build-package.sh: fix checksum in termux_setup_protobuf.sh
5 years ago
Leonid Plyushch
ab406aac27
docker image: install bsdmainutils
5 years ago
Leonid Plyushch
2fb2b462da
CI: exclude "lldb" from autobuilds
5 years ago
Fredrik Fornwall
79e86b8389
cmake: Update from 3.15.2 to 3.15.3
5 years ago
Leonid Plyushch
83f286f858
CI: switch to file-based cache for passing *.deb files between tasks
5 years ago
Fredrik Fornwall
c9a62bb78d
golang: Update from 1.12.8 to 1.13
5 years ago
Leonid Plyushch
3e7ea9df42
docker image: install pandoc
5 years ago
Fredrik Fornwall
6546660422
cmake: Update from 3.14.5 to 3.15.2
5 years ago
Leonid Plyushch
2942a4e139
fix for termux_create_subpackages.sh
5 years ago
Leonid Plyushch
f4081bdc42
golang: allow on-device builds
But it will fail currently anyway to non-pie executables generated in
bootstrap process.
5 years ago
Leonid Plyushch
d0a1565030
scripts/setup-termux.sh: install help2man
5 years ago
Leonid Plyushch
0d55edb1a4
scripts/setup-termux.sh: install asciidoc
5 years ago
Fredrik Fornwall
1b8d44fd35
caddy: Update from 1.0.1 to 1.0.3
5 years ago
Leonid Plyushch
de2515d725
termux-elf-cleaner: update to v1.7
5 years ago
Leonid Plyushch
45fc6e15e7
build-package.sh: fix detection of static libraries when creating subpackages
Now packages will be split if static libraries are located in subdirectory
of $PREFIX/lib.
5 years ago
Leonid Plyushch
aafb83e37b
build-package.sh: better support for metapackages
5 years ago
Leonid Plyushch
537034d0fa
CI: trim spaces from modified packages list
5 years ago
Leonid Plyushch
83396b7df1
linter: source ./scripts/properties.sh only if it exists
5 years ago
Leonid Plyushch
0c66d56197
linter: specify that non-https links are still acceptable
%ci:no-build
5 years ago
Leonid Plyushch
303e5b2a8a
add new linter script & fix packages where needed
Linter will check packages submitted for CI build. If error was found,
build will not be allowed.
To ensure that all build.sh scripts are consistent and have at least
minimal allowed quality, linter is permanently enabled for all branches
and pull requests.
5 years ago
Leonid Plyushch
bf38df58b8
build-package.sh: fix problem when built packages are not being checked
5 years ago
Leonid Plyushch
3d7530dbd5
build-package.sh: more fixes for variable checking
5 years ago
Leonid Plyushch
b697254188
build-package.sh: set ac_cv_func_posix_spawnp=no for all autotools builds
Reason same as for posix_spawn.
5 years ago
Leonid Plyushch
7682303ca6
build-package.sh: set ac_cv_func_posix_spawn=no for all autotools builds
posix_spawn is not available on Android devices.
While this commit is not necessary for cross-compiling, it is required
when building on-device since there posix_spawn is found somehow. This
produces following errors:
./spawn.h:514:17: error: use of undeclared identifier 'POSIX_SPAWN_RESETIDS'
[(((POSIX_SPAWN_RESETIDS | POSIX_SPAWN_SETPGROUP
5 years ago
Leonid Plyushch
5076c9c720
build-package.sh: fix metapackage creation
Metapackages shouldn't have data inside.
%ci:reset-backlog
5 years ago
Leonid Plyushch
91657e90bb
build-package.sh: more fixes
5 years ago
Leonid Plyushch
6267a318aa
build-package.sh: use text-based comparsion in conditionals instead of exit-code based
5 years ago
Leonid Plyushch
c71f32e64d
fix typo in scripts/build/termux_extract_dep_info.sh
5 years ago
Leonid Plyushch
ce13d0099a
build-package.sh: allow static packages to be in dependencies
5 years ago
Leonid Plyushch
d111f5bf74
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
5 years ago
Leonid Plyushch
d274182ade
add support for on-device bootstrapping of "make"
5 years ago
Leonid Plyushch
b83275116d
scripts/setup-termux.sh: split packages on "tier 1" & "tier 2" groups
And remove packages that are installed with bootstrap archive (essential ones).
5 years ago
Butta
8fd02b64a0
on-device build: Fix up ncurses and ninja, adjust some setup scripts,
and add dependency info to scripts/setup-termux.sh.
5 years ago
Leonid Plyushch
4161bbea03
fix typo in termux_step_massage.sh
5 years ago
Leonid Plyushch
4f3d2e9579
build-package.sh: fix error in termux_step_massage() when bin, lib, libexec are not exist
Fixes https://github.com/termux/termux-packages/issues/4160 .
5 years ago
Leonid Plyushch
5ed9200933
scripts/setup-termux.sh: add missing package 'valac'
5 years ago
Leonid Plyushch
c8298b3e19
build-package.sh: export CC_FOR_BUILD for on-device builds
Required by some packages.
5 years ago
Leonid Plyushch
83ee358158
build-package.sh: on-device builds without termux-exec are unsupported
5 years ago
Leonid Plyushch
a418c7c0d5
build-package.sh: for on-device builds use device-specific default value for maintainer
5 years ago
Leonid Plyushch
a005df428c
build-package.sh: prefix and home shouldn't be overridable for on-device builds
And set TERMUX_NO_CLEAN to true for on-device builds as well.
5 years ago
Leonid Plyushch
25955f9df5
build-package.sh: source properties.sh before handling command line arguments
Fixes problem when it is not possible to override TERMUX_ARCH set in ~/.termuxrc.
5 years ago
Leonid Plyushch
493fa91c1c
scripts/setup-termux.sh: install binutils-gold
Required by at least ipfs package.
5 years ago
Leonid Plyushch
839d8e5b2b
scripts/setup-termux.sh: use bash in shebang
5 years ago
Leonid Plyushch
0d2f6e446f
enable on-device builds
Partial compatibility for on-device builds.
There is no guarantee that it will be possible to build all available
packages and built packages will have same reliability that cross-compiled
but should solve "self-hosting" problems as much as possible.
5 years ago
Leonid Plyushch
e0b0b0e85f
run-docker.sh: allow to set custom image via environment variable
5 years ago
Leonid Plyushch
d44a223686
build-package.sh: use globstar when splitting static libraries
Handle cases when static libraries located in subdirectory.
Enables support for globstar (example './**/*.a') pattern in subpackage
splitting.
5 years ago
Leonid Plyushch
ffe57097d1
build-package.sh: avoid linking with extra/unneeded libraries
5 years ago
Leonid Plyushch
e63524cbdc
build-package.sh: basic hardening via CFLAGS/LDFLAGS
See https://github.com/termux/termux-packages/issues/4107 .
In short:
* Stack protector will be used by default.
* GOT/PLT ELF sections will be read-only.
5 years ago
Leonid Plyushch
15e00d2072
scripts/buildorder.py: do not handle static library subpackages
* They are not used during normal build procedures.
* During "fast-builds" (option '-i') they just consume our bandwidth.
5 years ago
Leonid Plyushch
21b96d3b41
no more develsplit + provide static libraries as separate package
%ci:no-build
6 years ago