Compare commits

...
339 Commits
Author SHA1 Message Date
Henrik Grimler 30054df3ee libcln: bump revision 2021-10-23 17:00:47 +02:00
AgentConDier 1d4da57013 imagemagick: depend on zstd
I got the following error trying to use imagemagick:
```
~ $ magick
CANNOT LINK EXECUTABLE "magick": library "libzstd.so.1" not found
```
Installing zstd fixes the issue.
2021-10-23 16:29:29 +02:00
Henrik Grimler f3c12f328f busybox: bump to rebuild 2021-10-23 16:27:16 +02:00
Henrik Grimler ef19fafde7 mpd, ncmpcpp: bump packages
To rebuild against updated libc++. Were stopped by broken libx265
build before.
2021-10-23 16:01:10 +02:00
Henrik Grimler 1e24410b1c libx265: bump after build issues haver been solved 2021-10-23 16:00:24 +02:00
Henrik Grimler d5ba6ecc6b toolchain: fix broken as symlinks in r23b
r23b was suppose to fix so that -fno-integrated-as worked again (which
libx265 needs for example), but the symlinks added point towards an
absolute path in /buildbot/src/android/ndk-release-r23 instead of to
../../bin/. Re-create symlinks with correct destination.
2021-10-23 15:57:11 +02:00
Lucinda May Phipps 9d020f82ec properties.sh: notes for next ndk update
we forgot to reset the revision numbers this time
2021-10-23 13:55:04 +01:00
Lucinda May Phipps 1a68eb2926 libc++: bump revision 2021-10-23 13:42:18 +01:00
Lucinda May Phipps 80a69bf5e0 packages.yml: allow packages with + in name 2021-10-23 13:40:37 +01:00
Termux Github Actions 106c12da65 mu: update to 1.6.8
This commit has been automatically submitted by Github Actions.
2021-10-23 12:23:01 +00:00
Termux Github Actions 339a8e3805 lazygit: update to 0.30
This commit has been automatically submitted by Github Actions.
2021-10-23 12:19:17 +00:00
Termux Github Actions 7ecd43a473 jfrog-cli: update to 2.5.0
This commit has been automatically submitted by Github Actions.
2021-10-23 12:17:29 +00:00
Lucinda May Phipps c0a103812c libapt-pkg-perl: bump revision 2021-10-23 13:08:46 +01:00
Henrik Grimler bd4a8b2009 termux-tools: bump package
Dummy change to trigger new publish of repo.
2021-10-23 12:39:10 +02:00
Lucy Phipps ccf386f8db libc++: bump revision 2021-10-23 09:48:20 +01:00
Lucy Phipps 2a62732791 termux-elf-cleaner: update to 1.10 2021-10-23 09:47:06 +01:00
Henrik Grimler de9bb8bbde lua-language-server: bump revision 2021-10-23 09:29:27 +02:00
Henrik Grimler 141c0ecc53 libvpx: bump revision 2021-10-23 09:27:54 +02:00
Henrik Grimler b50da27fa6 clamav: bump revision 2021-10-23 09:27:40 +02:00
Henrik Grimler 0c87e4cde3 libwren: bump revision 2021-10-23 09:27:28 +02:00
Henrik Grimler a6195a4988 clpeak: bump revision 2021-10-23 09:27:13 +02:00
Henrik Grimler df86bb85e5 aapt: bump revision 2021-10-23 09:26:45 +02:00
Henrik Grimler bc70fcfba1 gdb: bump revision 2021-10-23 09:26:33 +02:00
Henrik Grimler 8c7dc9276f ddrescue: bump revision 2021-10-23 09:26:15 +02:00
Henrik Grimler d500410cc2 unrar: bump to rebuild against ndk-r23 2021-10-23 08:36:57 +02:00
Termux Github Actions 1f04b1ae41 slides: update to 0.6.2
This commit has been automatically submitted by Github Actions.
2021-10-23 06:35:43 +00:00
Termux Github Actions 0a8a1d5caa chezmoi: update to 2.7.3
This commit has been automatically submitted by Github Actions.
2021-10-23 06:14:56 +00:00
Termux Github Actions 776714cd82 zoxide: update to 0.7.8
This commit has been automatically submitted by Github Actions.
2021-10-23 00:31:40 +00:00
Henrik Grimler 6a86fd8b28 ndk: update to r23b
Includes fix for -fno-integrated-as flag, which is needed by libx265
build.
2021-10-22 23:05:45 +02:00
Henrik Grimler a2fdb7679b libvpx: fix build with ndk-r23
Seems we need to explicitly pass -fPIC for all arches.
2021-10-22 23:05:45 +02:00
Henrik Grimler a2187e62df Bump all packages depending on libc++
As part of ndk-r23 upgrade.
2021-10-22 23:05:45 +02:00
Henrik Grimler 7c579a7215 binutils: fix build with ndk-r23 2021-10-22 23:05:45 +02:00
Henrik Grimler e410863adc aapt: fix build with ndk-r23
As we have seen [1], i686 seem to explicitly need -fPIC.  Pass
CPPFLAGS in more places when building aapt, to avoid an error like:

ld: error: relocation R_386_PC32 cannot be used against symbol config_free; recompile with -fPIC
>>> defined in /tmp/config_utils-70060d.o
>>> referenced by config_utils.c
>>>               /tmp/config_utils-70060d.o:(config_free)

[1] https://github.com/termux/termux-packages/issues/7215#issuecomment-906154438
2021-10-22 23:05:45 +02:00
Butta d821abed8f libandroid-spawn: NDK 23 actually checks the INTRODUCED_IN() macros, so indicate that this library has been backported to API 24 2021-10-22 23:05:45 +02:00
Henrik Grimler 864f6a63fe lua-language-server: fix hostbuild step
Package still fails to build though:

FAILED: build/obj/source_bee/subprocess_posix.obj
aarch64-linux-android-clang -MMD -MT build/obj/source_bee/subprocess_posix.obj -MF build/obj/source_bee/subprocess_posix.obj.d -std=c++17 -O2 -Wall -Werror -fvisibility=hidden -I3rd/bee.lua/bee/nonstd -I3rd/bee.lua -DBEE_INLINE -DNDEBUG  -fstack-protector-strong -Oz -I/data/data/com.termux/files/usr/include -o build/obj/source_bee/subprocess_posix.obj -c 3rd/bee.lua/bee/subprocess/subprocess_posix.cpp
3rd/bee.lua/bee/subprocess/subprocess_posix.cpp:152:17: error: 'posix_spawnattr_init' is unavailable: introduced in Android 28
        int r = posix_spawnattr_init(&spawnattr_);
                ^
/data/data/com.termux/files/usr/include/spawn.h:56:5: note: 'posix_spawnattr_init' has been explicitly marked unavailable here
int posix_spawnattr_init(posix_spawnattr_t* __attr) __INTRODUCED_IN(28);
    ^
2021-10-22 23:05:45 +02:00
Henrik Grimler 8338d73146 quickjs: fix build with ndk-r23 2021-10-22 23:05:45 +02:00
Henrik Grimler a118b17124 perl: specify AR to fix build with ndk-r23 2021-10-22 23:05:45 +02:00
Henrik Grimler 2beb24d773 libnl: fix build with ndk-r23 2021-10-22 23:05:45 +02:00
Yaksh Bariya 141448bbca Fix lubicu package 2021-10-22 23:05:45 +02:00
Henrik Grimler 83bf55b72d openal-soft: fix build error when qt5 is found on host
If ALSOFT_NO_CONFIG_UTIL it looks for qt5widgets.
2021-10-22 23:05:45 +02:00
Henrik Grimler 0d58393f70 libwren: fix build with ndk-r23 2021-10-22 23:05:45 +02:00
Henrik Grimler 19270b5750 libtirpc: fix build with ndk-r23 2021-10-22 23:05:45 +02:00
Henrik Grimler fd0015b9dd heyu: fix errors about duplicate symbols with ndk >=r22
Errors looks like:

    aarch64-linux-android-clang  -fstack-protector-strong -Oz -Drindex=strrchr  -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -o heyu date.o erase.o info.o message.o relay.o monitor.o reset.o setclock.o stop.o tty.o x10.o xread.o xwrite.o status.o cm11a.o eeprom.o process.o sun.o cmd.o config.o x10state.o poll.o modules.o cm17a.o xsync.o timing.o cm10a.o tty_aux.o relay_aux.o x10aux.o rfxcom.o digimax.o oregon.o  -lm
    ld: error: duplicate symbol: newsb
    >>> defined at tty.c
    >>>            tty.o:(newsb)
    >>> defined at tty_aux.c
    >>>            tty_aux.o:(.bss+0x30)

    ld: error: duplicate symbol: oldsb
    >>> defined at tty.c
    >>>            tty.o:(oldsb)
    >>> defined at tty_aux.c
    >>>            tty_aux.o:(.bss+0x0)

    ld: error: duplicate symbol: spoolfile
    >>> defined at relay.c
    >>>            relay.o:(spoolfile)
    >>> defined at relay_aux.c
    >>>            relay_aux.o:(.bss+0x1C4)
    clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
    make[1]: *** [Makefile:467: heyu] Error 1
2021-10-22 23:05:45 +02:00
Henrik Grimler aeeb0f2c9a libowfat: fix build with ndk-r23 2021-10-22 23:05:45 +02:00
Henrik Grimler e2bcb42046 libcap-ng: disable python2 as well 2021-10-22 23:05:45 +02:00
Henrik Grimler 8c1a1b4ba5 termux_step_setup_toolchain: do not add prefix to pkg-config
And create the pkg-config wrapper inside termux_setup_toolchain.
2021-10-22 23:05:45 +02:00
Henrik Grimler 307ffe5a90 termux_setup_standalone_toolchain: remove one indentation level 2021-10-22 23:05:45 +02:00
Henrik Grimler 4b62e1fe3b freeimage: remove swab patch
Not needed with ndk-r23
2021-10-22 23:05:45 +02:00
Henrik Grimler 9869db7792 rust: update to 1.55.0 2021-10-22 23:05:45 +02:00
Henrik Grimler 5531ec27e5 dns2tcp: fix duplicate symbol debug
Error:

ld: error: duplicate symbol: debug
>>> defined at rr.c
>>>            rr.o:(debug)
>>> defined at main.c
>>>            main.o:(.bss+0x0)

happen when trying to build with android-ndk r22 or r23.
More info: https://go-review.googlesource.com/c/go/+/280312
2021-10-22 23:05:45 +02:00
Henrik Grimler 218a206274 busybox: fix build with ndk r23
Compiler and tool names need to be updated in Makefile.

Also fix some patch offsets while we are at it
2021-10-22 23:05:45 +02:00
Henrik Grimler 948900878e busybox: regenerate config 2021-10-22 23:05:45 +02:00
Butta 70eae9ded8 rust: update from 1.53.0 to 1.54.0 2021-10-22 23:05:45 +02:00
Henrik Grimler db88595a1a ndk-{multilib,sysroot}: update for ndk r23 2021-10-22 23:05:45 +02:00
Henrik Grimler 3f3e2ce49f termux_step_setup_toolchain: print info about applied ndk-patch 2021-10-22 23:05:45 +02:00
Henrik Grimler a84e862365 ndk-patches: remove TCAFLUSH case from bits/termios_inlines.h
To fix error:

In file included from /termux-build/_cache/android-r23-api-24-v0/bin/../sysroot/usr/include/termios.h:154:
In file included from /termux-build/_cache/android-r23-api-24-v0/bin/../sysroot/usr/include/android/legacy_termios_inlines.h:43:
/termux-build/_cache/android-r23-api-24-v0/bin/../sysroot/usr/include/bits/termios_inlines.h:120:10: error: duplicate case value '0'
    case TCSAFLUSH: cmd = TCSETSF; break;
         ^
/termux-build/_cache/android-r23-api-24-v0/bin/../sysroot/usr/include/asm-generic/termbits.h:194:19: note: expanded from macro 'TCSAFLUSH'
                  ^
/termux-build/_cache/android-r23-api-24-v0/bin/../sysroot/usr/include/bits/termios_inlines.h:118:10: note: previous case defined here
    case TCSANOW: cmd = TCSETS; break;
         ^
/termux-build/_cache/android-r23-api-24-v0/bin/../sysroot/usr/include/asm-generic/termbits.h:191:17: note: expanded from macro 'TCSANOW'
                ^
