Commit Graph

28 Commits

Author SHA1 Message Date
Felix Fietkau 23bd17806b libssh: update to version 0.10.6, fix build with mbedtls 3.6
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2024-04-18 21:46:20 +02:00
Gioacchino Mazzurco b95e1c56e7
libssh: compile against MbedTLS instead of OpenSSL
Since 2017 libssh supports to be compiled against libmbedtls instead of
libopessl, OpenWrt ships mbedtls by default, while depending on OpenSSL
increase image size by almost 1.5MB unnecessarily.

Signed-off-by: Gioacchino Mazzurco <gio@eigenlab.org>
2023-08-28 10:04:00 +02:00
Andre Heider 565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Rosen Penev 6a478c85cd libssh: update to 0.10.4
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-07 17:30:06 -08:00
Nick Hainke c808768cad libssh: update to 0.10.3
Release notes:
https://www.libssh.org/2022/09/05/libssh-0-10-3/

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-09-05 22:13:14 -07:00
Nick Hainke 869643f330 libssh: update to 0.10.2
Release notes:
https://www.libssh.org/2022/09/02/libssh-0-10-2/

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-09-03 13:58:57 -07:00
Nick Hainke 2f17f23da3 libssh: update to 0.10.0
Release Notes:
https://www.libssh.org/2022/08/26/libssh-0-10-0/

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-08-31 13:32:13 -07:00
Michal Vasilek ec4ce2a0c8
libssh: update to 0.9.6
* fixes CVE-2021-3634

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2021-08-27 09:51:19 +02:00
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rosen Penev a31b732007 treewide: build CMake projects with Ninja
faster to compile.

A small selection of packages was tested going from:

Executed in  696.30 secs   fish           external
   usr time   82.98 mins  395.00 micros   82.98 mins
   sys time    9.02 mins    0.00 micros    9.02 mins

to:

Executed in  592.20 secs   fish           external
   usr time   84.84 mins  361.00 micros   84.84 mins
   sys time    8.85 mins   57.00 micros    8.85 mins

Tested by running make -j 12 and wiping staging/build_dir/target_x

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-27 21:51:50 -07:00
Rosen Penev 32f3eb298a
libssh: update to 0.9.5
It seems none of the patches apply/are needed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-20 17:44:02 -07:00
Jakov Smolic d726b13aff
libssh: patch ssh_channel_poll_timeout for compatibility with libnetconf2
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
2020-08-24 20:05:40 +02:00
Jan Pavlinec ad457727bd
libssh: patch security issue
Fixes:
CVE-2020-16135

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-06 17:08:28 +02:00
Jan Pavlinec 933eef4b18
libssh: update to version 0.9.4 (security fix)
Fixes
CVE-2020-1730

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-04-16 12:30:00 +02:00
Rosen Penev 4be60489bf libssh: fix compilation without deprecated OpenSSL APIs
Cleaned up Makefile.

Fixed license information.

Simplified big endian condition.

Removed InstallDev section. CMAKE_INSTALL handles it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-25 20:51:26 -07:00
Nikos Mavrogiannopoulos eaf16d76c7 libssh: simplified CMAKE tests
That is endianness check is provided as option, SSP and other
flags are enabled by openwrt global flags to fix issues in unsupported
systems, and unused flags were removed.

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2020-01-25 16:51:20 +01:00
Nikos Mavrogiannopoulos 424c011895 libssh: updated to 0.9.3
This updates the library to address several CVEs, add modern
crypto, and eliminate legacy patches.

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2020-01-14 22:21:48 +01:00
Sven Eckelmann bbb1ea7345 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-09-10 07:45:15 +02:00
Rosen Penev 2d440dd267
libssh: Fix compilation without deprecated OpenSSL APIs
Last patch was already fixed upstream. First patch was sent.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-28 16:48:16 -07:00
Rosen Penev 7bc5aba1df libssh: Fix compile without OpenSSL deprecated APIs
Backported several patches from version 0.8 to fix this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-09 23:52:32 +00:00
Kevin Darbyshire-Bryant 72096874d0 libssh: bump to 0.7.6 CVE-2018-10933 fix
Bump from 0.7.5 to 0.7.6.  Upstream changelog:

Fixed CVE-2018-10933
Added support for OpenSSL 1.1
Added SHA256 support for ssh_get_publickey_hash()
Fixed config parsing
Fixed random memory corruption when importing pubkeys

Backported upstream patches since 0.7.6 to fix interactive
authentication issues amongst other things:

9d5cf209 libcrypto: Fix memory leak in evp_final()
10397321 gssapi: Set correct state after sending GSSAPI_RESPONSE (select mechanism OID)
7ad80ba1 server: Fix compile error
acb0e4f4 examples: Explicitly track auth state in samplesshd-kbdint
3fe7510b messages: Check that the requested service is 'ssh-connection'
734e3ce6 server: Set correct state after sending INFO_REQUEST (Kbd Interactive)
e4c6d591 packet: Add missing break in ssh_packet_incoming_filter()
f81ca616 misc: Add strndup implementation if not provides by the OS

Refresh patches.
Remove local backport for OpenSSL 1.1 support as is now in release
Remove PKG_INSTALL & CMAKE vars that are defaulted anyway
Add PKG_CPE_ID:=cpe:/a:libssh:libssh for CVE tracking
Remove BROKEN tag as is no longer broken

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-10-29 09:08:11 +00:00
Kevin Darbyshire-Bryant 14ad4cb976 libssh: mark as BROKEN due to CVE-2018-10933
The only known user of this library is currently unable to get their
application to work with with the fixed 0.7.6 release of this library.

To prevent accidental use by unknown parties of a flawed library, mark
it as BROKEN.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-10-19 13:04:27 +01:00
Eneas U de Queiroz b96a1f3ea6 libssh: added openssl 1.1 compatibility
This patch was backported from upstream master branch.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-05-23 18:35:16 -03:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Stephen Walker b63a809213 packages: cleanup Makefile variables
Standard assignment is immediate expansion without any extraneous spacing, RFC822 compliant email addresses and consistent section assignments

Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
2017-06-03 16:38:06 -04:00
Antonio Paunovic 263cb97add libssh: modify copy of .so files
Signed-off-by: Antonio Paunovic <antonio.paunovic@sartura.hr>
2017-05-29 12:08:51 +00:00
Luka Perkov 529b00b5d4 libssh: switch from git to release download
Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
2017-05-14 01:01:34 +02:00
Mislav Novakovic 0faddbbb47 add libssh
Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
2017-05-11 19:46:58 +02:00