summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/openwsman/openwsman_2.6.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-extended/openwsman/openwsman_2.6.3.bb')
-rw-r--r--meta-oe/recipes-extended/openwsman/openwsman_2.6.3.bb65
1 files changed, 65 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/openwsman/openwsman_2.6.3.bb b/meta-oe/recipes-extended/openwsman/openwsman_2.6.3.bb
new file mode 100644
index 0000000000..2925f4b9e2
--- /dev/null
+++ b/meta-oe/recipes-extended/openwsman/openwsman_2.6.3.bb
@@ -0,0 +1,65 @@
1SUMMARY = "Opensource Implementation of WS-Management"
2DESCRIPTION = "Openwsman is a project intended to provide an open-source \
3implementation of the Web Services Management specipication \
4(WS-Management) and to expose system management information on the \
5Linux operating system using the WS-Management protocol. WS-Management \
6is based on a suite of web services specifications and usage \
7requirements that exposes a set of operations focused on and covers \
8all system management aspects. \
9Openwsman Server and service libraries"
10HOMEPAGE = "http://www.openwsman.org/"
11SECTION = "Applications/System"
12
13DEPENDS = "curl libxml2 openssl libpam"
14
15SRCREV = "feb7ec9b004fcaea0dbe65ce8a1a79cc29dd994c"
16PV = "2.6.3"
17
18SRC_URI = "git://github.com/Openwsman/openwsman.git \
19 file://libssl-is-required-if-eventint-supported.patch \
20 file://openwsmand.service"
21
22S = "${WORKDIR}/git"
23
24LICENSE = "BSD"
25LIC_FILES_CHKSUM = "file://COPYING;md5=d4f53d4c6cf73b9d43186ce3be6dd0ba"
26
27inherit systemd cmake pkgconfig pythonnative perlnative
28
29SYSTEMD_SERVICE_${PN} = "openwsmand.service"
30SYSTEMD_AUTO_ENABLE = "disable"
31
32LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', " -fuse-ld=bfd ", '', d)}"
33
34EXTRA_OECMAKE = "-DBUILD_BINDINGS=NO \
35 -DBUILD_LIBCIM=NO \
36 -DBUILD_PERL=YES \
37 -DCMAKE_INSTALL_PREFIX=${prefix} \
38 -DLIB=${baselib} \
39 "
40
41do_configure_prepend() {
42 export STAGING_INCDIR=${STAGING_INCDIR}
43 export STAGING_LIBDIR=${STAGING_LIBDIR}
44}
45
46do_install_append() {
47 install -d ${D}/${sysconfdir}/init.d
48 install -m 755 ${B}/etc/init/openwsmand.sh ${D}/${sysconfdir}/init.d/openwsmand
49 ln -sf ${sysconfdir}/init.d/openwsmand ${D}/${sbindir}/rcopenwsmand
50 chmod 755 ${D}/${sysconfdir}/openwsman/owsmangencert.sh
51 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
52 install -d ${D}/${systemd_unitdir}/system
53 install -m 644 ${WORKDIR}/openwsmand.service ${D}/${systemd_unitdir}/system
54
55 sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/openwsmand.service
56 sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/openwsmand.service
57 sed -i -e 's,@LOCALSTATEDIR@,${localstatedir},g' ${D}${systemd_unitdir}/system/openwsmand.service
58 fi
59}
60
61FILES_${PN}-dbg += "${libdir}/openwsman/plugins/.debug/ \
62 ${libdir}/openwsman/authenticators/.debug/ \
63 "
64
65INSANE_SKIP_${PN} = "dev-so"