mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-08 23:24:50 +02:00
makefile-ptest.patch xmlsec1-examples-allow-build-in-separate-dir.patch refreshed for new version. Changelog: =========== Retired the XMLSec mailing list "xmlsec@aleksey.com" and the XMLSec Online Signature Verifier. Migration to OpenSSL 3.0 API (based on PR by @snargit). Note that OpenSSL engines are disabled by default when XMLSec library is compiled against OpenSSL 3.0. To re-enable OpenSSL engines, use "--enable-openssl3-engines" configure flag (there will be a lot of deprecation warnings). The OpenSSL before 1.1.0 and LibreSSL before 2.7.0 are now deprecated and will be removed in the future versions of XMLSec Library. Refactored all the integer casts to ensure cast-safety. Fixed all warnings and enabled "-Werror" and "-pedantic" flags on CI builds. Added configure flag to use size_t for xmlSecSize (currently disabled by default for backward compatibility). Moved all CI builds to GitHub actions. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
43 lines
1.2 KiB
Diff
43 lines
1.2 KiB
Diff
From 83a1381e1d6bd1b5ec3df6f7c4bc1f4fe4f860b6 Mon Sep 17 00:00:00 2001
|
|
From: Jackie Huang <jackie.huang@windriver.com>
|
|
Date: Thu, 15 Jun 2017 14:44:01 +0800
|
|
Subject: [PATCH] xmlsec1: add new recipe
|
|
|
|
This enables the building of the examples directory
|
|
and it's installed as ptest.
|
|
|
|
Upstream-Status: Inappropriate [ OE ptest specific ]
|
|
|
|
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
|
---
|
|
examples/Makefile | 12 ++++++++++--
|
|
1 file changed, 10 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/examples/Makefile b/examples/Makefile
|
|
index 02480c2..cbc2661 100644
|
|
--- a/examples/Makefile
|
|
+++ b/examples/Makefile
|
|
@@ -8,9 +8,17 @@ PROGRAMS = \
|
|
decrypt1 decrypt2 decrypt3 \
|
|
xmldsigverify
|
|
|
|
+ifndef CC
|
|
CC = gcc
|
|
-CFLAGS += -g $(shell xmlsec1-config --cflags) -DUNIX_SOCKETS -Wall -Wextra
|
|
-LDLIBS += -g $(shell xmlsec1-config --libs)
|
|
+endif
|
|
+
|
|
+CFLAGS += -I../include -g $(shell PKG_CONFIG_PATH=.. pkg-config --cflags xmlsec1 ) -DUNIX_SOCKETS -Wall -Wextra
|
|
+LDLIBS += -L../src/.libs -g $(shell PKG_CONFIG_PATH=.. pkg-config --libs xmlsec1 )
|
|
+
|
|
+DESTDIR = /usr/share/xmlsec1
|
|
+install-ptest:
|
|
+ if [ ! -d $(DESTDIR) ]; then mkdir -p $(DESTDIR); fi
|
|
+ cp * $(DESTDIR)
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
--
|
|
2.25.1
|
|
|