Skip to content

Commit 45df52f

Browse files
author
jenkins[bot]
committed
1.21.0 (component version v-2.19.0-B1394)
1 parent 832d771 commit 45df52f

626 files changed

Lines changed: 67591 additions & 7768 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.clang-tidy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ Checks: >-
4949
-readability-magic-numbers,
5050
-readability-identifier-length,
5151
-modernize-use-nodiscard,
52-
-misc-non-private-member-variables-in-classes
52+
-misc-non-private-member-variables-in-classes,
53+
-portability-avoid-pragma-once
5354
HeaderFilterRegex: '(src|test)/.*'
5455
CheckOptions:
5556
- { key: cppcoreguidelines-avoid-c-arrays.AllowStringArrays, value: true }

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
171171
add_link_options(-NODEFAULTLIB:libboost_regex-vc142-mt-gd-x64-1_74.lib)
172172
else()
173173
add_compile_options(-Wall) # This may require an additional -g3 to activate debug symbols for boost::beast
174-
add_compile_options(-Wextra -Wpedantic -Wconversion -Wno-deprecated-declarations)
174+
add_compile_options(-Wextra -Wpedantic -Wconversion)
175175
# disable -Wrestict for gcc, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105651
176176
if(CMAKE_BUILD_TYPE MATCHES Release)
177177
add_compile_options($<$<CXX_COMPILER_ID:GNU>:-Wno-restrict> $<$<CXX_COMPILER_ID:GNU>:-Wno-stringop-overread>)

Dependencies.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,18 @@
1414
| libunwind | 1.8.1 | MIT | https://github.com/libunwind/libunwind/releases/tag/v1.8.1 |
1515
| libxml2 | 2.14.5 | MIT | https://github.com/GNOME/libxml2/tree/v2.14.5 |
1616
| magic_enum | 0.9.7 | MIT | https://github.com/Neargye/magic_enum/releases/tag/v0.9.7 |
17-
| openssl* | 3.0.19 | OpenSSL | https://github.com/openssl/openssl/tree/openssl-3.0.19 |
17+
| openssl* | 3.5.5 | OpenSSL | https://github.com/openssl/openssl/tree/openssl-3.5.5 |
1818
| prometheus-cpp | 1.3.0 | MIT | https://github.com/jupp0r/prometheus-cpp/releases/tag/v1.3.0 |
1919
| rapidjson | cci.20230929 | MIT | https://github.com/Tencent/rapidjson |
2020
| redis-plus-plus | 1.3.15 | Apache-2.0 | https://github.com/sewenew/redis-plus-plus/releases/tag/1.3.15 |
21+
| xmlsec | 1.3.8 | MIT | https://github.com/lsh123/xmlsec/releases/tag/1.3.8 |
2122
| zlib | 1.3.1 | Zlib License | https://github.com/madler/zlib/tree/v1.3.1 |
2223
| zstd | 1.5.7 | BSD-3-Clause | https://github.com/facebook/zstd/tree/v1.5.7 |
2324

