Leonid Plyushch
4c4da7deff
build-package.sh: export CC_FOR_BUILD for on-device builds
Required by some packages.
6 years ago
Leonid Plyushch
1c1f059ee6
build-package.sh: on-device builds without termux-exec are unsupported
6 years ago
Leonid Plyushch
ab3a999565
build-package.sh: for on-device builds use device-specific default value for maintainer
6 years ago
Leonid Plyushch
e290c97736
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.
6 years ago
Leonid Plyushch
1ae4d7d388
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.
6 years ago
Leonid Plyushch
adea958509
scripts/setup-termux.sh: install binutils-gold
Required by at least ipfs package.
6 years ago
Leonid Plyushch
1e698a1198
build-package.sh: use bsdtar for on-device builds when extracting into massagedir
Tar built for API 21 branch doesn't work well in certain cases and following error
may occur:
tar: ./share/doc/ed/LICENSE: Cannot change mode to rwx------: No such file or directory
tar: Exiting with failure status due to previous errors
Using bsdtar instead for extracting.
6 years ago
Leonid Plyushch
a027b72efd
build-package.sh: do not hardcode path to termux-elf-cleaner
6 years ago
Leonid Plyushch
abca76df18
build-package.sh: for on-device builds termux-elf-cleaner should be installed with apt
It throws compilation errors when being built without custom elf.h on
devices using API 21 repository.
6 years ago
Leonid Plyushch
622065b74c
scripts/setup-termux.sh: use bash in shebang
6 years ago
Leonid Plyushch
aecf4675e3
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.
6 years ago
Leonid Plyushch
1b4a91414c
no more develsplit + provide static libraries as separate package
%ci:no-build
6 years ago
Leonid Plyushch
359c2d9d5d
build-package.sh: setup basic hardening through CFLAGS/LDFLAGS
Use stack protector & make GOT/PLT sections read-only.
6 years ago
Leonid Plyushch
4f0cc87981
run-docker.sh: allow to set custom image via environment variable
6 years ago
Leonid Plyushch
09188ebe88
CI: update dispatcher script
%ci:reset-backlog
6 years ago
Leonid Plyushch
754f17cd50
update download checksum in termux_setup_protobuf.sh
6 years ago
Leonid Plyushch
cb2abf7ab0
sync ./scripts/setup-ubuntu.sh with branch 'master'
6 years ago
Leonid Plyushch
72951f7b2c
CI: fix expression for filtering packages
6 years ago
Leonid Plyushch
a565de286c
CI: look for changes only in build.sh scripts
6 years ago
Leonid Plyushch
32deebbb7c
CI: sync setup with branch 'master'
6 years ago
Leonid Plyushch
7f29c932a9
build-package.sh: set $LDFLAGS for CGO like we do for android-7 packages
6 years ago
Leonid Plyushch
3e8242e505
backport changes from branch 'master' for new format of bootstraps
6 years ago
Leonid Plyushch
bafc9c7fc5
sync 'scripts/setup-ubuntu.sh' with branch 'master'
6 years ago
Leonid Plyushch
68c6f1c2f3
CI: update dispatcher script
6 years ago
Henrik Grimler
1643c84658
setup_golang: set CGO_CFLAGS=-I$TERMUX_PREFIX/include
6 years ago
Leonid Plyushch
b516846b1d
CI: don't use loop for going through package names
It is not needed anymore.
6 years ago
Leonid Plyushch
4411137844
Revert "CI: restore full builds for pull requests"
This reverts commit 50ba29a8e2
.
6 years ago
Leonid Plyushch
50ba29a8e2
CI: restore full builds for pull requests
When processing pull request, build dependencies instead of
downloading them.
6 years ago
Leonid Plyushch
dd3baa536b
build-package.sh: allow to build multiple packages at one time
Support for call syntax:
./build-package.sh pkg1 pkg2 pkg3 ...
6 years ago
Leonid Plyushch
d17827275f
update CI setup
* Move package building implementation from config to a separate script.
* Implement new tag '%ci:no-build' to allow immediately stop build with status 'passed'.
6 years ago
Tom Yan
aecf0aabcb
build-package.sh: export OBJCOPY
6 years ago
Fredrik Fornwall
277711e200
Always use -Oz optimization level
6 years ago
Leonid Plyushch
cb88166c87
docker image: sync setup-ubuntu.sh with master branch
6 years ago
Fredrik Fornwall
03979e698e
golang: Update from 1.12.6 to 1.12.7
6 years ago
Tom Yan
1c602f865c
build-package: fix subpackage-parent dependency
6 years ago
Leonid Plyushch
b75ade40ea
build-package.sh: fix typo
Chmod has to be called recursively.
6 years ago
Leonid Plyushch
30bb1ff752
clean.sh & build-package.sh: avoid errors in case chmod's target dir is not exist
6 years ago
Leonid Plyushch
6257721b22
build-package.sh: fix rm problems when builddir/srcdir contains RO files
6 years ago
Leonid Plyushch
676b290904
build-package.sh: always keep info pages
Info pages usually provide more complete information
about package and its usage than man pages.
6 years ago
its-pointless
5d2d5e0c78
set updsted ndk sha256
6 years ago
its-pointless
60ab227d56
avoid using system clang instead of ndk one
6 years ago
its-pointless
5f45bf250b
fix arm-cpp properly...
6 years ago
its-pointless
a5e00b7493
fix arm cpp
6 years ago
its-pointless
092cfb4aa6
ndk-20 update
6 years ago
Leonid Plyushch
c75dba2817
golang: update to 1.12.6
6 years ago
Leonid Plyushch
31eb841e05
cmake: update to 3.14.5
6 years ago
Leonid Plyushch
7536368c70
update setup-archlinux.sh
6 years ago
Leonid Plyushch
833e52491e
update Vagrantfile
* Ubuntu disco
* Raised RAM to 4 GB (2 GB may be too small)
* Some other fixes
6 years ago
Christopher Latham
4f450ff76c
setup-ubuntu.sh: Download 19.04 java package when running Ubuntu 19.04
6 years ago
Christopher Latham
bf099f93e1
Fix broken java 8 download link locations
6 years ago