Added openwsman-2.6.5.
This commit is contained in:
parent
272d0748ad
commit
711cb7f018
|
@ -1,4 +1,6 @@
|
||||||
AUX openwsmand.confd 2 BLAKE2B a5cdc0d97724f51411f2f5ba99734c297507df295742618499a23296c99bac5d6cef25d497fb3afb76a3e67e4ac53d4b5bccfa55309d7b02ff5793bcf53dfec2 SHA512 a80f7cc2606ef6e5474e96b1e520c17ecf432f0da9a566bd157044130cfb548f10d929ffb5783008df78b6d07d07d109bffbad1998cb8309eccec7e4d3fc813a
|
AUX openwsmand.confd 2 BLAKE2B a5cdc0d97724f51411f2f5ba99734c297507df295742618499a23296c99bac5d6cef25d497fb3afb76a3e67e4ac53d4b5bccfa55309d7b02ff5793bcf53dfec2 SHA512 a80f7cc2606ef6e5474e96b1e520c17ecf432f0da9a566bd157044130cfb548f10d929ffb5783008df78b6d07d07d109bffbad1998cb8309eccec7e4d3fc813a
|
||||||
AUX openwsmand.initd 263 BLAKE2B 246449862d8bf51dae573ff8bb4e4715284ba37de65be9cf226d001a081f825506256c3b1c1322ffa59b7df99466ce1fe35f164c993566023be7a1c7eed08d21 SHA512 bd20fc3815d02b0dd5a2c2336b5204550ef941e362f686ddb00f7f96d93bd2222dd4cb076f39efe2e85d3262356c548d0c9d7c1d566a04bba2c4a942126851d2
|
AUX openwsmand.initd 263 BLAKE2B 246449862d8bf51dae573ff8bb4e4715284ba37de65be9cf226d001a081f825506256c3b1c1322ffa59b7df99466ce1fe35f164c993566023be7a1c7eed08d21 SHA512 bd20fc3815d02b0dd5a2c2336b5204550ef941e362f686ddb00f7f96d93bd2222dd4cb076f39efe2e85d3262356c548d0c9d7c1d566a04bba2c4a942126851d2
|
||||||
DIST openwsman-2.6.3.tar.gz 506564 BLAKE2B 781fb386f41c7881ca1e15bf7bbc87f60516eba2326386a9c825a94b271a3be5dcd1aa500f40b93cf529da5a302fab2d6aa4882ed3cbfeabe3393fb63274032b SHA512 cb29baa68bbc0e5cce1b09e14535a4dd02d53cf9f46c3b29738412ab35881efda0fde8e616ae3f8920d08a384f5717fb2495f3bc10339401128ac61c63f55dae
|
DIST openwsman-2.6.3.tar.gz 506564 BLAKE2B 781fb386f41c7881ca1e15bf7bbc87f60516eba2326386a9c825a94b271a3be5dcd1aa500f40b93cf529da5a302fab2d6aa4882ed3cbfeabe3393fb63274032b SHA512 cb29baa68bbc0e5cce1b09e14535a4dd02d53cf9f46c3b29738412ab35881efda0fde8e616ae3f8920d08a384f5717fb2495f3bc10339401128ac61c63f55dae
|
||||||
|
DIST openwsman-2.6.5.tar.gz 508348 BLAKE2B 14cbc0dabbc79bac8175c4831026a5f3bbb6a87958a6d212e3c42c59f00d1931bb2345aaeb5c63a17484522e56aaf13a053e761a0403859715223de4369ae60f SHA512 dff103d50ddf974aa90db5be74761dd83944e64e1bab65161ee2941949c46af57c5d53d011ccbf1ef21002c825f4a2be8d6431c83610dd930b5ac4352fd0762b
|
||||||
EBUILD openwsman-2.6.3.ebuild 2540 BLAKE2B 49736ee663353222e784b8a8362d5e9d81fc85243322e2410e2f16ff9811e8a661010f346e8a4b766337750c80530e650ce99a7b6601777bde454c7b2d3b18f2 SHA512 8873c273b14b9b53f6ea2d647f261e91e4a33d45876c2399647ef5c8da7c17354c958788729dd6b36eb3d682b31fc31340fd14a57dcc68511e84b967de9f96af
|
EBUILD openwsman-2.6.3.ebuild 2540 BLAKE2B 49736ee663353222e784b8a8362d5e9d81fc85243322e2410e2f16ff9811e8a661010f346e8a4b766337750c80530e650ce99a7b6601777bde454c7b2d3b18f2 SHA512 8873c273b14b9b53f6ea2d647f261e91e4a33d45876c2399647ef5c8da7c17354c958788729dd6b36eb3d682b31fc31340fd14a57dcc68511e84b967de9f96af
|
||||||
|
EBUILD openwsman-2.6.5.ebuild 2459 BLAKE2B f8c076e797fdd3577416876a2e61dbe6c3deb214415b2b8bc6f01f771397549a8ec81e9fc3338265e6f6355dc1872e90690744722f9176c12b0da8148d4892b4 SHA512 87b7c08173f4b384af1567b8610a69f79f95cc5f0cc693bd68bf415a9c4c51a148c99173131d67616736a5333d2cf22c75d53b3e12bf234e1e639053610c2598
|
||||||
|
|
98
sys-apps/openwsman/openwsman-2.6.5.ebuild
Normal file
98
sys-apps/openwsman/openwsman-2.6.5.ebuild
Normal file
|
@ -0,0 +1,98 @@
|
||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 )
|
||||||
|
|
||||||
|
inherit python-single-r1 cmake-utils ssl-cert java-pkg-opt-2
|
||||||
|
|
||||||
|
DESCRIPTION="Opensource Implementation of WS-Management Client"
|
||||||
|
HOMEPAGE="https://github.com/Openwsman"
|
||||||
|
SRC_URI="https://github.com/Openwsman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 x86"
|
||||||
|
|
||||||
|
RESTRICT="mirror"
|
||||||
|
BINDINGS_USE="java perl python ruby"
|
||||||
|
IUSE="+cim debug examples +eventing ipv6 pam +plugins ssl +server test ${BINDINGS_USE}"
|
||||||
|
REQUIRED_USE="
|
||||||
|
java? ( plugins )
|
||||||
|
perl? ( plugins )
|
||||||
|
python? ( plugins )
|
||||||
|
ruby? ( plugins )
|
||||||
|
"
|
||||||
|
|
||||||
|
JAVA_PKG_NV_DEPEND="virtual/jdk:1.8"
|
||||||
|
RDEPEND="
|
||||||
|
cim? ( dev-libs/sblim-sfcc )
|
||||||
|
ssl? ( dev-libs/openssl:0 )
|
||||||
|
pam? ( virtual/pam )
|
||||||
|
ruby? ( dev-lang/ruby:= )
|
||||||
|
perl? ( dev-lang/perl )
|
||||||
|
java? ( ${JAVA_PKG_NV_DEPEND} )
|
||||||
|
python? ( ${PYTHON_DEPS} )
|
||||||
|
net-misc/curl[idn]
|
||||||
|
dev-libs/libxml2[icu]
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
test? ( dev-util/cunit )
|
||||||
|
java? ( dev-lang/swig:0 )
|
||||||
|
perl? ( dev-lang/swig:0 )
|
||||||
|
python? ( dev-lang/swig:0 )
|
||||||
|
ruby? ( dev-lang/swig:0 )
|
||||||
|
"
|
||||||
|
|
||||||
|
# LIBC != glibc build fail - add block
|
||||||
|
src_prepare(){
|
||||||
|
#Ruby gem builder does not like Unicode
|
||||||
|
sed -e 's/Kämpf/Kaempf/' -i bindings/ruby/openwsman.gemspec.in
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local bindings=NO
|
||||||
|
for f in $BINDINGS_USE; do
|
||||||
|
use $f && bindings=YES
|
||||||
|
done
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DPACKAGE_ARCHITECTURE=${ARCH}
|
||||||
|
-DBUILD_BINDINGS=${bindings}
|
||||||
|
-DBUILD_CUNIT_TESTS=$(usex test)
|
||||||
|
-DBUILD_EXAMPLES=$(usex examples)
|
||||||
|
-DBUILD_JAVA=$(usex java)
|
||||||
|
-DBUILD_LIBCIM=$(usex cim)
|
||||||
|
-DBUILD_PERL=$(usex perl)
|
||||||
|
-DBUILD_PYTHON=$(usex python)
|
||||||
|
-DBUILD_RUBY=$(usex ruby)
|
||||||
|
-DBUILD_SWIG_PLUGIN=${bindings}
|
||||||
|
-DBUILD_TESTS=$(usex test)
|
||||||
|
-DDISABLE_PLUGINS="$(usex plugins)
|
||||||
|
-DDISABLE_SERVER="$(usex server)
|
||||||
|
-DENABLE_EVENTING_SUPPORT="$(usex eventing)
|
||||||
|
-DWSMAN_DEBUG_VERBOSE="$(usex debug)
|
||||||
|
-DENABLE_IPV6="$(usex ipv6)
|
||||||
|
-DUSE_PAM="$(usex pam)
|
||||||
|
)
|
||||||
|
use ruby && mycmakeargs+=( -DBUILD_RUBY_GEM=YES )
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile(){
|
||||||
|
cmake-utils_src_compile -j1 #Upstream doesn't know about target dependencies, sigh
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake-utils_src_install
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if use ssl && [[ ! -f "${ROOT}"/etc/ssl/openwsman/servercert.pem \
|
||||||
|
&& ! -f "${ROOT}"/etc/ssl/postfix/serverkey.pem ]] ; then
|
||||||
|
SSL_ORGANIZATION="${SSL_ORGANIZATION:-Local OpenWSman Server}"
|
||||||
|
install_cert /etc/openwsman/servercert
|
||||||
|
fi
|
||||||
|
}
|
Loading…
Reference in a new issue