Skip to content

Commit

Permalink
Merge commit 'ddea657ba7373494d581764c9ff212ea5508a864'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sibras committed Sep 2, 2022
2 parents 80e9d8d + ddea657 commit b318653
Show file tree
Hide file tree
Showing 24 changed files with 1,090 additions and 58 deletions.
18 changes: 18 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ variables:
MINGW_BUILD: buildenv-mingw
TUMBLEWEED_BUILD: buildenv-tumbleweed
UBUNTU_BUILD: buildenv-ubuntu
ALPINE_BUILD: buildenv-alpine

stages:
- build
Expand Down Expand Up @@ -313,6 +314,23 @@ ubuntu/openssl_1.1.x/x86_64:
extends: .tests


###############################################################################
# Alpine builds #
###############################################################################
alpine/musl:
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$ALPINE_BUILD
extends: .tests
script:
- cmake $CMAKE_DEFAULT_OPTIONS
-DWITH_SFTP=ON
-DWITH_SERVER=ON
-DWITH_ZLIB=ON
-DWITH_PCAP=ON
-DUNIT_TESTING=ON .. &&
make -j$(nproc) &&
ctest --output-on-failure


###############################################################################
# Tumbleweed builds #
###############################################################################
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
CHANGELOG
=========

version 0.10.2 (released 2022-09-02)
* Fixed tilde expansion when handling include directives
* Fixed building the shared torture library
* Made rekey test more robust (fixes running on i586 build systems e.g koji)

version 0.10.1 (released 2022-08-30)
* Fixed proxycommand support
* Fixed musl libc support

version 0.10.0 (released 2022-08-26)
* Added support for OpenSSL 3.0
* Added support for mbedTLS 3
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules")
include(DefineCMakeDefaults)
include(DefineCompilerFlags)

project(libssh VERSION 0.10.0 LANGUAGES C)
project(libssh VERSION 0.10.2 LANGUAGES C)

# global needed variable
set(APPLICATION_NAME ${PROJECT_NAME})
Expand All @@ -22,7 +22,7 @@ set(APPLICATION_NAME ${PROJECT_NAME})
# Increment AGE. Set REVISION to 0
# If the source code was changed, but there were no interface changes:
# Increment REVISION.
set(LIBRARY_VERSION "4.9.0")
set(LIBRARY_VERSION "4.9.2")
set(LIBRARY_SOVERSION "4")

# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
Expand Down
17 changes: 17 additions & 0 deletions ConfigureChecks.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,23 @@ int main(void) {
return 0;
}" HAVE_FALLTHROUGH_ATTRIBUTE)

check_c_source_compiles("
#define WEAK __attribute__((weak))
WEAK int sum(int a, int b)
{
return a + b;
}
int main(void)
{
int i = sum(2, 2);
(void)i;
return 0;
}" HAVE_WEAK_ATTRIBUTE)

if (NOT WIN32)
check_c_source_compiles("
#define __unused __attribute__((unused))
Expand Down
1 change: 1 addition & 0 deletions config.h.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@

#cmakedefine HAVE_FALLTHROUGH_ATTRIBUTE 1
#cmakedefine HAVE_UNUSED_ATTRIBUTE 1
#cmakedefine HAVE_WEAK_ATTRIBUTE 1

#cmakedefine HAVE_CONSTRUCTOR_ATTRIBUTE 1
#cmakedefine HAVE_DESTRUCTOR_ATTRIBUTE 1
Expand Down
2 changes: 1 addition & 1 deletion src/ABI/current
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.9.0
4.9.2
Loading

0 comments on commit b318653

Please sign in to comment.