Skip to contentSkip to conversation

crmsh: 2.3.2 -> 3.0.3

PATCH New [email protected] 1 participant 7 messages Aug 10, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crmsh: 2.3.2 -> 3.0.3

From: Changqing Li <[email protected]>

---
 meta-cgl-common/recipes-cgl/crmsh/{crmsh_2.3.2.bb => crmsh_3.0.3.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-cgl-common/recipes-cgl/crmsh/{crmsh_2.3.2.bb => crmsh_3.0.3.bb} (87%)
meta-cgl-common/recipes-cgl/crmsh/crmsh_3.0.3.bb renamed from meta-cgl-common/recipes-cgl/crmsh/crmsh_2.3.2.bb +2 -2
similarity index 87%
rename from meta-cgl-common/recipes-cgl/crmsh/crmsh_2.3.2.bb
rename to meta-cgl-common/recipes-cgl/crmsh/crmsh_3.0.3.bb
index 709fbff..b28a826 100644
@@ -17,8 +17,8 @@ SRC_URI = "https://github.com/ClusterLabs/crmsh/archive/${PV}.tar.gz;downloadfil
            file://tweaks_for_build.patch \
           "
 
-SRC_URI[md5sum] = "0a475d3c56a158dc991de61a26450eb5"
-SRC_URI[sha256sum] = "ac78b7786f6a52cc3d86b3d80b2d8627e84873330cd4846d5ea48869189ad864"
+SRC_URI[md5sum] = "563b463155a652820c8d1319418e88b7"
+SRC_URI[sha256sum] = "364fadb0d0c9619676e10bb75f4ea833a49019aa77ddb26229bc9d1c435585c0"
 
 inherit autotools-brokensep distutils-base
 
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 libmailtools-perl: 2.18 -> 2.20

From: Changqing Li <[email protected]>

License-Update: copyright year update

---
 .../perl/{libmailtools-perl_2.18.bb => libmailtools-perl_2.20.bb}   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-cgl-common/recipes-perl/perl/{libmailtools-perl_2.18.bb => libmailtools-perl_2.20.bb} (78%)
meta-cgl-common/recipes-perl/perl/libmailtools-perl_2.20.bb renamed from meta-cgl-common/recipes-perl/perl/libmailtools-perl_2.18.bb +3 -3
similarity index 78%
rename from meta-cgl-common/recipes-perl/perl/libmailtools-perl_2.18.bb
rename to meta-cgl-common/recipes-perl/perl/libmailtools-perl_2.20.bb
index 07128e0..dec7979 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "MailTools is a set of Perl modules related to mail applications"
 HOMEPAGE = "http://search.cpan.org/dist/MailTools/"
 SECTION = "libs"
 LICENSE = "Artistic-1.0 | GPL-1.0+"
-LIC_FILES_CHKSUM = "file://lib/Mail/Mailer.pod;beginline=144;md5=93c9027e72612b3555f857c4fc17b953"
+LIC_FILES_CHKSUM = "file://lib/Mail/Mailer.pod;beginline=144;md5=641bd171b1aaabba1fc83ac0a98a2d30"
 DEPENDS = " \
 	libtest-pod-perl-native \
 	libtimedate-perl-native \
@@ -18,8 +18,8 @@ BBCLASSEXTEND = "native"
 PR = "r2"
 
 SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-${PV}.tar.gz"
-SRC_URI[md5sum] = "972468ab5207b90398d77bed4ffc361d"
-SRC_URI[sha256sum] = "dfee9e770257371112f20d978e637759e81bc4f19e97b083585c71ecab37b527"
+SRC_URI[md5sum] = "53e9d35256c3fd7cef0e4a24b15e9512"
+SRC_URI[sha256sum] = "f55606f7a9cc342ee9d5f996e2b6a4c0047e2ee47cd88c3250ecf0d0c5fb3196"
 
 S = "${WORKDIR}/MailTools-${PV}"
 
Signature · 1 line
2.7.4
#2 lore raw

PATCH 1/1 libsocket6-perl: 0.23 -> 0.28

In reply to [email protected]

From: Changqing Li <[email protected]>

License-Update: copyright year update

---
 .../0001-socket6-perl-fix-configure-error.patch    | 34 ++++++++++++++++++++++
 ...ocket6-perl_0.23.bb => libsocket6-perl_0.28.bb} | 10 ++++---
 2 files changed, 40 insertions(+), 4 deletions(-)
 create mode 100644 meta-cgl-common/recipes-perl/perl/libsocket6-perl/0001-socket6-perl-fix-configure-error.patch
 rename meta-cgl-common/recipes-perl/perl/{libsocket6-perl_0.23.bb => libsocket6-perl_0.28.bb} (72%)
