Henrik Grimler
029714bf58
openssh: use termux_step_install_service_scripts for service script
This also fixes faulty shebang (#!/bin/sh) in service script
5 years ago
Fredrik Fornwall
f9552b8116
Get rid of more liblog linkage
5 years ago
Leonid Plyushch
5bb2fd8c6a
get rid of TERMUX_EXPOSE_FILE_OFFSET64
5 years ago
Leonid Plyushch
72cbc7da54
openssh: fix typo in build.sh
5 years ago
Fredrik Fornwall
175bd81a9b
openssh: Remove enabling ssh-dss by default
5 years ago
Fredrik Fornwall
79141a10ed
openssh: Update from 8.0p1 to 8.1p1
5 years ago
Leonid Plyushch
e374a32f73
openssh: bump revision
5 years ago
Leonid Plyushch
3670a92a87
openssh: force use 64bit off_t
Fixes https://github.com/termux/termux-packages/issues/3233 .
5 years ago
Leonid Plyushch
7e88992f9d
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 .
5 years ago
Henrik Grimler
6c0f16353c
transmission: mark service scripts as config files
5 years ago
Henrik Grimler
43a6823be5
openssh: mark service scripts as config files
5 years ago
Henrik Grimler
8ccdce48c0
openssh: fix faulty symlink for termux-services script
5 years ago
Leonid Plyushch
d111f5bf74
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
5 years ago
Leonid Plyushch
702d7acb15
add stubs to prevent on-device building packages with dangerous operations in build.sh
%ci:no-build
5 years ago
Oliver Schmidhauser
b6bae0eb11
bump changed packages
6 years ago
Oliver Schmidhauser
eff4613f6c
add sshd service
6 years ago
Fredrik Fornwall
659972d52a
openssh: Update from 7.9p1 to 8.0p1
6 years ago
Leonid Plyushch
cb93af0c30
add zlib to dependencies where needed
6 years ago
Leonid Plyushch
e8ec958dc9
libutil: remove package - replaced by libc from Android 7 or newer
6 years ago
Leonid Plyushch
f6ce4561fb
openssh: fix path for /tmp/sshauth.XXXXXXXXXXXXXXX
6 years ago
Wetitpig
8dcfd793a2
No backticks
6 years ago
Wetitpig
14931574cb
Shell script compliance
6 years ago
Leonid Plyushch
7679dd204c
openssh: use 'install' instead of 'cp' when installing executables
6 years ago
Wetitpig
b7a5b47775
Change permissions
6 years ago
Wetitpig
78b944ba05
Improve formatting of parantheses for functions
6 years ago
Leonid Plyushch
04f1680c3e
openssh: add script "sftpa" - works similary to "ssha"
SFTP with SSH agent.
6 years ago
Fredrik Fornwall
e52af0af7b
openssh: Fix build with compressed man pages
6 years ago
Fredrik Fornwall
1ba145d9a1
Revision-bump more packages
6 years ago
Leonid Plyushch
037bcf9566
add licenses for more packages
6 years ago
Pavel Vondruška
e68e3f6152
Package Openssh: Enable Kerberos5 support
6 years ago
Fredrik Fornwall
9e0ce53765
openssh: Just link sshd to libtermux-auth
6 years ago
Leonid Plyushch
2969096e75
openssh: enable password auth
6 years ago
Fredrik Fornwall
61765595ca
openssh: Update from 7.8p1 to 7.9p1
6 years ago
Fredrik Fornwall
e696010d89
openssh: Replace some link(2) with rename(2)
OpenSSH uses a link to take a backup while replacing the known_hosts
file:
(1) link known_hosts to known_hosts.old
(2) move new file to known_hosts (overwriting the link there)
Since links are not allowed we replace link with rename:
(1) rename known_hosts to known_hosts.old
(2) move new file to known_hosts
This means that there is a window between (1) and (2) where the
known_hosts file is not available, but that is a really short window
and is hopefully acceptable here.
Fixes #2909 .
6 years ago
Fredrik Fornwall
14cf6763fa
openssh: Mark ssh(d)_config as configuration
This avoids silently overwriting any local changes. Fixes #2866 .
6 years ago
Fredrik Fornwall
540102f2eb
openssl: Update from 1.0.2 to 1.1.1 ( #2775 )
6 years ago
Fredrik Fornwall
88d13a5771
openssh: Update from 7.7p1 to 7.8p1
6 years ago
Fredrik Fornwall
4802979213
openssh: Bump revision after set(res)gid patch
6 years ago
Gerben Meijer
62d02fa725
Don't use setresgid or setgid in ssh-agent
Fixes it for Android Pie, see #2714
6 years ago
Fredrik Fornwall
2c89aec36d
openssh: Bump revision after 'SendEnv LANG'
7 years ago
Lauri Tirkkonen
1f2f1df33c
openssh: SendEnv LANG by default
many distributions use "AcceptEnv LANG LC_*" by default for sshd. this
fixes UTF-8 output from such servers that do not happen to set LANG or
LC_CTYPE to UTF-8 by default server-side (termux env already sets
LANG=en_US.UTF-8)
7 years ago
Tom Yan
9fd6e5b5f4
make PS1 dynamic and shell-specific
PS1 is not supposed to be an environment variable (i.e. will not
be listed in `printenv` but only in `set`). Its value should also
be shell-specific.
With this commit we can stop exporting a static PS1 as env var on
the java side.
The prompt would now indicate whether the current user is root.
7 years ago
Tom Yan
a263cc6bc3
openssh: keep TMPDIR and PS1
7 years ago
Fredrik Fornwall
e18c260e49
dropbear: Add back scp
Make openssh conflict with dropbear as it also contains scp.
7 years ago
Fredrik Fornwall
1ff10e5c36
openssh: Update from 7.6 to 7.7
7 years ago
Fredrik Fornwall
6eeaf55131
Avoid hard-coded paths in some more places
The plan is to allow other apps to build packages by changing the
prefix.
7 years ago
Leonid Plyushch
bbfa4e7a8b
openssh: update to 7.6p1 ( #1613 )
7 years ago
Fredrik Fornwall
da5a358623
openssh: Configure with --with-mantype=man
7 years ago
Fredrik Fornwall
87566986d2
openssh: Verify that we have packaged up man pages
7 years ago
Fredrik Fornwall
683caaa166
openssh: Rebuild to get man pages ( #1538 )
7 years ago