The branch, master has been updated via 8511e28 Bump version 1.4.4 via f4313b8 cmake: Bump required cmake version to 3.10 via e1f38a7 Add clang-format file from 6ba8b15 Fix setsockopt(s, SOL_SOCKET, SO_REUSEPORT, ...) with glibc 2.40
https://git.samba.org/?p=socket_wrapper.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 8511e287d32a808e825942b15ddc93485ca59792 Author: Andreas Schneider <a...@cryptomilk.org> Date: Tue Jan 21 15:03:26 2025 +0100 Bump version 1.4.4 Signed-off-by: Andreas Schneider <a...@cryptomilk.org> Reviewed-by: Pavel Filipenský <pfilipen...@samba.org> Reviewed-by: Alexander Bokovoy <a...@samba.org> commit f4313b85d21a7f52756b739d026edac362e0d84f Author: Andreas Schneider <a...@cryptomilk.org> Date: Tue Jan 21 15:05:31 2025 +0100 cmake: Bump required cmake version to 3.10 Support for versions older than 3.10 will be dropped in future. Signed-off-by: Andreas Schneider <a...@cryptomilk.org> Reviewed-by: Pavel Filipenský <pfilipen...@samba.org> Reviewed-by: Alexander Bokovoy <a...@samba.org> commit e1f38a7eb5b8b55c831dcf4a6093505002f546bd Author: Andreas Schneider <a...@cryptomilk.org> Date: Tue Jan 21 15:07:11 2025 +0100 Add clang-format file Signed-off-by: Andreas Schneider <a...@cryptomilk.org> Reviewed-by: Pavel Filipenský <pfilipen...@samba.org> Reviewed-by: Alexander Bokovoy <a...@samba.org> ----------------------------------------------------------------------- Summary of changes: .clang-format | 33 +++++++++++++++++++++++++++++++++ CHANGELOG | 3 +++ CMakeLists.txt | 4 ++-- CPackConfig.cmake | 2 +- 4 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 .clang-format Changeset truncated at 500 lines: diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..c4c12b9 --- /dev/null +++ b/.clang-format @@ -0,0 +1,33 @@ +# https://clang.llvm.org/docs/ClangFormatStyleOptions.html +AlignAfterOpenBracket: Align +AlignEscapedNewlines: Left +AllowAllArgumentsOnNextLine: true +AllowAllParametersOfDeclarationOnNextLine: false +AllowShortFunctionsOnASingleLine: Empty +AllowShortIfStatementsOnASingleLine: false +AlwaysBreakAfterReturnType: None +BasedOnStyle: LLVM +BinPackArguments: false +BinPackParameters: false +BraceWrapping: + AfterEnum: false + AfterFunction: true + AfterStruct: false + AfterUnion: false + AfterExternBlock: true + BeforeElse: false + BeforeWhile: false + AfterControlStatement: MultiLine +BreakBeforeBinaryOperators: None +BreakBeforeBraces: Custom +ColumnLimit: 80 +ContinuationIndentWidth: 8 +IndentCaseLabels: false +IndentGotoLabels: false +IndentWidth: 8 +PenaltyBreakAssignment: 200 +PenaltyBreakBeforeFirstCallParameter: 100 +PenaltyReturnTypeOnItsOwnLine: 1000 +SortIncludes: false +UseTab: true +WhitespaceSensitiveMacros: ['DEBUG'] diff --git a/CHANGELOG b/CHANGELOG index 2ef0aa6..42b9c27 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,9 @@ CHANGELOG ========= +version 1.4.4 (released 2025-01-21) + * Fixed setsockopt(SO_REUSEPORT) with glibc 2.40 + version 1.4.3 (released 2024-06-12) * Fixed socket_wrapper running with jemalloc compiled binaries * Fixed thread sanitizer on modern Linux Kernels diff --git a/CMakeLists.txt b/CMakeLists.txt index f66cff9..1c95b24 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ # Required cmake version -cmake_minimum_required(VERSION 3.5.0) +cmake_minimum_required(VERSION 3.10.0) cmake_policy(SET CMP0048 NEW) # Specify search path for CMake modules to be loaded by include() @@ -11,7 +11,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules") include(DefineCMakeDefaults) include(DefineCompilerFlags) -project(socket_wrapper VERSION 1.4.3 LANGUAGES C) +project(socket_wrapper VERSION 1.4.4 LANGUAGES C) # global needed variables set(APPLICATION_NAME ${PROJECT_NAME}) diff --git a/CPackConfig.cmake b/CPackConfig.cmake index 11b0314..2382f9b 100644 --- a/CPackConfig.cmake +++ b/CPackConfig.cmake @@ -16,7 +16,7 @@ set(CPACK_PACKAGE_VERSION "${PROJECT_VERSION}") ### source generator set(CPACK_SOURCE_GENERATOR "TGZ") -set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;/build*;/obj*;tags;cscope.*") +set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]bare/;/[.]git/;/[.]clangd/;/[.]cache/;.gitignore;/build*;/obj*;tags;cscope.*;compile_commands.json;.*\.patch") set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}") if (WIN32) -- Socket Wrapper Repository