summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2026-02-19 22:11:17 +0100
committerKhem Raj <raj.khem@gmail.com>2026-02-20 23:34:21 -0800
commit95e4da06e42ffb3d76c3ced51aaa236b9d01dfc7 (patch)
tree091f91259162a91c1628dbeffbb0fa60caff9988 /meta-oe/recipes-extended
parent68c5fd3d85110c25d8a5c62f3a8182d4b1330668 (diff)
downloadmeta-openembedded-95e4da06e42ffb3d76c3ced51aaa236b9d01dfc7.tar.gz
cfengine: upgrade 3.21.0 -> 3.26.0
Changelog: https://github.com/cfengine/core/blob/3.26.0/ChangeLog License-Update: The project switched from pcre to pcre2. This small change is incorporated in the license, where the dependencies are listed. libpcre2 and OpenSSL is now a mandatory dependencies, the corresponding PACKAGECONFIGs are dropped. Patch that was incorporated in this release is also dropped. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r--meta-oe/recipes-extended/cfengine/cfengine/0001-Fixed-with-libxml2-no-case-in-configure.ac.patch89
-rw-r--r--meta-oe/recipes-extended/cfengine/cfengine_3.26.0.bb (renamed from meta-oe/recipes-extended/cfengine/cfengine_3.21.0.bb)22
2 files changed, 10 insertions, 101 deletions
diff --git a/meta-oe/recipes-extended/cfengine/cfengine/0001-Fixed-with-libxml2-no-case-in-configure.ac.patch b/meta-oe/recipes-extended/cfengine/cfengine/0001-Fixed-with-libxml2-no-case-in-configure.ac.patch
deleted file mode 100644
index 78f36bde45..0000000000
--- a/meta-oe/recipes-extended/cfengine/cfengine/0001-Fixed-with-libxml2-no-case-in-configure.ac.patch
+++ /dev/null
@@ -1,89 +0,0 @@
1From a08acdfadb5eba2a3201209c6da3ad6f2ca4ae79 Mon Sep 17 00:00:00 2001
2From: Craig Comstock <craig.comstock@northern.tech>
3Date: Fri, 27 Jan 2023 15:19:48 -0600
4Subject: [PATCH] Fixed --with-libxml2=no case in configure.ac
5
6The CF3_WITH_LIBRARY and AC_CHECK_HEADERS were moved to outside of the check for with-libxml2=no
7
8Ticket: CFE-4023
9Changelog: title
10---
11Upstream-Status: Pending
12
13 configure.ac | 21 +++++++++++----------
14 libntech/configure.ac | 21 +++++++++++----------
15 2 files changed, 22 insertions(+), 20 deletions(-)
16
17diff --git a/configure.ac b/configure.ac
18index e189b10..f6b8226 100644
19--- a/configure.ac
20+++ b/configure.ac
21@@ -659,19 +659,20 @@ if test "x$with_libxml2" != "xno"; then
22 LIBXML2_CPPFLAGS=-I$with_libxml2/include/libxml2
23 fi
24 fi
25-fi
26
27-CF3_WITH_LIBRARY(libxml2,
28- [AC_CHECK_LIB(xml2, xmlFirstElementChild,
29- [],
30- [if test "x$with_libxml2" != xcheck; then
31- AC_MSG_ERROR(Cannot find libxml2); fi]
32- )
33- AC_CHECK_HEADERS([libxml/xmlwriter.h], [break],
34+ CF3_WITH_LIBRARY(libxml2,
35+ [AC_CHECK_LIB(xml2, xmlFirstElementChild,
36+ [],
37 [if test "x$with_libxml2" != xcheck; then
38 AC_MSG_ERROR(Cannot find libxml2); fi]
39- )]
40-)
41+ )
42+ AC_CHECK_HEADERS([libxml/xmlwriter.h], [break],
43+ [if test "x$with_libxml2" != xcheck; then
44+ AC_MSG_ERROR(Cannot find libxml2); fi]
45+ )]
46+ )
47+
48+fi
49
50 AM_CONDITIONAL([HAVE_LIBXML2],
51 [test "x$with_libxml2" != xno &&
52diff --git a/libntech/configure.ac b/libntech/configure.ac
53index 7bb8787..28b3683 100644
54--- a/libntech/configure.ac
55+++ b/libntech/configure.ac
56@@ -571,19 +571,20 @@ if test "x$with_libxml2" != "xno"; then
57 LIBXML2_CPPFLAGS=-I$with_libxml2/include/libxml2
58 fi
59 fi
60-fi
61
62-CF3_WITH_LIBRARY(libxml2,
63- [AC_CHECK_LIB(xml2, xmlFirstElementChild,
64- [],
65- [if test "x$with_libxml2" != xcheck; then
66- AC_MSG_ERROR(Cannot find libxml2); fi]
67- )
68- AC_CHECK_HEADERS([libxml/xmlwriter.h], [break],
69+ CF3_WITH_LIBRARY(libxml2,
70+ [AC_CHECK_LIB(xml2, xmlFirstElementChild,
71+ [],
72 [if test "x$with_libxml2" != xcheck; then
73 AC_MSG_ERROR(Cannot find libxml2); fi]
74- )]
75-)
76+ )
77+ AC_CHECK_HEADERS([libxml/xmlwriter.h], [break],
78+ [if test "x$with_libxml2" != xcheck; then
79+ AC_MSG_ERROR(Cannot find libxml2); fi]
80+ )]
81+ )
82+
83+fi
84
85 AM_CONDITIONAL([HAVE_LIBXML2],
86 [test "x$with_libxml2" != xno &&
87--
882.39.1
89
diff --git a/meta-oe/recipes-extended/cfengine/cfengine_3.21.0.bb b/meta-oe/recipes-extended/cfengine/cfengine_3.26.0.bb
index 5fd5279d7d..28ea16ea6f 100644
--- a/meta-oe/recipes-extended/cfengine/cfengine_3.21.0.bb
+++ b/meta-oe/recipes-extended/cfengine/cfengine_3.26.0.bb
@@ -11,37 +11,33 @@ its lifecycle. CFEngine takes systems from Build to Deploy, Manage and Audit."
11HOMEPAGE = "http://cfengine.com" 11HOMEPAGE = "http://cfengine.com"
12 12
13LICENSE = "GPL-3.0-only" 13LICENSE = "GPL-3.0-only"
14LIC_FILES_CHKSUM = "file://LICENSE;md5=233aa25e53983237cf0bd4c238af255f" 14LIC_FILES_CHKSUM = "file://LICENSE;md5=eef43e6a0b5a8f46ef7f11e1e4b32a6c"
15 15
16DEPENDS += "attr tokyocabinet bison-native libxml2" 16DEPENDS += "attr tokyocabinet bison-native openssl libpcre2 librsync"
17 17
18SRC_URI = "https://cfengine-package-repos.s3.amazonaws.com/tarballs/${BPN}-community-${PV}.tar.gz \ 18SRC_URI = "https://cfengine-package-repos.s3.amazonaws.com/tarballs/${BPN}-community-${PV}.tar.gz \
19 file://0001-Fixed-with-libxml2-no-case-in-configure.ac.patch \
20 file://set-path-of-default-config-file.patch \ 19 file://set-path-of-default-config-file.patch \
21 " 20 "
22SRC_URI[sha256sum] = "911778ddb0a4e03a3ddfc8fc0f033136e1551849ea2dcbdb3f0f14359dfe3126" 21SRC_URI[sha256sum] = "d3c3884b314dae48a6884e919d0a12acac5aea95d970544e4632a1773857d19b"
23 22
24inherit autotools-brokensep systemd 23inherit autotools-brokensep systemd
25 24
26export EXPLICIT_VERSION = "${PV}" 25export EXPLICIT_VERSION = "${PV}"
27 26
28SYSTEMD_SERVICE:${PN} = "cfengine3.service cf-apache.service cf-hub.service cf-postgres.service \ 27SYSTEMD_SERVICE:${PN} = "cfengine3.service cf-apache.service cf-hub.service cf-postgres.service \
29 cf-runalerts.service cf-execd.service \ 28 cf-execd.service cf-php-fpm.service \
30 cf-monitord.service cf-serverd.service \ 29 cf-monitord.service cf-serverd.service \
31 cf-reactor.service \ 30 cf-reactor.service \
32" 31"
33SYSTEMD_AUTO_ENABLE:${PN} = "disable" 32SYSTEMD_AUTO_ENABLE:${PN} = "disable"
34 33
35PACKAGECONFIG ??= "libpcre openssl \ 34PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)}"
36 ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)} \ 35
37"
38PACKAGECONFIG[libxml2] = "--with-libxml2=yes,--with-libxml2=no,libxml2," 36PACKAGECONFIG[libxml2] = "--with-libxml2=yes,--with-libxml2=no,libxml2,"
39PACKAGECONFIG[mysql] = "--with-mysql=yes,--with-mysql=no,mariadb," 37PACKAGECONFIG[mysql] = "--with-mysql=yes,--with-mysql=no,mariadb,"
40PACKAGECONFIG[postgresql] = "--with-postgresql=yes,--with-postgresql=no,postgresql," 38PACKAGECONFIG[postgresql] = "--with-postgresql=yes,--with-postgresql=no,postgresql,"
41PACKAGECONFIG[acl] = "--with-libacl=yes,--with-libacl=no,acl," 39PACKAGECONFIG[acl] = "--with-libacl=yes,--with-libacl=no,acl,"
42PACKAGECONFIG[libvirt] = "--with-libvirt=yes,--with-libvirt=no,libvirt," 40PACKAGECONFIG[libvirt] = "--with-libvirt=yes,--with-libvirt=no,libvirt,"
43PACKAGECONFIG[libpcre] = "--with-pcre=yes,--with-pcre=no,libpcre,"
44PACKAGECONFIG[openssl] = "--with-openssl=yes,--with-openssl=no,openssl,"
45PACKAGECONFIG[pam] = "--with-pam=yes,--with-pam=no,libpam," 41PACKAGECONFIG[pam] = "--with-pam=yes,--with-pam=no,libpam,"
46PACKAGECONFIG[libyaml] = "--with-libyaml,--without-libyaml,libyaml," 42PACKAGECONFIG[libyaml] = "--with-libyaml,--without-libyaml,libyaml,"
47PACKAGECONFIG[systemd] = "--with-systemd-service=${systemd_system_unitdir},--without-systemd-service" 43PACKAGECONFIG[systemd] = "--with-systemd-service=${systemd_system_unitdir},--without-systemd-service"
@@ -53,8 +49,8 @@ CFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'libxml2', '-I${STAGING_INCDIR}
53 49
54do_install:append() { 50do_install:append() {
55 install -d ${D}${localstatedir}/${BPN}/bin 51 install -d ${D}${localstatedir}/${BPN}/bin
56 for f in `ls ${D}${bindir}`; do 52 for f in $(find ${D}${bindir} -type f); do
57 ln -s ${bindir}/`basename $f` ${D}${localstatedir}/${BPN}/bin/ 53 ln -sr $f ${D}${localstatedir}/${BPN}/bin/
58 done 54 done
59 55
60 install -d ${D}${sysconfdir}/default 56 install -d ${D}${sysconfdir}/default
@@ -73,3 +69,5 @@ EOF
73} 69}
74 70
75RDEPENDS:${PN} += "${BPN}-masterfiles" 71RDEPENDS:${PN} += "${BPN}-masterfiles"
72
73FILES:${PN} += "${libdir}/python"