Showing preview only (4,165K chars total). Download the full file or copy to clipboard to get everything.
Repository: AndronixApp/termux-packages
Branch: master
Commit: c39b1d040990
Files: 2305
Total size: 3.6 MB
Directory structure:
gitextract_8s_13j_i/
├── .cirrus.yml
├── .github/
│ └── main.workflow
├── .gitignore
├── LICENSE.md
├── README.md
├── build-all.sh
├── build-package.sh
├── clean.sh
├── disabled-packages/
│ ├── abuild/
│ │ ├── Makefile.patch
│ │ ├── abuild-fetch.c.patch
│ │ ├── abuild-keygen.in.patch
│ │ ├── abuild-rmtemp.c.patch
│ │ ├── abuild-sign.in.patch
│ │ ├── abuild.conf.patch
│ │ ├── abuild.in.patch
│ │ ├── build.sh
│ │ ├── checkapk.in.patch
│ │ ├── functions.sh.in.patch
│ │ └── sample.APKBUILD.patch
│ ├── alsa-lib/
│ │ ├── alsa-conf-dir.patch
│ │ ├── build.sh
│ │ ├── pcm_direct.c.patch
│ │ ├── pcm_mmap.c.patch.old
│ │ └── versionsort.patch
│ ├── alsa-plugins/
│ │ ├── asound.conf
│ │ └── build.sh
│ ├── alsa-utils/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── volume_mapping.c.patch
│ ├── ant/
│ │ ├── ant
│ │ └── build.sh
│ ├── apk-tools/
│ │ ├── Make.rules.patch
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── libfetch-http.c.patch
│ │ ├── src-apk.c.patch
│ │ ├── src-archive.c.patch
│ │ ├── src-commit.c.patch
│ │ ├── src-database.c.patch
│ │ ├── src-io.c.patch
│ │ ├── src-package.c.patch
│ │ └── src-termux_prefix.h.patch
│ ├── apt-updated/
│ │ ├── CMakeLists.txt.patch
│ │ ├── apt-pkg-contrib-fileutl.patch
│ │ ├── apt-pkg-contrib-srvrec.cc.patch
│ │ ├── apt-pkg-contrib-strutl.cc.patch
│ │ ├── apt-pkg-deb-debrecords.cc.patch
│ │ ├── apt-pkg-init-dir.patch
│ │ ├── apt-private-private-download.cc.patch
│ │ ├── build.sh
│ │ ├── cmdline-apt-key.in.patch
│ │ ├── cmndline-no-strchrnul.patch
│ │ ├── debsrcrecords.patch
│ │ ├── methods-cmakelist.patch
│ │ ├── methods-connect.cc.patch
│ │ ├── private-output-no-langinfo.patch
│ │ ├── trusted.gpg
│ │ └── vendor.patch
│ ├── cadaver/
│ │ └── build.sh
│ ├── checkinstall/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── checkinstall.patch
│ │ ├── checkinstallrc-dist.patch
│ │ ├── installwatch-Makefile.patch
│ │ └── installwatch.c.patch
│ ├── clisp/
│ │ ├── build.sh
│ │ ├── src-gllib-stdint.in.h.patch
│ │ └── src-makefile.in.patch
│ ├── crawl/
│ │ └── build.sh
│ ├── cups/
│ │ ├── build.sh
│ │ ├── cups-thread.c.patch
│ │ ├── file.c.patch
│ │ └── lockf.cpp.patch
│ ├── d8/
│ │ ├── build.sh
│ │ └── d8
│ ├── deborphan/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── errno.patch
│ │ ├── src-Makefile.in.patch
│ │ ├── src-deborphan.c.patch
│ │ └── src-pkginfo.c.patch
│ ├── dovecot/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── src-lib-connection.h.patch
│ ├── easy-rsa/
│ │ └── build.sh
│ ├── ghc/
│ │ ├── bitcast.patch
│ │ ├── build.sh
│ │ ├── compiler-llvmGen-LlvmCodeGen-Ppr.hs.patch
│ │ ├── compiler-main-DriverPipeline.hs.patch
│ │ └── configure.patch
│ ├── groff/
│ │ └── build.sh
│ ├── gst-libav/
│ │ └── build.sh
│ ├── gst123/
│ │ └── build.sh
│ ├── guile/
│ │ └── build.sh
│ ├── javac/
│ │ ├── build.sh
│ │ └── javac
│ ├── libfakechroot/
│ │ └── build.sh
│ ├── libffi-updated/
│ │ └── build.sh
│ ├── libjemalloc/
│ │ └── build.sh
│ ├── libressl/
│ │ └── build.sh
│ ├── lrzsz/
│ │ ├── build.sh
│ │ └── src-Makefile.in.patch
│ ├── man-db/
│ │ └── build.sh
│ ├── mono/
│ │ ├── build.sh
│ │ ├── complex.h
│ │ ├── math_private.h
│ │ └── tkill.patch
│ ├── ocaml/
│ │ └── build.sh
│ ├── openjdk-9-jre-headless/
│ │ ├── build.sh
│ │ ├── build_ldflags.patch
│ │ ├── elfFile.hpp.patch
│ │ ├── generated-configure.sh.patch
│ │ ├── getgr_r.patch
│ │ ├── hotspot-jvm_home.patch
│ │ ├── jdk-java_home.patch
│ │ ├── libpthread.patch
│ │ ├── openjdk-9-jdk-headless.subpackage.sh
│ │ ├── openjdk-9-source.subpackage.sh
│ │ ├── osName.patch
│ │ ├── os_linux_aarch64.cpp.patch
│ │ └── sendfile64.patch
│ ├── openvpn/
│ │ ├── build.sh
│ │ ├── configure.ac.patch.old
│ │ ├── netbsd_getpass.c
│ │ ├── src-openvpn-console_builtin.c.patch
│ │ ├── src-openvpn-tun.c.patch
│ │ └── termux-openvpn
│ ├── pacman/
│ │ ├── build.sh
│ │ ├── ensure-matching-database-and-package-version.patch
│ │ ├── makepkg.conf
│ │ ├── pacman.conf
│ │ └── pacman.patch
│ ├── pkgconf/
│ │ └── build.sh
│ ├── premake/
│ │ ├── build-gmake.unix-Premake4.make.patch
│ │ └── build.sh
│ ├── sbcl/
│ │ ├── build.sh
│ │ └── make-config.sh.patch
│ ├── sslscan/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── sslscan.c.patch
│ ├── tf/
│ │ └── build.sh
│ ├── toybox/
│ │ └── build.sh
│ └── unnethack/
│ ├── build.sh
│ ├── dat_town_wildcard.patch
│ └── dont_delete_makedefs.patch
├── generate-bootstraps.sh
├── ndk-patches/
│ ├── asm-generic-termbits.h.patch
│ ├── bits-struct_file.h.patch
│ ├── grp.h.patch
│ ├── ifaddrs.h
│ ├── langinfo.h
│ ├── langinfo.h.patch
│ ├── libintl.h
│ ├── linux-fcntl.h.patch
│ ├── paths.h.patch
│ ├── pwd.h.patch
│ ├── stdio.h.patch
│ ├── stdlib.h.patch
│ ├── sys-cdefs.h.patch
│ ├── sys-wait.h.patch
│ ├── syslog.patch
│ └── unistd.h.patch
├── packages/
│ ├── aapt/
│ │ ├── aapt-Main.cpp.patch.txt
│ │ ├── build.sh
│ │ ├── libbase-patch.txt
│ │ ├── libcutils-patch.txt
│ │ ├── libziparchive.patch.txt
│ │ └── log.h.patch.txt
│ ├── abduco/
│ │ └── build.sh
│ ├── abook/
│ │ ├── build.sh
│ │ ├── database.h.patch
│ │ └── filter.c.patch
│ ├── ack-grep/
│ │ └── build.sh
│ ├── acr/
│ │ ├── build.sh
│ │ └── no_dev-stderr.patch
│ ├── algernon/
│ │ ├── build.sh
│ │ └── fix-hardcoded-paths.patch
│ ├── alpine/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── env_unix.c.patch
│ │ ├── fdstring.c.patch
│ │ ├── imap-src-osdep-unix-Makefile.patch
│ │ ├── imapmkf.patch
│ │ ├── mlockmake.patch
│ │ ├── mtest.c.patch
│ │ ├── os_lnx.c.patch
│ │ ├── os_lnx.h.patch
│ │ ├── pine.conf
│ │ └── pw_stuff.c.patch
│ ├── antiword/
│ │ ├── Makefile.Linux.patch
│ │ ├── antiword.h.patch
│ │ └── build.sh
│ ├── apache2/
│ │ ├── Termux.layout
│ │ ├── build-instdso.sh.patch
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── apg/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── install-sh.patch
│ ├── apksigner/
│ │ └── build.sh
│ ├── apr/
│ │ ├── Makefile.in.patch
│ │ └── build.sh
│ ├── apr-util/
│ │ └── build.sh
│ ├── apt/
│ │ ├── 0000-cmake-fix.patch
│ │ ├── 0001-hardcoded-paths-fix.patch
│ │ ├── 0002-glob.patch
│ │ ├── 0003-langinfo-and-codeset.patch
│ │ ├── 0004-srv-records.patch
│ │ ├── 0005-http2-fix.patch
│ │ ├── 0006-apt-key-nonroot.patch
│ │ ├── 0007-termux-apt-vendor.patch
│ │ ├── 0008-apt-init.patch
│ │ ├── 0009-fix-macro-redefinition.patch
│ │ ├── 0010-prevent-usage-as-root.patch
│ │ ├── apt-ftparchive.subpackage.sh
│ │ ├── apt-transport-tor.subpackage.sh
│ │ ├── build.sh
│ │ ├── man/
│ │ │ ├── man5/
│ │ │ │ ├── apt.conf.5
│ │ │ │ ├── apt_preferences.5
│ │ │ │ └── sources.list.5
│ │ │ └── man8/
│ │ │ ├── apt-cache.8
│ │ │ ├── apt-config.8
│ │ │ ├── apt-get.8
│ │ │ ├── apt-key.8
│ │ │ ├── apt-mark.8
│ │ │ ├── apt-secure.8
│ │ │ └── apt.8
│ │ └── trusted.gpg
│ ├── aptly/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── argp/
│ │ ├── argp-fmtstream.h.patch
│ │ └── build.sh
│ ├── aria2/
│ │ └── build.sh
│ ├── arj/
│ │ ├── 001_arches_align.patch
│ │ ├── 002_no_remove_static_const.patch
│ │ ├── 003_64_bit_clean.patch
│ │ ├── 004_parallel_build.patch
│ │ ├── 005_use_system_strnlen.patch
│ │ ├── 006_use_safe_strcpy.patch
│ │ ├── build.sh
│ │ ├── doc_refer_robert_k_jung.patch
│ │ ├── gnu_build_fix.patch
│ │ ├── gnu_build_flags.patch
│ │ ├── gnu_build_pie.patch
│ │ ├── gnu_build_strip.patch
│ │ ├── hurd_no_fcntl_getlk.patch
│ │ ├── integr.patch
│ │ ├── mode.patch
│ │ ├── out-of-bounds-read.patch
│ │ ├── security-afl.patch
│ │ ├── security-traversal-dir.patch
│ │ ├── security-traversal-symlink.patch
│ │ ├── security_format.patch
│ │ ├── self_integrity_64bit.patch
│ │ └── z_cross_compile.patch
│ ├── asciidoc/
│ │ └── build.sh
│ ├── asciinema/
│ │ ├── asciinema-__main__.py.patch
│ │ └── build.sh
│ ├── assimp/
│ │ ├── build.sh
│ │ └── test-CMakeLists.txt.patch
│ ├── atomicparsley/
│ │ └── build.sh
│ ├── attr/
│ │ ├── build.sh
│ │ ├── tools-attr.c.patch
│ │ └── walk_tree.c.patch
│ ├── autoconf/
│ │ ├── General.pm.patch
│ │ └── build.sh
│ ├── automake/
│ │ └── build.sh
│ ├── autossh/
│ │ └── build.sh
│ ├── axel/
│ │ └── build.sh
│ ├── babl/
│ │ ├── babl-meson.build.patch
│ │ ├── build.sh
│ │ ├── tests-meson.build.patch
│ │ └── tools-meson.build.patch
│ ├── barcode/
│ │ └── build.sh
│ ├── bash/
│ │ ├── build.sh
│ │ ├── config-top.h.patch
│ │ ├── error.c.patch
│ │ ├── etc-bash.bashrc
│ │ ├── etc-profile
│ │ ├── lib-malloc-stats.c.patch
│ │ ├── lib-malloc-table.c.patch
│ │ ├── lib-malloc-trace.c.patch
│ │ ├── lib-readline-complete.c.patch
│ │ ├── lib-readline-rlconf.h.patch
│ │ ├── lib-readline-util.c.patch
│ │ ├── lib-sh-tmpfile.c.patch
│ │ ├── pathnames.h.in.patch
│ │ └── shell.c.patch
│ ├── bash-completion/
│ │ ├── build.sh
│ │ └── completions-man.patch
│ ├── bat/
│ │ └── build.sh
│ ├── bc/
│ │ └── build.sh
│ ├── beanshell/
│ │ └── build.sh
│ ├── binutils/
│ │ ├── binutils-gold.subpackage.sh
│ │ ├── binutils.patch
│ │ ├── build.sh
│ │ ├── dirsearch.cc.patch
│ │ ├── ld-emultempl-elf32.em.patch
│ │ ├── ldd
│ │ ├── native_lib_dirs.patch32
│ │ ├── native_lib_dirs.patch64
│ │ ├── options.cc.patch32
│ │ └── options.cc.patch64
│ ├── bison/
│ │ └── build.sh
│ ├── bitcoin/
│ │ ├── 0001-android-patches.patch
│ │ ├── build-aux-m4-ax_boost_thread.m4.patch
│ │ └── build.sh
│ ├── blogc/
│ │ ├── build.sh
│ │ └── termux-prefix.patch
│ ├── bmon/
│ │ ├── build.sh
│ │ └── config.h.patch
│ ├── boost/
│ │ ├── bootstrap.sh.patch
│ │ ├── build.sh
│ │ ├── python.jam.patch
│ │ └── tools-build-src-tools-common.jam.patch
│ ├── brotli/
│ │ ├── CMakeLists.txt.patch
│ │ └── build.sh
│ ├── build-essential/
│ │ └── build.sh
│ ├── busybox/
│ │ ├── 0000-use-clang.patch
│ │ ├── 0001-clang-fix.patch
│ │ ├── 0002-hardcoded-paths-fix.patch
│ │ ├── 0003-strchrnul-fix.patch
│ │ ├── 0004-missing-syscalls.patch
│ │ ├── 0005-no-change-identity.patch
│ │ ├── 0006-no-crypt.h.patch
│ │ ├── 0007-miscutils-crond.patch
│ │ ├── 0008-miscutils-crontab.patch
│ │ ├── 0009-networking-ftpd-no-chroot.patch
│ │ ├── 0010-networking-httpd-default-port.patch
│ │ ├── 0011-networking-telnetd-default-port.patch
│ │ ├── 0012-networking-tftp-no-chroot.patch
│ │ ├── build.sh
│ │ └── busybox.config
│ ├── bvi/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ ├── column_number_bugfix.patch
│ │ └── comm.c.patch
│ ├── byobu/
│ │ ├── build.sh
│ │ └── usr-bin-byobu.in.patch
│ ├── c-ares/
│ │ ├── build.sh
│ │ ├── disable-ares-android.patch
│ │ └── fix-path-etc-hosts.patch
│ ├── c-toxcore/
│ │ └── build.sh
│ ├── ca-certificates/
│ │ ├── build.sh
│ │ └── ca-certificates-java.subpackage.sh
│ ├── cabextract/
│ │ └── build.sh
│ ├── caddy/
│ │ └── build.sh
│ ├── calcurse/
│ │ ├── build.sh
│ │ ├── io.c.patch
│ │ ├── src-notify.c.patch
│ │ └── src-ui-calendar.c.patch
│ ├── capstone/
│ │ └── build.sh
│ ├── cava/
│ │ ├── Makefile.am.patch
│ │ ├── build.sh
│ │ ├── config.c.patch
│ │ └── configure.ac.patch
│ ├── cboard/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── libchess-pgn.c.patch
│ ├── ccache/
│ │ └── build.sh
│ ├── ccnet/
│ │ ├── build.sh
│ │ └── configure.ac.patch
│ ├── ccrypt/
│ │ └── build.sh
│ ├── cgdb/
│ │ ├── build.sh
│ │ └── cgdb.cpp.patch
│ ├── chromaprint/
│ │ └── build.sh
│ ├── clamav/
│ │ ├── build.sh
│ │ ├── clamd.conf.in
│ │ ├── configure.patch
│ │ ├── fix-hardcoded-paths.patch
│ │ ├── freshclam.conf.in
│ │ └── no-lutimes.patch
│ ├── cmake/
│ │ ├── Modules-CMakeDetermineSystem.cmake.patch
│ │ ├── Modules-Platform-Android-Clang.cmake.patch
│ │ ├── Modules-Platform-Android-Determine-Compiler.cmake.patch
│ │ ├── Modules-Platform-Android-Determine.cmake.patch
│ │ ├── Modules-Platform-Android-Initialize.cmake.patch
│ │ ├── Modules-Platform-Android.cmake.patch
│ │ ├── Source-CMakeLists.txt.patch
│ │ ├── Source-cmExecProgramCommand.cxx.patch
│ │ ├── Source-cmLocalUnixMakefileGenerator3.cxx.patch
│ │ ├── Source-cmStateSnapshot.cxx.patch
│ │ ├── build.sh
│ │ └── cmake-curses-gui.subpackage.sh
│ ├── cmark/
│ │ └── build.sh
│ ├── cmatrix/
│ │ └── build.sh
│ ├── cmus/
│ │ ├── build.sh
│ │ ├── checks.patch
│ │ └── configure.patch
│ ├── cmusfm/
│ │ └── build.sh
│ ├── codecrypt/
│ │ ├── autogen.sh.patch
│ │ ├── build.sh
│ │ └── getpass.patch
│ ├── colordiff/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── command-not-found/
│ │ └── build.sh
│ ├── coreutils/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── fix-paths.patch
│ │ ├── nohup.c.patch
│ │ ├── pwd.c.patch
│ │ ├── src-ls.c.patch
│ │ └── tests/
│ │ └── tails-c-flag.sh
│ ├── corkscrew/
│ │ ├── build.sh
│ │ └── corkscrew.1
│ ├── cowsay/
│ │ ├── build.sh
│ │ └── install.sh.patch
│ ├── cpio/
│ │ └── build.sh
│ ├── cppi/
│ │ └── build.sh
│ ├── crunch/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── cryptopp/
│ │ ├── build.sh
│ │ ├── cpu.cpp.patch
│ │ └── fix-lib-symlinks.patch
│ ├── cscope/
│ │ ├── build.sh
│ │ ├── errno.patch
│ │ └── src-main.c.patch
│ ├── ctags/
│ │ ├── build.sh
│ │ └── configure.ac.patch
│ ├── cvs/
│ │ ├── build.sh
│ │ └── src-log.c.patch
│ ├── daemonize/
│ │ ├── build.sh
│ │ └── daemonize.c.patch
│ ├── darkhttpd/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── dart/
│ │ ├── build.sh
│ │ ├── dart-pub-bin.sh
│ │ ├── fix-shell-path.patch
│ │ └── sdk-runtime-bin-directory_android.cc.patch
│ ├── dash/
│ │ ├── build.sh
│ │ ├── etc-profile.patch
│ │ ├── mktokens.patch
│ │ └── src-var.c.patch
│ ├── dasm/
│ │ └── build.sh
│ ├── datamash/
│ │ └── build.sh
│ ├── dcraw/
│ │ ├── build.sh
│ │ └── swab.c
│ ├── ddrescue/
│ │ ├── build.sh
│ │ └── fix-configure.patch
│ ├── debianutils/
│ │ ├── add-shell.patch
│ │ ├── build.sh
│ │ └── remove-shell.patch
│ ├── debootstrap/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── debootstrap.patch
│ │ ├── fix-keyring-paths.patch
│ │ ├── functions.patch
│ │ └── scripts-debian-common.patch
│ ├── deutex/
│ │ └── build.sh
│ ├── dialog/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── dictd/
│ │ ├── build.sh
│ │ └── dictd.patch
│ ├── diffutils/
│ │ └── build.sh
│ ├── direnv/
│ │ └── build.sh
│ ├── direvent/
│ │ ├── build.sh
│ │ └── preproc.c.patch
│ ├── diskus/
│ │ └── build.sh
│ ├── dnsutils/
│ │ ├── bin-delv-delv.c.patch
│ │ ├── build.sh
│ │ ├── lib-irs-context.c.patch
│ │ └── lib-isc-pthreads-thread.c.patch
│ ├── docbook-xml/
│ │ └── build.sh
│ ├── docbook-xsl/
│ │ ├── 765567_non-recursive_string_subst.patch
│ │ └── build.sh
│ ├── dos2unix/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── double-conversion/
│ │ └── build.sh
│ ├── doxygen/
│ │ ├── build.sh
│ │ └── doxyparse.cpp.patch
│ ├── dpkg/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── dbmodify_dont_require_root.patch
│ │ ├── extract.c.patch
│ │ ├── lib-dpkg-atomic-file.c.patch
│ │ ├── lib-dpkg-dpkg.h.patch
│ │ ├── lib-dpkg-path-remove.c.patch
│ │ ├── lib-dpkg-triglib.c.patch
│ │ ├── src-archives.c.patch
│ │ ├── src-configure.c.patch
│ │ ├── src-help.c.patch
│ │ └── src-statcmd.c.patch
│ ├── dropbear/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ ├── common-session.c.patch
│ │ ├── compat.c.patch
│ │ ├── default_options.h.patch
│ │ ├── gensignkey.c.patch
│ │ ├── sshpty.c.patch
│ │ ├── svr-agentfwd.c.patch
│ │ ├── svr-auth.c.patch
│ │ ├── svr-authpasswd.c.patch
│ │ ├── svr-chansession.c.patch
│ │ └── sysoptions.h.patch
│ ├── dtc/
│ │ └── build.sh
│ ├── dte/
│ │ └── build.sh
│ ├── duc/
│ │ ├── build.sh
│ │ └── cmd-ls.c.patch
│ ├── dvtm/
│ │ ├── build.sh
│ │ ├── fix-fifo-path.patch
│ │ └── vt.c.patch
│ ├── dx/
│ │ ├── build.sh
│ │ └── dx
│ ├── e2fsprogs/
│ │ ├── build.sh
│ │ ├── clang-compat.patch
│ │ ├── doc-Makefile.in.patch
│ │ ├── fix-hardcoded-paths.patch
│ │ ├── fsmap.h.patch
│ │ └── hasmntopt.patch
│ ├── ecj/
│ │ ├── build.sh
│ │ ├── ecj
│ │ └── ecj-24
│ ├── ed/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── elinks/
│ │ ├── build.sh
│ │ └── elinks-fix-paths.patch
│ ├── elixir/
│ │ └── build.sh
│ ├── emacs/
│ │ ├── build.sh
│ │ ├── lib-src-emacsclient.c.patch
│ │ ├── lisp-cus-start.el.patch.beforehostbuild
│ │ ├── lisp-loadup.el-2.patch.beforehostbuild
│ │ ├── lisp-net-tramp.el.patch.beforehostbuild
│ │ ├── lisp-server.el.patch.beforehostbuild
│ │ ├── lisp-subr.el.patch.beforehostbuild
│ │ ├── lisp-term.el.patch.beforehostbuild
│ │ ├── lisp-textmodes-ispell.el.patch.beforehostbuild
│ │ ├── no_user_fullname.patch
│ │ ├── site-init.el
│ │ ├── src-callproc.c.patch
│ │ ├── src-filelock.c.patch
│ │ └── src-keyboard.c.patch
│ ├── erlang/
│ │ ├── build.sh
│ │ ├── erts-emulator-Makefile.in.patch
│ │ └── prefix.patch
│ ├── espeak/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── compat-stdint.h.patch
│ ├── exa/
│ │ ├── build.sh
│ │ └── src-output-table.rs.patch
│ ├── exiftool/
│ │ └── build.sh
│ ├── exiv2/
│ │ ├── build.sh
│ │ └── exiv2json.cpp.patch
│ ├── expect/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ └── configure.in.patch
│ ├── fakeroot/
│ │ ├── build.sh
│ │ ├── fakeroot-1.23_faked.c.patch
│ │ ├── fakeroot-1.23_libfakeroot.c.patch
│ │ └── fakeroot-1.23_scripts_fakeroot.in.patch
│ ├── fasd/
│ │ └── build.sh
│ ├── fastmod/
│ │ ├── build.sh
│ │ └── vi-as-default-editor.patch
│ ├── fbless/
│ │ └── build.sh
│ ├── fcgi/
│ │ └── build.sh
│ ├── fcgiwrap/
│ │ ├── build.sh
│ │ └── fix-kill-parameters.patch
│ ├── fd/
│ │ ├── Cargo.toml.patch
│ │ ├── build.sh
│ │ └── src-main.rs.patch
│ ├── fdupes/
│ │ └── build.sh
│ ├── ffmpeg/
│ │ ├── build.sh
│ │ └── libavutil-file_open.c.patch
│ ├── ffsend/
│ │ └── build.sh
│ ├── fftw/
│ │ ├── build.sh
│ │ └── fix-wisdom_dir.patch
│ ├── figlet/
│ │ ├── build.sh
│ │ ├── figlet.c.patch
│ │ └── makefile.patch
│ ├── file/
│ │ ├── build.sh
│ │ └── fix-paths.patch
│ ├── finch/
│ │ ├── arpa/
│ │ │ ├── nameser.h
│ │ │ └── nameser_compat.h
│ │ ├── bonjour-makefile.patch
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── dont-build-nullclient-example.patch
│ │ ├── gg-makefile.patch
│ │ ├── irc-makefile.patch
│ │ ├── jabber-makefile.patch
│ │ ├── libgnt-gntmain.c.patch
│ │ ├── oscar-makefile.patch
│ │ ├── sametime-makefile.patch
│ │ ├── silc-makefile.patch
│ │ ├── silc10-makefile.patch
│ │ ├── simple-makefile.patch
│ │ └── ssl-makefile.patch
│ ├── findutils/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── find-parser.c.patch
│ │ └── gl-lib-mountlist.c.patch
│ ├── fish/
│ │ ├── build.sh
│ │ ├── create_manpage_completions.py.patch
│ │ ├── share-functions-__fish_print_help.fish.patch
│ │ ├── src-env.cpp.patch
│ │ ├── src-fish.cpp.patch
│ │ └── src-wutil.cpp.patch
│ ├── flex/
│ │ ├── Makefile.in.patch
│ │ └── build.sh
│ ├── fontconfig/
│ │ ├── build.sh
│ │ ├── fcatomic.c.patch
│ │ └── fontconfig-utils.subpackage.sh
│ ├── fortune/
│ │ ├── build.sh
│ │ └── fortune.c.patch
│ ├── fossil/
│ │ ├── build.sh
│ │ ├── src-main.c.patch
│ │ ├── src-popen.c.patch
│ │ └── src-user.c.patch
│ ├── freetype/
│ │ └── build.sh
│ ├── fribidi/
│ │ └── build.sh
│ ├── frobtads/
│ │ ├── build.sh
│ │ └── no_asprintf.patch
│ ├── fsmon/
│ │ └── build.sh
│ ├── fwknop/
│ │ └── build.sh
│ ├── fzf/
│ │ ├── bin-fzf-tmux.patch
│ │ └── build.sh
│ ├── game-repo/
│ │ └── build.sh
│ ├── gawk/
│ │ ├── build.sh
│ │ ├── io.c.patch
│ │ ├── main.c.patch
│ │ ├── no_pw_gecos.patch
│ │ └── stack_index.patch
│ ├── gbt/
│ │ └── build.sh
│ ├── gcal/
│ │ └── build.sh
│ ├── gdb/
│ │ ├── archive_c_st_mtime.patch
│ │ ├── build.sh
│ │ ├── fix-tmp_prefix.patch
│ │ ├── gdb-amd64-linux-nat.c.patch
│ │ ├── gdb-cli-cli-cmds.c.patch
│ │ ├── gdb-common-job-control.c.patch
│ │ ├── gdb-common-pathstuff.c.patch
│ │ ├── gdb-common-signals-state-save-restore.c.patch
│ │ ├── gdb-gdbserver-configure.patch
│ │ ├── gdb-gnulib-import-string.in.h.patch
│ │ ├── gdb-ser-pipe.c.patch
│ │ ├── gdb-solib.c.patch
│ │ ├── gregset.h.patch
│ │ ├── linux_thread_db_no_th_unique.patch
│ │ ├── readline-histlib.h.patch.debug
│ │ └── readline.patch
│ ├── gdbm/
│ │ ├── build.sh
│ │ └── termios_h.patch
│ ├── gdk-pixbuf/
│ │ └── build.sh
│ ├── gegl/
│ │ ├── 6bcf95fd0f32cf5e8b1ddbe17b14d9ad049bded8.patch
│ │ └── build.sh
│ ├── geoip2-database/
│ │ └── build.sh
│ ├── getconf/
│ │ └── build.sh
│ ├── geth/
│ │ ├── build.sh
│ │ ├── fix-names-conflict.patch
│ │ └── geth-utils.subpackage.sh
│ ├── getmail/
│ │ ├── build.sh
│ │ └── utilities.py.patch
│ ├── gettext/
│ │ ├── build.sh
│ │ ├── gnulib-libmakefile.am.patch
│ │ └── msginit.c.patch
│ ├── gflags/
│ │ └── build.sh
│ ├── ghostscript/
│ │ ├── arch-aarch64.h
│ │ ├── arch-arm.h
│ │ ├── arch-i686.h
│ │ ├── arch-x86_64.h
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── gserrors.h.patch
│ ├── giflib/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── giflib-utils.subpackage.sh
│ ├── gifsicle/
│ │ └── build.sh
│ ├── git/
│ │ ├── build.sh
│ │ ├── config.c.patch
│ │ ├── config.mak.uname.patch
│ │ ├── disable_daemon_syslog.patch
│ │ ├── git.patch
│ │ ├── help.c.patch
│ │ ├── run-command.c.patch
│ │ └── tempfile.c.patch
│ ├── git-crypt/
│ │ └── build.sh
│ ├── git-lfs/
│ │ └── build.sh
│ ├── gitea/
│ │ ├── app.ini
│ │ ├── build.sh
│ │ └── gitea-service.sh
│ ├── gkermit/
│ │ ├── build.sh
│ │ └── makefile.patch
│ ├── glib/
│ │ ├── build.sh
│ │ ├── fix-hardcoded-paths.patch
│ │ ├── glib-bin.subpackage.sh
│ │ ├── glib-gspawn.c.patch
│ │ ├── glib-gtimezone.c.patch
│ │ ├── glib-gutils.c.patch
│ │ └── meson.build.patch
│ ├── global/
│ │ ├── build.sh
│ │ ├── echo-path.patch
│ │ └── libutil-makepath.c.patch
│ ├── gmic/
│ │ ├── CImg.h.patch
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── gmic-gm.subpackage.sh
│ ├── gnuchess/
│ │ ├── build.sh
│ │ ├── components.cc.patch
│ │ └── main.cc.patch
│ ├── gnuit/
│ │ ├── build.sh
│ │ ├── system.c.patch
│ │ └── tilde.c-history.c.patch.debug
│ ├── gnupg/
│ │ ├── agent-agent.h.patch
│ │ ├── build.sh
│ │ ├── common-dotlock.c.patch
│ │ ├── configure.patch
│ │ ├── fix-paths.patch
│ │ └── gpgv.subpackage.sh
│ ├── gnuplot/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── plot.c.patch
│ │ └── src-command.c.patch
│ ├── go-findimagedupes/
│ │ └── build.sh
│ ├── goaccess/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── tcbtdb.h.patch
│ │ └── websocket.h.patch
│ ├── golang/
│ │ ├── build.sh
│ │ ├── golang-doc.subpackage.sh
│ │ ├── src-os-file_unix.go.patch
│ │ ├── src-runtime-cgo-cgo.go.patch
│ │ └── src-runtime-cgo-gcc_android.c.patch
│ ├── google-glog/
│ │ └── build.sh
│ ├── googletest/
│ │ └── build.sh
│ ├── gotty/
│ │ └── build.sh
│ ├── gperf/
│ │ ├── build.sh
│ │ └── output.cc.patch
│ ├── gpgme/
│ │ └── build.sh
│ ├── gpsbabel/
│ │ └── build.sh
│ ├── graphicsmagick/
│ │ └── build.sh
│ ├── graphviz/
│ │ ├── add-libcommon-to-gc.patch
│ │ ├── build.sh
│ │ ├── cmd-edgepaint-Makefile.in.patch
│ │ ├── configure.patch
│ │ ├── no-configure-dot-plugins.patch
│ │ ├── no-mkdefs.patch
│ │ └── sfdpgen-free.patch
│ ├── grep/
│ │ └── build.sh
│ ├── gsl/
│ │ └── build.sh
│ ├── gst-plugins-bad/
│ │ └── build.sh
│ ├── gst-plugins-base/
│ │ └── build.sh
│ ├── gst-plugins-good/
│ │ ├── autoplug_libcaca.patch
│ │ └── build.sh
│ ├── gst-plugins-ugly/
│ │ └── build.sh
│ ├── gstreamer/
│ │ └── build.sh
│ ├── gtypist/
│ │ ├── build.sh
│ │ ├── dont_build_manpage.patch
│ │ ├── src-cursmenu.c.patch
│ │ ├── src-gtypist.c.patch
│ │ └── src-utf8.c.patch
│ ├── gumbo-parser/
│ │ └── build.sh
│ ├── gzip/
│ │ ├── build.sh
│ │ ├── fix-gzexe.patch
│ │ ├── lib-stdio-impl.h.patch
│ │ ├── zdiff.in.patch
│ │ └── zgrep.in.patch
│ ├── harfbuzz/
│ │ ├── build.sh
│ │ ├── harfbuzz-icu.subpackage.sh
│ │ └── harfbuzz-utils.subpackage.sh
│ ├── hashdeep/
│ │ ├── PRIu_PRId.patch
│ │ ├── build.sh
│ │ ├── configure.ac.patch
│ │ └── hash.patch
│ ├── help2man/
│ │ └── build.sh
│ ├── hexcurse/
│ │ ├── build.sh
│ │ └── hexcurse.c.patch
│ ├── hexedit/
│ │ └── build.sh
│ ├── hexyl/
│ │ └── build.sh
│ ├── heyu/
│ │ └── build.sh
│ ├── hfsutils/
│ │ ├── build.sh
│ │ ├── lfs.patch
│ │ └── replace_hardlink_with_symlink.patch
│ ├── hiptext/
│ │ ├── artiste.cc.patch
│ │ ├── build.sh
│ │ ├── font.cc.patch
│ │ └── movie.cc.patch
│ ├── hoedown/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── htop/
│ │ ├── build.sh
│ │ └── fix-missing-macros.patch
│ ├── httping/
│ │ ├── build.sh
│ │ ├── fix-spam_file-path.patch
│ │ └── mssl.c.patch
│ ├── httrack/
│ │ ├── build.sh
│ │ ├── htsglobal.h.patch
│ │ └── store.c.patch
│ ├── hub/
│ │ ├── build.sh
│ │ └── utils-utils.go.patch
│ ├── hugo/
│ │ └── build.sh
│ ├── hunspell/
│ │ ├── build.sh
│ │ ├── fix-hardcoded-paths.patch
│ │ └── src-tools-hunspell.cxx.patch
│ ├── hunspell-en-us/
│ │ └── build.sh
│ ├── hunspell-ru/
│ │ └── build.sh
│ ├── hydra/
│ │ ├── build.sh
│ │ └── hydra.c.patch
│ ├── hyperfine/
│ │ └── build.sh
│ ├── icecast/
│ │ ├── build.sh
│ │ └── thread.c.patch
│ ├── imagemagick/
│ │ └── build.sh
│ ├── imgflo/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── env.sh.in.patch
│ │ └── library.c.patch
│ ├── imlib2/
│ │ ├── build.sh
│ │ ├── imlib2-1.5.1_src_bin_imlib2_show.c.patch
│ │ ├── imlib2-1.5.1_src_lib_ximage.c.patch
│ │ ├── imlib2-1.5.1_src_modules_loaders_loader_bz2.c.patch
│ │ ├── imlib2-1.5.1_src_modules_loaders_loader_id3.c.patch
│ │ ├── imlib2-1.5.1_src_modules_loaders_loader_xpm.c.patch
│ │ └── imlib2-1.5.1_src_modules_loaders_loader_zlib.c.patch
│ ├── indent/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ └── code_io.c.patch
│ ├── inetutils/
│ │ ├── build.sh
│ │ ├── configure-pthreads-no-weak.patch
│ │ ├── ftp-getpass.patch
│ │ ├── ftpd.c.patch
│ │ ├── if_index.c.patch
│ │ └── utmp_logout.c.patch
│ ├── inotify-tools/
│ │ ├── build.sh
│ │ └── src-Makefile.am.patch
│ ├── ipcalc/
│ │ └── build.sh
│ ├── iperf3/
│ │ ├── build.sh
│ │ ├── main_Makefile.in.patch
│ │ └── src-iperf_api.c.patch
│ ├── ipfs/
│ │ ├── build.sh
│ │ └── go-ipfs-0.4.15_bin_dist_get.patch
│ ├── ipmitool/
│ │ ├── build.sh
│ │ ├── index-strchr.patch
│ │ └── openssl-1.1.patch
│ ├── ired/
│ │ └── build.sh
│ ├── irssi/
│ │ ├── build.sh
│ │ └── fix-paths.patch
│ ├── isync/
│ │ ├── build.sh
│ │ └── isync.patch
│ ├── iverilog/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ ├── driver-main.c.patch
│ │ └── vvp-Makefile.in.patch
│ ├── jbig2dec/
│ │ └── build.sh
│ ├── jhead/
│ │ └── build.sh
│ ├── joe/
│ │ ├── build.sh
│ │ ├── do_not_build_utils.patch
│ │ ├── fix_errno.patch
│ │ └── no_getpwent.patch
│ ├── jp2a/
│ │ └── build.sh
│ ├── jq/
│ │ └── build.sh
│ ├── json-c/
│ │ └── build.sh
│ ├── json-glib/
│ │ └── build.sh
│ ├── jsoncpp/
│ │ └── build.sh
│ ├── jupp/
│ │ └── build.sh
│ ├── kakoune/
│ │ ├── build.sh
│ │ └── src-cs-path-compat.patch
│ ├── keybase/
│ │ ├── build.sh
│ │ └── go-libkb-env.go.patch
│ ├── keystone/
│ │ └── build.sh
│ ├── kona/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── getline_android.c.patch
│ │ ├── src-0.c.patch
│ │ ├── src-bswap.c.patch
│ │ ├── src-getline.h.patch
│ │ ├── src-kn.c.patch
│ │ ├── src-p.c.patch
│ │ └── src-v.h.patch
│ ├── krb5/
│ │ ├── build.sh
│ │ ├── config-files-kdc.conf.patch
│ │ ├── include-osconf.hin.patch
│ │ ├── krb5-config_LDFLAGS.patch
│ │ ├── netbsd_getpass.c
│ │ ├── plugins-kdb-db2.patch
│ │ └── sethostent.patch
│ ├── kubectl/
│ │ └── build.sh
│ ├── ldc/
│ │ ├── build.sh
│ │ ├── ldc-readme.patch
│ │ ├── ldc-x64-sprintf.patch
│ │ └── tests/
│ │ └── hello_world.sh
│ ├── ldns/
│ │ ├── build.sh
│ │ ├── fix-hardcoded-paths.patch
│ │ └── keys.c.patch
│ ├── ledger/
│ │ └── build.sh
│ ├── leptonica/
│ │ ├── build.sh
│ │ ├── silence-tmpfile-warnings.patch
│ │ └── src-recogbasic.c.patch
│ ├── less/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── less_multilib.patch
│ ├── leveldb/
│ │ └── build.sh
│ ├── lftp/
│ │ ├── build.sh
│ │ ├── lftp_ssl.cc.patch
│ │ ├── lib-vasnprintf.c.patch
│ │ ├── src-Filter.cc.patch
│ │ ├── src-PtyShell.cc.patch
│ │ ├── src-SysCmdJob.cc.patch
│ │ └── src-commands.cc.patch
│ ├── lhasa/
│ │ └── build.sh
│ ├── libandroid-glob/
│ │ ├── build.sh
│ │ ├── glob.c
│ │ └── glob.h
│ ├── libandroid-shmem/
│ │ └── build.sh
│ ├── libandroid-spawn/
│ │ ├── build.sh
│ │ ├── posix_spawn.cpp
│ │ └── posix_spawn.h
│ ├── libandroid-support/
│ │ └── build.sh
│ ├── libao/
│ │ ├── ao_private.h.patch
│ │ ├── ao_pulse.c.patch
│ │ ├── build.sh
│ │ └── configure.ac.patch
│ ├── libarchive/
│ │ ├── archive.h.patch
│ │ ├── archive_entry.h.patch
│ │ ├── archive_string.c.patch
│ │ ├── archive_util.c.patch
│ │ ├── archive_write_disk_posix.c.patch
│ │ ├── archive_write_set_format_zip.c.patch
│ │ ├── bsdtar.subpackage.sh
│ │ └── build.sh
│ ├── libass/
│ │ └── build.sh
│ ├── libassuan/
│ │ └── build.sh
│ ├── libbsd/
│ │ ├── build.sh
│ │ ├── endian.h.patch
│ │ ├── funopen.c.patch
│ │ ├── local-elf.h.patch
│ │ └── nlist.c.patch
│ ├── libbz2/
│ │ ├── build.sh
│ │ ├── bzdiff.patch
│ │ ├── bzip2.subpackage.sh
│ │ ├── cross_compile.patch
│ │ └── shared_library.patch
│ ├── libc++/
│ │ └── build.sh
│ ├── libcaca/
│ │ └── build.sh
│ ├── libcairo/
│ │ ├── android-shmem.patch
│ │ ├── build.sh
│ │ ├── cairo-script-operators.c.patch
│ │ └── fdr.c.patch
│ ├── libcap/
│ │ ├── build.sh
│ │ ├── libcap-makefile.patch
│ │ └── progs-capsh.patch
│ ├── libcln/
│ │ ├── build.sh
│ │ ├── revert_configure_tests.patch
│ │ ├── src-base-low-cl_low_div.cc.patch
│ │ └── src-base-low-cl_low_mul.cc.patch
│ ├── libcoap/
│ │ └── build.sh
│ ├── libconfig/
│ │ └── build.sh
│ ├── libconfuse/
│ │ └── build.sh
│ ├── libcroco/
│ │ └── build.sh
│ ├── libcrypt/
│ │ ├── build.sh
│ │ ├── crypt.h
│ │ └── crypt3.c
│ ├── libcue/
│ │ └── build.sh
│ ├── libcurl/
│ │ ├── build.sh
│ │ └── curl.subpackage.sh
│ ├── libdav1d/
│ │ └── build.sh
│ ├── libdb/
│ │ ├── build.sh
│ │ ├── db.subpackage.sh
│ │ ├── fix-tmpdir.patch
│ │ ├── lang-sql-generated-sqlite3.c.patch
│ │ └── lang-sql-sqlite-src-os_unix.c.patch
│ ├── libdispatch/
│ │ ├── build.sh
│ │ └── src-CMakeLists.txt.patch
│ ├── libduktape/
│ │ ├── build.sh
│ │ └── duktape.subpackage.sh
│ ├── libedit/
│ │ ├── build.sh
│ │ ├── src-readline.c.patch
│ │ └── src-vi.c.patch
│ ├── libelf/
│ │ ├── aligned_alloc.c
│ │ ├── build.sh
│ │ ├── dwfl_error.c.patch
│ │ ├── elf_getarsym.c.patch
│ │ ├── elf_update.c.patch
│ │ ├── error.h
│ │ ├── lib-color.c.patch
│ │ ├── libdwflP.h.patch
│ │ ├── libelfmakefile.am.patch
│ │ ├── obstack.h
│ │ ├── qsort_r.h
│ │ ├── ranlib.c.patch
│ │ ├── src-readelf.c.patch
│ │ ├── stdio_ext.h
│ │ ├── strings.c.patch
│ │ ├── strip.c.patch
│ │ └── unstrip.c.patch
│ ├── libev/
│ │ ├── Makefile.in.patch
│ │ └── build.sh
│ ├── libevent/
│ │ ├── build.sh
│ │ ├── evdns.c.patch
│ │ ├── evutil.c.patch
│ │ └── evutil_rand.c.patch
│ ├── libexif/
│ │ └── build.sh
│ ├── libexpat/
│ │ └── build.sh
│ ├── libffi/
│ │ └── build.sh
│ ├── libflac/
│ │ ├── build.sh
│ │ └── flac.subpackage.sh
│ ├── libgc/
│ │ ├── build.sh
│ │ └── include-private-gcconfig.h.patch
│ ├── libgcrypt/
│ │ ├── build.sh
│ │ └── fix-hardcoded-paths.patch
│ ├── libgd/
│ │ └── build.sh
│ ├── libgfshare/
│ │ └── build.sh
│ ├── libgit2/
│ │ ├── build.sh
│ │ └── fix-etc-dir-path.patch
│ ├── libgmime/
│ │ ├── build.sh
│ │ └── iconv-detect.h.patch
│ ├── libgmp/
│ │ └── build.sh
│ ├── libgnutls/
│ │ ├── build.sh
│ │ └── gnutls.subpackage.sh
│ ├── libgpg-error/
│ │ ├── atexit.patch
│ │ ├── build.sh
│ │ ├── gawk5.0-support.patch
│ │ └── lock-obj-pub.aarch64-unknown-linux-android.h
│ ├── libgraphite/
│ │ ├── CMakeLists.txt.patch
│ │ ├── build.sh
│ │ └── src-CMakeLists.txt.patch
│ ├── libgrpc/
│ │ ├── CMakeLists.txt.diff
│ │ ├── CMakeLists.txt.patch
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── fix-arg-list-too-long.patch.beforehostbuild
│ │ ├── log_android.cc.patch
│ │ └── src-core-lib-grpc-wrap_memcpy.cc.patch
│ ├── libgsasl/
│ │ └── build.sh
│ ├── libical/
│ │ ├── CMakeLists.txt.patch
│ │ ├── build.sh
│ │ └── src-libical-CMakeLists.txt.patch
│ ├── libiconv/
│ │ ├── build.sh
│ │ └── iconv.subpackage.sh
│ ├── libicu/
│ │ ├── build.sh
│ │ └── icu-devtools.subpackage.sh
│ ├── libid3tag/
│ │ └── build.sh
│ ├── libidn/
│ │ └── build.sh
│ ├── libidn2/
│ │ └── build.sh
│ ├── libisl/
│ │ └── build.sh
│ ├── libjansson/
│ │ └── build.sh
│ ├── libjasper/
│ │ ├── CMakeLists.txt.patch
│ │ ├── build.sh
│ │ └── libjasper-utils.subpackage.sh
│ ├── libjpeg-turbo/
│ │ ├── build.sh
│ │ └── libjpeg-turbo-progs.subpackage.sh
│ ├── libksba/
│ │ └── build.sh
│ ├── libllvm/
│ │ ├── ORCv2.rst.patch
│ │ ├── build.sh
│ │ ├── clang.subpackage.sh
│ │ ├── cxx-libm.patch
│ │ ├── lld.subpackage.sh
│ │ ├── llvm-config.in
│ │ ├── llvm.subpackage.sh
│ │ ├── nl_types.h
│ │ ├── nltypes_stubs.cpp
│ │ ├── openmp-config-ix-m32.patch
│ │ ├── project-openmp-runtime-src-CMakeLists.txt.patch
│ │ ├── tools-clang-lib-Driver-ToolChain.cpp.patch
│ │ ├── tools-clang-lib-Driver-ToolChains-Gnu.cpp.patch
│ │ ├── tools-clang-lib-Driver-ToolChains-Linux.cpp.patch
│ │ └── tools-llvm-shlib-CMakeLists.txt.patch
│ ├── liblua/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── fix-lua_tmpnametemplate.patch
│ │ ├── lua.subpackage.sh
│ │ ├── src-Makefile.patch
│ │ ├── src-loslib.c.patch
│ │ └── src-luaconf.h.patch
│ ├── liblua52/
│ │ ├── build.sh
│ │ ├── lua-5.2.4_Makefile.patch
│ │ ├── lua-5.2.4_src_Makefile.patch
│ │ ├── lua-5.2.4_src_loslib.c.patch
│ │ ├── lua-5.2.4_src_luaconf.h.patch
│ │ ├── lua.pc.in
│ │ └── lua52.subpackage.sh
│ ├── libluajit/
│ │ ├── build.sh
│ │ ├── etc-luajit.pc.patch
│ │ ├── luajit.subpackage.sh
│ │ └── src-Makefile.patch
│ ├── liblz4/
│ │ ├── Makefile.inc.patch
│ │ ├── build.sh
│ │ └── lz4.subpackage.sh
│ ├── liblzma/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── xz-utils.subpackage.sh
│ ├── liblzo/
│ │ └── build.sh
│ ├── libmaa/
│ │ ├── build.sh
│ │ └── libmaa.patch
│ ├── libmad/
│ │ └── build.sh
│ ├── libmaxminddb/
│ │ ├── build.sh
│ │ └── libmaxminddb-tools.subpackage.sh
│ ├── libmcrypt/
│ │ └── build.sh
│ ├── libmesode/
│ │ └── build.sh
│ ├── libmhash/
│ │ └── build.sh
│ ├── libmicrohttpd/
│ │ └── build.sh
│ ├── libmnl/
│ │ └── build.sh
│ ├── libmosquitto/
│ │ ├── CMakeLists.txt.patch
│ │ ├── build.sh
│ │ └── mosquitto.subpackage.sh
│ ├── libmp3lame/
│ │ ├── build.sh
│ │ └── lame.subpackage.sh
│ ├── libmp3splt/
│ │ └── build.sh
│ ├── libmpc/
│ │ └── build.sh
│ ├── libmpdclient/
│ │ └── build.sh
│ ├── libmpfr/
│ │ └── build.sh
│ ├── libmsgpack/
│ │ └── build.sh
│ ├── libnet/
│ │ └── build.sh
│ ├── libnettle/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── nettle.subpackage.sh
│ ├── libnfs/
│ │ ├── add-timeh.patch
│ │ └── build.sh
│ ├── libnftnl/
│ │ └── build.sh
│ ├── libnghttp2/
│ │ └── build.sh
│ ├── libnl/
│ │ ├── build.sh
│ │ ├── include-netlink-private-netlink.h.patch
│ │ ├── nf-log.c.patch
│ │ ├── nf-monitor.c.patch
│ │ ├── nf-queue.c.patch
│ │ └── nl-monitor.c.patch
│ ├── libnpth/
│ │ └── build.sh
│ ├── libogg/
│ │ └── build.sh
│ ├── liboggz/
│ │ └── build.sh
│ ├── libopus/
│ │ └── build.sh
│ ├── libopusenc/
│ │ └── build.sh
│ ├── libotr/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── libpcap/
│ │ ├── build.sh
│ │ └── fix-path-etc-ethers.patch
│ ├── libpipeline/
│ │ └── build.sh
│ ├── libpixman/
│ │ ├── build.sh
│ │ └── pixman-arm.c.patch
│ ├── libpng/
│ │ └── build.sh
│ ├── libpopt/
│ │ ├── build.sh
│ │ └── fix-hardcoded-paths.patch
│ ├── libprotobuf/
│ │ ├── build.sh
│ │ ├── protobuf.subpackage.sh
│ │ └── remove-android-logging.patch
│ ├── libprotobuf-c/
│ │ └── build.sh
│ ├── libpsl/
│ │ ├── build-fix.patch
│ │ └── build.sh
│ ├── libqrencode/
│ │ └── build.sh
│ ├── librsvg/
│ │ └── build.sh
│ ├── librsync/
│ │ ├── build.sh
│ │ └── rdiff.subpackage.sh
│ ├── libsasl/
│ │ ├── auth_getpwent.c.patch
│ │ └── build.sh
│ ├── libsearpc/
│ │ ├── build.sh
│ │ └── lib-Makefile.am.patch
│ ├── libsignal-protocol-c/
│ │ └── build.sh
│ ├── libsigsegv/
│ │ └── build.sh
│ ├── libsndfile/
│ │ ├── Makefile.am.patch
│ │ ├── autogen.sh.patch
│ │ ├── build.sh
│ │ └── tmpdir.patch
│ ├── libsodium/
│ │ └── build.sh
│ ├── libsoup/
│ │ └── build.sh
│ ├── libsoxr/
│ │ ├── build.sh
│ │ └── go.patch
│ ├── libsqlite/
│ │ ├── build.sh
│ │ ├── sqlite.subpackage.sh
│ │ └── sqlite3.c.patch
│ ├── libssh/
│ │ ├── build.sh
│ │ └── fix-paths.patch
│ ├── libssh2/
│ │ └── build.sh
│ ├── libtalloc/
│ │ ├── build.sh
│ │ ├── lib-replace-wscript.patch
│ │ └── wscript.patch
│ ├── libtermkey/
│ │ └── build.sh
│ ├── libtiff/
│ │ ├── build.sh
│ │ └── libtiff-utils.subpackage.sh
│ ├── libtool/
│ │ ├── build.sh
│ │ └── libltdl.subpackage.sh
│ ├── libunibilium/
│ │ └── build.sh
│ ├── libunistring/
│ │ └── build.sh
│ ├── libusb/
│ │ └── build.sh
│ ├── libuuid/
│ │ ├── build.sh
│ │ ├── gen_uuid.c.patch
│ │ └── uuidP.h.patch
│ ├── libuv/
│ │ ├── build.sh
│ │ ├── pthread-sigmask.patch
│ │ └── src-unix-fs.c.patch
│ ├── libvorbis/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── libvpx/
│ │ ├── arm_cpudetect-always-neon.patch
│ │ ├── build-make-configure.sh.patch
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── libvterm/
│ │ └── build.sh
│ ├── libwebp/
│ │ ├── CMakeLists.txt.patch
│ │ └── build.sh
│ ├── libwebsockets/
│ │ └── build.sh
│ ├── libx11/
│ │ ├── build.sh
│ │ ├── src-CrGlCur.c.patch
│ │ └── src-XlibInt.c.patch
│ ├── libx264/
│ │ ├── build.sh
│ │ └── x264.subpackage.sh
│ ├── libx265/
│ │ ├── build.sh
│ │ ├── source-CMakeLists.txt.patch
│ │ └── x265.subpackage.sh
│ ├── libxapian/
│ │ ├── build.sh
│ │ └── xapian-tools.subpackage.sh
│ ├── libxau/
│ │ ├── build.sh
│ │ └── libXau-1.0.8_AuLock.c.patch
│ ├── libxcb/
│ │ ├── build.sh
│ │ ├── libxcb-1.12_configure.patch
│ │ └── libxcb-1.12_src_xcb_util.c.patch
│ ├── libxdmcp/
│ │ └── build.sh
│ ├── libxext/
│ │ └── build.sh
│ ├── libxft/
│ │ └── build.sh
│ ├── libxml2/
│ │ ├── build.sh
│ │ ├── fix-catalog-paths.patch
│ │ └── libxml2-utils.subpackage.sh
│ ├── libxrender/
│ │ └── build.sh
│ ├── libxslt/
│ │ ├── build.sh
│ │ └── xsltproc.subpackage.sh
│ ├── libxss/
│ │ └── build.sh
│ ├── libyaml/
│ │ └── build.sh
│ ├── libzip/
│ │ └── build.sh
│ ├── libzmq/
│ │ └── build.sh
│ ├── libzopfli/
│ │ ├── build.sh
│ │ └── zopfli.subpackage.sh
│ ├── lighttpd/
│ │ └── build.sh
│ ├── links/
│ │ ├── build.sh
│ │ └── fix-hardcoded-paths.patch
│ ├── linux-man-pages/
│ │ └── build.sh
│ ├── littlecms/
│ │ ├── build.sh
│ │ └── littlecms-utils.subpackage.sh
│ ├── llbuild/
│ │ ├── CMakeLists.txt.patch
│ │ ├── build.sh
│ │ ├── include-llbuild-BuildSystem-BuildSystemFrontend.h.patch
│ │ ├── include-llvm-Config-config.h.patch
│ │ ├── lib-Basic-PlatformUtility.cpp.patch
│ │ ├── lib-llvm-Support-CmakeLists.txt.patch
│ │ └── products-llbuild-CMakeLists.txt.patch
│ ├── lldb/
│ │ ├── ArchSpec.cpp.patch
│ │ ├── Editline.h.patch
│ │ ├── LLDBStandalone.cmake.patch
│ │ ├── ProcessLauncherPosixFork.cpp.patch
│ │ ├── build.sh
│ │ └── cmakelists.txt.patch
│ ├── lnd/
│ │ └── build.sh
│ ├── loksh/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── clock_monotonic.patch
│ │ ├── fix-hardcoded-paths.patch
│ │ └── no-cs_path.patch
│ ├── ltrace/
│ │ ├── build.sh
│ │ ├── ltrace-elf.c.patch
│ │ └── sysdeps-linux-gnu-proc.c.patch
│ ├── lua-lpeg/
│ │ ├── build.sh
│ │ └── makefile.patch
│ ├── luarocks/
│ │ ├── GNUmakefile.patch
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── lua.lua.patch
│ │ ├── src-luarocks-core-cfg.lua.patch
│ │ └── unix-tools.lua.patch
│ ├── luv/
│ │ ├── CMakeLists.txt.patch
│ │ └── build.sh
│ ├── lynx/
│ │ ├── build.sh
│ │ ├── fix-paths.patch
│ │ ├── lynx2.8.9dev.19_WWW_Library_Implementation_www_tcp.h.patch
│ │ ├── lynx2.8.9dev.19_src_LYMain.c.patch
│ │ └── lynx2.8.9dev.19_userdefs.h.patch
│ ├── lzip/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── lzlib/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── lzop/
│ │ └── build.sh
│ ├── m4/
│ │ ├── build.sh
│ │ ├── fix-paths.patch
│ │ ├── lib-vasnprintf.c.patch
│ │ ├── lib-xalloc-oversized.h.patch
│ │ └── spawn.patch
│ ├── make/
│ │ ├── build.sh
│ │ ├── make.patch
│ │ └── no-append.patch
│ ├── man/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── main.c.patch
│ │ ├── mandocdb.c.patch
│ │ ├── tag.c.patch
│ │ └── tag.h.patch
│ ├── mariadb/
│ │ ├── CMakeLists.txt.patch
│ │ ├── build.sh
│ │ ├── client-CMakeLists.txt.patch
│ │ ├── client-mysql.cc.patch
│ │ ├── cmake-install_layout.cmake.patch
│ │ ├── cmake-mariadb_connector_c.cmake.patch.beforehostbuild
│ │ ├── cmake-pcre.cmake.patch
│ │ ├── cmake-readline.cmake.patch
│ │ ├── etc-my.cnf.patch
│ │ ├── libmariadb-libmariadb-CMakeLists.txt.patch
│ │ ├── scripts-mysql_install_db.sh.patch
│ │ └── sql-CMakeLists.txt.patch
│ ├── mathomatic/
│ │ ├── build.sh
│ │ └── fix-paths.patch
│ ├── mbedtls/
│ │ └── build.sh
│ ├── mc/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── filegui_magics.patch
│ │ ├── filemanager_ext.c.patch
│ │ ├── lib-shell.c.patch
│ │ ├── lib-tty-key.c.patch
│ │ ├── lib-tty-tty.c.patch
│ │ ├── lib-utilunix.c.patch
│ │ ├── lib-widget-input_complete.c.patch
│ │ ├── man2hlp.in.patch
│ │ ├── src-filemanager-achown.c.patch
│ │ ├── src-filemanager-chown.c.patch
│ │ ├── src-filemanager-file.c.patch
│ │ ├── src-usermenu.c.patch
│ │ ├── src-vfs-sfs-sfs.c.patch
│ │ ├── tmpdir_default.patch
│ │ └── use-python2-for-extfs-helpers.patch
│ ├── mdp/
│ │ └── build.sh
│ ├── megatools/
│ │ ├── build.sh
│ │ └── lib-mega.c.patch
│ ├── memcached/
│ │ ├── build.sh
│ │ ├── getsubopt.c
│ │ ├── getsubopt.h
│ │ └── memcached.c.patch
│ ├── mg/
│ │ ├── GNUmakefile.patch
│ │ └── build.sh
│ ├── micro/
│ │ └── build.sh
│ ├── mime-support/
│ │ └── build.sh
│ ├── minicom/
│ │ ├── build.sh
│ │ ├── dial.c.patch
│ │ ├── file.c.patch
│ │ ├── getdir.c.patch
│ │ ├── getdir.h.patch
│ │ ├── script.h.patch
│ │ └── wkeys.c.patch
│ ├── miniupnpc/
│ │ ├── build.sh
│ │ ├── miniupnpc-2.1_minissdpc.c.patch
│ │ └── miniupnpc-2.1_miniupnpc.c.patch
│ ├── mksh/
│ │ ├── build.sh
│ │ └── sh.h.patch
│ ├── mktorrent/
│ │ ├── build.sh
│ │ └── seekdir_telldir.patch
│ ├── mlocate/
│ │ ├── build.sh
│ │ ├── conf.c.patch
│ │ ├── no_getid.patch
│ │ ├── src-locate.c.patch
│ │ └── updatedb.c.patch
│ ├── morse2ascii/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── mosh/
│ │ ├── build.sh
│ │ ├── mosh-server.cc.patch
│ │ ├── mosh.cc
│ │ ├── mosh.pl.patch
│ │ └── src-network-network.cc.patch
│ ├── mp3splt/
│ │ └── build.sh
│ ├── mpc/
│ │ ├── build.sh
│ │ └── meson.build.patch
│ ├── mpd/
│ │ ├── HybridDsdDecoderPlugin.cxx.patch
│ │ ├── build.sh
│ │ ├── doc-mpdconf.example.patch
│ │ ├── mpd-script.sh
│ │ ├── registry.cxx.patch
│ │ ├── src-fs-io-FileOutputStream.hxx.patch
│ │ ├── src-input-Error.cxx.patch
│ │ ├── src-lib-gcrypt-meson.build.patch
│ │ ├── src-output-plugins-meson.build.patch
│ │ └── thread-Util.cxx.patch
│ ├── mpdscribble/
│ │ ├── Makefile.am.patch
│ │ ├── build.sh
│ │ ├── file.c.patch
│ │ └── mpdscribble.conf.patch
│ ├── mpv/
│ │ ├── build.sh
│ │ ├── main.c.patch
│ │ ├── mpv.conf
│ │ └── wscript.patch
│ ├── msmtp/
│ │ └── build.sh
│ ├── mtd-utils/
│ │ ├── build.sh
│ │ └── mkfs.jffs2.c.patch
│ ├── mtools/
│ │ ├── build.sh
│ │ └── sysinc.patch
│ ├── mu/
│ │ └── build.sh
│ ├── multitail/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── mt.c.patch
│ │ ├── my_pty.c.patch
│ │ ├── term.c.patch
│ │ └── utils.c.patch
│ ├── mutt/
│ │ ├── build.sh
│ │ ├── getdomain.c.patch
│ │ ├── init.c.patch
│ │ ├── lib.c.patch
│ │ ├── muttlib.c.patch
│ │ └── smime_keys_path.patch
│ ├── myrepos/
│ │ └── build.sh
│ ├── nano/
│ │ ├── build.sh
│ │ ├── src-files.c.patch
│ │ └── src-text.c.patch
│ ├── ncdc/
│ │ └── build.sh
│ ├── ncdu/
│ │ └── build.sh
│ ├── ncmpcpp/
│ │ ├── build.sh
│ │ ├── config.patch
│ │ ├── configure.ac.patch
│ │ ├── locale.patch
│ │ ├── ncmpcpp.cpp.patch
│ │ └── settings.cpp.patch
│ ├── ncompress/
│ │ └── build.sh
│ ├── ncurses/
│ │ ├── build.sh
│ │ ├── fix-paths.patch
│ │ ├── ncurses-tinfo-lib_setup.c.patch
│ │ ├── ncurses-tinfo-tinfo_driver.c.patch
│ │ ├── ncurses-ui-libs-static.subpackage.sh
│ │ ├── ncurses-ui-libs.subpackage.sh
│ │ └── ncurses-utils.subpackage.sh
│ ├── ndk-multilib/
│ │ └── build.sh
│ ├── ndk-sysroot/
│ │ ├── build.sh
│ │ └── math-header.diff
│ ├── ne/
│ │ └── build.sh
│ ├── neofetch/
│ │ └── build.sh
│ ├── neovim/
│ │ ├── build.sh
│ │ ├── runtime-CMakeLists.txt.patch
│ │ ├── runtime-autoload-man.vim.patch
│ │ ├── runtime-autoload-provider-clipboard.vim.patch
│ │ ├── src-nvim-os-stdpaths.c.patch
│ │ └── sysinit.vim
│ ├── net-tools/
│ │ ├── arp.c.patch
│ │ ├── build.sh
│ │ ├── ifconfig.c.patch
│ │ ├── lib-inet.c.patch
│ │ ├── lib-inet6.c.patch
│ │ ├── lib-inet6_sr.c.patch
│ │ ├── lib-pathnames.h.patch
│ │ ├── nameif.c.patch
│ │ ├── rarp.c.patch
│ │ ├── slattach.c.patch
│ │ └── unknown_state.patch
│ ├── netpbm/
│ │ ├── GNUmakefile.patch
│ │ ├── build.sh
│ │ ├── buildtools-Makefile.patch
│ │ ├── buildtools-installnetpbm.pl.patch
│ │ ├── camera.c.patch
│ │ ├── lib-Makefile.patch
│ │ ├── standardppmdfont.c
│ │ └── util.c.patch
│ ├── netsed/
│ │ └── build.sh
│ ├── newsboat/
│ │ ├── Makefile.patch
│ │ ├── avoid-gettext.patch
│ │ ├── build.sh
│ │ ├── fix-paths.patch
│ │ └── mbc-buffer-length-fix.patch
│ ├── nginx/
│ │ ├── Android-crossfile.patch32
│ │ ├── Android-crossfile.patch64
│ │ ├── auto-threads.patch
│ │ ├── build.sh
│ │ ├── cross-compile-nginx.patch
│ │ ├── src-core-ngx_cycle.c.patch
│ │ ├── src-core-ngx_file.c.patch
│ │ └── src-event-modules-ngx_epoll_module.c.patch
│ ├── nim/
│ │ ├── build.sh
│ │ └── osproc.nim.patch
│ ├── ninja/
│ │ ├── build.sh
│ │ ├── src-subprocess-posix.cc.patch
│ │ └── src-util.cc.patch
│ ├── nmap/
│ │ ├── build.sh
│ │ ├── fix-paths.patch
│ │ ├── netcat.subpackage.sh
│ │ └── nping-EchoServer.cc.patch
│ ├── nnn/
│ │ └── build.sh
│ ├── nodejs/
│ │ ├── build.sh
│ │ ├── configure.py.patch
│ │ ├── deps-uv-src-unix-core.c.patch
│ │ ├── deps-uv-src-unix-process.c.patch
│ │ ├── deps-uv-uv.gyp.patch
│ │ ├── deps-v8-src-flags-flag-definitions.h.patch
│ │ ├── deps-v8-src-logging-log.cc.patch
│ │ ├── fix_multiple_definitions.patch
│ │ ├── lib-child_process.js.patch
│ │ ├── lib-os.js.patch
│ │ ├── node.gyp.patch
│ │ ├── npm-link-patch.patch
│ │ ├── src-cares_wrap.cc.patch
│ │ ├── src-node_internals.h.patch
│ │ ├── src-node_main.cc.patch
│ │ └── tools-v8_gypfiles-v8.gyp.patch
│ ├── nodejs-lts/
│ │ ├── build.sh
│ │ ├── configure.py.patch
│ │ ├── deps-uv-src-unix-core.c.patch
│ │ ├── deps-uv-uv.gyp.patch
│ │ ├── deps-v8-src-flags-flag-definitions.h.patch
│ │ ├── deps-v8-src-logging-log.cc.patch
│ │ ├── fix_multiple_definitions.patch
│ │ ├── lib-child_process.js.patch
│ │ ├── lib-os.js.patch
│ │ ├── node.gyp.patch
│ │ ├── npm-link-patch.patch
│ │ ├── src-cares_wrap.cc.patch
│ │ ├── src-node_internals.h.patch
│ │ ├── src-node_main.cc.patch
│ │ └── tools-v8_gypfiles-v8.gyp.patch
│ ├── notmuch/
│ │ ├── Makefile.global.patch
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── notmuch-config.c.patch
│ ├── nyancat/
│ │ ├── build.sh
│ │ └── makefile.patch
│ ├── nzbget/
│ │ ├── build.sh
│ │ └── options.cpp.patch
│ ├── oathtool/
│ │ └── build.sh
│ ├── obfs4proxy/
│ │ └── build.sh
│ ├── ocrad/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── odt2txt/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── oleo/
│ │ ├── basic.h.patch
│ │ ├── build.sh
│ │ ├── global.h.patch
│ │ ├── io-term.c.patch
│ │ ├── io-term.h.patch
│ │ ├── plotter.c.patch
│ │ ├── texi2html.in.patch
│ │ └── xrdb.c.patch
│ ├── openal-soft/
│ │ ├── alc-alconfig.cpp.patch
│ │ ├── build.sh
│ │ └── native-tools-CMakeLists.txt.patch
│ ├── openjpeg/
│ │ ├── CMakeLists.txt.patch
│ │ ├── build.sh
│ │ └── openjpeg-tools.subpackage.sh
│ ├── openssh/
│ │ ├── Makefile.in.patch
│ │ ├── auth.c.patch
│ │ ├── auth2-passwd.c.patch
│ │ ├── build.sh
│ │ ├── fix-hardcoded-paths.patch
│ │ ├── hostfile.c.patch
│ │ ├── misc_c.patch
│ │ ├── mux.c.patch
│ │ ├── no_loginrec.patch
│ │ ├── no_tty_chmod.patch
│ │ ├── openbsd-compat-explicit_bzero.c.patch
│ │ ├── openbsd-compat-xcrypt.c.patch
│ │ ├── servconf.c.patch
│ │ ├── session.c.patch
│ │ ├── sftp-server.c.patch
│ │ ├── sftp-with-agent.sh
│ │ ├── source-ssh-agent.sh
│ │ ├── ssh-agent.c.patch
│ │ ├── ssh-keygen.c.patch
│ │ ├── ssh-with-agent.sh
│ │ ├── sshd.c.patch
│ │ └── sshd_config.5.patch
│ ├── openssl/
│ │ ├── Configurations-15-android.conf.patch
│ │ ├── add-trusted-certificate
│ │ ├── apps-ocsp.c.patch
│ │ ├── build.sh
│ │ ├── crypto-armcap.c.patch
│ │ ├── e_os.h.patch
│ │ └── openssl-tool.subpackage.sh
│ ├── optipng/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── opus-tools/
│ │ └── build.sh
│ ├── opusfile/
│ │ └── build.sh
│ ├── ossp-uuid/
│ │ ├── build.sh
│ │ ├── ossp.patch
│ │ ├── uuid-aarch64.patch
│ │ └── z-no-docs-no-strip.patch
│ ├── p7zip/
│ │ ├── 1-CVE-2016-9296.patch
│ │ ├── 2-CVE-2017-17969.patch
│ │ ├── 3-CVE-2018-5996.patch
│ │ ├── 4-CVE-2018-10115.patch
│ │ ├── build.sh
│ │ └── makefile.patch
│ ├── pango/
│ │ ├── bsearch-fix.patch
│ │ ├── build.sh
│ │ └── pango-view.1
│ ├── par2/
│ │ └── build.sh
│ ├── parallel/
│ │ ├── build.sh
│ │ ├── parallel.patch
│ │ └── sem.patch
│ ├── parted/
│ │ ├── 01_devmapper.patch
│ │ ├── 02_lseek.patch
│ │ ├── 03_minormajor.patch
│ │ ├── build.sh
│ │ └── configure-pthreads-no-weak.patch
│ ├── pass/
│ │ ├── build.sh
│ │ └── src-password-store.sh.patch
│ ├── pass-otp/
│ │ └── build.sh
│ ├── pastebinit/
│ │ ├── build.sh
│ │ └── pastebinit.patch
│ ├── patch/
│ │ ├── build.sh
│ │ └── tmpdir-path.patch
│ ├── patchelf/
│ │ └── build.sh
│ ├── pathpicker/
│ │ └── build.sh
│ ├── pcre/
│ │ ├── build.sh
│ │ └── libpcreposix.subpackage.sh
│ ├── pcre2/
│ │ └── build.sh
│ ├── pdfgrep/
│ │ └── build.sh
│ ├── perl/
│ │ ├── Cwd.pm.patch
│ │ ├── build.sh
│ │ ├── cnf-configure_func.sh.patch
│ │ ├── cnf-configure_path.sh.patch
│ │ ├── file-spec-unix.pm.patch
│ │ └── perlio.c.patch
│ ├── pforth/
│ │ └── build.sh
│ ├── php/
│ │ ├── Makefile.global.patch
│ │ ├── build.sh
│ │ ├── ext-opcache-config.m4.patch
│ │ ├── ext-opcache-zend_accelerator_module.c.patch
│ │ ├── ext-pdo_pgsql-config.m4.patch
│ │ ├── ext-pgsql-config.m4.patch
│ │ ├── ext-phar-Makefile.frag.patch
│ │ ├── ext-posix-posix.c.patch
│ │ ├── ext-standard-basic_functions.c.patch
│ │ ├── ext-standard-dns.c.patch
│ │ ├── ext-standard-php_fopen_wrapper.c.patch
│ │ ├── ext-standard-proc_open.c.patch
│ │ ├── iconv-config.m4.patch
│ │ ├── pear-Makefile.frag.patch
│ │ ├── php-apache.subpackage.sh
│ │ ├── php-fpm.patch
│ │ ├── php-fpm.subpackage.sh
│ │ ├── php-pgsql.subpackage.sh
│ │ └── sapi-apache2handler-config.m4.patch
│ ├── pianobar/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── pick/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── pick.c.patch
│ ├── picolisp/
│ │ ├── build.sh
│ │ ├── src-Makefile.patch
│ │ ├── src-ext.c.patch
│ │ └── src64-mkAsm.patch
│ ├── pigz/
│ │ ├── build.sh
│ │ ├── pigz-2.4_Makefile.patch
│ │ └── pigz-2.4_yarn.c.patch
│ ├── pinentry/
│ │ ├── build.sh
│ │ ├── pinentry-emacs.c.patch
│ │ └── pinentry-pinentry.c.patch
│ ├── pkg-config/
│ │ └── build.sh
│ ├── play-audio/
│ │ └── build.sh
│ ├── plzip/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── pngquant/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── poppler/
│ │ ├── build.sh
│ │ ├── gstrtod.cc.patch
│ │ └── poppler-Form.cc.patch
│ ├── postgresql/
│ │ ├── build.sh
│ │ ├── src-backend-Makefile.patch
│ │ ├── src-backend-commands-collationcmds.c.patch
│ │ ├── src-bin-initdb-initdb.c.patch
│ │ ├── src-bin-pg_ctl-pg_ctl.c.patch
│ │ ├── src-bin-pg_upgrade-check.c.patch
│ │ ├── src-bin-psql-command.c.patch
│ │ ├── src-include-pg_config_manual.h.patch
│ │ └── src-timezone-zic.c.patch.beforehostbuild
│ ├── potrace/
│ │ └── build.sh
│ ├── privoxy/
│ │ ├── GNUmakefile.in.patch
│ │ ├── build.sh
│ │ ├── jcc.c.patch
│ │ └── project.h.patch
│ ├── procps/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ ├── pgrep.c.patch
│ │ ├── pmap.c.patch
│ │ ├── proc-sysinfo.c.patch
│ │ ├── procio.c.patch
│ │ ├── sysctl.c.patch
│ │ ├── top-top.c.patch
│ │ └── w.c.patch
│ ├── profanity/
│ │ ├── build.sh
│ │ ├── cmd_funcs.c.patch
│ │ └── ui-inputwin.c.patch
│ ├── progress/
│ │ ├── Makefile.patch
│ │ ├── WithoutWordexp.patch
│ │ └── build.sh
│ ├── proot/
│ │ ├── build.sh
│ │ └── termux-chroot
│ ├── proxychains-ng/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── hostreader.c.patch
│ │ └── libproxychains.c.patch
│ ├── psmisc/
│ │ ├── build.sh
│ │ ├── pstree.patch
│ │ └── src-fuser.c.patch
│ ├── pulseaudio/
│ │ ├── 0001-atomic-Explicitly-cast-void-to-unsigned-long.patch
│ │ ├── aaudio.patch
│ │ ├── build.sh
│ │ ├── fix-paths.patch
│ │ ├── module-aaudio-sink.c
│ │ ├── module-sles-sink.c
│ │ ├── module-sles-source.c
│ │ ├── no_priv_drop.patch
│ │ └── sles.patch
│ ├── pure-ftpd/
│ │ ├── build.sh
│ │ ├── pure-pwconvert.c.patch
│ │ ├── src-ftpd.h.patch
│ │ └── src-ftpd_p.h.patch
│ ├── pv/
│ │ ├── build.sh
│ │ ├── header.in.patch
│ │ └── src-pv-cursor.c.patch
│ ├── pwgen/
│ │ └── build.sh
│ ├── python/
│ │ ├── 0001-compileall-Fix-ddir-when-recursing.patch
│ │ ├── Lib-pathlib.py.patch
│ │ ├── Lib-subprocess.py.patch
│ │ ├── Lib-tmpfile.py.patch
│ │ ├── Modules-socketmodule.c.patch
│ │ ├── _cursesmodule.c.patch
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── cryptmodule.c.patch
│ │ ├── distutils-command-build.py.patch
│ │ ├── fix-paths.patch
│ │ ├── python-tkinter.subpackage.sh
│ │ └── setup.py.patch
│ ├── python2/
│ │ ├── Lib-subprocess.py.patch
│ │ ├── Lib-tempfile.py.patch
│ │ ├── Makefile.pre.in.patch
│ │ ├── Modules-pwdmodule.c.patch
│ │ ├── Python-bltinmodule.c.patch
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── cryptmodule.c.patch
│ │ ├── fix-dlfcn.patch32
│ │ ├── fix-dlfcn.patch64
│ │ ├── fix-paths.patch
│ │ └── setup.py.patch
│ ├── qalc/
│ │ ├── build.sh
│ │ └── util.cc.patch
│ ├── qpdf/
│ │ └── build.sh
│ ├── quickjs/
│ │ └── build.sh
│ ├── radare2/
│ │ ├── 5d76b9ff992b1b7dd64b1ccb89afa40318ff25fa.patch
│ │ ├── build.sh
│ │ ├── f639c3b6a17a57c9a0fa1790811eff27dd124b59.patch
│ │ ├── libr-core-cconfig.c.patch
│ │ ├── libr-include-r_magic.h.patch
│ │ ├── libr-util-diff.c.patch
│ │ ├── libr-util-file.c.patch
│ │ ├── libr-util-sandbox.c.patch
│ │ ├── mk-termux-host.mk.patch
│ │ └── sys-ldconfig.sh.patch
│ ├── ragel/
│ │ └── build.sh
│ ├── ranger/
│ │ ├── build.sh
│ │ ├── ranger-core-actions.py.patch
│ │ └── ranger.patch
│ ├── rclone/
│ │ └── build.sh
│ ├── rcs/
│ │ ├── build.sh
│ │ └── noreturn.patch
│ ├── readline/
│ │ ├── build.sh
│ │ ├── inputrc
│ │ └── rlconf.h.patch
│ ├── redir/
│ │ ├── build.sh
│ │ └── redir.c.patch
│ ├── redis/
│ │ ├── bio.c.patch
│ │ ├── build.sh
│ │ ├── config.h.patch
│ │ ├── redis.conf.patch
│ │ ├── src-Makefile.patch
│ │ └── src-server.h.patch
│ ├── remind/
│ │ └── build.sh
│ ├── resolv-conf/
│ │ └── build.sh
│ ├── restic/
│ │ └── build.sh
│ ├── rgbds/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── rhash/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── librhash-byte_order.h.patch
│ │ └── parse_cmdline.c.patch
│ ├── ripgrep/
│ │ └── build.sh
│ ├── rlwrap/
│ │ ├── build.sh
│ │ ├── fix-hardcoded-paths.patch
│ │ └── ptytty.c.patch
│ ├── root-repo/
│ │ └── build.sh
│ ├── rsync/
│ │ ├── build.sh
│ │ ├── rsync-3.1.3_lib_getpass.c.patch
│ │ └── rsync.h.patch
│ ├── rtmpdump/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── ruby/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ ├── ext-etc-etc.c.patch
│ │ ├── ext-syslog-extconf.rb.patch
│ │ ├── fix-paths.patch
│ │ ├── lib-rubygems-install_update_options.rb.patch
│ │ ├── lib-tmpdir.rb.patch
│ │ ├── mkmf.rb.patch
│ │ ├── process.c.patch
│ │ ├── pty.c.patch
│ │ ├── ruby-ri.subpackage.sh
│ │ ├── src-signal.c.patch
│ │ ├── tests/
│ │ │ ├── default_encoding_isutf8.sh
│ │ │ └── extension_modules_installed.sh
│ │ └── tool-rbinstall.rb.patch
│ ├── rust/
│ │ ├── build.sh
│ │ ├── config.toml
│ │ ├── os-tmpdir.patch
│ │ ├── rust-std-wasm32.subpackage.sh
│ │ └── src-librustc_llvm-build.rs.patch
│ ├── samefile/
│ │ └── build.sh
│ ├── sc/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── cmds.c.patch
│ ├── sc-im/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── cmds_command.c.patch
│ │ ├── cmds_normal.c.patch
│ │ ├── cmds_visual.c.patch
│ │ ├── file.c.patch
│ │ └── main.c.patch
│ ├── science-repo/
│ │ └── build.sh
│ ├── screen/
│ │ ├── attacher.c.patch
│ │ ├── build.sh
│ │ ├── config.h.in.patch
│ │ ├── fileio.c.patch
│ │ ├── misc.c.patch
│ │ ├── no-setuid.patch
│ │ ├── os.h.patch
│ │ ├── osdef.h.in.patch
│ │ ├── screen.h.patch
│ │ ├── utmp.c.patch
│ │ └── window.c.patch
│ ├── screenfetch/
│ │ ├── build.sh
│ │ └── screenfetch-dev.patch
│ ├── scrypt/
│ │ └── build.sh
│ ├── sdcv/
│ │ ├── build.sh
│ │ └── src-mapfile.hpp.patch
│ ├── seafile-client/
│ │ ├── build.sh
│ │ └── configure.ac.patch
│ ├── seccure/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── secure-delete/
│ │ ├── 000-from-debian.patch
│ │ ├── 001-makefile-cc.patch
│ │ └── build.sh
│ ├── sed/
│ │ └── build.sh
│ ├── sensible-utils/
│ │ └── build.sh
│ ├── serf/
│ │ ├── build.sh
│ │ └── sconstruct.patch
│ ├── sharutils/
│ │ ├── build.sh
│ │ └── config.h.in.patch
│ ├── shellharden/
│ │ └── build.sh
│ ├── silversearcher-ag/
│ │ └── build.sh
│ ├── sl/
│ │ ├── build.sh
│ │ └── makefile.patch
│ ├── socat/
│ │ ├── build.sh
│ │ ├── dont_use_resolv_h.patch
│ │ ├── no-o_append.patch
│ │ └── openpty.c.patch
│ ├── sox/
│ │ └── build.sh
│ ├── speexdsp/
│ │ └── build.sh
│ ├── spiped/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── squid/
│ │ ├── CpuAffinitySet.cc.patch
│ │ ├── build.sh
│ │ ├── dns_internal.cc.patch
│ │ ├── src-esi-VarState.cc.patch
│ │ └── sys-stat.h.patch
│ ├── sshpass/
│ │ └── build.sh
│ ├── ssss/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── ssss.1
│ ├── stag/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── stag.c.patch
│ ├── starship/
│ │ └── build.sh
│ ├── steghide/
│ │ ├── build.sh
│ │ ├── gcc-4.2.patch
│ │ ├── libtool-fix.patch
│ │ ├── steghide-climits.patch
│ │ └── steghide-gcc6.patch
│ ├── stfl/
│ │ ├── 001-makefile.patch
│ │ └── build.sh
│ ├── stow/
│ │ └── build.sh
│ ├── strace/
│ │ ├── build.sh
│ │ ├── ipc_msgctl.c.patch
│ │ ├── ipc_shmctl.c.patch
│ │ └── strace.c.patch
│ ├── stunnel/
│ │ └── build.sh
│ ├── subversion/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── no_setlocale.patch
│ ├── swi-prolog/
│ │ └── build.sh
│ ├── swig/
│ │ └── build.sh
│ ├── syncthing/
│ │ └── build.sh
│ ├── taglib/
│ │ └── build.sh
│ ├── tar/
│ │ ├── build.sh
│ │ ├── gnu-stdio-impl.h.patch
│ │ ├── gnu-vasnprintf.c.patch
│ │ ├── src-system.c.patch
│ │ └── tmpdir-path.patch
│ ├── tasksh/
│ │ └── build.sh
│ ├── taskwarrior/
│ │ ├── CMakeLists.txt.patch
│ │ └── build.sh
│ ├── tcl/
│ │ └── build.sh
│ ├── tcsh/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ └── sh.h.patch
│ ├── teckit/
│ │ └── build.sh
│ ├── tergent/
│ │ └── build.sh
│ ├── termimage/
│ │ └── build.sh
│ ├── termux-am/
│ │ └── build.sh
│ ├── termux-api/
│ │ └── build.sh
│ ├── termux-apt-repo/
│ │ └── build.sh
│ ├── termux-auth/
│ │ └── build.sh
│ ├── termux-create-package/
│ │ └── build.sh
│ ├── termux-elf-cleaner/
│ │ └── build.sh
│ ├── termux-exec/
│ │ └── build.sh
│ ├── termux-keyring/
│ │ ├── build.sh
│ │ ├── fornwall.gpg
│ │ ├── grimler.gpg
│ │ ├── termux-autobuilds.gpg
│ │ └── xeffyr.gpg
│ ├── termux-licenses/
│ │ ├── LICENSES/
│ │ │ ├── AGPL-V3.txt
│ │ │ ├── Apache-2.0.txt
│ │ │ ├── Artistic-License-2.0.txt
│ │ │ ├── BSD 2-Clause.txt
│ │ │ ├── BSD 3-Clause.txt
│ │ │ ├── BSD.txt
│ │ │ ├── BSL-1.0.txt
│ │ │ ├── CC0-1.0.txt
│ │ │ ├── CeCILL-2.1.txt
│ │ │ ├── EPL-1.0.txt
│ │ │ ├── EPL-2.0.txt
│ │ │ ├── GPL-2.0.txt
│ │ │ ├── GPL-3.0.txt
│ │ │ ├── ISC.txt
│ │ │ ├── ImageMagick.txt
│ │ │ ├── LGPL-2.0.txt
│ │ │ ├── LGPL-2.1.txt
│ │ │ ├── LGPL-3.0.txt
│ │ │ ├── Libpng.txt
│ │ │ ├── MIT.txt
│ │ │ ├── MPL-2.0.txt
│ │ │ ├── NCSA.txt
│ │ │ ├── Nethack.txt
│ │ │ ├── OpenLDAP.txt
│ │ │ ├── PHP-3.0.txt
│ │ │ ├── Public Domain.txt
│ │ │ ├── PythonPL.txt
│ │ │ ├── Unlicense.txt
│ │ │ ├── VIM License.txt
│ │ │ ├── WTFPL.txt
│ │ │ ├── ZLIB.txt
│ │ │ └── wxWindows.txt
│ │ └── build.sh
│ ├── termux-services/
│ │ └── build.sh
│ ├── termux-tools/
│ │ ├── build.sh
│ │ ├── chsh
│ │ ├── dalvikvm
│ │ ├── login
│ │ ├── motd
│ │ ├── pkg
│ │ ├── su
│ │ ├── termux-fix-shebang
│ │ ├── termux-info
│ │ ├── termux-open
│ │ ├── termux-open-url
│ │ ├── termux-reload-settings
│ │ ├── termux-setup-storage
│ │ ├── termux-wake-lock
│ │ └── termux-wake-unlock
│ ├── teseq/
│ │ └── build.sh
│ ├── tesseract/
│ │ └── build.sh
│ ├── texinfo/
│ │ ├── build.sh
│ │ └── texindex-texindex.in.patch
│ ├── texlive/
│ │ ├── build.sh
│ │ ├── check_for_conflicts.py
│ │ ├── fmtutil.cnf.patch
│ │ ├── parse_tlpdb.py
│ │ ├── texlive-bibtexextra.subpackage.sh
│ │ ├── texlive-binextra.subpackage.sh
│ │ ├── texlive-context.subpackage.sh
│ │ ├── texlive-fontsextra.subpackage.sh
│ │ ├── texlive-fontsrecommended.subpackage.sh
│ │ ├── texlive-fontutils.subpackage.sh
│ │ ├── texlive-formatsextra.subpackage.sh
│ │ ├── texlive-full.subpackage.sh
│ │ ├── texlive-games.subpackage.sh
│ │ ├── texlive-humanities.subpackage.sh
│ │ ├── texlive-langarabic.subpackage.sh
│ │ ├── texlive-langchinese.subpackage.sh
│ │ ├── texlive-langcjk.subpackage.sh
│ │ ├── texlive-langcyrillic.subpackage.sh
│ │ ├── texlive-langczechslovak.subpackage.sh
│ │ ├── texlive-langenglish.subpackage.sh
│ │ ├── texlive-langeuropean.subpackage.sh
│ │ ├── texlive-langfrench.subpackage.sh
│ │ ├── texlive-langgerman.subpackage.sh
│ │ ├── texlive-langgreek.subpackage.sh
│ │ ├── texlive-langitalian.subpackage.sh
│ │ ├── texlive-langjapanese.subpackage.sh
│ │ ├── texlive-langkorean.subpackage.sh
│ │ ├── texlive-langother.subpackage.sh
│ │ ├── texlive-langpolish.subpackage.sh
│ │ ├── texlive-langportuguese.subpackage.sh
│ │ ├── texlive-langspanish.subpackage.sh
│ │ ├── texlive-latexextra.subpackage.sh
│ │ ├── texlive-latexrecommended.subpackage.sh
│ │ ├── texlive-luatex.subpackage.sh
│ │ ├── texlive-mathscience.subpackage.sh
│ │ ├── texlive-metapost.subpackage.sh
│ │ ├── texlive-music.subpackage.sh
│ │ ├── texlive-pictures.subpackage.sh
│ │ ├── texlive-plaingeneric.subpackage.sh
│ │ ├── texlive-pstricks.subpackage.sh
│ │ ├── texlive-publishers.subpackage.sh
│ │ ├── texlive-xetex.subpackage.sh
│ │ ├── texmf.cnf.patch
│ │ └── web2c-texmf.cnf
│ ├── texlive-bin/
│ │ ├── build.sh
│ │ ├── pdftoepdf-poppler0.76.0.cc
│ │ ├── pdftosrc-poppler0.76.0.cc
│ │ ├── texk-kpathsea-texmf.cnf.patch
│ │ ├── texk-web2c-luatexdir-luaffi-ffi.h.patch
│ │ ├── xetex-poppler-fixes.patch
│ │ └── zziplib_disable_have_dirent.patch
│ ├── texlive-tlmgr/
│ │ ├── TLConfig.pm.patch
│ │ ├── TLUtils.pm.patch
│ │ ├── build.sh
│ │ └── texlive.tlpdb
│ ├── tidy/
│ │ ├── build.sh
│ │ └── disable-target-manpages.patch
│ ├── tig/
│ │ └── build.sh
│ ├── timewarrior/
│ │ ├── build.sh
│ │ ├── cmake-CXXSniffer.cmake.patch
│ │ └── src-CMakeLists.txt.patch
│ ├── tintin++/
│ │ ├── build.sh
│ │ └── src-system.c.patch
│ ├── tinyproxy/
│ │ ├── build.sh
│ │ ├── child.c.patch
│ │ ├── configure.patch
│ │ └── heap.c.patch
│ ├── tinyscheme/
│ │ ├── build.sh
│ │ ├── makefile.patch
│ │ └── schema.c.patch
│ ├── tk/
│ │ ├── build.sh
│ │ └── no-hardlinks.patch
│ ├── tmate/
│ │ ├── build.sh
│ │ └── tmux.h.patch
│ ├── tmux/
│ │ ├── build.sh
│ │ ├── compat-imsg.c.patch
│ │ ├── compat-setproctitle.c.patch
│ │ ├── configure.patch
│ │ ├── socket-path.patch
│ │ └── tmux.conf
│ ├── toilet/
│ │ └── build.sh
│ ├── tokei/
│ │ └── build.sh
│ ├── tor/
│ │ ├── build.sh
│ │ ├── src-app-main-main.c.patch
│ │ └── src-feature-relay-dns.c.patch
│ ├── torsocks/
│ │ ├── Makefile.am.patch
│ │ ├── build.sh
│ │ ├── configure.ac.patch
│ │ ├── src-common-compat.h.patch
│ │ ├── src-common-config-file.h.patch
│ │ ├── src-lib-gethostbyname.c.patch
│ │ └── src-lib-syscall.c.patch
│ ├── toxic/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── cfg-checks-audio.mk.patch
│ ├── tracepath/
│ │ ├── build.sh
│ │ └── tracepath.c.patch
│ ├── translate-shell/
│ │ └── build.sh
│ ├── transmission/
│ │ ├── arpa_inet_h.patch
│ │ ├── build.sh
│ │ ├── libtransmission-fdlimit.c.patch
│ │ ├── miniwget_min.patch
│ │ ├── no_locale.patch
│ │ └── no_quota.patch
│ ├── tree/
│ │ ├── build.sh
│ │ └── tree.c.patch
│ ├── tsocks/
│ │ ├── 00_patch_from_1.8beta5-9.2.patch
│ │ ├── 01_symbolexport.patch
│ │ ├── 02_hyphenfix.patch
│ │ ├── 03_fixloop.patch
│ │ ├── 04_getpeername.patch
│ │ ├── 05_config_in_home.patch
│ │ ├── 06_fallback.patch
│ │ ├── 07_tsocks-1.8_beta5-hostname-config-fix.patch
│ │ ├── 08_manpages-fixes.patch
│ │ ├── 10_hardening.patch
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── no-static-linking.patch
│ │ ├── tsocks.c.patch
│ │ └── tsocks.patch
│ ├── tsu/
│ │ └── build.sh
│ ├── tty-clock/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── ttyd/
│ │ ├── CMakeLists.txt.patch
│ │ ├── build.sh
│ │ └── src-utils.c.patch
│ ├── ttyrec/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── ttyrec.c.patch
│ ├── tweego/
│ │ └── build.sh
│ ├── uftrace/
│ │ ├── arm-clang-mcount-hook.patch
│ │ ├── build.sh
│ │ ├── cmds-live.c.patch
│ │ ├── cmds-record.c.patch
│ │ ├── disable-librt.patch
│ │ ├── kernel.c.patch
│ │ ├── libmcount-record.c.patch
│ │ ├── libmcount-wrap.c.patch
│ │ └── pr_warn.patch
│ ├── unicorn/
│ │ ├── build.sh
│ │ └── samples-Makefile.patch
│ ├── unifdef/
│ │ └── build.sh
│ ├── units/
│ │ ├── build.sh
│ │ └── units.h.patch.debug
│ ├── unrar/
│ │ ├── build.sh
│ │ ├── makefile.patch
│ │ └── os.hpp.patch
│ ├── unstable-repo/
│ │ └── build.sh
│ ├── unzip/
│ │ ├── bugfix-crc32.patch
│ │ ├── bugfix-csiz-underflow.patch
│ │ ├── bugfix-cve20149636.patch
│ │ ├── bugfix-empty-input.patch
│ │ ├── bugfix-getZip64Data.patch
│ │ ├── bugfix-nextbyte-overflow.patch
│ │ ├── bugfix-overflow-fsize.patch
│ │ ├── bugfix-test_compr_eb.patch
│ │ ├── build.sh
│ │ ├── makefile.patch
│ │ ├── unix-configure.patch
│ │ └── unzip.c.patch
│ ├── utf8cpp/
│ │ └── build.sh
│ ├── utf8proc/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── utfdecode/
│ │ └── build.sh
│ ├── util-linux/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── fix-paths.patch
│ │ ├── lib-ismounted.c.patch
│ │ ├── sys-utils-ipcutils.c.patch
│ │ └── sys-utils-ipcutils.h.patch
│ ├── valac/
│ │ ├── build.sh
│ │ └── valadoc.subpackage.sh
│ ├── valgrind/
│ │ ├── aarch64-setjmp.S
│ │ ├── build.sh
│ │ ├── coregrind-vgdb.c.patch
│ │ ├── coregrindmake.am.patch
│ │ ├── dont-redefine-elf32_nhdr.patch
│ │ ├── libcsetjmp.h.patch
│ │ ├── memcheckmake.am.patch
│ │ └── vg_preloaded.c.patch
│ ├── vcsh/
│ │ └── build.sh
│ ├── vegeta/
│ │ └── build.sh
│ ├── vifm/
│ │ ├── build.sh
│ │ ├── cmd_completion.c.patch
│ │ ├── configure.ac.patch
│ │ ├── file_info.c.patch
│ │ ├── src-Makefile.am.patch
│ │ ├── src-registers.c.patch
│ │ ├── src-utils-path.c.patch
│ │ └── src-utils-shmem_nix.c.patch
│ ├── vim/
│ │ ├── build.sh
│ │ ├── option.c.patch
│ │ ├── os_unix.h.patch
│ │ ├── src-auto-configure.patch
│ │ ├── src-if_cscope.c.patch
│ │ ├── vim-runtime.subpackage.sh
│ │ ├── vimrc
│ │ ├── vimtutor.patch
│ │ └── vterm_internal.h.patch
│ ├── vim-python/
│ │ ├── build.sh
│ │ ├── option.c.patch
│ │ ├── os_unix.h.patch
│ │ ├── src-auto-configure.patch
│ │ ├── src-if_cscope.c.patch
│ │ ├── vimrc
│ │ ├── vimtutor.patch
│ │ └── vterm_internal.h.patch
│ ├── virustotal-cli/
│ │ └── build.sh
│ ├── vis/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── vorbis-tools/
│ │ └── build.sh
│ ├── vttest/
│ │ └── build.sh
│ ├── vtutils/
│ │ └── build.sh
│ ├── w3m/
│ │ ├── Makefile.in.patch
│ │ ├── Str.h.patch
│ │ ├── build.sh
│ │ └── gc.h
│ ├── wcalc/
│ │ └── build.sh
│ ├── weechat/
│ │ ├── build.sh
│ │ ├── cmake-FindPerl.cmake.patch
│ │ ├── no-setuid.patch
│ │ ├── src-core-wee-config.c.patch
│ │ ├── src-core-weechat.c.patch
│ │ ├── src-gui-curses-CMakeLists.txt.patch
│ │ ├── weechat-lua-plugin.subpackage.sh
│ │ ├── weechat-perl-plugin.subpackage.sh
│ │ ├── weechat-python-plugin.subpackage.sh
│ │ ├── weechat-python38.patch
│ │ └── weechat-ruby-plugin.subpackage.sh
│ ├── wget/
│ │ ├── build.sh
│ │ ├── lib-stdio-impl.h.patch
│ │ └── tmpdir-path.patch
│ ├── wireguard-tools/
│ │ ├── android.c.patch
│ │ └── build.sh
│ ├── wol/
│ │ ├── build.sh
│ │ ├── lib-getline.h.patch
│ │ └── src-magic.c.patch
│ ├── wordgrinder/
│ │ ├── Makefile.patch
│ │ ├── build.lua.patch
│ │ └── build.sh
│ ├── wren/
│ │ ├── build.sh
│ │ ├── libuv-sys-include.patch
│ │ └── util-wren.mk.patch
│ ├── wuzz/
│ │ └── build.sh
│ ├── x11-repo/
│ │ └── build.sh
│ ├── xcb-proto/
│ │ └── build.sh
│ ├── xmlsec/
│ │ └── build.sh
│ ├── xmlstarlet/
│ │ └── build.sh
│ ├── xorg-util-macros/
│ │ ├── build.sh
│ │ └── util-macros-1.19.1_xorg-macros.m4.in.patch
│ ├── xorgproto/
│ │ ├── build.sh
│ │ ├── include-x11-Xos_r.h.patch
│ │ ├── include-x11-Xpoll.h.in.patch
│ │ └── meson.build.patch
│ ├── xorriso/
│ │ ├── build.sh
│ │ └── pthread.patch
│ ├── xtrans/
│ │ ├── build.sh
│ │ ├── xtrans-1.3.5_Xtransutil.c.patch
│ │ ├── xtrans-1.4.0_Xtranslcl.c.patch
│ │ └── xtrans-1.4.0_Xtranssock.c.patch
│ ├── xvidcore/
│ │ └── build.sh
│ ├── yadm/
│ │ └── build.sh
│ ├── yajl/
│ │ └── build.sh
│ ├── yarn/
│ │ └── build.sh
│ ├── yasm/
│ │ └── build.sh
│ ├── zbar/
│ │ ├── build.sh
│ │ ├── configure.ac.patch
│ │ └── zbarimg.c.patch
│ ├── zile/
│ │ ├── build.sh
│ │ ├── configure-pthreads-no-weak.patch
│ │ ├── lib-vasnprintf.c.patch
│ │ ├── spawn.patch
│ │ └── zile.1
│ ├── zip/
│ │ ├── build.sh
│ │ ├── makefile.patch
│ │ └── unix-configure.patch
│ ├── zlib/
│ │ └── build.sh
│ ├── zsh/
│ │ ├── Src-exec.c.patch
│ │ ├── build.sh
│ │ ├── compaudit.patch
│ │ ├── configure.patch
│ │ ├── etc-zshrc
│ │ ├── src-init.c.patch
│ │ ├── src-module.c.patch
│ │ └── tmp_path.patch
│ ├── zstd/
│ │ ├── build.sh
│ │ └── no-timespec_get.patch
│ └── zsync/
│ └── build.sh
├── print.txt
├── sample/
│ ├── build.sh
│ └── sample-sub.subpackage.sh
└── scripts/
├── Dockerfile
├── Vagrantfile
├── apt-compare-versions
├── build/
│ ├── ci/
│ │ └── cirrus-ci_dispatcher.sh
│ ├── configure/
│ │ ├── termux_step_configure.sh
│ │ ├── termux_step_configure_autotools.sh
│ │ ├── termux_step_configure_cmake.sh
│ │ └── termux_step_configure_meson.sh
│ ├── setup/
│ │ ├── termux_setup_cmake.sh
│ │ ├── termux_setup_golang.sh
│ │ ├── termux_setup_meson.sh
│ │ ├── termux_setup_ninja.sh
│ │ ├── termux_setup_protobuf.sh
│ │ └── termux_setup_rust.sh
│ ├── termux_create_subpackages.sh
│ ├── termux_download.sh
│ ├── termux_download_deb.sh
│ ├── termux_error_exit.sh
│ ├── termux_extract_dep_info.sh
│ ├── termux_get_repo_files.sh
│ ├── termux_step_create_datatar.sh
│ ├── termux_step_create_debfile.sh
│ ├── termux_step_extract_into_massagedir.sh
│ ├── termux_step_extract_package.sh
│ ├── termux_step_finish_build.sh
│ ├── termux_step_handle_buildarch.sh
│ ├── termux_step_handle_hostbuild.sh
│ ├── termux_step_host_build.sh
│ ├── termux_step_install_license.sh
│ ├── termux_step_make.sh
│ ├── termux_step_make_install.sh
│ ├── termux_step_massage.sh
│ ├── termux_step_patch_package.sh
│ ├── termux_step_replace_guess_scripts.sh
│ ├── termux_step_setup_toolchain.sh
│ ├── termux_step_setup_variables.sh
│ └── termux_step_start_build.sh
├── buildorder.py
├── check-built-packages.py
├── check-pie.sh
├── check-versions.sh
├── config.guess
├── config.sub
├── get_hash_from_file.py
├── ldd
├── lint-packages.sh
├── list-packages.sh
├── list-versions.sh
├── package_uploader.sh
├── print.txt
├── properties.sh
├── run-docker.ps1
├── run-docker.sh
├── setup-android-sdk.sh
├── setup-archlinux.sh
├── setup-termux.sh
├── setup-ubuntu.sh
├── test-runner.sh
└── update-docker.sh
================================================
FILE CONTENTS
================================================
================================================
FILE: .cirrus.yml
================================================
container:
image: andronixapp/package-builder:latest
##
## When doing release builds (branch 'master'), update Docker image if
## required.
##
docker_builder:
name: Update docker image
only_if: $CIRRUS_BRANCH == 'master'
env:
DOCKER_USERNAME: andronixapp
DOCKER_PASSWORD: ENCRYPTED[f1e136ddb0b71978bd017089b1ba5101d43e263b5e22d3121055b948890110b8f98208eb26424ffe4bdbd99a7a0502b5]
script: |
bash ./scripts/build/ci/cirrus-ci_dispatcher.sh --update-docker
##
## Perform basic check for errors in build.sh package scripts.
## If error found, exit with error code to stop build.
##
task:
container:
cpu: 1
memory: 4
name: Lint packages
timeout_in: 5m
depends_on:
- Update docker image
script: |
bash scripts/lint-packages.sh
##
## Determine changes in the last push, find modified packages and
## build them for aarch64/arm/i686/x86_64 architectures.
##
## Built packages are accessible from Cirrus CI web interface.
##
task:
container:
# Max configuration required by few large packages such as `rust`.
cpu: 8
memory: 24
name: Build packages
# 2 hours is a maximal timeout available for free use.
timeout_in: 120m
depends_on:
- Lint packages
environment:
TERMUX_MAKE_PROCESSES: 8
matrix:
- TERMUX_ARCH: aarch64
- TERMUX_ARCH: arm
- TERMUX_ARCH: i686
- TERMUX_ARCH: x86_64
# Do not use built-in git client provided by Cirrus as it may
# cause problems when determining changed files.
clone_script: |
if [[ -z "$CIRRUS_PR" ]]; then
git clone --recursive --branch="$CIRRUS_BRANCH" "https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git" "$CIRRUS_WORKING_DIR"
git reset --hard "$CIRRUS_CHANGE_IN_REPO"
else
git clone --recursive "https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git" "$CIRRUS_WORKING_DIR"
git fetch origin "pull/$CIRRUS_PR/head:pull/$CIRRUS_PR"
git reset --hard "$CIRRUS_CHANGE_IN_REPO"
fi
build_script: |
export TERMUX_DEBDIR="/tmp/debs-${TERMUX_ARCH}"
ln -s "$TERMUX_DEBDIR" debs
bash ./scripts/build/ci/cirrus-ci_dispatcher.sh
aarch64_debs_cache:
folder: "/tmp/debs-aarch64"
fingerprint_script: echo "${CIRRUS_CHANGE_IN_REPO}-aarch64"
arm_debs_cache:
folder: "/tmp/debs-arm"
fingerprint_script: echo "${CIRRUS_CHANGE_IN_REPO}-arm"
i686_debs_cache:
folder: "/tmp/debs-i686"
fingerprint_script: echo "${CIRRUS_CHANGE_IN_REPO}-i686"
x86-64_debs_cache:
folder: "/tmp/debs-x86_64"
fingerprint_script: echo "${CIRRUS_CHANGE_IN_REPO}-x86_64"
output_artifacts:
path: "./debs/*.deb"
##
## When doing release build (branch 'master'), upload built packages
## to APT repository on Bintray.
##
task:
container:
cpu: 1
memory: 4
name: Upload packages to Bintray
only_if: $CIRRUS_BRANCH == 'master'
timeout_in: 60m
depends_on:
- Build packages
environment:
BINTRAY_USERNAME: imprakharshukla
BINTRAY_API_KEY: ENCRYPTED[6dd62eec639e531a066d198368d73a890d91f28d92652b4b7b4eed40a175c1bb13b43b66e74441c3d4b7e85d2eb3e808]
BINTRAY_GPG_SUBJECT: andronixapp
BINTRAY_GPG_PASSPHRASE: ENCRYPTED[c766a2569ac7b479de6aba07da6ba146e90d96013cdc8a86d1d68e4d76e9e855c05d93f8727d2838140856ff85ac655a]
TERMUX_ANDROID_HOME: /data/data/studio.com.techriz.andronix/files/home
TERMUX_PREFIX: /data/data/studio.com.techriz.andronix/files/usr
# Do not use built-in git client provided by Cirrus as it may
# cause problems when determining changed files.
clone_script: |
if [[ -z "$CIRRUS_PR" ]]; then
git clone --recursive --branch="$CIRRUS_BRANCH" "https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git" "$CIRRUS_WORKING_DIR"
git reset --hard "$CIRRUS_CHANGE_IN_REPO"
else
git clone --recursive "https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git" "$CIRRUS_WORKING_DIR"
git fetch origin "pull/$CIRRUS_PR/head:pull/$CIRRUS_PR"
git reset --hard "$CIRRUS_CHANGE_IN_REPO"
fi
aarch64_debs_cache:
folder: "./debs"
fingerprint_script: echo "${CIRRUS_CHANGE_IN_REPO}-aarch64"
arm_debs_cache:
folder: "./debs"
fingerprint_script: echo "${CIRRUS_CHANGE_IN_REPO}-arm"
i686_debs_cache:
folder: "./debs"
fingerprint_script: echo "${CIRRUS_CHANGE_IN_REPO}-i686"
x86-64_debs_cache:
folder: "./debs"
fingerprint_script: echo "${CIRRUS_CHANGE_IN_REPO}-x86_64"
script: |
bash ./scripts/build/ci/cirrus-ci_dispatcher.sh --upload
================================================
FILE: .github/main.workflow
================================================
workflow "Discord" {
on = "check_suite"
resolves = "Discord Webhook"
}
action "Discord Webhook" {
uses = "docker://cirrusactions/discord:latest"
secrets = ["WEBHOOK_URL"]
}
================================================
FILE: .gitignore
================================================
### Vim ###
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
*~
/debs/
### Vagrant ###
scripts/*.log
scripts/.vagrant/
env.sh
/scripts/env.sh
env.sh
env2.sh
bootstrap-aarch64.zip
bootstrap-arm.zip
bootstrap-i686.zip
bootstrap-x86_64.zip
================================================
FILE: LICENSE.md
================================================
# License for package patches
The scripts and patches to build each package is licensed under the same
license as the actual package (so the patches and scripts to build bash are
licensed under the same license as bash, while the patches and scripts to build
python are licensed under the same license as python).
# License for the build infrastructure
For build infrastructure outside the `packages/` folder the license is
[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
================================================
FILE: README.md
================================================
<p align="center">
<img src="https://github.com/imprakharshukla/termux-packages/blob/master/Assests/github_banner.png" height="715" width="805" />
</p>
[](https://cirrus-ci.com/andronixapp/termux-packages)
This project contains all the essential packages and utilities required to build packages for **Termux integrated within Andronix**.
<br></br>
Find the packages @ [official Andronix Repository](https://androfile.online)
<br></br>
> Do not confuse this repository with the official [Termux packages repository](https://github.com/termux/termux-packages). Packages built with the instructions given in this project will not work across apps. ***DO NOT MIX THE PACKAGES WITH THE OFFICIAL TERMUX REPOSITORY IN YOUR ANDRONIX INSTALLATION (visa versa).***
<br></br>
Termux package management quick how-to available on https://github.com/imprakharshukla/termux-packages/wiki.
To learn about using our build environment, read the [Developer's Wiki](https://github.com/imprakharshukla/termux-packages/wiki).
## Project structure
There 2 main branches available:
- [master] - packages for Android 7.0 or higher.
Directories:
- [disabled-packages](disabled-packages/):
Packages that cannot be published due to serious issues.
- [ndk-patches](ndk-patches/):
Our changes to Android NDK headers.
- [packages](packages/):
Main set of packages.
- [sample](sample/):
Sample structure for creating new packages.
- [scripts](scripts/):
Set of utilities and build system scripts.
## Contributing
### Bug reports
Do not request the addition of any packages. We are using the bare minimum packages like `proot,tar,pulseaudio` for example. We will only be updating those packages. **Rest all the packages will be not maintained.**
## Reach us
**AndroNix communities**
Twitter- https://twitter.com/AndronixApp
Telegram- https://t.me/AndronixApp
Discord- https://discord.gg/jywhBH4
## Credits
Termux- https://play.google.com/store/apps/details?id=com.termux
================================================
FILE: build-all.sh
================================================
#!/bin/bash
# build-all.sh - script to build all packages with a build order specified by buildorder.py
set -e -u -o pipefail
if [ "$(uname -o)" = "Android" ] || [ -e "/system/bin/app_process" ]; then
echo "On-device execution of this script is not supported."
exit 1
fi
# Read settings from .termuxrc if existing
test -f $HOME/.termuxrc && . $HOME/.termuxrc
: ${TERMUX_TOPDIR:="$HOME/.termux-build"}
: ${TERMUX_ARCH:="aarch64"}
: ${TERMUX_DEBUG:=""}
: ${TERMUX_INSTALL_DEPS:="-s"}
# Set TERMUX_INSTALL_DEPS to -s unless set to -i
_show_usage() {
echo "Usage: ./build-all.sh [-a ARCH] [-d] [-i] [-o DIR]"
echo "Build all packages."
echo " -a The architecture to build for: aarch64(default), arm, i686, x86_64 or all."
echo " -d Build with debug symbols."
echo " -i Build dependencies."
echo " -o Specify deb directory. Default: debs/."
exit 1
}
while getopts :a:hdio: option; do
case "$option" in
a) TERMUX_ARCH="$OPTARG";;
d) TERMUX_DEBUG='-d';;
i) TERMUX_INSTALL_DEPS='-i';;
o) TERMUX_DEBDIR="$(realpath -m $OPTARG)";;
h) _show_usage;;
esac
done
shift $((OPTIND-1))
if [ "$#" -ne 0 ]; then _show_usage; fi
if [[ ! "$TERMUX_ARCH" =~ ^(all|aarch64|arm|i686|x86_64)$ ]]; then
echo "ERROR: Invalid arch '$TERMUX_ARCH'" 1>&2
exit 1
fi
BUILDSCRIPT=$(dirname $0)/build-package.sh
BUILDALL_DIR=$TERMUX_TOPDIR/_buildall-$TERMUX_ARCH
BUILDORDER_FILE=$BUILDALL_DIR/buildorder.txt
BUILDSTATUS_FILE=$BUILDALL_DIR/buildstatus.txt
if [ -e $BUILDORDER_FILE ]; then
echo "Using existing buildorder file: $BUILDORDER_FILE"
else
mkdir -p $BUILDALL_DIR
./scripts/buildorder.py > $BUILDORDER_FILE
fi
if [ -e $BUILDSTATUS_FILE ]; then
echo "Continuing build-all from: $BUILDSTATUS_FILE"
fi
exec > >(tee -a $BUILDALL_DIR/ALL.out)
exec 2> >(tee -a $BUILDALL_DIR/ALL.err >&2)
trap "echo ERROR: See $BUILDALL_DIR/\${PKG}.err" ERR
while read PKG PKG_DIR; do
# Check build status (grepping is a bit crude, but it works)
if [ -e $BUILDSTATUS_FILE ] && grep "^$PKG\$" $BUILDSTATUS_FILE >/dev/null; then
echo "Skipping $PKG"
continue
fi
echo -n "Building $PKG... "
BUILD_START=$(date "+%s")
bash -x $BUILDSCRIPT -a $TERMUX_ARCH $TERMUX_DEBUG \
${TERMUX_DEBDIR+-o $TERMUX_DEBDIR} $TERMUX_INSTALL_DEPS $PKG_DIR \
> $BUILDALL_DIR/${PKG}.out 2> $BUILDALL_DIR/${PKG}.err
BUILD_END=$(date "+%s")
BUILD_SECONDS=$(( $BUILD_END - $BUILD_START ))
echo "done in $BUILD_SECONDS"
# Update build status
echo "$PKG" >> $BUILDSTATUS_FILE
done<${BUILDORDER_FILE}
# Update build status
rm -f $BUILDSTATUS_FILE
echo "Finished"
================================================
FILE: build-package.sh
================================================
#!/bin/bash
# shellcheck disable=SC1117
set -e -o pipefail -u
: "${TMPDIR:=/tmp}"
export TMPDIR
if [ "$(uname -o)" = "Android" ] || [ -e "/system/bin/app_process" ]; then
if [ "$(id -u)" = "0" ]; then
echo "On-device execution of this script as root is disabled."
exit 1
fi
# This variable tells all parts of build system that build
# is performed on device.
export TERMUX_ON_DEVICE_BUILD=true
else
export TERMUX_ON_DEVICE_BUILD=false
fi
cd "$(realpath "$(dirname "$0")")"
TERMUX_SCRIPTDIR=$(pwd)
export TERMUX_SCRIPTDIR
# Lock file to prevent parallel running in the same environment.
TERMUX_BUILD_LOCK_FILE="${TMPDIR}/.termux-build.lck"
if [ ! -e "$TERMUX_BUILD_LOCK_FILE" ]; then
touch "$TERMUX_BUILD_LOCK_FILE"
fi
# Special variable for internal use. It forces script to ignore
# lock file.
: "${TERMUX_BUILD_IGNORE_LOCK:=false}"
# Utility function to log an error message and exit with an error code.
# shellcheck source=scripts/build/termux_error_exit.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_error_exit.sh"
# Utility function to download a resource with an expected checksum.
# shellcheck source=scripts/build/termux_download.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_download.sh"
# Utility function for golang-using packages to setup a go toolchain.
# shellcheck source=scripts/build/setup/termux_setup_golang.sh
source "$TERMUX_SCRIPTDIR/scripts/build/setup/termux_setup_golang.sh"
# Utility function for rust-using packages to setup a rust toolchain.
# shellcheck source=scripts/build/setup/termux_setup_rust.sh
source "$TERMUX_SCRIPTDIR/scripts/build/setup/termux_setup_rust.sh"
# Utility function to setup a current ninja build system.
# shellcheck source=scripts/build/setup/termux_setup_ninja.sh
source "$TERMUX_SCRIPTDIR/scripts/build/setup/termux_setup_ninja.sh"
# Utility function to setup a current meson build system.
# shellcheck source=scripts/build/setup/termux_setup_meson.sh
source "$TERMUX_SCRIPTDIR/scripts/build/setup/termux_setup_meson.sh"
# Utility function to setup a current cmake build system
# shellcheck source=scripts/build/setup/termux_setup_cmake.sh
source "$TERMUX_SCRIPTDIR/scripts/build/setup/termux_setup_cmake.sh"
# Utility function to setup protobuf:
# shellcheck source=scripts/build/setup/termux_setup_protobuf.sh
source "$TERMUX_SCRIPTDIR/scripts/build/setup/termux_setup_protobuf.sh"
# Setup variables used by the build. Not to be overridden by packages.
# shellcheck source=scripts/build/termux_step_setup_variables.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_setup_variables.sh"
# Save away and restore build setups which may change between builds.
# shellcheck source=scripts/build/termux_step_handle_buildarch.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_handle_buildarch.sh"
# Function to get TERMUX_PKG_VERSION from build.sh
# shellcheck source=scripts/build/termux_extract_dep_info.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_extract_dep_info.sh"
# Function that downloads a .deb (using the termux_download function)
# shellcheck source=scripts/build/termux_download_deb.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_download_deb.sh"
# Script to download InRelease, verify it's signature and then download Packages.xz by hash
# shellcheck source=scripts/build/termux_get_repo_files.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_get_repo_files.sh"
# Source the package build script and start building. No to be overridden by packages.
# shellcheck source=scripts/build/termux_step_start_build.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_start_build.sh"
# Run just after sourcing $TERMUX_PKG_BUILDER_SCRIPT. May be overridden by packages.
# shellcheck source=scripts/build/termux_step_extract_package.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_extract_package.sh"
# Hook for packages to act just after the package has been extracted.
# Invoked in $TERMUX_PKG_SRCDIR.
termux_step_post_extract_package() {
return
}
# Optional host build. Not to be overridden by packages.
# shellcheck source=scripts/build/termux_step_handle_hostbuild.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_handle_hostbuild.sh"
# Perform a host build. Will be called in $TERMUX_PKG_HOSTBUILD_DIR.
# After termux_step_post_extract_package() and before termux_step_patch_package()
# shellcheck source=scripts/build/termux_step_host_build.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_host_build.sh"
# Setup a standalone Android NDK toolchain. Not to be overridden by packages.
# shellcheck source=scripts/build/termux_step_setup_toolchain.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_setup_toolchain.sh"
# Apply all *.patch files for the package. Not to be overridden by packages.
# shellcheck source=scripts/build/termux_step_patch_package.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_patch_package.sh"
# Replace autotools build-aux/config.{sub,guess} with ours to add android targets.
# shellcheck source=scripts/build/termux_step_replace_guess_scripts.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_replace_guess_scripts.sh"
# For package scripts to override. Called in $TERMUX_PKG_BUILDDIR.
termux_step_pre_configure() {
return
}
# Setup configure args and run $TERMUX_PKG_SRCDIR/configure. This function is called from termux_step_configure
# shellcheck source=scripts/build/configure/termux_step_configure_autotools.sh
source "$TERMUX_SCRIPTDIR/scripts/build/configure/termux_step_configure_autotools.sh"
# Setup configure args and run cmake. This function is called from termux_step_configure
# shellcheck source=scripts/build/configure/termux_step_configure_cmake.sh
source "$TERMUX_SCRIPTDIR/scripts/build/configure/termux_step_configure_cmake.sh"
# Setup configure args and run meson. This function is called from termux_step_configure
# shellcheck source=scripts/build/configure/termux_step_configure_meson.sh
source "$TERMUX_SCRIPTDIR/scripts/build/configure/termux_step_configure_meson.sh"
# Configure the package
# shellcheck source=scripts/build/configure/termux_step_configure.sh
source "$TERMUX_SCRIPTDIR/scripts/build/configure/termux_step_configure.sh"
# Hook for packages after configure step
termux_step_post_configure() {
return
}
# Make package, either with ninja or make
# shellcheck source=scripts/build/termux_step_make.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_make.sh"
# Make install, either with ninja, make of cargo
# shellcheck source=scripts/build/termux_step_make_install.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_make_install.sh"
# Hook function for package scripts to override.
termux_step_post_make_install() {
return
}
# Link/copy the LICENSE for the package to $TERMUX_PREFIX/share/$TERMUX_PKG_NAME/
# shellcheck source=scripts/build/termux_step_install_license.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_install_license.sh"
# Function to cp (through tar) installed files to massage dir
# shellcheck source=scripts/build/termux_step_extract_into_massagedir.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_extract_into_massagedir.sh"
# Create all subpackages. Run from termux_step_massage
# shellcheck source=scripts/build/termux_create_subpackages.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_create_subpackages.sh"
# Function to run various cleanup/fixes
# shellcheck source=scripts/build/termux_step_massage.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_massage.sh"
# Hook for packages after massage step
termux_step_post_massage() {
return
}
# Create data.tar.gz with files to package. Not to be overridden by package scripts.
# shellcheck source=scripts/build/termux_step_create_datatar.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_create_datatar.sh"
# Hook function to create {pre,post}install, {pre,post}rm-scripts and similar
termux_step_create_debscripts() {
return
}
# Create the build deb file. Not to be overridden by package scripts.
# shellcheck source=scripts/build/termux_step_create_debfile.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_create_debfile.sh"
# Finish the build. Not to be overridden by package scripts.
# shellcheck source=scripts/build/termux_step_finish_build.sh
source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_finish_build.sh"
################################################################################
# shellcheck source=scripts/properties.sh
. "$TERMUX_SCRIPTDIR/scripts/properties.sh"
if [ "$TERMUX_ON_DEVICE_BUILD" = "true" ]; then
# For on device builds cross compiling is not supported.
# Target architecture must be same as for environment used currently.
TERMUX_ARCH=$(dpkg --print-architecture)
export TERMUX_ARCH
fi
_show_usage() {
echo "Usage: ./build-package.sh [options] PACKAGE_1 PACKAGE_2 ..."
echo
echo "Build a package by creating a .deb file in the debs/ folder."
echo
echo "Available options:"
[ "$TERMUX_ON_DEVICE_BUILD" = "false" ] && echo " -a The architecture to build for: aarch64(default), arm, i686, x86_64 or all."
echo " -d Build with debug symbols."
echo " -D Build a disabled package in disabled-packages/."
echo " -f Force build even if package has already been built."
[ "$TERMUX_ON_DEVICE_BUILD" = "false" ] && echo " -i Download and extract dependencies instead of building them."
echo " -I Download and extract dependencies instead of building them, keep existing /data/data/com.termux files."
echo " -q Quiet build."
echo " -s Skip dependency check."
echo " -o Specify deb directory. Default: debs/."
exit 1
}
while getopts :a:hdDfiIqso: option; do
case "$option" in
a)
if [ "$TERMUX_ON_DEVICE_BUILD" = "true" ]; then
termux_error_exit "./build-package.sh: option '-a' is not available for on-device builds"
else
export TERMUX_ARCH="$OPTARG"
fi
;;
h) _show_usage;;
d) export TERMUX_DEBUG=true;;
D) TERMUX_IS_DISABLED=true;;
f) TERMUX_FORCE_BUILD=true;;
i)
if [ "$TERMUX_ON_DEVICE_BUILD" = "true" ]; then
termux_error_exit "./build-package.sh: option '-i' is not available for on-device builds"
else
export TERMUX_INSTALL_DEPS=true
fi
;;
I) export TERMUX_INSTALL_DEPS=true && export TERMUX_NO_CLEAN=true;;
q) export TERMUX_QUIET_BUILD=true;;
s) export TERMUX_SKIP_DEPCHECK=true;;
o) TERMUX_DEBDIR=$(realpath -m "$OPTARG");;
?) termux_error_exit "./build-package.sh: illegal option -$OPTARG";;
esac
done
shift $((OPTIND-1))
if [ "$#" -lt 1 ]; then _show_usage; fi
unset -f _show_usage
while (($# > 0)); do
# Following commands must be executed under lock to prevent running
# multiple instances of "./build-package.sh".
#
# To provide sane environment for each package, builds are done
# in subshell.
(
if ! $TERMUX_BUILD_IGNORE_LOCK; then
flock -n 5 || termux_error_exit "Another build is already running within same environment."
fi
# Handle 'all' arch:
if [ "$TERMUX_ON_DEVICE_BUILD" = "false" ] && [ -n "${TERMUX_ARCH+x}" ] && [ "${TERMUX_ARCH}" = 'all' ]; then
for arch in 'aarch64' 'arm' 'i686' 'x86_64'; 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+-d} ${TERMUX_DEBDIR+-o $TERMUX_DEBDIR} "$1"
done
exit
fi
# Check the package to build:
TERMUX_PKG_NAME=$(basename "$1")
if [[ $1 == *"/"* ]]; then
# Path to directory which may be outside this repo:
if [ ! -d "$1" ]; then termux_error_exit "'$1' seems to be a path but is not a directory"; fi
export TERMUX_PKG_BUILDER_DIR
TERMUX_PKG_BUILDER_DIR=$(realpath "$1")
else
# Package name:
if [ -n "${TERMUX_IS_DISABLED=""}" ]; then
export TERMUX_PKG_BUILDER_DIR=$TERMUX_SCRIPTDIR/disabled-packages/$TERMUX_PKG_NAME
else
export TERMUX_PKG_BUILDER_DIR=$TERMUX_SCRIPTDIR/packages/$TERMUX_PKG_NAME
fi
fi
TERMUX_PKG_BUILDER_SCRIPT=$TERMUX_PKG_BUILDER_DIR/build.sh
if test ! -f "$TERMUX_PKG_BUILDER_SCRIPT"; then
termux_error_exit "No build.sh script at package dir $TERMUX_PKG_BUILDER_DIR!"
fi
termux_step_setup_variables
termux_step_handle_buildarch
termux_step_start_build
termux_step_extract_package
cd "$TERMUX_PKG_SRCDIR"
termux_step_post_extract_package
termux_step_handle_hostbuild
termux_step_setup_toolchain
termux_step_patch_package
termux_step_replace_guess_scripts
cd "$TERMUX_PKG_SRCDIR"
termux_step_pre_configure
cd "$TERMUX_PKG_BUILDDIR"
termux_step_configure
cd "$TERMUX_PKG_BUILDDIR"
termux_step_post_configure
cd "$TERMUX_PKG_BUILDDIR"
termux_step_make
cd "$TERMUX_PKG_BUILDDIR"
termux_step_make_install
cd "$TERMUX_PKG_BUILDDIR"
termux_step_post_make_install
termux_step_install_license
cd "$TERMUX_PKG_MASSAGEDIR"
termux_step_extract_into_massagedir
cd "$TERMUX_PKG_MASSAGEDIR"
termux_step_massage
cd "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX"
termux_step_post_massage
termux_step_create_datatar
termux_step_create_debfile
termux_step_finish_build
) 5< "$TERMUX_BUILD_LOCK_FILE"
shift 1
done
================================================
FILE: clean.sh
================================================
#!/bin/sh
# clean.sh - clean everything.
set -e -u
# Checking if script is running on Android with 2 different methods.
# Needed for safety to prevent execution of potentially dangerous
# operations such as 'rm -rf /data/*' on Android device.
if [ "$(uname -o)" = "Android" ] || [ -e "/system/bin/app_process" ]; then
TERMUX_ON_DEVICE_BUILD=true
else
TERMUX_ON_DEVICE_BUILD=false
fi
if [ "$(id -u)" = "0" ] && $TERMUX_ON_DEVICE_BUILD; then
echo "On-device execution of this script as root is disabled."
exit 1
fi
# Read settings from .termuxrc if existing
test -f "$HOME/.termuxrc" && . "$HOME/.termuxrc"
: "${TERMUX_TOPDIR:="$HOME/.termux-build"}"
: "${TMPDIR:=/tmp}"
export TMPDIR
# Lock file. Same as used in build-package.sh.
TERMUX_BUILD_LOCK_FILE="${TMPDIR}/.termux-build.lck"
if [ ! -e "$TERMUX_BUILD_LOCK_FILE" ]; then
touch "$TERMUX_BUILD_LOCK_FILE"
fi
{
if ! flock -n 5; then
echo "Not cleaning build directory since you have unfinished build running."
exit 1
fi
if [ -d "$TERMUX_TOPDIR" ]; then
chmod +w -R "$TERMUX_TOPDIR"
fi
if $TERMUX_ON_DEVICE_BUILD; then
# For on-device build cleanup /data shouldn't be erased.
rm -Rf "$TERMUX_TOPDIR"
else
rm -Rf /data/* "$TERMUX_TOPDIR"
fi
} 5< "$TERMUX_BUILD_LOCK_FILE"
================================================
FILE: disabled-packages/abuild/Makefile.patch
================================================
diff -u -r ../abuild-3.2.0/Makefile ./Makefile
--- ../abuild-3.2.0/Makefile 2018-06-22 07:24:10.000000000 +0000
+++ ./Makefile 2018-11-18 01:32:10.950452195 +0000
@@ -95,7 +95,6 @@
for i in $(USR_BIN_FILES); do\
install -m 755 $$i $(DESTDIR)/$(bindir)/$$i;\
done
- chmod 4111 $(DESTDIR)/$(prefix)/bin/abuild-sudo
for i in adduser addgroup apk; do \
ln -fs abuild-sudo $(DESTDIR)/$(bindir)/abuild-$$i; \
done
================================================
FILE: disabled-packages/abuild/abuild-fetch.c.patch
================================================
diff -uNr abuild-3.4.0/abuild-fetch.c abuild-3.4.0.mod/abuild-fetch.c
--- abuild-3.4.0/abuild-fetch.c 2019-06-14 15:13:23.000000000 +0300
+++ abuild-3.4.0.mod/abuild-fetch.c 2019-07-21 16:45:34.475241394 +0300
@@ -189,7 +189,7 @@
int main(int argc, char *argv[])
{
int opt;
- char *destdir = "/var/cache/distfiles";
+ char *destdir = "@TERMUX_PREFIX@/var/cache/distfiles";
program = argv[0];
while ((opt = getopt(argc, argv, "hd:")) != -1) {
================================================
FILE: disabled-packages/abuild/abuild-keygen.in.patch
================================================
--- abuild-3.2.0/abuild-keygen.in 2018-06-22 10:24:10.000000000 +0300
+++ abuild-3.2.0.mod/abuild-keygen.in 2018-11-18 20:02:12.017576128 +0200
@@ -56,14 +56,14 @@
if [ -n "$install_pubkey" ]; then
- msg "Installing $pubkey to /etc/apk/keys..."
- sudo mkdir -p /etc/apk/keys
- sudo cp -i "$pubkey" /etc/apk/keys/
+ msg "Installing $pubkey to \$PREFIX/etc/apk/keys..."
+ mkdir -p @TERMUX_PREFIX@/etc/apk/keys
+ cp -i "$pubkey" @TERMUX_PREFIX@/etc/apk/keys/
else
msg ""
msg "You'll need to install $pubkey into "
- msg "/etc/apk/keys to be able to install packages and repositories signed with"
+ msg "\$PREFIX/etc/apk/keys to be able to install packages and repositories signed with"
msg "$privkey"
fi
@@ -94,7 +94,7 @@
Options:
-a, --append Set PACKAGER_PRIVKEY=<generated key> in
$ABUILD_USERCONF
- -i, --install Install public key into /etc/apk/keys using sudo
+ -i, --install Install public key into \$PREFIX/etc/apk/keys
-n Non-interactive. Use defaults
-q, --quiet
-h, --help Show this help
================================================
FILE: disabled-packages/abuild/abuild-rmtemp.c.patch
================================================
--- abuild-3.2.0/abuild-rmtemp.c 2018-06-22 10:24:10.000000000 +0300
+++ abuild-3.2.0.mod/abuild-rmtemp.c 2018-11-18 19:54:49.254290401 +0200
@@ -16,7 +16,7 @@
#include <sys/types.h>
#include <unistd.h>
-#define PREFIX "/var/tmp/abuild."
+#define PREFIX "@TERMUX_PREFIX@/var/tmp/abuild."
static void fail() {
errx(1, "%s", strerror(errno));
@@ -29,10 +29,12 @@
int main(int argc, char **argv) {
if (argc < 2) return 0;
+#ifndef __ANDROID__
if (getuid()) {
argv[0] = "-abuild-rmtemp";
execv("/usr/bin/abuild-sudo", argv);
}
+#endif
if (strncmp(argv[1], PREFIX, strlen(PREFIX)) || \
strchr(argv[1] + strlen(PREFIX), '/'))
@@ -40,9 +42,12 @@
struct stat s;
if (lstat(argv[1], &s)) fail();
+
+#ifndef __ANDROID__
struct passwd *p = getpwnam(getenv("USER"));
if (!p) errx(1, "Incorrect user");
if (s.st_uid != p->pw_uid) errx(1, "Permission denied");
+#endif
if (nftw(argv[1], handler, 512, FTW_DEPTH)) fail();
================================================
FILE: disabled-packages/abuild/abuild-sign.in.patch
================================================
--- abuild-3.2.0/abuild-sign.in 2018-06-22 10:24:10.000000000 +0300
+++ abuild-3.2.0.mod/abuild-sign.in 2018-11-18 20:28:48.283970248 +0200
@@ -51,7 +51,7 @@
-e, --installed Check only of there exist a private key for signing
-k, --private KEY The private key to use for signing
-p, --public KEY The name of public key. apk add will look for
- /etc/apk/keys/KEY
+ \$PREFIX/etc/apk/keys/KEY
-q, --quiet
-h, --help Show this help
================================================
FILE: disabled-packages/abuild/abuild.conf.patch
================================================
diff -uNr abuild-3.2.0/abuild.conf abuild-3.2.0.mod/abuild.conf
--- abuild-3.2.0/abuild.conf 2018-06-22 10:24:10.000000000 +0300
+++ abuild-3.2.0.mod/abuild.conf 2018-11-18 16:42:45.897130881 +0200
@@ -1,4 +1,4 @@
-export CFLAGS="-Os -fomit-frame-pointer"
+export CFLAGS="-Os"
export CXXFLAGS="$CFLAGS"
export CPPFLAGS="$CFLAGS"
export LDFLAGS="-Wl,--as-needed"
@@ -9,7 +9,7 @@
# remove line below to disable colors
USE_COLORS=1
-SRCDEST=/var/cache/distfiles
+SRCDEST=@TERMUX_PREFIX@/var/cache/distfiles
# uncomment line below to store built packages in other location
# The package will be stored as $REPODEST/$repo/$pkgname-$pkgver-r$pkgrel.apk
================================================
FILE: disabled-packages/abuild/abuild.in.patch
================================================
diff -uNr abuild-3.4.0/abuild.in abuild-3.4.0.mod/abuild.in
--- abuild-3.4.0/abuild.in 2019-06-14 15:13:23.000000000 +0300
+++ abuild-3.4.0.mod/abuild.in 2019-07-21 16:56:56.898285307 +0300
@@ -1,4 +1,4 @@
-#!/bin/ash -e
+#!/bin/bash -e
# abuild - build apk packages (light version of makepkg)
# Copyright (c) 2008-2015 Natanael Copa <ncopa@alpinelinux.org>
@@ -21,11 +21,7 @@
. "$datadir/functions.sh"
# defaults
-: ${FAKEROOT:="fakeroot"}
-: ${SUDO_APK:="abuild-apk"}
: ${APK:="apk"}
-: ${ADDUSER:="abuild-adduser"}
-: ${ADDGROUP:="abuild-addgroup"}
apk_opt_wait="--wait 30"
@@ -438,7 +434,7 @@
initdcheck || return 1
mkdir -p "$srcdir"
local gunzip=$(command -v pigz || echo gunzip)
- [ $gunzip = "/usr/bin/pigz" ] && gunzip="$gunzip -d"
+ [ $gunzip = "@TERMUX_PREFIX@/bin/pigz" ] && gunzip="$gunzip -d"
for u in $source; do
local s
if is_remote "$u"; then
@@ -466,7 +462,7 @@
*.tar.xz)
msg "Unpacking $s..."
local threads_opt
- if [ $(readlink -f $(command -v unxz)) != "/bin/busybox" ]; then
+ if [ $(realpath $(command -v unxz)) != "@TERMUX_PREFIX@/bin/busybox" ]; then
threads_opt="--threads=0"
fi
unxz $threads_opt -c "$s" | tar -C "$srcdir" -x || return 1;;
@@ -554,26 +550,6 @@
return 0
}
-mkusers() {
- local i
- for i in $pkggroups; do
- if ! getent group $i >/dev/null; then
- msg "Creating group $i"
- $ADDGROUP -S $i || return 1
- fi
- done
- for i in $pkgusers; do
- if ! getent passwd $i >/dev/null; then
- local gopt=
- msg "Creating user $i"
- if getent group $i >/dev/null; then
- gopt="-G $i"
- fi
- $ADDUSER -S -D -H $gopt $i || return 1
- fi
- done
-}
-
# helper to update config.sub to a recent version
update_config_sub() {
find . -name config.sub | (local changed=false; while read f; do
@@ -687,10 +663,10 @@
find "$dir" -name '*.la' -type f -delete
fi
- # look for /usr/lib/charset.alias
- if [ -e "$dir"/usr/lib/charset.alias ] \
+ # look for @TERMUX_PREFIX@/lib/charset.alias
+ if [ -e "$dir"/@TERMUX_PREFIX@/lib/charset.alias ] \
&& ! options_has "charset.alias"; then
- error "Found /usr/lib/charset.alias"
+ error "Found @TERMUX_PREFIX@/lib/charset.alias"
return 1
fi
# look for /etc/init.d and /etc/conf.d
@@ -704,22 +680,15 @@
warning "Found static archive on ${i##*$dir/} but name doesn't end with -static"
done
fi
- # look for /usr/share/doc
- if [ -e "$dir"/usr/share/doc ] \
+ # look for @TERMUX_PREFIX@/share/doc
+ if [ -e "$dir"/@TERMUX_PREFIX@/share/doc ] \
&& ! is_doc_pkg "$name"; then
- warning "Found /usr/share/doc but package name doesn't end with -doc"
+ warning "Found @TERMUX_PREFIX@/share/doc but package name doesn't end with -doc"
fi
- # look for /usr/share/man
- if [ -e "$dir"/usr/share/man ]; then
+ # look for @TERMUX_PREFIX@/share/man
+ if [ -e "$dir"/@TERMUX_PREFIX@/share/man ]; then
if ! is_doc_pkg "$name"; then
- warning "Found /usr/share/man but package name doesn't end with -doc"
- fi
- # check for uncompressed man pages
- i=$(find "$dir"/usr/share/man -name '*.[0-8]' -type f | sed "s|^$dir|\t|")
- if [ -n "$i" ]; then
- error "Found uncompressed man pages:"
- echo "$i"
- return 1
+ warning "Found @TERMUX_PREFIX@/share/man but package name doesn't end with -doc"
fi
fi
# check directory permissions
@@ -780,9 +749,9 @@
&& postcheck "$pkgbasedir/$subpkgname" "$subpkgname" ) || return 1
done
postcheck "$pkgdir" "$pkgname" || return 1
- # post check for /usr/share/locale
- if [ -d "$pkgdir"/usr/share/locale ]; then
- warning "Found /usr/share/locale"
+ # post check for @TERMUX_PREFIX@/share/locale
+ if [ -d "$pkgdir"/@TERMUX_PREFIX@/share/locale ]; then
+ warning "Found @TERMUX_PREFIX@/share/locale"
warning2 "Maybe add \$pkgname-lang to subpackages?"
fi
}
@@ -792,7 +761,7 @@
install_if="$pkgname=$pkgver-r$pkgrel lang"
local dir
- for dir in ${langdir:-/usr/share/locale}; do
+ for dir in ${langdir:-@TERMUX_PREFIX@/share/locale}; do
mkdir -p "$subpkgdir"/${dir%/*}
mv "$pkgdir"/"$dir" "$subpkgdir"/"$dir" || return 1
done
@@ -811,7 +780,7 @@
install_if="$pkgname=$pkgver-r$pkgrel lang-$lang"
local dir
- for dir in ${langdir:-/usr/share/locale}; do
+ for dir in ${langdir:-@TERMUX_PREFIX@/share/locale}; do
mkdir -p "$subpkgdir"/$dir
mv "$pkgdir"/$dir/$lang* \
"$subpkgdir"/$dir/ \
@@ -866,7 +835,7 @@
check_license() {
local ret=0
- local license_list=/usr/share/spdx/license.lst
+ local license_list=@TERMUX_PREFIX@/share/spdx/license.lst
local exclude="AND OR WITH"
if options_has "!spdx" || ! [ -f "$license_list" ]; then
return 0
@@ -939,10 +908,7 @@
local builddate=$(date -u "+%s")
# Fix package size on several filesystems
- case "$(df -PT . | awk 'END {print $2}')" in
- btrfs|ecryptfs|zfs)
- sync;;
- esac
+ sync
local size=$(du -sk | awk '{print $1 * 1024}')
@@ -955,7 +921,7 @@
echo "# Generated by $(basename "$abuild_path") $program_version" >"$pkginfo"
if [ -n "$FAKEROOTKEY" ]; then
- echo "# using $($FAKEROOT -v)" >> "$pkginfo"
+ echo "# using $(fakeroot -v)" >> "$pkginfo"
fi
echo "# $(date -u)" >> "$pkginfo"
cat >> "$pkginfo" <<-EOF
@@ -975,9 +941,9 @@
for i in $install $triggers; do
local s=${i%=*}
[ "$name" != "${s%.*}" ] && continue
- if head -n 1 "$startdir/$s" | grep '^#!/bin/sh' >/dev/null ; then
- msg "Script found. /bin/sh added as a dependency for $pkg"
- deps="$deps /bin/sh"
+ if head -n 1 "$startdir/$s" | grep '^#!@TERMUX_PREFIX@/bin/sh' >/dev/null ; then
+ msg "Script found. @TERMUX_PREFIX@/bin/sh added as a dependency for $pkg"
+ deps="$deps @TERMUX_PREFIX@/bin/sh"
break
fi
done
@@ -1049,8 +1015,8 @@
scanelf --quiet --recursive --rpath "$dir" \
| sed -e 's/[[:space:]].*//' -e 's/:/\n/' | sort -u \
>"$controldir"/.rpaths
- if grep -q -x '/usr/lib' "$controldir"/.rpaths; then
- warning "Redundant /usr/lib in rpath found"
+ if grep -q -x '@TERMUX_PREFIX@/lib' "$controldir"/.rpaths; then
+ warning "Redundant @TERMUX_PREFIX@/lib in rpath found"
fi
if grep '^/home/' "$controldir"/.rpaths; then
error "Has /home/... in rpath"
@@ -1076,12 +1042,12 @@
local dir="${subpkgdir:-$pkgdir}"
options_has "!tracedeps" && return 0
cd "$dir" || return 1
- for i in usr/lib/pkgconfig/*.pc; do
+ for i in ./@TERMUX_PREFIX@/lib/pkgconfig/*.pc; do
if ! [ -e "$i" ]; then
continue
fi
local f=${i##*/}
- local v=$(PKG_CONFIG_PATH="$dir"/usr/lib/pkgconfig PKG_CONFIG_MAXIMUM_TRAVERSE_DEPTH=1 pkg-config \
+ local v=$(PKG_CONFIG_PATH="$dir"/@TERMUX_PREFIX@/lib/pkgconfig PKG_CONFIG_MAXIMUM_TRAVERSE_DEPTH=1 pkg-config \
--modversion ${f%.pc})
echo "$pcprefix${f%.pc}=${v:-0}" >> "$controldir"/.provides-pc
done
@@ -1176,12 +1142,19 @@
return 1
}
-# search rpaths and /usr/lib /lib for given so files
+# search rpaths and @TERMUX_PREFIX@/lib for given so files
find_so_files() {
+ local android_libs
local rpaths=$(cat "$1")
shift
+
+ case ${CTARGET_ARCH} in
+ aarch64|x86_64) android_libs="/system/lib64" ;;
+ *) android_libs="/system/lib" ;;
+ esac
+
while [ $# -gt 0 ]; do
- real_so_path "$1" /usr/lib /lib $rpaths || return 1
+ real_so_path "$1" @TERMUX_PREFIX@/lib $rpaths $android_libs || return 1
shift
done
return 0
@@ -1219,20 +1192,12 @@
esac
msg "Tracing dependencies..."
- # add pkgconfig if usr/lib/pkgconfig is found
- if [ -d "$pkgbasedir"/$name/usr/lib/pkgconfig ] \
+ # add pkgconfig if @TERMUX_PREFIX@/lib/pkgconfig is found
+ if [ -d "$pkgbasedir"/$name/@TERMUX_PREFIX@/lib/pkgconfig ] \
&& ! grep -q '^depend = pkgconfig' "$dir"/.PKGINFO; then
autodeps="$autodeps pkgconfig"
fi
- # special case for libpthread: we need depend on libgcc
- if [ "$CLIBC" = "uclibc" ] && [ -f "$dir"/.needs-so ] \
- && grep -q -w '^libpthread.so.*' "$dir"/.needs-so \
- && ! grep -q -w "^depend = libgcc" "$dir"/.PKGINFO; then
- autodeps="$autodeps libgcc"
- msg " added libgcc (due to libpthread)"
- fi
-
[ -f "$dir"/.needs-so ] && for i in $(cat "$dir"/.needs-so); do
# first check if its provided by same apkbuild
grep -q -w "^$sonameprefix$i" "$dir"/.provides-so 2>/dev/null && continue
@@ -1249,7 +1214,7 @@
# find all packages that holds the so files
if [ -f "$dir"/.rpaths ]; then
- local so_files=$(find_so_files "$dir"/.rpaths $missing) \
+ local so_files=$(find_so_files "$dir"/.rpaths $missing | grep -v /system/lib) \
|| return 1
deppkgs=$($APK $apkroot info --quiet --who-owns $so_files) || return 1
fi
@@ -1283,7 +1248,7 @@
autodeps="$autodeps pc:$i"
else
warning "Could not find any provider for pc:$i"
- local pcfile=/usr/lib/pkgconfig/"${i%%[<>=]*}".pc
+ local pcfile=@TERMUX_PREFIX@/lib/pkgconfig/"${i%%[<>=]*}".pc
if [ -e "$pcfile" ]; then
local owner=$($APK $apkroot info --quiet --who-owns $pcfile)
warning "${owner:-package providing $pcfile} needs to be rebuilt"
@@ -1315,7 +1280,7 @@
find_scanelf_paths() {
local datadir="$1"
- local paths="$datadir/lib:$datadir/usr/lib" i= rpaths=
+ local paths="$datadir/lib" i= rpaths=
if [ -n "$ldpath" ]; then
paths="$paths:$(echo "${datadir}${ldpath}" | sed "s|:|:$datadir|g")"
fi
@@ -1461,7 +1426,7 @@
name="$(pkginfo_val pkgname "$controldir"/.PKGINFO)"
datadir="$pkgbasedir"/$name
for i in $(sort -u "$provides_pc"); do
- PKG_CONFIG_PATH="$datadir"/usr/lib/pkgconfig pkg-config \
+ PKG_CONFIG_PATH="$datadir"/@TERMUX_PREFIX@/lib/pkgconfig pkg-config \
--print-requires \
--print-requires-private ${i%=*} \
| sed -E 's/\s*([<>=]+)\s*/\1/' \
@@ -1555,7 +1520,7 @@
logcmd "building $repo/$pkgname-$pkgver-r$pkgrel"
local _starttime=$(date --utc +%s)
msg "Building $repo/$pkgname $pkgver-r$pkgrel (using $program $program_version) started $(date -R)"
- for part in sanitycheck builddeps clean fetch unpack prepare mkusers build \
+ for part in sanitycheck builddeps clean fetch unpack prepare build \
$_check rootpkg; do
runpart $part
done
@@ -1625,14 +1590,14 @@
local i
for i in doc man info html sgml licenses gtk-doc ri help; do
- if [ -d "$pkgdir/usr/share/$i" ]; then
- mkdir -p "$subpkgdir/usr/share"
- mv "$pkgdir/usr/share/$i" "$subpkgdir/usr/share/"
+ if [ -d "$pkgdir/@TERMUX_PREFIX@/share/$i" ]; then
+ mkdir -p "$subpkgdir/@TERMUX_PREFIX@/share"
+ mv "$pkgdir/@TERMUX_PREFIX@/share/$i" "$subpkgdir/@TERMUX_PREFIX@/share/"
fi
done
# compress man pages
- local mandir="$subpkgdir"/usr/share/man
+ local mandir="$subpkgdir"/@TERMUX_PREFIX@/share/man
[ -d "$mandir" ] && find "$mandir" -type l \
-a \( -name \*.[0-8n] -o -name \*.[0-8][a-z]* \) \
-a \! \( -name '*.gz' -o -name '*.bz2' -o -name '*.xz' \) \
@@ -1664,10 +1629,10 @@
[ $islink -eq 0 ] && $gzip -9 "$name"
done
- rm -f "$subpkgdir/usr/share/info/dir"
+ rm -f "$subpkgdir/@TERMUX_PREFIX@/share/info/dir"
# remove if empty, ignore error (not empty)
- rmdir "$pkgdir/usr/share" "$pkgdir/usr" 2>/dev/null || :
+ rmdir "$pkgdir/@TERMUX_PREFIX@/share" "$pkgdir" 2>/dev/null || :
}
doc() {
@@ -1682,19 +1647,15 @@
scanelf -R "$pkgdir" | grep ET_DYN | sed "s:$pkgdir\/::g" | sed "s:ET_DYN ::g" | while read f; do
local ddbg_srcdir=$(dirname "$pkgdir/$f")
local ddbg_srcfile=$(basename "$pkgdir/$f")
- local ddbg_dstdir=$(dirname "$subpkgdir/usr/lib/debug/$f.debug")
- local ddbg_dstfile=$(basename "$subpkgdir/usr/lib/debug/$f.debug")
+ local ddbg_dstdir=$(dirname "$subpkgdir/@TERMUX_PREFIX@/lib/debug/$f.debug")
+ local ddbg_dstfile=$(basename "$subpkgdir/@TERMUX_PREFIX@/lib/debug/$f.debug")
mkdir -p "$ddbg_dstdir"
cd "$ddbg_srcdir"
- local xattr=$(getfattr --match="" --dump "${ddbg_srcfile}")
${CROSS_COMPILE}objcopy --only-keep-debug "$ddbg_srcfile" "$ddbg_dstfile"
${CROSS_COMPILE}objcopy --add-gnu-debuglink="$ddbg_dstfile" "$ddbg_srcdir/$ddbg_srcfile"
mv "$ddbg_dstfile" "$ddbg_dstdir"
${CROSS_COMPILE}strip "$ddbg_srcfile"
- if [ -n "$xattr" ]; then
- echo "$xattr" | setfattr --restore=-
- fi
done
return 0
}
@@ -1710,14 +1671,14 @@
pkgdesc="$pkgdesc (development files)"
cd "$pkgdir" || return 0
- local libdirs=usr/
+ local libdirs=./@TERMUX_PREFIX@/lib
[ -d lib/ ] && libdirs="lib/ $libdirs"
- for i in usr/include usr/lib/pkgconfig usr/share/aclocal\
- usr/share/gettext usr/bin/*-config \
- usr/share/vala/vapi usr/share/gir-[0-9]*\
- usr/share/qt*/mkspecs \
- usr/lib/qt*/mkspecs \
- usr/lib/cmake \
+ for i in ./@TERMUX_PREFIX@/lib/pkgconfig ./@TERMUX_PREFIX@/share/aclocal \
+ ./@TERMUX_PREFIX@/share/gettext ./@TERMUX_PREFIX@/bin/*-config \
+ ./@TERMUX_PREFIX@/share/vala/vapi ./@TERMUX_PREFIX@/share/gir-[0-9]* \
+ ./@TERMUX_PREFIX@/share/qt*/mkspecs \
+ ./@TERMUX_PREFIX@/lib/qt*/mkspecs \
+ ./@TERMUX_PREFIX@/lib/cmake \
$(find . -name include -type d) \
$([ -z "${subpackages##*$pkgname-static*}" ] && find $libdirs \
-name '*.a' 2>/dev/null) \
@@ -1808,27 +1769,11 @@
type "$1" 2>&1 | head -n 1 | egrep -q "is a (shell )?function"
}
-do_fakeroot() {
- if [ -n "$FAKEROOT" ]; then
- $FAKEROOT -- "$@"
- else
- "$@"
- fi
-}
-
-# wrap check() with fakeroot
-check_fakeroot() {
- cd "$startdir"
- [ -n "$FAKEROOT" ] && msg "Entering fakeroot..."
- do_fakeroot "$abuild_path" $forceroot $color_opt $keep_build check
-}
-
# build and package in fakeroot
rootpkg() {
cd "$startdir"
rm -rf "$pkgdir"
- [ -n "$FAKEROOT" ] && msg "Entering fakeroot..."
- do_fakeroot "$abuild_path" $forceroot $color_opt $keep_build \
+ "$abuild_path" $forceroot $color_opt $keep_build \
package \
prepare_subpackages \
prepare_language_packs \
@@ -2151,7 +2096,7 @@
$install_deps $recursive $upgrade $color_opt \
abuildindex || return 1
done
- $SUDO_APK add --upgrade --repository "$REPODEST/$repo" \
+ $APK add --upgrade --repository "$REPODEST/$repo" \
$apk_opt_wait \
--virtual .makedepends-$pkgname $builddeps \
|| return 1
@@ -2218,8 +2163,6 @@
msg "Preparing build chroot..."
- mkusers
-
BUILD_ROOT=$(mktemp -d /var/tmp/abuild.XXXXXXXXXX)
local aportsgit=${APORTSDIR:-${startdir}}
@@ -2260,7 +2203,7 @@
) < "$repo_template" > "$BUILD_ROOT/etc/apk/repositories"
calcdeps
- $SUDO_APK add --initdb --root "$BUILD_ROOT" --update \
+ $APK add --initdb --root "$BUILD_ROOT" --update \
abuild alpine-base build-base git $hostdeps $builddeps
local bwrap_opts=""
@@ -2307,11 +2250,7 @@
[ -e "$filename" ] || continue
[ "$osabi" != "STANDALONE" ] || continue
- local XATTR=$(getfattr --match="" --dump "${filename}")
"${stripcmd}" "${filename}"
- if [ -n "$XATTR" ]; then
- echo "$XATTR" | setfattr --restore=-
- fi
done
}
@@ -2401,22 +2340,22 @@
local _quiet="$1"
[ -z "$_quiet" ] && msg "Installing for build:$builddeps"
- $SUDO_APK add $_quiet $apk_opt_wait --repository "$REPODEST/$repo" \
+ $APK add $_quiet $apk_opt_wait --repository "$REPODEST/$repo" \
--virtual .makedepends-$pkgname \
$builddeps \
|| return 1
if [ -n "$CBUILDROOT" ]; then
[ -z "$_quiet" ] && msg "Installing for host:$hostdeps"
- $SUDO_APK add $_quiet --root "$CBUILDROOT" --arch "$CTARGET_ARCH" --repository "$REPODEST/$repo" $apk_opt_wait \
+ $APK add $_quiet --root "$CBUILDROOT" --arch "$CTARGET_ARCH" --repository "$REPODEST/$repo" $apk_opt_wait \
--no-scripts --virtual .makedepends-$pkgname $hostdeps || return 1
fi
}
undeps() {
local _quiet="$@"
- $SUDO_APK del $_quiet $apk_opt_wait .makedepends-$pkgname || :
+ $APK del $_quiet $apk_opt_wait .makedepends-$pkgname || :
if [ -n "$CBUILDROOT" ]; then
- $SUDO_APK del $_quiet --root "$CBUILDROOT" --arch "$CTARGET_ARCH" $apk_opt_wait \
+ $APK del $_quiet --root "$CBUILDROOT" --arch "$CTARGET_ARCH" $apk_opt_wait \
--no-scripts .makedepends-$pkgname || :
fi
}
@@ -2536,7 +2475,7 @@
package Install project into $pkgdir
prepare Apply patches
rootbld Build package in clean chroot
- rootpkg Run 'package', the split functions and create apks as fakeroot
+ rootpkg Run 'package', the split functions and create apks
sanitycheck Basic sanity check of APKBUILD
snapshot Create a \$giturl or \$svnurl snapshot and upload to \$disturl
sourcecheck Check if remote source package exists upstream
@@ -2618,7 +2557,7 @@
if [ -z "$REPODEST" ]; then
warning "REPODEST is not set and is now required. Defaulting to ~/packages"
[ -n "$PKGDEST" ] && die "PKGDEST is no longer supported."
- REPODEST="~/packages"
+ REPODEST="$HOME/packages"
fi
# for recursive action
================================================
FILE: disabled-packages/abuild/build.sh
================================================
##
## Since Termux is continuing to use APT as package manager, abuild & apk-tools
## are disabled because don't have real use-cases currently.
##
## TODO: restore fakeroot functionality
TERMUX_PKG_HOMEPAGE=https://github.com/alpinelinux/abuild
TERMUX_PKG_DESCRIPTION="Build script to build Alpine packages"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=3.4.0
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/alpinelinux/abuild/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=f6f704e34f9d388a0228b645050dc7db7bf92f15a088835ae2c9b244420b9b61
TERMUX_PKG_DEPENDS="apk-tools, autoconf, automake, bash, clang, curl, libtool, make, openssl-tool, pkg-config, tar, zlib"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_MAKE_ARGS="sysconfdir=$TERMUX_PREFIX/etc"
TERMUX_PKG_CONFFILES="etc/abuild.conf"
TERMUX_PKG_RM_AFTER_INSTALL="
bin/abuild-adduser
bin/abuild-addgroup
bin/abuild-apk
bin/abuild-sudo
bin/buildlab
"
termux_step_post_make_install() {
install -Dm600 "$TERMUX_PKG_SRCDIR/abuild.conf" "$TERMUX_PREFIX/etc/abuild.conf"
}
================================================
FILE: disabled-packages/abuild/checkapk.in.patch
================================================
--- abuild-3.2.0/checkapk.in 2018-06-22 10:24:10.000000000 +0300
+++ abuild-3.2.0.mod/checkapk.in 2018-11-18 20:27:51.357171116 +0200
@@ -64,7 +64,7 @@
[ -f "$filepath" ] || die "can't find $pkgfile"
# generate a temp repositories file with only the http(s) repos
- grep -E "^https?:" /etc/apk/repositories > $tmpdir/repositories
+ grep -E "^https?:" @TERMUX_PREFIX@/etc/apk/repositories > $tmpdir/repositories
oldpkg=$(apk fetch --repositories-file $tmpdir/repositories --simulate 2>&1 | sed 's/^Downloading //')
if [ "${oldpkg}" = "${pkg}" ]; then
================================================
FILE: disabled-packages/abuild/functions.sh.in.patch
================================================
diff -uNr abuild-3.4.0/functions.sh.in abuild-3.4.0.mod/functions.sh.in
--- abuild-3.4.0/functions.sh.in 2019-06-14 15:13:23.000000000 +0300
+++ abuild-3.4.0.mod/functions.sh.in 2019-07-21 17:00:19.730135313 +0300
@@ -5,40 +5,20 @@
arch_to_hostspec() {
case "$1" in
- aarch64) echo "aarch64-alpine-linux-musl" ;;
- armel) echo "armv5-alpine-linux-musleabi" ;;
- armhf) echo "armv6-alpine-linux-musleabihf" ;;
- armv7) echo "armv7-alpine-linux-musleabihf" ;;
- mips) echo "mips-alpine-linux-musl" ;;
- mips64) echo "mips64-alpine-linux-musl" ;;
- mipsel) echo "mipsel-alpine-linux-musl" ;;
- mips64el) echo "mips64el-alpine-linux-musl" ;;
- ppc) echo "powerpc-alpine-linux-musl" ;;
- ppc64) echo "powerpc64-alpine-linux-musl" ;;
- ppc64le) echo "powerpc64le-alpine-linux-musl" ;;
- s390x) echo "s390x-alpine-linux-musl" ;;
- x86) echo "i586-alpine-linux-musl" ;;
- x86_64) echo "x86_64-alpine-linux-musl" ;;
+ aarch64) echo "aarch64-linux-android" ;;
+ arm) echo "arm-linux-androideabi" ;;
+ i686) echo "i686-linux-android" ;;
+ x86_64) echo "x86_64-linux-android" ;;
*) echo "unknown" ;;
esac
}
hostspec_to_arch() {
case "$1" in
- aarch64*-*-*-*) echo "aarch64" ;;
- arm*-*-*-*eabi) echo "armel" ;;
- armv6*-*-*-*eabihf) echo "armhf" ;;
- armv7*-*-*-*eabihf) echo "armv7" ;;
- i[0-9]86-*-*-*) echo "x86" ;;
- mips-*-*-*) echo "mips" ;;
- mips64-*-*-*) echo "mips64" ;;
- mipsel-*-*-*) echo "mipsel" ;;
- mips64el-*-*-*) echo "mips64el" ;;
- powerpc-*-*-*) echo "ppc" ;;
- powerpc64-*-*-*) echo "ppc64" ;;
- powerpc64le-*-*-*) echo "ppc64le" ;;
- s390x-*-*-*) echo "s390x" ;;
- x86_64-*-*-*) echo "x86_64" ;;
+ aarch64-*) echo "aarch64" ;;
+ arm-*) echo "arm" ;;
+ i686-*) echo "i686" ;;
+ x86_64-*) echo "x86_64" ;;
*) echo "unknown" ;;
esac
}
@@ -114,7 +94,7 @@
PACKAGER=${_PACKAGER-$PACKAGER}
USE_COLORS=${_USE_COLORS-$USE_COLORS}
- [ -z "$CBUILD" ] && CBUILD="$(gcc -dumpmachine)"
+ [ -z "$CBUILD" ] && CBUILD="$(clang -dumpmachine)"
[ -z "$CHOST" ] && CHOST="$CBUILD"
[ -z "$CTARGET" ] && CTARGET="$CHOST"
[ "$(arch_to_hostspec $CBUILD)" != "unknown" ] && CBUILD="$(arch_to_hostspec $CBUILD)"
@@ -134,11 +114,71 @@
# setup build root
[ -z "$CBUILDROOT" ] && export CBUILDROOT="$HOME/sysroot-$CTARGET_ARCH/"
# prepare pkg-config for cross building
- [ -z "$PKG_CONFIG_PATH" ] && export PKG_CONFIG_PATH="${CBUILDROOT}/usr/lib/pkgconfig/"
+ [ -z "$PKG_CONFIG_PATH" ] && export PKG_CONFIG_PATH="${CBUILDROOT}/lib/pkgconfig/"
[ -z "$PKG_CONFIG_SYSROOT_DIR" ] && export PKG_CONFIG_SYSROOT_DIR="${CBUILDROOT}"
+
# libtool bug workaround for extra rpaths
- [ -z "$lt_cv_sys_lib_dlsearch_path_spec" ] && \
- export lt_cv_sys_lib_dlsearch_path_spec="${CBUILDROOT}/lib ${CBUILDROOT}/usr/lib /usr/lib /lib /usr/local/lib"
+ if [ -z "$lt_cv_sys_lib_dlsearch_path_spec" ]; then
+ case $CTARGET_ARCH in
+ aarch64|x86_64) export lt_cv_sys_lib_dlsearch_path_spec="${CBUILDROOT}/lib @TERMUX_PREFIX@/lib /system/lib64" ;;
+ *) export lt_cv_sys_lib_dlsearch_path_spec="${CBUILDROOT}/lib @TERMUX_PREFIX@/lib /system/lib" ;;
+ esac
+ fi
+
+ # Originally set in build-package.sh script in Termux build environment.
+ # https://github.com/termux/termux-packages/blob/master/build-package.sh
+ export ac_cv_func_getpwent=no
+ export ac_cv_func_getpwnam=no
+ export ac_cv_func_getpwuid=no
+ export ac_cv_func_sigsetmask=no
+ export ac_cv_c_bigendian=no
+ export ac_cv_func_calloc_0_nonnull=yes
+ export ac_cv_func_calloc_0_nonnull=yes
+ export ac_cv_func_chown_works=yes
+ export ac_cv_func_getgroups_works=yes
+ export ac_cv_func_malloc_0_nonnull=yes
+ export ac_cv_func_realloc_0_nonnull=yes
+ export am_cv_func_working_getline=yes
+ export gl_cv_C_locale_sans_EILSEQ=yes
+ export gl_cv_func_dup2_works=yes
+ export gl_cv_func_fcntl_f_dupfd_cloexec=yes
+ export gl_cv_func_fcntl_f_dupfd_works=yes
+ export gl_cv_func_fnmatch_posix=yes
+ export gl_cv_func_getcwd_abort_bug=no
+ export gl_cv_func_getcwd_null=yes
+ export gl_cv_func_getcwd_path_max=yes
+ export gl_cv_func_getcwd_posix_signature=yes
+ export gl_cv_func_gettimeofday_clobber=no
+ export gl_cv_func_gettimeofday_posix_signature=yes
+ export gl_cv_func_link_works=yes
+ export gl_cv_func_lstat_dereferences_slashed_symlink=yes
+ export gl_cv_func_malloc_0_nonnull=yes
+ export gl_cv_func_memchr_works=yes
+ export gl_cv_func_mkdir_trailing_dot_works=yes
+ export gl_cv_func_mkdir_trailing_slash_works=yes
+ export gl_cv_func_mkfifo_works=yes
+ export gl_cv_func_mknod_works=yes
+ export gl_cv_func_realpath_works=yes
+ export gl_cv_func_select_detects_ebadf=yes
+ export gl_cv_func_snprintf_posix=yes
+ export gl_cv_func_snprintf_retval_c99=yes
+ export gl_cv_func_snprintf_truncation_c99=yes
+ export gl_cv_func_stat_dir_slash=yes
+ export gl_cv_func_stat_file_slash=yes
+ export gl_cv_func_strerror_0_works=yes
+ export gl_cv_func_symlink_works=yes
+ export gl_cv_func_tzset_clobber=no
+ export gl_cv_func_unlink_honors_slashes=yes
+ export gl_cv_func_unlink_honors_slashes=yes
+ export gl_cv_func_vsnprintf_posix=yes
+ export gl_cv_func_vsnprintf_zerosize_c99=yes
+ export gl_cv_func_wcwidth_works=yes
+ export gl_cv_func_working_getdelim=yes
+ export gl_cv_func_working_mkstemp=yes
+ export gl_cv_func_working_mktime=yes
+ export gl_cv_func_working_strerror=yes
+ export gl_cv_header_working_fcntl_h=yes
+
# setup cross-compiler
if [ -z "$CROSS_COMPILE" ]; then
export CROSS_COMPILE="${CHOST}-"
@@ -149,8 +189,8 @@
export HOSTCXXFLAGS="$CXXFLAGS"
export HOSTCFLAGS="$CFLAGS"
export HOSTLDFLAGS="$LDFLAGS"
- export CC=${CROSS_COMPILE}gcc
- export CXX=${CROSS_COMPILE}g++
+ export CC=${CROSS_COMPILE}clang
+ export CXX=${CROSS_COMPILE}clang++
export LD=${CROSS_COMPILE}ld
export CPPFLAGS="--sysroot=${CBUILDROOT} $CPPFLAGS"
export CXXFLAGS="--sysroot=${CBUILDROOT} $CXXFLAGS"
================================================
FILE: disabled-packages/abuild/sample.APKBUILD.patch
================================================
--- abuild-3.2.0/sample.APKBUILD 2018-06-22 10:24:10.000000000 +0300
+++ abuild-3.2.0.mod/sample.APKBUILD 2018-11-19 01:28:10.783277331 +0200
@@ -27,10 +27,10 @@
build() {
cd "$builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info
+ ./configure --prefix=$PREFIX \
+ --sysconfdir=$PREFIX/etc \
+ --mandir=$PREFIX/share/man \
+ --infodir=$PREFIX/share/info
make
}
================================================
FILE: disabled-packages/alsa-lib/alsa-conf-dir.patch
================================================
--- ./src/conf/alsa.conf.orig 2016-12-20 14:43:20.000000000 +0000
+++ ./src/conf/alsa.conf 2017-03-06 22:51:47.242150837 +0000
@@ -15,7 +15,7 @@
"/alsa.conf.d/"
]
}
- "/etc/asound.conf"
+ "@TERMUX_PREFIX@/etc/asound.conf"
"~/.asoundrc"
]
errors false
================================================
FILE: disabled-packages/alsa-lib/build.sh
================================================
# patches taken from https://github.com/michaelwu/alsa-lib
TERMUX_PKG_HOMEPAGE=http://www.alsa-project.org
TERMUX_PKG_VERSION=1.1.3
# TERMUX_PKG_DEPENDS="libandroid-shmem, python2"
TERMUX_PKG_DEPENDS="libandroid-shmem"
TERMUX_PKG_SRCURL=ftp://ftp.alsa-project.org/pub/lib/alsa-lib-$TERMUX_PKG_VERSION.tar.bz2
TERMUX_PKG_SHA256=71282502184c592c1a008e256c22ed0ba5728ca65e05273ceb480c70f515969c
# TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-pythonlibs=\"-lpython2.7\" --with-pythonincludes=-I/$TERMUX_PREFIX/include/python2.7"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-python"
termux_step_pre_configure() {
#LDFLAGS="$LDFLAGS -landroid-shmem"
#_files='src/pcm/pcm_dsnoop.c src/pcm/pcm_mmap.c src/pcm/pcm_shm.c src/pcm/pcm_dmix.c src/pcm/pcm_dshare.c src/pcm/pcm_direct.c src/shmarea.c src/control/control_shm.c aserver/aserver.c'
#for _file in $_files; do sed -i 's%#include <sys/shm.h>%#include <shmem/shm.h>%' "$TERMUX_PKG_SRCDIR/$_file"; done
#export ac_cv_header_sys_shm_h='no'
CPPFLAGS="$CPPFLAGS -DTERMUX_SHMEM_STUBS -DTERMUX_SEMOPS_STUBS"
}
================================================
FILE: disabled-packages/alsa-lib/pcm_direct.c.patch
================================================
--- ./src/pcm/pcm_direct.c 2016-08-02 23:18:38.000000000 +0530
+++ ./src/pcm/pcm_direct.c 2016-12-02 23:19:30.771819040 +0530
@@ -44,12 +44,14 @@
*
*/
+#if !defined(ANDROID) && !defined(__ANDROID__)
union semun {
int val; /* Value for SETVAL */
struct semid_ds *buf; /* Buffer for IPC_STAT, IPC_SET */
unsigned short *array; /* Array for GETALL, SETALL */
struct seminfo *__buf; /* Buffer for IPC_INFO (Linux specific) */
};
+#endif
/*
* FIXME:
================================================
FILE: disabled-packages/alsa-lib/pcm_mmap.c.patch.old
================================================
--- ./src/pcm/pcm_mmap.c 2016-08-02 23:18:38.000000000 +0530
+++ /home/vishal/AndroidDev/alsa/src/pcm/pcm_mmap.c 2016-12-03 00:06:36.620336924 +0530
@@ -344,7 +344,7 @@
i->addr = ptr;
break;
case SND_PCM_AREA_SHM:
-#ifdef HAVE_SYS_SHM_H
+#if 0
if (i->u.shm.shmid < 0) {
int id;
/* FIXME: safer permission? */
@@ -474,7 +474,7 @@
errno = 0;
break;
case SND_PCM_AREA_SHM:
-#ifdef HAVE_SYS_SHM_H
+#if 0
if (i->u.shm.area) {
snd_shm_area_destroy(i->u.shm.area);
i->u.shm.area = NULL;
================================================
FILE: disabled-packages/alsa-lib/versionsort.patch
================================================
diff -ruN ./src/conf.c /home/vishal/AndroidDev/alsa/src/conf.c
--- ./src/conf.c 2016-08-02 23:18:38.000000000 +0530
+++ /home/vishal/AndroidDev/alsa/src/conf.c 2016-12-02 23:42:04.689785910 +0530
@@ -3558,7 +3558,7 @@
int n;
#ifndef DOC_HIDDEN
-#if defined(_GNU_SOURCE) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__sun)
+#if defined(_GNU_SOURCE) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__sun) && !defined(__ANDROID__) && !defined(ANDROID)
#define SORTFUNC versionsort
#else
#define SORTFUNC alphasort
diff -ruN ./src/ucm/parser.c /home/vishal/AndroidDev/alsa/src/ucm/parser.c
--- ./src/ucm/parser.c 2016-08-02 23:18:38.000000000 +0530
+++ /home/vishal/AndroidDev/alsa/src/ucm/parser.c 2016-12-02 23:42:17.406370931 +0530
@@ -1274,7 +1274,7 @@
"%s", env ? env : ALSA_USE_CASE_DIR);
filename[MAX_FILE-1] = '\0';
-#if defined(_GNU_SOURCE) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__sun)
+#if defined(_GNU_SOURCE) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__sun) && !defined(__ANDROID__) && !defined(ANDROID)
#define SORTFUNC versionsort
#else
#define SORTFUNC alphasort
================================================
FILE: disabled-packages/alsa-plugins/asound.conf
================================================
# Use pulseaudio by default
pcm.!default {
type pulse
fallback "sysdefault"
hint {
show on
description "Default ALSA Output (currently PulseAudio Sound Server)"
}
}
ctl.!default {
type pulse
fallback "sysdefault"
}
# vim:set ft=alsaconf:
================================================
FILE: disabled-packages/alsa-plugins/build.sh
================================================
TERMUX_PKG_HOMEPAGE=http://www.alsa-project.org
TERMUX_PKG_VERSION=1.1.1
TERMUX_PKG_SRCURL=ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-$TERMUX_PKG_VERSION.tar.bz2
TERMUX_PKG_SHA256=8ea4d1e082c36528a896a2581e5eb62d4dc2683238e353050d0d624e65f901f1
TERMUX_PKG_DEPENDS="alsa-lib, pulseaudio"
TERMUX_PKG_EXTRA_MAKE_ARGS='SUBDIRS=pulse'
termux_step_post_make_install() {
cp $TERMUX_PKG_BUILDER_DIR/asound.conf $TERMUX_PREFIX/etc
}
================================================
FILE: disabled-packages/alsa-utils/build.sh
================================================
TERMUX_PKG_HOMEPAGE=http://www.alsa-project.org
TERMUX_PKG_VERSION=1.1.3
TERMUX_PKG_SRCURL=ftp://ftp.alsa-project.org/pub/utils/alsa-utils-$TERMUX_PKG_VERSION.tar.bz2
TERMUX_PKG_SHA256=127217a54eea0f9a49700a2f239a2d4f5384aa094d68df04a8eb80132eb6167c
TERMUX_PKG_DEPENDS="alsa-lib, ncurses"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-udev-rules-dir=$TERMUX_PREFIX/lib/udev/rules.d --with-asound-state-dir=$TERMUX_PREFIX/var/lib/alsa --disable-bat --disable-rst2man"
termux_step_pre_configure() {
LDFLAGS+=" -llog"
}
================================================
FILE: disabled-packages/alsa-utils/configure.patch
================================================
--- ./configure 2016-08-02 22:44:23.000000000 +0530
+++ ../configure 2016-12-03 23:06:46.641370754 +0530
@@ -7123,7 +7123,7 @@
LDFLAGS="$LDFLAGS $ALSA_LIBS"
fi
-ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
+ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl"
LIBS="$ALSA_LIBS $LIBS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5
$as_echo "$ALSA_LIBS" >&6; }
@@ -7741,7 +7741,6 @@
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -7776,7 +7775,6 @@
#define HAVE_LIBPTHREAD 1
_ACEOF
- LIBS="-lpthread $LIBS"
else
as_fn_error $? "Error: need PTHREAD library" "$LINENO" 5
================================================
FILE: disabled-packages/alsa-utils/volume_mapping.c.patch
================================================
--- ./alsamixer/volume_mapping.c 2016-08-02 22:39:45.000000000 +0530
+++ ../volume_mapping.c 2016-12-03 23:15:26.390744307 +0530
@@ -37,7 +37,7 @@
#include <stdbool.h>
#include "volume_mapping.h"
-#ifdef __UCLIBC__
+#if defined(__UCLIBC__) || defined(__ANDROID__)
/* 10^x = 10^(log e^x) = (e^x)^log10 = e^(x * log 10) */
#define exp10(x) (exp((x) * log(10)))
#endif /* __UCLIBC__ */
================================================
FILE: disabled-packages/ant/ant
================================================
#!@TERMUX_PREFIX@/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
set -e -u
# Extract launch and ant arguments, (see details below).
ant_exec_args=
no_config=false
ant_exec_debug=false
show_help=false
for arg in "$@" ; do
if [ "$arg" = "--noconfig" ] ; then
no_config=true
elif [ "$arg" = "--execdebug" ] ; then
ant_exec_debug=true
elif [ my"$arg" = my"--h" -o my"$arg" = my"--help" ] ; then
show_help=true
ant_exec_args="$ant_exec_args -h"
else
if [ my"$arg" = my"-h" -o my"$arg" = my"-help" ] ; then
show_help=true
fi
ant_exec_args="$ant_exec_args \"$arg\""
fi
done
if [ -z "$ANT_HOME" ]; then
ANT_HOME=@TERMUX_PREFIX@/share/ant
fi
if ! $no_config ; then
if [ -f "$HOME/.ant/ant.conf" ] ; then
. $HOME/.ant/ant.conf
fi
if [ -f "$HOME/.antrc" ] ; then
. "$HOME/.antrc"
fi
fi
ANT_LIB="${ANT_HOME}/lib"
if [ -z "$LOCALCLASSPATH" ] ; then
LOCALCLASSPATH=$ANT_LIB/ant-launcher.jar
else
LOCALCLASSPATH=$ANT_LIB/ant-launcher.jar:$LOCALCLASSPATH
fi
# Show script help if requested
if $show_help ; then
echo $0 '[script options] [options] [target [target2 [target3] ..]]'
echo 'Script Options:'
echo ' --help, --h print this message and ant help'
echo ' --noconfig suppress sourcing of /etc/ant.conf,'
echo ' $HOME/.ant/ant.conf, and $HOME/.antrc'
echo ' configuration files'
echo ' --execdebug print ant exec line generated by this'
echo ' launch script'
echo ' '
fi
# Execute ant using eval/exec to preserve spaces in paths, java options, and ant args
ant_sys_opts=
ant_exec_command="exec dalvikvm $ANT_OPTS -classpath \"$LOCALCLASSPATH\" -Dant.home=\"$ANT_HOME\" -Dant.library.dir=\"$ANT_LIB\" $ant_sys_opts org.apache.tools.ant.launch.Launcher $ANT_ARGS -cp \"$CLASSPATH\""
if $ant_exec_debug ; then
echo $ant_exec_command $ant_exec_args
fi
eval $ant_exec_command "$ant_exec_args"
================================================
FILE: disabled-packages/ant/build.sh
================================================
TERMUX_PKG_HOMEPAGE=http://ant.apache.org/
TERMUX_PKG_DESCRIPTION="Java based build tool like make"
TERMUX_PKG_VERSION=1.9.6
TERMUX_PKG_SRCURL=http://apache.mirrors.spacedump.net//ant/binaries/apache-ant-${TERMUX_PKG_VERSION}-bin.tar.bz2
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_step_make_install() {
mkdir -p $TERMUX_PREFIX/share/ant/lib
for jar in ant ant-launcher; do
$TERMUX_DX \
--dex \
--output=$TERMUX_PREFIX/share/ant/lib/${jar}.jar \
lib/${jar}.jar
done
install $TERMUX_PKG_BUILDER_DIR/ant $TERMUX_PREFIX/bin/ant
perl -p -i -e "s%\@TERMUX_PREFIX\@%${TERMUX_PREFIX}%g" $TERMUX_PREFIX/bin/ant
}
================================================
FILE: disabled-packages/apk-tools/Make.rules.patch
================================================
diff -u -r ../apk-tools-2.10.1/Make.rules ./Make.rules
--- ../apk-tools-2.10.1/Make.rules 2018-09-10 08:04:03.000000000 +0000
+++ ./Make.rules 2018-09-10 21:36:27.914805239 +0000
@@ -64,9 +64,9 @@
# Utilities and default flags for them.
CROSS_COMPILE ?=
-CC := $(CROSS_COMPILE)gcc
-AR := $(CROSS_COMPILE)ar
-LD := $(CROSS_COMPILE)ld
+CC ?= $(CROSS_COMPILE)gcc
+AR ?= $(CROSS_COMPILE)ar
+LD ?= $(CROSS_COMPILE)ld
INSTALL := install
INSTALLDIR := $(INSTALL) -d
================================================
FILE: disabled-packages/apk-tools/Makefile.patch
================================================
diff -u -r ../apk-tools-2.10.1/Makefile ./Makefile
--- ../apk-tools-2.10.1/Makefile 2018-09-10 08:04:03.000000000 +0000
+++ ./Makefile 2018-09-10 21:58:19.631911343 +0000
@@ -10,11 +10,11 @@
# Default directories
DESTDIR :=
-SBINDIR := /sbin
-LIBDIR := /lib
-CONFDIR := /etc/apk
-MANDIR := /usr/share/man
-DOCDIR := /usr/share/doc/apk
+SBINDIR := @TERMUX_PREFIX@/bin
+LIBDIR := @TERMUX_PREFIX@/lib
+CONFDIR := @TERMUX_PREFIX@/etc/apk
+MANDIR := @TERMUX_PREFIX@/share/man
+DOCDIR := @TERMUX_PREFIX@/share/doc/apk
export DESTDIR SBINDIR LIBDIR CONFDIR MANDIR DOCDIR
================================================
FILE: disabled-packages/apk-tools/build.sh
================================================
##
## Since Termux is continuing to use APT as package manager, abuild & apk-tools
## are disabled because don't have real use-cases currently.
##
TERMUX_PKG_HOMEPAGE=https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management
TERMUX_PKG_DESCRIPTION="Alpine Linux package management tools"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=2.10.4
TERMUX_PKG_SRCURL=https://github.com/alpinelinux/apk-tools/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=c08aa725a0437a6a83c5364a1a3a468e4aef5d1d09523369074779021397281c
TERMUX_PKG_DEPENDS="openssl, zlib"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_MAKE_ARGS="LUAAPK="
TERMUX_PKG_CONFFILES="etc/apk/repositories"
termux_step_post_make_install() {
mkdir -p $TERMUX_PREFIX/etc/apk/
echo $TERMUX_ARCH > $TERMUX_PREFIX/etc/apk/arch
echo "https://termux.net/apk/main" > $TERMUX_PREFIX/etc/apk/repositories
}
termux_step_post_massage() {
mkdir -p "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/etc/apk/keys"
mkdir -p "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/etc/apk/protected_paths.d"
mkdir -p "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/lib/apk/db/"
mkdir -p "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/var/cache/apk"
ln -sfr \
"$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/var/cache/apk" \
"$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/etc/apk/cache"
}
termux_step_create_debscripts() {
{
echo "#!$TERMUX_PREFIX/bin/sh"
echo "touch $TERMUX_PREFIX/etc/apk/world"
} > ./postinst
chmod 755 postinst
}
================================================
FILE: disabled-packages/apk-tools/libfetch-http.c.patch
================================================
diff -uNr apk-tools-2.10.4/libfetch/http.c apk-tools-2.10.4.mod/libfetch/http.c
--- apk-tools-2.10.4/libfetch/http.c 2019-06-05 15:34:16.000000000 +0300
+++ apk-tools-2.10.4.mod/libfetch/http.c 2019-07-21 16:38:08.300760202 +0300
@@ -496,14 +496,11 @@
static int
http_parse_mtime(const char *p, time_t *mtime)
{
- char *locale, *r;
+ char *r;
struct tm tm;
- locale = strdupa(setlocale(LC_TIME, NULL));
- setlocale(LC_TIME, "C");
r = strptime(p, "%a, %d %b %Y %H:%M:%S GMT", &tm);
- /* XXX should add support for date-2 and date-3 */
- setlocale(LC_TIME, locale);
+
if (r == NULL)
return (-1);
*mtime = timegm(&tm);
================================================
FILE: disabled-packages/apk-tools/src-apk.c.patch
================================================
diff -u -r ../apk-tools-2.10.1/src/apk.c ./src/apk.c
--- ../apk-tools-2.10.1/src/apk.c 2018-09-10 08:04:03.000000000 +0000
+++ ./src/apk.c 2018-09-10 22:02:50.668809543 +0000
@@ -486,7 +486,7 @@
apk_flags |= APK_PROGRESS;
if (!(apk_flags & APK_SIMULATE) &&
- access("/etc/apk/interactive", F_OK) == 0)
+ access("@TERMUX_PREFIX@/etc/apk/interactive", F_OK) == 0)
apk_flags |= APK_INTERACTIVE;
}
================================================
FILE: disabled-packages/apk-tools/src-archive.c.patch
================================================
diff -uNr apk-tools-2.10.3/src/archive.c apk-tools-2.10.3.mod/src/archive.c
--- apk-tools-2.10.3/src/archive.c 2018-11-15 15:09:07.000000000 +0200
+++ apk-tools-2.10.3.mod/src/archive.c 2018-11-19 17:36:03.835900565 +0200
@@ -20,6 +20,7 @@
#include <sysexits.h>
#include <sys/wait.h>
#include <sys/stat.h>
+#include <sys/sysmacros.h>
#include <sys/xattr.h>
#include <limits.h>
#include <stdint.h>
@@ -441,7 +442,9 @@
struct apk_istream *is,
apk_progress_cb cb, void *cb_ctx)
{
+#ifndef __ANDROID__
struct apk_xattr *xattr;
+#endif
const char *fn = extract_name ?: ae->name;
int fd, r = -1, atflags = 0, ret = 0;
@@ -487,12 +490,14 @@
return ret;
}
+#ifndef __ANDROID__
r = fchownat(atfd, fn, ae->uid, ae->gid, atflags);
if (r < 0) {
apk_error("Failed to set ownership on %s: %s",
fn, strerror(errno));
if (!ret) ret = -errno;
}
+#endif
/* chown resets suid bit so we need set it again */
if (ae->mode & 07000) {
@@ -506,6 +511,7 @@
}
/* extract xattrs */
+#ifndef __ANDROID__
if (!S_ISLNK(ae->mode) && ae->xattrs && ae->xattrs->num) {
r = 0;
fd = openat(atfd, fn, O_RDWR);
@@ -527,6 +533,7 @@
if (!ret) ret = r;
}
}
+#endif
if (!S_ISLNK(ae->mode)) {
/* preserve modification time */
================================================
FILE: disabled-packages/apk-tools/src-commit.c.patch
================================================
diff -uNr apk-tools-2.10.3/src/commit.c apk-tools-2.10.3.mod/src/commit.c
--- apk-tools-2.10.3/src/commit.c 2018-11-15 15:09:07.000000000 +0200
+++ apk-tools-2.10.3.mod/src/commit.c 2018-11-19 17:44:44.799596053 +0200
@@ -19,6 +19,8 @@
#include "apk_print.h"
+#include "termux_prefix.h"
+
static inline int pkg_available(struct apk_database *db, struct apk_package *pkg)
{
if (pkg->repos & db->available_repos)
@@ -235,7 +237,7 @@
if (file[0] == '.') return 0;
if ((apk_flags & (APK_NO_SCRIPTS | APK_SIMULATE)) != 0) return 0;
- snprintf(fn, sizeof(fn), "etc/apk/commit_hooks.d" "/%s", file);
+ snprintf(fn, sizeof(fn), TERMUX_PREFIX_RELATIVE"etc/apk/commit_hooks.d" "/%s", file);
if ((apk_flags & APK_NO_COMMIT_HOOKS) != 0) {
apk_message("Skipping: %s %s", fn, commit_hook_str[hook->type]);
return 0;
@@ -251,7 +253,7 @@
static int run_commit_hooks(struct apk_database *db, int type)
{
struct apk_commit_hook hook = { .db = db, .type = type };
- return apk_dir_foreach_file(openat(db->root_fd, "etc/apk/commit_hooks.d", O_RDONLY | O_CLOEXEC),
+ return apk_dir_foreach_file(openat(db->root_fd, TERMUX_PREFIX_RELATIVE"etc/apk/commit_hooks.d", O_RDONLY | O_CLOEXEC),
run_commit_hook, &hook);
}
================================================
FILE: disabled-packages/apk-tools/src-database.c.patch
================================================
diff -uNr apk-tools-2.10.3/src/database.c apk-tools-2.10.3.mod/src/database.c
--- apk-tools-2.10.3/src/database.c 2018-11-15 15:09:07.000000000 +0200
+++ apk-tools-2.10.3.mod/src/database.c 2018-11-19 17:45:05.469750983 +0200
@@ -37,6 +37,8 @@
#include "apk_print.h"
#include "apk_openssl.h"
+#include "termux_prefix.h"
+
static const apk_spn_match_def apk_spn_repo_separators = {
[4] = (1<<0) /* */,
[7] = (1<<2) /*:*/,
@@ -54,22 +56,22 @@
static const char * const apkindex_tar_gz = "APKINDEX.tar.gz";
-static const char * const apk_static_cache_dir = "var/cache/apk";
+static const char * const apk_static_cache_dir = TERMUX_PREFIX_RELATIVE"var/cache/apk";
-static const char * const apk_world_file = "etc/apk/world";
-static const char * const apk_world_file_tmp = "etc/apk/world.new";
-static const char * const apk_arch_file = "etc/apk/arch";
+static const char * const apk_world_file = TERMUX_PREFIX_RELATIVE"etc/apk/world";
+static const char * const apk_world_file_tmp = TERMUX_PREFIX_RELATIVE"etc/apk/world.new";
+static const char * const apk_arch_file = TERMUX_PREFIX_RELATIVE"etc/apk/arch";
-static const char * const apk_lock_file = "lib/apk/db/lock";
+static const char * const apk_lock_file = TERMUX_PREFIX_RELATIVE"lib/apk/db/lock";
-static const char * const apk_scripts_file = "lib/apk/db/scripts.tar";
-static const char * const apk_scripts_file_tmp = "lib/apk/db/scripts.tar.new";
+static const char * const apk_scripts_file = TERMUX_PREFIX_RELATIVE"lib/apk/db/scripts.tar";
+static const char * const apk_scripts_file_tmp = TERMUX_PREFIX_RELATIVE"lib/apk/db/scripts.tar.new";
-static const char * const apk_triggers_file = "lib/apk/db/triggers";
-static const char * const apk_triggers_file_tmp = "lib/apk/db/triggers.new";
+static const char * const apk_triggers_file = TERMUX_PREFIX_RELATIVE"lib/apk/db/triggers";
+static const char * const apk_triggers_file_tmp = TERMUX_PREFIX_RELATIVE"lib/apk/db/triggers.new";
-const char * const apk_installed_file = "lib/apk/db/installed";
-static const char * const apk_installed_file_tmp = "lib/apk/db/installed.new";
+const char * const apk_installed_file = TERMUX_PREFIX_RELATIVE"lib/apk/db/installed";
+static const char * const apk_installed_file_tmp = TERMUX_PREFIX_RELATIVE"lib/apk/db/installed.new";
static struct apk_db_acl *apk_default_acl_dir, *apk_default_acl_file;
@@ -1332,19 +1334,20 @@
static int apk_db_create(struct apk_database *db)
{
int fd;
-
- mkdirat(db->root_fd, "tmp", 01777);
+ mkdirat(db->root_fd, TERMUX_PREFIX_RELATIVE"tmp", 01777);
mkdirat(db->root_fd, "dev", 0755);
+#ifndef __ANDROID__
mknodat(db->root_fd, "dev/null", S_IFCHR | 0666, makedev(1, 3));
- mkdirat(db->root_fd, "etc", 0755);
- mkdirat(db->root_fd, "etc/apk", 0755);
- mkdirat(db->root_fd, "lib", 0755);
- mkdirat(db->root_fd, "lib/apk", 0755);
- mkdirat(db->root_fd, "lib/apk/db", 0755);
- mkdirat(db->root_fd, "var", 0755);
- mkdirat(db->root_fd, "var/cache", 0755);
- mkdirat(db->root_fd, "var/cache/apk", 0755);
- mkdirat(db->root_fd, "var/cache/misc", 0755);
+#endif
+ mkdirat(db->root_fd, TERMUX_PREFIX_RELATIVE"etc", 0755);
+ mkdirat(db->root_fd, TERMUX_PREFIX_RELATIVE"etc/apk", 0755);
+ mkdirat(db->root_fd, TERMUX_PREFIX_RELATIVE"lib", 0755);
+ mkdirat(db->root_fd, TERMUX_PREFIX_RELATIVE"lib/apk", 0755);
+ mkdirat(db->root_fd, TERMUX_PREFIX_RELATIVE"lib/apk/db", 0755);
+ mkdirat(db->root_fd, TERMUX_PREFIX_RELATIVE"var", 0755);
+ mkdirat(db->root_fd, TERMUX_PREFIX_RELATIVE"var/cache", 0755);
+ mkdirat(db->root_fd, TERMUX_PREFIX_RELATIVE"var/cache/apk", 0755);
+ mkdirat(db->root_fd, TERMUX_PREFIX_RELATIVE"var/cache/misc", 0755);
fd = openat(db->root_fd, apk_world_file, O_CREAT|O_RDWR|O_TRUNC|O_CLOEXEC, 0644);
if (fd < 0)
@@ -1533,7 +1536,7 @@
!(dbopts->open_flags & APK_OPENF_NO_AUTOUPDATE) &&
!(apk_flags & APK_NO_NETWORK))
db->autoupdate = 1;
- if (!dbopts->cache_dir) dbopts->cache_dir = "etc/apk/cache";
+ if (!dbopts->cache_dir) dbopts->cache_dir = TERMUX_PREFIX_RELATIVE"etc/apk/cache";
apk_db_setup_repositories(db, dbopts->cache_dir);
@@ -1625,7 +1628,7 @@
blob = APK_BLOB_STR("+etc\n" "@etc/init.d\n" "!etc/apk\n");
apk_blob_for_each_segment(blob, "\n", add_protected_path, db);
- apk_dir_foreach_file(openat(db->root_fd, "etc/apk/protected_paths.d", O_RDONLY | O_CLOEXEC),
+ apk_dir_foreach_file(openat(db->root_fd, TERMUX_PREFIX_RELATIVE"etc/apk/protected_paths.d", O_RDONLY | O_CLOEXEC),
add_protected_paths_from_file, db);
/* figure out where to have the cache */
@@ -1655,7 +1658,7 @@
}
db->keys_fd = openat(db->root_fd,
- dbopts->keys_dir ?: "etc/apk/keys",
+ dbopts->keys_dir ?: TERMUX_PREFIX_RELATIVE"etc/apk/keys",
O_RDONLY | O_CLOEXEC);
if (apk_flags & APK_OVERLAY_FROM_STDIN) {
@@ -1693,8 +1696,8 @@
apk_db_add_repository(db, APK_BLOB_STR(repo->url));
if (dbopts->repositories_file == NULL) {
- add_repos_from_file(db, db->root_fd, "etc/apk/repositories");
- apk_dir_foreach_file(openat(db->root_fd, "etc/apk/repositories.d", O_RDONLY | O_CLOEXEC),
+ add_repos_from_file(db, db->root_fd, TERMUX_PREFIX_RELATIVE"etc/apk/repositories");
+ apk_dir_foreach_file(openat(db->root_fd, TERMUX_PREFIX_RELATIVE"etc/apk/repositories.d", O_RDONLY | O_CLOEXEC),
add_repos_from_file, db);
} else {
add_repos_from_file(db, db->root_fd, dbopts->repositories_file);
@@ -1931,7 +1934,7 @@
int status;
pid_t pid;
static char * const environment[] = {
- "PATH=/usr/sbin:/usr/bin:/sbin:/bin",
+ "PATH=@TERMUX_PREFIX@/bin:@TERMUX_PREFIX@/bin/applets",
NULL
};
@@ -1968,9 +1971,10 @@
r = fstatat(db->root_fd, dir->name, &st, AT_SYMLINK_NOFOLLOW);
if (r < 0 || (st.st_mode & 07777) != (dir->mode & 07777))
fchmodat(db->root_fd, dir->name, dir->mode, 0);
+#ifndef __ANDROID__
if (r < 0 || st.st_uid != dir->uid || st.st_gid != dir->gid)
fchownat(db->root_fd, dir->name, dir->uid, dir->gid, 0);
-
+#endif
return 0;
}
================================================
FILE: disabled-packages/apk-tools/src-io.c.patch
================================================
diff -uNr apk-tools-2.10.3/src/io.c apk-tools-2.10.3.mod/src/io.c
--- apk-tools-2.10.3/src/io.c 2018-11-15 15:09:07.000000000 +0200
+++ apk-tools-2.10.3.mod/src/io.c 2018-11-19 17:36:03.842567276 +0200
@@ -1012,6 +1012,7 @@
.delete_item = (apk_hash_delete_f) free,
};
+#ifndef __ANDROID__
static struct cache_item *resolve_cache_item(struct apk_hash *hash, apk_blob_t name)
{
struct cache_item *ci;
@@ -1032,6 +1033,7 @@
return ci;
}
+#endif
void apk_id_cache_init(struct apk_id_cache *idc, int root_fd)
{
@@ -1056,6 +1058,9 @@
uid_t apk_resolve_uid(struct apk_id_cache *idc, const char *username, uid_t default_uid)
{
+#ifdef __ANDROID__
+ return getuid();
+#else
#ifdef HAVE_FGETPWENT_R
char buf[1024];
struct passwd pwent;
@@ -1095,10 +1100,14 @@
return ci->uid;
return default_uid;
+#endif
}
uid_t apk_resolve_gid(struct apk_id_cache *idc, const char *groupname, uid_t default_gid)
{
+#ifdef __ANDROID__
+ return getgid();
+#else
#ifdef HAVE_FGETGRENT_R
char buf[1024];
struct group grent;
@@ -1138,4 +1147,5 @@
return ci->gid;
return default_gid;
+#endif
}
================================================
FILE: disabled-packages/apk-tools/src-package.c.patch
================================================
diff -uNr apk-tools-2.10.3/src/package.c apk-tools-2.10.3.mod/src/package.c
--- apk-tools-2.10.3/src/package.c 2018-11-15 15:09:07.000000000 +0200
+++ apk-tools-2.10.3.mod/src/package.c 2018-11-19 17:44:51.566313390 +0200
@@ -30,6 +30,8 @@
#include "apk_database.h"
#include "apk_print.h"
+#include "termux_prefix.h"
+
static const apk_spn_match_def apk_spn_dependency_comparer = {
[7] = (1<<4) /*<*/ | (1<<5) /*=*/ | (1<<6) /*<*/,
[15] = (1<<6) /*~*/
@@ -1008,7 +1010,7 @@
argv[0] = (char *) apk_script_types[type];
/* Avoid /tmp as it can be mounted noexec */
- snprintf(fn, sizeof(fn), "var/cache/misc/" PKG_VER_FMT ".%s",
+ snprintf(fn, sizeof(fn), TERMUX_PREFIX_RELATIVE"var/cache/misc/" PKG_VER_FMT ".%s",
PKG_VER_PRINTF(pkg),
apk_script_types[type]);
@@ -1018,7 +1020,7 @@
apk_message("Executing %s", &fn[15]);
fd = openat(root_fd, fn, O_CREAT|O_RDWR|O_TRUNC|O_CLOEXEC, 0755);
if (fd < 0) {
- mkdirat(root_fd, "var/cache/misc", 0755);
+ mkdirat(root_fd, TERMUX_PREFIX_RELATIVE"var/cache/misc", 0755);
fd = openat(root_fd, fn, O_CREAT|O_RDWR|O_TRUNC|O_CLOEXEC, 0755);
if (fd < 0) goto err_log;
}
================================================
FILE: disabled-packages/apk-tools/src-termux_prefix.h.patch
================================================
diff -uNr apk-tools-2.10.3/src/termux_prefix.h apk-tools-2.10.3.mod/src/termux_prefix.h
--- apk-tools-2.10.3/src/termux_prefix.h 1970-01-01 03:00:00.000000000 +0300
+++ apk-tools-2.10.3.mod/src/termux_prefix.h 2018-11-19 17:42:52.188760273 +0200
@@ -0,0 +1,6 @@
+#ifndef __TERMUX_PREFIX_H
+#define __TERMUX_PREFIX_H
+
+#define TERMUX_PREFIX_RELATIVE "data/data/com.termux/files/usr/"
+
+#endif
================================================
FILE: disabled-packages/apt-updated/CMakeLists.txt.patch
================================================
diff -u -r ../apt-1.6~alpha3/CMakeLists.txt ./CMakeLists.txt
--- ../apt-1.6~alpha3/CMakeLists.txt 2017-10-28 17:57:05.000000000 +0200
+++ ./CMakeLists.txt 2017-11-02 17:42:28.162838378 +0100
@@ -33,7 +33,6 @@
include(GNUInstallDirs)
include(TestBigEndian)
find_package(Threads REQUIRED)
-find_package(LFS REQUIRED)
find_package(Iconv REQUIRED)
find_package(Perl REQUIRED)
@@ -44,11 +43,6 @@
include_directories(${Intl_INCLUDE_DIRS})
endif()
-# Add large file support
-add_compile_options(${LFS_COMPILE_OPTIONS})
-add_definitions(${LFS_DEFINITIONS})
-link_libraries(${LFS_LIBRARIES})
-
# Set compiler flags
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
@@ -69,12 +63,6 @@
add_optional_compile_options(Wsign-promo)
add_optional_compile_options(Wundef)
-# apt-ftparchive dependencies
-find_package(BerkeleyDB REQUIRED)
-if (BERKELEY_DB_FOUND)
- set(HAVE_BDB 1)
-endif()
-
find_package(GnuTLS REQUIRED)
if (GNUTLS_FOUND)
set(HAVE_GNUTLS 1)
@@ -87,22 +75,12 @@
endif()
-find_package(BZip2 REQUIRED)
-if (BZIP2_FOUND)
- set(HAVE_BZ2 1)
-endif()
-
find_package(LZMA REQUIRED)
if (LZMA_FOUND)
set(HAVE_LZMA 1)
endif()
-find_package(LZ4 REQUIRED)
-if (LZ4_FOUND)
- set(HAVE_LZ4 1)
-endif()
-
find_package(Udev)
if (UDEV_FOUND)
set(HAVE_UDEV 1)
@@ -184,10 +162,10 @@
message(STATUS "Found dpkg data dir: ${DPKG_DATADIR_CMD}")
set(DPKG_DATADIR "${DPKG_DATADIR_CMD}" CACHE PATH "dpkg data directory")
endif()
-if (NOT DEFINED COMMON_ARCH)
- execute_process(COMMAND dpkg-architecture -qDEB_HOST_ARCH
- OUTPUT_VARIABLE COMMON_ARCH OUTPUT_STRIP_TRAILING_WHITESPACE)
-endif()
+# if (NOT DEFINED COMMON_ARCH)
+# execute_process(COMMAND dpkg-architecture -qDEB_HOST_ARCH
+ #OUTPUT_VARIABLE COMMON_ARCH OUTPUT_STRIP_TRAILING_WHITESPACE)
+# endif()
if (NOT DEFINED ROOT_GROUP)
execute_process(COMMAND id -gn root
OUTPUT_VARIABLE ROOT_GROUP OUTPUT_STRIP_TRAILING_WHITESPACE)
@@ -215,11 +193,8 @@
add_subdirectory(apt-inst)
add_subdirectory(cmdline)
add_subdirectory(completions)
-add_subdirectory(doc)
add_subdirectory(dselect)
-add_subdirectory(ftparchive)
add_subdirectory(methods)
-add_subdirectory(test)
if (USE_NLS)
add_subdirectory(po)
================================================
FILE: disabled-packages/apt-updated/apt-pkg-contrib-fileutl.patch
================================================
diff -u -r ../apt-1.6~alpha3/apt-pkg/contrib/fileutl.cc ./apt-pkg/contrib/fileutl.cc
--- ../apt-1.6~alpha3/apt-pkg/contrib/fileutl.cc 2017-10-28 17:57:05.000000000 +0200
+++ ./apt-pkg/contrib/fileutl.cc 2017-11-02 17:38:43.633482989 +0100
@@ -37,7 +37,9 @@
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
+#ifndef __ANDROID__
#include <glob.h>
+#endif
#include <grp.h>
#include <pwd.h>
#include <signal.h>
@@ -2790,6 +2792,7 @@
}
/*}}}*/
+#ifndef __ANDROID__
// Glob - wrapper around "glob()" /*{{{*/
std::vector<std::string> Glob(std::string const &pattern, int flags)
{
@@ -2815,6 +2818,7 @@
globfree(&globbuf);
return result;
}
+#endif
/*}}}*/
static std::string APT_NONNULL(1) GetTempDirEnv(char const * const env) /*{{{*/
{
diff -u -r ../apt-1.6~alpha3/apt-pkg/contrib/fileutl.h ./apt-pkg/contrib/fileutl.h
--- ../apt-1.6~alpha3/apt-pkg/contrib/fileutl.h 2017-10-28 17:57:05.000000000 +0200
+++ ./apt-pkg/contrib/fileutl.h 2017-11-02 17:37:38.518249720 +0100
@@ -262,7 +262,9 @@
APT_HIDDEN std::string flNormalize(std::string file);
// simple c++ glob
+#ifndef __ANDROID__
std::vector<std::string> Glob(std::string const &pattern, int flags=0);
+#endif
/** \brief Popen() implementation that execv() instead of using a shell
*
================================================
FILE: disabled-packages/apt-updated/apt-pkg-contrib-srvrec.cc.patch
================================================
diff -u -r ../apt-1.1.3/apt-pkg/contrib/srvrec.cc ./apt-pkg/contrib/srvrec.cc
--- ../apt-1.1.3/apt-pkg/contrib/srvrec.cc 2015-11-30 03:08:24.000000000 -0500
+++ ./apt-pkg/contrib/srvrec.cc 2015-12-03 16:21:54.397715576 -0500
@@ -40,14 +40,24 @@
struct servent *s_ent = nullptr;
std::vector<char> buf(1024);
+#ifdef __ANDROID__
+ s_ent = getservbyport(htons(port), "tcp");
+ if (s_ent == nullptr) return false;
+#else
res = getservbyport_r(htons(port), "tcp", &s_ent_buf, buf.data(), buf.size(), &s_ent);
if (res != 0 || s_ent == nullptr)
return false;
+#endif
strprintf(target, "_%s._tcp.%s", s_ent->s_name, host.c_str());
return GetSrvRecords(target, Result);
}
+#ifdef __ANDROID__
+extern "C" int __dn_skipname(const unsigned char* comp_dn, const unsigned char* eom);
+static inline int dn_skipname(const unsigned char* a, const unsigned char* b) { return __dn_skipname(a,b); }
+#endif
+
bool GetSrvRecords(std::string name, std::vector<SrvRec> &Result)
{
unsigned char answer[PACKETSZ];
================================================
FILE: disabled-packages/apt-updated/apt-pkg-contrib-strutl.cc.patch
================================================
diff -u -r ../apt-1.4.7/apt-pkg/contrib/strutl.cc ./apt-pkg/contrib/strutl.cc
--- ../apt-1.4.7/apt-pkg/contrib/strutl.cc 2017-07-13 23:45:39.000000000 +0200
+++ ./apt-pkg/contrib/strutl.cc 2017-07-23 22:58:23.103247428 +0200
@@ -100,6 +100,7 @@
}
}
/*}}}*/
+#ifndef __ANDROID__
// UTF8ToCodeset - Convert some UTF-8 string for some codeset /*{{{*/
// ---------------------------------------------------------------------
/* This is handy to use before display some information for enduser */
@@ -169,6 +170,7 @@
return true;
}
+#endif
/*}}}*/
// strstrip - Remove white space from the front and back of a string /*{{{*/
// ---------------------------------------------------------------------
================================================
FILE: disabled-packages/apt-updated/apt-pkg-deb-debrecords.cc.patch
================================================
diff -u -r ../apt-1.6~alpha3/apt-pkg/deb/debrecords.cc ./apt-pkg/deb/debrecords.cc
--- ../apt-1.6~alpha3/apt-pkg/deb/debrecords.cc 2017-10-28 17:57:05.000000000 +0200
+++ ./apt-pkg/deb/debrecords.cc 2017-11-02 17:40:35.816161798 +0100
@@ -23,7 +23,9 @@
#include <sstream>
#include <string>
#include <vector>
+#ifndef __ANDROID__
#include <langinfo.h>
+#endif
#include <string.h>
#include <apti18n.h>
@@ -151,12 +153,14 @@
orig = Section.FindS("Description");
}
+#ifndef __ANDROID__
char const * const codeset = nl_langinfo(CODESET);
if (strcmp(codeset,"UTF-8") != 0) {
string dest;
UTF8ToCodeset(codeset, orig, &dest);
return dest;
}
+#endif
return orig;
}
================================================
FILE: disabled-packages/apt-updated/apt-pkg-init-dir.patch
================================================
--- ../cache/apt-1.4.7/apt-pkg/init.cc 2017-07-14 07:45:39.000000000 +1000
+++ ./apt-pkg/init.cc 2017-07-19 17:03:07.949752843 +1000
@@ -51,7 +51,7 @@
return vec;
}
-
+#ifndef __ANDROID__
// pkgInitArchTupleMap - Initialize the architecture tuple map /*{{{*/
// ---------------------------------------------------------------------
/* This initializes */
@@ -116,7 +116,7 @@
return true;
}
- /*}}}*/
+#endif /*}}}*/
// pkgInitConfig - Initialize the configuration class /*{{{*/
@@ -133,6 +133,7 @@
Cnf.CndSet("APT::Install-Recommends", true);
Cnf.CndSet("APT::Install-Suggests", false);
Cnf.CndSet("Dir","/");
+ Cnf.CndSet("Acquire::Languages", "none");
// State
Cnf.CndSet("Dir::State", STATE_DIR + 1);
@@ -158,9 +159,9 @@
Cnf.CndSet("Dir::Etc::trusted", "trusted.gpg");
Cnf.CndSet("Dir::Etc::trustedparts","trusted.gpg.d");
Cnf.CndSet("Dir::Bin::methods", LIBEXEC_DIR "/methods");
- Cnf.CndSet("Dir::Bin::solvers::",LIBEXEC_DIR "/solvers");
- Cnf.CndSet("Dir::Bin::planners::",LIBEXEC_DIR "/planners");
- Cnf.CndSet("Dir::Media::MountPath","/media/apt");
+ Cnf.CndSet("Dir::Bin::solvers::",LIBEXEC_DIR "/solvers");
+ Cnf.CndSet("Dir::Bin::planners::", LIBEXEC_DIR "/planners");
+ Cnf.CndSet("Dir::Media::MountPath","media/apt");
// State
Cnf.CndSet("Dir::Log", LOG_DIR + 1);
@@ -283,8 +284,6 @@
return _error->Error(_("Unable to determine a suitable packaging system type"));
}
- if (pkgInitArchTupleMap() == false)
- return false;
return Sys->Initialize(Cnf);
}
================================================
FILE: disabled-packages/apt-updated/apt-private-private-download.cc.patch
================================================
diff -u -r ../apt-1.2.12/apt-private/private-download.cc ./apt-private/private-download.cc
--- ../apt-1.2.12/apt-private/private-download.cc 2016-05-11 10:57:51.000000000 +0200
+++ ./apt-private/private-download.cc 2017-07-01 00:31:32.131776100 +0200
@@ -121,7 +121,6 @@
/*}}}*/
bool CheckFreeSpaceBeforeDownload(std::string const &Dir, unsigned long long FetchBytes)/*{{{*/
{
- uint32_t const RAMFS_MAGIC = 0x858458f6;
/* Check for enough free space, but only if we are actually going to
download */
if (_config->FindB("APT::Get::Print-URIs", false) == true ||
================================================
FILE: disabled-packages/apt-updated/build.sh
================================================
TERMUX_PKG_HOMEPAGE=https://packages.debian.org/apt
TERMUX_PKG_DESCRIPTION="Front-end for the dpkg package manager"
TERMUX_PKG_DEPENDS="libutil, libcurl, liblzma, dpkg, gpgv, libc++"
TERMUX_PKG_VERSION=1.6~alpha3
TERMUX_PKG_SHA256=2acd561ff04fc3efa4c590139ca60cfdbc93787ea80334f7448ecf466faab119
TERMUX_PKG_SRCURL=http://ftp.debian.org/debian/pool/main/a/apt/apt_${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DPERL_EXECUTABLE=$(which perl)
-DCMAKE_INSTALL_FULL_LOCALSTATEDIR=$TERMUX_PREFIX
-DCOMMON_ARCH=$TERMUX_ARCH
-DDPKG_DATADIR=$TERMUX_PREFIX/share/dpkg
-DUSE_NLS=OFF
-DWITH_DOC=OFF
"
TERMUX_PKG_ESSENTIAL=true
TERMUX_PKG_CONFFILES="etc/apt/sources.list"
TERMUX_PKG_CONFLICTS=apt-transport-https
TERMUX_PKG_REPLACES=apt-transport-https
TERMUX_PKG_RM_AFTER_INSTALL="
bin/apt-cdrom
bin/apt-extracttemplates
bin/apt-sortpkgs
etc/apt/apt.conf.d
lib/apt/apt-helper
lib/apt/methods/bzip2
lib/apt/methods/cdrom
lib/apt/methods/mirror
lib/apt/methods/rred
lib/apt/planners/
lib/apt/solvers/
lib/dpkg/
lib/libapt-inst.so
"
termux_step_post_make_install() {
printf "# The main termux repository:\ndeb [arch=all,${TERMUX_ARCH}] https://termux.net stable main\n" > $TERMUX_PREFIX/etc/apt/sources.list
cp $TERMUX_PKG_BUILDER_DIR/trusted.gpg $TERMUX_PREFIX/etc/apt/
rm /data/data/com.termux/files/usr/include/apt-pkg -r
}
================================================
FILE: disabled-packages/apt-updated/cmdline-apt-key.in.patch
================================================
diff -u -r ../apt-1.4.7/cmdline/apt-key.in ./cmdline/apt-key.in
--- ../apt-1.4.7/cmdline/apt-key.in 2017-07-13 23:45:39.000000000 +0200
+++ ./cmdline/apt-key.in 2017-07-26 12:18:17.424086422 +0200
@@ -16,10 +16,7 @@
aptkey_echo() { echo "$@"; }
requires_root() {
- if [ "$(id -u)" -ne 0 ]; then
- apt_error "This command can only be used by root."
- exit 1
- fi
+continue
}
command_available() {
@@ -260,7 +257,7 @@
if accessible_file_exists "$TRUSTEDFILE"; then
$ACTION "$TRUSTEDFILE" "$@"
fi
- local TRUSTEDPARTS="/etc/apt/trusted.gpg.d"
+ local TRUSTEDPARTS="@TERMUX_PREFIX@/etc/apt/trusted.gpg.d"
eval "$(apt-config shell TRUSTEDPARTS Dir::Etc::TrustedParts/d)"
if [ -d "$TRUSTEDPARTS" ]; then
TRUSTEDPARTS="$(readlink -f "$TRUSTEDPARTS")"
@@ -542,7 +539,7 @@
done
if [ -z "$TRUSTEDFILE" ]; then
- TRUSTEDFILE="/etc/apt/trusted.gpg"
+ TRUSTEDFILE="@TERMUX_PREFIX@/etc/apt/trusted.gpg"
eval $(apt-config shell TRUSTEDFILE Apt::GPGV::TrustedKeyring)
eval $(apt-config shell TRUSTEDFILE Dir::Etc::Trusted/f)
fi
@@ -612,7 +609,8 @@
unset TMPDIR
fi
fi
- GPGHOMEDIR="$(mktemp --directory --tmpdir 'apt-key-gpghome.XXXXXXXXXX')"
+ # Use short options as busybox mktemp does not support long ones:
+ GPGHOMEDIR="$(mktemp -d -t 'apt-key-gpghome.XXXXXXXXXX')"
CURRENTTRAP="${CURRENTTRAP} cleanup_gpg_home;"
trap "${CURRENTTRAP}" 0 HUP INT QUIT ILL ABRT FPE SEGV PIPE TERM
if [ -z "$GPGHOMEDIR" ]; then
================================================
FILE: disabled-packages/apt-updated/cmndline-no-strchrnul.patch
================================================
diff -u -r ../apt-0.9.16.1/apt-pkg/contrib/cmndline.cc ./apt-pkg/contrib/cmndline.cc
--- ../apt-0.9.16.1/apt-pkg/contrib/cmndline.cc 2014-03-15 17:23:45.000000000 +0100
+++ ./apt-pkg/contrib/cmndline.cc 2014-03-25 01:10:30.764711007 +0100
@@ -27,6 +27,14 @@
/*}}}*/
using namespace std;
+#if defined(__ANDROID__)
+static char* strchrnul(char const* s, int c)
+{
+ char const* result = strchr(s, c);
+ return const_cast<char*>((result == NULL) ? (s + strlen(s)) : result);
+}
+#endif
+
// CommandLine::CommandLine - Constructor /*{{{*/
// ---------------------------------------------------------------------
/* */
================================================
FILE: disabled-packages/apt-updated/debsrcrecords.patch
================================================
diff -u -r ../apt-0.9.16.1/apt-pkg/deb/debsrcrecords.cc ./apt-pkg/deb/debsrcrecords.cc
--- ../apt-0.9.16.1/apt-pkg/deb/debsrcrecords.cc 2014-03-15 17:23:45.000000000 +0100
+++ ./apt-pkg/deb/debsrcrecords.cc 2014-03-25 01:23:30.652689687 +0100
@@ -26,6 +26,14 @@
#include <string>
#include <vector>
/*}}}*/
+#if defined(__ANDROID__)
+static char* strchrnul(char const* s, int c)
+{
+ char const* result = strchr(s, c);
+ return const_cast<char*>((result == NULL) ? (s + strlen(s)) : result);
+}
+#endif
+
using std::max;
using std::string;
================================================
FILE: disabled-packages/apt-updated/methods-cmakelist.patch
================================================
diff -u -r ../apt-1.6~alpha3/methods/CMakeLists.txt ./methods/CMakeLists.txt
--- ../apt-1.6~alpha3/methods/CMakeLists.txt 2017-10-28 17:57:05.000000000 +0200
+++ ./methods/CMakeLists.txt 2017-11-02 17:45:55.436395981 +0100
@@ -9,11 +9,8 @@
add_executable(copy copy.cc)
add_executable(store store.cc)
add_executable(gpgv gpgv.cc)
-add_executable(cdrom cdrom.cc)
add_executable(http http_main.cc $<TARGET_OBJECTS:httplib> $<TARGET_OBJECTS:connectlib>)
add_executable(mirror mirror.cc $<TARGET_OBJECTS:httplib> $<TARGET_OBJECTS:connectlib>)
-add_executable(ftp ftp.cc $<TARGET_OBJECTS:connectlib>)
-add_executable(rred rred.cc)
add_executable(rsh rsh.cc)
target_compile_definitions(connectlib PRIVATE ${GNUTLS_DEFINITIONS})
@@ -22,10 +19,9 @@
# Additional libraries to link against for networked stuff
target_link_libraries(http ${GNUTLS_LIBRARIES})
target_link_libraries(mirror ${RESOLV_LIBRARIES} ${GNUTLS_LIBRARIES})
-target_link_libraries(ftp ${GNUTLS_LIBRARIES})
# Install the library
-install(TARGETS file copy store gpgv cdrom http ftp rred rsh mirror
+install(TARGETS file copy store gpgv http rsh mirror
RUNTIME DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/apt/methods)
add_slaves(${CMAKE_INSTALL_LIBEXECDIR}/apt/methods store)
================================================
FILE: disabled-packages/apt-updated/methods-connect.cc.patch
================================================
diff -u -r ../apt-1.6~alpha3/methods/connect.cc ./methods/connect.cc
--- ../apt-1.6~alpha3/methods/connect.cc 2017-10-28 17:57:05.000000000 +0200
+++ ./methods/connect.cc 2017-11-02 17:47:18.803413361 +0100
@@ -164,7 +164,7 @@
// Check the socket for an error condition
unsigned int Err;
- unsigned int Len = sizeof(Err);
+ socklen_t Len = sizeof(Err);
if (getsockopt(Fd->Fd(), SOL_SOCKET, SO_ERROR, &Err, &Len) != 0)
return _error->Errno("getsockopt",_("Failed"));
@@ -335,7 +335,10 @@
if(LastHost != Host || LastPort != Port)
{
SrvRecords.clear();
- if (_config->FindB("Acquire::EnableSrvRecords", true) == true)
+ /* Disable by default in Termux due to it breaking on (some) HTC
+ devices (https://github.com/termux/termux-packages/issues/99). */
+
+ if (_config->FindB("Acquire::EnableSrvRecords", false) == true)
{
GetSrvRecords(Host, DefPort, SrvRecords);
// RFC2782 defines that a lonely '.' target is an abort reason
================================================
FILE: disabled-packages/apt-updated/private-output-no-langinfo.patch
================================================
diff -u -r ../upstream.git/apt-private/private-output.cc ./apt-private/private-output.cc
--- ../upstream.git/apt-private/private-output.cc 2014-06-10 15:24:50.000000000 +0200
+++ ./apt-private/private-output.cc 2014-06-15 02:40:10.539223656 +0200
@@ -20,7 +20,11 @@
#include <string.h>
#include <iomanip>
#include <iostream>
-#include <langinfo.h>
+#ifdef __ANDROID__
+# include <termios.h>
+# else
+# include <langinfo.h>
+#endif
#include <unistd.h>
#include <signal.h>
#include <sys/ioctl.h>
@@ -764,7 +768,7 @@
regex_t Pattern;
int Res;
- Res = regcomp(&Pattern, nl_langinfo(YESEXPR),
+ Res = regcomp(&Pattern, "^[yY]",
REG_EXTENDED|REG_ICASE|REG_NOSUB);
if (Res != 0) {
================================================
FILE: disabled-packages/apt-updated/vendor.patch
================================================
diff -u -r ../upstream.git/vendor/ubuntu/apt-vendor.ent ./vendor/ubuntu/apt-vendor.ent
--- ../upstream.git/vendor/ubuntu/apt-vendor.ent 2014-04-25 13:39:00.000000000 +0200
+++ ./vendor/ubuntu/apt-vendor.ent 2014-06-03 11:53:11.535752314 +0200
@@ -1,7 +1,7 @@
<!-- details about the keys used by the distribution -->
-<!ENTITY keyring-distro "Ubuntu">
-<!ENTITY keyring-package "<package>ubuntu-keyring</package>">
-<!ENTITY keyring-filename "<filename>/usr/share/keyrings/ubuntu-archive-keyring.gpg</filename>">
-<!ENTITY keyring-removed-filename "<filename>/usr/share/keyrings/ubuntu-archive-removed-keys.gpg</filename>">
-<!ENTITY keyring-master-filename "/usr/share/keyrings/ubuntu-master-keyring.gpg">
+<!ENTITY keyring-distro "Termux">
+<!ENTITY keyring-package "<package>termux-keyring</package>">
+<!ENTITY keyring-filename "<filename>@TERMUX_PREFIX@/share/keyrings/termux-archive-keyring.gpg</filename>">
+<!ENTITY keyring-removed-filename "<filename>@TERMUX_PREFIX@/share/keyrings/termux-archive-removed-keys.gpg</filename>">
+<!ENTITY keyring-master-filename "@TERMUX_PREFIX@/share/keyrings/termux-master-keyring.gpg">
<!ENTITY keyring-uri "http://archive.ubuntu.com/ubuntu/project/ubuntu-archive-keyring.gpg">
================================================
FILE: disabled-packages/cadaver/build.sh
================================================
# Status: Does not work with openssl 1.1 or later.
TERMUX_PKG_HOMEPAGE=http://www.webdav.org/cadaver/
TERMUX_PKG_DESCRIPTION="cadaver is a command-line WebDAV client for Unix"
TERMUX_PKG_VERSION=0.23.3
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://fossies.org/linux/www/old/cadaver-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=123772d7d33f06a76742dba874b1c444423b52ad3a7bbb87559616ec78b9ae5e
TERMUX_PKG_DEPENDS="openssl, libxml2, ncurses, readline"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--with-libxml2
--without-gssapi
--with-ssl=openssl
"
termux_step_pre_configure() {
export ac_cv_func_setlocale=no
}
================================================
FILE: disabled-packages/checkinstall/Makefile.patch
================================================
diff -u -r ../checkinstall-1.6.2/Makefile ./Makefile
--- ../checkinstall-1.6.2/Makefile 2008-11-11 21:43:53.000000000 -0500
+++ ./Makefile 2016-10-28 16:14:22.403691119 -0400
@@ -1,7 +1,7 @@
# $Id: Makefile,v 1.6.2.1 2008/11/09 07:48:18 izto Exp $
# Where to install.
-PREFIX=/usr/local
+PREFIX?=/usr/local
BINDIR=$(PREFIX)/sbin
LCDIR=$(PREFIX)/lib/checkinstall/locale
CONFDIR=$(PREFIX)/lib/checkinstall
================================================
FILE: disabled-packages/checkinstall/build.sh
================================================
# NOTE: Currently segfaults when running.
TERMUX_PKG_HOMEPAGE=http://checkinstall.izto.org/
TERMUX_PKG_DESCRIPTION="Installation tracker creating a package from a local install"
TERMUX_PKG_VERSION=1.6.2
TERMUX_PKG_SRCURL=http://checkinstall.izto.org/files/source/checkinstall-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_DEPENDS="file, make"
TERMUX_PKG_RM_AFTER_INSTALL="lib/checkinstall/locale/"
termux_step_pre_configure() {
CFLAGS+=" -D__off64_t=off64_t"
CFLAGS+=" -D_STAT_VER=3"
CFLAGS+=" -D_MKNOD_VER=1"
CFLAGS+=" -DS_IREAD=S_IRUSR"
}
termux_step_post_make_install() {
mv $TERMUX_PREFIX/lib/checkinstall/checkinstallrc-dist \
$TERMUX_PREFIX/lib/checkinstall/checkinstallrc
}
================================================
FILE: disabled-packages/checkinstall/checkinstall.patch
================================================
diff -u -r ../checkinstall-1.6.2/checkinstall ./checkinstall
--- ../checkinstall-1.6.2/checkinstall 2009-12-26 14:17:24.000000000 -0500
+++ ./checkinstall 2016-10-28 16:32:12.759574819 -0400
@@ -492,7 +492,7 @@
ckversion
echo
-CHECKINSTALLRC=${CHECKINSTALLRC:-${INSTALLDIR}/checkinstallrc}
+CHECKINSTALLRC=${CHECKINSTALLRC:-${INSTALLDIR}/lib/checkinstall/checkinstallrc}
if ! [ -f $CHECKINSTALLRC ]; then
echog "The checkinstallrc file was not found at:\n$CHECKINSTALLRC"
echo
@@ -974,7 +974,7 @@
! [ "$INSTALL" ] && INSTALL=0
# The place where we will be storing the temp files
-! [ "$BASE_TMP_DIR" ] && BASE_TMP_DIR=/var/tmp
+! [ "$BASE_TMP_DIR" ] && BASE_TMP_DIR=/data/data/com.termux/files/usr/tmp
# Default RPM FLAGS
! [ "$RPM_FLAGS" ] && RPM_FLAGS=" --force --nodeps --replacepkgs "
@@ -1249,7 +1249,7 @@
# Fix the PowerPC & Amd64 architecture description if we're on Debian
if [ "$CK_DEBIAN" = "1" ] ; then
- ARCHITECTURE=`dpkg-architecture -qDEB_HOST_ARCH`
+ ARCHITECTURE=`dpkg --print-architecture`
fi
fi
@@ -1508,7 +1508,7 @@
TMP_SCRIPT=${TMP_DIR}/installscript.sh
cat << EOF > $TMP_SCRIPT
-#!/bin/sh
+#!@TERMUX_PREFIX@/bin/sh
cd "$DIRECTORIO_FUENTE"
EOF
@@ -1538,7 +1538,7 @@
# installwatch excludes itself some directories, but we put them all here,
# to be explicit.
#
-IEXCLUDE="${DIRECTORIO_FUENTE},/dev,/proc,/tmp,/var/tmp"
+IEXCLUDE="${DIRECTORIO_FUENTE},/dev,/proc,/tmp,/var/tmp,/data/data/com.termux/files/usr/tmp"
# Run the install command, showing the results interactively if we were asked
================================================
FILE: disabled-packages/checkinstall/checkinstallrc-dist.patch
================================================
diff -u -r ../checkinstall-1.6.2/checkinstallrc-dist ./checkinstallrc-dist
--- ../checkinstall-1.6.2/checkinstallrc-dist 2008-11-11 14:10:34.000000000 -0500
+++ ./checkinstallrc-dist 2016-10-28 16:28:56.558529656 -0400
@@ -16,14 +16,14 @@
DEBUG=0
# Location of the "installwatch" program
-INSTALLWATCH_PREFIX="/usr/local"
+INSTALLWATCH_PREFIX="/data/data/com.termux/files/usr"
INSTALLWATCH=${INSTALLWATCH_PREFIX}/bin/installwatch
# Location of the makepkg program. "makepak" is the default, and is
# included with checkinstall. If you want to use Slackware's native "makepkg"
# then set this to "makepkg"
-MAKEPKG=/sbin/makepkg
+MAKEPKG=/data/data/com.termux/files/usr/bin/makepkg
# makepkg optional flags. These are recommended if running a newer Slackware
# version: "-l y -c n"
@@ -36,7 +36,7 @@
SHOW_MAKEPKG=0
# Where will we keep our temp files?
-BASE_TMP_DIR=/var/tmp ## Don't set this to /tmp or / !!
+BASE_TMP_DIR=@TERMUX_PREFIX@/tmp ## Don't set this to /tmp or / !!
# Where to place the installed document files
DOC_DIR=""
================================================
FILE: disabled-packages/checkinstall/installwatch-Makefile.patch
================================================
diff -u -r ../checkinstall-1.6.2/installwatch/Makefile ./installwatch/Makefile
--- ../checkinstall-1.6.2/installwatch/Makefile 2008-11-16 11:20:53.000000000 -0500
+++ ./installwatch/Makefile 2016-10-28 16:34:12.825762120 -0400
@@ -4,7 +4,7 @@
# Well, the only configurable part is the following variable.
# Make sure the directory you specify exists.
-PREFIX=/usr/local
+PREFIX?=/usr/local
# End of configurable part
@@ -16,10 +16,10 @@
all: installwatch.so
installwatch.so: installwatch.o
- ld -shared -o installwatch.so installwatch.o -ldl -lc
+ $(CC) $(LDFLAGS) -shared -o installwatch.so installwatch.o -ldl -lc -llog
installwatch.o: installwatch.c localdecls.h
- gcc -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -DVERSION=\"$(VERSION)\" installwatch.c
+ $(CC) $(CFLAGS) -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -DVERSION=\"$(VERSION)\" installwatch.c
localdecls.h: create-localdecls
./create-localdecls
================================================
FILE: disabled-packages/checkinstall/installwatch.c.patch
================================================
diff -u -r ../checkinstall-1.6.2/installwatch/installwatch.c ./installwatch/installwatch.c
--- ../checkinstall-1.6.2/installwatch/installwatch.c 2008-11-16 11:20:53.000000000 -0500
+++ ./installwatch/installwatch.c 2016-10-28 16:12:42.017221485 -0400
@@ -2938,13 +2938,8 @@
return result;
}
-#if (GLIBC_MINOR <= 4)
-int readlink(const char *path,char *buf,size_t bufsiz) {
- int result;
-#else
ssize_t readlink(const char *path,char *buf,size_t bufsiz) {
ssize_t result;
-#endif
instw_t instw;
int status;
@@ -3079,7 +3074,7 @@
int scandir( const char *dir,struct dirent ***namelist,
int (*select)(const struct dirent *),
- int (*compar)(const void *,const void *) ) {
+ int (*compar)(const struct dirent**,const struct dirent**) ) {
int result;
if (!libc_handle)
@@ -3691,7 +3686,7 @@
int scandir64( const char *dir,struct dirent64 ***namelist,
int (*select)(const struct dirent64 *),
- int (*compar)(const void *,const void *) ) {
+ int (*compar)(const struct dirent64**,const struct dirent64**) ) {
int result;
if (!libc_handle)
================================================
FILE: disabled-packages/clisp/build.sh
================================================
TERMUX_PKG_HOMEPAGE=http://www.clisp.org/
TERMUX_PKG_DESCRIPTION="GNU CLISP - an ANSI Common Lisp Implementation"
TERMUX_PKG_VERSION=2.49
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/clisp/clisp/${TERMUX_PKG_VERSION}/clisp-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_DEPENDS="readline, libandroid-support"
TERMUX_MAKE_PROCESSES=1
termux_step_configure() {
cd $TERMUX_PKG_BUILDDIR
export XCPPFLAGS="$CPPFLAGS"
export XCFLAGS="$CFLAGS"
export XLDFLAGS="$LDFLAGS"
unset CC
unset CPPFLAGS
unset CFLAGS
unset LDFLAGS
$TERMUX_PKG_SRCDIR/configure \
--host=$TERMUX_HOST_PLATFORM \
--prefix=$TERMUX_PREFIX \
--enable-shared \
--disable-static \
--srcdir=$TERMUX_PKG_SRCDIR \
--ignore-absence-of-libsigsegv \
ac_cv_func_select=yes
}
================================================
FILE: disabled-packages/clisp/src-gllib-stdint.in.h.patch
================================================
diff -u -r ../clisp-2.49/src/gllib/stdint.in.h ./src/gllib/stdint.in.h
--- ../clisp-2.49/src/gllib/stdint.in.h 2010-05-18 14:38:04.000000000 -0400
+++ ./src/gllib/stdint.in.h 2016-02-17 15:35:07.664544781 -0500
@@ -1,568 +1 @@
-/* Copyright (C) 2001-2002, 2004-2010 Free Software Foundation, Inc.
- Written by Paul Eggert, Bruno Haible, Sam Steingold, Peter Burwood.
- This file is part of gnulib.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
-
-/*
- * ISO C 99 <stdint.h> for platforms that lack it.
- * <http://www.opengroup.org/susv3xbd/stdint.h.html>
- */
-
-#ifndef _gl_GL_STDINT_H
-
-#if __GNUC__ >= 3
-@PRAGMA_SYSTEM_HEADER@
-#endif
-
-/* When including a system file that in turn includes <inttypes.h>,
- use the system <inttypes.h>, not our substitute. This avoids
- problems with (for example) VMS, whose <sys/bitypes.h> includes
- <inttypes.h>. */
-#define _gl_GL_JUST_INCLUDE_SYSTEM_INTTYPES_H
-
-/* Get those types that are already defined in other system include
- files, so that we can "#define int8_t signed char" below without
- worrying about a later system include file containing a "typedef
- signed char int8_t;" that will get messed up by our macro. Our
- macros should all be consistent with the system versions, except
- for the "fast" types and macros, which we recommend against using
- in public interfaces due to compiler differences. */
-
-#if @HAVE_STDINT_H@
-# if defined __sgi && ! defined __c99
- /* Bypass IRIX's <stdint.h> if in C89 mode, since it merely annoys users
- with "This header file is to be used only for c99 mode compilations"
- diagnostics. */
-# define __STDINT_H__
-# endif
- /* Other systems may have an incomplete or buggy <stdint.h>.
- Include it before <inttypes.h>, since any "#include <stdint.h>"
- in <inttypes.h> would reinclude us, skipping our contents because
- _gl_GL_STDINT_H is defined.
- The include_next requires a split double-inclusion guard. */
-# @INCLUDE_NEXT@ @NEXT_STDINT_H@
-#endif
-
-#if ! defined _gl_GL_STDINT_H && ! defined _gl_GL_JUST_INCLUDE_SYSTEM_STDINT_H
-#define _gl_GL_STDINT_H
-
-/* <sys/types.h> defines some of the stdint.h types as well, on glibc,
- IRIX 6.5, and OpenBSD 3.8 (via <machine/types.h>).
- AIX 5.2 <sys/types.h> isn't needed and causes troubles.
- MacOS X 10.4.6 <sys/types.h> includes <stdint.h> (which is us), but
- relies on the system <stdint.h> definitions, so include
- <sys/types.h> after @NEXT_STDINT_H@. */
-#if @HAVE_SYS_TYPES_H@ && ! defined _AIX
-# include <sys/types.h>
-#endif
-
-/* Get LONG_MIN, LONG_MAX, ULONG_MAX. */
-#include <limits.h>
-
-#if @HAVE_INTTYPES_H@
- /* In OpenBSD 3.8, <inttypes.h> includes <machine/types.h>, which defines
- int{8,16,32,64}_t, uint{8,16,32,64}_t and __BIT_TYPES_DEFINED__.
- <inttypes.h> also defines intptr_t and uintptr_t. */
-# include <inttypes.h>
-#elif @HAVE_SYS_INTTYPES_H@
- /* Solaris 7 <sys/inttypes.h> has the types except the *_fast*_t types, and
- the macros except for *_FAST*_*, INTPTR_MIN, PTRDIFF_MIN, PTRDIFF_MAX. */
-# include <sys/inttypes.h>
-#endif
-
-#if @HAVE_SYS_BITYPES_H@ && ! defined __BIT_TYPES_DEFINED__
- /* Linux libc4 >= 4.6.7 and libc5 have a <sys/bitypes.h> that defines
- int{8,16,32,64}_t and __BIT_TYPES_DEFINED__. In libc5 >= 5.2.2 it is
- included by <sys/types.h>. */
-# include <sys/bitypes.h>
-#endif
-
-#undef _gl_GL_JUST_INCLUDE_SYSTEM_INTTYPES_H
-
-/* Minimum and maximum values for a integer type under the usual assumption.
- Return an unspecified value if BITS == 0, adding a check to pacify
- picky compilers. */
-
-#define _STDINT_MIN(signed, bits, zero) \
- ((signed) ? (- ((zero) + 1) << ((bits) ? (bits) - 1 : 0)) : (zero))
-
-#define _STDINT_MAX(signed, bits, zero) \
- ((signed) \
- ? ~ _STDINT_MIN (signed, bits, zero) \
- : /* The expression for the unsigned case. The subtraction of (signed) \
- is a nop in the unsigned case and avoids "signed integer overflow" \
- warnings in the signed case. */ \
- ((((zero) + 1) << ((bits) ? (bits) - 1 - (signed) : 0)) - 1) * 2 + 1)
-
-/* 7.18.1.1. Exact-width integer types */
-
-/* Here we assume a standard architecture where the hardware integer
- types have 8, 16, 32, optionally 64 bits. */
-
-#undef int8_t
-#undef uint8_t
-typedef signed char gl_int8_t;
-typedef unsigned char gl_uint8_t;
-#define int8_t gl_int8_t
-#define uint8_t gl_uint8_t
-
-#undef int16_t
-#undef uint16_t
-typedef short int gl_int16_t;
-typedef unsigned short int gl_uint16_t;
-#define int16_t gl_int16_t
-#define uint16_t gl_uint16_t
-
-#undef int32_t
-#undef uint32_t
-typedef int gl_int32_t;
-typedef unsigned int gl_uint32_t;
-#define int32_t gl_int32_t
-#define uint32_t gl_uint32_t
-
-/* Do not undefine int64_t if gnulib is not being used with 64-bit
- types, since otherwise it breaks platforms like Tandem/NSK. */
-#if LONG_MAX >> 31 >> 31 == 1
-# undef int64_t
-typedef long int gl_int64_t;
-# define int64_t gl_int64_t
-# define GL_INT64_T
-#elif defined _MSC_VER
-# undef int64_t
-typedef __int64 gl_int64_t;
-# define int64_t gl_int64_t
-# define GL_INT64_T
-#elif @HAVE_LONG_LONG_INT@
-# undef int64_t
-typedef long long int gl_int64_t;
-# define int64_t gl_int64_t
-# define GL_INT64_T
-#endif
-
-#if ULONG_MAX >> 31 >> 31 >> 1 == 1
-# undef uint64_t
-typedef unsigned long int gl_uint64_t;
-# define uint64_t gl_uint64_t
-# define GL_UINT64_T
-#elif defined _MSC_VER
-# undef uint64_t
-typedef unsigned __int64 gl_uint64_t;
-# define uint64_t gl_uint64_t
-# define GL_UINT64_T
-#elif @HAVE_UNSIGNED_LONG_LONG_INT@
-# undef uint64_t
-typedef unsigned long long int gl_uint64_t;
-# define uint64_t gl_uint64_t
-# define GL_UINT64_T
-#endif
-
-/* Avoid collision with Solaris 2.5.1 <pthread.h> etc. */
-#define _UINT8_T
-#define _UINT32_T
-#define _UINT64_T
-
-
-/* 7.18.1.2. Minimum-width integer types */
-
-/* Here we assume a standard architecture where the hardware integer
- types have 8, 16, 32, optionally 64 bits. Therefore the leastN_t types
- are the same as the corresponding N_t types. */
-
-#undef int_least8_t
-#undef uint_least8_t
-#undef int_least16_t
-#undef uint_least16_t
-#undef int_least32_t
-#undef uint_least32_t
-#undef int_least64_t
-#undef uint_least64_t
-#define int_least8_t int8_t
-#define uint_least8_t uint8_t
-#define int_least16_t int16_t
-#define uint_least16_t uint16_t
-#define int_least32_t int32_t
-#define uint_least32_t uint32_t
-#ifdef GL_INT64_T
-# define int_least64_t int64_t
-#endif
-#ifdef GL_UINT64_T
-# define uint_least64_t uint64_t
-#endif
-
-/* 7.18.1.3. Fastest minimum-width integer types */
-
-/* Note: Other <stdint.h> substitutes may define these types differently.
- It is not recommended to use these types in public header files. */
-
-/* Here we assume a standard architecture where the hardware integer
- types have 8, 16, 32, optionally 64 bits. Therefore the fastN_t types
- are taken from the same list of types. Assume that 'long int'
- is fast enough for all narrower integers. */
-
-#undef int_fast8_t
-#undef uint_fast8_t
-#undef int_fast16_t
-#undef uint_fast16_t
-#undef int_fast32_t
-#undef uint_fast32_t
-#undef int_fast64_t
-#undef uint_fast64_t
-typedef long int gl_int_fast8_t;
-typedef unsigned long int gl_uint_fast8_t;
-typedef long int gl_int_fast16_t;
-typedef unsigned long int gl_uint_fast16_t;
-typedef long int gl_int_fast32_t;
-typedef unsigned long int gl_uint_fast32_t;
-#define int_fast8_t gl_int_fast8_t
-#define uint_fast8_t gl_uint_fast8_t
-#define int_fast16_t gl_int_fast16_t
-#define uint_fast16_t gl_uint_fast16_t
-#define int_fast32_t gl_int_fast32_t
-#define uint_fast32_t gl_uint_fast32_t
-#ifdef GL_INT64_T
-# define int_fast64_t int64_t
-#endif
-#ifdef GL_UINT64_T
-# define uint_fast64_t uint64_t
-#endif
-
-/* 7.18.1.4. Integer types capable of holding object pointers */
-
-#undef intptr_t
-#undef uintptr_t
-typedef long int gl_intptr_t;
-typedef unsigned long int gl_uintptr_t;
-#define intptr_t gl_intptr_t
-#define uintptr_t gl_uintptr_t
-
-/* 7.18.1.5. Greatest-width integer types */
-
-/* Note: These types are compiler dependent. It may be unwise to use them in
- public header files. */
-
-#undef intmax_t
-#if @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1
-typedef long long int gl_intmax_t;
-# define intmax_t gl_intmax_t
-#elif defined GL_INT64_T
-# define intmax_t int64_t
-#else
-typedef long int gl_intmax_t;
-# define intmax_t gl_intmax_t
-#endif
-
-#undef uintmax_t
-#if @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1
-typedef unsigned long long int gl_uintmax_t;
-# define uintmax_t gl_uintmax_t
-#elif defined GL_UINT64_T
-# define uintmax_t uint64_t
-#else
-typedef unsigned long int gl_uintmax_t;
-# define uintmax_t gl_uintmax_t
-#endif
-
-/* Verify that intmax_t and uintmax_t have the same size. Too much code
- breaks if this is not the case. If this check fails, the reason is likely
- to be found in the autoconf macros. */
-typedef int _verify_intmax_size[2 * (sizeof (intmax_t) == sizeof (uintmax_t)) - 1];
-
-/* 7.18.2. Limits of specified-width integer types */
-
-#if ! defined __cplusplus || defined __STDC_LIMIT_MACROS
-
-/* 7.18.2.1. Limits of exact-width integer types */
-
-/* Here we assume a standard architecture where the hardware integer
- types have 8, 16, 32, optionally 64 bits. */
-
-#undef INT8_MIN
-#undef INT8_MAX
-#undef UINT8_MAX
-#define INT8_MIN (~ INT8_MAX)
-#define INT8_MAX 127
-#define UINT8_MAX 255
-
-#undef INT16_MIN
-#undef INT16_MAX
-#undef UINT16_MAX
-#define INT16_MIN (~ INT16_MAX)
-#define INT16_MAX 32767
-#define UINT16_MAX 65535
-
-#undef INT32_MIN
-#undef INT32_MAX
-#undef UINT32_MAX
-#define INT32_MIN (~ INT32_MAX)
-#define INT32_MAX 2147483647
-#define UINT32_MAX 4294967295U
-
-#undef INT64_MIN
-#undef INT64_MAX
-#ifdef GL_INT64_T
-/* Prefer (- INTMAX_C (1) << 63) over (~ INT64_MAX) because SunPRO C 5.0
- evaluates the latter incorrectly in preprocessor expressions. */
-# define INT64_MIN (- INTMAX_C (1) << 63)
-# define INT64_MAX INTMAX_C (9223372036854775807)
-#endif
-
-#undef UINT64_MAX
-#ifdef GL_UINT64_T
-# define UINT64_MAX UINTMAX_C (18446744073709551615)
-#endif
-
-/* 7.18.2.2. Limits of minimum-width integer types */
-
-/* Here we assume a standard architecture where the hardware integer
- types have 8, 16, 32, optionally 64 bits. Therefore the leastN_t types
- are the same as the corresponding N_t types. */
-
-#undef INT_LEAST8_MIN
-#undef INT_LEAST8_MAX
-#undef UINT_LEAST8_MAX
-#define INT_LEAST8_MIN INT8_MIN
-#define INT_LEAST8_MAX INT8_MAX
-#define UINT_LEAST8_MAX UINT8_MAX
-
-#undef INT_LEAST16_MIN
-#undef INT_LEAST16_MAX
-#undef UINT_LEAST16_MAX
-#define INT_LEAST16_MIN INT16_MIN
-#define INT_LEAST16_MAX INT16_MAX
-#define UINT_LEAST16_MAX UINT16_MAX
-
-#undef INT_LEAST32_MIN
-#undef INT_LEAST32_MAX
-#undef UINT_LEAST32_MAX
-#define INT_LEAST32_MIN INT32_MIN
-#define INT_LEAST32_MAX INT32_MAX
-#define UINT_LEAST32_MAX UINT32_MAX
-
-#undef INT_LEAST64_MIN
-#undef INT_LEAST64_MAX
-#ifdef GL_INT64_T
-# define INT_LEAST64_MIN INT64_MIN
-# define INT_LEAST64_MAX INT64_MAX
-#endif
-
-#undef UINT_LEAST64_MAX
-#ifdef GL_UINT64_T
-# define UINT_LEAST64_MAX UINT64_MAX
-#endif
-
-/* 7.18.2.3. Limits of fastest minimum-width integer types */
-
-/* Here we assume a standard architecture where the hardware integer
- types have 8, 16, 32, optionally 64 bits. Therefore the fastN_t types
- are taken from the same list of types. */
-
-#undef INT_FAST8_MIN
-#undef INT_FAST8_MAX
-#undef UINT_FAST8_MAX
-#define INT_FAST8_MIN LONG_MIN
-#define INT_FAST8_MAX LONG_MAX
-#define UINT_FAST8_MAX ULONG_MAX
-
-#undef INT_FAST16_MIN
-#undef INT_FAST16_MAX
-#undef UINT_FAST16_MAX
-#define INT_FAST16_MIN LONG_MIN
-#define INT_FAST16_MAX LONG_MAX
-#define UINT_FAST16_MAX ULONG_MAX
-
-#undef INT_FAST32_MIN
-#undef INT_FAST32_MAX
-#undef UINT_FAST32_MAX
-#define INT_FAST32_MIN LONG_MIN
-#define INT_FAST32_MAX LONG_MAX
-#define UINT_FAST32_MAX ULONG_MAX
-
-#undef INT_FAST64_MIN
-#undef INT_FAST64_MAX
-#ifdef GL_INT64_T
-# define INT_FAST64_MIN INT64_MIN
-# define INT_FAST64_MAX INT64_MAX
-#endif
-
-#undef UINT_FAST64_MAX
-#ifdef GL_UINT64_T
-# define UINT_FAST64_MAX UINT64_MAX
-#endif
-
-/* 7.18.2.4. Limits of integer types capable of holding object pointers */
-
-#undef INTPTR_MIN
-#undef INTPTR_MAX
-#undef UINTPTR_MAX
-#define INTPTR_MIN LONG_MIN
-#define INTPTR_MAX LONG_MAX
-#define UINTPTR_MAX ULONG_MAX
-
-/* 7.18.2.5. Limits of greatest-width integer types */
-
-#undef INTMAX_MIN
-#undef INTMAX_MAX
-#ifdef INT64_MAX
-# define INTMAX_MIN INT64_MIN
-# define INTMAX_MAX INT64_MAX
-#else
-# define INTMAX_MIN INT32_MIN
-# define INTMAX_MAX INT32_MAX
-#endif
-
-#undef UINTMAX_MAX
-#ifdef UINT64_MAX
-# define UINTMAX_MAX UINT64_MAX
-#else
-# define UINTMAX_MAX UINT32_MAX
-#endif
-
-/* 7.18.3. Limits of other integer types */
-
-/* ptrdiff_t limits */
-#undef PTRDIFF_MIN
-#undef PTRDIFF_MAX
-#if @APPLE_UNIVERSAL_BUILD@
-# ifdef _LP64
-# define PTRDIFF_MIN _STDINT_MIN (1, 64, 0l)
-# define PTRDIFF_MAX _STDINT_MAX (1, 64, 0l)
-# else
-# define PTRDIFF_MIN _STDINT_MIN (1, 32, 0)
-# define PTRDIFF_MAX _STDINT_MAX (1, 32, 0)
-# endif
-#else
-# define PTRDIFF_MIN \
- _STDINT_MIN (1, @BITSIZEOF_PTRDIFF_T@, 0@PTRDIFF_T_SUFFIX@)
-# define PTRDIFF_MAX \
- _STDINT_MAX (1, @BITSIZEOF_PTRDIFF_T@, 0@PTRDIFF_T_SUFFIX@)
-#endif
-
-/* sig_atomic_t limits */
-#undef SIG_ATOMIC_MIN
-#undef SIG_ATOMIC_MAX
-#define SIG_ATOMIC_MIN \
- _STDINT_MIN (@HAVE_SIGNED_SIG_ATOMIC_T@, @BITSIZEOF_SIG_ATOMIC_T@, \
- 0@SIG_ATOMIC_T_SUFFIX@)
-#define SIG_ATOMIC_MAX \
- _STDINT_MAX (@HAVE_SIGNED_SIG_ATOMIC_T@, @BITSIZEOF_SIG_ATOMIC_T@, \
- 0@SIG_ATOMIC_T_SUFFIX@)
-
-
-/* size_t limit */
-#undef SIZE_MAX
-#if @APPLE_UNIVERSAL_BUILD@
-# ifdef _LP64
-# define SIZE_MAX _STDINT_MAX (0, 64, 0ul)
-# else
-# define SIZE_MAX _STDINT_MAX (0, 32, 0ul)
-# endif
-#else
-# define SIZE_MAX _STDINT_MAX (0, @BITSIZEOF_SIZE_T@, 0@SIZE_T_SUFFIX@)
-#endif
-
-/* wchar_t limits */
-/* Get WCHAR_MIN, WCHAR_MAX.
- This include is not on the top, above, because on OSF/1 4.0 we have a sequence of nested
- includes <wchar.h> -> <stdio.h> -> <getopt.h> -> <stdlib.h>, and the latter includes
- <stdint.h> and assumes its types are already defined. */
-#if ! (defined WCHAR_MIN && defined WCHAR_MAX)
-# define _gl_GL_JUST_INCLUDE_SYSTEM_WCHAR_H
-# include <wchar.h>
-# undef _gl_GL_JUST_INCLUDE_SYSTEM_WCHAR_H
-#endif
-#undef WCHAR_MIN
-#undef WCHAR_MAX
-#define WCHAR_MIN \
- _STDINT_MIN (@HAVE_SIGNED_WCHAR_T@, @BITSIZEOF_WCHAR_T@, 0@WCHAR_T_SUFFIX@)
-#define WCHAR_MAX \
- _STDINT_MAX (@HAVE_SIGNED_WCHAR_T@, @BITSIZEOF_WCHAR_T@, 0@WCHAR_T_SUFFIX@)
-
-/* wint_t limits */
-#undef WINT_MIN
-#undef WINT_MAX
-#define WINT_MIN \
- _STDINT_MIN (@HAVE_SIGNED_WINT_T@, @BITSIZEOF_WINT_T@, 0@WINT_T_SUFFIX@)
-#define WINT_MAX \
- _STDINT_MAX (@HAVE_SIGNED_WINT_T@, @BITSIZEOF_WINT_T@, 0@WINT_T_SUFFIX@)
-
-#endif /* !defined __cplusplus || defined __STDC_LIMIT_MACROS */
-
-/* 7.18.4. Macros for integer constants */
-
-#if ! defined __cplusplus || defined __STDC_CONSTANT_MACROS
-
-/* 7.18.4.1. Macros for minimum-width integer constants */
-/* According to ISO C 99 Technical Corrigendum 1 */
-
-/* Here we assume a standard architecture where the hardware integer
- types have 8, 16, 32, optionally 64 bits, and int is 32 bits. */
-
-#undef INT8_C
-#undef UINT8_C
-#define INT8_C(x) x
-#define UINT8_C(x) x
-
-#undef INT16_C
-#undef UINT16_C
-#define INT16_C(x) x
-#define UINT16_C(x) x
-
-#undef INT32_C
-#undef UINT32_C
-#define INT32_C(x) x
-#define UINT32_C(x) x ## U
-
-#undef INT64_C
-#undef UINT64_C
-#if LONG_MAX >> 31 >> 31 == 1
-# define INT64_C(x) x##L
-#elif defined _MSC_VER
-# define INT64_C(x) x##i64
-#elif @HAVE_LONG_LONG_INT@
-# define INT64_C(x) x##LL
-#endif
-#if ULONG_MAX >> 31 >> 31 >> 1 == 1
-# define UINT64_C(x) x##UL
-#elif defined _MSC_VER
-# define UINT64_C(x) x##ui64
-#elif @HAVE_UNSIGNED_LONG_LONG_INT@
-# define UINT64_C(x) x##ULL
-#endif
-
-/* 7.18.4.2. Macros for greatest-width integer constants */
-
-#undef INTMAX_C
-#if @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1
-# define INTMAX_C(x) x##LL
-#elif defined GL_INT64_T
-# define INTMAX_C(x) INT64_C(x)
-#else
-# define INTMAX_C(x) x##L
-#endif
-
-#undef UINTMAX_C
-#if @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1
-# define UINTMAX_C(x) x##ULL
-#elif defined GL_UINT64_T
-# define UINTMAX_C(x) UINT64_C(x)
-#else
-# define UINTMAX_C(x) x##UL
-#endif
-
-#endif /* !defined __cplusplus || defined __STDC_CONSTANT_MACROS */
-
-#endif /* _gl_GL_STDINT_H */
-#endif /* !defined _gl_GL_STDINT_H && !defined _gl_GL_JUST_INCLUDE_SYSTEM_STDINT_H */
+#include_next <stdint.h>
================================================
FILE: disabled-packages/clisp/src-makefile.in.patch
================================================
diff -u -r ../clisp-2.49/src/makemake.in ./src/makemake.in
--- ../clisp-2.49/src/makemake.in 2010-07-07 11:15:35.000000000 -0400
+++ ./src/makemake.in 2016-02-17 15:27:00.420198622 -0500
@@ -651,9 +651,6 @@
# We can cross-compile only with GCC
XCC=${COMPILER} # ${TSYS}-gcc
XCPP="${XCC} -E"
- XCPPFLAGS=''
- XCFLAGS=''
- XLDFLAGS=''
XCC_GCC=true
XCC_NEED_DEEMA=false
else
================================================
FILE: disabled-packages/crawl/build.sh
================================================
# Currently fails at:
# Makefile:101: recipe for target 'tiledef-dngn.h' failed
# make[1]: *** [tiledef-dngn.h] Segmentation fault (core dumped)
TERMUX_PKG_HOMEPAGE=https://crawl.develz.org/
TERMUX_PKG_DESCRIPTION="Roguelike adventure through dungeons filled with dangerous monsters"
TERMUX_PKG_VERSION=0.17.1
TERMUX_PKG_SRCURL=https://crawl.develz.org/release/stone_soup-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_EXTRA_MAKE_ARGS="V=1"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
export CROSSHOST=$TERMUX_HOST_PLATFORM
TERMUX_PKG_BUILDDIR=$TERMUX_PKG_SRCDIR/source
}
================================================
FILE: disabled-packages/cups/build.sh
================================================
TERMUX_PKG_HOMEPAGE=https://www.cups.org
TERMUX_PKG_VERSION=2.2.4
TERMUX_PKG_DEPENDS=krb5
TERMUX_PKG_SRCURL=https://github.com/apple/cups/releases/download/v$TERMUX_PKG_VERSION/cups-$TERMUX_PKG_VERSION-source.tar.gz
TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas"
TERMUX_PKG_SHA256=596d4db72651c335469ae5f37b0da72ac9f97d73e30838d787065f559dea98cc
TERMUX_PKG_DEPENDS="libandroid-support, libcrypt"
TERMUX_PKG_FOLDERNAME=cups-$TERMUX_PKG_VERSION
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-option-checking
--disable-gssapi
--with-components=core
"
termux_step_pre_configure() {
LDFLAGS="$LDFLAGS -llog -lcrypt"
}
termux_step_post_make_install() {
mv "$TERMUX_PREFIX"/lib64/libcups.so* "$TERMUX_PREFIX"/lib/
}
================================================
FILE: disabled-packages/cups/cups-thread.c.patch
================================================
--- ./cups/thread.c 2017-06-30 21:14:38.000000000 +0530
+++ ../thread.c 2017-09-24 10:12:11.169628258 +0530
@@ -18,6 +18,7 @@
#include "cups-private.h"
#include "thread-private.h"
+#include <signal.h>
#if defined(HAVE_PTHREAD_H)
@@ -150,7 +151,7 @@
void
_cupsThreadCancel(_cups_thread_t thread)/* I - Thread ID */
{
- pthread_cancel(thread);
+ pthread_kill(thread, SIGTERM);
}
================================================
FILE: disabled-packages/cups/file.c.patch
================================================
--- ./cups/file.c 2016-10-04 01:25:40.000000000 +0530
+++ ../file.c 2016-12-11 09:51:21.994431659 +0530
@@ -39,6 +39,9 @@
static ssize_t cups_read(cups_file_t *fp, char *buf, size_t bytes);
static ssize_t cups_write(cups_file_t *fp, const char *buf, size_t bytes);
+#ifdef __ANDROID__
+#include "lockf.cpp"
+#endif
#ifndef WIN32
/*
================================================
FILE: disabled-packages/cups/lockf.cpp.patch
================================================
--- /dev/null 2016-12-11 08:33:21.825618476 +0530
+++ ./cups/lockf.cpp 2016-12-11 09:44:20.050966252 +0530
@@ -0,0 +1,89 @@
+/*
+ * Copyright (C) 2016 The Android Open Source Project
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+#include <unistd.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <string.h>
+
+#ifndef _BITS_LOCKF_H_
+#define _BITS_LOCKF_H_
+
+#include <sys/cdefs.h>
+
+#define F_ULOCK 0
+#define F_LOCK 1
+#define F_TLOCK 2
+#define F_TEST 3
+
+__BEGIN_DECLS
+
+#if defined(__USE_FILE_OFFSET64)
+int lockf(int, int, off_t) __RENAME(lockf64);
+#else
+int lockf(int, int, off_t);
+#endif
+int lockf64(int, int, off64_t);
+
+__END_DECLS
+
+#endif
+
+
+int lockf64(int fd, int cmd, off64_t length) {
+ // Translate POSIX lockf into fcntl.
+ struct flock fl;
+ memset(&fl, 0, sizeof(fl));
+ fl.l_whence = SEEK_CUR;
+ fl.l_start = 0;
+ fl.l_len = length;
+ if (cmd == F_ULOCK) {
+ fl.l_type = F_UNLCK;
+ cmd = F_SETLK64;
+ return fcntl(fd, F_SETLK64, &fl);
+ }
+ if (cmd == F_LOCK) {
+ fl.l_type = F_WRLCK;
+ return fcntl(fd, F_SETLKW64, &fl);
+ }
+ if (cmd == F_TLOCK) {
+ fl.l_type = F_WRLCK;
+ return fcntl(fd, F_SETLK64, &fl);
+ }
+ if (cmd == F_TEST) {
+ fl.l_type = F_RDLCK;
+ if (fcntl(fd, F_GETLK64, &fl) == -1) return -1;
+ if (fl.l_type == F_UNLCK || fl.l_pid == getpid()) return 0;
+ errno = EACCES;
+ return -1;
+ }
+ errno = EINVAL;
+ return -1;
+}
+int lockf(int fd, int cmd, off_t length) {
+ return lockf64(fd, cmd, length);
+}
================================================
FILE: disabled-packages/d8/build.sh
================================================
TERMUX_PKG_HOMEPAGE=https://r8.googlesource.com/r8
TERMUX_PKG_DESCRIPTION="Dexer that converts java byte code to dex code"
TERMUX_PKG_VERSION=$TERMUX_ANDROID_BUILD_TOOLS_VERSION
TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_step_make_install() {
# Rewrite packages to avoid using com.android.* classes which may clash with
# classes in the Android runtime on devices (see #1801):
local JARJAR=$TERMUX_PKG_CACHEDIR/jarjar.jar
local RULEFILE=$TERMUX_PKG_TMPDIR/jarjar-rule.txt
local REWRITTEN_DX=$TERMUX_PKG_TMPDIR/d8-rewritten.jar
termux_download \
http://repo.bodar.com/com/googlecode/jarjar/jarjar/1.4.1/jarjar-1.4.1.jar \
$JARJAR \
c16b1cee296526baae432c382f83d540d4b648dc21923428a66a69ba43b7df9e
echo 'rule com.android.** d8.@1' > $RULEFILE
java -jar $JARJAR process $RULEFILE \
$ANDROID_HOME/build-tools/${TERMUX_PKG_VERSION}/lib/d8.jar \
$REWRITTEN_DX
# Dex the rewritten jar file:
mkdir -p $TERMUX_PREFIX/share/dex
$TERMUX_D8 \
--classpath $ANDROID_HOME/platforms/android-$TERMUX_PKG_API_LEVEL/android.jar \
--release \
--min-api 21 \
--output $TERMUX_PREFIX/share/dex/d8.jar \
$REWRITTEN_DX
install $TERMUX_PKG_BUILDER_DIR/d8 $TERMUX_PREFIX/bin/d8
perl -p -i -e "s%\@TERMUX_PREFIX\@%${TERMUX_PREFIX}%g" $TERMUX_PREFIX/bin/d8
}
================================================
FILE: disabled-packages/d8/d8
================================================
#!/bin/sh
exec dalvikvm \
-Xmx256m \
-cp @TERMUX_PREFIX@/share/dex/d8.jar \
d8.tools.r8.D8 \
--classpath $PREFIX/share/java/android.jar \
$@
================================================
FILE: disabled-packages/deborphan/build.sh
================================================
TERMUX_PKG_HOMEPAGE=https://packages.debian.org/source/sid/deborphan
TERMUX_PKG_DESCRIPTION="Program that can find unused packages"
TERMUX_PKG_VERSION=1.7.28.8-0.3
TERMUX_PKG_SRCURL=http://http.debian.net/debian/pool/main/d/deborphan/deborphan_$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_MAINTAINER="Pierre Rudloff @Rudloff"
================================================
FILE: disabled-packages/deborphan/configure.patch
================================================
diff -u -r ../deborphan/configure ./configure
--- ../deborphan/configure 2016-02-21 09:05:27.000000000 -0500
+++ ./configure 2016-08-11 05:52:10.144221407 -0400
@@ -2957,7 +2957,7 @@
-$as_echo "#define STATUS_FILE \"/var/lib/dpkg/status\"" >>confdefs.h
+$as_echo "#define STATUS_FILE \"@TERMUX_PREFIX@/var/lib/dpkg/status\"" >>confdefs.h
$as_echo "#define REG_FLAGS REG_ICASE" >>confdefs.h
================================================
FILE: disabled-packages/deborphan/errno.patch
================================================
diff --git a/src/exit.c b/src/exit.c
index e76a75e..99cfbdd 100644
--- a/src/exit.c
+++ b/src/exit.c
@@ -21,7 +21,6 @@
#ifdef HAVE_ERRNO_H
# include <errno.h>
-extern int errno;
#endif
#ifdef ENABLE_NLS
diff --git a/src/xalloc.c b/src/xalloc.c
index 8c830e7..43cfb64 100644
--- a/src/xalloc.c
+++ b/src/xalloc.c
@@ -22,7 +22,6 @@
#ifdef HAVE_ERRNO_H
# include <errno.h>
-extern int errno;
#endif
#ifdef STDC_HEADERS
================================================
FILE: disabled-packages/deborphan/src-Makefile.in.patch
================================================
diff -u -r ../deborphan/src/Makefile.in ./src/Makefile.in
--- ../deborphan/src/Makefile.in 2016-02-21 09:05:27.000000000 -0500
+++ ./src/Makefile.in 2016-08-11 06:13:53.452865872 -0400
@@ -213,7 +213,7 @@
target_alias = @target_alias@
deborphan_SOURCES = deborphan.c exit.c libdeps.c pkginfo.c xalloc.c string.c keep.c file.c set.c
KEEPNAME = keep
-STATEDIR = /var/lib/deborphan
+STATEDIR = @TERMUX_PREFIX@/var/lib/deborphan
KEEPFILE = $(STATEDIR)/$(KEEPNAME)
INCLUDES = -I../include
all: all-am
================================================
FILE: disabled-packages/deborphan/src-deborphan.c.patch
================================================
diff -u -r ../deborphan/src/deborphan.c ./src/deborphan.c
--- ../deborphan/src/deborphan.c 2016-02-21 09:05:27.000000000 -0500
+++ ./src/deborphan.c 2016-08-11 06:20:43.718666170 -0400
@@ -562,8 +562,6 @@
if (this->install)
check_lib_deps(package, this, print_arch_suffixes);
- free_pkg_regex();
-
fflush(stdout);
for (i = 0; options[SEARCH] && search_for[i].name; i++) {
================================================
FILE: disabled-packages/deborphan/src-pkginfo.c.patch
================================================
diff -u -r ../deborphan/src/pkginfo.c ./src/pkginfo.c
--- ../deborphan/src/pkginfo.c 2016-02-21 09:05:27.000000000 -0500
+++ ./src/pkginfo.c 2016-08-11 06:10:28.211955162 -0400
@@ -106,10 +106,16 @@
regfree(&re_statushold);
regfree(&re_statusconfig);
regfree(&re_status);
- regfree(&re_namedev);
- regfree(&re_gnugrepv);
- regfree(&re_descdummy);
- regfree(&re_desctransit);
+ if (options[GUESS]) {
+ if (!guess_unique(GUESS_SECTION))
+ regfree(&re_namedev);
+ if (guess_chk(GUESS_SECTION))
+ regfree(&re_gnugrepv);
+ if (guess_chk(GUESS_DUMMY)) {
+ regfree(&re_descdummy);
+ regfree(&re_desctransit);
+ }
+ }
}
/* A similar "hack" was created by Paul Martin a while ago. It was not
================================================
FILE: disabled-packages/dovecot/build.sh
================================================
TERMUX_PKG_HOMEPAGE=https://www.dovecot.org
TERMUX_PKG_DESCRIPTION="Secure IMAP and POP3 email server"
TERMUX_PKG_VERSION=2.2.31
TERMUX_PKG_SRCURL=https://www.dovecot.org/releases/2.2/dovecot-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=034be40907748128d65088a4f59789b2f99ae7b33a88974eae0b6a68ece376a1
TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas"
TERMUX_PKG_DEPENDS="openssl, libcrypt"
# turning on icu gives undefined reference to __cxa_call_unexpected
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--with-zlib
--with-ssl=openssl
--with-ssldir=$TERMUX_PREFIX/etc/tls
--without-icu
--without-shadow
i_cv_epoll_works=yes
i_cv_posix_fallocate_works=yes
i_cv_signed_size_t=no
i_cv_gmtime_max_time_t=40
i_cv_signed_time_t=yes
i_cv_mmap_plays_with_write=yes
i_cv_fd_passing=yes
i_cv_c99_vsnprintf=yes
lib_cv_va_copy=yes
lib_cv___va_copy=yes
"
termux_step_pre_configure() {
LDFLAGS="$LDFLAGS -llog"
for i in $(find $TERMUX_PKG_SRCDIR/src/director -type f); do sed 's|\bstruct user\b|struct usertest|g' -i $i; done
if [ "$TERMUX_ARCH" == "aarch64" ]; then
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+="lib_cv_va_val_copy=yes"
else
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+="lib_cv_va_val_copy=no"
fi
}
termux_step_post_make_install() {
for binary in doveadm doveconf; do
mv $TERMUX_PREFIX/bin/$binary $TERMUX_PREFIX/libexec/dovecot/$binary
cat > $TERMUX_PREFIX/bin/$binary <<HERE
#!$TERMUX_PREFIX/bin/sh
export LD_LIBRARY_PATH=$TERMUX_PREFIX/lib/dovecot:\$LD_LIBRARY_PATH
exec $TERMUX_PREFIX/libexec/dovecot/$binary $@
HERE
chmod u+x $TERMUX_PREFIX/bin/$binary
done
}
================================================
FILE: disabled-packages/dovecot/configure.patch
================================================
--- ./configure 2017-06-06 19:59:58.000000000 +0530
+++ ../configure 2017-06-09 22:41:43.475719606 +0530
@@ -4464,8 +4464,8 @@
fi
-want_passwd=yes
-want_passwd_file=yes
+want_passwd=no
+want_passwd_file=no
want_checkpassword=yes
want_prefetch_userdb=yes
--- ./configure 2017-06-10 10:57:04.390830105 +0530
+++ ../configure 2017-06-10 11:14:06.734990847 +0530
@@ -26351,12 +26351,6 @@
have_rquota=no
-if test -f /usr/include/rpcsvc/rquota.x && test -n "$RPCGEN"; then
-
-$as_echo "#define HAVE_RQUOTA /**/" >>confdefs.h
-
- have_rquota=yes
-fi
if test "$have_rquota" = "yes"; then
HAVE_RQUOTA_TRUE=
HAVE_RQUOTA_FALSE='#'
================================================
FILE: disabled-packages/dovecot/src-lib-connection.h.patch
================================================
--- ./src/lib/connection.h 2016-12-03 22:43:21.000000000 +0530
+++ ../connection.h 2017-06-09 22:47:48.138342901 +0530
@@ -2,6 +2,7 @@
#define CONNECTION_H
#include "net.h"
+#include <linux/time.h>
struct connection;
================================================
FILE: disabled-packages/easy-rsa/build.sh
================================================
TERMUX_PKG_HOMEPAGE=https://openvpn.net/easyrsa.html
TERMUX_PKG_VERSION=3.0.1
TERMUX_PKG_DEPENDS="openssl-tool"
TERMUX_PKG_SRCURL=https://github.com/OpenVPN/easy-rsa/releases/download/$TERMUX_PKG_VERSION/EasyRSA-$TERMUX_PKG_VERSION.tgz
TERMUX_PKG_SHA256=dbdaf5b9444b99e0c5221fd4bcf15384c62380c1b63cea23d42239414d7b2d4e
TERMUX_PKG_CONFFILES="etc/easy-rsa/openssl-1.0.cnf, etc/easy-rsa/vars"
TERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas'
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make_install() {
install -D -m0755 easyrsa "${TERMUX_PREFIX}"/bin/easyrsa
install -D -m0644 openssl-1.0.cnf "${TERMUX_PREFIX}"/etc/easy-rsa/openssl-1.0.cnf
install -D -m0644 vars.example "${TERMUX_PREFIX}"/etc/easy-rsa/vars
install -d -m0755 "${TERMUX_PREFIX}"/etc/easy-rsa/x509-types/
install -m0644 x509-types/* "${TERMUX_PREFIX}"/etc/easy-rsa/x509-types/
}
================================================
FILE: disabled-packages/ghc/bitcast.patch
================================================
From
https://github.com/erikd/ghc-llvm-next/blob/llvm-3.8/patches/01-bitcast.patch
diff -u -r ../ghc-8.0.1/compiler/llvmGen/Llvm/PpLlvm.hs ./compiler/llvmGen/Llvm/PpLlvm.hs
--- ../ghc-8.0.1/compiler/llvmGen/Llvm/PpLlvm.hs 2016-05-16 13:08:53.000000000 -0400
+++ ./compiler/llvmGen/Llvm/PpLlvm.hs 2016-06-23 16:59:36.113778783 -0400
@@ -73,7 +73,7 @@
Nothing -> empty
rhs = case dat of
- Just stat -> ppr stat
+ Just stat -> pprSpecialStatic stat
Nothing -> ppr (pLower $ getVarType var)
-- Position of linkage is different for aliases.
diff -u -r ../ghc-8.0.1/compiler/llvmGen/Llvm/Types.hs ./compiler/llvmGen/Llvm/Types.hs
--- ../ghc-8.0.1/compiler/llvmGen/Llvm/Types.hs 2016-05-16 13:08:53.000000000 -0400
+++ ./compiler/llvmGen/Llvm/Types.hs 2016-06-23 17:00:14.569166114 -0400
@@ -175,6 +175,11 @@
ppr (LMSub s1 s2)
= pprStaticArith s1 s2 (sLit "sub") (sLit "fsub") "LMSub"
+pprSpecialStatic :: LlvmStatic -> SDoc
+pprSpecialStatic (LMBitc v t) =
+ ppr (pLower t) <> text ", bitcast (" <> ppr v <> text " to " <> ppr t <> char ')'
+pprSpecialStatic stat = ppr stat
+
pprStaticArith :: LlvmStatic -> LlvmStatic -> LitString -> LitString -> String -> SDoc
pprStaticArith s1 s2 int_op float_op op_name =
let ty1 = getStatType s1
================================================
FILE: disabled-packages/ghc/build.sh
================================================
# See https://ghc.haskell.org/trac/ghc/wiki/Building/CrossCompiling
# https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Linux
# and
# https://github.com/neurocyte/ghc-android
TERMUX_PKG_HOMEPAGE=https://www.haskell.org/ghc/
TERMUX_PKG_DESCRIPTION="The Glasgow Haskell Compilation system"
TERMUX_PKG_VERSION=8.0.1
TERMUX_PKG_SRCURL=http://downloads.haskell.org/~ghc/${TERMUX_PKG_VERSION}/ghc-${TERMUX_PKG_VERSION}-src.tar.xz
TERMUX_PKG_BUILD_IN_SRC=true
# Depend on clang for now until llvm is split into separate package:
TERMUX_PKG_DEPENDS="clang, ncurses"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-iconv-includes=$TERMUX_PREFIX/include -with-iconv-libraries=$TERMUX_PREFIX/lib"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-curses-includes=$TERMUX_PREFIX/include/ncursesw -with-curses-libraries=$TERMUX_PREFIX/lib"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --host=x86_64-unknown-linux --build=x86_64-unknown-linux"
termux_step_post_extract_package() {
ORIG_CFLAGS="$CFLAGS"
ORIG_CPPFLAGS="$CPPFLAGS"
ORIG_LDFLAGS="$LDFLAGS"
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
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --target=${TERMUX_HOST_PLATFORM}"
}
termux_step_pre_configure() {
echo "INTEGER_LIBRARY = integer-simple" > mk/build.mk
#echo "GhcStage2HcOpts = $ORIG_CFLAGS $ORIG_CPPFLAGS $ORIG_LDFLAGS" >> mk/build.mk
# Avoid "Can't use -fPIC or -dynamic on this platform":
echo "DYNAMIC_GHC_PROGRAMS = NO" >> mk/build.mk
echo "GhcLibWays = v" >> mk/build.mk
# "Can not build haddock docs when CrossCompiling or Stage1Only".
echo "HADDOCK_DOCS=NO" >> mk/build.mk
}
================================================
FILE: disabled-packages/ghc/compiler-llvmGen-LlvmCodeGen-Ppr.hs.patch
================================================
diff -u -r ../ghc-8.0.1/compiler/llvmGen/LlvmCodeGen/Ppr.hs ./compiler/llvmGen/LlvmCodeGen/Ppr.hs
--- ../ghc-8.0.1/compiler/llvmGen/LlvmCodeGen/Ppr.hs 2016-05-16 13:08:53.000000000 -0400
+++ ./compiler/llvmGen/LlvmCodeGen/Ppr.hs 2016-06-23 17:54:27.073877144 -0400
@@ -44,12 +44,18 @@
Platform { platformArch = ArchX86, platformOS = OSLinux } ->
text "target datalayout = \"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32\""
$+$ text "target triple = \"i386-pc-linux-gnu\""
+ Platform { platformArch = ArchX86, platformOS = OSAndroid } ->
+ text "target datalayout = \"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32\""
+ $+$ text "target triple = \"i386-pc-linux-android\""
Platform { platformArch = ArchX86_64, platformOS = OSDarwin } ->
text "target datalayout = \"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64\""
$+$ text "target triple = \"x86_64-apple-darwin10.0.0\""
Platform { platformArch = ArchX86_64, platformOS = OSLinux } ->
text "target datalayout = \"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64\""
$+$ text "target triple = \"x86_64-linux-gnu\""
+ Platform { platformArch = ArchX86_64, platformOS = OSAndroid } ->
+ text "target datalayout = \"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64\""
+ $+$ text "target triple = \"x86_64-linux-android\""
Platform { platformArch = ArchARM {}, platformOS = OSLinux } ->
text "target datalayout = \"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:64-n32\""
$+$ text "target triple = \"armv6-unknown-linux-gnueabihf\""
@@ -71,6 +77,9 @@
Platform { platformArch = ArchARM64, platformOS = OSLinux } ->
text "target datalayout = \"e-m:e-i64:64-i128:128-n32:64-S128\""
$+$ text "target triple = \"aarch64-unknown-linux-gnu\""
+ Platform { platformArch = ArchARM64, platformOS = OSAndroid } ->
+ text "target datalayout = \"e-m:e-i64:64-i128:128-n32:64-S128\""
+ $+$ text "target triple = \"aarch64-unknown-linux-android\""
_ ->
if platformIsCrossCompiling platform
then panic "LlvmCodeGen.Ppr: Cross compiling without valid target info."
================================================
FILE: disabled-packages/ghc/compiler-main-DriverPipeline.hs.patch
================================================
diff -u -r ../ghc-8.0.1/compiler/main/DriverPipeline.hs ./compiler/main/DriverPipeline.hs
--- ../ghc-8.0.1/compiler/main/DriverPipeline.hs 2016-05-16 13:08:53.000000000 -0400
+++ ./compiler/main/DriverPipeline.hs 2016-09-07 03:37:48.321941122 -0400
@@ -1831,10 +1831,7 @@
| WayThreaded `elem` ways dflags =
let os = platformOS (targetPlatform dflags)
in if os == OSOsf3 then ["-lpthread", "-lexc"]
- else if os `elem` [OSMinGW32, OSFreeBSD, OSOpenBSD,
- OSNetBSD, OSHaiku, OSQNXNTO, OSiOS, OSDarwin]
- then []
- else ["-lpthread"]
+ else []
| otherwise = []
rc_objs <- maybeCreateManifest dflags output_fn
================================================
FILE: disabled-packages/ghc/configure.patch
================================================
diff -u -r ../ghc-8.0.1/configure ./configure
--- ../ghc-8.0.1/configure 2016-05-17 12:36:51.000000000 -0400
+++ ./configure 2016-06-23 16:46:28.690875698 -0400
@@ -7126,7 +7126,7 @@
# tools we are looking for. In the past, GHC supported a number of
# versions of LLVM simultaneously, but that stopped working around
# 3.5/3.6 release of LLVM.
-LlvmVersion=3.7
+LlvmVersion=3.9
sUPPORTED_LLVM_VERSION=$(echo \($LlvmVersion\) | sed 's/\./,/')
================================================
FILE: disabled-packages/groff/build.sh
================================================
TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/groff/
TERMUX_PKG_DESCRIPTION="GNU troff text-formatting program"
TERMUX_PKG_VERSION=1.22.3
TERMUX_PKG_SRCURL=http://ftp.gnu.org/gnu/groff/groff-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-doc=no --without-gs --without-x"
================================================
FILE: disabled-packages/gst-libav/build.sh
================================================
# NOTE: Disabled due to not being ffmpeg 4 compatible.
TERMUX_PKG_HOMEPAGE=https://gstreamer.freedesktop.org/
TERMUX_PKG_DESCRIPTION="GStreamer libav/ffmpeg wrapper"
TERMUX_PKG_VERSION=1.14.1
TERMUX_PKG_SHA256=eff80a02d2f2fb9f34b67e9a26e9954d3218c7aa18e863f2a47805fa7066029d
TERMUX_PKG_SRCURL=https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_DEPENDS="gst-plugins-base,ffmpeg"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-android_media
--disable-examples
--disable-tests
--with-system-libav
"
================================================
FILE: disabled-packages/gst123/build.sh
================================================
# Broken - requires gtk
TERMUX_PKG_HOMEPAGE=http://space.twc.de/~stefan/gst123.php
TERMUX_PKG_DESCRIPTION="GStreamer based command line media player"
TERMUX_PKG_VERSION=0.3.4
TERMUX_PKG_SRCURL=http://space.twc.de/~stefan/gst123/gst123-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_DEPENDS="gst-plugins-bad, ncurses"
================================================
FILE: disabled-packages/guile/build.sh
================================================
TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/guile/
TERMUX_PKG_DESCRIPTION="GNU extension language and Scheme interpreter"
TERMUX_PKG_VERSION=2.0.11
TERMUX_PKG_SRCURL=ftp://ftp.gnu.org/gnu/guile/guile-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="libgmp, libunistring, libffi, libgc"
================================================
FILE: disabled-packages/javac/build.sh
================================================
TERMUX_PKG_HOMEPAGE=http://docs.oracle.com/javase/8/docs/technotes/tools/windows/javac.html
TERMUX_PKG_DESCRIPTION="Java programming language compiler from (openjdk)"
TERMUX_PKG_VERSION=8u45
TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_step_extract_package() {
mkdir $TERMUX_PKG_SRCDIR
}
termux_step_make() {
RAW_JAR=/usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
mkdir -p $TERMUX_PREFIX/share/dex
$TERMUX_DX \
--dex \
--output=$TERMUX_PREFIX/share/dex/tools.jar \
$RAW_JAR
install $TERMUX_PKG_BUILDER_DIR/javac $TERMUX_PREFIX/bin/javac
perl -p -i -e "s%\@TERMUX_PREFIX\@%${TERMUX_PREFIX}%g" $TERMUX_PREFIX/bin/javac
}
================================================
FILE: disabled-packages/javac/javac
================================================
#!/system/bin/sh
# There needs to be a folder at $ANDROID_DATA/dalvik-cache
export ANDROID_DATA=@TERMUX_PREFIX@/var/android/
mkdir -p $ANDROID_DATA/dalvik-cache
jarpath=@TERMUX_PREFIX@/share/dex/tools.jar
# -proc:none to disable annotation processing/compiling
# -7 for java 1.7 compatibility
dalvikvm -Xmx256m -cp $jarpath com.sun.tools.javac.Main -proc:none -7 -cp @TERMUX_PREFIX@/share/java/android.jar $@
================================================
FILE: disabled-packages/libfakechroot/build.sh
================================================
TERMUX_PKG_HOMEPAGE=https://github.com/dex4er/fakechroot/wiki
TERMUX_PKG_DESCRIPTION="Library for creating fake chroots"
TERMUX_PKG_VERSION=2.17.2
TERMUX_PKG_SRCURL=https://github.com/dex4er/fakechroot/archive/${TERMUX_PKG_VERSION}.tar.gz
================================================
FILE: disabled-packages/libffi-updated/build.sh
================================================
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
}
================================================
FILE: disabled-packages/libjemalloc/build.sh
================================================
TERMUX_PKG_HOMEPAGE=http://www.canonware.com/jemalloc/
TERMUX_PKG_DESCRIPTION="General-purpose scalable concurrent malloc(3) implementation"
TERMUX_PKG_VERSION=4.0.0
TERMUX_PKG_SRCURL=https://github.com/jemalloc/jemalloc/releases/download/${TERMUX_PKG_VERSION}/jemalloc-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_BUILD_IN_SRC=true
CPPFLAGS+=" -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1"
================================================
FILE: disabled-packages/libressl/build.sh
================================================
# Status: Termux currently uses openssl. Transitioning to libressl
# is tempting, but on hold for now to see how widespread
# the adoption of libressl in Linux distributions is.
TERMUX_PKG_HOMEPAGE=http://www.libressl.org/
TERMUX_PKG_DESCRIPTION="Library implementing the TLS protocol as well as general purpose cryptography functions"
TERMUX_PKG_DEPENDS="ca-certificates"
TERMUX_PKG_VERSION=2.5.5
TERMUX_PKG_SHA256=e57f5e3d5842a81fe9351b6e817fcaf0a749ca4ef35a91465edba9e071dce7c4
TERMUX_PKG_SRCURL=http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-openssldir=$TERMUX_PREFIX/etc/tls"
TERMUX_PKG_CONFLICTS="openssl"
# etc/tls/cert.pem is provided by ca-certificates:
TERMUX_PKG_RM_AFTER_INSTALL="etc/tls/cert.pem"
termux_step_pre_configure() {
CPPFLAGS+=" -DNO_SYSLOG"
}
================================================
FILE: disabled-packages/lrzsz/build.sh
================================================
TERMUX_PKG_HOMEPAGE=https://ohse.de/uwe/software/lrzsz.html
TERMUX_PKG_DESCRIPTION="Tools for zmodem/xmodem/ymodem file transfer"
TERMUX_PKG_VERSION=0.12.20
TERMUX_PKG_SRCURL=https://ohse.de/uwe/releases/lrzsz-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=c28b36b14bddb014d9e9c97c52459852f97bd405f89113f30bee45ed92728ff1
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-syslog --mandir=$TERMUX_PREFIX/share/man"
================================================
FILE: disabled-packages/lrzsz/src-Makefile.in.patch
================================================
Hard links are not supported on Android 6.0+
diff -u -r ../lrzsz-0.12.20/src/Makefile.in ./src/Makefile.in
--- ../lrzsz-0.12.20/src/Makefile.in 1998-12-30 17:31:46.000000000 +0100
+++ ./src/Makefile.in 2017-01-25 01:17:46.135033894 +0100
@@ -370,16 +370,16 @@
install-exec-local:
rm -f $(DESTDIR)/$(bindir)/`echo lsb | sed -e '$(transform)'`
- ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
+ ln -s $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
$(DESTDIR)/$(bindir)/`echo lsb |sed -e '$(transform)'`
rm -f $(bindir)/`echo lsx | sed -e '$(transform)'`
- ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
+ ln -s $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
$(DESTDIR)/$(bindir)/`echo lsx |sed -e '$(transform)'`
rm -f $(bindir)/`echo lrb | sed -e '$(transform)'`
- ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
+ ln -s $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
$(DESTDIR)/$(bindir)/`echo lrb |sed -e '$(transform)'`
rm -f $(bindir)/`echo lrx | sed -e '$(transform)'`
- ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
+ ln -s $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
$(DESTDIR)/$(bindir)/`echo lrx |sed -e '$(transform)'`
# rm -f $(bindir)/`echo lrzszbug | sed -e '$(transform)'`
# ln $(bindir)/`echo lrzszbug |sed -e '$(transform)'` \
================================================
FILE: disabled-packages/man-db/build.sh
================================================
TERMUX_PKG_HOMEPAGE=http://www.nongnu.org/man-db/
TERMUX_PKG_DESCRIPTION="Utilities for examining on-line help files (manual pages)"
TERMUX_PKG_VERSION=2.7.5
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=http://mirror.csclub.uwaterloo.ca/nongnu/man-db/man-db-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-db=gdbm --with-pager=less --with-config-file=/data/data/com.termux/files/usr/etc/man_db.conf --disable-setuid --with-browser=lynx --with-gzip=gzip --with-systemdtmpfilesdir=/data/data/com.termux/files/usr/lib/tmpfiles.d"
TERMUX_PKG_DEPENDS="flex, gdbm, groff, less, libandroid-support, libpipeline, lynx"
export GROFF_TMAC_PATH="/data/data/com.termux/files/usr/lib/groff/site-tmac:/data/data/com.termux/files/usr/share/groff/site-tmac:/data/data/com.termux/files/usr/share/groff/current/tmac"
================================================
FILE: disabled-packages/mono/build.sh
================================================
TERMUX_PKG_HOMEPAGE=http://www.mono-project.com/
TERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas'
_MONO_VERSION=5.0.0
_MONO_PATCH=100
TERMUX_PKG_VERSION=$_MONO_VERSION.$_MONO_PATCH
# official package is missing support/libm/math_private.h
#TERMUX_PKG_SRCURL=https://github.com/mono/mono/archive/mono-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SRCURL=https://download.mono-project.com/sources/mono/mono-$TERMUX_PKG_VERSION.tar.bz2
TERMUX_PKG_SHA256=368da3ff9f42592920cd8cf6fa15c6c16558e967144c4d3df873352e5d2bb6df
TERMUX_PKG_FOLDERNAME=mono-$_MONO_VERSION
#TERMUX_PKG_EXTRA_CONFIGURE_ARGS='--disable-mcs-build --disable-boehm --with-sigaltstack=no'
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+="--disable-btls --disable-dynamic-btls" #--with-btls-android-ndk=$ANDROID_NDK"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
# export CFLAGS="$CFLAGS -mthumb"
cd "$TERMUX_PKG_SRCDIR"
# NOCONFIGURE=1 ./autogen.sh
# cp $TERMUX_PKG_BUILDER_DIR/{complex,math_private}.h $TERMUX_PKG_SRCDIR/support/libm/
export ANDROID_STANDALONE_TOOLCHAIN=$TERMUX_STANDALONE_TOOLCHAIN
}
================================================
FILE: disabled-packages/mono/complex.h
================================================
/*-
* Copyright (c) 2001-2011 The FreeBSD Project.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD$
*/
#ifndef _COMPLEX_H
#define _COMPLEX_H
#include <sys/cdefs.h>
#ifdef __GNUC__
#if __STDC_VERSION__ < 199901
#define _Complex __complex__
#endif
#define _Complex_I ((float _Complex)1.0i)
#endif
#ifdef __generic
_Static_assert(__generic(_Complex_I, float _Complex, 1, 0),
"_Complex_I must be of type float _Complex");
#endif
#define complex _Complex
#define I _Complex_I
#if __ISO_C_VISIBLE >= 2011
#ifdef __clang__
#define CMPLX(x, y) ((double complex){ x, y })
#define CMPLXF(x, y) ((float complex){ x, y })
#define CMPLXL(x, y) ((long double complex){ x, y })
#elif __GNUC_PREREQ__(4, 7)
#define CMPLX(x, y) __builtin_complex((double)(x), (double)(y))
#define CMPLXF(x, y) __builtin_complex((float)(x), (float)(y))
#define CMPLXL(x, y) __builtin_complex((long double)(x), (long double)(y))
#endif
#endif /* __ISO_C_VISIBLE >= 2011 */
__BEGIN_DECLS
#pragma GCC visibility push(default)
double cabs(double complex);
float cabsf(float complex);
long double cabsl(long double complex);
double complex cacos(double complex);
float complex cacosf(float complex);
double complex cacosh(double complex);
float complex cacoshf(float complex);
double carg(double complex);
float cargf(float complex);
long double cargl(long double complex);
double complex casin(double complex);
float complex casinf(float complex);
double complex casinh(double complex);
float complex casinhf(float complex);
double complex catan(double complex);
float complex catanf(float complex);
double complex catanh(double complex);
float complex catanhf(float complex);
double complex ccos(double complex);
float complex ccosf(float complex);
double complex ccosh(double complex);
float complex ccoshf(float complex);
double complex cexp(double complex);
float complex cexpf(float complex);
double cimag(double complex) __pure2;
float cimagf(float complex) __pure2;
long double cimagl(long double complex) __pure2;
double complex conj(double complex) __pure2;
float complex conjf(float complex) __pure2;
long double complex
conjl(long double complex) __pure2;
float complex cprojf(float complex) __pure2;
double complex cproj(double complex) __pure2;
long double complex
cprojl(long double complex) __pure2;
double creal(double complex) __pure2;
float crealf(float complex) __pure2;
long double creall(long double complex) __pure2;
double complex csin(double complex);
float complex csinf(float complex);
double complex csinh(double complex);
float complex csinhf(float complex);
double complex csqrt(double complex);
float complex csqrtf(float complex);
long double complex
csqrtl(long double complex);
double complex ctan(double complex);
float complex ctanf(float complex);
double complex ctanh(double complex);
float complex ctanhf(float complex);
#pragma GCC visibility pop
__END_DECLS
#endif /* _COMPLEX_H */
================================================
FILE: disabled-packages/mono/math_private.h
================================================
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunPro, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
/*
* from: @(#)fdlibm.h 5.1 93/09/24
* $FreeBSD$
*/
#ifndef _MATH_PRIVATE_H_
#define _MATH_PRIVATE_H_
#include <sys/types.h>
#include <machine/endian.h>
/*
* The original fdlibm code used statements like:
* n0 = ((*(int*)&one)>>29)^1; * index of high word *
* ix0 = *(n0+(int*)&x); * high word of x *
* ix1 = *((1-n0)+(int*)&x); * low word of x *
* to dig two 32 bit words out of the 64 bit IEEE floating point
* value. That is non-ANSI, and, moreover, the gcc instruction
* scheduler gets it wrong. We instead use the following macros.
* Unlike the original code, we determine the endianness at compile
* time, not at run time; I don't see much benefit to selecting
* endianness at run time.
*/
/*
* A union which permits us to convert between a double and two 32 bit
* ints.
*/
#ifdef __arm__
#if defined(__VFP_FP__) || defined(__ARM_EABI__)
#define IEEE_WORD_ORDER BYTE_ORDER
#else
#define IEEE_WORD_ORDER BIG_ENDIAN
#endif
#else /* __arm__ */
#define IEEE_WORD_ORDER BYTE_ORDER
#endif
#if IEEE_WORD_ORDER == BIG_ENDIAN
typedef union
{
double value;
struct
{
u_int32_t msw;
u_int32_t lsw;
} parts;
struct
{
u_int64_t w;
} xparts;
} ieee_double_shape_type;
#endif
#if IEEE_WORD_ORDER == LITTLE_ENDIAN
typedef union
{
double value;
struct
{
u_int32_t lsw;
u_int32_t msw;
} parts;
struct
{
u_int64_t w;
} xparts;
} ieee_double_shape_type;
#endif
/* Get two 32 bit ints from a double. */
#define EXTRACT_WORDS(ix0,ix1,d) \
do { \
ieee_double_shape_type ew_u; \
ew_u.value = (d); \
(ix0) = ew_u.parts.msw; \
(ix1) = ew_u.parts.lsw; \
} while (0)
/* Get a 64-bit int from a double. */
#define EXTRACT_WORD64(ix,d) \
do { \
ieee_double_shape_type ew_u; \
ew_u.value = (d); \
(ix) = ew_u.xparts.w; \
} while (0)
/* Get the more significant 32 bit int from a double. */
#define GET_HIGH_WORD(i,d) \
do { \
ieee_double_shape_type gh_u; \
gh_u.value = (d); \
(i) = gh_u.parts.msw; \
} while (0)
/* Get the less significant 32 bit int from a double. */
#define GET_LOW_WORD(i,d) \
do { \
ieee_double_shape_type gl_u; \
gl_u.value = (d); \
(i) = gl_u.parts.lsw; \
} while (0)
/* Set a double from two 32 bit ints. */
#define INSERT_WORDS(d,ix0,ix1) \
do { \
ieee_double_shape_type iw_u; \
iw_u.parts.msw = (ix0); \
iw_u.parts.lsw = (ix1); \
(d) = iw_u.value; \
} while (0)
/* Set a double from a 64-bit int. */
#define INSERT_WORD64(d,ix) \
do { \
ieee_double_shape_type iw_u; \
iw_u.xparts.w = (ix); \
(d) = iw_u.value; \
} while (0)
/* Set the more significant 32 bits of a double from an int. */
#define SET_HIGH_WORD(d,v) \
do { \
ieee_double_shape_type sh_u; \
sh_u.value = (d); \
sh_u.parts.msw = (v); \
(d) = sh_u.value; \
} while (0)
/* Set the less significant 32 bits of a double from an int. */
#define SET_LOW_WORD(d,v) \
do { \
ieee_double_shape_type sl_u; \
sl_u.value = (d); \
sl_u.parts.lsw = (v); \
(d) = sl_u.value; \
} while (0)
/*
* A union which permits us to convert between a float and a 32 bit
* int.
*/
typedef union
{
float value;
/* FIXME: Assumes 32 bit int. */
unsigned int word;
} ieee_float_shape_type;
/* Get a 32 bit int from a float. */
#define GET_FLOAT_WORD(i,d) \
do { \
ieee_float_shape_type gf_u; \
gf_u.value = (d); \
(i) = gf_u.word; \
} while (0)
/* Set a float from a 32 bit int. */
#define SET_FLOAT_WORD(d,i) \
do { \
ieee_float_shape_type sf_u; \
sf_u.word = (i); \
(d) = sf_u.value; \
} while (0)
/*
* Get expsign and mantissa as 16 bit and 64 bit ints from an 80 bit long
* double.
*/
#define EXTRACT_LDBL80_WORDS(ix0,ix1,d) \
do { \
union IEEEl2bits ew_u; \
ew_u.e = (d); \
(ix0) = ew_u.xbits.expsign; \
(ix1) = ew_u.xbits.man; \
} while (0)
/*
* Get expsign and mantissa as one 16 bit and two 64 bit ints from a 128 bit
* long double.
*/
#define EXTRACT_LDBL128_WORDS(ix0,ix1,ix2,d) \
do { \
union IEEEl2bits ew_u; \
ew_u.e = (d); \
(ix0) = ew_u.xbits.expsign; \
(ix1) = ew_u.xbits.manh; \
(ix2) = ew_u.xbits.manl; \
} while (0)
/* Get expsign as a 16 bit int from a long double. */
#define GET_LDBL_EXPSIGN(i,d) \
do { \
union IEEEl2bits ge_u; \
ge_u.e = (d); \
(i) = ge_u.xbits.expsign; \
} while (0)
/*
* Set an 80 bit long double from a 16 bit int expsign and a 64 bit int
* mantissa.
*/
#define INSERT_LDBL80_WORDS(d,ix0,ix1) \
do { \
union IEEEl2bits iw_u; \
iw_u.xbits.expsign = (ix0); \
iw_u.xbits.man = (ix1); \
(d) = iw_u.e; \
} while (0)
/*
* Set a 128 bit long double from a 16 bit int expsign and two 64 bit ints
* comprising the mantissa.
*/
#define INSERT_LDBL128_WORDS(d,ix0,ix1,ix2) \
do { \
union IEEEl2bits iw_u; \
iw_u.xbits.expsign = (ix0); \
iw_u.xbits.manh = (ix1); \
iw_u.xbits.manl = (ix2); \
(d) = iw_u.e; \
} while (0)
/* Set expsign of a long double from a 16 bit int. */
#define SET_LDBL_EXPSIGN(d,v) \
do { \
union IEEEl2bits se_u; \
se_u.e = (d); \
se_u.xbits.expsign = (v); \
(d) = se_u.e; \
} while (0)
#ifdef __i386__
/* Long double constants are broken on i386. */
#define LD80C(m, ex, v) { \
.xbits.man = __CONCAT(m, ULL), \
.xbits.expsign = (0x3fff + (ex)) | ((v) < 0 ? 0x8000 : 0), \
}
#else
/* The above works on non-i386 too, but we use this to check v. */
#define LD80C(m, ex, v) { .e = (v), }
#endif
#ifdef FLT_EVAL_METHOD
/*
* Attempt to get strict C99 semantics for assignment with non-C99 compilers.
*/
#if FLT_EVAL_METHOD == 0 || __GNUC__ == 0
#define STRICT_ASSIGN(type, lval, rval) ((lval) = (rval))
#else
#define STRICT_ASSIGN(type, lval, rval) do { \
volatile type __lval; \
\
if (sizeof(type) >= sizeof(long double)) \
(lval) = (rval); \
else { \
__lval = (rval); \
(lval) = __lval; \
} \
} while (0)
#endif
#endif /* FLT_EVAL_METHOD */
/* Support switching the mode to FP_PE if necessary. */
#if defined(__i386__) && !defined(NO_FPSETPREC)
#define ENTERI() \
long double __retval; \
fp_prec_t __oprec; \
\
if ((__oprec = fpgetprec()) != FP_PE) \
fpsetprec(FP_PE)
#define RETURNI(x) do { \
__retval = (x); \
if (__oprec != FP_PE) \
fpsetprec(__oprec); \
RETURNF(__retval); \
} while (0)
#else
#define ENTERI(x)
#define RETURNI(x) RETURNF(x)
#endif
/* Default return statement if hack*_t() is not used. */
#define RETURNF(v) return (v)
/*
* 2sum gives the same result as 2sumF without requiring |a| >= |b| or
* a == 0, but is slower.
*/
#define _2sum(a, b) do { \
__typeof(a) __s, __w; \
\
__w = (a) + (b); \
__s = __w - (a); \
(b) = ((a) - (__w - __s)) + ((b) - __s); \
(a) = __w; \
} while (0)
/*
* 2sumF algorithm.
*
* "Normalize" the terms in the infinite-precision expression a + b for
* the sum of 2 floating point values so that b is as small as possible
* relative to 'a'. (The resulting 'a' is the value of the expression in
* the same precision as 'a' and the resulting b is the rounding error.)
* |a| must be >= |b| or 0, b's type must be no larger than 'a's type, and
* exponent overflow or underflow must not occur. This uses a Theorem of
* Dekker (1971). See Knuth (1981) 4.2.2 Theorem C. The name "TwoSum"
* is apparently due to Skewchuk (1997).
*
* For this to always work, assignment of a + b to 'a' must not retain any
* extra precision in a + b. This is required by C standards but broken
* in many compilers. The brokenness cannot be worked around using
* STRICT_ASSIGN() like we do elsewhere, since the efficiency of this
* algorithm would be destroyed by non-null strict assignments. (The
* compilers are correct to be broken -- the efficiency of all floating
* point code calculations would be destroyed similarly if they forced the
* conversions.)
*
* Fortunately, a case that works well can usually be arranged by building
* any extra precision into the type of 'a' -- 'a' should have type float_t,
* double_t or long double. b's type should be no larger than 'a's type.
* Callers should use these types with scopes as large as possible, to
* reduce their own extra-precision and efficiciency problems. In
* particular, they shouldn't convert back and forth just to call here.
*/
#ifdef DEBUG
#define _2sumF(a, b) do { \
__typeof(a) __w; \
volatile __typeof(a) __ia, __ib, __r, __vw; \
\
__ia = (a); \
__ib = (b); \
assert(__ia == 0 || fabsl(__ia) >= fabsl(__ib)); \
\
__w = (a) + (b); \
(b) = ((a) - __w) + (b); \
(a) = __w; \
\
/* The next 2 assertions are weak if (a) is already long double. */ \
assert((long double)__ia + __ib == (long double)(a) + (b)); \
__vw = __ia + __ib; \
__r = __ia - __vw; \
__r += __ib; \
assert(__vw == (a) && __r == (b)); \
} while (0)
#else /* !DEBUG */
#define _2sumF(a, b) do { \
__typeof(a) __w; \
\
__w = (a) + (b); \
(b) = ((a) - __w) + (b); \
(a) = __w; \
} while (0)
#endif /* DEBUG */
/*
* Set x += c, where x is represented in extra precision as a + b.
* x must be sufficiently normalized and sufficiently larger than c,
* and the result is then sufficiently normalized.
*
* The details of ordering are that |a| must be >= |c| (so that (a, c)
* can be normalized without extra work to swap 'a' with c). The details of
* the normalization are that b must be small relative to the normalized 'a'.
* Normalization of (a, c) makes the normalized c tiny relative to the
* normalized a, so b remains small relative to 'a' in the result. However,
* b need not ever be tiny relative to 'a'. For example, b might be about
* 2**20 times smaller than 'a' to give about 20 extra bits of precision.
* That is usually enough, and adding c (which by normalization is about
* 2**53 times smaller than a) cannot change b significantly. However,
* cancellation of 'a' with c in normalization of (a, c) may reduce 'a'
* significantly relative to b. The caller must ensure that significant
* cancellation doesn't occur, either by having c of the same sign as 'a',
* or by having |c| a few percent smaller than |a|. Pre-normalization of
* (a, b) may help.
*
* This is is a variant of an algorithm of Kahan (see Knuth (1981) 4.2.2
* exercise 19). We gain considerable efficiency by requiring the terms to
* be sufficiently normalized and sufficiently increasing.
*/
#define _3sumF(a, b, c) do { \
__typeof(a) __tmp; \
\
__tmp = (c); \
_2sumF(__tmp, (a)); \
(b) += (a); \
(a) = __tmp; \
} while (0)
/*
* Common routine to process the arguments to nan(), nanf(), and nanl().
*/
void _scan_nan(uint32_t *__words, int __num_words, const char *__s);
#ifdef _COMPLEX_H
/*
* C99 specifies that complex numbers have the same representation as
* an array of two elements, where the first element is the real part
* and the second element is the imaginary part.
*/
typedef union {
float complex f;
float a[2];
} float_complex;
typedef union {
double complex f;
double a[2];
} double_complex;
typedef union {
long double complex f;
long double a[2];
} long_double_complex;
#define REALPART(z) ((z).a[0])
#define IMAGPART(z) ((z).a[1])
/*
* Inline functions that can be used to construct complex values.
*
* The C99 standard intends x+I*y to be used for this, but x+I*y is
* currently unusable in general since gcc introduces many overflow,
* underflow, sign and efficiency bugs by rewriting I*y as
* (0.0+I)*(y+0.0*I) and laboriously computing the full complex product.
* In particular, I*Inf is corrupted to NaN+I*Inf, and I*-0 is corrupted
* to -0.0+I*0.0.
*/
static __inline float complex
cpackf(float x, float y)
{
float_complex z;
REALPART(z) = x;
IMAGPART(z) = y;
return (z.f);
}
static __inline double complex
cpack(double x, double y)
{
double_complex z;
REALPART(z) = x;
IMAGPART(z) = y;
return (z.f);
}
static __inline long double complex
cpackl(long double x, long double y)
{
long_double_complex z;
REALPART(z) = x;
IMAGPART(z) = y;
return (z.f);
}
#endif /* _COMPLEX_H */
#ifdef __GNUCLIKE_ASM
/* Asm versions of some functions. */
#ifdef __amd64__
static __inline int
irint(double x)
{
int n;
asm("cvtsd2si %1,%0" : "=r" (n) : "x" (x));
return (n);
}
#define HAVE_EFFICIENT_IRINT
#endif
#ifdef __i386__
static __inline int
irint(double x)
{
int n;
asm("fistl %0" : "=m" (n) : "t" (x));
return (n);
}
#define HAVE_EFFICIENT_IRINT
#endif
#if defined(__amd64__) || defined(__i386__)
static __inline int
irintl(long double x)
{
int n;
asm("fistl %0" : "=m" (n) : "t" (x));
return (n);
}
#define HAVE_EFFICIENT_IRINTL
#endif
#endif /* __GNUCLIKE_ASM */
#ifdef DEBUG
#if defined(__amd64__) || defined(__i386__)
#define breakpoint() asm("int $3")
#else
#include <signal.h>
#define breakpoint() raise(SIGTRAP)
#endif
#endif
/* Write a pari script to test things externally. */
#ifdef DOPRINT
#include <stdio.h>
#ifndef DOPRINT_SWIZZLE
#define DOPRINT_SWIZZLE 0
#endif
#ifdef DOPRINT_LD80
#define DOPRINT_START(xp) do { \
uint64_t __lx; \
uint16_t __hx; \
\
/* Hack to give more-problematic args. */ \
EXTRACT_LDBL80_WORDS(__hx, __lx, *xp); \
__lx ^= DOPRINT_SWIZZLE; \
INSERT_LDBL80_WORDS(*xp, __hx, __lx); \
printf("x = %.21Lg; ", (long double)*xp); \
} while (0)
#define DOPRINT_END1(v) \
printf("y = %.21Lg; z = 0; show(x, y, z);\n", (long double)(v))
#define DOPRINT_END2(hi, lo) \
printf("y = %.21Lg; z = %.21Lg; show(x, y, z);\n", \
(long double)(hi), (long double)(lo))
#elif defined(DOPRINT_D64)
#define DOPRINT_START(xp) do { \
uint32_t __hx, __lx; \
\
EXTRACT_WORDS(__hx, __lx, *xp); \
__lx ^= DOPRINT_SWIZZLE; \
INSERT_WORDS(*xp, __hx, __lx); \
printf("x = %.21Lg; ", (long double)*xp); \
} while (0)
#define DOPRINT_END1(v) \
printf("y = %.21Lg; z = 0; show(x, y, z);\n", (long double)(v))
#define DOPRINT_END2(hi, lo) \
printf("y = %.21Lg; z = %.21Lg; show(x, y, z);\n", \
(long double)(hi), (long double)(lo))
#elif defined(DOPRINT_F32)
#define DOPRINT_START(xp) do { \
uint32_t __hx; \
\
GET_FLOAT_WORD(__hx, *xp); \
__hx ^= DOPRINT_SWIZZLE; \
SET_FLOAT_WORD(*xp, __hx); \
printf("x = %.21Lg; ", (long double)*xp); \
} while (0)
#define DOPRINT_END1(v) \
printf("y = %.21Lg; z = 0; show(x, y, z);\n", (long double)(v))
#define DOPRINT_END2(hi, lo) \
printf("y = %.21Lg; z = %.21Lg; show(x, y, z);\n", \
(long double)(hi), (long double)(lo))
#else /* !DOPRINT_LD80 && !DOPRINT_D64 (LD128 only) */
#ifndef DOPRINT_SWIZZLE_HIGH
#define DOPRINT_SWIZZLE_HIGH 0
#endif
#define DOPRINT_START(xp) do { \
uint64_t __lx, __llx; \
uint16_t __hx; \
\
EXTRACT_LDBL128_WORDS(__hx, __lx, __llx, *xp); \
__llx ^= DOPRINT_SWIZZLE; \
__lx ^= DOPRINT_SWIZZLE_HIGH; \
INSERT_LDBL128_WORDS(*xp, __hx, __lx, __llx); \
printf("x = %.36Lg; ", (long double)*xp); \
} while (0)
#define DOPRINT_END1(v) \
printf("y = %.36Lg; z = 0; show(x, y, z);\n", (long double)(v))
#define DOPRINT_END2(hi, lo) \
printf("y = %.36Lg; z = %.36Lg; show(x, y, z);\n", \
(long double)(hi), (long double)(lo))
#endif /* DOPRINT_LD80 */
#else /* !DOPRINT */
#define DOPRINT_START(xp)
#define DOPRINT_END1(v)
#define DOPRINT_END2(hi, lo)
#endif /* DOPRINT */
#define RETURNP(x) do { \
DOPRINT_END1(x); \
RETURNF(x); \
} while (0)
#define RETURNPI(x) do { \
DOPRINT_END1(x); \
RETURNI(x); \
} while (0)
#define RETURN2P(x, y) do { \
DOPRINT_END2((x), (y)); \
RETURNF((x) + (y)); \
} while (0)
#define RETURN2PI(x, y) do { \
DOPRINT_END2((x), (y)); \
RETURNI((x) + (y)); \
} while (0)
#ifdef STRUCT_RETURN
#define RETURNSP(rp) do { \
if (!(rp)->lo_set) \
RETURNP((rp)->hi); \
RETURN2P((rp)->hi, (rp)->lo); \
} while (0)
#define RETURNSPI(rp) do { \
if (!(rp)->lo_set) \
RETURNPI((rp)->hi); \
RETURN2PI((rp)->hi, (rp)->lo); \
} while (0)
#endif
#define SUM2P(x, y) ({ \
const __typeof (x) __x = (x); \
const __typeof (y) __y = (y); \
\
DOPRINT_END2(__x, __y); \
__x + __y; \
})
/*
* ieee style elementary functions
*
* We rename functions here to improve other sources' diffability
* against fdlibm.
*/
#define __ieee754_sqrt sqrt
#define __ieee754_acos acos
#define __ieee754_acosh acosh
#define __ieee754_log log
#define __ieee754_log2 log2
#define __ieee754_atanh atanh
#define __ieee754_asin asin
#define __ieee754_atan2 atan2
#define __ieee754_exp exp
#define __ieee754_cosh cosh
#define __ieee754_fmod fmod
#define __ieee754_pow pow
#define __ieee754_lgamma lgamma
#define __ieee754_gamma gamma
#define __ieee754_lgamma_r lgamma_r
#define __ieee754_gamma_r gamma_r
#define __ieee754_log10 log10
#define __ieee754_sinh sinh
#define __ieee754_hypot hypot
#define __ieee754_j0 j0
#define __ieee754_j1 j1
#define __ieee754_y0 y0
#define __ieee754_y1 y1
#define __ieee754_jn jn
#define __ieee754_yn yn
#define __ieee754_remainder remainder
#define __ieee754_scalb scalb
#define __ieee754_sqrtf sqrtf
#define __ieee754_acosf acosf
#define __ieee754_acoshf acoshf
#define __ieee754_logf logf
#define __ieee754_atanhf atanhf
#define __ieee754_asinf asinf
#define __ieee754_atan2f atan2f
#define __ieee754_expf expf
#define __ieee754_coshf coshf
#define __ieee754_fmodf fmodf
#define __ieee754_powf powf
#define __ieee754_lgammaf lgammaf
#define __ieee754_gammaf gammaf
#define __ieee754_lgammaf_r lgammaf_r
#define __ieee754_gammaf_r gammaf_r
#define __ieee754_log10f log10f
#define __ieee754_log2f log2f
#define __ieee754_sinhf sinhf
#define __ieee754_hypotf hypotf
#define __ieee754_j0f j0f
#define __ieee754_j1f j1f
#define __ieee754_y0f y0f
#define __ieee754_y1f y1f
#define __ieee754_jnf jnf
#define __ieee754_ynf ynf
#define __ieee754_remainderf remainderf
#define __ieee754_scalbf scalbf
/* fdlibm kernel function */
int __kernel_rem_pio2(double*,double*,int,int,int);
/* double precision kernel functions */
#ifndef INLINE_REM_PIO2
int __ieee754_rem_pio2(double,double*);
#endif
double __kernel_sin(double,double,int);
double __kernel_cos(double,double);
double __kernel_tan(double,double,int);
double __ldexp_exp(double,int);
#ifdef _COMPLEX_H
double complex __ldexp_cexp(double complex,int);
#endif
/* float precision kernel functions */
#ifndef INLINE_REM_PIO2F
int __ieee754_rem_pio2f(float,double*);
#endif
#ifndef INLINE_KERNEL_SINDF
float __kernel_sindf(double);
#endif
#ifndef INLINE_KERNEL_COSDF
float __kernel_cosdf(double);
#endif
#ifndef INLINE_KERNEL_TANDF
float __kernel_tandf(double,int);
#endif
float __ldexp_expf(float,int);
#ifdef _COMPLEX_H
float complex __ldexp_cexpf(float complex,int);
#endif
/* long double precision kernel functions */
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_ */
================================================
FILE: disabled-packages/mono/tkill.patch
================================================
--- ./libgc/pthread_stop_world.c 2017-01-03 15:49:34.000000000 +0530
+++ ../pthread_stop_world.c 2017-01-05 18:54:28.314868754 +0530
@@ -379,11 +379,7 @@
GC_printf1("Sending suspend signal to 0x%lx\n", p -> id);
#endif
-#ifndef PLATFORM_ANDROID
result = pthread_kill(p -> id, SIG_SUSPEND);
-#else
- result = android_thread_kill(p -> kernel_id, SIG_SUSPEND);
-#endif
switch(result) {
case ESRCH:
/* Not really there anymore. Possible? */
--- ./mono/utils/mono-threads-posix.c 2017-01-03 15:49:38.000000000 +0530
+++ ../mono-threads-posix.c 2017-01-05 18:57:48.313245586 +0530
@@ -21,10 +21,6 @@
#include <errno.h>
-#if defined(PLATFORM_ANDROID) && !defined(TARGET_ARM64) && !defined(TARGET_AMD64)
-#define USE_TKILL_ON_ANDROID 1
-#endif
-
#ifdef USE_TKILL_ON_ANDROID
extern int tkill (pid_t tid, int signal);
#endif
================================================
FILE: disabled-packages/ocaml/build.sh
================================================
TERMUX_PKG_HOMEPAGE=https://ocaml.org
TERMUX_PKG_DESCRIPTION="Programming language supporting functional, imperative and object-oriented styles"
TERMUX_PKG_VERSION=4.02.3
TERMUX_PKG_SRCURL=http://caml.inria.fr/pub/distrib/ocaml-4.02/ocaml-4.02.3.tar.xz
TERMUX_PKG_DEPENDS="pcre, openssl, libuuid"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_configure() {
./configure -prefix $TERMUX_PREFIX -mandir $TERMUX_PREFIX/share/man/man1 -cc "$CC $CFLAGS $CPPFLAGS $LDFLAGS" \
-host $TERMUX_HOST_PLATFORM
}
================================================
FILE: disabled-packages/openjdk-9-jre-headless/build.sh
================================================
TERMUX_PKG_HOMEPAGE=http://openjdk.java.net
TERMUX_PKG_DESCRIPTION="OpenJDK 9 Java Runtime Environment (prerelease)"
_jbuild=181
_hg_tag="jdk-9+${_jbuild}"
_jvm_dir="lib/jvm/openjdk-9"
TERMUX_PKG_VERSION="9.2017.8.20"
TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas"
TERMUX_PKG_HOMEPAGE=http://openjdk.java.net/projects/jdk9
TERMUX_PKG_DEPENDS="freetype, libpng, ca-certificates-java"
TERMUX_PKG_CONFFILES="$_jvm_dir/lib/jvm.cfg"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-aot
--disable-hotspot-gtest
--disable-option-checking
--disable-warnings-as-errors
--enable-headless-only
--with-freetype=$TERMUX_PREFIX
--with-libpng=system
--with-zlib=system
--with-jdk-variant=normal
--with-jvm-variants=server
"
TERMUX_PKG_RM_AFTER_INSTALL="$_jvm_dir/demo $_jvm_dir/sample"
_cups_ver=2.2.4
changesets=('e5455438db96'
'5666eba44ac6'
'8076a7391ba0'
'17bb8a98d5e3'
'a1d64f45f9d5'
'364631d8ff2e'
'65bfdabaab9c'
'17cc754c8936')
sha256sums=('c759faa5bff4b3d7bcf87dce57e9d1a39600ef67ec68f96d6d12d07b1bf773ce'
'34518bf8b27aa893f834f8f81293ac0e04a210ee4f2e11bb2c89331f87912d96'
'3b649e34e2a1c8758c6311931d201a38432088ccb86a720afb1cb99fe193537f'
'bb330b8b516178304dc11c755994db20eccc696ae5c2a16b04a4a67b20b33b79'
'a213ebc4bf896c55855761891932a19f42ad5276d3fd155cfb604b27f4866d9d'
'0bc1953e9f23d59dafc415a7a37ff2da23cf8782e0532e253a6d7d63aa0ea954'
'739a5d275db4a2a81cf3c3ca17a78212b8c47092e5c10888b79e9599dd9dcc2d'
'fbc9b49a7f0fa1723e369d91068d51a11de40e931f281a3ed9650484b437cc7f'
'596d4db72651c335469ae5f37b0da72ac9f97d73e30838d787065f559dea98cc')
reponames=(dev corba hotspot jdk jaxws jaxp langtools nashorn cups)
_url_src=http://hg.openjdk.java.net/mobile/dev
TERMUX_PKG_SRCURL=$_url_src/archive/${changesets[0]}.tar.bz2
TERMUX_PKG_SHA256=${sha256sums[0]}
termux_step_post_extract_package() {
cd "$TERMUX_PKG_TMPDIR"
# download and extract repo archives
for index in {1..7}; do
local sum=${sha256sums[index]}
local repo=${reponames[index]}
local change=${changesets[index]}
local file=$TERMUX_PKG_CACHEDIR/$repo-$change.tar.bz2
local url=${_url_src}/$repo/archive/$change.tar.bz2
termux_download $url $file $sum
tar xf $file -C $TERMUX_PKG_SRCDIR
mv $TERMUX_PKG_SRCDIR/$repo-$change $TERMUX_PKG_SRCDIR/$repo
done
# setup cups source dir
file=$TERMUX_PKG_CACHEDIR/cups-$_cups_ver-source.tar.gz
url="https://github.com/apple/cups/releases/download/v$_cups_ver/$(basename $file)"
termux_download $url $file ${sha256sums[8]}
tar xf $file -C $TERMUX_PKG_SRCDIR
}
# override this step to since openjdk provides its own customized guess scripts
termux_step_replace_guess_scripts() {
return
}
termux_step_pre_configure() {
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-cups-include=$TERMUX_PKG_SRCDIR/cups-$_cups_ver"
ln -sf $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/libc.so $TERMUX_PKG_TMPDIR/libpthread.so
cat > "$TERMUX_STANDALONE_TOOLCHAIN/devkit.info" <<HERE
DEVKIT_NAME="Android ${TERMUX_ARCH^^}"
DEVKIT_TOOLCHAIN_PATH="\$DEVKIT_ROOT/$TERMUX_HOST_PLATFORM/bin"
DEVKIT_SYSROOT="\$DEVKIT_ROOT/sysroot"
HERE
export ANDROID_DEVKIT=$TERMUX_STANDALONE_TOOLCHAIN
if [ -n "$TERMUX_DEBUG" ]; then TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-debug-level=slowdebug"; fi
BUILD_TRIPLE=$TERMUX_ARCH-linux-gnu
test "$TERMUX_ARCH" == "arm" && BUILD_TRIPLE+="eabi"
JVM_FEATURES="compiler1,compiler2,jvmti,fprof,vm-structs,jni-check,services,management,all-gcs,nmt,cds"
# enable features specific to some arches
if [ "$TERMUX_ARCH" == "aarch64" ] || [ "$TERMUX_ARCH" == "x86_64" ]; then JVM_FEATURES+=",jvmci,graal"; fi
# remove sa_proc support
rm $TERMUX_PKG_SRCDIR/hotspot/make/lib/Lib-jdk.hotspot.agent.gmk
}
termux_step_configure() {
if [ $TERMUX_ARCH = "x86_64" ]; then
ln -sf $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib64/libc.so $TERMUX_PKG_TMPDIR/libpthread.so
else
ln -sf $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/libc.so $TERMUX_PKG_TMPDIR/libpthread.so
fi
ARM64=""
if [ $TERMUX_ARCH = aarch64 ]; then
export ARM64=" --with-cpu-port=arm64"
fi
bash $TERMUX_PKG_SRCDIR/configure \
$ARM64 \
--prefix=$TERMUX_PREFIX \
--openjdk-target=$BUILD_TRIPLE \
--libexecdir=$TERMUX_PREFIX/libexec \
--with-devkit=$ANDROID_DEVKIT \
--with-extra-cflags="$CPPFLAGS $CFLAGS" \
--with-extra-cxxflags="$CPPFLAGS $CXXFLAGS" \
--with-extra-ldflags="-L$TERMUX_PKG_TMPDIR $LDFLAGS -ldl" \
--with-jvm-features="$JVM_FEATURES" \
$TERMUX_PKG_EXTRA_CONFIGURE_ARGS
}
termux_step_make() {
make JOBS=$TERMUX_MAKE_PROCESSES images
}
termux_step_post_make_install() {
# move jvm install dir
mkdir -p $TERMUX_PREFIX/lib/jvm
rm -rf "$TERMUX_PREFIX/lib/jvm/openjdk-9"
mv $TERMUX_PREFIX/jvm/openjdk-9-internal $TERMUX_PREFIX/$_jvm_dir
# place src.zip in standard location mimicking ubuntu
mv $TERMUX_PREFIX/$_jvm_dir/lib/src.zip $TERMUX_PREFIX/$_jvm_dir/src.zip
# create shell wrappers for binaries
for binary in $TERMUX_PREFIX/$_jvm_dir/bin/*; do
binary=$(basename $binary)
rm -f $TERMUX_PREFIX/bin/$binary
echo "export JAVA_HOME=\$PREFIX/$_jvm_dir" > $TERMUX_PREFIX/bin/$binary
echo "export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:\$JAVA_HOME/lib:\$JAVA_HOME/lib/jli" >> $TERMUX_PREFIX/bin/$binary
echo "exec \$JAVA_HOME/bin/$binary \"\$@\"" >> $TERMUX_PREFIX/bin/$binary
chmod u+x $TERMUX_PREFIX/bin/$binary
done
# use cacerts provided by ca-certificates-java
ln -sf "$TERMUX_PREFIX/$_jvm_dir/lib/security/jssecacerts" "$TERMUX_PREFIX/$_jvm_dir/lib/security/cacerts"
}
================================================
FILE: disabled-packages/openjdk-9-jre-headless/build_ldflags.patch
================================================
--- ./common/autoconf/generated-configure.sh 2017-05-14 10:01:38.475911076 +0530
+++ ../generated-configure.sh 2017-05-14 10:08:25.204273780 +0530
@@ -47809,8 +47809,8 @@
# Assume the C compiler is the assembler
BUILD_AS="$BUILD_CC -c"
# Just like for the target compiler, use the compiler as linker
- BUILD_LD="$BUILD_CC"
- BUILD_LDCXX="$BUILD_CXX"
+ BUILD_LD="$BUILD_CC -ldl -lpthread"
+ BUILD_LDCXX="$BUILD_CXX -ldl -lpthread"
PATH="$OLDPATH"
--- ./common/autoconf/generated-configure.sh 2017-05-14 10:50:10.292197720 +0530
+++ ../generated-configure.sh 2017-05-14 10:53:21.857704488 +0530
@@ -37441,8 +37441,8 @@
LDCXX="$LD"
else
# All other toolchains use the compiler to link.
- LD="$CC"
- LDCXX="$CXX"
+ LD="$CC -llog"
+ LDCXX="$CXX -llog"
fi
# FIXME: it should be CXXLD, according to standard (cf CXXCPP)
================================================
FILE: disabled-packages/openjdk-9-jre-headless/elfFile.hpp.patch
================================================
--- ./hotspot/src/share/vm/utilities/elfFile.hpp 2017-05-12 23:47:58.000000000 +0530
+++ ../elfFile.hpp 2017-05-14 12:27:21.069572447 +0530
@@ -50,7 +50,7 @@
typedef Elf64_Phdr Elf_Phdr;
typedef Elf64_Sym Elf_Sym;
-#if !defined(_ALLBSD_SOURCE) || defined(__APPLE__)
+#if (!defined(_ALLBSD_SOURCE) || defined(__APPLE__)) && !defined(__ANDROID__)
#define ELF_ST_TYPE ELF64_ST_TYPE
#endif
================================================
FILE: disabled-packages/openjdk-9-jre-headless/generated-configure.sh.patch
================================================
--- ./common/autoconf/generated-configure.sh 2017-04-01 23:19:09.508381398 +0530
+++ ../generated-configure.sh 2017-04-02 17:35:37.210373866 +0530
@@ -53412,14 +53412,7 @@
# Check if X11 is needed
- if test "x$OPENJDK_TARGET_OS" = xwindows || test "x$OPENJDK_TARGET_OS" = xmacosx || test "x$OPENJDK_TARGET_OS" = xios || test "x$OPENJDK_TARGET_OS" = xandroid; then
- # No X11 support on windows or macosx
NEEDS_LIB_X11=false
- else
- # All other instances need X11, even if building headless only, libawt still
- # needs X11 headers.
- NEEDS_LIB_X11=true
- fi
# Check if cups is needed
if test "x$OPENJDK_TARGET_OS" = xwindows; then
@@ -53435,11 +53428,7 @@
fi
# Check if alsa is needed
- if test "x$OPENJDK_TARGET_OS" = xlinux; then
- NEEDS_LIB_ALSA=true
- else
NEEDS_LIB_ALSA=false
- fi
# Check if ffi is needed
if [[ " $JVM_VARIANTS " =~ " zero " ]] || [[ " $JVM_VARIANTS " =~ " zeroshark " ]] ; then
================================================
FILE: disabled-packages/openjdk-9-jre-headless/getgr_r.patch
================================================
--- ./jdk/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c 2017-03-02 21:55:47.000000000 +0530
+++ ../UnixNativeDispatcher.c 2017-03-03 21:37:02.370375158 +0530
@@ -168,40 +168,6 @@
#endif
static fdopendir_func* my_fdopendir_func = NULL;
-#ifdef __ANDROID__
-/*
- * TODO: Android lacks support for the methods listed below. In it's place are
- * alternatives that use existing Android functionality, but lack reentrant
- * support. Determine if the following are the most suitable alternatives.
- *
- */
-int getgrgid_r(gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result)
-{
- *result = NULL;
- errno = 0;
- grp = getgrgid(gid);
- if (grp == NULL) {
- return errno;
- }
- // buf not used by caller (see below)
- *result = grp;
- return 0;
-}
-
-int getgrnam_r(const char *name, struct group* grp, char* buf, size_t buflen, struct group** result)
-{
- *result = NULL;
- errno = 0;
- grp = getgrnam(name);
- if (grp == NULL) {
- return errno;
- }
- // buf not used by caller (see below)
- *result = grp;
- return 0;
-}
-#endif
-
/**
* fstatat missing from glibc on Linux. Temporary workaround
* for x86/x64.
================================================
FILE: disabled-packages/openjdk-9-jre-headless/hotspot-jvm_home.patch
================================================
shoutout to @its-pointless (live_the_dream)
--- ./hotspot/src/share/vm/runtime/os.cpp 2017-03-30 20:45:45.000000000 +0530
+++ ../os.cpp 2017-03-31 11:04:17.097618021 +0530
@@ -74,7 +74,7 @@
int os::_processor_count = 0;
int os::_initial_active_processor_count = 0;
size_t os::_page_sizes[os::page_sizes_max];
-const char * os::_java_home = NULL;
+const char * os::_java_home = "@TERMUX_PREFIX@/lib/jvm/openjdk-9";
#ifndef PRODUCT
julong os::num_mallocs = 0; // # of calls to malloc/realloc
================================================
FILE: disabled-packages/openjdk-9-jre-headless/jdk-java_home.patch
================================================
--- ./jdk/src/java.base/unix/native/libjli/java_md_solinux.c 2017-03-30 20:45:48.000000000 +0530
+++ ../java_md_solinux.c 2017-03-31 09:15:07.979651293 +0530
@@ -163,7 +163,7 @@
*/
#ifdef __ANDROID__
-static char * __java_home = NULL;
+static char * __java_home = "@TERMUX_PREFIX@/lib/jvm/openjdk-9";
#endif
void SetJavaHome(char *arg) {
================================================
FILE: disabled-packages/openjdk-9-jre-headless/libpthread.patch
================================================
--- ./jdk/make/lib/Awt2dLibraries.gmk 2017-03-30 20:45:48.000000000 +0530
+++ ../Awt2dLibraries.gmk 2017-04-02 18:36:12.582240305 +0530
@@ -145,7 +145,7 @@
LIBAWT_DIRS += $(JDK_TOPDIR)/src/java.desktop/share/native/common/awt/utility
endif
-ifneq ($(filter $(OPENJDK_TARGET_OS), solaris linux macosx aix), )
+ifneq ($(filter $(OPENJDK_TARGET_OS), solaris macosx aix), )
LIBAWT_EXFILES += awt_Font.c CUPSfuncs.c fontpath.c X11Color.c
endif
@@ -212,7 +212,7 @@
LIBAWT_VERSIONINFO_RESOURCE := $(JDK_TOPDIR)/src/java.desktop/windows/native/libawt/windows/awt.rc
endif
-ifeq ($(OPENJDK_TARGET_OS), android)
+ifeq ($(OPENJDK_TARGET_OS), linux)
LIBAWT_EXFILES += \
java2d/loops/TransformHelper.c \
java2d/loops/ScaledBlit.c \
@@ -347,10 +347,10 @@
endif
endif
- LIBAWT_XAWT_LIBS := $(LIBM) -lawt -lXext -lX11 -lXrender $(LIBDL) -lXtst -lXi -ljava -ljvm -lc
+ LIBAWT_XAWT_LIBS := $(LIBM) $(LIBDL) -ljava -ljvm -lc
ifeq ($(OPENJDK_TARGET_OS), linux)
- LIBAWT_XAWT_LIBS += -lpthread
+ LIBAWT_XAWT_LIBS += -lc
endif
ifeq ($(TOOLCHAIN_TYPE), gcc)
@@ -669,7 +669,7 @@
X11TextRenderer.c \
fontpath.c \
lcdglyph.c
-else ifeq ($(OPENJDK_TARGET_OS), android)
+else ifeq ($(OPENJDK_TARGET_OS), linux)
LIBFONTMANAGER_EXCLUDE_FILES += X11TextRenderer.c
else
LIBFONTMANAGER_EXCLUDE_FILES += fontpath.c \
@@ -939,7 +9
gitextract_8s_13j_i/
├── .cirrus.yml
├── .github/
│ └── main.workflow
├── .gitignore
├── LICENSE.md
├── README.md
├── build-all.sh
├── build-package.sh
├── clean.sh
├── disabled-packages/
│ ├── abuild/
│ │ ├── Makefile.patch
│ │ ├── abuild-fetch.c.patch
│ │ ├── abuild-keygen.in.patch
│ │ ├── abuild-rmtemp.c.patch
│ │ ├── abuild-sign.in.patch
│ │ ├── abuild.conf.patch
│ │ ├── abuild.in.patch
│ │ ├── build.sh
│ │ ├── checkapk.in.patch
│ │ ├── functions.sh.in.patch
│ │ └── sample.APKBUILD.patch
│ ├── alsa-lib/
│ │ ├── alsa-conf-dir.patch
│ │ ├── build.sh
│ │ ├── pcm_direct.c.patch
│ │ ├── pcm_mmap.c.patch.old
│ │ └── versionsort.patch
│ ├── alsa-plugins/
│ │ ├── asound.conf
│ │ └── build.sh
│ ├── alsa-utils/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── volume_mapping.c.patch
│ ├── ant/
│ │ ├── ant
│ │ └── build.sh
│ ├── apk-tools/
│ │ ├── Make.rules.patch
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── libfetch-http.c.patch
│ │ ├── src-apk.c.patch
│ │ ├── src-archive.c.patch
│ │ ├── src-commit.c.patch
│ │ ├── src-database.c.patch
│ │ ├── src-io.c.patch
│ │ ├── src-package.c.patch
│ │ └── src-termux_prefix.h.patch
│ ├── apt-updated/
│ │ ├── CMakeLists.txt.patch
│ │ ├── apt-pkg-contrib-fileutl.patch
│ │ ├── apt-pkg-contrib-srvrec.cc.patch
│ │ ├── apt-pkg-contrib-strutl.cc.patch
│ │ ├── apt-pkg-deb-debrecords.cc.patch
│ │ ├── apt-pkg-init-dir.patch
│ │ ├── apt-private-private-download.cc.patch
│ │ ├── build.sh
│ │ ├── cmdline-apt-key.in.patch
│ │ ├── cmndline-no-strchrnul.patch
│ │ ├── debsrcrecords.patch
│ │ ├── methods-cmakelist.patch
│ │ ├── methods-connect.cc.patch
│ │ ├── private-output-no-langinfo.patch
│ │ ├── trusted.gpg
│ │ └── vendor.patch
│ ├── cadaver/
│ │ └── build.sh
│ ├── checkinstall/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── checkinstall.patch
│ │ ├── checkinstallrc-dist.patch
│ │ ├── installwatch-Makefile.patch
│ │ └── installwatch.c.patch
│ ├── clisp/
│ │ ├── build.sh
│ │ ├── src-gllib-stdint.in.h.patch
│ │ └── src-makefile.in.patch
│ ├── crawl/
│ │ └── build.sh
│ ├── cups/
│ │ ├── build.sh
│ │ ├── cups-thread.c.patch
│ │ ├── file.c.patch
│ │ └── lockf.cpp.patch
│ ├── d8/
│ │ ├── build.sh
│ │ └── d8
│ ├── deborphan/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── errno.patch
│ │ ├── src-Makefile.in.patch
│ │ ├── src-deborphan.c.patch
│ │ └── src-pkginfo.c.patch
│ ├── dovecot/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── src-lib-connection.h.patch
│ ├── easy-rsa/
│ │ └── build.sh
│ ├── ghc/
│ │ ├── bitcast.patch
│ │ ├── build.sh
│ │ ├── compiler-llvmGen-LlvmCodeGen-Ppr.hs.patch
│ │ ├── compiler-main-DriverPipeline.hs.patch
│ │ └── configure.patch
│ ├── groff/
│ │ └── build.sh
│ ├── gst-libav/
│ │ └── build.sh
│ ├── gst123/
│ │ └── build.sh
│ ├── guile/
│ │ └── build.sh
│ ├── javac/
│ │ ├── build.sh
│ │ └── javac
│ ├── libfakechroot/
│ │ └── build.sh
│ ├── libffi-updated/
│ │ └── build.sh
│ ├── libjemalloc/
│ │ └── build.sh
│ ├── libressl/
│ │ └── build.sh
│ ├── lrzsz/
│ │ ├── build.sh
│ │ └── src-Makefile.in.patch
│ ├── man-db/
│ │ └── build.sh
│ ├── mono/
│ │ ├── build.sh
│ │ ├── complex.h
│ │ ├── math_private.h
│ │ └── tkill.patch
│ ├── ocaml/
│ │ └── build.sh
│ ├── openjdk-9-jre-headless/
│ │ ├── build.sh
│ │ ├── build_ldflags.patch
│ │ ├── elfFile.hpp.patch
│ │ ├── generated-configure.sh.patch
│ │ ├── getgr_r.patch
│ │ ├── hotspot-jvm_home.patch
│ │ ├── jdk-java_home.patch
│ │ ├── libpthread.patch
│ │ ├── openjdk-9-jdk-headless.subpackage.sh
│ │ ├── openjdk-9-source.subpackage.sh
│ │ ├── osName.patch
│ │ ├── os_linux_aarch64.cpp.patch
│ │ └── sendfile64.patch
│ ├── openvpn/
│ │ ├── build.sh
│ │ ├── configure.ac.patch.old
│ │ ├── netbsd_getpass.c
│ │ ├── src-openvpn-console_builtin.c.patch
│ │ ├── src-openvpn-tun.c.patch
│ │ └── termux-openvpn
│ ├── pacman/
│ │ ├── build.sh
│ │ ├── ensure-matching-database-and-package-version.patch
│ │ ├── makepkg.conf
│ │ ├── pacman.conf
│ │ └── pacman.patch
│ ├── pkgconf/
│ │ └── build.sh
│ ├── premake/
│ │ ├── build-gmake.unix-Premake4.make.patch
│ │ └── build.sh
│ ├── sbcl/
│ │ ├── build.sh
│ │ └── make-config.sh.patch
│ ├── sslscan/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── sslscan.c.patch
│ ├── tf/
│ │ └── build.sh
│ ├── toybox/
│ │ └── build.sh
│ └── unnethack/
│ ├── build.sh
│ ├── dat_town_wildcard.patch
│ └── dont_delete_makedefs.patch
├── generate-bootstraps.sh
├── ndk-patches/
│ ├── asm-generic-termbits.h.patch
│ ├── bits-struct_file.h.patch
│ ├── grp.h.patch
│ ├── ifaddrs.h
│ ├── langinfo.h
│ ├── langinfo.h.patch
│ ├── libintl.h
│ ├── linux-fcntl.h.patch
│ ├── paths.h.patch
│ ├── pwd.h.patch
│ ├── stdio.h.patch
│ ├── stdlib.h.patch
│ ├── sys-cdefs.h.patch
│ ├── sys-wait.h.patch
│ ├── syslog.patch
│ └── unistd.h.patch
├── packages/
│ ├── aapt/
│ │ ├── aapt-Main.cpp.patch.txt
│ │ ├── build.sh
│ │ ├── libbase-patch.txt
│ │ ├── libcutils-patch.txt
│ │ ├── libziparchive.patch.txt
│ │ └── log.h.patch.txt
│ ├── abduco/
│ │ └── build.sh
│ ├── abook/
│ │ ├── build.sh
│ │ ├── database.h.patch
│ │ └── filter.c.patch
│ ├── ack-grep/
│ │ └── build.sh
│ ├── acr/
│ │ ├── build.sh
│ │ └── no_dev-stderr.patch
│ ├── algernon/
│ │ ├── build.sh
│ │ └── fix-hardcoded-paths.patch
│ ├── alpine/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── env_unix.c.patch
│ │ ├── fdstring.c.patch
│ │ ├── imap-src-osdep-unix-Makefile.patch
│ │ ├── imapmkf.patch
│ │ ├── mlockmake.patch
│ │ ├── mtest.c.patch
│ │ ├── os_lnx.c.patch
│ │ ├── os_lnx.h.patch
│ │ ├── pine.conf
│ │ └── pw_stuff.c.patch
│ ├── antiword/
│ │ ├── Makefile.Linux.patch
│ │ ├── antiword.h.patch
│ │ └── build.sh
│ ├── apache2/
│ │ ├── Termux.layout
│ │ ├── build-instdso.sh.patch
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── apg/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── install-sh.patch
│ ├── apksigner/
│ │ └── build.sh
│ ├── apr/
│ │ ├── Makefile.in.patch
│ │ └── build.sh
│ ├── apr-util/
│ │ └── build.sh
│ ├── apt/
│ │ ├── 0000-cmake-fix.patch
│ │ ├── 0001-hardcoded-paths-fix.patch
│ │ ├── 0002-glob.patch
│ │ ├── 0003-langinfo-and-codeset.patch
│ │ ├── 0004-srv-records.patch
│ │ ├── 0005-http2-fix.patch
│ │ ├── 0006-apt-key-nonroot.patch
│ │ ├── 0007-termux-apt-vendor.patch
│ │ ├── 0008-apt-init.patch
│ │ ├── 0009-fix-macro-redefinition.patch
│ │ ├── 0010-prevent-usage-as-root.patch
│ │ ├── apt-ftparchive.subpackage.sh
│ │ ├── apt-transport-tor.subpackage.sh
│ │ ├── build.sh
│ │ ├── man/
│ │ │ ├── man5/
│ │ │ │ ├── apt.conf.5
│ │ │ │ ├── apt_preferences.5
│ │ │ │ └── sources.list.5
│ │ │ └── man8/
│ │ │ ├── apt-cache.8
│ │ │ ├── apt-config.8
│ │ │ ├── apt-get.8
│ │ │ ├── apt-key.8
│ │ │ ├── apt-mark.8
│ │ │ ├── apt-secure.8
│ │ │ └── apt.8
│ │ └── trusted.gpg
│ ├── aptly/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── argp/
│ │ ├── argp-fmtstream.h.patch
│ │ └── build.sh
│ ├── aria2/
│ │ └── build.sh
│ ├── arj/
│ │ ├── 001_arches_align.patch
│ │ ├── 002_no_remove_static_const.patch
│ │ ├── 003_64_bit_clean.patch
│ │ ├── 004_parallel_build.patch
│ │ ├── 005_use_system_strnlen.patch
│ │ ├── 006_use_safe_strcpy.patch
│ │ ├── build.sh
│ │ ├── doc_refer_robert_k_jung.patch
│ │ ├── gnu_build_fix.patch
│ │ ├── gnu_build_flags.patch
│ │ ├── gnu_build_pie.patch
│ │ ├── gnu_build_strip.patch
│ │ ├── hurd_no_fcntl_getlk.patch
│ │ ├── integr.patch
│ │ ├── mode.patch
│ │ ├── out-of-bounds-read.patch
│ │ ├── security-afl.patch
│ │ ├── security-traversal-dir.patch
│ │ ├── security-traversal-symlink.patch
│ │ ├── security_format.patch
│ │ ├── self_integrity_64bit.patch
│ │ └── z_cross_compile.patch
│ ├── asciidoc/
│ │ └── build.sh
│ ├── asciinema/
│ │ ├── asciinema-__main__.py.patch
│ │ └── build.sh
│ ├── assimp/
│ │ ├── build.sh
│ │ └── test-CMakeLists.txt.patch
│ ├── atomicparsley/
│ │ └── build.sh
│ ├── attr/
│ │ ├── build.sh
│ │ ├── tools-attr.c.patch
│ │ └── walk_tree.c.patch
│ ├── autoconf/
│ │ ├── General.pm.patch
│ │ └── build.sh
│ ├── automake/
│ │ └── build.sh
│ ├── autossh/
│ │ └── build.sh
│ ├── axel/
│ │ └── build.sh
│ ├── babl/
│ │ ├── babl-meson.build.patch
│ │ ├── build.sh
│ │ ├── tests-meson.build.patch
│ │ └── tools-meson.build.patch
│ ├── barcode/
│ │ └── build.sh
│ ├── bash/
│ │ ├── build.sh
│ │ ├── config-top.h.patch
│ │ ├── error.c.patch
│ │ ├── etc-bash.bashrc
│ │ ├── etc-profile
│ │ ├── lib-malloc-stats.c.patch
│ │ ├── lib-malloc-table.c.patch
│ │ ├── lib-malloc-trace.c.patch
│ │ ├── lib-readline-complete.c.patch
│ │ ├── lib-readline-rlconf.h.patch
│ │ ├── lib-readline-util.c.patch
│ │ ├── lib-sh-tmpfile.c.patch
│ │ ├── pathnames.h.in.patch
│ │ └── shell.c.patch
│ ├── bash-completion/
│ │ ├── build.sh
│ │ └── completions-man.patch
│ ├── bat/
│ │ └── build.sh
│ ├── bc/
│ │ └── build.sh
│ ├── beanshell/
│ │ └── build.sh
│ ├── binutils/
│ │ ├── binutils-gold.subpackage.sh
│ │ ├── binutils.patch
│ │ ├── build.sh
│ │ ├── dirsearch.cc.patch
│ │ ├── ld-emultempl-elf32.em.patch
│ │ ├── ldd
│ │ ├── native_lib_dirs.patch32
│ │ ├── native_lib_dirs.patch64
│ │ ├── options.cc.patch32
│ │ └── options.cc.patch64
│ ├── bison/
│ │ └── build.sh
│ ├── bitcoin/
│ │ ├── 0001-android-patches.patch
│ │ ├── build-aux-m4-ax_boost_thread.m4.patch
│ │ └── build.sh
│ ├── blogc/
│ │ ├── build.sh
│ │ └── termux-prefix.patch
│ ├── bmon/
│ │ ├── build.sh
│ │ └── config.h.patch
│ ├── boost/
│ │ ├── bootstrap.sh.patch
│ │ ├── build.sh
│ │ ├── python.jam.patch
│ │ └── tools-build-src-tools-common.jam.patch
│ ├── brotli/
│ │ ├── CMakeLists.txt.patch
│ │ └── build.sh
│ ├── build-essential/
│ │ └── build.sh
│ ├── busybox/
│ │ ├── 0000-use-clang.patch
│ │ ├── 0001-clang-fix.patch
│ │ ├── 0002-hardcoded-paths-fix.patch
│ │ ├── 0003-strchrnul-fix.patch
│ │ ├── 0004-missing-syscalls.patch
│ │ ├── 0005-no-change-identity.patch
│ │ ├── 0006-no-crypt.h.patch
│ │ ├── 0007-miscutils-crond.patch
│ │ ├── 0008-miscutils-crontab.patch
│ │ ├── 0009-networking-ftpd-no-chroot.patch
│ │ ├── 0010-networking-httpd-default-port.patch
│ │ ├── 0011-networking-telnetd-default-port.patch
│ │ ├── 0012-networking-tftp-no-chroot.patch
│ │ ├── build.sh
│ │ └── busybox.config
│ ├── bvi/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ ├── column_number_bugfix.patch
│ │ └── comm.c.patch
│ ├── byobu/
│ │ ├── build.sh
│ │ └── usr-bin-byobu.in.patch
│ ├── c-ares/
│ │ ├── build.sh
│ │ ├── disable-ares-android.patch
│ │ └── fix-path-etc-hosts.patch
│ ├── c-toxcore/
│ │ └── build.sh
│ ├── ca-certificates/
│ │ ├── build.sh
│ │ └── ca-certificates-java.subpackage.sh
│ ├── cabextract/
│ │ └── build.sh
│ ├── caddy/
│ │ └── build.sh
│ ├── calcurse/
│ │ ├── build.sh
│ │ ├── io.c.patch
│ │ ├── src-notify.c.patch
│ │ └── src-ui-calendar.c.patch
│ ├── capstone/
│ │ └── build.sh
│ ├── cava/
│ │ ├── Makefile.am.patch
│ │ ├── build.sh
│ │ ├── config.c.patch
│ │ └── configure.ac.patch
│ ├── cboard/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── libchess-pgn.c.patch
│ ├── ccache/
│ │ └── build.sh
│ ├── ccnet/
│ │ ├── build.sh
│ │ └── configure.ac.patch
│ ├── ccrypt/
│ │ └── build.sh
│ ├── cgdb/
│ │ ├── build.sh
│ │ └── cgdb.cpp.patch
│ ├── chromaprint/
│ │ └── build.sh
│ ├── clamav/
│ │ ├── build.sh
│ │ ├── clamd.conf.in
│ │ ├── configure.patch
│ │ ├── fix-hardcoded-paths.patch
│ │ ├── freshclam.conf.in
│ │ └── no-lutimes.patch
│ ├── cmake/
│ │ ├── Modules-CMakeDetermineSystem.cmake.patch
│ │ ├── Modules-Platform-Android-Clang.cmake.patch
│ │ ├── Modules-Platform-Android-Determine-Compiler.cmake.patch
│ │ ├── Modules-Platform-Android-Determine.cmake.patch
│ │ ├── Modules-Platform-Android-Initialize.cmake.patch
│ │ ├── Modules-Platform-Android.cmake.patch
│ │ ├── Source-CMakeLists.txt.patch
│ │ ├── Source-cmExecProgramCommand.cxx.patch
│ │ ├── Source-cmLocalUnixMakefileGenerator3.cxx.patch
│ │ ├── Source-cmStateSnapshot.cxx.patch
│ │ ├── build.sh
│ │ └── cmake-curses-gui.subpackage.sh
│ ├── cmark/
│ │ └── build.sh
│ ├── cmatrix/
│ │ └── build.sh
│ ├── cmus/
│ │ ├── build.sh
│ │ ├── checks.patch
│ │ └── configure.patch
│ ├── cmusfm/
│ │ └── build.sh
│ ├── codecrypt/
│ │ ├── autogen.sh.patch
│ │ ├── build.sh
│ │ └── getpass.patch
│ ├── colordiff/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── command-not-found/
│ │ └── build.sh
│ ├── coreutils/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── fix-paths.patch
│ │ ├── nohup.c.patch
│ │ ├── pwd.c.patch
│ │ ├── src-ls.c.patch
│ │ └── tests/
│ │ └── tails-c-flag.sh
│ ├── corkscrew/
│ │ ├── build.sh
│ │ └── corkscrew.1
│ ├── cowsay/
│ │ ├── build.sh
│ │ └── install.sh.patch
│ ├── cpio/
│ │ └── build.sh
│ ├── cppi/
│ │ └── build.sh
│ ├── crunch/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── cryptopp/
│ │ ├── build.sh
│ │ ├── cpu.cpp.patch
│ │ └── fix-lib-symlinks.patch
│ ├── cscope/
│ │ ├── build.sh
│ │ ├── errno.patch
│ │ └── src-main.c.patch
│ ├── ctags/
│ │ ├── build.sh
│ │ └── configure.ac.patch
│ ├── cvs/
│ │ ├── build.sh
│ │ └── src-log.c.patch
│ ├── daemonize/
│ │ ├── build.sh
│ │ └── daemonize.c.patch
│ ├── darkhttpd/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── dart/
│ │ ├── build.sh
│ │ ├── dart-pub-bin.sh
│ │ ├── fix-shell-path.patch
│ │ └── sdk-runtime-bin-directory_android.cc.patch
│ ├── dash/
│ │ ├── build.sh
│ │ ├── etc-profile.patch
│ │ ├── mktokens.patch
│ │ └── src-var.c.patch
│ ├── dasm/
│ │ └── build.sh
│ ├── datamash/
│ │ └── build.sh
│ ├── dcraw/
│ │ ├── build.sh
│ │ └── swab.c
│ ├── ddrescue/
│ │ ├── build.sh
│ │ └── fix-configure.patch
│ ├── debianutils/
│ │ ├── add-shell.patch
│ │ ├── build.sh
│ │ └── remove-shell.patch
│ ├── debootstrap/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── debootstrap.patch
│ │ ├── fix-keyring-paths.patch
│ │ ├── functions.patch
│ │ └── scripts-debian-common.patch
│ ├── deutex/
│ │ └── build.sh
│ ├── dialog/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── dictd/
│ │ ├── build.sh
│ │ └── dictd.patch
│ ├── diffutils/
│ │ └── build.sh
│ ├── direnv/
│ │ └── build.sh
│ ├── direvent/
│ │ ├── build.sh
│ │ └── preproc.c.patch
│ ├── diskus/
│ │ └── build.sh
│ ├── dnsutils/
│ │ ├── bin-delv-delv.c.patch
│ │ ├── build.sh
│ │ ├── lib-irs-context.c.patch
│ │ └── lib-isc-pthreads-thread.c.patch
│ ├── docbook-xml/
│ │ └── build.sh
│ ├── docbook-xsl/
│ │ ├── 765567_non-recursive_string_subst.patch
│ │ └── build.sh
│ ├── dos2unix/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── double-conversion/
│ │ └── build.sh
│ ├── doxygen/
│ │ ├── build.sh
│ │ └── doxyparse.cpp.patch
│ ├── dpkg/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── dbmodify_dont_require_root.patch
│ │ ├── extract.c.patch
│ │ ├── lib-dpkg-atomic-file.c.patch
│ │ ├── lib-dpkg-dpkg.h.patch
│ │ ├── lib-dpkg-path-remove.c.patch
│ │ ├── lib-dpkg-triglib.c.patch
│ │ ├── src-archives.c.patch
│ │ ├── src-configure.c.patch
│ │ ├── src-help.c.patch
│ │ └── src-statcmd.c.patch
│ ├── dropbear/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ ├── common-session.c.patch
│ │ ├── compat.c.patch
│ │ ├── default_options.h.patch
│ │ ├── gensignkey.c.patch
│ │ ├── sshpty.c.patch
│ │ ├── svr-agentfwd.c.patch
│ │ ├── svr-auth.c.patch
│ │ ├── svr-authpasswd.c.patch
│ │ ├── svr-chansession.c.patch
│ │ └── sysoptions.h.patch
│ ├── dtc/
│ │ └── build.sh
│ ├── dte/
│ │ └── build.sh
│ ├── duc/
│ │ ├── build.sh
│ │ └── cmd-ls.c.patch
│ ├── dvtm/
│ │ ├── build.sh
│ │ ├── fix-fifo-path.patch
│ │ └── vt.c.patch
│ ├── dx/
│ │ ├── build.sh
│ │ └── dx
│ ├── e2fsprogs/
│ │ ├── build.sh
│ │ ├── clang-compat.patch
│ │ ├── doc-Makefile.in.patch
│ │ ├── fix-hardcoded-paths.patch
│ │ ├── fsmap.h.patch
│ │ └── hasmntopt.patch
│ ├── ecj/
│ │ ├── build.sh
│ │ ├── ecj
│ │ └── ecj-24
│ ├── ed/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── elinks/
│ │ ├── build.sh
│ │ └── elinks-fix-paths.patch
│ ├── elixir/
│ │ └── build.sh
│ ├── emacs/
│ │ ├── build.sh
│ │ ├── lib-src-emacsclient.c.patch
│ │ ├── lisp-cus-start.el.patch.beforehostbuild
│ │ ├── lisp-loadup.el-2.patch.beforehostbuild
│ │ ├── lisp-net-tramp.el.patch.beforehostbuild
│ │ ├── lisp-server.el.patch.beforehostbuild
│ │ ├── lisp-subr.el.patch.beforehostbuild
│ │ ├── lisp-term.el.patch.beforehostbuild
│ │ ├── lisp-textmodes-ispell.el.patch.beforehostbuild
│ │ ├── no_user_fullname.patch
│ │ ├── site-init.el
│ │ ├── src-callproc.c.patch
│ │ ├── src-filelock.c.patch
│ │ └── src-keyboard.c.patch
│ ├── erlang/
│ │ ├── build.sh
│ │ ├── erts-emulator-Makefile.in.patch
│ │ └── prefix.patch
│ ├── espeak/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── compat-stdint.h.patch
│ ├── exa/
│ │ ├── build.sh
│ │ └── src-output-table.rs.patch
│ ├── exiftool/
│ │ └── build.sh
│ ├── exiv2/
│ │ ├── build.sh
│ │ └── exiv2json.cpp.patch
│ ├── expect/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ └── configure.in.patch
│ ├── fakeroot/
│ │ ├── build.sh
│ │ ├── fakeroot-1.23_faked.c.patch
│ │ ├── fakeroot-1.23_libfakeroot.c.patch
│ │ └── fakeroot-1.23_scripts_fakeroot.in.patch
│ ├── fasd/
│ │ └── build.sh
│ ├── fastmod/
│ │ ├── build.sh
│ │ └── vi-as-default-editor.patch
│ ├── fbless/
│ │ └── build.sh
│ ├── fcgi/
│ │ └── build.sh
│ ├── fcgiwrap/
│ │ ├── build.sh
│ │ └── fix-kill-parameters.patch
│ ├── fd/
│ │ ├── Cargo.toml.patch
│ │ ├── build.sh
│ │ └── src-main.rs.patch
│ ├── fdupes/
│ │ └── build.sh
│ ├── ffmpeg/
│ │ ├── build.sh
│ │ └── libavutil-file_open.c.patch
│ ├── ffsend/
│ │ └── build.sh
│ ├── fftw/
│ │ ├── build.sh
│ │ └── fix-wisdom_dir.patch
│ ├── figlet/
│ │ ├── build.sh
│ │ ├── figlet.c.patch
│ │ └── makefile.patch
│ ├── file/
│ │ ├── build.sh
│ │ └── fix-paths.patch
│ ├── finch/
│ │ ├── arpa/
│ │ │ ├── nameser.h
│ │ │ └── nameser_compat.h
│ │ ├── bonjour-makefile.patch
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── dont-build-nullclient-example.patch
│ │ ├── gg-makefile.patch
│ │ ├── irc-makefile.patch
│ │ ├── jabber-makefile.patch
│ │ ├── libgnt-gntmain.c.patch
│ │ ├── oscar-makefile.patch
│ │ ├── sametime-makefile.patch
│ │ ├── silc-makefile.patch
│ │ ├── silc10-makefile.patch
│ │ ├── simple-makefile.patch
│ │ └── ssl-makefile.patch
│ ├── findutils/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── find-parser.c.patch
│ │ └── gl-lib-mountlist.c.patch
│ ├── fish/
│ │ ├── build.sh
│ │ ├── create_manpage_completions.py.patch
│ │ ├── share-functions-__fish_print_help.fish.patch
│ │ ├── src-env.cpp.patch
│ │ ├── src-fish.cpp.patch
│ │ └── src-wutil.cpp.patch
│ ├── flex/
│ │ ├── Makefile.in.patch
│ │ └── build.sh
│ ├── fontconfig/
│ │ ├── build.sh
│ │ ├── fcatomic.c.patch
│ │ └── fontconfig-utils.subpackage.sh
│ ├── fortune/
│ │ ├── build.sh
│ │ └── fortune.c.patch
│ ├── fossil/
│ │ ├── build.sh
│ │ ├── src-main.c.patch
│ │ ├── src-popen.c.patch
│ │ └── src-user.c.patch
│ ├── freetype/
│ │ └── build.sh
│ ├── fribidi/
│ │ └── build.sh
│ ├── frobtads/
│ │ ├── build.sh
│ │ └── no_asprintf.patch
│ ├── fsmon/
│ │ └── build.sh
│ ├── fwknop/
│ │ └── build.sh
│ ├── fzf/
│ │ ├── bin-fzf-tmux.patch
│ │ └── build.sh
│ ├── game-repo/
│ │ └── build.sh
│ ├── gawk/
│ │ ├── build.sh
│ │ ├── io.c.patch
│ │ ├── main.c.patch
│ │ ├── no_pw_gecos.patch
│ │ └── stack_index.patch
│ ├── gbt/
│ │ └── build.sh
│ ├── gcal/
│ │ └── build.sh
│ ├── gdb/
│ │ ├── archive_c_st_mtime.patch
│ │ ├── build.sh
│ │ ├── fix-tmp_prefix.patch
│ │ ├── gdb-amd64-linux-nat.c.patch
│ │ ├── gdb-cli-cli-cmds.c.patch
│ │ ├── gdb-common-job-control.c.patch
│ │ ├── gdb-common-pathstuff.c.patch
│ │ ├── gdb-common-signals-state-save-restore.c.patch
│ │ ├── gdb-gdbserver-configure.patch
│ │ ├── gdb-gnulib-import-string.in.h.patch
│ │ ├── gdb-ser-pipe.c.patch
│ │ ├── gdb-solib.c.patch
│ │ ├── gregset.h.patch
│ │ ├── linux_thread_db_no_th_unique.patch
│ │ ├── readline-histlib.h.patch.debug
│ │ └── readline.patch
│ ├── gdbm/
│ │ ├── build.sh
│ │ └── termios_h.patch
│ ├── gdk-pixbuf/
│ │ └── build.sh
│ ├── gegl/
│ │ ├── 6bcf95fd0f32cf5e8b1ddbe17b14d9ad049bded8.patch
│ │ └── build.sh
│ ├── geoip2-database/
│ │ └── build.sh
│ ├── getconf/
│ │ └── build.sh
│ ├── geth/
│ │ ├── build.sh
│ │ ├── fix-names-conflict.patch
│ │ └── geth-utils.subpackage.sh
│ ├── getmail/
│ │ ├── build.sh
│ │ └── utilities.py.patch
│ ├── gettext/
│ │ ├── build.sh
│ │ ├── gnulib-libmakefile.am.patch
│ │ └── msginit.c.patch
│ ├── gflags/
│ │ └── build.sh
│ ├── ghostscript/
│ │ ├── arch-aarch64.h
│ │ ├── arch-arm.h
│ │ ├── arch-i686.h
│ │ ├── arch-x86_64.h
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── gserrors.h.patch
│ ├── giflib/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── giflib-utils.subpackage.sh
│ ├── gifsicle/
│ │ └── build.sh
│ ├── git/
│ │ ├── build.sh
│ │ ├── config.c.patch
│ │ ├── config.mak.uname.patch
│ │ ├── disable_daemon_syslog.patch
│ │ ├── git.patch
│ │ ├── help.c.patch
│ │ ├── run-command.c.patch
│ │ └── tempfile.c.patch
│ ├── git-crypt/
│ │ └── build.sh
│ ├── git-lfs/
│ │ └── build.sh
│ ├── gitea/
│ │ ├── app.ini
│ │ ├── build.sh
│ │ └── gitea-service.sh
│ ├── gkermit/
│ │ ├── build.sh
│ │ └── makefile.patch
│ ├── glib/
│ │ ├── build.sh
│ │ ├── fix-hardcoded-paths.patch
│ │ ├── glib-bin.subpackage.sh
│ │ ├── glib-gspawn.c.patch
│ │ ├── glib-gtimezone.c.patch
│ │ ├── glib-gutils.c.patch
│ │ └── meson.build.patch
│ ├── global/
│ │ ├── build.sh
│ │ ├── echo-path.patch
│ │ └── libutil-makepath.c.patch
│ ├── gmic/
│ │ ├── CImg.h.patch
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── gmic-gm.subpackage.sh
│ ├── gnuchess/
│ │ ├── build.sh
│ │ ├── components.cc.patch
│ │ └── main.cc.patch
│ ├── gnuit/
│ │ ├── build.sh
│ │ ├── system.c.patch
│ │ └── tilde.c-history.c.patch.debug
│ ├── gnupg/
│ │ ├── agent-agent.h.patch
│ │ ├── build.sh
│ │ ├── common-dotlock.c.patch
│ │ ├── configure.patch
│ │ ├── fix-paths.patch
│ │ └── gpgv.subpackage.sh
│ ├── gnuplot/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── plot.c.patch
│ │ └── src-command.c.patch
│ ├── go-findimagedupes/
│ │ └── build.sh
│ ├── goaccess/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── tcbtdb.h.patch
│ │ └── websocket.h.patch
│ ├── golang/
│ │ ├── build.sh
│ │ ├── golang-doc.subpackage.sh
│ │ ├── src-os-file_unix.go.patch
│ │ ├── src-runtime-cgo-cgo.go.patch
│ │ └── src-runtime-cgo-gcc_android.c.patch
│ ├── google-glog/
│ │ └── build.sh
│ ├── googletest/
│ │ └── build.sh
│ ├── gotty/
│ │ └── build.sh
│ ├── gperf/
│ │ ├── build.sh
│ │ └── output.cc.patch
│ ├── gpgme/
│ │ └── build.sh
│ ├── gpsbabel/
│ │ └── build.sh
│ ├── graphicsmagick/
│ │ └── build.sh
│ ├── graphviz/
│ │ ├── add-libcommon-to-gc.patch
│ │ ├── build.sh
│ │ ├── cmd-edgepaint-Makefile.in.patch
│ │ ├── configure.patch
│ │ ├── no-configure-dot-plugins.patch
│ │ ├── no-mkdefs.patch
│ │ └── sfdpgen-free.patch
│ ├── grep/
│ │ └── build.sh
│ ├── gsl/
│ │ └── build.sh
│ ├── gst-plugins-bad/
│ │ └── build.sh
│ ├── gst-plugins-base/
│ │ └── build.sh
│ ├── gst-plugins-good/
│ │ ├── autoplug_libcaca.patch
│ │ └── build.sh
│ ├── gst-plugins-ugly/
│ │ └── build.sh
│ ├── gstreamer/
│ │ └── build.sh
│ ├── gtypist/
│ │ ├── build.sh
│ │ ├── dont_build_manpage.patch
│ │ ├── src-cursmenu.c.patch
│ │ ├── src-gtypist.c.patch
│ │ └── src-utf8.c.patch
│ ├── gumbo-parser/
│ │ └── build.sh
│ ├── gzip/
│ │ ├── build.sh
│ │ ├── fix-gzexe.patch
│ │ ├── lib-stdio-impl.h.patch
│ │ ├── zdiff.in.patch
│ │ └── zgrep.in.patch
│ ├── harfbuzz/
│ │ ├── build.sh
│ │ ├── harfbuzz-icu.subpackage.sh
│ │ └── harfbuzz-utils.subpackage.sh
│ ├── hashdeep/
│ │ ├── PRIu_PRId.patch
│ │ ├── build.sh
│ │ ├── configure.ac.patch
│ │ └── hash.patch
│ ├── help2man/
│ │ └── build.sh
│ ├── hexcurse/
│ │ ├── build.sh
│ │ └── hexcurse.c.patch
│ ├── hexedit/
│ │ └── build.sh
│ ├── hexyl/
│ │ └── build.sh
│ ├── heyu/
│ │ └── build.sh
│ ├── hfsutils/
│ │ ├── build.sh
│ │ ├── lfs.patch
│ │ └── replace_hardlink_with_symlink.patch
│ ├── hiptext/
│ │ ├── artiste.cc.patch
│ │ ├── build.sh
│ │ ├── font.cc.patch
│ │ └── movie.cc.patch
│ ├── hoedown/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── htop/
│ │ ├── build.sh
│ │ └── fix-missing-macros.patch
│ ├── httping/
│ │ ├── build.sh
│ │ ├── fix-spam_file-path.patch
│ │ └── mssl.c.patch
│ ├── httrack/
│ │ ├── build.sh
│ │ ├── htsglobal.h.patch
│ │ └── store.c.patch
│ ├── hub/
│ │ ├── build.sh
│ │ └── utils-utils.go.patch
│ ├── hugo/
│ │ └── build.sh
│ ├── hunspell/
│ │ ├── build.sh
│ │ ├── fix-hardcoded-paths.patch
│ │ └── src-tools-hunspell.cxx.patch
│ ├── hunspell-en-us/
│ │ └── build.sh
│ ├── hunspell-ru/
│ │ └── build.sh
│ ├── hydra/
│ │ ├── build.sh
│ │ └── hydra.c.patch
│ ├── hyperfine/
│ │ └── build.sh
│ ├── icecast/
│ │ ├── build.sh
│ │ └── thread.c.patch
│ ├── imagemagick/
│ │ └── build.sh
│ ├── imgflo/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── env.sh.in.patch
│ │ └── library.c.patch
│ ├── imlib2/
│ │ ├── build.sh
│ │ ├── imlib2-1.5.1_src_bin_imlib2_show.c.patch
│ │ ├── imlib2-1.5.1_src_lib_ximage.c.patch
│ │ ├── imlib2-1.5.1_src_modules_loaders_loader_bz2.c.patch
│ │ ├── imlib2-1.5.1_src_modules_loaders_loader_id3.c.patch
│ │ ├── imlib2-1.5.1_src_modules_loaders_loader_xpm.c.patch
│ │ └── imlib2-1.5.1_src_modules_loaders_loader_zlib.c.patch
│ ├── indent/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ └── code_io.c.patch
│ ├── inetutils/
│ │ ├── build.sh
│ │ ├── configure-pthreads-no-weak.patch
│ │ ├── ftp-getpass.patch
│ │ ├── ftpd.c.patch
│ │ ├── if_index.c.patch
│ │ └── utmp_logout.c.patch
│ ├── inotify-tools/
│ │ ├── build.sh
│ │ └── src-Makefile.am.patch
│ ├── ipcalc/
│ │ └── build.sh
│ ├── iperf3/
│ │ ├── build.sh
│ │ ├── main_Makefile.in.patch
│ │ └── src-iperf_api.c.patch
│ ├── ipfs/
│ │ ├── build.sh
│ │ └── go-ipfs-0.4.15_bin_dist_get.patch
│ ├── ipmitool/
│ │ ├── build.sh
│ │ ├── index-strchr.patch
│ │ └── openssl-1.1.patch
│ ├── ired/
│ │ └── build.sh
│ ├── irssi/
│ │ ├── build.sh
│ │ └── fix-paths.patch
│ ├── isync/
│ │ ├── build.sh
│ │ └── isync.patch
│ ├── iverilog/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ ├── driver-main.c.patch
│ │ └── vvp-Makefile.in.patch
│ ├── jbig2dec/
│ │ └── build.sh
│ ├── jhead/
│ │ └── build.sh
│ ├── joe/
│ │ ├── build.sh
│ │ ├── do_not_build_utils.patch
│ │ ├── fix_errno.patch
│ │ └── no_getpwent.patch
│ ├── jp2a/
│ │ └── build.sh
│ ├── jq/
│ │ └── build.sh
│ ├── json-c/
│ │ └── build.sh
│ ├── json-glib/
│ │ └── build.sh
│ ├── jsoncpp/
│ │ └── build.sh
│ ├── jupp/
│ │ └── build.sh
│ ├── kakoune/
│ │ ├── build.sh
│ │ └── src-cs-path-compat.patch
│ ├── keybase/
│ │ ├── build.sh
│ │ └── go-libkb-env.go.patch
│ ├── keystone/
│ │ └── build.sh
│ ├── kona/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── getline_android.c.patch
│ │ ├── src-0.c.patch
│ │ ├── src-bswap.c.patch
│ │ ├── src-getline.h.patch
│ │ ├── src-kn.c.patch
│ │ ├── src-p.c.patch
│ │ └── src-v.h.patch
│ ├── krb5/
│ │ ├── build.sh
│ │ ├── config-files-kdc.conf.patch
│ │ ├── include-osconf.hin.patch
│ │ ├── krb5-config_LDFLAGS.patch
│ │ ├── netbsd_getpass.c
│ │ ├── plugins-kdb-db2.patch
│ │ └── sethostent.patch
│ ├── kubectl/
│ │ └── build.sh
│ ├── ldc/
│ │ ├── build.sh
│ │ ├── ldc-readme.patch
│ │ ├── ldc-x64-sprintf.patch
│ │ └── tests/
│ │ └── hello_world.sh
│ ├── ldns/
│ │ ├── build.sh
│ │ ├── fix-hardcoded-paths.patch
│ │ └── keys.c.patch
│ ├── ledger/
│ │ └── build.sh
│ ├── leptonica/
│ │ ├── build.sh
│ │ ├── silence-tmpfile-warnings.patch
│ │ └── src-recogbasic.c.patch
│ ├── less/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── less_multilib.patch
│ ├── leveldb/
│ │ └── build.sh
│ ├── lftp/
│ │ ├── build.sh
│ │ ├── lftp_ssl.cc.patch
│ │ ├── lib-vasnprintf.c.patch
│ │ ├── src-Filter.cc.patch
│ │ ├── src-PtyShell.cc.patch
│ │ ├── src-SysCmdJob.cc.patch
│ │ └── src-commands.cc.patch
│ ├── lhasa/
│ │ └── build.sh
│ ├── libandroid-glob/
│ │ ├── build.sh
│ │ ├── glob.c
│ │ └── glob.h
│ ├── libandroid-shmem/
│ │ └── build.sh
│ ├── libandroid-spawn/
│ │ ├── build.sh
│ │ ├── posix_spawn.cpp
│ │ └── posix_spawn.h
│ ├── libandroid-support/
│ │ └── build.sh
│ ├── libao/
│ │ ├── ao_private.h.patch
│ │ ├── ao_pulse.c.patch
│ │ ├── build.sh
│ │ └── configure.ac.patch
│ ├── libarchive/
│ │ ├── archive.h.patch
│ │ ├── archive_entry.h.patch
│ │ ├── archive_string.c.patch
│ │ ├── archive_util.c.patch
│ │ ├── archive_write_disk_posix.c.patch
│ │ ├── archive_write_set_format_zip.c.patch
│ │ ├── bsdtar.subpackage.sh
│ │ └── build.sh
│ ├── libass/
│ │ └── build.sh
│ ├── libassuan/
│ │ └── build.sh
│ ├── libbsd/
│ │ ├── build.sh
│ │ ├── endian.h.patch
│ │ ├── funopen.c.patch
│ │ ├── local-elf.h.patch
│ │ └── nlist.c.patch
│ ├── libbz2/
│ │ ├── build.sh
│ │ ├── bzdiff.patch
│ │ ├── bzip2.subpackage.sh
│ │ ├── cross_compile.patch
│ │ └── shared_library.patch
│ ├── libc++/
│ │ └── build.sh
│ ├── libcaca/
│ │ └── build.sh
│ ├── libcairo/
│ │ ├── android-shmem.patch
│ │ ├── build.sh
│ │ ├── cairo-script-operators.c.patch
│ │ └── fdr.c.patch
│ ├── libcap/
│ │ ├── build.sh
│ │ ├── libcap-makefile.patch
│ │ └── progs-capsh.patch
│ ├── libcln/
│ │ ├── build.sh
│ │ ├── revert_configure_tests.patch
│ │ ├── src-base-low-cl_low_div.cc.patch
│ │ └── src-base-low-cl_low_mul.cc.patch
│ ├── libcoap/
│ │ └── build.sh
│ ├── libconfig/
│ │ └── build.sh
│ ├── libconfuse/
│ │ └── build.sh
│ ├── libcroco/
│ │ └── build.sh
│ ├── libcrypt/
│ │ ├── build.sh
│ │ ├── crypt.h
│ │ └── crypt3.c
│ ├── libcue/
│ │ └── build.sh
│ ├── libcurl/
│ │ ├── build.sh
│ │ └── curl.subpackage.sh
│ ├── libdav1d/
│ │ └── build.sh
│ ├── libdb/
│ │ ├── build.sh
│ │ ├── db.subpackage.sh
│ │ ├── fix-tmpdir.patch
│ │ ├── lang-sql-generated-sqlite3.c.patch
│ │ └── lang-sql-sqlite-src-os_unix.c.patch
│ ├── libdispatch/
│ │ ├── build.sh
│ │ └── src-CMakeLists.txt.patch
│ ├── libduktape/
│ │ ├── build.sh
│ │ └── duktape.subpackage.sh
│ ├── libedit/
│ │ ├── build.sh
│ │ ├── src-readline.c.patch
│ │ └── src-vi.c.patch
│ ├── libelf/
│ │ ├── aligned_alloc.c
│ │ ├── build.sh
│ │ ├── dwfl_error.c.patch
│ │ ├── elf_getarsym.c.patch
│ │ ├── elf_update.c.patch
│ │ ├── error.h
│ │ ├── lib-color.c.patch
│ │ ├── libdwflP.h.patch
│ │ ├── libelfmakefile.am.patch
│ │ ├── obstack.h
│ │ ├── qsort_r.h
│ │ ├── ranlib.c.patch
│ │ ├── src-readelf.c.patch
│ │ ├── stdio_ext.h
│ │ ├── strings.c.patch
│ │ ├── strip.c.patch
│ │ └── unstrip.c.patch
│ ├── libev/
│ │ ├── Makefile.in.patch
│ │ └── build.sh
│ ├── libevent/
│ │ ├── build.sh
│ │ ├── evdns.c.patch
│ │ ├── evutil.c.patch
│ │ └── evutil_rand.c.patch
│ ├── libexif/
│ │ └── build.sh
│ ├── libexpat/
│ │ └── build.sh
│ ├── libffi/
│ │ └── build.sh
│ ├── libflac/
│ │ ├── build.sh
│ │ └── flac.subpackage.sh
│ ├── libgc/
│ │ ├── build.sh
│ │ └── include-private-gcconfig.h.patch
│ ├── libgcrypt/
│ │ ├── build.sh
│ │ └── fix-hardcoded-paths.patch
│ ├── libgd/
│ │ └── build.sh
│ ├── libgfshare/
│ │ └── build.sh
│ ├── libgit2/
│ │ ├── build.sh
│ │ └── fix-etc-dir-path.patch
│ ├── libgmime/
│ │ ├── build.sh
│ │ └── iconv-detect.h.patch
│ ├── libgmp/
│ │ └── build.sh
│ ├── libgnutls/
│ │ ├── build.sh
│ │ └── gnutls.subpackage.sh
│ ├── libgpg-error/
│ │ ├── atexit.patch
│ │ ├── build.sh
│ │ ├── gawk5.0-support.patch
│ │ └── lock-obj-pub.aarch64-unknown-linux-android.h
│ ├── libgraphite/
│ │ ├── CMakeLists.txt.patch
│ │ ├── build.sh
│ │ └── src-CMakeLists.txt.patch
│ ├── libgrpc/
│ │ ├── CMakeLists.txt.diff
│ │ ├── CMakeLists.txt.patch
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── fix-arg-list-too-long.patch.beforehostbuild
│ │ ├── log_android.cc.patch
│ │ └── src-core-lib-grpc-wrap_memcpy.cc.patch
│ ├── libgsasl/
│ │ └── build.sh
│ ├── libical/
│ │ ├── CMakeLists.txt.patch
│ │ ├── build.sh
│ │ └── src-libical-CMakeLists.txt.patch
│ ├── libiconv/
│ │ ├── build.sh
│ │ └── iconv.subpackage.sh
│ ├── libicu/
│ │ ├── build.sh
│ │ └── icu-devtools.subpackage.sh
│ ├── libid3tag/
│ │ └── build.sh
│ ├── libidn/
│ │ └── build.sh
│ ├── libidn2/
│ │ └── build.sh
│ ├── libisl/
│ │ └── build.sh
│ ├── libjansson/
│ │ └── build.sh
│ ├── libjasper/
│ │ ├── CMakeLists.txt.patch
│ │ ├── build.sh
│ │ └── libjasper-utils.subpackage.sh
│ ├── libjpeg-turbo/
│ │ ├── build.sh
│ │ └── libjpeg-turbo-progs.subpackage.sh
│ ├── libksba/
│ │ └── build.sh
│ ├── libllvm/
│ │ ├── ORCv2.rst.patch
│ │ ├── build.sh
│ │ ├── clang.subpackage.sh
│ │ ├── cxx-libm.patch
│ │ ├── lld.subpackage.sh
│ │ ├── llvm-config.in
│ │ ├── llvm.subpackage.sh
│ │ ├── nl_types.h
│ │ ├── nltypes_stubs.cpp
│ │ ├── openmp-config-ix-m32.patch
│ │ ├── project-openmp-runtime-src-CMakeLists.txt.patch
│ │ ├── tools-clang-lib-Driver-ToolChain.cpp.patch
│ │ ├── tools-clang-lib-Driver-ToolChains-Gnu.cpp.patch
│ │ ├── tools-clang-lib-Driver-ToolChains-Linux.cpp.patch
│ │ └── tools-llvm-shlib-CMakeLists.txt.patch
│ ├── liblua/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── fix-lua_tmpnametemplate.patch
│ │ ├── lua.subpackage.sh
│ │ ├── src-Makefile.patch
│ │ ├── src-loslib.c.patch
│ │ └── src-luaconf.h.patch
│ ├── liblua52/
│ │ ├── build.sh
│ │ ├── lua-5.2.4_Makefile.patch
│ │ ├── lua-5.2.4_src_Makefile.patch
│ │ ├── lua-5.2.4_src_loslib.c.patch
│ │ ├── lua-5.2.4_src_luaconf.h.patch
│ │ ├── lua.pc.in
│ │ └── lua52.subpackage.sh
│ ├── libluajit/
│ │ ├── build.sh
│ │ ├── etc-luajit.pc.patch
│ │ ├── luajit.subpackage.sh
│ │ └── src-Makefile.patch
│ ├── liblz4/
│ │ ├── Makefile.inc.patch
│ │ ├── build.sh
│ │ └── lz4.subpackage.sh
│ ├── liblzma/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── xz-utils.subpackage.sh
│ ├── liblzo/
│ │ └── build.sh
│ ├── libmaa/
│ │ ├── build.sh
│ │ └── libmaa.patch
│ ├── libmad/
│ │ └── build.sh
│ ├── libmaxminddb/
│ │ ├── build.sh
│ │ └── libmaxminddb-tools.subpackage.sh
│ ├── libmcrypt/
│ │ └── build.sh
│ ├── libmesode/
│ │ └── build.sh
│ ├── libmhash/
│ │ └── build.sh
│ ├── libmicrohttpd/
│ │ └── build.sh
│ ├── libmnl/
│ │ └── build.sh
│ ├── libmosquitto/
│ │ ├── CMakeLists.txt.patch
│ │ ├── build.sh
│ │ └── mosquitto.subpackage.sh
│ ├── libmp3lame/
│ │ ├── build.sh
│ │ └── lame.subpackage.sh
│ ├── libmp3splt/
│ │ └── build.sh
│ ├── libmpc/
│ │ └── build.sh
│ ├── libmpdclient/
│ │ └── build.sh
│ ├── libmpfr/
│ │ └── build.sh
│ ├── libmsgpack/
│ │ └── build.sh
│ ├── libnet/
│ │ └── build.sh
│ ├── libnettle/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── nettle.subpackage.sh
│ ├── libnfs/
│ │ ├── add-timeh.patch
│ │ └── build.sh
│ ├── libnftnl/
│ │ └── build.sh
│ ├── libnghttp2/
│ │ └── build.sh
│ ├── libnl/
│ │ ├── build.sh
│ │ ├── include-netlink-private-netlink.h.patch
│ │ ├── nf-log.c.patch
│ │ ├── nf-monitor.c.patch
│ │ ├── nf-queue.c.patch
│ │ └── nl-monitor.c.patch
│ ├── libnpth/
│ │ └── build.sh
│ ├── libogg/
│ │ └── build.sh
│ ├── liboggz/
│ │ └── build.sh
│ ├── libopus/
│ │ └── build.sh
│ ├── libopusenc/
│ │ └── build.sh
│ ├── libotr/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── libpcap/
│ │ ├── build.sh
│ │ └── fix-path-etc-ethers.patch
│ ├── libpipeline/
│ │ └── build.sh
│ ├── libpixman/
│ │ ├── build.sh
│ │ └── pixman-arm.c.patch
│ ├── libpng/
│ │ └── build.sh
│ ├── libpopt/
│ │ ├── build.sh
│ │ └── fix-hardcoded-paths.patch
│ ├── libprotobuf/
│ │ ├── build.sh
│ │ ├── protobuf.subpackage.sh
│ │ └── remove-android-logging.patch
│ ├── libprotobuf-c/
│ │ └── build.sh
│ ├── libpsl/
│ │ ├── build-fix.patch
│ │ └── build.sh
│ ├── libqrencode/
│ │ └── build.sh
│ ├── librsvg/
│ │ └── build.sh
│ ├── librsync/
│ │ ├── build.sh
│ │ └── rdiff.subpackage.sh
│ ├── libsasl/
│ │ ├── auth_getpwent.c.patch
│ │ └── build.sh
│ ├── libsearpc/
│ │ ├── build.sh
│ │ └── lib-Makefile.am.patch
│ ├── libsignal-protocol-c/
│ │ └── build.sh
│ ├── libsigsegv/
│ │ └── build.sh
│ ├── libsndfile/
│ │ ├── Makefile.am.patch
│ │ ├── autogen.sh.patch
│ │ ├── build.sh
│ │ └── tmpdir.patch
│ ├── libsodium/
│ │ └── build.sh
│ ├── libsoup/
│ │ └── build.sh
│ ├── libsoxr/
│ │ ├── build.sh
│ │ └── go.patch
│ ├── libsqlite/
│ │ ├── build.sh
│ │ ├── sqlite.subpackage.sh
│ │ └── sqlite3.c.patch
│ ├── libssh/
│ │ ├── build.sh
│ │ └── fix-paths.patch
│ ├── libssh2/
│ │ └── build.sh
│ ├── libtalloc/
│ │ ├── build.sh
│ │ ├── lib-replace-wscript.patch
│ │ └── wscript.patch
│ ├── libtermkey/
│ │ └── build.sh
│ ├── libtiff/
│ │ ├── build.sh
│ │ └── libtiff-utils.subpackage.sh
│ ├── libtool/
│ │ ├── build.sh
│ │ └── libltdl.subpackage.sh
│ ├── libunibilium/
│ │ └── build.sh
│ ├── libunistring/
│ │ └── build.sh
│ ├── libusb/
│ │ └── build.sh
│ ├── libuuid/
│ │ ├── build.sh
│ │ ├── gen_uuid.c.patch
│ │ └── uuidP.h.patch
│ ├── libuv/
│ │ ├── build.sh
│ │ ├── pthread-sigmask.patch
│ │ └── src-unix-fs.c.patch
│ ├── libvorbis/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── libvpx/
│ │ ├── arm_cpudetect-always-neon.patch
│ │ ├── build-make-configure.sh.patch
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── libvterm/
│ │ └── build.sh
│ ├── libwebp/
│ │ ├── CMakeLists.txt.patch
│ │ └── build.sh
│ ├── libwebsockets/
│ │ └── build.sh
│ ├── libx11/
│ │ ├── build.sh
│ │ ├── src-CrGlCur.c.patch
│ │ └── src-XlibInt.c.patch
│ ├── libx264/
│ │ ├── build.sh
│ │ └── x264.subpackage.sh
│ ├── libx265/
│ │ ├── build.sh
│ │ ├── source-CMakeLists.txt.patch
│ │ └── x265.subpackage.sh
│ ├── libxapian/
│ │ ├── build.sh
│ │ └── xapian-tools.subpackage.sh
│ ├── libxau/
│ │ ├── build.sh
│ │ └── libXau-1.0.8_AuLock.c.patch
│ ├── libxcb/
│ │ ├── build.sh
│ │ ├── libxcb-1.12_configure.patch
│ │ └── libxcb-1.12_src_xcb_util.c.patch
│ ├── libxdmcp/
│ │ └── build.sh
│ ├── libxext/
│ │ └── build.sh
│ ├── libxft/
│ │ └── build.sh
│ ├── libxml2/
│ │ ├── build.sh
│ │ ├── fix-catalog-paths.patch
│ │ └── libxml2-utils.subpackage.sh
│ ├── libxrender/
│ │ └── build.sh
│ ├── libxslt/
│ │ ├── build.sh
│ │ └── xsltproc.subpackage.sh
│ ├── libxss/
│ │ └── build.sh
│ ├── libyaml/
│ │ └── build.sh
│ ├── libzip/
│ │ └── build.sh
│ ├── libzmq/
│ │ └── build.sh
│ ├── libzopfli/
│ │ ├── build.sh
│ │ └── zopfli.subpackage.sh
│ ├── lighttpd/
│ │ └── build.sh
│ ├── links/
│ │ ├── build.sh
│ │ └── fix-hardcoded-paths.patch
│ ├── linux-man-pages/
│ │ └── build.sh
│ ├── littlecms/
│ │ ├── build.sh
│ │ └── littlecms-utils.subpackage.sh
│ ├── llbuild/
│ │ ├── CMakeLists.txt.patch
│ │ ├── build.sh
│ │ ├── include-llbuild-BuildSystem-BuildSystemFrontend.h.patch
│ │ ├── include-llvm-Config-config.h.patch
│ │ ├── lib-Basic-PlatformUtility.cpp.patch
│ │ ├── lib-llvm-Support-CmakeLists.txt.patch
│ │ └── products-llbuild-CMakeLists.txt.patch
│ ├── lldb/
│ │ ├── ArchSpec.cpp.patch
│ │ ├── Editline.h.patch
│ │ ├── LLDBStandalone.cmake.patch
│ │ ├── ProcessLauncherPosixFork.cpp.patch
│ │ ├── build.sh
│ │ └── cmakelists.txt.patch
│ ├── lnd/
│ │ └── build.sh
│ ├── loksh/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── clock_monotonic.patch
│ │ ├── fix-hardcoded-paths.patch
│ │ └── no-cs_path.patch
│ ├── ltrace/
│ │ ├── build.sh
│ │ ├── ltrace-elf.c.patch
│ │ └── sysdeps-linux-gnu-proc.c.patch
│ ├── lua-lpeg/
│ │ ├── build.sh
│ │ └── makefile.patch
│ ├── luarocks/
│ │ ├── GNUmakefile.patch
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── lua.lua.patch
│ │ ├── src-luarocks-core-cfg.lua.patch
│ │ └── unix-tools.lua.patch
│ ├── luv/
│ │ ├── CMakeLists.txt.patch
│ │ └── build.sh
│ ├── lynx/
│ │ ├── build.sh
│ │ ├── fix-paths.patch
│ │ ├── lynx2.8.9dev.19_WWW_Library_Implementation_www_tcp.h.patch
│ │ ├── lynx2.8.9dev.19_src_LYMain.c.patch
│ │ └── lynx2.8.9dev.19_userdefs.h.patch
│ ├── lzip/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── lzlib/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── lzop/
│ │ └── build.sh
│ ├── m4/
│ │ ├── build.sh
│ │ ├── fix-paths.patch
│ │ ├── lib-vasnprintf.c.patch
│ │ ├── lib-xalloc-oversized.h.patch
│ │ └── spawn.patch
│ ├── make/
│ │ ├── build.sh
│ │ ├── make.patch
│ │ └── no-append.patch
│ ├── man/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── main.c.patch
│ │ ├── mandocdb.c.patch
│ │ ├── tag.c.patch
│ │ └── tag.h.patch
│ ├── mariadb/
│ │ ├── CMakeLists.txt.patch
│ │ ├── build.sh
│ │ ├── client-CMakeLists.txt.patch
│ │ ├── client-mysql.cc.patch
│ │ ├── cmake-install_layout.cmake.patch
│ │ ├── cmake-mariadb_connector_c.cmake.patch.beforehostbuild
│ │ ├── cmake-pcre.cmake.patch
│ │ ├── cmake-readline.cmake.patch
│ │ ├── etc-my.cnf.patch
│ │ ├── libmariadb-libmariadb-CMakeLists.txt.patch
│ │ ├── scripts-mysql_install_db.sh.patch
│ │ └── sql-CMakeLists.txt.patch
│ ├── mathomatic/
│ │ ├── build.sh
│ │ └── fix-paths.patch
│ ├── mbedtls/
│ │ └── build.sh
│ ├── mc/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── filegui_magics.patch
│ │ ├── filemanager_ext.c.patch
│ │ ├── lib-shell.c.patch
│ │ ├── lib-tty-key.c.patch
│ │ ├── lib-tty-tty.c.patch
│ │ ├── lib-utilunix.c.patch
│ │ ├── lib-widget-input_complete.c.patch
│ │ ├── man2hlp.in.patch
│ │ ├── src-filemanager-achown.c.patch
│ │ ├── src-filemanager-chown.c.patch
│ │ ├── src-filemanager-file.c.patch
│ │ ├── src-usermenu.c.patch
│ │ ├── src-vfs-sfs-sfs.c.patch
│ │ ├── tmpdir_default.patch
│ │ └── use-python2-for-extfs-helpers.patch
│ ├── mdp/
│ │ └── build.sh
│ ├── megatools/
│ │ ├── build.sh
│ │ └── lib-mega.c.patch
│ ├── memcached/
│ │ ├── build.sh
│ │ ├── getsubopt.c
│ │ ├── getsubopt.h
│ │ └── memcached.c.patch
│ ├── mg/
│ │ ├── GNUmakefile.patch
│ │ └── build.sh
│ ├── micro/
│ │ └── build.sh
│ ├── mime-support/
│ │ └── build.sh
│ ├── minicom/
│ │ ├── build.sh
│ │ ├── dial.c.patch
│ │ ├── file.c.patch
│ │ ├── getdir.c.patch
│ │ ├── getdir.h.patch
│ │ ├── script.h.patch
│ │ └── wkeys.c.patch
│ ├── miniupnpc/
│ │ ├── build.sh
│ │ ├── miniupnpc-2.1_minissdpc.c.patch
│ │ └── miniupnpc-2.1_miniupnpc.c.patch
│ ├── mksh/
│ │ ├── build.sh
│ │ └── sh.h.patch
│ ├── mktorrent/
│ │ ├── build.sh
│ │ └── seekdir_telldir.patch
│ ├── mlocate/
│ │ ├── build.sh
│ │ ├── conf.c.patch
│ │ ├── no_getid.patch
│ │ ├── src-locate.c.patch
│ │ └── updatedb.c.patch
│ ├── morse2ascii/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── mosh/
│ │ ├── build.sh
│ │ ├── mosh-server.cc.patch
│ │ ├── mosh.cc
│ │ ├── mosh.pl.patch
│ │ └── src-network-network.cc.patch
│ ├── mp3splt/
│ │ └── build.sh
│ ├── mpc/
│ │ ├── build.sh
│ │ └── meson.build.patch
│ ├── mpd/
│ │ ├── HybridDsdDecoderPlugin.cxx.patch
│ │ ├── build.sh
│ │ ├── doc-mpdconf.example.patch
│ │ ├── mpd-script.sh
│ │ ├── registry.cxx.patch
│ │ ├── src-fs-io-FileOutputStream.hxx.patch
│ │ ├── src-input-Error.cxx.patch
│ │ ├── src-lib-gcrypt-meson.build.patch
│ │ ├── src-output-plugins-meson.build.patch
│ │ └── thread-Util.cxx.patch
│ ├── mpdscribble/
│ │ ├── Makefile.am.patch
│ │ ├── build.sh
│ │ ├── file.c.patch
│ │ └── mpdscribble.conf.patch
│ ├── mpv/
│ │ ├── build.sh
│ │ ├── main.c.patch
│ │ ├── mpv.conf
│ │ └── wscript.patch
│ ├── msmtp/
│ │ └── build.sh
│ ├── mtd-utils/
│ │ ├── build.sh
│ │ └── mkfs.jffs2.c.patch
│ ├── mtools/
│ │ ├── build.sh
│ │ └── sysinc.patch
│ ├── mu/
│ │ └── build.sh
│ ├── multitail/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── mt.c.patch
│ │ ├── my_pty.c.patch
│ │ ├── term.c.patch
│ │ └── utils.c.patch
│ ├── mutt/
│ │ ├── build.sh
│ │ ├── getdomain.c.patch
│ │ ├── init.c.patch
│ │ ├── lib.c.patch
│ │ ├── muttlib.c.patch
│ │ └── smime_keys_path.patch
│ ├── myrepos/
│ │ └── build.sh
│ ├── nano/
│ │ ├── build.sh
│ │ ├── src-files.c.patch
│ │ └── src-text.c.patch
│ ├── ncdc/
│ │ └── build.sh
│ ├── ncdu/
│ │ └── build.sh
│ ├── ncmpcpp/
│ │ ├── build.sh
│ │ ├── config.patch
│ │ ├── configure.ac.patch
│ │ ├── locale.patch
│ │ ├── ncmpcpp.cpp.patch
│ │ └── settings.cpp.patch
│ ├── ncompress/
│ │ └── build.sh
│ ├── ncurses/
│ │ ├── build.sh
│ │ ├── fix-paths.patch
│ │ ├── ncurses-tinfo-lib_setup.c.patch
│ │ ├── ncurses-tinfo-tinfo_driver.c.patch
│ │ ├── ncurses-ui-libs-static.subpackage.sh
│ │ ├── ncurses-ui-libs.subpackage.sh
│ │ └── ncurses-utils.subpackage.sh
│ ├── ndk-multilib/
│ │ └── build.sh
│ ├── ndk-sysroot/
│ │ ├── build.sh
│ │ └── math-header.diff
│ ├── ne/
│ │ └── build.sh
│ ├── neofetch/
│ │ └── build.sh
│ ├── neovim/
│ │ ├── build.sh
│ │ ├── runtime-CMakeLists.txt.patch
│ │ ├── runtime-autoload-man.vim.patch
│ │ ├── runtime-autoload-provider-clipboard.vim.patch
│ │ ├── src-nvim-os-stdpaths.c.patch
│ │ └── sysinit.vim
│ ├── net-tools/
│ │ ├── arp.c.patch
│ │ ├── build.sh
│ │ ├── ifconfig.c.patch
│ │ ├── lib-inet.c.patch
│ │ ├── lib-inet6.c.patch
│ │ ├── lib-inet6_sr.c.patch
│ │ ├── lib-pathnames.h.patch
│ │ ├── nameif.c.patch
│ │ ├── rarp.c.patch
│ │ ├── slattach.c.patch
│ │ └── unknown_state.patch
│ ├── netpbm/
│ │ ├── GNUmakefile.patch
│ │ ├── build.sh
│ │ ├── buildtools-Makefile.patch
│ │ ├── buildtools-installnetpbm.pl.patch
│ │ ├── camera.c.patch
│ │ ├── lib-Makefile.patch
│ │ ├── standardppmdfont.c
│ │ └── util.c.patch
│ ├── netsed/
│ │ └── build.sh
│ ├── newsboat/
│ │ ├── Makefile.patch
│ │ ├── avoid-gettext.patch
│ │ ├── build.sh
│ │ ├── fix-paths.patch
│ │ └── mbc-buffer-length-fix.patch
│ ├── nginx/
│ │ ├── Android-crossfile.patch32
│ │ ├── Android-crossfile.patch64
│ │ ├── auto-threads.patch
│ │ ├── build.sh
│ │ ├── cross-compile-nginx.patch
│ │ ├── src-core-ngx_cycle.c.patch
│ │ ├── src-core-ngx_file.c.patch
│ │ └── src-event-modules-ngx_epoll_module.c.patch
│ ├── nim/
│ │ ├── build.sh
│ │ └── osproc.nim.patch
│ ├── ninja/
│ │ ├── build.sh
│ │ ├── src-subprocess-posix.cc.patch
│ │ └── src-util.cc.patch
│ ├── nmap/
│ │ ├── build.sh
│ │ ├── fix-paths.patch
│ │ ├── netcat.subpackage.sh
│ │ └── nping-EchoServer.cc.patch
│ ├── nnn/
│ │ └── build.sh
│ ├── nodejs/
│ │ ├── build.sh
│ │ ├── configure.py.patch
│ │ ├── deps-uv-src-unix-core.c.patch
│ │ ├── deps-uv-src-unix-process.c.patch
│ │ ├── deps-uv-uv.gyp.patch
│ │ ├── deps-v8-src-flags-flag-definitions.h.patch
│ │ ├── deps-v8-src-logging-log.cc.patch
│ │ ├── fix_multiple_definitions.patch
│ │ ├── lib-child_process.js.patch
│ │ ├── lib-os.js.patch
│ │ ├── node.gyp.patch
│ │ ├── npm-link-patch.patch
│ │ ├── src-cares_wrap.cc.patch
│ │ ├── src-node_internals.h.patch
│ │ ├── src-node_main.cc.patch
│ │ └── tools-v8_gypfiles-v8.gyp.patch
│ ├── nodejs-lts/
│ │ ├── build.sh
│ │ ├── configure.py.patch
│ │ ├── deps-uv-src-unix-core.c.patch
│ │ ├── deps-uv-uv.gyp.patch
│ │ ├── deps-v8-src-flags-flag-definitions.h.patch
│ │ ├── deps-v8-src-logging-log.cc.patch
│ │ ├── fix_multiple_definitions.patch
│ │ ├── lib-child_process.js.patch
│ │ ├── lib-os.js.patch
│ │ ├── node.gyp.patch
│ │ ├── npm-link-patch.patch
│ │ ├── src-cares_wrap.cc.patch
│ │ ├── src-node_internals.h.patch
│ │ ├── src-node_main.cc.patch
│ │ └── tools-v8_gypfiles-v8.gyp.patch
│ ├── notmuch/
│ │ ├── Makefile.global.patch
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── notmuch-config.c.patch
│ ├── nyancat/
│ │ ├── build.sh
│ │ └── makefile.patch
│ ├── nzbget/
│ │ ├── build.sh
│ │ └── options.cpp.patch
│ ├── oathtool/
│ │ └── build.sh
│ ├── obfs4proxy/
│ │ └── build.sh
│ ├── ocrad/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── odt2txt/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── oleo/
│ │ ├── basic.h.patch
│ │ ├── build.sh
│ │ ├── global.h.patch
│ │ ├── io-term.c.patch
│ │ ├── io-term.h.patch
│ │ ├── plotter.c.patch
│ │ ├── texi2html.in.patch
│ │ └── xrdb.c.patch
│ ├── openal-soft/
│ │ ├── alc-alconfig.cpp.patch
│ │ ├── build.sh
│ │ └── native-tools-CMakeLists.txt.patch
│ ├── openjpeg/
│ │ ├── CMakeLists.txt.patch
│ │ ├── build.sh
│ │ └── openjpeg-tools.subpackage.sh
│ ├── openssh/
│ │ ├── Makefile.in.patch
│ │ ├── auth.c.patch
│ │ ├── auth2-passwd.c.patch
│ │ ├── build.sh
│ │ ├── fix-hardcoded-paths.patch
│ │ ├── hostfile.c.patch
│ │ ├── misc_c.patch
│ │ ├── mux.c.patch
│ │ ├── no_loginrec.patch
│ │ ├── no_tty_chmod.patch
│ │ ├── openbsd-compat-explicit_bzero.c.patch
│ │ ├── openbsd-compat-xcrypt.c.patch
│ │ ├── servconf.c.patch
│ │ ├── session.c.patch
│ │ ├── sftp-server.c.patch
│ │ ├── sftp-with-agent.sh
│ │ ├── source-ssh-agent.sh
│ │ ├── ssh-agent.c.patch
│ │ ├── ssh-keygen.c.patch
│ │ ├── ssh-with-agent.sh
│ │ ├── sshd.c.patch
│ │ └── sshd_config.5.patch
│ ├── openssl/
│ │ ├── Configurations-15-android.conf.patch
│ │ ├── add-trusted-certificate
│ │ ├── apps-ocsp.c.patch
│ │ ├── build.sh
│ │ ├── crypto-armcap.c.patch
│ │ ├── e_os.h.patch
│ │ └── openssl-tool.subpackage.sh
│ ├── optipng/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── opus-tools/
│ │ └── build.sh
│ ├── opusfile/
│ │ └── build.sh
│ ├── ossp-uuid/
│ │ ├── build.sh
│ │ ├── ossp.patch
│ │ ├── uuid-aarch64.patch
│ │ └── z-no-docs-no-strip.patch
│ ├── p7zip/
│ │ ├── 1-CVE-2016-9296.patch
│ │ ├── 2-CVE-2017-17969.patch
│ │ ├── 3-CVE-2018-5996.patch
│ │ ├── 4-CVE-2018-10115.patch
│ │ ├── build.sh
│ │ └── makefile.patch
│ ├── pango/
│ │ ├── bsearch-fix.patch
│ │ ├── build.sh
│ │ └── pango-view.1
│ ├── par2/
│ │ └── build.sh
│ ├── parallel/
│ │ ├── build.sh
│ │ ├── parallel.patch
│ │ └── sem.patch
│ ├── parted/
│ │ ├── 01_devmapper.patch
│ │ ├── 02_lseek.patch
│ │ ├── 03_minormajor.patch
│ │ ├── build.sh
│ │ └── configure-pthreads-no-weak.patch
│ ├── pass/
│ │ ├── build.sh
│ │ └── src-password-store.sh.patch
│ ├── pass-otp/
│ │ └── build.sh
│ ├── pastebinit/
│ │ ├── build.sh
│ │ └── pastebinit.patch
│ ├── patch/
│ │ ├── build.sh
│ │ └── tmpdir-path.patch
│ ├── patchelf/
│ │ └── build.sh
│ ├── pathpicker/
│ │ └── build.sh
│ ├── pcre/
│ │ ├── build.sh
│ │ └── libpcreposix.subpackage.sh
│ ├── pcre2/
│ │ └── build.sh
│ ├── pdfgrep/
│ │ └── build.sh
│ ├── perl/
│ │ ├── Cwd.pm.patch
│ │ ├── build.sh
│ │ ├── cnf-configure_func.sh.patch
│ │ ├── cnf-configure_path.sh.patch
│ │ ├── file-spec-unix.pm.patch
│ │ └── perlio.c.patch
│ ├── pforth/
│ │ └── build.sh
│ ├── php/
│ │ ├── Makefile.global.patch
│ │ ├── build.sh
│ │ ├── ext-opcache-config.m4.patch
│ │ ├── ext-opcache-zend_accelerator_module.c.patch
│ │ ├── ext-pdo_pgsql-config.m4.patch
│ │ ├── ext-pgsql-config.m4.patch
│ │ ├── ext-phar-Makefile.frag.patch
│ │ ├── ext-posix-posix.c.patch
│ │ ├── ext-standard-basic_functions.c.patch
│ │ ├── ext-standard-dns.c.patch
│ │ ├── ext-standard-php_fopen_wrapper.c.patch
│ │ ├── ext-standard-proc_open.c.patch
│ │ ├── iconv-config.m4.patch
│ │ ├── pear-Makefile.frag.patch
│ │ ├── php-apache.subpackage.sh
│ │ ├── php-fpm.patch
│ │ ├── php-fpm.subpackage.sh
│ │ ├── php-pgsql.subpackage.sh
│ │ └── sapi-apache2handler-config.m4.patch
│ ├── pianobar/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── pick/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── pick.c.patch
│ ├── picolisp/
│ │ ├── build.sh
│ │ ├── src-Makefile.patch
│ │ ├── src-ext.c.patch
│ │ └── src64-mkAsm.patch
│ ├── pigz/
│ │ ├── build.sh
│ │ ├── pigz-2.4_Makefile.patch
│ │ └── pigz-2.4_yarn.c.patch
│ ├── pinentry/
│ │ ├── build.sh
│ │ ├── pinentry-emacs.c.patch
│ │ └── pinentry-pinentry.c.patch
│ ├── pkg-config/
│ │ └── build.sh
│ ├── play-audio/
│ │ └── build.sh
│ ├── plzip/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── pngquant/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── poppler/
│ │ ├── build.sh
│ │ ├── gstrtod.cc.patch
│ │ └── poppler-Form.cc.patch
│ ├── postgresql/
│ │ ├── build.sh
│ │ ├── src-backend-Makefile.patch
│ │ ├── src-backend-commands-collationcmds.c.patch
│ │ ├── src-bin-initdb-initdb.c.patch
│ │ ├── src-bin-pg_ctl-pg_ctl.c.patch
│ │ ├── src-bin-pg_upgrade-check.c.patch
│ │ ├── src-bin-psql-command.c.patch
│ │ ├── src-include-pg_config_manual.h.patch
│ │ └── src-timezone-zic.c.patch.beforehostbuild
│ ├── potrace/
│ │ └── build.sh
│ ├── privoxy/
│ │ ├── GNUmakefile.in.patch
│ │ ├── build.sh
│ │ ├── jcc.c.patch
│ │ └── project.h.patch
│ ├── procps/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ ├── pgrep.c.patch
│ │ ├── pmap.c.patch
│ │ ├── proc-sysinfo.c.patch
│ │ ├── procio.c.patch
│ │ ├── sysctl.c.patch
│ │ ├── top-top.c.patch
│ │ └── w.c.patch
│ ├── profanity/
│ │ ├── build.sh
│ │ ├── cmd_funcs.c.patch
│ │ └── ui-inputwin.c.patch
│ ├── progress/
│ │ ├── Makefile.patch
│ │ ├── WithoutWordexp.patch
│ │ └── build.sh
│ ├── proot/
│ │ ├── build.sh
│ │ └── termux-chroot
│ ├── proxychains-ng/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── hostreader.c.patch
│ │ └── libproxychains.c.patch
│ ├── psmisc/
│ │ ├── build.sh
│ │ ├── pstree.patch
│ │ └── src-fuser.c.patch
│ ├── pulseaudio/
│ │ ├── 0001-atomic-Explicitly-cast-void-to-unsigned-long.patch
│ │ ├── aaudio.patch
│ │ ├── build.sh
│ │ ├── fix-paths.patch
│ │ ├── module-aaudio-sink.c
│ │ ├── module-sles-sink.c
│ │ ├── module-sles-source.c
│ │ ├── no_priv_drop.patch
│ │ └── sles.patch
│ ├── pure-ftpd/
│ │ ├── build.sh
│ │ ├── pure-pwconvert.c.patch
│ │ ├── src-ftpd.h.patch
│ │ └── src-ftpd_p.h.patch
│ ├── pv/
│ │ ├── build.sh
│ │ ├── header.in.patch
│ │ └── src-pv-cursor.c.patch
│ ├── pwgen/
│ │ └── build.sh
│ ├── python/
│ │ ├── 0001-compileall-Fix-ddir-when-recursing.patch
│ │ ├── Lib-pathlib.py.patch
│ │ ├── Lib-subprocess.py.patch
│ │ ├── Lib-tmpfile.py.patch
│ │ ├── Modules-socketmodule.c.patch
│ │ ├── _cursesmodule.c.patch
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── cryptmodule.c.patch
│ │ ├── distutils-command-build.py.patch
│ │ ├── fix-paths.patch
│ │ ├── python-tkinter.subpackage.sh
│ │ └── setup.py.patch
│ ├── python2/
│ │ ├── Lib-subprocess.py.patch
│ │ ├── Lib-tempfile.py.patch
│ │ ├── Makefile.pre.in.patch
│ │ ├── Modules-pwdmodule.c.patch
│ │ ├── Python-bltinmodule.c.patch
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── cryptmodule.c.patch
│ │ ├── fix-dlfcn.patch32
│ │ ├── fix-dlfcn.patch64
│ │ ├── fix-paths.patch
│ │ └── setup.py.patch
│ ├── qalc/
│ │ ├── build.sh
│ │ └── util.cc.patch
│ ├── qpdf/
│ │ └── build.sh
│ ├── quickjs/
│ │ └── build.sh
│ ├── radare2/
│ │ ├── 5d76b9ff992b1b7dd64b1ccb89afa40318ff25fa.patch
│ │ ├── build.sh
│ │ ├── f639c3b6a17a57c9a0fa1790811eff27dd124b59.patch
│ │ ├── libr-core-cconfig.c.patch
│ │ ├── libr-include-r_magic.h.patch
│ │ ├── libr-util-diff.c.patch
│ │ ├── libr-util-file.c.patch
│ │ ├── libr-util-sandbox.c.patch
│ │ ├── mk-termux-host.mk.patch
│ │ └── sys-ldconfig.sh.patch
│ ├── ragel/
│ │ └── build.sh
│ ├── ranger/
│ │ ├── build.sh
│ │ ├── ranger-core-actions.py.patch
│ │ └── ranger.patch
│ ├── rclone/
│ │ └── build.sh
│ ├── rcs/
│ │ ├── build.sh
│ │ └── noreturn.patch
│ ├── readline/
│ │ ├── build.sh
│ │ ├── inputrc
│ │ └── rlconf.h.patch
│ ├── redir/
│ │ ├── build.sh
│ │ └── redir.c.patch
│ ├── redis/
│ │ ├── bio.c.patch
│ │ ├── build.sh
│ │ ├── config.h.patch
│ │ ├── redis.conf.patch
│ │ ├── src-Makefile.patch
│ │ └── src-server.h.patch
│ ├── remind/
│ │ └── build.sh
│ ├── resolv-conf/
│ │ └── build.sh
│ ├── restic/
│ │ └── build.sh
│ ├── rgbds/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── rhash/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── librhash-byte_order.h.patch
│ │ └── parse_cmdline.c.patch
│ ├── ripgrep/
│ │ └── build.sh
│ ├── rlwrap/
│ │ ├── build.sh
│ │ ├── fix-hardcoded-paths.patch
│ │ └── ptytty.c.patch
│ ├── root-repo/
│ │ └── build.sh
│ ├── rsync/
│ │ ├── build.sh
│ │ ├── rsync-3.1.3_lib_getpass.c.patch
│ │ └── rsync.h.patch
│ ├── rtmpdump/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── ruby/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ ├── ext-etc-etc.c.patch
│ │ ├── ext-syslog-extconf.rb.patch
│ │ ├── fix-paths.patch
│ │ ├── lib-rubygems-install_update_options.rb.patch
│ │ ├── lib-tmpdir.rb.patch
│ │ ├── mkmf.rb.patch
│ │ ├── process.c.patch
│ │ ├── pty.c.patch
│ │ ├── ruby-ri.subpackage.sh
│ │ ├── src-signal.c.patch
│ │ ├── tests/
│ │ │ ├── default_encoding_isutf8.sh
│ │ │ └── extension_modules_installed.sh
│ │ └── tool-rbinstall.rb.patch
│ ├── rust/
│ │ ├── build.sh
│ │ ├── config.toml
│ │ ├── os-tmpdir.patch
│ │ ├── rust-std-wasm32.subpackage.sh
│ │ └── src-librustc_llvm-build.rs.patch
│ ├── samefile/
│ │ └── build.sh
│ ├── sc/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── cmds.c.patch
│ ├── sc-im/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ ├── cmds_command.c.patch
│ │ ├── cmds_normal.c.patch
│ │ ├── cmds_visual.c.patch
│ │ ├── file.c.patch
│ │ └── main.c.patch
│ ├── science-repo/
│ │ └── build.sh
│ ├── screen/
│ │ ├── attacher.c.patch
│ │ ├── build.sh
│ │ ├── config.h.in.patch
│ │ ├── fileio.c.patch
│ │ ├── misc.c.patch
│ │ ├── no-setuid.patch
│ │ ├── os.h.patch
│ │ ├── osdef.h.in.patch
│ │ ├── screen.h.patch
│ │ ├── utmp.c.patch
│ │ └── window.c.patch
│ ├── screenfetch/
│ │ ├── build.sh
│ │ └── screenfetch-dev.patch
│ ├── scrypt/
│ │ └── build.sh
│ ├── sdcv/
│ │ ├── build.sh
│ │ └── src-mapfile.hpp.patch
│ ├── seafile-client/
│ │ ├── build.sh
│ │ └── configure.ac.patch
│ ├── seccure/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── secure-delete/
│ │ ├── 000-from-debian.patch
│ │ ├── 001-makefile-cc.patch
│ │ └── build.sh
│ ├── sed/
│ │ └── build.sh
│ ├── sensible-utils/
│ │ └── build.sh
│ ├── serf/
│ │ ├── build.sh
│ │ └── sconstruct.patch
│ ├── sharutils/
│ │ ├── build.sh
│ │ └── config.h.in.patch
│ ├── shellharden/
│ │ └── build.sh
│ ├── silversearcher-ag/
│ │ └── build.sh
│ ├── sl/
│ │ ├── build.sh
│ │ └── makefile.patch
│ ├── socat/
│ │ ├── build.sh
│ │ ├── dont_use_resolv_h.patch
│ │ ├── no-o_append.patch
│ │ └── openpty.c.patch
│ ├── sox/
│ │ └── build.sh
│ ├── speexdsp/
│ │ └── build.sh
│ ├── spiped/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── squid/
│ │ ├── CpuAffinitySet.cc.patch
│ │ ├── build.sh
│ │ ├── dns_internal.cc.patch
│ │ ├── src-esi-VarState.cc.patch
│ │ └── sys-stat.h.patch
│ ├── sshpass/
│ │ └── build.sh
│ ├── ssss/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── ssss.1
│ ├── stag/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── stag.c.patch
│ ├── starship/
│ │ └── build.sh
│ ├── steghide/
│ │ ├── build.sh
│ │ ├── gcc-4.2.patch
│ │ ├── libtool-fix.patch
│ │ ├── steghide-climits.patch
│ │ └── steghide-gcc6.patch
│ ├── stfl/
│ │ ├── 001-makefile.patch
│ │ └── build.sh
│ ├── stow/
│ │ └── build.sh
│ ├── strace/
│ │ ├── build.sh
│ │ ├── ipc_msgctl.c.patch
│ │ ├── ipc_shmctl.c.patch
│ │ └── strace.c.patch
│ ├── stunnel/
│ │ └── build.sh
│ ├── subversion/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ └── no_setlocale.patch
│ ├── swi-prolog/
│ │ └── build.sh
│ ├── swig/
│ │ └── build.sh
│ ├── syncthing/
│ │ └── build.sh
│ ├── taglib/
│ │ └── build.sh
│ ├── tar/
│ │ ├── build.sh
│ │ ├── gnu-stdio-impl.h.patch
│ │ ├── gnu-vasnprintf.c.patch
│ │ ├── src-system.c.patch
│ │ └── tmpdir-path.patch
│ ├── tasksh/
│ │ └── build.sh
│ ├── taskwarrior/
│ │ ├── CMakeLists.txt.patch
│ │ └── build.sh
│ ├── tcl/
│ │ └── build.sh
│ ├── tcsh/
│ │ ├── Makefile.in.patch
│ │ ├── build.sh
│ │ └── sh.h.patch
│ ├── teckit/
│ │ └── build.sh
│ ├── tergent/
│ │ └── build.sh
│ ├── termimage/
│ │ └── build.sh
│ ├── termux-am/
│ │ └── build.sh
│ ├── termux-api/
│ │ └── build.sh
│ ├── termux-apt-repo/
│ │ └── build.sh
│ ├── termux-auth/
│ │ └── build.sh
│ ├── termux-create-package/
│ │ └── build.sh
│ ├── termux-elf-cleaner/
│ │ └── build.sh
│ ├── termux-exec/
│ │ └── build.sh
│ ├── termux-keyring/
│ │ ├── build.sh
│ │ ├── fornwall.gpg
│ │ ├── grimler.gpg
│ │ ├── termux-autobuilds.gpg
│ │ └── xeffyr.gpg
│ ├── termux-licenses/
│ │ ├── LICENSES/
│ │ │ ├── AGPL-V3.txt
│ │ │ ├── Apache-2.0.txt
│ │ │ ├── Artistic-License-2.0.txt
│ │ │ ├── BSD 2-Clause.txt
│ │ │ ├── BSD 3-Clause.txt
│ │ │ ├── BSD.txt
│ │ │ ├── BSL-1.0.txt
│ │ │ ├── CC0-1.0.txt
│ │ │ ├── CeCILL-2.1.txt
│ │ │ ├── EPL-1.0.txt
│ │ │ ├── EPL-2.0.txt
│ │ │ ├── GPL-2.0.txt
│ │ │ ├── GPL-3.0.txt
│ │ │ ├── ISC.txt
│ │ │ ├── ImageMagick.txt
│ │ │ ├── LGPL-2.0.txt
│ │ │ ├── LGPL-2.1.txt
│ │ │ ├── LGPL-3.0.txt
│ │ │ ├── Libpng.txt
│ │ │ ├── MIT.txt
│ │ │ ├── MPL-2.0.txt
│ │ │ ├── NCSA.txt
│ │ │ ├── Nethack.txt
│ │ │ ├── OpenLDAP.txt
│ │ │ ├── PHP-3.0.txt
│ │ │ ├── Public Domain.txt
│ │ │ ├── PythonPL.txt
│ │ │ ├── Unlicense.txt
│ │ │ ├── VIM License.txt
│ │ │ ├── WTFPL.txt
│ │ │ ├── ZLIB.txt
│ │ │ └── wxWindows.txt
│ │ └── build.sh
│ ├── termux-services/
│ │ └── build.sh
│ ├── termux-tools/
│ │ ├── build.sh
│ │ ├── chsh
│ │ ├── dalvikvm
│ │ ├── login
│ │ ├── motd
│ │ ├── pkg
│ │ ├── su
│ │ ├── termux-fix-shebang
│ │ ├── termux-info
│ │ ├── termux-open
│ │ ├── termux-open-url
│ │ ├── termux-reload-settings
│ │ ├── termux-setup-storage
│ │ ├── termux-wake-lock
│ │ └── termux-wake-unlock
│ ├── teseq/
│ │ └── build.sh
│ ├── tesseract/
│ │ └── build.sh
│ ├── texinfo/
│ │ ├── build.sh
│ │ └── texindex-texindex.in.patch
│ ├── texlive/
│ │ ├── build.sh
│ │ ├── check_for_conflicts.py
│ │ ├── fmtutil.cnf.patch
│ │ ├── parse_tlpdb.py
│ │ ├── texlive-bibtexextra.subpackage.sh
│ │ ├── texlive-binextra.subpackage.sh
│ │ ├── texlive-context.subpackage.sh
│ │ ├── texlive-fontsextra.subpackage.sh
│ │ ├── texlive-fontsrecommended.subpackage.sh
│ │ ├── texlive-fontutils.subpackage.sh
│ │ ├── texlive-formatsextra.subpackage.sh
│ │ ├── texlive-full.subpackage.sh
│ │ ├── texlive-games.subpackage.sh
│ │ ├── texlive-humanities.subpackage.sh
│ │ ├── texlive-langarabic.subpackage.sh
│ │ ├── texlive-langchinese.subpackage.sh
│ │ ├── texlive-langcjk.subpackage.sh
│ │ ├── texlive-langcyrillic.subpackage.sh
│ │ ├── texlive-langczechslovak.subpackage.sh
│ │ ├── texlive-langenglish.subpackage.sh
│ │ ├── texlive-langeuropean.subpackage.sh
│ │ ├── texlive-langfrench.subpackage.sh
│ │ ├── texlive-langgerman.subpackage.sh
│ │ ├── texlive-langgreek.subpackage.sh
│ │ ├── texlive-langitalian.subpackage.sh
│ │ ├── texlive-langjapanese.subpackage.sh
│ │ ├── texlive-langkorean.subpackage.sh
│ │ ├── texlive-langother.subpackage.sh
│ │ ├── texlive-langpolish.subpackage.sh
│ │ ├── texlive-langportuguese.subpackage.sh
│ │ ├── texlive-langspanish.subpackage.sh
│ │ ├── texlive-latexextra.subpackage.sh
│ │ ├── texlive-latexrecommended.subpackage.sh
│ │ ├── texlive-luatex.subpackage.sh
│ │ ├── texlive-mathscience.subpackage.sh
│ │ ├── texlive-metapost.subpackage.sh
│ │ ├── texlive-music.subpackage.sh
│ │ ├── texlive-pictures.subpackage.sh
│ │ ├── texlive-plaingeneric.subpackage.sh
│ │ ├── texlive-pstricks.subpackage.sh
│ │ ├── texlive-publishers.subpackage.sh
│ │ ├── texlive-xetex.subpackage.sh
│ │ ├── texmf.cnf.patch
│ │ └── web2c-texmf.cnf
│ ├── texlive-bin/
│ │ ├── build.sh
│ │ ├── pdftoepdf-poppler0.76.0.cc
│ │ ├── pdftosrc-poppler0.76.0.cc
│ │ ├── texk-kpathsea-texmf.cnf.patch
│ │ ├── texk-web2c-luatexdir-luaffi-ffi.h.patch
│ │ ├── xetex-poppler-fixes.patch
│ │ └── zziplib_disable_have_dirent.patch
│ ├── texlive-tlmgr/
│ │ ├── TLConfig.pm.patch
│ │ ├── TLUtils.pm.patch
│ │ ├── build.sh
│ │ └── texlive.tlpdb
│ ├── tidy/
│ │ ├── build.sh
│ │ └── disable-target-manpages.patch
│ ├── tig/
│ │ └── build.sh
│ ├── timewarrior/
│ │ ├── build.sh
│ │ ├── cmake-CXXSniffer.cmake.patch
│ │ └── src-CMakeLists.txt.patch
│ ├── tintin++/
│ │ ├── build.sh
│ │ └── src-system.c.patch
│ ├── tinyproxy/
│ │ ├── build.sh
│ │ ├── child.c.patch
│ │ ├── configure.patch
│ │ └── heap.c.patch
│ ├── tinyscheme/
│ │ ├── build.sh
│ │ ├── makefile.patch
│ │ └── schema.c.patch
│ ├── tk/
│ │ ├── build.sh
│ │ └── no-hardlinks.patch
│ ├── tmate/
│ │ ├── build.sh
│ │ └── tmux.h.patch
│ ├── tmux/
│ │ ├── build.sh
│ │ ├── compat-imsg.c.patch
│ │ ├── compat-setproctitle.c.patch
│ │ ├── configure.patch
│ │ ├── socket-path.patch
│ │ └── tmux.conf
│ ├── toilet/
│ │ └── build.sh
│ ├── tokei/
│ │ └── build.sh
│ ├── tor/
│ │ ├── build.sh
│ │ ├── src-app-main-main.c.patch
│ │ └── src-feature-relay-dns.c.patch
│ ├── torsocks/
│ │ ├── Makefile.am.patch
│ │ ├── build.sh
│ │ ├── configure.ac.patch
│ │ ├── src-common-compat.h.patch
│ │ ├── src-common-config-file.h.patch
│ │ ├── src-lib-gethostbyname.c.patch
│ │ └── src-lib-syscall.c.patch
│ ├── toxic/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── cfg-checks-audio.mk.patch
│ ├── tracepath/
│ │ ├── build.sh
│ │ └── tracepath.c.patch
│ ├── translate-shell/
│ │ └── build.sh
│ ├── transmission/
│ │ ├── arpa_inet_h.patch
│ │ ├── build.sh
│ │ ├── libtransmission-fdlimit.c.patch
│ │ ├── miniwget_min.patch
│ │ ├── no_locale.patch
│ │ └── no_quota.patch
│ ├── tree/
│ │ ├── build.sh
│ │ └── tree.c.patch
│ ├── tsocks/
│ │ ├── 00_patch_from_1.8beta5-9.2.patch
│ │ ├── 01_symbolexport.patch
│ │ ├── 02_hyphenfix.patch
│ │ ├── 03_fixloop.patch
│ │ ├── 04_getpeername.patch
│ │ ├── 05_config_in_home.patch
│ │ ├── 06_fallback.patch
│ │ ├── 07_tsocks-1.8_beta5-hostname-config-fix.patch
│ │ ├── 08_manpages-fixes.patch
│ │ ├── 10_hardening.patch
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── no-static-linking.patch
│ │ ├── tsocks.c.patch
│ │ └── tsocks.patch
│ ├── tsu/
│ │ └── build.sh
│ ├── tty-clock/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── ttyd/
│ │ ├── CMakeLists.txt.patch
│ │ ├── build.sh
│ │ └── src-utils.c.patch
│ ├── ttyrec/
│ │ ├── Makefile.patch
│ │ ├── build.sh
│ │ └── ttyrec.c.patch
│ ├── tweego/
│ │ └── build.sh
│ ├── uftrace/
│ │ ├── arm-clang-mcount-hook.patch
│ │ ├── build.sh
│ │ ├── cmds-live.c.patch
│ │ ├── cmds-record.c.patch
│ │ ├── disable-librt.patch
│ │ ├── kernel.c.patch
│ │ ├── libmcount-record.c.patch
│ │ ├── libmcount-wrap.c.patch
│ │ └── pr_warn.patch
│ ├── unicorn/
│ │ ├── build.sh
│ │ └── samples-Makefile.patch
│ ├── unifdef/
│ │ └── build.sh
│ ├── units/
│ │ ├── build.sh
│ │ └── units.h.patch.debug
│ ├── unrar/
│ │ ├── build.sh
│ │ ├── makefile.patch
│ │ └── os.hpp.patch
│ ├── unstable-repo/
│ │ └── build.sh
│ ├── unzip/
│ │ ├── bugfix-crc32.patch
│ │ ├── bugfix-csiz-underflow.patch
│ │ ├── bugfix-cve20149636.patch
│ │ ├── bugfix-empty-input.patch
│ │ ├── bugfix-getZip64Data.patch
│ │ ├── bugfix-nextbyte-overflow.patch
│ │ ├── bugfix-overflow-fsize.patch
│ │ ├── bugfix-test_compr_eb.patch
│ │ ├── build.sh
│ │ ├── makefile.patch
│ │ ├── unix-configure.patch
│ │ └── unzip.c.patch
│ ├── utf8cpp/
│ │ └── build.sh
│ ├── utf8proc/
│ │ ├── Makefile.patch
│ │ └── build.sh
│ ├── utfdecode/
│ │ └── build.sh
│ ├── util-linux/
│ │ ├── build.sh
│ │ ├── configure.patch
│ │ ├── fix-paths.patch
│ │ ├── lib-ismounted.c.patch
│ │ ├── sys-utils-ipcutils.c.patch
│ │ └── sys-utils-ipcutils.h.patch
│ ├── valac/
│ │ ├── build.sh
│ │ └── valadoc.subpackage.sh
│ ├── valgrind/
│ │ ├── aarch64-setjmp.S
│ │ ├── build.sh
│ │ ├── coregrind-vgdb.c.patch
│ │ ├── coregrindmake.am.patch
│ │ ├── dont-redefine-elf32_nhdr.patch
│ │ ├── libcsetjmp.h.patch
│ │ ├── memcheckmake.am.patch
│ │ └── vg_preloaded.c.patch
│ ├── vcsh/
│ │ └── build.sh
│ ├── vegeta/
│ │ └── build.sh
│ ├── vifm/
│ │ ├── build.sh
│ │ ├── cmd_completion.c.patch
│ │ ├── configure.ac.patch
│ │ ├── file_info.c.patch
│ │ ├── src-Makefile.am.patch
│ │ ├── src-registers.c.patch
│ │ ├── src-utils-path.c.patch
│ │ └── src-utils-shmem_nix.c.patch
│ ├── vim/
│ │ ├── build.sh
│ │ ├── option.c.patch
│ │ ├── os_unix.h.patch
│ │ ├── src-auto-configure.patch
│ │ ├── src-if_cscope.c.patch
│ │ ├── vim-runtime.subpackage.sh
│ │ ├── vimrc
│ │ ├── vimtutor.patch
│ │ └── vterm_internal.h.patch
│ ├── vim-python/
│ │ ├── build.sh
│ │ ├── option.c.patch
│ │ ├── os_unix.h.patch
│ │ ├── src-auto-configure.patch
│ │ ├── src-if_cscope.c.patch
│ │ ├── vimrc
│ │ ├── vimtutor.patch
│ │ └── vterm_internal.h.patch
│ ├── virustotal-cli/
│ │ └── build.sh
│ ├── vis/
│ │ ├── build.sh
│ │ └── configure.patch
│ ├── vorbis-tools/
│ │ └── build.sh
│ ├── vttest/
│ │ └── build.sh
│ ├── vtutils/
│ │ └── build.sh
│ ├── w3m/
│ │ ├── Makefile.in.patch
│ │ ├── Str.h.patch
│ │ ├── build.sh
│ │ └── gc.h
│ ├── wcalc/
│ │ └── build.sh
│ ├── weechat/
│ │ ├── build.sh
│ │ ├── cmake-FindPerl.cmake.patch
│ │ ├── no-setuid.patch
│ │ ├── src-core-wee-config.c.patch
│ │ ├── src-core-weechat.c.patch
│ │ ├── src-gui-curses-CMakeLists.txt.patch
│ │ ├── weechat-lua-plugin.subpackage.sh
│ │ ├── weechat-perl-plugin.subpackage.sh
│ │ ├── weechat-python-plugin.subpackage.sh
│ │ ├── weechat-python38.patch
│ │ └── weechat-ruby-plugin.subpackage.sh
│ ├── wget/
│ │ ├── build.sh
│ │ ├── lib-stdio-impl.h.patch
│ │ └── tmpdir-path.patch
│ ├── wireguard-tools/
│ │ ├── android.c.patch
│ │ └── build.sh
│ ├── wol/
│ │ ├── build.sh
│ │ ├── lib-getline.h.patch
│ │ └── src-magic.c.patch
│ ├── wordgrinder/
│ │ ├── Makefile.patch
│ │ ├── build.lua.patch
│ │ └── build.sh
│ ├── wren/
│ │ ├── build.sh
│ │ ├── libuv-sys-include.patch
│ │ └── util-wren.mk.patch
│ ├── wuzz/
│ │ └── build.sh
│ ├── x11-repo/
│ │ └── build.sh
│ ├── xcb-proto/
│ │ └── build.sh
│ ├── xmlsec/
│ │ └── build.sh
│ ├── xmlstarlet/
│ │ └── build.sh
│ ├── xorg-util-macros/
│ │ ├── build.sh
│ │ └── util-macros-1.19.1_xorg-macros.m4.in.patch
│ ├── xorgproto/
│ │ ├── build.sh
│ │ ├── include-x11-Xos_r.h.patch
│ │ ├── include-x11-Xpoll.h.in.patch
│ │ └── meson.build.patch
│ ├── xorriso/
│ │ ├── build.sh
│ │ └── pthread.patch
│ ├── xtrans/
│ │ ├── build.sh
│ │ ├── xtrans-1.3.5_Xtransutil.c.patch
│ │ ├── xtrans-1.4.0_Xtranslcl.c.patch
│ │ └── xtrans-1.4.0_Xtranssock.c.patch
│ ├── xvidcore/
│ │ └── build.sh
│ ├── yadm/
│ │ └── build.sh
│ ├── yajl/
│ │ └── build.sh
│ ├── yarn/
│ │ └── build.sh
│ ├── yasm/
│ │ └── build.sh
│ ├── zbar/
│ │ ├── build.sh
│ │ ├── configure.ac.patch
│ │ └── zbarimg.c.patch
│ ├── zile/
│ │ ├── build.sh
│ │ ├── configure-pthreads-no-weak.patch
│ │ ├── lib-vasnprintf.c.patch
│ │ ├── spawn.patch
│ │ └── zile.1
│ ├── zip/
│ │ ├── build.sh
│ │ ├── makefile.patch
│ │ └── unix-configure.patch
│ ├── zlib/
│ │ └── build.sh
│ ├── zsh/
│ │ ├── Src-exec.c.patch
│ │ ├── build.sh
│ │ ├── compaudit.patch
│ │ ├── configure.patch
│ │ ├── etc-zshrc
│ │ ├── src-init.c.patch
│ │ ├── src-module.c.patch
│ │ └── tmp_path.patch
│ ├── zstd/
│ │ ├── build.sh
│ │ └── no-timespec_get.patch
│ └── zsync/
│ └── build.sh
├── print.txt
├── sample/
│ ├── build.sh
│ └── sample-sub.subpackage.sh
└── scripts/
├── Dockerfile
├── Vagrantfile
├── apt-compare-versions
├── build/
│ ├── ci/
│ │ └── cirrus-ci_dispatcher.sh
│ ├── configure/
│ │ ├── termux_step_configure.sh
│ │ ├── termux_step_configure_autotools.sh
│ │ ├── termux_step_configure_cmake.sh
│ │ └── termux_step_configure_meson.sh
│ ├── setup/
│ │ ├── termux_setup_cmake.sh
│ │ ├── termux_setup_golang.sh
│ │ ├── termux_setup_meson.sh
│ │ ├── termux_setup_ninja.sh
│ │ ├── termux_setup_protobuf.sh
│ │ └── termux_setup_rust.sh
│ ├── termux_create_subpackages.sh
│ ├── termux_download.sh
│ ├── termux_download_deb.sh
│ ├── termux_error_exit.sh
│ ├── termux_extract_dep_info.sh
│ ├── termux_get_repo_files.sh
│ ├── termux_step_create_datatar.sh
│ ├── termux_step_create_debfile.sh
│ ├── termux_step_extract_into_massagedir.sh
│ ├── termux_step_extract_package.sh
│ ├── termux_step_finish_build.sh
│ ├── termux_step_handle_buildarch.sh
│ ├── termux_step_handle_hostbuild.sh
│ ├── termux_step_host_build.sh
│ ├── termux_step_install_license.sh
│ ├── termux_step_make.sh
│ ├── termux_step_make_install.sh
│ ├── termux_step_massage.sh
│ ├── termux_step_patch_package.sh
│ ├── termux_step_replace_guess_scripts.sh
│ ├── termux_step_setup_toolchain.sh
│ ├── termux_step_setup_variables.sh
│ └── termux_step_start_build.sh
├── buildorder.py
├── check-built-packages.py
├── check-pie.sh
├── check-versions.sh
├── config.guess
├── config.sub
├── get_hash_from_file.py
├── ldd
├── lint-packages.sh
├── list-packages.sh
├── list-versions.sh
├── package_uploader.sh
├── print.txt
├── properties.sh
├── run-docker.ps1
├── run-docker.sh
├── setup-android-sdk.sh
├── setup-archlinux.sh
├── setup-termux.sh
├── setup-ubuntu.sh
├── test-runner.sh
└── update-docker.sh
SYMBOL INDEX (355 symbols across 30 files)
FILE: disabled-packages/mono/math_private.h
type ieee_double_shape_type (line 53) | typedef union
type ieee_double_shape_type (line 71) | typedef union
type ieee_float_shape_type (line 166) | typedef union
type float_complex (line 433) | typedef union {
type double_complex (line 437) | typedef union {
type long_double_complex (line 441) | typedef union {
function cpackf (line 458) | static __inline float complex
function cpack (line 468) | static __inline double complex
function cpackl (line 478) | static __inline long double complex
function irint (line 494) | static __inline int
function irint (line 506) | static __inline int
function irintl (line 518) | static __inline int
FILE: disabled-packages/openvpn/netbsd_getpass.c
type termios (line 57) | struct termios
FILE: ndk-patches/ifaddrs.h
type ifaddrs (line 52) | struct ifaddrs {
type ifaddrs (line 73) | struct ifaddrs
type ifaddrs (line 74) | struct ifaddrs
type NetlinkList (line 90) | typedef struct NetlinkList {
function netlink_socket (line 96) | static int netlink_socket(void)
function netlink_send (line 112) | static int netlink_send(int p_socket, int p_request)
function netlink_recv (line 134) | static int netlink_recv(int p_socket, void *p_buffer, size_t p_len)
type nlmsghdr (line 165) | struct nlmsghdr
type nlmsghdr (line 183) | struct nlmsghdr
type nlmsghdr (line 184) | struct nlmsghdr
type nlmsghdr (line 184) | struct nlmsghdr
type nlmsghdr (line 197) | struct nlmsghdr
function NetlinkList (line 204) | static NetlinkList *newListItem(struct nlmsghdr *p_data, unsigned int p_...
function freeResultList (line 215) | static void freeResultList(NetlinkList *p_list)
function NetlinkList (line 226) | static NetlinkList *getResultList(int p_socket, int p_request)
function maxSize (line 256) | static size_t maxSize(size_t a, size_t b)
function calcAddrLen (line 261) | static size_t calcAddrLen(sa_family_t p_family, int p_dataSize)
function makeSockaddr (line 275) | static void makeSockaddr(sa_family_t p_family, struct sockaddr *p_dest, ...
function addToEnd (line 295) | static void addToEnd(struct ifaddrs **p_resultList, struct ifaddrs *p_en...
function interpretLink (line 308) | static int interpretLink(struct nlmsghdr *p_hdr, struct ifaddrs **p_resu...
type ifaddrs (line 390) | struct ifaddrs
type ifaddrs (line 390) | struct ifaddrs
type ifaddrs (line 393) | struct ifaddrs
type ifaddrs (line 395) | struct ifaddrs
function interpretAddr (line 406) | static int interpretAddr(struct nlmsghdr *p_hdr, struct ifaddrs **p_resu...
function interpretLinks (line 521) | static int interpretLinks(int p_socket, NetlinkList *p_netlinkList, stru...
function interpretAddrs (line 543) | static int interpretAddrs(int p_socket, NetlinkList *p_netlinkList, stru...
function getifaddrs (line 562) | static int getifaddrs(struct ifaddrs **ifap)
function freeifaddrs (line 597) | static void freeifaddrs(struct ifaddrs *ifa)
FILE: packages/dcraw/swab.c
function swab (line 21) | void
FILE: packages/finch/arpa/nameser.h
type ns_sect (line 104) | typedef enum __ns_sect {
type ns_msg (line 120) | typedef struct __ns_msg {
type _ns_flagdata (line 130) | struct _ns_flagdata { int mask, shift; }
type _ns_flagdata (line 131) | struct _ns_flagdata
type ns_rr (line 144) | typedef struct __ns_rr {
type ns_flag (line 166) | typedef enum __ns_flag {
type ns_opcode (line 183) | typedef enum __ns_opcode {
type ns_rcode (line 196) | typedef enum __ns_rcode {
type ns_update_operation (line 219) | typedef enum __ns_update_operation {
type ns_tsig_key (line 228) | struct ns_tsig_key {
type ns_tsig_key (line 233) | typedef struct ns_tsig_key ns_tsig_key;
type ns_tcp_tsig_state (line 238) | struct ns_tcp_tsig_state {
type ns_tcp_tsig_state (line 245) | typedef struct ns_tcp_tsig_state ns_tcp_tsig_state;
type ns_type (line 258) | typedef enum __ns_type {
type ns_class (line 327) | typedef enum __ns_class {
type ns_key_types (line 341) | typedef enum __ns_key_types {
type ns_cert_types (line 348) | typedef enum __ns_cert_types {
FILE: packages/finch/arpa/nameser_compat.h
type HEADER (line 109) | typedef struct {
FILE: packages/krb5/netbsd_getpass.c
type termios (line 57) | struct termios
FILE: packages/libandroid-glob/glob.c
type uint_fast64_t (line 118) | typedef uint_fast64_t Char;
type Char (line 127) | typedef char Char;
type stat (line 145) | struct stat
type stat (line 151) | struct stat
function glob (line 166) | int
function globexp1 (line 240) | static int
function globexp2 (line 263) | static int
function Char (line 367) | static const Char *
function glob0 (line 436) | static int
function compare (line 523) | static int
function glob1 (line 529) | static int
function glob2 (line 546) | static int
function glob3 (line 604) | static int
function globextend (line 702) | static int
function match (line 753) | static int
function globfree (line 799) | void
function DIR (line 815) | static DIR *
function g_lstat (line 833) | static int
function g_stat (line 847) | static int
function Char (line 861) | static const Char *
function g_Ctoc (line 872) | static int
function qprintf (line 893) | static void
FILE: packages/libandroid-glob/glob.h
type stat (line 42) | struct stat
type glob_t (line 43) | typedef struct {
FILE: packages/libandroid-spawn/posix_spawn.cpp
class ScopedSignalBlocker (line 45) | class ScopedSignalBlocker {
method ScopedSignalBlocker (line 48) | explicit ScopedSignalBlocker() {
method ScopedSignalBlocker (line 55) | explicit ScopedSignalBlocker(int signal) {
method reset (line 65) | void reset() {
type Action (line 81) | enum Action {
type __posix_spawn_file_action (line 87) | struct __posix_spawn_file_action {
method Do (line 97) | void Do() {
type __posix_spawn_file_actions (line 115) | struct __posix_spawn_file_actions {
method Do (line 119) | void Do() {
type __posix_spawnattr (line 126) | struct __posix_spawnattr {
function ApplyAttrs (line 135) | static void ApplyAttrs(short flags, const posix_spawnattr_t* attr) {
function posix_spawn (line 174) | static int posix_spawn(pid_t* pid_ptr,
function posix_spawn (line 206) | int posix_spawn(pid_t* pid, const char* path, const posix_spawn_file_act...
function posix_spawnp (line 211) | int posix_spawnp(pid_t* pid, const char* file, const posix_spawn_file_ac...
function posix_spawnattr_init (line 216) | int posix_spawnattr_init(posix_spawnattr_t* attr) {
function posix_spawnattr_destroy (line 221) | int posix_spawnattr_destroy(posix_spawnattr_t* attr) {
function posix_spawnattr_setflags (line 227) | int posix_spawnattr_setflags(posix_spawnattr_t* attr, short flags) {
function posix_spawnattr_getflags (line 237) | int posix_spawnattr_getflags(const posix_spawnattr_t* attr, short* flags) {
function posix_spawnattr_setpgroup (line 242) | int posix_spawnattr_setpgroup(posix_spawnattr_t* attr, pid_t pgroup) {
function posix_spawnattr_getpgroup (line 247) | int posix_spawnattr_getpgroup(const posix_spawnattr_t* attr, pid_t* pgro...
function posix_spawnattr_setsigmask (line 252) | int posix_spawnattr_setsigmask(posix_spawnattr_t* attr, const sigset_t* ...
function posix_spawnattr_setsigmask64 (line 257) | int posix_spawnattr_setsigmask64(posix_spawnattr_t* attr, const sigset64...
function posix_spawnattr_getsigmask (line 262) | int posix_spawnattr_getsigmask(const posix_spawnattr_t* attr, sigset_t* ...
function posix_spawnattr_getsigmask64 (line 267) | int posix_spawnattr_getsigmask64(const posix_spawnattr_t* attr, sigset64...
function posix_spawnattr_setsigdefault (line 272) | int posix_spawnattr_setsigdefault(posix_spawnattr_t* attr, const sigset_...
function posix_spawnattr_setsigdefault64 (line 277) | int posix_spawnattr_setsigdefault64(posix_spawnattr_t* attr, const sigse...
function posix_spawnattr_getsigdefault (line 282) | int posix_spawnattr_getsigdefault(const posix_spawnattr_t* attr, sigset_...
function posix_spawnattr_getsigdefault64 (line 287) | int posix_spawnattr_getsigdefault64(const posix_spawnattr_t* attr, sigse...
function posix_spawnattr_setschedparam (line 292) | int posix_spawnattr_setschedparam(posix_spawnattr_t* attr, const struct ...
function posix_spawnattr_getschedparam (line 297) | int posix_spawnattr_getschedparam(const posix_spawnattr_t* attr, struct ...
function posix_spawnattr_setschedpolicy (line 302) | int posix_spawnattr_setschedpolicy(posix_spawnattr_t* attr, int policy) {
function posix_spawnattr_getschedpolicy (line 307) | int posix_spawnattr_getschedpolicy(const posix_spawnattr_t* attr, int* p...
function posix_spawn_file_actions_init (line 312) | int posix_spawn_file_actions_init(posix_spawn_file_actions_t* actions) {
function posix_spawn_file_actions_destroy (line 317) | int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t* actions) {
function posix_spawn_add_file_action (line 330) | static int posix_spawn_add_file_action(posix_spawn_file_actions_t* actions,
function posix_spawn_file_actions_addopen (line 367) | int posix_spawn_file_actions_addopen(posix_spawn_file_actions_t* actions,
function posix_spawn_file_actions_addclose (line 373) | int posix_spawn_file_actions_addclose(posix_spawn_file_actions_t* action...
function posix_spawn_file_actions_adddup2 (line 378) | int posix_spawn_file_actions_adddup2(posix_spawn_file_actions_t* actions...
FILE: packages/libandroid-spawn/posix_spawn.h
type __posix_spawnattr (line 50) | struct __posix_spawnattr
type __posix_spawn_file_actions (line 51) | struct __posix_spawn_file_actions
type sched_param (line 75) | struct sched_param
type sched_param (line 76) | struct sched_param
FILE: packages/libcrypt/crypt3.c
type u_long (line 47) | typedef unsigned long u_long;
function _crypt_to64 (line 64) | void
function b64_from_24bit (line 73) | void
function INLINE (line 221) | static INLINE int
function des_init (line 239) | static void
function setup_salt (line 368) | static void
function des_setkey (line 389) | static int
function do_des (line 469) | static int
function des_cipher (line 585) | static int
type crypt_format (line 1364) | struct crypt_format {
type crypt_format (line 1380) | struct crypt_format
FILE: packages/libelf/error.h
function error (line 11) | static inline void error(int status, int errnum, const char* format, ...) {
FILE: packages/libelf/obstack.h
type _obstack_chunk (line 143) | struct _obstack_chunk /* Lives at front of each chunk. */
type obstack (line 150) | struct obstack /* control current object in current chunk */
type obstack (line 179) | struct obstack
function obstack_printf (line 488) | static inline int obstack_printf(struct obstack *obst, const char *fmt, ...
type fooalign (line 508) | struct fooalign
type fooalign (line 518) | struct fooalign
type obstack (line 544) | struct obstack
function _obstack_begin (line 576) | static int _obstack_begin (struct obstack *h,
function _obstack_begin_1 (line 620) | static int _obstack_begin_1 (struct obstack *h, int size, int alignment,
function _obstack_newchunk (line 671) | static void _obstack_newchunk (struct obstack *h, int length)
function obstack_free_func (line 741) | static void obstack_free_func (struct obstack *h, void *obj)
function _obstack_memory_used (line 770) | static int _obstack_memory_used (struct obstack *h)
function print_and_abort (line 782) | static void __attribute__ ((noreturn)) print_and_abort (void)
FILE: packages/libelf/qsort_r.h
function swapfunc (line 64) | static inline void
function qsort (line 108) | void
FILE: packages/libelf/stdio_ext.h
function __fsetlocking (line 10) | static inline int __fsetlocking(FILE *stream, int type)
function feof_unlocked (line 17) | static inline int feof_unlocked(FILE *stream)
function ferror_unlocked (line 22) | static inline int ferror_unlocked(FILE *stream)
function fputs_unlocked (line 27) | static inline int fputs_unlocked(const char *s, FILE *stream)
function fputc_unlocked (line 32) | static inline int fputc_unlocked(int c, FILE *stream)
function fread_unlocked (line 37) | static inline size_t fread_unlocked(void *data, size_t size, size_t coun...
function fwrite_unlocked (line 42) | static inline size_t fwrite_unlocked(const void *data, size_t size, size...
FILE: packages/libgpg-error/lock-obj-pub.aarch64-unknown-linux-android.h
type gpgrt_lock_t (line 5) | typedef struct
FILE: packages/libllvm/nltypes_stubs.cpp
function nl_catd (line 33) | __attribute__((weak,visibility("hidden")))
function catclose (line 43) | __attribute__((weak,visibility("hidden")))
FILE: packages/memcached/getsubopt.c
function getsubopt (line 48) | int
FILE: packages/mosh/mosh.cc
function string (line 40) | inline string shell_quote_string( const string &x )
function string (line 58) | inline string shell_quote( const SequenceT &sequence )
function die (line 69) | void die( const char *format, ... ) {
function predict_check (line 119) | void predict_check( const string &predict, bool env_set )
function cat (line 130) | void cat( int ifd, int ofd )
function valid_port (line 152) | bool valid_port(string port) {
function main (line 161) | int main( int argc, char *argv[] )
FILE: packages/netpbm/standardppmdfont.c
type ppmd_glyphCommand (line 5) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 23) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 59) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 83) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 137) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 201) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 271) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 287) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 309) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 331) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 349) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 361) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 379) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 385) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 397) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 403) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 439) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 449) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 479) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 511) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 525) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 561) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 609) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 621) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 681) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 729) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 753) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 783) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 791) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 803) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 811) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 853) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 965) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 983) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1031) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1069) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1101) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1125) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1143) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1189) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1207) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1213) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1235) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1253) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1261) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1285) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1303) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1347) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1375) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1425) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1459) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1501) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1513) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1535) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1547) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1571) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1583) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1597) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1615) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1639) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1645) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1669) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1685) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1691) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1707) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1743) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1779) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1809) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1845) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1881) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1899) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1945) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1967) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 1985) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2009) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2027) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2033) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2071) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2093) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2129) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2165) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2201) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2219) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2255) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2273) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2295) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2307) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2331) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2343) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2363) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2381) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2461) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2467) | struct ppmd_glyphCommand
type ppmd_glyphCommand (line 2547) | struct ppmd_glyphCommand
type ppmd_glyph (line 2595) | struct ppmd_glyph
type ppmd_font (line 3168) | struct ppmd_font
FILE: packages/pulseaudio/module-aaudio-sink.c
type userdata (line 66) | struct userdata {
function process_render (line 100) | static int process_render(struct userdata *u, void *audioData, int64_t n...
function aaudio_data_callback_result_t (line 115) | static aaudio_data_callback_result_t data_callback(AAudioStream *stream,...
function error_callback (line 123) | static void error_callback(AAudioStream *stream, void *userdata, aaudio_...
function pa_open_aaudio_stream (line 145) | static int pa_open_aaudio_stream(struct userdata *u)
function pa_usec_t (line 180) | static pa_usec_t get_latency(struct userdata *u) {
function sink_process_msg (line 188) | static int sink_process_msg(pa_msgobject *o, int code, void *data, int64...
function state_func_main (line 209) | static int state_func_main(pa_sink *s, pa_sink_state_t state, pa_suspend...
function state_func_io (line 242) | static int state_func_io(pa_sink *s, pa_sink_state_t state, pa_suspend_c...
function reconfigure_func (line 266) | static void reconfigure_func(pa_sink *s, pa_sample_spec *ss, bool passth...
function process_rewind (line 270) | static void process_rewind(pa_sink *s) {
function thread_func (line 274) | static void thread_func(void *userdata) {
function pa__init (line 302) | int pa__init(pa_module*m) {
function pa__get_n_used (line 409) | int pa__get_n_used(pa_module *m) {
function pa__done (line 418) | void pa__done(pa_module*m) {
FILE: packages/pulseaudio/module-sles-sink.c
type userdata (line 65) | struct userdata {
function process_render (line 99) | static void process_render(void *userdata) {
function sink_process_msg (line 113) | static int sink_process_msg(pa_msgobject *o, int code, void *data, int64...
function sles_callback (line 123) | static void sles_callback(SLBufferQueueItf bqPlayerBufferQueue, void *us...
function pa_init_sles_player (line 139) | static int pa_init_sles_player(struct userdata *u, pa_sample_spec *ss) {
function thread_func (line 196) | static void thread_func(void *userdata) {
function state_func (line 224) | static int state_func(pa_sink *s, pa_sink_state_t state, pa_suspend_caus...
function process_rewind (line 236) | static void process_rewind(pa_sink *s) {
function pa__init (line 240) | int pa__init(pa_module*m) {
function pa__get_n_used (line 362) | int pa__get_n_used(pa_module *m) {
function pa__done (line 373) | void pa__done(pa_module*m) {
FILE: packages/pulseaudio/module-sles-source.c
type userdata (line 73) | struct userdata {
function thread_func (line 103) | static void thread_func(void *userdata) {
function state_func (line 130) | static int state_func(pa_source *s, pa_source_state_t state, pa_suspend_...
function process_render (line 140) | static void process_render(void *userdata) {
function source_process_msg (line 152) | static int source_process_msg(pa_msgobject *o, int code, void *data, int...
function sles_callback (line 162) | static void sles_callback(SLAndroidSimpleBufferQueueItf recBuffQueueItf ...
function pa_init_sles_record (line 169) | static int pa_init_sles_record(struct userdata *u, pa_sample_spec *ss) {
function pa__init (line 243) | int pa__init(pa_module*m) {
function pa__get_n_used (line 356) | int pa__get_n_used(pa_module *m) {
function pa__done (line 366) | void pa__done(pa_module*m) {
FILE: packages/texlive-bin/pdftoepdf-poppler0.76.0.cc
type InObjType (line 99) | enum InObjType {
type InObj (line 105) | struct InObj {
type UsedEncoding (line 115) | struct UsedEncoding {
type PdfDocument (line 129) | struct PdfDocument {
function PdfDocument (line 147) | static PdfDocument *find_add_document(char *file_name)
function delete_document (line 174) | static void delete_document(PdfDocument * pdf_doc)
function addEncoding (line 198) | static int addEncoding(GfxFont * gfont)
function addInObj (line 221) | static int addInObj(InObjType type, Ref ref, fd_entry * fd, int e)
function getNewObjectNumber (line 255) | static int getNewObjectNumber(Ref ref)
function copyName (line 278) | static void copyName(char *s)
function copyDictEntry (line 290) | static void copyDictEntry(Object * obj, int i)
function copyDict (line 300) | static void copyDict(Object * obj)
function copyFontDict (line 310) | static void copyFontDict(Object * obj, InObj * r)
function copyStream (line 334) | static void copyStream(Stream * str)
function copyProcSet (line 345) | static void copyProcSet(Object * obj)
function embeddableFont (line 366) | static bool embeddableFont(Object * fontdesc)
function copyFont (line 385) | static void copyFont(char *tag, Object * fontRef)
function copyFontResources (line 446) | static void copyFontResources(Object * obj)
function copyOtherResources (line 470) | static void copyOtherResources(Object * obj, char *key)
function copyObject (line 552) | static void copyObject(Object * obj)
function writeRefs (line 629) | static void writeRefs()
function writeEncodings (line 655) | static void writeEncodings()
function PDFRectangle (line 686) | static const PDFRectangle *get_pagebox(Page * page, int pagebox_spec)
function read_pdf_info (line 711) | int
function write_epdf (line 816) | void write_epdf(void)
function epdf_delete (line 1090) | void epdf_delete()
function epdf_check_mem (line 1102) | void epdf_check_mem()
FILE: packages/texlive-bin/pdftosrc-poppler0.76.0.cc
function main (line 63) | int main(int argc, char *argv[])
FILE: packages/texlive/parse_tlpdb.py
function parse_tlpdb_to_dict (line 20) | def parse_tlpdb_to_dict(tlpdb_path):
function get_files_in_package (line 42) | def get_files_in_package(package, files_in_package, visited_pkgs, visit_...
function Files (line 58) | def Files(*args, **kwargs):
function get_conflicting_pkgs (line 74) | def get_conflicting_pkgs(package):
FILE: scripts/buildorder.py
function unique_everseen (line 10) | def unique_everseen(iterable, key=None):
function die (line 29) | def die(msg):
function parse_build_file_dependencies (line 33) | def parse_build_file_dependencies(path):
class TermuxPackage (line 53) | class TermuxPackage(object):
method __init__ (line 55) | def __init__(self, dir_path, fast_build_mode):
method __repr__ (line 95) | def __repr__(self):
method recursive_dependencies (line 98) | def recursive_dependencies(self, pkgs_map):
class TermuxSubPackage (line 107) | class TermuxSubPackage:
method __init__ (line 109) | def __init__(self, subpackage_file_path, parent, virtual=False):
method __repr__ (line 122) | def __repr__(self):
method recursive_dependencies (line 125) | def recursive_dependencies(self, pkgs_map):
function read_packages_from_directories (line 138) | def read_packages_from_directories(directories, fast_build_mode):
function generate_full_buildorder (line 174) | def generate_full_buildorder(pkgs_map):
function generate_target_buildorder (line 227) | def generate_target_buildorder(target_path, pkgs_map, fast_build_mode):
function main (line 239) | def main():
FILE: scripts/check-built-packages.py
function check_manifest (line 14) | def check_manifest(arch, manifest):
FILE: scripts/get_hash_from_file.py
function get_pkg_hash_from_Packages (line 5) | def get_pkg_hash_from_Packages(Packages_file, package, version, hash="SH...
function get_Packages_hash_from_Release (line 23) | def get_Packages_hash_from_Release(Release_file, arch, component, hash="...
Condensed preview — 2305 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (4,061K chars).
[
{
"path": ".cirrus.yml",
"chars": 4631,
"preview": "container:\n image: andronixapp/package-builder:latest\n\n##\n## When doing release builds (branch 'master'), update Docke"
},
{
"path": ".github/main.workflow",
"chars": 182,
"preview": "workflow \"Discord\" {\n on = \"check_suite\"\n resolves = \"Discord Webhook\"\n}\n\naction \"Discord Webhook\" {\n uses = \"docker:"
},
{
"path": ".gitignore",
"chars": 256,
"preview": "### Vim ###\n[._]*.s[a-w][a-z]\n[._]s[a-w][a-z]\n*.un~\nSession.vim\n.netrwhist\n*~\n/debs/\n### Vagrant ###\nscripts/*.log\nscrip"
},
{
"path": "LICENSE.md",
"chars": 503,
"preview": "# License for package patches\n\nThe scripts and patches to build each package is licensed under the same\nlicense as the a"
},
{
"path": "README.md",
"chars": 2177,
"preview": "<p align=\"center\">\n<img src=\"https://github.com/imprakharshukla/termux-packages/blob/master/Assests/github_banner.png\" h"
},
{
"path": "build-all.sh",
"chars": 2535,
"preview": "#!/bin/bash\n# build-all.sh - script to build all packages with a build order specified by buildorder.py\n\nset -e -u -o pi"
},
{
"path": "build-package.sh",
"chars": 13087,
"preview": "#!/bin/bash\n# shellcheck disable=SC1117\n\nset -e -o pipefail -u\n\n: \"${TMPDIR:=/tmp}\"\nexport TMPDIR\n\nif [ \"$(uname -o)\" = "
},
{
"path": "clean.sh",
"chars": 1254,
"preview": "#!/bin/sh\n# clean.sh - clean everything.\nset -e -u\n\n# Checking if script is running on Android with 2 different methods."
},
{
"path": "disabled-packages/abuild/Makefile.patch",
"chars": 422,
"preview": "diff -u -r ../abuild-3.2.0/Makefile ./Makefile\n--- ../abuild-3.2.0/Makefile\t2018-06-22 07:24:10.000000000 +0000\n+++ ./Ma"
},
{
"path": "disabled-packages/abuild/abuild-fetch.c.patch",
"chars": 452,
"preview": "diff -uNr abuild-3.4.0/abuild-fetch.c abuild-3.4.0.mod/abuild-fetch.c\n--- abuild-3.4.0/abuild-fetch.c\t2019-06-14 15:13:2"
},
{
"path": "disabled-packages/abuild/abuild-keygen.in.patch",
"chars": 1096,
"preview": "--- abuild-3.2.0/abuild-keygen.in\t2018-06-22 10:24:10.000000000 +0300\n+++ abuild-3.2.0.mod/abuild-keygen.in\t2018-11-18 2"
},
{
"path": "disabled-packages/abuild/abuild-rmtemp.c.patch",
"chars": 955,
"preview": "--- abuild-3.2.0/abuild-rmtemp.c\t2018-06-22 10:24:10.000000000 +0300\n+++ abuild-3.2.0.mod/abuild-rmtemp.c\t2018-11-18 19:"
},
{
"path": "disabled-packages/abuild/abuild-sign.in.patch",
"chars": 513,
"preview": "--- abuild-3.2.0/abuild-sign.in\t2018-06-22 10:24:10.000000000 +0300\n+++ abuild-3.2.0.mod/abuild-sign.in\t2018-11-18 20:28"
},
{
"path": "disabled-packages/abuild/abuild.conf.patch",
"chars": 658,
"preview": "diff -uNr abuild-3.2.0/abuild.conf abuild-3.2.0.mod/abuild.conf\n--- abuild-3.2.0/abuild.conf\t2018-06-22 10:24:10.0000000"
},
{
"path": "disabled-packages/abuild/abuild.in.patch",
"chars": 16530,
"preview": "diff -uNr abuild-3.4.0/abuild.in abuild-3.4.0.mod/abuild.in\n--- abuild-3.4.0/abuild.in\t2019-06-14 15:13:23.000000000 +03"
},
{
"path": "disabled-packages/abuild/build.sh",
"chars": 1047,
"preview": "##\n## Since Termux is continuing to use APT as package manager, abuild & apk-tools\n## are disabled because don't have re"
},
{
"path": "disabled-packages/abuild/checkapk.in.patch",
"chars": 562,
"preview": "--- abuild-3.2.0/checkapk.in\t2018-06-22 10:24:10.000000000 +0300\n+++ abuild-3.2.0.mod/checkapk.in\t2018-11-18 20:27:51.35"
},
{
"path": "disabled-packages/abuild/functions.sh.in.patch",
"chars": 5998,
"preview": "diff -uNr abuild-3.4.0/functions.sh.in abuild-3.4.0.mod/functions.sh.in\n--- abuild-3.4.0/functions.sh.in\t2019-06-14 15:1"
},
{
"path": "disabled-packages/abuild/sample.APKBUILD.patch",
"chars": 442,
"preview": "--- abuild-3.2.0/sample.APKBUILD\t2018-06-22 10:24:10.000000000 +0300\n+++ abuild-3.2.0.mod/sample.APKBUILD\t2018-11-19 01:"
},
{
"path": "disabled-packages/alsa-lib/alsa-conf-dir.patch",
"chars": 280,
"preview": "--- ./src/conf/alsa.conf.orig\t2016-12-20 14:43:20.000000000 +0000\n+++ ./src/conf/alsa.conf\t2017-03-06 22:51:47.242150837"
},
{
"path": "disabled-packages/alsa-lib/build.sh",
"chars": 1063,
"preview": "# patches taken from https://github.com/michaelwu/alsa-lib\nTERMUX_PKG_HOMEPAGE=http://www.alsa-project.org\nTERMUX_PKG_VE"
},
{
"path": "disabled-packages/alsa-lib/pcm_direct.c.patch",
"chars": 491,
"preview": "--- ./src/pcm/pcm_direct.c\t2016-08-02 23:18:38.000000000 +0530\n+++ ./src/pcm/pcm_direct.c\t2016-12-02 23:19:30.771819040 "
},
{
"path": "disabled-packages/alsa-lib/pcm_mmap.c.patch.old",
"chars": 530,
"preview": "--- ./src/pcm/pcm_mmap.c\t2016-08-02 23:18:38.000000000 +0530\n+++ /home/vishal/AndroidDev/alsa/src/pcm/pcm_mmap.c\t2016-12"
},
{
"path": "disabled-packages/alsa-lib/versionsort.patch",
"chars": 1165,
"preview": "diff -ruN ./src/conf.c /home/vishal/AndroidDev/alsa/src/conf.c\n--- ./src/conf.c\t2016-08-02 23:18:38.000000000 +0530\n+++ "
},
{
"path": "disabled-packages/alsa-plugins/asound.conf",
"chars": 260,
"preview": "# Use pulseaudio by default\npcm.!default {\n type pulse\n fallback \"sysdefault\"\n hint {\n show on\n description \"De"
},
{
"path": "disabled-packages/alsa-plugins/build.sh",
"chars": 438,
"preview": "TERMUX_PKG_HOMEPAGE=http://www.alsa-project.org\nTERMUX_PKG_VERSION=1.1.1\nTERMUX_PKG_SRCURL=ftp://ftp.alsa-project.org/pu"
},
{
"path": "disabled-packages/alsa-utils/build.sh",
"chars": 516,
"preview": "TERMUX_PKG_HOMEPAGE=http://www.alsa-project.org\nTERMUX_PKG_VERSION=1.1.3\nTERMUX_PKG_SRCURL=ftp://ftp.alsa-project.org/pu"
},
{
"path": "disabled-packages/alsa-utils/configure.patch",
"chars": 719,
"preview": "--- ./configure\t2016-08-02 22:44:23.000000000 +0530\n+++ ../configure\t2016-12-03 23:06:46.641370754 +0530\n@@ -7123,7 +712"
},
{
"path": "disabled-packages/alsa-utils/volume_mapping.c.patch",
"chars": 390,
"preview": "--- ./alsamixer/volume_mapping.c\t2016-08-02 22:39:45.000000000 +0530\n+++ ../volume_mapping.c\t2016-12-03 23:15:26.3907443"
},
{
"path": "disabled-packages/ant/ant",
"chars": 2734,
"preview": "#!@TERMUX_PREFIX@/bin/sh\n\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agr"
},
{
"path": "disabled-packages/ant/build.sh",
"chars": 653,
"preview": "TERMUX_PKG_HOMEPAGE=http://ant.apache.org/\nTERMUX_PKG_DESCRIPTION=\"Java based build tool like make\"\nTERMUX_PKG_VERSION=1"
},
{
"path": "disabled-packages/apk-tools/Make.rules.patch",
"chars": 474,
"preview": "diff -u -r ../apk-tools-2.10.1/Make.rules ./Make.rules\n--- ../apk-tools-2.10.1/Make.rules\t2018-09-10 08:04:03.000000000 "
},
{
"path": "disabled-packages/apk-tools/Makefile.patch",
"chars": 584,
"preview": "diff -u -r ../apk-tools-2.10.1/Makefile ./Makefile\n--- ../apk-tools-2.10.1/Makefile\t2018-09-10 08:04:03.000000000 +0000\n"
},
{
"path": "disabled-packages/apk-tools/build.sh",
"chars": 1477,
"preview": "##\n## Since Termux is continuing to use APT as package manager, abuild & apk-tools\n## are disabled because don't have re"
},
{
"path": "disabled-packages/apk-tools/libfetch-http.c.patch",
"chars": 632,
"preview": "diff -uNr apk-tools-2.10.4/libfetch/http.c apk-tools-2.10.4.mod/libfetch/http.c\n--- apk-tools-2.10.4/libfetch/http.c\t201"
},
{
"path": "disabled-packages/apk-tools/src-apk.c.patch",
"chars": 414,
"preview": "diff -u -r ../apk-tools-2.10.1/src/apk.c ./src/apk.c\n--- ../apk-tools-2.10.1/src/apk.c\t2018-09-10 08:04:03.000000000 +00"
},
{
"path": "disabled-packages/apk-tools/src-archive.c.patch",
"chars": 1279,
"preview": "diff -uNr apk-tools-2.10.3/src/archive.c apk-tools-2.10.3.mod/src/archive.c\n--- apk-tools-2.10.3/src/archive.c\t2018-11-1"
},
{
"path": "disabled-packages/apk-tools/src-commit.c.patch",
"chars": 1231,
"preview": "diff -uNr apk-tools-2.10.3/src/commit.c apk-tools-2.10.3.mod/src/commit.c\n--- apk-tools-2.10.3/src/commit.c\t2018-11-15 1"
},
{
"path": "disabled-packages/apk-tools/src-database.c.patch",
"chars": 5970,
"preview": "diff -uNr apk-tools-2.10.3/src/database.c apk-tools-2.10.3.mod/src/database.c\n--- apk-tools-2.10.3/src/database.c\t2018-1"
},
{
"path": "disabled-packages/apk-tools/src-io.c.patch",
"chars": 1114,
"preview": "diff -uNr apk-tools-2.10.3/src/io.c apk-tools-2.10.3.mod/src/io.c\n--- apk-tools-2.10.3/src/io.c\t2018-11-15 15:09:07.0000"
},
{
"path": "disabled-packages/apk-tools/src-package.c.patch",
"chars": 1141,
"preview": "diff -uNr apk-tools-2.10.3/src/package.c apk-tools-2.10.3.mod/src/package.c\n--- apk-tools-2.10.3/src/package.c\t2018-11-1"
},
{
"path": "disabled-packages/apk-tools/src-termux_prefix.h.patch",
"chars": 394,
"preview": "diff -uNr apk-tools-2.10.3/src/termux_prefix.h apk-tools-2.10.3.mod/src/termux_prefix.h\n--- apk-tools-2.10.3/src/termux_"
},
{
"path": "disabled-packages/apt-updated/CMakeLists.txt.patch",
"chars": 2261,
"preview": "diff -u -r ../apt-1.6~alpha3/CMakeLists.txt ./CMakeLists.txt\n--- ../apt-1.6~alpha3/CMakeLists.txt\t2017-10-28 17:57:05.00"
},
{
"path": "disabled-packages/apt-updated/apt-pkg-contrib-fileutl.patch",
"chars": 1300,
"preview": "diff -u -r ../apt-1.6~alpha3/apt-pkg/contrib/fileutl.cc ./apt-pkg/contrib/fileutl.cc\n--- ../apt-1.6~alpha3/apt-pkg/contr"
},
{
"path": "disabled-packages/apt-updated/apt-pkg-contrib-srvrec.cc.patch",
"chars": 1038,
"preview": "diff -u -r ../apt-1.1.3/apt-pkg/contrib/srvrec.cc ./apt-pkg/contrib/srvrec.cc\n--- ../apt-1.1.3/apt-pkg/contrib/srvrec.cc"
},
{
"path": "disabled-packages/apt-updated/apt-pkg-contrib-strutl.cc.patch",
"chars": 730,
"preview": "diff -u -r ../apt-1.4.7/apt-pkg/contrib/strutl.cc ./apt-pkg/contrib/strutl.cc\n--- ../apt-1.4.7/apt-pkg/contrib/strutl.cc"
},
{
"path": "disabled-packages/apt-updated/apt-pkg-deb-debrecords.cc.patch",
"chars": 714,
"preview": "diff -u -r ../apt-1.6~alpha3/apt-pkg/deb/debrecords.cc ./apt-pkg/deb/debrecords.cc\n--- ../apt-1.6~alpha3/apt-pkg/deb/deb"
},
{
"path": "disabled-packages/apt-updated/apt-pkg-init-dir.patch",
"chars": 1601,
"preview": "--- ../cache/apt-1.4.7/apt-pkg/init.cc\t2017-07-14 07:45:39.000000000 +1000\n+++ ./apt-pkg/init.cc\t2017-07-19 17:03:07.949"
},
{
"path": "disabled-packages/apt-updated/apt-private-private-download.cc.patch",
"chars": 591,
"preview": "diff -u -r ../apt-1.2.12/apt-private/private-download.cc ./apt-private/private-download.cc\n--- ../apt-1.2.12/apt-private"
},
{
"path": "disabled-packages/apt-updated/build.sh",
"chars": 1334,
"preview": "TERMUX_PKG_HOMEPAGE=https://packages.debian.org/apt\nTERMUX_PKG_DESCRIPTION=\"Front-end for the dpkg package manager\"\nTERM"
},
{
"path": "disabled-packages/apt-updated/cmdline-apt-key.in.patch",
"chars": 1480,
"preview": "diff -u -r ../apt-1.4.7/cmdline/apt-key.in ./cmdline/apt-key.in\n--- ../apt-1.4.7/cmdline/apt-key.in\t2017-07-13 23:45:39."
},
{
"path": "disabled-packages/apt-updated/cmndline-no-strchrnul.patch",
"chars": 647,
"preview": "diff -u -r ../apt-0.9.16.1/apt-pkg/contrib/cmndline.cc ./apt-pkg/contrib/cmndline.cc\n--- ../apt-0.9.16.1/apt-pkg/contrib"
},
{
"path": "disabled-packages/apt-updated/debsrcrecords.patch",
"chars": 555,
"preview": "diff -u -r ../apt-0.9.16.1/apt-pkg/deb/debsrcrecords.cc ./apt-pkg/deb/debsrcrecords.cc\n--- ../apt-0.9.16.1/apt-pkg/deb/d"
},
{
"path": "disabled-packages/apt-updated/methods-cmakelist.patch",
"chars": 1256,
"preview": "diff -u -r ../apt-1.6~alpha3/methods/CMakeLists.txt ./methods/CMakeLists.txt\n--- ../apt-1.6~alpha3/methods/CMakeLists.tx"
},
{
"path": "disabled-packages/apt-updated/methods-connect.cc.patch",
"chars": 1010,
"preview": "diff -u -r ../apt-1.6~alpha3/methods/connect.cc ./methods/connect.cc\n--- ../apt-1.6~alpha3/methods/connect.cc\t2017-10-28"
},
{
"path": "disabled-packages/apt-updated/private-output-no-langinfo.patch",
"chars": 720,
"preview": "diff -u -r ../upstream.git/apt-private/private-output.cc ./apt-private/private-output.cc\n--- ../upstream.git/apt-private"
},
{
"path": "disabled-packages/apt-updated/vendor.patch",
"chars": 1223,
"preview": "diff -u -r ../upstream.git/vendor/ubuntu/apt-vendor.ent ./vendor/ubuntu/apt-vendor.ent\n--- ../upstream.git/vendor/ubuntu"
},
{
"path": "disabled-packages/cadaver/build.sh",
"chars": 608,
"preview": "# Status: Does not work with openssl 1.1 or later.\nTERMUX_PKG_HOMEPAGE=http://www.webdav.org/cadaver/\nTERMUX_PKG_DESCRIP"
},
{
"path": "disabled-packages/checkinstall/Makefile.patch",
"chars": 411,
"preview": "diff -u -r ../checkinstall-1.6.2/Makefile ./Makefile\n--- ../checkinstall-1.6.2/Makefile\t2008-11-11 21:43:53.000000000 -0"
},
{
"path": "disabled-packages/checkinstall/build.sh",
"chars": 715,
"preview": "# NOTE: Currently segfaults when running.\nTERMUX_PKG_HOMEPAGE=http://checkinstall.izto.org/\nTERMUX_PKG_DESCRIPTION=\"Inst"
},
{
"path": "disabled-packages/checkinstall/checkinstall.patch",
"chars": 1581,
"preview": "diff -u -r ../checkinstall-1.6.2/checkinstall ./checkinstall\n--- ../checkinstall-1.6.2/checkinstall\t2009-12-26 14:17:24."
},
{
"path": "disabled-packages/checkinstall/checkinstallrc-dist.patch",
"chars": 1066,
"preview": "diff -u -r ../checkinstall-1.6.2/checkinstallrc-dist ./checkinstallrc-dist\n--- ../checkinstall-1.6.2/checkinstallrc-dist"
},
{
"path": "disabled-packages/checkinstall/installwatch-Makefile.patch",
"chars": 939,
"preview": "diff -u -r ../checkinstall-1.6.2/installwatch/Makefile ./installwatch/Makefile\n--- ../checkinstall-1.6.2/installwatch/Ma"
},
{
"path": "disabled-packages/checkinstall/installwatch.c.patch",
"chars": 1074,
"preview": "diff -u -r ../checkinstall-1.6.2/installwatch/installwatch.c ./installwatch/installwatch.c\n--- ../checkinstall-1.6.2/ins"
},
{
"path": "disabled-packages/clisp/build.sh",
"chars": 762,
"preview": "TERMUX_PKG_HOMEPAGE=http://www.clisp.org/\nTERMUX_PKG_DESCRIPTION=\"GNU CLISP - an ANSI Common Lisp Implementation\"\nTERMUX"
},
{
"path": "disabled-packages/clisp/src-gllib-stdint.in.h.patch",
"chars": 17469,
"preview": "diff -u -r ../clisp-2.49/src/gllib/stdint.in.h ./src/gllib/stdint.in.h\n--- ../clisp-2.49/src/gllib/stdint.in.h\t2010-05-1"
},
{
"path": "disabled-packages/clisp/src-makefile.in.patch",
"chars": 392,
"preview": "diff -u -r ../clisp-2.49/src/makemake.in ./src/makemake.in\n--- ../clisp-2.49/src/makemake.in\t2010-07-07 11:15:35.0000000"
},
{
"path": "disabled-packages/crawl/build.sh",
"chars": 584,
"preview": "# Currently fails at:\n# Makefile:101: recipe for target 'tiledef-dngn.h' failed\n# make[1]: *** [tiledef-dngn.h] Segmenta"
},
{
"path": "disabled-packages/cups/build.sh",
"chars": 744,
"preview": "TERMUX_PKG_HOMEPAGE=https://www.cups.org\nTERMUX_PKG_VERSION=2.2.4\nTERMUX_PKG_DEPENDS=krb5\nTERMUX_PKG_SRCURL=https://gith"
},
{
"path": "disabled-packages/cups/cups-thread.c.patch",
"chars": 396,
"preview": "--- ./cups/thread.c\t2017-06-30 21:14:38.000000000 +0530\n+++ ../thread.c\t2017-09-24 10:12:11.169628258 +0530\n@@ -18,6 +18"
},
{
"path": "disabled-packages/cups/file.c.patch",
"chars": 340,
"preview": "--- ./cups/file.c\t2016-10-04 01:25:40.000000000 +0530\n+++ ../file.c\t2016-12-11 09:51:21.994431659 +0530\n@@ -39,6 +39,9 @"
},
{
"path": "disabled-packages/cups/lockf.cpp.patch",
"chars": 2832,
"preview": "--- /dev/null\t2016-12-11 08:33:21.825618476 +0530\n+++ ./cups/lockf.cpp\t2016-12-11 09:44:20.050966252 +0530\n@@ -0,0 +1,89"
},
{
"path": "disabled-packages/d8/build.sh",
"chars": 1268,
"preview": "TERMUX_PKG_HOMEPAGE=https://r8.googlesource.com/r8\nTERMUX_PKG_DESCRIPTION=\"Dexer that converts java byte code to dex cod"
},
{
"path": "disabled-packages/d8/d8",
"chars": 147,
"preview": "#!/bin/sh\n\nexec dalvikvm \\\n\t-Xmx256m \\\n\t-cp @TERMUX_PREFIX@/share/dex/d8.jar \\\n\td8.tools.r8.D8 \\\n\t--classpath $PREFIX/sh"
},
{
"path": "disabled-packages/deborphan/build.sh",
"chars": 348,
"preview": "TERMUX_PKG_HOMEPAGE=https://packages.debian.org/source/sid/deborphan\nTERMUX_PKG_DESCRIPTION=\"Program that can find unuse"
},
{
"path": "disabled-packages/deborphan/configure.patch",
"chars": 401,
"preview": "diff -u -r ../deborphan/configure ./configure\n--- ../deborphan/configure\t2016-02-21 09:05:27.000000000 -0500\n+++ ./confi"
},
{
"path": "disabled-packages/deborphan/errno.patch",
"chars": 431,
"preview": "diff --git a/src/exit.c b/src/exit.c\nindex e76a75e..99cfbdd 100644\n--- a/src/exit.c\n+++ b/src/exit.c\n@@ -21,7 +21,6 @@\n\n"
},
{
"path": "disabled-packages/deborphan/src-Makefile.in.patch",
"chars": 502,
"preview": "diff -u -r ../deborphan/src/Makefile.in ./src/Makefile.in\n--- ../deborphan/src/Makefile.in\t2016-02-21 09:05:27.000000000"
},
{
"path": "disabled-packages/deborphan/src-deborphan.c.patch",
"chars": 396,
"preview": "diff -u -r ../deborphan/src/deborphan.c ./src/deborphan.c\n--- ../deborphan/src/deborphan.c\t2016-02-21 09:05:27.000000000"
},
{
"path": "disabled-packages/deborphan/src-pkginfo.c.patch",
"chars": 792,
"preview": "diff -u -r ../deborphan/src/pkginfo.c ./src/pkginfo.c\n--- ../deborphan/src/pkginfo.c\t2016-02-21 09:05:27.000000000 -0500"
},
{
"path": "disabled-packages/dovecot/build.sh",
"chars": 1556,
"preview": "TERMUX_PKG_HOMEPAGE=https://www.dovecot.org\nTERMUX_PKG_DESCRIPTION=\"Secure IMAP and POP3 email server\"\nTERMUX_PKG_VERSIO"
},
{
"path": "disabled-packages/dovecot/configure.patch",
"chars": 643,
"preview": "--- ./configure\t2017-06-06 19:59:58.000000000 +0530\n+++ ../configure\t2017-06-09 22:41:43.475719606 +0530\n@@ -4464,8 +446"
},
{
"path": "disabled-packages/dovecot/src-lib-connection.h.patch",
"chars": 226,
"preview": "--- ./src/lib/connection.h\t2016-12-03 22:43:21.000000000 +0530\n+++ ../connection.h\t2017-06-09 22:47:48.138342901 +0530\n@"
},
{
"path": "disabled-packages/easy-rsa/build.sh",
"chars": 865,
"preview": "TERMUX_PKG_HOMEPAGE=https://openvpn.net/easyrsa.html\nTERMUX_PKG_VERSION=3.0.1\nTERMUX_PKG_DEPENDS=\"openssl-tool\"\nTERMUX_P"
},
{
"path": "disabled-packages/ghc/bitcast.patch",
"chars": 1324,
"preview": "From\n\thttps://github.com/erikd/ghc-llvm-next/blob/llvm-3.8/patches/01-bitcast.patch\n\ndiff -u -r ../ghc-8.0.1/compiler/ll"
},
{
"path": "disabled-packages/ghc/build.sh",
"chars": 1699,
"preview": "# See https://ghc.haskell.org/trac/ghc/wiki/Building/CrossCompiling\n# https://ghc.haskell.org/trac/ghc/wiki/Building"
},
{
"path": "disabled-packages/ghc/compiler-llvmGen-LlvmCodeGen-Ppr.hs.patch",
"chars": 2682,
"preview": "diff -u -r ../ghc-8.0.1/compiler/llvmGen/LlvmCodeGen/Ppr.hs ./compiler/llvmGen/LlvmCodeGen/Ppr.hs\n--- ../ghc-8.0.1/compi"
},
{
"path": "disabled-packages/ghc/compiler-main-DriverPipeline.hs.patch",
"chars": 762,
"preview": "diff -u -r ../ghc-8.0.1/compiler/main/DriverPipeline.hs ./compiler/main/DriverPipeline.hs\n--- ../ghc-8.0.1/compiler/main"
},
{
"path": "disabled-packages/ghc/configure.patch",
"chars": 450,
"preview": "diff -u -r ../ghc-8.0.1/configure ./configure\n--- ../ghc-8.0.1/configure\t2016-05-17 12:36:51.000000000 -0400\n+++ ./confi"
},
{
"path": "disabled-packages/groff/build.sh",
"chars": 295,
"preview": "TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/groff/\nTERMUX_PKG_DESCRIPTION=\"GNU troff text-formatting program\"\nTERMUX"
},
{
"path": "disabled-packages/gst-libav/build.sh",
"chars": 569,
"preview": "# NOTE: Disabled due to not being ffmpeg 4 compatible.\nTERMUX_PKG_HOMEPAGE=https://gstreamer.freedesktop.org/\nTERMUX_PKG"
},
{
"path": "disabled-packages/gst123/build.sh",
"chars": 311,
"preview": "# Broken - requires gtk\nTERMUX_PKG_HOMEPAGE=http://space.twc.de/~stefan/gst123.php\nTERMUX_PKG_DESCRIPTION=\"GStreamer bas"
},
{
"path": "disabled-packages/guile/build.sh",
"chars": 290,
"preview": "TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/guile/\nTERMUX_PKG_DESCRIPTION=\"GNU extension language and Scheme interpr"
},
{
"path": "disabled-packages/javac/build.sh",
"chars": 635,
"preview": "TERMUX_PKG_HOMEPAGE=http://docs.oracle.com/javase/8/docs/technotes/tools/windows/javac.html\nTERMUX_PKG_DESCRIPTION=\"Java"
},
{
"path": "disabled-packages/javac/javac",
"chars": 411,
"preview": "#!/system/bin/sh\n\n# There needs to be a folder at $ANDROID_DATA/dalvik-cache\nexport ANDROID_DATA=@TERMUX_PREFIX@/var/and"
},
{
"path": "disabled-packages/libfakechroot/build.sh",
"chars": 239,
"preview": "TERMUX_PKG_HOMEPAGE=https://github.com/dex4er/fakechroot/wiki\nTERMUX_PKG_DESCRIPTION=\"Library for creating fake chroots\""
},
{
"path": "disabled-packages/libffi-updated/build.sh",
"chars": 659,
"preview": "TERMUX_PKG_HOMEPAGE=https://sourceware.org/libffi/\nTERMUX_PKG_DESCRIPTION=\"Library providing a portable, high level prog"
},
{
"path": "disabled-packages/libjemalloc/build.sh",
"chars": 382,
"preview": "TERMUX_PKG_HOMEPAGE=http://www.canonware.com/jemalloc/\nTERMUX_PKG_DESCRIPTION=\"General-purpose scalable concurrent mallo"
},
{
"path": "disabled-packages/libressl/build.sh",
"chars": 848,
"preview": "# Status: Termux currently uses openssl. Transitioning to libressl\n#\t is tempting, but on hold for now to see how wides"
},
{
"path": "disabled-packages/lrzsz/build.sh",
"chars": 407,
"preview": "TERMUX_PKG_HOMEPAGE=https://ohse.de/uwe/software/lrzsz.html\nTERMUX_PKG_DESCRIPTION=\"Tools for zmodem/xmodem/ymodem file "
},
{
"path": "disabled-packages/lrzsz/src-Makefile.in.patch",
"chars": 1367,
"preview": "Hard links are not supported on Android 6.0+\n\ndiff -u -r ../lrzsz-0.12.20/src/Makefile.in ./src/Makefile.in\n--- ../lrzsz"
},
{
"path": "disabled-packages/man-db/build.sh",
"chars": 816,
"preview": "TERMUX_PKG_HOMEPAGE=http://www.nongnu.org/man-db/\nTERMUX_PKG_DESCRIPTION=\"Utilities for examining on-line help files (ma"
},
{
"path": "disabled-packages/mono/build.sh",
"chars": 1062,
"preview": "TERMUX_PKG_HOMEPAGE=http://www.mono-project.com/\nTERMUX_PKG_MAINTAINER='Vishal Biswas @vishalbiswas'\n_MONO_VERSION=5.0.0"
},
{
"path": "disabled-packages/mono/complex.h",
"chars": 4192,
"preview": "/*-\n * Copyright (c) 2001-2011 The FreeBSD Project.\n * All rights reserved.\n *\n * Redistribution and use in source and b"
},
{
"path": "disabled-packages/mono/math_private.h",
"chars": 19696,
"preview": "/*\n * ====================================================\n * Copyright (C) 1993 by Sun Microsystems, Inc. All rights re"
},
{
"path": "disabled-packages/mono/tkill.patch",
"chars": 900,
"preview": "--- ./libgc/pthread_stop_world.c\t2017-01-03 15:49:34.000000000 +0530\n+++ ../pthread_stop_world.c\t2017-01-05 18:54:28.314"
},
{
"path": "disabled-packages/ocaml/build.sh",
"chars": 498,
"preview": "TERMUX_PKG_HOMEPAGE=https://ocaml.org\nTERMUX_PKG_DESCRIPTION=\"Programming language supporting functional, imperative and"
},
{
"path": "disabled-packages/openjdk-9-jre-headless/build.sh",
"chars": 5447,
"preview": "TERMUX_PKG_HOMEPAGE=http://openjdk.java.net\nTERMUX_PKG_DESCRIPTION=\"OpenJDK 9 Java Runtime Environment (prerelease)\"\n_jb"
},
{
"path": "disabled-packages/openjdk-9-jre-headless/build_ldflags.patch",
"chars": 882,
"preview": "--- ./common/autoconf/generated-configure.sh\t2017-05-14 10:01:38.475911076 +0530\n+++ ../generated-configure.sh\t2017-05-1"
},
{
"path": "disabled-packages/openjdk-9-jre-headless/elfFile.hpp.patch",
"chars": 405,
"preview": "--- ./hotspot/src/share/vm/utilities/elfFile.hpp\t2017-05-12 23:47:58.000000000 +0530\n+++ ../elfFile.hpp\t2017-05-14 12:27"
},
{
"path": "disabled-packages/openjdk-9-jre-headless/generated-configure.sh.patch",
"chars": 972,
"preview": "--- ./common/autoconf/generated-configure.sh 2017-04-01 23:19:09.508381398 +0530\n+++ ../generated-configure.sh 2017"
},
{
"path": "disabled-packages/openjdk-9-jre-headless/getgr_r.patch",
"chars": 1184,
"preview": "--- ./jdk/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c\t2017-03-02 21:55:47.000000000 +0530\n+++ ../UnixNati"
},
{
"path": "disabled-packages/openjdk-9-jre-headless/hotspot-jvm_home.patch",
"chars": 557,
"preview": "shoutout to @its-pointless (live_the_dream)\n--- ./hotspot/src/share/vm/runtime/os.cpp\t2017-03-30 20:45:45.000000000 +053"
},
{
"path": "disabled-packages/openjdk-9-jre-headless/jdk-java_home.patch",
"chars": 347,
"preview": "--- ./jdk/src/java.base/unix/native/libjli/java_md_solinux.c\t2017-03-30 20:45:48.000000000 +0530\n+++ ../java_md_solinux."
},
{
"path": "disabled-packages/openjdk-9-jre-headless/libpthread.patch",
"chars": 2804,
"preview": "--- ./jdk/make/lib/Awt2dLibraries.gmk\t2017-03-30 20:45:48.000000000 +0530\n+++ ../Awt2dLibraries.gmk\t2017-04-02 18:36:12."
},
{
"path": "disabled-packages/openjdk-9-jre-headless/openjdk-9-jdk-headless.subpackage.sh",
"chars": 1102,
"preview": "TERMUX_SUBPKG_INCLUDE=\"$_jvm_dir/bin/idlj bin/idlj\n$_jvm_dir/bin/jar bin/jar\n$_jvm_dir/bin/jarsigner bin/jarsigner\n$_jvm"
},
{
"path": "disabled-packages/openjdk-9-jre-headless/openjdk-9-source.subpackage.sh",
"chars": 200,
"preview": "TERMUX_SUBPKG_INCLUDE=\"$_jvm_dir/src.zip\"\nTERMUX_SUBPKG_DEPENDS=\"openjdk-9-jre-headless\"\nTERMUX_SUBPKG_DESCRIPTION=\"Open"
},
{
"path": "disabled-packages/openjdk-9-jre-headless/osName.patch",
"chars": 650,
"preview": "thanks @fornwall for finding this\n--- ./jdk/src/java.base/unix/classes/java/lang/ProcessImpl.java\t2017-03-30 20:45:48.00"
},
{
"path": "disabled-packages/openjdk-9-jre-headless/os_linux_aarch64.cpp.patch",
"chars": 348,
"preview": "--- ./hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp\t2017-05-12 23:47:58.000000000 +0530\n+++ ../os_linux_aarch"
},
{
"path": "disabled-packages/openjdk-9-jre-headless/sendfile64.patch",
"chars": 394,
"preview": "--- ./jdk/src/java.base/unix/native/libnio/ch/FileChannelImpl.c\t2017-05-12 23:48:01.000000000 +0530\n+++ ../FileChannelIm"
},
{
"path": "disabled-packages/openvpn/build.sh",
"chars": 1361,
"preview": "TERMUX_PKG_HOMEPAGE=https://openvpn.net\nTERMUX_PKG_DESCRIPTION=\"An easy-to-use, robust, and highly configurable VPN (Vir"
},
{
"path": "disabled-packages/openvpn/configure.ac.patch.old",
"chars": 533,
"preview": "--- ./configure.ac 2016-12-26 11:51:00.000000000 +0000\n+++ ../configure.ac 2016-12-28 04:59:50.936948102 +0000\n"
},
{
"path": "disabled-packages/openvpn/netbsd_getpass.c",
"chars": 3389,
"preview": "/*\t$NetBSD: getpass.c,v 1.15 2003/08/07 16:42:50 agc Exp $\t*/\n/*\n * Copyright (c) 1988, 1993\n *\tThe Regents of the Unive"
},
{
"path": "disabled-packages/openvpn/src-openvpn-console_builtin.c.patch",
"chars": 284,
"preview": "--- ./src/openvpn/console_builtin.c 2016-12-26 11:51:00.000000000 +0000\n+++ ../console_builtin.c 2016-12-28 0"
},
{
"path": "disabled-packages/openvpn/src-openvpn-tun.c.patch",
"chars": 296,
"preview": "--- ./src/openvpn/tun.c 2016-12-26 11:51:00.000000000 +0000\n+++ ../tun.c 2016-12-28 04:11:52.786734486 +0000\n@@ -1939"
},
{
"path": "disabled-packages/openvpn/termux-openvpn",
"chars": 135,
"preview": "#!/data/data/com.termux/files/usr/bin/sh\nsu -c \"export LD_LIBRARY_PATH=$PREFIX/lib; export TMPDIR=$PREFIX/tmp; $PREFIX/b"
},
{
"path": "disabled-packages/pacman/build.sh",
"chars": 2212,
"preview": "TERMUX_PKG_HOMEPAGE=https://www.archlinux.org/pacman/\nTERMUX_PKG_DESCRIPTION=\"A library-based package manager with depen"
},
{
"path": "disabled-packages/pacman/ensure-matching-database-and-package-version.patch",
"chars": 2256,
"preview": "From deac9731884a83ad91eab9f27b288f406f56c87b Mon Sep 17 00:00:00 2001\nFrom: Levente Polyak <anthraxx@archlinux.org>\nDat"
},
{
"path": "disabled-packages/pacman/makepkg.conf",
"chars": 5817,
"preview": "#\n# /etc/makepkg.conf\n#\n\n#########################################################################\n# SOURCE ACQUISITION\n"
},
{
"path": "disabled-packages/pacman/pacman.conf",
"chars": 2638,
"preview": "#\n# /etc/pacman.conf\n#\n# See the pacman.conf(5) manpage for option and repository directives\n\n#\n# GENERAL OPTIONS\n#\n[opt"
},
{
"path": "disabled-packages/pacman/pacman.patch",
"chars": 472,
"preview": "--- ./src/pacman/pacman.c\t2015-12-23 19:50:37.093132801 -0300\n+++ ./src/pacman/pacman.c\t2015-12-23 23:30:17.986469980 -0"
},
{
"path": "disabled-packages/pkgconf/build.sh",
"chars": 401,
"preview": "TERMUX_PKG_HOMEPAGE=http://pkgconf.org\nTERMUX_PKG_DESCRIPTION=\"Program which helps to configure compiler and linker flag"
},
{
"path": "disabled-packages/premake/build-gmake.unix-Premake4.make.patch",
"chars": 392,
"preview": "diff -u -r ../premake-4.4-beta5/build/gmake.unix/Premake4.make ./build/gmake.unix/Premake4.make\n--- ../premake-4.4-beta5"
},
{
"path": "disabled-packages/premake/build.sh",
"chars": 432,
"preview": "TERMUX_PKG_HOMEPAGE=http://premake.github.io/\nTERMUX_PKG_DESCRIPTION=\"Build script generator\"\nTERMUX_PKG_VERSION=4.4-bet"
},
{
"path": "disabled-packages/sbcl/build.sh",
"chars": 895,
"preview": "TERMUX_PKG_HOMEPAGE=http://www.sbcl.org/\nTERMUX_PKG_DESCRIPTION=\"Steel Bank Common Lisp\"\nTERMUX_PKG_VERSION=1.3.9\nTERMUX"
},
{
"path": "disabled-packages/sbcl/make-config.sh.patch",
"chars": 629,
"preview": "diff -u -r ../sbcl-1.3.4/make-config.sh ./make-config.sh\n--- ../sbcl-1.3.4/make-config.sh\t2016-03-31 03:28:36.000000000 "
},
{
"path": "disabled-packages/sslscan/Makefile.patch",
"chars": 451,
"preview": "diff --git a/Makefile b/Makefile\nindex 24e6a36..74c2647 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -1,7 +1,5 @@\n # set gcc "
},
{
"path": "disabled-packages/sslscan/build.sh",
"chars": 517,
"preview": "# Status: Does not work with openssl 1.1 or later.\nTERMUX_PKG_HOMEPAGE=https://github.com/rbsec/sslscan\nTERMUX_PKG_DESCR"
},
{
"path": "disabled-packages/sslscan/sslscan.c.patch",
"chars": 1409,
"preview": "diff -u -r ../sslscan-1.11.7-rbsec/sslscan.c ./sslscan.c\n--- ../sslscan-1.11.7-rbsec/sslscan.c\t2016-06-13 08:42:11.00000"
},
{
"path": "disabled-packages/tf/build.sh",
"chars": 398,
"preview": "TERMUX_PKG_HOMEPAGE=http://tinyfugue.sourceforge.net/\nTERMUX_PKG_DESCRIPTION=\"Flexible, screen-oriented MUD client\"\nTERM"
},
{
"path": "disabled-packages/toybox/build.sh",
"chars": 380,
"preview": "TERMUX_PKG_HOMEPAGE=http://landley.net/toybox/\nTERMUX_PKG_DESCRIPTION=\"Common Linux command line utilities\"\nTERMUX_PKG_V"
},
{
"path": "disabled-packages/unnethack/build.sh",
"chars": 2422,
"preview": "# Crashes with \"Dungeon description not valid\"\nTERMUX_PKG_HOMEPAGE=http://sourceforge.net/apps/trac/unnethack\nTERMUX_PKG"
},
{
"path": "disabled-packages/unnethack/dat_town_wildcard.patch",
"chars": 1073,
"preview": "diff -u -r ../unnethack-5.1.0-20131208/sys/autoconf/Makefile.dat ./sys/autoconf/Makefile.dat\n--- ../unnethack-5.1.0-2013"
},
{
"path": "disabled-packages/unnethack/dont_delete_makedefs.patch",
"chars": 646,
"preview": "The build machine makedefs binary is built before cross compiling, and must not be removed afterwards.\n\ndiff -u -r ../un"
},
{
"path": "generate-bootstraps.sh",
"chars": 10401,
"preview": "#!/bin/bash\n##\n## Script for generating bootstrap archives.\n##\n\nset -e\n\nBOOTSTRAP_TMPDIR=$(mktemp -d \"${TMPDIR:-/tmp}/b"
},
{
"path": "ndk-patches/asm-generic-termbits.h.patch",
"chars": 530,
"preview": "diff -u -r /home/builder/lib/android-ndk/sysroot/usr/include/asm-generic/termbits.h ./usr/include/asm-generic/termbits.h"
},
{
"path": "ndk-patches/bits-struct_file.h.patch",
"chars": 3548,
"preview": "--- ./usr/include/bits/struct_file.h.orig\t2019-06-10 09:40:35.872857650 +1000\n+++ ./usr/include/bits/struct_file.h\t2019-"
},
{
"path": "ndk-patches/grp.h.patch",
"chars": 1396,
"preview": "diff -u -r /home/fornwall/lib/android-ndk/sysroot/usr/include/grp.h ./usr/include/grp.h\n--- /home/fornwall/lib/android-n"
},
{
"path": "ndk-patches/ifaddrs.h",
"chars": 20289,
"preview": "/*\n * Copyright (c) 1995, 1999\n *\tBerkeley Software Design, Inc. All rights reserved.\n *\n * Redistribution and use in s"
},
{
"path": "ndk-patches/langinfo.h",
"chars": 4845,
"preview": "/*\n * Copyright (C) 2013 The Android Open Source Project\n * Copyright (C) 2016 The Android Open Source Project\n * All ri"
},
{
"path": "ndk-patches/langinfo.h.patch",
"chars": 3139,
"preview": "diff -N -a -u -r /home/fornwall/lib/android-ndk/sysroot/usr/include/langinfo.h ./usr/include/langinfo.h\n--- /home/fornwa"
},
{
"path": "ndk-patches/libintl.h",
"chars": 1610,
"preview": "#ifndef _LIBINTL_H\n#define _LIBINTL_H\n\n#include <errno.h>\n#include <string.h>\n\nstatic __inline__ char* gettext(const cha"
},
{
"path": "ndk-patches/linux-fcntl.h.patch",
"chars": 814,
"preview": "diff -uNr sysroot.orig/usr/include/linux/fcntl.h sysroot/usr/include/linux/fcntl.h\n--- sysroot.orig/usr/include/linux/fc"
},
{
"path": "ndk-patches/paths.h.patch",
"chars": 1195,
"preview": "--- ./usr/include/paths.h.orig\t2019-06-10 00:10:55.544212642 +0000\n+++ ./usr/include/paths.h\t2019-06-10 00:16:51.5144126"
},
{
"path": "ndk-patches/pwd.h.patch",
"chars": 2142,
"preview": "diff -uNr sysroot.orig/usr/include/pwd.h sysroot/usr/include/pwd.h\n--- sysroot.orig/usr/include/pwd.h\t2019-02-12 16:12:2"
},
{
"path": "ndk-patches/stdio.h.patch",
"chars": 2498,
"preview": "diff -u -r /home/fornwall/lib/android-ndk/sysroot/usr/include/stdio.h ./usr/include/stdio.h\n--- /home/fornwall/lib/andro"
},
{
"path": "ndk-patches/stdlib.h.patch",
"chars": 710,
"preview": "diff -uNr sysroot.orig/usr/include/stdlib.h sysroot/usr/include/stdlib.h\n--- sysroot.orig/usr/include/stdlib.h\t2019-02-1"
},
{
"path": "ndk-patches/sys-cdefs.h.patch",
"chars": 1052,
"preview": "diff -uNr sysroot.orig/usr/include/sys/cdefs.h sysroot/usr/include/sys/cdefs.h\n--- sysroot.orig/usr/include/sys/cdefs.h\t"
},
{
"path": "ndk-patches/sys-wait.h.patch",
"chars": 668,
"preview": "diff -uNr sysroot.orig/usr/include/sys/wait.h sysroot/usr/include/sys/wait.h\n--- sysroot.orig/usr/include/sys/wait.h\t201"
},
{
"path": "ndk-patches/syslog.patch",
"chars": 2378,
"preview": "diff -uNr sysroot.orig/usr/include/syslog.h sysroot/usr/include/syslog.h\n--- sysroot.orig/usr/include/syslog.h\t2019-02-1"
},
{
"path": "ndk-patches/unistd.h.patch",
"chars": 2266,
"preview": "--- sysroot/usr/include/unistd.h\t2018-04-30 19:24:22.000000000 +0000\n+++ usr/include/unistd.h\t2018-08-16 10:42:51.158596"
},
{
"path": "packages/aapt/aapt-Main.cpp.patch.txt",
"chars": 488,
"preview": "diff -u -r ../../src-pristine/aapt/Main.cpp ./Main.cpp\n--- ../../src-pristine/aapt/Main.cpp\t2016-10-07 15:12:44.32224860"
},
{
"path": "packages/aapt/build.sh",
"chars": 10734,
"preview": "TERMUX_PKG_HOMEPAGE=https://elinux.org/Android_aapt\nTERMUX_PKG_DESCRIPTION=\"Android Asset Packaging Tool\"\nTERMUX_PKG_LIC"
},
{
"path": "packages/aapt/libbase-patch.txt",
"chars": 527,
"preview": "diff -u -r ../../libbase/logging.cpp ./logging.cpp\n--- ../../libbase/logging.cpp\t2016-09-01 11:56:01.000000000 -0400\n+++"
},
{
"path": "packages/aapt/libcutils-patch.txt",
"chars": 741,
"preview": "https://android.googlesource.com/platform/system/core/+/84421d8475ca8262a914b3875ed110fc6187ee74\n\nAdd ioprio values dire"
},
{
"path": "packages/aapt/libziparchive.patch.txt",
"chars": 1163,
"preview": "Remove reference to __android_log_error_write which does not exist\non Android 5. See:\n\n https://github.com/termux/termu"
},
{
"path": "packages/aapt/log.h.patch.txt",
"chars": 2820,
"preview": "--- log-orig.h\t2017-03-04 02:11:04.589477520 +0100\n+++ log.h\t2017-03-04 02:11:54.556875283 +0100\n@@ -217,7 +217,7 @@\n *"
},
{
"path": "packages/abduco/build.sh",
"chars": 489,
"preview": "TERMUX_PKG_HOMEPAGE=http://www.brain-dump.org/projects/abduco/\nTERMUX_PKG_DESCRIPTION=\"Clean and simple terminal session"
},
{
"path": "packages/abook/build.sh",
"chars": 583,
"preview": "TERMUX_PKG_HOMEPAGE=http://abook.sourceforge.net/\nTERMUX_PKG_DESCRIPTION=\"Abook is a text-based addressbook program desi"
},
{
"path": "packages/abook/database.h.patch",
"chars": 478,
"preview": "diff -u -r ../abook-0.6.0pre2/database.h ./database.h\n--- ../abook-0.6.0pre2/database.h\t2006-09-04 21:24:18.000000000 +0"
},
{
"path": "packages/abook/filter.c.patch",
"chars": 437,
"preview": "diff -u -r ../abook-0.6.0pre2/filter.c ./filter.c\n--- ../abook-0.6.0pre2/filter.c\t2006-09-06 01:26:10.000000000 -0400\n++"
},
{
"path": "packages/ack-grep/build.sh",
"chars": 609,
"preview": "TERMUX_PKG_HOMEPAGE=https://beyondgrep.com/\nTERMUX_PKG_DESCRIPTION=\"Tool like grep optimized for programmers\"\nTERMUX_PKG"
},
{
"path": "packages/acr/build.sh",
"chars": 480,
"preview": "TERMUX_PKG_HOMEPAGE=https://github.com/radare/acr\nTERMUX_PKG_DESCRIPTION=\"A fully compatible autoconf replacement\"\nTERMU"
},
{
"path": "packages/acr/no_dev-stderr.patch",
"chars": 3025,
"preview": "diff -uNr acr-1.7.2/doc/developers/string-mode acr-1.7.2.mod/doc/developers/string-mode\n--- acr-1.7.2/doc/developers/str"
},
{
"path": "packages/algernon/build.sh",
"chars": 1238,
"preview": "TERMUX_PKG_HOMEPAGE=https://algernon.roboticoverlords.org/\nTERMUX_PKG_DESCRIPTION=\"Small self-contained web server with "
},
{
"path": "packages/algernon/fix-hardcoded-paths.patch",
"chars": 3443,
"preview": "diff -uNr algernon-1.12.3/engine/config.go algernon-1.12.3.mod/engine/config.go\n--- algernon-1.12.3/engine/config.go\t201"
},
{
"path": "packages/alpine/build.sh",
"chars": 1962,
"preview": "TERMUX_PKG_HOMEPAGE=https://repo.or.cz/alpine.git\nTERMUX_PKG_DESCRIPTION=\"Fast, easy to use email client\"\nTERMUX_PKG_LIC"
},
{
"path": "packages/alpine/configure.patch",
"chars": 558,
"preview": "diff -u -r ../alpine-2.21/configure ./configure\n--- ../alpine-2.21/configure\t2017-02-06 00:06:22.491217965 +0000\n+++ ./c"
},
{
"path": "packages/alpine/env_unix.c.patch",
"chars": 491,
"preview": "diff --git a/imap/src/osdep/unix/env_unix.c b/imap/src/osdep/unix/env_unix.c\nindex 89e5092..f5a734e 100644\n--- a/imap/sr"
},
{
"path": "packages/alpine/fdstring.c.patch",
"chars": 288,
"preview": "--- ../fdstring.c\t2016-12-10 08:02:12.555352750 +0000\n+++ ./imap/src/osdep/unix/fdstring.c\t2016-12-10 08:24:29.096929788"
},
{
"path": "packages/alpine/imap-src-osdep-unix-Makefile.patch",
"chars": 978,
"preview": "--- ../cache/alpine-2.20/imap/src/osdep/unix/Makefile\t2015-01-12 05:12:25.505178442 +0000\n+++ ./imap/src/osdep/unix/Make"
},
{
"path": "packages/alpine/imapmkf.patch",
"chars": 340,
"preview": "--- ../cache/alpine-2.20/imap/Makefile\t2015-01-12 05:12:25.521178518 +0000\n+++ ./imap/Makefile\t2016-12-11 06:43:56.98680"
},
{
"path": "packages/alpine/mlockmake.patch",
"chars": 312,
"preview": "--- ../cache/alpine-2.21/imap/src/mlock/Makefile\t2017-02-06 00:06:22.515218494 +0000\n+++ ./imap/src/mlock/Makefile\t2017-"
},
{
"path": "packages/alpine/mtest.c.patch",
"chars": 368,
"preview": "--- ../cache/alpine-2.21/imap/src/mtest/mtest.c\t2017-02-06 00:06:22.499218141 +0000\n+++ ./imap/src/mtest/mtest.c\t2017-04"
},
{
"path": "packages/alpine/os_lnx.c.patch",
"chars": 549,
"preview": "diff -uNr alpine-2.21/imap/src/osdep/unix/os_lnx.c alpine-2.21.mod/imap/src/osdep/unix/os_lnx.c\n--- alpine-2.21/imap/src"
},
{
"path": "packages/alpine/os_lnx.h.patch",
"chars": 421,
"preview": "--- ../cache/alpine-2.20/imap/src/osdep/unix/os_lnx.h\t2015-01-12 05:12:25.505178442 +0000\n+++ ./imap/src/osdep/unix/os_l"
},
{
"path": "packages/alpine/pine.conf",
"chars": 22379,
"preview": "#\n# Alpine configuration file\n#\n# This file sets the configuration options used by Alpine and PC-Alpine. These\n# options"
},
{
"path": "packages/alpine/pw_stuff.c.patch",
"chars": 915,
"preview": "--- ../cache/alpine-2.20/pith/osdep/pw_stuff.c\t2015-01-12 05:12:25.588178837 +0000\n+++ ./pith/osdep/pw_stuff.c\t2016-12-1"
},
{
"path": "packages/antiword/Makefile.Linux.patch",
"chars": 965,
"preview": "diff -uNr antiword-0.37/Makefile.Linux antiword-0.37.mod/Makefile.Linux\n--- antiword-0.37/Makefile.Linux\t2005-10-29 20:1"
},
{
"path": "packages/antiword/antiword.h.patch",
"chars": 844,
"preview": "diff -uNr antiword-0.37/antiword.h antiword-0.37.mod/antiword.h\n--- antiword-0.37/antiword.h\t2005-07-06 20:46:22.0000000"
},
{
"path": "packages/antiword/build.sh",
"chars": 533,
"preview": "TERMUX_PKG_HOMEPAGE=http://www.winfield.demon.nl/\nTERMUX_PKG_DESCRIPTION=\"A free MS Word reader\"\nTERMUX_PKG_LICENSE=\"GPL"
},
{
"path": "packages/apache2/Termux.layout",
"chars": 931,
"preview": "\n# Termux layout\n<Layout Termux>\n prefix:\n exec_prefix: ${prefix}\n bindir: ${exec_prefix}/bin\n sbin"
},
{
"path": "packages/apache2/build-instdso.sh.patch",
"chars": 497,
"preview": "diff -u -r ../httpd-2.4.38/build/instdso.sh ./build/instdso.sh\n--- ../httpd-2.4.38/build/instdso.sh\t2011-03-04 18:58:38."
},
{
"path": "packages/apache2/build.sh",
"chars": 4044,
"preview": "TERMUX_PKG_HOMEPAGE=https://httpd.apache.org\nTERMUX_PKG_DESCRIPTION=\"Apache Web Server\"\nTERMUX_PKG_LICENSE=\"Apache-2.0\"\n"
},
{
"path": "packages/apache2/configure.patch",
"chars": 527,
"preview": "diff -u -r ../httpd-2.4.38/configure ./configure\n--- ../httpd-2.4.38/configure\t2019-01-17 18:46:19.000000000 +0000\n+++ ."
},
{
"path": "packages/apg/Makefile.patch",
"chars": 1656,
"preview": "diff -uNr apg-2.3.0b/Makefile apg-2.3.0b.mod/Makefile\n--- apg-2.3.0b/Makefile\t2003-08-07 18:40:39.000000000 +0300\n+++ ap"
},
{
"path": "packages/apg/build.sh",
"chars": 816,
"preview": "## Note: APG project seems dead. Official homepage & src urls\n## disappeared.\n\nTERMUX_PKG_HOMEPAGE=http://www.adel.nursa"
},
{
"path": "packages/apg/install-sh.patch",
"chars": 524,
"preview": "diff -uNr apg-2.2.3/install-sh apg-2.2.3.mod/install-sh\n--- apg-2.2.3/install-sh\t2003-08-07 18:40:30.000000000 +0300\n+++"
},
{
"path": "packages/apksigner/build.sh",
"chars": 1124,
"preview": "TERMUX_PKG_HOMEPAGE=https://github.com/fornwall/apksigner\nTERMUX_PKG_DESCRIPTION=\"APK signing tool\"\nTERMUX_PKG_LICENSE=\""
},
{
"path": "packages/apr/Makefile.in.patch",
"chars": 534,
"preview": "diff -u -r ../apr-1.5.2/Makefile.in ./Makefile.in\n--- ../apr-1.5.2/Makefile.in\t2014-04-25 06:51:11.000000000 -0400\n+++ ."
}
]
// ... and 2105 more files (download for full content)
About this extraction
This page contains the full source code of the AndronixApp/termux-packages GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 2305 files (3.6 MB), approximately 1.0M tokens, and a symbol index with 355 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.