Commit Graph

272 Commits

Author SHA1 Message Date
Henrik Grimler
f2f4bead04
termux-tools: pkg: fix occasional error in random mirror selection
Fix suggested by @agnostic-apollo.

Fixes https://github.com/termux/termux-packages/issues/9975.
2022-04-11 12:49:25 +02:00
2096779623
891932b344
termux-tools: termux-change-repo: fix unknown repository error 2022-04-05 07:16:55 +02:00
Henrik Grimler
cbe078ba83
termux-tools: termux-change-repo: fix dialog syntax 2022-04-04 19:06:01 +02:00
2096779623
3672f4cde2
termux-tools: termux-change-repo: Fix menu options 2022-04-04 19:02:44 +02:00
Henrik Grimler
94fa61d539
termux-tools: termux-change-repo: add 3 additional mirrors in China
Sort mirrors alphabetically, except for Alibaba mirror, due to the
Alibaba mirror uses a .com domain and will hence not be locked in by
pkg.
2022-04-03 21:19:05 +02:00
Henrik Grimler
7b5b44a987
termux-tools: termux-change-repo: rename mirror wiki page again 2022-04-02 23:43:14 +02:00
Zoey Mertes
8e6249f1bd
termux-tools: Add Purdue LUG mirror (#9553) 2022-03-30 02:30:03 +09:00
Henrik Grimler
1eab4c9a5d
termux-tools: update wiki url for mirrors
Page was renamed recently.
2022-03-20 11:13:57 +01:00
2096779623
845b40e078
termux-tools: Add Mirror:HIT (#9305) 2022-03-06 11:59:12 +09:00
Henrik Grimler
c0f00c9137
termux-tools: pkg: convert spaces to tabs in indentation
%ci:no-build
2022-03-01 13:32:37 +01:00
Henrik Grimler
43f510f29b
termux-tools: pkg: add more mirrors to rotation list
To decrease load on individual mirrors.
2022-03-01 13:31:13 +01:00
Henrik Grimler
9e4eda99e0
termux-tools: termux-change-repo: truly make cache repo first choice
This is what was suppose to be done in commit
9ba3d05f37 ("termux-tools: mv cloudflare mirror up in
termux-change-repo list").
2022-03-01 09:52:45 +01:00
Henrik Grimler
9ba3d05f37
termux-tools: mv cloudflare mirror up in termux-change-repo list
Quite often users probably just use first one, and we want to make use
of cloudflare's cache if possible.
2022-02-28 22:33:02 +01:00
Henrik Grimler
a35ce8f2ae
termux-tools: change termux.com -> termux.org 2022-02-22 17:13:10 +01:00
Krishna Kanhaiya
12063e27dd
termux-tools: change domain name of github mirror (#9068) 2022-02-18 19:20:37 +05:30
Maxython
16a6f0caad termux-tools: add new system value TERMUX_MAIN_PACKAGE_FORMAT 2022-02-01 15:10:30 +01:00
xeffyr
1a5d7657e9 termux-tools: update termux.1 manpage 2022-01-31 20:19:29 +02:00
Leonid Pliushch
6a456ad6a0 termux-tools: version 0.159 2022-01-27 12:53:18 +02:00
Leonid Pliushch
59a2684024 termux-tools: fix primary host message 2022-01-27 12:53:18 +02:00
Henrik Grimler
ee0de34a93
termux-tools: termux-change-repo: fix repo list
Recently added mwt repo was not added to dialog list.
2022-01-20 16:09:56 +01:00
Henrik Grimler
e1dcc61e01
termux-tools: termux-change-repo: note geo-location of grimler mirror 2022-01-19 16:56:15 +01:00
Henrik Grimler
b69a4c61da
Add Mwt's mirror to termux-change-repo
Hosted in New Jersey, USA.
2022-01-19 16:56:08 +01:00
Leonid Pliushch
7c4de3b76e
termux-tools: add new mirror for termux-change-repo
Adding as Germany (DE) mirror according to GeoIP lookup
for termux.sahilister.in.

Closes https://github.com/termux/termux-packages/issues/8535
2022-01-11 22:29:36 +02:00
marcusz
2812170b4a
termux-tools: do not include system's ip command by default (#8455)
* termux-tools: do not include system's ip command as it conflicts with iproute2

* termux-tools: update to 0.155
2022-01-05 10:35:55 +05:30
Henrik Grimler
12fe6545a8
termux-tools: add dependency on termux-am-socket
With updated termux-api we can get quite a speed increase by using
termux-am-socket instead of termux-am.
2021-12-25 22:50:14 +01:00
Leonid Pliushch
05d57dc5cb
termux-tools: adjust termux-info for supporting pacman package management base
Support reporting updates and repository subscriptions for Pacman.
2021-12-15 20:16:45 +02:00
Henrik Grimler
cfe737f112
termux-tools: termux-change-repo remove science-packages
The repository has been merged with termux-packages, so no need to
subscribe to it.
2021-12-04 16:12:34 +01:00
Henrik Grimler
c01d2e1d4f
termux-tools: remove game-repo from termux-change-repo
The repository has been merged with termux-packages, and the repo is
being removed, so no need for users to change its url.
2021-11-27 14:45:22 +01:00
Krishna Kanhaiya
3e941eec14
termux-tools: removed kcubeterm mirror (#8052)
Co-authored-by: kcubeterm <kcubeterm.gmail.com>
2021-11-24 22:09:11 +05:30
Yaksh Bariya
ce5e4f1d2b
termux-change-repo: Fix if instead of elif 2021-10-30 15:28:21 +05:30
Leonid Pliushch
cf658ede1e
termux-tools: version 0.148 2021-10-30 12:46:07 +03:00
Leonid Pliushch
b83cb41a43
termux-tools: termux-change-repo: add cloudflare backed host as mirror
Expose 2 variants of primary package server:

* packages.termux.org, which is IPv6-only and exposed to IPv4 through
  FossHost proxy.

* packages-cf.termux.org, that uses CloudFlare as IPv6-to-IPv4 proxy
  and CDN.
2021-10-30 12:43:27 +03:00
Leonid Pliushch
43ab4e0881
termux-tools: pkg: use cloudflare-backed host as default
Switch users to packages-cf.termux.org as primary package server to
avoid DNS issues with FossHost endpoint. This also should improve
download speeds.

However apt default sources.list should still use packages.termux.org
2021-10-30 12:41:27 +03:00
Leonid Pliushch
5bd844770f
termux-tools: version 0.147 2021-10-28 12:53:33 +03:00
Leonid Pliushch
06499edb90
termux-tools: updates to backup/restore scripts
What is done:

* Add comments on decisions to not enable backup/restore $HOME
  directory.

* Add informational messages on what backup/restore scripts are
  currently doing.

* Disable possibility of using termux-restore script as root user
  due to risk of messing up access modes, ownership and SELinux
  labels in $PREFIX.
2021-10-28 12:53:32 +03:00
Leonid Pliushch
7b49473d84
termux-tools: add new mirror to termux-change-repo 2021-10-27 13:10:55 +03:00
Leonid Pliushch
50c6b4b6a6
termux-tools: remove unstable repo from termux-change-repo 2021-10-25 20:12:30 +03:00
Leonid Pliushch
4abfeb58da
termux-tools: motd: no longer suggest unstable-repo
Its packages are going to be merged with main repo within 1-2 days.
2021-10-24 20:50:55 +03:00
Henrik Grimler
bd4a8b2009
termux-tools: bump package
Dummy change to trigger new publish of repo.
2021-10-23 12:39:10 +02:00
Leonid Pliushch
0f0c92dd3f
termux-tools: termux-info: do not attempt to list sources.list.d if not available 2021-10-13 14:14:32 +03:00
Leonid Pliushch
b89f1a8225
termux-tools: version 0.142 2021-10-13 14:09:54 +03:00
Leonid Pliushch
287d50889a
termux-tools: add login hook for running commands before shell is launched 2021-10-13 14:09:24 +03:00
Leonid Pliushch
5a05be5d99
termux-tools: termux-setup-storage: more detailed prompt about wiping 2021-10-13 14:02:25 +03:00
Leonid Pliushch
8020c43f38
termux-tools: termux-change-repo: don't rely on PREFIX environment variable 2021-10-13 13:45:50 +03:00
Leonid Pliushch
6d9e53b510
termux-tools: version 0.141 2021-10-08 22:06:50 +03:00
Leonid Pliushch
b7433a155f
termux-tools: fix minor syntax issues in backup/restore tools 2021-10-08 22:06:49 +03:00
Leonid Pliushch
dd65d4e50a
termux-tools: termux-restore: ensure that files/dirs have modes rw/rwx respectively
Some utilities (e.g. proot-distro) may produce read-only files in
$PREFIX which will make use of termux-restore impossible.
2021-10-08 22:06:49 +03:00
Leonid Pliushch
1949deb614
termux-tools: version 0.140 2021-09-25 17:48:32 +03:00
Leonid Pliushch
05cf3a9488
termux-tools: update default termux.properties 2021-09-25 17:48:29 +03:00
Leonid Pliushch
0ae07286b9
termux-tools: chmod 755 termux-restore 2021-09-25 17:48:27 +03:00