2021-10-22 23:05:45 +02:00
Henrik Grimler a465f14c90 Update to use android-ndk r23 2021-10-22 23:05:45 +02:00
Lucy Phipps e91e3d31c1 alpine: update to 2.25 2021-10-22 21:39:48 +01:00
Lucy Phipps d2067b15b8 fix files without trailing newlines
%ci:no-build
2021-10-22 20:44:59 +01:00
Lucy Phipps 2d6537de77 elinks: restore pre-configure stage 2021-10-22 20:24:19 +01:00
Lucy Phipps 53e2e4e50a elinks: update to 0.14.3 2021-10-22 20:00:07 +01:00
Lucy Phipps b08b9d694f fix rinetd 2021-10-22 18:39:32 +01:00
Lucy Phipps 8dc8689a71 rinetd: fix patches (really) 2021-10-22 17:08:28 +01:00
Lucy Phipps 08c057ac51 rinetd: fix patches 2021-10-22 17:07:36 +01:00
Lucy Phipps 46992c2993 rinetd: update to 0.73 2021-10-22 15:50:08 +01:00
Henrik Grimler af3f791645 build-package: use PACKAGE_FORMAT debian if not specified 2021-10-22 09:27:15 +02:00
Lucinda May Phipps 22bfe547af microsocks: fix url 2021-10-22 08:06:27 +01:00
Lucinda May Phipps 07ed0859f0 microsocks: update to 1.0.2 2021-10-22 08:04:16 +01:00
Ivan Max fcc61c4da3 pacman: fixes (#7783) 2021-10-22 07:11:07 +01:00
Lucinda May Phipps 93af891777 coreutils: update src-ls.c.patch 2021-10-22 06:35:05 +01:00
Lucinda May Phipps 9f86b9a18b coreutils: update to 9.0 2021-10-22 06:17:51 +01:00
Termux Github Actions 7f9892a1a0 slides: update to 0.6.1
This commit has been automatically submitted by Github Actions.
2021-10-22 01:07:01 +00:00
Termux Github Actions 525baeba1b macchina: update to 3.0.0
This commit has been automatically submitted by Github Actions.
2021-10-22 00:20:50 +00:00
Termux Github Actions 4fdabfaf5e lf: update to 26
This commit has been automatically submitted by Github Actions.
2021-10-22 00:17:16 +00:00
Lucinda May Phipps 7410e36446 apt: update to 2.3.11 2021-10-21 19:12:58 +01:00
Lucy Phipps f33a1df81d libaom: update to 3.2.0 2021-10-21 18:58:08 +01:00
Lucy Phipps b546529efe ant: update to 1.10.12 2021-10-21 16:52:46 +01:00
Lucy Phipps 6368960a8e apt: update to 2.3.10 2021-10-21 16:30:06 +01:00
Lucinda May Phipps 44b039e482 pacman: update to 6.0.1 2021-10-21 13:16:33 +01:00
Ivan Max 2d2556e4e7 new package: pacman (#7759) 2021-10-21 12:33:38 +03:00
Henrik Grimler b62fda06bf mosh: bump again to rebuild against new protobuf version 2021-10-21 08:39:55 +02:00
Henrik Grimler a75de594ba termux_setup_protobuf: update checksum 2021-10-21 08:39:45 +02:00
Henrik Grimler 84c9b8d773 mosh: bump revision to rebuild after protobuf update 2021-10-21 08:31:56 +02:00
Termux Github Actions 757e407841 luv: update to 1.42.0-1
This commit has been automatically submitted by Github Actions.
2021-10-21 06:12:12 +00:00
Lucy Phipps 34676f22bf vim-python: sync patches with vim
all that was missing was src-evalfunc.c.patch
2021-10-21 06:56:07 +01:00
Lucinda May Phipps baa00e1bcb vim-python: disable netbeans support 2021-10-21 06:16:08 +01:00
xtkoba 2381ae2d17 vim: Disable NetBeans integration support 2021-10-21 06:49:12 +02:00
Termux Github Actions fa8cd42e13 libprotobuf: update to 3.19.0
This commit has been automatically submitted by Github Actions.
2021-10-21 00:22:46 +00:00
Master Java f0e993c9a2 Add package: maven (#7766)
new package: maven
2021-10-20 10:55:08 +03:00
Lucinda May Phipps dbcfd68496 file: update to 5.41 2021-10-20 07:39:44 +01:00
Yaksh Bariya b0abc9efd3 libicu: Respect TZ environment variable 2021-10-20 08:15:15 +02:00
Termux Github Actions 6b613041f4 chezmoi: update to 2.7.2
This commit has been automatically submitted by Github Actions.
2021-10-20 00:15:59 +00:00
Termux Github Actions c76753868d flyctl: update to 0.0.248
This commit has been automatically submitted by Github Actions.
2021-10-19 18:13:04 +00:00
Lucinda May Phipps 30bc421954 vim: bump to rebuild 2021-10-19 18:48:16 +01:00
Oskar 5572e3a47b Update build.sh 2021-10-19 20:28:51 +05:30
Oskar f3944f6513 update checksum 2021-10-19 20:28:51 +05:30
Oskar a4d2e76edf Update build.sh 2021-10-19 20:28:51 +05:30
Oskar 231b95ba8e bump vim 2021-10-19 20:28:51 +05:30
Termux Github Actions de5b8df30a libnghttp2: update to 1.46.0
This commit has been automatically submitted by Github Actions.
2021-10-19 12:52:05 +00:00
Termux Github Actions 1eddf03254 erlang: update to 22.3.4.22
This commit has been automatically submitted by Github Actions.
2021-10-19 12:48:56 +00:00
Termux Github Actions bcb20286e6 taskwarrior: update to 2.6.1
This commit has been automatically submitted by Github Actions.
2021-10-19 06:17:54 +00:00
Termux Github Actions 9a72c58006 chezmoi: update to 2.7.1
This commit has been automatically submitted by Github Actions.
2021-10-18 00:15:11 +00:00
Termux Github Actions 8bcc5e8565 macchina: update to 2.0.0
This commit has been automatically submitted by Github Actions.
2021-10-17 18:18:54 +00:00
Termux Github Actions 474deda11e hyperfine: update to 1.12.0
This commit has been automatically submitted by Github Actions.
2021-10-17 18:15:44 +00:00
Termux Github Actions 3f79114c1b mu: update to 1.6.7
This commit has been automatically submitted by Github Actions.
2021-10-17 12:18:55 +00:00
Leonid Pliushch 15c3567ace Merge pull request #7755 from thunder-coding/nodejs-security-2021-10-12
Nodejs: Fix security vulnerabilities
2021-10-17 14:52:39 +03:00
Jeeva K 2d381d79f8 edbrowse: bump revision for quickjs update 2021-10-17 13:26:01 +02:00
Jeeva K a8d07fca39 quickjs: update to 2021-03-27 2021-10-17 13:26:01 +02:00
Yaksh Bariya 51155aa0ee nodejs-lts: update to 14.18.1 2021-10-17 12:09:05 +05:30
Yaksh Bariya b022893165 nodejs: update to 16.11.1 2021-10-17 12:06:35 +05:30
Termux Github Actions 91d61b4faf nlohmann-json: update to 3.10.4
This commit has been automatically submitted by Github Actions.
2021-10-16 18:27:32 +00:00
Termux Github Actions 54db78d51a gping: update to 1.2.6
This commit has been automatically submitted by Github Actions.
2021-10-16 18:17:30 +00:00
Yaksh Bariya 259e403d3b nodejs-lts: Remove x86_64 as blacklisted arch 2021-10-16 23:42:23 +05:30
Further 12cf69e3e9 new package: no-more-secrets (#7748) 2021-10-16 13:01:29 +03:00
Lucy Phipps 6a32b2ba20 remind: use fossies mirror 2021-10-16 06:10:13 +01:00
Lucy Phipps 3797d16e0c DELETEME: remind: test 2021-10-16 05:43:08 +01:00
Lucinda May Phipps 596ab165c0 revert previous commit 2021-10-16 00:15:10 +01:00
Lucinda May Phipps 2e1e830afc remind: fix checksum 2021-10-15 23:56:08 +01:00
Henrik Grimler 63301508cc remind: update to 03.03.09 2021-10-15 22:35:57 +02:00
Termux Github Actions 35dcb9c09b openethereum: update to 3.3.0-rc.10
This commit has been automatically submitted by Github Actions.
2021-10-15 19:54:45 +00:00
Henrik Grimler d95de4783a command-not-found: update to lists from 2021-10-15
Includes re-generated lists where issues with subpackages and renamed
packages have been fixed.
2021-10-15 21:02:08 +02:00
Termux Github Actions 5c9f98cb32 fzf: update to 0.27.3
This commit has been automatically submitted by Github Actions.
2021-10-15 18:13:56 +00:00
Leonid Pliushch df91c54adb dog: fix path to resolv.conf
Issue https://github.com/termux/termux-packages/issues/7745
2021-10-15 19:13:08 +03:00
Lucinda May Phipps 50e851aa8d git: update to 2.33.1 2021-10-15 15:03:38 +01:00
Lucinda May Phipps 0aeb4f83fd gh: correctly set version number 2021-10-15 08:33:51 +01:00
Termux Github Actions 3c3a14a7d4 gh: update to 2.1.0
This commit has been automatically submitted by Github Actions.
2021-10-15 00:18:06 +00:00
Lucinda May Phipps 68d55b6061 imagemagick: rm allow-static-libjxl.patch
fixed upstream :)
2021-10-14 19:27:11 +01:00
Lucinda May Phipps 4c7246785c imagemagick: fix checksum 2021-10-14 19:14:36 +01:00
Lucinda May Phipps fb66e46460 imagemagick: update to 7.1.0.10 2021-10-14 19:03:30 +01:00
Lucinda May Phipps 4d9bbd7c75 angle-grinder: update to 0.18.0, auto-update 2021-10-14 09:57:25 +01:00
Lucinda May Phipps ee3f7ab178 apache2: update to 2.1.51 2021-10-14 09:45:21 +01:00
Lucinda May Phipps c8ee0042f6 libaom: update to 3.1.3 2021-10-14 09:36:12 +01:00
Lucy Phipps 408b1e3916 pngquant: update to 2.16.0 2021-10-14 07:02:38 +01:00
Oskar 9e3d5419ac wget2: update to 2.0.0 (#7730) 2021-10-14 06:23:55 +01:00
Lucinda May Phipps b6af8c5fb6 pathpicker: don't install tests 2021-10-14 05:43:35 +01:00
Termux Github Actions 95cf44c891 helm: update to 3.7.1
This commit has been automatically submitted by Github Actions.
2021-10-14 00:20:18 +00:00
valpogus d037f0ce64 Correct patch 2021-10-13 20:48:04 +02:00
valpogus 8ac32823dc Update libmediainfo to version 21.09
The package mediainfo is already updated to version 21.09
2021-10-13 20:48:04 +02:00
Henrik Grimler 993b20331a libfdk-aac: bump package
2.0.2-2 is missing from repo.
2021-10-13 20:35:32 +02:00
Leonid Pliushch e788f92ced proot-distro: update to 2.6.9
Final bugfix hopefully...
2021-10-13 17:44:13 +03:00
Leonid Pliushch d549bcbb6d proot-distro: update to 2.6.8 2021-10-13 16:45:28 +03:00
Leonid Pliushch 6412fdf846 gnuplot: rebuild after libgd downgrade 2021-10-13 16:15:12 +03:00
Leonid Pliushch 7bf2811f83 graphviz: rebuild after libgd downgrade 2021-10-13 16:14:45 +03:00
Leonid Pliushch 8e523a93a3 texlive-bin: rebuild after libgd downgrade 2021-10-13 16:14:11 +03:00
Leonid Pliushch 3f7ac749c4 proot-distro: fix source checksum 2021-10-13 16:05:30 +03:00
Leonid Pliushch 01cd7c1382 proot-distro: update to 2.6.7 2021-10-13 15:57:56 +03:00
Leonid Pliushch 1fa5df92e4 Merge pull request #7734 from termux/php-fix
php: build with downgraded libgd
2021-10-13 15:48:00 +03:00
Leonid Pliushch 0019d8d5e2 php: rebuild package 2021-10-13 15:47:14 +03:00
Leonid Pliushch c801e674a6 libgd: downgrade to 2.3.2
Package 'php' has issues with newer version.
2021-10-13 15:47:13 +03:00
Termux Github Actions 1138821f02 qalc: update to 3.21.0
This commit has been automatically submitted by Github Actions.
2021-10-13 12:19:05 +00:00
marcusz cc2534812e squashfs-tools-ng: fix ownership (#7732) 2021-10-13 15:03:45 +03:00
Ian Hu 02fb602389 erlang: update tag version regexp (#7733) 2021-10-13 15:02:19 +03:00
Leonid Pliushch 8771aaef5a php: rebuild package
Building separately from others as it was cause of failure.
2021-10-13 14:42:40 +03:00
Leonid Pliushch 483e0e9ed5 rebuild failed packages 2021-10-13 14:42:06 +03:00
Leonid Pliushch 2264bb382c fix unbound variable error introduced in some packages 2021-10-13 14:21:55 +03:00
Leonid Pliushch 9203f851a8 lighttpd: fix syntax error in build.sh 2021-10-13 14:19:08 +03:00
Leonid Pliushch e5789332c2 ipfs: fix checksum 2021-10-13 14:17:48 +03: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 9b4d05f9b7 syncthing: use TERMUX_PREFIX instead of PREFIX 2021-10-13 13:45:14 +03:00
Leonid Pliushch 85b8877516 mpdscribble: expand home & prefix directory path in service script 2021-10-13 13:44:46 +03:00
Leonid Pliushch f439e6f810 privoxy: expand home & prefix directory path in service script 2021-10-13 13:38:59 +03:00
Leonid Pliushch 84245fd172 nginx: expand home & prefix directory path in service script 2021-10-13 13:38:33 +03:00
Leonid Pliushch 2151fe2dd0 php: expand home directory path in service script 2021-10-13 13:22:32 +03:00
Leonid Pliushch 5561c2f6d1 mpd: expand home & prefix directory path in service script 2021-10-13 13:22:00 +03:00
Leonid Pliushch 7b488833be mariadb: expand prefix directory path in service script 2021-10-13 13:21:37 +03:00
Leonid Pliushch 798316f903 lighttpd: expand home & prefix directory path in service script 2021-10-13 13:21:06 +03:00
Leonid Pliushch ebcf556e6e ipfs: expand home directory path in service script 2021-10-13 13:20:30 +03:00
Leonid Pliushch a2d0d0d79b tsocks: use @TERMUX_PREFIX@ in patch 2021-10-13 13:09:18 +03:00
Leonid Pliushch a850806102 proot: termux-chroot: don't depend on external PREFIX 2021-10-13 13:06:10 +03:00
Leonid Pliushch ae5e383451 neomutt: use TERMUX_PREFIX instead of PREFIX 2021-10-13 12:54:08 +03:00
Leonid Pliushch 67b45564e9 mg: install to TERMUX_PREFIX, not PREFIX 2021-10-13 12:52:55 +03:00
Leonid Pliushch b4075c0849 busybox: install to TERMUX_PREFIX, not PREFIX 2021-10-13 12:51:44 +03:00
Leonid Pliushch 62e56db70a debootstrap: do not rely on PREFIX environment variable 2021-10-13 12:50:40 +03:00
Leonid Pliushch a292529fae busybox: expand prefix/home for service scripts 2021-10-13 12:48:35 +03:00
Leonid Pliushch 3ba788c1aa ca-certificates: use TERMUX_PREFIX + fix for openjdk
OpenJDK certs installation is not tested and I'm not sure whether they
are still needed at all.
2021-10-13 12:45:27 +03:00
Leonid Pliushch 45ab232aa4 ant: use TERMUX_PREFIX instead of PREFIX 2021-10-13 12:42:36 +03:00
ifurther 8a16ae9755 add wget for ubuntu 2021-10-13 11:28:36 +02:00
Termux Github Actions 03d03b6282 chezmoi: update to 2.7.0
This commit has been automatically submitted by Github Actions.
2021-10-13 00:14:01 +00:00
Leonid Pliushch 8754db21d6 taskwarrior: update to 2.6.0 2021-10-12 23:05:21 +03:00
Leonid Pliushch c9b76312a2 proot-distro: update to 2.6.6 2021-10-12 19:39:30 +03:00
Termux Github Actions 9935f77802 flyctl: update to 0.0.247
This commit has been automatically submitted by Github Actions.
2021-10-11 18:14:40 +00:00
Further d1fc3a5758 new package: dog (#7725) 2021-10-11 12:22:33 +03:00
Henrik Grimler a5eff02616 wuzz: fix build with our golang version 2021-10-10 18:03:51 +02:00
Leonid Pliushch 79b9322cf3 rebuild: fluidsynth, helix, libdvbcsa, lua-language-server 2021-10-10 18:51:31 +03:00
Leonid Pliushch a6286f6457 rebuild: proot, cfengine, fdkaac, libfdk-aac 2021-10-10 18:50:17 +03:00
Ian Hu b74407193e fix termux_setup_protobuf with new checksum 2021-10-10 17:49:20 +02:00
Ian Hu c7627c027b fix android-tools patch 2021-10-10 17:49:20 +02:00
xtkoba b436afdb27 calc: Set LONG_BITS 2021-10-10 17:48:08 +02:00
Leonid Pliushch 16dd662e10 rebuild: logrotate, microsocks, wget2 2021-10-10 18:47:19 +03:00
Leonid Pliushch 5862e67c46 rebuild: dirb, dnsmap, jo 2021-10-10 18:46:40 +03:00
Leonid Pliushch 9995f944d6 rebuild: bgrep, blackbox, check 2021-10-10 18:45:53 +03:00
Leonid Pliushch d2a63ff071 tvheadend: fix include lookup order
Avoid mixing in-source spawn.h/spawn.c with libandroid-spawn, otherwise
compilation errors may occur.
2021-10-10 18:41:47 +03:00
Henrik Grimler da8eef10c2 proton-bridge: fix build with the golang version we are using 2021-10-10 17:07:02 +02:00
Henrik Grimler 836f5355ff libduktape: make sure $PKG_CONFIG_LIBDIR exists 2021-10-10 17:06:50 +02:00
Henrik Grimler aa4f6f6af7 ncurses: fix build
Some terminfo files are hardlinks.  Move post_massage code that
removes them to termux_step_post_make_install.
2021-10-10 16:42:54 +02:00
Henrik Grimler f0c250e518 ovmf: update to 20210804 2021-10-10 16:42:26 +02:00
Leonid Pliushch 1c13d7fbf8 Merge pull request #7716 from termux/codeowners
Create CODEOWNERS - https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
2021-10-10 16:40:08 +03:00
Leonid Pliushch 5c19bcdf4f fix maintainer fields for some packages
* No organization names in maintainer fields.
* User names should be prefixed with @ if no email specified.
* If email is specified, then username shouldn't have leading "@" -
  otherwise Repology will treat package as it had 2 maintainers.
2021-10-10 16:38:53 +03:00
Leonid Pliushch 09dc5052af proot: assign Michal Bednarski as maintainer 2021-10-10 16:38:50 +03:00
Leonid Pliushch b584b15dda revoke maintainership by Rabby Sheikh
1. No activity.
2. At least one package has inconsistent username specified.
2021-10-10 16:38:48 +03:00
Leonid Pliushch 81b9e4a4d0 initialize CODEOWNERS 2021-10-10 16:38:45 +03:00
Termux Github Actions d9dc536544 lf: update to 25
This commit has been automatically submitted by Github Actions.
2021-10-10 00:19:12 +00:00
Lucinda May Phipps 4525fed9a7 ripgrep: use pcre2 2021-10-10 00:48:03 +01:00
YAKSH BARIYA 154bd59dae nodejs: Bump to 16.11.0 (#7710)
Other changes done:

- Removed `no-android-log.patch` since Node.js uses GYP and not GN to
  build itself. This patch must be having no effect at all
- Added patch to force `V8_TRAP_HANDLER_SUPPORTED` to always false which
  fixes builds for x86_64 which started reproducing even on aarch64
- Removed `x86_64` as blacklisted arch
2021-10-09 22:42:57 +01:00
xtkoba 119c124398 sc: Bump revision 2021-10-09 22:02:50 +02:00
xtkoba 356201e39c sc: Restore -DSYSV3 for CFLAGS 2021-10-09 22:02:50 +02:00
Leonid Pliushch 70ef119cd2 edbrowse: don't override ldflags 2021-10-09 22:56:12 +03:00
Termux Github Actions fc7dd16bb5 psutils: update to 2.07
This commit has been automatically submitted by Github Actions.
2021-10-09 18:16:20 +00:00
Termux Github Actions ed486428de minisign: update to 0.10
This commit has been automatically submitted by Github Actions.
2021-10-09 18:15:42 +00:00
Termux Github Actions 8a471e47ee libical: update to 3.0.11
This commit has been automatically submitted by Github Actions.
2021-10-09 18:15:10 +00:00
Leonid Pliushch 6d51835596 emacs: fix location of bundled config 2021-10-09 20:01:09 +03:00
Lucinda May Phipps 0d87fffe68 libsixel: fix python lib location 2021-10-09 17:08:59 +01:00
Leonid Pliushch 0f90d32bd9 mariadb: store socket in $PREFIX/var/run 2021-10-09 15:38:01 +03:00
Leonid Pliushch 7c7ad0fbc7 update CONTRIBUTING.md 2021-10-09 14:58:59 +03:00
xtkoba 6fb850db3a libxml2: Bump revision 2021-10-09 13:35:38 +02:00
xtkoba e92bf5e297 libxml2: Backport patches to work with lxml 2021-10-09 13:35:38 +02:00
Termux Github Actions e1773f0383 flyctl: update to 0.0.246
This commit has been automatically submitted by Github Actions.
2021-10-09 00:19:11 +00:00
Leonid Pliushch 8eace9a10a emscripten: bump revision 2021-10-09 01:08:32 +03:00
xtkoba e876bf6e81 m4: use '_exit' after printing a usage message (#7701) 2021-10-09 00:41:57 +03:00
Oskar 248712a0d5 ffsend: update to 0.2.74 (#7704) 2021-10-09 00:38:03 +03:00
Oskar 374a950dae golang: update to 1.17.2 (#7706) 2021-10-09 00:37:06 +03:00
Oskar fa1d7dc590 goaccess: update to 1.5.2 (#7707) 2021-10-09 00:36:09 +03:00
Leonid Pliushch debd44b186 bump: samba, shtool, smalltalk, srelay 2021-10-09 00:27:05 +03:00
Leonid Pliushch 0d2dcbab60 restic-server: bump revision 2021-10-09 00:26:10 +03:00
Leonid Pliushch 91e26d5056 restic: bump revision 2021-10-09 00:26:06 +03:00
Leonid Pliushch 57f5baa9fc proot-distro: bump revision 2021-10-09 00:25:49 +03:00
Leonid Pliushch c01a147def nlohmann-json: bump revision 2021-10-09 00:25:21 +03:00
Leonid Pliushch 8bde94f6a3 github actions: don't use --retry-all-errors curl option as unavailable in this version 2021-10-09 00:24:54 +03:00
Leonid Pliushch 653d72b8cf build-package.sh: use cloudflare-backed package host 2021-10-08 23:54:38 +03:00
Leonid Pliushch 886e01bebb nlohmann-json: bump revision 2021-10-08 23:49:46 +03:00
Leonid Pliushch 23ba08388b github actions: get rid of retry loops 2021-10-08 23:48:58 +03:00
Leonid Pliushch 160e810be8 github actions: use cloudflare endpoint in all problematic places
Should finally resolve issues with uploads.
2021-10-08 23:36:57 +03:00
Leonid Pliushch b8b89471f5 github actions: upload delays 30s, retries 3
Do less retries but with higher delay. Previous config didn't work.
2021-10-08 23:24:30 +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
Termux Github Actions 88be9114b1 xmake: update to 2.5.8
This commit has been automatically submitted by Github Actions.
2021-10-08 18:25:21 +00:00
Termux Github Actions e876a6ec1b nlohmann-json: update to 3.10.3
This commit has been automatically submitted by Github Actions.
2021-10-08 18:23:45 +00:00
Leonid Pliushch e9dcfd914b proot-distro: update to 2.6.5 2021-10-08 19:11:42 +03:00
Leonid Pliushch 45713ced7e samba: update to 4.14.8 2021-10-08 19:04:40 +03:00
Leonid Pliushch e6c36ba517 move from unstable: srelay 2021-10-08 18:56:55 +03:00
Leonid Pliushch e1c0b46459 move from unstable: smalltalk 2021-10-08 18:56:39 +03:00
Leonid Pliushch a2fd5963d6 move from unstable: shtool 2021-10-08 18:56:15 +03:00
Leonid Pliushch db7521b773 move from unstable: samba 2021-10-08 18:55:57 +03:00
Leonid Pliushch fef698d399 restic: suggest restic-server 2021-10-08 18:55:27 +03:00
Leonid Pliushch d5a1ea06a9 move from unstable: restic-server 2021-10-08 18:54:32 +03:00
Leonid Pliushch fe835cf62b move from unstable: openldap 2021-10-08 18:53:57 +03:00
Leonid Pliushch 8dd079fcc9 move from unstable: haproxy 2021-10-08 18:53:34 +03:00
Leonid Pliushch 325f7b6061 disabled packages: add vlang - needs update, repl doesn't work 2021-10-08 18:51:03 +03:00
Leonid Pliushch 27bd7f291a rebuild failed packages 2021-10-08 18:00:01 +03:00
Leonid Pliushch 178f4267a6 move from unstable: rapidjson 2021-10-08 17:58:49 +03:00
Leonid Pliushch 4d56409fc8 set maintainer for ccls & cppcheck 2021-10-08 17:56:39 +03:00
Leonid Pliushch 493d933d4e move from unstable: libsixel 2021-10-08 17:53:09 +03:00
Leonid Pliushch 590afb4785 move from unstable: fdroidcl 2021-10-08 17:52:48 +03:00
Leonid Pliushch c40ac6e543 move from unstable: distcc 2021-10-08 17:51:53 +03:00
Leonid Pliushch a777f84966 move from unstable: cppcheck 2021-10-08 17:51:32 +03:00
Leonid Pliushch e65d3aa794 move from unstable: ccls 2021-10-08 17:51:10 +03:00
Leonid Pliushch d091e8c58d disabled packages: add rustc-nightly - needs update 2021-10-08 17:45:45 +03:00
Leonid Pliushch cc2ce794cb disabled packages: add roc - needs pulseaudio private headers for compilation 2021-10-08 17:45:19 +03:00
Leonid Pliushch 74268e0f16 disabled packages: add ghc - needs update and fix for current ndk version 2021-10-08 17:44:38 +03:00
Leonid Pliushch 0277c910bb disabled packages: remove libffi-updated - replaced by libffi 2021-10-08 17:43:55 +03:00
Leonid Pliushch 32e27e992f proot-distro: update to 2.6.4 2021-10-08 17:32:45 +03:00
Leonid Pliushch 891b3c30fb qemu-system-x86-64-headless: bump revision 2021-10-08 14:06:50 +03:00
Leonid Pliushch 93e3254bd3 edbrowse: bump revision 2021-10-08 14:05:47 +03:00
Leonid Pliushch 5272d228e5 github actions: specify own user agent for all curl commands 2021-10-08 14:05:25 +03:00
Leonid Pliushch df3a651aa8 github actions: package upload delays 10s and 10 retry attempts
Also noticed that planned initial delay of 3s hasn't been implemented at
all.
2021-10-08 14:01:17 +03:00
Leonid Pliushch 0327b85e7e edbrowse: move quickjs-static to build-time deps 2021-10-08 13:28:21 +03:00
Jeeva K e705459f57 new package: edbrowse (#7697) 2021-10-08 13:23:17 +03:00
Leap of Azzam bd00954576 qemu: fix "audio: Unknown audio driver `pa'" error (#7655) 2021-10-08 13:05:39 +03:00
Jia Yuan Lo 9b9b7a492a emscripten: various fixes (#7700)
* emscripten: update to 2.0.31 (deps)

* emscripten: move depends to recommends

* emscripten: move directory from lib to opt

* emscripten: patch to fix x86 build error

* emscripten: improve build script
2021-10-08 10:13:20 +01:00
xtkoba 69a7ab0e0c aspell: Configure with --enable-32-bit-hash-fun (#7699) 2021-10-08 10:12:36 +01:00
Lucy Phipps 67267d340c assimp, i2pd, mkvtoolnix, solidity: bump after boost update 2021-10-08 09:20:11 +01:00
Leonid Pliushch 855fcce975 gradle: bump revision 2021-10-08 10:10:38 +03:00
Leonid Pliushch 9f600fc7ba ncmpcpp: bump revision 2021-10-08 00:25:34 +03:00
Leonid Pliushch 938f0e4da6 github actions: don't exit with failure status on publishing
Revert to old behavior: if connection has been dropped, do not exit
with failure status.
2021-10-07 16:43:29 +03:00
Leonid Pliushch 8c7b2298f5 github actions: retry problematic steps up to 5 times 2021-10-07 16:41:21 +03:00
Leonid Pliushch 4ab3a39951 rebuild ed and php-apcu 2021-10-07 15:53:34 +03:00
Leonid Pliushch 49e2fe69cd github actions: fix curl command for publishing step 2021-10-07 15:52:53 +03:00
Leonid Pliushch 826bb01be5 php-apcu: bump revision 2021-10-07 15:36:52 +03:00
Leonid Pliushch c6378a8d38 ed: bump revision 2021-10-07 15:36:30 +03:00
Leonid Pliushch 9fc7764e09 github actions: mask curl exit code 2021-10-07 15:36:30 +03:00
Termux Github Actions bbd8da560b php-apcu: update to 5.1.21
This commit has been automatically submitted by Github Actions.
2021-10-07 12:15:51 +00:00
Leonid Pliushch 65765a34c9 ed: bump revision 2021-10-07 15:08:57 +03:00
Leonid Pliushch c4ac6712bc github actions: manually handle curl exit code 52 2021-10-07 15:08:36 +03:00
Leonid Pliushch 19acaed7cd github actions: add time tracking to upload logs 2021-10-07 15:02:11 +03:00
Leonid Pliushch b6758257f7 ed: bump revision 2021-10-07 14:49:28 +03:00
Leonid Pliushch 150479d560 github actions: retry up to 3 times when connection has been dropped 2021-10-07 14:49:01 +03:00
Leonid Pliushch c8a0cfc528 github actions: fix undefined variable in error message 2021-10-07 13:56:23 +03:00
Lucinda May Phipps fc7b5d6dbe libsqlite-tcl: update to 3.36.0 2021-10-07 05:40:04 +01:00
Oskar 615f111487 bump mediainfo to 21.09 (#7688) 2021-10-06 20:53:02 +01:00
Oskar 000204fe97 memcached: update to 1.6.12 (#7689) 2021-10-06 20:50:36 +01:00
Oskar c570a091a9 openssh: bump to 8.8p1 (#7690) 2021-10-06 20:49:48 +01:00
Lucy Phipps 836e6cdd79 gradle: bump epoch (bad previous version string) 2021-10-06 20:26:44 +01:00
Lucy Phipps 162b07ad19 setup-ubuntu.sh: python: rm 3.7, 3.8, 3.10-full
i.e. use only lightweight 3.9 and 3.10
2021-10-06 20:21:11 +01:00
Oskar c6083d6a6e librsvg: update to 2.52.1 (#7680) 2021-10-06 20:28:41 +03:00
Oskar 7ee007b7e1 links: update to 2.25 (#7681) 2021-10-06 20:28:07 +03:00
Oskar d6c993d06d lnd: update to 0.13.3-beta (#7682) 2021-10-06 20:27:32 +03:00
Oskar 4f578a3f3e mtools: update to 4.0.35 (#7683) 2021-10-06 20:27:02 +03:00
Oskar eac5d94238 nano: update to 5.9 (#7684) 2021-10-06 20:26:17 +03:00
Shadman ea1c9f06cf stylua: update to 0.11.0 (#7685) 2021-10-06 20:25:15 +03:00
Lucinda May Phipps 478136cf86 gradle: bump due to upload issue 2021-10-06 18:23:37 +01:00
Oskar 4015fbccd9 bump gegl to 0.4.32 2021-10-06 17:14:55 +01:00
Oskar 152a202e16 bump dar to 2.7.2 (#7678) 2021-10-06 17:10:10 +01:00
Lucy Phipps 290a3d96df swift: bump as missing from repo 2021-10-06 13:53:25 +01:00
Lucy Phipps f94f65dd6e vim, wren: bump as missing from repo 2021-10-06 13:53:02 +01:00
Lucy Phipps 078a1c987c shfmt, ttyd, tvheadend: bump as missing from repo 2021-10-06 13:52:52 +01:00
Lucy Phipps 5c67cfa9ce gifski, micro, nnn: bump ass missing from repo 2021-10-06 13:50:08 +01:00
Lucy Phipps dd31abeac7 xcb-proto: bump revision 2021-10-06 13:47:42 +01:00
Termux Github Actions ef6e0ba862 macchina: update to 1.1.8
This commit has been automatically submitted by Github Actions.
2021-10-06 12:18:30 +00:00
Lucy Phipps a85c23ef89 clash, ffsend, fftw: bump as missing from repo 2021-10-06 12:26:37 +01:00
Termux Github Actions 61ccc2fad2 fselect: update to 0.7.7
This commit has been automatically submitted by Github Actions.
2021-10-06 06:19:04 +00:00
Oskar 91639376a2 bump yarn to 1.22.15 2021-10-06 03:15:44 +01:00
Lucy Phipps 898e47089c emscripten: update to 2.0.31
(oops)
2021-10-06 02:25:37 +01:00
Lucy Phipps 521076289c vim-python, weechat, xcb-proto, z3: bump 2021-10-06 02:25:37 +01:00
Lucy Phipps f80785d2bf seafile-client, speechd, uftrace: bump 2021-10-06 02:25:37 +01:00
Lucy Phipps 2e856096d8 profanity, ranger, rdiff-backup: bump 2021-10-06 02:25:37 +01:00
Lucy Phipps eeff64fa62 ledger, libsearpc, pathpicker: bump 2021-10-06 02:25:37 +01:00
Lucy Phipps aede997833 gdb, gobject-introspection, iwyu: bump 2021-10-06 02:25:37 +01:00
Lucy Phipps 4b24c98ebc asciidoc, borgbackup, calcurse: bump 2021-10-06 02:25:37 +01:00
Lucy Phipps 0a08a4e9b6 gdbm: bump revision
it isn't in the repo for some reason
2021-10-06 02:25:03 +01:00
Lucy Phipps 7eefaa6c99 python: bump revision 2021-10-06 02:07:02 +01:00
Lucy Phipps ec5751faba boost: update to 1.77.0 2021-10-06 01:24:43 +01:00
Lucy Phipps c887f47726 asciinema: update to 2.1.0 2021-10-06 01:24:43 +01:00
Lucy Phipps 1fb62c1189 python: use system libexpat 2021-10-06 01:24:43 +01:00
Oskar 6a81c29b53 Update python to 3.10.0 2021-10-06 01:24:43 +01:00
Lucy Phipps e644c07401 setup-ubuntu.sh: install pip if using deadsnakes 2021-10-06 01:23:00 +01:00
Termux Github Actions 9ce4c746c4 libprotobuf: update to 3.18.1
This commit has been automatically submitted by Github Actions.
2021-10-06 00:22:30 +00:00
Leonid Pliushch af5401ffce CONTRIBUTING.md: clarification on package updates 2021-10-05 23:53:47 +03:00
Leonid Pliushch bbd02a56a9 libx11: depend on libandroid-shmem 2021-10-05 23:43:28 +03:00
Oskar a432b11478 nginx: update to 1.21.3 (#7670) 2021-10-05 23:38:57 +03:00
Oskar 803b46afcb tor: update to 0.4.6.7 (#7669) 2021-10-05 23:35:57 +03:00
Oskar 90cae0b052 pv: update to 1.6.20 (#7664) 2021-10-05 23:33:08 +03:00
Oskar 89e9219761 micro: update to 2.0.10 (#7663) 2021-10-05 23:32:12 +03:00
Oskar 8dcd4de131 gradle: update to 7.2 (#7662) 2021-10-05 23:31:40 +03:00
Oskar 15b570f918 kotlin: update to 1.5.31 (#7661) 2021-10-05 23:30:20 +03:00
444 changed files with 6136 additions and 1275 deletions
+53 -31
View File
@@ -71,14 +71,14 @@ jobs:
# This file does not belong to a package, so ignore it
continue
fi
if [[ $file =~ ^packages/([a-z0-9-]*)/([a-z0-9-]*).subpackage.sh$ ]]; then
if [[ $file =~ ^packages/([a-z0-9+-]*)/([a-z0-9+-]*).subpackage.sh$ ]]; then
# A subpackage was modified, check if it was deleted or just updated
pkg=${BASH_REMATCH[1]}
subpkg=${BASH_REMATCH[2]}
if [ ! -f "packages/${pkg}/${subpkg}.subpackage.sh" ]; then
echo "$subpkg" >> ./deleted_packages.txt
fi
elif [[ $file =~ ^packages/([a-z0-9-]*)/.*$ ]]; then
elif [[ $file =~ ^packages/([a-z0-9+-]*)/.*$ ]]; then
# package, check if it was deleted or updated
pkg=${BASH_REMATCH[1]}
if [ ! -d "packages/${pkg}" ]; then
@@ -163,12 +163,15 @@ jobs:
# Function for deleting temporary directory with uploaded files from
# the server.
aptly_delete_dir() {
echo "[*] Deleting uploads temporary directory."
echo "[$(date +%H:%M:%S)] Deleting uploads temporary directory..."
curl_response=$(
curl \
--silent \
--retry 2 \
--retry-delay 3 \
--user "${{ secrets.APTLY_API_AUTH }}" \
--user-agent "Termux-Packages/1.0 (https://github.com/termux/termux-packages)" \
--request DELETE \
--write-out "|%{http_code}" \
https://packages.termux.org/aptly-api/files/${REPOSITORY_NAME}-${{ github.sha }}
@@ -177,7 +180,7 @@ jobs:
http_status_code=$(echo "$curl_response" | cut -d'|' -f2)
if [ "$http_status_code" != "200" ]; then
echo "[!] Server returned $http_status_code code while deleting temporary directory."
echo "[$(date +%H:%M:%S)] Warning: server returned $http_status_code code while deleting temporary directory."
fi
}
@@ -188,22 +191,30 @@ jobs:
curl_response=$(
curl \
--silent \
--retry 2 \
--retry-delay 3 \
--user "${{ secrets.APTLY_API_AUTH }}" \
--user-agent "Termux-Packages/1.0 (https://github.com/termux/termux-packages)" \
--request POST \
--form file=@${filename} \
--write-out "|%{http_code}" \
https://packages.termux.org/aptly-api/files/${REPOSITORY_NAME}-${{ github.sha }}
https://packages.termux.org/aptly-api/files/${REPOSITORY_NAME}-${{ github.sha }} || true
)
http_status_code=$(echo "$curl_response" | cut -d'|' -f2)
if [ "$http_status_code" = "200" ]; then
echo "[*] Uploaded: $(echo "$curl_response" | cut -d'|' -f1 | jq -r '.[]' | cut -d'/' -f2)"
echo "[$(date +%H:%M:%S)] Uploaded: $(echo "$curl_response" | cut -d'|' -f1 | jq -r '.[]' | cut -d'/' -f2)"
elif [ "$http_status_code" = "000" ]; then
echo "[$(date +%H:%M:%S)]: Failed to upload '$filename'. Server/proxy dropped connection during upload."
echo "[$(date +%H:%M:%S)]: Aborting any further uploads."
aptly_delete_dir
exit 1
else
# Manually cleaning up the temporary directory to reclaim disk space.
# Don't rely on scheduled server-side scripts.
echo "[!] Failed to upload '$filename'. Server returned $http_status_code code."
echo "[!] Aborting any further uploads."
echo "[$(date +%H:%M:%S)] Error: failed to upload '$filename'. Server returned $http_status_code code."
echo "[$(date +%H:%M:%S)] Aborting any further uploads."
aptly_delete_dir
exit 1
fi
@@ -214,51 +225,62 @@ jobs:
# Publishing repository changes.
if [ "$uploaded_files" = "true" ]; then
echo "[*] Adding packages to repository '$REPOSITORY_NAME'..."
echo "[$(date +%H:%M:%S)] Adding packages to repository '$REPOSITORY_NAME'..."
http_status_code=""
curl_response=$(
curl \
--silent \
--retry 2 \
--retry-delay 3 \
--user "${{ secrets.APTLY_API_AUTH }}" \
--user-agent "Termux-Packages/1.0 (https://github.com/termux/termux-packages)" \
--request POST \
--write-out "|%{http_code}" \
https://packages.termux.org/aptly-api/repos/${REPOSITORY_NAME}/file/${REPOSITORY_NAME}-${{ github.sha }} || true
https://packages-cf.termux.org/aptly-api/repos/${REPOSITORY_NAME}/file/${REPOSITORY_NAME}-${{ github.sha }} || true
)
http_status_code=$(echo "$curl_response" | cut -d'|' -f2)
if [ "$http_status_code" = "200" ]; then
warnings=$(echo "$curl_response" | cut -d'|' -f1 | jq '.Report.Warnings' | jq -r '.[]')
if [ -n "$warnings" ]; then
echo "[!] WARNINGS (NON-CRITICAL):"
echo "[$(date +%H:%M:%S)] APTLY WARNINGS (NON-CRITICAL):"
echo
echo "$warnings"
echo
fi
else
echo "[$(date +%H:%M:%S)] Error: got http_status_code == '$http_status_code', packages may not appear in repository."
fi
# Usually temporary directory is deleted automatically, but in certain cases it is left.
aptly_delete_dir
# Final part to make changes appear in web root.
echo "[*] Publishing repository changes..."
set +e
curl \
--silent \
--user "${{ secrets.APTLY_API_AUTH }}" \
--header 'Content-Type: application/json' \
--request PUT \
--data '{"Signing": {"Passphrase": "${{ secrets.GPG_PASSPHRASE }}"}}' \
https://packages.termux.org/aptly-api/publish/${REPOSITORY_NAME}/${REPOSITORY_DISTRIBUTION}
exit_code=$?
echo
echo "[$(date +%H:%M:%S)] Publishing repository changes..."
http_status_code=""
curl_response=$(
curl \
--silent \
--retry 2 \
--retry-delay 3 \
--user "${{ secrets.APTLY_API_AUTH }}" \
--user-agent "Termux-Packages/1.0 (https://github.com/termux/termux-packages)" \
--header 'Content-Type: application/json' \
--request PUT \
--data '{"Signing": {"Passphrase": "${{ secrets.GPG_PASSPHRASE }}"}}' \
--write-out '|%{http_code}' \
https://packages-cf.termux.org/aptly-api/publish/${REPOSITORY_NAME}/${REPOSITORY_DISTRIBUTION} || true
)
http_status_code=$(echo "$curl_response" | cut -d'|' -f2)
if [ "$exit_code" = 0 ]; then
echo "[*] Repository updated successfully."
elif [ "$exit_code" = 52 ]; then
echo "[!] Repository update takes more time than expected, server returned empty response."
echo "[!] This is expected if large amount of data has been submitted."
if [ "$http_status_code" = "200" ]; then
echo "[$(date +%H:%M:%S)] Repository has been updated successfully."
elif [ "$http_status_code" = "000" ]; then
echo "[$(date +%H:%M:%S)] Error: server/proxy has dropped connection."
# Ignore - nothing can be done with that unless we change proxy.
#exit 1
else
echo "[!] curl exited with error code $exit_status."
exit "$exit_code"
echo "[$(date +%H:%M:%S)] Error: got http_status_code == '$http_status_code'"
exit 1
fi
fi
+196
View File
@@ -0,0 +1,196 @@
# Default assignment: frequent contributors from @termux.
* @buttaface @Grimler91 @landfillbaby @xeffyr
# GitHub Actions.
/.github/workflows/ @xeffyr
# Build system.
/build-all.sh @Grimler91 @xeffyr
/build-package.sh @Grimler91 @xeffyr
/clean.sh @Grimler91 @xeffyr
/scripts/ @Grimler91 @xeffyr
# Repository utilities.
/scripts/bin/ @xeffyr
# Packages owned by @buttaface
/packages/kak-lsp/ @buttaface
/packages/libdispatch/ @buttaface
/packages/libllvm/ @buttaface
/packages/llbuild/ @buttaface
/packages/swift/ @buttaface
# Packages owned by @DLC01
/packages/exhale/ @DLC01
/packages/fdkaac/ @DLC01
/packages/libfdk-aac/ @DLC01
# Packages owned by @Grimler91
/packages/chezmoi/ @Grimler91
/packages/docopt/ @Grimler91
/packages/game-repo/ @Grimler91
/packages/libprotobuf-c/ @Grimler91
/packages/libqrencode/ @Grimler91
/packages/mpdscribble/ @Grimler91
/packages/pass-otp/ @Grimler91
/packages/root-repo/ @Grimler91
/packages/runit/ @Grimler91
/packages/science-repo/ @Grimler91
/packages/smalltalk/ @Grimler91
/packages/teckit/ @Grimler91
/packages/termux-services/ @Grimler91
/packages/texlive-bin/ @Grimler91
# Packages owned by @ian4hu
/packages/php-apcu/ @ian4hu
/packages/php-imagick/ @ian4hu
/packages/php-psr/ @ian4hu
/packages/php-zephir-parser/ @ian4hu
/packages/re2c/ @ian4hu
# Packages owned by @kcubeterm
/packages/brook/ @kcubeterm
/packages/delve/ @kcubeterm
/packages/duf/ @kcubeterm
/packages/fzy/ @kcubeterm
/packages/gh/ @kcubeterm
/packages/gping/ @kcubeterm
/packages/hors/ @kcubeterm
/packages/k9s/ @kcubeterm
/packages/lazygit/ @kcubeterm
/packages/libtorrent/ @kcubeterm
/packages/lsd/ @kcubeterm
/packages/pup/ @kcubeterm
/packages/ripgrep-all/ @kcubeterm
/packages/rush/ @kcubeterm
/packages/rustscan/ @kcubeterm
/packages/shc/ @kcubeterm
/packages/shell2http/ @kcubeterm
/packages/shiori/ @kcubeterm
/packages/youtubedr/ @kcubeterm
# Packages owned by @librehat
/packages/flatbuffers/ @librehat
/packages/mimetic/ @librehat
# Packages owned by @msoose
/packages/dns2tcp/ @msoose
/packages/proxmark3/ @msoose
/packages/proxmark3-git/ @msoose
/packages/recode/ @msoose
# Packages owned by @michalbednarski
/packages/proot/ @michalbednarski
/packages/termux-am/ @michalbednarski
# Packages owned by @MrAdityaAlok
/packages/helix/ @MrAdityaAlok
/packages/libdvbcsa/ @MrAdityaAlok
/packages/lua-language-server/ @MrAdityaAlok
/packages/tvheadend/ @MrAdityaAlok
# Packages owned by @Neo-Oli
/packages/cava/ @Neo-Oli
/packages/colordiff/ @Neo-Oli
/packages/ed/ @Neo-Oli
/packages/libmesode/ @Neo-Oli
/packages/libotr/ @Neo-Oli
/packages/libsignal-protocol-c/ @Neo-Oli
/packages/nyancat/ @Neo-Oli
/packages/par2/ @Neo-Oli
/packages/profanity/ @Neo-Oli
/packages/tsocks/ @Neo-Oli
/packages/tty-clock/ @Neo-Oli
# Packages owned by @suhan-paradkar
/packages/libsecret/ @suhan-paradkar
/packages/mailutils/ @suhan-paradkar
# Packages owned by @thunder-coding
/packages/flyctl/ @thunder-coding
/packages/git-sizer/ @thunder-coding
/packages/gn/ @thunder-coding
/packages/lychee/ @thunder-coding
/packages/nodejs/ @thunder-coding
/packages/nodejs-lts/ @thunder-coding
/packages/silicon/ @thunder-coding
/packages/slides/ @thunder-coding
# Packages owned by @xeffyr
/packages/at/ @xeffyr
/packages/beanshell/ @xeffyr
/packages/btfs/ @xeffyr
/packages/build-essential/ @xeffyr
/packages/clamav/ @xeffyr
/packages/codecrypt/ @xeffyr
/packages/cryptopp/ @xeffyr
/packages/dbus/ @xeffyr
/packages/distcc/ @xeffyr
/packages/e2fsprogs/ @xeffyr
/packages/exiftool/ @xeffyr
/packages/fakeroot/ @xeffyr
/packages/fdroidcl/ @xeffyr
/packages/geoip2-database/ @xeffyr
/packages/geth/ @xeffyr
/packages/gitea/ @xeffyr
/packages/go-findimagedupes/ @xeffyr
/packages/gopass/ @xeffyr
/packages/haproxy/ @xeffyr
/packages/ipfs/ @xeffyr
/packages/kubectl/ @xeffyr
/packages/libice/ @xeffyr
/packages/libmcrypt/ @xeffyr
/packages/libmhash/ @xeffyr
/packages/libseccomp/ @xeffyr
/packages/libsixel/ @xeffyr
/packages/libsm/ @xeffyr
/packages/libx11/ @xeffyr
/packages/libxau/ @xeffyr
/packages/libxcb/ @xeffyr
/packages/libxcursor/ @xeffyr
/packages/libxdmcp/ @xeffyr
/packages/libxext/ @xeffyr
/packages/libxfixes/ @xeffyr
/packages/libxft/ @xeffyr
/packages/libxi/ @xeffyr
/packages/libxrandr/ @xeffyr
/packages/libxrender/ @xeffyr
/packages/libxss/ @xeffyr
/packages/libxtst/ @xeffyr
/packages/libxt/ @xeffyr
/packages/lua-lpeg/ @xeffyr
/packages/openldap/ @xeffyr
/packages/proot-distro/ @xeffyr
/packages/qemu-system-x86-64-headless/ @xeffyr
/packages/restic-server/ @xeffyr
/packages/seccure/ @xeffyr
/packages/shtool/ @xeffyr
/packages/srelay/ @xeffyr
/packages/ssss/ @xeffyr
/packages/steghide/ @xeffyr
/packages/termux-auth/ @xeffyr
/packages/tk/ @xeffyr
/packages/ttf-dejavu/ @xeffyr
/packages/unstable-repo/ @xeffyr
/packages/virustotal-cli/ @xeffyr
/packages/vis/ @xeffyr
/packages/x11-repo/ @xeffyr
/packages/xcb-proto/ @xeffyr
/packages/xorgproto/ @xeffyr
/packages/xorg-util-macros/ @xeffyr
/packages/xtrans/ @xeffyr
# Packages owned by @Yonle
/packages/chafa/ @Yonle
/packages/fluidsynth/ @Yonle
# Misc
/packages/blogc/ @rafaelmartins
/packages/cfengine/ @craigcomstock
/packages/composer/ @PuneetGopinath
/packages/emscripten/ @truboxl
/packages/germanium/ @ravener
/packages/gotop/ @medzikuser
/packages/rust/ @kcotugno
/packages/squashfs-tools-ng/ @WMCB-Tech
/packages/xmake/ @waruqi
+19 -3
View File
@@ -16,6 +16,10 @@ Developer's wiki is available at https://github.com/termux/termux-packages/wiki.
statements like "solve it quickly", "urgently need solution" and so on. Be
patient.
Avoid digging and commenting in old, already closed issues. Read them carefully
\- likely they already give solution. If it didn't worked, only then open a new
one. Note that we will lock down issues that are really outdated.
You may report only issues happening within our official packages. Do not
submit issues happening in third-party software - we will ignore them.
@@ -208,9 +212,21 @@ More about `build.sh` variables you can read on [developer's wiki](https://githu
You can check which packages are out-of-date by visiting Termux page on
[Repology](https://repology.org/projects/?inrepo=termux&outdated=1).
Most of packages can be updated by just modifying variables `TERMUX_PKG_VERSION`
and `TERMUX_PKG_SHA256`, which represent the package version and checksum for
source code archive respectively.
### General package update procedure
Usually to update packages you need to just modify few variables and commit
the changes.
1. Assign the new version value to `TERMUX_PKG_VERSION`. Be careful to not
remove the epoch (numbered prefix, e.g `1:`, `2:`) accidentally.
2. If there is `TERMUX_PKG_REVISION` variable set, remove it. Revision
should be set only for subsequent package builds within the same version.
3. Download the source code archive and compute SHA-256 checksum:
```
cd ./packages/${YOUR_PACKAGE}
(source build.sh 2>/dev/null; curl -LO "$TERMUX_PKG_SRCURL")
```
4. Assign the new checksum value to `TERMUX_PKG_SHA256`.
### Dealing with patch errors
+1 -1
View File
@@ -405,7 +405,7 @@ for ((i=0; i<${#PACKAGE_LIST[@]}; i++)); do
env TERMUX_ARCH="$arch" TERMUX_BUILD_IGNORE_LOCK=true ./build-package.sh \
${TERMUX_FORCE_BUILD+-f} ${TERMUX_INSTALL_DEPS+-i} ${TERMUX_IS_DISABLED+-D} \
${TERMUX_DEBUG_BUILD+-d} ${TERMUX_OUTPUT_DIR+-o $TERMUX_OUTPUT_DIR} \
--format ${TERMUX_PACKAGE_FORMAT} "${PACKAGE_LIST[i]}"
--format ${TERMUX_PACKAGE_FORMAT:=debian} "${PACKAGE_LIST[i]}"
done
exit
fi
@@ -0,0 +1,17 @@
--- ghc-8.10.1/compiler/main/DynFlags.hs.orig 2020-06-13 08:56:50.595808526 +0100
+++ ghc-8.10.1/compiler/main/DynFlags.hs 2020-06-13 08:57:24.770000253 +0100
@@ -4624,6 +4624,14 @@
default_PIC platform =
case (platformOS platform, platformArch platform) of
(OSDarwin, ArchX86_64) -> [Opt_PIC]
+ (OSLinux, ArchARM{}) -> [Opt_PIC]
+ (OSLinux, ArchARM64) -> [Opt_PIC]
+ (OSLinux, ArchX86) -> [Opt_PIC]
+ (OSLinux, ArchX86_64) -> [Opt_PIC]
+ (OSUnknown, ArchARM{}) -> [Opt_PIC]
+ (OSUnknown, ArchARM64) -> [Opt_PIC]
+ (OSUnknown, ArchX86) -> [Opt_PIC]
+ (OSUnknown, ArchX86_64) -> [Opt_PIC]
(OSOpenBSD, ArchX86_64) -> [Opt_PIC] -- Due to PIE support in
-- OpenBSD since 5.3 release
-- (1 May 2013) we need to
+30
View File
@@ -0,0 +1,30 @@
diff --git a/compiler/main/SysTools.hs b/compiler/main/SysTools.hs
index b3312b0..b0e3d90 100644
--- a/compiler/main/SysTools.hs
+++ b/compiler/main/SysTools.hs
@@ -414,11 +414,7 @@ linkDynLib dflags0 o_files dep_packages
-- math-y things are used (which we assume to include all programs). See #14022.
libmLinkOpts :: [Option]
libmLinkOpts =
-#if defined(HAVE_LIBM)
[Option "-lm"]
-#else
- []
-#endif
getPkgFrameworkOpts :: DynFlags -> Platform -> [InstalledUnitId] -> IO [String]
getPkgFrameworkOpts dflags platform dep_packages
diff --git a/rts/package.conf.in b/rts/package.conf.in
index e4cb159..7a234cd 100644
--- a/rts/package.conf.in
+++ b/rts/package.conf.in
@@ -26,9 +26,7 @@ library-dirs: TOP"/rts/dist/build" FFI_LIB_DIR LIBDW_LIB_DIR
hs-libraries: "HSrts" FFI_LIB
extra-libraries:
-#if defined(HAVE_LIBM)
"m" /* for ldexp() */
-#endif
#if defined(HAVE_LIBRT)
, "rt"
#endif
+154
View File
@@ -0,0 +1,154 @@
# Build failure with recent NDK.
TERMUX_PKG_HOMEPAGE=https://www.haskell.org/ghc/
TERMUX_PKG_DESCRIPTION="The Glasgow Haskell Compilation system"
TERMUX_PKG_LICENSE="BSD 2-Clause, BSD 3-Clause, LGPL-2.1"
TERMUX_PKG_VERSION=8.10.1
TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL=http://downloads.haskell.org/~ghc/${TERMUX_PKG_VERSION}/ghc-${TERMUX_PKG_VERSION}-src.tar.xz
TERMUX_PKG_SHA256=4e3b07f83a266b3198310f19f71e371ebce97c769b14f0d688f4cbf2a2a1edf5
TERMUX_PKG_DEPENDS="binutils, clang, iconv, libffi, llvm, ncurses"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_NO_STATICSPLIT=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --disable-ld-override --build=x86_64-unknown-linux --host=x86_64-unknown-linux"
TERMUX_PKG_BLACKLISTED_ARCHES="arm"
DYNAMIC_GHC_PROGRAMS=NO
termux_step_pre_configure() {
termux_setup_ghc
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --target=${TERMUX_HOST_PLATFORM}"
# After stage 0, cabal passes a host string to the libraries' configure scripts that isn't valid.
# We set one ourselves anyway, so this simply isn't needed.
sed -i 's/maybeHostFlag = i/maybeHostFlag = [] -- i/' libraries/Cabal/Cabal/Distribution/Simple.hs
# Android will only run PIE executables, so --no-pie, like GHC suggests, is out. GHC relies on relocations.
# Combine PIE and -Wl,-r together, and the linker will tell you those flags are mutually exclusive.
# This poses a problem as we need both. If you let the compiler handle it, then apparently all's well.
sed -i 's/"-Wl,-r"/"-r"/' compiler/main/DriverPipeline.hs
cp mk/build.mk.sample mk/build.mk
cat >> mk/build.mk <<-EOF
SRC_HC_OPTS += -optc-Wno-unused-label -optc-Wno-unused-but-set-variable
SRC_HC_OPTS += -optc-Wno-unused-variable -optc-Wno-unused-function
SRC_HC_OPTS += -optc-Wno-unused-command-line-argument -optc-Wno-unknown-warning-option
GhcStage2HcOpts += -optl-Wl,--enable-new-dtags
INTEGER_LIBRARY = integer-simple
SplitSections = YES
BuildFlavour = quick-cross
HADDOCK_DOCS = NO
BUILD_SPHINX_HTML = NO
BUILD_SPHINX_PS = NO
BUILD_SPHINX_PDF = NO
DYNAMIC_GHC_PROGRAMS = $DYNAMIC_GHC_PROGRAMS
GhcLibWays = v
BUILD_MAN = NO
#STRIP_CMD = $STRIP
EOF
# If choosing to build a GHC dynamically linked to its libs, then
# $TERMUX_PREFIX/lib automatically gets added to the rpath that's generated
if [ "$DYNAMIC_GHC_PROGRAMS" != "YES" ]; then
echo "GhcStage2HcOpts += -optl-Wl,-rpath=$TERMUX_PREFIX/lib" >> mk/build.mk
fi
# So... this is fun. If these options are initially passed to the configure script,
# then building stage 0 breaks, because it's meant to run on the host with the
# host's libs. But of course, we need to link to Termux's libffi etc. and use the
# cross-compiler when building something to run on Android in the later stages
patch -Np1 <<EOF
--- a/rules/build-package-data.mk.orig 2020-06-09 23:44:52.013029077 +0000
+++ b/rules/build-package-data.mk 2020-06-09 23:45:10.589149807 +0000
@@ -108,6 +108,15 @@
\$1_\$2_CONFIGURE_OPTS += --configure-option=--host=\$(TargetPlatformFull)
endif
+ifneq "\$3" "0"
+\$1_\$2_CONFIGURE_OPTS += --configure-option=--host=$TERMUX_HOST_PLATFORM --configure-option=CXX=$CXX --configure-option=LD=$LD --configure-option=AR=$AR
+\$1_\$2_CONFIGURE_OPTS += --configure-option=AS=$AS --configure-option=CC=$CC --configure-option=RANLIB=$RANLIB --configure-option=READELF=$READELF
+\$1_\$2_CONFIGURE_OPTS += --configure-option=OBJCOPY=$OBJCOPY --configure-option=OBJDUMP=$OBJDUMP --configure-option=--with-system-libffi
+\$1_\$2_CONFIGURE_OPTS += --configure-option=--with-ffi-includes=$TERMUX_PREFIX/include --configure-option=--with-ffi-libraries=$TERMUX_PREFIX/lib
+\$1_\$2_CONFIGURE_OPTS += --configure-option=--with-iconv-includes=$TERMUX_PREFIX/include --configure-option=--with-iconv-libraries=$TERMUX_PREFIX/lib
+\$1_\$2_CONFIGURE_OPTS += --configure-option=--with-curses-includes=$TERMUX_PREFIX/include/ncursesw --configure-option=--with-curses-libraries=$TERMUX_PREFIX/lib
+endif
+
ifeq "\$3" "0"
\$1_\$2_CONFIGURE_OPTS += \$\$(BOOT_PKG_CONSTRAINTS)
endif
EOF
unset AR
unset AS
unset CC
export CFLAGS=""
unset CPP
export CPPFLAGS=""
unset CXXFLAGS
unset CXX
export LDFLAGS=""
unset LD
unset PKG_CONFIG
unset RANLIB
unset READELF
unset OBJCOPY
unset OBJDUMP
autoreconf
}
termux_step_post_make_install() {
# We may build GHC with `llc-9` etc., but only `llc` is present in Termux
sed -i 's/"LLVM llc command", "llc.*"/"LLVM llc command", "llc"/' "$TERMUX_PREFIX/lib/ghc-$TERMUX_PKG_VERSION/settings"
sed -i 's/"LLVM opt command", "opt.*"/"LLVM opt command", "opt"/' "$TERMUX_PREFIX/lib/ghc-$TERMUX_PKG_VERSION/settings"
if [ "$DYNAMIC_GHC_PROGRAMS" = "YES" ]; then
# Hack to turn the binaries' rpath from something relative to the build environment
# into something that matches Termux's FHS. patchelf needs to be installed on the host.
while IFS= read -r -d '' bin; do
local curr_rpath="$(patchelf --print-rpath "$bin" 2>/dev/null)"
if [ -n "$curr_rpath" ]; then
local paths_to_prepend=()
local new_rpath=()
IFS=':' read -ra paths <<< "$curr_rpath"
for i in "${!paths[@]}"; do
# Prioritise non-Haskell library paths
if [[ ${paths[$i]} != *ghc-$TERMUX_PKG_VERSION* ]]; then
paths_to_prepend+=("${paths[$i]}")
continue
fi
local fixed_path="${paths[$i]/\/dist-install\/build}"
if [ "$fixed_path" != "${paths[$i]}" ]; then
# Naïvely correct the path to a Haskell library
fixed_path="${fixed_path##*/}"
fixed_path=$(echo "$TERMUX_PREFIX/lib/ghc-$TERMUX_PKG_VERSION/$fixed_path-"[[:digit:]]*)
new_rpath+=("$fixed_path")
else
# This may be the path to RTS, which does not have a version number in the folder name
# and nor is it apparently expected to be found in dist-install
fixed_path="${paths[$i]/\/dist\/build}"
if [ "$fixed_path" != "${paths[$i]}" ]; then
new_rpath+=("$TERMUX_PREFIX/lib/ghc-$TERMUX_PKG_VERSION/${fixed_path##*/}")
else
new_rpath+=("$fixed_path")
fi
fi
done
# Make sure the standard Termux library path is the first entry
[[ ! " ${paths_to_prepend[@]} " =~ " $TERMUX_PREFIX/lib " ]] && paths_to_prepend=("$TERMUX_PREFIX/lib" "${paths_to_prepend[@]}")
# This isn't in the original rpath at all, but is needed
paths_to_prepend+=("$TERMUX_PREFIX/lib/ghc-$TERMUX_PKG_VERSION/ghc-$TERMUX_PKG_VERSION")
local OIFS="$IFS"
local IFS=':'
printf -v new_rpath "%s:%s" "${paths_to_prepend[*]}" "${new_rpath[*]}"
IFS="$OIFS"
patchelf --set-rpath "$new_rpath" "$bin"
fi
done < <(find "$TERMUX_PREFIX/lib/ghc-$TERMUX_PKG_VERSION/bin/" -type f -print0)
fi
}
termux_step_install_license() {
install -Dm600 -t "$TERMUX_PREFIX/share/doc/ghc" "$TERMUX_PKG_SRCDIR/LICENSE"
}
@@ -0,0 +1,24 @@
--- ghc-8.10.1/rts/Trace.c 2020-03-24 04:53:17.000000000 +0000
+++ ghc-8.10.1.new/rts/Trace.c 2020-06-12 13:33:14.775373605 +0100
@@ -12,6 +12,10 @@
// internal headers
#include "Trace.h"
+int TRACE_sched;
+int TRACE_gc;
+int TRACE_spark_sampled;
+
#if defined(TRACING)
#include "GetTime.h"
@@ -28,10 +32,7 @@
#endif
// events
-int TRACE_sched;
-int TRACE_gc;
int TRACE_nonmoving_gc;
-int TRACE_spark_sampled;
int TRACE_spark_full;
int TRACE_user;
int TRACE_cap;
@@ -0,0 +1,28 @@
Description: Use the stage1 binaries for install
In order to be able to perform a cross-build, we need to use
the stage1 binaries during installation. Both ghc and ghc-pkg
are run during the install target and therefore must be able
to run on the build machine.
.
Author: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Last-Update: 2017-01-29
Index: ghc-8.8.1+dfsg1/ghc.mk
===================================================================
--- ghc-8.8.1+dfsg1.orig/ghc.mk
+++ ghc-8.8.1+dfsg1/ghc.mk
@@ -963,8 +963,12 @@
# Install packages in the right order, so that ghc-pkg doesn't complain.
# Also, install ghc-pkg first.
ifeq "$(Windows_Host)" "NO"
-INSTALLED_GHC_REAL=$(DESTDIR)$(ghclibexecdir)/bin/ghc
-INSTALLED_GHC_PKG_REAL=$(DESTDIR)$(ghclibexecdir)/bin/ghc-pkg
+# Use the inplace/stage1 versions for installation,
+# since the installed versions are built for the target
+#INSTALLED_GHC_REAL=$(DESTDIR)$(ghclibexecdir)/bin/ghc
+#INSTALLED_GHC_PKG_REAL=$(DESTDIR)$(ghclibexecdir)/bin/ghc-pkg
+INSTALLED_GHC_REAL=$(CURDIR)/inplace/bin/ghc-stage1
+INSTALLED_GHC_PKG_REAL=$(CURDIR)/utils/ghc-pkg/dist/build/tmp/ghc-pkg
else
INSTALLED_GHC_REAL=$(DESTDIR)$(bindir)/ghc.exe
INSTALLED_GHC_PKG_REAL=$(DESTDIR)$(bindir)/ghc-pkg.exe
-14
View File
@@ -1,14 +0,0 @@
TERMUX_PKG_HOMEPAGE=https://sourceware.org/libffi/
TERMUX_PKG_DESCRIPTION="Library providing a portable, high level programming interface to various calling conventions"
local _COMMIT=716bfd83177689e2244c4707bd513003cff92c68
local _DATE=20171105
TERMUX_PKG_VERSION=3.2.1.$_DATE
TERMUX_PKG_SHA256=454577ab2d046dbdf5697f71598247fb8d8bf2d378817d5d5b8bc5dceaf822ac
TERMUX_PKG_SRCURL=https://github.com/libffi/libffi/archive/${_COMMIT}.zip
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-multi-os-directory --enable-symvers=no"
TERMUX_PKG_RM_AFTER_INSTALL="lib/libffi-${TERMUX_PKG_VERSION}/include"
termux_step_pre_configure() {
cd $TERMUX_PKG_SRCDIR
./autogen.sh
}
+1 -1
View File
@@ -115,4 +115,4 @@ float complex ctanhf(float complex);
#pragma GCC visibility pop
__END_DECLS
#endif /* _COMPLEX_H */
#endif /* _COMPLEX_H */
+1 -1
View File
@@ -761,4 +761,4 @@ long double __kernel_sinl(long double, long double, int);
long double __kernel_cosl(long double, long double);
long double __kernel_tanl(long double, long double, int);
#endif /* !_MATH_PRIVATE_H_ */
#endif /* !_MATH_PRIVATE_H_ */
+38
View File
@@ -0,0 +1,38 @@
## * Requires pulseaudio build and source directory.
## * Uses scons build system which is not good at cross-compiling.
TERMUX_PKG_HOMEPAGE=https://roc-project.github.io
TERMUX_PKG_DESCRIPTION="Roc real-time streaming over the network"
TERMUX_PKG_LICENSE="LGPL-2.0, MPL-2.0"
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
TERMUX_PKG_VERSION=0.1.1
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://github.com/roc-project/roc/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=2aa63061b586a5f16cfcb0bfe304015a6effdcb373513cb62e76283bde7dd104
TERMUX_PKG_DEPENDS="libltdl, libopenfec, libuv, pulseaudio"
TERMUX_PKG_BREAKS="roc-dev"
TERMUX_PKG_REPLACES="roc-dev"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
SCONS_CONFIGURE_ARGS=""
SCONS_CONFIGURE_ARGS+=" --prefix=$TERMUX_PREFIX"
SCONS_CONFIGURE_ARGS+=" --host=$TERMUX_HOST_PLATFORM"
SCONS_CONFIGURE_ARGS+=" --compiler=clang"
SCONS_CONFIGURE_ARGS+=" --disable-tools"
SCONS_CONFIGURE_ARGS+=" --disable-tests"
SCONS_CONFIGURE_ARGS+=" --disable-examples"
SCONS_CONFIGURE_ARGS+=" --disable-doc"
SCONS_CONFIGURE_ARGS+=" --disable-sox"
#SCONS_CONFIGURE_ARGS+=" --disable-openfec"
SCONS_CONFIGURE_ARGS+=" --enable-pulseaudio-modules"
SCONS_CONFIGURE_ARGS+=" --with-openfec-includes=$TERMUX_PREFIX/include/openfec"
SCONS_CONFIGURE_ARGS+=" --with-pulseaudio=$TERMUX_TOPDIR/pulseaudio/src"
SCONS_CONFIGURE_ARGS+=" --with-pulseaudio-build-dir=$TERMUX_TOPDIR/pulseaudio/build"
scons $SCONS_CONFIGURE_ARGS
}
termux_step_make_install() {
scons $SCONS_CONFIGURE_ARGS install
}
+111
View File
@@ -0,0 +1,111 @@
TERMUX_PKG_HOMEPAGE=https://www.rust-lang.org
TERMUX_PKG_DESCRIPTION="Rust compiler and utilities (nightly version)"
TERMUX_PKG_DEPENDS="libc++, clang, openssl, lld, zlib, libllvm"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@its-pointless"
TERMUX_PKG_VERSION=1.52.0
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://static.rust-lang.org/dist/2021-02-24/rustc-nightly-src.tar.xz
TERMUX_PKG_SHA256=80536b0050fc83cdffedf617bac0fd23dc60081adc00648b90404e1a14baba18
TERMUX_PKG_KEEP_SHARE_DOC=true
termux_step_configure () {
termux_setup_cmake
termux_setup_rust
# nightlys don't build with stable
rustup install beta-2021-02-14-x86_64-unknown-linux-gnu
rustup target add $CARGO_TARGET_NAME
export PATH=$HOME/.rustup/toolchains/beta-2021-02-14-x86_64-unknown-linux-gnu/bin:$PATH
export RUST_BACKTRACE=1
mkdir -p $TERMUX_PREFIX/opt/rust-nightly
RUST_PREFIX=$TERMUX_PREFIX/opt/rust-nightly
export PATH=$TERMUX_PKG_TMPDIR/bin:$PATH
sed $TERMUX_PKG_BUILDER_DIR/config.toml \
-e "s|@RUST_PREFIX@|$RUST_PREFIX|g" \
-e "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|g" \
-e "s|@TERMUX_HOST_PLATFORM@|$TERMUX_HOST_PLATFORM|g" \
-e "s|@RUST_TARGET_TRIPLE@|$CARGO_TARGET_NAME|g" \
-e "s|@CARGO@|$(which cargo)|g" \
-e "s|@RUSTC@|$(which rustc)|g" > $TERMUX_PKG_BUILDDIR/config.toml
export X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu
export X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR=/usr/include
export PKG_CONFIG_ALLOW_CROSS=1
# for backtrace-sys
export CC_x86_64_unknown_linux_gnu=gcc
export CFLAGS_x86_64_unknown_linux_gnu="-O2"
# it won't link with it in TERMUX_PREFIX/lib without breaking other things.
cp $PREFIX/lib/libLLVM-11.1.0.so $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/$TERMUX_HOST_PLATFORM/$TERMUX_PKG_API_LEVEL/
unset CC CXX CPP LD CFLAGS CXXFLAGS CPPFLAGS LDFLAGS PKG_CONFIG AR RANLIB
if [ $TERMUX_ARCH = "x86_64" ]; then
cp $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/x86_64-linux-android/$TERMUX_PKG_API_LEVEL/libc.so $TERMUX_PREFIX/lib/
cp $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/x86_64-linux-android/$TERMUX_PKG_API_LEVEL/libdl.so $TERMUX_PREFIX/lib/
mv $TERMUX_PREFIX/lib/libtinfo.so.6 $TERMUX_PREFIX/lib/libtinfo.so.6.tmp
fi
}
termux_step_make_install () {
if [ ! -f "/usr/bin/llvm-dwp" ]; then
# errr yeah this needs to be here for docker stuff
sudo ln -s /usr/bin/llvm-dwp-10 /usr/bin/llvm-dwp
fi
if [ $TERMUX_ARCH = "x86_64" ]; then
mv $TERMUX_PREFIX ${TERMUX_PREFIX}a
../src/x.py dist cargo --host x86_64-unknown-linux-gnu
../src/x.py dist rls --host x86_64-unknown-linux-gnu
../src/x.py dist rust-analyzer --host x86_64-unknown-linux-gnu
../src/x.py dist rustfmt --host x86_64-unknown-linux-gnu
../src/x.py dist miri --host x86_64-unknown-linux-gnu
mv ${TERMUX_PREFIX}a ${TERMUX_PREFIX}
fi
../src/x.py build --host $CARGO_TARGET_NAME --target $CARGO_TARGET_NAME --target wasm32-unknown-unknown || bash
../src/x.py dist --host $CARGO_TARGET_NAME --target $CARGO_TARGET_NAME --target wasm32-unknown-unknown || bash
mkdir $TERMUX_PKG_BUILDDIR/install
# miri-nightly not working.
for tar in rustc-nightly miri-nightly rustc-dev-nightly rust-docs-nightly rust-std-nightly rust-analysis-nightly cargo-nightly rls-nightly rustc-dev-nightly rustfmt-nightly clippy-nightly; do
tar -xf $TERMUX_PKG_BUILDDIR/build/dist/$tar-$CARGO_TARGET_NAME.tar.gz -C $TERMUX_PKG_BUILDDIR/install
# uninstall previous version
$TERMUX_PKG_BUILDDIR/install/$tar-$CARGO_TARGET_NAME/install.sh --uninstall --prefix=$RUST_PREFIX || true
$TERMUX_PKG_BUILDDIR/install/$tar-$CARGO_TARGET_NAME/install.sh --prefix=$RUST_PREFIX
done
tar -xf $TERMUX_PKG_BUILDDIR/build/dist/rust-src-nightly.tar.gz -C $TERMUX_PKG_BUILDDIR/install
$TERMUX_PKG_BUILDDIR/install/rust-src-nightly/install.sh --uninstall --prefix=$RUST_PREFIX || true
$TERMUX_PKG_BUILDDIR/install/rust-src-nightly/install.sh --prefix=$RUST_PREFIX
WASM=wasm32-unknown-unknown
for tar in rust-std-nightly rust-analysis-nightly; do
tar -xf $TERMUX_PKG_BUILDDIR/build/dist/$tar-$WASM.tar.gz -C $TERMUX_PKG_BUILDDIR/install
# uninstall previous version
$TERMUX_PKG_BUILDDIR/install/$tar-$WASM/install.sh --uninstall --prefix=$RUST_PREFIX || true
$TERMUX_PKG_BUILDDIR/install/$tar-$WASM/install.sh --prefix=$RUST_PREFIX
done
if [ $TERMUX_ARCH = "x86_64" ]; then
rm -f $TERMUX_PREFIX/lib/libc.so $TERMUX_PREFIX/lib/libdl.so
mv $TERMUX_PREFIX/lib/libtinfo.so.6.tmp $TERMUX_PREFIX/lib/libtinfo.so.6
fi
}
termux_step_post_massage () {
rm $TERMUX_PKG_MASSAGEDIR/$RUST_PREFIX/lib/rustlib/{components,rust-installer-version,install.log,uninstall.sh}
mkdir -p $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/etc/profile.d
mkdir -p $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/lib
echo "#!$TERMUX_PREFIX/bin/sh" > $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/etc/profile.d/rust-nightly.sh
echo "export PATH=$RUST_PREFIX/bin:\$PATH" >> $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/etc/profile.d/rust-nightly.sh
cd $TERMUX_PKG_MASSAGEDIR/$RUST_PREFIX/lib
ln -sf rustlib/$CARGO_TARGET_NAME/lib/lib*.so .
cd $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/lib
ln -sf ../opt/rust-nightly/lib/lib*.so .
ln -sf $TERMUX_PREFIX/bin/lld $TERMUX_PKG_MASSAGEDIR$RUST_PREFIX/bin/rust-lld
rm -f ../bin/llvm-dwp
if [ $TERMUX_ARCH = "x86_64" ]; then
rm -f $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/lib/libtinfo.so.6
fi
rm $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/$TERMUX_HOST_PLATFORM/$TERMUX_PKG_API_LEVEL/libLLVM-11.1.0.so
}
termux_step_create_debscripts () {
echo "#!$TERMUX_PREFIX/bin/sh" > postinst
echo "echo 'source \$PREFIX/etc/profile.d/rust-nightly.sh to use nightly'" >> postinst
echo "echo 'or export RUSTC=\$PREFIX/opt/rust-nightly/bin/rustc'" >> postinst
}
@@ -0,0 +1,48 @@
[build]
build = "x86_64-unknown-linux-gnu"
host = [ "@RUST_TARGET_TRIPLE@" ]
target = [ '@RUST_TARGET_TRIPLE@', 'wasm32-unknown-unknown' ]
#python = "python2.7"
#full-bootstrap = false
extended = true
rustc = '@RUSTC@'
cargo = '@CARGO@'
#configure-args = ['--target=wasm32-unknown-unknown', '--set', 'llvm.experimental-targets=WebAssembly']
#tools = ["rls", "rustfmt", "analysis"]
local-rebuild = false
[install]
prefix = "@RUST_PREFIX@"
[llvm]
experimental-targets = 'WebAssembly'
link-shared = true
[rust]
#backtrace = false
#default-linker = "clang"
#default-ar = "ar"
channel = "nightly"
rpath = true
optimize-tests = false
codegen-tests = false
#lld = false
deny-warnings = false
backtrace-on-ice = true
[target.wasm32-unknown-unknown]
#linker = @TERMUX_PREFIX@/bin/wasm-ld
#crt-static = true
[target.x86_64-unknown-linux-gnu]
llvm-config = "/usr/bin/llvm-config-10"
[target.@RUST_TARGET_TRIPLE@]
cc = "@TERMUX_HOST_PLATFORM@-clang"
cxx = "@TERMUX_HOST_PLATFORM@-clang++"
llvm-config = "@TERMUX_PREFIX@/bin/llvm-config"
#jemalloc = "/path/to/jemalloc/libjemalloc_pic.a"
#android-ndk = "/path/to/ndk"
[dist]
missing-tools = true
@@ -0,0 +1,4 @@
TERMUX_SUBPKG_DESCRIPTION="An interpreter for Rust's mid-level intermediate representation"
TERMUX_SUBPKG_INCLUDE="opt/rust-nightly/bin/cargo-miri opt/rust-nightly/bin/miri opt/rust-nightlyshare/doc/miri"
TERMUX_SUBPKG_DEPENDS="rustc-nightly"
@@ -0,0 +1,11 @@
--- ../rustc-1.29.2-src/src/libstd/sys/unix/os.rs 2018-10-19 14:12:31.000000000 -0700
+++ ./library/std/src/sys/unix/os.rs 2018-10-19 14:11:20.000000000 -0700
@@ -488,7 +488,7 @@
pub fn temp_dir() -> PathBuf {
::env::var_os("TMPDIR").map(PathBuf::from).unwrap_or_else(|| {
if cfg!(target_os = "android") {
- PathBuf::from("/data/local/tmp")
+ PathBuf::from("@TERMUX_PREFIX@/tmp")
} else {
PathBuf::from("/tmp")
}
@@ -0,0 +1,3 @@
TERMUX_SUBPKG_DESCRIPTION="rust std for wasm32-unknown-unknown target"
TERMUX_SUBPKG_PLATFORM_INDEPENDENT=true
TERMUX_SUBPKG_INCLUDE="opt/rust-nightly/lib/rustlib/wasm32-unknown-unknown"
@@ -0,0 +1,3 @@
TERMUX_SUBPKG_DESCRIPTION="server that provides IDEs, editors, and other tools with information about Rust programs"
TERMUX_SUBPKG_INCLUDE="opt/rust-nightly/bin/rls opt/rust-nightly/share/doc/rls"
TERMUX_PKG_DEPENDS="rustc-nightly"
@@ -0,0 +1,3 @@
TERMUX_SUBPKG_DESCRIPTION="rust src"
TERMUX_SUBPKG_PLATFORM_INDEPENDENT=true
TERMUX_SUBPKG_INCLUDE="opt/rust-nightly/lib/rustlib/src"
@@ -0,0 +1,3 @@
TERMUX_SUBPKG_DESCRIPTION="developer compiler libs"
INCLUDED=$(sed 's/^...../opt\/rust-nightly\//' $TERMUX_PKG_BUILDDIR/install/rustc-dev-nightly-$CARGO_TARGET_NAME/rustc-dev/manifest.in | grep -v '\.so$' )
TERMUX_SUBPKG_INCLUDE="$INCLUDED"
@@ -0,0 +1,4 @@
TERMUX_SUBPKG_DESCRIPTION="A tool for formatting Rust code according to style guidelines"
TERMUX_SUBPKG_INCLUDE="opt/rust-nightly/bin/cargo-fmt opt/rust-nightly/bin/rustfmt opt/rust-nightlyshare/doc/rustfmt"
TERMUX_SUBPKG_DEPENDS="rustc-nightly"
@@ -0,0 +1,12 @@
diff -u -r ../rustc-1.34.1-src/src/librustc_llvm/build.rs ./src/librustc_llvm/build.rs
--- ../rustc-1.34.1-src/src/librustc_llvm/build.rs 2019-04-24 21:07:08.000000000 +0000
+++ ./compiler/rustc_llvm/build.rs 2019-05-05 20:56:34.090330174 +0000
@@ -244,6 +244,8 @@
"c++"
} else if target.contains("darwin") {
"c++"
+ } else if target.contains("android") {
+ "c++_shared"
} else if target.contains("netbsd") && llvm_static_stdcpp.is_some() {
// NetBSD uses a separate library when relocation is required
"stdc++_pic"
@@ -0,0 +1,2 @@
#!/data/data/com.termux/files/usr/bin/sh
export PATH=/data/data/com.termux/files/usr/opt/rustc-nightly/bin:$PATH
+28
View File
@@ -0,0 +1,28 @@
diff -uNr v-0.2.2/Makefile v-0.2.2.mod/Makefile
--- v-0.2.2/Makefile 2021-01-22 09:39:44.000000000 +0000
+++ v-0.2.2.mod/Makefile 2021-05-06 11:58:25.054252805 +0000
@@ -82,23 +82,16 @@
$(V) self
endif
else
- $(CC) $(CFLAGS) -g -std=gnu99 -w -o $(V) $(VC)/$(VCFILE) -lm -lpthread $(LDFLAGS)
+ $(CC) $(CFLAGS) -g -std=gnu99 -w -o $(V) $(VC)/$(VCFILE) -lm $(LDFLAGS)
ifdef ANDROID
chmod 755 v
endif
-ifdef prod
- $(V) -prod self
-else
- $(V) self
-endif
-
ifndef ANDROID
$(MAKE) modules
endif
endif
@echo "V has been successfully built"
- @$(V) -version
#clean: clean_tmp
#git clean -xf
+19
View File
@@ -0,0 +1,19 @@
TERMUX_PKG_HOMEPAGE=https://github.com/vlang/v
TERMUX_PKG_DESCRIPTION="Simple, fast, safe, compiled language for developing maintainable software"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
TERMUX_PKG_VERSION=0.2.2
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/vlang/v/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=9152eec96d2eeb575782cf138cb837f315e48c173878857441d98ba679e3a9bf
TERMUX_PKG_DEPENDS="clang"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_MAKE_ARGS="ANDROID=1"
termux_step_make_install() {
install -Dm700 v "$TERMUX_PREFIX"/libexec/vlang/v
ln -sfr "$TERMUX_PREFIX"/libexec/vlang/v "$TERMUX_PREFIX"/bin/v
rm -rf "$TERMUX_PREFIX"/libexec/vlang/vlib
cp -a cmd vlib "$TERMUX_PREFIX"/libexec/vlang/
}
-16
View File
@@ -1,16 +0,0 @@
diff -uNr sysroot.orig/usr/include/linux/fcntl.h sysroot/usr/include/linux/fcntl.h
--- sysroot.orig/usr/include/linux/fcntl.h 2019-02-12 16:12:24.000000000 +0000
+++ sysroot/usr/include/linux/fcntl.h 2019-03-20 13:22:32.823142545 +0000
@@ -51,6 +51,12 @@
#define DN_ATTRIB 0x00000020
#define DN_MULTISHOT 0x80000000
#define AT_FDCWD - 100
+/* Termux patch: This flag is not supported on Android 6.0+, and should not
+ be needed since there are not setuid binaries. Define AT_EACCESS to 0 to
+ avoid packages defining their own AT_EACCESS (which e.g. coreutil does)
+ since that will only result in errors. See:
+ https://android.googlesource.com/platform/bionic/+/3577825%5E!/ */
+#define AT_EACCESS 0
#define AT_SYMLINK_NOFOLLOW 0x100
#define AT_REMOVEDIR 0x200
#define AT_SYMLINK_FOLLOW 0x400
+3 -3
View File
@@ -1,5 +1,5 @@
--- ./usr/include/paths.h.orig 2020-07-10 21:50:03.778299300 +0000
+++ ./usr/include/paths.h 2020-07-10 21:51:03.127602196 +0000
--- ./usr/include/paths.h.orig 2021-08-16 11:55:04.492150066 +0200
+++ ./usr/include/paths.h 2021-08-16 11:55:42.498804733 +0200
@@ -40,14 +40,14 @@
#ifndef _PATH_BSHELL
@@ -12,7 +12,7 @@
#define _PATH_CONSOLE "/dev/console"
/** Default shell search path. */
-#define _PATH_DEFPATH "/product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin"
-#define _PATH_DEFPATH "/product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin"
+#define _PATH_DEFPATH "@TERMUX_PREFIX@/bin"
/** Path to the directory containing device files. */
@@ -9,3 +9,13 @@ diff -u -r /home/builder/lib/android-ndk/sysroot/usr/include/asm-generic/termbit
+/* TCSAFLUSH is patched to be TCSANOW in Termux to work around Android SELinux rule */
+#define TCSAFLUSH 0
#endif
--- ./usr/include/bits/termios_inlines.h.orig 2021-08-16 17:05:16.001067630 +0200
+++ ./usr/include/bits/termios_inlines.h 2021-08-16 17:05:05.851074187 +0200
@@ -117,7 +117,6 @@
switch (optional_actions) {
case TCSANOW: cmd = TCSETS; break;
case TCSADRAIN: cmd = TCSETSW; break;
- case TCSAFLUSH: cmd = TCSETSF; break;
default: errno = EINVAL; return -1;
}
return ioctl(fd, cmd, s);
+5 -11
View File
@@ -1,7 +1,6 @@
diff -uNr ./usr.old/include/stdio.h ./usr/include/stdio.h
--- ./usr.old/include/stdio.h 2019-05-22 12:49:28.000000000 +0300
+++ ./usr/include/stdio.h 2019-12-13 21:50:02.765565736 +0200
@@ -44,11 +44,12 @@
--- ./usr/include/stdio.h.orig 2021-08-16 11:48:44.308954400 +0200
+++ ./usr/include/stdio.h 2021-08-16 11:50:00.438924014 +0200
@@ -44,6 +44,9 @@
#include <stdarg.h>
#include <stddef.h>
@@ -10,16 +9,11 @@ diff -uNr ./usr.old/include/stdio.h ./usr/include/stdio.h
+
#include <bits/seek_constants.h>
-#if __ANDROID_API__ < __ANDROID_API_N__
#include <bits/struct_file.h>
-#endif
__BEGIN_DECLS
#if __ANDROID_API__ < 24
@@ -165,7 +166,7 @@
__printflike(2, 0) __warnattr_strict("vsprintf is often misused; please use vsnprintf");
char* tmpnam(char* __s)
__warnattr("tempnam is unsafe, use mkstemp or tmpfile instead");
__warnattr("tmpnam is unsafe, use mkstemp or tmpfile instead");
-#define P_tmpdir "/tmp/" /* deprecated */
+#define P_tmpdir "@TERMUX_PREFIX@/tmp/" /* deprecated */
char* tempnam(const char* __dir, const char* __prefix)
+3 -4
View File
@@ -1,6 +1,5 @@
diff -uNr sysroot.orig/usr/include/stdlib.h sysroot/usr/include/stdlib.h
--- sysroot.orig/usr/include/stdlib.h 2019-02-12 16:12:24.000000000 +0000
+++ sysroot/usr/include/stdlib.h 2019-03-20 13:23:48.870108924 +0000
--- ./usr/include/stdlib.h.orig 2021-08-16 11:50:47.432239182 +0200
+++ ./usr/include/stdlib.h 2021-08-16 11:51:31.102222894 +0200
@@ -33,6 +33,7 @@
#include <bits/wait.h>
#include <malloc.h>
@@ -12,7 +11,7 @@ diff -uNr sysroot.orig/usr/include/stdlib.h sysroot/usr/include/stdlib.h
@@ -224,8 +225,7 @@
size_t wcstombs(char* __dst, const wchar_t* __src, size_t __n);
#if __ANDROID_API__ >= __ANDROID_API_L__
#if __ANDROID_API__ >= 21
-size_t __ctype_get_mb_cur_max(void) __INTRODUCED_IN(21);
-#define MB_CUR_MAX __ctype_get_mb_cur_max()
+#define MB_CUR_MAX 4
+3 -3
View File
@@ -1,6 +1,6 @@
--- ./usr/include/sys/cdefs.h.orig 2020-01-18 00:06:05.760188085 +0000
+++ ./usr/include/sys/cdefs.h 2020-01-18 00:09:52.363968728 +0000
@@ -358,3 +358,6 @@
--- ./usr/include/sys/cdefs.h.orig 2021-08-16 11:52:08.128876161 +0200
+++ ./usr/include/sys/cdefs.h 2021-08-16 11:52:08.555542676 +0200
@@ -372,3 +372,6 @@
#if __has_include(<android/ndk-version.h>)
#include <android/ndk-version.h>
#endif
+5 -3
View File
@@ -1,6 +1,6 @@
--- sysroot/usr/include/unistd.h 2018-04-30 19:24:22.000000000 +0000
+++ usr/include/unistd.h 2018-08-16 10:42:51.158596753 +0000
@@ -377,4 +377,72 @@
--- ./usr/include/unistd.h.orig 2021-08-16 11:52:08.095542840 +0200
+++ ./usr/include/unistd.h 2021-08-16 11:52:08.565542673 +0200
@@ -375,6 +375,74 @@
#undef _UNISTD_H_
#endif
@@ -73,3 +73,5 @@
+#endif
+
__END_DECLS
#include <android/legacy_unistd_inlines.h>
+3 -3
View File
@@ -1,6 +1,6 @@
--- sysroot/usr/include/utmp.h 2021-05-07 05:45:33.518467959 +0000
+++ usr/include/utmp.h 2021-05-07 05:46:25.195022662 +0000
@@ -32,9 +32,9 @@
--- ./usr/include/utmp.h.orig 2021-08-16 11:52:08.095542840 +0200
+++ ./usr/include/utmp.h 2021-08-16 11:52:08.565542673 +0200
@@ -37,9 +37,9 @@
#include <sys/types.h>
#include <time.h>
+2 -4
View File
@@ -5,7 +5,7 @@ TERMUX_PKG_MAINTAINER="@termux"
_TAG_VERSION=7.1.2
_TAG_REVISION=33
TERMUX_PKG_VERSION=${_TAG_VERSION}.${_TAG_REVISION}
TERMUX_PKG_REVISION=13
TERMUX_PKG_REVISION=15
TERMUX_PKG_SKIP_SRC_EXTRACT=true
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_DEPENDS="libc++, libexpat, libpng, libzopfli, zlib"
@@ -102,7 +102,7 @@ termux_step_make_install() {
socket_network_client_unix.c \
sockets_unix.o \
str_parms.c"
$CC $LDFLAGS \
$CC $CPPFLAGS $LDFLAGS \
-Dchar16_t=uint16_t \
-std=c11 \
-isystem $AOSP_INCLUDE_DIR \
@@ -114,8 +114,6 @@ termux_step_make_install() {
-shared \
-o $TERMUX_PREFIX/lib/libandroid-cutils.so
# Build libutil:
local LIBUTILS_TARFILE=$TERMUX_PKG_CACHEDIR/libutils_${_TAGNAME}.tar.gz
test ! -f $LIBUTILS_TARFILE && termux_download \
+4 -4
View File
@@ -1,10 +1,10 @@
TERMUX_PKG_HOMEPAGE=https://repo.or.cz/alpine.git
TERMUX_PKG_HOMEPAGE=http://alpine.x10host.com/
TERMUX_PKG_DESCRIPTION="Fast, easy to use email client"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.24.2
TERMUX_PKG_SRCURL=https://repo.or.cz/alpine.git/snapshot/refs/tags/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=8e4654bce91837e053adf9d5b512f8c54234f527148a238f60ad49598581fb61
TERMUX_PKG_VERSION=2.25
TERMUX_PKG_SRCURL=http://alpine.x10host.com/alpine/release/src/alpine-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_SHA256=658a150982f6740bb4128e6dd81188eaa1212ca0bf689b83c2093bb518ecf776
TERMUX_PKG_DEPENDS="libcrypt, ncurses, openssl-tool"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-debug
+3 -3
View File
@@ -2,10 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://developer.android.com/
TERMUX_PKG_DESCRIPTION="Android platform tools"
TERMUX_PKG_LICENSE="Apache-2.0, MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=31.0.0p1
TERMUX_PKG_REVISION=2
TERMUX_PKG_VERSION=31.0.2
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/nmeum/android-tools/releases/download/$TERMUX_PKG_VERSION/android-tools-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_SHA256=51a4c3ba5f16945905449c4bd2c1c781a4df7469f6b7362f8837f4f640d8c7b6
TERMUX_PKG_SHA256=61b3bf6c240cb0b4d0ccfef696c55986e06657843627df950fdcf6881af0f8d4
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="libc++, libusb, pcre2, googletest, libprotobuf, brotli, zstd, liblz4"
+93 -111
View File
@@ -1,74 +1,7 @@
diff -uNr android-tools-31.0.0p1/vendor/CMakeLists.adb.txt android-tools-31.0.0p1.mod/vendor/CMakeLists.adb.txt
--- android-tools-31.0.0p1/vendor/CMakeLists.adb.txt 2021-03-22 17:48:01.000000000 +0000
+++ android-tools-31.0.0p1.mod/vendor/CMakeLists.adb.txt 2021-05-03 17:56:53.036722882 +0000
@@ -192,7 +192,6 @@
brotlidec
brotlienc
lz4
- pthread
usb-1.0
z
zstd)
diff -uNr android-tools-31.0.0p1/vendor/CMakeLists.fastboot.txt android-tools-31.0.0p1.mod/vendor/CMakeLists.fastboot.txt
--- android-tools-31.0.0p1/vendor/CMakeLists.fastboot.txt 2021-03-22 17:48:01.000000000 +0000
+++ android-tools-31.0.0p1.mod/vendor/CMakeLists.fastboot.txt 2021-05-03 17:56:53.036722882 +0000
@@ -133,4 +133,4 @@
target_link_libraries(fastboot
libsparse libzip libcutils liblog libfsmgr libutil
libbase libext4 libselinux libsepol libdiagnoseusb crypto
- z pcre2-8 pthread dl)
+ z pcre2-8 dl)
diff -uNr android-tools-31.0.0p1/vendor/CMakeLists.mke2fs.txt android-tools-31.0.0p1.mod/vendor/CMakeLists.mke2fs.txt
--- android-tools-31.0.0p1/vendor/CMakeLists.mke2fs.txt 2020-03-06 13:43:50.000000000 +0000
+++ android-tools-31.0.0p1.mod/vendor/CMakeLists.mke2fs.txt 2021-05-03 17:56:53.036722882 +0000
@@ -112,6 +112,6 @@
e2fsprogs/misc/util.c)
target_link_libraries("${ANDROID_MKE2FS_NAME}"
- libext2fs libsparse libbase libzip liblog libutil pthread z)
+ libext2fs libsparse libbase libzip liblog libutil z)
target_include_directories("${ANDROID_MKE2FS_NAME}" PRIVATE
e2fsprogs/lib)
diff -uNr android-tools-31.0.0p1/vendor/adb/pairing_auth/include/adb/pairing/pairing_auth.h android-tools-31.0.0p1.mod/vendor/adb/pairing_auth/include/adb/pairing/pairing_auth.h
--- android-tools-31.0.0p1/vendor/adb/pairing_auth/include/adb/pairing/pairing_auth.h 2021-04-14 15:24:51.000000000 +0000
+++ android-tools-31.0.0p1.mod/vendor/adb/pairing_auth/include/adb/pairing/pairing_auth.h 2021-05-03 17:56:53.036722882 +0000
@@ -26,7 +26,7 @@
#ifdef __cplusplus
extern "C" {
#endif
-#if !defined(__ANDROID__) || __ANDROID_API__ >= 30
+#if 1
/**
* PairingAuthCtx is a wrapper around the SPAKE2 protocol + cipher initialization
diff -uNr android-tools-31.0.0p1/vendor/adb/pairing_connection/include/adb/pairing/pairing_connection.h android-tools-31.0.0p1.mod/vendor/adb/pairing_connection/include/adb/pairing/pairing_connection.h
--- android-tools-31.0.0p1/vendor/adb/pairing_connection/include/adb/pairing/pairing_connection.h 2021-04-14 15:24:51.000000000 +0000
+++ android-tools-31.0.0p1.mod/vendor/adb/pairing_connection/include/adb/pairing/pairing_connection.h 2021-05-03 17:56:53.036722882 +0000
@@ -37,7 +37,7 @@
#ifdef __cplusplus
extern "C" {
#endif
-#if !defined(__ANDROID__) || __ANDROID_API__ >= 30
+#if 1
const uint32_t kMaxPeerInfoSize = 8192;
struct PeerInfo {
diff -uNr android-tools-31.0.0p1/vendor/adb/pairing_connection/include/adb/pairing/pairing_server.h android-tools-31.0.0p1.mod/vendor/adb/pairing_connection/include/adb/pairing/pairing_server.h
--- android-tools-31.0.0p1/vendor/adb/pairing_connection/include/adb/pairing/pairing_server.h 2021-04-14 15:24:51.000000000 +0000
+++ android-tools-31.0.0p1.mod/vendor/adb/pairing_connection/include/adb/pairing/pairing_server.h 2021-05-03 17:56:53.036722882 +0000
@@ -33,7 +33,7 @@
#ifdef __cplusplus
extern "C" {
#endif
-#if !defined(__ANDROID__) || __ANDROID_API__ >= 30
+#if 1
// PairingServerCtx is a wrapper around the #PairingConnectionCtx APIs,
// which handles multiple client connections.
diff -uNr android-tools-31.0.0p1/vendor/adb/sysdeps.h android-tools-31.0.0p1.mod/vendor/adb/sysdeps.h
--- android-tools-31.0.0p1/vendor/adb/sysdeps.h 2021-04-14 15:24:51.000000000 +0000
+++ android-tools-31.0.0p1.mod/vendor/adb/sysdeps.h 2021-05-03 17:56:53.036722882 +0000
@@ -482,7 +482,11 @@
diff -uNr android-tools-31.0.2/vendor/adb/sysdeps.h android-tools-31.0.2.mod/vendor/adb/sysdeps.h
--- android-tools-31.0.2/vendor/adb/sysdeps.h 2021-07-20 11:13:01.000000000 +0000
+++ android-tools-31.0.2.mod/vendor/adb/sysdeps.h 2021-10-08 09:55:05.170121003 +0000
@@ -514,7 +514,11 @@
}
static inline int adb_getlogin_r(char* buf, size_t bufsize) {
@@ -81,10 +14,10 @@ diff -uNr android-tools-31.0.0p1/vendor/adb/sysdeps.h android-tools-31.0.0p1.mod
}
static inline int adb_read(borrowed_fd fd, void* buf, size_t len) {
diff -uNr android-tools-31.0.0p1/vendor/base/libs/androidfw/ResourceTypes.cpp android-tools-31.0.0p1.mod/vendor/base/libs/androidfw/ResourceTypes.cpp
--- android-tools-31.0.0p1/vendor/base/libs/androidfw/ResourceTypes.cpp 2020-11-12 18:02:26.000000000 +0000
+++ android-tools-31.0.0p1.mod/vendor/base/libs/androidfw/ResourceTypes.cpp 2021-05-03 17:56:53.036722882 +0000
@@ -41,7 +41,7 @@
diff -uNr android-tools-31.0.2/vendor/base/libs/androidfw/ResourceTypes.cpp android-tools-31.0.2.mod/vendor/base/libs/androidfw/ResourceTypes.cpp
--- android-tools-31.0.2/vendor/base/libs/androidfw/ResourceTypes.cpp 2021-05-28 20:48:32.000000000 +0000
+++ android-tools-31.0.2.mod/vendor/base/libs/androidfw/ResourceTypes.cpp 2021-10-08 09:55:05.174121003 +0000
@@ -42,7 +42,7 @@
#include <utils/String16.h>
#include <utils/String8.h>
@@ -93,9 +26,9 @@ diff -uNr android-tools-31.0.0p1/vendor/base/libs/androidfw/ResourceTypes.cpp an
#include <binder/TextOutput.h>
#endif
diff -uNr android-tools-31.0.0p1/vendor/boringssl/crypto/CMakeLists.txt android-tools-31.0.0p1.mod/vendor/boringssl/crypto/CMakeLists.txt
--- android-tools-31.0.0p1/vendor/boringssl/crypto/CMakeLists.txt 2021-03-22 17:48:14.000000000 +0000
+++ android-tools-31.0.0p1.mod/vendor/boringssl/crypto/CMakeLists.txt 2021-05-03 17:56:53.036722882 +0000
diff -uNr android-tools-31.0.2/vendor/boringssl/crypto/CMakeLists.txt android-tools-31.0.2.mod/vendor/boringssl/crypto/CMakeLists.txt
--- android-tools-31.0.2/vendor/boringssl/crypto/CMakeLists.txt 2021-06-02 15:08:20.000000000 +0000
+++ android-tools-31.0.2.mod/vendor/boringssl/crypto/CMakeLists.txt 2021-10-08 09:55:05.175121003 +0000
@@ -167,7 +167,7 @@
add_custom_command(
@@ -105,9 +38,40 @@ diff -uNr android-tools-31.0.0p1/vendor/boringssl/crypto/CMakeLists.txt android-
DEPENDS
err/err_data_generate.go
err/asn1.errordata
diff -uNr android-tools-31.0.0p1/vendor/core/fs_mgr/liblp/utility.cpp android-tools-31.0.0p1.mod/vendor/core/fs_mgr/liblp/utility.cpp
--- android-tools-31.0.0p1/vendor/core/fs_mgr/liblp/utility.cpp 2020-12-20 20:06:59.000000000 +0000
+++ android-tools-31.0.0p1.mod/vendor/core/fs_mgr/liblp/utility.cpp 2021-05-03 17:56:53.040722882 +0000
diff -uNr android-tools-31.0.2/vendor/CMakeLists.adb.txt android-tools-31.0.2.mod/vendor/CMakeLists.adb.txt
--- android-tools-31.0.2/vendor/CMakeLists.adb.txt 2021-06-02 15:20:44.000000000 +0000
+++ android-tools-31.0.2.mod/vendor/CMakeLists.adb.txt 2021-10-08 09:55:05.167121003 +0000
@@ -192,7 +192,6 @@
brotlidec
brotlienc
lz4
- pthread
usb-1.0
z
zstd)
diff -uNr android-tools-31.0.2/vendor/CMakeLists.fastboot.txt android-tools-31.0.2.mod/vendor/CMakeLists.fastboot.txt
--- android-tools-31.0.2/vendor/CMakeLists.fastboot.txt 2021-07-15 11:17:07.000000000 +0000
+++ android-tools-31.0.2.mod/vendor/CMakeLists.fastboot.txt 2021-10-08 09:55:05.168121003 +0000
@@ -135,4 +135,4 @@
target_link_libraries(fastboot
libsparse libzip libcutils liblog libfsmgr libutil
libbase libext4 libselinux libsepol libdiagnoseusb crypto
- z pcre2-8 pthread dl)
+ z pcre2-8 dl)
diff -uNr android-tools-31.0.2/vendor/CMakeLists.mke2fs.txt android-tools-31.0.2.mod/vendor/CMakeLists.mke2fs.txt
--- android-tools-31.0.2/vendor/CMakeLists.mke2fs.txt 2021-06-02 15:20:41.000000000 +0000
+++ android-tools-31.0.2.mod/vendor/CMakeLists.mke2fs.txt 2021-10-08 09:55:05.169121003 +0000
@@ -112,6 +112,6 @@
e2fsprogs/misc/util.c)
target_link_libraries("${ANDROID_MKE2FS_NAME}"
- libext2fs libsparse libbase libzip liblog libutil pthread z)
+ libext2fs libsparse libbase libzip liblog libutil z)
target_include_directories("${ANDROID_MKE2FS_NAME}" PRIVATE
e2fsprogs/lib)
diff -uNr android-tools-31.0.2/vendor/core/fs_mgr/liblp/utility.cpp android-tools-31.0.2.mod/vendor/core/fs_mgr/liblp/utility.cpp
--- android-tools-31.0.2/vendor/core/fs_mgr/liblp/utility.cpp 2020-12-20 20:06:59.000000000 +0000
+++ android-tools-31.0.2.mod/vendor/core/fs_mgr/liblp/utility.cpp 2021-10-08 09:55:05.176121003 +0000
@@ -34,7 +34,7 @@
#include <ext4_utils/ext4_utils.h>
#include <openssl/sha.h>
@@ -126,10 +90,10 @@ diff -uNr android-tools-31.0.0p1/vendor/core/fs_mgr/liblp/utility.cpp android-to
int fd = android_get_control_file(path.data());
if (fd >= 0) {
int newfd = TEMP_FAILURE_RETRY(dup(fd));
diff -uNr android-tools-31.0.0p1/vendor/core/init/reboot.cpp android-tools-31.0.0p1.mod/vendor/core/init/reboot.cpp
--- android-tools-31.0.0p1/vendor/core/init/reboot.cpp 2021-04-14 15:24:51.000000000 +0000
+++ android-tools-31.0.0p1.mod/vendor/core/init/reboot.cpp 2021-05-03 17:56:53.040722882 +0000
@@ -247,7 +247,7 @@
diff -uNr android-tools-31.0.2/vendor/core/init/reboot.cpp android-tools-31.0.2.mod/vendor/core/init/reboot.cpp
--- android-tools-31.0.2/vendor/core/init/reboot.cpp 2021-07-20 11:13:01.000000000 +0000
+++ android-tools-31.0.2.mod/vendor/core/init/reboot.cpp 2021-10-08 09:55:05.177121003 +0000
@@ -246,7 +246,7 @@
if (dump) {
LOG(INFO) << "mount entry " << mentry->mnt_fsname << ":" << mentry->mnt_dir << " opts "
<< mentry->mnt_opts << " type " << mentry->mnt_type;
@@ -138,9 +102,9 @@ diff -uNr android-tools-31.0.0p1/vendor/core/init/reboot.cpp android-tools-31.0.
std::string mount_dir(mentry->mnt_dir);
// These are R/O partitions changed to R/W after adb remount.
// Do not umount them as shutdown critical services may rely on them.
diff -uNr android-tools-31.0.0p1/vendor/core/libcutils/properties.cpp android-tools-31.0.0p1.mod/vendor/core/libcutils/properties.cpp
--- android-tools-31.0.0p1/vendor/core/libcutils/properties.cpp 2020-12-20 20:06:59.000000000 +0000
+++ android-tools-31.0.0p1.mod/vendor/core/libcutils/properties.cpp 2021-05-03 17:56:53.040722882 +0000
diff -uNr android-tools-31.0.2/vendor/core/libcutils/properties.cpp android-tools-31.0.2.mod/vendor/core/libcutils/properties.cpp
--- android-tools-31.0.2/vendor/core/libcutils/properties.cpp 2020-12-20 20:06:59.000000000 +0000
+++ android-tools-31.0.2.mod/vendor/core/libcutils/properties.cpp 2021-10-08 09:55:05.178121003 +0000
@@ -91,7 +91,7 @@
return len;
}
@@ -150,9 +114,9 @@ diff -uNr android-tools-31.0.0p1/vendor/core/libcutils/properties.cpp android-to
#define _REALLY_INCLUDE_SYS__SYSTEM_PROPERTIES_H_
#include <sys/_system_properties.h>
diff -uNr android-tools-31.0.0p1/vendor/e2fsprogs/lib/ext2fs/ismounted.c android-tools-31.0.0p1.mod/vendor/e2fsprogs/lib/ext2fs/ismounted.c
--- android-tools-31.0.0p1/vendor/e2fsprogs/lib/ext2fs/ismounted.c 2019-08-21 17:14:14.000000000 +0000
+++ android-tools-31.0.0p1.mod/vendor/e2fsprogs/lib/ext2fs/ismounted.c 2021-05-03 17:56:53.044722882 +0000
diff -uNr android-tools-31.0.2/vendor/e2fsprogs/lib/ext2fs/ismounted.c android-tools-31.0.2.mod/vendor/e2fsprogs/lib/ext2fs/ismounted.c
--- android-tools-31.0.2/vendor/e2fsprogs/lib/ext2fs/ismounted.c 2019-08-21 17:14:14.000000000 +0000
+++ android-tools-31.0.2.mod/vendor/e2fsprogs/lib/ext2fs/ismounted.c 2021-10-08 09:55:05.178121003 +0000
@@ -196,7 +196,7 @@
#endif /* __GNU__ */
*mount_flags = EXT2_MF_MOUNTED;
@@ -162,9 +126,9 @@ diff -uNr android-tools-31.0.0p1/vendor/e2fsprogs/lib/ext2fs/ismounted.c android
/* Check to see if the ro option is set */
if (hasmntopt(mnt, MNTOPT_RO))
*mount_flags |= EXT2_MF_READONLY;
diff -uNr android-tools-31.0.0p1/vendor/f2fs-tools/lib/libf2fs.c android-tools-31.0.0p1.mod/vendor/f2fs-tools/lib/libf2fs.c
--- android-tools-31.0.0p1/vendor/f2fs-tools/lib/libf2fs.c 2020-12-20 12:53:55.000000000 +0000
+++ android-tools-31.0.0p1.mod/vendor/f2fs-tools/lib/libf2fs.c 2021-05-03 17:56:53.044722882 +0000
diff -uNr android-tools-31.0.2/vendor/f2fs-tools/lib/libf2fs.c android-tools-31.0.2.mod/vendor/f2fs-tools/lib/libf2fs.c
--- android-tools-31.0.2/vendor/f2fs-tools/lib/libf2fs.c 2020-12-20 12:53:55.000000000 +0000
+++ android-tools-31.0.2.mod/vendor/f2fs-tools/lib/libf2fs.c 2021-10-08 09:55:05.179121003 +0000
@@ -714,7 +714,7 @@
while ((mnt = getmntent(file)) != NULL) {
@@ -174,9 +138,27 @@ diff -uNr android-tools-31.0.0p1/vendor/f2fs-tools/lib/libf2fs.c android-tools-3
if (hasmntopt(mnt, MNTOPT_RO))
c.ro = 1;
#endif
diff -uNr android-tools-31.0.0p1/vendor/libbase/include/android-base/unique_fd.h android-tools-31.0.0p1.mod/vendor/libbase/include/android-base/unique_fd.h
--- android-tools-31.0.0p1/vendor/libbase/include/android-base/unique_fd.h 2020-11-12 18:02:33.000000000 +0000
+++ android-tools-31.0.0p1.mod/vendor/libbase/include/android-base/unique_fd.h 2021-05-03 17:56:53.044722882 +0000
diff -uNr android-tools-31.0.2/vendor/incremental_delivery/incfs/util/include/util/map_ptr.h android-tools-31.0.2.mod/vendor/incremental_delivery/incfs/util/include/util/map_ptr.h
--- android-tools-31.0.2/vendor/incremental_delivery/incfs/util/include/util/map_ptr.h 2021-07-20 11:13:01.000000000 +0000
+++ android-tools-31.0.2.mod/vendor/incremental_delivery/incfs/util/include/util/map_ptr.h 2021-10-08 10:01:07.304004004 +0000
@@ -23,6 +23,7 @@
#include <android-base/logging.h>
#include <android-base/off64_t.h>
+#undef __ANDROID__
#ifdef __ANDROID__
#include <linux/incrementalfs.h>
#endif
@@ -400,4 +401,4 @@
} // namespace incfs
-} // namespace android
\ No newline at end of file
+} // namespace android
diff -uNr android-tools-31.0.2/vendor/libbase/include/android-base/unique_fd.h android-tools-31.0.2.mod/vendor/libbase/include/android-base/unique_fd.h
--- android-tools-31.0.2/vendor/libbase/include/android-base/unique_fd.h 2020-11-12 18:02:33.000000000 +0000
+++ android-tools-31.0.2.mod/vendor/libbase/include/android-base/unique_fd.h 2021-10-08 09:55:05.180121003 +0000
@@ -46,7 +46,7 @@
// unique_fd is also known as ScopedFd/ScopedFD/scoped_fd; mentioned here to help
// you find this class if you're searching for one of those names.
@@ -195,10 +177,10 @@ diff -uNr android-tools-31.0.0p1/vendor/libbase/include/android-base/unique_fd.h
static void Tag(int fd, void* old_addr, void* new_addr) {
if (android_fdsan_exchange_owner_tag) {
uint64_t old_tag = android_fdsan_create_owner_tag(ANDROID_FDSAN_OWNER_TYPE_UNIQUE_FD,
diff -uNr android-tools-31.0.0p1/vendor/libbase/logging.cpp android-tools-31.0.0p1.mod/vendor/libbase/logging.cpp
--- android-tools-31.0.0p1/vendor/libbase/logging.cpp 2021-04-14 15:24:51.000000000 +0000
+++ android-tools-31.0.0p1.mod/vendor/libbase/logging.cpp 2021-05-03 17:56:53.044722882 +0000
@@ -65,11 +65,17 @@
diff -uNr android-tools-31.0.2/vendor/libbase/logging.cpp android-tools-31.0.2.mod/vendor/libbase/logging.cpp
--- android-tools-31.0.2/vendor/libbase/logging.cpp 2021-07-20 11:13:01.000000000 +0000
+++ android-tools-31.0.2.mod/vendor/libbase/logging.cpp 2021-10-08 09:55:05.180121003 +0000
@@ -61,11 +61,17 @@
namespace android {
namespace base {
@@ -217,9 +199,9 @@ diff -uNr android-tools-31.0.0p1/vendor/libbase/logging.cpp android-tools-31.0.0
#elif defined(_WIN32)
static bool first = true;
static char progname[MAX_PATH] = {};
diff -uNr android-tools-31.0.0p1/vendor/libbase/properties.cpp android-tools-31.0.0p1.mod/vendor/libbase/properties.cpp
--- android-tools-31.0.0p1/vendor/libbase/properties.cpp 2020-11-12 18:02:33.000000000 +0000
+++ android-tools-31.0.0p1.mod/vendor/libbase/properties.cpp 2021-05-03 17:56:53.044722882 +0000
diff -uNr android-tools-31.0.2/vendor/libbase/properties.cpp android-tools-31.0.2.mod/vendor/libbase/properties.cpp
--- android-tools-31.0.2/vendor/libbase/properties.cpp 2020-11-12 18:02:33.000000000 +0000
+++ android-tools-31.0.2.mod/vendor/libbase/properties.cpp 2021-10-08 09:55:05.181121003 +0000
@@ -16,7 +16,7 @@
#include "android-base/properties.h"
@@ -265,9 +247,9 @@ diff -uNr android-tools-31.0.0p1/vendor/libbase/properties.cpp android-tools-31.
struct WaitForPropertyData {
bool done;
diff -uNr android-tools-31.0.0p1/vendor/libziparchive/zip_archive.cc android-tools-31.0.0p1.mod/vendor/libziparchive/zip_archive.cc
--- android-tools-31.0.0p1/vendor/libziparchive/zip_archive.cc 2020-11-12 18:02:33.000000000 +0000
+++ android-tools-31.0.0p1.mod/vendor/libziparchive/zip_archive.cc 2021-05-03 17:56:53.044722882 +0000
diff -uNr android-tools-31.0.2/vendor/libziparchive/zip_archive.cc android-tools-31.0.2.mod/vendor/libziparchive/zip_archive.cc
--- android-tools-31.0.2/vendor/libziparchive/zip_archive.cc 2021-06-02 15:08:21.000000000 +0000
+++ android-tools-31.0.2.mod/vendor/libziparchive/zip_archive.cc 2021-10-08 09:55:05.182121003 +0000
@@ -39,7 +39,9 @@
#define lseek64 lseek
#endif
@@ -306,9 +288,9 @@ diff -uNr android-tools-31.0.0p1/vendor/libziparchive/zip_archive.cc android-too
android_fdsan_close_with_tag(mapped_zip.GetFileDescriptor(), GetOwnerTag(this));
#else
close(mapped_zip.GetFileDescriptor());
diff -uNr android-tools-31.0.0p1/vendor/logging/liblog/logger_write.cpp android-tools-31.0.0p1.mod/vendor/logging/liblog/logger_write.cpp
--- android-tools-31.0.0p1/vendor/logging/liblog/logger_write.cpp 2021-04-14 15:24:52.000000000 +0000
+++ android-tools-31.0.0p1.mod/vendor/logging/liblog/logger_write.cpp 2021-05-03 17:56:53.044722882 +0000
diff -uNr android-tools-31.0.2/vendor/logging/liblog/logger_write.cpp android-tools-31.0.2.mod/vendor/logging/liblog/logger_write.cpp
--- android-tools-31.0.2/vendor/logging/liblog/logger_write.cpp 2021-07-20 11:13:01.000000000 +0000
+++ android-tools-31.0.2.mod/vendor/logging/liblog/logger_write.cpp 2021-10-08 09:55:05.183121003 +0000
@@ -39,6 +39,8 @@
#include "logger.h"
#include "uio.h"
@@ -349,4 +331,4 @@ diff -uNr android-tools-31.0.0p1/vendor/logging/liblog/logger_write.cpp android-
-
// It's possible for logging to happen during static initialization before our globals are
// initialized, so we place this std::string in a function such that it is initialized on the first
// call.
// call. We use a pointer to avoid exit time destructors.
+3 -2
View File
@@ -2,7 +2,8 @@ TERMUX_PKG_HOMEPAGE=https://github.com/rcoh/angle-grinder
TERMUX_PKG_DESCRIPTION="Slice and dice logs on the command line"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.17.0
TERMUX_PKG_VERSION=0.18.0
TERMUX_PKG_SRCURL="https://github.com/rcoh/angle-grinder/archive/v$TERMUX_PKG_VERSION.tar.gz"
TERMUX_PKG_SHA256=5a2054ba9eb5fcee1fef2d5fbbf1735e71bc563fc7b273890097f63297e64bf4
TERMUX_PKG_SHA256=7a282d9eff88bb2e224b02d80b887de92286e451abf8a193248d30136d08f4e0
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
+4 -5
View File
@@ -1,11 +1,10 @@
TERMUX_PKG_HOMEPAGE=http://ant.apache.org/
TERMUX_PKG_DESCRIPTION="Java based build tool like make"
TERMUX_PKG_VERSION=1.10.11
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=http://apache.mirrors.spacedump.net//ant/binaries/apache-ant-${TERMUX_PKG_VERSION}-bin.tar.bz2
TERMUX_PKG_SHA256=ffc6c9eb2d153db76e18df70fa145744ddd0d754339df5a797a47603cfeaa8a6
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.10.12
TERMUX_PKG_SRCURL=http://apache.mirrors.spacedump.net//ant/binaries/apache-ant-${TERMUX_PKG_VERSION}-bin.tar.bz2
TERMUX_PKG_SHA256=276ea73f267a5b1a58f02e2eb5ef594a9b2885e33afb05ef995251d4d18377a6
TERMUX_PKG_DEPENDS="openjdk-17"
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_BUILD_IN_SRC=true
@@ -18,5 +17,5 @@ termux_step_make_install() {
rm -rf $TERMUX_PREFIX/opt/ant
mkdir -p $TERMUX_PREFIX/opt/ant
cp -r ./* $TERMUX_PREFIX/opt/ant
ln -sfr $TERMUX_PREFIX/opt/ant/bin/ant $PREFIX/bin/ant
ln -sfr $TERMUX_PREFIX/opt/ant/bin/ant $TERMUX_PREFIX/bin/ant
}
+2 -2
View File
@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://httpd.apache.org
TERMUX_PKG_DESCRIPTION="Apache Web Server"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1:2.4.50
TERMUX_PKG_VERSION=1:2.4.51
TERMUX_PKG_SRCURL=https://www.apache.org/dist/httpd/httpd-${TERMUX_PKG_VERSION:2}.tar.bz2
TERMUX_PKG_SHA256=6a2817c070c606682eb53ed963511407d3c3d7a379cdf855971467b00fb3890f
TERMUX_PKG_SHA256=20e01d81fecf077690a4439e3969a9b22a09a8d43c525356e863407741b838f4
TERMUX_PKG_DEPENDS="apr, apr-util, pcre, openssl, libcrypt, libandroid-support, libnghttp2, libexpat, libuuid, zlib"
TERMUX_PKG_BREAKS="apache2-dev"
TERMUX_PKG_REPLACES="apache2-dev"
+3 -2
View File
@@ -2,9 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://packages.debian.org/apt
TERMUX_PKG_DESCRIPTION="Front-end for the dpkg package manager"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.3.9
TERMUX_PKG_VERSION=2.3.11
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://deb.debian.org/debian/pool/main/a/apt/apt_${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=28597fe803a652f55f618dd7a44bd2fb2712dbd91c258dfa5981cb75356291e3
TERMUX_PKG_SHA256=cc0c5b24240176e333b11bce1a7ac528ae263317d137ceeebad3ec2d8682cb91
# apt-key requires utilities from coreutils, findutils, gpgv, grep, sed.
TERMUX_PKG_DEPENDS="coreutils, dpkg, findutils, gpgv, grep, libandroid-glob, libbz2, libc++, libcurl, libgnutls, liblz4, liblzma, sed, termux-licenses, xxhash, zlib"
TERMUX_PKG_BUILD_DEPENDS="docbook-xsl"
+1 -1
View File
@@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Download utility supporting HTTP/HTTPS, FTP, BitTorrent
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.36.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/aria2/aria2/releases/download/release-${TERMUX_PKG_VERSION}/aria2-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=58d1e7608c12404f0229a3d9a4953d0d00c18040504498b483305bcb3de907a5
TERMUX_PKG_AUTO_UPDATE=true
+1
View File
@@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Text document format for short documents, articles, book
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=9.1.1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/asciidoc/asciidoc-py3/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=914dfc1542c30bd47faa0aaaae0985cb57d0ca584015729ccd1b94d90da3a616
TERMUX_PKG_AUTO_UPDATE=true
@@ -5,7 +5,7 @@ diff -u -r ../asciinema-2.0.2/asciinema/__main__.py ./asciinema/__main__.py
def main():
- if locale.nl_langinfo(locale.CODESET).upper() not in ['US-ASCII', 'UTF-8']:
- if locale.nl_langinfo(locale.CODESET).upper() not in ['US-ASCII', 'UTF-8', 'UTF8']:
- print("asciinema needs an ASCII or UTF-8 character encoding to run. Check the output of `locale` command.")
- sys.exit(1)
-
+3 -4
View File
@@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://asciinema.org/
TERMUX_PKG_DESCRIPTION="Record and share your terminal sessions, the right way"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.0.2
TERMUX_PKG_REVISION=5
TERMUX_PKG_VERSION=2.1.0
TERMUX_PKG_SRCURL=https://github.com/asciinema/asciinema/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=2578a1b5611e5375771ef6582a6533ef8d40cdbed1ba1c87786fd23af625ab68
TERMUX_PKG_SHA256=f4f4a04ab891dd513c99f72527c83fa9e634e858f2744a17e80258b90a6bf409
TERMUX_PKG_AUTO_UPDATE=true
# ncurses-utils for tput which asciinema uses:
TERMUX_PKG_DEPENDS="python, ncurses-utils"
@@ -13,7 +12,7 @@ TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_HAS_DEBUG=false
_PYTHON_VERSION=3.9
_PYTHON_VERSION=3.10
TERMUX_PKG_RM_AFTER_INSTALL="
lib/python${_PYTHON_VERSION}/site-packages/easy-install.pth
+3
View File
@@ -3,5 +3,8 @@ TERMUX_PKG_DESCRIPTION="A free and open source spell checker designed to replace
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.60.8
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://ftp.gnu.org/gnu/aspell/aspell-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=f9b77e515334a751b2e60daab5db23499e26c9209f5e7b7443b05235ad0226f2
# To use the same compiled dictionaries on every platform:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-32-bit-hash-fun"
+1 -1
View File
@@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Library to import various well-known 3D model formats in
TERMUX_PKG_LICENSE="BSD"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=5.0.1
TERMUX_PKG_REVISION=5
TERMUX_PKG_REVISION=6
TERMUX_PKG_SRCURL=https://github.com/assimp/assimp/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=11310ec1f2ad2cd46b95ba88faca8f7aaa1efe9aa12605c55e3de2b977b3dbfc
TERMUX_PKG_AUTO_UPDATE=true
+1
View File
@@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Read, parse and set metadata of MPEG-4 and 3gp files"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1:20210715.151551.e7ad03a
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/wez/atomicparsley/archive/${TERMUX_PKG_VERSION:2}.tar.gz
TERMUX_PKG_SHA256=546dcb5f3b625aff4f6bf22d27a0a636d15854fd729402a6933d31f3d0417e0d
TERMUX_PKG_AUTO_UPDATE=true
+2 -2
View File
@@ -1,9 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://debugmo.de/2009/04/bgrep-a-binary-grep/
TERMUX_PKG_DESCRIPTION="Binary string grep tool"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Rabby Sheikh @xploitednoob"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://github.com/rsharo/bgrep/archive/bgrep-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=ba5ddae672e84bf2d8ce91429a4ce8a5e3a154ee7e64d1016420f7dc7481ec0a
TERMUX_PKG_AUTO_UPDATE=true
+1 -1
View File
@@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Collection of binary tools, the main ones being ld, the
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.37
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/binutils/binutils-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=820d9724f020a3e69cb337893a0b63c2db161dadcb0e06fc11dc29eb1e84a32c
TERMUX_PKG_DEPENDS="libc++, zlib"
+23
View File
@@ -0,0 +1,23 @@
--- ./gold/ffsll.c.orig 2020-12-25 18:14:59.949086305 +0000
+++ ./gold/ffsll.c 2020-12-25 19:16:32.733522188 +0000
@@ -29,20 +29,3 @@
/* This file implements ffsll for systems which don't have it. We use
ffsll if possible because gcc supports it as a builtin which will
use a machine instruction if there is one. */
-
-int
-ffsll (long long arg)
-{
- unsigned long long i;
- int ret;
-
- if (arg == 0)
- ret = 0;
- else
- {
- ret = 1;
- for (i = (unsigned long long) arg; (i & 1) == 0; i >>= 1)
- ++ret;
- }
- return ret;
-}
+2 -1
View File
@@ -1,8 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://github.com/StackExchange/blackbox
TERMUX_PKG_DESCRIPTION="Safely store secrets in Git/Mercurial/Subversion"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="Rabby Sheikh @xploitednoob"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.0.0
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/StackExchange/blackbox/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=0a8fee39dc46436472528ea3a5743c42ebefc068519545fe6fca57041f42deae
TERMUX_PKG_DEPENDS="gnupg"
+1
View File
@@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Open-source software for volunteer computing"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=7.16.16
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/BOINC/boinc/archive/client_release/${TERMUX_PKG_VERSION:0:4}/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=0d5656a9f8ed1048936a5764270848b892d63f27bdb863d0ace447f1eaae6002
TERMUX_PKG_DEPENDS="libandroid-shmem, libc++, libcurl, openssl, zlib"
+5 -4
View File
@@ -2,15 +2,16 @@ TERMUX_PKG_HOMEPAGE=https://boost.org
TERMUX_PKG_DESCRIPTION="Free peer-reviewed portable C++ source libraries"
TERMUX_PKG_LICENSE="BSL-1.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.75.0
TERMUX_PKG_REVISION=2
TERMUX_PKG_VERSION=1.77.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://boostorg.jfrog.io/artifactory/main/release/$TERMUX_PKG_VERSION/source/boost_${TERMUX_PKG_VERSION//./_}.tar.bz2
TERMUX_PKG_SHA256=953db31e016db7bb207f11432bef7df100516eeb746843fa0486a222e3fd49cb
TERMUX_PKG_SHA256=fc9f85fc030e233142908241af7a846e60630aa7388de9a5fafb1f3a26840854
TERMUX_PKG_DEPENDS="libc++, libbz2, libiconv, liblzma, zlib"
TERMUX_PKG_BUILD_DEPENDS="python"
TERMUX_PKG_BREAKS="libboost-python (<= 1.65.1-2), boost-dev"
TERMUX_PKG_REPLACES="libboost-python (<= 1.65.1-2), boost-dev"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DBOOST_FILESYSTEM_DISABLE_STATX=ON"
termux_step_pre_configure() {
# Certain packages are not safe to build on device because their
@@ -28,7 +29,7 @@ termux_step_make_install() {
CC= CXX= LDFLAGS= CXXFLAGS= ./bootstrap.sh
echo "using clang : $TERMUX_ARCH : $CXX : <linkflags>-L$TERMUX_PREFIX/lib ; " >> project-config.jam
echo "using python : 3.9 : $TERMUX_PREFIX/bin/python3 : $TERMUX_PREFIX/include/python3.9 : $TERMUX_PREFIX/lib ;" >> project-config.jam
echo "using python : 3.10 : $TERMUX_PREFIX/bin/python3 : $TERMUX_PREFIX/include/python3.10 : $TERMUX_PREFIX/lib ;" >> project-config.jam
if [ "$TERMUX_ARCH" = arm ] || [ "$TERMUX_ARCH" = aarch64 ]; then
BOOSTARCH=arm
-12
View File
@@ -1,12 +0,0 @@
diff -uNr boost_1_75_0/libs/filesystem/build/Jamfile.v2 boost_1_75_0.mod/libs/filesystem/build/Jamfile.v2
--- boost_1_75_0/libs/filesystem/build/Jamfile.v2 2020-12-03 07:01:22.000000000 +0200
+++ boost_1_75_0.mod/libs/filesystem/build/Jamfile.v2 2021-02-08 14:38:18.980601879 +0200
@@ -53,8 +53,6 @@
[ check-target-builds ../config//has_stat_st_birthtim "has stat::st_birthtim" : <define>BOOST_FILESYSTEM_HAS_STAT_ST_BIRTHTIM ]
[ check-target-builds ../config//has_stat_st_birthtimensec "has stat::st_birthtimensec" : <define>BOOST_FILESYSTEM_HAS_STAT_ST_BIRTHTIMENSEC ]
[ check-target-builds ../config//has_stat_st_birthtimespec "has stat::st_birthtimespec" : <define>BOOST_FILESYSTEM_HAS_STAT_ST_BIRTHTIMESPEC ]
- [ check-target-builds ../config//has_statx "has statx" : <define>BOOST_FILESYSTEM_HAS_STATX ]
- [ check-target-builds ../config//has_statx_syscall "has statx syscall" : <define>BOOST_FILESYSTEM_HAS_STATX_SYSCALL ]
<conditional>@select-windows-crypto-api
: source-location ../src
: usage-requirements # pass these requirement to dependents (i.e. users)
+2 -2
View File
@@ -3,14 +3,14 @@ TERMUX_PKG_DESCRIPTION="Deduplicating and compressing backup program"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.1.17
TERMUX_PKG_REVISION=2
TERMUX_PKG_REVISION=4
TERMUX_PKG_SRCURL=https://github.com/borgbackup/borg/releases/download/${TERMUX_PKG_VERSION}/borgbackup-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=7ab924fc017b24929bedceba0dcce16d56f9868bf9b5050d2aae2eb080671674
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="libacl, liblz4, openssl, python, zstd"
TERMUX_PKG_BUILD_IN_SRC=true
_PYTHON_VERSION=3.9
_PYTHON_VERSION=3.10
TERMUX_PKG_RM_AFTER_INSTALL="
lib/python${_PYTHON_VERSION}/site-packages/easy-install.pth
-8
View File
@@ -83,14 +83,6 @@ index 87e93d25..5ca79af2 100644
}
ext_modules = []
@@ -882,7 +875,6 @@ def run(self):
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
- 'Programming Language :: Python :: 3.10',
'Topic :: Security :: Cryptography',
'Topic :: System :: Archiving :: Backup',
],
diff --git a/src/borg/__init__.py b/src/borg/__init__.py
index 9f13c7d6..47adb1b6 100644
--- a/src/borg/__init__.py
+16 -5
View File
@@ -1,7 +1,6 @@
diff -uNr busybox-1.31.1/Makefile busybox-1.31.1.mod/Makefile
--- busybox-1.31.1/Makefile 2019-10-25 11:44:52.000000000 +0300
+++ busybox-1.31.1.mod/Makefile 2019-11-11 22:19:06.004778909 +0200
@@ -289,7 +289,7 @@
--- ./Makefile.orig 2021-08-19 16:48:15.223628163 +0200
+++ ./Makefile 2021-08-19 16:47:29.456942514 +0200
@@ -289,14 +289,14 @@
# Make variables (CC, etc...)
AS = $(CROSS_COMPILE)as
@@ -9,4 +8,16 @@ diff -uNr busybox-1.31.1/Makefile busybox-1.31.1.mod/Makefile
+CC = $(CROSS_COMPILE)clang
LD = $(CC) -nostdlib
CPP = $(CC) -E
AR = $(CROSS_COMPILE)ar
-AR = $(CROSS_COMPILE)ar
-NM = $(CROSS_COMPILE)nm
-STRIP = $(CROSS_COMPILE)strip
-OBJCOPY = $(CROSS_COMPILE)objcopy
-OBJDUMP = $(CROSS_COMPILE)objdump
+AR = llvm-ar
+NM = llvm-nm
+STRIP = llvm-strip
+OBJCOPY = llvm-objcopy
+OBJDUMP = llvm-objdump
PKG_CONFIG ?= $(CROSS_COMPILE)pkg-config
AWK = awk
GENKSYMS = scripts/genksyms/genksyms
+3 -3
View File
@@ -1,6 +1,6 @@
--- ../Makefile.flags.orig 2020-07-20 19:17:12.263392471 +0000
+++ ./Makefile.flags 2020-07-20 19:17:22.988106865 +0000
@@ -150,9 +150,9 @@
--- ./Makefile.flags.orig 2021-01-01 11:52:27.000000000 +0100
+++ ./Makefile.flags 2021-08-19 16:49:06.743647568 +0200
@@ -151,9 +151,9 @@
# fall back to using a temp file:
CRYPT_AVAILABLE := $(shell echo 'int main(void){return 0;}' >crypttest.c; $(CC) $(CFLAGS) -lcrypt -o /dev/null crypttest.c >/dev/null 2>&1 && echo "y"; rm crypttest.c)
ifeq ($(CRYPT_AVAILABLE),y)
@@ -1,7 +1,6 @@
diff -uNr busybox-1.31.1/networking/ftpd.c busybox-1.31.1.mod/networking/ftpd.c
--- busybox-1.31.1/networking/ftpd.c 2019-06-10 13:50:53.000000000 +0300
+++ busybox-1.31.1.mod/networking/ftpd.c 2019-11-11 22:26:50.216912741 +0200
@@ -1301,8 +1301,11 @@
--- ./networking/ftpd.c.orig 2021-08-19 16:49:06.730314230 +0200
+++ ./networking/ftpd.c 2021-08-19 16:49:06.753647572 +0200
@@ -1302,8 +1302,11 @@
G.root_fd = xopen("/", O_RDONLY | O_DIRECTORY);
close_on_exec_on(G.root_fd);
#endif
@@ -1,7 +1,6 @@
diff -uNr busybox-1.31.1/networking/httpd.c busybox-1.31.1.mod/networking/httpd.c
--- busybox-1.31.1/networking/httpd.c 2019-11-11 21:31:58.406733857 +0200
+++ busybox-1.31.1.mod/networking/httpd.c 2019-11-11 22:29:16.534250966 +0200
@@ -232,7 +232,7 @@
--- ./networking/httpd.c.orig 2021-08-19 16:49:06.730314230 +0200
+++ ./networking/httpd.c 2021-08-19 16:49:06.756980906 +0200
@@ -270,7 +270,7 @@
//usage: "\n -i Inetd mode"
//usage: "\n -f Don't daemonize"
//usage: "\n -v[v] Verbose"
@@ -10,8 +9,8 @@ diff -uNr busybox-1.31.1/networking/httpd.c busybox-1.31.1.mod/networking/httpd.
//usage: IF_FEATURE_HTTPD_SETUID(
//usage: "\n -u USER[:GRP] Set uid/gid after binding to port")
//usage: IF_FEATURE_HTTPD_BASIC_AUTH(
@@ -488,7 +488,7 @@
asm volatile("":::"memory"); \
@@ -538,7 +538,7 @@
SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
IF_FEATURE_HTTPD_BASIC_AUTH(g_realm = "Web Server Authentication";) \
IF_FEATURE_HTTPD_RANGES(range_start = -1;) \
- bind_addr_or_port = "80"; \
@@ -19,7 +18,7 @@ diff -uNr busybox-1.31.1/networking/httpd.c busybox-1.31.1.mod/networking/httpd.
index_page = index_html; \
file_size = -1; \
} while (0)
@@ -1004,7 +1004,7 @@
@@ -1030,7 +1030,7 @@
if (!errno && n && n <= 0xffff)
n = create_and_bind_stream_or_die(NULL, n);
else
@@ -28,7 +27,7 @@ diff -uNr busybox-1.31.1/networking/httpd.c busybox-1.31.1.mod/networking/httpd.
xlisten(n, 9);
return n;
}
@@ -2209,7 +2209,7 @@
@@ -2279,7 +2279,7 @@
if (proxy_entry) {
if (verbose > 1)
bb_error_msg("proxy:%s", urlcopy);
@@ -0,0 +1,15 @@
--- ./networking/tftp.c.orig 2021-01-01 11:52:27.000000000 +0100
+++ ./networking/tftp.c 2021-08-19 16:49:06.763647575 +0200
@@ -917,7 +917,12 @@
G.pw = xgetpwnam(user_opt);
}
if (argv[0]) {
+#ifdef __ANDROID__
+ // chroot may trigger seccomp and is allowed only for root anyway.
+ xchdir(argv[0]);
+#else
xchroot(argv[0]);
+#endif
}
result = recv_from_to(STDIN_FILENO,
@@ -1,16 +0,0 @@
diff -uNr busybox-1.31.1/networking/tftp.c busybox-1.31.1.mod/networking/tftp.c
--- busybox-1.31.1/networking/tftp.c 2019-06-10 13:50:53.000000000 +0300
+++ busybox-1.31.1.mod/networking/tftp.c 2019-11-11 22:36:27.592894669 +0200
@@ -907,7 +907,12 @@
G.pw = xgetpwnam(user_opt);
}
if (argv[0]) {
+#ifdef __ANDROID__
+ // chroot may trigger seccomp and is allowed only for root anyway.
+ xchdir(argv[0]);
+#else
xchroot(argv[0]);
+#endif
}
result = recv_from_to(STDIN_FILENO,
+4 -4
View File
@@ -3,15 +3,15 @@ TERMUX_PKG_DESCRIPTION="Tiny versions of many common UNIX utilities into a singl
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.33.1
TERMUX_PKG_REVISION=3
TERMUX_PKG_REVISION=6
TERMUX_PKG_SRCURL=https://busybox.net/downloads/busybox-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=12cec6bd2b16d8a9446dd16130f2b92982f1819f6e1c5f5887b6db03f5660d28
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_SERVICE_SCRIPT=(
"telnetd" 'exec busybox telnetd -F'
"ftpd" 'exec busybox tcpsvd -vE 0.0.0.0 8021 busybox ftpd -w $HOME'
"busybox-httpd" 'exec busybox httpd -f -p 0.0.0.0:8080 -h $PREFIX/srv/www/ 2>&1'
"ftpd" "exec busybox tcpsvd -vE 0.0.0.0 8021 busybox ftpd -w $TERMUX_ANDROID_HOME"
"busybox-httpd" "exec busybox httpd -f -p 0.0.0.0:8080 -h $TERMUX_PREFIX/srv/www/ 2>&1"
)
termux_step_pre_configure() {
@@ -40,7 +40,7 @@ termux_step_configure() {
termux_step_post_make_install() {
if $TERMUX_DEBUG_BUILD; then
install -Dm700 busybox_unstripped $PREFIX/bin/busybox
install -Dm700 busybox_unstripped $TERMUX_PREFIX/bin/busybox
fi
# Install busybox man page.
+6 -6
View File
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Busybox version: 1.33.1
# Tue May 4 14:51:31 2021
# Thu Aug 19 16:37:48 2021
#
CONFIG_HAVE_DOT_CONFIG=y
@@ -336,10 +336,10 @@ CONFIG_BASE64=y
CONFIG_UUENCODE=y
CONFIG_WC=y
CONFIG_FEATURE_WC_LARGE=y
CONFIG_WHOAMI=y
# CONFIG_WHO is not set
# CONFIG_W is not set
# CONFIG_USERS is not set
CONFIG_WHOAMI=y
CONFIG_YES=y
#
@@ -510,10 +510,10 @@ CONFIG_INIT_TERMINAL_TYPE=""
# CONFIG_USE_BB_SHADOW is not set
CONFIG_USE_BB_CRYPT=y
# CONFIG_USE_BB_CRYPT_SHA is not set
# CONFIG_ADD_SHELL is not set
# CONFIG_REMOVE_SHELL is not set
# CONFIG_ADDGROUP is not set
# CONFIG_FEATURE_ADDUSER_TO_GROUP is not set
# CONFIG_ADD_SHELL is not set
# CONFIG_REMOVE_SHELL is not set
# CONFIG_ADDUSER is not set
# CONFIG_FEATURE_CHECK_NAMES is not set
CONFIG_LAST_ID=0
@@ -772,10 +772,10 @@ CONFIG_CRONTAB=y
# CONFIG_FEATURE_DEVFS is not set
# CONFIG_DEVMEM is not set
# CONFIG_FBSPLASH is not set
# CONFIG_FLASHCP is not set
# CONFIG_FLASH_ERASEALL is not set
# CONFIG_FLASH_LOCK is not set
# CONFIG_FLASH_UNLOCK is not set
# CONFIG_FLASHCP is not set
# CONFIG_HDPARM is not set
# CONFIG_FEATURE_HDPARM_GET_IDENTITY is not set
# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set
@@ -825,13 +825,13 @@ CONFIG_STRINGS=y
CONFIG_TIME=y
# CONFIG_TS is not set
CONFIG_TTYSIZE=y
# CONFIG_UBIRENAME is not set
# CONFIG_UBIATTACH is not set
# CONFIG_UBIDETACH is not set
# CONFIG_UBIMKVOL is not set
# CONFIG_UBIRMVOL is not set
# CONFIG_UBIRSVOL is not set
# CONFIG_UBIUPDATEVOL is not set
# CONFIG_UBIRENAME is not set
# CONFIG_VOLNAME is not set
# CONFIG_WATCHDOG is not set
+2 -1
View File
@@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Common CA certificates"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=20211001
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://curl.se/ca/cacert.pem
# If the checksum has changed, it may be time to update the package version:
TERMUX_PKG_SHA256=f524fc21859b776e18df01a87880efa198112214e13494275dbcbd9bcb71d976
@@ -27,7 +28,7 @@ termux_step_make_install() {
$KEYUTIL_JAR \
18f1d2c82839d84949b1ad015343c509e81ef678c24db6112acc6c0761314610
local JAVA_KEYSTORE_DIR=$PREFIX/lib/jvm/openjdk-9/lib/security
local JAVA_KEYSTORE_DIR=$TERMUX_PREFIX/opt/openjdk-17/lib/security
mkdir -p $JAVA_KEYSTORE_DIR
java -jar $KEYUTIL_JAR \
+3 -1
View File
@@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Arbitrary precision console calculator"
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.13.0.1
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/lcn2/calc/releases/download/v$TERMUX_PKG_VERSION/calc-$TERMUX_PKG_VERSION.tar.bz2
TERMUX_PKG_SHA256=6ae538f57785c5701a70112ccf007ab5553abd332ae2deaadaf564f401c734ad
TERMUX_PKG_AUTO_UPDATE=true
@@ -14,7 +15,8 @@ termux_step_make() {
make USE_READLINE="-DUSE_READLINE" READLINE_EXTRAS="-lhistory -lncurses" \
READLINE_LIB="-L$TERMUX_PREFIX/lib -lreadline" \
READLINE_INCLUDE="-I$TERMUX_PREFIX/include" \
DEFAULT_LIB_INSTALL_PATH="$TERMUX_PREFIX/lib" CC="$CC" -j1
DEFAULT_LIB_INSTALL_PATH="$TERMUX_PREFIX/lib" CC="$CC" -j1 \
LONG_BITS=$TERMUX_ARCH_BITS
}
termux_step_make_install() {
+1 -1
View File
@@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="calcurse is a calendar and scheduling application for th
TERMUX_PKG_LICENSE="BSD 2-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=4.7.1
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://calcurse.org/files/calcurse-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=0a7c55d07674569d166c0b0e7587b2972d3da8160cdb7d60b1dbd2895803afb0
TERMUX_PKG_DEPENDS="libandroid-support, ncurses"
+18
View File
@@ -0,0 +1,18 @@
TERMUX_PKG_HOMEPAGE=https://github.com/MaskRay/ccls
TERMUX_PKG_DESCRIPTION="C/C++/ObjC language server"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.20210330
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/MaskRay/ccls/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=28c228f49dfc0f23cb5d581b7de35792648f32c39f4ca35f68ff8c9cb5ce56c2
TERMUX_PKG_DEPENDS="libllvm"
TERMUX_PKG_BUILD_DEPENDS="rapidjson, libllvm-static"
termux_step_pre_configure() {
touch $TERMUX_PREFIX/bin/{clang-import-test,clang-offload-wrapper}
}
termux_step_post_make_install() {
rm $TERMUX_PREFIX/bin/{clang-import-test,clang-offload-wrapper}
}
+2 -2
View File
@@ -1,9 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://cfengine.com/
TERMUX_PKG_DESCRIPTION="CFEngine is a configuration management technology."
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@cfengine"
TERMUX_PKG_MAINTAINER="@craigcomstock"
TERMUX_PKG_VERSION=1:3.18.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=(https://github.com/cfengine/core/archive/${TERMUX_PKG_VERSION:2}.zip
https://github.com/cfengine/masterfiles/archive/12b52c25e03439341aa7a6a5c7917efa06826f8d.zip
https://github.com/cfengine/libntech/archive/118d6e4bf5ae2611236fe3883b422d50f10da45c.zip)
+1
View File
@@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="A lightweight curses (terminal-based) interface to the G
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.7.1
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://cgdb.me/files/cgdb-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=bb723be58ec68cb59a598b8e24a31d10ef31e0e9c277a4de07b2f457fe7de198
TERMUX_PKG_DEPENDS="libc++, ncurses, readline, gdb"
+2 -1
View File
@@ -1,8 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://libcheck.github.io/check
TERMUX_PKG_DESCRIPTION="A unit testing framework for C"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Rabby Sheikh @xploitednoob"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.15.2
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/libcheck/check/releases/download/${TERMUX_PKG_VERSION}/check-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=a8de4e0bacfb4d76dd1c618ded263523b53b85d92a146d8835eb1a52932fa20a
TERMUX_PKG_AUTO_UPDATE=true
+2 -2
View File
@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://chezmoi.io
TERMUX_PKG_DESCRIPTION="Manage your dotfiles across multiple machines"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="Henrik Grimler @Grimler91"
TERMUX_PKG_VERSION=2.6.1
TERMUX_PKG_VERSION=2.7.3
TERMUX_PKG_SRCURL=https://github.com/twpayne/chezmoi/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=9703edbe369a498feb82173bda6400f23b7d1624154f84aa0beccf19462f082f
TERMUX_PKG_SHA256=a9dbaa9bd55f1c1e1c82c7ae5b7b1933f907703d5bd9976b2c14321b8c1e0d90
TERMUX_PKG_AUTO_UPDATE=true
termux_step_make() {
+1
View File
@@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Anti-virus toolkit for Unix"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
TERMUX_PKG_VERSION=0.103.3
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://www.clamav.net/downloads/production/clamav-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=9f6e3d18449f3d1a3992771d696685249dfa12736fe2b2929858f2c7d8276ae9
TERMUX_PKG_DEPENDS="json-c, libandroid-support, libbz2, libc++, libcurl, libltdl, liblzma, libxml2, openssl, pcre2, zlib"
+1 -1
View File
@@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="A rule-based tunnel in Go."
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="Philipp Schmitt <philipp@schmitt.co>"
TERMUX_PKG_VERSION=1.7.1
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL="https://github.com/Dreamacro/clash/archive/v${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256=18c2ef10df608392435a1277d3f2e256c65bec3662bf0a6c325f02be6deb4fce
TERMUX_PKG_BUILD_IN_SRC=true
+1
View File
@@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="A tool which profiles OpenCL devices to find their peak
TERMUX_PKG_LICENSE="Unlicense"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.1.0
TERMUX_PKG_REVISION=2
_COMMIT=0777205be1d5681d5a76d46ec94588544e8462a5
TERMUX_PKG_SRCURL=https://github.com/krrishnarraj/clpeak.git
TERMUX_PKG_GIT_BRANCH=master
+1
View File
@@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Experimental implementation of OpenCL on Vulkan"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.0.20210829
TERMUX_PKG_REVISION=1
_COMMIT=2797e13ee3b03cbc97bc2afa3e99fc35d6a0c831
TERMUX_PKG_SRCURL=https://github.com/kpet/clvk.git
TERMUX_PKG_GIT_BRANCH=master
+1
View File
@@ -4,6 +4,7 @@ TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
# When updating version here, please update termux_setup_cmake.sh as well.
TERMUX_PKG_VERSION=3.21.3
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://www.cmake.org/files/v${TERMUX_PKG_VERSION:0:4}/cmake-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=d14d06df4265134ee42c4d50f5a60cb8b471b7b6a47da8e5d914d49dd783794f
TERMUX_PKG_DEPENDS="libarchive, libc++, libcurl, libexpat, jsoncpp, libuv, rhash, make, clang, zlib"
+2 -2
View File
@@ -2,6 +2,6 @@ TERMUX_PKG_HOMEPAGE=https://github.com/termux/command-not-found
TERMUX_PKG_DESCRIPTION="Suggest installation of packages in interactive shell sessions"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.63
TERMUX_PKG_VERSION=1.65
TERMUX_PKG_SRCURL=https://github.com/termux/command-not-found/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=1542113d3e831070f4a0aad790a222379a5c4a5877acc4020d3f329435c930ab
TERMUX_PKG_SHA256=1c6a46340840c3508c60a757b8278e857fc7645807248f656bbdd11395858476
+2 -3
View File
@@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/coreutils/
TERMUX_PKG_DESCRIPTION="Basic file, shell and text manipulation utilities from the GNU project"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=8.32
TERMUX_PKG_REVISION=8
TERMUX_PKG_VERSION=9.0
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/coreutils/coreutils-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=4458d8de7849df44ccab15e16b1548b285224dbba5f08fac070c1c0e0bcc4cfa
TERMUX_PKG_SHA256=ce30acdf4a41bc5bb30dd955e9eaa75fa216b4e3deb08889ed32433c7b3b97ce
TERMUX_PKG_DEPENDS="libandroid-support, libgmp, libiconv"
TERMUX_PKG_BREAKS="chroot, busybox (<< 1.30.1-4)"
TERMUX_PKG_REPLACES="chroot, busybox (<< 1.30.1-4)"
-9
View File
@@ -11,12 +11,3 @@ diff -uNr coreutils-8.32/src/ls.c coreutils-8.32.mod/src/ls.c
while (true)
{
int oi = -1;
@@ -3018,7 +3021,7 @@
if (errno != EOVERFLOW)
break;
}
-#ifdef __linux__
+#if defined(__linux__) && !defined(__ANDROID__)
else if (! found_any_entries)
{
/* If readdir finds no directory entries at all, not even "." or
+9
View File
@@ -0,0 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://github.com/danmar/cppcheck
TERMUX_PKG_DESCRIPTION="tool for static C/C++ code analysis"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.5
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/danmar/cppcheck/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=dc27154d799935c96903dcc46653c526c6f4148a6912b77d3a50cb35dabd82e1
TERMUX_PKG_BLACKLISTED_ARCHES="i686"
+11
View File
@@ -0,0 +1,11 @@
--- cli/threadexecutor.cpp.orig 2019-11-08 23:29:10.428984535 +0000
+++ ./cli/threadexecutor.cpp 2019-11-08 23:29:51.245623336 +0000
@@ -143,7 +143,7 @@
bool ThreadExecutor::checkLoadAverage(size_t nchildren)
{
-#if defined(__CYGWIN__) || defined(__QNX__) // getloadavg() is unsupported on Cygwin, Qnx.
+#if defined(__CYGWIN__) || defined(__QNX__) || defined(__ANDROID__) // getloadavg() is unsupported on Cygwin, Qnx.
return true;
#else
if (!nchildren || !mSettings.loadAverage) {
+2 -2
View File
@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=http://dar.linux.free.fr/
TERMUX_PKG_DESCRIPTION="A full featured command-line backup tool, short for Disk ARchive"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.7.1
TERMUX_PKG_VERSION=2.7.2
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/dar/dar/${TERMUX_PKG_VERSION}/dar-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=76dade8adbeb817ffc78bf592c8200487ab5650234cf539539a9cbc5d346beef
TERMUX_PKG_SHA256=973fa977c19b32b1f9ecb62153c810ba8696f644eca048f214c77ad0e8eca255
TERMUX_PKG_DEPENDS="attr, libbz2, libgcrypt, liblzma, liblzo, zlib"
TERMUX_PKG_BUILD_IN_SRC=true
+1
View File
@@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="GNU data recovery tool"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.25
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/ddrescue/ddrescue-${TERMUX_PKG_VERSION}.tar.lz
TERMUX_PKG_SHA256=ce538ebd26a09f45da67d3ad3f7431932428231ceec7a2d255f716fa231a1063
TERMUX_PKG_DEPENDS="libc++"
+1
View File
@@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Bootstrap a basic Debian system"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.0.124
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=http://http.debian.net/debian/pool/main/d/debootstrap/debootstrap_${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=7700e9864b29f166b26c54153ed8c275b46f4b9a60468bb607e019a64c16cd8f
TERMUX_PKG_DEPENDS="perl, proot, wget"
+3 -3
View File
@@ -15,7 +15,7 @@ diff -u -r ../debootstrap-1.0.108/debootstrap ./debootstrap
DEBOOTSTRAP_DIR=/debootstrap
else
- DEBOOTSTRAP_DIR=/usr/share/debootstrap
+ DEBOOTSTRAP_DIR=$PREFIX/share/debootstrap
+ DEBOOTSTRAP_DIR=@TERMUX_PREFIX@/share/debootstrap
fi
fi
@@ -24,11 +24,11 @@ diff -u -r ../debootstrap-1.0.108/debootstrap ./debootstrap
if in_path dpkg && \
dpkg --print-architecture >/dev/null 2>&1; then
- HOST_ARCH=$(/usr/bin/dpkg --print-architecture)
+ HOST_ARCH=$($PREFIX/bin/dpkg --print-architecture)
+ HOST_ARCH=$(@TERMUX_PREFIX@/bin/dpkg --print-architecture)
elif in_path udpkg && \
udpkg --print-architecture >/dev/null 2>&1; then
- HOST_ARCH=$(/usr/bin/udpkg --print-architecture)
+ HOST_ARCH=$($PREFIX/bin/udpkg --print-architecture)
+ HOST_ARCH=$(@TERMUX_PREFIX@/bin/udpkg --print-architecture)
elif [ -e "$DEBOOTSTRAP_DIR/arch" ]; then
HOST_ARCH=$(cat "$DEBOOTSTRAP_DIR/arch")
fi
+2 -2
View File
@@ -1,9 +1,9 @@
TERMUX_PKG_HOMEPAGE=http://dirb.sourceforge.net/
TERMUX_PKG_DESCRIPTION="Web Directory Fuzzer."
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Rabby Sheikh @xploitednoob"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.22
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://sourceforge.net/projects/dirb/files/dirb/${TERMUX_PKG_VERSION}/dirb${TERMUX_PKG_VERSION/./}.tar.gz
TERMUX_PKG_SHA256=f3748ade231ca211a01acbec31cc6a3b576f6c56c906d73329d7dbb79f60fc2c
TERMUX_PKG_DEPENDS="libcurl"
+12
View File
@@ -0,0 +1,12 @@
diff -uNr distcc/Makefile.in distcc.mod/Makefile.in
--- distcc/Makefile.in 2018-07-27 08:08:55.000000000 +0300
+++ distcc.mod/Makefile.in 2019-02-05 15:54:16.980606827 +0200
@@ -85,7 +85,7 @@
# directory names of possible locations for the installation to be
# checked. Change the value of this variable to @bindir@ to check the
# installation at the location determined by 'configure'.
-DISTCC_INSTALLATION = $(RESTRICTED_PATH)
+DISTCC_INSTALLATION = @bindir@
dist_files = \
src/config.h.in \
+21
View File
@@ -0,0 +1,21 @@
TERMUX_PKG_HOMEPAGE=http://distcc.org/
TERMUX_PKG_DESCRIPTION="Distributed C/C++ compiler."
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
TERMUX_PKG_VERSION=3.4
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/distcc/distcc/releases/download/v$TERMUX_PKG_VERSION/distcc-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=2b99edda9dad9dbf283933a02eace6de7423fe5650daa4a728c950e5cd37bd7d
TERMUX_PKG_DEPENDS="libpopt"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-pump-mode
--without-avahi
--without-gtk
--without-libiberty"
termux_step_pre_configure() {
./autogen.sh
export LIBS="-llog"
}
+13
View File
@@ -0,0 +1,13 @@
diff -uNr distcc/src/util.c distcc.mod/src/util.c
--- distcc/src/util.c 2018-07-27 08:08:55.000000000 +0300
+++ distcc.mod/src/util.c 2019-02-05 16:49:03.805286863 +0200
@@ -39,6 +39,9 @@
#include <sys/un.h>
#include <sys/socket.h>
+#include <linux/in.h>
+#include <linux/in6.h>
+
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif
+1
View File
@@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="dns2tcp is a tool for relaying TCP connections over DNS"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Marlin Sööse <marlin.soose@laro.se>"
TERMUX_PKG_VERSION=0.5.2
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/alex-sector/dns2tcp/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=4f6e0ed0f5a1aa079a4d377c6d2b16da8ddcffae7d1ddad1280c3e209ada410c
TERMUX_PKG_AUTO_UPDATE=true
+11
View File
@@ -0,0 +1,11 @@
--- ./common/includes/debug.h.orig 2021-08-19 17:33:25.204243470 +0200
+++ ./common/includes/debug.h 2021-08-19 17:33:31.160911682 +0200
@@ -24,7 +24,7 @@
#include <stdio.h>
#include <time.h>
-int debug;
+int debug __attribute__((common));
#ifndef _WIN32
#define DPRINTF(level, fmt, args...) \
+2 -1
View File
@@ -1,8 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://github.com/resurrecting-open-source-projects/dnsmap
TERMUX_PKG_DESCRIPTION="Subdomain Bruteforcing Tool"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Rabby Sheikh @xploitednoob"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.36
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/resurrecting-open-source-projects/dnsmap/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=f52d6d49cbf9a60f601c919f99457f108d51ecd011c63e669d58f38d50ad853c
TERMUX_PKG_AUTO_UPDATE=true
+11
View File
@@ -0,0 +1,11 @@
TERMUX_PKG_HOMEPAGE=https://dns.lookup.dog/
TERMUX_PKG_DESCRIPTION="A command-line DNS client."
TERMUX_PKG_LICENSE="EUPL-1.2"
TERMUX_PKG_LICENSE_FILE="LICENCE"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.1.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/ogham/dog/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=82387d38727bac7fcdb080970e84b36de80bfe7923ce83f993a77d9ac7847858
TERMUX_PKG_DEPENDS="openssl, resolv-conf"
TERMUX_PKG_BUILD_IN_SRC=true
+12
View File
@@ -0,0 +1,12 @@
diff -uNr dog-0.1.0/src/resolve.rs dog-0.1.0.mod/src/resolve.rs
--- dog-0.1.0/src/resolve.rs 2020-11-07 13:54:47.000000000 +0200
+++ dog-0.1.0.mod/src/resolve.rs 2021-10-15 19:11:54.059069719 +0300
@@ -42,7 +42,7 @@
use std::io::{BufRead, BufReader};
use std::fs::File;
- let f = File::open("/etc/resolv.conf")?;
+ let f = File::open("@TERMUX_PREFIX@/etc/resolv.conf")?;
let reader = BufReader::new(f);
let mut nameservers = Vec::new();

Some files were not shown because too many files have changed in this diff Show More