Skip to contentSkip to conversation

openwsman: add new recipe

PATCH Superseded Lei Maohui 1 participant 1 message Jun 29, 2015

v1 of 7 Superseded Latest is v7 →

lore
Share & tools
lore

Lei Maohui

author
#0 lore raw

PATCH 1/1 openwsman: add new recipe

Openwsman is an open source implementation of WS-Management; enabling the in-band management of Linux/uni*/Windows platforms.

---
 .../libssl-is-required-if-eventint-supported.patch | 17 ++++++
 .../openwsman/openwsman/openwsmand.service         | 12 +++++
 .../recipes-extended/openwsman/openwsman_2.6.0.bb  | 63 ++++++++++++++++++++++
 3 files changed, 92 insertions(+)
 create mode 100644 meta-oe/recipes-extended/openwsman/openwsman/libssl-is-required-if-eventint-supported.patch
 create mode 100644 meta-oe/recipes-extended/openwsman/openwsman/openwsmand.service
 create mode 100644 meta-oe/recipes-extended/openwsman/openwsman_2.6.0.bb
meta-oe/recipes-extended/openwsman/openwsman/libssl-is-required-if-eventint-supported.patch new file +17 -0
new file mode 100644
index 0000000..bd540e3
@@ -0,0 +1,17 @@
+libssl is required by wsman_client_transport if ENABLE_EVENTING_SUPPORT enabled.
+
+Signed-off-by: Bian Naimeng <[email protected]>
+
+diff -Nurp openwsman-2.4.12.orig/src/lib/CMakeLists.txt openwsman-2.4.12/src/lib/CMakeLists.txt
+--- openwsman-2.4.12.orig/src/lib/CMakeLists.txt	2014-10-28 23:04:47.000000000 +0800
++++ openwsman-2.4.12/src/lib/CMakeLists.txt	2014-12-31 11:09:20.340428523 +0800
+@@ -56,6 +56,9 @@ TARGET_LINK_LIBRARIES( ${WSMAN_CLIENT_TR
+ SET_TARGET_PROPERTIES( ${WSMAN_CLIENT_TRANSPORT_PKG} PROPERTIES VERSION 1.0.0 SOVERSION 1)
+ INSTALL(TARGETS ${WSMAN_CLIENT_TRANSPORT_PKG} DESTINATION ${LIB_INSTALL_DIR})
+ 
++IF( ENABLE_EVENTING_SUPPORT )
++TARGET_LINK_LIBRARIES( ${WSMAN_CLIENT_TRANSPORT_PKG} ${OPENSSL_LIBRARIES} )
++ENDIF( ENABLE_EVENTING_SUPPORT )
+ 
+ ############### wsman_client ###############
+ 
meta-oe/recipes-extended/openwsman/openwsman/openwsmand.service new file +12 -0
new file mode 100644
index 0000000..154f3cd
@@ -0,0 +1,12 @@
+[Unit]
+Description=Openwsman WS-Management Service
+After=syslog.target
+
+[Service]
+Type=forking
+ExecStart=@SBINDIR@/openwsmand
+ExecStartPre=@SYSCONFDIR@/openwsman/owsmangencert.sh
+PIDFile=@LOCALSTATEDIR@/run/wsmand.pid
+
+[Install]
+WantedBy=multi-user.target
meta-oe/recipes-extended/openwsman/openwsman_2.6.0.bb new file +63 -0

63 lines not on this page · raw message

Signature · 1 line
1.8.4.2