Commit Graph

8335 Commits

Author SHA1 Message Date
Leonid Pliushch
bbd9402382 CI: use git client provided by docker image
We still can't use the default Cirrus's one...
2019-07-23 12:19:42 +03:00
Leonid Pliushch
06c856528c nim: update to 0.20.2 2019-07-23 04:02:01 +03:00
Leonid Pliushch
9fac976ab1 CI: restore old way for building & uploading packages
Do not use pipes for building & uploading packages because:

 * They spawn more jobs on Bintray for metadata generation - each upload is
   done in a separate session.

 * Bintray doesn't handle well concurrent uploads and metadata can be corrupted.
   This happened in all recent builds of platform independent packages - in
   each upload task file had a same name and that triggered problem with metadata.

 * Using delays for workaround for a problem described above works, but isn't
   safe.
2019-07-23 03:08:34 +03:00
Leonid Pliushch
2b21492262 CI: fix syntax errors in 'scripts/build/ci/cirrus-ci_dispatcher.sh' 2019-07-22 22:48:36 +03:00
Leonid Pliushch
b4015466c9 apt: rebuild package
Should fix following error:

E: Failed to fetch https://dl.bintray.com/termux/termux-packages-24/all/apt-transport-tor_1.4.9-14_all.deb  Hash Sum mismatch
   Hashes of expected file:
    - SHA256:cdbe9700180918d2e195ff580443f5f4fedd1f8bfded8cd461b170ffcc7af05a
    - SHA1:9432727cfa86af2250c20fd7494b243eb4fa3dda [weak]
    - Filesize:844 [weak]

- same as happened with packages geoip2-database and ecj.
2019-07-22 22:43:56 +03:00
Leonid Pliushch
c18beff6c0 CI: better implementation for workaround introduced in f75cb1d4f2
Use predefined upload delays for each pipe.
2019-07-22 22:38:32 +03:00
Leonid Pliushch
7add4e28ef ecj: build package again 2019-07-22 21:37:53 +03:00
Leonid Pliushch
b1f23e5f4c CI: do not start upload if API key or passphrase is not set
CI periodically shows error like

  Failed to decrypt some environment variables

