diff --git a/app-emulation/virtualbmc/Manifest b/app-emulation/virtualbmc/Manifest new file mode 100644 index 0000000..2492229 --- /dev/null +++ b/app-emulation/virtualbmc/Manifest @@ -0,0 +1,3 @@ +AUX virtualbmc-initd 386 BLAKE2B 10869cc1eba8fad2538c4381cd2ba21ebb0d72468462f86777923ff5b28bef9eccdae8cdfc6846b7bbc6a6b6710aedfd71e479dea3a84e6a76fd8a220c689df0 SHA512 0486b2a8e2cecda2aea317ea5638390fb6ea31533a284d41805e88af6d111042f4b8cff23b0b6e5134fd28a1ab30c08e1901af0d205448507ca993fd54fb6924 +DIST virtualbmc-1.4.0.tar.gz 36390 BLAKE2B 58d6a717778403cb2fe9cf6e8acf9ecc1cfaf77598d8a3e63bd7914e31ce4db1cff4f9fd6df8416ec3087bdc38b86c5130b948bbb5d648f5b411f0d3808e19e7 SHA512 665e4b8bbf221a65bf3b13a5a86184889dfb487b97294854b7133d4eeda3003e09403acb393a10badd6b2a1464810bf881f4de3c1995ce4f83942d0252c1b11b +EBUILD virtualbmc-1.4.0.ebuild 988 BLAKE2B a457df1bbf5c9c6e5a31b2fc05ec7a268642726fc5ead894413edf1e8b2d963e128ce8ade69fd6b17cef416dcfedff5b4a22b0efd4e7bb898ecb55394406196e SHA512 28d1834c60f709f07dd409055744de81b00fd40cb2b2338c706936c6c02d586688fb652e15a6d2a3ac9e96376de40ffd76a29a0d024627ded66b7e1f8a4bcc62 diff --git a/app-emulation/virtualbmc/files/virtualbmc-initd b/app-emulation/virtualbmc/files/virtualbmc-initd new file mode 100644 index 0000000..b99f608 --- /dev/null +++ b/app-emulation/virtualbmc/files/virtualbmc-initd @@ -0,0 +1,17 @@ +#!/sbin/openrc-run +# Copyright 1999-2019 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +description="A virtual BMC for controlling virtual machines using IPMI commands" +pidfile="/var/run/vbmcd.pid" +command="/usr/sbin/vbmcd" +start_stop_daemon_args="--pidfile ${pidfile}" + +depend() { + use net dns logger + after libvirtd +} + +start_pre() { + return 0 +} diff --git a/app-emulation/virtualbmc/virtualbmc-1.4.0.ebuild b/app-emulation/virtualbmc/virtualbmc-1.4.0.ebuild new file mode 100644 index 0000000..b9258ce --- /dev/null +++ b/app-emulation/virtualbmc/virtualbmc-1.4.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 eutils + +DESCRIPTION="A virtual BMC for controlling virtual machines using IPMI commands" +HOMEPAGE="https://github.com/openstack/virtualbmc" +SRC_URI="https://tarballs.openstack.org/virtualbmc/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + !~dev-python/pbr-2.1.0 + dev-python/libvirt-python[${PYTHON_USEDEP}] + !~dev-python/libvirt-python-4.1.0 + >=dev-python/pyghmi-1.0.22[${PYTHON_USEDEP}] + >=dev-python/cliff-2.8.0[${PYTHON_USEDEP}] + !~dev-python/cliff-2.9.0 + >=dev-python/pyzmq-14.3.1[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" +BDEPEND="" + +python_install_all() { + distutils-r1_python_install_all + + newinitd "${FILESDIR}"/virtualbmc-initd vbmcd +} +