Skip to contentSkip to conversation

monit: upgrade 5.25.2 -> 5.26.0

PATCH In review Jeremy Puhlman 2 participants 22 messages Mar 19, 2020 – Mar 25, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/20 monit: upgrade 5.25.2 -> 5.26.0

From: Changqing Li <[email protected]>

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

PATCH 2/20 Add zeus to compat list

From: Jeremy Puhlman <[email protected]>

---
 meta-cgl-common/conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-cgl-common/conf/layer.conf +1 -1
index 894d6c4..de64205 100644
@@ -13,6 +13,6 @@ BBFILE_PRIORITY_cgl-common = "7"
 
 LAYERDEPENDS_cgl-common = "core openembedded-layer networking-layer perl-layer filesystems-layer security selinux"
 
-LAYERSERIES_COMPAT_cgl-common = "warrior"
+LAYERSERIES_COMPAT_cgl-common = "warrior zeus"
 
 require conf/distro/include/cgl_common_security_flags.inc
Signature · 1 line
2.13.3
#2 lore raw

PATCH 3/20 crmsh: fix parse errors due to python2 removal

In reply to Jeremy Puhlman

From: Jeremy Puhlman <[email protected]>

---
 meta-cgl-common/recipes-cgl/crmsh/crmsh_3.0.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-cgl-common/recipes-cgl/crmsh/crmsh_3.0.3.bb +1 -1
index 040b4d3..6d2902c 100644
@@ -20,7 +20,7 @@ SRC_URI = "git://github.com/ClusterLabs/${BPN}.git;branch=crmsh-3.0 \
 
 SRCREV = "41845ca5511b844593cf25ae4eb7f307aa78c5be"
 
-inherit autotools-brokensep distutils-base
+inherit autotools-brokensep distutils3-base
 
 export HOST_SYS
 export BUILD_SYS
Signature · 1 line
2.13.3
#3 lore raw

PATCH 4/20 pacemaker: fix parse errors due to python2 removal

In reply to Jeremy Puhlman

From: Jeremy Puhlman <[email protected]>

---
 meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.21.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.21.bb +1 -1
index feed53d..df02f40 100644
@@ -30,7 +30,7 @@ SRC_URI_append_libc-musl = "file://0001-pacemaker-fix-compile-error-of-musl-libc
 
 SRCREV = "f14e36fd4336874705b34266c7cddbe12119106c"
 
-inherit autotools-brokensep pkgconfig systemd python-dir useradd
+inherit autotools-brokensep pkgconfig systemd python3-dir useradd
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.13.3
#4 lore raw

PATCH 5/20 cluster-glue: fix depend issues for py2 removal

In reply to Jeremy Puhlman

From: Jeremy Puhlman <[email protected]>

---
 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb +2 -2
index e0aa2b1..749ce8c 100644
@@ -137,6 +137,6 @@ FILES_${PN}-lrmtest = "${datadir}/cluster-glue/lrmtest/"
 
 RDEPENDS_${PN} += "perl"
 RDEPENDS_${PN}-plugin-stonith2 += "bash"
-RDEPENDS_${PN}-plugin-stonith-external += "bash python perl"
-RDEPENDS_${PN}-plugin-stonith2-ribcl += "python"
+RDEPENDS_${PN}-plugin-stonith-external += "bash python3-core perl"
+RDEPENDS_${PN}-plugin-stonith2-ribcl += "python3-core"
 RDEPENDS_${PN}-lrmtest += "${VIRTUAL-RUNTIME_getopt} ${PN}-plugin-raexec"
Signature · 1 line
2.13.3
#5 lore raw

PATCH 6/20 pacemaker: fix depend issues for py2 removal

In reply to Jeremy Puhlman

From: Jeremy Puhlman <[email protected]>

---
 meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.21.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.21.bb +2 -2
index df02f40..3a8db77 100644
@@ -11,7 +11,7 @@ HOMEPAGE = "http://www.clusterlabs.org"
 LICENSE = "GPLv2+ & LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=000212f361a81b100d9d0f0435040663"
 
-DEPENDS = "corosync libxslt libxml2 gnutls resource-agents libqb python-native"
+DEPENDS = "corosync libxslt libxml2 gnutls resource-agents libqb python3-native"
 
 SRC_URI = "git://github.com/ClusterLabs/${BPN}.git;branch=1.1 \
            file://0001-pacemaker-fix-xml-config.patch \
@@ -95,7 +95,7 @@ FILES_${PN} += " ${datadir}/snmp                             \
                  ${libdir}/${PYTHON_DIR}/site-packages \
                "
 FILES_${PN}-dbg += "${libdir}/corosync/lcrso/.debug"
-RDEPENDS_${PN} = "bash python perl libqb ${PN}-cli-utils"
+RDEPENDS_${PN} = "bash python3-core perl libqb ${PN}-cli-utils"
 
 SYSTEMD_AUTO_ENABLE = "disable"
 
Signature · 1 line
2.13.3
#6 lore raw

PATCH 7/20 cluster-glue: Update to current

In reply to Jeremy Puhlman

From: Jeremy Puhlman <[email protected]>

* Fix various mutlilib issues.
* Update python3 issues
* License updates were change of address for FSF

---
 .../cluster-glue/0001-Update-for-python3.patch     | 260 +++++++++++++++++++++
 .../cluster-glue/cluster-glue_1.0.12.bb            |  20 +-
 2 files changed, 273 insertions(+), 7 deletions(-)
 create mode 100644 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-Update-for-python3.patch
meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue/0001-Update-for-python3.patch new file +260 -0
new file mode 100644
index 0000000..e089dc4
@@ -0,0 +1,260 @@
+From 3ac95d9da4e207f5d1db14ecbf9c10c13247dd45 Mon Sep 17 00:00:00 2001
+From: Jeremy Puhlman <[email protected]>
+Date: Wed, 19 Feb 2020 22:35:51 +0000
+Subject: [PATCH] Update for python3
+
+Upstream-Status: Inappropriate
+---
+ lib/plugins/stonith/external/dracmc-telnet | 10 +++++-----
+ lib/plugins/stonith/external/ibmrsa-telnet |  8 ++++----
+ lib/plugins/stonith/external/riloe         | 30 +++++++++++++++---------------
+ lib/plugins/stonith/ribcl.py.in            | 20 ++++++++++----------
+ 4 files changed, 34 insertions(+), 34 deletions(-)
+
+diff --git a/lib/plugins/stonith/external/dracmc-telnet b/lib/plugins/stonith/external/dracmc-telnet
+index 78c01453..7fbed86b 100644
+--- a/lib/plugins/stonith/external/dracmc-telnet
++++ b/lib/plugins/stonith/external/dracmc-telnet
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ # vim: set filetype=python
+ #######################################################################
+ #
+@@ -74,7 +74,7 @@ class DracMC(telnetlib.Telnet):
+ 
+     def _get_timestamp(self):
+         ct = time.time()
+-        msecs = (ct - long(ct)) * 1000
++        msecs = (ct - int(ct)) * 1000
+         return "%s,%03d" % (time.strftime("%Y-%m-%d %H:%M:%S",
+                             time.localtime(ct)), msecs)
+ 
+@@ -170,7 +170,7 @@ class DracMCStonithPlugin:
+ 
+     def _get_timestamp(self):
+         ct = time.time()
+-        msecs = (ct - long(ct)) * 1000
++        msecs = (ct - int(ct)) * 1000
+         return "%s,%03d" % (time.strftime("%Y-%m-%d %H:%M:%S",
+                             time.localtime(ct)), msecs)
+ 
+@@ -200,7 +200,7 @@ class DracMCStonithPlugin:
+                            self._parameters['cyclades_port'])
+                     c.login(self._parameters['username'],
+                             self._parameters['password'])
+-                except Exception, args:
++                except Exception as args:
+                     if "Connection reset by peer" in str(args):
+                         self._echo_debug("Someone is already logged in... retry=%s" % tries)
+                         c.close()
+@@ -362,7 +362,7 @@ class DracMCStonithPlugin:
+             func = getattr(self, cmd, self.not_implemented)
+             rc = func()
+             return(rc)
+-        except Exception, args:
++        except Exception as args:
+             self.echo_log("err", 'Exception raised:', str(args))
+             if self._connection:
+                 self.echo_log("err", self._connection.get_history())
+diff --git a/lib/plugins/stonith/external/ibmrsa-telnet b/lib/plugins/stonith/external/ibmrsa-telnet
+index adb2a3eb..0a3ce3c2 100644
+--- a/lib/plugins/stonith/external/ibmrsa-telnet
++++ b/lib/plugins/stonith/external/ibmrsa-telnet
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/env python3
+ # vim: set filetype=python
+ #######################################################################
+ #
+@@ -71,7 +71,7 @@ class RSABoard(telnetlib.Telnet):
+ 
+     def _get_timestamp(self):
+         ct = time.time()
+-        msecs = (ct - long(ct)) * 1000
++        msecs = (ct - int(ct)) * 1000
+         return "%s,%03d" % (time.strftime("%Y-%m-%d %H:%M:%S",
+                             time.localtime(ct)), msecs)
+ 
+@@ -149,7 +149,7 @@ class RSAStonithPlugin:
+ 
+     def _get_timestamp(self):
+         ct = time.time()
+-        msecs = (ct - long(ct)) * 1000
++        msecs = (ct - int(ct)) * 1000
+         return "%s,%03d" % (time.strftime("%Y-%m-%d %H:%M:%S",
+                             time.localtime(ct)), msecs)
+ 
+@@ -305,7 +305,7 @@ class RSAStonithPlugin:
+             func = getattr(self, cmd, self.not_implemented)
+             rc = func()
+             return(rc)
+-        except Exception, args:
++        except Exception as args:
+             self.echo_log("err", 'Exception raised:', str(args))
+             if self._connection:
+                 self.echo_log("err", self._connection.get_history())
+diff --git a/lib/plugins/stonith/external/riloe b/lib/plugins/stonith/external/riloe
+index 412873f5..370fd57f 100644
+--- a/lib/plugins/stonith/external/riloe
++++ b/lib/plugins/stonith/external/riloe
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ #
+ # Stonith module for RILOE Stonith device
+ #
+@@ -35,7 +35,7 @@ import os
+ import socket
+ import subprocess
+ import xml.dom.minidom
+-import httplib
++import http.client
+ import time
+ import re
+ 
+@@ -163,12 +163,12 @@ info = {
+ }
+ 
+ if cmd in info:
+-    print info[cmd]
++    print(info[cmd])
+     sys.exit(0)
+ 
+ if cmd == 'getconfignames':
+     for arg in [ "hostlist", "ilo_hostname", "ilo_user", "ilo_password", "ilo_can_reset", "ilo_protocol", "ilo_powerdown_method", "ilo_proxyhost", "ilo_proxyport"]:
+-        print arg
++        print(arg)
+     sys.exit(0)
+ 
+ if not rihost:
+@@ -257,7 +257,7 @@ def read_resp(node):
+     '''
+     msg = ""
+     str_status = ""
+-    for attr in node.attributes.keys():
++    for attr in list(node.attributes.keys()):
+         if attr == A_STATUS:
+             str_status = node.getAttribute(attr)
+         elif attr == A_MSG:
+@@ -285,7 +285,7 @@ def read_power(node):
+     variable correspondingly.
+     '''
+     global power
+-    for attr in node.attributes.keys():
++    for attr in list(node.attributes.keys()):
+         if attr == A_POWER_STATE:
+             power_state = node.getAttribute(attr).upper()
+         else:
+@@ -339,18 +339,18 @@ def open_ilo(host):
+                 fatal("Error status=: %s" %(response))
+             import ssl
+             sock = ssl.wrap_socket(proxy) 
+-            h=httplib.HTTPConnection('localhost')
++            h=http.client.HTTPConnection('localhost')
+             h.sock=sock
+             return h
+         else:
+-            return httplib.HTTPSConnection(host)
+-    except socket.gaierror, msg:
++            return http.client.HTTPSConnection(host)
++    except socket.gaierror as msg:
+         fatal("%s: %s" %(msg,host))
+-    except socket.sslerror, msg:
++    except socket.sslerror as msg:
+         fatal("%s for %s" %(msg,host))
+-    except socket.error, msg:
++    except socket.error as msg:
+         fatal("%s while talking to %s" %(msg,host))
+-    except ImportError, msg:
++    except ImportError as msg:
+         fatal("ssl support missing (%s)" %msg)
+ 
+ def send_request(req,proc_f):
+@@ -364,7 +364,7 @@ def send_request(req,proc_f):
+     c = open_ilo(rihost)
+     try:
+         c.send(req+'\r\n')
+-    except socket.error, msg:
++    except socket.error as msg:
+         fatal("%s, while talking to %s" %(msg,rihost))
+     t_end = time.time()
+     my_debug("request sent in %0.2f s" % ((t_end-t_begin)))
+@@ -377,7 +377,7 @@ def send_request(req,proc_f):
+             if not reply:
+                 break
+             result.append(reply)
+-        except socket.error, msg:
++        except socket.error as msg:
+             if msg[0] == 6: # connection closed
+                 break
+             my_err("%s, while talking to %s" %(msg,rihost))
+@@ -393,7 +393,7 @@ def send_request(req,proc_f):
+             reply = re.sub("<(RIBCL.*)/>", r"<\1>", reply)
+         try:
+             doc = xml.dom.minidom.parseString(reply)
+-        except xml.parsers.expat.ExpatError,msg:
++        except xml.parsers.expat.ExpatError as msg:
+             fatal("malformed response: %s\n%s"%(msg,reply))
+         rc = proc_f(doc)
+         doc.unlink()
+diff --git a/lib/plugins/stonith/ribcl.py.in b/lib/plugins/stonith/ribcl.py.in
+index 0733bb24..3533dee3 100644
+--- a/lib/plugins/stonith/ribcl.py.in
++++ b/lib/plugins/stonith/ribcl.py.in
+@@ -1,4 +1,4 @@
+-#!@TRAGET_PYTHON@
++#!/usr/bin/env python3
+ 
+ 
+ #
+@@ -18,7 +18,7 @@
+ 
+ import sys
+ import socket
+-from httplib import *
++from http.client import *
+ from time import sleep
+ 
+ 
+@@ -29,7 +29,7 @@ try:
+         host = argv[1].split('.')[0]+'-rm'
+         cmd = argv[2]
+ except IndexError:
+-        print "Not enough arguments"
++        print("Not enough arguments")
+         sys.exit(1)
+ 
+ 
+@@ -66,7 +66,7 @@ try:
+         else:   
+                 acmds.append(login + todo[cmd] + logout)
+ except KeyError:
+-        print "Invalid command: "+ cmd
++        print("Invalid command: "+ cmd)
+         sys.exit(1)
+ 
+ 
+@@ -88,13 +88,13 @@ try:
+                 sleep(1)
+ 
+ 
+-except socket.gaierror, msg:
+-        print msg
++except socket.gaierror as msg:
++        print(msg)
+         sys.exit(1)
+-except socket.sslerror, msg:
+-        print msg
++except socket.sslerror as msg:
++        print(msg)
+         sys.exit(1)
+-except socket.error, msg:
+-        print msg
++except socket.error as msg:
++        print(msg)
+         sys.exit(1)
+ 
+-- 
+2.13.3
+
meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb +13 -7
index 749ce8c..d9df83b 100644
@@ -4,8 +4,8 @@ is not the cluster messaging layer (Heartbeat), nor the cluster resource manager
 (Pacemaker), nor a Resource Agent."
 HOMEPAGE = "http://clusterlabs.org/"
 LICENSE = "GPLv2 & LGPLv2.1"
-LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
-                    file://COPYING.LIB;md5=243b725d71bb5df4a1e5920b344b86ad \
+LIC_FILES_CHKSUM = "file://COPYING;md5=b70d30a00a451e19d7449d7465d02601 \
+                    file://COPYING.LIB;md5=c386bfabdebabbdc1f28e9fde4f4df6d \
 "
 
 DEPENDS = "libxml2 libtool glib-2.0 bzip2 util-linux net-snmp openhpi"
@@ -14,14 +14,15 @@ SRC_URI = " \
     git://github.com/ClusterLabs/${BPN}.git \
     file://0001-don-t-compile-doc-and-Error-Fix.patch \
     file://0001-ribcl.py.in-Warning-Fix.patch \
+    file://0001-Update-for-python3.patch \
     file://volatiles \
     file://tmpfiles \
 "
 SRC_URI_append_libc-uclibc = " file://kill-stack-protector.patch"
 
-SRCREV = "1bc77825c0cfb0c80f9c82a061af7ede68676cb4"
+SRCREV = "fd5a3befacd23d056a72cacd2b8ad6bba498e56b"
 
-inherit autotools useradd pkgconfig systemd
+inherit autotools useradd pkgconfig systemd multilib_script multilib_header
 
 SYSTEMD_SERVICE_${PN} = "logd.service"
 SYSTEMD_AUTO_ENABLE = "disable"
@@ -30,6 +31,7 @@ HA_USER = "hacluster"
 HA_GROUP = "haclient"
 
 S = "${WORKDIR}/git"
+PV = "1.0.12+git${SRCPV}"
 
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
 PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_system_unitdir},--without-systemdsystemunitdir,systemd"
@@ -48,6 +50,8 @@ USERADD_PARAM_${PN} = "--home-dir=${localstatedir}/lib/heartbeat/cores/${HA_USER
                       "
 GROUPADD_PARAM_${PN} = "-r ${HA_GROUP}"
 
+MULTILIB_SCRIPTS = "${PN}:${sbindir}/cibsecret"
+
 do_configure_prepend() {
     ln -sf ${PKG_CONFIG_SYSROOT_DIR}/usr/include/libxml2/libxml ${PKG_CONFIG_SYSROOT_DIR}/usr/include/libxml
 }
@@ -57,6 +61,8 @@ do_install_append() {
 	install -m 0644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/04_cluster-glue
 	install -d ${D}${sysconfdir}/tmpfiles.d
 	install -m 0644 ${WORKDIR}/tmpfiles ${D}${sysconfdir}/tmpfiles.d/${PN}.conf
+
+    oe_multilib_header heartbeat/glue_config.h
 }
 
 pkg_postinst_${PN} () {
@@ -86,9 +92,9 @@ PACKAGES =+ "\
 	 ${PN}-plugin-interfacemgr-dbg \
 	 ${PN}-plugin-interfacemgr-staticdev \
 	 ${PN}-lrmtest \
-         ${PN}-plugin-compress \
-         ${PN}-plugin-compress-dbg \
-         ${PN}-plugin-compress-staticdev \
+     ${PN}-plugin-compress \
+     ${PN}-plugin-compress-dbg \
+     ${PN}-plugin-compress-staticdev \
 	 "
 
 FILES_${PN} = "${sysconfdir} /var ${libdir}/lib*.so.* ${sbindir} ${datadir}/cluster-glue/*sh ${datadir}/cluster-glue/*pl\
Signature · 1 line
2.13.3
#7 lore raw

PATCH 8/20 resource-agents: Update to 4.5.0

In reply to Jeremy Puhlman

From: Jeremy Puhlman <[email protected]>

Refesh patches.
Drop already encorperated

---
 .../resource-agents/01-disable-doc-build.patch     | 12 ++++---
 .../02-set-OCF_ROOT_DIR-to-libdir-ocf.patch        |  4 +--
 .../03-fix-header-defs-lookup.patch                |  4 +--
 .../resource-agents/fix-install-sh-not-found.patch | 22 ++++++-------
 ...uilds-when-srcdir-and-builddir-are-sepera.patch | 37 ----------------------
 ...ce-agents_4.0.1.bb => resource-agents_4.5.0.bb} | 10 +++---
 6 files changed, 28 insertions(+), 61 deletions(-)
 delete mode 100644 meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/fs.sh-fix-builds-when-srcdir-and-builddir-are-sepera.patch
 rename meta-cgl-common/recipes-cgl/cluster-resource-agents/{resource-agents_4.0.1.bb => resource-agents_4.5.0.bb} (91%)
meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/01-disable-doc-build.patch +7 -5
index 7c67ecc..f136ec8 100644
@@ -4,21 +4,23 @@ Date: Tue, 30 Jun 2015 16:42:48 +0800
 Subject: [PATCH] disable doc build
 
 Signed-off-by: Bian Naimeng <[email protected]>
-
 ---
  Makefile.am | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/Makefile.am b/Makefile.am
-index 1769c6e..d66b2ae 100644
+index 0f2e5dcf..65619424 100644
 --- a/Makefile.am
 +++ b/Makefile.am
-@@ -37,7 +37,7 @@ RGMANAGER = with
+@@ -39,7 +39,7 @@ RGMANAGER = with
  endif
  
  if BUILD_LINUX_HA
--SUBDIRS	+= include heartbeat tools ldirectord doc
-+SUBDIRS	+= include heartbeat tools ldirectord
+-SUBDIRS	+= include heartbeat tools ldirectord doc systemd
++SUBDIRS	+= include heartbeat tools ldirectord systemd
  LINUX_HA = without
  else
  LINUX_HA = with
+-- 
+2.23.0
+
meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/02-set-OCF_ROOT_DIR-to-libdir-ocf.patch +2 -2
index 683f3db..ca36bc6 100644
@@ -10,10 +10,10 @@ Signed-off-by: Bian Naimeng <[email protected]>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/configure.ac b/configure.ac
-index 3bb0b7d..ca30182 100644
+index 1eb65cf3..066d126f 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -405,7 +405,7 @@ dnl Variables needed for substitution
+@@ -425,7 +425,7 @@ dnl Variables needed for substitution
  AC_CHECK_HEADERS(heartbeat/glue_config.h)
  
  if test "$ac_cv_header_heartbeat_glue_config_h" = "yes"; then
meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/03-fix-header-defs-lookup.patch +2 -2
index 0ef2b45..fb578cb 100644
@@ -10,10 +10,10 @@ Signed-off-by: Bian Naimeng <[email protected]>
  1 file changed, 2 insertions(+), 3 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index ca30182..83a698d 100644
