1# 2# Copyright (C) 2014 - 2017 Wind River Systems, Inc. 3# 4SUMMARY = "Base policy for CFEngine" 5 6DESCRIPTION = "CFEngine is an IT infrastructure automation framework \ 7that helps engineers, system administrators and other stakeholders \ 8in an IT system to manage and understand IT infrastructure throughout \ 9its lifecycle. CFEngine takes systems from Build to Deploy, Manage and Audit. \ 10 \ 11This package is intended to provide a stable base policy for \ 12installations and upgrades, and is used by CFEngine 3.6 and newer. \ 13 \ 14The contents of this packge are intended to live in `/var/cfengine/masterfiles` \ 15or wherever `$(sys.masterdir)` points. \ 16" 17 18HOMEPAGE = "http://cfengine.com" 19 20LICENSE = "MIT" 21LIC_FILES_CHKSUM = "file://LICENSE;md5=bb843e794feb6890f7697637b461c36e" 22 23SRC_URI = "https://cfengine-package-repos.s3.amazonaws.com/tarballs/${BP}.tar.gz \ 24 " 25SRC_URI[sha256sum] = "0adcfcf36d47317776ad64331058a4d2e3669683314716ddb885f8a13309f47d" 26 27UPSTREAM_CHECK_URI = "https://github.com/cfengine/masterfiles/releases" 28UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" 29 30inherit autotools 31 32export EXPLICIT_VERSION="${PV}" 33 34EXTRA_OECONF = "--prefix=${datadir}/cfengine" 35 36do_install:append() { 37 rm -rf ${D}${datadir}/cfengine/modules/packages/zypper ${D}${datadir}/cfengine/modules/packages/yum 38} 39 40FILES:${PN} = "${datadir}/cfengine" 41 42RDEPENDS:${PN} += "python3-core" 43