diff options
Diffstat (limited to 'meta-oe/recipes-support/xmlsec1')
-rw-r--r-- | meta-oe/recipes-support/xmlsec1/xmlsec1/0001-nss-nspr-fix-for-multilib.patch | 18 | ||||
-rw-r--r-- | meta-oe/recipes-support/xmlsec1/xmlsec1/change-finding-path-of-nss.patch | 7 | ||||
-rw-r--r-- | meta-oe/recipes-support/xmlsec1/xmlsec1/makefile-ptest.patch | 8 | ||||
-rw-r--r-- | meta-oe/recipes-support/xmlsec1/xmlsec1/xmlsec1-examples-allow-build-in-separate-dir.patch | 6 | ||||
-rw-r--r-- | meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb (renamed from meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.4.bb) | 11 |
5 files changed, 27 insertions, 23 deletions
diff --git a/meta-oe/recipes-support/xmlsec1/xmlsec1/0001-nss-nspr-fix-for-multilib.patch b/meta-oe/recipes-support/xmlsec1/xmlsec1/0001-nss-nspr-fix-for-multilib.patch index f107f42dab..9bb017b63b 100644 --- a/meta-oe/recipes-support/xmlsec1/xmlsec1/0001-nss-nspr-fix-for-multilib.patch +++ b/meta-oe/recipes-support/xmlsec1/xmlsec1/0001-nss-nspr-fix-for-multilib.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 4d73b85fb1b794c649359bc8a774b0111d36994a Mon Sep 17 00:00:00 2001 | 1 | From 1d7c01467e6f510b5636c73757f302a4bd277a3c Mon Sep 17 00:00:00 2001 |
2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
3 | Date: Tue, 4 Feb 2020 23:39:49 -0800 | 3 | Date: Tue, 4 Feb 2020 23:39:49 -0800 |
4 | Subject: [PATCH] nss/nspr: fix for multilib | 4 | Subject: [PATCH] nss/nspr: fix for multilib |
@@ -6,16 +6,15 @@ Subject: [PATCH] nss/nspr: fix for multilib | |||
6 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
7 | 7 | ||
8 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | 8 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
9 | |||
10 | --- | 9 | --- |
11 | configure.ac | 16 ++++++++-------- | 10 | configure.ac | 16 ++++++++-------- |
12 | 1 file changed, 8 insertions(+), 8 deletions(-) | 11 | 1 file changed, 8 insertions(+), 8 deletions(-) |
13 | 12 | ||
14 | diff --git a/configure.ac b/configure.ac | 13 | diff --git a/configure.ac b/configure.ac |
15 | index 51621d6..3d23683 100644 | 14 | index 40e9c0d..8f42d4d 100644 |
16 | --- a/configure.ac | 15 | --- a/configure.ac |
17 | +++ b/configure.ac | 16 | +++ b/configure.ac |
18 | @@ -960,24 +960,24 @@ fi | 17 | @@ -966,24 +966,24 @@ fi |
19 | dnl Priority 1: User specifies the path to installation | 18 | dnl Priority 1: User specifies the path to installation |
20 | if test "z$NSPR_FOUND" = "zno" -a "z$with_nspr" != "z" -a "z$with_nspr" != "zyes" ; then | 19 | if test "z$NSPR_FOUND" = "zno" -a "z$with_nspr" != "z" -a "z$with_nspr" != "zyes" ; then |
21 | AC_MSG_CHECKING(for nspr library installation in "$with_nspr" folder) | 20 | AC_MSG_CHECKING(for nspr library installation in "$with_nspr" folder) |
@@ -28,8 +27,8 @@ index 51621d6..3d23683 100644 | |||
28 | NSPR_FOUND="yes" | 27 | NSPR_FOUND="yes" |
29 | AC_MSG_RESULT([yes]) | 28 | AC_MSG_RESULT([yes]) |
30 | else | 29 | else |
31 | - AC_MSG_ERROR([not found: "$with_nspr/include/$NSPR_INCLUDE_MARKER" and/or "$with_nspr/lib/$NSPR_LIB_MARKER" files don't exist), typo?]) | 30 | - AC_MSG_ERROR([not found: "$with_nspr/include/$NSPR_INCLUDE_MARKER" and/or "$with_nspr/lib/$NSPR_LIB_MARKER"]) |
32 | + AC_MSG_ERROR([not found: "$with_nspr/${includedir}/$NSPR_INCLUDE_MARKER" and/or "$with_nspr/${libdir}/$NSPR_LIB_MARKER" files don't exist), typo?]) | 31 | + AC_MSG_ERROR([not found: "$with_nspr/${includedir}/$NSPR_INCLUDE_MARKER" and/or "$with_nspr/${libdir}/$NSPR_LIB_MARKER"]) |
33 | fi | 32 | fi |
34 | fi | 33 | fi |
35 | if test "z$NSS_FOUND" = "zno" -a "z$with_nss" != "z" -a "z$with_nss" != "zyes" ; then | 34 | if test "z$NSS_FOUND" = "zno" -a "z$with_nss" != "z" -a "z$with_nss" != "zyes" ; then |
@@ -43,8 +42,11 @@ index 51621d6..3d23683 100644 | |||
43 | NSS_FOUND="yes" | 42 | NSS_FOUND="yes" |
44 | AC_MSG_RESULT([yes]) | 43 | AC_MSG_RESULT([yes]) |
45 | else | 44 | else |
46 | - AC_MSG_ERROR([not found: "$with_nss/include/$NSS_INCLUDE_MARKER" and/or "$with_nss/lib/$NSS_LIB_MARKER" files don't exist), typo?]) | 45 | - AC_MSG_ERROR([not found: "$with_nss/include/$NSS_INCLUDE_MARKER" and/or "$with_nss/lib/$NSS_LIB_MARKER"]) |
47 | + AC_MSG_ERROR([not found: "$with_nss/${includedir}/$NSS_INCLUDE_MARKER" and/or "$with_nss/${libdir}/$NSS_LIB_MARKER" files don't exist), typo?]) | 46 | + AC_MSG_ERROR([not found: "$with_nss/${includedir}/$NSS_INCLUDE_MARKER" and/or "$with_nss/${libdir}/$NSS_LIB_MARKER"]) |
48 | fi | 47 | fi |
49 | fi | 48 | fi |
50 | 49 | ||
50 | -- | ||
51 | 2.43.0 | ||
52 | |||
diff --git a/meta-oe/recipes-support/xmlsec1/xmlsec1/change-finding-path-of-nss.patch b/meta-oe/recipes-support/xmlsec1/xmlsec1/change-finding-path-of-nss.patch index 3a1531deb1..61c56ffc8b 100644 --- a/meta-oe/recipes-support/xmlsec1/xmlsec1/change-finding-path-of-nss.patch +++ b/meta-oe/recipes-support/xmlsec1/xmlsec1/change-finding-path-of-nss.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 9c861646e034b1c80fafd389279b0a7da90a8ba7 Mon Sep 17 00:00:00 2001 | 1 | From b43fa6bf612ee59db57573b39e357b6ca96d48b6 Mon Sep 17 00:00:00 2001 |
2 | From: Yulong Pei <Yulong.pei@windriver.com> | 2 | From: Yulong Pei <Yulong.pei@windriver.com> |
3 | Date: Wed, 21 Jul 2010 22:33:43 +0800 | 3 | Date: Wed, 21 Jul 2010 22:33:43 +0800 |
4 | Subject: [PATCH] change finding path of nss and nspr | 4 | Subject: [PATCH] change finding path of nss and nspr |
@@ -8,16 +8,15 @@ Upstream-Status: Pending | |||
8 | Signed-off-by: Yulong Pei <Yulong.pei@windriver.com> | 8 | Signed-off-by: Yulong Pei <Yulong.pei@windriver.com> |
9 | Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> | 9 | Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> |
10 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | 10 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> |
11 | |||
12 | --- | 11 | --- |
13 | configure.ac | 2 +- | 12 | configure.ac | 2 +- |
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
15 | 14 | ||
16 | diff --git a/configure.ac b/configure.ac | 15 | diff --git a/configure.ac b/configure.ac |
17 | index ce8a278..51621d6 100644 | 16 | index 8add879..7f137c0 100644 |
18 | --- a/configure.ac | 17 | --- a/configure.ac |
19 | +++ b/configure.ac | 18 | +++ b/configure.ac |
20 | @@ -935,7 +935,7 @@ NSS_PACKAGE=mozilla-nss | 19 | @@ -933,7 +933,7 @@ NSS_PACKAGE=mozilla-nss |
21 | NSPR_INCLUDE_MARKER="nspr/nspr.h" | 20 | NSPR_INCLUDE_MARKER="nspr/nspr.h" |
22 | NSPR_LIB_MARKER="libnspr4$shrext" | 21 | NSPR_LIB_MARKER="libnspr4$shrext" |
23 | NSPR_LIBS_LIST="-lnspr4 -lplds4 -lplc4" | 22 | NSPR_LIBS_LIST="-lnspr4 -lplds4 -lplc4" |
diff --git a/meta-oe/recipes-support/xmlsec1/xmlsec1/makefile-ptest.patch b/meta-oe/recipes-support/xmlsec1/xmlsec1/makefile-ptest.patch index 26ebce343d..55ae9887f2 100644 --- a/meta-oe/recipes-support/xmlsec1/xmlsec1/makefile-ptest.patch +++ b/meta-oe/recipes-support/xmlsec1/xmlsec1/makefile-ptest.patch | |||
@@ -14,11 +14,11 @@ Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | |||
14 | 1 file changed, 10 insertions(+), 2 deletions(-) | 14 | 1 file changed, 10 insertions(+), 2 deletions(-) |
15 | 15 | ||
16 | diff --git a/examples/Makefile b/examples/Makefile | 16 | diff --git a/examples/Makefile b/examples/Makefile |
17 | index 02480c2..cbc2661 100644 | 17 | index 0b352bc..de3c217 100644 |
18 | --- a/examples/Makefile | 18 | --- a/examples/Makefile |
19 | +++ b/examples/Makefile | 19 | +++ b/examples/Makefile |
20 | @@ -8,9 +8,17 @@ PROGRAMS = \ | 20 | @@ -12,9 +12,17 @@ PROGRAMS = \ |
21 | decrypt1 decrypt2 decrypt3 \ | 21 | $(PROGRAMS_DEC) \ |
22 | xmldsigverify | 22 | xmldsigverify |
23 | 23 | ||
24 | +ifndef CC | 24 | +ifndef CC |
@@ -38,5 +38,5 @@ index 02480c2..cbc2661 100644 | |||
38 | all: $(PROGRAMS) | 38 | all: $(PROGRAMS) |
39 | 39 | ||
40 | -- | 40 | -- |
41 | 2.25.1 | 41 | 2.43.0 |
42 | 42 | ||
diff --git a/meta-oe/recipes-support/xmlsec1/xmlsec1/xmlsec1-examples-allow-build-in-separate-dir.patch b/meta-oe/recipes-support/xmlsec1/xmlsec1/xmlsec1-examples-allow-build-in-separate-dir.patch index 9e6a6a840f..50706793b2 100644 --- a/meta-oe/recipes-support/xmlsec1/xmlsec1/xmlsec1-examples-allow-build-in-separate-dir.patch +++ b/meta-oe/recipes-support/xmlsec1/xmlsec1/xmlsec1-examples-allow-build-in-separate-dir.patch | |||
@@ -11,10 +11,10 @@ Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | |||
11 | 1 file changed, 4 insertions(+), 2 deletions(-) | 11 | 1 file changed, 4 insertions(+), 2 deletions(-) |
12 | 12 | ||
13 | diff --git a/examples/Makefile b/examples/Makefile | 13 | diff --git a/examples/Makefile b/examples/Makefile |
14 | index cbc2661..e882b61 100644 | 14 | index de3c217..2e0ab6e 100644 |
15 | --- a/examples/Makefile | 15 | --- a/examples/Makefile |
16 | +++ b/examples/Makefile | 16 | +++ b/examples/Makefile |
17 | @@ -12,8 +12,10 @@ ifndef CC | 17 | @@ -16,8 +16,10 @@ ifndef CC |
18 | CC = gcc | 18 | CC = gcc |
19 | endif | 19 | endif |
20 | 20 | ||
@@ -28,5 +28,5 @@ index cbc2661..e882b61 100644 | |||
28 | DESTDIR = /usr/share/xmlsec1 | 28 | DESTDIR = /usr/share/xmlsec1 |
29 | install-ptest: | 29 | install-ptest: |
30 | -- | 30 | -- |
31 | 2.25.1 | 31 | 2.43.0 |
32 | 32 | ||
diff --git a/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.4.bb b/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb index 7639209e19..0f4ae205b1 100644 --- a/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.4.bb +++ b/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb | |||
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=352791d62092ea8104f085042de7f4d0" | |||
12 | 12 | ||
13 | SECTION = "libs" | 13 | SECTION = "libs" |
14 | 14 | ||
15 | SRC_URI = "http://www.aleksey.com/xmlsec/download/${BP}.tar.gz \ | 15 | SRC_URI = "https://github.com/lsh123/xmlsec/releases/download/${PV}/${BP}.tar.gz \ |
16 | file://fix-ltmain.sh.patch \ | 16 | file://fix-ltmain.sh.patch \ |
17 | file://change-finding-path-of-nss.patch \ | 17 | file://change-finding-path-of-nss.patch \ |
18 | file://makefile-ptest.patch \ | 18 | file://makefile-ptest.patch \ |
@@ -22,7 +22,7 @@ SRC_URI = "http://www.aleksey.com/xmlsec/download/${BP}.tar.gz \ | |||
22 | file://ensure-search-path-non-host.patch \ | 22 | file://ensure-search-path-non-host.patch \ |
23 | " | 23 | " |
24 | 24 | ||
25 | SRC_URI[sha256sum] = "45ad9078d41ae76844ad2f8651600ffeec0fdd128ead988a8d69e907c57aee75" | 25 | SRC_URI[sha256sum] = "d82e93b69b8aa205a616b62917a269322bf63a3eaafb3775014e61752b2013ea" |
26 | 26 | ||
27 | inherit autotools-brokensep ptest pkgconfig | 27 | inherit autotools-brokensep ptest pkgconfig |
28 | 28 | ||
@@ -54,8 +54,11 @@ do_compile_ptest () { | |||
54 | } | 54 | } |
55 | 55 | ||
56 | do_install:append() { | 56 | do_install:append() { |
57 | for i in ${bindir}/xmlsec1-config ${libdir}/xmlsec1Conf.sh \ | 57 | for i in \ |
58 | ${libdir}/pkgconfig/xmlsec1-openssl.pc; do | 58 | ${bindir}/xmlsec1-config \ |
59 | ${libdir}/xmlsec1Conf.sh \ | ||
60 | ${libdir}/pkgconfig/xmlsec1-openssl.pc \ | ||
61 | ${libdir}/pkgconfig/xmlsec1-gnutls.pc; do | ||
59 | sed -i -e "s@${RECIPE_SYSROOT}@@g" ${D}$i | 62 | sed -i -e "s@${RECIPE_SYSROOT}@@g" ${D}$i |
60 | done | 63 | done |
61 | } | 64 | } |