Commit Graph

29 Commits

Author SHA1 Message Date
Wetitpig 5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Leonid Pliushch 6a3865aa08 fix licenses where possible
Some packages have license set to "custom" and this
should be fixed.
2019-01-21 17:17:53 +02:00
Leonid Pliushch 361d8c519f [incomplete] set licenses for packages 2019-01-20 22:41:50 +01:00
Fredrik Fornwall 759396912e dropbear: Fix duplicated TERMUX_PKG_DEPENDS assignment 2018-11-23 02:20:40 +01:00
Leonid Pliushch bb7dcf52c4 dropbear: enable progress information for utility 'scp' 2018-11-23 00:33:02 +01:00
Leonid Pliushch 0c79d1cc56 dropbear: enable password auth 2018-11-23 00:33:02 +01:00
Leonid Pliushch 6d33f94a5f fix packages that require getpass()
Changed packages:

  * alpine
  * dropbear
  * emacs
  * isync
  * lftp
  * msmtp
  * newsboat
  * rsync
  * screen
  * texlive-bin
  * unrar
  * w3m
2018-09-11 00:55:00 +02:00
Henrik Grimler d403a32391 dropbear: remove no longer needed debug patch 2018-08-13 22:13:09 +02:00
Leonid Pliushch c678bf0b4c dropbear: provide command 'ssh' 2018-06-21 22:00:26 +02:00
Henrik Grimler c1b82abd09 Add fixes for debug builds (#2296)
* build-package.sh: add possibility for debug patches and TERMUX_PKG_HAS_DEBUG

Setting TERMUX_PKG_HAS_DEBUG=no disables attempt to build debug build of
package.
Useful for example if a debug build doesn't make sense, as for python-packages
and texlive.

* aapt: skip D_FORTIFY_SOURCE=2 for libandroid-cutils when doing debug build

* lftp: skip D_FORTIFY_SOURCE=2 for debug build

* libflac: don't use -g3 for debug build

Configure script removes it otherwise.

* nano: skip -D_FORTIFY_SOURCE=2 for debug build

* vifm: skip -D_FORTIFY_SOURCE=2 for debug build

* mc: skip -D_FORTIFY_SOURCE=2 for debug build

* dropbear: add __attribute__((overloadable)) to XMEMSET and XMEMCPY if debug

* gdb: add __attribute__((overloadable)) to strchr if debug

* gnuit: add __attribute__((overloadable)) to strchr and strcpy if debug

* gperf: add __attribute__((overloadable)) to strlen if debug

* inetutils: add __attribute__((overloadable)) to strrchr and strchr if debug

* readline: add __attribute__((overloadable)) to strchr if debug

* tsocks: add __attribute__((overloadable)) to poll if debug

* units: add __attribute__((overloadable)) to strchr if debug

* liblua: fix bug in loslib.c that emerged in debug build

Use strncpy instead of strcpy.
Original error message:
loslib.c:169:3: error: 'strcpy' called with string bigger than buffer
  lua_tmpnam(buff, err);
  ^
loslib.c:122:37: note: expanded from macro 'lua_tmpnam'
       strcpy(b, LUA_TMPNAMTEMPLATE); \
                                   ^

* alpine: include our getpass.h in imap's mtest.c to declare getpass

Debug build complained about the previous implicit declaration.

* nginx: use --with-debug instead of --debug

* cboard: skip -D_FORTIFY_SOURCE=2 for debug build

* gettext: add __attribute__((overloadable)) to getcwd if debug

* oathtool: skip -D_FORTIFY_SOURCE=2 for debug build

* php: add __attribute__((overloadable)) to strlcpy and strlcat if debug

* expect: add __attribute__((overloadable)) to strchr if debug

* texlive: set TERMUX_PKG_HAS_DEBUG=no

* asciinema: set TERMUX_PKG_HAS_DEBUG=no

* libllvm: set TERMUX_PKG_HAS_DEBUG=no

Debug build fails with:
home/builder/.termux-build/libllvm/src/lib/Support/Unix/Path.inc:740:19: error: no matching function for call to 'RetryAfterSignal'                                                                                                      if ((ResultFD = sys::RetryAfterSignal(-1, open, P.begin(), OpenFlags)) < 0)

* build-package.sh: set TERMUX_PKG_REPLACES=package if debug build

Hopefully allows us to install debug packages without breaking dependecies.

Should be looked over and be made more similar to how debian does this in any case

* Update build.sh
2018-06-13 02:12:36 +02:00
Vishal Biswas 160d3aeb06 update ndk to 17 and switch some packages to clang build (#2415)
* update ndk to 17

* bump NDK version in setup-android script

* libnl: fix for ndk r17

* libpixman: use clang's __builtin_shufflevector instead of __builtin_shuffle (#1)

Required to make package build with ndk17.

* fix as for arm

* ndk17 still uses ld.bfd on aarch64

* use -fno-integrated-as for clang only

* glib: remove patch unnecessary after ndk17

* torsocks: remove unneeded patch after ndk17

* subversion: fix build as clang++ now errors out for mismatched flags

* libpulseaudio: fix build with ndk17

https://github.com/termux/termux-packages/pull/2415#issuecomment-388296684

* gst-plugins-good: disable video4linux2

ioctl is defined as __overloadable in ndk17 headers which
  conflicts with v4l2object's member ioctl

* libzmq: disable Werror to build with ndk17

* ltrace: hardcode symbol not available in ndk17

* busybox: build with clang for all arches except arm

* dropbear: build with clang instead of gcc

* gnupg: build with clang instead of gcc

* openssl: use clang for all arches except arm

* picolisp: build with clang instead of gcc

* valgrind: use clang on all arches except aarch64

* Revert "gst-plugins-good: disable video4linux2"

This reverts commit 43850b81ccf60033c25cb13dfd326c1b0528773a.
Already applied on base branch.

* libllvm: use default arm triple
2018-05-27 14:55:20 +02:00
Fredrik Fornwall 906659a06b dropbear: Add back scp
Make openssh conflict with dropbear as it also contains scp.
2018-04-23 01:37:15 +02:00
Fredrik Fornwall cb73157041 dropbear: Do not build scp
Building scp as part of dropbear causes it to conflict with openssh.
2018-04-22 23:39:49 +02:00
Leonid Plyushch c4061e081f dropbear: update to 2018.76 (#2356)
* dropbear: update to 2018.76

* dropbear: fix hardcoded paths

* dropbear: enable scp
2018-04-22 21:22:48 +02:00
Fredrik Fornwall b310956fb1 dropbear: Fix path to sftp-server (fixes #2059) 2018-01-24 11:03:11 +01:00
its-pointless c2a0bc2bab put shebang in scripts 2017-08-17 00:26:27 +02:00
Fredrik Fornwall 7f77886824 dropbear: Patch away hard link usage
Fixes #1082.
2017-06-14 00:02:36 +02:00
Fredrik Fornwall 6deb0abec1 dropbear: Update from 2016.74 to 2017.75 2017-05-23 00:13:15 +02:00
Fredrik Fornwall b8352277e3 Use more source checksums 2017-03-04 21:54:30 +01:00
Fredrik Fornwall cc8e46c852 dropbear: Fix src url and update to 2016.74 2016-08-14 07:21:37 -04:00
Fredrik Fornwall bb27a0ec42 Various package updates
Many of them cascading from the update of glib.
2016-05-04 08:54:30 -04:00
Fredrik Fornwall 688f6133e7 dropbear: Use working tar url 2016-01-04 22:17:18 -05:00
Fredrik Fornwall 31d77226ca dropbear: Switch back to main site 2015-12-15 05:25:00 -05:00
Fredrik Fornwall 651173d642 dropbear: Update from 2015.68 to 2015.71 2015-12-03 11:50:40 -05:00
Fredrik Fornwall 09ede9b077 Rebuild some packages and fix dependencies 2015-11-08 02:23:57 -05:00
Fredrik Fornwall 8bf3f3f075 Minor version bumps 2015-11-08 01:02:27 -05:00
Fredrik Fornwall 02b55df699 Use bash as login shell by default 2015-07-30 19:47:00 -04:00
Fredrik Fornwall 0eb41b83a7 Switch over to mirror for dropbear 2015-06-12 20:47:12 -04:00
Fredrik Fornwall 59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00