From 82eee1c548938df49e3d8bde9e5804b0b1084f3d Mon Sep 17 00:00:00 2001 From: Raul Metsma Date: Fri, 11 Oct 2024 09:05:52 +0300 Subject: [PATCH] Update version number and xmlsec to 1.3.6 IB-7927, Fixes #637, IB-8260 Signed-off-by: Raul Metsma --- .github/workflows/build.yml | 38 ++++----------- .gitmodules | 3 -- CMakeLists.txt | 25 ++++++---- ID.ico | Bin 0 -> 60177 bytes README.md | 2 +- RELEASE-NOTES.md | 6 +-- banner.bmp | Bin 0 -> 85894 bytes build.ps1 | 21 ++++----- cmake | 1 - cmake/modules/FindPKCS11.cmake | 21 +++++++++ dlgbmp.bmp | Bin 0 -> 461814 bytes etc/Doxyfile.in | 2 +- libdigidocpp.wxs | 4 +- prepare_osx_build_environment.sh | 2 +- src/CMakeLists.txt | 18 +++++++ src/XmlConf.cpp | 7 ++- test/CMakeLists.txt | 1 - vcpkg-ports/xmlsec/CMakeLists.txt | 44 ++++++++---------- vcpkg-ports/xmlsec/portfile.cmake | 3 +- .../xmlsec/unofficial-xmlsec-config.cmake | 4 ++ vcpkg-ports/xmlsec/vcpkg.json | 2 +- vcpkg.json | 4 +- 22 files changed, 112 insertions(+), 96 deletions(-) delete mode 100644 .gitmodules create mode 100644 ID.ico create mode 100644 banner.bmp delete mode 160000 cmake create mode 100644 cmake/modules/FindPKCS11.cmake create mode 100644 dlgbmp.bmp create mode 100644 vcpkg-ports/xmlsec/unofficial-xmlsec-config.cmake diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c53d1d5ee..109b3ed2e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,8 +16,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - submodules: recursive - name: Install dependencies run: | brew update @@ -79,7 +77,7 @@ jobs: container: fedora:${{ matrix.container }} strategy: matrix: - container: [39, 40] + container: [39, 40, 41] steps: - name: Install Deps run: | @@ -93,8 +91,6 @@ jobs: sh cmake-3.28.1-linux-x86_64.sh --skip-license --prefix=/usr/local - name: Checkout uses: actions/checkout@v4 - with: - submodules: recursive - name: Build run: | cmake -DCMAKE_INSTALL_SYSCONFDIR=/etc -B build -S . @@ -111,7 +107,7 @@ jobs: container: ubuntu:${{ matrix.container }} strategy: matrix: - container: ['20.04', '22.04', '24.04'] + container: ['20.04', '22.04', '24.04', '24.10'] env: DEBIAN_FRONTEND: noninteractive DEBFULLNAME: github-actions @@ -121,8 +117,6 @@ jobs: run: apt update -qq && apt install --no-install-recommends -y git lsb-release build-essential devscripts debhelper lintian pkg-config ${UBUNTU_DEPS} doxygen swig openjdk-11-jdk-headless libpython3-dev python3-setuptools libboost-test-dev - name: Checkout uses: actions/checkout@v4 - with: - submodules: recursive - name: Setup changelog run: | export VERSION=$(grep project CMakeLists.txt | egrep -o "([0-9]{1,}\.)+[0-9]{1,}") @@ -144,33 +138,28 @@ jobs: runs-on: ${{ matrix.image }} strategy: matrix: - toolset: [143, 142] + toolset: [143] platform: [x86, x64] include: - toolset: 143 image: windows-2022 vcvars: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvarsall.bat" - - toolset: 142 - image: windows-2019 - vcvars: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\VC\\Auxiliary\\Build\\vcvarsall.bat" env: VER_SUFFIX: .VS${{ matrix.toolset }} CXXFLAGS: '/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR' # https://github.com/actions/runner-images/issues/10004 - VCPKG_INSTALLED_DIR: ${{ github.workspace }}/vcpkg_installed steps: - name: Checkout uses: actions/checkout@v4 - with: - submodules: recursive - name: Prepare vcpkg uses: lukka/run-vcpkg@v11 with: - vcpkgGitCommitId: 511d74f695bd45959d12b50b00f1b68f69e8f0b0 + vcpkgGitCommitId: e2edf52610d2c94d2038fe30b247ea5a26964e1b vcpkgJsonGlob: ./vcpkg.json runVcpkgInstall: true runVcpkgFormatString: "[`install`, `--recurse`, `--clean-after-build`, `--x-install-root`, `$[env.VCPKG_INSTALLED_DIR]`, `--triplet`, `$[env.VCPKG_DEFAULT_TRIPLET]`, `--x-feature`, `tests`]" env: VCPKG_DEFAULT_TRIPLET: ${{ matrix.platform }}-windows + VCPKG_INSTALLED_DIR: ${{ github.workspace }}/vcpkg_installed_${{ matrix.platform }} - name: Install dependencies run: choco install doxygen.install -y > $null - uses: actions/setup-python@v5 @@ -178,14 +167,9 @@ jobs: with: python-version: 3.12 architecture: x86 - - name: Install WiX - run: | - dotnet tool install -g wix --version 5.0.1 - wix extension -g add WixToolset.UI.wixext/5.0.1 - name: Build run: | & .\build.ps1 ` - -vcpkg_installed ${{ env.VCPKG_INSTALLED_DIR }} ` -vcvars "${{ matrix.vcvars }}" ` -platform ${{ matrix.platform }} ` -swig C:/ProgramData/chocolatey/bin/swig.exe ` @@ -199,14 +183,12 @@ jobs: pages: name: Deploy pages if: github.repository == 'open-eid/libdigidocpp' && contains(github.ref, 'master') - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: contents: write steps: - name: Checkout uses: actions/checkout@v4 - with: - submodules: recursive - name: Install dependencies run: sudo apt update -qq && sudo apt install --no-install-recommends -y doxygen ${UBUNTU_DEPS} - name: Build docs @@ -222,15 +204,13 @@ jobs: coverity: name: Run Coverity tests if: github.repository == 'open-eid/libdigidocpp' && contains(github.ref, 'coverity_scan') - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 env: TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} PROJECTNAME: ${{ github.repository }} steps: - name: Checkout uses: actions/checkout@v4 - with: - submodules: recursive - name: Install dependencies run: sudo apt update -qq && sudo apt install --no-install-recommends -y curl ca-certificates ${UBUNTU_DEPS} - name: Download Coverity Build Tool @@ -257,14 +237,12 @@ jobs: codeql: name: Run CodeQL tests if: github.repository == 'open-eid/libdigidocpp' - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: security-events: write steps: - name: Checkout uses: actions/checkout@v4 - with: - submodules: recursive - name: Install dependencies run: sudo apt update -qq && sudo apt install --no-install-recommends -y ${UBUNTU_DEPS} - name: Initialize CodeQL diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 188b55761..000000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "cmake"] - path = cmake - url = ../cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index 53a7100d7..1b9f06e04 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,19 +1,22 @@ cmake_minimum_required(VERSION 3.16) -if(NOT EXISTS ${CMAKE_SOURCE_DIR}/cmake/modules/VersionInfo.cmake) - message(FATAL_ERROR "cmake submodule directory empty, did you 'git clone --recursive'?") -endif() - if(POLICY CMP0122) cmake_policy(SET CMP0122 NEW) endif() if(POLICY CMP0167) cmake_policy(SET CMP0167 NEW) endif() -project(libdigidocpp VERSION 4.0.0) +project(libdigidocpp VERSION 4.1.0) set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules) list(APPEND CMAKE_PREFIX_PATH ${CMAKE_INSTALL_PREFIX}) -include(VersionInfo) +macro(SET_ENV NAME DEF) + if(DEFINED ENV{${NAME}}) + set(${NAME} $ENV{${NAME}} ${ARGN}) + else() + set(${NAME} ${DEF} ${ARGN}) + endif() +endmacro() + include(GNUInstallDirs) set_env( TSL_URL "https://ec.europa.eu/tools/lotl/eu-lotl.xml" CACHE STRING "TSL trust list primary URL" ) @@ -32,6 +35,11 @@ set( BUILD_TOOLS YES CACHE BOOL "Build digidoc-tool" ) set( BUILD_SHARED_LIBS YES CACHE BOOL "Build library as SHARED or STATIC" ) set( SIGNCERT "" CACHE STRING "Common name of certificate to used sign binaries, empty skip signing" ) set( CROSSSIGNCERT "" CACHE STRING "Common name of certificate to used cross sign binaries, empty skip signing" ) +set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD_REQUIRED YES) +set(CMAKE_C_VISIBILITY_PRESET hidden) +set(CMAKE_CXX_VISIBILITY_PRESET hidden) +set(CMAKE_VISIBILITY_INLINES_HIDDEN YES) set(CMAKE_DEBUG_POSTFIX "d" CACHE STRING "Adds a postfix for debug-built libraries.") set(CPACK_PACKAGE_VERSION ${VERSION}) set(CPACK_GENERATOR RPM) @@ -64,10 +72,7 @@ if(UNIX) endif() else() find_package(unofficial-xmlsec REQUIRED) - target_link_libraries(xmlsec INTERFACE - unofficial::xmlsec::xmlsec1 - unofficial::xmlsec::xmlsec1-openssl - ) + target_link_libraries(xmlsec INTERFACE unofficial::xmlsec::xmlsec1-openssl) endif() find_package(SWIG) if(SWIG_FOUND) diff --git a/ID.ico b/ID.ico new file mode 100644 index 0000000000000000000000000000000000000000..40018f81a334b213cb87501da282125e42700ae3 GIT binary patch literal 60177 zcmeG_2O!qZ`}f*WMn==Bq$MFFvXdqnv=GUbRradL%4kocsUjm8Wfy59geXxokj-no zpa0$G^;%K-f5)$1zpl=`pU>Sr_dL(%=5x!Es_Es#zVMSIRH$ZN{;uL0DuWZkb{H#oJlu>?P_(Db5*at?dpz?gro*_aWAh(M0OvYc?0pSnhar|L?(C~N%oL(Ov zAIt%{AjA(??ofBwJ_xaq@*lIOH!`#v^55z&em+zOhB*&Z-TonmU=J${KA?Jz>M|en zlzN^Ce^cB)RnK89^oHKS-3Rl5HL=rupE3ME?!+Ji2Uyisp=Sf1!z!IY2F3>NoytBz z-VQ23od!PcK0eA0hgE#seSKhkTSW|V^f53nbSJtKAsip9)0^ykDEL!Ca(kmZjX$L1 zLws5S{VwQHKZcwKBOZ|d4EbutA^?~!rG}mcm`l)uy;2i^rSwE#CBqD?Wm$o(JUiH@ z$O-I}rvm3SyufJY);I&N@_-IQ4UmYnBU?2wq4dlTI zi#6b+#X4}xY6A#y+y=s2bU?VP4!G#H3taNh2bT{RfGY?0fUBNH;M!pmaNXAeL>{pM zQ2{pKR?t2WbJQNh9CHA%#~nfJ2`3PD(iOy?aR;+EG=Vv4O+Y}s2`tiV2GV*hV8!kh zu-UE^SRH8xcE>t^^T`h2db$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oD;AbfItQX0{;WThbjC3 literal 0 HcmV?d00001 diff --git a/build.ps1 b/build.ps1 index 4a0e86c83..a8b71976e 100644 --- a/build.ps1 +++ b/build.ps1 @@ -1,19 +1,18 @@ #powershell -ExecutionPolicy ByPass -File build.ps1 param( [string]$libdigidocpp = $PSScriptRoot, + [string]$platform = "x64", [string]$git = "git.exe", [string]$vcpkg = "vcpkg\vcpkg.exe", [string]$vcpkg_dir = (split-path -parent $vcpkg), [string]$vcpkg_installed = $libdigidocpp, [string]$vcpkg_installed_platform = "$vcpkg_installed\vcpkg_installed_$platform", [string]$build_number = $(if ($null -eq $env:BUILD_NUMBER) {"0"} else {$env:BUILD_NUMBER}), - [string]$msiversion = "4.0.0.$build_number", - [string]$platform = "x64", + [string]$msiversion = "4.1.0.$build_number", [string]$msi_name = "libdigidocpp-$msiversion$env:VER_SUFFIX.$platform.msi", [string]$cmake = "cmake.exe", [string]$generator = "NMake Makefiles", [string]$vcvars = "vcvarsall", - [string]$wix = "wix.exe", [string]$swig = $null, [string]$doxygen = $null, [switch]$boost = $false, @@ -21,17 +20,16 @@ param( ) Try { - & $wix > $null + & wix > $null } Catch { - & dotnet tool install --global --version 5.0.1 wix - & $wix extension add -g WixToolset.UI.wixext/5.0.1 + & dotnet tool install -g --version 5.0.2 wix + & wix extension add -g WixToolset.UI.wixext/5.0.2 } if(!(Test-Path -Path $vcpkg)) { & $git clone https://github.com/microsoft/vcpkg $vcpkg_dir & $vcpkg_dir\bootstrap-vcpkg.bat - & $vcpkg install --clean-after-build --triplet x64-windows --x-feature=tests --x-install-root=$vcpkg_installed_platform } $cmakeext = @() @@ -69,12 +67,11 @@ if($sign) { $vcpkg_installed_platform/$platform-windows/debug/bin/*.dll } -& $vcvars $platform "&&" $wix build -nologo -arch $platform -out $msi_name $wixext ` +& $vcvars $platform "&&" wix build -nologo -arch $platform -out $msi_name $wixext ` -ext WixToolset.UI.wixext ` - -bv "WixUIBannerBmp=$libdigidocpp/cmake/modules/banner.bmp" ` - -bv "WixUIDialogBmp=$libdigidocpp/cmake/modules/dlgbmp.bmp" ` - -d "ICON=$libdigidocpp/cmake/modules/ID.ico" ` - -d "MSI_VERSION=$msiversion" ` + -bv "WixUIBannerBmp=$libdigidocpp/banner.bmp" ` + -bv "WixUIDialogBmp=$libdigidocpp/dlgbmp.bmp" ` + -d "ICON=$libdigidocpp/ID.ico" ` -d "vcpkg=$vcpkg_installed_platform/$platform-windows" ` -d "libdigidocpp=$(Get-Location)/$platform" ` $libdigidocpp\libdigidocpp.wxs diff --git a/cmake b/cmake deleted file mode 160000 index 8ce75e605..000000000 --- a/cmake +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 8ce75e6057067ca51d7c619d34d88422bad201e5 diff --git a/cmake/modules/FindPKCS11.cmake b/cmake/modules/FindPKCS11.cmake new file mode 100644 index 000000000..dab04793b --- /dev/null +++ b/cmake/modules/FindPKCS11.cmake @@ -0,0 +1,21 @@ +# - Find pkcs11 +# Find the PKCS11 module +# +# PKCS11_MODULE - pkcs11 module path and name +# PKCS11_FOUND - True if pkcs11 module found. + +if(APPLE) + find_library(PKCS11_MODULE NAMES opensc-pkcs11.so HINTS /Library/OpenSC/lib) +elseif(WIN32) + if(NOT PKCS11_MODULE) + set(PKCS11_MODULE opensc-pkcs11.dll) + endif() +else() + if(NOT PKCS11_MODULE) + set(PKCS11_MODULE opensc-pkcs11.so) + endif() +endif() + +include(FindPackageHandleStandardArgs) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(PKCS11 DEFAULT_MSG PKCS11_MODULE) +MARK_AS_ADVANCED(PKCS11) diff --git a/dlgbmp.bmp b/dlgbmp.bmp new file mode 100644 index 0000000000000000000000000000000000000000..e7b9c26be35b3f73d102d7c5e8e0950e035c4516 GIT binary patch literal 461814 zcmeI*4X|8wdB^eCX{{{-PCHsV({}9CX{&bH>6=6lM?pJK6qS}ztEE6ksl0@Qm!!ND zgJm=Wu^|u)kv9Q_6fj_YrBg_y2@0jtqJWG91qCW)g3TMb6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S1`OUhgy&V7z2c6JKsf?4=kd0% z=I*~&^)y1}+q?tzZqt~t1s*S#A~Pe`Zem^LVpKb94mC5#aGG1bDn$ip-2avjnnOEN2hiSv8M0n>0s9pd0}n z&q9F5%caQ72sBF|i^V!S)11pZ-fYqw9f5KLcsvUM9xs<7Gb7L}fh-ow*@Jgh&Ew4` z&CwAkM}Wt(5a980DKawx%@W9BvChsk=Q58sn>0s9pd0}n&q9F5%caQ72sBF|i^X#G z;GI?Tc(X}!bOg!~;PEU3c)VPS%#1*@1hQDHvop=P%;U`_&CwAkM}Wt(5a980DKawx z%@W9Bv79}4XVpC3Y| U0UpmnfXB + Language="1033" Version="!(bind.FileVersion.digidocpp)" Manufacturer="RIA" InstallerVersion="500"> @@ -54,7 +54,7 @@ - + diff --git a/prepare_osx_build_environment.sh b/prepare_osx_build_environment.sh index d3c4a175e..1f6426a83 100755 --- a/prepare_osx_build_environment.sh +++ b/prepare_osx_build_environment.sh @@ -3,7 +3,7 @@ set -e OPENSSL_DIR=openssl-3.0.15 LIBXML2_DIR=libxml2-2.12.9 -XMLSEC_DIR=xmlsec1-1.3.5 +XMLSEC_DIR=xmlsec1-1.3.6 ANDROID_NDK=android-ndk-r26d FREETYPE_DIR=freetype-2.10.1 FONTCONFIG_DIR=fontconfig-2.13.1 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 01317a3d8..d457b3431 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -9,6 +9,22 @@ else() target_link_libraries(minizip ZLIB::ZLIB) endif() +if($ENV{BUILD_NUMBER}) + set(BUILD_VER $ENV{BUILD_NUMBER}) +elseif(PROJECT_VERSION_TWEAK) + set(BUILD_VER ${PROJECT_VERSION_TWEAK}) +else() + set(BUILD_VER 0) +endif() + +add_definitions( + -DMAJOR_VER=${PROJECT_VERSION_MAJOR} + -DMINOR_VER=${PROJECT_VERSION_MINOR} + -DRELEASE_VER=${PROJECT_VERSION_PATCH} + -DBUILD_VER=${BUILD_VER} +) +set(VERSION ${PROJECT_VERSION}.${BUILD_VER}) + configure_file( libdigidocpp.pc.cmake libdigidocpp.pc @ONLY ) configure_file( ${CMAKE_SOURCE_DIR}/etc/digidocpp.conf.cmake digidocpp.conf ) @@ -130,6 +146,8 @@ set_target_properties(digidocpp PROPERTIES FRAMEWORK_VERSION 1 FRAMEWORK "${FRAMEWORK}" MACOSX_FRAMEWORK_IDENTIFIER "ee.ria.digidocpp" + MACOSX_FRAMEWORK_SHORT_VERSION_STRING ${PROJECT_VERSION} + MACOSX_FRAMEWORK_BUNDLE_VERSION ${BUILD_VER} MACOSX_RPATH YES COMPILE_DEFINITIONS TARGET_NAME="$" POSITION_INDEPENDENT_CODE YES diff --git a/src/XmlConf.cpp b/src/XmlConf.cpp index d38446401..0dbd930a7 100644 --- a/src/XmlConf.cpp +++ b/src/XmlConf.cpp @@ -164,7 +164,7 @@ void XmlConf::Private::init(const string& path, bool global) optional lock; if(auto val = elem["lock"]; !val.empty()) lock = val == "true"; - auto setValue = [&](auto ¶m) { + auto setValue = [&](auto ¶m) constexpr { if(paramName != param.name) return false; if(global && lock.has_value()) param.locked = lock.value(); @@ -384,9 +384,12 @@ GET1(string, proxyUser) GET1(string, proxyPass) GET1(bool, proxyForceSSL) GET1(bool, proxyTunnelSSL) +DIGIDOCPP_WARNING_PUSH +DIGIDOCPP_WARNING_DISABLE_GCC("-Wdeprecated-declarations") GET1EX(string, PKCS12Cert, Conf::PKCS12Cert()) -GET1EX(string, PKCS12Pass, Conf::PKCS12Cert()) +GET1EX(string, PKCS12Pass, Conf::PKCS12Pass()) GET1EX(bool, PKCS12Disable, Conf::PKCS12Disable()) +DIGIDOCPP_WARNING_POP GET1(string, TSUrl) GET1(bool, TSLAutoUpdate) GET1(string, TSLCache) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 5f96be6ee..e5849555c 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,4 +1,3 @@ -set_env(RUN_TESTS "" CACHE STRING "Run tests on build") set_env(TEST_FORMAT XML CACHE STRING "Test result format (XML/JUNIT)") set( CMAKE_SKIP_RPATH OFF ) add_definitions( diff --git a/vcpkg-ports/xmlsec/CMakeLists.txt b/vcpkg-ports/xmlsec/CMakeLists.txt index 2d580ce55..bbd9ea9d2 100644 --- a/vcpkg-ports/xmlsec/CMakeLists.txt +++ b/vcpkg-ports/xmlsec/CMakeLists.txt @@ -60,12 +60,13 @@ set(CMAKE_STATIC_LIBRARY_PREFIX "lib") add_library(xmlsec1 ${SOURCESXMLSEC}) add_library(xmlsec1-openssl ${SOURCESXMLSECOPENSSL}) -include_directories(${CMAKE_CURRENT_BINARY_DIR}/include include) - -target_link_libraries(xmlsec1 PRIVATE LibXml2::LibXml2) -target_link_libraries(xmlsec1-openssl PRIVATE - LibXml2::LibXml2 OpenSSL::Crypto xmlsec1 +target_include_directories(xmlsec1 PUBLIC + $ + $ + $ ) +target_link_libraries(xmlsec1 PUBLIC LibXml2::LibXml2) +target_link_libraries(xmlsec1-openssl PUBLIC xmlsec1 OpenSSL::Crypto) add_compile_definitions(inline=__inline) add_compile_definitions(PACKAGE="xmlsec1") @@ -76,8 +77,6 @@ add_compile_definitions(HAVE_CTYPE_H) add_compile_definitions(HAVE_MALLOC_H) add_compile_definitions(HAVE_MEMORY_H) add_compile_definitions(XMLSEC_DEFAULT_CRYPTO="openssl") -add_compile_definitions(XMLSEC_NO_GOST) -add_compile_definitions(XMLSEC_NO_GOST2012) add_compile_definitions(UNICODE) add_compile_definitions(_UNICODE) add_compile_definitions(_MBCS) @@ -85,29 +84,27 @@ add_compile_definitions(_REENTRANT) set_target_properties(xmlsec1 xmlsec1-openssl PROPERTIES VERSION ${XMLSEC_VERSION_MAJOR}.${XMLSEC_VERSION_MINOR}) +set(XMLSEC_CORE_CFLAGS "") if(NOT BUILD_SHARED_LIBS) - set(XMLSEC_CORE_CFLAGS "-DLIBXML_STATIC -DLIBXSLT_STATIC -DXMLSEC_STATIC -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING") - set(XMLSEC_OPENSSL_CFLAGS ${XMLSEC_CORE_CFLAGS}) -else() - set(XMLSEC_CORE_CFLAGS "-DXMLSEC_DL_WIN32") - set(XMLSEC_OPENSSL_CFLAGS ${XMLSEC_CORE_CFLAGS}) + set(XMLSEC_CORE_CFLAGS "-DLIBXML_STATIC -DXMLSEC_STATIC -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING") + target_compile_definitions(xmlsec1 PUBLIC XMLSEC_STATIC XMLSEC_NO_CRYPTO_DYNAMIC_LOADING) endif() +set(XMLSEC_OPENSSL_CFLAGS ${XMLSEC_CORE_CFLAGS}) target_compile_definitions(xmlsec1 - PRIVATE ${XMLSEC_CORE_CFLAGS} + PRIVATE $<$:XMLSEC_DL_WIN32> PUBLIC XMLSEC_NO_XSLT XMLSEC_CRYPTO_OPENSSL ) -target_compile_definitions(xmlsec1-openssl PRIVATE ${XMLSEC_OPENSSL_CFLAGS}) +target_compile_definitions(xmlsec1-openssl PUBLIC XMLSEC_NO_GOST XMLSEC_NO_GOST2012) install(TARGETS xmlsec1 xmlsec1-openssl - EXPORT xmlsecExport + EXPORT unofficial-xmlsec-targets RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib ) -install(EXPORT xmlsecExport - FILE unofficial-xmlsec-config.cmake +install(EXPORT unofficial-xmlsec-targets NAMESPACE unofficial::xmlsec:: DESTINATION share/unofficial-xmlsec ) @@ -116,7 +113,7 @@ if(INSTALL_HEADERS_TOOLS) file(GLOB PUBLIC_HEADERS include/xmlsec/*.h include/xmlsec/openssl/*.h) - list(FILTER PUBLIC_HEADERS EXCLUDE REGEX "exports\\.h$") + list(FILTER PUBLIC_HEADERS EXCLUDE REGEX "exports\\.h$") foreach(file IN LISTS PUBLIC_HEADERS) get_filename_component(dir ${file} DIRECTORY) @@ -137,16 +134,13 @@ if(INSTALL_HEADERS_TOOLS) target_link_libraries(xmlsec PRIVATE crypt32.lib) endif() - target_link_libraries(xmlsec PRIVATE - ${LIBXML2_LIBRARIES} OpenSSL::Crypto xmlsec1 xmlsec1-openssl - ) + target_link_libraries(xmlsec PRIVATE xmlsec1-openssl) if(BUILD_SHARED_LIBS) target_compile_definitions(xmlsec PRIVATE -DXMLSEC_CRYPTO_DYNAMIC_LOADING) else() - find_package(Threads REQUIRED) - target_compile_definitions(xmlsec PRIVATE -DLIBXML_STATIC -DLIBXSLT_STATIC -DXMLSEC_STATIC) - target_link_libraries(xmlsec PUBLIC Threads::Threads) + find_package(Threads REQUIRED) + target_link_libraries(xmlsec PUBLIC Threads::Threads) endif() install(TARGETS xmlsec DESTINATION tools/xmlsec) endif() @@ -159,7 +153,7 @@ set(libdir ${prefix}/${CMAKE_INSTALL_LIBDIR}) set(includedir ${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) set(VERSION ${XMLSEC_VERSION}) set(LIBXML_MIN_VERSION ${LIBXML2_VERSION_STRING}) -set(OPENSSL_LIBS "-lssl -lcrypto") +set(OPENSSL_LIBS "-lcrypto") set(XMLSEC_CORE_CFLAGS "${XMLSEC_CORE_CFLAGS} -DXMLSEC_DL_LIBLTDL=1 -I\${includedir}/xmlsec1 -DXMLSEC_CRYPTO_OPENSSL=1") set(XMLSEC_CORE_LIBS "-lxmlsec1 -lltdl") set(XMLSEC_OPENSSL_CFLAGS "${XMLSEC_OPENSSL_CFLAGS} -I\${includedir}/xmlsec1") diff --git a/vcpkg-ports/xmlsec/portfile.cmake b/vcpkg-ports/xmlsec/portfile.cmake index 0fa84067d..47b0d6577 100644 --- a/vcpkg-ports/xmlsec/portfile.cmake +++ b/vcpkg-ports/xmlsec/portfile.cmake @@ -5,7 +5,7 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO lsh123/xmlsec REF "${release_tag}" - SHA512 8574eca37c0be55126e50a76322f96171c9d82dbdd793fdbc26430526488e69db8b41351f136f77bd36f8a3ea238c350bc62dd99214b8348b65dd8055a1c6148 + SHA512 6e41c35042e5a74e135cfb7468aa5c09b3c9ba684ab2431ecedce950f7c99c92fc8765c1c8c2ddfd87718bd00f4a287028227da1e987f2ef17ce2594356e81af HEAD_REF master PATCHES pkgconfig_fixes.patch @@ -28,5 +28,6 @@ vcpkg_copy_pdbs() # unofficial legacy usage file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/xmlsec-config.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") +file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/unofficial-xmlsec-config.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/unofficial-xmlsec") file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") file(INSTALL "${SOURCE_PATH}/Copyright" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/vcpkg-ports/xmlsec/unofficial-xmlsec-config.cmake b/vcpkg-ports/xmlsec/unofficial-xmlsec-config.cmake new file mode 100644 index 000000000..3a2b0c952 --- /dev/null +++ b/vcpkg-ports/xmlsec/unofficial-xmlsec-config.cmake @@ -0,0 +1,4 @@ +include(CMakeFindDependencyMacro) +find_dependency(LibXml2) +find_dependency(OpenSSL) +include("${CMAKE_CURRENT_LIST_DIR}/unofficial-xmlsec-targets.cmake") diff --git a/vcpkg-ports/xmlsec/vcpkg.json b/vcpkg-ports/xmlsec/vcpkg.json index 8525d1249..c504e7733 100644 --- a/vcpkg-ports/xmlsec/vcpkg.json +++ b/vcpkg-ports/xmlsec/vcpkg.json @@ -1,6 +1,6 @@ { "name": "xmlsec", - "version": "1.3.5", + "version": "1.3.6", "description": "XML Security Library is a C library based on LibXML2. The library supports major XML security standards.", "homepage": "https://www.aleksey.com/xmlsec/", "license": "X11 AND MPL-1.1", diff --git a/vcpkg.json b/vcpkg.json index de815d66d..2d8f1954a 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,6 +1,6 @@ { "name": "libdigidocpp", - "version": "4.0.0", + "version": "4.1.0", "dependencies": [ { "name": "libxml2", @@ -12,7 +12,7 @@ "features": { "tests": { "description": "Build tests", "dependencies": ["boost-test"] } }, - "builtin-baseline": "0f8b6ddf49fa8ae66a7826234e9ba3fda5f46d3c", + "builtin-baseline": "e2edf52610d2c94d2038fe30b247ea5a26964e1b", "vcpkg-configuration": { "overlay-ports": [ "vcpkg-ports/openssl",