[med-svn] [Git][med-team/civetweb][master] 5 commits: fixing the SOVERSION of the shared library

Sebastien Jodogne gitlab at salsa.debian.org
Tue Nov 3 15:25:56 GMT 2020



Sebastien Jodogne pushed to branch master at Debian Med / civetweb


Commits:
ccb62139 by jodogne-guest at 2020-11-03T15:08:01+01:00
fixing the SOVERSION of the shared library

- - - - -
b0f43aa1 by jodogne-guest at 2020-11-03T15:30:16+01:00
update symbols file

- - - - -
e69fd579 by jodogne-guest at 2020-11-03T15:35:08+01:00
fix package name in symbols file

- - - - -
290f1d87 by jodogne-guest at 2020-11-03T15:44:15+01:00
building 1.13+dfsg-3

- - - - -
6948a312 by jodogne-guest at 2020-11-03T16:25:30+01:00
Upload to unstable

- - - - -


5 changed files:

- debian/changelog
- debian/libcivetweb1.symbols
- debian/patches/series
- + debian/patches/soversion
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+civetweb (1.13+dfsg-3) unstable; urgency=medium
+
+  * Fix SOVERSION of the shared library to create "libcivetweb.so.1"
+
+ -- Sebastien Jodogne <s.jodogne at gmail.com>  Tue, 03 Nov 2020 15:42:33 +0100
+
 civetweb (1.13+dfsg-2) unstable; urgency=medium
 
   * Upgraded "debian/patches/webdav-uploads" for civetweb 1.13


=====================================
debian/libcivetweb1.symbols
=====================================
@@ -1,71 +1,71 @@
-libcivetweb.so.1.13.0 libcivetweb1 #MINVER#
- mg_check_digest_access_authentication at Base 1.12
- mg_check_feature at Base 1.12
- mg_close_connection at Base 1.12
- mg_connect_client at Base 1.12
- mg_connect_client_secure at Base 1.12
- mg_connect_websocket_client at Base 1.12
- mg_connect_websocket_client_secure at Base 1.13
- mg_cry at Base 1.12
- mg_disable_keep_alive at Base 1.12
- mg_download at Base 1.12
- mg_exit_library at Base 1.12
- mg_get_builtin_mime_type at Base 1.12
- mg_get_context at Base 1.12
- mg_get_context_info at Base 1.12
- mg_get_cookie at Base 1.12
- mg_get_header at Base 1.12
- mg_get_option at Base 1.12
- mg_get_request_info at Base 1.12
- mg_get_request_link at Base 1.12
- mg_get_response at Base 1.12
- mg_get_response_code_text at Base 1.12
- mg_get_response_info at Base 1.12
- mg_get_server_ports at Base 1.12
- mg_get_system_info at Base 1.12
- mg_get_thread_pointer at Base 1.12
- mg_get_user_connection_data at Base 1.12
- mg_get_user_context_data at Base 1.12
- mg_get_user_data at Base 1.12
- mg_get_valid_options at Base 1.12
- mg_get_var2 at Base 1.12
- mg_get_var at Base 1.12
- mg_handle_form_request at Base 1.12
- mg_init_library at Base 1.12
- mg_lock_connection at Base 1.12
- mg_lock_context at Base 1.12
- mg_md5 at Base 1.12
- mg_modify_passwords_file at Base 1.12
- mg_printf at Base 1.12
- mg_read at Base 1.12
- mg_response_header_add at Base 1.13
- mg_response_header_add_lines at Base 1.13
- mg_response_header_send at Base 1.13
- mg_response_header_start at Base 1.13
- mg_send_chunk at Base 1.12
- mg_send_digest_access_authentication_request at Base 1.12
- mg_send_file at Base 1.12
- mg_send_file_body at Base 1.12
- mg_send_http_error at Base 1.12
- mg_send_http_ok at Base 1.12
- mg_send_http_redirect at Base 1.12
- mg_send_mime_file2 at Base 1.12
- mg_send_mime_file at Base 1.12
- mg_set_auth_handler at Base 1.12
- mg_set_request_handler at Base 1.12
- mg_set_user_connection_data at Base 1.12
- mg_set_websocket_handler at Base 1.12
- mg_set_websocket_handler_with_subprotocols at Base 1.12
- mg_split_form_urlencoded at Base 1.13
- mg_start at Base 1.12
- mg_start_thread at Base 1.12
- mg_stop at Base 1.12
- mg_store_body at Base 1.12
- mg_strcasecmp at Base 1.12
- mg_strncasecmp at Base 1.12
- mg_unlock_connection at Base 1.12
- mg_unlock_context at Base 1.12
- mg_url_decode at Base 1.12
- mg_url_encode at Base 1.12
- mg_version at Base 1.12
- mg_write at Base 1.12
+libcivetweb.so.1 libcivetweb1 #MINVER#
+ mg_check_digest_access_authentication at Base 1
+ mg_check_feature at Base 1
+ mg_close_connection at Base 1
+ mg_connect_client at Base 1
+ mg_connect_client_secure at Base 1
+ mg_connect_websocket_client at Base 1
+ mg_connect_websocket_client_secure at Base 1
+ mg_cry at Base 1
+ mg_disable_keep_alive at Base 1
+ mg_download at Base 1
+ mg_exit_library at Base 1
+ mg_get_builtin_mime_type at Base 1
+ mg_get_context at Base 1
+ mg_get_context_info at Base 1
+ mg_get_cookie at Base 1
+ mg_get_header at Base 1
+ mg_get_option at Base 1
+ mg_get_request_info at Base 1
+ mg_get_request_link at Base 1
+ mg_get_response at Base 1
+ mg_get_response_code_text at Base 1
+ mg_get_response_info at Base 1
+ mg_get_server_ports at Base 1
+ mg_get_system_info at Base 1
+ mg_get_thread_pointer at Base 1
+ mg_get_user_connection_data at Base 1
+ mg_get_user_context_data at Base 1
+ mg_get_user_data at Base 1
+ mg_get_valid_options at Base 1
+ mg_get_var2 at Base 1
+ mg_get_var at Base 1
+ mg_handle_form_request at Base 1
+ mg_init_library at Base 1
+ mg_lock_connection at Base 1
+ mg_lock_context at Base 1
+ mg_md5 at Base 1
+ mg_modify_passwords_file at Base 1
+ mg_printf at Base 1
+ mg_read at Base 1
+ mg_response_header_add at Base 1
+ mg_response_header_add_lines at Base 1
+ mg_response_header_send at Base 1
+ mg_response_header_start at Base 1
+ mg_send_chunk at Base 1
+ mg_send_digest_access_authentication_request at Base 1
+ mg_send_file at Base 1
+ mg_send_file_body at Base 1
+ mg_send_http_error at Base 1
+ mg_send_http_ok at Base 1
+ mg_send_http_redirect at Base 1
+ mg_send_mime_file2 at Base 1
+ mg_send_mime_file at Base 1
+ mg_set_auth_handler at Base 1
+ mg_set_request_handler at Base 1
+ mg_set_user_connection_data at Base 1
+ mg_set_websocket_handler at Base 1
+ mg_set_websocket_handler_with_subprotocols at Base 1
+ mg_split_form_urlencoded at Base 1
+ mg_start at Base 1
+ mg_start_thread at Base 1
+ mg_stop at Base 1
+ mg_store_body at Base 1
+ mg_strcasecmp at Base 1
+ mg_strncasecmp at Base 1
+ mg_unlock_connection at Base 1
+ mg_unlock_context at Base 1
+ mg_url_decode at Base 1
+ mg_url_encode at Base 1
+ mg_version at Base 1
+ mg_write at Base 1


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
+soversion
 webdav-uploads


