Commit Graph

145 Commits

Author SHA1 Message Date
Lucy Phipps
590a8e682e
apt, bison: bump to fix facessat calls 2021-11-29 10:07:40 +00:00
Lucinda May Phipps
e375464b0f
apt: update to 2.3.13 2021-11-28 19:15:07 +00:00
Henrik Grimler
1e03f5d94c
apt: remove game-repo from suggested packages
All packages that were previously installable from the repo has now
been moved to the main repository.
2021-11-27 13:26:59 +01:00
Leonid Pliushch
cf5474e43c
apt: remove unstable-repo from conflicts 2021-11-08 16:09:47 +02:00
Lucy Phipps
f2650b5292
apt: fix ~[DR]PreDepends
https://github.com/Debian/apt/pull/136
2021-11-03 05:03:24 +00:00
Leonid Pliushch
f8876cd073
apt: provide virtual package 'unstable-repo'
Now command 'apt install unstable-repo' shouldn't attempt to delete
package manager.
2021-10-30 15:25:28 +03:00
Leonid Pliushch
0ee734e780
apt: don't suggest unstable-repo but replace it 2021-10-25 20:12:31 +03:00
Henrik Grimler
a2187e62df Bump all packages depending on libc++
As part of ndk-r23 upgrade.
2021-10-22 23:05:45 +02:00
Lucinda May Phipps
7410e36446
apt: update to 2.3.11 2021-10-21 19:12:58 +01:00
Lucy Phipps
6368960a8e
apt: update to 2.3.10 2021-10-21 16:30:06 +01:00
Lucy Phipps
949eb90988
apt: update to 2.3.9 2021-09-08 22:17:28 +01:00
Lucy Phipps
f58a7bc8ed
apt: update to 2.3.8 2021-08-15 14:36:56 +01:00
Lucy Phipps
5fce984bbd
apt: use termux docbook-xsl-nons 2021-08-08 16:10:49 +01:00
Lucy Phipps
b6dc2c8e12
apt: go back to using host docbook-xsl
manpages were broken
2021-08-08 01:16:31 +01:00
Lucy Phipps
8b6f8862e1
fix apt build for real 2021-08-08 00:15:50 +01:00
Lucy Phipps
34d21e590c
fix apt build 2021-08-08 00:03:24 +01:00
Lucy Phipps
167256cca7
apt: use termux docbook-xsl 2021-08-07 23:51:58 +01:00
Lucy Phipps
f91b606d95
apt: build up-to-date manpages and examples 2021-08-07 19:15:42 +01:00
Lucy Phipps
9c323a5076
fix typo in apt build.sh 2021-08-07 05:25:46 +01:00
Lucy Phipps
52798e10f3
apt: update to 2.3.7 2021-08-07 05:24:11 +01:00
Leonid Pliushch
a40783aad4
apt: remove broken symlinks
Since we are removing "mirror" method, symlinks mirror+copy, mirror+file,
mirror+ftp and similar should be removed too.
2021-07-10 00:35:44 +03:00
Lucy Phipps
6ba2862ab5
apt: update to 2.3.6 2021-06-27 02:45:32 +01:00
Leonid Pliushch
c9c1187857
apt: update default repository url
Using packages.termux.org since it is now a primary host.
2021-06-03 16:07:39 +03:00
Suhan G Paradkar
3dc78812f1
Updates to a few packages (#6850)
* Update apt

* Update bat

* Update caddy

* Update clash

* Update croc

* Update dar

* Update exiftool

* Update ffsend

* Update delve

* Update imagemagick

* Update libxml2

* Update micro

* Update mime-support

* Update notmuch
2021-05-25 07:39:23 +05:30
Leonid Pliushch
0a8eed0361
apt: update to 2.3.3 2021-05-03 18:08:14 +00:00
Lucy Phipps
1d7298d31c
apt: update to 2.3.2 2021-04-25 16:24:45 +01:00
agnostic-apollo
71025e6b4e apt: update to 2.2.2 2021-04-04 07:29:54 +05:00
Lucy Phipps
adb1ddc2c8
apt: update to 2.2.0 2021-02-25 13:50:56 +00:00
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
Leonid Pliushch
5b5f81f1fb
apt: update to 2.1.18 2021-02-03 21:08:41 +02:00
Leonid Pliushch
896ad3a3c9
apt: update to 2.1.15 2021-01-07 13:54:51 +02:00
Leonid Pliushch
c5eeff5b0b
apt: add xxhash as dependency 2020-12-24 16:45:21 +02:00
Leonid Pliushch
fd66e2fe29
get rid of verify-prefix.patch.txt
Switching to a more "soft" solution which will be focused on apt only.

Apt will now send an application package name (com.termux) and prefix
(/data/data/com.termux/files/usr) as part of user-agent string. That
will allow to distinguish real Termux users from parties which download
our packages and binary-patching them for the custom prefix.

Note that this will disable user's possibility to set custom User-Agent
for apt.
2020-12-24 16:42:32 +02:00
Leonid Pliushch
271d8b1b59
apt: update to 2.1.14 2020-12-24 15:48:29 +02:00
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
6eb165b3bf
apt: fix patch 2020-12-11 18:11:51 +02:00
Leonid Pliushch
27ed137858
apt: fix patch 2020-12-11 17:49:02 +02:00
Leonid Pliushch
ca4359c981
apt: update to 2.1.13 2020-12-11 17:38:20 +02:00
Leonid Pliushch
14aa1996ae
apt: bump revision 2020-12-07 20:29:20 +00:00
Leonid Pliushch
0686801218
apt: update to 2.1.12 2020-12-07 20:10:06 +00:00
Leonid Pliushch
030ea9465e apt: need libgnutls 2020-11-05 19:35:50 +02:00
Leonid Pliushch
91fa3a889b apt: try fix glob on android 7 2020-11-05 19:17:02 +02:00
Leonid Pliushch
9dffff8858 apt: fix arguments for getsockopt causing errors on i686 2020-11-05 18:29:01 +02:00
Leonid Pliushch
e217e4cf04 apt: add -Wno-c++11-narrowing to CXXFLAGS 2020-11-05 18:11:03 +02:00
Leonid Pliushch
06fbff4755 apt: update to 2.1.11 2020-11-05 17:17:56 +02:00
Leonid Pliushch
9b92a45bc6 fix Termux hardcoded directories in apt, rsnapshot 2020-10-30 22:32:52 +02:00
Leonid Pliushch
7e89e130ce apply prefix verification patches again - now shouldn't cause crash 2020-09-28 02:54:13 +03:00
Leonid Pliushch
a6102de687 Revert "add patches for prefix verification"
This reverts commit 2703e4f68f856bb816c695ab53118306ba8104a4.

https://github.com/termux/termux-packages/issues/5858 - seem to be buffer overflow...
2020-09-28 01:37:34 +03:00
Leonid Pliushch
9d92a7360c add patches for prefix verification - prevent use of prebuilt packages by third parties
Add a small stub which verifies whether /data/data/com.termux/files/usr is readable
into few important packages such like Bash or APT. If this check fails, e.g.
in case if binary was executed in program with different package name (non-Termux),
program will print warning and exit with error status immediately.

This should prevent use of prebuilt packages by third-party applications.

NOTE: for now it uses /data/data/com.termux/files/usr in reversed order to
prevent automatic "blind" patching with sed. Will replace with randomized
XOR-based variant in case if that measure won't be enough.
2020-09-28 00:10:00 +03:00
Leonid Pliushch
9d022115ca apt: bump revision 2020-08-01 02:29:15 +03:00