Commit Graph

115 Commits

Author SHA1 Message Date
Georg Weiss
2de5f6a477 removing privsep from streamlocal, enabling gpg-agent forwarding 2021-08-29 17:19:52 +02:00
suhan-paradkar
e0a6eefc4b remove revision field 2021-05-03 14:25:06 +03:00
suhan-paradkar
2d2f4200be Update openssh 2021-05-03 14:25:06 +03:00
Leonid Pliushch
7aeb7125ef
openssh: keep TERMUX_VERSION variable (#6546) 2021-03-20 15:28:46 +02:00
Leonid Pliushch
37375312b9
explicitly set maintainer for each package
In issue https://github.com/termux/termux-packages/issues/6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.

Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.

[skip ci]
%ci:no-build
2020-12-20 15:16:34 +02:00
Leonid Pliushch
4bad54ea1b openssh: ssh-copy-id is broken, now using a copy from Ubuntu 20.04
Issue https://github.com/termux/termux-app/issues/1804
2020-10-31 01:23:35 +02:00
Henrik Grimler
fed280dc50 openssh: update to 8.4p1 2020-10-17 23:44:05 +02:00
Leonid Pliushch
2c55fb8fae openssh: update variables-to-keep list
Fixes https://github.com/termux/termux-packages/issues/5755.
2020-10-01 21:35:45 +03:00
Henrik Grimler
dcb926abd4 Copy LICENSE file for some licenses instead of using generic one (#5478)
* termux-licenses: remove licenses that contain copyright information

These licenses cannot be taken from the common termux-licenses package as the copyright information needs to be distributed with the package as well.

271 packages in the main repository needs to be rebuilt after this change.

* termux_step_install_license: remove duplicated comment

* Bump packages that has a license with copyright information

We need to include this copyright information in the package so need
to rebuild them now that termux_step_install_license has been
modified.

The affected licenses are: MIT, ISC, PythonPL, Openfont-1.1, ZLIB,
Libpng, BSD, BSD 2-Clause, BSD 3-Clause.

* zlib: extract license file from zlib.h

* xorgproto: include all individual license files in package

* libgcrypt: include LICENSE file in package

It contains some copyright information so needs to be included in package

* libcrypt: add a dummy BSD 2-Clause license

According to homepage it is suppose to be BSD 2-Clause, but original
project did not include a license file

* libandroid-spawn: add LICENSE file to package

* libandroid-glob: add license file to package

* licenses: allow for comma separated TERMUX_PKG_LICENSE_FILE

%ci:no-build

* libicu: fix so that termux_step_install_license finds license file

%ci:no-build

* termux_step_install_license: check for license file as "License"

%ci:no-build

* libtiff: specify TERMUX_PKG_LICENSE_FILE

%ci:no-build

* asciidoctor: install license to standard location

* krb5: specify license file

* libdb: specify path to license file

%ci:no-build

* libprotobuf: specify path to license file

* darkhttpd: extract license file from darkhttpd.c

* w3m: ensure host libraries are not picked up

* w3m: extract LICENSE file from dock/README

* liblua{,52}: extract license files from doc/readme.html

* termux_step_install_license: look for License.txt as well

* dart: specify path to LICENSE file

* nim: specify license file

* runit: specify license file

* termux_step_install_license: look for LICENSE.TXT as well

* ossp-uuid: extract LICENSE from README

* pigz: extract LICENSE from pigz.c

* ttyrec: extract LICENSE from ttyrec.c

%ci:no-build

* bmon: specify license files

Most of the source files are licensed under MIT, it is not clear (to me) which
parts that are licensed under BSD 2-Clause.

%ci:no-build

* wordgrinder: specify license files

* fdupes: add LICENSE

* autossh: add LICENSE patch

* cmake: specify LICENSE file

* dos2unix: specify LICENSE file

* gnuplot: specify LICENSE file

* termux_step_install_license: look for variants of "copyright" also

* picolisp: specify LICENSE file

* lua-lpeg: extract license file

* tidy: specify license file

* gflags: specify LICENSE file

* timewarrior: fix src url

It seems to have been changed.

* postgresql: specify license file

* ttyrec: fix license patch header

* fossil: specify license file

* fmt: specify license file

* i2pd: specify license file

* leptonica: specify license file

* imgflo: add license file patch

* ired: add license file from ired github repo

* libzen: specify license file

* libmediainfo: specify license file

* mediainfo: specify license file

* tty-clock: add license patch

* samefile: add license patch

* quickjs: add license patch

* docbook-xml: add LICENSE patch

* docbook-xsl: specify LICENSE files

* gnuplot: configure with --without-latex

* timewarrior: add libshared to SRCURL as well

The non-release archives does not contain gitsubmodules so we need to
download it manually.

* restic: switch back to using 0.9.6 archive

* dart: revert revision bump

dart's SDK does not fully support python3 yet, and trying to solve
that is not entirely trivial. We save the dart bump (and upgrade to
2.8.4) for another day.

%ci:no-build
2020-07-07 18:45:45 +02:00
Leonid Pliushch
9b4c80b26b openssh: update to 8.3p1 2020-06-21 19:19:09 +03:00
Leonid Pliushch
2188dc23e1 openssh: bump revision 2020-06-16 13:39:54 +03:00
Faheem Pervez
3cc7fde280 openssh: misc_c.patch: ensure pw_passwd has xstrdup'd string 2020-06-16 13:39:07 +03:00
Leonid Pliushch
92534de10f openssh: source-ssh-agent should put socket in $PREFIX/var/run
/tmp is being wiped on application restart.
2020-04-14 17:11:33 +03:00
Leonid Pliushch
4308559d20 openssh: bump revision 2020-03-29 23:04:06 +03:00
Günther Noack
78b3381ef8 Indirect explicit_bzero through memset pointer.
The original comment indicates that using `bzero()` directly may result in dead store elimination, so they explicitly avoided calling `bzero()` as you do now. `explicit_bzero` is used in cryptographic software to clear keys from process memory after use, even if that memory is not read any more afterwards.

Maybe it would be safer like this? (I copied the approach from https://android.googlesource.com/platform/external/openssh/+/refs/tags/android-6.0.1_r70/openbsd-compat/explicit_bzero.c, so that should work on Android.)

Caveat, I was hand-editing the diff and did not find time to set up the toolchain to build this; but the general approach should work?
2020-03-29 23:03:21 +03:00
Leonid Pliushch
2f09e83274 openssh: update list of env variables to keep
See https://github.com/termux/termux-api/issues/301.
2020-03-08 20:53:27 +02:00
Henrik Grimler
836bc0ceb9 openssh: remove hardcoded prefix 2020-02-28 06:47:26 +01:00
Leonid Pliushch
d99291f812 openssh: rebuild 2020-02-23 14:16:04 +02:00
Fredrik Fornwall
38ce11a18b openssh: Fix zsh 5.8 incompatible check in source-ssh-agent 2020-02-23 10:46:58 +01:00
Fredrik Fornwall
2ba9974d99 openssh: Update from 8.1 to 8.2 2020-02-15 23:04:18 +01:00
Henrik Grimler
f4a4f86316 openssh: use termux_step_install_service_scripts for service script
This also fixes faulty shebang (#!/bin/sh) in service script
2020-01-05 15:13:15 +01:00
Fredrik Fornwall
5d7a32bfcc Get rid of more liblog linkage 2019-12-30 01:05:41 +01:00
Leonid Pliushch
4f437b43de get rid of TERMUX_EXPOSE_FILE_OFFSET64 2019-12-29 21:00:28 +02:00
Leonid Pliushch
dd3d25aee2 openssh: fix typo in build.sh 2019-11-02 12:39:27 +02:00
Fredrik Fornwall
590ad7f6f8 openssh: Remove enabling ssh-dss by default 2019-11-01 13:29:22 +01:00
Fredrik Fornwall
bd612e1556 openssh: Update from 8.0p1 to 8.1p1 2019-10-13 12:03:47 +02:00
Leonid Pliushch
b5e9d1ee89 openssh: bump revision 2019-09-23 00:43:13 +03:00
Leonid Pliushch
f75ed291d1 openssh: force use 64bit off_t
Fixes https://github.com/termux/termux-packages/issues/3233.
2019-09-23 00:43:13 +03:00
Leonid Pliushch
4d3a6658d4 termux-tools: do not print motd on OpenSSH login when config PrintMotd=no
Now OpenSSH will not print motd on its own which may result in duplicate.
Instead it will control the login script via environment variable.

Fixes https://github.com/termux/termux-packages/issues/3941.
2019-09-06 01:59:07 +03:00
Henrik Grimler
9151e2908c transmission: mark service scripts as config files 2019-08-22 21:57:06 +02:00
Henrik Grimler
295796d20c openssh: mark service scripts as config files 2019-08-22 21:48:44 +02:00
Henrik Grimler
70bc6884e0 openssh: fix faulty symlink for termux-services script 2019-08-17 21:15:51 +02:00
Leonid Pliushch
c352216c63 packages: standardize values of several control variables for build.sh
Variables

 TERMUX_PKG_PLATFORM_INDEPENDENT
 TERMUX_DEBUG
 TERMUX_PKG_HAS_DEBUG
 TERMUX_PKG_ESSENTIAL
 TERMUX_SUBPKG_ESSENTIAL
 TERMUX_PKG_NO_STATICSPLIT
 TERMUX_PKG_BUILD_IN_SRC
 TERMUX_PKG_FORCE_CMAKE
 TERMUX_PKG_HOSTBUILD

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

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

%ci:no-build
2019-08-12 18:49:13 +03:00
Henrik Grimler
b6a636b876 Merge pull request #3460 from Neo-Oli/termux-services
Proposal: Termux-Services
2019-08-11 21:39:07 +02:00
Leonid Pliushch
c81d4c8698 add stubs to prevent on-device building packages with dangerous operations in build.sh
%ci:no-build
2019-08-08 16:58:34 +03:00
Oliver Schmidhauser
63761bafd2 bump changed packages 2019-07-27 12:05:08 +02:00
Oliver Schmidhauser
f8ccb086a1 add sshd service 2019-07-27 12:01:51 +02:00
Fredrik Fornwall
90ef6f9cef openssh: Update from 7.9p1 to 8.0p1 2019-04-18 09:07:15 +02:00
Leonid Pliushch
11200afa32 add zlib to dependencies where needed 2019-04-14 16:00:23 +03:00
Leonid Pliushch
c9b80cf42d libutil: remove package - replaced by libc from Android 7 or newer 2019-03-10 15:42:58 +02:00
Leonid Pliushch
2d0fe0b02b openssh: fix path for /tmp/sshauth.XXXXXXXXXXXXXXX 2019-03-02 14:52:55 +02:00
Wetitpig
7ddcce5701 No backticks 2019-02-15 18:01:09 +02:00
Wetitpig
d50c847f11 Shell script compliance 2019-02-15 18:01:09 +02:00
Leonid Pliushch
9970423aeb openssh: use 'install' instead of 'cp' when installing executables 2019-02-09 21:16:01 +02:00
Wetitpig
5f07ac4eb9 Change permissions 2019-02-09 21:06:31 +02:00
Wetitpig
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Leonid Pliushch
06103e0f4b openssh: add script "sftpa" - works similary to "ssha"
SFTP with SSH agent.
2019-02-03 23:48:46 +01:00
Fredrik Fornwall
eda2429656 openssh: Fix build with compressed man pages 2019-01-29 09:25:09 +01:00
Fredrik Fornwall
89fb794b96 Revision-bump more packages 2019-01-27 15:47:16 +01:00
Leonid Pliushch
46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00