[SCM] NSS Wrapper Repository - branch master updated

Andreas Schneider asn at samba.org
Mon Mar 16 16:12:20 UTC 2020


The branch, master has been updated
       via  d24aec9 Bump version to 1.1.9
       via  cc4092e cmake: Make setting LIBRARY_VERSION easier
       via  e983a70 cmake: Add a link to the compile database for .clangd
       via  32399d4 cmake: Add a dist target to create source tarball
      from  812a5b0 nwrap: Only warn if we can't find a symbol in an nss module

https://git.samba.org/?p=nss_wrapper.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit d24aec96dd7329acad1adbdccd77483714a20820
Author: Andreas Schneider <asn at samba.org>
Date:   Mon Mar 16 16:55:57 2020 +0100

    Bump version to 1.1.9
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Alexander Bokovoy <ab at samba.org>

commit cc4092e10d824d5d5ad0b9ea9b0366e6f64f8a12
Author: Andreas Schneider <asn at samba.org>
Date:   Mon Mar 16 16:55:38 2020 +0100

    cmake: Make setting LIBRARY_VERSION easier
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Alexander Bokovoy <ab at samba.org>

commit e983a70c927ad5dd73a4343affe87c152d52a2cf
Author: Andreas Schneider <asn at samba.org>
Date:   Mon Mar 16 16:53:11 2020 +0100

    cmake: Add a link to the compile database for .clangd
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Alexander Bokovoy <ab at samba.org>

commit 32399d4bf8174ecb8308baf3db79f9a2daeb87bf
Author: Andreas Schneider <asn at samba.org>
Date:   Mon Mar 16 16:52:24 2020 +0100

    cmake: Add a dist target to create source tarball
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Alexander Bokovoy <ab at samba.org>

-----------------------------------------------------------------------

Summary of changes:
 .gitignore     |  1 +
 CHANGELOG      |  3 +++
 CMakeLists.txt | 26 +++++++++++++++++++-------
 3 files changed, 23 insertions(+), 7 deletions(-)


Changeset truncated at 500 lines:

diff --git a/.gitignore b/.gitignore
index 8fd1310..4de573c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ build
 obj
 cscope.*
 tags
+compile_commands.json
diff --git a/CHANGELOG b/CHANGELOG
index f15355d..5e76d70 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,9 @@
 ChangeLog
 ==========
 
+version 1.1.9 (released 2020-03-16)
+  * Fixed log spam when loading modules
+
 version 1.1.8 (released 2020-02-17)
   * Fixed path to library in nss_wrapper.pc
   * Try different backends for gethostbyaddr nd gethostbyname
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fa75ef8..c520d16 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,20 +11,23 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules")
 include(DefineCMakeDefaults)
 include(DefineCompilerFlags)
 
-project(nss_wrapper VERSION 1.1.8 LANGUAGES C)
+project(nss_wrapper VERSION 1.1.9 LANGUAGES C)
 
 # global needed variables
 set(APPLICATION_NAME ${PROJECT_NAME})
 
-# SOVERSION scheme: CURRENT.AGE.REVISION
+# SOVERSION scheme: MAJOR.MINOR.PATCH
 #   If there was an incompatible interface change:
-#     Increment CURRENT. Set AGE and REVISION to 0
+#     Increment MAJOR. Set MINOR and PATCH to 0
 #   If there was a compatible interface change:
-#     Increment AGE. Set REVISION to 0
+#     Increment MINOR. Set PATCH to 0
 #   If the source code was changed, but there were no interface changes:
-#     Increment REVISION.
-set(LIBRARY_VERSION "0.2.7")
-set(LIBRARY_SOVERSION "0")
+#     Increment PATCH.
+set(LIBRARY_VERSION_MAJOR 0)
+set(LIBRARY_VERSION_MINOR 2)
+set(LIBRARY_VERSION_PATCH 8)
+set(LIBRARY_VERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}.${LIBRARY_VERSION_PATCH}")
+set(LIBRARY_SOVERSION ${LIBRARY_VERSION_MAJOR})
 
 # add definitions
 include(DefineCMakeDefaults)
@@ -94,3 +97,12 @@ install(
 )
 
 add_subdirectory(doc)
+
+# Add 'make dist' target which makes sure to invoke cmake before
+add_custom_target(dist
+                  COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
+
+# Link combile database for clangd
+execute_process(COMMAND cmake -E create_symlink
+                "${CMAKE_BINARY_DIR}/compile_commands.json"
+                "${CMAKE_SOURCE_DIR}/compile_commands.json")


-- 
NSS Wrapper Repository



More information about the samba-cvs mailing list