+index 066d126f..32a76169 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -140,9 +140,8 @@ extract_header_define() {
+@@ -160,9 +160,8 @@ extract_header_define() {
  	  Cfile=$srcdir/extract_define.$2.${$}
  	  printf "#include <stdio.h>\n" > ${Cfile}.c
  	  printf "#include <%s>\n" $1 >> ${Cfile}.c
meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/fix-install-sh-not-found.patch +11 -11
index fbded10..d5d0d8a 100644
@@ -19,13 +19,13 @@ Signed-off-by: Hongxu Jia <[email protected]>
  1 file changed, 8 insertions(+), 7 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index 83a698d..2082d43 100644
+index 32a76169..d682ad78 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -23,13 +23,20 @@ AC_INIT([resource-agents],
+@@ -22,6 +22,13 @@ dnl     checks for system services
+ AC_INIT([resource-agents], 
  	m4_esyscmd([make/git-version-gen .tarball-version]),
- 	[[email protected]])
- 
+ 	[[email protected]])
 +AC_CONFIG_AUX_DIR(.)
 +
 +dnl
@@ -33,20 +33,20 @@ index 83a698d..2082d43 100644
 +dnl
 +
 +AM_INIT_AUTOMAKE([1.10.1 foreign dist-bzip2])
-+
+ 
  AC_USE_SYSTEM_EXTENSIONS
  
- CRM_DTD_VERSION="1.0"
+@@ -29,7 +36,6 @@ CRM_DTD_VERSION="1.0"
  
  PKG_FEATURES=""
  
 -AC_CONFIG_AUX_DIR(.)
- AC_CANONICAL_HOST
+ AC_CONFIG_MACRO_DIR([m4])
  
- dnl Where #defines go (e.g. `AC_CHECK_HEADERS' below)
-@@ -76,12 +83,6 @@ AS_IF([test "x$with_systemdsystemunitdir" != "xno"],
-       [AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])])
- AM_CONDITIONAL([HAVE_SYSTEMD], [test "x$with_systemdsystemunitdir" != "xno"])
+ AC_CANONICAL_HOST
+@@ -96,12 +102,6 @@ AC_ARG_WITH([systemdtmpfilesdir],
+      fi
+ AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdtmpfilesdir" -a "x$with_systemdtmpfilesdir" != xno ])
  
 -dnl 
 -dnl AM_INIT_AUTOMAKE([1.11.1 foreign dist-bzip2 dist-xz])
meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents/fs.sh-fix-builds-when-srcdir-and-builddir-are-sepera.patch deleted +0 -37
deleted file mode 100644
index dbafc68..0000000
@@ -1,37 +0,0 @@
-From 40227e4ac8c95fb0175cbc4856103b5ca4c6824c Mon Sep 17 00:00:00 2001
-From: Jackie Huang <[email protected]>
-Date: Thu, 1 Jun 2017 10:34:38 +0800
-Subject: [PATCH] fs.sh: fix builds when srcdir and builddir are seperated
-
-It fails to find fs.sh.in when srddir and builddir are not the same:
-
-make[5]: Entering directory '/path/to/builddir/rgmanager/src/resources'
-cat fs.sh.in | sed \
-    -e 's#@''LOGDIR@#/var/log/cluster#g' \
-    > fs.sh.out
-    cat: fs.sh.in: No such file or directorychmod +x fs.sh.out
-    mv fs.sh.out fs.sh
-
-Add abs_srcdir to fix this.
-
-Upstream-Status: Submitted [https://github.com/ClusterLabs/resource-agents/pull/986]
-
-Signed-off-by: Jackie Huang <[email protected]>
-
----
- rgmanager/src/resources/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/rgmanager/src/resources/Makefile.am b/rgmanager/src/resources/Makefile.am
-index de88c69..30b3be9 100644
---- a/rgmanager/src/resources/Makefile.am
-+++ b/rgmanager/src/resources/Makefile.am
-@@ -68,7 +68,7 @@ rngdir			= ${CLUSTERDATA}/relaxng
- rng_DATA		= $(DTD) $(XSL) $(RESRNG)
- 
- $(TARGET):
--	cat [email protected] | sed \
-+	cat $(abs_srcdir)/[email protected] | sed \
- 		-e 's#@''LOGDIR@#${LOGDIR}#g' \
- 	> [email protected]
- 	chmod +x [email protected]
meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.5.0.bb renamed from meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.0.1.bb +6 -4
similarity index 91%
rename from meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.0.1.bb
rename to meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.5.0.bb
index ba00a80..83ef913 100644
@@ -14,16 +14,16 @@ LICENSE_${PN}-extra = "GPLv3"
 LICENSE_${PN}-extra-dbg = "GPLv3"
 LICENSE_ldirectord = "GPLv2+"
 
-SRC_URI = "https://codeload.github.com/ClusterLabs/resource-agents/tar.gz/v${PV};downloadfilename=${BPN}-${PV}.tar.gz \
+SRC_URI = "git://github.com/ClusterLabs/resource-agents \
            file://01-disable-doc-build.patch \
            file://02-set-OCF_ROOT_DIR-to-libdir-ocf.patch \
            file://03-fix-header-defs-lookup.patch \
            file://fix-install-sh-not-found.patch \
-           file://fs.sh-fix-builds-when-srcdir-and-builddir-are-sepera.patch \
           "
 
-SRC_URI[md5sum] = "8530431861e659d4ce2f04afcc4efc03"
-SRC_URI[sha256sum] = "863f83c724bad3a8bcff12b9c8712406c43e010041868826cad7b78fd8cfb9fb"
+SRCREV = "fee181320547365d7f8c88cca2b32801412b933d" 
+
+S="${WORKDIR}/git"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
                     file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \
@@ -47,6 +47,8 @@ inherit autotools systemd pkgconfig
 CACHED_CONFIGUREVARS += " \
     ac_cv_path_GREP=grep \
     ac_cv_path_TEST=test \
+    ac_cv_path_BASH_SHELL=/bin/bash \
+    ac_cv_path_PYTHON="/usr/bin/env python3" \
 "
 
 EXTRA_OECONF += "--disable-fatal-warnings \
Signature · 1 line
2.13.3
#8 lore raw

PATCH 9/20 monit: Lives in meta-oe now, remove

In reply to Jeremy Puhlman
---
 .../monit/files/enable-etc-monit.d-include.patch   |  9 ----
 meta-cgl-common/recipes-cgl/monit/files/init       | 42 ---------------
 meta-cgl-common/recipes-cgl/monit/monit_5.26.0.bb  | 59 ----------------------
 3 files changed, 110 deletions(-)
 delete mode 100644 meta-cgl-common/recipes-cgl/monit/files/enable-etc-monit.d-include.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/monit/files/init
 delete mode 100644 meta-cgl-common/recipes-cgl/monit/monit_5.26.0.bb
meta-cgl-common/recipes-cgl/monit/files/enable-etc-monit.d-include.patch deleted +0 -9
deleted file mode 100644
index 23971a1..0000000
@@ -1,9 +0,0 @@
---- a/monitrc	2014-03-27 13:27:21.000000000 +0100
-+++ b/monitrc	2014-03-31 13:12:49.515395387 +0200
-@@ -248,5 +248,5 @@
- ## It is possible to include additional configuration parts from other files or
- ## directories.
- #
--#  include /etc/monit.d/*
-+include /etc/monit.d/*
- #
meta-cgl-common/recipes-cgl/monit/files/init deleted +0 -42

42 lines not on this page · raw message

meta-cgl-common/recipes-cgl/monit/monit_5.26.0.bb deleted +0 -59

59 lines not on this page · raw message

Signature · 1 line
2.13.3
#9 lore raw

PATCH 10/20 core-image-cgl-*: Move to recipe directory

In reply to Jeremy Puhlman

* lsb content has been moved out to meta-lsb.
* Configure image to build with or with out lsb image present.
* Add warning about CGL compliance and lsb requirement and option to squelch warning.

---
 .../{ => recipes-core}/images/core-image-cgl-initramfs.bb      |  0
 meta-cgl-common/{ => recipes-core}/images/core-image-cgl.bb    | 10 +++++++++-
 2 files changed, 9 insertions(+), 1 deletion(-)
 rename meta-cgl-common/{ => recipes-core}/images/core-image-cgl-initramfs.bb (100%)
 rename meta-cgl-common/{ => recipes-core}/images/core-image-cgl.bb (54%)
meta-cgl-common/recipes-core/images/core-image-cgl-initramfs.bb renamed from meta-cgl-common/images/core-image-cgl-initramfs.bb +0 -0
similarity index 100%
rename from meta-cgl-common/images/core-image-cgl-initramfs.bb
rename to meta-cgl-common/recipes-core/images/core-image-cgl-initramfs.bb
meta-cgl-common/recipes-core/images/core-image-cgl.bb renamed from meta-cgl-common/images/core-image-cgl.bb +9 -1
similarity index 54%
rename from meta-cgl-common/images/core-image-cgl.bb
rename to meta-cgl-common/recipes-core/images/core-image-cgl.bb
index 86bf7d4..4a7d4f7 100644
@@ -1,6 +1,14 @@
-require recipes-extended/images/core-image-lsb.bb
+require ${@bb.utils.contains("BBFILE_COLLECTIONS", "lsb", "recipes-lsb/images/core-image-lsb.bb", "recipes-core/images/core-image-base.bb", d)}
 
 
+LSB_WARN ?= "1"
+python () {
+    lsb_warn = d.getVar("LSB_WARN")
+    if bb.utils.contains("BBFILE_COLLECTIONS", "lsb", "1", "0", d) == "0" and lsb_warn == "1":
+       bb.warn("CGL compliance requires lsb, and meta-lsb is not included.\n" + \
+               "To disable this warning set LSB_WARN='0'")
+}
+      
 VALGRIND ?= ""
 VALGRIND_powerpc ?= "valgrind"
 VALGRIND_e500v2 ?= ""
Signature · 1 line
2.13.3
#10 lore raw

PATCH 11/20 linux-yocto: Update the append for 5.x

In reply to Jeremy Puhlman
---
 .../linux/{linux-yocto_4.%.bbappend => linux-yocto_5.%.bbappend}          | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename meta-cgl-common/recipes-kernel/linux/{linux-yocto_4.%.bbappend => linux-yocto_5.%.bbappend} (100%)
meta-cgl-common/recipes-kernel/linux/linux-yocto_5.%.bbappend renamed from meta-cgl-common/recipes-kernel/linux/linux-yocto_4.%.bbappend +0 -0
similarity index 100%
rename from meta-cgl-common/recipes-kernel/linux/linux-yocto_4.%.bbappend
rename to meta-cgl-common/recipes-kernel/linux/linux-yocto_5.%.bbappend
Signature · 1 line
2.13.3
#11 lore raw

PATCH 12/20 libwww-perl: update to 6.43

In reply to Jeremy Puhlman

From: Jeremy Puhlman <[email protected]>

---
 .../recipes-perl/perl/{libwww-perl_6.36.bb => libwww-perl_6.43.bb}   | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta-cgl-common/recipes-perl/perl/{libwww-perl_6.36.bb => libwww-perl_6.43.bb} (66%)
meta-cgl-common/recipes-perl/perl/libwww-perl_6.43.bb renamed from meta-cgl-common/recipes-perl/perl/libwww-perl_6.36.bb +2 -3
similarity index 66%
rename from meta-cgl-common/recipes-perl/perl/libwww-perl_6.36.bb
rename to meta-cgl-common/recipes-perl/perl/libwww-perl_6.43.bb
index 816f4f8..07fadb7 100644
@@ -15,9 +15,8 @@ BBCLASSEXTEND = "native"
 
 PR = "r2"
 
-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.36.md5sum] = "20062717e4084d2f56d84c7ab4c91ec1"
-SRC_URI[libwww-perl-6.36.sha256sum] = "75c034ab4b37f4b9506dc644300697505582cf9545bcf2e2079e7263f675290a"
+SRC_URI = "https://cpan.metacpan.org/authors/id/O/OA/OALDERS/libwww-perl-${PV}.tar.gz;name=libwww-perl-${PV}"
+SRC_URI[libwww-perl-6.43.sha256sum] = "e9849d7ee6fd0e89cc999e63d7612c951afd6aeea6bc721b767870d9df4ac40d"
 
 S = "${WORKDIR}/libwww-perl-${PV}"
 
Signature · 1 line
2.13.3
#12 lore raw

PATCH 13/20 libsocket6-perl: update to 0.29

In reply to Jeremy Puhlman

From: Jeremy Puhlman <[email protected]>

* license checksum changed because they add more info above the license.

---
 .../perl/{libsocket6-perl_0.28.bb => libsocket6-perl_0.29.bb}      | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
 rename meta-cgl-common/recipes-perl/perl/{libsocket6-perl_0.28.bb => libsocket6-perl_0.29.bb} (72%)
meta-cgl-common/recipes-perl/perl/libsocket6-perl_0.29.bb renamed from meta-cgl-common/recipes-perl/perl/libsocket6-perl_0.28.bb +3 -4
similarity index 72%
rename from meta-cgl-common/recipes-perl/perl/libsocket6-perl_0.28.bb
rename to meta-cgl-common/recipes-perl/perl/libsocket6-perl_0.29.bb
index f76ff22..0d133c6 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=aa15b0e3744ac40eaada8738eccd24df"
+LIC_FILES_CHKSUM = "file://README;beginline=43;md5=b2bfcdf2de2e951c8e4ed544e942d8e1"
 PR = "r2"
 
 BBCLASSEXTEND = "native"
@@ -10,11 +10,10 @@ 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 = "https://cpan.metacpan.org/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"
+SRC_URI[socket6-perl-0.29.sha256sum] = "468915fa3a04dcf6574fc957eff495915e24569434970c91ee8e4e1459fc9114"
 
 S = "${WORKDIR}/Socket6-${PV}"
 
Signature · 1 line
2.13.3
#13 lore raw

PATCH 14/20 libmailtools-perl: update 2.21

In reply to Jeremy Puhlman

From: Jeremy Puhlman <[email protected]>

---
 .../perl/{libmailtools-perl_2.20.bb => libmailtools-perl_2.21.bb}    | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta-cgl-common/recipes-perl/perl/{libmailtools-perl_2.20.bb => libmailtools-perl_2.21.bb} (74%)
meta-cgl-common/recipes-perl/perl/libmailtools-perl_2.21.bb renamed from meta-cgl-common/recipes-perl/perl/libmailtools-perl_2.20.bb +2 -3
similarity index 74%
rename from meta-cgl-common/recipes-perl/perl/libmailtools-perl_2.20.bb
rename to meta-cgl-common/recipes-perl/perl/libmailtools-perl_2.21.bb
index dec7979..8bbbde5 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=641bd171b1aaabba1fc83ac0a98a2d30"
+LIC_FILES_CHKSUM = "file://lib/Mail/Mailer.pod;beginline=150;md5=641bd171b1aaabba1fc83ac0a98a2d30"
 DEPENDS = " \
 	libtest-pod-perl-native \
 	libtimedate-perl-native \
@@ -18,8 +18,7 @@ BBCLASSEXTEND = "native"
 PR = "r2"
 
 SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-${PV}.tar.gz"
-SRC_URI[md5sum] = "53e9d35256c3fd7cef0e4a24b15e9512"
-SRC_URI[sha256sum] = "f55606f7a9cc342ee9d5f996e2b6a4c0047e2ee47cd88c3250ecf0d0c5fb3196"
+SRC_URI[sha256sum] = "4ad9bd6826b6f03a2727332466b1b7d29890c8d99a32b4b3b0a8d926ee1a44cb"
 
 S = "${WORKDIR}/MailTools-${PV}"
 
Signature · 1 line
2.13.3
#14 lore raw

PATCH 15/20 crmsh: Update to 4.20

In reply to Jeremy Puhlman

From: Jeremy Puhlman <[email protected]>

---
 meta-cgl-common/recipes-cgl/crmsh/{crmsh_3.0.3.bb => crmsh_4.20.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-cgl-common/recipes-cgl/crmsh/{crmsh_3.0.3.bb => crmsh_4.20.bb} (84%)
meta-cgl-common/recipes-cgl/crmsh/crmsh_4.20.bb renamed from meta-cgl-common/recipes-cgl/crmsh/crmsh_3.0.3.bb +3 -3
similarity index 84%
rename from meta-cgl-common/recipes-cgl/crmsh/crmsh_3.0.3.bb
rename to meta-cgl-common/recipes-cgl/crmsh/crmsh_4.20.bb
index 6d2902c..0eb1e58 100644
@@ -14,13 +14,13 @@ DEPENDS = "asciidoc-native \
 RDEPENDS_${PN} = "pacemaker python-lxml gawk bash"
 
 S = "${WORKDIR}/git"
-SRC_URI = "git://github.com/ClusterLabs/${BPN}.git;branch=crmsh-3.0 \
+SRC_URI = "git://github.com/ClusterLabs/${BPN}.git \
            file://tweaks_for_build.patch \
           "
 
-SRCREV = "41845ca5511b844593cf25ae4eb7f307aa78c5be"
+SRCREV = "d10d2fbdd1b357500387bebb432c68e88748526b"
 
-inherit autotools-brokensep distutils3-base
+inherit autotools-brokensep setuptools3
 
 export HOST_SYS
 export BUILD_SYS
Signature · 1 line
2.13.3
#15 lore raw

PATCH 16/20 ocfs2-tools: update to 1.8.6

In reply to Jeremy Puhlman

* Drop patcehes moved upstream.
* Update license for address changes in document

---
 ...s2-use-sys-sysmacros.h-include-for-makede.patch | 47 ------------
 ...cfs2-fix-compile-error-when-glibc-upgrade.patch | 88 ----------------------
 .../{ocfs2-tools_1.8.5.bb => ocfs2-tools_1.8.6.bb} |  8 +-
 3 files changed, 3 insertions(+), 140 deletions(-)
 delete mode 100644 meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools/0001-mounted.ocfs2-use-sys-sysmacros.h-include-for-makede.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools/ocfs2-fix-compile-error-when-glibc-upgrade.patch
 rename meta-cgl-common/recipes-cgl/ocfs2-tools/{ocfs2-tools_1.8.5.bb => ocfs2-tools_1.8.6.bb} (93%)
meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools/0001-mounted.ocfs2-use-sys-sysmacros.h-include-for-makede.patch deleted +0 -47
deleted file mode 100644
index ddc43aa..0000000
@@ -1,47 +0,0 @@
-From 03be837c7d0b9be393ffb555879c49e6212fbd0f Mon Sep 17 00:00:00 2001
-From: Valentin Vidic <[email protected]>
-Date: Thu, 25 Jan 2018 13:05:27 +0100
-Subject: [PATCH] mounted.ocfs2: use <sys/sysmacros.h> include for makedev
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
- mounted.c: In function "build_partition_list":
- mounted.c:354:13: warning: In the GNU C Library, "makedev" is defined
-  by <sys/sysmacros.h>. For historical compatibility, it is
-  currently defined by <sys/types.h> as well, but we plan to
-  remove this soon. To use "makedev", include <sys/sysmacros.h>
-  directly. If you did not intend to use a system-defined macro
-  "makedev", you should undefine it after including <sys/types.h>.
-        makedev(major, minor), &devname);
-              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Fix the below error:
-/usr/src/debug/ocfs2-tools/1.8.5-r0/git/mounted.ocfs2/mounted.c:354: undefined reference to `makedev'
-collect2: error: ld returned 1 exit status
-Makefile:36: recipe for target 'mounted.ocfs2' failed
-make[1]: *** [mounted.ocfs2] Error 1
-
-Upstream-Status: Backport[https://github.com/markfasheh/ocfs2-tools/commit/03be837c7d0b9be393ffb555879c49e6212fbd0f]
-
-Signed-off-by: Mingli Yu <[email protected]>
----
- mounted.ocfs2/mounted.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/mounted.ocfs2/mounted.c b/mounted.ocfs2/mounted.c
-index 1576f902..090ab4ed 100644
---- a/mounted.ocfs2/mounted.c
-+++ b/mounted.ocfs2/mounted.c
-@@ -25,7 +25,7 @@
- #define _LARGEFILE64_SOURCE
- #define _GNU_SOURCE /* Because libc really doesn't want us using O_DIRECT? */
- 
--#include <sys/types.h>
-+#include <sys/sysmacros.h>
- #include <stdio.h>
- #include <unistd.h>
- #include <errno.h>
--- 
-2.17.1
-
meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools/ocfs2-fix-compile-error-when-glibc-upgrade.patch deleted +0 -88

88 lines not on this page · raw message

meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.6.bb renamed from meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.5.bb +3 -5
similarity index 93%
rename from meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.5.bb
rename to meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.6.bb
index a0376ec..bc0551b 100644
@@ -10,19 +10,17 @@ ext3."
 HOMEPAGE = "http://oss.oracle.com/projects/ocfs2-tools/"
 SECTION = "System Environment/Base"
 LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+LIC_FILES_CHKSUM = "file://COPYING;md5=8ef380476f642c20ebf40fecb0add2ec"
 
 SRC_URI = "git://github.com/markfasheh/ocfs2-tools \
     file://0003-vendor-common-o2cb.ocf-add-new-conf-file.patch \
-    file://ocfs2-fix-compile-error-when-glibc-upgrade.patch \
     file://ocfs2-tools-1.8.5-format-fortify.patch \
     file://no-redhat.patch \
     file://o2cb.service \
     file://ocfs2.service \
     file://0001-Fix-build-with-glibc-2.28.patch \
-    file://0001-mounted.ocfs2-use-sys-sysmacros.h-include-for-makede.patch \
 "
-SRCREV = "f1b4d073f08679f97b64b3eb88e586032f92a701"
+SRCREV = "4d76ceb4aa7aaa1fd595368089e99575d708f719"
 S = "${WORKDIR}/git"
 
 inherit autotools-brokensep pkgconfig systemd
@@ -35,7 +33,7 @@ DEPENDS = "corosync pacemaker \
 # lsbinitscripts are needed to replace /etc/init.d/functions supplied by initscripts (systemv)
 # They are not the same code!
 #
-RDEPENDS_${PN} = "bash coreutils net-tools module-init-tools e2fsprogs chkconfig glib-2.0 \
+RDEPENDS_${PN} = "bash coreutils net-tools module-init-tools e2fsprogs glib-2.0 \
                   ${@bb.utils.contains('DISTRO_FEATURES','systemd','lsbinitscripts','',d)}"
 
 ASNEEDED_pn-${PN} = ""
Signature · 1 line
2.13.3
#16 lore raw

PATCH 17/20 pacemaker: Update to 2.0.3

In reply to Jeremy Puhlman

Drop unneeded patches moving some in to metadata.
Fix up for building 2.0.3

---
 .../pacemaker/0001-pacemaker-fix-xml-config.patch  |  52 --------
 ...earch-header-from-STAGING_INCDIR-to-walka.patch |  37 ------
 .../0003-pacemaker-fix-header-defs-lookup.patch    |  27 ----
 .../0004-pacemaker-do-not-build-help.patch         |  27 ----
 ...o-not-execute-target-program-while-cross-.patch |  44 -------
 ...-Fix-definition-of-curses_indented_printf.patch |  30 +++++
 ...006-pacemaker-do-not-use-libgnutls-config.patch |  35 ------
 ...-Make-the-testing-infrastructure-optional.patch | 137 ---------------------
 .../pacemaker/set-OCF_ROOT_DIR-to-libdir-ocf.patch |  28 -----
 .../{pacemaker_1.1.21.bb => pacemaker_2.0.3.bb}    |  26 ++--
 10 files changed, 43 insertions(+), 400 deletions(-)
 delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0001-pacemaker-fix-xml-config.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0002-pacemaker-search-header-from-STAGING_INCDIR-to-walka.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0003-pacemaker-fix-header-defs-lookup.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0004-pacemaker-do-not-build-help.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0005-pacemaker-do-not-execute-target-program-while-cross-.patch
 create mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-Fix-tools-Fix-definition-of-curses_indented_printf.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-pacemaker-do-not-use-libgnutls-config.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0007-Make-the-testing-infrastructure-optional.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/set-OCF_ROOT_DIR-to-libdir-ocf.patch
 rename meta-cgl-common/recipes-cgl/pacemaker/{pacemaker_1.1.21.bb => pacemaker_2.0.3.bb} (82%)
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0001-pacemaker-fix-xml-config.patch deleted +0 -52
deleted file mode 100644
index 72c3a1e..0000000
@@ -1,52 +0,0 @@
-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 3bf1914..345caeb 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -555,7 +555,6 @@ AC_PATH_PROGS(TAR, tar)
- AC_PATH_PROGS(MD5, md5)
- AC_PATH_PROGS(TEST, test)
- 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)
- 
-@@ -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)
- 
--AC_MSG_CHECKING(for special libxml2 includes)
--if test "x$XML2CONFIG" = "x"; then
--   AC_MSG_ERROR(libxml2 config not found)
--else
--   XML2HEAD="`$XML2CONFIG --cflags`"
--   AC_MSG_RESULT($XML2HEAD)
--   AC_CHECK_LIB(xml2, xmlReadMemory)
--   AC_CHECK_LIB(xslt, xsltApplyStylesheet)
--fi
-+PKG_CHECK_MODULES([XML], [libxml-2.0])
-+PKG_CHECK_MODULES([XSLT], [libxslt])
-+
-+AC_CHECK_LIB(xml2, xmlReadMemory)
-+AC_CHECK_LIB(xslt, xsltApplyStylesheet)
- 
--CPPFLAGS="$CPPFLAGS $XML2HEAD"
-+CPPFLAGS="$CPPFLAGS $XML_CFLAGS"
- 
- AC_CHECK_HEADERS(libxml/xpath.h)
- AC_CHECK_HEADERS(libxslt/xslt.h)
--- 
-2.7.4
-
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0002-pacemaker-search-header-from-STAGING_INCDIR-to-walka.patch deleted +0 -37
deleted file mode 100644
index 83940d1..0000000
@@ -1,37 +0,0 @@
-From 844ec301031b0e6a3000c793906ba476f08a1e65 Mon Sep 17 00:00:00 2001
-From: Li xin <[email protected]>
-Date: Wed, 27 Dec 2017 05:20:45 +0000
-Subject: [PATCH] pacemaker: search header from STAGING_INCDIR to walkaround
- error
-
-** -I/usr/include/ is unsafe for cross-compilation
-
- ... ...
-
- ** This autoconf log indicates errors, it looked at host include and/or library paths
- ** while determining system capabilities
-
-Upstream-Status: pending
-
-Signed-off-by: Bian Naimeng <[email protected]>
-Signed-off-by: Li Xin <[email protected]>
-Signed-off-by: Mingli Yu <[email protected]>
-
----
- configure.ac | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/configure.ac b/configure.ac
-index 5e420f2..5d442a5 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -484,6 +484,9 @@ esac
- dnl Eventually remove this
- if test "$cross_compiling" != "yes"; then
-    CPPFLAGS="$CPPFLAGS -I${prefix}/include/heartbeat"
-+else
-+   CFLAGS="$CFLAGS -I${STAGING_INCDIR}/heartbeat"
-+   CPPFLAGS="$CPPFLAGS -I${STAGING_INCDIR}/heartbeat"
- fi
- 
- AC_SUBST(INIT_EXT)
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0003-pacemaker-fix-header-defs-lookup.patch deleted +0 -27
deleted file mode 100644
index 6dc4663..0000000
@@ -1,27 +0,0 @@
-From 9236fa746d43adb098c2946e72e8b29ffbc78865 Mon Sep 17 00:00:00 2001
-From: Bian Naimeng <[email protected]>
-Date: Fri, 3 Jul 2015 16:30:25 +0900
-Subject: [PATCH] pacemaker: fix header defs lookup
-
-Signed-off-by: Bian Naimeng <[email protected]>
-
----
- configure.ac | 5 ++---
- 1 file changed, 2 insertions(+), 3 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 5d442a5..1429b01 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -147,9 +147,8 @@ extract_header_define() {
- 	  Cfile=$srcdir/extract_define.$2.${$}
- 	  printf "#include <stdio.h>\n" > ${Cfile}.c
- 	  printf "#include <%s>\n" $1 >> ${Cfile}.c
--	  printf "int main(int argc, char **argv) { printf(\"%%s\", %s); return 0; }\n" $2 >> ${Cfile}.c
--	  $CC $CFLAGS ${Cfile}.c -o ${Cfile}
--	  value=`${Cfile}`
-+	  printf "\"%s\":%s\n" $2 $2 >> ${Cfile}.c
-+	  value=`$CC $CFLAGS -E ${Cfile}.c | grep \"$2\" | cut -f 2 -d ':' | sed 's,^",,' | sed 's,"$,,'`
- 	  AC_MSG_RESULT($value)
- 	  printf $value
- 	  rm -rf ${Cfile}.c ${Cfile} ${Cfile}.dSYM ${Cfile}.gcno
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0004-pacemaker-do-not-build-help.patch deleted +0 -27
deleted file mode 100644
index 4234fe5..0000000
@@ -1,27 +0,0 @@
-From cda171512fc8dc0aa385290e1f7644ff222e5f18 Mon Sep 17 00:00:00 2001
-From: Bian Naimeng <[email protected]>
-Date: Fri, 3 Jul 2015 17:27:52 +0900
-Subject: [PATCH] pacemaker: do not build help
-
-Signed-off-by: Bian Naimeng <[email protected]>
-
----
- configure.ac | 5 +----
- 1 file changed, 1 insertion(+), 4 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 1429b01..e930e33 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -574,10 +574,7 @@ if test x"${MAKE}" = x""; then
-    AC_MSG_ERROR(You need (g)make installed in order to build ${PACKAGE})
- fi
- 
--AM_CONDITIONAL(BUILD_HELP, test x"${HELP2MAN}" != x"")
--if test x"${HELP2MAN}" != x""; then
--   PCMK_FEATURES="$PCMK_FEATURES generated-manpages"
--fi
-+AM_CONDITIONAL(BUILD_HELP, test x"Do not build help" = x"")
- 
- MANPAGE_XSLT=""
- if test x"${XSLTPROC}" != x""; then
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0005-pacemaker-do-not-execute-target-program-while-cross-.patch deleted +0 -44

44 lines not on this page · raw message

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-Fix-tools-Fix-definition-of-curses_indented_printf.patch new file +30 -0
new file mode 100644
index 0000000..f5e1829
@@ -0,0 +1,30 @@
+From 426f06cc088d11d6db0c45b434e5ce6b69da78b4 Mon Sep 17 00:00:00 2001
+From: Chris Lumens <[email protected]>
+Date: Thu, 2 Jan 2020 15:08:58 -0500
+Subject: [PATCH 006/207] Fix: tools: Fix definition of curses_indented_printf.
+
+The placeholder version that is built if curses is not enabled does not
+have a type that matches the header file.  Correct that.
+
+Signed-off-by: Jeremy A. Puhlman <[email protected]>
+Upstream-Status: Backport[git]
+---
+ tools/crm_mon_curses.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tools/crm_mon_curses.c b/tools/crm_mon_curses.c
+index c0dbedbf0..ecd0584fe 100644
+--- a/tools/crm_mon_curses.c
++++ b/tools/crm_mon_curses.c
+@@ -368,7 +368,7 @@ curses_indented_vprintf(pcmk__output_t *out, const char *format, va_list args) {
+ 
+ G_GNUC_PRINTF(2, 3)
+ void
+-curses_indented_printf(pcmk__output_t *out, const char *format, va_list args) {
++curses_indented_printf(pcmk__output_t *out, const char *format, ...) {
+     return;
+ }
+ 
+-- 
+2.23.0
+
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-pacemaker-do-not-use-libgnutls-config.patch deleted +0 -35
deleted file mode 100644
index c1ffc86..0000000
@@ -1,35 +0,0 @@
-From 5148e0a7e3cd4293416b969f2c563faa6aca27b2 Mon Sep 17 00:00:00 2001
-From: Joe Slater <[email protected]>
-Date: Mon, 11 Mar 2013 15:47:54 -0700
-Subject: [PATCH] pacemaker: do not use libgnutls-config
-
-Do not try to use libgnutls-config when configuring.
-It has been deprecated and we do not supply it.  If a
-host version is found, bad things can happen.
-
-Upstream-Status: Inappropriate [OE specific]
-
-Signed-off-by: Joe Slater <[email protected]>
-Signed-off-by: Jackie Huang <[email protected]>
-
----
- configure.ac | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index e930e33..2eade3c 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1707,9 +1707,9 @@ dnl ========================================================================
- AC_CHECK_HEADERS(gnutls/gnutls.h)
- AC_CHECK_HEADERS(security/pam_appl.h pam/pam_appl.h)
- 
--dnl GNUTLS library: Attempt to determine by 'libgnutls-config' program.
--dnl If no 'libgnutls-config', try traditional autoconf means.
--AC_PATH_PROGS(LIBGNUTLS_CONFIG, libgnutls-config)
-+dnl libgnutls-config has been deprecated, so we use pkg-config
-+
-+LIBGNUTLS_CONFIG="pkg-config gnutls"
- 
- if test -n "$LIBGNUTLS_CONFIG"; then
- 	AC_MSG_CHECKING(for gnutls header flags)
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0007-Make-the-testing-infrastructure-optional.patch deleted +0 -137

137 lines not on this page · raw message

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/set-OCF_ROOT_DIR-to-libdir-ocf.patch deleted +0 -28
deleted file mode 100644
index 98c3475..0000000
@@ -1,28 +0,0 @@
-From 588800f0e2fe52a677a19b7c59636e9f391a6e75 Mon Sep 17 00:00:00 2001
-From: Mingli Yu <[email protected]>
-Date: Wed, 27 Dec 2017 07:14:21 +0000
-Subject: [PATCH] pacemaker: set OCF_ROOT_DIR to $libdir/ocf
-
-* Set the default OCF_ROOT_DIR to $libdir/ocf
-  to make the resource agents components more
-  compatible
-
-Signed-off-by: Mingli Yu <[email protected]>
-
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 2eade3c..ba290cc 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1152,7 +1152,7 @@ AC_SUBST(HA_VARLIBHBDIR)
- 
- AC_DEFINE_UNQUOTED(UUID_FILE,"$localstatedir/lib/heartbeat/hb_uuid", Location of Heartbeat's UUID file)
- 
--OCF_ROOT_DIR=`try_extract_header_define $GLUE_HEADER OCF_ROOT_DIR /usr/lib/ocf`
-+OCF_ROOT_DIR=`try_extract_header_define $GLUE_HEADER OCF_ROOT_DIR $libdir/ocf`
- if test "X$OCF_ROOT_DIR" = X; then
-   AC_MSG_ERROR(Could not locate OCF directory)
- fi
meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.3.bb renamed from meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.21.bb +13 -13
similarity index 82%
rename from meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.21.bb
rename to meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.3.bb
index 3a8db77..9b63acd 100644
@@ -13,24 +13,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=000212f361a81b100d9d0f0435040663"
 
 DEPENDS = "corosync libxslt libxml2 gnutls resource-agents libqb python3-native"
 
-SRC_URI = "git://github.com/ClusterLabs/${BPN}.git;branch=1.1 \
-           file://0001-pacemaker-fix-xml-config.patch \
-           file://0002-pacemaker-search-header-from-STAGING_INCDIR-to-walka.patch \
-           file://0003-pacemaker-fix-header-defs-lookup.patch \
-           file://0004-pacemaker-do-not-build-help.patch \
-           file://0005-pacemaker-do-not-execute-target-program-while-cross-.patch \
-           file://0006-pacemaker-do-not-use-libgnutls-config.patch \
-           file://set-OCF_ROOT_DIR-to-libdir-ocf.patch \
-           file://0007-Make-the-testing-infrastructure-optional.patch \
+SRC_URI = "git://github.com/ClusterLabs/${BPN}.git \
+           file://0006-Fix-tools-Fix-definition-of-curses_indented_printf.patch \
+           file://0001-Fix-python3-usage.patch \
            file://volatiles \
            file://tmpfiles \
           "
 
+CFLAGS += "-I${STAGING_INCDIR}/heartbeat"
+CPPFLAGS +="-I${STAGING_INCDIR}/heartbeat"
 SRC_URI_append_libc-musl = "file://0001-pacemaker-fix-compile-error-of-musl-libc.patch"
 
-SRCREV = "f14e36fd4336874705b34266c7cddbe12119106c"
+SRCREV = "4b1f869f0f64ef0d248b6aa4781d38ecccf83318"
 
-inherit autotools-brokensep pkgconfig systemd python3-dir useradd
+inherit autotools-brokensep pkgconfig systemd python3native python3-dir useradd
 
 S = "${WORKDIR}/git"
 
@@ -48,7 +44,11 @@ EXTRA_OECONF += "STAGING_INCDIR=${STAGING_INCDIR} \
                  --without-heartbeat \
                  --disable-pretty \
                  --disable-tests \
-                "
+                 "
+
+CACHED_CONFIGUREVARS += " \
+    ac_cv_path_BASH_PATH=/bin/bash \
+"
 
 do_install_append() {
     install -d ${D}${sysconfdir}/default
@@ -92,7 +92,7 @@ FILES_${PN} += " ${datadir}/snmp                             \
                  ${libdir}/corosync/lcrso/pacemaker.lcrso    \
                  ${libdir}/${PYTHON_DIR}/dist-packages/cts/  \
                  ${libdir}/ocf/resource.d/ \
-                 ${libdir}/${PYTHON_DIR}/site-packages \
+                 ${libdir}/${PYTHON_DIR}/site-packages/cts/ \
                "
 FILES_${PN}-dbg += "${libdir}/corosync/lcrso/.debug"
 RDEPENDS_${PN} = "bash python3-core perl libqb ${PN}-cli-utils"
Signature · 1 line
2.13.3
#17 lore raw

Re: [yocto] [meta-cgl][PATCH 17/20] pacemaker: Update to 2.0.3

file://0001-Fix-python3-usage.patch is missing, causing do_fetch failure.

Regards,
Chen Qi
________________________________
From: [email protected] <[email protected]> on behalf of Jeremy Puhlman <[email protected]>
Sent: Thursday, March 19, 2020 9:53
To: [email protected] <[email protected]>
Cc: Jeremy A. Puhlman <[email protected]>
Subject: [yocto] [meta-cgl][PATCH 17/20] pacemaker: Update to 2.0.3

Drop unneeded patches moving some in to metadata.
Fix up for building 2.0.3

---
 .../pacemaker/0001-pacemaker-fix-xml-config.patch  |  52 --------
 ...earch-header-from-STAGING_INCDIR-to-walka.patch |  37 ------
 .../0003-pacemaker-fix-header-defs-lookup.patch    |  27 ----
 .../0004-pacemaker-do-not-build-help.patch         |  27 ----
 ...o-not-execute-target-program-while-cross-.patch |  44 -------
 ...-Fix-definition-of-curses_indented_printf.patch |  30 +++++
 ...006-pacemaker-do-not-use-libgnutls-config.patch |  35 ------
 ...-Make-the-testing-infrastructure-optional.patch | 137 ---------------------
 .../pacemaker/set-OCF_ROOT_DIR-to-libdir-ocf.patch |  28 -----
 .../{pacemaker_1.1.21.bb => pacemaker_2.0.3.bb}    |  26 ++--
 10 files changed, 43 insertions(+), 400 deletions(-)
 delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0001-pacemaker-fix-xml-config.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0002-pacemaker-search-header-from-STAGING_INCDIR-to-walka.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0003-pacemaker-fix-header-defs-lookup.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0004-pacemaker-do-not-build-help.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0005-pacemaker-do-not-execute-target-program-while-cross-.patch
 create mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-Fix-tools-Fix-definition-of-curses_indented_printf.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-pacemaker-do-not-use-libgnutls-config.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0007-Make-the-testing-infrastructure-optional.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/set-OCF_ROOT_DIR-to-libdir-ocf.patch
 rename meta-cgl-common/recipes-cgl/pacemaker/{pacemaker_1.1.21.bb => pacemaker_2.0.3.bb} (82%)
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0001-pacemaker-fix-xml-config.patch deleted +0 -52
deleted file mode 100644
index 72c3a1e..0000000
@@ -1,52 +0,0 @@
-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 3bf1914..345caeb 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -555,7 +555,6 @@ AC_PATH_PROGS(TAR, tar)
- AC_PATH_PROGS(MD5, md5)
- AC_PATH_PROGS(TEST, test)
- 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)
-
-@@ -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)
-
--AC_MSG_CHECKING(for special libxml2 includes)
--if test "x$XML2CONFIG" = "x"; then
--   AC_MSG_ERROR(libxml2 config not found)
--else
--   XML2HEAD="`$XML2CONFIG --cflags`"
--   AC_MSG_RESULT($XML2HEAD)
--   AC_CHECK_LIB(xml2, xmlReadMemory)
--   AC_CHECK_LIB(xslt, xsltApplyStylesheet)
--fi
-+PKG_CHECK_MODULES([XML], [libxml-2.0])
-+PKG_CHECK_MODULES([XSLT], [libxslt])
-+
-+AC_CHECK_LIB(xml2, xmlReadMemory)
-+AC_CHECK_LIB(xslt, xsltApplyStylesheet)
-
--CPPFLAGS="$CPPFLAGS $XML2HEAD"
-+CPPFLAGS="$CPPFLAGS $XML_CFLAGS"
-
- AC_CHECK_HEADERS(libxml/xpath.h)
- AC_CHECK_HEADERS(libxslt/xslt.h)
---
-2.7.4
-
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0002-pacemaker-search-header-from-STAGING_INCDIR-to-walka.patch deleted +0 -37
deleted file mode 100644
index 83940d1..0000000
@@ -1,37 +0,0 @@
-From 844ec301031b0e6a3000c793906ba476f08a1e65 Mon Sep 17 00:00:00 2001
-From: Li xin <[email protected]>
-Date: Wed, 27 Dec 2017 05:20:45 +0000
-Subject: [PATCH] pacemaker: search header from STAGING_INCDIR to walkaround
- error
-
-** -I/usr/include/ is unsafe for cross-compilation
-
- ... ...
-
- ** This autoconf log indicates errors, it looked at host include and/or library paths
- ** while determining system capabilities
-
-Upstream-Status: pending
-
-Signed-off-by: Bian Naimeng <[email protected]>
-Signed-off-by: Li Xin <[email protected]>
-Signed-off-by: Mingli Yu <[email protected]>
-
----
- configure.ac | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/configure.ac b/configure.ac
-index 5e420f2..5d442a5 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -484,6 +484,9 @@ esac
- dnl Eventually remove this
- if test "$cross_compiling" != "yes"; then
-    CPPFLAGS="$CPPFLAGS -I${prefix}/include/heartbeat"
-+else
-+   CFLAGS="$CFLAGS -I${STAGING_INCDIR}/heartbeat"
-+   CPPFLAGS="$CPPFLAGS -I${STAGING_INCDIR}/heartbeat"
- fi
-
- AC_SUBST(INIT_EXT)
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0003-pacemaker-fix-header-defs-lookup.patch deleted +0 -27
deleted file mode 100644
index 6dc4663..0000000
@@ -1,27 +0,0 @@
-From 9236fa746d43adb098c2946e72e8b29ffbc78865 Mon Sep 17 00:00:00 2001
-From: Bian Naimeng <[email protected]>
-Date: Fri, 3 Jul 2015 16:30:25 +0900
-Subject: [PATCH] pacemaker: fix header defs lookup
-
-Signed-off-by: Bian Naimeng <[email protected]>
-
----
- configure.ac | 5 ++---
- 1 file changed, 2 insertions(+), 3 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 5d442a5..1429b01 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -147,9 +147,8 @@ extract_header_define() {
-          Cfile=$srcdir/extract_define.$2.${$}
-          printf "#include <stdio.h>\n" > ${Cfile}.c
-          printf "#include <%s>\n" $1 >> ${Cfile}.c
--        printf "int main(int argc, char **argv) { printf(\"%%s\", %s); return 0; }\n" $2 >> ${Cfile}.c
--        $CC $CFLAGS ${Cfile}.c -o ${Cfile}
--        value=`${Cfile}`
-+        printf "\"%s\":%s\n" $2 $2 >> ${Cfile}.c
-+        value=`$CC $CFLAGS -E ${Cfile}.c | grep \"$2\" | cut -f 2 -d ':' | sed 's,^",,' | sed 's,"$,,'`
-          AC_MSG_RESULT($value)
-          printf $value
-          rm -rf ${Cfile}.c ${Cfile} ${Cfile}.dSYM ${Cfile}.gcno
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0004-pacemaker-do-not-build-help.patch deleted +0 -27
deleted file mode 100644
index 4234fe5..0000000
@@ -1,27 +0,0 @@
-From cda171512fc8dc0aa385290e1f7644ff222e5f18 Mon Sep 17 00:00:00 2001
-From: Bian Naimeng <[email protected]>
-Date: Fri, 3 Jul 2015 17:27:52 +0900
-Subject: [PATCH] pacemaker: do not build help
-
-Signed-off-by: Bian Naimeng <[email protected]>
-
----
- configure.ac | 5 +----
- 1 file changed, 1 insertion(+), 4 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 1429b01..e930e33 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -574,10 +574,7 @@ if test x"${MAKE}" = x""; then
-    AC_MSG_ERROR(You need (g)make installed in order to build ${PACKAGE})
- fi
-
--AM_CONDITIONAL(BUILD_HELP, test x"${HELP2MAN}" != x"")
--if test x"${HELP2MAN}" != x""; then
--   PCMK_FEATURES="$PCMK_FEATURES generated-manpages"
--fi
-+AM_CONDITIONAL(BUILD_HELP, test x"Do not build help" = x"")
-
- MANPAGE_XSLT=""
- if test x"${XSLTPROC}" != x""; then
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0005-pacemaker-do-not-execute-target-program-while-cross-.patch deleted +0 -44

44 lines not on this page · raw message

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-Fix-tools-Fix-definition-of-curses_indented_printf.patch new file +30 -0
new file mode 100644
index 0000000..f5e1829
@@ -0,0 +1,30 @@
+From 426f06cc088d11d6db0c45b434e5ce6b69da78b4 Mon Sep 17 00:00:00 2001
+From: Chris Lumens <[email protected]>
+Date: Thu, 2 Jan 2020 15:08:58 -0500
+Subject: [PATCH 006/207] Fix: tools: Fix definition of curses_indented_printf.
+
+The placeholder version that is built if curses is not enabled does not
+have a type that matches the header file.  Correct that.
+
+Signed-off-by: Jeremy A. Puhlman <[email protected]>
+Upstream-Status: Backport[git]
+---
+ tools/crm_mon_curses.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tools/crm_mon_curses.c b/tools/crm_mon_curses.c
+index c0dbedbf0..ecd0584fe 100644
+--- a/tools/crm_mon_curses.c
++++ b/tools/crm_mon_curses.c
+@@ -368,7 +368,7 @@ curses_indented_vprintf(pcmk__output_t *out, const char *format, va_list args) {
+
+ G_GNUC_PRINTF(2, 3)
+ void
+-curses_indented_printf(pcmk__output_t *out, const char *format, va_list args) {
++curses_indented_printf(pcmk__output_t *out, const char *format, ...) {
+     return;
+ }
+
+--
+2.23.0
+
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-pacemaker-do-not-use-libgnutls-config.patch deleted +0 -35
deleted file mode 100644
index c1ffc86..0000000
@@ -1,35 +0,0 @@
-From 5148e0a7e3cd4293416b969f2c563faa6aca27b2 Mon Sep 17 00:00:00 2001
-From: Joe Slater <[email protected]>
-Date: Mon, 11 Mar 2013 15:47:54 -0700
-Subject: [PATCH] pacemaker: do not use libgnutls-config
-
-Do not try to use libgnutls-config when configuring.
-It has been deprecated and we do not supply it.  If a
-host version is found, bad things can happen.
-
-Upstream-Status: Inappropriate [OE specific]
-
-Signed-off-by: Joe Slater <[email protected]>
-Signed-off-by: Jackie Huang <[email protected]>
-
----
- configure.ac | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index e930e33..2eade3c 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1707,9 +1707,9 @@ dnl ========================================================================
- AC_CHECK_HEADERS(gnutls/gnutls.h)
- AC_CHECK_HEADERS(security/pam_appl.h pam/pam_appl.h)
-
--dnl GNUTLS library: Attempt to determine by 'libgnutls-config' program.
--dnl If no 'libgnutls-config', try traditional autoconf means.
--AC_PATH_PROGS(LIBGNUTLS_CONFIG, libgnutls-config)
-+dnl libgnutls-config has been deprecated, so we use pkg-config
-+
-+LIBGNUTLS_CONFIG="pkg-config gnutls"
-
- if test -n "$LIBGNUTLS_CONFIG"; then
-        AC_MSG_CHECKING(for gnutls header flags)
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0007-Make-the-testing-infrastructure-optional.patch deleted +0 -137

137 lines not on this page · raw message

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/set-OCF_ROOT_DIR-to-libdir-ocf.patch deleted +0 -28
deleted file mode 100644
index 98c3475..0000000
@@ -1,28 +0,0 @@
-From 588800f0e2fe52a677a19b7c59636e9f391a6e75 Mon Sep 17 00:00:00 2001
-From: Mingli Yu <[email protected]>
-Date: Wed, 27 Dec 2017 07:14:21 +0000
-Subject: [PATCH] pacemaker: set OCF_ROOT_DIR to $libdir/ocf
-
-* Set the default OCF_ROOT_DIR to $libdir/ocf
-  to make the resource agents components more
-  compatible
-
-Signed-off-by: Mingli Yu <[email protected]>
-
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 2eade3c..ba290cc 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1152,7 +1152,7 @@ AC_SUBST(HA_VARLIBHBDIR)
-
- AC_DEFINE_UNQUOTED(UUID_FILE,"$localstatedir/lib/heartbeat/hb_uuid", Location of Heartbeat's UUID file)
-
--OCF_ROOT_DIR=`try_extract_header_define $GLUE_HEADER OCF_ROOT_DIR /usr/lib/ocf`
-+OCF_ROOT_DIR=`try_extract_header_define $GLUE_HEADER OCF_ROOT_DIR $libdir/ocf`
- if test "X$OCF_ROOT_DIR" = X; then
-   AC_MSG_ERROR(Could not locate OCF directory)
- fi
meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.3.bb renamed from meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.21.bb +13 -13
similarity index 82%
rename from meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.21.bb
rename to meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.3.bb
index 3a8db77..9b63acd 100644
@@ -13,24 +13,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=000212f361a81b100d9d0f0435040663"
 
 DEPENDS = "corosync libxslt libxml2 gnutls resource-agents libqb python3-native"
 
-SRC_URI = "git://github.com/ClusterLabs/${BPN}.git;branch=1.1 \
-           file://0001-pacemaker-fix-xml-config.patch \
-           file://0002-pacemaker-search-header-from-STAGING_INCDIR-to-walka.patch \
-           file://0003-pacemaker-fix-header-defs-lookup.patch \
-           file://0004-pacemaker-do-not-build-help.patch \
-           file://0005-pacemaker-do-not-execute-target-program-while-cross-.patch \
-           file://0006-pacemaker-do-not-use-libgnutls-config.patch \
-           file://set-OCF_ROOT_DIR-to-libdir-ocf.patch \
-           file://0007-Make-the-testing-infrastructure-optional.patch \
+SRC_URI = "git://github.com/ClusterLabs/${BPN}.git \
+           file://0006-Fix-tools-Fix-definition-of-curses_indented_printf.patch \
+           file://0001-Fix-python3-usage.patch \
            file://volatiles \
            file://tmpfiles \
           "
 
+CFLAGS += "-I${STAGING_INCDIR}/heartbeat"
+CPPFLAGS +="-I${STAGING_INCDIR}/heartbeat"
 SRC_URI_append_libc-musl = "file://0001-pacemaker-fix-compile-error-of-musl-libc.patch"
 
-SRCREV = "f14e36fd4336874705b34266c7cddbe12119106c"
+SRCREV = "4b1f869f0f64ef0d248b6aa4781d38ecccf83318"
 
-inherit autotools-brokensep pkgconfig systemd python3-dir useradd
+inherit autotools-brokensep pkgconfig systemd python3native python3-dir useradd
 
 S = "${WORKDIR}/git"
 
@@ -48,7 +44,11 @@ EXTRA_OECONF += "STAGING_INCDIR=${STAGING_INCDIR} \
                  --without-heartbeat \
                  --disable-pretty \
                  --disable-tests \
-                "
+                 "
+
+CACHED_CONFIGUREVARS += " \
+    ac_cv_path_BASH_PATH=/bin/bash \
+"
 
 do_install_append() {
     install -d ${D}${sysconfdir}/default
@@ -92,7 +92,7 @@ FILES_${PN} += " ${datadir}/snmp                             \
                  ${libdir}/corosync/lcrso/pacemaker.lcrso    \
                  ${libdir}/${PYTHON_DIR}/dist-packages/cts/  \
                  ${libdir}/ocf/resource.d/ \
-                 ${libdir}/${PYTHON_DIR}/site-packages \
+                 ${libdir}/${PYTHON_DIR}/site-packages/cts/ \
                "
 FILES_${PN}-dbg += "${libdir}/corosync/lcrso/.debug"
 RDEPENDS_${PN} = "bash python3-core perl libqb ${PN}-cli-utils"

--
2.13.3

#18 lore raw

Re: [yocto] [meta-cgl][PATCH 17/20] pacemaker: Update to 2.0.3

I just shot a mail to the list with the missing patch.

Quoted 613 lines · Qi

file://0001-Fix-python3-usage.patch is missing, causing do_fetch failure.

Regards,
Chen Qi
------------------------------------------------------------------------
*From:* [email protected] <[email protected]> on behalf of Jeremy Puhlman <[email protected]> *Sent:* Thursday, March 19, 2020 9:53
*To:* [email protected] <[email protected]>
*Cc:* Jeremy A. Puhlman <[email protected]>
*Subject:* [yocto] [meta-cgl][PATCH 17/20] pacemaker: Update to 2.0.3
Drop unneeded patches moving some in to metadata.
Fix up for building 2.0.3

---
 .../pacemaker/0001-pacemaker-fix-xml-config.patch  |  52 -------- ...earch-header-from-STAGING_INCDIR-to-walka.patch |  37 ------ .../0003-pacemaker-fix-header-defs-lookup.patch    |  27 ---- .../0004-pacemaker-do-not-build-help.patch         |  27 ----

 ...o-not-execute-target-program-while-cross-.patch |  44 -------
 ...-Fix-definition-of-curses_indented_printf.patch |  30 +++++
 ...006-pacemaker-do-not-use-libgnutls-config.patch |  35 ------
 ...-Make-the-testing-infrastructure-optional.patch | 137 
---------------------
 .../pacemaker/set-OCF_ROOT_DIR-to-libdir-ocf.patch |  28 -----
 .../{pacemaker_1.1.21.bb => pacemaker_2.0.3.bb}    | 26 ++--
 10 files changed, 43 insertions(+), 400 deletions(-)

 delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0001-pacemaker-fix-xml-config.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0002-pacemaker-search-header-from-STAGING_INCDIR-to-walka.patch delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0003-pacemaker-fix-header-defs-lookup.patch delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0004-pacemaker-do-not-build-help.patch delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0005-pacemaker-do-not-execute-target-program-while-cross-.patch create mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-Fix-tools-Fix-definition-of-curses_indented_printf.patch delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-pacemaker-do-not-use-libgnutls-config.patch delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0007-Make-the-testing-infrastructure-optional.patch delete mode 100644 meta-cgl-common/recipes-cgl/pacemaker/pacemaker/set-OCF_ROOT_DIR-to-libdir-ocf.patch rename meta-cgl-common/recipes-cgl/pacemaker/{pacemaker_1.1.21.bb => pacemaker_2.0.3.bb} (82%)

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0001-pacemaker-fix-xml-config.patch deleted +0 -1
deleted file mode 100644
index 72c3a1e..0000000
--- 

a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0001-pacemaker-fix-xml-config.patch +++ /dev/null

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0001-pacemaker-fix-xml-config.patch deleted +0 -52
@@ -1,52 +0,0 @@
-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 3bf1914..345caeb 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -555,7 +555,6 @@ AC_PATH_PROGS(TAR, tar)
- AC_PATH_PROGS(MD5, md5)
- AC_PATH_PROGS(TEST, test)
- 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)
-
-@@ -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)
-
--AC_MSG_CHECKING(for special libxml2 includes)
--if test "x$XML2CONFIG" = "x"; then
--   AC_MSG_ERROR(libxml2 config not found)
--else
--   XML2HEAD="`$XML2CONFIG --cflags`"
--   AC_MSG_RESULT($XML2HEAD)
--   AC_CHECK_LIB(xml2, xmlReadMemory)
--   AC_CHECK_LIB(xslt, xsltApplyStylesheet)
--fi
-+PKG_CHECK_MODULES([XML], [libxml-2.0])
-+PKG_CHECK_MODULES([XSLT], [libxslt])
-+
-+AC_CHECK_LIB(xml2, xmlReadMemory)
-+AC_CHECK_LIB(xslt, xsltApplyStylesheet)
-
--CPPFLAGS="$CPPFLAGS $XML2HEAD"
-+CPPFLAGS="$CPPFLAGS $XML_CFLAGS"
-
- AC_CHECK_HEADERS(libxml/xpath.h)
- AC_CHECK_HEADERS(libxslt/xslt.h)
---
-2.7.4
-
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0002-pacemaker-search-header-from-STAGING_INCDIR-to-walka.patch deleted +0 -1
deleted file mode 100644
index 83940d1..0000000
--- 

a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0002-pacemaker-search-header-from-STAGING_INCDIR-to-walka.patch +++ /dev/null

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0002-pacemaker-search-header-from-STAGING_INCDIR-to-walka.patch deleted +0 -4
@@ -1,37 +0,0 @@
-From 844ec301031b0e6a3000c793906ba476f08a1e65 Mon Sep 17 00:00:00 2001
-From: Li xin <[email protected]>
-Date: Wed, 27 Dec 2017 05:20:45 +0000
-Subject: [PATCH] pacemaker: search header from STAGING_INCDIR to 

walkaround
- error

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0002-pacemaker-search-header-from-STAGING_INCDIR-to-walka.patch deleted +0 -6
-
-** -I/usr/include/ is unsafe for cross-compilation
-
- ... ...
-
- ** This autoconf log indicates errors, it looked at host include 

and/or library paths
- ** while determining system capabilities

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0002-pacemaker-search-header-from-STAGING_INCDIR-to-walka.patch deleted +0 -25
-
-Upstream-Status: pending
-
-Signed-off-by: Bian Naimeng <[email protected]>
-Signed-off-by: Li Xin <[email protected]>
-Signed-off-by: Mingli Yu <[email protected]>
-
----
- configure.ac | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/configure.ac b/configure.ac
-index 5e420f2..5d442a5 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -484,6 +484,9 @@ esac
- dnl Eventually remove this
- if test "$cross_compiling" != "yes"; then
-    CPPFLAGS="$CPPFLAGS -I${prefix}/include/heartbeat"
-+else
-+   CFLAGS="$CFLAGS -I${STAGING_INCDIR}/heartbeat"
-+   CPPFLAGS="$CPPFLAGS -I${STAGING_INCDIR}/heartbeat"
- fi
-
- AC_SUBST(INIT_EXT)
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0003-pacemaker-fix-header-defs-lookup.patch deleted +0 -1
deleted file mode 100644
index 6dc4663..0000000
--- 

a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0003-pacemaker-fix-header-defs-lookup.patch +++ /dev/null

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0003-pacemaker-fix-header-defs-lookup.patch deleted +0 -20
@@ -1,27 +0,0 @@
-From 9236fa746d43adb098c2946e72e8b29ffbc78865 Mon Sep 17 00:00:00 2001
-From: Bian Naimeng <[email protected]>
-Date: Fri, 3 Jul 2015 16:30:25 +0900
-Subject: [PATCH] pacemaker: fix header defs lookup
-
-Signed-off-by: Bian Naimeng <[email protected]>
-
----
- configure.ac | 5 ++---
- 1 file changed, 2 insertions(+), 3 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 5d442a5..1429b01 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -147,9 +147,8 @@ extract_header_define() {
-          Cfile=$srcdir/extract_define.$2.${$}
-          printf "#include <stdio.h>\n" > ${Cfile}.c
-          printf "#include <%s>\n" $1 >> ${Cfile}.c
--        printf "int main(int argc, char **argv) { printf(\"%%s\", 

%s); return 0; }\n" $2 >> ${Cfile}.c
--        $CC $CFLAGS ${Cfile}.c -o ${Cfile}
--        value=${Cfile}
-+        printf "\"%s\":%s\n" $2 $2 >> ${Cfile}.c
-+        value=$CC $CFLAGS -E ${Cfile}.c | grep \"$2\" | cut -f 2 -d ':' | sed 's,^",,' | sed 's,"$,,'
-          AC_MSG_RESULT($value)
-          printf $value
-          rm -rf ${Cfile}.c ${Cfile} ${Cfile}.dSYM ${Cfile}.gcno

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0004-pacemaker-do-not-build-help.patch deleted +0 -1
deleted file mode 100644
index 4234fe5..0000000
--- 

a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0004-pacemaker-do-not-build-help.patch +++ /dev/null

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0004-pacemaker-do-not-build-help.patch deleted +0 -27
@@ -1,27 +0,0 @@
-From cda171512fc8dc0aa385290e1f7644ff222e5f18 Mon Sep 17 00:00:00 2001
-From: Bian Naimeng <[email protected]>
-Date: Fri, 3 Jul 2015 17:27:52 +0900
-Subject: [PATCH] pacemaker: do not build help
-
-Signed-off-by: Bian Naimeng <[email protected]>
-
----
- configure.ac | 5 +----
- 1 file changed, 1 insertion(+), 4 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 1429b01..e930e33 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -574,10 +574,7 @@ if test x"${MAKE}" = x""; then
-    AC_MSG_ERROR(You need (g)make installed in order to build ${PACKAGE})
- fi
-
--AM_CONDITIONAL(BUILD_HELP, test x"${HELP2MAN}" != x"")
--if test x"${HELP2MAN}" != x""; then
--   PCMK_FEATURES="$PCMK_FEATURES generated-manpages"
--fi
-+AM_CONDITIONAL(BUILD_HELP, test x"Do not build help" = x"")
-
- MANPAGE_XSLT=""
- if test x"${XSLTPROC}" != x""; then
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0005-pacemaker-do-not-execute-target-program-while-cross-.patch deleted +0 -1
deleted file mode 100644
index b600fec..0000000
--- 

a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0005-pacemaker-do-not-execute-target-program-while-cross-.patch +++ /dev/null

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0005-pacemaker-do-not-execute-target-program-while-cross-.patch deleted +0 -4
@@ -1,44 +0,0 @@
-From 6d59090df5856d32163f256912ddf1c897590447 Mon Sep 17 00:00:00 2001
-From: Changqing Li <[email protected]>
-Date: Wed, 21 Aug 2019 13:12:13 +0800
-Subject: [PATCH] pacemaker: do not execute target program while cross 

compile

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0005-pacemaker-do-not-execute-target-program-while-cross-.patch deleted +0 -22
-
-Signed-off-by: Bian Naimeng <[email protected]>
-
-refresh patch to new version 1.1.21
-Signed-off-by: Changqing Li <[email protected]>
----
- Makefile.common | 8 +++++---
- 1 file changed, 5 insertions(+), 3 deletions(-)
-
-diff --git a/Makefile.common b/Makefile.common
-index 469417f..9f19a53 100644
---- a/Makefile.common
-+++ b/Makefile.common
-@@ -36,18 +36,20 @@ if BUILD_HELP
- man8_MANS             = $(sbin_PROGRAMS:%=%.8) $(sbin_SCRIPTS:%=%.8)
- endif
-
-++man7_MANS              =
-+
- %.8:  % $(MAN8DEPS)
-        chmod a+x $(abs_builddir)/$<
-        $(AM_V_MAN)PATH=$(abs_builddir):$$PATH $(HELP2MAN) --output 

$@ --no-info --section 8 --name "Part of the Pacemaker cluster resource manager" $(abs_builddir)/$<

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0005-pacemaker-do-not-execute-target-program-while-cross-.patch deleted +0 -7
-
- %.xml:  %
--      $(AM_V_GEN)$(abs_builddir)/$< metadata > $@
-+        @echo "xml for $<: Do not try to execute target program here"
-
- %.dbook: %.xml
--      $(AM_V_XSL)$(XSLTPROC) --nonet --novalid --stringparam 

man.name $* $(DBOOK_OPTS) $(top_srcdir)/xml/ocf-meta2man.xsl $(abs_builddir)/$< > $(abs_builddir)/$@ -+        @echo "dbook for $<: Do not try to execute target program here"
-
- %.7:  %.dbook
--      $(AM_V_XSL)$(XSLTPROC) $(MANPAGE_XSLT) $(abs_builddir)/$<
$(PCMK_quiet)
-+        @echo "man7 for $<: Do not try to execute target program here"

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0005-pacemaker-do-not-execute-target-program-while-cross-.patch deleted +0 -6
-
- # Build docbook from asciidoc because XML is a PITA to edit
- #
---
-2.7.4
-
(quoted diff) +0 -0
new file mode 100644
index 0000000..f5e1829

b/meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-Fix-tools-Fix-definition-of-curses_indented_printf.patch

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-Fix-tools-Fix-definition-of-curses_indented_printf.patch new file +4 -0
@@ -0,0 +1,30 @@
+From 426f06cc088d11d6db0c45b434e5ce6b69da78b4 Mon Sep 17 00:00:00 2001
+From: Chris Lumens <[email protected]>
+Date: Thu, 2 Jan 2020 15:08:58 -0500
+Subject: [PATCH 006/207] Fix: tools: Fix definition of 

curses_indented_printf.

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-Fix-tools-Fix-definition-of-curses_indented_printf.patch new file +15 -0
+
+The placeholder version that is built if curses is not enabled does not
+have a type that matches the header file.  Correct that.
+
+Signed-off-by: Jeremy A. Puhlman <[email protected]>
+Upstream-Status: Backport[git]
+---
+ tools/crm_mon_curses.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tools/crm_mon_curses.c b/tools/crm_mon_curses.c
+index c0dbedbf0..ecd0584fe 100644
+--- a/tools/crm_mon_curses.c
++++ b/tools/crm_mon_curses.c
+@@ -368,7 +368,7 @@ curses_indented_vprintf(pcmk__output_t *out, 

const char *format, va_list args) {
+
+ G_GNUC_PRINTF(2, 3)
+ void
+-curses_indented_printf(pcmk__output_t *out, const char *format, va_list args) {
++curses_indented_printf(pcmk__output_t *out, const char *format, ...) { +     return;
+ }

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-Fix-tools-Fix-definition-of-curses_indented_printf.patch new file +4 -0
+
+--
+2.23.0
+
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-pacemaker-do-not-use-libgnutls-config.patch deleted +0 -1
deleted file mode 100644
index c1ffc86..0000000
--- 

a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-pacemaker-do-not-use-libgnutls-config.patch +++ /dev/null

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-pacemaker-do-not-use-libgnutls-config.patch deleted +0 -23
@@ -1,35 +0,0 @@
-From 5148e0a7e3cd4293416b969f2c563faa6aca27b2 Mon Sep 17 00:00:00 2001
-From: Joe Slater <[email protected]>
-Date: Mon, 11 Mar 2013 15:47:54 -0700
-Subject: [PATCH] pacemaker: do not use libgnutls-config
-
-Do not try to use libgnutls-config when configuring.
-It has been deprecated and we do not supply it.  If a
-host version is found, bad things can happen.
-
-Upstream-Status: Inappropriate [OE specific]
-
-Signed-off-by: Joe Slater <[email protected]>
-Signed-off-by: Jackie Huang <[email protected]>
-
----
- configure.ac | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index e930e33..2eade3c 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1707,9 +1707,9 @@ dnl 

========================================================================
- AC_CHECK_HEADERS(gnutls/gnutls.h)
- AC_CHECK_HEADERS(security/pam_appl.h pam/pam_appl.h)

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0006-pacemaker-do-not-use-libgnutls-config.patch deleted +0 -10
-
--dnl GNUTLS library: Attempt to determine by 'libgnutls-config' program.
--dnl If no 'libgnutls-config', try traditional autoconf means.
--AC_PATH_PROGS(LIBGNUTLS_CONFIG, libgnutls-config)
-+dnl libgnutls-config has been deprecated, so we use pkg-config
-+
-+LIBGNUTLS_CONFIG="pkg-config gnutls"
-
- if test -n "$LIBGNUTLS_CONFIG"; then
-        AC_MSG_CHECKING(for gnutls header flags)
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0007-Make-the-testing-infrastructure-optional.patch deleted +0 -1
deleted file mode 100644
index 3417aae..0000000
--- 

a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0007-Make-the-testing-infrastructure-optional.patch +++ /dev/null

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0007-Make-the-testing-infrastructure-optional.patch deleted +0 -17
@@ -1,137 +0,0 @@
-From 8a7c861e746ef13a2ffe74388891d7ea5709614b Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ferenc=20W=C3=A1gner?= <[email protected]>
-Date: Thu, 29 Sep 2016 10:47:49 +0200
-Subject: [PATCH] Make the testing infrastructure optional
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Upstream does not want this option, unfortunately.
-https://github.com/ClusterLabs/pacemaker/pull/1149
-
-Signed-off-by: Ferenc Wágner <[email protected]>
-
-It does not install test case by default
-Backport the patch from ubuntu
-http://archive.ubuntu.com/ubuntu/pool/main/p/pacemaker/pacemaker_1.1.18-0ubuntu1.debian.tar.xz
-Upstream-Status: Deny 

[https://github.com/ClusterLabs/pacemaker/pull/1149]

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0007-Make-the-testing-infrastructure-optional.patch deleted +0 -41
-
-Signed-off-by: Hongxu Jia <[email protected]>
----
- Makefile.am         | 2 ++
- configure.ac        | 5 +++++
- fencing/Makefile.am | 2 ++
- lrmd/Makefile.am    | 2 ++
- pengine/Makefile.am | 2 ++
- tools/Makefile.am   | 2 ++
- 6 files changed, 15 insertions(+)
-
-diff --git a/Makefile.am b/Makefile.am
-index 874f6ed..9ce8b12 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -35,6 +35,7 @@ ACLOCAL_AMFLAGS  = -I m4
- licensedir              = $(docdir)/licenses/
- license_DATA            = $(wildcard licenses/*)
-
-+if ENABLE_TESTS
- # Test components
- SUBDIRS       += cts
-
-@@ -46,6 +47,7 @@ test_DATA            = valgrind-pcmk.suppressions
- noinst_PROGRAMS = scratch
- nodist_scratch_SOURCES        = scratch.c
- scratch_LDADD = $(top_builddir)/lib/common/libcrmcommon.la -lm
-+endif
-
- scratch.c:
-        echo 'int main(void){}' >$@
-diff --git a/configure.ac b/configure.ac
-index b87e61b..a0cf3e2 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -330,6 +330,11 @@ AC_ARG_WITH(configdir,
-     [ CONFIGDIR="$withval" ]
- )
-
-+AC_ARG_ENABLE([tests],
-+    [AS_HELP_STRING([--disable-tests],[don't build and install the 

testing components])],,
-+    [enable_tests=yes]) -+AM_CONDITIONAL([ENABLE_TESTS],[test "x$enable_tests" != xno]) -+
- dnl ===============================================
- dnl General Processing
- dnl ===============================================

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0007-Make-the-testing-infrastructure-optional.patch deleted +0 -49
-diff --git a/fencing/Makefile.am b/fencing/Makefile.am
-index 3bb628f..8c06502 100644
---- a/fencing/Makefile.am
-+++ b/fencing/Makefile.am
-@@ -18,8 +18,10 @@
- include $(top_srcdir)/Makefile.common
-
- ## binary progs
-+if ENABLE_TESTS
- testdir                       = $(datadir)/$(PACKAGE)/tests/fencing
- test_SCRIPTS          = regression.py
-+endif
-
- halibdir      = $(CRM_DAEMON_DIR)
- halib_PROGRAMS        = stonithd stonith-test
-diff --git a/lrmd/Makefile.am b/lrmd/Makefile.am
-index 33611cb..ad6b88d 100644
---- a/lrmd/Makefile.am
-+++ b/lrmd/Makefile.am
-@@ -19,11 +19,13 @@ include $(top_srcdir)/Makefile.common
- lrmdlibdir            = $(CRM_DAEMON_DIR)
- lrmdlib_PROGRAMS      = lrmd lrmd_internal_ctl
-
-+if ENABLE_TESTS
- # Test components
- lrmdlib_PROGRAMS      += lrmd_test
-
- testdir                       = $(datadir)/$(PACKAGE)/tests/lrmd
- test_SCRIPTS          = regression.py
-+endif
-
- initdir                       = $(INITDIR)
- init_SCRIPTS          = pacemaker_remote
-diff --git a/pengine/Makefile.am b/pengine/Makefile.am
-index 861946c..3faae3a 100644
---- a/pengine/Makefile.am
-+++ b/pengine/Makefile.am
-@@ -21,6 +21,7 @@ AM_CPPFLAGS  += -I$(top_builddir) -I$(top_srcdir)
-
- halibdir      = $(CRM_DAEMON_DIR)
-
-+if ENABLE_TESTS
- PE_TESTS      = $(wildcard test10/*.scores)
-
- testdir                       = $(datadir)/$(PACKAGE)/tests/pengine
-@@ -29,6 +30,7 @@ test_DATA            = regression.core.sh
-
- test10dir             = $(datadir)/$(PACKAGE)/tests/pengine/test10
- test10_DATA           = $(PE_TESTS) $(PE_TESTS:%.scores=%.xml) 

$(PE_TESTS:%.scores=%.exp) $(PE_TESTS:%.scores=%.dot) $(PE_TESTS:%.scores=%.summary) $(wildcard test10/*.stderr) -+endif

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0007-Make-the-testing-infrastructure-optional.patch deleted +0 -9
-
- beekhof:
-        echo $(shell ls -1 test10/*.xml)
-diff --git a/tools/Makefile.am b/tools/Makefile.am
-index 3548035..826396d 100644
---- a/tools/Makefile.am
-+++ b/tools/Makefile.am
-@@ -40,10 +40,12 @@ EXTRA_DIST         = $(sbin_SCRIPTS)
- sbin_PROGRAMS         = crm_simulate crmadmin cibadmin crm_node 

crm_attribute crm_resource crm_verify \
-                         crm_shadow attrd_updater crm_diff crm_mon iso8601 crm_ticket crm_error
-
-+if ENABLE_TESTS
- testdir                       = $(datadir)/$(PACKAGE)/tests/cli
- test_SCRIPTS          = regression.sh
- test_DATA               = regression.dates.exp regression.tools.exp regression.acls.exp \
-                          regression.validity.exp
-+endif

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/0007-Make-the-testing-infrastructure-optional.patch deleted +0 -6
-
- if BUILD_HEARTBEAT_SUPPORT
- sbin_PROGRAMS           += crm_uuid
---
-2.7.4
-
meta-cgl-common/recipes-cgl/pacemaker/pacemaker/set-OCF_ROOT_DIR-to-libdir-ocf.patch deleted +0 -1
deleted file mode 100644
index 98c3475..0000000
--- 

a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker/set-OCF_ROOT_DIR-to-libdir-ocf.patch +++ /dev/null

meta-cgl-common/recipes-cgl/pacemaker/pacemaker/set-OCF_ROOT_DIR-to-libdir-ocf.patch deleted +0 -22
@@ -1,28 +0,0 @@
-From 588800f0e2fe52a677a19b7c59636e9f391a6e75 Mon Sep 17 00:00:00 2001
-From: Mingli Yu <[email protected]>
-Date: Wed, 27 Dec 2017 07:14:21 +0000
-Subject: [PATCH] pacemaker: set OCF_ROOT_DIR to $libdir/ocf
-
-* Set the default OCF_ROOT_DIR to $libdir/ocf
-  to make the resource agents components more
-  compatible
-
-Signed-off-by: Mingli Yu <[email protected]>
-
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 2eade3c..ba290cc 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1152,7 +1152,7 @@ AC_SUBST(HA_VARLIBHBDIR)
-
- AC_DEFINE_UNQUOTED(UUID_FILE,"$localstatedir/lib/heartbeat/hb_uuid", 

Location of Heartbeat's UUID file)
-
--OCF_ROOT_DIR=try_extract_header_define $GLUE_HEADER OCF_ROOT_DIR /usr/lib/ocf
-+OCF_ROOT_DIR=try_extract_header_define $GLUE_HEADER OCF_ROOT_DIR $libdir/ocf
- if test "X$OCF_ROOT_DIR" = X; then
-   AC_MSG_ERROR(Could not locate OCF directory)
- fi

meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.3.bb renamed from meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.21.bb +0 -0
similarity index 82%
rename from meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.21.bb
rename to meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.3.bb
index 3a8db77..9b63acd 100644
@@ -13,24 +13,20 @@ LIC_FILES_CHKSUM = 

"file://COPYING;md5=000212f361a81b100d9d0f0435040663"

 DEPENDS = "corosync libxslt libxml2 gnutls resource-agents libqb python3-native"

meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.3.bb renamed from meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.21.bb +3 -9
-SRC_URI = "git://github.com/ClusterLabs/${BPN}.git;branch=1.1 \
- file://0001-pacemaker-fix-xml-config.patch \
- file://0002-pacemaker-search-header-from-STAGING_INCDIR-to-walka.patch \
- file://0003-pacemaker-fix-header-defs-lookup.patch \
- file://0004-pacemaker-do-not-build-help.patch \
- file://0005-pacemaker-do-not-execute-target-program-while-cross-.patch \
- file://0006-pacemaker-do-not-use-libgnutls-config.patch \
- file://set-OCF_ROOT_DIR-to-libdir-ocf.patch \
- file://0007-Make-the-testing-infrastructure-optional.patch \
+SRC_URI = "git://github.com/ClusterLabs/${BPN}.git \
+ file://0006-Fix-tools-Fix-definition-of-curses_indented_printf.patch \
+ file://0001-Fix-python3-usage.patch \

file://volatiles \
file://tmpfiles \
           "

meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.3.bb renamed from meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.21.bb +2 -0
+CFLAGS += "-I${STAGING_INCDIR}/heartbeat"
+CPPFLAGS +="-I${STAGING_INCDIR}/heartbeat"

 SRC_URI_append_libc-musl = "file://0001-pacemaker-fix-compile-error-of-musl-libc.patch"

meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.3.bb renamed from meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.21.bb +2 -2
-SRCREV = "f14e36fd4336874705b34266c7cddbe12119106c"
+SRCREV = "4b1f869f0f64ef0d248b6aa4781d38ecccf83318"
 
-inherit autotools-brokensep pkgconfig systemd python3-dir useradd
+inherit autotools-brokensep pkgconfig systemd python3native 

python3-dir useradd

 S = "${WORKDIR}/git"

meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.3.bb renamed from meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.21.bb +5 -1
@@ -48,7 +44,11 @@ EXTRA_OECONF += "STAGING_INCDIR=${STAGING_INCDIR} \
                   --without-heartbeat \
                   --disable-pretty \
                   --disable-tests \
-                "
+                 "
+
+CACHED_CONFIGUREVARS += " \
+    ac_cv_path_BASH_PATH=/bin/bash \
+"
 
  do_install_append() {

     install -d ${D}${sysconfdir}/default

meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.3.bb renamed from meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.21.bb +1 -1
@@ -92,7 +92,7 @@ FILES_${PN} += " 
 ${datadir}/snmp                             \
 ${libdir}/corosync/lcrso/pacemaker.lcrso    \
 ${libdir}/${PYTHON_DIR}/dist-packages/cts/  \
                   ${libdir}/ocf/resource.d/ \
-                 ${libdir}/${PYTHON_DIR}/site-packages \
+ ${libdir}/${PYTHON_DIR}/site-packages/cts/ \

                "
 FILES_${PN}-dbg += "${libdir}/corosync/lcrso/.debug" RDEPENDS_${PN} = "bash python3-core perl libqb ${PN}-cli-utils"

Signature · 9 lines
2.13.3


<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> 
	Virus-free. www.avg.com 
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> 


<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Signature · 2 lines
Jeremy A. Puhlman
[email protected]
#19 lore raw

PATCH 18/20 Update racoon2 to build in dumfell

In reply to Jeremy Puhlman

From: Jeremy Puhlman <[email protected]>

* Move to https://github.com/zoulasc/racoon2 which appears to be actively maintained(rather then no changes in 10 years)
* Refresh patches for current
* Drop patches to .in file and move to more correct patches
* Fix up issue with building from all .am files.

---
 .../0001-Add-DESTDIR-to-install-commands.patch     | 163 +++++++++++++++++
 .../0002-Enable-turning-of-kinkd-and-iked.patch    |  55 ++++++
 ...Replace-perl_bindir-with-usr-bin-env-perl.patch |  22 +++
 ...=> 0004-racoon2-disable-hard-limit-timer.patch} |  35 ++--
 .../racoon2/0005-racoon2-fix-rekeying-reply.patch  |  25 +++
 ... 0006-racoon2-fix-sadb_msg_seq-collision.patch} |  25 ++-
 .../racoon2/0007-racoon2-fwrite-return-value.patch |  30 +++
 .../0008-racoon2-iked-needs-libcrypto.patch        |  24 +++
 .../racoon2/0009-racoon2-iked-initscript.patch     |  46 +++++
 .../racoon2/0010-racoon2-kinkd-initscript.patch    |  46 +++++
 .../racoon2/0011-racoon2-spmd-initscript.patch     |  44 +++++
 .../0012-racoon2-remove-deprecated-do-clause.patch |  27 +++
 ...=> 0013-racoon2-fix-hardcoded-sysconfdir.patch} | 141 +++++++-------
 .../racoon2-Add-Value-to-HAVE_NSSWITCH_CONF.patch  |  32 ----
 .../racoon2/racoon2/racoon2-DESTDIR.patch          | 202 ---------------------
 .../racoon2/racoon2-Remove-INSTALL_OPTS.patch      |  87 ---------
 .../racoon2/racoon2-configure-autoheader.patch     |  60 ------
 .../racoon2/racoon2/racoon2-configure-memcmp.patch |  32 ----
 ...oon2-configure.in-remove-redundant-macros.patch | 199 --------------------
 .../racoon2-correct-openssl-include-path.patch     |  70 -------
 .../racoon2/racoon2-fix-configure-error.patch      |  50 -----
 .../racoon2/racoon2-fix-rekeying-reply.patch       |  28 ---
 ...oon2-fix-target-perl-path-to-generate-RPM.patch |  86 ---------
 .../racoon2/racoon2-fwrite-return-value.patch      |  34 ----
 .../racoon2/racoon2/racoon2-iked-initscript.patch  |  40 ----
 .../racoon2/racoon2-iked-needs-libcrypto.patch     |  34 ----
 .../racoon2/racoon2/racoon2-kinkd-initscript.patch |  40 ----
 .../racoon2/racoon2-reenable-the-ipv6-check.patch  |  65 -------
 .../racoon2-remove-deprecated-do-clause.patch      |  19 --
 .../racoon2-removed-conflicting-prototypes.patch   |  51 ------
 .../racoon2/racoon2/racoon2-spmd-initscript.patch  |  39 ----
 .../{racoon2_20100526a.bb => racoon2_202003018.bb} |  46 +++--
 32 files changed, 594 insertions(+), 1303 deletions(-)
 create mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/0001-Add-DESTDIR-to-install-commands.patch
 create mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/0002-Enable-turning-of-kinkd-and-iked.patch
 create mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/0003-Replace-perl_bindir-with-usr-bin-env-perl.patch
 rename meta-cgl-common/recipes-cgl/racoon2/racoon2/{racoon2-disable-hard-limit-timer.patch => 0004-racoon2-disable-hard-limit-timer.patch} (61%)
 create mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/0005-racoon2-fix-rekeying-reply.patch
 rename meta-cgl-common/recipes-cgl/racoon2/racoon2/{racoon2-fix-sadb_msg_seq-collision.patch => 0006-racoon2-fix-sadb_msg_seq-collision.patch} (60%)
 create mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/0007-racoon2-fwrite-return-value.patch
 create mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/0008-racoon2-iked-needs-libcrypto.patch
 create mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/0009-racoon2-iked-initscript.patch
 create mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/0010-racoon2-kinkd-initscript.patch
 create mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/0011-racoon2-spmd-initscript.patch
 create mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/0012-racoon2-remove-deprecated-do-clause.patch
 rename meta-cgl-common/recipes-cgl/racoon2/racoon2/{racoon2-fix-hardcoded-sysconfdir.patch => 0013-racoon2-fix-hardcoded-sysconfdir.patch} (63%)
 delete mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-Add-Value-to-HAVE_NSSWITCH_CONF.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-DESTDIR.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-Remove-INSTALL_OPTS.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-configure-autoheader.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-configure-memcmp.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-configure.in-remove-redundant-macros.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-correct-openssl-include-path.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-fix-configure-error.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-fix-rekeying-reply.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-fix-target-perl-path-to-generate-RPM.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-fwrite-return-value.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-iked-initscript.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-iked-needs-libcrypto.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-kinkd-initscript.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-reenable-the-ipv6-check.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-remove-deprecated-do-clause.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-removed-conflicting-prototypes.patch
 delete mode 100644 meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-spmd-initscript.patch
 rename meta-cgl-common/recipes-cgl/racoon2/{racoon2_20100526a.bb => racoon2_202003018.bb} (70%)
meta-cgl-common/recipes-cgl/racoon2/racoon2/0001-Add-DESTDIR-to-install-commands.patch new file +163 -0
new file mode 100644
index 0000000..5dd46ba
@@ -0,0 +1,163 @@
+From 56198a5bbe5380f53d75f5a5ea2e31714460fcd2 Mon Sep 17 00:00:00 2001
+From: Jeremy Puhlman <[email protected]>
+Date: Tue, 17 Mar 2020 21:11:28 +0000
+Subject: [PATCH 01/13] Add DESTDIR to install commands.
+
+---
+ pskgen/Makefile.am                    |  2 +-
+ samples/Makefile.am                   | 24 ++++++++++----------
+ samples/hook/Makefile.am              | 32 +++++++++++++--------------
+ samples/hook/child-down.d/Makefile.am |  8 +++----
+ samples/hook/child-up.d/Makefile.am   | 10 ++++-----
+ samples/hook/ikesa-up.d/Makefile.am   |  4 ++--
+ samples/init.d/Makefile.am            |  8 +++----
+ 7 files changed, 44 insertions(+), 44 deletions(-)
+
+diff --git a/pskgen/Makefile.am b/pskgen/Makefile.am
+index c7e8b78..998582f 100644
+--- a/pskgen/Makefile.am
++++ b/pskgen/Makefile.am
+@@ -6,5 +6,5 @@ sbin_SCRIPTS=pskgen
+ man_MANS=pskgen.8
+ 
+ install-exec-hook:
+-	$(INSTALL) -d $(sysconfdir)
++	$(INSTALL) -d $(DESTDIR)$(sysconfdir)
+ 	sh ./autogen.spmd.pwd
+diff --git a/samples/Makefile.am b/samples/Makefile.am
+index 56250cd..4e79e2d 100644
+--- a/samples/Makefile.am
++++ b/samples/Makefile.am
+@@ -6,15 +6,15 @@ SUBDIRS = @startup_scripts@ hook
+ 
+ install-exec-hook:
+ 	$(INSTALL) -d -o 0 -g 0 -m 700 $(DESTDIR)/var/run/racoon2
+-	$(INSTALL) -d $(sysconfdir)
+-	$(INSTALL) -m 600 racoon2.conf $(sysconfdir)/racoon2.conf.sample
+-	$(INSTALL) -m 600 vals.conf $(sysconfdir)/vals.conf.sample
+-	$(INSTALL) -m 600 default.conf $(sysconfdir)/default.conf.sample
+-	$(INSTALL) -m 600 transport_ike.conf $(sysconfdir)/transport_ike.conf.sample
+-	$(INSTALL) -m 600 tunnel_ike.conf $(sysconfdir)/tunnel_ike.conf.sample
+-	$(INSTALL) -m 600 tunnel_ike_natt.conf $(sysconfdir)/tunnel_ike_natt.conf.sample
+-	$(INSTALL) -m 600 transport_kink.conf $(sysconfdir)/transport_kink.conf.sample
+-	$(INSTALL) -m 600 tunnel_kink.conf $(sysconfdir)/tunnel_kink.conf.sample
+-	$(INSTALL) -m 600 local-test.conf $(sysconfdir)/local-test.conf.sample
+-	$(INSTALL) -d -m 700 $(sysconfdir)/psk
+-	$(INSTALL) -d -m 700 $(sysconfdir)/cert
++	$(INSTALL) -d $(DESTDIR)$(sysconfdir)
++	$(INSTALL) -m 600 racoon2.conf $(DESTDIR)$(sysconfdir)/racoon2.conf.sample
++	$(INSTALL) -m 600 vals.conf $(DESTDIR)$(sysconfdir)/vals.conf.sample
++	$(INSTALL) -m 600 default.conf $(DESTDIR)$(sysconfdir)/default.conf.sample
++	$(INSTALL) -m 600 transport_ike.conf $(DESTDIR)$(sysconfdir)/transport_ike.conf.sample
++	$(INSTALL) -m 600 tunnel_ike.conf $(DESTDIR)$(sysconfdir)/tunnel_ike.conf.sample
++	$(INSTALL) -m 600 tunnel_ike_natt.conf $(DESTDIR)$(sysconfdir)/tunnel_ike_natt.conf.sample
++	$(INSTALL) -m 600 transport_kink.conf $(DESTDIR)$(sysconfdir)/transport_kink.conf.sample
++	$(INSTALL) -m 600 tunnel_kink.conf $(DESTDIR)$(sysconfdir)/tunnel_kink.conf.sample
++	$(INSTALL) -m 600 local-test.conf $(DESTDIR)$(sysconfdir)/local-test.conf.sample
++	$(INSTALL) -d -m 700 $(DESTDIR)$(sysconfdir)/psk
++	$(INSTALL) -d -m 700 $(DESTDIR)$(sysconfdir)/cert
+diff --git a/samples/hook/Makefile.am b/samples/hook/Makefile.am
+index d3fabdb..f53a1f5 100644
+--- a/samples/hook/Makefile.am
++++ b/samples/hook/Makefile.am
+@@ -5,19 +5,19 @@ ACLOCAL_AMFLAGS = -I m4
+ SUBDIRS = child-down.d child-up.d ikesa-up.d
+ 
+ install-exec-hook:
+-	$(INSTALL) -d $(sysconfdir)/hook
+-	$(INSTALL_DATA) functions $(sysconfdir)/hook
+-	$(INSTALL) -d $(sysconfdir)/hook/ikesa-up.d
+-	$(INSTALL_SCRIPT) ikesa-up $(sysconfdir)/hook
+-	$(INSTALL) -d $(sysconfdir)/hook/ikesa-down.d
+-	$(INSTALL_SCRIPT) ikesa-down $(sysconfdir)/hook
+-	$(INSTALL) -d $(sysconfdir)/hook/ikesa-rekey.d
+-	$(INSTALL_SCRIPT) ikesa-rekey $(sysconfdir)/hook
+-	$(INSTALL) -d $(sysconfdir)/hook/child-up.d
+-	$(INSTALL_SCRIPT) child-up $(sysconfdir)/hook
+-	$(INSTALL) -d $(sysconfdir)/hook/child-down.d
+-	$(INSTALL_SCRIPT) child-down $(sysconfdir)/hook
+-	$(INSTALL) -d $(sysconfdir)/hook/child-rekey.d
+-	$(INSTALL_SCRIPT) child-rekey $(sysconfdir)/hook
+-	$(INSTALL) -d $(sysconfdir)/hook/migration.d
+-	$(INSTALL_SCRIPT) migration $(sysconfdir)/hook
++	$(INSTALL) -d $(DESTDIR)$(sysconfdir)/hook
++	$(INSTALL_DATA) functions $(DESTDIR)$(sysconfdir)/hook
++	$(INSTALL) -d $(DESTDIR)$(sysconfdir)/hook/ikesa-up.d
++	$(INSTALL_SCRIPT) ikesa-up $(DESTDIR)$(sysconfdir)/hook
++	$(INSTALL) -d $(DESTDIR)$(sysconfdir)/hook/ikesa-down.d
++	$(INSTALL_SCRIPT) ikesa-down $(DESTDIR)$(sysconfdir)/hook
++	$(INSTALL) -d $(DESTDIR)$(sysconfdir)/hook/ikesa-rekey.d
++	$(INSTALL_SCRIPT) ikesa-rekey $(DESTDIR)$(sysconfdir)/hook
++	$(INSTALL) -d $(DESTDIR)$(sysconfdir)/hook/child-up.d
++	$(INSTALL_SCRIPT) child-up $(DESTDIR)$(sysconfdir)/hook
++	$(INSTALL) -d $(DESTDIR)$(sysconfdir)/hook/child-down.d
++	$(INSTALL_SCRIPT) child-down $(DESTDIR)$(sysconfdir)/hook
++	$(INSTALL) -d $(DESTDIR)$(sysconfdir)/hook/child-rekey.d
++	$(INSTALL_SCRIPT) child-rekey $(DESTDIR)$(sysconfdir)/hook
++	$(INSTALL) -d $(DESTDIR)$(sysconfdir)/hook/migration.d
++	$(INSTALL_SCRIPT) migration $(DESTDIR)$(sysconfdir)/hook
+diff --git a/samples/hook/child-down.d/Makefile.am b/samples/hook/child-down.d/Makefile.am
+index ff8d741..bb28ff7 100644
+--- a/samples/hook/child-down.d/Makefile.am
++++ b/samples/hook/child-down.d/Makefile.am
+@@ -3,7 +3,7 @@
+ ACLOCAL_AMFLAGS = -I m4
+ 
+ install-exec-hook:
+-	$(INSTALL) -d $(sysconfdir)/hook/child-down.d
+-	$(INSTALL_DATA) 01setkey $(sysconfdir)/hook/child-down.d
+-	$(INSTALL_DATA) 02ifconfig-gif $(sysconfdir)/hook/child-down.d
+-	$(INSTALL_DATA) 03arp $(sysconfdir)/hook/child-down.d
++	$(INSTALL) -d $(DESTDIR)$(sysconfdir)/hook/child-down.d
++	$(INSTALL_DATA) 01setkey $(DESTDIR)$(sysconfdir)/hook/child-down.d
++	$(INSTALL_DATA) 02ifconfig-gif $(DESTDIR)$(sysconfdir)/hook/child-down.d
++	$(INSTALL_DATA) 03arp $(DESTDIR)$(sysconfdir)/hook/child-down.d
+diff --git a/samples/hook/child-up.d/Makefile.am b/samples/hook/child-up.d/Makefile.am
+index 71d03c9..9c9bbea 100644
+--- a/samples/hook/child-up.d/Makefile.am
++++ b/samples/hook/child-up.d/Makefile.am
+@@ -3,8 +3,8 @@
+ ACLOCAL_AMFLAGS = -I m4
+ 
+ install-exec-hook:
+-	$(INSTALL) -d $(sysconfdir)/hook/child-up.d
+-	$(INSTALL_DATA) 00childup_sample $(sysconfdir)/hook/child-up.d
+-	$(INSTALL_DATA) 01setkey $(sysconfdir)/hook/child-up.d
+-	$(INSTALL_DATA) 02ifconfig-gif $(sysconfdir)/hook/child-up.d
+-	$(INSTALL_DATA) 03arp $(sysconfdir)/hook/child-up.d
++	$(INSTALL) -d $(DESTDIR)$(sysconfdir)/hook/child-up.d
++	$(INSTALL_DATA) 00childup_sample $(DESTDIR)$(sysconfdir)/hook/child-up.d
++	$(INSTALL_DATA) 01setkey $(DESTDIR)$(sysconfdir)/hook/child-up.d
++	$(INSTALL_DATA) 02ifconfig-gif $(DESTDIR)$(sysconfdir)/hook/child-up.d
++	$(INSTALL_DATA) 03arp $(DESTDIR)$(sysconfdir)/hook/child-up.d
+diff --git a/samples/hook/ikesa-up.d/Makefile.am b/samples/hook/ikesa-up.d/Makefile.am
+index f117004..dba63ba 100644
+--- a/samples/hook/ikesa-up.d/Makefile.am
++++ b/samples/hook/ikesa-up.d/Makefile.am
+@@ -3,5 +3,5 @@
+ ACLOCAL_AMFLAGS = -I m4
+ 
+ install-exec-hook:
+-	$(INSTALL) -d $(sysconfdir)/hook/ikesa-up.d
+-	$(INSTALL_DATA) 00ikesaup_sample $(sysconfdir)/hook/ikesa-up.d
++	$(INSTALL) -d $(DESTDIR)$(sysconfdir)/hook/ikesa-up.d
++	$(INSTALL_DATA) 00ikesaup_sample $(DESTDIR)$(sysconfdir)/hook/ikesa-up.d
+diff --git a/samples/init.d/Makefile.am b/samples/init.d/Makefile.am
+index 805c8eb..debe439 100644
+--- a/samples/init.d/Makefile.am
++++ b/samples/init.d/Makefile.am
+@@ -3,7 +3,7 @@
+ ACLOCAL_AMFLAGS = -I m4
+ 
+ install-exec-hook:
+-	$(INSTALL) -d $(sysconfdir)/init.d
+-	$(INSTALL_SCRIPT) iked $(sysconfdir)/init.d/iked
+-	$(INSTALL_SCRIPT) kinkd $(sysconfdir)/init.d/kinkd
+-	$(INSTALL_SCRIPT) spmd $(sysconfdir)/init.d/spmd
++	$(INSTALL) -d $(DESTDIR)$(sysconfdir)/init.d
++	$(INSTALL_SCRIPT) iked $(DESTDIR)$(sysconfdir)/init.d/iked
++	$(INSTALL_SCRIPT) kinkd $(DESTDIR)$(sysconfdir)/init.d/kinkd
++	$(INSTALL_SCRIPT) spmd $(DESTDIR)$(sysconfdir)/init.d/spmd
+-- 
+2.24.1
+
meta-cgl-common/recipes-cgl/racoon2/racoon2/0002-Enable-turning-of-kinkd-and-iked.patch new file +55 -0

55 lines not on this page · raw message

meta-cgl-common/recipes-cgl/racoon2/racoon2/0003-Replace-perl_bindir-with-usr-bin-env-perl.patch new file +22 -0
new file mode 100644
index 0000000..7043d39
@@ -0,0 +1,22 @@
+From 0fce50be1c7c39b43d9cb5fceaacf1c7c235d2a1 Mon Sep 17 00:00:00 2001
+From: Jeremy Puhlman <[email protected]>
+Date: Tue, 17 Mar 2020 22:09:52 +0000
+Subject: [PATCH 03/13] Replace perl_bindir with /usr/bin/env perl
+
+---
+ pskgen/pskgen.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pskgen/pskgen.in b/pskgen/pskgen.in
+index 150baef..d2aa8e0 100755
+--- a/pskgen/pskgen.in
++++ b/pskgen/pskgen.in
+@@ -1,4 +1,4 @@
+-#!@perl_bindir@
++#!/usr/bin/env perl
+ 
+ # Copyright (C) 2004, 2005 WIDE Project.
+ # All rights reserved.
+-- 
+2.24.1
+
meta-cgl-common/recipes-cgl/racoon2/racoon2/0004-racoon2-disable-hard-limit-timer.patch renamed from meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-disable-hard-limit-timer.patch +17 -18
similarity index 61%
rename from meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-disable-hard-limit-timer.patch
rename to meta-cgl-common/recipes-cgl/racoon2/racoon2/0004-racoon2-disable-hard-limit-timer.patch
index e555695..0ba724f 100644
@@ -1,21 +1,17 @@
-Disable hard-limit timer
-
-Since we only deliver racoon2 on linux platform and linux
-kernel implemented a timer for monitoring the hard-limit,
-disable the one realized on racoon2.
-
-Upstream-Status: Inappropriate [embedded specific]
-
-Signed-off-by: Yong Zhang <[email protected]>
-Signed-of-by: Aws Ismail <[email protected]>
+From 06da02f5282e3e31f839f78f33107bb457dd365f Mon Sep 17 00:00:00 2001
+From: Jeremy Puhlman <[email protected]>
+Date: Wed, 18 Mar 2020 20:22:57 +0000
+Subject: [PATCH] racoon2-disable-hard-limit-timer
 
 ---
- iked/ikev2_child.c |   14 +++++++-------
+ iked/ikev2_child.c | 14 +++++++-------
  1 file changed, 7 insertions(+), 7 deletions(-)
 
+diff --git a/iked/ikev2_child.c b/iked/ikev2_child.c
+index 8b693ff..0b8fa93 100644
 --- a/iked/ikev2_child.c
 +++ b/iked/ikev2_child.c
-@@ -683,7 +683,7 @@ ikev2_create_child_responder_cont(struct
+@@ -836,7 +836,7 @@ ikev2_create_child_responder_cont(struct ikev2_child_sa *child_sa)
  	ikev2_add_ipsec_sa(child_sa, &child_sa->child_param,
  			   child_sa->peer_proposal, child_sa->my_proposal[1]);
  
@@ -24,7 +20,7 @@ Signed-of-by: Aws Ismail <[email protected]>
  	/* KAME does not generate hard lifetime expiration message */
  	/* start expiration timer */
  	{
-@@ -705,7 +705,7 @@ ikev2_create_child_responder_cont(struct
+@@ -858,7 +858,7 @@ ikev2_create_child_responder_cont(struct ikev2_child_sa *child_sa)
  			}
  		}
  	}
@@ -33,7 +29,7 @@ Signed-of-by: Aws Ismail <[email protected]>
  
  	TRACE((PLOGLOC, "ike_sa state %d\n", ike_sa->state));
  	switch (ike_sa->state) {
-@@ -1481,7 +1481,7 @@ ikev2_update_child(struct ikev2_child_sa
+@@ -1657,7 +1657,7 @@ ikev2_update_child(struct ikev2_child_sa *child_sa,
  
  	ikev2_child_state_set(child_sa, IKEV2_CHILD_STATE_MATURE);
  
@@ -42,7 +38,7 @@ Signed-of-by: Aws Ismail <[email protected]>
  	/* KAME does not generate hard lifetime expiration message */
  	/* start expiration timer */
  	{
-@@ -1505,7 +1505,7 @@ ikev2_update_child(struct ikev2_child_sa
+@@ -1681,7 +1681,7 @@ ikev2_update_child(struct ikev2_child_sa *child_sa,
  				goto abort_nomem;
  		}
  	}
@@ -51,7 +47,7 @@ Signed-of-by: Aws Ismail <[email protected]>
  
        done:
  	if (new_my_proposal_list)
-@@ -1566,7 +1566,7 @@ ikev2_update_child(struct ikev2_child_sa
+@@ -1742,7 +1742,7 @@ ikev2_update_child(struct ikev2_child_sa *child_sa,
  	goto done;
  }
  
@@ -60,7 +56,7 @@ Signed-of-by: Aws Ismail <[email protected]>
  /*
   * timer callback for child_sa expiration
   */
-@@ -1579,7 +1579,7 @@ ikev2_child_expire_callback(void *param)
+@@ -1755,7 +1755,7 @@ ikev2_child_expire_callback(void *param)
  	SCHED_KILL(child_sa->timer);
  	ikev2_expire_child(child_sa);
  }
@@ -69,7 +65,7 @@ Signed-of-by: Aws Ismail <[email protected]>
  
  int
  ikev2_expired(struct sadb_request *req, struct rcpfk_msg *param)
-@@ -1707,7 +1707,7 @@ ikev2_expire_sa(struct ikev2_child_sa *c
+@@ -1883,7 +1883,7 @@ ikev2_expire_sa(struct ikev2_child_sa *child_sa, int expire_mode,
  		}
  		return;
  	case 2:		/* hard expired */
@@ -78,3 +74,6 @@ Signed-of-by: Aws Ismail <[email protected]>
  		/*
  		 * hard expire is not used, due to difference of KAME and USAGI.
  		 * instead, use child_sa->timer
+-- 
+2.24.1
+
meta-cgl-common/recipes-cgl/racoon2/racoon2/0005-racoon2-fix-rekeying-reply.patch new file +25 -0
new file mode 100644
index 0000000..3ee7edd
@@ -0,0 +1,25 @@
+From 506b9afae89e322f6a82736c3ea112c9b989f7e6 Mon Sep 17 00:00:00 2001
+From: Jeremy Puhlman <[email protected]>
+Date: Wed, 18 Mar 2020 18:46:16 +0000
+Subject: [PATCH 05/13] racoon2-fix-rekeying-reply
+
+---
+ iked/ikev2.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/iked/ikev2.c b/iked/ikev2.c
+index 439d1b9..230f2f2 100644
+--- a/iked/ikev2.c
++++ b/iked/ikev2.c
+@@ -951,6 +951,8 @@ ikev2_initiator_start(struct ikev2_sa *ike_sa)
+ 	if (!pkt)
+ 		goto fail;
+ 
++	++ike_sa->request_pending;
++
+ 	/* save message data for AUTH calculation */
+ 	if (ike_sa->my_first_message)
+ 		rc_vfree(ike_sa->my_first_message);
+-- 
+2.24.1
+
meta-cgl-common/recipes-cgl/racoon2/racoon2/0006-racoon2-fix-sadb_msg_seq-collision.patch renamed from meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-fix-sadb_msg_seq-collision.patch +12 -13
similarity index 60%
rename from meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-fix-sadb_msg_seq-collision.patch
rename to meta-cgl-common/recipes-cgl/racoon2/racoon2/0006-racoon2-fix-sadb_msg_seq-collision.patch
index 2fca085..24b4f1c 100644
@@ -1,21 +1,17 @@
-Fix sadb_msg_seq collision
-
-It looks like there's a problem in SADB message sequence number
-handling.  As a temporary measure, initializing sadb_msg_seq with a
-large random number might help.
-
-Upstream-Status: Pending
-
-Signed-off-by: Yong Zhang <[email protected]>
-Signed-of-by: Aws Ismail <[email protected]>
+From 402b08013138f6e00a18fbddaba8c801f472b5d6 Mon Sep 17 00:00:00 2001
+From: Jeremy Puhlman <[email protected]>
+Date: Wed, 18 Mar 2020 18:49:16 +0000
+Subject: [PATCH 06/13] racoon2-fix-sadb_msg_seq-collision
 
 ---
- iked/ike_pfkey.c |   10 +++++++++-
+ iked/ike_pfkey.c | 10 +++++++++-
  1 file changed, 9 insertions(+), 1 deletion(-)
 
+diff --git a/iked/ike_pfkey.c b/iked/ike_pfkey.c
+index e3763ef..f594c8c 100644
 --- a/iked/ike_pfkey.c
 +++ b/iked/ike_pfkey.c
-@@ -131,6 +131,7 @@
+@@ -130,6 +130,7 @@ static SADB_LIST_HEAD(sadb_request_list_head, sadb_request) sadb_request_list_he
  static int pfkey_socket;
  static uint32_t sadb_msg_seq = 0x4000000;	/* arbitrary large number to avoid collision with kernel message */
  
@@ -23,7 +19,7 @@ Signed-of-by: Aws Ismail <[email protected]>
  static int sadb_getspi_callback(struct rcpfk_msg *param);
  static int sadb_update_callback(struct rcpfk_msg *param);
  static int sadb_get_callback(struct rcpfk_msg *param);
-@@ -207,7 +208,14 @@
+@@ -206,7 +207,14 @@ sadb_socket(void)
  uint32_t
  sadb_new_seq(void)
  {
@@ -39,3 +35,6 @@ Signed-of-by: Aws Ismail <[email protected]>
  }
  
  static void
+-- 
+2.24.1
+
meta-cgl-common/recipes-cgl/racoon2/racoon2/0007-racoon2-fwrite-return-value.patch new file +30 -0
new file mode 100644
index 0000000..80a0981
@@ -0,0 +1,30 @@
+From bb73405684f5cfd62c10a80826a3140f96d032ae Mon Sep 17 00:00:00 2001
+From: Jeremy Puhlman <[email protected]>
+Date: Wed, 18 Mar 2020 18:50:59 +0000
+Subject: [PATCH 07/13] racoon2-fwrite-return-value
+
+---
+ lib/cftoken.l | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/lib/cftoken.l b/lib/cftoken.l
+index abc2883..3305ad4 100644
+--- a/lib/cftoken.l
++++ b/lib/cftoken.l
+@@ -87,6 +87,13 @@ static char rcf_linebuf[CF_LINEBUFSIZE];
+ 	}
+ #else
+ #define DP
++#endif
++
++#ifndef ECHO
++/* This used to be an fputs(), but since the string might contain NUL's,
++ * we now use fwrite().
++ */
++#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
+ #endif
+ 
+ 	/* the include files stack */
+-- 
+2.24.1
+
meta-cgl-common/recipes-cgl/racoon2/racoon2/0008-racoon2-iked-needs-libcrypto.patch new file +24 -0
new file mode 100644
index 0000000..703e192
@@ -0,0 +1,24 @@
+From d5188281f7b83cc0fea3b2582cbd3f36f24df8a8 Mon Sep 17 00:00:00 2001
+From: Jeremy Puhlman <[email protected]>
+Date: Wed, 18 Mar 2020 18:52:49 +0000
+Subject: [PATCH 08/13] racoon2-iked-needs-libcrypto
+
+---
+ iked/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/iked/Makefile.am b/iked/Makefile.am
+index 6ea188d..ad40af5 100644
+--- a/iked/Makefile.am
++++ b/iked/Makefile.am
+@@ -24,6 +24,6 @@ IKEV2_NATT_SRC = nattraversal.c
+ iked_SOURCES = main.c dh.c ike_sa.c ike_conf.c isakmp.c authenticator.c encryptor.c crypto_openssl.c str2val.c keyed_hash.c sockmisc.c ike_pfkey.c ike_spmif.c schedule.c ratelimit.c script.c rtsock.c ${IKEV1_SRC} ${IKEV2_SRC} ${IKEV1_NATT_SRC} ${IKEV2_NATT_SRC}
+ sbin_PROGRAMS=iked
+ 
+-LIBS = @LIBS@
++LIBS = @LIBS@ -lcrypto
+ 
+ man_MANS = iked.8
+-- 
+2.24.1
+
meta-cgl-common/recipes-cgl/racoon2/racoon2/0009-racoon2-iked-initscript.patch new file +46 -0

46 lines not on this page · raw message

meta-cgl-common/recipes-cgl/racoon2/racoon2/0010-racoon2-kinkd-initscript.patch new file +46 -0

46 lines not on this page · raw message

meta-cgl-common/recipes-cgl/racoon2/racoon2/0011-racoon2-spmd-initscript.patch new file +44 -0

44 lines not on this page · raw message

meta-cgl-common/recipes-cgl/racoon2/racoon2/0012-racoon2-remove-deprecated-do-clause.patch new file +27 -0
new file mode 100644
index 0000000..8afe22c
@@ -0,0 +1,27 @@
+From 153a531d0cb85feca60b04832435a1925c5eaecc Mon Sep 17 00:00:00 2001
+From: Jeremy Puhlman <[email protected]>
+Date: Wed, 18 Mar 2020 19:08:42 +0000
+Subject: [PATCH 12/13] racoon2-remove-deprecated-do-clause
+
+---
+ pskgen/pskgen.in | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/pskgen/pskgen.in b/pskgen/pskgen.in
+index d2aa8e0..06b449c 100755
+--- a/pskgen/pskgen.in
++++ b/pskgen/pskgen.in
+@@ -59,8 +59,8 @@ EOD
+ 	exit 0;
+ }
+ 
+-require Getopt::Std;
+-Getopt::Std::getopts('rs:o:di:he:d');
++use Getopt::Std;
++getopts('rs:o:di:he:d');
+ $output = '-';
+ $output = $opt_o if ($opt_o);
+ 
+-- 
+2.24.1
+
meta-cgl-common/recipes-cgl/racoon2/racoon2/0013-racoon2-fix-hardcoded-sysconfdir.patch renamed from meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-fix-hardcoded-sysconfdir.patch +61 -80

264 lines not on this page · raw message

meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-Add-Value-to-HAVE_NSSWITCH_CONF.patch deleted +0 -32
deleted file mode 100644
index 9ca88a8..0000000
@@ -1,32 +0,0 @@
-From 2ad8c9b2e99be296fc7c7bf94161a53aa3984b24 Mon Sep 17 00:00:00 2001
-From: Aws Ismail <[email protected]>
-Date: Tue, 23 Oct 2012 18:07:23 -0400
-Subject: [PATCH 2/3] Add Value to HAVE_NSSWITCH_CONF
-
-Use a more verbose form of AC_DEFINE
-to force value of "1" to
-HAVE_NSSWITCH_CONF macro.
-
-Upstream-Status: Pending
-
-Signed-off-by: Aws Ismail <[email protected]>
----
- spmd/configure.in |    2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/spmd/configure.in b/spmd/configure.in
-index c149c2d..c079c56 100644
---- a/spmd/configure.in
-+++ b/spmd/configure.in
-@@ -91,7 +91,7 @@ case "$target" in
- 		;;
- 	*)      
- 		AC_MSG_RESULT(use /etc/nsswitch.conf)
--		AC_DEFINE(HAVE_NSSWITCH_CONF)
-+		AC_DEFINE(HAVE_NSSWITCH_CONF, [1], [Define if nsswitch conf file exists])
- 		;;
- esac
- 
--- 
-1.7.0.4
-
meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-DESTDIR.patch deleted +0 -202

202 lines not on this page · raw message

meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-Remove-INSTALL_OPTS.patch deleted +0 -87

87 lines not on this page · raw message

meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-configure-autoheader.patch deleted +0 -60

60 lines not on this page · raw message

meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-configure-memcmp.patch deleted +0 -32
deleted file mode 100644
index 97857c7..0000000
@@ -1,32 +0,0 @@
-Comment out memmcp.clean configure-related option
- 
-Upstream-Status: Pending
-
-Signed-off-by: Aws Ismail <[email protected]>
-
-diff --git a/iked/configure b/iked/configure
-index 80ca9a3..9205bc3 100755
---- a/iked/configure
-+++ b/iked/configure
-@@ -1758,7 +1758,7 @@ fi
- fi
- 
- echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
--test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
-+# test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
- 
- echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
- echo "configure:1765: checking return type of signal handlers" >&5
-diff --git a/lib/configure b/lib/configure
-index c7d057a..6390794 100755
---- a/lib/configure
-+++ b/lib/configure
-@@ -1909,7 +1909,7 @@ fi
- fi
- 
- echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
--test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
-+# test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
- 
- echo $ac_n "checking for strftime""... $ac_c" 1>&6
- echo "configure:1916: checking for strftime" >&5
meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-configure.in-remove-redundant-macros.patch deleted +0 -199

199 lines not on this page · raw message

meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-correct-openssl-include-path.patch deleted +0 -70

70 lines not on this page · raw message

meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-fix-configure-error.patch deleted +0 -50

50 lines not on this page · raw message

meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-fix-rekeying-reply.patch deleted +0 -28
deleted file mode 100644
index 515241d..0000000
@@ -1,28 +0,0 @@
-racoon2: fix rekeying reply
-
-Why did node_a send the CREATE_CHILD_SA having the duplicated id?
-racoon2 has a counter for counting the number of transmitted request messages.
-You can find the counter named request_pending in the source code.
-This counter is counted up when a request message is sent,
-and it is counted down when the corresponding response message arrives.
-The problem is that racoon2 does not count up the counter mistakenly
-when sending the initial IKE_SA_INIT message in initiator mode.
-This makes the counter corrupt
-then the CREATE_CHILD_SA sent with an unexpected message id.
-
-Upstream-Status: Pending
-
-Signed-off-by: LiWang <[email protected]>
-Signed-of-by: Aws Ismail <[email protected]>
-
---- racoon2-20090327c.org/iked/ikev2.c	2010-05-14 10:19:34.000000000 +0800
-+++ racoon2-20090327c/iked/ikev2.c	2010-05-14 10:23:54.000000000 +0800
-@@ -923,6 +923,8 @@
- 	if (!pkt)
- 		goto fail;
- 
-+	++ike_sa->request_pending;
-+
- 	/* save message data for AUTH calculation */
- 	if (ike_sa->my_first_message)
- 		rc_vfree(ike_sa->my_first_message);
meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-fix-target-perl-path-to-generate-RPM.patch deleted +0 -86

86 lines not on this page · raw message

meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-fwrite-return-value.patch deleted +0 -34
deleted file mode 100644
index a013199..0000000
@@ -1,34 +0,0 @@
-racoon2: fix compile error for MIPS
-
-Correct compile error with fortify-source.
-When compiling with FORTIFY_SOURCE specified,
-the racoon2 package fails.  The root cause is a 
-macro introduces a call to fwrite() where the return code
-isn't checked.  This patch moves the macro to an earlier
-spot where this problem is corrected.
-
-Upstream-Status: Pending
-
-Signed-off-by: Greg Moffatt <[email protected]>
-Signed-of-by: Aws Ismail <[email protected]>
-
----
- cftoken.l |    7 +++++++
- 1 file changed, 7 insertions(+)
-
---- a/lib/cftoken.l
-+++ b/lib/cftoken.l
-@@ -84,6 +84,13 @@
- #define DP
- #endif
- 
-+#ifndef ECHO
-+/* This used to be an fputs(), but since the string might contain NUL's,
-+ * we now use fwrite().
-+ */
-+#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
-+#endif
-+
- 	/* the include files stack */
- #define CF_INCLUDE_DEPTH 10
- static struct rcf_include_stack {
meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-iked-initscript.patch deleted +0 -40
deleted file mode 100644
index 10182f3..0000000
@@ -1,40 +0,0 @@
-Source /etc/init.d/functions and add sub-command status
-
-Upstream-Status: Inappropriate [embedded specific]
-
-Signed-off-by: Yi Zhao <[email protected]>
-
-diff --git a/samples/init.d-iked.in b/samples/init.d-iked.in
-index 4e65b94..ff5f355 100644
---- a/samples/init.d-iked.in
-+++ b/samples/init.d-iked.in
-@@ -3,6 +3,9 @@
- # iked startup script
- #
- 
-+# Source function library.
-+. /etc/init.d/functions
-+
- prefix=@prefix@
- exec_prefix=@exec_prefix@
- 
-@@ -25,6 +28,10 @@ stop)
- 	read pid junk < $PIDFILE && kill $pid
- 	echo "."
- 	;;
-+  status)
-+	status $DAEMON;
-+	exit $?
-+	;;
- restart)
- 	$0 stop
- 	$0 start
-@@ -35,7 +42,7 @@ reload)
- 	echo "."
- 	;;
- *)
--	echo "usage: $0 {start|stop|restart|reload}"
-+	echo "usage: $0 {start|stop|status|restart|reload}"
- 	exit 1
- 	;;
- esac
meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-iked-needs-libcrypto.patch deleted +0 -34
deleted file mode 100644
index 0c57c65..0000000
@@ -1,34 +0,0 @@
-iked needs libcrypto
-
-Add libcrypto to the list of LIBS for iked to avoid undefined reference
-errors during compilation.
-
-If add libcrypto to the list of LDFLAGS, the result is same as "gcc  -lcrypto
--o eaytest eaytest.o crypto_openssl.o str2val.o", since the linker searchs an
-archive only once, at the location where it is specified on the command line,
-crypto_openssl.o will report undefined symbol which is defined in libcrypto
-
-Upstream-Status: Pending
-
-Signed-off-by: Aws Ismail <[email protected]>
-Signed-off-by: Roy.Li <[email protected]> 
----
- iked/Makefile.in |    2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/iked/Makefile.in b/iked/Makefile.in
-index 57134f3..5a9160c 100644
---- a/iked/Makefile.in
-+++ b/iked/Makefile.in
-@@ -56,7 +56,7 @@ OBJS += @CRYPTOBJS@
- TESTSRC = eaytest.c
- TESTOBJ = $(TESTSRC:%.c=%.o)
- 
--LIBS = @LIBS@
-+LIBS = @LIBS@ -lcrypto
- LIBRARIES = @LIBRARIES@
- 
- MAN = iked.8
--- 
-1.7.1
-
meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-kinkd-initscript.patch deleted +0 -40
deleted file mode 100644
index 69fe02d..0000000
@@ -1,40 +0,0 @@
-Source /etc/init.d/functions and add sub-command status
-
-Upstream-Status: Inappropriate [embedded specific]
-
-Signed-off-by: Yi Zhao <[email protected]>
-
-diff --git a/samples/init.d-kinkd.in b/samples/init.d-kinkd.in
-index 1813b39..71d0855 100644
---- a/samples/init.d-kinkd.in
-+++ b/samples/init.d-kinkd.in
-@@ -3,6 +3,9 @@
- # kinkd start up script
- #
- 
-+# Source function library.
-+. /etc/init.d/functions
-+
- prefix=@prefix@
- exec_prefix=@exec_prefix@
- 
-@@ -25,6 +28,10 @@ stop)
- 	read pid junk < $PIDFILE && kill $pid
- 	echo "."
- 	;;
-+  status)
-+	status $DAEMON;
-+	exit $?
-+	;;
- restart)
- 	$0 stop
- 	$0 start
-@@ -35,7 +42,7 @@ reload)
- 	echo "."
- 	;;
- *)
--	echo "usage: $0 {start|stop|restart|reload}"
-+	echo "usage: $0 {start|stop|status|restart|reload}"
- 	exit 1
- 	;;
- esac
meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-reenable-the-ipv6-check.patch deleted +0 -65

65 lines not on this page · raw message

meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-remove-deprecated-do-clause.patch deleted +0 -19
deleted file mode 100644
index 7718235..0000000
@@ -1,19 +0,0 @@
-Remove deprecated do clause which is not supported by perl 5 any more.
-
-Upstream-Status: Pending
-
-Signed-off-by: Kai Kang <[email protected]>
-
---- racoon2-20100526a/pskgen/pskgen.in.orig	2014-01-27 16:19:19.028054860 +0800
-+++ racoon2-20100526a/pskgen/pskgen.in	2014-01-27 16:19:47.707748768 +0800
-@@ -59,8 +59,8 @@
- 	exit 0;
- }
- 
--require 'getopts.pl';
--do Getopts('rs:o:di:he:d');
-+use Getopt::Std;
-+getopts('rs:o:di:he:d');
- $output = '-';
- $output = $opt_o if ($opt_o);
- 
meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-removed-conflicting-prototypes.patch deleted +0 -51