meta-cgl-common/recipes-perl/perl/libsocket6-perl/0001-socket6-perl-fix-configure-error.patch new file +34 -0
new file mode 100644
index 0000000..07745c8
@@ -0,0 +1,34 @@
+From b33a6a83687fc58cd5f662d44ba8819498cb80a4 Mon Sep 17 00:00:00 2001
+From: Changqing Li <[email protected]>
+Date: Thu, 9 Aug 2018 14:10:32 +0800
+Subject: [PATCH] socket6-perl: fix configure error
+
+only do IPv6_CHECK_INET_NTOP when not cross compile to fix below
+error: checking for working inet_ntop..., configure: error:
+cannot run test program while cross compiling
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Changqing Li <[email protected]>
+---
+ configure.in | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/configure.in b/configure.in
+index 1fe22e1..1a7cf94 100644
+--- a/configure.in
++++ b/configure.in
+@@ -63,7 +63,9 @@ if test $ac_cv_lib_inet6_getaddrinfo = yes; then
+ 	INET6LIBS="-L$ipv6_cv_dir/lib -linet6"
+ fi
+ 
+-IPv6_CHECK_INET_NTOP()
++if test "$cross_compiling" != yes; then
++	IPv6_CHECK_INET_NTOP()
++fi
+ IPv6_CHECK_SA_LEN()
+ IPv6_CHECK_SIN6_SCOPE_ID()
+ IPv6_CHECK_SOCKLEN_T()
+-- 
+2.7.4
+
meta-cgl-common/recipes-perl/perl/libsocket6-perl_0.28.bb renamed from meta-cgl-common/recipes-perl/perl/libsocket6-perl_0.23.bb +6 -4
similarity index 72%
rename from meta-cgl-common/recipes-perl/perl/libsocket6-perl_0.23.bb
rename to meta-cgl-common/recipes-perl/perl/libsocket6-perl_0.28.bb
index 5ab0f4a..f76ff22 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "Perl extensions for IPv6"
 HOMEPAGE = "https://metacpan.org/release/Socket6"
 SECTION = "libs"
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://README;beginline=31;md5=ad207d410de6d8ca6b4655469baa1ab4"
+LIC_FILES_CHKSUM = "file://README;beginline=31;md5=aa15b0e3744ac40eaada8738eccd24df"
 PR = "r2"
 
 BBCLASSEXTEND = "native"
@@ -10,9 +10,11 @@ BBCLASSEXTEND = "native"
 CFLAGS += "-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
 BUILD_CFLAGS += "-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
 
-SRC_URI = "http://search.cpan.org/CPAN/authors/id/U/UM/UMEMOTO/Socket6-${PV}.tar.gz;name=socket6-perl-${PV}"
-SRC_URI[socket6-perl-0.23.md5sum] = "2c02adb13c449d48d232bb704ddbd492"
-SRC_URI[socket6-perl-0.23.sha256sum] = "eda753f0197e8c3c8d4ab20a634561ce84011fa51aa5ff40d4dbcb326ace0833"
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/U/UM/UMEMOTO/Socket6-${PV}.tar.gz;name=socket6-perl-${PV} \
+           file://0001-socket6-perl-fix-configure-error.patch \
+"
+SRC_URI[socket6-perl-0.28.md5sum] = "aa8489135a3dbcec6233396e1aeb043b"
+SRC_URI[socket6-perl-0.28.sha256sum] = "bfd49ab99f3197c99285fed4683c4edc06277c1e4453f593e694d7bff0974586"
 
 S = "${WORKDIR}/Socket6-${PV}"
 
Signature · 1 line
2.7.4
#3 lore raw

PATCH 1/1 libwww-perl: 6.05 -> 6.35

In reply to [email protected]

From: Changqing Li <[email protected]>

License-Update: license file change from README to LICENSE

---
 .../perl/{libwww-perl_6.05.bb => libwww-perl_6.35.bb}          | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
 rename meta-cgl-common/recipes-perl/perl/{libwww-perl_6.05.bb => libwww-perl_6.35.bb} (50%)
