Commit Graph

54 Commits

Author SHA1 Message Date
suhan-paradkar
0572410fbb
update packages (#6703)
asciidoctor: 2.0.15

dpkg: 1.20.9

elixir: 1.11.4

findomain: 4.0.1

fish: 3.2.2

gnunet: 0.14.1
2021-04-29 13:29:27 +03:00
Leonid Pliushch
df64cf9d76
rebuild: dpkg, gnupg, libcurl
apt fails as need updated patches.
2021-02-03 21:33:57 +02:00
Leonid Pliushch
f68101f583
dpkg: update to 1.20.7.1 2021-02-03 21:08:53 +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
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
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
4c75e489b5 dpkg: update to 1.20.5 2020-07-14 13:05:09 +03:00
ifurther
5c63801a8f dpkg: up to 1.20.4 2020-07-09 00:54:20 +03:00
Leonid Pliushch
15a3942f5e dpkg: build start-stop-daemon utility 2020-06-07 01:23:26 +03:00
Henrik Grimler
6c4affb005 Bump liblzma and dependent packages to restart CI
All except php since it has been uploaded manually
2020-03-20 08:54:28 +01:00
Leonid Pliushch
6d7e9429f7 bump liblzma-dependent packages 2020-03-19 20:58:37 +02:00
Leonid Pliushch
bd9f2f00af dpkg: update to 1.20.0 2020-03-08 20:00:47 +02:00
Leonid Pliushch
c352216c63 packages: standardize values of several control variables for build.sh
Variables

 TERMUX_PKG_PLATFORM_INDEPENDENT
 TERMUX_DEBUG
 TERMUX_PKG_HAS_DEBUG
 TERMUX_PKG_ESSENTIAL
 TERMUX_SUBPKG_ESSENTIAL
 TERMUX_PKG_NO_STATICSPLIT
 TERMUX_PKG_BUILD_IN_SRC
 TERMUX_PKG_FORCE_CMAKE
 TERMUX_PKG_HOSTBUILD

should not accept arbitrary values for marking them "enabled". Instead
they should accept boolean values which makes them easier to handle and
also makes their meaning clear.

build-package.sh should make decision based on variable's value but not on
whether it is set or empty.

%ci:no-build
2019-08-12 18:49:13 +03:00
Leonid Pliushch
b563281d63 undo "Unsplit essential packages"
Seems it is not possible to unsplit these packages currently.

%ci:reset-backlog
2019-08-11 19:44:55 +03:00
Leonid Pliushch
eefe9fbe26 xz-utils: unsplit from liblzma
Same reason as for curl and bzip2.
2019-08-11 17:40:39 +03:00
Leonid Pliushch
864a138534 unsplit bzip2 from libbz2
Same reason as for 'curl'.
2019-08-11 17:40:39 +03:00
Leonid Pliushch
3d81f06061 dpkg: rm includes, static libraries and dpkg-genbuildinfo from package
If you think they should be present in dpkg package, open issue
and tell about their usability in Termux (with proof).
2019-08-10 02:35:14 +03:00
Leonid Pliushch
a1721cc1ac dpkg: provide basic /var/lib/dpkg directory structure inside package
Previously was provided only through bootstrap archive.
2019-08-10 02:35:09 +03:00
Leonid Pliushch
1745ea4173 dpkg: enable support for update-alternatives
Issue: https://github.com/termux/termux-packages/issues/4137
2019-08-10 00:29:34 +03:00
Leonid Pliushch
6e70277fb3 no more develsplit + provide static libraries as separate package
%ci:no-build
2019-07-28 21:17:12 +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
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
c7c484d015 dpkg: update to 1.19.7 2019-06-08 01:14:16 +03:00
Leonid Pliushch
7abbb5c87d dpkg: update to 1.19.6 2019-05-21 14:48:36 +03:00
Leonid Pliushch
2421199096 dpkg: bump revision 2019-05-12 22:19:02 +03:00
Leonid Pliushch
30addee83a liblzma: build versioned library 2019-05-03 17:02:21 +03:00
Leonid Pliushch
11200afa32 add zlib to dependencies where needed 2019-04-14 16:00:23 +03:00
Fredrik Fornwall
08ec48080b dpkg: Update from 1.19.2 to 1.19.4 2019-02-16 00:33:31 +01:00
Wetitpig
5f07ac4eb9 Change permissions 2019-02-09 21:06:31 +02:00
Wetitpig
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Leonid Pliushch
361d8c519f [incomplete] set licenses for packages 2019-01-20 22:41:50 +01:00
Fredrik Fornwall
89ad32b7fd dpkg: Update from 1.19.0.5 to 1.19.2 2018-11-11 03:28:36 +01:00
Fredrik Fornwall
a79b8fdbf8 dpkg: Update from 1.19.0.4 to 1.19.0.5 2018-07-02 14:17:33 +02:00
Sam
c0390f0594 dpkg: Update from 1.18.24 to 1.19.0.4 2017-12-10 00:00:47 +01:00
Fredrik Fornwall
41d8c9fa98 dpkg: Update from 1.18.23 to 1.18.24 2017-06-12 11:49:34 +02:00
Markus Wagner
785a2dc34e update dpkg to 1.18.23 (#850) 2017-03-17 22:41:18 +01:00
Fredrik Fornwall
1182895b41 dpkg: Update from 1.18.20 to 1.18.22 2017-02-04 23:23:07 +01:00
Fredrik Fornwall
8047adc61d dpkg: Update from 1.18.18 to 1.18.20 2017-01-30 01:24:50 +01:00
Fredrik Fornwall
4f47cb101c dpkg: Update from 1.18.15 to 1.18.18
This allows dropping of local patches tolerating symlink size
to differ between st_size and strlen(readlink()) which is now
upstream.
2016-12-20 18:59:47 -05:00
Fredrik Fornwall
05ebefe869 dpkg: Update from 1.18.0 to 1.18.15
Also switch from ftp.debian.org to mirrors.kernel.org.
2016-11-26 10:47:55 -05:00
Fredrik Fornwall
cff76124ea dpkg: Update from 1.18.7 to 1.18.10 2016-08-02 17:37:56 -04:00
Fredrik Fornwall
3c323c69ae Docker and build updates
- Update to build on ubuntu 16.04.
- Docker: Set FORCE_UNSAFE_CONFIGURE=1. Fixes #275.
- Docker: Various fixes.
- Neovim: No longer require lua.
- Some minor package updates.
2016-05-24 18:38:29 -04:00
Fredrik Fornwall
257b3744d1 dpkg: Do not even try creating hardlinks
We now that it will fail on Android (from 6.0 on), and this only
causes a lot of warning output about denied system call in logcat.
2016-03-16 10:53:16 -04:00
Fredrik Fornwall
ee1dcc9754 dpkg: Fix conffiles handling
- Use 'less' as default pager instead of 'pager'.
- Fix configure.c to work without hard links.
2016-03-03 17:45:46 -05:00
Fredrik Fornwall
4378ead082 dpkg: Update from 1.18.3 to 1.18.4 2015-12-25 21:27:43 -05:00
Fredrik Fornwall
9f6fba5c81 dpkg: Avoid linking to libbz2 2015-12-03 19:22:01 -05:00