51 lines not on this page · raw message

meta-cgl-common/recipes-cgl/racoon2/racoon2/racoon2-spmd-initscript.patch deleted +0 -39
deleted file mode 100644
index ab2b0e0..0000000
@@ -1,39 +0,0 @@
-Source /etc/init.d/functions and add sub-command status
-
-Upstream-Status: Inappropriate [embedded specific]
-
-Signed-off-by: Yi Zhao <[email protected]>
-
-diff --git a/samples/init.d-spmd.in b/samples/init.d-spmd.in
-index d38b825..624f22d 100644
---- a/samples/init.d-spmd.in
-+++ b/samples/init.d-spmd.in
-@@ -1,5 +1,8 @@
- #! /bin/sh
- 
-+# Source function library.
-+. /etc/init.d/functions
-+
- prefix=@prefix@
- exec_prefix=@exec_prefix@
- 
-@@ -27,6 +30,10 @@ case "$1" in
- 	$DAEMON -k
- 	echo "."
- 	;;
-+  status)
-+	status $DAEMON;
-+	exit $?
-+	;;
-   restart|force-reload)
-   	$0 stop
- 	$0 start
-@@ -34,7 +41,7 @@ case "$1" in
-   *)
- 	N=/etc/init.d/$NAME
- 	# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
--	echo "Usage: $N {start|stop|restart|force-reload}" >&2
-+	echo "Usage: $N {start|stop|status|restart|force-reload}" >&2
- 	exit 1
- 	;;
- esac
meta-cgl-common/recipes-cgl/racoon2/racoon2_202003018.bb renamed from meta-cgl-common/recipes-cgl/racoon2/racoon2_20100526a.bb +22 -24