meta-cgl-common/recipes-perl/perl/libwww-perl_6.35.bb renamed from meta-cgl-common/recipes-perl/perl/libwww-perl_6.05.bb +5 -5
similarity index 50%
rename from meta-cgl-common/recipes-perl/perl/libwww-perl_6.05.bb
rename to meta-cgl-common/recipes-perl/perl/libwww-perl_6.35.bb
index 21f9df4..b986b4e 100644
@@ -1,8 +1,8 @@
 DESCRIPTION = "libwww-perl provides a simple and consistent API to the World Wide Web"
-HOMEPAGE = "http://search.cpan.org/dist/libwww-perl/"
+HOMEPAGE = "https://metacpan.org/release/libwww-perl"
 SECTION = "libs"
 LICENSE = "Artistic-1.0 | GPL-1.0+"
-LIC_FILES_CHKSUM = "file://README;beginline=92;endline=98;md5=3da13bc02f8f17ed35ac5d192cae6fe4"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=225d44a95fa3addb1da6d91187ab189f"
 DEPENDS = "liburi-perl-native libhtml-parser-perl-native libhtml-tagset-perl-native"
 RDEPENDS_${PN} += " \
 	libhtml-parser-perl \
@@ -15,9 +15,9 @@ BBCLASSEXTEND = "native"
 
 PR = "r2"
 
-SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-${PV}.tar.gz;name=libwww-perl-${PV}"
-SRC_URI[libwww-perl-6.05.md5sum] = "637d5f1eb61336ca2caa6e026b382f87"
-SRC_URI[libwww-perl-6.05.sha256sum] = "7b25799ff7eec18e8e4e97dc0cad7b2a5b433b50b13feb59d9179173bee78f23"
+SRC_URI = "https://cpan.metacpan.org/authors/id/E/ET/ETHER/libwww-perl-${PV}.tar.gz;name=libwww-perl-${PV}"
+SRC_URI[libwww-perl-6.35.md5sum] = "19cd0f55f61359c973caa9301ec405bd"
+SRC_URI[libwww-perl-6.35.sha256sum] = "dda2578d7b32152c4afce834761a61d117de286c705a9f7972c7ac6032ca5953"
 
 S = "${WORKDIR}/libwww-perl-${PV}"
 
Signature · 1 line
2.7.4
#4 lore raw

PATCH 1/1 monit: 5.20.0 -> 5.25.2

In reply to [email protected]

From: Changqing Li <[email protected]>

---
 .../recipes-cgl/monit/{monit_5.20.0.bb => monit_5.25.2.bb}          | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-cgl-common/recipes-cgl/monit/{monit_5.20.0.bb => monit_5.25.2.bb} (91%)
meta-cgl-common/recipes-cgl/monit/monit_5.25.2.bb renamed from meta-cgl-common/recipes-cgl/monit/monit_5.20.0.bb +3 -3
similarity index 91%
rename from meta-cgl-common/recipes-cgl/monit/monit_5.20.0.bb
rename to meta-cgl-common/recipes-cgl/monit/monit_5.25.2.bb
index 955a28c..ab9e922 100644
@@ -9,7 +9,7 @@ HOMEPAGE = "http://mmonit.com/monit/"
 LICENSE = "AGPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=ea116a7defaf0e93b3bb73b2a34a3f51"
 
-DEPENDS = "openssl"
+DEPENDS = "openssl zlib"
 
 SRC_URI = "\
 	http://mmonit.com/monit/dist/${BP}.tar.gz \
@@ -17,8 +17,8 @@ SRC_URI = "\
 	file://init \
 	"
 
-SRC_URI[md5sum] = "769a44ee13b4e1f90156b58dc2f7ea7c"
-SRC_URI[sha256sum] = "ebac395ec50c1ae64d568db1260bc049d0e0e624c00e79d7b1b9a59c2679b98d"
+SRC_URI[md5sum] = "890df599d6c1e9cfbbdd3edbacb7db81"
+SRC_URI[sha256sum] = "aa0ce6361d1155e43e30a86dcff00b2003d434f221c360981ced830275abc64a"
 
 INITSCRIPT_NAME = "monit"
 INITSCRIPT_PARAMS = "defaults 99"
