1*4882a593Smuzhiyun# 2*4882a593Smuzhiyun# Copyright (C) 2014 - 2017 Wind River Systems, Inc. 3*4882a593Smuzhiyun# 4*4882a593SmuzhiyunSUMMARY = "Base policy for CFEngine" 5*4882a593Smuzhiyun 6*4882a593SmuzhiyunDESCRIPTION = "CFEngine is an IT infrastructure automation framework \ 7*4882a593Smuzhiyunthat helps engineers, system administrators and other stakeholders \ 8*4882a593Smuzhiyunin an IT system to manage and understand IT infrastructure throughout \ 9*4882a593Smuzhiyunits lifecycle. CFEngine takes systems from Build to Deploy, Manage and Audit. \ 10*4882a593Smuzhiyun \ 11*4882a593SmuzhiyunThis package is intended to provide a stable base policy for \ 12*4882a593Smuzhiyuninstallations and upgrades, and is used by CFEngine 3.6 and newer. \ 13*4882a593Smuzhiyun \ 14*4882a593SmuzhiyunThe contents of this packge are intended to live in `/var/cfengine/masterfiles` \ 15*4882a593Smuzhiyunor wherever `$(sys.masterdir)` points. \ 16*4882a593Smuzhiyun" 17*4882a593Smuzhiyun 18*4882a593SmuzhiyunHOMEPAGE = "http://cfengine.com" 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunLICENSE = "MIT" 21*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=9f76426f9ef8c6f6739fadd21d817a4f" 22*4882a593Smuzhiyun 23*4882a593SmuzhiyunSRC_URI = "https://cfengine-package-repos.s3.amazonaws.com/tarballs/${BP}.tar.gz \ 24*4882a593Smuzhiyun file://python3.patch \ 25*4882a593Smuzhiyun " 26*4882a593SmuzhiyunSRC_URI[md5sum] = "6d456fdd9bd24ff6617eeaa05efae602" 27*4882a593SmuzhiyunSRC_URI[sha256sum] = "4a071c0c4ba7df9bad93144cff5fbc0566e5172afd66201072e3193b76c55a38" 28*4882a593Smuzhiyun 29*4882a593Smuzhiyuninherit autotools 30*4882a593Smuzhiyun 31*4882a593Smuzhiyunexport EXPLICIT_VERSION="${PV}" 32*4882a593Smuzhiyun 33*4882a593SmuzhiyunEXTRA_OECONF = "--prefix=${datadir}/cfengine" 34*4882a593Smuzhiyun 35*4882a593Smuzhiyundo_install:append() { 36*4882a593Smuzhiyun rm -rf ${D}${datadir}/cfengine/modules/packages/zypper ${D}${datadir}/cfengine/modules/packages/yum 37*4882a593Smuzhiyun} 38*4882a593Smuzhiyun 39*4882a593SmuzhiyunFILES:${PN} = "${datadir}/cfengine" 40*4882a593Smuzhiyun 41*4882a593SmuzhiyunRDEPENDS:${PN} += "python3-core" 42