diff options
| author | Craig Comstock <craig@unreasonablefarm.org> | 2023-02-17 11:17:22 -0600 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-02-18 13:19:36 -0800 |
| commit | 8caa8a3d12073db307c3e9e09dfe5a3fa4070a74 (patch) | |
| tree | 00a1b611fe4639e51e8e2f7dde161c3aa68aa0d8 /meta-oe/recipes-extended/cfengine/cfengine_3.15.0.bb | |
| parent | 43ee6170bbe0f886fcd952e29d4eb5554043ca50 (diff) | |
| download | meta-openembedded-8caa8a3d12073db307c3e9e09dfe5a3fa4070a74.tar.gz | |
cfengine: upgrade to 3.21.0
Also fixed --with-libxml2=no case in configure.ac
The CF3_WITH_LIBRARY and AC_CHECK_HEADERS were moved to outside of the check for with-libxml2=no
This fix is already merged in cfengine master but will need some time to cherry-pick and arrive in a 3.21.x LTS release.
Ticket: CFE-4023
Changelog: title
Signed-off-by: Craig Comstock <craig@unreasonablefarm.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/cfengine/cfengine_3.15.0.bb')
| -rw-r--r-- | meta-oe/recipes-extended/cfengine/cfengine_3.15.0.bb | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/meta-oe/recipes-extended/cfengine/cfengine_3.15.0.bb b/meta-oe/recipes-extended/cfengine/cfengine_3.15.0.bb deleted file mode 100644 index 1566f8a88f..0000000000 --- a/meta-oe/recipes-extended/cfengine/cfengine_3.15.0.bb +++ /dev/null | |||
| @@ -1,74 +0,0 @@ | |||
| 1 | # | ||
| 2 | # Copyright (C) 2014 - 2017 Wind River Systems, Inc. | ||
| 3 | # | ||
| 4 | SUMMARY = "CFEngine is an IT infrastructure automation framework" | ||
| 5 | |||
| 6 | DESCRIPTION = "CFEngine is an IT infrastructure automation framework \ | ||
| 7 | that helps engineers, system administrators and other stakeholders \ | ||
| 8 | in an IT system to manage and understand IT infrastructure throughout \ | ||
| 9 | its lifecycle. CFEngine takes systems from Build to Deploy, Manage and Audit." | ||
| 10 | |||
| 11 | HOMEPAGE = "http://cfengine.com" | ||
| 12 | |||
| 13 | SKIP_RECIPE[cfengine] ?= "Needs porting to openssl 3.x" | ||
| 14 | |||
| 15 | LICENSE = "GPL-3.0-only" | ||
| 16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=233aa25e53983237cf0bd4c238af255f" | ||
| 17 | |||
| 18 | DEPENDS = "attr tokyocabinet bison-native" | ||
| 19 | |||
| 20 | SRC_URI = "https://cfengine-package-repos.s3.amazonaws.com/tarballs/${BP}.tar.gz \ | ||
| 21 | file://set-path-of-default-config-file.patch \ | ||
| 22 | " | ||
| 23 | SRC_URI[md5sum] = "d4dabfa46d8afa151be5610f184354e7" | ||
| 24 | SRC_URI[sha256sum] = "fa53e137f850eb268a8e7ae4578b5db5dc383656341f5053dc1a353ed0288265" | ||
| 25 | |||
| 26 | inherit autotools-brokensep systemd | ||
| 27 | |||
| 28 | export EXPLICIT_VERSION="${PV}" | ||
| 29 | |||
| 30 | SYSTEMD_SERVICE:${PN} = "cfengine3.service cf-apache.service cf-hub.service cf-postgres.service \ | ||
| 31 | cf-runalerts.service cf-execd.service \ | ||
| 32 | cf-monitord.service cf-serverd.service \ | ||
| 33 | " | ||
| 34 | SYSTEMD_AUTO_ENABLE:${PN} = "disable" | ||
| 35 | |||
| 36 | PACKAGECONFIG ??= "libpcre openssl \ | ||
| 37 | ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)} \ | ||
| 38 | " | ||
| 39 | PACKAGECONFIG[libxml2] = "--with-libxml2=yes,--with-libxml2=no,libxml2," | ||
| 40 | PACKAGECONFIG[mysql] = "--with-mysql=yes,--with-mysql=no,mysql," | ||
| 41 | PACKAGECONFIG[postgresql] = "--with-postgresql=yes,--with-postgresql=no,postgresql," | ||
| 42 | PACKAGECONFIG[acl] = "--with-libacl=yes,--with-libacl=no,acl," | ||
| 43 | PACKAGECONFIG[libvirt] = "--with-libvirt=yes,--with-libvirt=no,libvirt," | ||
| 44 | PACKAGECONFIG[libpcre] = "--with-pcre=yes,--with-pcre=no,libpcre," | ||
| 45 | PACKAGECONFIG[openssl] = "--with-openssl=yes,--with-openssl=no,openssl," | ||
| 46 | PACKAGECONFIG[pam] = "--with-pam=yes,--with-pam=no,libpam," | ||
| 47 | PACKAGECONFIG[libyaml] = "--with-libyaml,--without-libyaml,libyaml," | ||
| 48 | PACKAGECONFIG[systemd] = "--with-systemd-service=${systemd_system_unitdir},--without-systemd-service" | ||
| 49 | PACKAGECONFIG[libcurl] = "--with-libcurl,--without-libcurl,curl," | ||
| 50 | |||
| 51 | EXTRA_OECONF = "hw_cv_func_va_copy=yes --with-init-script=${sysconfdir}/init.d --with-tokyocabinet" | ||
| 52 | |||
| 53 | do_install:append() { | ||
| 54 | install -d ${D}${localstatedir}/${BPN}/bin | ||
| 55 | for f in `ls ${D}${bindir}`; do | ||
| 56 | ln -s ${bindir}/`basename $f` ${D}${localstatedir}/${BPN}/bin/ | ||
| 57 | done | ||
| 58 | |||
| 59 | install -d ${D}${sysconfdir}/default | ||
| 60 | cat << EOF > ${D}${sysconfdir}/default/cfengine3 | ||
| 61 | RUN_CF_SERVERD=1 | ||
| 62 | RUN_CF_EXECD=1 | ||
| 63 | RUN_CF_MONITORD=1 | ||
| 64 | RUN_CF_HUB=0 | ||
| 65 | EOF | ||
| 66 | |||
| 67 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | ||
| 68 | install -m 0755 -D ${D}${sysconfdir}/init.d/cfengine3 ${D}${datadir}/${BPN}/cfengine3 | ||
| 69 | sed -i -e 's#/etc/init.d#${datadir}/${BPN}#' ${D}${systemd_system_unitdir}/*.service | ||
| 70 | fi | ||
| 71 | rm -rf ${D}${datadir}/cfengine/modules/packages/zypper | ||
| 72 | } | ||
| 73 | |||
| 74 | RDEPENDS:${PN} += "${BPN}-masterfiles" | ||