so it will be better to stop immediately when environment is inconsistent
for unknown reason (e.g. due to Github's problems).
2019-07-22 21:33:21 +03:00
Leonid Pliushch
e2aed73d91 CI: attempt to workaround inconsistent metadata during concurrent upload of same file
All platform independent packages affected by this issue. Results in
persistent apt error like:

 Writing more data than expected (22610650 > 22610408)
 Hashes of expected file:
  - SHA256:08abc5cffb9e1967fab487a471bb547f5ae706c48bf8e59d1443b2ad4af9caaf
  - SHA1:36ded1e207135bdeb8b7301bc03309ebced3cd32 [weak]
  - Filesize:22610408 [weak]
2019-07-22 21:26:44 +03:00
Leonid Pliushch
78c1f4ab37 ecj: bump revision
*.deb file on Bintray is corrupted for unknown reason - metadata checksum
mismatch.
2019-07-22 20:21:43 +03:00
Leonid Pliushch
d7087a90b1 CI: check if necessary environment variables are set 2019-07-22 20:04:24 +03:00
Leonid Pliushch
25d5506e06 command-not-found: update to 1.39 2019-07-22 19:41:07 +03:00
Leonid Pliushch
c4f308fae3 CI: if all 3 attempts of upload failed, exit with status code '1' 2019-07-22 18:39:16 +03:00
Leonid Pliushch
1b8104e0a9 geoip2-database: bump revision
Attempt to fix following error:

 Writing more data than expected (22610650 > 22610408)
 Hashes of expected file:
  - SHA256:08abc5cffb9e1967fab487a471bb547f5ae706c48bf8e59d1443b2ad4af9caaf
  - SHA1:36ded1e207135bdeb8b7301bc03309ebced3cd32 [weak]
  - Filesize:22610408 [weak]
2019-07-22 18:28:35 +03:00
Leonid Pliushch
7558ee77b9 ncurses: move clear/reset/tset to main package
To make these utilities available in bootstrap.
2019-07-22 14:44:25 +03:00
Leonid Pliushch
d8cf2ea72c busybox: re-add applet 'which' 2019-07-22 14:36:06 +03:00
Leonid Pliushch
3a0cf0c541 busybox: fix typo in comment 2019-07-22 14:23:56 +03:00
Leonid Pliushch
689cfacb2c busybox: restore some applets that aren't available as separate package 2019-07-22 14:13:32 +03:00
Leonid Pliushch
9d2a90ac45 sed: mark package as essential
Because used by `apt-key`.
2019-07-22 03:42:40 +03:00
Leonid Pliushch
789f99c51f findutils: bump revision
Need to rebuild package after setting TERMUX_PKG_ESSENTIAL.
2019-07-22 03:41:28 +03:00
Leonid Pliushch
a997e982a2 bash: do not hardcode prefix/home paths
Use @TERMUX_PREFIX@ or @TERMUX_HOME@ where needed.
2019-07-22 02:23:55 +03:00
Leonid Pliushch
1e5d50a950 bash: use command-not-found handler only if it exists 2019-07-22 02:23:43 +03:00
Leonid Pliushch
026ebfd1c1 termux-exec should be a dependency of termux-tools
Because it is used by login script and termux-tools is essential anyway.
2019-07-22 02:05:02 +03:00
Leonid Pliushch
1cad26d5d0 tar: remove xz-utils from dependencies
* It is optional.

* It is part of bootstrap archives and is essential.
2019-07-22 01:59:45 +03:00
Leonid Pliushch
fea38ec8dc dpkg: depend on less
Fixes following error while using `dpkg -l`:

 dpkg-query: error: showing package list on pager subprocess returned error exit status 127

Note: in recent bootstrap archives `less` is already installed and is marked as essential.
2019-07-22 01:57:56 +03:00
Leonid Pliushch
21b4430ee3 grep: mark package as essential
Because it is used by `apt-key` while `apt update` is running.
2019-07-22 01:54:41 +03:00
Leonid Pliushch
bb5fc41061 findutils: mark package as essential
Because it is used by `apt-key` while `apt update` is running.
2019-07-22 01:52:47 +03:00
Leonid Pliushch
4832078d86 reformat build.sh for some packages
* Packages where dependencies were sorted are bumped.
2019-07-22 01:51:28 +03:00
Leonid Pliushch
2a2044cda8 busybox: we still need some applets in order to upgrade packages
Should help with following dpkg errors:

 dpkg: warning: 'rm' not found in PATH or not executable
 dpkg: error: 1 expected program not found in PATH or not executable

 dpkg: warning: 'diff' not found in PATH or not executable
 dpkg: error: 1 expected program not found in PATH or not executable
2019-07-22 00:45:12 +03:00
Leonid Pliushch
d77d2f7d4d coreutils: use breaks & replaces fields instead of just conflicts for busybox 2019-07-22 00:17:51 +03:00
Leonid Pliushch
f3de7e5edf coreutils: conflict with older busybox
The utility 'env' was re-added back.
2019-07-21 23:46:55 +03:00
Leonid Pliushch
b628a2c6bf apt: add coreutils and grep for 'apt-key' 2019-07-21 23:19:47 +03:00
Leonid Pliushch
3f6dd6c59c apt: apt-key also requires sed 2019-07-21 23:16:57 +03:00
Leonid Pliushch
dd8e19ba33 apt: need findutils for apt-key 2019-07-21 23:14:56 +03:00
Leonid Pliushch
f04e8cac45 use utility 'env' from coreutils 2019-07-21 22:44:00 +03:00
Leonid Pliushch
b0b67b8fbe busybox: disable applet symlinks
See https://github.com/termux/termux-packages/issues/4070.
2019-07-21 22:44:00 +03:00
Leonid Pliushch
a43dd6df8e dpkg: depend on diffutils
Fixes:

 dpkg: warning: 'diff' not found in PATH or not executable
2019-07-21 22:40:33 +03:00
Leonid Pliushch
3b77fe6d85 dpkg: depend coreutils
Provides mv, rmdir, rm for dpkg.
2019-07-21 22:38:07 +03:00
Leonid Pliushch
f657714b6b dpkg: update dependencies 2019-07-21 22:18:09 +03:00
Leonid Pliushch
ad47bed9bb specify essential packages
* libbz2 / bzip2
 * coreutils
 * libcurl / curl
 * gzip
 * less
 * tar
 * liblzma / xz-utils
2019-07-21 22:18:09 +03:00
Leonid Pliushch
4f811f734e build-package.sh: allow to mark subpackages as essential 2019-07-21 22:18:09 +03:00
Leonid Pliushch
bf1c224eb4 busybox: no longer essential package 2019-07-21 22:18:09 +03:00
Leonid Pliushch
62888c57dd Revert "dpkg: use busybox for rm and tar"
This reverts commit b35e4e4654b669292a51976e09c80b8a8780825a.
2019-07-21 22:18:09 +03:00
Leonid Pliushch
1384a31d33 imagemagick: update to 7.0.8.56 2019-07-21 19:27:59 +03:00
Leonid Pliushch
4af8e458d6 debianutils: update to 4.8.6.3 2019-07-21 19:25:38 +03:00
Leonid Pliushch
62b194d620 docker image: install autopoint 2019-07-21 18:57:09 +03:00
Leonid Pliushch
99d75f06e4 bump imgflo and gst-plugins-good after libsoup upgrade 2019-07-21 18:53:22 +03:00
Leonid Pliushch
8885e07d51 libsoup: update to 2.66.2 + add new dep package libpsl 2019-07-21 18:52:07 +03:00
Leonid Pliushch
93d06e58dd libvpx: update to 1.8.1 2019-07-21 18:32:11 +03:00
Leonid Pliushch
8d0a720cb0 krb5: update to 1.17 2019-07-21 17:50:01 +03:00