Signature · 1 line
2.7.4
#5 lore raw

PATCH 1/1 libtest-pod-perl: 1.51 -> 1.52

In reply to [email protected]

From: Changqing Li <[email protected]>

---
 .../perl/{libtest-pod-perl_1.51.bb => libtest-pod-perl_1.52.bb}       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-cgl-common/recipes-perl/perl/{libtest-pod-perl_1.51.bb => libtest-pod-perl_1.52.bb} (78%)
meta-cgl-common/recipes-perl/perl/libtest-pod-perl_1.52.bb renamed from meta-cgl-common/recipes-perl/perl/libtest-pod-perl_1.51.bb +2 -2
similarity index 78%
rename from meta-cgl-common/recipes-perl/perl/libtest-pod-perl_1.51.bb
rename to meta-cgl-common/recipes-perl/perl/libtest-pod-perl_1.52.bb
index 230576f..ff5538e 100644
@@ -12,8 +12,8 @@ RDEPENDS_${PN} += " perl-module-test-more \
 PR = "r2"
 
 SRC_URI ="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-Pod-${PV}.tar.gz;name=test-pod-perl-${PV}"
-SRC_URI[test-pod-perl-1.51.md5sum] = "f806aa84de2f0c0fba48b3a5a8a4aecf"
-SRC_URI[test-pod-perl-1.51.sha256sum] = "c1a1d3cedf4a579e3aad89c36f9878a8542b6656dbe71f1581420f49582d7efb"
+SRC_URI[test-pod-perl-1.52.md5sum] = "472dda77746d48e6465bf62e47aeca81"
+SRC_URI[test-pod-perl-1.52.sha256sum] = "60a8dbcc60168bf1daa5cc2350236df9343e9878f4ab9830970a5dde6fe8e5fc"
 S = "${WORKDIR}/Test-Pod-${PV}"
 
 inherit cpan
Signature · 1 line
2.7.4
#6 lore raw

PATCH 1/1 pacemaker: upgrade 1.1.16 -> 1.1.19

In reply to [email protected]

From: Changqing Li <[email protected]>

