diff options
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.bb | 65 |
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 @@ | |||
| 1 | SUMMARY = "Opensource Implementation of WS-Management" | ||
| 2 | DESCRIPTION = "Openwsman is a project intended to provide an open-source \ | ||
| 3 | implementation of the Web Services Management specipication \ | ||
| 4 | (WS-Management) and to expose system management information on the \ | ||
| 5 | Linux operating system using the WS-Management protocol. WS-Management \ | ||
| 6 | is based on a suite of web services specifications and usage \ | ||
| 7 | requirements that exposes a set of operations focused on and covers \ | ||
| 8 | all system management aspects. \ | ||
| 9 | Openwsman Server and service libraries" | ||
| 10 | HOMEPAGE = "http://www.openwsman.org/" | ||
| 11 | SECTION = "Applications/System" | ||
| 12 | |||
| 13 | DEPENDS = "curl libxml2 openssl libpam" | ||
| 14 | |||
| 15 | SRCREV = "feb7ec9b004fcaea0dbe65ce8a1a79cc29dd994c" | ||
| 16 | PV = "2.6.3" | ||
| 17 | |||
| 18 | SRC_URI = "git://github.com/Openwsman/openwsman.git \ | ||
| 19 | file://libssl-is-required-if-eventint-supported.patch \ | ||
| 20 | file://openwsmand.service" | ||
| 21 | |||
| 22 | S = "${WORKDIR}/git" | ||
| 23 | |||
| 24 | LICENSE = "BSD" | ||
| 25 | LIC_FILES_CHKSUM = "file://COPYING;md5=d4f53d4c6cf73b9d43186ce3be6dd0ba" | ||
| 26 | |||
| 27 | inherit systemd cmake pkgconfig pythonnative perlnative | ||
| 28 | |||
| 29 | SYSTEMD_SERVICE_${PN} = "openwsmand.service" | ||
| 30 | SYSTEMD_AUTO_ENABLE = "disable" | ||
| 31 | |||
| 32 | LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', " -fuse-ld=bfd ", '', d)}" | ||
| 33 | |||
| 34 | EXTRA_OECMAKE = "-DBUILD_BINDINGS=NO \ | ||
| 35 | -DBUILD_LIBCIM=NO \ | ||
| 36 | -DBUILD_PERL=YES \ | ||
| 37 | -DCMAKE_INSTALL_PREFIX=${prefix} \ | ||
| 38 | -DLIB=${baselib} \ | ||
| 39 | " | ||
| 40 | |||
| 41 | do_configure_prepend() { | ||
| 42 | export STAGING_INCDIR=${STAGING_INCDIR} | ||
| 43 | export STAGING_LIBDIR=${STAGING_LIBDIR} | ||
| 44 | } | ||
| 45 | |||
| 46 | do_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 | |||
| 61 | FILES_${PN}-dbg += "${libdir}/openwsman/plugins/.debug/ \ | ||
| 62 | ${libdir}/openwsman/authenticators/.debug/ \ | ||
| 63 | " | ||
| 64 | |||
| 65 | INSANE_SKIP_${PN} = "dev-so" | ||
