Commit Graph

78 Commits

Author SHA1 Message Date
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
Pavel Vondruška
50b0630a8c Package Openssh: Enable Kerberos5 support 2018-12-10 00:58:57 +01:00
Fredrik Fornwall
744d139e90 openssh: Just link sshd to libtermux-auth 2018-11-23 00:58:14 +01:00
Leonid Pliushch
c7442155d4 openssh: enable password auth 2018-11-23 00:33:02 +01:00
Fredrik Fornwall
d30a2287ec openssh: Update from 7.8p1 to 7.9p1 2018-10-20 21:59:11 +02:00
Fredrik Fornwall
2b61e3a317 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.
2018-09-29 10:40:18 +02:00
Fredrik Fornwall
618e7bdddd openssh: Mark ssh(d)_config as configuration
This avoids silently overwriting any local changes. Fixes #2866.
2018-09-20 23:08:52 +02:00
Fredrik Fornwall
fd72a74c42 openssl: Update from 1.0.2 to 1.1.1 (#2775) 2018-09-11 22:43:19 +02:00
Fredrik Fornwall
cf46ae580a openssh: Update from 7.7p1 to 7.8p1 2018-08-25 23:37:40 +02:00
Fredrik Fornwall
69500d577a openssh: Bump revision after set(res)gid patch 2018-08-09 23:28:37 +02:00
Gerben Meijer
d1a4764e08 Don't use setresgid or setgid in ssh-agent
Fixes it for Android Pie, see #2714
2018-08-09 23:03:48 +02:00
Fredrik Fornwall
86ddbcc87c openssh: Bump revision after 'SendEnv LANG' 2018-07-03 13:26:49 +02:00
Lauri Tirkkonen
4849877625 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)
2018-07-03 11:56:47 +02:00
Tom Yan
5d3ef9ba0c 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.
2018-06-22 01:11:37 +02:00
Tom Yan
9cd99e6e02 openssh: keep TMPDIR and PS1 2018-05-14 18:07:42 +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
bf7f306e00 openssh: Update from 7.6 to 7.7 2018-04-04 00:09:47 +02:00
Fredrik Fornwall
9493e72698 Avoid hard-coded paths in some more places
The plan is to allow other apps to build packages by changing the
prefix.
2017-11-16 23:37:57 +01:00
Leonid Pliushch
fc3ed9a82d openssh: update to 7.6p1 (#1613) 2017-10-05 08:32:07 +02:00
Fredrik Fornwall
a9e85cb378 openssh: Configure with --with-mantype=man 2017-09-20 20:34:36 +02:00
Fredrik Fornwall
ceea531142 openssh: Verify that we have packaged up man pages 2017-09-20 01:49:50 +02:00
Fredrik Fornwall
b041831d4b openssh: Rebuild to get man pages (#1538) 2017-09-20 01:37:41 +02:00
Fredrik Fornwall
95e4bb75a3 openssh: Remove showing motd 2017-09-17 21:03:46 +02:00
Fredrik Fornwall
12f3695d51 openssh: Bump revision after getpwd() patch update 2017-09-17 15:55:59 +02:00
Leonid Pliushch
7162428a85 openssh: fix hardcoded paths 2017-09-14 16:20:41 +02:00
its-pointless
c2a0bc2bab put shebang in scripts 2017-08-17 00:26:27 +02:00
Fredrik Fornwall
c781c3a7ef openssh: Bump revision after package changes 2017-08-11 13:31:20 +02:00
deed02392
e046e1b949 Set up home structure for authorized_keys
Since password auth is disabled by default, we depend on keys in our home dir but they're not created for us and the perms are wrong by default. This commit sets it up correctly for the user to simply add their key to the empty authorized_keys file
2017-08-11 13:19:00 +02:00
Fredrik Fornwall
993268c308 Drop -D_FILE_OFFSET_BITS=64 support for now
32-bit android uses 32-bit off_t by default. When building with
-D_FILE_OFFSET_BITS=64 with unified headers off_t are promoted
to 64-bit, but there are bugs in the toolchain and spotty support
for it in the platform (not all functions are available until
android-24, and the platform zlib is compiled with 32-bit off_t).

Also, unless every library&program is rebuilt with 64-bit off_t,
including user-built ones, we risk a mismatch between programs and
libraries which can cause serious (but sometimes subtle) runtime
failures.

As -D_FILE_OFFSET_BITS=64 is not that important for most users
(with mariadb requiring it as an exception), we drop the support
for now by patching it away in <sys/cdefs.h>.
2017-07-07 03:52:46 +02:00
Fredrik Fornwall
5efa6a024f openssh: Bump revision with unified headers
Fixes #902 as _FILE_OFFSET_BITS=64 is now supported in the unified
headers.
2017-07-03 01:28:56 +02:00
Fredrik Fornwall
ebd854a810 openssh: Fix building with unified headers 2017-06-30 22:55:31 +02:00
Fredrik Fornwall
ce92cc4c5d Stand in srcdir for termux_step_pre_configure 2017-05-11 01:01:20 +02:00
Fredrik Fornwall
ff379bf4ab openssh: Enable libedit in sftp 2017-04-17 23:03:46 +02:00
Fredrik Fornwall
b79434aa72 openssh: Disable privilege separation by patching
The UsePrivilegeSeparation option is no longer supported, so we
need to disable privilege separation by a code patch.
2017-03-24 00:14:08 +01:00
Fredrik Fornwall
cff3a76b91 openssh: Update from 7.4 to 7.5 2017-03-23 17:15:17 +01:00
Fredrik Fornwall
52192d2e5e ldns: Update from 1.6.17 to 1.7.0 2017-01-29 17:41:33 +01:00
Fredrik Fornwall
7b1f1bd35d build-package.sh: Cleanup a bit
- Put everything into shell functions.
- Start fixing shellcheck warnings.
- Run a hostbuild before setting up an android toolchain (fixes #657).

It was quite a hasty rewrite, so things could be broken. Let me know!
2017-01-05 20:37:45 -05:00
Fredrik Fornwall
a8b61adf91 openssh: Update from 7.3p1 to 7.4p1 2016-12-20 20:33:53 -05:00