---
 ...-pacemaker-fix-compile-error-of-musl-libc.patch | 56 ++++++++++++++++++++++
 .../pacemaker/0001-pacemaker-fix-xml-config.patch  | 19 +++++---
 .../{pacemaker_1.1.16.bb => pacemaker_1.1.19.bb}   |  7 ++-
 3 files changed, 73 insertions(+), 9 deletions(-)
 create mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0001-pacemaker-fix-compile-error-of-musl-libc.patch
 rename meta-cgl-common/recipes-cgl/pacemaker/{pacemaker_1.1.16.bb => pacemaker_1.1.19.bb} (94%)
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0001-pacemaker-fix-compile-error-of-musl-libc.patch new file +56 -0
new file mode 100644
index 0000000..f8cbb7e
@@ -0,0 +1,56 @@
+From 51b0df9242bb1e3eb41362381472a00727910f64 Mon Sep 17 00:00:00 2001
+From: Changqing Li <[email protected]>
+Date: Fri, 10 Aug 2018 15:08:31 +0800
+Subject: [PATCH] pacemaker: fix compile error of musl libc
+
+Upstream-Status: Pending
+
+Signed-off-by: Changqing Li <[email protected]>
+---
+ include/crm/stonith-ng.h | 1 +
+ lib/cib/cib_remote.c     | 3 ---
+ tools/crm_mon.c          | 2 +-
+ 3 files changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/include/crm/stonith-ng.h b/include/crm/stonith-ng.h
+index 56c1ec7..a637b47 100644
+--- a/include/crm/stonith-ng.h
++++ b/include/crm/stonith-ng.h
+@@ -28,6 +28,7 @@
+ #  include <dlfcn.h>
+ #  include <errno.h>
+ #  include <stdbool.h>
++#  include <time.h>
+ 
+ /* TO-DO: Work out how to drop this requirement */
+ #  include <libxml/tree.h>
+diff --git a/lib/cib/cib_remote.c b/lib/cib/cib_remote.c
+index 4d7b93b..8be8ecc 100644
+--- a/lib/cib/cib_remote.c
++++ b/lib/cib/cib_remote.c
+@@ -53,9 +53,6 @@ typedef void gnutls_session_t;
+ #endif
+ 
+ #include <arpa/inet.h>
+-#ifndef ON_BSD
+-#  include <sgtty.h>
+-#endif
+ 
+ #define DH_BITS 1024
+ 
+diff --git a/tools/crm_mon.c b/tools/crm_mon.c
+index 7c63803..1ae6c21 100644
+--- a/tools/crm_mon.c
++++ b/tools/crm_mon.c
+@@ -553,7 +553,7 @@ main(int argc, char **argv)
+ 
+ #if !defined (ON_DARWIN) && !defined (ON_BSD)
+     /* prevent zombies */
+-    signal(SIGCLD, SIG_IGN);
++    signal(SIGCHLD, SIG_IGN);
+ #endif
+ 
+     if (crm_ends_with_ext(argv[0], ".cgi") == TRUE) {
+-- 
+2.7.4
+
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0001-pacemaker-fix-xml-config.patch +12 -7
index c27052d..72c3a1e 100644
@@ -1,27 +1,29 @@
-From a55e235f56bc6e894e79fa200c39678e06ef985e Mon Sep 17 00:00:00 2001
-From: Bian Naimeng <[email protected]>
-Date: Fri, 3 Jul 2015 15:48:58 +0900
+From ac1ff1d538d2be205fbcc9676c6497a1395b71d8 Mon Sep 17 00:00:00 2001
+From: Changqing Li <[email protected]>
+Date: Fri, 10 Aug 2018 14:59:33 +0800
 Subject: [PATCH] pacemaker: fix xml config
 
 Signed-off-by: Bian Naimeng <[email protected]>
 
+update to version 1.1.19
+Signed-off-by: Changqing Li <[email protected]>
 ---
  configure.ac | 17 ++++++-----------
  1 file changed, 6 insertions(+), 11 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index 7195f9b..5e420f2 100644
+index 3bf1914..345caeb 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -557,7 +557,6 @@ AC_PATH_PROGS(TAR, tar)
+@@ -555,7 +555,6 @@ AC_PATH_PROGS(TAR, tar)
  AC_PATH_PROGS(MD5, md5)
  AC_PATH_PROGS(TEST, test)
- AC_PATH_PROGS(PKGCONFIG, pkg-config)
+ PKG_PROG_PKG_CONFIG
 -AC_PATH_PROGS(XML2CONFIG, xml2-config)
  AC_PATH_PROGS(VALGRIND_BIN, valgrind, /usr/bin/valgrind)
  AC_DEFINE_UNQUOTED(VALGRIND_BIN, "$VALGRIND_BIN", Valgrind command)
  
-@@ -807,17 +806,13 @@ dnl AC_CHECK_HEADERS(netinet/icmp6.h)
+@@ -805,17 +804,13 @@ dnl AC_CHECK_HEADERS(netinet/icmp6.h)
  dnl AC_CHECK_HEADERS(netinet/ip6.h)
  dnl AC_CHECK_HEADERS(netinet/ip_icmp.h)
  
@@ -45,3 +47,6 @@ index 7195f9b..5e420f2 100644
  
  AC_CHECK_HEADERS(libxml/xpath.h)
  AC_CHECK_HEADERS(libxslt/xslt.h)
+-- 
+2.7.4
+
meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.19.bb renamed from meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb +5 -2
similarity index 94%
rename from meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb
rename to meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.19.bb
index 8726111..bd3526d 100644
@@ -24,8 +24,11 @@ SRC_URI = "https://github.com/ClusterLabs/${BPN}/archive/Pacemaker-${PV}.zip \
            file://volatiles \
            file://tmpfiles \
           "
-SRC_URI[md5sum] = "6f60f733823d31acbef4556fb749c457"
-SRC_URI[sha256sum] = "2642264b27c584eff5747a2a34c7f2bff13d52741e4e5cc70f14b2b6cd1fe7d5"
+
+SRC_URI_append_libc-musl = "file://0001-pacemaker-fix-compile-error-of-musl-libc.patch"
+
+SRC_URI[md5sum] = "deb7017c5a9d3f39895d9ea2c34bc8eb"
+SRC_URI[sha256sum] = "6e222046487c2dc6ae61d49089ecbf6a0bcb495e8cdcb76d115fd987d0df8f7f"
 
 inherit autotools-brokensep pkgconfig systemd python-dir useradd
 
Signature · 1 line
2.7.4