70 lines not on this page · raw message

Signature · 1 line
2.13.3
#20 lore raw

PATCH 19/20 initramfs-cgl-boot: Do not presume layer is inside corebase

In reply to Jeremy Puhlman

From: Jeremy Puhlman <[email protected]>

---
 .../recipes-core/initrdscripts/initramfs-cgl-boot_1.0.bb            | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-cgl-common/recipes-core/initrdscripts/initramfs-cgl-boot_1.0.bb +4 -2
index 5265bf0..1a2dd1d 100644
@@ -1,7 +1,9 @@
 SUMMARY = "Support for having multipath iSCSI devices as root file system"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COREBASE}/meta-cgl/COPYING.MIT;md5=838c366f69b72c5df05c96dff79b35f2"
-SRC_URI = "file://init-boot.sh"
+LIC_FILES_CHKSUM = "file://../COPYING.MIT;md5=838c366f69b72c5df05c96dff79b35f2"
+SRC_URI = "file://init-boot.sh \
+          file://COPYING.MIT \
+"
 
 do_install() {
         install -m 0755 ${WORKDIR}/init-boot.sh ${D}/init
Signature · 1 line
2.13.3
#21 lore raw

PATCH 20/20 Move packagegroups to recipes-core for consistancy sake

In reply to Jeremy Puhlman
---
 meta-cgl-common/conf/layer.conf                                         | 2 --
 .../{ => recipes-core}/packagegroups/packagegroup-cgl-applications.bb   | 0
 .../{ => recipes-core}/packagegroups/packagegroup-cgl-kernel.bb         | 0
 .../{ => recipes-core}/packagegroups/packagegroup-cgl-middleware.bb     | 0
 .../{ => recipes-core}/packagegroups/packagegroup-cgl-swdevtools.bb     | 0
 meta-cgl-common/{ => recipes-core}/packagegroups/packagegroup-cgl.bb    | 0
 6 files changed, 2 deletions(-)
 rename meta-cgl-common/{ => recipes-core}/packagegroups/packagegroup-cgl-applications.bb (100%)
 rename meta-cgl-common/{ => recipes-core}/packagegroups/packagegroup-cgl-kernel.bb (100%)
 rename meta-cgl-common/{ => recipes-core}/packagegroups/packagegroup-cgl-middleware.bb (100%)
 rename meta-cgl-common/{ => recipes-core}/packagegroups/packagegroup-cgl-swdevtools.bb (100%)
 rename meta-cgl-common/{ => recipes-core}/packagegroups/packagegroup-cgl.bb (100%)
meta-cgl-common/conf/layer.conf +0 -2
index de64205..a48f96e 100644
@@ -3,8 +3,6 @@ BBPATH .= ":${LAYERDIR}"
 
 # We have recipes-* directories, add to BBFILES
 BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
-	${LAYERDIR}/images/* \
-	${LAYERDIR}/packagegroups/* \
 	${LAYERDIR}/recipes-*/*/*.bbappend"
 
 BBFILE_COLLECTIONS += "cgl-common"
meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-applications.bb renamed from meta-cgl-common/packagegroups/packagegroup-cgl-applications.bb +0 -0
similarity index 100%
rename from meta-cgl-common/packagegroups/packagegroup-cgl-applications.bb
rename to meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-applications.bb
meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-kernel.bb renamed from meta-cgl-common/packagegroups/packagegroup-cgl-kernel.bb +0 -0
similarity index 100%
rename from meta-cgl-common/packagegroups/packagegroup-cgl-kernel.bb
rename to meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-kernel.bb
meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-middleware.bb renamed from meta-cgl-common/packagegroups/packagegroup-cgl-middleware.bb +0 -0
similarity index 100%
rename from meta-cgl-common/packagegroups/packagegroup-cgl-middleware.bb
rename to meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-middleware.bb
meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-swdevtools.bb renamed from meta-cgl-common/packagegroups/packagegroup-cgl-swdevtools.bb +0 -0
similarity index 100%
rename from meta-cgl-common/packagegroups/packagegroup-cgl-swdevtools.bb
rename to meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl-swdevtools.bb
meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl.bb renamed from meta-cgl-common/packagegroups/packagegroup-cgl.bb +0 -0
similarity index 100%
rename from meta-cgl-common/packagegroups/packagegroup-cgl.bb
rename to meta-cgl-common/recipes-core/packagegroups/packagegroup-cgl.bb
Signature · 1 line
2.13.3