=====================================
debian/patches/soversion
=====================================
@@ -0,0 +1,29 @@
+Description: Configuration option to set the SOVERSION of the shared library
+Author: Sebastien Jodogne <s.jodogne at orthanc-labs.com>
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: civetweb-1.13/CMakeLists.txt
+===================================================================
+--- civetweb-1.13.orig/CMakeLists.txt
++++ civetweb-1.13/CMakeLists.txt
+@@ -42,6 +42,7 @@ include(DetermineTargetArchitecture)
+ include(CMakeDependentOption)
+ 
+ set(CIVETWEB_VERSION "1.13.0" CACHE STRING "The version of the civetweb library")
++set(CIVETWEB_SOVERSION "1" CACHE STRING "The SOVERSION of the civetweb library")
+ string(REGEX MATCH "([0-9]+)\\.([0-9]+)\\.([0-9]+)" CIVETWEB_VERSION_MATCH "${CIVETWEB_VERSION}")
+ if ("${CIVETWEB_VERSION_MATCH}" STREQUAL "")
+   message(FATAL_ERROR "Must specify a semantic version: major.minor.patch")
+Index: civetweb-1.13/src/CMakeLists.txt
+===================================================================
+--- civetweb-1.13.orig/src/CMakeLists.txt
++++ civetweb-1.13/src/CMakeLists.txt
+@@ -8,7 +8,7 @@ set_target_properties(civetweb-c-library
+   OUTPUT_NAME "civetweb"
+   EXPORT_NAME "civetweb"
+   VERSION ${CIVETWEB_VERSION}
+-  SOVERSION ${CIVETWEB_VERSION}
++  SOVERSION ${CIVETWEB_SOVERSION}
+ )
+ if (BUILD_SHARED_LIBS)
+   target_compile_definitions(civetweb-c-library PRIVATE CIVETWEB_DLL_EXPORTS INTERFACE CIVETWEB_DLL_IMPORTS)


=====================================
debian/rules
=====================================
@@ -6,9 +6,12 @@ export LC_ALL=C.UTF-8
 # for hardening you might like to uncomment this:
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
+# "CIVETWEB_SOVERSION" must match the suffix of the Debian package
+# (i.e. "libcivetweb1" => "1")
 CMAKE_EXTRA_FLAGS += \
         -DCMAKE_BUILD_TYPE=None \
         -DCIVETWEB_BUILD_TESTING=OFF \
+        -DCIVETWEB_SOVERSION=1 \
         -DBUILD_SHARED_LIBS=ON
 
 %:



View it on GitLab: https://salsa.debian.org/med-team/civetweb/-/compare/d96bb5de3c301c4e688523fe26870022bbc377ea...6948a31223c501ee3989ec859a3e9a7129ca6c55

-- 
View it on GitLab: https://salsa.debian.org/med-team/civetweb/-/compare/d96bb5de3c301c4e688523fe26870022bbc377ea...6948a31223c501ee3989ec859a3e9a7129ca6c55
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20201103/b94852e4/attachment-0001.html>


More information about the debian-med-commit mailing list