Go to file
Leonid Pliushch c061024982
apt: update patches
***

This commit contains further changes to user agent string in addition
to introduced in fd66e2fe29.

Now it will send installation prefix obtained by /proc/self/exe. It
should resist patching `apt` with sed or in other way. Reminding that
installation prefix provided in user agent http header is intended for
distinguishing Termux from derivatives.

Here are sample lines from my mirror logs showing usage of Termux repo
by third-party projects:
```
162.158.103.43 - - [21/Jan/2021:09:46:43 +0200] "GET /dists/stable/Release HTTP/1.1" 304 0 "-" "Termux-PKG/1.0 mirror-checker (termux-tools 0.104) Termux (pl.sviete.dom; install-prefix:/data/data/pl.sviete.dom/files/usr)"
162.158.210.8 - - [20/Jan/2021:06:24:54 +0200] "GET /dists/stable/InRelease HTTP/1.1" 404 146 "-" "Debian APT-HTTP/1.3 (2.1.15) Termux (vn.vhn.vsc; install-prefix:/data/data/vn.vhn.vsc/files/usr)"
162.158.210.142 - - [20/Jan/2021:06:24:54 +0200] "GET /dists/stable/Release.gpg HTTP/1.1" 304 0 "-" "Debian APT-HTTP/1.3 (2.1.15) Termux (vn.vhn.vsc; install-prefix:/data/data/vn.vhn.vsc/files/usr)"
```

***

CloudFlare firewall for termux.org and termux-mirror.ml hosts would be
adjusted to block all requests which do not have install-prefix set or
if the latter doesn't match one of the Termux.
2021-02-03 22:33:22 +02:00
.github CI: update-whatprovides-db: exit if ./debs directory is empty 2021-01-07 14:29:30 +02:00
disabled-packages update and enable package 'sslscan' 2020-11-05 18:39:03 +02:00
ndk-patches fix ndk-patches/paths.h.patch 2020-07-11 00:51:47 +03:00
packages apt: update patches 2021-02-03 22:33:22 +02:00
sample explicitly set maintainer for each package 2020-12-20 15:16:34 +02:00
scripts Set __USE_FORTIFY_LEVEL for debug builds 2021-02-03 16:57:21 +01:00
.gitattributes update .gitattributes 2020-08-27 21:40:58 +03:00
.gitignore setup-offline-bundle.sh: add support for downloading package sources 2020-10-23 00:27:56 +03:00
BACKERS.md Update BACKERS.md 2020-04-29 00:32:23 +02:00
CONTRIBUTING.md contributing: update package request policy 2020-12-30 14:26:47 +02:00
LICENSE.md avoid long lines in LICENSE.md 2019-06-08 14:40:01 +03:00
README.md update readme 2020-12-11 17:27:07 +02:00
build-all.sh build-all.sh: Fix error message 2021-02-03 17:30:12 +01:00
build-package.sh misc hardcoded home/prefix fixes 2020-10-30 22:48:55 +02:00
clean.sh packages: standardize values of several control variables for build.sh 2019-08-12 18:49:13 +03:00

README.md

Termux packages

Packages last build status Docker image status Repology metadata status Join the chat at https://gitter.im/termux/termux

Powered by JFrog Bintray

This project contains scripts and patches to build packages for the Termux Android application.

Quick how-to about Termux package management is available at https://wiki.termux.com/wiki/Package_Management.

Contributing

@termux is looking for help with fixing issues, adding new packages and maintaining existing ones. It would be very helpful if you submit a pull request with new packages or bug fixes.

Read CONTRIBUTING.md and Developer's Wiki for more details.

Contacts

General mailing list: https://groups.io/g/termux

Developer mailing list: https://groups.io/g/termux-dev

General chat: https://gitter.im/termux/termux or #termux on IRC/freenode.

Developer chat: https://gitter.im/termux/dev or #termux/development on IRC/freenode.