Commit Graph

22 Commits

Author SHA1 Message Date
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
Sebastian Kemper c0da37b1cd libssh2: switch default to OpenSSL and fix depends
All packages in the tree that depend on libssh2 _and_ have their own
dependency on a TLS library, depend on OpenSSL by default. It makes
sense for the libssh2 package to default to OpenSSL as well. This way it
does not pull in a second TLS library.

Also, the OpenSSL dependency is changed to
"+!LIBSSH2_MBEDTLS:libopenssl", which fixes build issues in case libssh2
is not selected but built anyway.

And last, Config.in file is removed and its content added to the
Makefile instead.

Closes #12108

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-05-11 20:28:57 +02:00
Rosen Penev 6a1cd83265
libssh2: Remove old artifacts from autotools platform
Removed PKG_FIXUP. It has no meaning with CMake.

Replaced PKG_INSTALL with CMAKE_INSTALL. Consequentially, removed
InstallDev section.

Added ABI_VERSION to force package rebuilds when it increases.

Added PKG_BUILD_PARALLEL for faster compilation.

Fixed license tag.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-08-28 13:07:34 -07:00
Rosen Penev a447e1c6b2
libssh2: Don't build tests
Speeds up build and fixes OpenSSL support.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-08-27 17:15:13 -07:00
Jan Pavlinec 9c1a23d977
libssh2: update to version 1.9.0 (security fix)
Changes:
Fix CVE-2019-13115
Remove old patches
Switch to cmake

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-08-14 11:12:43 +02:00
Florian Eckert b154bbc66e
Merge pull request #8524 from ja-pa/libssh2-cpe-id
libssh2: Add PKG_CPE_ID for proper CVE tracking
2019-04-06 18:20:05 +02:00
Jan Pavlinec 6fb992405c
libssh2: update to version 1.8.2
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-04-04 16:41:52 +02:00
Jan Pavlinec 74cfcf29f3
libssh2: Add PKG_CPE_ID for proper CVE tracking
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-03-28 14:24:14 +01:00
Sebastian Kemper 90d895697a libssh2: version bump/ CVE fixes
- CVE-2019-3855
  Possible integer overflow in transport read allows out-of-bounds write

- CVE-2019-3856
  Possible integer overflow in keyboard interactive handling allows
  out-of-bounds write

- CVE-2019-3857
  Possible integer overflow leading to zero-byte allocation and out-of-bounds
  write

- CVE-2019-3858
  Possible zero-byte allocation leading to an out-of-bounds read

- CVE-2019-3859
  Out-of-bounds reads with specially crafted payloads due to unchecked use of
  `_libssh2_packet_require` and `_libssh2_packet_requirev`

- CVE-2019-3860
  Out-of-bounds reads with specially crafted SFTP packets

- CVE-2019-3861
  Out-of-bounds reads with specially crafted SSH packets

- CVE-2019-3862
  Out-of-bounds memory comparison

- CVE-2019-3863
  Integer overflow in user authenicate keyboard interactive allows
  out-of-bounds writes

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-03-19 08:28:15 +01:00
Rosen Penev ba3b4942b4 libssh2: Fix compilation with deprecated APIs disabled
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-09 18:47:50 -08:00
Sebastian Kemper 27c77ff0e9 libssh2: add missing PKG_CONFIG_DEPENDS
Recently added symbols CONFIG_LIBSSH2_MBEDTLS and CONFIG_LIBSSH2_OPENSSL
require a rerun of ./configure when their selection changes. So add them
to PKG_CONFIG_DEPENDS accordingly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-03 09:19:29 +01:00
Sebastian Kemper 1cce79f006 libssh2: update InstallDev define
Use $(INSTALL_DATA) for headers and pkgconfig file.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 11:49:56 +01:00
Sebastian Kemper 4ac9a2ae84 libssh2: remove $(FPIC) from TARGET_CFLAGS
libssh2 already makes sure that the compiler emits position-independent
code. Adding $(FPIC) makes no difference. In addition the libssh2 build
system puts its own flag behind the CFLAGS, overriding whatever was set
before.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 11:45:18 +01:00
Sebastian Kemper 6b3f140c0c libssh2: Make crypto backends selectable
This adds a choice to menuselect so people can select if they would like
to compile libssh2 against mbedtls (default) or openssl.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 13:26:18 +01:00
Sebastian Kemper fd953af246 libssh2: version bump
- Bump version to 1.8.0
- Switch from openssl crypto backend to mbedtls (the package is a lot
  smaller size-wise compared to openssl and libgcrypt)
- mbedtls support was added in 1.8.0 release. Unfortunately the detection
  doesn't work out of the box, so a patch is needed that fixes an m4
  script. For that reason autoreconf must be run.
- Add --with-libz-prefix as without it zlib is not detected (currently
  there is the zlib dependency but libssh2 never actually links to it).
- Add --disable-silent-rules to get verbose build output.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-30 14:54:41 +01: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
Hsing-Wang Liao f663e1771e libssh2: Bump to v1.7.0
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-06-03 11:12:28 +08:00
Jiri Slachta a3a8bbdc51 libssh2, libxslt, tiff: change PKG_MAINTAINER email address
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2016-05-31 20:22:37 +02:00
Jiri Slachta 02c8f0aae9 libssh2: update to version 1.6.0
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2015-07-04 23:01:47 +02:00
Jiri Slachta f2d0e23959 libssh2: add licensing information
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-08-10 09:25:44 +02:00
Jiri Slachta bc4713cb7c libssh2: import from oldpackages, add myself as maintainer
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-07-17 22:27:24 +02:00