-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vcpkg-ports/pkcs11-helper: Backport MinGW series from master to relea…
…se/2.6 Contains the following commits: - Make compatible with mingw build (commit 17746e5) - Convert CONTROL to vcpkg.json (commit a2160d3) - reference upstream PRs in patches (commit 9577ffe) - rename patches to make file names shorter (commit 0c25a54) Change-Id: Ie61fed8758e44576939a8bb0a04bc95245a3ce18 Signed-off-by: Frank Lichtenheld <[email protected]> Acked-by: Heiko Hund <[email protected]> Message-Id: <[email protected]> URL: https://www.mail-archive.com/[email protected]/msg27083.html Signed-off-by: Gert Doering <[email protected]>
- Loading branch information
1 parent
2ecad24
commit cce957a
Showing
11 changed files
with
104 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
48 changes: 48 additions & 0 deletions
48
contrib/vcpkg-ports/pkcs11-helper/Fix-build-with-disable-shared.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
From 7171396a151a2edb3474c7a321b7ae4ff7e171fc Mon Sep 17 00:00:00 2001 | ||
From: Frank Lichtenheld <[email protected]> | ||
Date: Wed, 29 Mar 2023 12:44:44 +0200 | ||
Subject: [PATCH] Allow the build to succeed if configured with | ||
--disable-shared | ||
|
||
Do not try to install a file that does not exist. | ||
|
||
Signed-off-by: Frank Lichtenheld <[email protected]> | ||
--- | ||
configure.ac | 1 + | ||
lib/Makefile.am | 2 ++ | ||
2 files changed, 3 insertions(+) | ||
|
||
upstream PR: https://github.com/OpenSC/pkcs11-helper/pull/62 | ||
|
||
diff --git a/configure.ac b/configure.ac | ||
index a7e9760..f154ae3 100644 | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -581,6 +581,7 @@ AC_SUBST([LIBPKCS11_HELPER_LT_AGE]) | ||
AC_SUBST([LIBPKCS11_HELPER_LT_OLDEST]) | ||
AC_SUBST([WIN_LIBPREFIX]) | ||
AC_SUBST([PKCS11H_FEATURES]) | ||
+AM_CONDITIONAL([ENABLE_SHARED], [test "${enable_shared}" = "yes" ]) | ||
AM_CONDITIONAL([WIN32], [test "${WIN32}" = "yes"]) | ||
AM_CONDITIONAL([CYGWIN], [test "${CYGWIN}" = "yes"]) | ||
AM_CONDITIONAL([ENABLE_DOC], [test "${enable_doc}" = "yes"]) | ||
diff --git a/lib/Makefile.am b/lib/Makefile.am | ||
index 31b928f..3cba32f 100644 | ||
--- a/lib/Makefile.am | ||
+++ b/lib/Makefile.am | ||
@@ -128,10 +128,12 @@ if ENABLE_PKCS11H_TOKEN | ||
endif | ||
|
||
if WIN32 | ||
+if ENABLE_SHARED | ||
mylibdir=$(libdir) | ||
mylib_DATA=.libs/@WIN_LIBPREFIX@pkcs11-helper-@[email protected] | ||
.libs/@WIN_LIBPREFIX@pkcs11-helper-@[email protected]: libpkcs11-helper.la | ||
endif | ||
+endif | ||
|
||
RCCOMPILE = $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | ||
$(AM_CPPFLAGS) $(CPPFLAGS) | ||
-- | ||
2.34.1 | ||
|
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
contrib/vcpkg-ports/pkcs11-helper/pkcs11-helper-001-RFC7512.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
upstream PR: https://github.com/OpenSC/pkcs11-helper/pull/4 | ||
|
||
commit 90590b02085edc3830bdfe0942a46c4e7bf3f1ab (HEAD -> master) | ||
Author: David Woodhouse <[email protected]> | ||
Date: Thu Apr 30 14:58:24 2015 +0100 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "pkcs11-helper", | ||
"version": "1.29.0", | ||
"description": "pkcs11-helper is a library that simplifies the interaction with PKCS#11 providers for end-user applications.", | ||
"homepage": "https://github.com/OpenSC/pkcs11-helper", | ||
"license": "BSD-3-Clause OR GPL-2.0-only" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
set(VCPKG_TARGET_ARCHITECTURE x64) | ||
set(VCPKG_CRT_LINKAGE dynamic) | ||
set(VCPKG_LIBRARY_LINKAGE static) | ||
set(VCPKG_ENV_PASSTHROUGH PATH) | ||
|
||
set(VCPKG_CMAKE_SYSTEM_NAME MinGW) | ||
|
||
set(VCPKG_MAKE_BUILD_TRIPLET --host=x86_64-w64-mingw32) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
set(VCPKG_TARGET_ARCHITECTURE x86) | ||
set(VCPKG_CRT_LINKAGE dynamic) | ||
set(VCPKG_LIBRARY_LINKAGE static) | ||
set(VCPKG_ENV_PASSTHROUGH PATH) | ||
|
||
set(VCPKG_CMAKE_SYSTEM_NAME MinGW) | ||
|
||
set(VCPKG_MAKE_BUILD_TRIPLET --host=i686-w64-mingw32) |