diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2026-02-19 22:11:17 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-02-20 23:34:21 -0800 |
| commit | 95e4da06e42ffb3d76c3ced51aaa236b9d01dfc7 (patch) | |
| tree | 091f91259162a91c1628dbeffbb0fa60caff9988 /meta-oe/recipes-extended | |
| parent | 68c5fd3d85110c25d8a5c62f3a8182d4b1330668 (diff) | |
| download | meta-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.patch | 89 | ||||
| -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 @@ | |||
| 1 | From a08acdfadb5eba2a3201209c6da3ad6f2ca4ae79 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Craig Comstock <craig.comstock@northern.tech> | ||
| 3 | Date: Fri, 27 Jan 2023 15:19:48 -0600 | ||
| 4 | Subject: [PATCH] Fixed --with-libxml2=no case in configure.ac | ||
| 5 | |||
| 6 | The CF3_WITH_LIBRARY and AC_CHECK_HEADERS were moved to outside of the check for with-libxml2=no | ||
| 7 | |||
| 8 | Ticket: CFE-4023 | ||
| 9 | Changelog: title | ||
| 10 | --- | ||
| 11 | Upstream-Status: Pending | ||
| 12 | |||
| 13 | configure.ac | 21 +++++++++++---------- | ||
| 14 | libntech/configure.ac | 21 +++++++++++---------- | ||
| 15 | 2 files changed, 22 insertions(+), 20 deletions(-) | ||
| 16 | |||
| 17 | diff --git a/configure.ac b/configure.ac | ||
| 18 | index 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 && | ||
| 52 | diff --git a/libntech/configure.ac b/libntech/configure.ac | ||
| 53 | index 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 | -- | ||
| 88 | 2.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." | |||
| 11 | HOMEPAGE = "http://cfengine.com" | 11 | HOMEPAGE = "http://cfengine.com" |
| 12 | 12 | ||
| 13 | LICENSE = "GPL-3.0-only" | 13 | LICENSE = "GPL-3.0-only" |
| 14 | LIC_FILES_CHKSUM = "file://LICENSE;md5=233aa25e53983237cf0bd4c238af255f" | 14 | LIC_FILES_CHKSUM = "file://LICENSE;md5=eef43e6a0b5a8f46ef7f11e1e4b32a6c" |
| 15 | 15 | ||
| 16 | DEPENDS += "attr tokyocabinet bison-native libxml2" | 16 | DEPENDS += "attr tokyocabinet bison-native openssl libpcre2 librsync" |
| 17 | 17 | ||
| 18 | SRC_URI = "https://cfengine-package-repos.s3.amazonaws.com/tarballs/${BPN}-community-${PV}.tar.gz \ | 18 | SRC_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 | " |
| 22 | SRC_URI[sha256sum] = "911778ddb0a4e03a3ddfc8fc0f033136e1551849ea2dcbdb3f0f14359dfe3126" | 21 | SRC_URI[sha256sum] = "d3c3884b314dae48a6884e919d0a12acac5aea95d970544e4632a1773857d19b" |
| 23 | 22 | ||
| 24 | inherit autotools-brokensep systemd | 23 | inherit autotools-brokensep systemd |
| 25 | 24 | ||
| 26 | export EXPLICIT_VERSION = "${PV}" | 25 | export EXPLICIT_VERSION = "${PV}" |
| 27 | 26 | ||
| 28 | SYSTEMD_SERVICE:${PN} = "cfengine3.service cf-apache.service cf-hub.service cf-postgres.service \ | 27 | SYSTEMD_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 | " |
| 33 | SYSTEMD_AUTO_ENABLE:${PN} = "disable" | 32 | SYSTEMD_AUTO_ENABLE:${PN} = "disable" |
| 34 | 33 | ||
| 35 | PACKAGECONFIG ??= "libpcre openssl \ | 34 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)}" |
| 36 | ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)} \ | 35 | |
| 37 | " | ||
| 38 | PACKAGECONFIG[libxml2] = "--with-libxml2=yes,--with-libxml2=no,libxml2," | 36 | PACKAGECONFIG[libxml2] = "--with-libxml2=yes,--with-libxml2=no,libxml2," |
| 39 | PACKAGECONFIG[mysql] = "--with-mysql=yes,--with-mysql=no,mariadb," | 37 | PACKAGECONFIG[mysql] = "--with-mysql=yes,--with-mysql=no,mariadb," |
| 40 | PACKAGECONFIG[postgresql] = "--with-postgresql=yes,--with-postgresql=no,postgresql," | 38 | PACKAGECONFIG[postgresql] = "--with-postgresql=yes,--with-postgresql=no,postgresql," |
| 41 | PACKAGECONFIG[acl] = "--with-libacl=yes,--with-libacl=no,acl," | 39 | PACKAGECONFIG[acl] = "--with-libacl=yes,--with-libacl=no,acl," |
| 42 | PACKAGECONFIG[libvirt] = "--with-libvirt=yes,--with-libvirt=no,libvirt," | 40 | PACKAGECONFIG[libvirt] = "--with-libvirt=yes,--with-libvirt=no,libvirt," |
| 43 | PACKAGECONFIG[libpcre] = "--with-pcre=yes,--with-pcre=no,libpcre," | ||
| 44 | PACKAGECONFIG[openssl] = "--with-openssl=yes,--with-openssl=no,openssl," | ||
| 45 | PACKAGECONFIG[pam] = "--with-pam=yes,--with-pam=no,libpam," | 41 | PACKAGECONFIG[pam] = "--with-pam=yes,--with-pam=no,libpam," |
| 46 | PACKAGECONFIG[libyaml] = "--with-libyaml,--without-libyaml,libyaml," | 42 | PACKAGECONFIG[libyaml] = "--with-libyaml,--without-libyaml,libyaml," |
| 47 | PACKAGECONFIG[systemd] = "--with-systemd-service=${systemd_system_unitdir},--without-systemd-service" | 43 | PACKAGECONFIG[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 | ||
| 54 | do_install:append() { | 50 | do_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 | ||
| 75 | RDEPENDS:${PN} += "${BPN}-masterfiles" | 71 | RDEPENDS:${PN} += "${BPN}-masterfiles" |
| 72 | |||
| 73 | FILES:${PN} += "${libdir}/python" | ||
