Commit Graph

67 Commits

Author SHA1 Message Date
sergiotarxz 70d108286a Modifying prefix 2022-05-11 18:20:56 +02:00
Henrik Grimler da0df2306d
dpkg: reset revision
After upgrade to 1.21.7.
2022-05-01 18:02:41 +02:00
tjhexf 785c42cde4
dpkg: update to 1.21.7 2022-05-01 18:02:19 +02:00
Tee KOBAYASHI ec2d13af38 dpkg: Use alternative source URL (temporarily)
%ci:no-build
2022-03-31 01:44:21 +09:00
Tee KOBAYASHI 69909ae504 dpkg: Include `dpkg-scanpackages` as a subpackage 2022-03-14 19:40:21 +09:00
Lucy Phipps 0b58b64298
dpkg: update to 1.21.1, rm busybox compat patch 2021-12-07 16:56:19 +00:00
Leonid Pliushch ca1d255cc7
restart failed build 2021-05-29 16:00:11 +03:00
vhqtvn 124efc9dd9
package updates & build issue fixes (#6919)
aptly: fix build failure

dpkg: fix $TERMUX_ARCH in configure script

gotty: switch to up-to-date upstream

minicom: update source url

ncurses: force build with -fPIC

newsboat: update to 2.23

ovmf: update to 20210421.18.g15ee7b7689

pforth: update to 20210315

pup: build with GO111MODULE=off

rcshell: update source url

remind: update to 03.03.07

tweego: update to 2.1.1

virustotal-cli: update to 0.9.6

docker image: install some missing build tools
2021-05-29 14:41:04 +03:00
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 62888c57dd Revert "dpkg: use busybox for rm and tar"
This reverts commit b35e4e4654b669292a51976e09c80b8a8780825a.
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 d676463e59 dpkg: use busybox for rm and tar 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