Skip to contentSkip to conversation

vcpkg: request "tools" feature of openssl for MSVC build

PATCH In review Frank Lichtenheld 3 participants 3 messages Mar 30, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vcpkg: request "tools" feature of openssl for MSVC build

We need this for the MSI build. Previously this was enabled by default.

---
 .github/workflows/build.yaml | 2 +-
 src/openvpn/vcpkg.json       | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
.github/workflows/build.yaml +1 -1
index 99ae437e..4766efdc 100644
@@ -440,7 +440,7 @@ jobs:
       - name: Restore artifacts, or setup vcpkg (do not install any package)
         uses: lukka/[email protected]...
         with:
-          vcpkgGitCommitId: 'cafd398be781144787573ca78390e951673c7055'
+          vcpkgGitCommitId: 'd10d511f25620ca0f315cd83dcef6485efc63010'
           appendedCacheKey: '${{matrix.triplet}}'
 
       - name: Run MSBuild consuming vcpkg.json
src/openvpn/vcpkg.json +4 -1
index 80645677..0afd802c 100644
@@ -3,7 +3,10 @@
   "name": "openvpn",
   "version": "2.6",
   "dependencies": [
-    "openssl",
+     {
+       "name": "openssl",
+       "features": ["tools"]
+     },
     "tap-windows6",
     "lzo",
     "lz4",
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw

GHA seems happy about this change:
https://github.com/flichtenheld/openvpn/actions/runs/4562871750/jobs/8050638911

to 30. maalisk. 2023 klo 13.17 Frank Lichtenheld
([email protected]...) kirjoitti:

Quoted 48 lines

We need this for the MSI build. Previously this was enabled by default.

---
 .github/workflows/build.yaml | 2 +-
 src/openvpn/vcpkg.json       | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
.github/workflows/build.yaml +1 -1
index 99ae437e..4766efdc 100644
@@ -440,7 +440,7 @@ jobs:
       - name: Restore artifacts, or setup vcpkg (do not install any package)
         uses: lukka/[email protected]...
         with:
-          vcpkgGitCommitId: 'cafd398be781144787573ca78390e951673c7055'
+          vcpkgGitCommitId: 'd10d511f25620ca0f315cd83dcef6485efc63010'
           appendedCacheKey: '${{matrix.triplet}}'
 
       - name: Run MSBuild consuming vcpkg.json
src/openvpn/vcpkg.json +4 -2
index 80645677..0afd802c 100644
@@ -3,7 +3,10 @@
   "name": "openvpn",
   "version": "2.6",
   "dependencies": [
-    "openssl",
+     {
+       "name": "openssl",
+       "features": ["tools"]
+     },
     "tap-windows6",
     "lzo",
     "lz4",
--

2.34.1

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Signature · 1 line
-Lev
#2 lore raw

[Openvpn-devel] [PATCH applied] Re: vcpkg: request tools feature of openssl for MSVC build

In reply to Frank Lichtenheld

I have no idea what this is about, but I do not need to :-) - Frank and Lev do building, and if they say this is what is needed...

Since it's related to MSI building, it needs to go into 2.6 as long as we provide 2.6.x MSU builds ("for a while").

Your patch has been applied to the master and release/2.6 branch.

commit b1fc3f25bc27462100bf96d9b677d6a3c31d3303 (master) commit 253a87dccf8c9645fade2426177489fcd8dd0ec8 (release/2.6)

Author: Frank Lichtenheld
Date:   Thu Mar 30 12:15:36 2023 +0200
     vcpkg: request tools feature of openssl for MSVC build

     Signed-off-by: Frank Lichtenheld <[email protected]...>
     Acked-by: Lev Stipakov <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg26561.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering