Refresh patches with devtool command.
Signed-off-by: Yi Zhao <yi.z...@windriver.com>
---
.../xmlsec1/change-finding-path-of-nss.patch | 22 +++++++++++++---------
.../xmlsec1/xmlsec1/fix-ltmain.sh.patch | 16 ++++++++--------
.../xmlsec1/xmlsec1/makefile-ptest.patch | 18 +++++++++++++-----
...sec1-examples-allow-build-in-separate-dir.patch | 10 ++++------
.../xmlsec1-fix-a-typo-in-examples-verify3.c.patch | 6 ++----
5 files changed, 40 insertions(+), 32 deletions(-)
diff --git a/recipes-security/xmlsec1/xmlsec1/change-finding-path-of-nss.patch
b/recipes-security/xmlsec1/xmlsec1/change-finding-path-of-nss.patch
index 0f4cef9..fcc63b3 100644
--- a/recipes-security/xmlsec1/xmlsec1/change-finding-path-of-nss.patch
+++ b/recipes-security/xmlsec1/xmlsec1/change-finding-path-of-nss.patch
@@ -1,3 +1,4 @@
+From 47379747e34f952d31af028c672940ca7859ae3c Mon Sep 17 00:00:00 2001
From: Yulong Pei <yulong....@windriver.com>
Date: Wed, 21 Jul 2010 22:33:43 +0800
Subject: [PATCH] change finding path of nss and nspr
@@ -6,13 +7,16 @@ Upstream-Status: Pending
Signed-off-by: Yulong Pei <yulong....@windriver.com>
Signed-off-by: Mingli Yu <mingli...@windriver.com>
+
---
- configure.ac | 12 ++++++------
- 1 files changed, 6 insertions(+), 6 deletions(-)
+ configure.ac | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+diff --git a/configure.ac b/configure.ac
+index 3278200..6edec7d 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -618,7 +618,7 @@
+@@ -644,7 +644,7 @@ if test "z$NSS_FOUND" = "zno" ; then
if test "z$with_nspr" != "z" ; then
NSPR_PREFIX="$with_nspr"
@@ -21,7 +25,7 @@ Signed-off-by: Mingli Yu <mingli...@windriver.com>
if test "z$with_gnu_ld" = "zyes" ; then
NSPR_LIBS="-Wl,-rpath-link -Wl,$with_nspr/lib -L$with_nspr/lib
$NSPR_LIBS_LIST"
else
-@@ -626,7 +626,7 @@
+@@ -652,7 +652,7 @@ if test "z$NSS_FOUND" = "zno" ; then
fi
NSPR_INCLUDES_FOUND="yes"
NSPR_LIBS_FOUND="yes"
@@ -30,7 +34,7 @@ Signed-off-by: Mingli Yu <mingli...@windriver.com>
else
for dir in $ac_nss_inc_dir ; do
if test -f $dir/nspr/prinit.h ; then
-@@ -664,7 +664,7 @@
+@@ -690,7 +690,7 @@ if test "z$NSS_FOUND" = "zno" ; then
OLD_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$NSPR_CFLAGS"
AC_EGREP_CPP(yes,[
@@ -39,7 +43,7 @@ Signed-off-by: Mingli Yu <mingli...@windriver.com>
#if PR_VMAJOR >= 4
yes
#endif
-@@ -689,7 +689,7 @@
+@@ -715,7 +715,7 @@ if test "z$NSS_FOUND" = "zno" ; then
NSS_NSS_H=""
if test "z$with_nss" != "z" ; then
@@ -48,7 +52,7 @@ Signed-off-by: Mingli Yu <mingli...@windriver.com>
if test "z$with_gnu_ld" = "zyes" ; then
NSS_LIBS="$NSS_LIBS -Wl,-rpath-link -Wl,$with_nss/lib -L$with_nss/lib
$NSS_LIBS_LIST"
else
-@@ -697,7 +697,7 @@
+@@ -723,7 +723,7 @@ if test "z$NSS_FOUND" = "zno" ; then
fi
NSS_INCLUDES_FOUND="yes"
NSS_LIBS_FOUND="yes"
@@ -57,9 +61,9 @@ Signed-off-by: Mingli Yu <mingli...@windriver.com>
else
for dir in $ac_nss_inc_dir ; do
if test -f $dir/nss/nss.h ; then
-@@ -735,7 +735,7 @@
+@@ -761,7 +761,7 @@ if test "z$NSS_FOUND" = "zno" ; then
OLD_CPPFLAGS=$CPPFLAGS
- CPPFLAGS="$NSS_CFLAGS"
+ CPPFLAGS="$NSPR_CFLAGS $NSS_CFLAGS"
AC_EGREP_CPP(yes,[
- #include <nss.h>
+ #include <nss3/nss.h>
diff --git a/recipes-security/xmlsec1/xmlsec1/fix-ltmain.sh.patch
b/recipes-security/xmlsec1/xmlsec1/fix-ltmain.sh.patch
index 472f1cc..af598fe 100644
--- a/recipes-security/xmlsec1/xmlsec1/fix-ltmain.sh.patch
+++ b/recipes-security/xmlsec1/xmlsec1/fix-ltmain.sh.patch
@@ -1,3 +1,4 @@
+From 847dc52f5a50e34ee4d6e3dc2c708711747a58ca Mon Sep 17 00:00:00 2001
From: Yulong Pei <yulong....@windriver.com>
Date: Thu, 21 Jan 2010 14:11:20 +0800
Subject: [PATCH] force to use our own libtool
@@ -5,22 +6,21 @@ Subject: [PATCH] force to use our own libtool
Upstream-Status: Inappropriate [ OE specific ]
Signed-off-by: Yulong Pei <yulong....@windriver.com>
+
---
- ltmain.sh | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
+ ltmain.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ltmain.sh b/ltmain.sh
+index 147d758..a61f16b 100644
--- a/ltmain.sh
+++ b/ltmain.sh
-@@ -1309,7 +1309,7 @@ EOF
- dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
+@@ -6969,7 +6969,7 @@ func_mode_link ()
+ dir=$func_resolve_sysroot_result
# We need an absolute path.
case $dir in
- [\\/]* | [A-Za-z]:[\\/]*) ;;
+ =* | [\\/]* | [A-Za-z]:[\\/]*) ;;
*)
absdir=`cd "$dir" && pwd`
- if test -z "$absdir"; then
---
-1.6.4
-
+ test -z "$absdir" && \
diff --git a/recipes-security/xmlsec1/xmlsec1/makefile-ptest.patch
b/recipes-security/xmlsec1/xmlsec1/makefile-ptest.patch
index 2a199f4..d453569 100644
--- a/recipes-security/xmlsec1/xmlsec1/makefile-ptest.patch
+++ b/recipes-security/xmlsec1/xmlsec1/makefile-ptest.patch
@@ -1,18 +1,26 @@
+From 83a1381e1d6bd1b5ec3df6f7c4bc1f4fe4f860b6 Mon Sep 17 00:00:00 2001
+From: Jackie Huang <jackie.hu...@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.hu...@windriver.com>
+
---
- examples/Makefile | 7 +++++--
- 1 files changed, 7 insertions(+), 0 deletions(-)
+ examples/Makefile | 12 ++++++++++--
+ 1 file changed, 10 insertions(+), 2 deletions(-)
+diff --git a/examples/Makefile b/examples/Makefile
+index 89b1d61..c1cbcca 100644
--- a/examples/Makefile
+++ b/examples/Makefile
-@@ -9,9 +9,17 @@
- xmldsigverify \
- xkms-server
+@@ -8,9 +8,17 @@ PROGRAMS = \
+ decrypt1 decrypt2 decrypt3 \
+ xmldsigverify
+ifndef CC
CC = gcc
diff --git
a/recipes-security/xmlsec1/xmlsec1/xmlsec1-examples-allow-build-in-separate-dir.patch
b/recipes-security/xmlsec1/xmlsec1/xmlsec1-examples-allow-build-in-separate-dir.patch
index b0ced03..8b2533e 100644
---
a/recipes-security/xmlsec1/xmlsec1/xmlsec1-examples-allow-build-in-separate-dir.patch
+++
b/recipes-security/xmlsec1/xmlsec1/xmlsec1-examples-allow-build-in-separate-dir.patch
@@ -1,4 +1,4 @@
-From ef8872185dcd05d20c93cd98317ede1913371c94 Mon Sep 17 00:00:00 2001
+From 0c38c6864e7ba8f53a657d87894f24374a6a4932 Mon Sep 17 00:00:00 2001
From: Jackie Huang <jackie.hu...@windriver.com>
Date: Tue, 30 Dec 2014 11:18:17 +0800
Subject: [PATCH] examples: allow build in separate dir
@@ -6,15 +6,16 @@ Subject: [PATCH] examples: allow build in separate dir
Upstream-Status: Inappropriate [ OE specific ]
Signed-off-by: Jackie Huang <jackie.hu...@windriver.com>
+
---
examples/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/examples/Makefile b/examples/Makefile
-index 0d72ad7..f9bccc6 100644
+index c1cbcca..3f1bd14 100644
--- a/examples/Makefile
+++ b/examples/Makefile
-@@ -13,8 +13,10 @@ ifndef CC
+@@ -12,8 +12,10 @@ ifndef CC
CC = gcc
endif
@@ -27,6 +28,3 @@ index 0d72ad7..f9bccc6 100644
DESTDIR = /usr/share/xmlsec1
install-ptest:
---
-1.9.1
-
diff --git
a/recipes-security/xmlsec1/xmlsec1/xmlsec1-fix-a-typo-in-examples-verify3.c.patch
b/recipes-security/xmlsec1/xmlsec1/xmlsec1-fix-a-typo-in-examples-verify3.c.patch
index 0fe3fd7..5f967bb 100644
---
a/recipes-security/xmlsec1/xmlsec1/xmlsec1-fix-a-typo-in-examples-verify3.c.patch
+++
b/recipes-security/xmlsec1/xmlsec1/xmlsec1-fix-a-typo-in-examples-verify3.c.patch
@@ -1,4 +1,4 @@
-From bf1c7b17cc80a2f4dfd43f112f944f68fa5fbcd6 Mon Sep 17 00:00:00 2001
+From 1d8ae4b32bd76c19ec238f30eb9b1ee582cbe990 Mon Sep 17 00:00:00 2001
From: Jackie Huang <jackie.hu...@windriver.com>
Date: Fri, 2 Mar 2018 01:10:58 -0800
Subject: [PATCH] xmlsec1: fix a typo in examples/verify3.c
@@ -6,6 +6,7 @@ Subject: [PATCH] xmlsec1: fix a typo in examples/verify3.c
Upstream-Status: Submitted [https://github.com/lsh123/xmlsec/pull/153]
Signed-off-by: Jackie Huang <jackie.hu...@windriver.com>
+
---
examples/verify3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -20,6 +21,3 @@ index 2d26ae7..68f52ab 100644
* XML Security Library example: Verifying a file signed with X509
certificate
*
* Verifies a file signed with X509 certificate.
---
-2.13.0
-