public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2020-05-11  0:57 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2020-05-11  0:57 UTC (permalink / raw
  To: gentoo-commits

commit:     7d3af41143b1e55d47b519c1587620c36ee1f264
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon May 11 00:57:30 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon May 11 00:57:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=7d3af411

Opennebula: correct man page setup path and add build dependency dev-nodejs/braces

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 app-emulation/opennebula/Manifest                 | 2 +-
 app-emulation/opennebula/opennebula-5.10.4.ebuild | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index 2dd6c7e..d1d31f1 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -62,5 +62,5 @@ AUX tmpfiles.d/opennebula.conf 77 BLAKE2B 9988562b0e36bf74fc67af5a1777eca18b24e0
 DIST opennebula-5.10.1.tar.gz 43207580 BLAKE2B de87e839cd772bec769af4a689fed02e81fbdc6fbb35def9ad6344383dc935ebd431137cb194dd3b840965004f4e145ac63443d7034d56a9a6bb19af9030642d SHA512 861293298997c825e94228ea28f0f352db3f56dd28b654be24ca2226edd422fc54cf94665f5ae5cc17dc51d3d52081c936f249b77fc4f8198de6a1ec0006edaf
 DIST opennebula-5.10.4.tar.gz 5697792 BLAKE2B fde611cbe5b44ee403b57e915253c9ffba267230bf3a54cd466260615918e871aebeae6f17c246a84ef1686df176134acff272c49e6a9b69c8841bc8fab1f1b5 SHA512 c509ec4a56b7865d118ab79e08227f0a78d1d899361ea2ae2ea3c6ac6ad3ab4a2a38211a4f5b7abf35ef512674d13ffb19f97286fed63515289e4f9a602f3145
 EBUILD opennebula-5.10.1.ebuild 9405 BLAKE2B fd6dfefc76da0aaadc993b7ed1593b8826fb642a92797220c9ce6226b846539900f6e7914730decfe57f79514654506e9a1aed76ebd28c1fc797d71ee5a6b2ba SHA512 360d3323e46a1253f6489c696e020ea38e260923d6b0fcb50154b0cb412b4bd3db994365a072915f5a8411032cea12dd8b87fe2f730e418d6742dd7218722a66
-EBUILD opennebula-5.10.4.ebuild 9721 BLAKE2B 0c7b44e1e177012dac0dd6ea6167bf25d29ed31909300458579352d88cc94f49c29a2055f9048d2ec2abf0a47e5095141e82bc296fae5446657b88622b815b31 SHA512 625104ecef2ea5d7cac737158e75c867a44cabc16cacfe9dd2b5c5fb7efdc83cb868a13cc6d652d9329bd7272d0bfdd9b1b51871902984dd1bde747464892486
+EBUILD opennebula-5.10.4.ebuild 9735 BLAKE2B dd7f5bf32aea6bd30f4ca75d7db123fb9ce03f1357d789fefa76a46b7a4f1a669df0d68d5239e85a40da591d7bbf993f759a02704ba468b6c04f6445401343f4 SHA512 3c54819ee10cb07fe7ea41dd0b65b8de9075ac96e34524c512cd58457071b00f7be85f3bd062a57aa4459703b29d98c2b577a97c6b03093699b99021b59cfdf5
 MISC metadata.xml 931 BLAKE2B abb0ecf04eb6fc45f64c5d2d6636591c9d706fbf1902943a80f7e058443787824581219fb8457a83192e4e2b672521609449d4eef78ab677f8c093fe939034b6 SHA512 c3770f399572b16601e7eeaf4a1eb4b5eea950ad18239be8719124f60f3edd02da4c7b28b177329d70b0810ee7d8597e522dd62a1bd4c8ea1194acf0d92dfeb2

diff --git a/app-emulation/opennebula/opennebula-5.10.4.ebuild b/app-emulation/opennebula/opennebula-5.10.4.ebuild
index 6091d27..7d8d079 100644
--- a/app-emulation/opennebula/opennebula-5.10.4.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.4.ebuild
@@ -65,6 +65,7 @@ DEPEND="${RDEPEND}
 	dev-nodejs/grunt
 	dev-nodejs/bower
 	dev-nodejs/ini
+	dev-nodejs/braces
 	net-libs/nodejs[npm]
 	net-libs/libvncserver
 	app-text/ronn
@@ -222,7 +223,7 @@ src_install() {
 	rm -rf usr/share/docs
 
 	# install remaining files
-	insinto /usr/share/man/man1
+	insinto /usr/share/man
 	doins -r usr/share/man/man1/
 
 	# set correct owner


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2020-09-20  2:39 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2020-09-20  2:39 UTC (permalink / raw
  To: gentoo-commits

commit:     10781ef98adf57275e7f17499e84626b426af2bf
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Sep 20 02:39:28 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun Sep 20 02:39:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=10781ef9

Correct dependencies in opennebula 5.10.5 and 5.12.0.1

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 app-emulation/opennebula/Manifest                   |  4 ++--
 app-emulation/opennebula/opennebula-5.10.5.ebuild   | 14 +++++++++++---
 app-emulation/opennebula/opennebula-5.12.0.1.ebuild |  2 +-
 3 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index 71c84e5..580eb32 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -65,6 +65,6 @@ DIST opennebula-5.10.5.tar.gz 5699952 BLAKE2B 35dce44e085342e8d2628bc060ed064430
 DIST opennebula-5.12.0.1.tar.gz 5559467 BLAKE2B 397ffcbf185b38ea0ec811997751ed8a4f0b57e66fe5e924604e2b1cd3f012981c601fcb183e18a1f836ecd06568d5534943a410191228dbfcf192c8c759cd91 SHA512 fdc9621df006c41a91c61184217e35e7511c9342621dd2da43211d9f24be262a066ff9321a0f423224ef7ce1bd8438e91639d625c98b3c18622d17ae6c65fab9
 EBUILD opennebula-5.10.1.ebuild 9405 BLAKE2B fd6dfefc76da0aaadc993b7ed1593b8826fb642a92797220c9ce6226b846539900f6e7914730decfe57f79514654506e9a1aed76ebd28c1fc797d71ee5a6b2ba SHA512 360d3323e46a1253f6489c696e020ea38e260923d6b0fcb50154b0cb412b4bd3db994365a072915f5a8411032cea12dd8b87fe2f730e418d6742dd7218722a66
 EBUILD opennebula-5.10.4.ebuild 9735 BLAKE2B dd7f5bf32aea6bd30f4ca75d7db123fb9ce03f1357d789fefa76a46b7a4f1a669df0d68d5239e85a40da591d7bbf993f759a02704ba468b6c04f6445401343f4 SHA512 3c54819ee10cb07fe7ea41dd0b65b8de9075ac96e34524c512cd58457071b00f7be85f3bd062a57aa4459703b29d98c2b577a97c6b03093699b99021b59cfdf5
-EBUILD opennebula-5.10.5.ebuild 9735 BLAKE2B dd7f5bf32aea6bd30f4ca75d7db123fb9ce03f1357d789fefa76a46b7a4f1a669df0d68d5239e85a40da591d7bbf993f759a02704ba468b6c04f6445401343f4 SHA512 3c54819ee10cb07fe7ea41dd0b65b8de9075ac96e34524c512cd58457071b00f7be85f3bd062a57aa4459703b29d98c2b577a97c6b03093699b99021b59cfdf5
-EBUILD opennebula-5.12.0.1.ebuild 9891 BLAKE2B 253d6ef23eaf8980373ee19c2035aadf3b9363702954dd87be48c7ab87961683834fe857d22d2ae5d112269e940f0f053b070113576b5bde421e69d9484074fd SHA512 04a4e30d1b59ce11d7d135e76bde6c3581318274da81eb27b2055a7fc48060f388888ce62e6c32a7f68dade5221982f80e4773ef36f54acf23638d1b89e90242
+EBUILD opennebula-5.10.5.ebuild 9891 BLAKE2B 253d6ef23eaf8980373ee19c2035aadf3b9363702954dd87be48c7ab87961683834fe857d22d2ae5d112269e940f0f053b070113576b5bde421e69d9484074fd SHA512 04a4e30d1b59ce11d7d135e76bde6c3581318274da81eb27b2055a7fc48060f388888ce62e6c32a7f68dade5221982f80e4773ef36f54acf23638d1b89e90242
+EBUILD opennebula-5.12.0.1.ebuild 9892 BLAKE2B 17c44134a38dc97b14e4b5e2ba4b5e38def278c86c93edfa726e83307047f393f71d863fe2a1cfc172dae5aaa28b99aca07fde62431c9b58067c9653a2206d8d SHA512 88b296ccd330968e5133e3c1975f217ca1cdeea0c8969e9e1989e454c9fe1750e4fbc9b5e4ec945e65a141791811f9d0f4a9952fdcb2077e6a099f0bd4483c5d
 MISC metadata.xml 931 BLAKE2B abb0ecf04eb6fc45f64c5d2d6636591c9d706fbf1902943a80f7e058443787824581219fb8457a83192e4e2b672521609449d4eef78ab677f8c093fe939034b6 SHA512 c3770f399572b16601e7eeaf4a1eb4b5eea950ad18239be8719124f60f3edd02da4c7b28b177329d70b0810ee7d8597e522dd62a1bd4c8ea1194acf0d92dfeb2

diff --git a/app-emulation/opennebula/opennebula-5.10.5.ebuild b/app-emulation/opennebula/opennebula-5.10.5.ebuild
index 7d8d079..f5fdf78 100644
--- a/app-emulation/opennebula/opennebula-5.10.5.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.5.ebuild
@@ -26,7 +26,7 @@ RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
 	python? ( ${PYTHON_DEPS}
 	        >=dev-python/pygobject-2.90.4:3[${PYTHON_USEDEP}] )
 	extras? ( dev-libs/openssl
-		dev-ruby/libxml
+		dev-ruby/xmlparser
 		net-misc/curl
 		dev-libs/libxslt
 		dev-libs/expat
@@ -36,7 +36,6 @@ RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
 		dev-ruby/mysql
 		dev-ruby/mysql2
 		dev-ruby/parse-cron
-		dev-ruby/sequel
 		dev-ruby/treetop
 		dev-ruby/xml-simple
 		dev-ruby/zendesk_api
@@ -46,6 +45,10 @@ RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
 		dev-ruby/rqrcode_core
 		dev-ruby/chunky_png
 		dev-ruby/rotp
+		dev-ruby/rake
+		dev-ruby/ruby-net-ldap
+		dev-ruby/curb
+		dev-ruby/rubygems
 		dev-libs/log4cpp )
 	mysql? ( virtual/mysql )
 	dev-db/sqlite
@@ -53,6 +56,12 @@ RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
 	net-fs/nfs-utils
 	dev-db/mariadb
 	net-libs/zeromq
+	dev-ruby/json
+	dev-ruby/sequel
+	dev-ruby/sinatra
+	dev-ruby/thin
+	dev-ruby/nokogiri
+	sunstone? ( dev-ruby/rack )
 	|| ( app-cdr/cdrkit app-cdr/cdrtools )
 	sqlite? ( dev-ruby/sqlite3 )
 	qemu? ( app-emulation/libvirt[libvirtd,qemu] )
@@ -60,7 +69,6 @@ RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
 DEPEND="${RDEPEND}
 	dev-lang/ruby:2.5
 	>=dev-util/scons-3.0.0
-	dev-ruby/nokogiri
 	dev-ruby/bundler
 	dev-nodejs/grunt
 	dev-nodejs/bower

diff --git a/app-emulation/opennebula/opennebula-5.12.0.1.ebuild b/app-emulation/opennebula/opennebula-5.12.0.1.ebuild
index f5fdf78..517b563 100644
--- a/app-emulation/opennebula/opennebula-5.12.0.1.ebuild
+++ b/app-emulation/opennebula/opennebula-5.12.0.1.ebuild
@@ -129,7 +129,7 @@ src_prepare() {
 	for f in $(grep -rlI "/usr/lib/one" .); do sed -i -e "s/\/usr\/lib\/one/\/usr\/$(get_libdir)\/one/g" $f; done || die "correct lib dir failed"
 
 	# grunt-sass and node-sass versions
-	sed -i -e 's|1.2.1|2.1.0|' -e 's|3.10.1|4.13.0|' src/sunstone/public/package.json || die "sed failed"
+	#sed -i -e 's|2.1.0|3.1.0|' -e 's|4.13.0|4.14.0|' src/sunstone/public/package.json || die "sed failed"
 
 	# As we install from the github release sources we need to build sunstone as well.
 	# To do that we need the npm environment set up


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2020-06-12 22:33 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2020-06-12 22:33 UTC (permalink / raw
  To: gentoo-commits

commit:     2a4cf534a94309b8b9af65dadadff46a0f1e7b8a
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Fri Jun 12 22:33:10 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Fri Jun 12 22:33:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=2a4cf534

Update opennebula

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 app-emulation/opennebula/Manifest                 |   2 +
 app-emulation/opennebula/opennebula-5.10.5.ebuild | 306 ++++++++++++++++++++++
 2 files changed, 308 insertions(+)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index d1d31f1..7ce17c1 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -61,6 +61,8 @@ AUX tmpfiles.d/opennebula-sunstone.conf 77 BLAKE2B 9988562b0e36bf74fc67af5a1777e
 AUX tmpfiles.d/opennebula.conf 77 BLAKE2B 9988562b0e36bf74fc67af5a1777eca18b24e0a1bcfc78735f360f1aceca4602e32f7b6cfbe3b731a13725a9cd14a4dc49b71c12bb7576a29aa00112b37cd2be SHA512 c13210255ebb0f34d464e2799858d6ac2a79afac287ead639821ef5e939b7666a960ebb1ee96bc7098a111ddd6765e72d8a5e53e0647b9a866d0826e02cbd2a1
 DIST opennebula-5.10.1.tar.gz 43207580 BLAKE2B de87e839cd772bec769af4a689fed02e81fbdc6fbb35def9ad6344383dc935ebd431137cb194dd3b840965004f4e145ac63443d7034d56a9a6bb19af9030642d SHA512 861293298997c825e94228ea28f0f352db3f56dd28b654be24ca2226edd422fc54cf94665f5ae5cc17dc51d3d52081c936f249b77fc4f8198de6a1ec0006edaf
 DIST opennebula-5.10.4.tar.gz 5697792 BLAKE2B fde611cbe5b44ee403b57e915253c9ffba267230bf3a54cd466260615918e871aebeae6f17c246a84ef1686df176134acff272c49e6a9b69c8841bc8fab1f1b5 SHA512 c509ec4a56b7865d118ab79e08227f0a78d1d899361ea2ae2ea3c6ac6ad3ab4a2a38211a4f5b7abf35ef512674d13ffb19f97286fed63515289e4f9a602f3145
+DIST opennebula-5.10.5.tar.gz 5699952 BLAKE2B 35dce44e085342e8d2628bc060ed0644309a6e5aa8ec1898663b537eb698d66f980353cc60ab3b6496bf78b496dcd1097db2d327b54f80d87bf273ab67aeef55 SHA512 e35b9f8c8bc4f1e4424e3a8083c2c31edbe5b799df44a222bd310fdca87c4a3c6d2a3f27da75b12364bdf29883e6f641c2ad5c484e5cc07dce3ebf054681fc58
 EBUILD opennebula-5.10.1.ebuild 9405 BLAKE2B fd6dfefc76da0aaadc993b7ed1593b8826fb642a92797220c9ce6226b846539900f6e7914730decfe57f79514654506e9a1aed76ebd28c1fc797d71ee5a6b2ba SHA512 360d3323e46a1253f6489c696e020ea38e260923d6b0fcb50154b0cb412b4bd3db994365a072915f5a8411032cea12dd8b87fe2f730e418d6742dd7218722a66
 EBUILD opennebula-5.10.4.ebuild 9735 BLAKE2B dd7f5bf32aea6bd30f4ca75d7db123fb9ce03f1357d789fefa76a46b7a4f1a669df0d68d5239e85a40da591d7bbf993f759a02704ba468b6c04f6445401343f4 SHA512 3c54819ee10cb07fe7ea41dd0b65b8de9075ac96e34524c512cd58457071b00f7be85f3bd062a57aa4459703b29d98c2b577a97c6b03093699b99021b59cfdf5
+EBUILD opennebula-5.10.5.ebuild 9735 BLAKE2B dd7f5bf32aea6bd30f4ca75d7db123fb9ce03f1357d789fefa76a46b7a4f1a669df0d68d5239e85a40da591d7bbf993f759a02704ba468b6c04f6445401343f4 SHA512 3c54819ee10cb07fe7ea41dd0b65b8de9075ac96e34524c512cd58457071b00f7be85f3bd062a57aa4459703b29d98c2b577a97c6b03093699b99021b59cfdf5
 MISC metadata.xml 931 BLAKE2B abb0ecf04eb6fc45f64c5d2d6636591c9d706fbf1902943a80f7e058443787824581219fb8457a83192e4e2b672521609449d4eef78ab677f8c093fe939034b6 SHA512 c3770f399572b16601e7eeaf4a1eb4b5eea950ad18239be8719124f60f3edd02da4c7b28b177329d70b0810ee7d8597e522dd62a1bd4c8ea1194acf0d92dfeb2

diff --git a/app-emulation/opennebula/opennebula-5.10.5.ebuild b/app-emulation/opennebula/opennebula-5.10.5.ebuild
new file mode 100644
index 0000000..7d8d079
--- /dev/null
+++ b/app-emulation/opennebula/opennebula-5.10.5.ebuild
@@ -0,0 +1,306 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+PYTHON_COMPAT=( python2_7 python3_6 )
+
+inherit user eutils multilib ruby-ng systemd rpm python-r1
+
+MY_P="one-release-${PV}"
+P_RPM="${P}-1"
+
+DESCRIPTION="OpenNebula Virtual Infrastructure Engine"
+HOMEPAGE="http://www.opennebula.org/"
+
+IUSE="qemu +mysql xen sqlite +extras systemd docker +sunstone vnc +python +doc"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+SRC_URI="https://github.com/OpenNebula/one/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+
+RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
+	dev-lang/ruby
+	python? ( ${PYTHON_DEPS}
+	        >=dev-python/pygobject-2.90.4:3[${PYTHON_USEDEP}] )
+	extras? ( dev-libs/openssl
+		dev-ruby/libxml
+		net-misc/curl
+		dev-libs/libxslt
+		dev-libs/expat
+		dev-ruby/uuidtools
+		dev-ruby/amazon-ec2
+		dev-ruby/webmock
+		dev-ruby/mysql
+		dev-ruby/mysql2
+		dev-ruby/parse-cron
+		dev-ruby/sequel
+		dev-ruby/treetop
+		dev-ruby/xml-simple
+		dev-ruby/zendesk_api
+		dev-ruby/ffi-rzmq
+		dev-ruby/ffi-rzmq-core
+		dev-ruby/rqrcode
+		dev-ruby/rqrcode_core
+		dev-ruby/chunky_png
+		dev-ruby/rotp
+		dev-libs/log4cpp )
+	mysql? ( virtual/mysql )
+	dev-db/sqlite
+	net-misc/openssh
+	net-fs/nfs-utils
+	dev-db/mariadb
+	net-libs/zeromq
+	|| ( app-cdr/cdrkit app-cdr/cdrtools )
+	sqlite? ( dev-ruby/sqlite3 )
+	qemu? ( app-emulation/libvirt[libvirtd,qemu] )
+	xen? ( app-emulation/xen-tools )"
+DEPEND="${RDEPEND}
+	dev-lang/ruby:2.5
+	>=dev-util/scons-3.0.0
+	dev-ruby/nokogiri
+	dev-ruby/bundler
+	dev-nodejs/grunt
+	dev-nodejs/bower
+	dev-nodejs/ini
+	dev-nodejs/braces
+	net-libs/nodejs[npm]
+	net-libs/libvncserver
+	app-text/ronn
+	dev-ruby/builder
+	dev-ruby/highline
+	dev-ruby/ipaddress:1
+	docker? ( dev-go/dep )"
+
+# make sure no eclass is running tests
+RESTRICT="test"
+
+S="${WORKDIR}/${MY_P}"
+
+ONEUSER="oneadmin"
+ONEGROUP="oneadmin"
+
+PATCHES=(
+	"${FILESDIR}/patches/fix_kvm_emulator.patch"
+	"${FILESDIR}/patches/install.sh.patch"
+)
+
+test_netsandbox() {
+	if use sunstone; then
+		elog "Opennebula hotfix releases needs to build sunstone without network sandbox restriction."
+		has network-sandbox ${FEATURES} && die "Please disable feature network-sandbox: -network-sandbox"
+	fi
+	if use docker; then
+		elog "Opennebula releases needs to build docker without network sandbox restriction."
+		has network-sandbox ${FEATURES} && die "Please disable feature network-sandbox: -network-sandbox"
+	fi
+}
+
+pkg_pretend() {
+	test_netsandbox
+}
+
+pkg_setup () {
+	test_netsandbox
+	enewgroup ${ONEGROUP}
+	enewuser ${ONEUSER} -1 /bin/bash /var/lib/one ${ONEGROUP}
+}
+
+src_unpack() {
+	default
+}
+
+src_prepare() {
+	# install missing source file
+	#cp "${FILESDIR}"/${P}/parsers/* "${S}"/src/parsers/ || die "copy parsers files failed"
+
+	# set correct lib path
+	use docker && make -C src/docker_machine/src/docker_machine vendor
+	for f in $(grep -rlI "/usr/lib/one" .); do sed -i -e "s/\/usr\/lib\/one/\/usr\/$(get_libdir)\/one/g" $f; done || die "correct lib dir failed"
+
+	# grunt-sass and node-sass versions
+	sed -i -e 's|1.2.1|2.1.0|' -e 's|3.10.1|4.13.0|' src/sunstone/public/package.json || die "sed failed"
+
+	# As we install from the github release sources we need to build sunstone as well.
+	# To do that we need the npm environment set up
+	# https://docs.opennebula.org/5.4/integration/references/sunstone_dev.html#sunstone-dev
+	pushd src/sunstone/public/ >/dev/null
+	./build.sh -d || die "Install required dependencies for npm and bower failed."
+	#export PATH=$PATH:$PWD/node_modules/.bin
+	#./build.sh || die "Prepare minified files failed."
+	popd >/dev/null
+
+	eapply_user
+}
+
+src_configure() {
+	:
+}
+
+src_compile() {
+	# manual pages
+	if use doc; then
+		pushd ${S}/share/man >/dev/null
+		./build.sh
+		popd >/dev/null
+	fi
+
+	###########################################################################
+	##                                                                       ##
+	## It is highly recommended that you read the documentation and tweak    ##
+	## the PKGBUILD accordingly:                                             ##
+	## http://docs.opennebula.org/stable/integration/references/compile.html ##
+	##                                                                       ##
+	###########################################################################
+	local myconf
+	myconf+="parsers=yes new_xmlrpc=yes "
+	use extras && myconf+="new_xmlrpc=yes "
+	use mysql && myconf+="mysql=yes " || myconf+="mysql=no "
+	use sunstone && myconf+="sunstone=yes "
+	use docker && myconf+="docker_machine=yes "
+	use systemd && myconf+="systemd=yes "
+	use vnc && myconf+="svncterm=yes "
+	python3 $(which scons) \
+		${myconf} \
+		$(sed -r 's/.*(-j\s*|--jobs=)([0-9]+).*/-j\2/' <<< ${MAKEOPTS}) \
+		|| die "building ${PN} failed"
+}
+
+src_install() {
+	# Prepare installation
+	keepdir /var/{lib,run}/${PN} || die "keepdir failed"
+
+	dodir /usr/$(get_libdir)/one
+	dodir /var/log/one
+	dodir /var/lib/one
+	dodir /var/tmp/one
+	dodir /var/lib/one
+	dodir /var/lib/one/vms
+	dodir /usr/share/one
+	dodir /etc/tmpfiles.d
+
+	# Installing Opennebula
+	DESTDIR="${T}" ./install.sh -u ${ONEUSER} -g ${ONEGROUP} || die "install opennebula core failed"
+	use extras && DESTDIR="${T}" ./install.sh -u ${ONEUSER} -g ${ONEGROUP} -c || die "install opennebula client tools failed"
+	use docker && DESTDIR="${T}" ./install.sh -u ${ONEUSER} -g ${ONEGROUP} -e -k || die "install docker machine failed"
+
+	pushd "${T}" >/dev/null
+	# Clean files
+	rm -rf etc/{logrotate.d,sudoers.d} lib/ var/{lock,run}
+
+	# setup etc
+	insinto	/etc
+	doins -r etc/one
+	rm -rf etc/one
+
+	insinto /etc/one
+	insopts -m 0640
+	doins "${FILESDIR}/one_auth"
+
+	insinto /etc/tmpfiles.d
+	insopts -m 0644
+	doins "${FILESDIR}"/tmpfiles.d/*
+
+	insinto /etc/logrotate.d
+	doins "${FILESDIR}"/logrotate/*
+
+	insinto /etc/sudoers.d
+	doins "${FILESDIR}"/sudoers/*
+
+	# set binaries executable
+	into /usr
+	dobin usr/bin/*
+
+	cp -a usr/$(get_libdir)/one/* "${ED}"/usr/$(get_libdir)/one/
+	cp -a usr/share/one/* "${ED}"/usr/share/one/
+	cp -a var/lib/one/* "${ED}"/var/lib/one/
+	rm -rf usr/bin usr/$(get_libdir)/one usr/share/one var/lib/one
+
+	# add documentation
+	dodoc usr/share/docs/one/*
+	rm -rf usr/share/docs
+
+	# install remaining files
+	insinto /usr/share/man
+	doins -r usr/share/man/man1/
+
+	# set correct owner
+	fowners -R ${ONEUSER}:${ONEGROUP} /etc/one /usr/$(get_libdir)/one /usr/share/one /var/lib/{one,opennebula} /var/log/one /var/tmp/one
+
+	# install daemon files
+	if use systemd; then
+		systemd_dounit "${FILESDIR}"/systemd/*.service
+	else
+		doenvd "${FILESDIR}/openrc/99one"
+		newinitd "${FILESDIR}/openrc/opennebula.initd" opennebula
+		newinitd "${FILESDIR}/openrc/sunstone-server.initd" sunstone-server
+		newinitd "${FILESDIR}/openrc/oneflow-server.initd" oneflow-server
+		newconfd "${FILESDIR}/openrc/opennebula.confd" opennebula
+		newconfd "${FILESDIR}/openrc/sunstone-server.confd" sunstone-server
+		newconfd "${FILESDIR}/openrc/oneflow-server.confd" oneflow-server
+	fi
+
+	popd >/dev/null
+
+}
+
+pkg_postinst() {
+
+	#chown -R oneadmin:oneadmin ${ROOT}var/{lock,lib,log,run,tmp}/one
+	#chown -R oneadmin:oneadmin ${ROOT}usr/share/one
+	#chown -R oneadmin:oneadmin ${ROOT}etc/one
+	#chown -R oneadmin:oneadmin ${ROOT}usr/$(get_libdir)/one
+
+	local onedir="${EROOT}var/lib/one"
+	if [ ! -d "${onedir}/.ssh" ] ; then
+		#einfo "Generating ssh-key..."
+		#umask 0027 || die "setting umask failed"
+		#mkdir "${onedir}/.ssh" || die "creating ssh directory failed"
+		#ssh-keygen -q -t rsa -N "" -f "${onedir}/.ssh/id_rsa" || die "ssh-keygen failed"
+		#cat > "${onedir}/.ssh/config" <<EOF
+#UserKnownHostsFile /dev/null
+#Host *
+#    StrictHostKeyChecking no
+#EOF
+		#cat "${onedir}/.ssh/id_rsa.pub"  >> "${onedir}/.ssh/authorized_keys" || die "adding key failed"
+		#chown -R ${ONEUSER}:${ONEGROUP} "${onedir}/.ssh" || die "changing owner failed"
+		elog "Create directory ${onedir}/.ssh with umask 0027."
+		elog "Then generate ssh key using proper cypher algorithm (at least rsa)."
+		elog "Add public key to ${ONEUSER} authorized_keys:"
+		elog "cat ${onedir}/.ssh/id_rsa.pub  >> ${onedir}/.ssh/authorized_keys"
+		elog "${ONEUSER} ssh config for any host with"
+		elog "StrictHostKeyChecking no"
+		elog "and"
+		elog "UserKnownHostsFile /dev/null"
+		elog "In the end set correct owner to ${ONEUSER}:"
+		elog "chown -R ${ONEUSER}:${ONEGROUP} ${onedir}/.ssh"
+	fi
+
+	if use qemu ; then
+		elog "Make sure that the user ${ONEUSER} has access to the libvirt control socket"
+		elog "  /var/run/libvirt/libvirt-sock"
+		elog "You can easily check this by executing the following command as ${ONEUSER} user"
+		elog "  virsh -c qemu:///system nodeinfo"
+		elog "If not using using policykit in libvirt, the file you should take a look at is:"
+		elog "  /etc/libvirt/libvirtd.conf (look for the unix_sock_*_perms parameters)"
+		elog "Failure to do so may lead to nodes hanging in PENDING state forever without further notice."
+		echo ""
+		elog "Should a node hang in PENDING state even with correct permissions, try the following to get more information."
+		elog "In /tmp/one-im execute the following command for the biggest one_im-* file:"
+		elog "  ruby -wd one_im-???"
+		echo ""
+		elog "OpenNebula doesn't allow you to specify the disc format."
+		elog "Unfortunately the default in libvirt is not to guess and"
+		elog "it therefores assumes a 'raw' format when using qemu/kvm."
+		elog "Set 'allow_disk_format_probing = 0' in /etc/libvirt/qemu.conf"
+		elog "to work around this until OpenNebula fixes it."
+	fi
+
+	elog "If you wish to use the sunstone server, please issue the command"
+	#elog "/usr/share/one/install_gems as oneadmin user"
+	elog "gem install sequel thin json rack sinatra builder treetop zendesk_api mysql parse-cron"
+
+}
+


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2020-05-11  0:33 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2020-05-11  0:33 UTC (permalink / raw
  To: gentoo-commits

commit:     6fdd7f3337e9ea4c57ebc28e249408fc9e1bd915
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon May 11 00:33:15 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon May 11 00:33:15 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=6fdd7f33

Add dev-nodejs/ini dependency

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 app-emulation/opennebula/Manifest                 | 2 +-
 app-emulation/opennebula/opennebula-5.10.4.ebuild | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index 8d7d1a4..2dd6c7e 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -62,5 +62,5 @@ AUX tmpfiles.d/opennebula.conf 77 BLAKE2B 9988562b0e36bf74fc67af5a1777eca18b24e0
 DIST opennebula-5.10.1.tar.gz 43207580 BLAKE2B de87e839cd772bec769af4a689fed02e81fbdc6fbb35def9ad6344383dc935ebd431137cb194dd3b840965004f4e145ac63443d7034d56a9a6bb19af9030642d SHA512 861293298997c825e94228ea28f0f352db3f56dd28b654be24ca2226edd422fc54cf94665f5ae5cc17dc51d3d52081c936f249b77fc4f8198de6a1ec0006edaf
 DIST opennebula-5.10.4.tar.gz 5697792 BLAKE2B fde611cbe5b44ee403b57e915253c9ffba267230bf3a54cd466260615918e871aebeae6f17c246a84ef1686df176134acff272c49e6a9b69c8841bc8fab1f1b5 SHA512 c509ec4a56b7865d118ab79e08227f0a78d1d899361ea2ae2ea3c6ac6ad3ab4a2a38211a4f5b7abf35ef512674d13ffb19f97286fed63515289e4f9a602f3145
 EBUILD opennebula-5.10.1.ebuild 9405 BLAKE2B fd6dfefc76da0aaadc993b7ed1593b8826fb642a92797220c9ce6226b846539900f6e7914730decfe57f79514654506e9a1aed76ebd28c1fc797d71ee5a6b2ba SHA512 360d3323e46a1253f6489c696e020ea38e260923d6b0fcb50154b0cb412b4bd3db994365a072915f5a8411032cea12dd8b87fe2f730e418d6742dd7218722a66
-EBUILD opennebula-5.10.4.ebuild 9705 BLAKE2B 6fcfa4e006240a45629ea3ed7fa09ac60736fc3efad771cc69b39d7b9a6102b66e3659301f064ca8f7941130e6883812a57ef9c636f52fea5b9c2f3b86507021 SHA512 4455c0c4338f47219828b70a68d44c30f53cc9ddbb8352a5b4d4fc6867476236fd4a5fe41be646cb98ad0728407d1afd902fa0714fc01fd71bae005edb0a5ec2
+EBUILD opennebula-5.10.4.ebuild 9721 BLAKE2B 0c7b44e1e177012dac0dd6ea6167bf25d29ed31909300458579352d88cc94f49c29a2055f9048d2ec2abf0a47e5095141e82bc296fae5446657b88622b815b31 SHA512 625104ecef2ea5d7cac737158e75c867a44cabc16cacfe9dd2b5c5fb7efdc83cb868a13cc6d652d9329bd7272d0bfdd9b1b51871902984dd1bde747464892486
 MISC metadata.xml 931 BLAKE2B abb0ecf04eb6fc45f64c5d2d6636591c9d706fbf1902943a80f7e058443787824581219fb8457a83192e4e2b672521609449d4eef78ab677f8c093fe939034b6 SHA512 c3770f399572b16601e7eeaf4a1eb4b5eea950ad18239be8719124f60f3edd02da4c7b28b177329d70b0810ee7d8597e522dd62a1bd4c8ea1194acf0d92dfeb2

diff --git a/app-emulation/opennebula/opennebula-5.10.4.ebuild b/app-emulation/opennebula/opennebula-5.10.4.ebuild
index 6025799..6091d27 100644
--- a/app-emulation/opennebula/opennebula-5.10.4.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.4.ebuild
@@ -64,6 +64,7 @@ DEPEND="${RDEPEND}
 	dev-ruby/bundler
 	dev-nodejs/grunt
 	dev-nodejs/bower
+	dev-nodejs/ini
 	net-libs/nodejs[npm]
 	net-libs/libvncserver
 	app-text/ronn


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2020-05-11  0:02 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2020-05-11  0:02 UTC (permalink / raw
  To: gentoo-commits

commit:     b5e607094495e8c79399d8bf8caf632148af764e
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon May 11 00:02:27 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon May 11 00:02:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=b5e60709

Add test for network sandbox in setup phase. Change dependency in opennebula from grunt-cli to grunt.

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 app-emulation/opennebula/Manifest                 |   4 +-
 app-emulation/opennebula/opennebula-5.10.3.ebuild | 299 ----------------------
 app-emulation/opennebula/opennebula-5.10.4.ebuild |  11 +-
 3 files changed, 9 insertions(+), 305 deletions(-)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index 65bc162..8d7d1a4 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -60,9 +60,7 @@ AUX tmpfiles.d/opennebula-node.conf 17 BLAKE2B cfd907f606a7b9b24d897960720f97ed3
 AUX tmpfiles.d/opennebula-sunstone.conf 77 BLAKE2B 9988562b0e36bf74fc67af5a1777eca18b24e0a1bcfc78735f360f1aceca4602e32f7b6cfbe3b731a13725a9cd14a4dc49b71c12bb7576a29aa00112b37cd2be SHA512 c13210255ebb0f34d464e2799858d6ac2a79afac287ead639821ef5e939b7666a960ebb1ee96bc7098a111ddd6765e72d8a5e53e0647b9a866d0826e02cbd2a1
 AUX tmpfiles.d/opennebula.conf 77 BLAKE2B 9988562b0e36bf74fc67af5a1777eca18b24e0a1bcfc78735f360f1aceca4602e32f7b6cfbe3b731a13725a9cd14a4dc49b71c12bb7576a29aa00112b37cd2be SHA512 c13210255ebb0f34d464e2799858d6ac2a79afac287ead639821ef5e939b7666a960ebb1ee96bc7098a111ddd6765e72d8a5e53e0647b9a866d0826e02cbd2a1
 DIST opennebula-5.10.1.tar.gz 43207580 BLAKE2B de87e839cd772bec769af4a689fed02e81fbdc6fbb35def9ad6344383dc935ebd431137cb194dd3b840965004f4e145ac63443d7034d56a9a6bb19af9030642d SHA512 861293298997c825e94228ea28f0f352db3f56dd28b654be24ca2226edd422fc54cf94665f5ae5cc17dc51d3d52081c936f249b77fc4f8198de6a1ec0006edaf
-DIST opennebula-5.10.3.tar.gz 5694695 BLAKE2B 09e20f0bcea43a454692c7bc5ac7e167024bc838755a2fed31ef5e4a0dea85f97a4334ec950a0a6c3f16a6d49837262dd7791b02298f58da600f65521de59764 SHA512 a0b581a6522054241d61255aba3a1754dd16052b058f0de244a3ec35fd99972aed36fef25d087a2a76566fa0d8c875c9e95766294d80adb4c5491231447ec839
 DIST opennebula-5.10.4.tar.gz 5697792 BLAKE2B fde611cbe5b44ee403b57e915253c9ffba267230bf3a54cd466260615918e871aebeae6f17c246a84ef1686df176134acff272c49e6a9b69c8841bc8fab1f1b5 SHA512 c509ec4a56b7865d118ab79e08227f0a78d1d899361ea2ae2ea3c6ac6ad3ab4a2a38211a4f5b7abf35ef512674d13ffb19f97286fed63515289e4f9a602f3145
 EBUILD opennebula-5.10.1.ebuild 9405 BLAKE2B fd6dfefc76da0aaadc993b7ed1593b8826fb642a92797220c9ce6226b846539900f6e7914730decfe57f79514654506e9a1aed76ebd28c1fc797d71ee5a6b2ba SHA512 360d3323e46a1253f6489c696e020ea38e260923d6b0fcb50154b0cb412b4bd3db994365a072915f5a8411032cea12dd8b87fe2f730e418d6742dd7218722a66
-EBUILD opennebula-5.10.3.ebuild 9653 BLAKE2B ad5ca71e2d22173d6a8815b1e38a82dc745e0d99d92ff0bdd9d24d86628fd5609213b1a984a984239fa68220877cf5781046164c3314f7bd358283052963e412 SHA512 43f66b8361cea0cad56efacf2a0187fd15ee4d49cf6f4c0b0bc563b9dcaa1ee4f23554475a7d23da412c9f58f1f6e26e95db26f5009c1c4270c3fe6e193a6e0c
-EBUILD opennebula-5.10.4.ebuild 9653 BLAKE2B ad5ca71e2d22173d6a8815b1e38a82dc745e0d99d92ff0bdd9d24d86628fd5609213b1a984a984239fa68220877cf5781046164c3314f7bd358283052963e412 SHA512 43f66b8361cea0cad56efacf2a0187fd15ee4d49cf6f4c0b0bc563b9dcaa1ee4f23554475a7d23da412c9f58f1f6e26e95db26f5009c1c4270c3fe6e193a6e0c
+EBUILD opennebula-5.10.4.ebuild 9705 BLAKE2B 6fcfa4e006240a45629ea3ed7fa09ac60736fc3efad771cc69b39d7b9a6102b66e3659301f064ca8f7941130e6883812a57ef9c636f52fea5b9c2f3b86507021 SHA512 4455c0c4338f47219828b70a68d44c30f53cc9ddbb8352a5b4d4fc6867476236fd4a5fe41be646cb98ad0728407d1afd902fa0714fc01fd71bae005edb0a5ec2
 MISC metadata.xml 931 BLAKE2B abb0ecf04eb6fc45f64c5d2d6636591c9d706fbf1902943a80f7e058443787824581219fb8457a83192e4e2b672521609449d4eef78ab677f8c093fe939034b6 SHA512 c3770f399572b16601e7eeaf4a1eb4b5eea950ad18239be8719124f60f3edd02da4c7b28b177329d70b0810ee7d8597e522dd62a1bd4c8ea1194acf0d92dfeb2

diff --git a/app-emulation/opennebula/opennebula-5.10.3.ebuild b/app-emulation/opennebula/opennebula-5.10.3.ebuild
deleted file mode 100644
index 6db137d..0000000
--- a/app-emulation/opennebula/opennebula-5.10.3.ebuild
+++ /dev/null
@@ -1,299 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=7
-USE_RUBY="ruby24 ruby25 ruby26 ruby27"
-PYTHON_COMPAT=( python2_7 python3_6 )
-
-inherit user eutils multilib ruby-ng systemd rpm python-r1
-
-MY_P="one-release-${PV}"
-P_RPM="${P}-1"
-
-DESCRIPTION="OpenNebula Virtual Infrastructure Engine"
-HOMEPAGE="http://www.opennebula.org/"
-
-IUSE="qemu +mysql xen sqlite +extras systemd docker +sunstone vnc +python +doc"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-LICENSE="Apache-2.0"
-SLOT="0"
-#KEYWORDS="~amd64"
-SRC_URI="https://github.com/OpenNebula/one/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
-
-RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
-	dev-lang/ruby
-	python? ( ${PYTHON_DEPS}
-	        >=dev-python/pygobject-2.90.4:3[${PYTHON_USEDEP}] )
-	extras? ( dev-libs/openssl
-		dev-ruby/libxml
-		net-misc/curl
-		dev-libs/libxslt
-		dev-libs/expat
-		dev-ruby/uuidtools
-		dev-ruby/amazon-ec2
-		dev-ruby/webmock
-		dev-ruby/mysql
-		dev-ruby/mysql2
-		dev-ruby/parse-cron
-		dev-ruby/sequel
-		dev-ruby/treetop
-		dev-ruby/xml-simple
-		dev-ruby/zendesk_api
-		dev-ruby/ffi-rzmq
-		dev-ruby/ffi-rzmq-core
-		dev-ruby/rqrcode
-		dev-ruby/rqrcode_core
-		dev-ruby/chunky_png
-		dev-ruby/rotp
-		dev-libs/log4cpp )
-	mysql? ( virtual/mysql )
-	dev-db/sqlite
-	net-misc/openssh
-	net-fs/nfs-utils
-	dev-db/mariadb
-	net-libs/zeromq
-	|| ( app-cdr/cdrkit app-cdr/cdrtools )
-	sqlite? ( dev-ruby/sqlite3 )
-	qemu? ( app-emulation/libvirt[libvirtd,qemu] )
-	xen? ( app-emulation/xen-tools )"
-DEPEND="${RDEPEND}
-	dev-lang/ruby:2.5
-	>=dev-util/scons-3.0.0
-	dev-ruby/nokogiri
-	dev-ruby/bundler
-	dev-nodejs/grunt-cli
-	dev-nodejs/bower
-	net-libs/nodejs[npm]
-	net-libs/libvncserver
-	app-text/ronn
-	dev-ruby/builder
-	dev-ruby/highline
-	dev-ruby/ipaddress:1
-	docker? ( dev-go/dep )"
-
-# make sure no eclass is running tests
-RESTRICT="test"
-
-S="${WORKDIR}/${MY_P}"
-
-ONEUSER="oneadmin"
-ONEGROUP="oneadmin"
-
-PATCHES=(
-	"${FILESDIR}/patches/fix_kvm_emulator.patch"
-	"${FILESDIR}/patches/install.sh.patch"
-)
-
-pkg_pretend() {
-	if use sunstone; then
-		elog "Opennebula hotfix releases needs to build sunstone without network sandbox restriction."
-		has network-sandbox ${FEATURES} && die "Please disable feature network-sandbox: -network-sandbox"
-	fi
-	if use docker; then
-		elog "Opennebula releases needs to build docker without network sandbox restriction."
-		has network-sandbox ${FEATURES} && die "Please disable feature network-sandbox: -network-sandbox"
-	fi
-}
-
-pkg_setup () {
-	enewgroup ${ONEGROUP}
-	enewuser ${ONEUSER} -1 /bin/bash /var/lib/one ${ONEGROUP}
-}
-
-src_unpack() {
-	default
-}
-
-src_prepare() {
-	# install missing source file
-	#cp "${FILESDIR}"/${P}/parsers/* "${S}"/src/parsers/ || die "copy parsers files failed"
-
-	# set correct lib path
-	use docker && make -C src/docker_machine/src/docker_machine vendor
-	for f in $(grep -rlI "/usr/lib/one" .); do sed -i -e "s/\/usr\/lib\/one/\/usr\/$(get_libdir)\/one/g" $f; done || die "correct lib dir failed"
-
-	# grunt-sass and node-sass versions
-	sed -i -e 's|1.2.1|2.1.0|' -e 's|3.10.1|4.13.0|' src/sunstone/public/package.json || die "sed failed"
-
-	# As we install from the github release sources we need to build sunstone as well.
-	# To do that we need the npm environment set up
-	# https://docs.opennebula.org/5.4/integration/references/sunstone_dev.html#sunstone-dev
-	pushd src/sunstone/public/ >/dev/null
-	./build.sh -d || die "Install required dependencies for npm and bower failed."
-	#export PATH=$PATH:$PWD/node_modules/.bin
-	#./build.sh || die "Prepare minified files failed."
-	popd >/dev/null
-
-	eapply_user
-}
-
-src_configure() {
-	:
-}
-
-src_compile() {
-	# manual pages
-	if use doc; then
-		pushd ${S}/share/man >/dev/null
-		./build.sh
-		popd >/dev/null
-	fi
-
-	###########################################################################
-	##                                                                       ##
-	## It is highly recommended that you read the documentation and tweak    ##
-	## the PKGBUILD accordingly:                                             ##
-	## http://docs.opennebula.org/stable/integration/references/compile.html ##
-	##                                                                       ##
-	###########################################################################
-	local myconf
-	myconf+="parsers=yes new_xmlrpc=yes "
-	use extras && myconf+="new_xmlrpc=yes "
-	use mysql && myconf+="mysql=yes " || myconf+="mysql=no "
-	use sunstone && myconf+="sunstone=yes "
-	use docker && myconf+="docker_machine=yes "
-	use systemd && myconf+="systemd=yes "
-	use vnc && myconf+="svncterm=yes "
-	python3 $(which scons) \
-		${myconf} \
-		$(sed -r 's/.*(-j\s*|--jobs=)([0-9]+).*/-j\2/' <<< ${MAKEOPTS}) \
-		|| die "building ${PN} failed"
-}
-
-src_install() {
-	# Prepare installation
-	keepdir /var/{lib,run}/${PN} || die "keepdir failed"
-
-	dodir /usr/$(get_libdir)/one
-	dodir /var/log/one
-	dodir /var/lib/one
-	dodir /var/tmp/one
-	dodir /var/lib/one
-	dodir /var/lib/one/vms
-	dodir /usr/share/one
-	dodir /etc/tmpfiles.d
-
-	# Installing Opennebula
-	DESTDIR="${T}" ./install.sh -u ${ONEUSER} -g ${ONEGROUP} || die "install opennebula core failed"
-	use extras && DESTDIR="${T}" ./install.sh -u ${ONEUSER} -g ${ONEGROUP} -c || die "install opennebula client tools failed"
-	use docker && DESTDIR="${T}" ./install.sh -u ${ONEUSER} -g ${ONEGROUP} -e -k || die "install docker machine failed"
-
-	pushd "${T}" >/dev/null
-	# Clean files
-	rm -rf etc/{logrotate.d,sudoers.d} lib/ var/{lock,run}
-
-	# setup etc
-	insinto	/etc
-	doins -r etc/one
-	rm -rf etc/one
-
-	insinto /etc/one
-	insopts -m 0640
-	doins "${FILESDIR}/one_auth"
-
-	insinto /etc/tmpfiles.d
-	insopts -m 0644
-	doins "${FILESDIR}"/tmpfiles.d/*
-
-	insinto /etc/logrotate.d
-	doins "${FILESDIR}"/logrotate/*
-
-	insinto /etc/sudoers.d
-	doins "${FILESDIR}"/sudoers/*
-
-	# set binaries executable
-	into /usr
-	dobin usr/bin/*
-
-	cp -a usr/$(get_libdir)/one/* "${ED}"/usr/$(get_libdir)/one/
-	cp -a usr/share/one/* "${ED}"/usr/share/one/
-	cp -a var/lib/one/* "${ED}"/var/lib/one/
-	rm -rf usr/bin usr/$(get_libdir)/one usr/share/one var/lib/one
-
-	# add documentation
-	dodoc usr/share/docs/one/*
-	rm -rf usr/share/docs
-
-	# install remaining files
-	insinto /usr/share/man/man1
-	doins -r usr/share/man/man1/
-
-	# set correct owner
-	fowners -R ${ONEUSER}:${ONEGROUP} /etc/one /usr/$(get_libdir)/one /usr/share/one /var/lib/{one,opennebula} /var/log/one /var/tmp/one
-
-	# install daemon files
-	if use systemd; then
-		systemd_dounit "${FILESDIR}"/systemd/*.service
-	else
-		doenvd "${FILESDIR}/openrc/99one"
-		newinitd "${FILESDIR}/openrc/opennebula.initd" opennebula
-		newinitd "${FILESDIR}/openrc/sunstone-server.initd" sunstone-server
-		newinitd "${FILESDIR}/openrc/oneflow-server.initd" oneflow-server
-		newconfd "${FILESDIR}/openrc/opennebula.confd" opennebula
-		newconfd "${FILESDIR}/openrc/sunstone-server.confd" sunstone-server
-		newconfd "${FILESDIR}/openrc/oneflow-server.confd" oneflow-server
-	fi
-
-	popd >/dev/null
-
-}
-
-pkg_postinst() {
-
-	#chown -R oneadmin:oneadmin ${ROOT}var/{lock,lib,log,run,tmp}/one
-	#chown -R oneadmin:oneadmin ${ROOT}usr/share/one
-	#chown -R oneadmin:oneadmin ${ROOT}etc/one
-	#chown -R oneadmin:oneadmin ${ROOT}usr/$(get_libdir)/one
-
-	local onedir="${EROOT}var/lib/one"
-	if [ ! -d "${onedir}/.ssh" ] ; then
-		#einfo "Generating ssh-key..."
-		#umask 0027 || die "setting umask failed"
-		#mkdir "${onedir}/.ssh" || die "creating ssh directory failed"
-		#ssh-keygen -q -t rsa -N "" -f "${onedir}/.ssh/id_rsa" || die "ssh-keygen failed"
-		#cat > "${onedir}/.ssh/config" <<EOF
-#UserKnownHostsFile /dev/null
-#Host *
-#    StrictHostKeyChecking no
-#EOF
-		#cat "${onedir}/.ssh/id_rsa.pub"  >> "${onedir}/.ssh/authorized_keys" || die "adding key failed"
-		#chown -R ${ONEUSER}:${ONEGROUP} "${onedir}/.ssh" || die "changing owner failed"
-		elog "Create directory ${onedir}/.ssh with umask 0027."
-		elog "Then generate ssh key using proper cypher algorithm (at least rsa)."
-		elog "Add public key to ${ONEUSER} authorized_keys:"
-		elog "cat ${onedir}/.ssh/id_rsa.pub  >> ${onedir}/.ssh/authorized_keys"
-		elog "${ONEUSER} ssh config for any host with"
-		elog "StrictHostKeyChecking no"
-		elog "and"
-		elog "UserKnownHostsFile /dev/null"
-		elog "In the end set correct owner to ${ONEUSER}:"
-		elog "chown -R ${ONEUSER}:${ONEGROUP} ${onedir}/.ssh"
-	fi
-
-	if use qemu ; then
-		elog "Make sure that the user ${ONEUSER} has access to the libvirt control socket"
-		elog "  /var/run/libvirt/libvirt-sock"
-		elog "You can easily check this by executing the following command as ${ONEUSER} user"
-		elog "  virsh -c qemu:///system nodeinfo"
-		elog "If not using using policykit in libvirt, the file you should take a look at is:"
-		elog "  /etc/libvirt/libvirtd.conf (look for the unix_sock_*_perms parameters)"
-		elog "Failure to do so may lead to nodes hanging in PENDING state forever without further notice."
-		echo ""
-		elog "Should a node hang in PENDING state even with correct permissions, try the following to get more information."
-		elog "In /tmp/one-im execute the following command for the biggest one_im-* file:"
-		elog "  ruby -wd one_im-???"
-		echo ""
-		elog "OpenNebula doesn't allow you to specify the disc format."
-		elog "Unfortunately the default in libvirt is not to guess and"
-		elog "it therefores assumes a 'raw' format when using qemu/kvm."
-		elog "Set 'allow_disk_format_probing = 0' in /etc/libvirt/qemu.conf"
-		elog "to work around this until OpenNebula fixes it."
-	fi
-
-	elog "If you wish to use the sunstone server, please issue the command"
-	#elog "/usr/share/one/install_gems as oneadmin user"
-	elog "gem install sequel thin json rack sinatra builder treetop zendesk_api mysql parse-cron"
-
-}
-

diff --git a/app-emulation/opennebula/opennebula-5.10.4.ebuild b/app-emulation/opennebula/opennebula-5.10.4.ebuild
index 6db137d..6025799 100644
--- a/app-emulation/opennebula/opennebula-5.10.4.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.4.ebuild
@@ -18,7 +18,7 @@ IUSE="qemu +mysql xen sqlite +extras systemd docker +sunstone vnc +python +doc"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 LICENSE="Apache-2.0"
 SLOT="0"
-#KEYWORDS="~amd64"
+KEYWORDS="~amd64"
 SRC_URI="https://github.com/OpenNebula/one/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
 
 RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
@@ -62,7 +62,7 @@ DEPEND="${RDEPEND}
 	>=dev-util/scons-3.0.0
 	dev-ruby/nokogiri
 	dev-ruby/bundler
-	dev-nodejs/grunt-cli
+	dev-nodejs/grunt
 	dev-nodejs/bower
 	net-libs/nodejs[npm]
 	net-libs/libvncserver
@@ -85,7 +85,7 @@ PATCHES=(
 	"${FILESDIR}/patches/install.sh.patch"
 )
 
-pkg_pretend() {
+test_netsandbox() {
 	if use sunstone; then
 		elog "Opennebula hotfix releases needs to build sunstone without network sandbox restriction."
 		has network-sandbox ${FEATURES} && die "Please disable feature network-sandbox: -network-sandbox"
@@ -96,7 +96,12 @@ pkg_pretend() {
 	fi
 }
 
+pkg_pretend() {
+	test_netsandbox
+}
+
 pkg_setup () {
+	test_netsandbox
 	enewgroup ${ONEGROUP}
 	enewuser ${ONEUSER} -1 /bin/bash /var/lib/one ${ONEGROUP}
 }


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2020-05-04 23:28 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2020-05-04 23:28 UTC (permalink / raw
  To: gentoo-commits

commit:     dee81d12abe01af256454e441547f5c31001f186
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon May  4 23:27:45 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon May  4 23:27:45 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=dee81d12

Change feature test in pretend stage

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 app-emulation/opennebula/Manifest                 | 6 +++---
 app-emulation/opennebula/opennebula-5.10.1.ebuild | 4 +---
 app-emulation/opennebula/opennebula-5.10.3.ebuild | 8 ++------
 app-emulation/opennebula/opennebula-5.10.4.ebuild | 8 ++------
 4 files changed, 8 insertions(+), 18 deletions(-)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index 6f011c6..8013697 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -62,7 +62,7 @@ AUX tmpfiles.d/opennebula.conf 77 BLAKE2B 9988562b0e36bf74fc67af5a1777eca18b24e0
 DIST opennebula-5.10.1.tar.gz 43207580 BLAKE2B de87e839cd772bec769af4a689fed02e81fbdc6fbb35def9ad6344383dc935ebd431137cb194dd3b840965004f4e145ac63443d7034d56a9a6bb19af9030642d SHA512 861293298997c825e94228ea28f0f352db3f56dd28b654be24ca2226edd422fc54cf94665f5ae5cc17dc51d3d52081c936f249b77fc4f8198de6a1ec0006edaf
 DIST opennebula-5.10.3.tar.gz 5694695 BLAKE2B 09e20f0bcea43a454692c7bc5ac7e167024bc838755a2fed31ef5e4a0dea85f97a4334ec950a0a6c3f16a6d49837262dd7791b02298f58da600f65521de59764 SHA512 a0b581a6522054241d61255aba3a1754dd16052b058f0de244a3ec35fd99972aed36fef25d087a2a76566fa0d8c875c9e95766294d80adb4c5491231447ec839
 DIST opennebula-5.10.4.tar.gz 5697792 BLAKE2B fde611cbe5b44ee403b57e915253c9ffba267230bf3a54cd466260615918e871aebeae6f17c246a84ef1686df176134acff272c49e6a9b69c8841bc8fab1f1b5 SHA512 c509ec4a56b7865d118ab79e08227f0a78d1d899361ea2ae2ea3c6ac6ad3ab4a2a38211a4f5b7abf35ef512674d13ffb19f97286fed63515289e4f9a602f3145
-EBUILD opennebula-5.10.1.ebuild 9430 BLAKE2B 319ce587d0028529e283120d41ea6d0a10e3ccc883d1387ee0d476428f0033f0b3dfc0afb6a293ac7efcba4d2afd82b291b906a30c52ded98d4b96352ab4d77b SHA512 3b6a9cfc76ec18dedea59009d72ba0a9da675e52c80aa5e70e3a06212f08d778804c425005cfe5f5fbbc387a86d6e52559d480b242ebf6c23697f231c5bce47a
-EBUILD opennebula-5.10.3.ebuild 9516 BLAKE2B 2af0a6502a9fef0abf6dd2f33228c59d416fd7e1bcc4d3b12ad7330a44e84128dcdf33ddff485a83c1862a8cf0bc63d920722a7e2f6dc48c850052c20e68baac SHA512 c19de4d526661ad372dab6008ad41c54143d4044ca805bddb29b773951cf9c2e49aeb50533ac4f83ccfed392d1eadf72cd63663ed1cbacf6232637f25cac2eff
-EBUILD opennebula-5.10.4.ebuild 9516 BLAKE2B 2af0a6502a9fef0abf6dd2f33228c59d416fd7e1bcc4d3b12ad7330a44e84128dcdf33ddff485a83c1862a8cf0bc63d920722a7e2f6dc48c850052c20e68baac SHA512 c19de4d526661ad372dab6008ad41c54143d4044ca805bddb29b773951cf9c2e49aeb50533ac4f83ccfed392d1eadf72cd63663ed1cbacf6232637f25cac2eff
+EBUILD opennebula-5.10.1.ebuild 9405 BLAKE2B fd6dfefc76da0aaadc993b7ed1593b8826fb642a92797220c9ce6226b846539900f6e7914730decfe57f79514654506e9a1aed76ebd28c1fc797d71ee5a6b2ba SHA512 360d3323e46a1253f6489c696e020ea38e260923d6b0fcb50154b0cb412b4bd3db994365a072915f5a8411032cea12dd8b87fe2f730e418d6742dd7218722a66
+EBUILD opennebula-5.10.3.ebuild 9466 BLAKE2B 9a95ed8ad71e2c38ce1487ca675510b141cd2c068a19dc7417526d879b8f40413b93c13a6c7fce710b2b8be206d756ff1980a78ebb1518b45b63eec88376b69e SHA512 22019fee74dea1612a3dbc0bfa7c70e97e8dc5e9db32d798f338dd5adb928b559a63a4306e8661f1950c833df75cedae51aa57a557d1f7203913563a9048135d
+EBUILD opennebula-5.10.4.ebuild 9466 BLAKE2B 9a95ed8ad71e2c38ce1487ca675510b141cd2c068a19dc7417526d879b8f40413b93c13a6c7fce710b2b8be206d756ff1980a78ebb1518b45b63eec88376b69e SHA512 22019fee74dea1612a3dbc0bfa7c70e97e8dc5e9db32d798f338dd5adb928b559a63a4306e8661f1950c833df75cedae51aa57a557d1f7203913563a9048135d
 MISC metadata.xml 931 BLAKE2B abb0ecf04eb6fc45f64c5d2d6636591c9d706fbf1902943a80f7e058443787824581219fb8457a83192e4e2b672521609449d4eef78ab677f8c093fe939034b6 SHA512 c3770f399572b16601e7eeaf4a1eb4b5eea950ad18239be8719124f60f3edd02da4c7b28b177329d70b0810ee7d8597e522dd62a1bd4c8ea1194acf0d92dfeb2

diff --git a/app-emulation/opennebula/opennebula-5.10.1.ebuild b/app-emulation/opennebula/opennebula-5.10.1.ebuild
index 0f31969..3e44fa8 100644
--- a/app-emulation/opennebula/opennebula-5.10.1.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.1.ebuild
@@ -89,9 +89,7 @@ PATCHES=(
 pkg_pretend() {
 	if use docker; then
 		elog "Opennebula releases needs to build docker without network sandbox restriction."
-		if [[ "${FEATURES}" == *"network-sandbox"* ]]; then
-			die "Please disable feature network-sandbox: -network-sandbox"
-		fi
+		has network-sandbox ${FEATURES} && die "Please disable feature network-sandbox: -network-sandbox"
 	fi
 }
 

diff --git a/app-emulation/opennebula/opennebula-5.10.3.ebuild b/app-emulation/opennebula/opennebula-5.10.3.ebuild
index a23a832..aadbf39 100644
--- a/app-emulation/opennebula/opennebula-5.10.3.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.3.ebuild
@@ -87,15 +87,11 @@ PATCHES=(
 pkg_pretend() {
 	if use sunstone; then
 		elog "Opennebula hotfix releases needs to build sunstone without network sandbox restriction."
-		if [[ "${FEATURES}" == *"network-sandbox"* ]]; then
-			die "Please disable feature network-sandbox: -network-sandbox"
-		fi
+		has network-sandbox ${FEATURES} && die "Please disable feature network-sandbox: -network-sandbox"
 	fi
 	if use docker; then
 		elog "Opennebula releases needs to build docker without network sandbox restriction."
-		if [[ "${FEATURES}" == *"network-sandbox"* ]]; then
-			die "Please disable feature network-sandbox: -network-sandbox"
-		fi
+		has network-sandbox ${FEATURES} && die "Please disable feature network-sandbox: -network-sandbox"
 	fi
 }
 

diff --git a/app-emulation/opennebula/opennebula-5.10.4.ebuild b/app-emulation/opennebula/opennebula-5.10.4.ebuild
index a23a832..aadbf39 100644
--- a/app-emulation/opennebula/opennebula-5.10.4.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.4.ebuild
@@ -87,15 +87,11 @@ PATCHES=(
 pkg_pretend() {
 	if use sunstone; then
 		elog "Opennebula hotfix releases needs to build sunstone without network sandbox restriction."
-		if [[ "${FEATURES}" == *"network-sandbox"* ]]; then
-			die "Please disable feature network-sandbox: -network-sandbox"
-		fi
+		has network-sandbox ${FEATURES} && die "Please disable feature network-sandbox: -network-sandbox"
 	fi
 	if use docker; then
 		elog "Opennebula releases needs to build docker without network sandbox restriction."
-		if [[ "${FEATURES}" == *"network-sandbox"* ]]; then
-			die "Please disable feature network-sandbox: -network-sandbox"
-		fi
+		has network-sandbox ${FEATURES} && die "Please disable feature network-sandbox: -network-sandbox"
 	fi
 }
 


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2020-05-04 19:48 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2020-05-04 19:48 UTC (permalink / raw
  To: gentoo-commits

commit:     0ae7cff09ef4a22f4f256144e1beb4ce8c2c15a5
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon May  4 19:47:52 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon May  4 19:47:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=0ae7cff0

Update missing ruby dependencies for opennebula

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 app-emulation/opennebula/Manifest                 | 6 +++---
 app-emulation/opennebula/opennebula-5.10.1.ebuild | 6 ++++++
 app-emulation/opennebula/opennebula-5.10.3.ebuild | 6 ++++++
 app-emulation/opennebula/opennebula-5.10.4.ebuild | 6 ++++++
 4 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index 7809ba1..6f011c6 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -62,7 +62,7 @@ AUX tmpfiles.d/opennebula.conf 77 BLAKE2B 9988562b0e36bf74fc67af5a1777eca18b24e0
 DIST opennebula-5.10.1.tar.gz 43207580 BLAKE2B de87e839cd772bec769af4a689fed02e81fbdc6fbb35def9ad6344383dc935ebd431137cb194dd3b840965004f4e145ac63443d7034d56a9a6bb19af9030642d SHA512 861293298997c825e94228ea28f0f352db3f56dd28b654be24ca2226edd422fc54cf94665f5ae5cc17dc51d3d52081c936f249b77fc4f8198de6a1ec0006edaf
 DIST opennebula-5.10.3.tar.gz 5694695 BLAKE2B 09e20f0bcea43a454692c7bc5ac7e167024bc838755a2fed31ef5e4a0dea85f97a4334ec950a0a6c3f16a6d49837262dd7791b02298f58da600f65521de59764 SHA512 a0b581a6522054241d61255aba3a1754dd16052b058f0de244a3ec35fd99972aed36fef25d087a2a76566fa0d8c875c9e95766294d80adb4c5491231447ec839
 DIST opennebula-5.10.4.tar.gz 5697792 BLAKE2B fde611cbe5b44ee403b57e915253c9ffba267230bf3a54cd466260615918e871aebeae6f17c246a84ef1686df176134acff272c49e6a9b69c8841bc8fab1f1b5 SHA512 c509ec4a56b7865d118ab79e08227f0a78d1d899361ea2ae2ea3c6ac6ad3ab4a2a38211a4f5b7abf35ef512674d13ffb19f97286fed63515289e4f9a602f3145
-EBUILD opennebula-5.10.1.ebuild 9304 BLAKE2B c1c2bc2c4a7b2ac070f028810e42d4ee606685d03b421fb5e7641ae98c69038f98e13787d551e95a119ecc6337f2c335b8a315b9a49c323d394191914d7acc9e SHA512 5eba336c5cf09d506d33f31bd34b2f75adb88a47bcd5b7639d890764a9466930ba1104f9f7d0acddb503c34f68db5e0ab51b87e442768cbf60484ae42f149682
-EBUILD opennebula-5.10.3.ebuild 9390 BLAKE2B da39a06e124f4e6f47d784b12cb049416739e822c3941394e470086134504b2d598246a871ef9fcb5e6a0be28f141df2edfa5e240f318028f53f5395bc649a6a SHA512 6dafe62af5d946ac1fc06730bd8e42859401ccd4920ffe66fab98f620e13e8217fb9f6d7c3a65e0961fc6cb41377b4f52355183a96f7e9b0b97f61c2395f2447
-EBUILD opennebula-5.10.4.ebuild 9390 BLAKE2B da39a06e124f4e6f47d784b12cb049416739e822c3941394e470086134504b2d598246a871ef9fcb5e6a0be28f141df2edfa5e240f318028f53f5395bc649a6a SHA512 6dafe62af5d946ac1fc06730bd8e42859401ccd4920ffe66fab98f620e13e8217fb9f6d7c3a65e0961fc6cb41377b4f52355183a96f7e9b0b97f61c2395f2447
+EBUILD opennebula-5.10.1.ebuild 9430 BLAKE2B 319ce587d0028529e283120d41ea6d0a10e3ccc883d1387ee0d476428f0033f0b3dfc0afb6a293ac7efcba4d2afd82b291b906a30c52ded98d4b96352ab4d77b SHA512 3b6a9cfc76ec18dedea59009d72ba0a9da675e52c80aa5e70e3a06212f08d778804c425005cfe5f5fbbc387a86d6e52559d480b242ebf6c23697f231c5bce47a
+EBUILD opennebula-5.10.3.ebuild 9516 BLAKE2B 2af0a6502a9fef0abf6dd2f33228c59d416fd7e1bcc4d3b12ad7330a44e84128dcdf33ddff485a83c1862a8cf0bc63d920722a7e2f6dc48c850052c20e68baac SHA512 c19de4d526661ad372dab6008ad41c54143d4044ca805bddb29b773951cf9c2e49aeb50533ac4f83ccfed392d1eadf72cd63663ed1cbacf6232637f25cac2eff
+EBUILD opennebula-5.10.4.ebuild 9516 BLAKE2B 2af0a6502a9fef0abf6dd2f33228c59d416fd7e1bcc4d3b12ad7330a44e84128dcdf33ddff485a83c1862a8cf0bc63d920722a7e2f6dc48c850052c20e68baac SHA512 c19de4d526661ad372dab6008ad41c54143d4044ca805bddb29b773951cf9c2e49aeb50533ac4f83ccfed392d1eadf72cd63663ed1cbacf6232637f25cac2eff
 MISC metadata.xml 931 BLAKE2B abb0ecf04eb6fc45f64c5d2d6636591c9d706fbf1902943a80f7e058443787824581219fb8457a83192e4e2b672521609449d4eef78ab677f8c093fe939034b6 SHA512 c3770f399572b16601e7eeaf4a1eb4b5eea950ad18239be8719124f60f3edd02da4c7b28b177329d70b0810ee7d8597e522dd62a1bd4c8ea1194acf0d92dfeb2

diff --git a/app-emulation/opennebula/opennebula-5.10.1.ebuild b/app-emulation/opennebula/opennebula-5.10.1.ebuild
index 7d7f4f3..0f31969 100644
--- a/app-emulation/opennebula/opennebula-5.10.1.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.1.ebuild
@@ -42,6 +42,12 @@ RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
 		dev-ruby/treetop
 		dev-ruby/xml-simple
 		dev-ruby/zendesk_api
+		dev-ruby/ffi-rzmq
+		dev-ruby/ffi-rzmq-core
+		dev-ruby/rqrcode
+		dev-ruby/rqrcode_core
+		dev-ruby/chunky_png
+		dev-ruby/rotp
 		dev-libs/log4cpp )
 	mysql? ( virtual/mysql )
 	dev-db/sqlite

diff --git a/app-emulation/opennebula/opennebula-5.10.3.ebuild b/app-emulation/opennebula/opennebula-5.10.3.ebuild
index 661cb94..a23a832 100644
--- a/app-emulation/opennebula/opennebula-5.10.3.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.3.ebuild
@@ -40,6 +40,12 @@ RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
 		dev-ruby/treetop
 		dev-ruby/xml-simple
 		dev-ruby/zendesk_api
+		dev-ruby/ffi-rzmq
+		dev-ruby/ffi-rzmq-core
+		dev-ruby/rqrcode
+		dev-ruby/rqrcode_core
+		dev-ruby/chunky_png
+		dev-ruby/rotp
 		dev-libs/log4cpp )
 	mysql? ( virtual/mysql )
 	dev-db/sqlite

diff --git a/app-emulation/opennebula/opennebula-5.10.4.ebuild b/app-emulation/opennebula/opennebula-5.10.4.ebuild
index 661cb94..a23a832 100644
--- a/app-emulation/opennebula/opennebula-5.10.4.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.4.ebuild
@@ -40,6 +40,12 @@ RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
 		dev-ruby/treetop
 		dev-ruby/xml-simple
 		dev-ruby/zendesk_api
+		dev-ruby/ffi-rzmq
+		dev-ruby/ffi-rzmq-core
+		dev-ruby/rqrcode
+		dev-ruby/rqrcode_core
+		dev-ruby/chunky_png
+		dev-ruby/rotp
 		dev-libs/log4cpp )
 	mysql? ( virtual/mysql )
 	dev-db/sqlite


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2020-05-04 15:42 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2020-05-04 15:42 UTC (permalink / raw
  To: gentoo-commits

commit:     8ba549f72a117503269aee379db530722ae4dff5
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon May  4 15:42:29 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon May  4 15:42:29 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=8ba549f7

Add sudoers and correct permissions in some etc files

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 app-emulation/opennebula/Manifest                 | 6 +++---
 app-emulation/opennebula/opennebula-5.10.1.ebuild | 6 +++++-
 app-emulation/opennebula/opennebula-5.10.3.ebuild | 6 +++++-
 app-emulation/opennebula/opennebula-5.10.4.ebuild | 6 +++++-
 4 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index f888af5..17d02bb 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -62,7 +62,7 @@ AUX tmpfiles.d/opennebula.conf 77 BLAKE2B 9988562b0e36bf74fc67af5a1777eca18b24e0
 DIST opennebula-5.10.1.tar.gz 43207580 BLAKE2B de87e839cd772bec769af4a689fed02e81fbdc6fbb35def9ad6344383dc935ebd431137cb194dd3b840965004f4e145ac63443d7034d56a9a6bb19af9030642d SHA512 861293298997c825e94228ea28f0f352db3f56dd28b654be24ca2226edd422fc54cf94665f5ae5cc17dc51d3d52081c936f249b77fc4f8198de6a1ec0006edaf
 DIST opennebula-5.10.3.tar.gz 5694695 BLAKE2B 09e20f0bcea43a454692c7bc5ac7e167024bc838755a2fed31ef5e4a0dea85f97a4334ec950a0a6c3f16a6d49837262dd7791b02298f58da600f65521de59764 SHA512 a0b581a6522054241d61255aba3a1754dd16052b058f0de244a3ec35fd99972aed36fef25d087a2a76566fa0d8c875c9e95766294d80adb4c5491231447ec839
 DIST opennebula-5.10.4.tar.gz 5697792 BLAKE2B fde611cbe5b44ee403b57e915253c9ffba267230bf3a54cd466260615918e871aebeae6f17c246a84ef1686df176134acff272c49e6a9b69c8841bc8fab1f1b5 SHA512 c509ec4a56b7865d118ab79e08227f0a78d1d899361ea2ae2ea3c6ac6ad3ab4a2a38211a4f5b7abf35ef512674d13ffb19f97286fed63515289e4f9a602f3145
-EBUILD opennebula-5.10.1.ebuild 9234 BLAKE2B f22e8f589688a9afaf92752fd4a650c33bd989b408853ee1c1ead4aa89a0368aa2fadb4f7435d95eb6f03d11572a86457ae836dfbe07d4f4512900f7e35a4ea6 SHA512 6457671a0031922845e7c319ad183712fa9cc778503cc9552f5b195a0db8294afc470da4d93507aed554b210c8101f5dc16927f4b014e625e50440d99dcd6b5b
-EBUILD opennebula-5.10.3.ebuild 9320 BLAKE2B 18b7652d60a91f08194b8754b90533757eeb5a17e1235e98c0e71cfaef17add75a873fb40511c1aa880acf6248f19d7d709f86db158a35395b7edf85c2601597 SHA512 adf3f1399838611829af379836ccecfccb2eda778e7ffe311107577f53ddb81c740d3db384451a4692cc0848c0bc1dd7675d2e88ff363f184a2f51b3c13b9a61
-EBUILD opennebula-5.10.4.ebuild 9320 BLAKE2B 18b7652d60a91f08194b8754b90533757eeb5a17e1235e98c0e71cfaef17add75a873fb40511c1aa880acf6248f19d7d709f86db158a35395b7edf85c2601597 SHA512 adf3f1399838611829af379836ccecfccb2eda778e7ffe311107577f53ddb81c740d3db384451a4692cc0848c0bc1dd7675d2e88ff363f184a2f51b3c13b9a61
+EBUILD opennebula-5.10.1.ebuild 9304 BLAKE2B c1c2bc2c4a7b2ac070f028810e42d4ee606685d03b421fb5e7641ae98c69038f98e13787d551e95a119ecc6337f2c335b8a315b9a49c323d394191914d7acc9e SHA512 5eba336c5cf09d506d33f31bd34b2f75adb88a47bcd5b7639d890764a9466930ba1104f9f7d0acddb503c34f68db5e0ab51b87e442768cbf60484ae42f149682
+EBUILD opennebula-5.10.3.ebuild 9390 BLAKE2B da39a06e124f4e6f47d784b12cb049416739e822c3941394e470086134504b2d598246a871ef9fcb5e6a0be28f141df2edfa5e240f318028f53f5395bc649a6a SHA512 6dafe62af5d946ac1fc06730bd8e42859401ccd4920ffe66fab98f620e13e8217fb9f6d7c3a65e0961fc6cb41377b4f52355183a96f7e9b0b97f61c2395f2447
+EBUILD opennebula-5.10.4.ebuild 9390 BLAKE2B da39a06e124f4e6f47d784b12cb049416739e822c3941394e470086134504b2d598246a871ef9fcb5e6a0be28f141df2edfa5e240f318028f53f5395bc649a6a SHA512 6dafe62af5d946ac1fc06730bd8e42859401ccd4920ffe66fab98f620e13e8217fb9f6d7c3a65e0961fc6cb41377b4f52355183a96f7e9b0b97f61c2395f2447
 MISC metadata.xml 931 BLAKE2B abb0ecf04eb6fc45f64c5d2d6636591c9d706fbf1902943a80f7e058443787824581219fb8457a83192e4e2b672521609449d4eef78ab677f8c093fe939034b6 SHA512 c3770f399572b16601e7eeaf4a1eb4b5eea950ad18239be8719124f60f3edd02da4c7b28b177329d70b0810ee7d8597e522dd62a1bd4c8ea1194acf0d92dfeb2

diff --git a/app-emulation/opennebula/opennebula-5.10.1.ebuild b/app-emulation/opennebula/opennebula-5.10.1.ebuild
index bb0139e..7d7f4f3 100644
--- a/app-emulation/opennebula/opennebula-5.10.1.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -182,11 +182,15 @@ src_install() {
 	doins "${FILESDIR}/one_auth"
 
 	insinto /etc/tmpfiles.d
+	insopts -m 0644
 	doins "${FILESDIR}"/tmpfiles.d/*
 
 	insinto /etc/logrotate.d
 	doins "${FILESDIR}"/logrotate/*
 
+	insinto /etc/sudoers.d
+	doins "${FILESDIR}"/sudoers/*
+
 	# set binaries executable
 	into /usr
 	dobin usr/bin/*

diff --git a/app-emulation/opennebula/opennebula-5.10.3.ebuild b/app-emulation/opennebula/opennebula-5.10.3.ebuild
index e3518c8..661cb94 100644
--- a/app-emulation/opennebula/opennebula-5.10.3.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -188,11 +188,15 @@ src_install() {
 	doins "${FILESDIR}/one_auth"
 
 	insinto /etc/tmpfiles.d
+	insopts -m 0644
 	doins "${FILESDIR}"/tmpfiles.d/*
 
 	insinto /etc/logrotate.d
 	doins "${FILESDIR}"/logrotate/*
 
+	insinto /etc/sudoers.d
+	doins "${FILESDIR}"/sudoers/*
+
 	# set binaries executable
 	into /usr
 	dobin usr/bin/*

diff --git a/app-emulation/opennebula/opennebula-5.10.4.ebuild b/app-emulation/opennebula/opennebula-5.10.4.ebuild
index e3518c8..661cb94 100644
--- a/app-emulation/opennebula/opennebula-5.10.4.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -188,11 +188,15 @@ src_install() {
 	doins "${FILESDIR}/one_auth"
 
 	insinto /etc/tmpfiles.d
+	insopts -m 0644
 	doins "${FILESDIR}"/tmpfiles.d/*
 
 	insinto /etc/logrotate.d
 	doins "${FILESDIR}"/logrotate/*
 
+	insinto /etc/sudoers.d
+	doins "${FILESDIR}"/sudoers/*
+
 	# set binaries executable
 	into /usr
 	dobin usr/bin/*


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2020-05-04 13:42 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2020-05-04 13:42 UTC (permalink / raw
  To: gentoo-commits

commit:     cb0d70c1292bc21c8ac24ffd3be17d0323c7e1df
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon May  4 13:41:40 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon May  4 13:41:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=cb0d70c1

Add use docker test to prepare phase when getting the docker machine sources

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 app-emulation/opennebula/Manifest                 | 6 +++---
 app-emulation/opennebula/opennebula-5.10.1.ebuild | 2 +-
 app-emulation/opennebula/opennebula-5.10.3.ebuild | 2 +-
 app-emulation/opennebula/opennebula-5.10.4.ebuild | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index 72e8e6a..f888af5 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -62,7 +62,7 @@ AUX tmpfiles.d/opennebula.conf 77 BLAKE2B 9988562b0e36bf74fc67af5a1777eca18b24e0
 DIST opennebula-5.10.1.tar.gz 43207580 BLAKE2B de87e839cd772bec769af4a689fed02e81fbdc6fbb35def9ad6344383dc935ebd431137cb194dd3b840965004f4e145ac63443d7034d56a9a6bb19af9030642d SHA512 861293298997c825e94228ea28f0f352db3f56dd28b654be24ca2226edd422fc54cf94665f5ae5cc17dc51d3d52081c936f249b77fc4f8198de6a1ec0006edaf
 DIST opennebula-5.10.3.tar.gz 5694695 BLAKE2B 09e20f0bcea43a454692c7bc5ac7e167024bc838755a2fed31ef5e4a0dea85f97a4334ec950a0a6c3f16a6d49837262dd7791b02298f58da600f65521de59764 SHA512 a0b581a6522054241d61255aba3a1754dd16052b058f0de244a3ec35fd99972aed36fef25d087a2a76566fa0d8c875c9e95766294d80adb4c5491231447ec839
 DIST opennebula-5.10.4.tar.gz 5697792 BLAKE2B fde611cbe5b44ee403b57e915253c9ffba267230bf3a54cd466260615918e871aebeae6f17c246a84ef1686df176134acff272c49e6a9b69c8841bc8fab1f1b5 SHA512 c509ec4a56b7865d118ab79e08227f0a78d1d899361ea2ae2ea3c6ac6ad3ab4a2a38211a4f5b7abf35ef512674d13ffb19f97286fed63515289e4f9a602f3145
-EBUILD opennebula-5.10.1.ebuild 9220 BLAKE2B 9858068e83244a0159e124ccd76301d1410cce8f6614c4cb27febd89fcd8fa30b70c0d68df11ba30fb505fb56ee29d3ee2a647edff14b94768ff43f9bc727a3d SHA512 0dcf313964b0ae9a5e2d6c6674d13807e298f78bebba01e8cde58369407506d65251b882ab02be54c7379109dd93a31b07fa15ad8c899a8ea87e823bf8d1c0b0
-EBUILD opennebula-5.10.3.ebuild 9306 BLAKE2B b0e9475cad401e1e8776b783f3cf657a7e4d26ac8557a6569ee75629b64a7580eff48d8c232163028e200e1d695936964f14ad3d461682ea47426e85459e2f21 SHA512 254d5b6062adbd6615e6673f4750ff8cd821d4782f953922ea1f5ac89234ca89f7896983692fd8f7184b9610f7173693b9dd331c168f5cf56dfd3d4b99c915b0
-EBUILD opennebula-5.10.4.ebuild 9306 BLAKE2B b0e9475cad401e1e8776b783f3cf657a7e4d26ac8557a6569ee75629b64a7580eff48d8c232163028e200e1d695936964f14ad3d461682ea47426e85459e2f21 SHA512 254d5b6062adbd6615e6673f4750ff8cd821d4782f953922ea1f5ac89234ca89f7896983692fd8f7184b9610f7173693b9dd331c168f5cf56dfd3d4b99c915b0
+EBUILD opennebula-5.10.1.ebuild 9234 BLAKE2B f22e8f589688a9afaf92752fd4a650c33bd989b408853ee1c1ead4aa89a0368aa2fadb4f7435d95eb6f03d11572a86457ae836dfbe07d4f4512900f7e35a4ea6 SHA512 6457671a0031922845e7c319ad183712fa9cc778503cc9552f5b195a0db8294afc470da4d93507aed554b210c8101f5dc16927f4b014e625e50440d99dcd6b5b
+EBUILD opennebula-5.10.3.ebuild 9320 BLAKE2B 18b7652d60a91f08194b8754b90533757eeb5a17e1235e98c0e71cfaef17add75a873fb40511c1aa880acf6248f19d7d709f86db158a35395b7edf85c2601597 SHA512 adf3f1399838611829af379836ccecfccb2eda778e7ffe311107577f53ddb81c740d3db384451a4692cc0848c0bc1dd7675d2e88ff363f184a2f51b3c13b9a61
+EBUILD opennebula-5.10.4.ebuild 9320 BLAKE2B 18b7652d60a91f08194b8754b90533757eeb5a17e1235e98c0e71cfaef17add75a873fb40511c1aa880acf6248f19d7d709f86db158a35395b7edf85c2601597 SHA512 adf3f1399838611829af379836ccecfccb2eda778e7ffe311107577f53ddb81c740d3db384451a4692cc0848c0bc1dd7675d2e88ff363f184a2f51b3c13b9a61
 MISC metadata.xml 931 BLAKE2B abb0ecf04eb6fc45f64c5d2d6636591c9d706fbf1902943a80f7e058443787824581219fb8457a83192e4e2b672521609449d4eef78ab677f8c093fe939034b6 SHA512 c3770f399572b16601e7eeaf4a1eb4b5eea950ad18239be8719124f60f3edd02da4c7b28b177329d70b0810ee7d8597e522dd62a1bd4c8ea1194acf0d92dfeb2

diff --git a/app-emulation/opennebula/opennebula-5.10.1.ebuild b/app-emulation/opennebula/opennebula-5.10.1.ebuild
index f182cbb..bb0139e 100644
--- a/app-emulation/opennebula/opennebula-5.10.1.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.1.ebuild
@@ -105,7 +105,7 @@ src_prepare() {
 	cp "${FILESDIR}"/${P}/parsers/* "${S}"/src/parsers/ || die "copy parsers files failed"
 
 	# set correct lib path
-	make -C src/docker_machine/src/docker_machine vendor
+	use docker && make -C src/docker_machine/src/docker_machine vendor
 	for f in $(grep -rlI "/usr/lib/one" .); do sed -i -e "s/\/usr\/lib\/one/\/usr\/$(get_libdir)\/one/g" $f; done || die "correct lib dir failed"
 
 	# grunt-sass and node-sass versions

diff --git a/app-emulation/opennebula/opennebula-5.10.3.ebuild b/app-emulation/opennebula/opennebula-5.10.3.ebuild
index 2724b7b..e3518c8 100644
--- a/app-emulation/opennebula/opennebula-5.10.3.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.3.ebuild
@@ -107,7 +107,7 @@ src_prepare() {
 	#cp "${FILESDIR}"/${P}/parsers/* "${S}"/src/parsers/ || die "copy parsers files failed"
 
 	# set correct lib path
-	make -C src/docker_machine/src/docker_machine vendor
+	use docker && make -C src/docker_machine/src/docker_machine vendor
 	for f in $(grep -rlI "/usr/lib/one" .); do sed -i -e "s/\/usr\/lib\/one/\/usr\/$(get_libdir)\/one/g" $f; done || die "correct lib dir failed"
 
 	# grunt-sass and node-sass versions

diff --git a/app-emulation/opennebula/opennebula-5.10.4.ebuild b/app-emulation/opennebula/opennebula-5.10.4.ebuild
index 2724b7b..e3518c8 100644
--- a/app-emulation/opennebula/opennebula-5.10.4.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.4.ebuild
@@ -107,7 +107,7 @@ src_prepare() {
 	#cp "${FILESDIR}"/${P}/parsers/* "${S}"/src/parsers/ || die "copy parsers files failed"
 
 	# set correct lib path
-	make -C src/docker_machine/src/docker_machine vendor
+	use docker && make -C src/docker_machine/src/docker_machine vendor
 	for f in $(grep -rlI "/usr/lib/one" .); do sed -i -e "s/\/usr\/lib\/one/\/usr\/$(get_libdir)\/one/g" $f; done || die "correct lib dir failed"
 
 	# grunt-sass and node-sass versions


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2020-05-04  4:06 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2020-05-04  4:06 UTC (permalink / raw
  To: gentoo-commits

commit:     4fe1fe0e52c65057ec01bc9848d047b41081bbff
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon May  4 04:05:47 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon May  4 04:05:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=4fe1fe0e

Correct lock path and docker-machine lib path

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 app-emulation/opennebula/Manifest                 | 6 +++---
 app-emulation/opennebula/opennebula-5.10.1.ebuild | 1 +
 app-emulation/opennebula/opennebula-5.10.3.ebuild | 1 +
 app-emulation/opennebula/opennebula-5.10.4.ebuild | 1 +
 4 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index ee03373..72e8e6a 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -62,7 +62,7 @@ AUX tmpfiles.d/opennebula.conf 77 BLAKE2B 9988562b0e36bf74fc67af5a1777eca18b24e0
 DIST opennebula-5.10.1.tar.gz 43207580 BLAKE2B de87e839cd772bec769af4a689fed02e81fbdc6fbb35def9ad6344383dc935ebd431137cb194dd3b840965004f4e145ac63443d7034d56a9a6bb19af9030642d SHA512 861293298997c825e94228ea28f0f352db3f56dd28b654be24ca2226edd422fc54cf94665f5ae5cc17dc51d3d52081c936f249b77fc4f8198de6a1ec0006edaf
 DIST opennebula-5.10.3.tar.gz 5694695 BLAKE2B 09e20f0bcea43a454692c7bc5ac7e167024bc838755a2fed31ef5e4a0dea85f97a4334ec950a0a6c3f16a6d49837262dd7791b02298f58da600f65521de59764 SHA512 a0b581a6522054241d61255aba3a1754dd16052b058f0de244a3ec35fd99972aed36fef25d087a2a76566fa0d8c875c9e95766294d80adb4c5491231447ec839
 DIST opennebula-5.10.4.tar.gz 5697792 BLAKE2B fde611cbe5b44ee403b57e915253c9ffba267230bf3a54cd466260615918e871aebeae6f17c246a84ef1686df176134acff272c49e6a9b69c8841bc8fab1f1b5 SHA512 c509ec4a56b7865d118ab79e08227f0a78d1d899361ea2ae2ea3c6ac6ad3ab4a2a38211a4f5b7abf35ef512674d13ffb19f97286fed63515289e4f9a602f3145
-EBUILD opennebula-5.10.1.ebuild 9166 BLAKE2B 792a0ebb5b6468152c5af7fce42c5f914e8d261103d1abf011a97e53967a40efc7e88eb028258d7d9efc5f7ef971e96837259c1177adb57f548200ccc67d0949 SHA512 d300d24301e4fcc0b6923bb44bdf8940ebbcda989bfda50641d6c6d0501c2edc7f41f2a16d0c4a67c230c3fb8e6e218987b93351b6f74c7ff729b18d7f59d12b
-EBUILD opennebula-5.10.3.ebuild 9252 BLAKE2B f9452ef5e0e7e6de5f646202ecae9cfe76fb8df226e4a828ba4b120ccb15f4cc87a58981e95de797c16b828d28b91269216bc701b36d30ef67cf60490b5a4b45 SHA512 1d5aca1dfbdc0cb5fb8d772f927a5fd45715c2a8ddc74a52cbaa9baf804765aca3cf8a598f437848e7a26cfbed5a88a52600bb8f048b0278c654793895c63a02
-EBUILD opennebula-5.10.4.ebuild 9252 BLAKE2B f9452ef5e0e7e6de5f646202ecae9cfe76fb8df226e4a828ba4b120ccb15f4cc87a58981e95de797c16b828d28b91269216bc701b36d30ef67cf60490b5a4b45 SHA512 1d5aca1dfbdc0cb5fb8d772f927a5fd45715c2a8ddc74a52cbaa9baf804765aca3cf8a598f437848e7a26cfbed5a88a52600bb8f048b0278c654793895c63a02
+EBUILD opennebula-5.10.1.ebuild 9220 BLAKE2B 9858068e83244a0159e124ccd76301d1410cce8f6614c4cb27febd89fcd8fa30b70c0d68df11ba30fb505fb56ee29d3ee2a647edff14b94768ff43f9bc727a3d SHA512 0dcf313964b0ae9a5e2d6c6674d13807e298f78bebba01e8cde58369407506d65251b882ab02be54c7379109dd93a31b07fa15ad8c899a8ea87e823bf8d1c0b0
+EBUILD opennebula-5.10.3.ebuild 9306 BLAKE2B b0e9475cad401e1e8776b783f3cf657a7e4d26ac8557a6569ee75629b64a7580eff48d8c232163028e200e1d695936964f14ad3d461682ea47426e85459e2f21 SHA512 254d5b6062adbd6615e6673f4750ff8cd821d4782f953922ea1f5ac89234ca89f7896983692fd8f7184b9610f7173693b9dd331c168f5cf56dfd3d4b99c915b0
+EBUILD opennebula-5.10.4.ebuild 9306 BLAKE2B b0e9475cad401e1e8776b783f3cf657a7e4d26ac8557a6569ee75629b64a7580eff48d8c232163028e200e1d695936964f14ad3d461682ea47426e85459e2f21 SHA512 254d5b6062adbd6615e6673f4750ff8cd821d4782f953922ea1f5ac89234ca89f7896983692fd8f7184b9610f7173693b9dd331c168f5cf56dfd3d4b99c915b0
 MISC metadata.xml 931 BLAKE2B abb0ecf04eb6fc45f64c5d2d6636591c9d706fbf1902943a80f7e058443787824581219fb8457a83192e4e2b672521609449d4eef78ab677f8c093fe939034b6 SHA512 c3770f399572b16601e7eeaf4a1eb4b5eea950ad18239be8719124f60f3edd02da4c7b28b177329d70b0810ee7d8597e522dd62a1bd4c8ea1194acf0d92dfeb2

diff --git a/app-emulation/opennebula/opennebula-5.10.1.ebuild b/app-emulation/opennebula/opennebula-5.10.1.ebuild
index 08d23bd..f182cbb 100644
--- a/app-emulation/opennebula/opennebula-5.10.1.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.1.ebuild
@@ -105,6 +105,7 @@ src_prepare() {
 	cp "${FILESDIR}"/${P}/parsers/* "${S}"/src/parsers/ || die "copy parsers files failed"
 
 	# set correct lib path
+	make -C src/docker_machine/src/docker_machine vendor
 	for f in $(grep -rlI "/usr/lib/one" .); do sed -i -e "s/\/usr\/lib\/one/\/usr\/$(get_libdir)\/one/g" $f; done || die "correct lib dir failed"
 
 	# grunt-sass and node-sass versions

diff --git a/app-emulation/opennebula/opennebula-5.10.3.ebuild b/app-emulation/opennebula/opennebula-5.10.3.ebuild
index 93c0037..2724b7b 100644
--- a/app-emulation/opennebula/opennebula-5.10.3.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.3.ebuild
@@ -107,6 +107,7 @@ src_prepare() {
 	#cp "${FILESDIR}"/${P}/parsers/* "${S}"/src/parsers/ || die "copy parsers files failed"
 
 	# set correct lib path
+	make -C src/docker_machine/src/docker_machine vendor
 	for f in $(grep -rlI "/usr/lib/one" .); do sed -i -e "s/\/usr\/lib\/one/\/usr\/$(get_libdir)\/one/g" $f; done || die "correct lib dir failed"
 
 	# grunt-sass and node-sass versions

diff --git a/app-emulation/opennebula/opennebula-5.10.4.ebuild b/app-emulation/opennebula/opennebula-5.10.4.ebuild
index 93c0037..2724b7b 100644
--- a/app-emulation/opennebula/opennebula-5.10.4.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.4.ebuild
@@ -107,6 +107,7 @@ src_prepare() {
 	#cp "${FILESDIR}"/${P}/parsers/* "${S}"/src/parsers/ || die "copy parsers files failed"
 
 	# set correct lib path
+	make -C src/docker_machine/src/docker_machine vendor
 	for f in $(grep -rlI "/usr/lib/one" .); do sed -i -e "s/\/usr\/lib\/one/\/usr\/$(get_libdir)\/one/g" $f; done || die "correct lib dir failed"
 
 	# grunt-sass and node-sass versions


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2020-05-04  3:20 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2020-05-04  3:20 UTC (permalink / raw
  To: gentoo-commits

commit:     0f1c2c310094ee73fbd163c4e6c2063c57a84307
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon May  4 03:19:59 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon May  4 03:19:59 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=0f1c2c31

Correct lib path into new Gentoo definition

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 app-emulation/opennebula/opennebula-5.10.1.ebuild | 9 ++++++---
 app-emulation/opennebula/opennebula-5.10.3.ebuild | 9 ++++++---
 app-emulation/opennebula/opennebula-5.10.4.ebuild | 9 ++++++---
 3 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/app-emulation/opennebula/opennebula-5.10.1.ebuild b/app-emulation/opennebula/opennebula-5.10.1.ebuild
index 4f7f8df..08d23bd 100644
--- a/app-emulation/opennebula/opennebula-5.10.1.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.1.ebuild
@@ -102,7 +102,10 @@ src_unpack() {
 
 src_prepare() {
 	# install missing source file
-	cp "${FILESDIR}"/${P}/parsers/* "${S}"/src/parsers/
+	cp "${FILESDIR}"/${P}/parsers/* "${S}"/src/parsers/ || die "copy parsers files failed"
+
+	# set correct lib path
+	for f in $(grep -rlI "/usr/lib/one" .); do sed -i -e "s/\/usr\/lib\/one/\/usr\/$(get_libdir)\/one/g" $f; done || die "correct lib dir failed"
 
 	# grunt-sass and node-sass versions
 	#sed -i -e 's|1.2.1|2.1.0|' -e 's|3.10.1|4.13.0|' src/sunstone/public/package.json || die "sed failed"
@@ -187,10 +190,10 @@ src_install() {
 	into /usr
 	dobin usr/bin/*
 
-	cp -a usr/lib/one/* "${ED}"/usr/$(get_libdir)/one/
+	cp -a usr/$(get_libdir)/one/* "${ED}"/usr/$(get_libdir)/one/
 	cp -a usr/share/one/* "${ED}"/usr/share/one/
 	cp -a var/lib/one/* "${ED}"/var/lib/one/
-	rm -rf usr/bin usr/lib/one usr/share/one var/lib/one
+	rm -rf usr/bin usr/$(get_libdir)/one usr/share/one var/lib/one
 
 	# add documentation
 	dodoc usr/share/docs/one/*

diff --git a/app-emulation/opennebula/opennebula-5.10.3.ebuild b/app-emulation/opennebula/opennebula-5.10.3.ebuild
index 9adf118..93c0037 100644
--- a/app-emulation/opennebula/opennebula-5.10.3.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.3.ebuild
@@ -104,7 +104,10 @@ src_unpack() {
 
 src_prepare() {
 	# install missing source file
-	#cp "${FILESDIR}"/${P}/parsers/* "${S}"/src/parsers/
+	#cp "${FILESDIR}"/${P}/parsers/* "${S}"/src/parsers/ || die "copy parsers files failed"
+
+	# set correct lib path
+	for f in $(grep -rlI "/usr/lib/one" .); do sed -i -e "s/\/usr\/lib\/one/\/usr\/$(get_libdir)\/one/g" $f; done || die "correct lib dir failed"
 
 	# grunt-sass and node-sass versions
 	sed -i -e 's|1.2.1|2.1.0|' -e 's|3.10.1|4.13.0|' src/sunstone/public/package.json || die "sed failed"
@@ -193,10 +196,10 @@ src_install() {
 	into /usr
 	dobin usr/bin/*
 
-	cp -a usr/lib/one/* "${ED}"/usr/$(get_libdir)/one/
+	cp -a usr/$(get_libdir)/one/* "${ED}"/usr/$(get_libdir)/one/
 	cp -a usr/share/one/* "${ED}"/usr/share/one/
 	cp -a var/lib/one/* "${ED}"/var/lib/one/
-	rm -rf usr/bin usr/lib/one usr/share/one var/lib/one
+	rm -rf usr/bin usr/$(get_libdir)/one usr/share/one var/lib/one
 
 	# add documentation
 	dodoc usr/share/docs/one/*

diff --git a/app-emulation/opennebula/opennebula-5.10.4.ebuild b/app-emulation/opennebula/opennebula-5.10.4.ebuild
index 9adf118..93c0037 100644
--- a/app-emulation/opennebula/opennebula-5.10.4.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.4.ebuild
@@ -104,7 +104,10 @@ src_unpack() {
 
 src_prepare() {
 	# install missing source file
-	#cp "${FILESDIR}"/${P}/parsers/* "${S}"/src/parsers/
+	#cp "${FILESDIR}"/${P}/parsers/* "${S}"/src/parsers/ || die "copy parsers files failed"
+
+	# set correct lib path
+	for f in $(grep -rlI "/usr/lib/one" .); do sed -i -e "s/\/usr\/lib\/one/\/usr\/$(get_libdir)\/one/g" $f; done || die "correct lib dir failed"
 
 	# grunt-sass and node-sass versions
 	sed -i -e 's|1.2.1|2.1.0|' -e 's|3.10.1|4.13.0|' src/sunstone/public/package.json || die "sed failed"
@@ -193,10 +196,10 @@ src_install() {
 	into /usr
 	dobin usr/bin/*
 
-	cp -a usr/lib/one/* "${ED}"/usr/$(get_libdir)/one/
+	cp -a usr/$(get_libdir)/one/* "${ED}"/usr/$(get_libdir)/one/
 	cp -a usr/share/one/* "${ED}"/usr/share/one/
 	cp -a var/lib/one/* "${ED}"/var/lib/one/
-	rm -rf usr/bin usr/lib/one usr/share/one var/lib/one
+	rm -rf usr/bin usr/$(get_libdir)/one usr/share/one var/lib/one
 
 	# add documentation
 	dodoc usr/share/docs/one/*


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2020-05-04  3:20 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2020-05-04  3:20 UTC (permalink / raw
  To: gentoo-commits

commit:     6ccffcc6a62e1ce78bf536f0b108fff7fac675e9
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon May  4 03:20:28 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon May  4 03:20:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=6ccffcc6

Correct lib path into new Gentoo definition

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 app-emulation/opennebula/Manifest | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index f7da1f5..ee03373 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -62,7 +62,7 @@ AUX tmpfiles.d/opennebula.conf 77 BLAKE2B 9988562b0e36bf74fc67af5a1777eca18b24e0
 DIST opennebula-5.10.1.tar.gz 43207580 BLAKE2B de87e839cd772bec769af4a689fed02e81fbdc6fbb35def9ad6344383dc935ebd431137cb194dd3b840965004f4e145ac63443d7034d56a9a6bb19af9030642d SHA512 861293298997c825e94228ea28f0f352db3f56dd28b654be24ca2226edd422fc54cf94665f5ae5cc17dc51d3d52081c936f249b77fc4f8198de6a1ec0006edaf
 DIST opennebula-5.10.3.tar.gz 5694695 BLAKE2B 09e20f0bcea43a454692c7bc5ac7e167024bc838755a2fed31ef5e4a0dea85f97a4334ec950a0a6c3f16a6d49837262dd7791b02298f58da600f65521de59764 SHA512 a0b581a6522054241d61255aba3a1754dd16052b058f0de244a3ec35fd99972aed36fef25d087a2a76566fa0d8c875c9e95766294d80adb4c5491231447ec839
 DIST opennebula-5.10.4.tar.gz 5697792 BLAKE2B fde611cbe5b44ee403b57e915253c9ffba267230bf3a54cd466260615918e871aebeae6f17c246a84ef1686df176134acff272c49e6a9b69c8841bc8fab1f1b5 SHA512 c509ec4a56b7865d118ab79e08227f0a78d1d899361ea2ae2ea3c6ac6ad3ab4a2a38211a4f5b7abf35ef512674d13ffb19f97286fed63515289e4f9a602f3145
-EBUILD opennebula-5.10.1.ebuild 8943 BLAKE2B 5daf1098935e33998eb87b090fe5b63c91c9c25726905d7176eeeed9b43deaeb9dfe497334198ea2b60a34e29d7bb01efbae29e418390e9b1f187bdf09a7156d SHA512 fa678b1857bdc9a5e935ee3e0f422e6882f9668593636dab9b5a2e2cd7187fdbdadfb543e03cb17a89736188165d2ee817813165223141d8c168219058272046
-EBUILD opennebula-5.10.3.ebuild 9029 BLAKE2B c53ea56c758c2c889f86418991a55bd19cd632516725aa91dd2dec30aaac39320e5aab00ebed0ae8dac6237faaef65cc5f959b8e62d86192c0d1743a43ef15cd SHA512 b5774f3705d3c8b713de71eca11d94278ea69b1dc4650b5d8c22f8401913b356b2caa1c4c6570224f6ee218262f6666b524e49cf14b6fc86de891bcf9fd78c8b
-EBUILD opennebula-5.10.4.ebuild 9029 BLAKE2B c53ea56c758c2c889f86418991a55bd19cd632516725aa91dd2dec30aaac39320e5aab00ebed0ae8dac6237faaef65cc5f959b8e62d86192c0d1743a43ef15cd SHA512 b5774f3705d3c8b713de71eca11d94278ea69b1dc4650b5d8c22f8401913b356b2caa1c4c6570224f6ee218262f6666b524e49cf14b6fc86de891bcf9fd78c8b
+EBUILD opennebula-5.10.1.ebuild 9166 BLAKE2B 792a0ebb5b6468152c5af7fce42c5f914e8d261103d1abf011a97e53967a40efc7e88eb028258d7d9efc5f7ef971e96837259c1177adb57f548200ccc67d0949 SHA512 d300d24301e4fcc0b6923bb44bdf8940ebbcda989bfda50641d6c6d0501c2edc7f41f2a16d0c4a67c230c3fb8e6e218987b93351b6f74c7ff729b18d7f59d12b
+EBUILD opennebula-5.10.3.ebuild 9252 BLAKE2B f9452ef5e0e7e6de5f646202ecae9cfe76fb8df226e4a828ba4b120ccb15f4cc87a58981e95de797c16b828d28b91269216bc701b36d30ef67cf60490b5a4b45 SHA512 1d5aca1dfbdc0cb5fb8d772f927a5fd45715c2a8ddc74a52cbaa9baf804765aca3cf8a598f437848e7a26cfbed5a88a52600bb8f048b0278c654793895c63a02
+EBUILD opennebula-5.10.4.ebuild 9252 BLAKE2B f9452ef5e0e7e6de5f646202ecae9cfe76fb8df226e4a828ba4b120ccb15f4cc87a58981e95de797c16b828d28b91269216bc701b36d30ef67cf60490b5a4b45 SHA512 1d5aca1dfbdc0cb5fb8d772f927a5fd45715c2a8ddc74a52cbaa9baf804765aca3cf8a598f437848e7a26cfbed5a88a52600bb8f048b0278c654793895c63a02
 MISC metadata.xml 931 BLAKE2B abb0ecf04eb6fc45f64c5d2d6636591c9d706fbf1902943a80f7e058443787824581219fb8457a83192e4e2b672521609449d4eef78ab677f8c093fe939034b6 SHA512 c3770f399572b16601e7eeaf4a1eb4b5eea950ad18239be8719124f60f3edd02da4c7b28b177329d70b0810ee7d8597e522dd62a1bd4c8ea1194acf0d92dfeb2


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2020-05-04  2:30 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2020-05-04  2:30 UTC (permalink / raw
  To: gentoo-commits

commit:     6fc2a35c05485f1b379a7d01a67becb66efd9663
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon May  4 02:29:46 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon May  4 02:29:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=6fc2a35c

Correct fowners directories

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 app-emulation/opennebula/Manifest                 | 6 +++---
 app-emulation/opennebula/opennebula-5.10.1.ebuild | 5 ++---
 app-emulation/opennebula/opennebula-5.10.3.ebuild | 5 ++---
 app-emulation/opennebula/opennebula-5.10.4.ebuild | 5 ++---
 4 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index b310749..f7da1f5 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -62,7 +62,7 @@ AUX tmpfiles.d/opennebula.conf 77 BLAKE2B 9988562b0e36bf74fc67af5a1777eca18b24e0
 DIST opennebula-5.10.1.tar.gz 43207580 BLAKE2B de87e839cd772bec769af4a689fed02e81fbdc6fbb35def9ad6344383dc935ebd431137cb194dd3b840965004f4e145ac63443d7034d56a9a6bb19af9030642d SHA512 861293298997c825e94228ea28f0f352db3f56dd28b654be24ca2226edd422fc54cf94665f5ae5cc17dc51d3d52081c936f249b77fc4f8198de6a1ec0006edaf
 DIST opennebula-5.10.3.tar.gz 5694695 BLAKE2B 09e20f0bcea43a454692c7bc5ac7e167024bc838755a2fed31ef5e4a0dea85f97a4334ec950a0a6c3f16a6d49837262dd7791b02298f58da600f65521de59764 SHA512 a0b581a6522054241d61255aba3a1754dd16052b058f0de244a3ec35fd99972aed36fef25d087a2a76566fa0d8c875c9e95766294d80adb4c5491231447ec839
 DIST opennebula-5.10.4.tar.gz 5697792 BLAKE2B fde611cbe5b44ee403b57e915253c9ffba267230bf3a54cd466260615918e871aebeae6f17c246a84ef1686df176134acff272c49e6a9b69c8841bc8fab1f1b5 SHA512 c509ec4a56b7865d118ab79e08227f0a78d1d899361ea2ae2ea3c6ac6ad3ab4a2a38211a4f5b7abf35ef512674d13ffb19f97286fed63515289e4f9a602f3145
-EBUILD opennebula-5.10.1.ebuild 8980 BLAKE2B 608d7ab643d3379ee9b92563fc56ab519ef9a4cd02b344c2860c5f5551020b25e41ee51dc80b76ca4e0f72a6bb51fd9cade29ad87c3f4c398b5400d6b1e0644f SHA512 432f46ee8606cc6e70a50026de8e9549cdbc41f40b3bff82e9304884a288371d2990003ed5412ecebe07927eb7c8b160a6959deb718d7b5498eb8fe15cbad6e0
-EBUILD opennebula-5.10.3.ebuild 9065 BLAKE2B bed8d8e2437a37c2e815ad35438b95ccb2c2e6f4a7cf2f7f752fe96c2b110078e315375e2a578902b03d066cde7cefa2a4a81673b40c289ed890e3875b227d4f SHA512 8e0e92ebb60c81c0b1c181f2889935aa88f681d07e6f6afef0f0c169aaf748b521ac69c3341e946788c9a4d5a662e44f65a23690da8960459717a758a801b8e7
-EBUILD opennebula-5.10.4.ebuild 9065 BLAKE2B bed8d8e2437a37c2e815ad35438b95ccb2c2e6f4a7cf2f7f752fe96c2b110078e315375e2a578902b03d066cde7cefa2a4a81673b40c289ed890e3875b227d4f SHA512 8e0e92ebb60c81c0b1c181f2889935aa88f681d07e6f6afef0f0c169aaf748b521ac69c3341e946788c9a4d5a662e44f65a23690da8960459717a758a801b8e7
+EBUILD opennebula-5.10.1.ebuild 8943 BLAKE2B 5daf1098935e33998eb87b090fe5b63c91c9c25726905d7176eeeed9b43deaeb9dfe497334198ea2b60a34e29d7bb01efbae29e418390e9b1f187bdf09a7156d SHA512 fa678b1857bdc9a5e935ee3e0f422e6882f9668593636dab9b5a2e2cd7187fdbdadfb543e03cb17a89736188165d2ee817813165223141d8c168219058272046
+EBUILD opennebula-5.10.3.ebuild 9029 BLAKE2B c53ea56c758c2c889f86418991a55bd19cd632516725aa91dd2dec30aaac39320e5aab00ebed0ae8dac6237faaef65cc5f959b8e62d86192c0d1743a43ef15cd SHA512 b5774f3705d3c8b713de71eca11d94278ea69b1dc4650b5d8c22f8401913b356b2caa1c4c6570224f6ee218262f6666b524e49cf14b6fc86de891bcf9fd78c8b
+EBUILD opennebula-5.10.4.ebuild 9029 BLAKE2B c53ea56c758c2c889f86418991a55bd19cd632516725aa91dd2dec30aaac39320e5aab00ebed0ae8dac6237faaef65cc5f959b8e62d86192c0d1743a43ef15cd SHA512 b5774f3705d3c8b713de71eca11d94278ea69b1dc4650b5d8c22f8401913b356b2caa1c4c6570224f6ee218262f6666b524e49cf14b6fc86de891bcf9fd78c8b
 MISC metadata.xml 931 BLAKE2B abb0ecf04eb6fc45f64c5d2d6636591c9d706fbf1902943a80f7e058443787824581219fb8457a83192e4e2b672521609449d4eef78ab677f8c093fe939034b6 SHA512 c3770f399572b16601e7eeaf4a1eb4b5eea950ad18239be8719124f60f3edd02da4c7b28b177329d70b0810ee7d8597e522dd62a1bd4c8ea1194acf0d92dfeb2

diff --git a/app-emulation/opennebula/opennebula-5.10.1.ebuild b/app-emulation/opennebula/opennebula-5.10.1.ebuild
index b35535a..4f7f8df 100644
--- a/app-emulation/opennebula/opennebula-5.10.1.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.1.ebuild
@@ -111,8 +111,7 @@ src_prepare() {
 	# To do that we need the npm environment set up
 	# https://docs.opennebula.org/5.4/integration/references/sunstone_dev.html#sunstone-dev
 	#pushd src/sunstone/public/ >/dev/null
-	#npm install
-	#bower install
+	#./build.sh -d
 	#popd >/dev/null
 
 	eapply_user
@@ -202,7 +201,7 @@ src_install() {
 	doins -r usr/share/man/man1/
 
 	# set correct owner
-	fowners -R ${ONEUSER}:${ONEGROUP} /etc/one /usr/$(get_libdir)/one /usr/share/one /var/lib/{one,opennebula} /run/lock/one /var/log/one /run/one /var/tmp/one
+	fowners -R ${ONEUSER}:${ONEGROUP} /etc/one /usr/$(get_libdir)/one /usr/share/one /var/lib/{one,opennebula} /var/log/one /var/tmp/one
 
 	# install daemon files
 	if use systemd; then

diff --git a/app-emulation/opennebula/opennebula-5.10.3.ebuild b/app-emulation/opennebula/opennebula-5.10.3.ebuild
index 32b8ed7..9adf118 100644
--- a/app-emulation/opennebula/opennebula-5.10.3.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.3.ebuild
@@ -113,8 +113,7 @@ src_prepare() {
 	# To do that we need the npm environment set up
 	# https://docs.opennebula.org/5.4/integration/references/sunstone_dev.html#sunstone-dev
 	pushd src/sunstone/public/ >/dev/null
-	npm install
-	bower install
+	./build.sh -d
 	popd >/dev/null
 
 	eapply_user
@@ -208,7 +207,7 @@ src_install() {
 	doins -r usr/share/man/man1/
 
 	# set correct owner
-	fowners -R ${ONEUSER}:${ONEGROUP} /etc/one /usr/$(get_libdir)/one /usr/share/one /var/lib/{one,opennebula} /run/lock/one /var/log/one /run/one /var/tmp/one
+	fowners -R ${ONEUSER}:${ONEGROUP} /etc/one /usr/$(get_libdir)/one /usr/share/one /var/lib/{one,opennebula} /var/log/one /var/tmp/one
 
 	# install daemon files
 	if use systemd; then

diff --git a/app-emulation/opennebula/opennebula-5.10.4.ebuild b/app-emulation/opennebula/opennebula-5.10.4.ebuild
index 32b8ed7..9adf118 100644
--- a/app-emulation/opennebula/opennebula-5.10.4.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.4.ebuild
@@ -113,8 +113,7 @@ src_prepare() {
 	# To do that we need the npm environment set up
 	# https://docs.opennebula.org/5.4/integration/references/sunstone_dev.html#sunstone-dev
 	pushd src/sunstone/public/ >/dev/null
-	npm install
-	bower install
+	./build.sh -d
 	popd >/dev/null
 
 	eapply_user
@@ -208,7 +207,7 @@ src_install() {
 	doins -r usr/share/man/man1/
 
 	# set correct owner
-	fowners -R ${ONEUSER}:${ONEGROUP} /etc/one /usr/$(get_libdir)/one /usr/share/one /var/lib/{one,opennebula} /run/lock/one /var/log/one /run/one /var/tmp/one
+	fowners -R ${ONEUSER}:${ONEGROUP} /etc/one /usr/$(get_libdir)/one /usr/share/one /var/lib/{one,opennebula} /var/log/one /var/tmp/one
 
 	# install daemon files
 	if use systemd; then


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2020-03-25 23:53 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2020-03-25 23:53 UTC (permalink / raw
  To: gentoo-commits

commit:     c81a6d4b91b98a52be404d0171299d08050fd131
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Wed Mar 25 23:52:53 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Wed Mar 25 23:52:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=c81a6d4b

Correct owner of opennebula files

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 app-emulation/opennebula/Manifest                 |  4 ++--
 app-emulation/opennebula/opennebula-5.10.1.ebuild | 11 +++++++----
 app-emulation/opennebula/opennebula-5.10.3.ebuild | 11 +++++++----
 3 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index 7fa8ae4..909d2c1 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -25,8 +25,8 @@ DIST opennebula-5.4.13.tar.gz 14579822 BLAKE2B 66c6267a6b4ef5754f1f782245ef0708a
 DIST opennebula-5.6.0.tar.gz 26357668 BLAKE2B 0bf79201bdac6dc2380507bd7981520948daaa9db7f5e42164c40aecc283b858bc7dc9a8072ebbf4b8632b1746010d2483547bcd343a98718373c774c45ddbb0 SHA512 157e96f8551c5bbc89490373e167638f3a416c0abacfecfe42dc9ef4d88659512be4f03e34a285dff37ea37eab45937a9a58eda9cdf2123161ca22a88f6defe2
 DIST opennebula-5.6.1.tar.gz 26297534 BLAKE2B 1216502af4c5e0385e111d79f522cded875f8435de45d16280395bdef2ee638a664793426ecb71152ebace178fccfe50496708fb9f1a85870402030036e06500 SHA512 4978b227fd2bf19a8e56e17bb01defdff6a07f426f361befc4b7e5f0381fd5e255c29915fbf5465fdb0eccdaca3d7ec86a8f57c7629832899dfd671210cfff46
 DIST opennebula-5.8.1.tar.gz 26987763 BLAKE2B 7664bb04e024015a7004a46bdf1975217ad020f9a95922f1c4dc18e3a182b5ddc6ff1071778f428fbd48bd24fd2f6aeb91299188bb70c1a8984b30cbda671109 SHA512 1429b5456711162858134f0daba20373c28b64261f2e9b773e0bc9109f07ac8303a7ee0eed3d9df8646214f966ab5fa2e501e77bd9d4959e45a79c503156d8b3
-EBUILD opennebula-5.10.1.ebuild 6717 BLAKE2B 38390413e50f8f39a4e415b1f9c659b956a9ccc6038ce8472b61c2a181122d42018c4d109cd3a978aea2338fc318686fa80f02aee9aa36ab791608446bb78b08 SHA512 b9a969c74153890fef0b87c9e0fab1728fb6524bac7be2f0397d8165c08b4c6378992c87de023b08bd506468a750cc9a7bb6e959f31a02623c468ae175a9e955
-EBUILD opennebula-5.10.3.ebuild 6981 BLAKE2B ded41ece60cd6084aa13fd611d9d59d3b393b8329618b700964a6f9126304672c4d3593f2cb6c7e4729d24a0051d8625ebe5c99f09736267ec49e8c27231708d SHA512 62d97c56147f229331b434b4ee129eeaa6b00967a25107d327c4fc20b422640b0b32cc7d9175589145530290daee5aac9823432ffcb32937737ab31696cd83cf
+EBUILD opennebula-5.10.1.ebuild 6793 BLAKE2B 7f94c620ccaa65cfea39a434c44afa5d30a214fc2665654ae481b887d672803152304150f38e5a756c15ba8267bae490541e40c8d8e87420c0a91d9fa7921372 SHA512 7da798f7d97a0701a91a7f7231162be57b722ab22b396027347031fa0bc1d64a4588a8d05f9976c399362f9fc9cf094b43e80c052674d8febc75033c093e9653
+EBUILD opennebula-5.10.3.ebuild 7057 BLAKE2B fe056c652f308281a31559f616e9da157b428da7e8509a9cd768dc2cd1dc7f2297b4f5be39f77a4eadf6e6d84b364eb1c27b8983785b0ae4bda68e910f852ccf SHA512 502d976f1c40184a2ae12072e50e19279f66e6c21ad75acfde4f0bbed4f07320d02c850d7664fa6761f82b790960ca8ba8c0a9e5b7f583467e73e760d475c0b0
 EBUILD opennebula-5.4.13.ebuild 5394 BLAKE2B 9298d0c8dd1deb510b5de5e74fac171da4a706f4346c0178425340d6d5c2bbcc4eed45d461ba0f5fa4db88abab73f6cad97472ef26f5d0523689444703281bfd SHA512 bbe4e1977788043a79270b1b3d1a9b5478df4781b7fbe75bc6df6f03d1427d5bcf6840bc34ccb18233c2aaf4234c9bd6648f020910baaa68582ca68f712becef
 EBUILD opennebula-5.4.15.ebuild 7414 BLAKE2B 75dcddeebbef2092d80d087a7e6186599a23c03970171bbfc31b757f54c256c5a511c8f2212f26e499db530fd7008dc5c15beb6aa71e0000bcd9a3838e0756c0 SHA512 3483dcea0b1d20dc9542cd48d4a1ea59d17a22b6a654f47bf4634b06868a37a432c1a0c3ce4615d347508f9c1114d931633b236b256def42682780452c47b4a5
 EBUILD opennebula-5.6.0.ebuild 5394 BLAKE2B 9298d0c8dd1deb510b5de5e74fac171da4a706f4346c0178425340d6d5c2bbcc4eed45d461ba0f5fa4db88abab73f6cad97472ef26f5d0523689444703281bfd SHA512 bbe4e1977788043a79270b1b3d1a9b5478df4781b7fbe75bc6df6f03d1427d5bcf6840bc34ccb18233c2aaf4234c9bd6648f020910baaa68582ca68f712becef

diff --git a/app-emulation/opennebula/opennebula-5.10.1.ebuild b/app-emulation/opennebula/opennebula-5.10.1.ebuild
index 888dfae..974fe3f 100644
--- a/app-emulation/opennebula/opennebula-5.10.1.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.1.ebuild
@@ -109,6 +109,9 @@ src_install() {
 
 	cd "${T}"
 
+	# set correct owner
+	fowners -R ${ONEUSER}:${ONEGROUP} etc/ var/ usr/
+
 	# installing things for real
 	keepdir /var/{lib,run}/${PN} || die "keepdir failed"
 
@@ -161,10 +164,10 @@ src_install() {
 
 pkg_postinst() {
 
-	chown -R oneadmin:oneadmin ${ROOT}var/{lock,lib,log,run,tmp}/one
-	chown -R oneadmin:oneadmin ${ROOT}usr/share/one
-	chown -R oneadmin:oneadmin ${ROOT}etc/one
-	chown -R oneadmin:oneadmin ${ROOT}usr/$(get_libdir)/one
+	#chown -R oneadmin:oneadmin ${ROOT}var/{lock,lib,log,run,tmp}/one
+	#chown -R oneadmin:oneadmin ${ROOT}usr/share/one
+	#chown -R oneadmin:oneadmin ${ROOT}etc/one
+	#chown -R oneadmin:oneadmin ${ROOT}usr/$(get_libdir)/one
 
 	local onedir="${EROOT}var/lib/one"
 	if [ ! -d "${onedir}/.ssh" ] ; then

diff --git a/app-emulation/opennebula/opennebula-5.10.3.ebuild b/app-emulation/opennebula/opennebula-5.10.3.ebuild
index 3b03fb8..4a5b28f 100644
--- a/app-emulation/opennebula/opennebula-5.10.3.ebuild
+++ b/app-emulation/opennebula/opennebula-5.10.3.ebuild
@@ -110,6 +110,9 @@ src_install() {
 
 	cd "${T}"
 
+	# set correct owner
+	fowners -R ${ONEUSER}:${ONEGROUP} etc/ var/ usr/
+
 	# installing things for real
 	dobin usr/bin/*
 
@@ -161,10 +164,10 @@ src_install() {
 
 pkg_postinst() {
 
-	chown -R oneadmin:oneadmin ${ROOT}var/{lock,lib,log,run,tmp}/one
-	chown -R oneadmin:oneadmin ${ROOT}usr/share/one
-	chown -R oneadmin:oneadmin ${ROOT}etc/one
-	chown -R oneadmin:oneadmin ${ROOT}usr/$(get_libdir)/one
+	#chown -R oneadmin:oneadmin ${ROOT}var/{lock,lib,log,run,tmp}/one
+	#chown -R oneadmin:oneadmin ${ROOT}usr/share/one
+	#chown -R oneadmin:oneadmin ${ROOT}etc/one
+	#chown -R oneadmin:oneadmin ${ROOT}usr/$(get_libdir)/one
 
 	local onedir="${EROOT}var/lib/one"
 	if [ ! -d "${onedir}/.ssh" ] ; then


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2019-04-11  0:36 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2019-04-11  0:36 UTC (permalink / raw
  To: gentoo-commits

commit:     bbd2c392d046d8c44fef63ea527825df37886f5c
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Thu Apr 11 00:36:34 2019 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Thu Apr 11 00:36:34 2019 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=bbd2c392

Run python2.7 with scons, since script is done for legacy python version

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 app-emulation/opennebula/Manifest                |   2 +
 app-emulation/opennebula/opennebula-5.8.1.ebuild | 187 +++++++++++++++++++++++
 2 files changed, 189 insertions(+)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index 9c675dd..a0b766f 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -25,6 +25,7 @@ DIST opennebula-5.4.13.tar.gz 14579822 BLAKE2B 66c6267a6b4ef5754f1f782245ef0708a
 DIST opennebula-5.4.6.tar.gz 14537181 BLAKE2B 7240dbd209e7aec7c7ccecb95420b1b07761dcf0f1fa5f348101193e42a7af03def090d9ec6a60d32632e4ea31a5dfd03f7ee534a0e96b9e17255d8215f06f49 SHA512 440db6e15499740622c4a25cb8e28f2b718b6d2dfcb7d181f0fab927c03bc8d0ceb241bf08e03f068d73fc795ebe831b4102bebffb37f6aa320713bea66ef3ba
 DIST opennebula-5.6.0.tar.gz 26357668 BLAKE2B 0bf79201bdac6dc2380507bd7981520948daaa9db7f5e42164c40aecc283b858bc7dc9a8072ebbf4b8632b1746010d2483547bcd343a98718373c774c45ddbb0 SHA512 157e96f8551c5bbc89490373e167638f3a416c0abacfecfe42dc9ef4d88659512be4f03e34a285dff37ea37eab45937a9a58eda9cdf2123161ca22a88f6defe2
 DIST opennebula-5.6.1.tar.gz 26297534 BLAKE2B 1216502af4c5e0385e111d79f522cded875f8435de45d16280395bdef2ee638a664793426ecb71152ebace178fccfe50496708fb9f1a85870402030036e06500 SHA512 4978b227fd2bf19a8e56e17bb01defdff6a07f426f361befc4b7e5f0381fd5e255c29915fbf5465fdb0eccdaca3d7ec86a8f57c7629832899dfd671210cfff46
+DIST opennebula-5.8.1.tar.gz 26987763 BLAKE2B 7664bb04e024015a7004a46bdf1975217ad020f9a95922f1c4dc18e3a182b5ddc6ff1071778f428fbd48bd24fd2f6aeb91299188bb70c1a8984b30cbda671109 SHA512 1429b5456711162858134f0daba20373c28b64261f2e9b773e0bc9109f07ac8303a7ee0eed3d9df8646214f966ab5fa2e501e77bd9d4959e45a79c503156d8b3
 EBUILD opennebula-4.14.2.ebuild 5992 BLAKE2B d9858fe197615ac54b61ca1637acec8bd991f7b975f95d75bb45161db6953148faa300557109213ba7f0844d9cb0c7774b5900b2c9a5afb3021edbb7412b73eb SHA512 cc18db5d7480f2067d95deb6a61df6c0a40a11ab9e4f6e2491fccdac34f349d527b6ffeedb2d2d2f04c3dba210c2a1316c635b4f69064a69bfd378ea0c4f9ebe
 EBUILD opennebula-5.4.1.ebuild 5394 BLAKE2B be801a88a64fb6c2345845bdb389a41b7f29664a8421639977058ea6e6b419fda65db70328fbf74782859e52979e52807bd77c1e3ce71a64d456e2b8e831d12b SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd
 EBUILD opennebula-5.4.13.ebuild 5394 BLAKE2B 9298d0c8dd1deb510b5de5e74fac171da4a706f4346c0178425340d6d5c2bbcc4eed45d461ba0f5fa4db88abab73f6cad97472ef26f5d0523689444703281bfd SHA512 bbe4e1977788043a79270b1b3d1a9b5478df4781b7fbe75bc6df6f03d1427d5bcf6840bc34ccb18233c2aaf4234c9bd6648f020910baaa68582ca68f712becef
@@ -32,4 +33,5 @@ EBUILD opennebula-5.4.15.ebuild 7414 BLAKE2B 75dcddeebbef2092d80d087a7e6186599a2
 EBUILD opennebula-5.4.6.ebuild 5394 BLAKE2B be801a88a64fb6c2345845bdb389a41b7f29664a8421639977058ea6e6b419fda65db70328fbf74782859e52979e52807bd77c1e3ce71a64d456e2b8e831d12b SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd
 EBUILD opennebula-5.6.0.ebuild 5394 BLAKE2B 9298d0c8dd1deb510b5de5e74fac171da4a706f4346c0178425340d6d5c2bbcc4eed45d461ba0f5fa4db88abab73f6cad97472ef26f5d0523689444703281bfd SHA512 bbe4e1977788043a79270b1b3d1a9b5478df4781b7fbe75bc6df6f03d1427d5bcf6840bc34ccb18233c2aaf4234c9bd6648f020910baaa68582ca68f712becef
 EBUILD opennebula-5.6.1.ebuild 5394 BLAKE2B 9298d0c8dd1deb510b5de5e74fac171da4a706f4346c0178425340d6d5c2bbcc4eed45d461ba0f5fa4db88abab73f6cad97472ef26f5d0523689444703281bfd SHA512 bbe4e1977788043a79270b1b3d1a9b5478df4781b7fbe75bc6df6f03d1427d5bcf6840bc34ccb18233c2aaf4234c9bd6648f020910baaa68582ca68f712becef
+EBUILD opennebula-5.8.1.ebuild 5419 BLAKE2B 4c38582d41d7bc352966bbeb3dbe42eb83aeac3c6589ecb4f68a87ea08f9855aea062b6e14012bbd17f6b18ad67e31f3d5da86bf23d0cbb44280d34496045da0 SHA512 a3506dc7d4f6d37136ef55da86d340fe477749a10c1a07b4b2c86692b5f06646f72cfbbdb4d57a55f841c0a0ecf7eef125fc22ed16ccfaae84c4adbe9b0b6b6b
 MISC metadata.xml 471 BLAKE2B fecada7f873a86295bd66aa16126682170731bb4cd87dc2cfc7f46503d1d10880cc92f87c388dc6b2d3e8a4d4cba73c4b88a97ce8d23c2254b0d91cb3f820779 SHA512 0be6058785693cef097e2b3ffcffbc7b0011719afcaaf4d10116f490dc23291bdbb9e91f42977c82ef002967a4cbd56f1bebe1f1e61a053a659250a54d7d67d1

diff --git a/app-emulation/opennebula/opennebula-5.8.1.ebuild b/app-emulation/opennebula/opennebula-5.8.1.ebuild
new file mode 100644
index 0000000..2fedfad
--- /dev/null
+++ b/app-emulation/opennebula/opennebula-5.8.1.ebuild
@@ -0,0 +1,187 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+USE_RUBY="ruby24 ruby25 ruby26"
+
+inherit user eutils multilib ruby-ng systemd
+
+MY_P="opennebula-${PV/_/-}"
+
+DESCRIPTION="OpenNebula Virtual Infrastructure Engine"
+HOMEPAGE="http://www.opennebula.org/"
+SRC_URI="http://downloads.opennebula.org/packages/${PN}-${PV}/${PN}-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="qemu +mysql xen sqlite +extras systemd"
+
+RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
+	dev-lang/ruby
+	extras? ( dev-libs/openssl
+		dev-ruby/libxml
+		net-misc/curl
+		dev-libs/libxslt
+		dev-libs/expat
+		dev-ruby/uuidtools
+		dev-ruby/amazon-ec2
+		dev-ruby/webmock
+		dev-ruby/mysql
+		dev-ruby/mysql2
+		dev-ruby/parse-cron
+		dev-ruby/sequel
+		dev-ruby/treetop
+		dev-ruby/xml-simple
+		dev-ruby/zendesk_api
+		dev-libs/log4cpp )
+	mysql? ( virtual/mysql )
+	dev-db/sqlite
+	net-misc/openssh
+	|| ( app-cdr/cdrkit app-cdr/cdrtools )
+	sqlite? ( dev-ruby/sqlite3 )
+	qemu? ( app-emulation/libvirt[libvirtd,qemu] )
+	xen? ( app-emulation/xen-tools )"
+DEPEND="${RDEPEND}
+	>=dev-util/scons-1.2.0-r1
+	dev-ruby/nokogiri"
+
+# make sure no eclass is running tests
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${PV}"
+
+ONEUSER="oneadmin"
+ONEGROUP="oneadmin"
+
+pkg_setup () {
+	enewgroup ${ONEGROUP}
+	enewuser ${ONEUSER} -1 /bin/bash /var/lib/one ${ONEGROUP}
+}
+
+src_unpack() {
+	default
+}
+
+src_prepare() {
+	sed -i -e 's|chmod|true|' install.sh || die "sed failed"
+	eapply_user
+}
+
+src_configure() {
+	:
+}
+
+src_compile() {
+
+	local myconf
+	use extras && myconf+="new_xmlrpc=yes "
+	use mysql && myconf+="mysql=yes " || myconf+="mysql=no "
+	python2.7 $(which scons) \
+		${myconf} \
+		$(sed -r 's/.*(-j\s*|--jobs=)([0-9]+).*/-j\2/' <<< ${MAKEOPTS}) \
+		|| die "building ${PN} failed"
+}
+
+src_install() {
+	DESTDIR=${T} ./install.sh -u ${ONEUSER} -g ${ONEGROUP} || die "install failed"
+
+	cd "${T}"
+
+	# installing things for real
+	dobin bin/*
+
+	keepdir /var/{lib,run}/${PN} || die "keepdir failed"
+
+	dodir /usr/$(get_libdir)/one
+	dodir /var/lock/one
+	dodir /var/log/one
+	dodir /var/lib/one
+	dodir /var/run/one
+	dodir /var/tmp/one
+	# we have to preserve the executable bits
+	cp -a lib/* "${D}/usr/$(get_libdir)/one/" || die "copying lib files failed"
+
+	insinto /usr/share/doc/${PF}
+	doins -r share/examples
+
+	dodir /var/lib/one
+	dodir /var/lib/one/vms
+	dodir /usr/share/one
+	dodir /etc/tmpfiles.d
+	# we have to preserve the executable bits
+	cp -a var/remotes "${D}/var/lib/one/" || die "copying remotes failed"
+	cp -a share/* "${D}/usr/share/one/" || die "copying share failed"
+
+	doenvd "${FILESDIR}/99one"
+
+	newinitd "${FILESDIR}/opennebula.initd" opennebula
+	newinitd "${FILESDIR}/sunstone-server.initd" sunstone-server
+	newinitd "${FILESDIR}/oneflow-server.initd" oneflow-server
+	newconfd "${FILESDIR}/opennebula.confd" opennebula
+	newconfd "${FILESDIR}/sunstone-server.confd" sunstone-server
+	newconfd "${FILESDIR}/oneflow-server.confd" oneflow-server
+
+	use systemd && systemd_dounit "${FILESDIR}"/opennebula{,-sunstone,-econe,-oneflow,-onegate}.service
+
+	insinto /etc/one
+	insopts -m 0640
+	doins -r etc/*
+	doins "${FILESDIR}/one_auth"
+
+	insinto /etc/tmpfiles.d
+	doins "${FILESDIR}/tmpfilesd.opennebula.conf"
+
+}
+
+pkg_postinst() {
+
+
+	chown -R oneadmin:oneadmin ${ROOT}var/{lock,lib,log,run,tmp}/one
+	chown -R oneadmin:oneadmin ${ROOT}usr/share/one
+	chown -R oneadmin:oneadmin ${ROOT}etc/one
+	chown -R oneadmin:oneadmin ${ROOT}usr/lib/one
+
+	local onedir="${EROOT}var/lib/one"
+	if [ ! -d "${onedir}/.ssh" ] ; then
+		einfo "Generating ssh-key..."
+		umask 0027 || die "setting umask failed"
+		mkdir "${onedir}/.ssh" || die "creating ssh directory failed"
+		ssh-keygen -q -t dsa -N "" -f "${onedir}/.ssh/id_dsa" || die "ssh-keygen failed"
+		cat > "${onedir}/.ssh/config" <<EOF
+UserKnownHostsFile /dev/null
+Host *
+    StrictHostKeyChecking no
+EOF
+		cat "${onedir}/.ssh/id_dsa.pub"  >> "${onedir}/.ssh/authorized_keys" || die "adding key failed"
+		chown -R ${ONEUSER}:${ONEGROUP} "${onedir}/.ssh" || die "changing owner failed"
+	fi
+
+	if use qemu ; then
+		elog "Make sure that the user ${ONEUSER} has access to the libvirt control socket"
+		elog "  /var/run/libvirt/libvirt-sock"
+		elog "You can easily check this by executing the following command as ${ONEUSER} user"
+		elog "  virsh -c qemu:///system nodeinfo"
+		elog "If not using using policykit in libvirt, the file you should take a look at is:"
+		elog "  /etc/libvirt/libvirtd.conf (look for the unix_sock_*_perms parameters)"
+		elog "Failure to do so may lead to nodes hanging in PENDING state forever without further notice."
+		echo ""
+		elog "Should a node hang in PENDING state even with correct permissions, try the following to get more information."
+		elog "In /tmp/one-im execute the following command for the biggest one_im-* file:"
+		elog "  ruby -wd one_im-???"
+		echo ""
+		elog "OpenNebula doesn't allow you to specify the disc format."
+		elog "Unfortunately the default in libvirt is not to guess and"
+		elog "it therefores assumes a 'raw' format when using qemu/kvm."
+		elog "Set 'allow_disk_format_probing = 0' in /etc/libvirt/qemu.conf"
+		elog "to work around this until OpenNebula fixes it."
+	fi
+
+	elog "If you wish to use the sunstone server, please issue the command"
+	#elog "/usr/share/one/install_gems as oneadmin user"
+	elog "gem install sequel thin json rack sinatra builder treetop zendesk_api mysql parse-cron"
+
+
+}
+


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2018-07-28 17:41 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2018-07-28 17:41 UTC (permalink / raw
  To: gentoo-commits

commit:     4686f914ab77db004928ee43a880b519921ff8a8
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sat Jul 28 17:41:04 2018 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sat Jul 28 17:41:04 2018 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=4686f914

update opennebula

 app-emulation/opennebula/Manifest                |   2 +
 app-emulation/opennebula/opennebula-5.6.0.ebuild | 186 +++++++++++++++++++++++
 2 files changed, 188 insertions(+)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index 2b6d243..5ac0c80 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -23,9 +23,11 @@ DIST opennebula-4.14.2.tar.gz 9283555 BLAKE2B 4e9dfdfc3f4ea6270003540bb97ecbaee7
 DIST opennebula-5.4.1.tar.gz 14652947 BLAKE2B 299cc960debea0032e597b027ae73ff96c1d1262825e5797fabb98cbec3e2b15413ac97c38ec16c71cc0a0a6ea64447dac20cab7fcc73c4f2e6aa09f3855d801 SHA512 e6660c44c7fcb1d32077b483814ccaad03bca0f6264671548b6ef9cc60f544b134ea3d9ade13a959340bb1f8c94cf08c8246ea929073cf89d6ee35f8b2e19904
 DIST opennebula-5.4.13.tar.gz 14579822 BLAKE2B 66c6267a6b4ef5754f1f782245ef0708ab2ac1efd2a28f212ea44c5c5e4d5745b6dca64e42e5a5d675fc55abca5fbf9e5dcf8fc4101a5d6e091ad315c2f44322 SHA512 4e92e1c94d621fec99fd65d63f0ec64dba972e615726a589be6487a0d6782dbf4fd0d368525555deccefcc4c9af28309efc175102e2ac9ea3306edc4e9ed5611
 DIST opennebula-5.4.6.tar.gz 14537181 BLAKE2B 7240dbd209e7aec7c7ccecb95420b1b07761dcf0f1fa5f348101193e42a7af03def090d9ec6a60d32632e4ea31a5dfd03f7ee534a0e96b9e17255d8215f06f49 SHA512 440db6e15499740622c4a25cb8e28f2b718b6d2dfcb7d181f0fab927c03bc8d0ceb241bf08e03f068d73fc795ebe831b4102bebffb37f6aa320713bea66ef3ba
+DIST opennebula-5.6.0.tar.gz 26357668 BLAKE2B 0bf79201bdac6dc2380507bd7981520948daaa9db7f5e42164c40aecc283b858bc7dc9a8072ebbf4b8632b1746010d2483547bcd343a98718373c774c45ddbb0 SHA512 157e96f8551c5bbc89490373e167638f3a416c0abacfecfe42dc9ef4d88659512be4f03e34a285dff37ea37eab45937a9a58eda9cdf2123161ca22a88f6defe2
 EBUILD opennebula-4.14.2.ebuild 5992 BLAKE2B d9858fe197615ac54b61ca1637acec8bd991f7b975f95d75bb45161db6953148faa300557109213ba7f0844d9cb0c7774b5900b2c9a5afb3021edbb7412b73eb SHA512 cc18db5d7480f2067d95deb6a61df6c0a40a11ab9e4f6e2491fccdac34f349d527b6ffeedb2d2d2f04c3dba210c2a1316c635b4f69064a69bfd378ea0c4f9ebe
 EBUILD opennebula-5.4.1.ebuild 5394 BLAKE2B be801a88a64fb6c2345845bdb389a41b7f29664a8421639977058ea6e6b419fda65db70328fbf74782859e52979e52807bd77c1e3ce71a64d456e2b8e831d12b SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd
 EBUILD opennebula-5.4.13.ebuild 5394 BLAKE2B 9298d0c8dd1deb510b5de5e74fac171da4a706f4346c0178425340d6d5c2bbcc4eed45d461ba0f5fa4db88abab73f6cad97472ef26f5d0523689444703281bfd SHA512 bbe4e1977788043a79270b1b3d1a9b5478df4781b7fbe75bc6df6f03d1427d5bcf6840bc34ccb18233c2aaf4234c9bd6648f020910baaa68582ca68f712becef
 EBUILD opennebula-5.4.15.ebuild 7414 BLAKE2B 75dcddeebbef2092d80d087a7e6186599a23c03970171bbfc31b757f54c256c5a511c8f2212f26e499db530fd7008dc5c15beb6aa71e0000bcd9a3838e0756c0 SHA512 3483dcea0b1d20dc9542cd48d4a1ea59d17a22b6a654f47bf4634b06868a37a432c1a0c3ce4615d347508f9c1114d931633b236b256def42682780452c47b4a5
 EBUILD opennebula-5.4.6.ebuild 5394 BLAKE2B be801a88a64fb6c2345845bdb389a41b7f29664a8421639977058ea6e6b419fda65db70328fbf74782859e52979e52807bd77c1e3ce71a64d456e2b8e831d12b SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd
+EBUILD opennebula-5.6.0.ebuild 5394 BLAKE2B 9298d0c8dd1deb510b5de5e74fac171da4a706f4346c0178425340d6d5c2bbcc4eed45d461ba0f5fa4db88abab73f6cad97472ef26f5d0523689444703281bfd SHA512 bbe4e1977788043a79270b1b3d1a9b5478df4781b7fbe75bc6df6f03d1427d5bcf6840bc34ccb18233c2aaf4234c9bd6648f020910baaa68582ca68f712becef
 MISC metadata.xml 471 BLAKE2B fecada7f873a86295bd66aa16126682170731bb4cd87dc2cfc7f46503d1d10880cc92f87c388dc6b2d3e8a4d4cba73c4b88a97ce8d23c2254b0d91cb3f820779 SHA512 0be6058785693cef097e2b3ffcffbc7b0011719afcaaf4d10116f490dc23291bdbb9e91f42977c82ef002967a4cbd56f1bebe1f1e61a053a659250a54d7d67d1

diff --git a/app-emulation/opennebula/opennebula-5.6.0.ebuild b/app-emulation/opennebula/opennebula-5.6.0.ebuild
new file mode 100644
index 0000000..d3aef85
--- /dev/null
+++ b/app-emulation/opennebula/opennebula-5.6.0.ebuild
@@ -0,0 +1,186 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
+
+inherit user eutils multilib ruby-ng systemd
+
+MY_P="opennebula-${PV/_/-}"
+
+DESCRIPTION="OpenNebula Virtual Infrastructure Engine"
+HOMEPAGE="http://www.opennebula.org/"
+SRC_URI="http://downloads.opennebula.org/packages/${PN}-${PV}/${PN}-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="qemu +mysql xen sqlite +extras systemd"
+
+RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
+	dev-lang/ruby
+	extras? ( dev-libs/openssl
+		dev-ruby/libxml
+		net-misc/curl
+		dev-libs/libxslt
+		dev-libs/expat
+		dev-ruby/uuidtools
+		dev-ruby/amazon-ec2
+		dev-ruby/webmock
+		dev-ruby/mysql
+		dev-ruby/mysql2
+		dev-ruby/parse-cron
+		dev-ruby/sequel
+		dev-ruby/treetop
+		dev-ruby/xml-simple
+		dev-ruby/zendesk_api
+		dev-libs/log4cpp )
+	mysql? ( virtual/mysql )
+	dev-db/sqlite
+	net-misc/openssh
+	|| ( app-cdr/cdrkit app-cdr/cdrtools )
+	sqlite? ( dev-ruby/sqlite3 )
+	qemu? ( app-emulation/libvirt[libvirtd,qemu] )
+	xen? ( app-emulation/xen-tools )"
+DEPEND="${RDEPEND}
+	>=dev-util/scons-1.2.0-r1
+	dev-ruby/nokogiri"
+
+# make sure no eclass is running tests
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${PV}"
+
+ONEUSER="oneadmin"
+ONEGROUP="oneadmin"
+
+pkg_setup () {
+	enewgroup ${ONEGROUP}
+	enewuser ${ONEUSER} -1 /bin/bash /var/lib/one ${ONEGROUP}
+}
+
+src_unpack() {
+	default
+}
+
+src_prepare() {
+	sed -i -e 's|chmod|true|' install.sh || die "sed failed"
+}
+
+src_configure() {
+	:
+}
+
+src_compile() {
+
+	local myconf
+	use extras && myconf+="new_xmlrpc=yes "
+	use mysql && myconf+="mysql=yes " || myconf+="mysql=no "
+	scons \
+		${myconf} \
+		$(sed -r 's/.*(-j\s*|--jobs=)([0-9]+).*/-j\2/' <<< ${MAKEOPTS}) \
+		|| die "building ${PN} failed"
+}
+
+src_install() {
+	DESTDIR=${T} ./install.sh -u ${ONEUSER} -g ${ONEGROUP} || die "install failed"
+
+	cd "${T}"
+
+	# installing things for real
+	dobin bin/*
+
+	keepdir /var/{lib,run}/${PN} || die "keepdir failed"
+
+	dodir /usr/$(get_libdir)/one
+	dodir /var/lock/one
+	dodir /var/log/one
+	dodir /var/lib/one
+	dodir /var/run/one
+	dodir /var/tmp/one
+	# we have to preserve the executable bits
+	cp -a lib/* "${D}/usr/$(get_libdir)/one/" || die "copying lib files failed"
+
+	insinto /usr/share/doc/${PF}
+	doins -r share/examples
+
+	dodir /var/lib/one
+	dodir /var/lib/one/vms
+	dodir /usr/share/one
+	dodir /etc/tmpfiles.d
+	# we have to preserve the executable bits
+	cp -a var/remotes "${D}/var/lib/one/" || die "copying remotes failed"
+	cp -a share/* "${D}/usr/share/one/" || die "copying share failed"
+
+	doenvd "${FILESDIR}/99one"
+
+	newinitd "${FILESDIR}/opennebula.initd" opennebula
+	newinitd "${FILESDIR}/sunstone-server.initd" sunstone-server
+	newinitd "${FILESDIR}/oneflow-server.initd" oneflow-server
+	newconfd "${FILESDIR}/opennebula.confd" opennebula
+	newconfd "${FILESDIR}/sunstone-server.confd" sunstone-server
+	newconfd "${FILESDIR}/oneflow-server.confd" oneflow-server
+
+	use systemd && systemd_dounit "${FILESDIR}"/opennebula{,-sunstone,-econe,-oneflow,-onegate}.service
+
+	insinto /etc/one
+	insopts -m 0640
+	doins -r etc/*
+	doins "${FILESDIR}/one_auth"
+
+	insinto /etc/tmpfiles.d
+	doins "${FILESDIR}/tmpfilesd.opennebula.conf"
+
+}
+
+pkg_postinst() {
+
+
+	chown -R oneadmin:oneadmin ${ROOT}var/{lock,lib,log,run,tmp}/one
+	chown -R oneadmin:oneadmin ${ROOT}usr/share/one
+	chown -R oneadmin:oneadmin ${ROOT}etc/one
+	chown -R oneadmin:oneadmin ${ROOT}usr/lib/one
+
+	local onedir="${EROOT}var/lib/one"
+	if [ ! -d "${onedir}/.ssh" ] ; then
+		einfo "Generating ssh-key..."
+		umask 0027 || die "setting umask failed"
+		mkdir "${onedir}/.ssh" || die "creating ssh directory failed"
+		ssh-keygen -q -t dsa -N "" -f "${onedir}/.ssh/id_dsa" || die "ssh-keygen failed"
+		cat > "${onedir}/.ssh/config" <<EOF
+UserKnownHostsFile /dev/null
+Host *
+    StrictHostKeyChecking no
+EOF
+		cat "${onedir}/.ssh/id_dsa.pub"  >> "${onedir}/.ssh/authorized_keys" || die "adding key failed"
+		chown -R ${ONEUSER}:${ONEGROUP} "${onedir}/.ssh" || die "changing owner failed"
+	fi
+
+	if use qemu ; then
+		elog "Make sure that the user ${ONEUSER} has access to the libvirt control socket"
+		elog "  /var/run/libvirt/libvirt-sock"
+		elog "You can easily check this by executing the following command as ${ONEUSER} user"
+		elog "  virsh -c qemu:///system nodeinfo"
+		elog "If not using using policykit in libvirt, the file you should take a look at is:"
+		elog "  /etc/libvirt/libvirtd.conf (look for the unix_sock_*_perms parameters)"
+		elog "Failure to do so may lead to nodes hanging in PENDING state forever without further notice."
+		echo ""
+		elog "Should a node hang in PENDING state even with correct permissions, try the following to get more information."
+		elog "In /tmp/one-im execute the following command for the biggest one_im-* file:"
+		elog "  ruby -wd one_im-???"
+		echo ""
+		elog "OpenNebula doesn't allow you to specify the disc format."
+		elog "Unfortunately the default in libvirt is not to guess and"
+		elog "it therefores assumes a 'raw' format when using qemu/kvm."
+		elog "Set 'allow_disk_format_probing = 0' in /etc/libvirt/qemu.conf"
+		elog "to work around this until OpenNebula fixes it."
+	fi
+
+	elog "If you wish to use the sunstone server, please issue the command"
+	#elog "/usr/share/one/install_gems as oneadmin user"
+	elog "gem install sequel thin json rack sinatra builder treetop zendesk_api mysql parse-cron"
+
+
+}
+


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2018-06-24 22:53 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2018-06-24 22:53 UTC (permalink / raw
  To: gentoo-commits

commit:     e50892c04e1861541c4a3000a1f60413098cbdf8
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Jun 24 22:53:05 2018 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun Jun 24 22:53:05 2018 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=e50892c0

update opennebula supported ruby versions

 app-emulation/opennebula/Manifest                 | 2 +-
 app-emulation/opennebula/opennebula-5.4.13.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index 7031c85..2b6d243 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -25,7 +25,7 @@ DIST opennebula-5.4.13.tar.gz 14579822 BLAKE2B 66c6267a6b4ef5754f1f782245ef0708a
 DIST opennebula-5.4.6.tar.gz 14537181 BLAKE2B 7240dbd209e7aec7c7ccecb95420b1b07761dcf0f1fa5f348101193e42a7af03def090d9ec6a60d32632e4ea31a5dfd03f7ee534a0e96b9e17255d8215f06f49 SHA512 440db6e15499740622c4a25cb8e28f2b718b6d2dfcb7d181f0fab927c03bc8d0ceb241bf08e03f068d73fc795ebe831b4102bebffb37f6aa320713bea66ef3ba
 EBUILD opennebula-4.14.2.ebuild 5992 BLAKE2B d9858fe197615ac54b61ca1637acec8bd991f7b975f95d75bb45161db6953148faa300557109213ba7f0844d9cb0c7774b5900b2c9a5afb3021edbb7412b73eb SHA512 cc18db5d7480f2067d95deb6a61df6c0a40a11ab9e4f6e2491fccdac34f349d527b6ffeedb2d2d2f04c3dba210c2a1316c635b4f69064a69bfd378ea0c4f9ebe
 EBUILD opennebula-5.4.1.ebuild 5394 BLAKE2B be801a88a64fb6c2345845bdb389a41b7f29664a8421639977058ea6e6b419fda65db70328fbf74782859e52979e52807bd77c1e3ce71a64d456e2b8e831d12b SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd
-EBUILD opennebula-5.4.13.ebuild 5394 BLAKE2B be801a88a64fb6c2345845bdb389a41b7f29664a8421639977058ea6e6b419fda65db70328fbf74782859e52979e52807bd77c1e3ce71a64d456e2b8e831d12b SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd
+EBUILD opennebula-5.4.13.ebuild 5394 BLAKE2B 9298d0c8dd1deb510b5de5e74fac171da4a706f4346c0178425340d6d5c2bbcc4eed45d461ba0f5fa4db88abab73f6cad97472ef26f5d0523689444703281bfd SHA512 bbe4e1977788043a79270b1b3d1a9b5478df4781b7fbe75bc6df6f03d1427d5bcf6840bc34ccb18233c2aaf4234c9bd6648f020910baaa68582ca68f712becef
 EBUILD opennebula-5.4.15.ebuild 7414 BLAKE2B 75dcddeebbef2092d80d087a7e6186599a23c03970171bbfc31b757f54c256c5a511c8f2212f26e499db530fd7008dc5c15beb6aa71e0000bcd9a3838e0756c0 SHA512 3483dcea0b1d20dc9542cd48d4a1ea59d17a22b6a654f47bf4634b06868a37a432c1a0c3ce4615d347508f9c1114d931633b236b256def42682780452c47b4a5
 EBUILD opennebula-5.4.6.ebuild 5394 BLAKE2B be801a88a64fb6c2345845bdb389a41b7f29664a8421639977058ea6e6b419fda65db70328fbf74782859e52979e52807bd77c1e3ce71a64d456e2b8e831d12b SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd
 MISC metadata.xml 471 BLAKE2B fecada7f873a86295bd66aa16126682170731bb4cd87dc2cfc7f46503d1d10880cc92f87c388dc6b2d3e8a4d4cba73c4b88a97ce8d23c2254b0d91cb3f820779 SHA512 0be6058785693cef097e2b3ffcffbc7b0011719afcaaf4d10116f490dc23291bdbb9e91f42977c82ef002967a4cbd56f1bebe1f1e61a053a659250a54d7d67d1

diff --git a/app-emulation/opennebula/opennebula-5.4.13.ebuild b/app-emulation/opennebula/opennebula-5.4.13.ebuild
index 9d48554..d3aef85 100644
--- a/app-emulation/opennebula/opennebula-5.4.13.ebuild
+++ b/app-emulation/opennebula/opennebula-5.4.13.ebuild
@@ -3,7 +3,7 @@
 # $Header: $
 
 EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
 
 inherit user eutils multilib ruby-ng systemd
 


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2018-06-24 22:30 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2018-06-24 22:30 UTC (permalink / raw
  To: gentoo-commits

commit:     1da93e9a931e4b2742731ae9a9f220973dc29bea
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Jun 24 22:30:21 2018 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun Jun 24 22:30:21 2018 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=1da93e9a

update opennebula manifest for changes from last commit

 app-emulation/opennebula/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index f36e6ba..7031c85 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -26,6 +26,6 @@ DIST opennebula-5.4.6.tar.gz 14537181 BLAKE2B 7240dbd209e7aec7c7ccecb95420b1b077
 EBUILD opennebula-4.14.2.ebuild 5992 BLAKE2B d9858fe197615ac54b61ca1637acec8bd991f7b975f95d75bb45161db6953148faa300557109213ba7f0844d9cb0c7774b5900b2c9a5afb3021edbb7412b73eb SHA512 cc18db5d7480f2067d95deb6a61df6c0a40a11ab9e4f6e2491fccdac34f349d527b6ffeedb2d2d2f04c3dba210c2a1316c635b4f69064a69bfd378ea0c4f9ebe
 EBUILD opennebula-5.4.1.ebuild 5394 BLAKE2B be801a88a64fb6c2345845bdb389a41b7f29664a8421639977058ea6e6b419fda65db70328fbf74782859e52979e52807bd77c1e3ce71a64d456e2b8e831d12b SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd
 EBUILD opennebula-5.4.13.ebuild 5394 BLAKE2B be801a88a64fb6c2345845bdb389a41b7f29664a8421639977058ea6e6b419fda65db70328fbf74782859e52979e52807bd77c1e3ce71a64d456e2b8e831d12b SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd
-EBUILD opennebula-5.4.15.ebuild 7431 BLAKE2B c29d8e6851749c76100f9025e604e67cef29599a18aeb98dbf6ac917a5ac58c6ba63da094cc12ca7cf5bdf7878ddaefce07753eb21a435196e1ac187e65af987 SHA512 c1a5ac3980a115c97b5873d4ddafb34c0b10c18251655b4d1809f77b19ca4c392baf0fe96d37b490bd512b1911197d139b224bb86f360e2d1e3b74318ccf07d1
+EBUILD opennebula-5.4.15.ebuild 7414 BLAKE2B 75dcddeebbef2092d80d087a7e6186599a23c03970171bbfc31b757f54c256c5a511c8f2212f26e499db530fd7008dc5c15beb6aa71e0000bcd9a3838e0756c0 SHA512 3483dcea0b1d20dc9542cd48d4a1ea59d17a22b6a654f47bf4634b06868a37a432c1a0c3ce4615d347508f9c1114d931633b236b256def42682780452c47b4a5
 EBUILD opennebula-5.4.6.ebuild 5394 BLAKE2B be801a88a64fb6c2345845bdb389a41b7f29664a8421639977058ea6e6b419fda65db70328fbf74782859e52979e52807bd77c1e3ce71a64d456e2b8e831d12b SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd
 MISC metadata.xml 471 BLAKE2B fecada7f873a86295bd66aa16126682170731bb4cd87dc2cfc7f46503d1d10880cc92f87c388dc6b2d3e8a4d4cba73c4b88a97ce8d23c2254b0d91cb3f820779 SHA512 0be6058785693cef097e2b3ffcffbc7b0011719afcaaf4d10116f490dc23291bdbb9e91f42977c82ef002967a4cbd56f1bebe1f1e61a053a659250a54d7d67d1


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2018-06-24 11:50 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2018-06-24 11:50 UTC (permalink / raw
  To: gentoo-commits

commit:     bb4d5e0c129d824fe4aacee6bda149400285fb6a
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Jun 24 11:50:21 2018 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun Jun 24 11:50:21 2018 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=bb4d5e0c

update opennebula-5.4.15 with additional compile configurations

 app-emulation/opennebula/Manifest                 | 2 +-
 app-emulation/opennebula/opennebula-5.4.15.ebuild | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index 43fea72..f36e6ba 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -26,6 +26,6 @@ DIST opennebula-5.4.6.tar.gz 14537181 BLAKE2B 7240dbd209e7aec7c7ccecb95420b1b077
 EBUILD opennebula-4.14.2.ebuild 5992 BLAKE2B d9858fe197615ac54b61ca1637acec8bd991f7b975f95d75bb45161db6953148faa300557109213ba7f0844d9cb0c7774b5900b2c9a5afb3021edbb7412b73eb SHA512 cc18db5d7480f2067d95deb6a61df6c0a40a11ab9e4f6e2491fccdac34f349d527b6ffeedb2d2d2f04c3dba210c2a1316c635b4f69064a69bfd378ea0c4f9ebe
 EBUILD opennebula-5.4.1.ebuild 5394 BLAKE2B be801a88a64fb6c2345845bdb389a41b7f29664a8421639977058ea6e6b419fda65db70328fbf74782859e52979e52807bd77c1e3ce71a64d456e2b8e831d12b SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd
 EBUILD opennebula-5.4.13.ebuild 5394 BLAKE2B be801a88a64fb6c2345845bdb389a41b7f29664a8421639977058ea6e6b419fda65db70328fbf74782859e52979e52807bd77c1e3ce71a64d456e2b8e831d12b SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd
-EBUILD opennebula-5.4.15.ebuild 7290 BLAKE2B 578696a7fe565adc8dbb907241def8accc1b0ff0cf62a6db3a1fca8e75c901b87b8332ba4c9e8f4ac5e2ecee3a05ae5121bd51e3c8b4432720abc5352a78c0d9 SHA512 9c76be63786056ebf0c68535ea95ecb42fbdfe66e5e0aa895a5e3c293ab492b380642feb0dfa7b46b26c0c6384b0eb6964a4c6e6a07b2553a66d5c7cce09ea31
+EBUILD opennebula-5.4.15.ebuild 7431 BLAKE2B c29d8e6851749c76100f9025e604e67cef29599a18aeb98dbf6ac917a5ac58c6ba63da094cc12ca7cf5bdf7878ddaefce07753eb21a435196e1ac187e65af987 SHA512 c1a5ac3980a115c97b5873d4ddafb34c0b10c18251655b4d1809f77b19ca4c392baf0fe96d37b490bd512b1911197d139b224bb86f360e2d1e3b74318ccf07d1
 EBUILD opennebula-5.4.6.ebuild 5394 BLAKE2B be801a88a64fb6c2345845bdb389a41b7f29664a8421639977058ea6e6b419fda65db70328fbf74782859e52979e52807bd77c1e3ce71a64d456e2b8e831d12b SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd
 MISC metadata.xml 471 BLAKE2B fecada7f873a86295bd66aa16126682170731bb4cd87dc2cfc7f46503d1d10880cc92f87c388dc6b2d3e8a4d4cba73c4b88a97ce8d23c2254b0d91cb3f820779 SHA512 0be6058785693cef097e2b3ffcffbc7b0011719afcaaf4d10116f490dc23291bdbb9e91f42977c82ef002967a4cbd56f1bebe1f1e61a053a659250a54d7d67d1

diff --git a/app-emulation/opennebula/opennebula-5.4.15.ebuild b/app-emulation/opennebula/opennebula-5.4.15.ebuild
index a889fd5..9ed761b 100644
--- a/app-emulation/opennebula/opennebula-5.4.15.ebuild
+++ b/app-emulation/opennebula/opennebula-5.4.15.ebuild
@@ -104,6 +104,13 @@ src_compile() {
 	# http://lists.ceph.com/pipermail/users-opennebula.org/2011-June/033132.html
 	#filter-ldflags -lpthread
 
+	# install necessary npm project dependencies
+	if use sunstone; then
+		cd ${S}/src/sunstone/public/
+		/usr/bin/npm install -f
+		cd ${S}
+	fi
+
 	local myconf
 	# This builds the vanilla OpenNebula package. Tweak this line as desired.
 	myconf+="parsers=yes "


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2018-06-23 18:40 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2018-06-23 18:40 UTC (permalink / raw
  To: gentoo-commits

commit:     2df585bc49e9be79955ef6b8c1d2cd1434100ac1
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sat Jun 23 18:40:02 2018 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sat Jun 23 18:40:02 2018 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=2df585bc

upgrade opennebula and clean old versions

 app-emulation/opennebula/Manifest                  |  11 +-
 app-emulation/opennebula/opennebula-5.0.2.ebuild   | 175 ----------------
 app-emulation/opennebula/opennebula-5.2.0.ebuild   | 175 ----------------
 app-emulation/opennebula/opennebula-5.4.12.ebuild  | 219 ---------------------
 ...ebula-5.2.1.ebuild => opennebula-5.4.13.ebuild} |   1 +
 ...bula-5.4.11.ebuild => opennebula-5.4.15.ebuild} |  37 +++-
 6 files changed, 33 insertions(+), 585 deletions(-)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index 2f9179d..43fea72 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -20,17 +20,12 @@ AUX tmpfilesd.opennebula.conf 85 BLAKE2B f9a99645c91bd1c700f2bcb8c2fb7b2d775d3e3
 AUX websocket.py.diff 274 BLAKE2B f2c961bb29bc745a0b6fee43fa77a2ccdd26454dfcb50a0f8e3b24505f2b0df3fc6efacf30216434e76bdca0789eeff6377172d96f6f97f0a2be54d7a5a854ca SHA512 37536922c0160ee36b115f8ccfce54f2eef589f1a10df8022316247e996ccf542e193f7af13c8c00f89ab4993008a5d6f31561ccafbc0e6e4dd14eeb9ac2ea29
 AUX websocketproxy.py.diff 291 BLAKE2B 5ceb2e09830119b11b4ad319eeef3167d28808457b2f1a3e869225e4ddf87f05e6fcce377f9f9742435b173dee1f82cdf4fcf7fedf2a23f5eee4448fc5e8e540 SHA512 3c176c8709d28a2b506cb915bc00947b031e621267650b7282e26ffaf810f3a5aa128576c9cebd7cec0f320f6a173a4f8aa723898d7d5fdcf7710d484da1416a
 DIST opennebula-4.14.2.tar.gz 9283555 BLAKE2B 4e9dfdfc3f4ea6270003540bb97ecbaee7d26ce3cfcf08e85244d91658bfe3bdb8181111d6661b982bd8445409d743359ef5deb5d47afac7fec7de5ee93b2836 SHA512 ed572bf1a6e0a4eecb85c1f2beb1f686e6729f74a354f41dbb5113fd089af06013f63d022ee8c068234e5be64df818771a0ba0c452ffbf4fd096dd16cf878926
-DIST opennebula-5.0.2.tar.gz 12041225 BLAKE2B a834421b6fd9a67cc8c0d0ffc2e3d4f6d7f7a74f46d0f22b93e1f6225bddd4c17c9427234ea44925dcee50499db94648cd69c1f20ef139e0ec74a1a7dd83d7e6 SHA512 95d61476538e32b75c3ac870c4ba19e4f352a90e1d6e76355efab4f4679291ba2fcd223ec39f9b3cbd29bc5c5c7a5388c1c402c5c84b22f81729ff240b6d34b6
-DIST opennebula-5.2.0.tar.gz 12220329 BLAKE2B d23ff242b0b0170fbbfa339118335ea0f44f65d2335f8cff2dad998f19f867884f6bcdf626e30ee091b359e8012546a15403240bf4f8138778bfc6209961a967 SHA512 e0095bb452198bbd72e946651a004005c0315137b9a7093226298138226f59630147e07ec66766ac8def74a580dc4f1f5d90739033d445b61d8f98fc2239ab58
-DIST opennebula-5.2.1.tar.gz 12224129 BLAKE2B 5dd4c4cbdbd91e1054a92d1a3c068e97921608b47e87a0d24831e3062021961716108b5f49b068bc4fff4be2aec4727a8850a8ad7ec78ec1a159ba1d3ff3c021 SHA512 f46d722b6fbea4406000dafeb0ed3d26c61e35645a8de028c39d160879af5ab93352a8f2407fc637b39d5a600d39015be3cc29af32d9fc69a678a8e8cf4f7400
 DIST opennebula-5.4.1.tar.gz 14652947 BLAKE2B 299cc960debea0032e597b027ae73ff96c1d1262825e5797fabb98cbec3e2b15413ac97c38ec16c71cc0a0a6ea64447dac20cab7fcc73c4f2e6aa09f3855d801 SHA512 e6660c44c7fcb1d32077b483814ccaad03bca0f6264671548b6ef9cc60f544b134ea3d9ade13a959340bb1f8c94cf08c8246ea929073cf89d6ee35f8b2e19904
+DIST opennebula-5.4.13.tar.gz 14579822 BLAKE2B 66c6267a6b4ef5754f1f782245ef0708ab2ac1efd2a28f212ea44c5c5e4d5745b6dca64e42e5a5d675fc55abca5fbf9e5dcf8fc4101a5d6e091ad315c2f44322 SHA512 4e92e1c94d621fec99fd65d63f0ec64dba972e615726a589be6487a0d6782dbf4fd0d368525555deccefcc4c9af28309efc175102e2ac9ea3306edc4e9ed5611
 DIST opennebula-5.4.6.tar.gz 14537181 BLAKE2B 7240dbd209e7aec7c7ccecb95420b1b07761dcf0f1fa5f348101193e42a7af03def090d9ec6a60d32632e4ea31a5dfd03f7ee534a0e96b9e17255d8215f06f49 SHA512 440db6e15499740622c4a25cb8e28f2b718b6d2dfcb7d181f0fab927c03bc8d0ceb241bf08e03f068d73fc795ebe831b4102bebffb37f6aa320713bea66ef3ba
 EBUILD opennebula-4.14.2.ebuild 5992 BLAKE2B d9858fe197615ac54b61ca1637acec8bd991f7b975f95d75bb45161db6953148faa300557109213ba7f0844d9cb0c7774b5900b2c9a5afb3021edbb7412b73eb SHA512 cc18db5d7480f2067d95deb6a61df6c0a40a11ab9e4f6e2491fccdac34f349d527b6ffeedb2d2d2f04c3dba210c2a1316c635b4f69064a69bfd378ea0c4f9ebe
-EBUILD opennebula-5.0.2.ebuild 5178 BLAKE2B 987bf171438c6409dc6f0f5f88ac50425e485e6c81c14f4c5af96b7431e5a0f255ce55f2d6d40cf9523a9370abbfeb2190ad42d54e3e2230d63a04896288b0d6 SHA512 d758667dd121fa812e420de93c7b18edd2d15582088c8f995f69028d8afd48d10a5d683d35a18f2b41d5ce4b568f93ae0e8df98b0f211b2168c77547365d212e
-EBUILD opennebula-5.2.0.ebuild 5178 BLAKE2B 987bf171438c6409dc6f0f5f88ac50425e485e6c81c14f4c5af96b7431e5a0f255ce55f2d6d40cf9523a9370abbfeb2190ad42d54e3e2230d63a04896288b0d6 SHA512 d758667dd121fa812e420de93c7b18edd2d15582088c8f995f69028d8afd48d10a5d683d35a18f2b41d5ce4b568f93ae0e8df98b0f211b2168c77547365d212e
-EBUILD opennebula-5.2.1.ebuild 5376 BLAKE2B 0f3f5565e1a445ed2144018195244fe3b1d3db27665fa94b624e7c53ea1115c2c553694e2abef9fa5e0eabfbfeb0badc3cae14fffc4ee14dd72a43e75bc30a04 SHA512 d175ce386029b824ccd3f2f59a9f3c4cb607fe2548b49d8b8bb436542f46852553e5fe2dcacfcfac71a63710344148637bada6659758f3248552d1b31099768c
 EBUILD opennebula-5.4.1.ebuild 5394 BLAKE2B be801a88a64fb6c2345845bdb389a41b7f29664a8421639977058ea6e6b419fda65db70328fbf74782859e52979e52807bd77c1e3ce71a64d456e2b8e831d12b SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd
-EBUILD opennebula-5.4.11.ebuild 6415 BLAKE2B d011ee9a835c65314964ea62b6aa3d0bb23e74310857114af4f751e5c0114a3b674a73c50c6889fc222a8161abf4ff8fc85494b6c5d2140b0df09d019a3f4ac0 SHA512 da259c64b8aa2b569b70c7afa9c834e1c19939a01201c9954736064378decfa5020e8a5eec655b413d901e2578901197139cd545897068e41525dd255c1f4168
-EBUILD opennebula-5.4.12.ebuild 6415 BLAKE2B d011ee9a835c65314964ea62b6aa3d0bb23e74310857114af4f751e5c0114a3b674a73c50c6889fc222a8161abf4ff8fc85494b6c5d2140b0df09d019a3f4ac0 SHA512 da259c64b8aa2b569b70c7afa9c834e1c19939a01201c9954736064378decfa5020e8a5eec655b413d901e2578901197139cd545897068e41525dd255c1f4168
+EBUILD opennebula-5.4.13.ebuild 5394 BLAKE2B be801a88a64fb6c2345845bdb389a41b7f29664a8421639977058ea6e6b419fda65db70328fbf74782859e52979e52807bd77c1e3ce71a64d456e2b8e831d12b SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd
+EBUILD opennebula-5.4.15.ebuild 7290 BLAKE2B 578696a7fe565adc8dbb907241def8accc1b0ff0cf62a6db3a1fca8e75c901b87b8332ba4c9e8f4ac5e2ecee3a05ae5121bd51e3c8b4432720abc5352a78c0d9 SHA512 9c76be63786056ebf0c68535ea95ecb42fbdfe66e5e0aa895a5e3c293ab492b380642feb0dfa7b46b26c0c6384b0eb6964a4c6e6a07b2553a66d5c7cce09ea31
 EBUILD opennebula-5.4.6.ebuild 5394 BLAKE2B be801a88a64fb6c2345845bdb389a41b7f29664a8421639977058ea6e6b419fda65db70328fbf74782859e52979e52807bd77c1e3ce71a64d456e2b8e831d12b SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd
 MISC metadata.xml 471 BLAKE2B fecada7f873a86295bd66aa16126682170731bb4cd87dc2cfc7f46503d1d10880cc92f87c388dc6b2d3e8a4d4cba73c4b88a97ce8d23c2254b0d91cb3f820779 SHA512 0be6058785693cef097e2b3ffcffbc7b0011719afcaaf4d10116f490dc23291bdbb9e91f42977c82ef002967a4cbd56f1bebe1f1e61a053a659250a54d7d67d1

diff --git a/app-emulation/opennebula/opennebula-5.0.2.ebuild b/app-emulation/opennebula/opennebula-5.0.2.ebuild
deleted file mode 100644
index 0e16ad5..0000000
--- a/app-emulation/opennebula/opennebula-5.0.2.ebuild
+++ /dev/null
@@ -1,175 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-USE_RUBY="ruby20 ruby21"
-
-inherit user eutils multilib ruby-ng systemd
-
-MY_P="opennebula-${PV/_/-}"
-
-DESCRIPTION="OpenNebula Virtual Infrastructure Engine"
-HOMEPAGE="http://www.opennebula.org/"
-SRC_URI="http://downloads.opennebula.org/packages/${PN}-${PV}/${PN}-${PV}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="qemu +mysql xen sqlite +extras systemd"
-
-RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
-	dev-lang/ruby
-	extras? ( dev-libs/openssl
-		dev-ruby/libxml
-		net-misc/curl
-		dev-libs/libxslt
-		dev-libs/expat
-		dev-libs/log4cpp )
-	mysql? ( virtual/mysql )
-	dev-db/sqlite
-	net-misc/openssh
-	|| ( app-cdr/cdrkit app-cdr/cdrtools )
-	sqlite? ( dev-ruby/sqlite3 )
-	qemu? ( app-emulation/libvirt[libvirtd,qemu] )
-	xen? ( app-emulation/xen-tools )"
-DEPEND="${RDEPEND}
-	>=dev-util/scons-1.2.0-r1
-	dev-ruby/nokogiri"
-
-# make sure no eclass is running tests
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${PV}"
-
-ONEUSER="oneadmin"
-ONEGROUP="oneadmin"
-
-pkg_setup () {
-	enewgroup ${ONEGROUP}
-	enewuser ${ONEUSER} -1 /bin/bash /var/lib/one ${ONEGROUP}
-}
-
-src_unpack() {
-	default
-}
-
-src_prepare() {
-	sed -i -e 's|chmod|true|' install.sh || die "sed failed"
-}
-
-src_configure() {
-	:
-}
-
-src_compile() {
-
-	local myconf
-	use extras && myconf+="new_xmlrpc=yes "
-	use mysql && myconf+="mysql=yes " || myconf+="mysql=no "
-	scons \
-		${myconf} \
-		$(sed -r 's/.*(-j\s*|--jobs=)([0-9]+).*/-j\2/' <<< ${MAKEOPTS}) \
-		|| die "building ${PN} failed"
-}
-
-src_install() {
-	DESTDIR=${T} ./install.sh -u ${ONEUSER} -g ${ONEGROUP} || die "install failed"
-
-	cd "${T}"
-
-	# installing things for real
-	dobin bin/*
-
-	keepdir /var/{lib,run}/${PN} || die "keepdir failed"
-
-	dodir /usr/$(get_libdir)/one
-	dodir /var/lock/one
-	dodir /var/log/one
-	dodir /var/lib/one
-	dodir /var/run/one
-	dodir /var/tmp/one
-	# we have to preserve the executable bits
-	cp -a lib/* "${D}/usr/$(get_libdir)/one/" || die "copying lib files failed"
-
-	insinto /usr/share/doc/${PF}
-	doins -r share/examples
-
-	dodir /var/lib/one
-	dodir /var/lib/one/vms
-	dodir /usr/share/one
-	dodir /etc/tmpfiles.d
-	# we have to preserve the executable bits
-	cp -a var/remotes "${D}/var/lib/one/" || die "copying remotes failed"
-	cp -a share/* "${D}/usr/share/one/" || die "copying share failed"
-
-	doenvd "${FILESDIR}/99one"
-
-	newinitd "${FILESDIR}/opennebula.initd" opennebula
-	newinitd "${FILESDIR}/sunstone-server.initd" sunstone-server
-	newinitd "${FILESDIR}/oneflow-server.initd" oneflow-server
-	newconfd "${FILESDIR}/opennebula.confd" opennebula
-	newconfd "${FILESDIR}/sunstone-server.confd" sunstone-server
-	newconfd "${FILESDIR}/oneflow-server.confd" oneflow-server
-
-	use systemd && systemd_dounit "${FILESDIR}"/opennebula{,-sunstone,-econe,-oneflow,-onegate}.service
-
-	insinto /etc/one
-	insopts -m 0640
-	doins -r etc/*
-	doins "${FILESDIR}/one_auth"
-
-	insinto /etc/tmpfiles.d
-	doins "${FILESDIR}/tmpfilesd.opennebula.conf"
-
-}
-
-pkg_postinst() {
-
-
-	chown -R oneadmin:oneadmin ${ROOT}var/{lock,lib,log,run,tmp}/one
-	chown -R oneadmin:oneadmin ${ROOT}usr/share/one
-	chown -R oneadmin:oneadmin ${ROOT}etc/one
-	chown -R oneadmin:oneadmin ${ROOT}usr/lib/one
-
-	local onedir="${EROOT}var/lib/one"
-	if [ ! -d "${onedir}/.ssh" ] ; then
-		einfo "Generating ssh-key..."
-		umask 0027 || die "setting umask failed"
-		mkdir "${onedir}/.ssh" || die "creating ssh directory failed"
-		ssh-keygen -q -t dsa -N "" -f "${onedir}/.ssh/id_dsa" || die "ssh-keygen failed"
-		cat > "${onedir}/.ssh/config" <<EOF
-UserKnownHostsFile /dev/null
-Host *
-    StrictHostKeyChecking no
-EOF
-		cat "${onedir}/.ssh/id_dsa.pub"  >> "${onedir}/.ssh/authorized_keys" || die "adding key failed"
-		chown -R ${ONEUSER}:${ONEGROUP} "${onedir}/.ssh" || die "changing owner failed"
-	fi
-
-	if use qemu ; then
-		elog "Make sure that the user ${ONEUSER} has access to the libvirt control socket"
-		elog "  /var/run/libvirt/libvirt-sock"
-		elog "You can easily check this by executing the following command as ${ONEUSER} user"
-		elog "  virsh -c qemu:///system nodeinfo"
-		elog "If not using using policykit in libvirt, the file you should take a look at is:"
-		elog "  /etc/libvirt/libvirtd.conf (look for the unix_sock_*_perms parameters)"
-		elog "Failure to do so may lead to nodes hanging in PENDING state forever without further notice."
-		echo ""
-		elog "Should a node hang in PENDING state even with correct permissions, try the following to get more information."
-		elog "In /tmp/one-im execute the following command for the biggest one_im-* file:"
-		elog "  ruby -wd one_im-???"
-		echo ""
-		elog "OpenNebula doesn't allow you to specify the disc format."
-		elog "Unfortunately the default in libvirt is not to guess and"
-		elog "it therefores assumes a 'raw' format when using qemu/kvm."
-		elog "Set 'allow_disk_format_probing = 0' in /etc/libvirt/qemu.conf"
-		elog "to work around this until OpenNebula fixes it."
-	fi
-
-	elog "If you wish to use the sunstone server, please issue the command"
-	#elog "/usr/share/one/install_gems as oneadmin user"
-	elog "gem install sequel thin json rack sinatra builder treetop zendesk_api mysql parse-cron"
-
-
-}

diff --git a/app-emulation/opennebula/opennebula-5.2.0.ebuild b/app-emulation/opennebula/opennebula-5.2.0.ebuild
deleted file mode 100644
index 0e16ad5..0000000
--- a/app-emulation/opennebula/opennebula-5.2.0.ebuild
+++ /dev/null
@@ -1,175 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-USE_RUBY="ruby20 ruby21"
-
-inherit user eutils multilib ruby-ng systemd
-
-MY_P="opennebula-${PV/_/-}"
-
-DESCRIPTION="OpenNebula Virtual Infrastructure Engine"
-HOMEPAGE="http://www.opennebula.org/"
-SRC_URI="http://downloads.opennebula.org/packages/${PN}-${PV}/${PN}-${PV}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="qemu +mysql xen sqlite +extras systemd"
-
-RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
-	dev-lang/ruby
-	extras? ( dev-libs/openssl
-		dev-ruby/libxml
-		net-misc/curl
-		dev-libs/libxslt
-		dev-libs/expat
-		dev-libs/log4cpp )
-	mysql? ( virtual/mysql )
-	dev-db/sqlite
-	net-misc/openssh
-	|| ( app-cdr/cdrkit app-cdr/cdrtools )
-	sqlite? ( dev-ruby/sqlite3 )
-	qemu? ( app-emulation/libvirt[libvirtd,qemu] )
-	xen? ( app-emulation/xen-tools )"
-DEPEND="${RDEPEND}
-	>=dev-util/scons-1.2.0-r1
-	dev-ruby/nokogiri"
-
-# make sure no eclass is running tests
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${PV}"
-
-ONEUSER="oneadmin"
-ONEGROUP="oneadmin"
-
-pkg_setup () {
-	enewgroup ${ONEGROUP}
-	enewuser ${ONEUSER} -1 /bin/bash /var/lib/one ${ONEGROUP}
-}
-
-src_unpack() {
-	default
-}
-
-src_prepare() {
-	sed -i -e 's|chmod|true|' install.sh || die "sed failed"
-}
-
-src_configure() {
-	:
-}
-
-src_compile() {
-
-	local myconf
-	use extras && myconf+="new_xmlrpc=yes "
-	use mysql && myconf+="mysql=yes " || myconf+="mysql=no "
-	scons \
-		${myconf} \
-		$(sed -r 's/.*(-j\s*|--jobs=)([0-9]+).*/-j\2/' <<< ${MAKEOPTS}) \
-		|| die "building ${PN} failed"
-}
-
-src_install() {
-	DESTDIR=${T} ./install.sh -u ${ONEUSER} -g ${ONEGROUP} || die "install failed"
-
-	cd "${T}"
-
-	# installing things for real
-	dobin bin/*
-
-	keepdir /var/{lib,run}/${PN} || die "keepdir failed"
-
-	dodir /usr/$(get_libdir)/one
-	dodir /var/lock/one
-	dodir /var/log/one
-	dodir /var/lib/one
-	dodir /var/run/one
-	dodir /var/tmp/one
-	# we have to preserve the executable bits
-	cp -a lib/* "${D}/usr/$(get_libdir)/one/" || die "copying lib files failed"
-
-	insinto /usr/share/doc/${PF}
-	doins -r share/examples
-
-	dodir /var/lib/one
-	dodir /var/lib/one/vms
-	dodir /usr/share/one
-	dodir /etc/tmpfiles.d
-	# we have to preserve the executable bits
-	cp -a var/remotes "${D}/var/lib/one/" || die "copying remotes failed"
-	cp -a share/* "${D}/usr/share/one/" || die "copying share failed"
-
-	doenvd "${FILESDIR}/99one"
-
-	newinitd "${FILESDIR}/opennebula.initd" opennebula
-	newinitd "${FILESDIR}/sunstone-server.initd" sunstone-server
-	newinitd "${FILESDIR}/oneflow-server.initd" oneflow-server
-	newconfd "${FILESDIR}/opennebula.confd" opennebula
-	newconfd "${FILESDIR}/sunstone-server.confd" sunstone-server
-	newconfd "${FILESDIR}/oneflow-server.confd" oneflow-server
-
-	use systemd && systemd_dounit "${FILESDIR}"/opennebula{,-sunstone,-econe,-oneflow,-onegate}.service
-
-	insinto /etc/one
-	insopts -m 0640
-	doins -r etc/*
-	doins "${FILESDIR}/one_auth"
-
-	insinto /etc/tmpfiles.d
-	doins "${FILESDIR}/tmpfilesd.opennebula.conf"
-
-}
-
-pkg_postinst() {
-
-
-	chown -R oneadmin:oneadmin ${ROOT}var/{lock,lib,log,run,tmp}/one
-	chown -R oneadmin:oneadmin ${ROOT}usr/share/one
-	chown -R oneadmin:oneadmin ${ROOT}etc/one
-	chown -R oneadmin:oneadmin ${ROOT}usr/lib/one
-
-	local onedir="${EROOT}var/lib/one"
-	if [ ! -d "${onedir}/.ssh" ] ; then
-		einfo "Generating ssh-key..."
-		umask 0027 || die "setting umask failed"
-		mkdir "${onedir}/.ssh" || die "creating ssh directory failed"
-		ssh-keygen -q -t dsa -N "" -f "${onedir}/.ssh/id_dsa" || die "ssh-keygen failed"
-		cat > "${onedir}/.ssh/config" <<EOF
-UserKnownHostsFile /dev/null
-Host *
-    StrictHostKeyChecking no
-EOF
-		cat "${onedir}/.ssh/id_dsa.pub"  >> "${onedir}/.ssh/authorized_keys" || die "adding key failed"
-		chown -R ${ONEUSER}:${ONEGROUP} "${onedir}/.ssh" || die "changing owner failed"
-	fi
-
-	if use qemu ; then
-		elog "Make sure that the user ${ONEUSER} has access to the libvirt control socket"
-		elog "  /var/run/libvirt/libvirt-sock"
-		elog "You can easily check this by executing the following command as ${ONEUSER} user"
-		elog "  virsh -c qemu:///system nodeinfo"
-		elog "If not using using policykit in libvirt, the file you should take a look at is:"
-		elog "  /etc/libvirt/libvirtd.conf (look for the unix_sock_*_perms parameters)"
-		elog "Failure to do so may lead to nodes hanging in PENDING state forever without further notice."
-		echo ""
-		elog "Should a node hang in PENDING state even with correct permissions, try the following to get more information."
-		elog "In /tmp/one-im execute the following command for the biggest one_im-* file:"
-		elog "  ruby -wd one_im-???"
-		echo ""
-		elog "OpenNebula doesn't allow you to specify the disc format."
-		elog "Unfortunately the default in libvirt is not to guess and"
-		elog "it therefores assumes a 'raw' format when using qemu/kvm."
-		elog "Set 'allow_disk_format_probing = 0' in /etc/libvirt/qemu.conf"
-		elog "to work around this until OpenNebula fixes it."
-	fi
-
-	elog "If you wish to use the sunstone server, please issue the command"
-	#elog "/usr/share/one/install_gems as oneadmin user"
-	elog "gem install sequel thin json rack sinatra builder treetop zendesk_api mysql parse-cron"
-
-
-}

diff --git a/app-emulation/opennebula/opennebula-5.4.12.ebuild b/app-emulation/opennebula/opennebula-5.4.12.ebuild
deleted file mode 100644
index f4c0da3..0000000
--- a/app-emulation/opennebula/opennebula-5.4.12.ebuild
+++ /dev/null
@@ -1,219 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=6
-USE_RUBY="ruby22 ruby23 ruby24 ruby25"
-
-inherit user eutils multilib ruby-ng systemd git-r3 flag-o-matic
-
-MY_P="opennebula-${PV/_/-}"
-
-DESCRIPTION="OpenNebula Virtual Infrastructure Engine"
-HOMEPAGE="http://www.opennebula.org/"
-#SRC_URI="http://downloads.opennebula.org/packages/${PN}-${PV}/${PN}-${PV}.tar.gz"
-EGIT_REPO_URI="https://github.com/OpenNebula/one.git"
-EGIT_COMMIT="release-${PV}"
-EGIT_CHECKOUT_DIR=${WORKDIR}/${P}
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="qemu +mysql xen sqlite +extras systemd"
-
-RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
-	dev-lang/ruby
-	extras? ( dev-libs/openssl
-		dev-ruby/libxml
-		net-misc/curl
-		dev-libs/libxslt
-		dev-libs/expat
-		dev-ruby/uuidtools
-		dev-ruby/amazon-ec2
-		dev-ruby/aws-sdk
-		dev-ruby/webmock
-		dev-ruby/mysql
-		dev-ruby/mysql2
-		dev-ruby/parse-cron
-		dev-ruby/sequel
-		dev-ruby/treetop
-		dev-ruby/xml-simple
-		dev-ruby/zendesk_api
-		dev-ruby/ruby-net-ldap
-		dev-ruby/rack
-		dev-ruby/sinatra
-		dev-ruby/thin
-		dev-ruby/memcache-client
-		dev-ruby/curb
-		dev-ruby/trollop
-		dev-ruby/azure
-		dev-ruby/safe_yaml
-		dev-libs/log4cpp )
-	mysql? ( virtual/mysql )
-	dev-db/sqlite
-	net-misc/openssh
-	|| ( app-cdr/cdrkit app-cdr/cdrtools )
-	sqlite? ( dev-ruby/sqlite3 )
-	qemu? ( app-emulation/libvirt[libvirtd,qemu] )
-	xen? ( app-emulation/xen-tools )"
-DEPEND="${RDEPEND}
-	>=dev-util/scons-1.2.0-r1
-	dev-python/configparser
-	dev-ruby/configparser
-	dev-ruby/rubygems
-	dev-ruby/rake
-	dev-ruby/xmlparser
-	dev-ruby/ox
-	dev-ruby/builder
-	sys-devel/make
-	dev-ruby/nokogiri"
-
-# make sure no eclass is running tests
-RESTRICT="test"
-
-#S="${WORKDIR}/${PN}-${PV}"
-S="${WORKDIR}/${P}"
-
-ONEUSER="oneadmin"
-ONEGROUP="oneadmin"
-
-pkg_setup () {
-	enewgroup ${ONEGROUP}
-	enewuser ${ONEUSER} -1 /bin/bash /var/lib/one ${ONEGROUP}
-}
-
-#src_unpack() {
-#	default
-#}
-
-src_prepare() {
-	epatch "${FILESDIR}/fix_kvm_emulator.patch"
-	default
-	sed -i -e 's|chmod|true|' install.sh || die "sed failed"
-}
-
-src_configure() {
-	:
-}
-
-src_compile() {
-
-	# http://lists.ceph.com/pipermail/users-opennebula.org/2011-June/033132.html
-	#filter-ldflags -lpthread
-
-	local myconf
-	# This builds the vanilla OpenNebula package. Tweak this line as desired.
-	myconf+="sunstone=no parsers=yes "
-	use extras && myconf+="new_xmlrpc=yes "
-	use mysql && myconf+="mysql=yes " || myconf+="mysql=no "
-	use sqlite && myconf+="sqlite=yes " || myconf+="sqlite=no "
-	use systemd && myconf+="systemd=yes " || myconf+="systemd=no "
-	scons \
-		${myconf} \
-		$(sed -r 's/.*(-j\s*|--jobs=)([0-9]+).*/-j\2/' <<< ${MAKEOPTS}) \
-		|| die "building ${PN} failed"
-}
-
-src_install() {
-	DESTDIR=${T} ./install.sh -u ${ONEUSER} -g ${ONEGROUP} || die "install failed"
-
-	cd "${T}"
-
-	# installing things for real
-	dobin bin/*
-
-	keepdir /var/{lib,run}/${PN} || die "keepdir failed"
-
-	dodir /usr/$(get_libdir)/one
-	dodir /var/lock/one
-	dodir /var/log/one
-	dodir /var/lib/one
-	dodir /var/run/one
-	dodir /var/tmp/one
-	# we have to preserve the executable bits
-	cp -a lib/* "${D}/usr/$(get_libdir)/one/" || die "copying lib files failed"
-
-	insinto /usr/share/doc/${PF}
-	doins -r share/examples
-
-	dodir /var/lib/one
-	dodir /var/lib/one/vms
-	dodir /usr/share/one
-	dodir /etc/tmpfiles.d
-	# we have to preserve the executable bits
-	cp -a var/remotes "${D}/var/lib/one/" || die "copying remotes failed"
-	cp -a share/* "${D}/usr/share/one/" || die "copying share failed"
-
-	doenvd "${FILESDIR}/99one"
-
-	newinitd "${FILESDIR}/opennebula.initd" opennebula
-	newinitd "${FILESDIR}/sunstone-server.initd" sunstone-server
-	newinitd "${FILESDIR}/oneflow-server.initd" oneflow-server
-	newconfd "${FILESDIR}/opennebula.confd" opennebula
-	newconfd "${FILESDIR}/sunstone-server.confd" sunstone-server
-	newconfd "${FILESDIR}/oneflow-server.confd" oneflow-server
-
-	use systemd && systemd_dounit "${FILESDIR}"/opennebula{,-sunstone,-econe,-oneflow,-onegate,-scheduler,-novnc}.service
-
-	insinto /etc/one
-	insopts -m 0640
-	doins -r etc/*
-	doins "${FILESDIR}/one_auth"
-
-	insinto /etc/tmpfiles.d
-	newins "${FILESDIR}/tmpfilesd.opennebula.conf" "opennebula.conf"
-
-	insinto /etc/logrotate.d
-	newins "${FILESDIR}/logrotated.opennebula" "opennebula"
-
-}
-
-pkg_postinst() {
-
-
-	chown -R oneadmin:oneadmin ${ROOT}var/{lock,lib,log,run,tmp}/one
-	chown -R oneadmin:oneadmin ${ROOT}usr/share/one
-	chown -R oneadmin:oneadmin ${ROOT}etc/one
-	chown -R oneadmin:oneadmin ${ROOT}usr/lib/one
-
-	local onedir="${EROOT}var/lib/one"
-	if [ ! -d "${onedir}/.ssh" ] ; then
-		einfo "Generating ssh-key..."
-		umask 0027 || die "setting umask failed"
-		mkdir "${onedir}/.ssh" || die "creating ssh directory failed"
-		ssh-keygen -q -t dsa -N "" -f "${onedir}/.ssh/id_dsa" || die "ssh-keygen failed"
-		cat > "${onedir}/.ssh/config" <<EOF
-UserKnownHostsFile /dev/null
-Host *
-    StrictHostKeyChecking no
-EOF
-		cat "${onedir}/.ssh/id_dsa.pub"  >> "${onedir}/.ssh/authorized_keys" || die "adding key failed"
-		chown -R ${ONEUSER}:${ONEGROUP} "${onedir}/.ssh" || die "changing owner failed"
-	fi
-
-	if use qemu ; then
-		elog "Make sure that the user ${ONEUSER} has access to the libvirt control socket"
-		elog "  /var/run/libvirt/libvirt-sock"
-		elog "You can easily check this by executing the following command as ${ONEUSER} user"
-		elog "  virsh -c qemu:///system nodeinfo"
-		elog "If not using using policykit in libvirt, the file you should take a look at is:"
-		elog "  /etc/libvirt/libvirtd.conf (look for the unix_sock_*_perms parameters)"
-		elog "Failure to do so may lead to nodes hanging in PENDING state forever without further notice."
-		echo ""
-		elog "Should a node hang in PENDING state even with correct permissions, try the following to get more information."
-		elog "In /tmp/one-im execute the following command for the biggest one_im-* file:"
-		elog "  ruby -wd one_im-???"
-		echo ""
-		elog "OpenNebula doesn't allow you to specify the disc format."
-		elog "Unfortunately the default in libvirt is not to guess and"
-		elog "it therefores assumes a 'raw' format when using qemu/kvm."
-		elog "Set 'allow_disk_format_probing = 0' in /etc/libvirt/qemu.conf"
-		elog "to work around this until OpenNebula fixes it."
-	fi
-
-	elog "If you wish to use the sunstone server, please issue the command"
-	#elog "/usr/share/one/install_gems as oneadmin user"
-	elog "gem install sequel thin json rack sinatra builder treetop zendesk_api mysql parse-cron"
-
-
-}
-

diff --git a/app-emulation/opennebula/opennebula-5.2.1.ebuild b/app-emulation/opennebula/opennebula-5.4.13.ebuild
similarity index 99%
rename from app-emulation/opennebula/opennebula-5.2.1.ebuild
rename to app-emulation/opennebula/opennebula-5.4.13.ebuild
index 7e8f826..9d48554 100644
--- a/app-emulation/opennebula/opennebula-5.2.1.ebuild
+++ b/app-emulation/opennebula/opennebula-5.4.13.ebuild
@@ -29,6 +29,7 @@ RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
 		dev-ruby/amazon-ec2
 		dev-ruby/webmock
 		dev-ruby/mysql
+		dev-ruby/mysql2
 		dev-ruby/parse-cron
 		dev-ruby/sequel
 		dev-ruby/treetop

diff --git a/app-emulation/opennebula/opennebula-5.4.11.ebuild b/app-emulation/opennebula/opennebula-5.4.15.ebuild
similarity index 83%
rename from app-emulation/opennebula/opennebula-5.4.11.ebuild
rename to app-emulation/opennebula/opennebula-5.4.15.ebuild
index f4c0da3..a889fd5 100644
--- a/app-emulation/opennebula/opennebula-5.4.11.ebuild
+++ b/app-emulation/opennebula/opennebula-5.4.15.ebuild
@@ -17,8 +17,9 @@ EGIT_COMMIT="release-${PV}"
 EGIT_CHECKOUT_DIR=${WORKDIR}/${P}
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64"
-IUSE="qemu +mysql xen sqlite +extras systemd"
+#KEYWORDS="~amd64"
+KEYWORDS=""
+IUSE="qemu +mysql xen sqlite +extras systemd +sunstone"
 
 RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
 	dev-lang/ruby
@@ -56,6 +57,7 @@ RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
 	qemu? ( app-emulation/libvirt[libvirtd,qemu] )
 	xen? ( app-emulation/xen-tools )"
 DEPEND="${RDEPEND}
+	sunstone? ( net-libs/nodejs[npm] dev-nodejs/bower dev-nodejs/grunt dev-nodejs/grunt-cli dev-nodejs/ini dev-nodejs/braces )
 	>=dev-util/scons-1.2.0-r1
 	dev-python/configparser
 	dev-ruby/configparser
@@ -96,18 +98,21 @@ src_configure() {
 }
 
 src_compile() {
+	# force definition of nodejs path for grunt to work
+	local node_path="/usr/$(get_libdir)/node_modules"
 
 	# http://lists.ceph.com/pipermail/users-opennebula.org/2011-June/033132.html
 	#filter-ldflags -lpthread
 
 	local myconf
 	# This builds the vanilla OpenNebula package. Tweak this line as desired.
-	myconf+="sunstone=no parsers=yes "
-	use extras && myconf+="new_xmlrpc=yes "
+	myconf+="parsers=yes "
+	use sunstone && myconf+="sunstone=yes " || myconf+="sunstone=no "
+	use extras && myconf+="new_xmlrpc=yes " || myconf+="new_xmlrpc=no "
 	use mysql && myconf+="mysql=yes " || myconf+="mysql=no "
 	use sqlite && myconf+="sqlite=yes " || myconf+="sqlite=no "
 	use systemd && myconf+="systemd=yes " || myconf+="systemd=no "
-	scons \
+	NODE_PATH=${node_path} scons \
 		${myconf} \
 		$(sed -r 's/.*(-j\s*|--jobs=)([0-9]+).*/-j\2/' <<< ${MAKEOPTS}) \
 		|| die "building ${PN} failed"
@@ -210,10 +215,26 @@ EOF
 		elog "to work around this until OpenNebula fixes it."
 	fi
 
-	elog "If you wish to use the sunstone server, please issue the command"
+	if use sunstone ; then
+		elog "Set nmp prefix [-g] to define working folder"
+		elog "https://docs.npmjs.com/cli/prefix"
+		elog "https://docs.npmjs.com/getting-started/fixing-npm-permissions"
+		elog "If you wish to use the sunstone server, please issue the command"
+		elog "npm install"
+		elog "bower install"
+		elog "grunt sass"
+		elog "grunt requirejs"
+		elog "as oneadmin user in /usr/lib/one/sunstone/public"
+		elog
+		elog "also you need to issue this beforehand:"
+		elog
+		elog "npm install -g bower"
+		elog "npm install -g grunt"
+		elog "npm install -g grunt-cli"
+		elog "as root"
+	fi
+	#elog "gem install sequel thin json rack sinatra builder treetop zendesk_api mysql parse-cron"
 	#elog "/usr/share/one/install_gems as oneadmin user"
-	elog "gem install sequel thin json rack sinatra builder treetop zendesk_api mysql parse-cron"
-
 
 }
 


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2018-05-08 19:55 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2018-05-08 19:55 UTC (permalink / raw
  To: gentoo-commits

commit:     58eb4b2bb22da9e0a38a134a4efb4db2cba3c50f
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Tue May  8 19:54:44 2018 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Tue May  8 19:54:44 2018 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=58eb4b2b

add opennebula-5.4.11

 app-emulation/opennebula/Manifest                 |   1 +
 app-emulation/opennebula/opennebula-5.4.11.ebuild | 219 ++++++++++++++++++++++
 2 files changed, 220 insertions(+)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index 10c1ecd..2f9179d 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -30,6 +30,7 @@ EBUILD opennebula-5.0.2.ebuild 5178 BLAKE2B 987bf171438c6409dc6f0f5f88ac50425e48
 EBUILD opennebula-5.2.0.ebuild 5178 BLAKE2B 987bf171438c6409dc6f0f5f88ac50425e485e6c81c14f4c5af96b7431e5a0f255ce55f2d6d40cf9523a9370abbfeb2190ad42d54e3e2230d63a04896288b0d6 SHA512 d758667dd121fa812e420de93c7b18edd2d15582088c8f995f69028d8afd48d10a5d683d35a18f2b41d5ce4b568f93ae0e8df98b0f211b2168c77547365d212e
 EBUILD opennebula-5.2.1.ebuild 5376 BLAKE2B 0f3f5565e1a445ed2144018195244fe3b1d3db27665fa94b624e7c53ea1115c2c553694e2abef9fa5e0eabfbfeb0badc3cae14fffc4ee14dd72a43e75bc30a04 SHA512 d175ce386029b824ccd3f2f59a9f3c4cb607fe2548b49d8b8bb436542f46852553e5fe2dcacfcfac71a63710344148637bada6659758f3248552d1b31099768c
 EBUILD opennebula-5.4.1.ebuild 5394 BLAKE2B be801a88a64fb6c2345845bdb389a41b7f29664a8421639977058ea6e6b419fda65db70328fbf74782859e52979e52807bd77c1e3ce71a64d456e2b8e831d12b SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd
+EBUILD opennebula-5.4.11.ebuild 6415 BLAKE2B d011ee9a835c65314964ea62b6aa3d0bb23e74310857114af4f751e5c0114a3b674a73c50c6889fc222a8161abf4ff8fc85494b6c5d2140b0df09d019a3f4ac0 SHA512 da259c64b8aa2b569b70c7afa9c834e1c19939a01201c9954736064378decfa5020e8a5eec655b413d901e2578901197139cd545897068e41525dd255c1f4168
 EBUILD opennebula-5.4.12.ebuild 6415 BLAKE2B d011ee9a835c65314964ea62b6aa3d0bb23e74310857114af4f751e5c0114a3b674a73c50c6889fc222a8161abf4ff8fc85494b6c5d2140b0df09d019a3f4ac0 SHA512 da259c64b8aa2b569b70c7afa9c834e1c19939a01201c9954736064378decfa5020e8a5eec655b413d901e2578901197139cd545897068e41525dd255c1f4168
 EBUILD opennebula-5.4.6.ebuild 5394 BLAKE2B be801a88a64fb6c2345845bdb389a41b7f29664a8421639977058ea6e6b419fda65db70328fbf74782859e52979e52807bd77c1e3ce71a64d456e2b8e831d12b SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd
 MISC metadata.xml 471 BLAKE2B fecada7f873a86295bd66aa16126682170731bb4cd87dc2cfc7f46503d1d10880cc92f87c388dc6b2d3e8a4d4cba73c4b88a97ce8d23c2254b0d91cb3f820779 SHA512 0be6058785693cef097e2b3ffcffbc7b0011719afcaaf4d10116f490dc23291bdbb9e91f42977c82ef002967a4cbd56f1bebe1f1e61a053a659250a54d7d67d1

diff --git a/app-emulation/opennebula/opennebula-5.4.11.ebuild b/app-emulation/opennebula/opennebula-5.4.11.ebuild
new file mode 100644
index 0000000..f4c0da3
--- /dev/null
+++ b/app-emulation/opennebula/opennebula-5.4.11.ebuild
@@ -0,0 +1,219 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
+
+inherit user eutils multilib ruby-ng systemd git-r3 flag-o-matic
+
+MY_P="opennebula-${PV/_/-}"
+
+DESCRIPTION="OpenNebula Virtual Infrastructure Engine"
+HOMEPAGE="http://www.opennebula.org/"
+#SRC_URI="http://downloads.opennebula.org/packages/${PN}-${PV}/${PN}-${PV}.tar.gz"
+EGIT_REPO_URI="https://github.com/OpenNebula/one.git"
+EGIT_COMMIT="release-${PV}"
+EGIT_CHECKOUT_DIR=${WORKDIR}/${P}
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="qemu +mysql xen sqlite +extras systemd"
+
+RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
+	dev-lang/ruby
+	extras? ( dev-libs/openssl
+		dev-ruby/libxml
+		net-misc/curl
+		dev-libs/libxslt
+		dev-libs/expat
+		dev-ruby/uuidtools
+		dev-ruby/amazon-ec2
+		dev-ruby/aws-sdk
+		dev-ruby/webmock
+		dev-ruby/mysql
+		dev-ruby/mysql2
+		dev-ruby/parse-cron
+		dev-ruby/sequel
+		dev-ruby/treetop
+		dev-ruby/xml-simple
+		dev-ruby/zendesk_api
+		dev-ruby/ruby-net-ldap
+		dev-ruby/rack
+		dev-ruby/sinatra
+		dev-ruby/thin
+		dev-ruby/memcache-client
+		dev-ruby/curb
+		dev-ruby/trollop
+		dev-ruby/azure
+		dev-ruby/safe_yaml
+		dev-libs/log4cpp )
+	mysql? ( virtual/mysql )
+	dev-db/sqlite
+	net-misc/openssh
+	|| ( app-cdr/cdrkit app-cdr/cdrtools )
+	sqlite? ( dev-ruby/sqlite3 )
+	qemu? ( app-emulation/libvirt[libvirtd,qemu] )
+	xen? ( app-emulation/xen-tools )"
+DEPEND="${RDEPEND}
+	>=dev-util/scons-1.2.0-r1
+	dev-python/configparser
+	dev-ruby/configparser
+	dev-ruby/rubygems
+	dev-ruby/rake
+	dev-ruby/xmlparser
+	dev-ruby/ox
+	dev-ruby/builder
+	sys-devel/make
+	dev-ruby/nokogiri"
+
+# make sure no eclass is running tests
+RESTRICT="test"
+
+#S="${WORKDIR}/${PN}-${PV}"
+S="${WORKDIR}/${P}"
+
+ONEUSER="oneadmin"
+ONEGROUP="oneadmin"
+
+pkg_setup () {
+	enewgroup ${ONEGROUP}
+	enewuser ${ONEUSER} -1 /bin/bash /var/lib/one ${ONEGROUP}
+}
+
+#src_unpack() {
+#	default
+#}
+
+src_prepare() {
+	epatch "${FILESDIR}/fix_kvm_emulator.patch"
+	default
+	sed -i -e 's|chmod|true|' install.sh || die "sed failed"
+}
+
+src_configure() {
+	:
+}
+
+src_compile() {
+
+	# http://lists.ceph.com/pipermail/users-opennebula.org/2011-June/033132.html
+	#filter-ldflags -lpthread
+
+	local myconf
+	# This builds the vanilla OpenNebula package. Tweak this line as desired.
+	myconf+="sunstone=no parsers=yes "
+	use extras && myconf+="new_xmlrpc=yes "
+	use mysql && myconf+="mysql=yes " || myconf+="mysql=no "
+	use sqlite && myconf+="sqlite=yes " || myconf+="sqlite=no "
+	use systemd && myconf+="systemd=yes " || myconf+="systemd=no "
+	scons \
+		${myconf} \
+		$(sed -r 's/.*(-j\s*|--jobs=)([0-9]+).*/-j\2/' <<< ${MAKEOPTS}) \
+		|| die "building ${PN} failed"
+}
+
+src_install() {
+	DESTDIR=${T} ./install.sh -u ${ONEUSER} -g ${ONEGROUP} || die "install failed"
+
+	cd "${T}"
+
+	# installing things for real
+	dobin bin/*
+
+	keepdir /var/{lib,run}/${PN} || die "keepdir failed"
+
+	dodir /usr/$(get_libdir)/one
+	dodir /var/lock/one
+	dodir /var/log/one
+	dodir /var/lib/one
+	dodir /var/run/one
+	dodir /var/tmp/one
+	# we have to preserve the executable bits
+	cp -a lib/* "${D}/usr/$(get_libdir)/one/" || die "copying lib files failed"
+
+	insinto /usr/share/doc/${PF}
+	doins -r share/examples
+
+	dodir /var/lib/one
+	dodir /var/lib/one/vms
+	dodir /usr/share/one
+	dodir /etc/tmpfiles.d
+	# we have to preserve the executable bits
+	cp -a var/remotes "${D}/var/lib/one/" || die "copying remotes failed"
+	cp -a share/* "${D}/usr/share/one/" || die "copying share failed"
+
+	doenvd "${FILESDIR}/99one"
+
+	newinitd "${FILESDIR}/opennebula.initd" opennebula
+	newinitd "${FILESDIR}/sunstone-server.initd" sunstone-server
+	newinitd "${FILESDIR}/oneflow-server.initd" oneflow-server
+	newconfd "${FILESDIR}/opennebula.confd" opennebula
+	newconfd "${FILESDIR}/sunstone-server.confd" sunstone-server
+	newconfd "${FILESDIR}/oneflow-server.confd" oneflow-server
+
+	use systemd && systemd_dounit "${FILESDIR}"/opennebula{,-sunstone,-econe,-oneflow,-onegate,-scheduler,-novnc}.service
+
+	insinto /etc/one
+	insopts -m 0640
+	doins -r etc/*
+	doins "${FILESDIR}/one_auth"
+
+	insinto /etc/tmpfiles.d
+	newins "${FILESDIR}/tmpfilesd.opennebula.conf" "opennebula.conf"
+
+	insinto /etc/logrotate.d
+	newins "${FILESDIR}/logrotated.opennebula" "opennebula"
+
+}
+
+pkg_postinst() {
+
+
+	chown -R oneadmin:oneadmin ${ROOT}var/{lock,lib,log,run,tmp}/one
+	chown -R oneadmin:oneadmin ${ROOT}usr/share/one
+	chown -R oneadmin:oneadmin ${ROOT}etc/one
+	chown -R oneadmin:oneadmin ${ROOT}usr/lib/one
+
+	local onedir="${EROOT}var/lib/one"
+	if [ ! -d "${onedir}/.ssh" ] ; then
+		einfo "Generating ssh-key..."
+		umask 0027 || die "setting umask failed"
+		mkdir "${onedir}/.ssh" || die "creating ssh directory failed"
+		ssh-keygen -q -t dsa -N "" -f "${onedir}/.ssh/id_dsa" || die "ssh-keygen failed"
+		cat > "${onedir}/.ssh/config" <<EOF
+UserKnownHostsFile /dev/null
+Host *
+    StrictHostKeyChecking no
+EOF
+		cat "${onedir}/.ssh/id_dsa.pub"  >> "${onedir}/.ssh/authorized_keys" || die "adding key failed"
+		chown -R ${ONEUSER}:${ONEGROUP} "${onedir}/.ssh" || die "changing owner failed"
+	fi
+
+	if use qemu ; then
+		elog "Make sure that the user ${ONEUSER} has access to the libvirt control socket"
+		elog "  /var/run/libvirt/libvirt-sock"
+		elog "You can easily check this by executing the following command as ${ONEUSER} user"
+		elog "  virsh -c qemu:///system nodeinfo"
+		elog "If not using using policykit in libvirt, the file you should take a look at is:"
+		elog "  /etc/libvirt/libvirtd.conf (look for the unix_sock_*_perms parameters)"
+		elog "Failure to do so may lead to nodes hanging in PENDING state forever without further notice."
+		echo ""
+		elog "Should a node hang in PENDING state even with correct permissions, try the following to get more information."
+		elog "In /tmp/one-im execute the following command for the biggest one_im-* file:"
+		elog "  ruby -wd one_im-???"
+		echo ""
+		elog "OpenNebula doesn't allow you to specify the disc format."
+		elog "Unfortunately the default in libvirt is not to guess and"
+		elog "it therefores assumes a 'raw' format when using qemu/kvm."
+		elog "Set 'allow_disk_format_probing = 0' in /etc/libvirt/qemu.conf"
+		elog "to work around this until OpenNebula fixes it."
+	fi
+
+	elog "If you wish to use the sunstone server, please issue the command"
+	#elog "/usr/share/one/install_gems as oneadmin user"
+	elog "gem install sequel thin json rack sinatra builder treetop zendesk_api mysql parse-cron"
+
+
+}
+


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2018-02-02 23:41 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2018-02-02 23:41 UTC (permalink / raw
  To: gentoo-commits

commit:     b723f88b74ae3b7edca5e2ea65dbd3549eaef1e2
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Fri Feb  2 23:41:01 2018 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Fri Feb  2 23:41:01 2018 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=b723f88b

update opennebula

 app-emulation/opennebula/Manifest                |   2 +
 app-emulation/opennebula/opennebula-5.4.6.ebuild | 186 +++++++++++++++++++++++
 2 files changed, 188 insertions(+)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index 79b8ea3..dfb8aa0 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -20,9 +20,11 @@ DIST opennebula-5.0.2.tar.gz 12041225 SHA256 4867fe44739136ffbb9f91ea9a56501bd1c
 DIST opennebula-5.2.0.tar.gz 12220329 SHA256 b1360a050645a3d135dabb4e834b5c656a98018308fc7a2fabc214c0730eefa3 SHA512 e0095bb452198bbd72e946651a004005c0315137b9a7093226298138226f59630147e07ec66766ac8def74a580dc4f1f5d90739033d445b61d8f98fc2239ab58 WHIRLPOOL 1cce691266947583a1716a8d41ae449e69b30da750e253b898a6564f386e4378c4c0ad85077fa5fe864200bc17c9c4d626d899ba02e91b2d418e675503f67f7e
 DIST opennebula-5.2.1.tar.gz 12224129 SHA256 3864e209ffc99c474f5dd7eeebaf3c4c00ff51b0059680c63ee0ad4330f3a211 SHA512 f46d722b6fbea4406000dafeb0ed3d26c61e35645a8de028c39d160879af5ab93352a8f2407fc637b39d5a600d39015be3cc29af32d9fc69a678a8e8cf4f7400 WHIRLPOOL fbe685ec32fd02d65c60ad13f5e63d6f76b528084759e732b263d22218e10585f05808a3dab6022fea59f2fdc6920a7247685f808795c905204dcc743342eadc
 DIST opennebula-5.4.1.tar.gz 14652947 SHA256 424857591dffe1beb4891e1c4769d2824f254b594a1f2fb102fb351d67b03404 SHA512 e6660c44c7fcb1d32077b483814ccaad03bca0f6264671548b6ef9cc60f544b134ea3d9ade13a959340bb1f8c94cf08c8246ea929073cf89d6ee35f8b2e19904 WHIRLPOOL 46ee7f2052b935c1dff22b80f0432c56b03e405dbf6c799ff0aa3789920546af5e3b3951a6acb88d175d1e8164833fb11e087ea025a16eebebc0bf1f2ea7d11a
+DIST opennebula-5.4.6.tar.gz 14537181 SHA256 625ab805f19ee0c7396d58b561b135faa7288d53af671d7602edec3a0c325d15 SHA512 440db6e15499740622c4a25cb8e28f2b718b6d2dfcb7d181f0fab927c03bc8d0ceb241bf08e03f068d73fc795ebe831b4102bebffb37f6aa320713bea66ef3ba WHIRLPOOL de8c161899c4414ce79bbf3d01bcbbd2ee9605d43ba37020ab6673d87808651385d3539c2c0e4e0cf8aeab3a72c428af12a020e3f636efbbccea9c2e313b608f
 EBUILD opennebula-4.14.2.ebuild 5992 SHA256 83518d6e6199aacd9c9f7c35bf5c0d88d905f34736773217819924850ae85a51 SHA512 cc18db5d7480f2067d95deb6a61df6c0a40a11ab9e4f6e2491fccdac34f349d527b6ffeedb2d2d2f04c3dba210c2a1316c635b4f69064a69bfd378ea0c4f9ebe WHIRLPOOL ec9208b6607382b3f3985d1c6255ec9c66455f9c1bf2ae8979b328216d35e9536ad7ce55b85e52f06c44af1dc7cb6174e1fb2faa1b45eff11c686a9dbabd7f16
 EBUILD opennebula-5.0.2.ebuild 5141 SHA256 d900142aae83b24902e288dac45e77c69c6a4cf525b2b264d89155754ae1f1b6 SHA512 bb795f1c68dfa232cdca9a67a50b892d2eaf3c5c43db2344864cfc81af25f1486f7762d721c1a29d39aae135c91d57cc1b5a37691e2500783bf546ba615d08a9 WHIRLPOOL 154ceb6990ba596f6d5abcabad3a686007eca1546deeee0e36594827ead744cf8851dfb08b89c32a9a833af15e808310cf283a130164a5abb3c5088d8a224e87
 EBUILD opennebula-5.2.0.ebuild 5178 SHA256 c4ed7aa44b496ff05820f993cfb51c420014afba40ff95c516ee71ea093f5e93 SHA512 d758667dd121fa812e420de93c7b18edd2d15582088c8f995f69028d8afd48d10a5d683d35a18f2b41d5ce4b568f93ae0e8df98b0f211b2168c77547365d212e WHIRLPOOL f3310dbb4c39f79a3dc142f0d032252a08d785c1937797876d8f5b1fc927a70e80e8256ca97f5ef535bb5922689af13fa01291665f39e4f6a8f6e8f56a66fa3a
 EBUILD opennebula-5.2.1.ebuild 5376 SHA256 db1366cd13a7622af290319fac459da7b6f16fc479d343172239d0e4ee71dd43 SHA512 d175ce386029b824ccd3f2f59a9f3c4cb607fe2548b49d8b8bb436542f46852553e5fe2dcacfcfac71a63710344148637bada6659758f3248552d1b31099768c WHIRLPOOL cb811f0007cffce360c4a73f758c6c531c3b1c721195d00e4a5afe3f8cb7a4e29a480b319add42fa3949d946b9ea3032140d37b99c869c1beb09bb09e8d6ee8d
 EBUILD opennebula-5.4.1.ebuild 5394 SHA256 6d51fc9f1dca059ec24ec5cb81bbfa34b21042d9579ef8fc9199a63d85da9e2a SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd WHIRLPOOL e4e5db90f53365073c61df5622ca7ebdcb27908f30ab7ad9fc75f10d8a2bce01018069cca7e04c0fa2165052a7535c14c66667a76a618229e6ee915d2f9fc211
+EBUILD opennebula-5.4.6.ebuild 5394 SHA256 6d51fc9f1dca059ec24ec5cb81bbfa34b21042d9579ef8fc9199a63d85da9e2a SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd WHIRLPOOL e4e5db90f53365073c61df5622ca7ebdcb27908f30ab7ad9fc75f10d8a2bce01018069cca7e04c0fa2165052a7535c14c66667a76a618229e6ee915d2f9fc211
 MISC metadata.xml 471 SHA256 7e7ba4805811857e33a2374831129a50002448d7dcceb640585a4166103e4e63 SHA512 0be6058785693cef097e2b3ffcffbc7b0011719afcaaf4d10116f490dc23291bdbb9e91f42977c82ef002967a4cbd56f1bebe1f1e61a053a659250a54d7d67d1 WHIRLPOOL b7039f60c5f28c905a0332ff5cffc0c9ffa1ae8897faa927fb21bfbc909d11fcca95af2bf822c014f4d9c5ca325d3c1cd2446331bcb7f8b639a0a523dd14ad95

diff --git a/app-emulation/opennebula/opennebula-5.4.6.ebuild b/app-emulation/opennebula/opennebula-5.4.6.ebuild
new file mode 100644
index 0000000..9d48554
--- /dev/null
+++ b/app-emulation/opennebula/opennebula-5.4.6.ebuild
@@ -0,0 +1,186 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+inherit user eutils multilib ruby-ng systemd
+
+MY_P="opennebula-${PV/_/-}"
+
+DESCRIPTION="OpenNebula Virtual Infrastructure Engine"
+HOMEPAGE="http://www.opennebula.org/"
+SRC_URI="http://downloads.opennebula.org/packages/${PN}-${PV}/${PN}-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="qemu +mysql xen sqlite +extras systemd"
+
+RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
+	dev-lang/ruby
+	extras? ( dev-libs/openssl
+		dev-ruby/libxml
+		net-misc/curl
+		dev-libs/libxslt
+		dev-libs/expat
+		dev-ruby/uuidtools
+		dev-ruby/amazon-ec2
+		dev-ruby/webmock
+		dev-ruby/mysql
+		dev-ruby/mysql2
+		dev-ruby/parse-cron
+		dev-ruby/sequel
+		dev-ruby/treetop
+		dev-ruby/xml-simple
+		dev-ruby/zendesk_api
+		dev-libs/log4cpp )
+	mysql? ( virtual/mysql )
+	dev-db/sqlite
+	net-misc/openssh
+	|| ( app-cdr/cdrkit app-cdr/cdrtools )
+	sqlite? ( dev-ruby/sqlite3 )
+	qemu? ( app-emulation/libvirt[libvirtd,qemu] )
+	xen? ( app-emulation/xen-tools )"
+DEPEND="${RDEPEND}
+	>=dev-util/scons-1.2.0-r1
+	dev-ruby/nokogiri"
+
+# make sure no eclass is running tests
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${PV}"
+
+ONEUSER="oneadmin"
+ONEGROUP="oneadmin"
+
+pkg_setup () {
+	enewgroup ${ONEGROUP}
+	enewuser ${ONEUSER} -1 /bin/bash /var/lib/one ${ONEGROUP}
+}
+
+src_unpack() {
+	default
+}
+
+src_prepare() {
+	sed -i -e 's|chmod|true|' install.sh || die "sed failed"
+}
+
+src_configure() {
+	:
+}
+
+src_compile() {
+
+	local myconf
+	use extras && myconf+="new_xmlrpc=yes "
+	use mysql && myconf+="mysql=yes " || myconf+="mysql=no "
+	scons \
+		${myconf} \
+		$(sed -r 's/.*(-j\s*|--jobs=)([0-9]+).*/-j\2/' <<< ${MAKEOPTS}) \
+		|| die "building ${PN} failed"
+}
+
+src_install() {
+	DESTDIR=${T} ./install.sh -u ${ONEUSER} -g ${ONEGROUP} || die "install failed"
+
+	cd "${T}"
+
+	# installing things for real
+	dobin bin/*
+
+	keepdir /var/{lib,run}/${PN} || die "keepdir failed"
+
+	dodir /usr/$(get_libdir)/one
+	dodir /var/lock/one
+	dodir /var/log/one
+	dodir /var/lib/one
+	dodir /var/run/one
+	dodir /var/tmp/one
+	# we have to preserve the executable bits
+	cp -a lib/* "${D}/usr/$(get_libdir)/one/" || die "copying lib files failed"
+
+	insinto /usr/share/doc/${PF}
+	doins -r share/examples
+
+	dodir /var/lib/one
+	dodir /var/lib/one/vms
+	dodir /usr/share/one
+	dodir /etc/tmpfiles.d
+	# we have to preserve the executable bits
+	cp -a var/remotes "${D}/var/lib/one/" || die "copying remotes failed"
+	cp -a share/* "${D}/usr/share/one/" || die "copying share failed"
+
+	doenvd "${FILESDIR}/99one"
+
+	newinitd "${FILESDIR}/opennebula.initd" opennebula
+	newinitd "${FILESDIR}/sunstone-server.initd" sunstone-server
+	newinitd "${FILESDIR}/oneflow-server.initd" oneflow-server
+	newconfd "${FILESDIR}/opennebula.confd" opennebula
+	newconfd "${FILESDIR}/sunstone-server.confd" sunstone-server
+	newconfd "${FILESDIR}/oneflow-server.confd" oneflow-server
+
+	use systemd && systemd_dounit "${FILESDIR}"/opennebula{,-sunstone,-econe,-oneflow,-onegate}.service
+
+	insinto /etc/one
+	insopts -m 0640
+	doins -r etc/*
+	doins "${FILESDIR}/one_auth"
+
+	insinto /etc/tmpfiles.d
+	doins "${FILESDIR}/tmpfilesd.opennebula.conf"
+
+}
+
+pkg_postinst() {
+
+
+	chown -R oneadmin:oneadmin ${ROOT}var/{lock,lib,log,run,tmp}/one
+	chown -R oneadmin:oneadmin ${ROOT}usr/share/one
+	chown -R oneadmin:oneadmin ${ROOT}etc/one
+	chown -R oneadmin:oneadmin ${ROOT}usr/lib/one
+
+	local onedir="${EROOT}var/lib/one"
+	if [ ! -d "${onedir}/.ssh" ] ; then
+		einfo "Generating ssh-key..."
+		umask 0027 || die "setting umask failed"
+		mkdir "${onedir}/.ssh" || die "creating ssh directory failed"
+		ssh-keygen -q -t dsa -N "" -f "${onedir}/.ssh/id_dsa" || die "ssh-keygen failed"
+		cat > "${onedir}/.ssh/config" <<EOF
+UserKnownHostsFile /dev/null
+Host *
+    StrictHostKeyChecking no
+EOF
+		cat "${onedir}/.ssh/id_dsa.pub"  >> "${onedir}/.ssh/authorized_keys" || die "adding key failed"
+		chown -R ${ONEUSER}:${ONEGROUP} "${onedir}/.ssh" || die "changing owner failed"
+	fi
+
+	if use qemu ; then
+		elog "Make sure that the user ${ONEUSER} has access to the libvirt control socket"
+		elog "  /var/run/libvirt/libvirt-sock"
+		elog "You can easily check this by executing the following command as ${ONEUSER} user"
+		elog "  virsh -c qemu:///system nodeinfo"
+		elog "If not using using policykit in libvirt, the file you should take a look at is:"
+		elog "  /etc/libvirt/libvirtd.conf (look for the unix_sock_*_perms parameters)"
+		elog "Failure to do so may lead to nodes hanging in PENDING state forever without further notice."
+		echo ""
+		elog "Should a node hang in PENDING state even with correct permissions, try the following to get more information."
+		elog "In /tmp/one-im execute the following command for the biggest one_im-* file:"
+		elog "  ruby -wd one_im-???"
+		echo ""
+		elog "OpenNebula doesn't allow you to specify the disc format."
+		elog "Unfortunately the default in libvirt is not to guess and"
+		elog "it therefores assumes a 'raw' format when using qemu/kvm."
+		elog "Set 'allow_disk_format_probing = 0' in /etc/libvirt/qemu.conf"
+		elog "to work around this until OpenNebula fixes it."
+	fi
+
+	elog "If you wish to use the sunstone server, please issue the command"
+	#elog "/usr/share/one/install_gems as oneadmin user"
+	elog "gem install sequel thin json rack sinatra builder treetop zendesk_api mysql parse-cron"
+
+
+}
+


^ permalink raw reply related	[flat|nested] 23+ messages in thread
* [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/
@ 2017-10-01 15:29 Samuel Bernardo
  0 siblings, 0 replies; 23+ messages in thread
From: Samuel Bernardo @ 2017-10-01 15:29 UTC (permalink / raw
  To: gentoo-commits

commit:     63ca0d3c6c8bacc9e10c49dc577bcc6a95bda3ef
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Oct  1 15:29:15 2017 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun Oct  1 15:29:15 2017 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=63ca0d3c

update opennebula

 app-emulation/opennebula/Manifest                |   2 +
 app-emulation/opennebula/opennebula-5.4.1.ebuild | 186 +++++++++++++++++++++++
 2 files changed, 188 insertions(+)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index 30dd296..79b8ea3 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -19,8 +19,10 @@ DIST opennebula-4.14.2.tar.gz 9283555 SHA256 b9a3b2389d83ff1a5fa5d4e4fad34628c1b
 DIST opennebula-5.0.2.tar.gz 12041225 SHA256 4867fe44739136ffbb9f91ea9a56501bd1cc2d1f19d813818ab5bf21c0cc9878 SHA512 95d61476538e32b75c3ac870c4ba19e4f352a90e1d6e76355efab4f4679291ba2fcd223ec39f9b3cbd29bc5c5c7a5388c1c402c5c84b22f81729ff240b6d34b6 WHIRLPOOL 77e04bfb9054872d91570b196256e247b7e9d2df1dcf01f946bc6776ea237f8dd236a82b0bc58c172672f8667537df61a3cce4052fb5777b130795291c4e6b59
 DIST opennebula-5.2.0.tar.gz 12220329 SHA256 b1360a050645a3d135dabb4e834b5c656a98018308fc7a2fabc214c0730eefa3 SHA512 e0095bb452198bbd72e946651a004005c0315137b9a7093226298138226f59630147e07ec66766ac8def74a580dc4f1f5d90739033d445b61d8f98fc2239ab58 WHIRLPOOL 1cce691266947583a1716a8d41ae449e69b30da750e253b898a6564f386e4378c4c0ad85077fa5fe864200bc17c9c4d626d899ba02e91b2d418e675503f67f7e
 DIST opennebula-5.2.1.tar.gz 12224129 SHA256 3864e209ffc99c474f5dd7eeebaf3c4c00ff51b0059680c63ee0ad4330f3a211 SHA512 f46d722b6fbea4406000dafeb0ed3d26c61e35645a8de028c39d160879af5ab93352a8f2407fc637b39d5a600d39015be3cc29af32d9fc69a678a8e8cf4f7400 WHIRLPOOL fbe685ec32fd02d65c60ad13f5e63d6f76b528084759e732b263d22218e10585f05808a3dab6022fea59f2fdc6920a7247685f808795c905204dcc743342eadc
+DIST opennebula-5.4.1.tar.gz 14652947 SHA256 424857591dffe1beb4891e1c4769d2824f254b594a1f2fb102fb351d67b03404 SHA512 e6660c44c7fcb1d32077b483814ccaad03bca0f6264671548b6ef9cc60f544b134ea3d9ade13a959340bb1f8c94cf08c8246ea929073cf89d6ee35f8b2e19904 WHIRLPOOL 46ee7f2052b935c1dff22b80f0432c56b03e405dbf6c799ff0aa3789920546af5e3b3951a6acb88d175d1e8164833fb11e087ea025a16eebebc0bf1f2ea7d11a
 EBUILD opennebula-4.14.2.ebuild 5992 SHA256 83518d6e6199aacd9c9f7c35bf5c0d88d905f34736773217819924850ae85a51 SHA512 cc18db5d7480f2067d95deb6a61df6c0a40a11ab9e4f6e2491fccdac34f349d527b6ffeedb2d2d2f04c3dba210c2a1316c635b4f69064a69bfd378ea0c4f9ebe WHIRLPOOL ec9208b6607382b3f3985d1c6255ec9c66455f9c1bf2ae8979b328216d35e9536ad7ce55b85e52f06c44af1dc7cb6174e1fb2faa1b45eff11c686a9dbabd7f16
 EBUILD opennebula-5.0.2.ebuild 5141 SHA256 d900142aae83b24902e288dac45e77c69c6a4cf525b2b264d89155754ae1f1b6 SHA512 bb795f1c68dfa232cdca9a67a50b892d2eaf3c5c43db2344864cfc81af25f1486f7762d721c1a29d39aae135c91d57cc1b5a37691e2500783bf546ba615d08a9 WHIRLPOOL 154ceb6990ba596f6d5abcabad3a686007eca1546deeee0e36594827ead744cf8851dfb08b89c32a9a833af15e808310cf283a130164a5abb3c5088d8a224e87
 EBUILD opennebula-5.2.0.ebuild 5178 SHA256 c4ed7aa44b496ff05820f993cfb51c420014afba40ff95c516ee71ea093f5e93 SHA512 d758667dd121fa812e420de93c7b18edd2d15582088c8f995f69028d8afd48d10a5d683d35a18f2b41d5ce4b568f93ae0e8df98b0f211b2168c77547365d212e WHIRLPOOL f3310dbb4c39f79a3dc142f0d032252a08d785c1937797876d8f5b1fc927a70e80e8256ca97f5ef535bb5922689af13fa01291665f39e4f6a8f6e8f56a66fa3a
 EBUILD opennebula-5.2.1.ebuild 5376 SHA256 db1366cd13a7622af290319fac459da7b6f16fc479d343172239d0e4ee71dd43 SHA512 d175ce386029b824ccd3f2f59a9f3c4cb607fe2548b49d8b8bb436542f46852553e5fe2dcacfcfac71a63710344148637bada6659758f3248552d1b31099768c WHIRLPOOL cb811f0007cffce360c4a73f758c6c531c3b1c721195d00e4a5afe3f8cb7a4e29a480b319add42fa3949d946b9ea3032140d37b99c869c1beb09bb09e8d6ee8d
+EBUILD opennebula-5.4.1.ebuild 5394 SHA256 6d51fc9f1dca059ec24ec5cb81bbfa34b21042d9579ef8fc9199a63d85da9e2a SHA512 a4fd17509e5363838e699abbb609c9ff33de519949aa61121ffc7551405e3204dd7e6f2e0c764fc80c4a8d3f7b68693fe92ffd54c47f36095d949758b653e1dd WHIRLPOOL e4e5db90f53365073c61df5622ca7ebdcb27908f30ab7ad9fc75f10d8a2bce01018069cca7e04c0fa2165052a7535c14c66667a76a618229e6ee915d2f9fc211
 MISC metadata.xml 471 SHA256 7e7ba4805811857e33a2374831129a50002448d7dcceb640585a4166103e4e63 SHA512 0be6058785693cef097e2b3ffcffbc7b0011719afcaaf4d10116f490dc23291bdbb9e91f42977c82ef002967a4cbd56f1bebe1f1e61a053a659250a54d7d67d1 WHIRLPOOL b7039f60c5f28c905a0332ff5cffc0c9ffa1ae8897faa927fb21bfbc909d11fcca95af2bf822c014f4d9c5ca325d3c1cd2446331bcb7f8b639a0a523dd14ad95

diff --git a/app-emulation/opennebula/opennebula-5.4.1.ebuild b/app-emulation/opennebula/opennebula-5.4.1.ebuild
new file mode 100644
index 0000000..9d48554
--- /dev/null
+++ b/app-emulation/opennebula/opennebula-5.4.1.ebuild
@@ -0,0 +1,186 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+inherit user eutils multilib ruby-ng systemd
+
+MY_P="opennebula-${PV/_/-}"
+
+DESCRIPTION="OpenNebula Virtual Infrastructure Engine"
+HOMEPAGE="http://www.opennebula.org/"
+SRC_URI="http://downloads.opennebula.org/packages/${PN}-${PV}/${PN}-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="qemu +mysql xen sqlite +extras systemd"
+
+RDEPEND=">=dev-libs/xmlrpc-c-1.18.02[abyss,cxx,threads]
+	dev-lang/ruby
+	extras? ( dev-libs/openssl
+		dev-ruby/libxml
+		net-misc/curl
+		dev-libs/libxslt
+		dev-libs/expat
+		dev-ruby/uuidtools
+		dev-ruby/amazon-ec2
+		dev-ruby/webmock
+		dev-ruby/mysql
+		dev-ruby/mysql2
+		dev-ruby/parse-cron
+		dev-ruby/sequel
+		dev-ruby/treetop
+		dev-ruby/xml-simple
+		dev-ruby/zendesk_api
+		dev-libs/log4cpp )
+	mysql? ( virtual/mysql )
+	dev-db/sqlite
+	net-misc/openssh
+	|| ( app-cdr/cdrkit app-cdr/cdrtools )
+	sqlite? ( dev-ruby/sqlite3 )
+	qemu? ( app-emulation/libvirt[libvirtd,qemu] )
+	xen? ( app-emulation/xen-tools )"
+DEPEND="${RDEPEND}
+	>=dev-util/scons-1.2.0-r1
+	dev-ruby/nokogiri"
+
+# make sure no eclass is running tests
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${PV}"
+
+ONEUSER="oneadmin"
+ONEGROUP="oneadmin"
+
+pkg_setup () {
+	enewgroup ${ONEGROUP}
+	enewuser ${ONEUSER} -1 /bin/bash /var/lib/one ${ONEGROUP}
+}
+
+src_unpack() {
+	default
+}
+
+src_prepare() {
+	sed -i -e 's|chmod|true|' install.sh || die "sed failed"
+}
+
+src_configure() {
+	:
+}
+
+src_compile() {
+
+	local myconf
+	use extras && myconf+="new_xmlrpc=yes "
+	use mysql && myconf+="mysql=yes " || myconf+="mysql=no "
+	scons \
+		${myconf} \
+		$(sed -r 's/.*(-j\s*|--jobs=)([0-9]+).*/-j\2/' <<< ${MAKEOPTS}) \
+		|| die "building ${PN} failed"
+}
+
+src_install() {
+	DESTDIR=${T} ./install.sh -u ${ONEUSER} -g ${ONEGROUP} || die "install failed"
+
+	cd "${T}"
+
+	# installing things for real
+	dobin bin/*
+
+	keepdir /var/{lib,run}/${PN} || die "keepdir failed"
+
+	dodir /usr/$(get_libdir)/one
+	dodir /var/lock/one
+	dodir /var/log/one
+	dodir /var/lib/one
+	dodir /var/run/one
+	dodir /var/tmp/one
+	# we have to preserve the executable bits
+	cp -a lib/* "${D}/usr/$(get_libdir)/one/" || die "copying lib files failed"
+
+	insinto /usr/share/doc/${PF}
+	doins -r share/examples
+
+	dodir /var/lib/one
+	dodir /var/lib/one/vms
+	dodir /usr/share/one
+	dodir /etc/tmpfiles.d
+	# we have to preserve the executable bits
+	cp -a var/remotes "${D}/var/lib/one/" || die "copying remotes failed"
+	cp -a share/* "${D}/usr/share/one/" || die "copying share failed"
+
+	doenvd "${FILESDIR}/99one"
+
+	newinitd "${FILESDIR}/opennebula.initd" opennebula
+	newinitd "${FILESDIR}/sunstone-server.initd" sunstone-server
+	newinitd "${FILESDIR}/oneflow-server.initd" oneflow-server
+	newconfd "${FILESDIR}/opennebula.confd" opennebula
+	newconfd "${FILESDIR}/sunstone-server.confd" sunstone-server
+	newconfd "${FILESDIR}/oneflow-server.confd" oneflow-server
+
+	use systemd && systemd_dounit "${FILESDIR}"/opennebula{,-sunstone,-econe,-oneflow,-onegate}.service
+
+	insinto /etc/one
+	insopts -m 0640
+	doins -r etc/*
+	doins "${FILESDIR}/one_auth"
+
+	insinto /etc/tmpfiles.d
+	doins "${FILESDIR}/tmpfilesd.opennebula.conf"
+
+}
+
+pkg_postinst() {
+
+
+	chown -R oneadmin:oneadmin ${ROOT}var/{lock,lib,log,run,tmp}/one
+	chown -R oneadmin:oneadmin ${ROOT}usr/share/one
+	chown -R oneadmin:oneadmin ${ROOT}etc/one
+	chown -R oneadmin:oneadmin ${ROOT}usr/lib/one
+
+	local onedir="${EROOT}var/lib/one"
+	if [ ! -d "${onedir}/.ssh" ] ; then
+		einfo "Generating ssh-key..."
+		umask 0027 || die "setting umask failed"
+		mkdir "${onedir}/.ssh" || die "creating ssh directory failed"
+		ssh-keygen -q -t dsa -N "" -f "${onedir}/.ssh/id_dsa" || die "ssh-keygen failed"
+		cat > "${onedir}/.ssh/config" <<EOF
+UserKnownHostsFile /dev/null
+Host *
+    StrictHostKeyChecking no
+EOF
+		cat "${onedir}/.ssh/id_dsa.pub"  >> "${onedir}/.ssh/authorized_keys" || die "adding key failed"
+		chown -R ${ONEUSER}:${ONEGROUP} "${onedir}/.ssh" || die "changing owner failed"
+	fi
+
+	if use qemu ; then
+		elog "Make sure that the user ${ONEUSER} has access to the libvirt control socket"
+		elog "  /var/run/libvirt/libvirt-sock"
+		elog "You can easily check this by executing the following command as ${ONEUSER} user"
+		elog "  virsh -c qemu:///system nodeinfo"
+		elog "If not using using policykit in libvirt, the file you should take a look at is:"
+		elog "  /etc/libvirt/libvirtd.conf (look for the unix_sock_*_perms parameters)"
+		elog "Failure to do so may lead to nodes hanging in PENDING state forever without further notice."
+		echo ""
+		elog "Should a node hang in PENDING state even with correct permissions, try the following to get more information."
+		elog "In /tmp/one-im execute the following command for the biggest one_im-* file:"
+		elog "  ruby -wd one_im-???"
+		echo ""
+		elog "OpenNebula doesn't allow you to specify the disc format."
+		elog "Unfortunately the default in libvirt is not to guess and"
+		elog "it therefores assumes a 'raw' format when using qemu/kvm."
+		elog "Set 'allow_disk_format_probing = 0' in /etc/libvirt/qemu.conf"
+		elog "to work around this until OpenNebula fixes it."
+	fi
+
+	elog "If you wish to use the sunstone server, please issue the command"
+	#elog "/usr/share/one/install_gems as oneadmin user"
+	elog "gem install sequel thin json rack sinatra builder treetop zendesk_api mysql parse-cron"
+
+
+}
+


^ permalink raw reply related	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2020-09-20  2:39 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-11  0:57 [gentoo-commits] repo/user/ssnb:master commit in: app-emulation/opennebula/ Samuel Bernardo
  -- strict thread matches above, loose matches on Subject: below --
2020-09-20  2:39 Samuel Bernardo
2020-06-12 22:33 Samuel Bernardo
2020-05-11  0:33 Samuel Bernardo
2020-05-11  0:02 Samuel Bernardo
2020-05-04 23:28 Samuel Bernardo
2020-05-04 19:48 Samuel Bernardo
2020-05-04 15:42 Samuel Bernardo
2020-05-04 13:42 Samuel Bernardo
2020-05-04  4:06 Samuel Bernardo
2020-05-04  3:20 Samuel Bernardo
2020-05-04  3:20 Samuel Bernardo
2020-05-04  2:30 Samuel Bernardo
2020-03-25 23:53 Samuel Bernardo
2019-04-11  0:36 Samuel Bernardo
2018-07-28 17:41 Samuel Bernardo
2018-06-24 22:53 Samuel Bernardo
2018-06-24 22:30 Samuel Bernardo
2018-06-24 11:50 Samuel Bernardo
2018-06-23 18:40 Samuel Bernardo
2018-05-08 19:55 Samuel Bernardo
2018-02-02 23:41 Samuel Bernardo
2017-10-01 15:29 Samuel Bernardo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox