cfengine,cfengine-masterfiles: Upgrade to 3.12.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2018-08-11 20:15:49 -07:00
parent d6239c67f8
commit a793c6d9d1
4 changed files with 24 additions and 38 deletions
@@ -22,8 +22,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=9f76426f9ef8c6f6739fadd21d817a4f"
SRC_URI = "https://cfengine-package-repos.s3.amazonaws.com/tarballs/${BP}.tar.gz"
SRC_URI[md5sum] = "1247ef4e8f3cee5efa98da50c326e5a4"
SRC_URI[sha256sum] = "5d18a8d71f451d0b5dd1f5e579452b29b99b664f2bb0827dbba9a615f2764df6"
SRC_URI[md5sum] = "d59bd8c95620da816c382f749d425860"
SRC_URI[sha256sum] = "1c50e3d8c702097e13a21258626d936d6ff2e6492e893dfe286ff0d6204d7a65"
inherit autotools
@@ -1,28 +0,0 @@
Upstream-Status: Inappropriate [configuration]
projlibdir use a hard coded lib path, this will cause error when build a 64bit
target. So change it to suitable path.
Signed-off-by: Song.Li <Song.Li@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 38e2b9c..bc6b996 100644
--- a/configure.ac
+++ b/configure.ac
@@ -188,7 +188,7 @@ AS_IF([test x"$enable_fhs" = xyes], [
fi
sbindir='${exec_prefix}/bin' # /var/cfengine/bin despite being sbin_?
- projlibdir='${exec_prefix}/lib'
+ projlibdir='${libdir}'
mandir='${exec_prefix}/share/man'
])
--
1.7.1
@@ -1,23 +1,38 @@
From dc270040cb3beb5ca42f864813145c8a68594bad Mon Sep 17 00:00:00 2001
From: Kai Kang <kai.kang@windriver.com>
Date: Mon, 18 Jul 2016 09:06:06 +0800
Subject: [PATCH] cfengine: add recipe and base policy
Upstream-Status: Inappropriate [configuration]
Set the path of default configure file.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
misc/init.d/cfengine3.in | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/misc/init.d/cfengine3.in b/misc/init.d/cfengine3.in
index d6ae26f..1dee283 100644
index c584817..12f5803 100644
--- a/misc/init.d/cfengine3.in
+++ b/misc/init.d/cfengine3.in
@@ -101,11 +101,7 @@ if [ -z "$LOCKDIR" ]; then
@@ -101,14 +101,10 @@ if [ -z "$LOCKDIR" ]; then
fi
# default control file
-if [ "$DEBIAN" = "1" ]; then
- DEFAULT=/etc/default/cfengine3
- INIT_FUNCTIONS=/lib/lsb/init-functions
- if [ -e "$INIT_FUNCTIONS" ]; then
- . "$INIT_FUNCTIONS"
- fi
-else
- DEFAULT=/etc/sysconfig/cfengine3
-fi
+DEFAULT=/etc/default/cfengine3
+INIT_FUNCTIONS=/lib/lsb/init-functions
+if [ -e "$INIT_FUNCTIONS" ]; then
+ . "$INIT_FUNCTIONS"
fi
if [ -f $DEFAULT ]; then
. $DEFAULT
@@ -16,12 +16,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f8b34828ab373d6b1bb4b0fc60a78494"
DEPENDS = "attr tokyocabinet"
SRC_URI = "https://cfengine-package-repos.s3.amazonaws.com/tarballs/${BP}.tar.gz \
file://change-hard-coded-lib-path.patch \
file://set-path-of-default-config-file.patch \
"
"
SRC_URI[md5sum] = "c16baf08189a1af6fcf2e2ff61102992"
SRC_URI[sha256sum] = "d4fa9ac7276dba7b85d6757aab2f0929ab8d3b115cb0e7b0cf984760347429d7"
SRC_URI[md5sum] = "33ef12260db4b430352229f37f7cb0e5"
SRC_URI[sha256sum] = "d71ba98a272390c6fa8bc20e8ea27f0050a0a72a3e6b206a4762b4646be332ec"
inherit autotools systemd