Skip to content

Commit 2d8db0c

Browse files
committed
Merge commit '854795c654eda518ed6de6c1ebb4e2107fcb2e73'
2 parents 6edf7b1 + 854795c commit 2d8db0c

30 files changed

+771
-189
lines changed

CHANGELOG

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
CHANGELOG
22
=========
33

4+
version 0.11.1 (released 2024-08-30)
5+
* Fixed default TTY modes that are set when stdin is not connected to tty (#270)
6+
* Fixed zlib cleanup procedure, which could crash on i386
7+
* Various test fixes improving their stability
8+
* Fixed cygwin build
9+
410
version 0.11.0 (released 2024-07-31)
511
* Deprecations and Removals:
612
* Dropped support for DSA

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules")
99
include(DefineCMakeDefaults)
1010
include(DefineCompilerFlags)
1111

12-
project(libssh VERSION 0.11.00 LANGUAGES C CXX)
12+
project(libssh VERSION 0.11.1 LANGUAGES C CXX)
1313

1414
# global needed variable
1515
set(APPLICATION_NAME ${PROJECT_NAME})
@@ -21,7 +21,7 @@ set(APPLICATION_NAME ${PROJECT_NAME})
2121
# Increment AGE. Set REVISION to 0
2222
# If the source code was changed, but there were no interface changes:
2323
# Increment REVISION.
24-
set(LIBRARY_VERSION "4.10.0")
24+
set(LIBRARY_VERSION "4.10.1")
2525
set(LIBRARY_SOVERSION "4")
2626

2727
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked

CPackConfig.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
1010

1111
# SOURCE GENERATOR
1212
set(CPACK_SOURCE_GENERATOR "TXZ")
13-
set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]git/;/[.]clangd/;/[.]cache/;.gitignore;/build*;/obj*;tags;cscope.*;compile_commands.json;.*\.patch")
13+
set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]bare/;/[.]git/;/[.]git;/[.]clangd/;/[.]cache/;.gitignore;/build*;/obj*;tags;cscope.*;compile_commands.json;.*\.patch")
1414
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
1515

1616
### NSIS INSTALLER

CompilerChecks.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ if (UNIX)
1616
endif()
1717
endif()
1818

19-
add_c_compiler_flag("-std=gnu99" SUPPORTED_COMPILER_FLAGS)
2019
add_c_compiler_flag("-Wpedantic" SUPPORTED_COMPILER_FLAGS)
2120
add_c_compiler_flag("-Wall" SUPPORTED_COMPILER_FLAGS)
2221
add_c_compiler_flag("-Wshadow" SUPPORTED_COMPILER_FLAGS)
@@ -49,6 +48,7 @@ if (UNIX)
4948
add_c_compiler_flag("-Werror=implicit-int" SUPPORTED_COMPILER_FLAGS)
5049
add_c_compiler_flag("-Wint-conversion" SUPPORTED_COMPILER_FLAGS)
5150
add_c_compiler_flag("-Werror=int-conversion" SUPPORTED_COMPILER_FLAGS)
51+
add_c_compiler_flag("-Werror=unused-variable" SUPPORTED_COMPILER_FLAGS)
5252

5353
check_c_compiler_flag("-Wformat" REQUIRED_FLAGS_WFORMAT)
5454
if (REQUIRED_FLAGS_WFORMAT)

ConfigureChecks.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ check_include_file(arpa/inet.h HAVE_ARPA_INET_H)
6464
check_include_file(byteswap.h HAVE_BYTESWAP_H)
6565
check_include_file(glob.h HAVE_GLOB_H)
6666
check_include_file(valgrind/valgrind.h HAVE_VALGRIND_VALGRIND_H)
67+
check_include_file(ifaddrs.h HAVE_IFADDRS_H)
6768

6869
if (WIN32)
6970
check_include_file(io.h HAVE_IO_H)

config.h.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@
5858
/* Define to 1 if you have the <stdint.h> header file. */
5959
#cmakedefine HAVE_STDINT_H 1
6060

61+
/* Define to 1 if you have the <ifaddrs.h> header file. */
62+
#cmakedefine HAVE_IFADDRS_H 1
63+
6164
/* Define to 1 if you have the <openssl/aes.h> header file. */
6265
#cmakedefine HAVE_OPENSSL_AES_H 1
6366

examples/CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ if (UNIX AND NOT WIN32)
3030
target_compile_options(samplesftp PRIVATE ${DEFAULT_C_COMPILE_FLAGS})
3131
target_link_libraries(samplesftp ssh::ssh)
3232

33-
add_executable(sample_sftpserver sample_sftpserver.c ${examples_SRCS})
34-
target_compile_options(sample_sftpserver PRIVATE ${DEFAULT_C_COMPILE_FLAGS})
35-
target_link_libraries(sample_sftpserver ssh::ssh ${ARGP_LIBRARIES})
33+
if (WITH_SERVER)
34+
add_executable(sample_sftpserver sample_sftpserver.c ${examples_SRCS})
35+
target_compile_options(sample_sftpserver PRIVATE ${DEFAULT_C_COMPILE_FLAGS})
36+
target_link_libraries(sample_sftpserver ssh::ssh ${ARGP_LIBRARIES})
37+
endif (WITH_SERVER)
3638
endif (WITH_SFTP)
3739

3840
add_executable(ssh-client ssh_client.c ${examples_SRCS})

src/ABI/current

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.10.0
1+
4.10.1

0 commit comments

Comments
 (0)