24-
\* openssl 3.0.19: The openssl 3.0.19 is based on the version provided by conan-center (https://conan.io/center/)
25+
\* openssl 3.5.5: The openssl 3.5.5 is based on the version provided by conan-center (https://conan.io/center/)
2526
additionally a patch has been applied to access the embedded OCSP response.
2627
The changed package recipes and the patch are located in the subfolder `conan-recipes/openssl`
2728

28-
\* openssl 3.0.19: Die verwendete openssl 3.0.19 basiert auf der auf conan-center (https://conan.io/center/) verfügbaren.
29+
\* openssl 3.5.5: Die verwendete openssl 3.5.5 basiert auf der auf conan-center (https://conan.io/center/) verfügbaren.
2930
zusätzlich wird ein weiterer Patch angewandt, der den Zugriff auf die eingebettete OCSP-Response ermöglicht.
3031
Das geänderte Conan-Rezept und der Patch befinden sich im Unterordner `conan-recipes/openssl`

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pipeline {
2727
)
2828
}
2929
environment {
30-
ERP_RELEASE_VERSION = "1.20.0"
30+
ERP_RELEASE_VERSION = "1.21.0"
3131
ERP_BUILD_IMAGE = 'de.icr.io/erp_dev/erp-pc-ubuntu-build:2.3.1'
3232
ERP_POSTGRES_IMAGE = "erp-test-database:${dbImageUUID}"
3333
GIT_SOURCE_CREDS = credentials('jenkins-github-erp')
@@ -319,7 +319,7 @@ pipeline {
319319
}
320320
axis {
321321
name 'ERP_TEST_DATE'
322-
values 'today', '2026-04-01'
322+
values 'today', '2026-04-01', '2026-07-01'
323323
}
324324
}
325325
stages{

Jenkinsfile_integration_tests

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ pipeline {
9898
#
9999
# Execute tests
100100
#
101-
ERP_FHIR_REFERENCE_TIME_OFFSET_DAYS=-83 LD_LIBRARY_PATH=../lib ERP_SERVER_HOST="\${ERP_SERVER_HOSTNAME}" ERP_SERVER_PORT="\${ERP_SERVER_PORT}" ERP_IDP_REGISTERED_FD_URI="\${ERP_IDP_REGISTERED_FD_URI}" TEST_QES_PEM_FILE_NAME="\${TEST_QES_PEM_FILE_NAME}" TEST_RESOURCE_MANAGER_PATH="\${TEST_RESOURCE_MANAGER_PATH}" ERP_ADMIN_RC_CREDENTIALS=cred ./erp-integration-test --gtest_output=xml:mvo-test-report.xml --gtest_filter=MVO_*
102-
ERP_FHIR_REFERENCE_TIME_OFFSET_DAYS=-83 LD_LIBRARY_PATH=../lib ERP_SERVER_HOST="\${ERP_SERVER_HOSTNAME}" ERP_SERVER_PORT="\${ERP_SERVER_PORT}" ERP_IDP_REGISTERED_FD_URI="\${ERP_IDP_REGISTERED_FD_URI}" TEST_QES_PEM_FILE_NAME="\${TEST_QES_PEM_FILE_NAME}" TEST_RESOURCE_MANAGER_PATH="\${TEST_RESOURCE_MANAGER_PATH}" ERP_ADMIN_RC_CREDENTIALS=cred ./erp-integration-test --gtest_output=xml:erp-integration-test.xml --gtest_filter=-MVO_*
101+
LD_LIBRARY_PATH=../lib ERP_SERVER_HOST="\${ERP_SERVER_HOSTNAME}" ERP_SERVER_PORT="\${ERP_SERVER_PORT}" ERP_IDP_REGISTERED_FD_URI="\${ERP_IDP_REGISTERED_FD_URI}" TEST_QES_PEM_FILE_NAME="\${TEST_QES_PEM_FILE_NAME}" TEST_RESOURCE_MANAGER_PATH="\${TEST_RESOURCE_MANAGER_PATH}" ERP_ADMIN_RC_CREDENTIALS=cred ./erp-integration-test --gtest_output=xml:mvo-test-report.xml --gtest_filter=MVO_*
102+
LD_LIBRARY_PATH=../lib ERP_SERVER_HOST="\${ERP_SERVER_HOSTNAME}" ERP_SERVER_PORT="\${ERP_SERVER_PORT}" ERP_IDP_REGISTERED_FD_URI="\${ERP_IDP_REGISTERED_FD_URI}" TEST_QES_PEM_FILE_NAME="\${TEST_QES_PEM_FILE_NAME}" TEST_RESOURCE_MANAGER_PATH="\${TEST_RESOURCE_MANAGER_PATH}" ERP_ADMIN_RC_CREDENTIALS=cred ./erp-integration-test --gtest_output=xml:erp-integration-test.xml --gtest_filter=-MVO_*
103103
"""
104104
}
105105
}

Jenkinsfile_nightly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pipeline {
6565
loadGithubSSHConfiguration {
6666
env.BRANCH_NAME = "${BRANCH_NAME}"
6767
def erp_build_version = sh(returnStdout: true, script: "git describe").trim()
68-
def erp_release_version = "1.20.0"
68+
def erp_release_version = "1.21.0"
6969
sh "cd /media/erp && scripts/ci-build.sh " +
7070
"--build_type=RelWithDebInfo " +
7171
"--build_version='${erp_build_version}' " +

conan-recipes/README.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44

55
See the patches/ folder
66

7-
## xmlsec
8-
9-
* Picks upstream commit `a7e8464f2a2826820b94cc641ac0aae345641fc6` for RSA-PSS key support.
10-
117
## Export and upload
128

139
Go into the package folder (for example `openssl`) and
@@ -16,11 +12,5 @@ export each recipe, locally with:
1612
`conan export . erp/stable`
1713

1814
openssl:
19-
`conan create conanfile.py --version 3.0.19+erp --build=missing`
20-
`conan upload -r erp-conan-2 openssl/3.0.19+erp`
21-
22-
xmlsec:
23-
```sh
24-
conan create conanfile.py --version 1.3.7+erp --build=missing
25-
conan upload -r erp-conan-2 xmlsec/1.3.7+erp
26-
```
15+
`conan create conanfile.py --version 3.0.18+erp --build=missing`
16+
`conan upload -r erp-conan-2 openssl/3.0.18+erp`
Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
sources:
2-
3.0.19+erp:
3-
sha256: fa5a4143b8aae18be53ef2f3caf29a2e0747430b8bc74d32d88335b94ab63072
2+
3.5.5+erp:
3+
sha256: b28c91532a8b65a1f983b4c28b7488174e4a01008e29ce8e69bd789f28bc2a89
44
url:
5-
- "https://www.openssl.org/source/openssl-3.0.19.tar.gz"
6-
- "https://www.openssl.org/source/old/3.0.19/openssl-3.0.19.tar.gz"
5+
- "https://github.com/openssl/openssl/releases/download/openssl-3.5.5/openssl-3.5.5.tar.gz"
76

87
patches:
9-
3.0.19+erp:
10-
- patch_file: patches/0001-3.0.19-erp-cms.patch
8+
3.5.5+erp:
9+
- patch_file: patches/0001-erp-cms.patch
1110
patch_description: "erp-cms"
12-
- patch_file: patches/0002-3.0.19-erp-cms-counter-signature.patch
11+
- patch_file: patches/0002-erp-cms-counter-signature.patch
1312
patch_description: "erp-cms-counter-signature"

conan-recipes/openssl/conanfile.py

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,6 @@ def config_options(self):
116116
else:
117117
self.options.rm_safe("fPIC")
118118

119-
if self.settings.os == "Emscripten":
120-
self.options.no_asm = True
121-
self.options.no_threads = True
122-
self.options.no_stdio = True
123-
124119
def configure(self):
125120
if self.options.shared:
126121
self.options.rm_safe("fPIC")
@@ -135,10 +130,6 @@ def requirements(self):
135130
self.requires("zlib/[>=1.2.11 <2]")
136131

137132
def validate(self):
138-
if self.settings.os == "Emscripten":
139-
if not all((self.options.no_asm, self.options.no_threads, self.options.no_stdio)):
140-
raise ConanInvalidConfiguration("os=Emscripten requires openssl:{no_asm,no_threads,no_stdio}=True")
141-
142133
if self.settings.os == "iOS" and self.options.shared:
143134
raise ConanInvalidConfiguration("OpenSSL 3 does not support building shared libraries for iOS")
144135

@@ -371,8 +362,6 @@ def _configure_args(self):
371362

372363
if self.settings.os == "Android":
373364
args.append(f" -D__ANDROID_API__={str(self.settings.os.api_level)}") # see NOTES.ANDROID
374-
if self.settings.os == "Emscripten":
375-
args.append("-D__STDC_NO_ATOMICS__=1")
376365
if self.settings.os == "Windows":
377366
if self.options.enable_capieng:
378367
args.append("enable-capieng")
@@ -395,20 +384,29 @@ def _configure_args(self):
395384
if not self.options.no_zlib:
396385
zlib_cpp_info = self.dependencies["zlib"].cpp_info.aggregated_components()
397386
include_path = self._adjust_path(zlib_cpp_info.includedirs[0])
387+
is_shared_zlib = self.dependencies["zlib"].options.shared
388+
389+
390+
# the --with-zlib-lib flag takes a different value depending on platform and if ZLIB is shared
391+
# From https://github.com/openssl/openssl/blob/openssl-3.4.1/INSTALL.md#with-zlib-lib
392+
# On Unix: the directory where the zlib library is (for -L flag)
393+
# On Windows with static zlib: the path to the static library to link (assumed)
394+
# On Windows with shared zlib: the leaf name of the dll (its loaded with LoadLibrary)
398395
if self._use_nmake:
396+
# notes: consider where this should be "if on windows"
397+
# zlib1 is assumed to be the name of the zlib1.dll for all windows configurations
399398
lib_path = self._adjust_path(os.path.join(zlib_cpp_info.libdirs[0], f"{zlib_cpp_info.libs[0]}.lib"))
399+
zlib_lib_flag = "zlib1" if is_shared_zlib else lib_path
400400
else:
401401
# Just path, GNU like compilers will find the right file
402-
lib_path = self._adjust_path(zlib_cpp_info.libdirs[0])
402+
zlib_lib_flag = self._adjust_path(zlib_cpp_info.libdirs[0])
403403

404-
if self.dependencies["zlib"].options.shared:
405-
args.append("zlib-dynamic")
406-
else:
407-
args.append("zlib")
404+
zlib_configure_arg = "zlib-dynamic" if is_shared_zlib else "zlib"
405+
args.append(zlib_configure_arg)
408406

409407
args.extend([
410408
f'--with-zlib-include="{include_path}"',
411-
f'--with-zlib-lib="{lib_path}"',
409+
f'--with-zlib-lib="{zlib_lib_flag}"',
412410
])
413411

414412
for option_name in self.default_options.keys():
@@ -426,6 +424,11 @@ def generate(self):
426424
env.define_path("CROSS_SDK", os.path.basename(xcrun.sdk_path))
427425
env.define_path("CROSS_TOP", os.path.dirname(os.path.dirname(xcrun.sdk_path)))
428426

427+
if is_apple_os(self) and self.options.shared:
428+
# Inject -headerpad_max_install_names for shared library, otherwise fix_apple_shared_install_name() may fail.
429+
# See https://github.com/conan-io/conan-center-index/issues/27424
430+
tc.extra_ldflags.append("-headerpad_max_install_names")
431+
429432
self._create_targets(tc.cflags, tc.cxxflags, tc.defines, tc.ldflags)
430433
tc.generate(env)
431434

@@ -549,9 +552,9 @@ def _make_program(self):
549552

550553
def _replace_runtime_in_file(self, filename):
551554
runtime = msvc_runtime_flag(self)
552-
for e in ["MDd", "MTd", "MD", "MT"]:
553-
replace_in_file(self, filename, f"/{e} ", f"/{runtime} ", strict=False)
554-
replace_in_file(self, filename, f"/{e}\"", f"/{runtime}\"", strict=False)
555+
for e in ["MDd", "MD", "MT"]:
556+
replace_in_file(self, filename, f"/{e} ", f"/{runtime} ")
557+
replace_in_file(self, filename, f"/{e}\"", f"/{runtime}\"")
555558

556559
def package(self):
557560
copy(self, "*LICENSE*", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses"))

conan-recipes/openssl/patches/0001-3.1.8-erp-cms.patch

Lines changed: 0 additions & 149 deletions
This file was deleted.

0 commit comments

Comments
 (0)