public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/user/ssnb:master commit in: www-apps/gitlabhq/, app-emulation/opennebula/, www-servers/unicorn/, ...
@ 2019-09-13  8:18 Samuel Bernardo
  0 siblings, 0 replies; only message in thread
From: Samuel Bernardo @ 2019-09-13  8:18 UTC (permalink / raw
  To: gentoo-commits

commit:     11581c3d7e7338146853f9ac5e15c039de1c099a
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Fri Sep 13 08:17:47 2019 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Fri Sep 13 08:17:47 2019 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=11581c3d

Review QA checks as mentioned in https://bugs.gentoo.org/690862

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

 app-emulation/opennebula/Manifest                  |   6 -
 app-emulation/opennebula/opennebula-4.14.2.ebuild  | 240 ---------
 app-emulation/opennebula/opennebula-5.4.1.ebuild   | 186 -------
 app-emulation/opennebula/opennebula-5.4.6.ebuild   | 186 -------
 www-apps/gitlabhq/Manifest                         |  20 -
 www-apps/gitlabhq/files/config.ssh                 |  10 -
 www-apps/gitlabhq/files/gitlab.logrotate           |  10 -
 .../files/gitlabhq-10.0-fix-checks-gentoo.patch    |  11 -
 .../files/gitlabhq-10.0-fix-sendmail-param.patch   |  17 -
 .../gitlabhq/files/gitlabhq-10.0-mailroom.service  |  28 --
 .../gitlabhq/files/gitlabhq-10.0-sidekiq.service   |  28 --
 .../gitlabhq/files/gitlabhq-10.0-tmpfiles.conf     |   1 -
 .../gitlabhq/files/gitlabhq-10.0-unicorn.service   |  25 -
 .../gitlabhq/files/gitlabhq-10.0-workhorse.service |  25 -
 www-apps/gitlabhq/files/gitlabhq-10.0.init         | 115 -----
 .../files/gitlabhq-8.14-fix-checks-gentoo.patch    |  11 -
 .../files/gitlabhq-8.14-fix-sendmail-param.patch   |  17 -
 www-apps/gitlabhq/files/gitlabhq-8.14.init         |  92 ----
 .../files/gitlabhq-8.15-fix-checks-gentoo.patch    |  11 -
 .../files/gitlabhq-8.15-fix-sendmail-param.patch   |  17 -
 www-apps/gitlabhq/files/gitlabhq-8.15.init         |  92 ----
 .../files/gitlabhq-8.16-fix-checks-gentoo.patch    |  11 -
 .../files/gitlabhq-8.16-fix-sendmail-param.patch   |  17 -
 www-apps/gitlabhq/files/gitlabhq-8.16.init         |  92 ----
 www-apps/gitlabhq/gitlabhq-10.0.3.ebuild           | 556 ---------------------
 www-servers/unicorn/Manifest                       |   3 -
 www-servers/unicorn/metadata.xml                   |   8 -
 www-servers/unicorn/unicorn-5.1.0.ebuild           |  48 --
 28 files changed, 1883 deletions(-)

diff --git a/app-emulation/opennebula/Manifest b/app-emulation/opennebula/Manifest
index a0b766f..ca7198b 100644
--- a/app-emulation/opennebula/Manifest
+++ b/app-emulation/opennebula/Manifest
@@ -19,18 +19,12 @@ AUX sunstone-server.initd 788 BLAKE2B e49f736213f0575d9a040058eff5accd36b00070ed
 AUX tmpfilesd.opennebula.conf 81 BLAKE2B 468a40c6d3be093a4adbee5662559f2a00764b1e6f06ff5df46b3ff14cd9a94ea56c213da1f9c727090587f6626d69f38548bf140175e5c56495c60f9d3332c9 SHA512 ae6d06a91877b7135697c2f6202e182bbd0166ee2568b587c915582da5bada4ca1dfb70e13586ad69eebcd6f802cd00de3f7d362b1bfd552fe0837bf729d5edd
 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.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
 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
 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
 EBUILD opennebula-5.6.1.ebuild 5394 BLAKE2B 9298d0c8dd1deb510b5de5e74fac171da4a706f4346c0178425340d6d5c2bbcc4eed45d461ba0f5fa4db88abab73f6cad97472ef26f5d0523689444703281bfd SHA512 bbe4e1977788043a79270b1b3d1a9b5478df4781b7fbe75bc6df6f03d1427d5bcf6840bc34ccb18233c2aaf4234c9bd6648f020910baaa68582ca68f712becef
 EBUILD opennebula-5.8.1.ebuild 5419 BLAKE2B 4c38582d41d7bc352966bbeb3dbe42eb83aeac3c6589ecb4f68a87ea08f9855aea062b6e14012bbd17f6b18ad67e31f3d5da86bf23d0cbb44280d34496045da0 SHA512 a3506dc7d4f6d37136ef55da86d340fe477749a10c1a07b4b2c86692b5f06646f72cfbbdb4d57a55f841c0a0ecf7eef125fc22ed16ccfaae84c4adbe9b0b6b6b

diff --git a/app-emulation/opennebula/opennebula-4.14.2.ebuild b/app-emulation/opennebula/opennebula-4.14.2.ebuild
deleted file mode 100644
index 56fba6a..0000000
--- a/app-emulation/opennebula/opennebula-4.14.2.ebuild
+++ /dev/null
@@ -1,240 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-#
-# Official documentation
-#  * Build dependencies - http://docs.opennebula.org/4.14/integration/references/build_deps.html
-#  * Building from source - http://docs.opennebula.org/4.14/integration/references/compile.html
-#
-# Inspired by 
-#  * http://gpo.zugaina.org/app-emulation/opennebula/ChangeLog
-#  * https://github.com/himbeere/opennebula
-#
-
-EAPI=5
-USE_RUBY="ruby20 ruby21"
-
-inherit eutils multilib user ruby-ng
-
-DESCRIPTION="OpenNebula exists to help companies build simple, cost-effective, reliable, open enterprise clouds on existing IT infrastructure."
-HOMEPAGE="http://www.opennebula.org/"
-SRC_URI="http://downloads.opennebula.org/packages/${P}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64"
-
-IUSE="-flow frontend -gate -node mysql -sqlite -sunstone syslog qemu -xen"
-REQUIRED_USE="
-	?? ( node frontend )
-	node? ( ||  ( !flow !frontend !gate !sunstone qemu xen ) )
-	frontend? ( || ( mysql sqlite ) )
-	flow? ( frontend )
-	gate? ( frontend )
-	sunstone? ( frontend )
-"
-
-ONE_DEPEND="
-	>=dev-ruby/sequel-4
-	dev-ruby/json
-	dev-ruby/rack
-	dev-ruby/sinatra
-	www-servers/thin
-"
-
-RDEPEND="
-	dev-libs/libxml2
-	net-misc/openssh
-	sys-apps/pciutils
-	sys-apps/usbutils
-	>=dev-libs/xmlrpc-c-1.31[abyss,cxx,threads]
-	>=dev-lang/ruby-1.8.7
-	>=dev-libs/openssl-0.9.8
-	!node? (
-		mysql? ( 
-			>=virtual/mysql-5.5
-			dev-ruby/mysql2
-		)
-		sqlite? (
-			dev-db/sqlite:3
-			dev-ruby/sqlite3
-		)
-		syslog? (
-			dev-libs/log4cpp
-			virtual/logger
-		)
-		flow? (${ONE_DEPEND})
-		gate? (${ONE_DEPEND})
-		sunstone? (
-			${ONE_DEPEND}
-			www-apps/novnc
-		)
-	)
-    qemu? ( 
-		app-emulation/libvirt[libvirtd,qemu]
-		app-emulation/qemu[vnc]
-	)
-	xen? (
-		app-emulation/xen-tools
-	)
-"
-DEPEND="
-	>=dev-util/scons-1.2.0-r1
-	${RDEPEND}
-"
-
-ruby_add_rdepend "
-	dev-ruby/nokogiri
-	dev-ruby/crack
-	dev-ruby/curb
-"
-
-# make sure no eclass is running tests
-RESTRICT="test"
-
-# opennebula-4.12.0/work/opennebula-4.12.0
-S="${S}/${P}"
-
-ONEUSER="oneadmin"
-ONEGROUP="oneadmin"
-
-pkg_setup () {
-	enewgroup ${ONEGROUP}
-	if use qemu; then
-		enewuser ${ONEUSER} -1 /bin/bash /var/lib/one "${ONEGROUP},kvm,qemu"
-	else
-		enewuser ${ONEUSER} -1 /bin/bash /var/lib/one "${ONEGROUP}"
-	fi
-}
-
-src_unpack() {
-	default
-}
-
-src_prepare() {
-    epatch "${FILESDIR}/OpenNebulaVNC.rb.diff"
-    epatch "${FILESDIR}/websocketproxy.py.diff"
-    epatch "${FILESDIR}/websocket.py.diff"
-}
-
-
-src_configure() {
-	:
-}
-
-src_compile() {
-	local myconf="new_xmlrpc=yes "
-
-	use mysql \
-		&& myconf+="mysql=yes " \
-		|| myconf+="mysql=no "
-
-	use sqlite \
-		&& myconf+="sqlite=yes " \
-		|| myconf+="sqlite=no "
-
-	use syslog \
-		&& myconf+="syslog=yes "
-
-	# FIXME
-	# creates minified css and js only, it is not required for sunstone to run
-	# fails because it needs grunt, sass and possibly something else
-	#use sunstone \
-	#	&& myconf+="sunstone=yes "
-
-	if use frontend; then
-		scons \
-			${myconf} \
-			$(sed -r 's/.*(-j\s*|--jobs=)([0-9]+).*/-j\2/' <<< ${MAKEOPTS}) \
-			|| die "building ${PN} failed"
-	fi
-}
-
-src_install() { 
-	if use node; then
-		src_install_node
-	elif use frontend; then
-		src_install_frontend
-	fi
-}
-
-src_install_node() {
-	dodir /var/{lib,log,run,tmp}/one /var/lib/one/{datastores,remotes} || die "dodir failed"
-}
-
-src_install_frontend() {
-	DESTDIR="${T}/one" ./install.sh -u "$ONEUSER" -g "$ONEGROUP"
-	cd "${T}/one"
-	# installing things for real
-	dodir /var/{lib,lock,log,run,tmp}/one /var/lib/one/datastores /usr/$(get_libdir)/one /usr/share/one  || die "dodir failed"
-	cp -a lib/* "${D}/usr/$(get_libdir)/one/" || die "copying lib files failed"
-	cp -a var/remotes "${D}/var/lib/one/" || die "copying remotes failed"
-	cp -a share/websockify "${D}/usr/share/one/" || die "copying websockify failed"
-	dobin bin/*
-    doman share/man/*/*[0-9].gz
-	insinto /usr/share/doc/${PF}
-	doins -r share/docs/*
-	doins -r share/examples
-	doenvd "${FILESDIR}/99one"
-	newinitd "${FILESDIR}/opennebula.initd" opennebula
-	newconfd "${FILESDIR}/opennebula.confd" opennebula
-	newinitd "${FILESDIR}/sunstone-server.initd" sunstone-server
-	newconfd "${FILESDIR}/sunstone-server.confd" sunstone-server
-	newinitd "${FILESDIR}/oneflow-server.initd" oneflow-server
-	newconfd "${FILESDIR}/oneflow-server.confd" oneflow-server
-	insinto /etc/one
-	insopts -m 0640
-	doins -r etc/*
-	doins "${FILESDIR}/one_auth"
-	doins "${FILESDIR}/tmpfilesd.opennebula.conf"
-	fowners -R root:${ONEGROUP} /etc/one
-	fowners ${ONEUSER}:${ONEGROUP} /etc/one/one_auth
-}
-
-src_install_sunstone() {
-	:
-}
-
-src_install_gate() {
-	:
-}
-
-src_install_flow() {
-	:
-}
-
-pkg_postinst() {
-	chown -R oneadmin:oneadmin ${ROOT}var/{lock,lib,log,run,tmp}/one
-
-	if use qemu ; then
-		elog "Make sure that the user ${ONEUSER} has access to the libvirt"
-		elog "control socket /var/run/libvirt/libvirt-sock"
-		elog "To check this as ${ONEUSER} user issue command:"
-		elog "  virsh -c qemu:///system nodeinfo"
-		echo ""
-		elog "Make sure to set user = ${ONEUSER} and group = ${ONEGROUP} and"
-		elog "dynamic_ownership = 0 in /etc/libvirt/qemu.conf."
-		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
-
-
-#	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
-}

diff --git a/app-emulation/opennebula/opennebula-5.4.1.ebuild b/app-emulation/opennebula/opennebula-5.4.1.ebuild
deleted file mode 100644
index 9d48554..0000000
--- a/app-emulation/opennebula/opennebula-5.4.1.ebuild
+++ /dev/null
@@ -1,186 +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 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"
-
-
-}
-

diff --git a/app-emulation/opennebula/opennebula-5.4.6.ebuild b/app-emulation/opennebula/opennebula-5.4.6.ebuild
deleted file mode 100644
index 9d48554..0000000
--- a/app-emulation/opennebula/opennebula-5.4.6.ebuild
+++ /dev/null
@@ -1,186 +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 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"
-
-
-}
-

diff --git a/www-apps/gitlabhq/Manifest b/www-apps/gitlabhq/Manifest
deleted file mode 100644
index f7707cc..0000000
--- a/www-apps/gitlabhq/Manifest
+++ /dev/null
@@ -1,20 +0,0 @@
-AUX config.ssh 245 SHA256 5bf5d5a357e88b71e14a12bb28ea68d0286ed29118045aa944484b84b6fa5e4b SHA512 52dbec481cd45136e72370713ab20a41616dccb252e75b884b66e2494aaefe7795719169906dcad5030dcbe33201d021bdad1f7a99120ac40a64611290ff8759 WHIRLPOOL 9b991ad20787e0e7274136ddb8e22e1082360d580f8576feb722730b5c3f3fa22992f671f7916e191052a78d8d688d32044b39059dc7146d14c2da57fa891214
-AUX gitlab.logrotate 191 SHA256 9c02c26f5faa443cd576599462c6a8206d62495ab9671098a5f0e379f216541b SHA512 2212a8e5f2d4704256d5abb92b5a1201b20f82b04610758e734d163792a60b78f482017510169666a70ed9352b171177d05237ffe87988cacb764c5ef7ba5443 WHIRLPOOL f61297015311316554e63af4822b8d274f5a2378e829e5c14bb22e642b0d83023446acff45a13aa354f127543ce1552c99488b92ed8f39d86959343c7e67bbee
-AUX gitlabhq-10.0-fix-checks-gentoo.patch 576 SHA256 c391db8dc1edd4724c4014c370a5578ff39347ef0a2e95b91b25123d977158b0 SHA512 47a11c350e297c831540de36c84b350b142e48dd05451642b5261eb2059cd12e8288b2e9e27fc2050e9b5d65beaeafa903f8e1457a41131ca602687d3f95ce94 WHIRLPOOL 58dd6867684e037750af3b7cd016933c82e04c04f34ee3a82c505254159687205a71f6d6c205215c2db3fe74fd2f9dcffc00cb20b67970778e04c234cb05e6ef
-AUX gitlabhq-10.0-fix-sendmail-param.patch 617 SHA256 c0b6db990f5b0fd0c588f2e35eb3aac54ce54d9b41b350e7bcd54336cdc19462 SHA512 4234563b2d8eb5814fd8d9910a50fb867e444052639feebb192bb105471eae9038a076a5288b14e3fbb997311824853bea9d9c4833b4854b7f0252b826f22358 WHIRLPOOL 06f19a23028a6b83dd6ff2f9ec406af5e5f5e2c0a5879ab66585ce7b3d070170e29407c2ab9915c4afb75a23038e178295213db99ac514d865f4c1db57b22774
-AUX gitlabhq-10.0-mailroom.service 823 SHA256 352c7f98ff6d0f8f221083d69cce1f64c4abf4a037eeccc1e4078970231966fa SHA512 7beb1a7c55610c671b709f56d9f4df8cebbd7fc81dc8a7af18666d46a0f2d4cc3c0b24a6fc5e8b41f0e2de86fb22a28b1a3702243e26aae4426ffa588f7f5a0b WHIRLPOOL 92bd3bf102bc4c657b605b45e2564920d229a2819ad2069b4f4a67d1cbf20647dbccf9026dc15d1e4d052a48167422fd969c0b2c003f6d4557a20b34a5507140
-AUX gitlabhq-10.0-sidekiq.service 1056 SHA256 4c90ac82a415b437fbe30116b0c709fdff1d7589b3e5364f4e6c6c10dca67b3f SHA512 b41a0ab0517426b2433c8bb085983617bc71bc00d405eab040ceb469f0cb448c2ca5fcc7efe545e769b5a3ad73d0d4173187699e3a17045f3fcca772633f0d20 WHIRLPOOL 4bb7a3b0f1bb83f5364b00bca62c53015611f5ee397a1d2cb3259c48c2316bcba2d3fda348fdb5dd9e8bbc6611e13c0de99aa2eccdd3b171333bad2fa9fd1e85
-AUX gitlabhq-10.0-tmpfiles.conf 43 SHA256 eabee99b2408717c7e246162f531e2d9e6422a06a0751626a9eb3983d41d234b SHA512 e1a4baff93a648166574b34750e889840ffddf56bcc8d2aaa4e11f1a94ae0618ee54716fcbabcfad27c8a539fdf8fb2681e9a6dbe749ba16d9207c4045e73796 WHIRLPOOL 239693111215cb685980bf1bbbf8473c84965f736d60bc022fc24692075c5e5ecf49f7cd4f395f703bc1de59cb84454fa1c98017e4c50cf83c3f67ab01015691
-AUX gitlabhq-10.0-unicorn.service 817 SHA256 de014afb92dfafb58e00c507a5ac9597160569ea8408540b38eb603a192391e8 SHA512 57b1f5ec8224edcf3cbb0038fc62df3a3b6a1cf9d5436e5632bd998318c6f615722b012408d0db3013e34c4f44dc866a3d471af88666d55caa18e0e4bd056512 WHIRLPOOL 857e48495f1b80e409146eab07cff35414222c0a9bffab10ad1da85b838af5ee8d16501e5b9a5e4f5f493b4b3bf69d0c084d7b7cc45eb00c7434da77b9edbcb9
-AUX gitlabhq-10.0-workhorse.service 1104 SHA256 991f990390715c895fe4c12df6def03ab2a03120b9a2cc6f89e0e70560cbbd7d SHA512 e4dd8e39001ae07857a8d87e82eca105a0cfbf87f7dc341227e19dd80b6bdddf308f5bba79d5d5bc87f935d86b5435af94c1f6d8c829d45d17f31b776fa5b057 WHIRLPOOL 263e5a710519a611772c6d4f036e8794c474eb27b5009bda8a38fe3932a13fa1f0a29fb72a9aebe85d3b9ec6f9347501f4bcffac80d206f25b8224e50024c9b0
-AUX gitlabhq-10.0.init 3989 SHA256 544ed91c18c3fe658defd47eb82dab5ce52eb968b7bc6e8ae800ccada6eb5c8f SHA512 451d3a8c3f4cd8bea624066fd8ff3655bb343531bc297ac7b1df2ebcc21bc36bd29c084797e2f14788c701a2fc7178098fadbb4730ce9fdc9e9bbfcaef839029 WHIRLPOOL 92cfe0cdd161db5d36240706234561b8336feaba5202cd12fc7e07ff0a433e1a35651e78a9520792dc49ea1c8aa39474a54176cab95bc5a26718d45ce97925b6
-AUX gitlabhq-8.14-fix-checks-gentoo.patch 390 SHA256 60324945dfff6d236faf7959a75089a782018b048ba1cb846b91e14109673236 SHA512 0ac979616639fdd9b9534c9e7c0ad3263f39fa10e6858a6c8cf401a3234d5ef20201fd97e2a5a39071dcf98fb7ca7a48b41d18db7689103e996baf65ae9f00ea WHIRLPOOL 98c46a4b4bafeb870425f437506b202c0c836b4df8763a3716d2cf21da73b04ffd0c31a6222317cf22e550a7676b463771038b595c1b2f9d491955dd0a82885a
-AUX gitlabhq-8.14-fix-sendmail-param.patch 617 SHA256 685ad4c2307477b6f389db9b37048beb63af5a556669859d48d137c7b8b3687a SHA512 092aedb88d892d086128d76a0442ba81dc1b2e573322c7f33fad00a1b56dd035f596de82568463043fcfd02e4e30a81b6d42f83a2052144d133c5edffaa8edd1 WHIRLPOOL 61aaa2c1d8b8476f24f34257d29ac482dc38e503560a71de5511c62f1c86aa1ca3cec67272c2db42df36c6cc80688b6f1b60f0de7bb23e71f7daabf9746f70a7
-AUX gitlabhq-8.14.init 2987 SHA256 37d01155d681a17cb669ffbd8e32d127a79f0fbc3864f941e5444efcd2114859 SHA512 e5395f6ff8e3e65ee8a856d93cdfa6a3c063f0cc160c2e86ced93d6d62430ee9b841ee20e902b8c49843d3c737b2f690b0478ff190bbf107692a4bb12cb090f5 WHIRLPOOL 1bee9675ca1856efd5b1587b64b5ba3a26df340ad9044a4b3d239bec00e24d931e48083c7a4dee60bd5082c9b580ecd5d251ff1f1987e094e4cb2bc15af8a237
-AUX gitlabhq-8.15-fix-checks-gentoo.patch 390 SHA256 60324945dfff6d236faf7959a75089a782018b048ba1cb846b91e14109673236 SHA512 0ac979616639fdd9b9534c9e7c0ad3263f39fa10e6858a6c8cf401a3234d5ef20201fd97e2a5a39071dcf98fb7ca7a48b41d18db7689103e996baf65ae9f00ea WHIRLPOOL 98c46a4b4bafeb870425f437506b202c0c836b4df8763a3716d2cf21da73b04ffd0c31a6222317cf22e550a7676b463771038b595c1b2f9d491955dd0a82885a
-AUX gitlabhq-8.15-fix-sendmail-param.patch 617 SHA256 34e84a76399a55ee25386a5869a42e2973e929bf3b97d1bb3247de1bffe7f063 SHA512 1d11e2942337a4e00d47fef6997173ef50c89330b70569bdb07bcd29dbc28071088825e7f5bd2380c131ae11b818fe6de40fe96ea498a0666a1290553fd66469 WHIRLPOOL 9d4ecfaa9030abb363f760dc31fae616a64a4987fe566a7a2c38bbe5117e98af25a190016ed65a1fa26db62b110523a2baf6c3b83dc945185fc091f6b3722bfb
-AUX gitlabhq-8.15.init 2987 SHA256 f72b2d23034a29c958d661feb9f608e138ab65e70a62929bb248e7d8d447dea4 SHA512 0b54b15e7e622e0821b8218423d2a43a8a054e971d42bc7084aaaf160dbaedec1ab224ad6a2d2b6a79e54b8dd6d40a5a3eaafffee6a6a5cf7c4a365c856273cd WHIRLPOOL 1c107c4e3b2c31cdb36a60c5a7b6ef2f54cd56aa3bef8120cfd82e0948b11a70eaa2a38a4a2c12936b2372b3b6c38b140977fdba1f6547ca659254e44309e178
-AUX gitlabhq-8.16-fix-checks-gentoo.patch 390 SHA256 60324945dfff6d236faf7959a75089a782018b048ba1cb846b91e14109673236 SHA512 0ac979616639fdd9b9534c9e7c0ad3263f39fa10e6858a6c8cf401a3234d5ef20201fd97e2a5a39071dcf98fb7ca7a48b41d18db7689103e996baf65ae9f00ea WHIRLPOOL 98c46a4b4bafeb870425f437506b202c0c836b4df8763a3716d2cf21da73b04ffd0c31a6222317cf22e550a7676b463771038b595c1b2f9d491955dd0a82885a
-AUX gitlabhq-8.16-fix-sendmail-param.patch 617 SHA256 c0b6db990f5b0fd0c588f2e35eb3aac54ce54d9b41b350e7bcd54336cdc19462 SHA512 4234563b2d8eb5814fd8d9910a50fb867e444052639feebb192bb105471eae9038a076a5288b14e3fbb997311824853bea9d9c4833b4854b7f0252b826f22358 WHIRLPOOL 06f19a23028a6b83dd6ff2f9ec406af5e5f5e2c0a5879ab66585ce7b3d070170e29407c2ab9915c4afb75a23038e178295213db99ac514d865f4c1db57b22774
-AUX gitlabhq-8.16.init 2987 SHA256 d8788979fec8a05c241fc692d586537e4715c7894b5d70fd471a701913f19166 SHA512 16922aa485c99c4e30def0fed80ce883ac2786b9714070f84b09c019314deb513b8bfba8906ff67548738c0a039996e000a730bc6ad682fac5b979ebf0132c31 WHIRLPOOL dae5bfa2c77df41afe8b60634f91661dcd48ea7bbcce81fce361d7b4e8117011008f995393a8c6401ba9601c18ba94bd0a60fe5d5ad5a7d5d45b317ca8bf5ab3
-EBUILD gitlabhq-10.0.3.ebuild 19226 SHA256 78e9e0c9d23685e78c42a27c118322e28ea462b0fa13f494c4dd599eff7921ec SHA512 661f95a3e57cf49276b1241c98f164ba224f1d97e574a3ff390a919e5b560f9f8175758e3b4ac993f7bf54cc01c1c38cc2e7bd8171c841051a38482f870369ff WHIRLPOOL aee47a5504f23d17becd243ea3232bd8aae6ef077c6a6fa9dcf187ae2bfc86c28090732db27443e02b4a5f87b4dd3c52aab9166d006734331c62f9b1957b68f5

diff --git a/www-apps/gitlabhq/files/config.ssh b/www-apps/gitlabhq/files/config.ssh
deleted file mode 100644
index ef23718..0000000
--- a/www-apps/gitlabhq/files/config.ssh
+++ /dev/null
@@ -1,10 +0,0 @@
-Host localhost
-  StrictHostKeyChecking no
-  UserKnownHostsFile=/dev/null
-  BatchMode yes
-  CheckHostIP no
-  AddressFamily inet
-  PreferredAuthentications publickey
-  ControlMaster auto
-  ControlPath ~/.ssh/ssh-%r-%h:%p.sock
-  ControlPersist 24h

diff --git a/www-apps/gitlabhq/files/gitlab.logrotate b/www-apps/gitlabhq/files/gitlab.logrotate
deleted file mode 100644
index 569b297..0000000
--- a/www-apps/gitlabhq/files/gitlab.logrotate
+++ /dev/null
@@ -1,10 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-@LOG_DIR@/*.log {
-	missingok
-	delaycompress
-	compress
-	copytruncate
-}

diff --git a/www-apps/gitlabhq/files/gitlabhq-10.0-fix-checks-gentoo.patch b/www-apps/gitlabhq/files/gitlabhq-10.0-fix-checks-gentoo.patch
deleted file mode 100644
index 61e5979..0000000
--- a/www-apps/gitlabhq/files/gitlabhq-10.0-fix-checks-gentoo.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/tasks/gitlab/check.rake.orig	2017-07-03 11:26:11.483241898 +0200
-+++ lib/tasks/gitlab/check.rake	2017-07-03 11:26:30.189242167 +0200
-@@ -27,8 +27,6 @@
-         SystemCheck::App::UploadsDirectoryExistsCheck,
-         SystemCheck::App::UploadsPathPermissionCheck,
-         SystemCheck::App::UploadsPathTmpPermissionCheck,
--        SystemCheck::App::InitScriptExistsCheck,
--        SystemCheck::App::InitScriptUpToDateCheck,
-         SystemCheck::App::ProjectsHaveNamespaceCheck,
-         SystemCheck::App::RedisVersionCheck,
-         SystemCheck::App::RubyVersionCheck,

diff --git a/www-apps/gitlabhq/files/gitlabhq-10.0-fix-sendmail-param.patch b/www-apps/gitlabhq/files/gitlabhq-10.0-fix-sendmail-param.patch
deleted file mode 100644
index d905fe9..0000000
--- a/www-apps/gitlabhq/files/gitlabhq-10.0-fix-sendmail-param.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- gitlabhq-8.7.5/config/environments/production.rb.orig	2016-05-20 17:01:56.043486847 +0200
-+++ gitlabhq-8.7.5/config/environments/production.rb	2016-05-20 17:02:35.8.1696032 +0200
-@@ -70,10 +70,10 @@
- 
-   config.action_mailer.delivery_method = :sendmail
-   # Defaults to:
--  # # config.action_mailer.sendmail_settings = {
--  # #   location: '/usr/sbin/sendmail',
--  # #   arguments: '-i -t'
--  # # }
-+  config.action_mailer.sendmail_settings = {
-+    location: '/usr/sbin/sendmail',
-+    arguments: '-i'
-+  }
-   config.action_mailer.perform_deliveries = true
-   config.action_mailer.raise_delivery_errors = true
- 

diff --git a/www-apps/gitlabhq/files/gitlabhq-10.0-mailroom.service b/www-apps/gitlabhq/files/gitlabhq-10.0-mailroom.service
deleted file mode 100644
index 226c6fb..0000000
--- a/www-apps/gitlabhq/files/gitlabhq-10.0-mailroom.service
+++ /dev/null
@@ -1,28 +0,0 @@
-#####################################################
-#
-# GitLab version    : 8.x - 8.x
-# Contributors      : davispuh, mtorromeo, axilleas, boeserwolf91, Stefan Tatschner (rumpelsepp), firelizzard
-# Originally from   : https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
-#
-####################################################
-
-[Unit]
-Description=Gitlab mailroom Worker
-Requires=gitlab-unicorn.service
-Wants=gitlab-unicorn.service
-After=gitlab-unicorn.service
-
-[Service]
-User=git
-Environment=RAILS_ENV=production
-WorkingDirectory=/opt/gitlabhq-10.0
-SyslogIdentifier=gitlab-mailroom
-PIDFile=/opt/gitlabhq-10.0/tmp/pids/gitlab-mailroom.pid
-Type=oneshot
-RemainAfterExit=yes
-
-ExecStart=/opt/gitlabhq-10.0/bin/mail_room start
-ExecStop=/opt/gitlabhq-10.0/bin/mail_room stop
-
-[Install]
-WantedBy=multi-user.target
\ No newline at end of file

diff --git a/www-apps/gitlabhq/files/gitlabhq-10.0-sidekiq.service b/www-apps/gitlabhq/files/gitlabhq-10.0-sidekiq.service
deleted file mode 100644
index efc7a9d..0000000
--- a/www-apps/gitlabhq/files/gitlabhq-10.0-sidekiq.service
+++ /dev/null
@@ -1,28 +0,0 @@
-#####################################################
-#
-# GitLab version    : 5.x - 7.x
-# Contributors      : davispuh, mtorromeo, axilleas, boeserwolf91, Stefan Tatschner (rumpelsepp), firelizzard
-# Originally from   : https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
-#
-####################################################
-
-[Unit]
-Description=GitLab Sidekiq Worker
-Requires=redis.service gitlab-tmpdir.service
-Wants=postgresql-10.0.service
-After=redis.service postgresql-10.0.service
-
-[Service]
-Type=forking
-User=git
-WorkingDirectory=/opt/gitlabhq-10.0
-Environment=RAILS_ENV=production
-SyslogIdentifier=gitlab-sidekiq
-PIDFile=/opt/gitlabhq-10.0/tmp/pids/sidekiq.pid
-RuntimeDirectory=/var/tmp/gitlabhq-10.0
-
-ExecStart=/usr/bin/bundle exec "sidekiq -C config/sidekiq_queues.yml -c 5 -e production -P tmp/pids/sidekiq.pid -d -L log/sidekiq.log >> log/sidekiq.log 2>&1"
-ExecStop=/usr/bin/bundle exec "sidekiqctl stop /opt/gitlabhq-10.0/tmp/pids/sidekiq.pid >> /opt/gitlabhq-10.0/log/sidekiq.log 2>&1"
-
-[Install]
-WantedBy=multi-user.target
\ No newline at end of file

diff --git a/www-apps/gitlabhq/files/gitlabhq-10.0-tmpfiles.conf b/www-apps/gitlabhq/files/gitlabhq-10.0-tmpfiles.conf
deleted file mode 100644
index babdc80..0000000
--- a/www-apps/gitlabhq/files/gitlabhq-10.0-tmpfiles.conf
+++ /dev/null
@@ -1 +0,0 @@
-d /var/tmp/gitlabhq-10.0/pids 0755 git git

diff --git a/www-apps/gitlabhq/files/gitlabhq-10.0-unicorn.service b/www-apps/gitlabhq/files/gitlabhq-10.0-unicorn.service
deleted file mode 100644
index be930f7..0000000
--- a/www-apps/gitlabhq/files/gitlabhq-10.0-unicorn.service
+++ /dev/null
@@ -1,25 +0,0 @@
-#####################################################
-#
-# GitLab version    : 5.x - 7.x
-# Contributors      : davispuh, mtorromeo, axilleas, boeserwolf91, Stefan Tatschner (rumpelsepp), firelizzard
-# Originally from   : https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
-#
-####################################################
-
-[Unit]
-Description=GitLab Unicorn Server
-Requires=redis.service gitlab-tmpdir.service
-Wants=postgresql-10.0.service
-After=redis.service postgresql-10.0.service
-
-[Service]
-User=git
-WorkingDirectory=/opt/gitlabhq-10.0
-Environment=RAILS_ENV=production
-SyslogIdentifier=gitlab-unicorn
-PIDFile=/opt/gitlabhq-10.0/tmp/pids/unicorn.pid
-
-ExecStart=/usr/bin/bundle exec "unicorn_rails -D -c /opt/gitlabhq-10.0/config/unicorn.rb -E production"
-
-[Install]
-WantedBy=multi-user.target
\ No newline at end of file

diff --git a/www-apps/gitlabhq/files/gitlabhq-10.0-workhorse.service b/www-apps/gitlabhq/files/gitlabhq-10.0-workhorse.service
deleted file mode 100644
index 2e6346e..0000000
--- a/www-apps/gitlabhq/files/gitlabhq-10.0-workhorse.service
+++ /dev/null
@@ -1,25 +0,0 @@
-#####################################################
-#
-# GitLab version    : 8.2 - 8.x
-# Contributors      : bjorn-oivind
-# Downloaded from   : https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/init/systemd
-#
-####################################################
-
-[Unit]
-Description=Gitlab Workhorse handles slow HTTP requests for Gitlab.
-Requires=gitlab-unicorn.service
-Wants=gitlab-unicorn.service
-After=gitlab-unicorn.service
-
-[Service]
-Type=forking
-User=git
-WorkingDirectory=/opt/gitlabhq-10.0
-SyslogIdentifier=gitlab-workhorse
-PIDFile=/opt/gitlabhq-10.0/tmp/pids/gitlab-workhorse.pid
-
-ExecStart=/opt/gitlabhq-10.0/bin/daemon_with_pidfile /opt/gitlabhq-10.0/tmp/pids/gitlab-workhorse.pid /usr/bin/gitlab-workhorse -listenUmask 0 -listenNetwork unix -listenAddr /opt/gitlabhq-10.0/tmp/sockets/gitlab-workhorse.socket -authBackend http://127.0.0.1:8080 -authSocket /opt/gitlabhq-10.0/tmp/sockets/gitlab.socket -secretPath /opt/gitlabhq-10.0/.gitlab_workhorse_secret -documentRoot /opt/gitlabhq-10.0/public >> /opt/gitlabhq-10.0/log/gitlab-workhorse.log 2>&1
-
-[Install]
-WantedBy=multi-user.target
\ No newline at end of file

diff --git a/www-apps/gitlabhq/files/gitlabhq-10.0.init b/www-apps/gitlabhq/files/gitlabhq-10.0.init
deleted file mode 100644
index 53bea87..0000000
--- a/www-apps/gitlabhq/files/gitlabhq-10.0.init
+++ /dev/null
@@ -1,115 +0,0 @@
-#!/sbin/openrc-run
-
-name="GitLab"
-description="GitLab 10.0 on Unicorns"
-
-: ${rails_env:=production}
-
-: ${gitlab_user:=git}
-: ${gitlab_group:=git}
-: ${gitlab_home:="/opt/gitlabhq-10.0"}
-: ${gitlab_log:="/var/log/gitlabhq-10.0"}
-
-: ${unicorn_pidfile:="${gitlab_home}/tmp/pids/unicorn.pid"}
-: ${unicorn_log:="${gitlab_log}/unicorn.log"}
-: ${unicorn_socket:="${gitlab_home}/tmp/sockets/gitlab.socket"}
-: ${unicorn_command:="/usr/bin/bundle"}
-: ${unicorn_command_args:="exec unicorn_rails -c ${gitlab_home}/config/unicorn.rb -E ${rails_env} -D"}
-
-: ${sidekiq_pidfile:="${gitlab_home}/tmp/pids/sidekiq.pid"}
-: ${sidekiq_log:="${gitlab_log}/sidekiq.log"}
-: ${sidekiq_config:="${gitlab_home}/config/sidekiq_queues.yml"}
-: ${sidekiq_command:="/usr/bin/bundle"}
-: ${sidekiq_start_command_args:="exec sidekiq -C ${sidekiq_config} -e ${rails_env} -d -P ${sidekiq_pidfile} -L ${sidekiq_log} $@ >> ${sidekiq_log} 2>&1"}
-: ${sidekiq_stop_command_args:="exec sidekiqctl stop ${sidekiq_pidfile} >> ${sidekiq_log}"}
-
-: ${workhorse_pidfile:="${gitlab_home}/tmp/pids/workhorse.pid"}
-: ${workhorse_log:="${gitlab_log}/workhorse.log"}
-: ${workhorse_socket:="${gitlab_home}/tmp/sockets/gitlab-workhorse.socket"}
-: ${workhorse_command:="/usr/bin/gitlab-workhorse"}
-: ${workhorse_command_args="-listenUmask 0 -listenNetwork unix -listenAddr ${workhorse_socket} -authBackend http://127.0.0.1:8080 -documentRoot ${gitlab_home}/public -authSocket ${unicorn_socket}"}
-
-: ${gitaly_command:=/usr/bin/gitlab-gitaly}
-: ${gitaly_command_args:="/etc/gitaly/config.toml"}
-: ${gitaly_pidfile:="${gitlab_home}/tmp/pids/gitaly.pid"}
-: ${gitaly_log:="${gitlab_log}/gitaly.log"}
-: ${gitaly_socket:="${gitlab_home}/tmp/sockets/gitaly.socket"}
-
-
-if [ ${rails_env} = development ]; then
-	sidekiq_command_args+=" VVERBOSE=1"
-fi
-
-depend() {
-	provide gitlab
-	need redis
-	use net mysql postgresql
-}
-
-start() {
-
-	checkpath -d -o "${gitlab_user}:${gitlab_group}" -m750 "$(dirname "${unicorn_pidfile}")"
-	checkpath -d -o "${gitlab_user}:${gitlab_group}" -m750 "$(dirname "${sidekiq_pidfile}")"
-
-	ebegin "Starting GitLab 10.0 Unicorn servers"
-	start-stop-daemon --start \
-		--chdir "${gitlab_home}" \
-		--user="${gitlab_user}:${gitlab_group}" \
-		--pidfile="${unicorn_pidfile}" \
-		--exec ${unicorn_command} -- ${unicorn_command_args}
-	eend $?
-
-	ebegin "Starting GitLab 10.0 Sidekiq"
-	cd "${gitlab_home}"
-	sudo -u git -H ${sidekiq_command} ${sidekiq_start_command_args}
-	eend $?
-
-	ebegin "Starting GitLab 10.0 Workhorse"
-	start-stop-daemon --start \
-		--chdir "${gitlab_home}" \
-		--user="${gitlab_user}:${gitlab_group}" \
-		--pidfile="${workhorse_pidfile}" \
-		--make-pidfile \
-		--background -1 "${workhorse_log}" -2 "${workhorse_log}" \
-		--exec ${workhorse_command} -- ${workhorse_command_args}
-	eend $?
-
-        ebegin "Starting GitLab 10.0 Gitaly"
-        start-stop-daemon --start \
-                --chdir "${gitlab_home}" \
-                --user="${gitlab_user}:${gitlab_group}" \
-                --pidfile="${gitaly_pidfile}" \
-                --make-pidfile \
-		--env GITALY_SOCKET_PATH=${gitaly_socket} \
-                --background -1 "${gitaly_log}" -2 "${gitaly_log}" \
-                --exec ${gitaly_command} -- ${gitaly_command_args}
-        eend $?
-}
-
-stop() {
-        ebegin "Stopping GitLab 10.0 Gitaly"
-        start-stop-daemon --stop \
-                --chdir "${gitlab_home}" \
-                --user="${gitlab_user}:${gitlab_group}" \
-                --pidfile="${gitaly_pidfile}"
-        eend $?
-
-	ebegin "Stopping GitLab 10.0 Workhorse"
-  	start-stop-daemon --stop \
-		--chdir "${gitlab_home}" \
-		--user="${gitlab_user}:${gitlab_group}" \
-		--pidfile="${workhorse_pidfile}"
-	eend $?
-
-	ebegin "Stopping GitLab 10.0 Sidekiq"
-	cd "${gitlab_home}"
-	sudo -u git -H ${sidekiq_command} ${sidekiq_stop_command_args}
-	eend $?
-
-	ebegin "Stopping GitLab 10.0 Unicorn servers"
-	start-stop-daemon --stop \
-		--chdir "${gitlab_home}" \
-		--user="${gitlab_user}:${gitlab_group}" \
-		--pidfile="${unicorn_pidfile}"
-	eend $?
-}

diff --git a/www-apps/gitlabhq/files/gitlabhq-8.14-fix-checks-gentoo.patch b/www-apps/gitlabhq/files/gitlabhq-8.14-fix-checks-gentoo.patch
deleted file mode 100644
index bbe07a9..0000000
--- a/www-apps/gitlabhq/files/gitlabhq-8.14-fix-checks-gentoo.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/tasks/gitlab/check.rake.orig	2015-11-13 16:46:18.044125564 +0100
-+++ lib/tasks/gitlab/check.rake	2015-11-13 16:46:24.414126919 +0100
-@@ -24,8 +24,6 @@
-       check_log_writable
-       check_tmp_writable
-       check_uploads
--      check_init_script_exists
--      check_init_script_up_to_date
-       check_projects_have_namespace
-       check_redis_version
-       check_ruby_version

diff --git a/www-apps/gitlabhq/files/gitlabhq-8.14-fix-sendmail-param.patch b/www-apps/gitlabhq/files/gitlabhq-8.14-fix-sendmail-param.patch
deleted file mode 100644
index a4ff648..0000000
--- a/www-apps/gitlabhq/files/gitlabhq-8.14-fix-sendmail-param.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- gitlabhq-8.7.5/config/environments/production.rb.orig	2016-05-20 17:01:56.043486847 +0200
-+++ gitlabhq-8.7.5/config/environments/production.rb	2016-05-20 17:02:35.871496032 +0200
-@@ -70,10 +70,10 @@
- 
-   config.action_mailer.delivery_method = :sendmail
-   # Defaults to:
--  # # config.action_mailer.sendmail_settings = {
--  # #   location: '/usr/sbin/sendmail',
--  # #   arguments: '-i -t'
--  # # }
-+  config.action_mailer.sendmail_settings = {
-+    location: '/usr/sbin/sendmail',
-+    arguments: '-i'
-+  }
-   config.action_mailer.perform_deliveries = true
-   config.action_mailer.raise_delivery_errors = true
- 

diff --git a/www-apps/gitlabhq/files/gitlabhq-8.14.init b/www-apps/gitlabhq/files/gitlabhq-8.14.init
deleted file mode 100644
index f111e76..0000000
--- a/www-apps/gitlabhq/files/gitlabhq-8.14.init
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/sbin/openrc-run
-
-name="GitLab"
-description="GitLab 8.14 on Unicorns"
-
-: ${gitlab_user:=git}
-: ${gitlab_group:=git}
-: ${gitlab_home:="/opt/gitlabhq-8.14"}
-: ${gitlab_log:="/var/log/gitlabhq-8.14"}
-
-: ${unicorn_pidfile:="${gitlab_home}/tmp/pids/unicorn.pid"}
-: ${unicorn_log:="${gitlab_log}/unicorn.log"}
-: ${unicorn_socket:="${gitlab_home}/tmp/sockets/gitlab.socket"}
-
-: ${sidekiq_pidfile:="${gitlab_home}/tmp/pids/sidekiq.pid"}
-: ${sidekiq_log:="${gitlab_log}/sidekiq.log"}
-: ${sidekiq_config:="${gitlab_home}/config/sidekiq_queues.yml"}
-
-: ${workhorse_pidfile:="${gitlab_home}/tmp/pids/workhorse.pid"}
-: ${workhorse_log:="${gitlab_log}/workhorse.log"}
-: ${workhorse_socket:="${gitlab_home}/tmp/sockets/gitlab-workhorse.socket"}
-: ${workhorse_command_args:="-listenUmask 0 -listenNetwork unix -listenAddr ${workhorse_socket} -authBackend http://127.0.0.1:8080 -authSocket ${unicorn_socket} -documentRoot ${gitlab_home}/public"}
-
-: ${rails_env:=production}
-
-unicorn_command="/usr/bin/bundle"
-unicorn_command_args="exec unicorn_rails -c ${gitlab_home}/config/unicorn.rb -E ${rails_env} -D"
-sidekiq_command="/usr/bin/bundle"
-sidekiq_start_command_args="exec sidekiq -C ${sidekiq_config} -e ${rails_env} -d -P ${sidekiq_pidfile} -L ${sidekiq_log} $@ >> ${sidekiq_log} 2>&1"
-sidekiq_stop_command_args="exec sidekiqctl stop ${sidekiq_pidfile} >> ${sidekiq_log}"
-workhorse_command="/usr/bin/gitlab-workhorse"
-
-if [ ${rails_env} = development ]; then
-	sidekiq_command_args+=" VVERBOSE=1"
-fi
-
-depend() {
-	provide gitlab
-	need redis
-	use net mysql postgresql
-}
-
-start() {
-
-	checkpath -d -o "${gitlab_user}:${gitlab_group}" -m750 "$(dirname "${unicorn_pidfile}")"
-	checkpath -d -o "${gitlab_user}:${gitlab_group}" -m750 "$(dirname "${sidekiq_pidfile}")"
-
-	ebegin "Starting GitLab 8.14 Unicorn servers"
-	start-stop-daemon --start \
-		--chdir "${gitlab_home}" \
-		--user="${gitlab_user}:${gitlab_group}" \
-		--pidfile="${unicorn_pidfile}" \
-		--exec ${unicorn_command} -- ${unicorn_command_args}
-	eend $?
-
-	ebegin "Starting GitLab 8.14 Sidekiq"
-	cd "${gitlab_home}"
-	sudo -u git -H ${sidekiq_command} ${sidekiq_start_command_args}
-	eend $?
-
-	ebegin "Starting GitLab 8.14 Workhorse"
-	start-stop-daemon --start \
-		--chdir "${gitlab_home}" \
-		--user="${gitlab_user}:${gitlab_group}" \
-		--pidfile="${workhorse_pidfile}" \
-		--make-pidfile \
-		--background -1 "${workhorse_log}" -2 "${workhorse_log}" \
-		--exec ${workhorse_command} -- ${workhorse_command_args}
-	eend $?
-}
-
-stop() {
-
-	ebegin "Stopping GitLab 8.14 Workhorse"
-  	start-stop-daemon --stop \
-		--chdir "${gitlab_home}" \
-		--user="${gitlab_user}:${gitlab_group}" \
-		--pidfile="${workhorse_pidfile}"
-	eend $?
-
-	ebegin "Stopping GitLab 8.14 Sidekiq"
-	cd "${gitlab_home}"
-	sudo -u git -H ${sidekiq_command} ${sidekiq_stop_command_args}
-	eend $?
-
-	ebegin "Stopping GitLab 8.14 Unicorn servers"
-	start-stop-daemon --stop \
-		--chdir "${gitlab_home}" \
-		--user="${gitlab_user}:${gitlab_group}" \
-		--pidfile="${unicorn_pidfile}"
-	eend $?
-}

diff --git a/www-apps/gitlabhq/files/gitlabhq-8.15-fix-checks-gentoo.patch b/www-apps/gitlabhq/files/gitlabhq-8.15-fix-checks-gentoo.patch
deleted file mode 100644
index bbe07a9..0000000
--- a/www-apps/gitlabhq/files/gitlabhq-8.15-fix-checks-gentoo.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/tasks/gitlab/check.rake.orig	2015-11-13 16:46:18.044125564 +0100
-+++ lib/tasks/gitlab/check.rake	2015-11-13 16:46:24.414126919 +0100
-@@ -24,8 +24,6 @@
-       check_log_writable
-       check_tmp_writable
-       check_uploads
--      check_init_script_exists
--      check_init_script_up_to_date
-       check_projects_have_namespace
-       check_redis_version
-       check_ruby_version

diff --git a/www-apps/gitlabhq/files/gitlabhq-8.15-fix-sendmail-param.patch b/www-apps/gitlabhq/files/gitlabhq-8.15-fix-sendmail-param.patch
deleted file mode 100644
index 187206a..0000000
--- a/www-apps/gitlabhq/files/gitlabhq-8.15-fix-sendmail-param.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- gitlabhq-8.7.5/config/environments/production.rb.orig	2016-05-20 17:01:56.043486847 +0200
-+++ gitlabhq-8.7.5/config/environments/production.rb	2016-05-20 17:02:35.8.1596032 +0200
-@@ -70,10 +70,10 @@
- 
-   config.action_mailer.delivery_method = :sendmail
-   # Defaults to:
--  # # config.action_mailer.sendmail_settings = {
--  # #   location: '/usr/sbin/sendmail',
--  # #   arguments: '-i -t'
--  # # }
-+  config.action_mailer.sendmail_settings = {
-+    location: '/usr/sbin/sendmail',
-+    arguments: '-i'
-+  }
-   config.action_mailer.perform_deliveries = true
-   config.action_mailer.raise_delivery_errors = true
- 

diff --git a/www-apps/gitlabhq/files/gitlabhq-8.15.init b/www-apps/gitlabhq/files/gitlabhq-8.15.init
deleted file mode 100644
index ba21895..0000000
--- a/www-apps/gitlabhq/files/gitlabhq-8.15.init
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/sbin/openrc-run
-
-name="GitLab"
-description="GitLab 8.15 on Unicorns"
-
-: ${gitlab_user:=git}
-: ${gitlab_group:=git}
-: ${gitlab_home:="/opt/gitlabhq-8.15"}
-: ${gitlab_log:="/var/log/gitlabhq-8.15"}
-
-: ${unicorn_pidfile:="${gitlab_home}/tmp/pids/unicorn.pid"}
-: ${unicorn_log:="${gitlab_log}/unicorn.log"}
-: ${unicorn_socket:="${gitlab_home}/tmp/sockets/gitlab.socket"}
-
-: ${sidekiq_pidfile:="${gitlab_home}/tmp/pids/sidekiq.pid"}
-: ${sidekiq_log:="${gitlab_log}/sidekiq.log"}
-: ${sidekiq_config:="${gitlab_home}/config/sidekiq_queues.yml"}
-
-: ${workhorse_pidfile:="${gitlab_home}/tmp/pids/workhorse.pid"}
-: ${workhorse_log:="${gitlab_log}/workhorse.log"}
-: ${workhorse_socket:="${gitlab_home}/tmp/sockets/gitlab-workhorse.socket"}
-: ${workhorse_command_args:="-listenUmask 0 -listenNetwork unix -listenAddr ${workhorse_socket} -authBackend http://127.0.0.1:8080 -authSocket ${unicorn_socket} -documentRoot ${gitlab_home}/public"}
-
-: ${rails_env:=production}
-
-unicorn_command="/usr/bin/bundle"
-unicorn_command_args="exec unicorn_rails -c ${gitlab_home}/config/unicorn.rb -E ${rails_env} -D"
-sidekiq_command="/usr/bin/bundle"
-sidekiq_start_command_args="exec sidekiq -C ${sidekiq_config} -e ${rails_env} -d -P ${sidekiq_pidfile} -L ${sidekiq_log} $@ >> ${sidekiq_log} 2>&1"
-sidekiq_stop_command_args="exec sidekiqctl stop ${sidekiq_pidfile} >> ${sidekiq_log}"
-workhorse_command="/usr/bin/gitlab-workhorse"
-
-if [ ${rails_env} = development ]; then
-	sidekiq_command_args+=" VVERBOSE=1"
-fi
-
-depend() {
-	provide gitlab
-	need redis
-	use net mysql postgresql
-}
-
-start() {
-
-	checkpath -d -o "${gitlab_user}:${gitlab_group}" -m750 "$(dirname "${unicorn_pidfile}")"
-	checkpath -d -o "${gitlab_user}:${gitlab_group}" -m750 "$(dirname "${sidekiq_pidfile}")"
-
-	ebegin "Starting GitLab 8.15 Unicorn servers"
-	start-stop-daemon --start \
-		--chdir "${gitlab_home}" \
-		--user="${gitlab_user}:${gitlab_group}" \
-		--pidfile="${unicorn_pidfile}" \
-		--exec ${unicorn_command} -- ${unicorn_command_args}
-	eend $?
-
-	ebegin "Starting GitLab 8.15 Sidekiq"
-	cd "${gitlab_home}"
-	sudo -u git -H ${sidekiq_command} ${sidekiq_start_command_args}
-	eend $?
-
-	ebegin "Starting GitLab 8.15 Workhorse"
-	start-stop-daemon --start \
-		--chdir "${gitlab_home}" \
-		--user="${gitlab_user}:${gitlab_group}" \
-		--pidfile="${workhorse_pidfile}" \
-		--make-pidfile \
-		--background -1 "${workhorse_log}" -2 "${workhorse_log}" \
-		--exec ${workhorse_command} -- ${workhorse_command_args}
-	eend $?
-}
-
-stop() {
-
-	ebegin "Stopping GitLab 8.15 Workhorse"
-  	start-stop-daemon --stop \
-		--chdir "${gitlab_home}" \
-		--user="${gitlab_user}:${gitlab_group}" \
-		--pidfile="${workhorse_pidfile}"
-	eend $?
-
-	ebegin "Stopping GitLab 8.15 Sidekiq"
-	cd "${gitlab_home}"
-	sudo -u git -H ${sidekiq_command} ${sidekiq_stop_command_args}
-	eend $?
-
-	ebegin "Stopping GitLab 8.15 Unicorn servers"
-	start-stop-daemon --stop \
-		--chdir "${gitlab_home}" \
-		--user="${gitlab_user}:${gitlab_group}" \
-		--pidfile="${unicorn_pidfile}"
-	eend $?
-}

diff --git a/www-apps/gitlabhq/files/gitlabhq-8.16-fix-checks-gentoo.patch b/www-apps/gitlabhq/files/gitlabhq-8.16-fix-checks-gentoo.patch
deleted file mode 100644
index bbe07a9..0000000
--- a/www-apps/gitlabhq/files/gitlabhq-8.16-fix-checks-gentoo.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/tasks/gitlab/check.rake.orig	2015-11-13 16:46:18.044125564 +0100
-+++ lib/tasks/gitlab/check.rake	2015-11-13 16:46:24.414126919 +0100
-@@ -24,8 +24,6 @@
-       check_log_writable
-       check_tmp_writable
-       check_uploads
--      check_init_script_exists
--      check_init_script_up_to_date
-       check_projects_have_namespace
-       check_redis_version
-       check_ruby_version

diff --git a/www-apps/gitlabhq/files/gitlabhq-8.16-fix-sendmail-param.patch b/www-apps/gitlabhq/files/gitlabhq-8.16-fix-sendmail-param.patch
deleted file mode 100644
index d905fe9..0000000
--- a/www-apps/gitlabhq/files/gitlabhq-8.16-fix-sendmail-param.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- gitlabhq-8.7.5/config/environments/production.rb.orig	2016-05-20 17:01:56.043486847 +0200
-+++ gitlabhq-8.7.5/config/environments/production.rb	2016-05-20 17:02:35.8.1696032 +0200
-@@ -70,10 +70,10 @@
- 
-   config.action_mailer.delivery_method = :sendmail
-   # Defaults to:
--  # # config.action_mailer.sendmail_settings = {
--  # #   location: '/usr/sbin/sendmail',
--  # #   arguments: '-i -t'
--  # # }
-+  config.action_mailer.sendmail_settings = {
-+    location: '/usr/sbin/sendmail',
-+    arguments: '-i'
-+  }
-   config.action_mailer.perform_deliveries = true
-   config.action_mailer.raise_delivery_errors = true
- 

diff --git a/www-apps/gitlabhq/files/gitlabhq-8.16.init b/www-apps/gitlabhq/files/gitlabhq-8.16.init
deleted file mode 100644
index 100fd56..0000000
--- a/www-apps/gitlabhq/files/gitlabhq-8.16.init
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/sbin/openrc-run
-
-name="GitLab"
-description="GitLab 8.16 on Unicorns"
-
-: ${gitlab_user:=git}
-: ${gitlab_group:=git}
-: ${gitlab_home:="/opt/gitlabhq-8.16"}
-: ${gitlab_log:="/var/log/gitlabhq-8.16"}
-
-: ${unicorn_pidfile:="${gitlab_home}/tmp/pids/unicorn.pid"}
-: ${unicorn_log:="${gitlab_log}/unicorn.log"}
-: ${unicorn_socket:="${gitlab_home}/tmp/sockets/gitlab.socket"}
-
-: ${sidekiq_pidfile:="${gitlab_home}/tmp/pids/sidekiq.pid"}
-: ${sidekiq_log:="${gitlab_log}/sidekiq.log"}
-: ${sidekiq_config:="${gitlab_home}/config/sidekiq_queues.yml"}
-
-: ${workhorse_pidfile:="${gitlab_home}/tmp/pids/workhorse.pid"}
-: ${workhorse_log:="${gitlab_log}/workhorse.log"}
-: ${workhorse_socket:="${gitlab_home}/tmp/sockets/gitlab-workhorse.socket"}
-: ${workhorse_command_args:="-listenUmask 0 -listenNetwork unix -listenAddr ${workhorse_socket} -authBackend http://127.0.0.1:8080 -authSocket ${unicorn_socket} -documentRoot ${gitlab_home}/public"}
-
-: ${rails_env:=production}
-
-unicorn_command="/usr/bin/bundle"
-unicorn_command_args="exec unicorn_rails -c ${gitlab_home}/config/unicorn.rb -E ${rails_env} -D"
-sidekiq_command="/usr/bin/bundle"
-sidekiq_start_command_args="exec sidekiq -C ${sidekiq_config} -e ${rails_env} -d -P ${sidekiq_pidfile} -L ${sidekiq_log} $@ >> ${sidekiq_log} 2>&1"
-sidekiq_stop_command_args="exec sidekiqctl stop ${sidekiq_pidfile} >> ${sidekiq_log}"
-workhorse_command="/usr/bin/gitlab-workhorse"
-
-if [ ${rails_env} = development ]; then
-	sidekiq_command_args+=" VVERBOSE=1"
-fi
-
-depend() {
-	provide gitlab
-	need redis
-	use net mysql postgresql
-}
-
-start() {
-
-	checkpath -d -o "${gitlab_user}:${gitlab_group}" -m750 "$(dirname "${unicorn_pidfile}")"
-	checkpath -d -o "${gitlab_user}:${gitlab_group}" -m750 "$(dirname "${sidekiq_pidfile}")"
-
-	ebegin "Starting GitLab 8.16 Unicorn servers"
-	start-stop-daemon --start \
-		--chdir "${gitlab_home}" \
-		--user="${gitlab_user}:${gitlab_group}" \
-		--pidfile="${unicorn_pidfile}" \
-		--exec ${unicorn_command} -- ${unicorn_command_args}
-	eend $?
-
-	ebegin "Starting GitLab 8.16 Sidekiq"
-	cd "${gitlab_home}"
-	sudo -u git -H ${sidekiq_command} ${sidekiq_start_command_args}
-	eend $?
-
-	ebegin "Starting GitLab 8.16 Workhorse"
-	start-stop-daemon --start \
-		--chdir "${gitlab_home}" \
-		--user="${gitlab_user}:${gitlab_group}" \
-		--pidfile="${workhorse_pidfile}" \
-		--make-pidfile \
-		--background -1 "${workhorse_log}" -2 "${workhorse_log}" \
-		--exec ${workhorse_command} -- ${workhorse_command_args}
-	eend $?
-}
-
-stop() {
-
-	ebegin "Stopping GitLab 8.16 Workhorse"
-  	start-stop-daemon --stop \
-		--chdir "${gitlab_home}" \
-		--user="${gitlab_user}:${gitlab_group}" \
-		--pidfile="${workhorse_pidfile}"
-	eend $?
-
-	ebegin "Stopping GitLab 8.16 Sidekiq"
-	cd "${gitlab_home}"
-	sudo -u git -H ${sidekiq_command} ${sidekiq_stop_command_args}
-	eend $?
-
-	ebegin "Stopping GitLab 8.16 Unicorn servers"
-	start-stop-daemon --stop \
-		--chdir "${gitlab_home}" \
-		--user="${gitlab_user}:${gitlab_group}" \
-		--pidfile="${unicorn_pidfile}"
-	eend $?
-}

diff --git a/www-apps/gitlabhq/gitlabhq-10.0.3.ebuild b/www-apps/gitlabhq/gitlabhq-10.0.3.ebuild
deleted file mode 100644
index 8570363..0000000
--- a/www-apps/gitlabhq/gitlabhq-10.0.3.ebuild
+++ /dev/null
@@ -1,556 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="5"
-
-# Mainteiner notes:
-# - This ebuild uses Bundler to download and install all gems in deployment mode
-#   (i.e. into isolated directory inside application). That's not Gentoo way how
-#   it should be done, but GitLab has too many dependencies that it will be too
-#   difficult to maintain them via ebuilds.
-
-USE_RUBY="ruby23"
-PYTHON_COMPAT=( python2_7 )
-
-EGIT_REPO_URI="https://gitlab.com/gitlab-org/gitlab-ce.git"
-EGIT_COMMIT="v${PV}"
-
-inherit eutils git-2 python-r1 ruby-ng versionator user linux-info systemd
-
-DESCRIPTION="GitLab is a free project and repository management application"
-HOMEPAGE="https://about.gitlab.com/gitlab-ci/"
-
-LICENSE="MIT"
-RESTRICT="splitdebug"
-SLOT=$(get_version_component_range 1-2)
-KEYWORDS="~amd64 ~x86"
-IUSE="memcached mysql +postgres +unicorn"
-
-## Gems dependencies:
-#   charlock_holmes		dev-libs/icu
-#	grape, capybara		dev-libs/libxml2, dev-libs/libxslt
-#   json				dev-util/ragel
-#   yajl-ruby			dev-libs/yajl
-#   pygments.rb			python 2.5+
-#   execjs				net-libs/nodejs, or any other JS runtime
-#   pg					dev-db/postgresql-base
-#   mysql				virtual/mysql
-#	rugged				net-libs/http-parser dev-libs/libgit2
-#
-GEMS_DEPEND="
-	dev-libs/icu
-	dev-libs/libxml2
-	dev-libs/libxslt
-	dev-util/ragel
-	dev-libs/yajl
-	net-libs/nodejs
-	postgres? ( dev-db/postgresql )
-	mysql? ( virtual/mysql )
-	memcached? ( net-misc/memcached )
-	net-libs/http-parser"
-DEPEND="${GEMS_DEPEND}
-	>=dev-lang/ruby-2.3[readline,ssl]
-	>dev-vcs/git-2.2.1
-	>=dev-vcs/gitlab-shell-5.9.0
-	>=dev-vcs/gitlab-gitaly-0.38.0
-	>=www-servers/gitlab-workhorse-3.0.0
-	app-eselect/eselect-gitlabhq
-	net-misc/curl
-	virtual/ssh
-	>=sys-apps/yarn-0.27.5
-	>=net-libs/nodejs-7.0.0
-	dev-libs/re2"
-RDEPEND="${DEPEND}
-	>=dev-db/redis-2.8.0
-	virtual/mta
-	virtual/krb5"
-ruby_add_bdepend "
-	virtual/rubygems
-	>=dev-ruby/bundler-1.0"
-
-RUBY_PATCHES=(
-	"${PN}-${SLOT}-fix-checks-gentoo.patch"
-	"${PN}-${SLOT}-fix-sendmail-param.patch"
-)
-
-GIT_USER="git"
-GIT_GROUP="git"
-GIT_HOME="/var/lib/git"
-DEST_DIR="/opt/${PN}-${SLOT}"
-CONF_DIR="/etc/${PN}-${SLOT}"
-
-GIT_REPOS="${GIT_HOME}/repositories"
-GIT_SATELLITES="${GIT_HOME}/gitlab-satellites"
-GITLAB_SHELL="/var/lib/gitlab-shell"
-GITLAB_SHELL_HOOKS="${GITLAB_SHELL}/hooks"
-
-RAILS_ENV=${RAILS_ENV:-production}
-RUBY=${RUBY:-ruby23}
-BUNDLE="${RUBY} /usr/bin/bundle"
-
-pkg_setup() {
-	enewgroup ${GIT_GROUP}
-	enewuser ${GIT_USER} -1 -1 ${DEST_DIR} "${GIT_GROUP}"
-}
-
-all_ruby_unpack() {
-	git-2_src_unpack
-}
-
-each_ruby_prepare() {
-
-	# fix path to repo and gitlab-shell hooks
-	test -d "${GITLAB_SHELL_HOOKS}" || die "Gitlab Shell hooks directory not found: \"${GITLAB_SHELL_HOOKS}. Have you properly installed dev-vcs/gitlab-shell"?
-
-	sed -i \
-		-e "s|\(\s*path:\s\)/.*/gitlab-shell/|\1 ${GITLAB_SHELL}/|" \
-		-e "s|\(\s*repos_path:\s\)/.*|\1 ${GIT_REPOS}/|" \
-		-e "s|\(\s*hooks_path:\s\)/.*|\1 ${GITLAB_SHELL_HOOKS}/|" \
-		-e "s|\(\s*path:\s\)/.*/gitlab-satellites/|\1 ${GIT_SATELLITES}/|" \
-		-e "s|\(\s*GITLAB_SHELL:\s*\)|\1\n\tpath: \"${GITLAB_SHELL}\"|" \
-		-e "s|# socket_path: tmp/sockets/private/gitaly\.socket|socket_path: tmp/sockets/gitaly.socket|" \
-		config/gitlab.yml.example || die "failed to filter gitlab.yml.example"
-
-	# modify database settings
-	sed -i \
-		-e 's|\(username:\) postgres.*|\1 gitlab|' \
-		-e 's|\(password:\).*|\1 gitlab|' \
-		-e 's|\(socket:\).*|/run/postgresql/.s.PGSQL.5432|' \
-		config/database.yml.postgresql \
-		|| die "failed to filter database.yml.postgresql"
-
-	# replace "secret" token with random one
-	local randpw=$(echo ${RANDOM}|sha512sum|cut -c 1-128)
-	sed -i -e "/secret_token =/ s/=.*/= '${randpw}'/" \
-		config/initializers/secret_token.rb \
-		|| die "failed to filter secret_token.rb"
-
-	# remove needless files
-	rm .foreman .gitignore Procfile
-	use unicorn || rm config/unicorn.rb.example
-	use postgres || rm config/database.yml.postgresql
-	use mysql || rm config/database.yml.mysql
-
-	# change cache_store
-	if use memcached; then
-		sed -i \
-			-e "/\w*config.cache_store / s/=.*/= :dalli_store, { namespace: 'gitlab' }/" \
-			config/environments/production.rb \
-			|| die "failed to modify production.rb"
-	fi
-
-	# Update pathes for unicorn
-	if use unicorn; then
-		sed -i \
-			-e "s#/home/git/gitlab#${DEST_DIR}#" \
-			config/unicorn.rb.example \
-			|| die "failed to modify unicorn.rb.example"
-	fi
-}
-
-src_install() {
-	# DO NOT REMOVE - without this, the package won't install
-	ruby-ng_src_install
-	
-	elog "Installing systemd unit files"
-	systemd_dounit "${FILESDIR}/${PN}-${SLOT}-mailroom.service"
-	systemd_dounit "${FILESDIR}/${PN}-${SLOT}-sidekiq.service"
-	systemd_dounit "${FILESDIR}/${PN}-${SLOT}-unicorn.service"
-	systemd_dounit "${FILESDIR}/${PN}-${SLOT}-workhorse.service"
-	systemd_dotmpfilesd "${FILESDIR}/${PN}-${SLOT}-tmpfiles.conf"
-}
-
-each_ruby_install() {
-	local dest="${DEST_DIR}"
-	local conf="/etc/${PN}-${SLOT}"
-	local temp="/var/tmp/${PN}-${SLOT}"
-	local logs="/var/log/${PN}-${SLOT}"
-	local uploads="${DEST_DIR}/public/uploads"
-
-	## Prepare directories ##
-
-	diropts -m750
-	keepdir "${logs}"
-	dodir "${temp}"
-
-	diropts -m755
-	dodir "${dest}"
-	dodir "${uploads}"
-
-	dosym "${temp}" "${dest}/tmp"
-	dosym "${logs}" "${dest}/log"
-
-	## Link gitlab-shell into git home
-	dosym "${GITLAB_SHELL}" "${GIT_HOME}/gitlab-shell"
-
-	## Install configs ##
-
-	# Note that we cannot install the config to /etc and symlink
-	# it to ${dest} since require_relative in config/application.rb
-	# seems to get confused by symlinks. So let's install the config
-	# to ${dest} and create a smylink to /etc/gitlabhq-<VERSION>
-	dosym "${dest}/config" "${conf}"
-
-	insinto "${dest}/.ssh"
-	newins "${FILESDIR}/config.ssh" config
-
-	echo "export RAILS_ENV=production" > "${D}/${dest}/.profile"
-
-	## Install all others ##
-
-	# remove needless dirs
-	rm -Rf tmp log
-
-	insinto "${dest}"
-	doins -r ./
-
-	## Install logrotate config ##
-
-	dodir /etc/logrotate.d
-	sed -e "s|@LOG_DIR@|${logs}|" \
-		"${FILESDIR}"/gitlab.logrotate > "${D}"/etc/logrotate.d/${PN}-${SLOT} \
-		|| die "failed to filter gitlab.logrotate"
-
-	## Install gems via bundler ##
-
-	cd "${D}/${dest}"
-
-	local without="development test thin"
-	local flag; for flag in memcached mysql postgres unicorn; do
-		without+="$(use $flag || echo ' '$flag)"
-	done
-	local bundle_args="--deployment ${without:+--without ${without}}"
-
-	# Use systemlibs for nokogiri as suggested
-	${BUNDLE} config build.nokogiri --use-system-libraries
-
-	# Fix invalid ldflags for charlock_holmes,
-	# see https://github.com/brianmario/charlock_holmes/issues/32
-	${BUNDLE} config build.charlock_holmes --with-ldflags='-L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -lz -licuuc'
-
-	einfo "Running bundle install ${bundle_args} ..."
-	${BUNDLE} install ${bundle_args} || die "bundler failed"
-
-	## Clean ##
-
-	local gemsdir=vendor/bundle/ruby/$(ruby_rbconfig_value 'ruby_version')
-
-	# remove gems cache
-	rm -Rf ${gemsdir}/cache
-
-	# fix permissions
-	fowners -R ${GIT_USER}:${GIT_GROUP} "${dest}" "${conf}" "${temp}" "${logs}"
-	fperms o+Xr "${temp}" # Let nginx access the unicorn socket
-
-	## RC scripts ##
-	local rcscript=${PN}-${SLOT}.init
-
-	cp "${FILESDIR}/${rcscript}" "${T}" || die
-	sed -i \
-		-e "s|@GIT_USER@|${GIT_USER}|" \
-		-e "s|@GIT_GROUP@|${GIT_USER}|" \
-		-e "s|@SLOT@|${SLOT}|" \
-		-e "s|@DEST_DIR@|${dest}|" \
-		-e "s|@LOG_DIR@|${logs}|" \
-		-e "s|@RESQUE_QUEUE@|${resque_queue}|" \
-		"${T}/${rcscript}" \
-		|| die "failed to filter ${rcscript}"
-
-	if use memcached; then
-		sed -i -e '/^depend/,// {/need / s/$/ memcached/}' \
-		"${T}/${rcscript}" || die "failed to filter ${rcscript}"
-	fi
-
-	newinitd "${T}/${rcscript}" "${PN}-${SLOT}"
-}
-
-pkg_preinst() {
-	diropts -m "0750" -o "${GIT_USER}" -g "${GIT_GROUP}"
-	dodir "${GIT_SATELLITES}"
-}
-
-pkg_postinst() {
-	if [ ! -e "${GIT_HOME}/.ssh/id_rsa" ]; then
-		einfo "Generating SSH key for git user"
-		su -l ${GIT_USER} -s /bin/sh -c "
-			ssh-keygen -q -N '' -t rsa -f ${GIT_HOME}/.ssh/id_rsa" \
-			|| die "failed to generate SSH key"
-	fi
-	if [ ! -e "${GIT_HOME}/.gitconfig" ]; then
-		einfo "Setting git user in ${GIT_HOME}/.gitconfig, feel free to "
-		einfo "modify this file according to your needs!"
-		su -l ${GIT_USER} -s /bin/sh -c "
-			git config --global core.autocrlf 'input';
-			git config --global gc.auto 0;
-			git config --global user.email 'gitlab@localhost';
-			git config --global user.name 'GitLab'
-			git config --global repack.writeBitmaps true" \
-			|| die "failed to setup git configuration"
-	fi
-
-	elog "If this is a new installation, proceed with the following steps:"
-	elog
-	elog "  1. Copy ${CONF_DIR}/gitlab.yml.example to ${CONF_DIR}/gitlab.yml"
-	elog "     and edit this file in order to configure your GitLab settings."
-	elog
-	elog "  2. Copy ${CONF_DIR}/database.yml.* to ${CONF_DIR}/database.yml"
-	elog "     and edit this file in order to configure your database settings"
-	elog "     for \"production\" environment."
-	elog
-	elog "  3. Copy ${CONF_DIR}/initializers/rack_attack.rb.example"
-	elog "     to ${CONF_DIR}/initializers/rack_attack.rb"
-	elog
-	elog "  4. Copy ${CONF_DIR}/resque.yml.example to ${CONF_DIR}/resque.yml"
-	elog "     and edit this file in order to configure your Redis settings"
-	elog "     for \"production\" environment."
-	elog
-
-	if use unicorn; then
-		elog "  4a. Copy ${CONF_DIR}/unicorn.rb.example to ${CONF_DIR}/unicorn.rb"
-		elog
-	fi
-
-	elog "  5. If this is a new installation, create a database for your GitLab instance."
-	if use postgres; then
-		elog "    If you have local PostgreSQL running, just copy&run:"
-		elog "        su postgres"
-		elog "        psql -c \"CREATE ROLE gitlab PASSWORD 'gitlab' \\"
-		elog "            NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN;\""
-		elog "        createdb -E UTF-8 -O gitlab gitlab_production"
-		elog "    Note: You should change your password to something more random..."
-		elog
-		elog "    GitLab uses polymorphic associations which are not SQL-standard friendly."
-		elog "    To get it work you must use this ugly workaround:"
-		elog "        psql -U postgres -d gitlab"
-		elog "        CREATE CAST (integer AS text) WITH INOUT AS IMPLICIT;"
-		elog
-	fi
-	elog "  6. Execute the following command to finalize your setup:"
-	elog "         emerge --config \"=${CATEGORY}/${PF}\""
-	elog "     Note: Do not forget to start Redis server."
-	elog
-	elog "To update an existing instance, run the following command and choose upgrading when prompted:"
-	elog "    emerge --config \"=${CATEGORY}/${PF}\""
-	elog
-	elog "Important: Do not remove the earlier version prior migration!"
-
-	if linux_config_exists; then
-		if linux_chkconfig_present PAX ; then
-			elog  ""
-			ewarn "Warning: PaX support is enabled, you must disable mprotect for ruby. Otherwise "
-			ewarn "FFI will trigger mprotect errors that are hard to trace. Please run: "
-			ewarn "    paxctl -m $RUBY"
-		fi
-	else
-		elog  ""
-		einfo "Important: Cannot find a linux kernel configuration, so cannot check for PaX support."
-		einfo "			  If CONFIG_PAX is set, you should disable mprotect for ruby since FFI may trigger"
-		einfo "			  mprotect errors."
-	fi
-}
-
-pkg_config() {
-	# Ask user whether this is the first installation
-	einfon "Do you want to upgrade an existing installation? [Y|n] "
-	do_upgrade=""
-	while true
-	do
-		read -r do_upgrade
-		if [[ $do_upgrade == "n" || $do_upgrade == "N" ]] ; then do_upgrade="" && break
-		elif [[ $do_upgrade == "y" || $do_upgrade == "Y" || $do_upgrade == "" ]] ; then do_upgrade=1 && break
-		else eerror "Please type either \"Y\" or \"N\" ... " ; fi
-	done
-
-	if [[ $do_upgrade ]] ; then
-
-		LATEST_DEST=$(test -n "${LATEST_DEST}" && echo ${LATEST_DEST} || \
-			find /opt -maxdepth 1 -iname 'gitlabhq-*' -and -type d -and -not -iname "gitlabhq-${SLOT}" | \
-			sort -rV | head -n1)
-
-		if [[ -z "${LATEST_DEST}" || ! -d "${LATEST_DEST}" ]] ; then
-			einfon "Please enter the path to your latest Gitlab instance:"
-			while true
-			do
-				read -r LATEST_DEST
-				test -d ${LATEST_DEST} && break ||\
-					eerror "Please specify a valid path to your Gitlab instance!"
-			done
-		else
-			einfo "Found your latest Gitlab instance at \"${LATEST_DEST}\"."
-		fi
-
-		einfo "Please make sure that you've created a backup and stopped your running Gitlab instance: "
-		elog "\$ cd \"${LATEST_DEST}\" && sudo -u ${GIT_USER} ${BUNDLE} exec rake gitlab:backup:create RAILS_ENV=production"
-		elog "\$ /etc/init.d/${LATEST_DEST#*/opt/} stop"
-		elog ""
-
-		einfon "Proceeed? [Y|n] "
-		read -r proceed
-		if [[ $proceed != "y" && $proceed != "Y" && $proceed != "" ]]
-		then
-			einfo "Aborting migration"
-			return
-		fi
-
-		if [[ ${LATEST_DEST} != ${DEST_DIR} ]] ;
-		then
-			einfo "Found major update, migrate data from \"$LATEST_DEST\":"
-
-			einfo "Migrating uploads ..."
-			einfon "This will move your uploads from \"$LATEST_DEST\" to \"${DEST_DIR}\", (C)ontinue or (s)kip? "
-			migrate_uploads=""
-			while true
-			do
-				read -r migrate_uploads
-				if [[ $migrate_uploads == "s" || $migrate_uploads == "S" ]] ; then migrate_uploads="" && break
-				elif [[ $migrate_uploads == "c" || $migrate_uploads == "C" || $migrate_uploads == "" ]] ; then migrate_uploads=1 && break
-				else eerror "Please type either \"c\" to continue or \"n\" to skip ... " ; fi
-			done
-			if [[ $migrate_uploads ]] ; then
-				su -l ${GIT_USER} -s /bin/sh -c "
-					rm -rf ${DEST_DIR}/public/uploads && \
-					mv ${LATEST_DEST}/public/uploads ${DEST_DIR}/public/uploads" \
-					|| die "failed to migrate uploads."
-
-				# Fix permissions
-				find "${DEST_DIR}/public/uploads/" -type d -exec chmod 0700 {} \;
-			fi
-
-            einfo "Migrating shared data ..."
-            einfon "This will move your shared data from \"$LATEST_DEST\" to \"${DEST_DIR}\", (C)ontinue or (s)kip? "
-            migrate_shared=""
-            while true
-            do
-                read -r migrate_shared
-                if [[ $migrate_shared == "s" || $migrate_shared == "S" ]] ; then migrate_shared="" && break
-                elif [[ $migrate_shared == "c" || $migrate_shared == "C" || $migrate_shared == "" ]] ; then migrate_shared=1 && break
-                else eerror "Please type either \"c\" to continue or \"n\" to skip ... " ; fi
-            done
-            if [[ $migrate_shared ]] ; then
-                su -l ${GIT_USER} -s /bin/sh -c "
-                    rm -rf ${DEST_DIR}/shared && \
-                    mv ${LATEST_DEST}/shared ${DEST_DIR}/shared" \
-                    || die "failed to migrate shared data."
-
-                # Fix permissions
-                find "${DEST_DIR}/shared/" -type d -exec chmod 0700 {} \;
-            fi			
-
-			einfon "Migrate configuration, (C)ontinue or (s)kip? "
-			while true
-			do
-				read -r migrate_config
-				if [[ $migrate_config == "s" || $migrate_config == "S" ]] ; then migrate_config="" && break
-				elif [[ $migrate_config == "c" || $migrate_config == "C" || $migrate_config == "" ]] ; then migrate_config=1 && break
-				else eerror "Please type either \"c\" to continue or \"s\" to skip ... " ; fi
-			done
-			if [[ $migrate_config ]]
-			then
-				for conf in database.yml gitlab.yml resque.yml unicorn.rb secrets.yml ; do
-					einfo "Migration config file \"$conf\" ..."
-					cp -p "${LATEST_DEST}/config/${conf}" "${DEST_DIR}/config/"
-					sed -s "s#$(basename $LATEST_DEST)#${PN}-${SLOT}#g" -i "${DEST_DIR}/config/$conf"
-	
-					example="${DEST_DIR}/config/${conf}.example"
-					test -f "${example}" && cp -p "${example}" "${DEST_DIR}/config/._cfg0000_${conf}"
-				done
-	
-				# if the user's console is not 80x24, it is better to manually run dispatch-conf
-				einfon "Merge config with dispatch-conf, (C)ontinue or (q)uit? "
-				while true
-				do
-					read -r merge_config
-					if [[ $merge_config == "q" || $merge_config == "Q" ]] ; then merge_config="" && break
-					elif [[ $merge_config == "c" || $merge_config == "C" || $merge_config == "" ]] ; then merge_config=1 && break
-					else eerror "Please type either \"c\" to continue or \"q\" to quit ... " ; fi
-				done
-				if [[ $merge_config ]] ; then
-					CONFIG_PROTECT="${DEST_DIR}" dispatch-conf || die "failed to automatically migrate config, run \"CONFIG_PROTECT=${DEST_DIR} dispatch-conf\" by hand, re-run this routine and skip config migration to proceed."
-				else
-					echo "Manually run \"CONFIG_PROTECT=${DEST_DIR} dispatch-conf\" and re-run this routine and skip config migration to proceed." 
-					return
-				fi
-			fi
-		fi
-
-		einfo "Clean up old gems ..."
-		su -l ${GIT_USER} -s /bin/sh -c "
-			export LANG=en_US.UTF-8; export LC_ALL=en_US.UTF-8
-			cd ${DEST_DIR}
-			${BUNDLE} clean" \
-			|| die "failed to clean up old gems ..."
-
-		einfo "Migrating database ..."
-		su -l ${GIT_USER} -s /bin/sh -c "
-			export LANG=en_US.UTF-8; export LC_ALL=en_US.UTF-8
-			cd ${DEST_DIR}
-			${BUNDLE} exec rake db:migrate RAILS_ENV=production" \
-			|| die "failed to migrate database."
-
-		einfo "Clear redis cache ..."
-		su -l ${GIT_USER} -s /bin/sh -c "
-			export LANG=en_US.UTF-8; export LC_ALL=en_US.UTF-8
-			cd ${DEST_DIR}
-			${BUNDLE} exec rake cache:clear RAILS_ENV=production" \
-			|| die "failed to run cache:clear"
-
-		einfo "Clean up assets ..."
-		su -l ${GIT_USER} -s /bin/sh -c "
-			export LANG=en_US.UTF-8; export LC_ALL=en_US.UTF-8
-			cd ${DEST_DIR}
-			${BUNDLE} exec rake gitlab:assets:clean RAILS_ENV=production NODE_ENV=production" \
-			|| die "failed to run gitlab:assets:clean"
-
-		einfo "Configure Git to generate packfile bitmaps ..."
-		su -l ${GIT_USER} -s /bin/sh -c "
-			git config --global repack.writeBitmaps true" \
-			|| die "failed to configure Git"
-
-	else
-
-		## Check config files existence ##
-		einfo "Checking configuration files ..."
-
-		if [ ! -r "${CONF_DIR}/database.yml" ] ; then
-			eerror "Copy \"${CONF_DIR}/database.yml.*\" to \"${CONF_DIR}/database.yml\""
-			eerror "and edit this file in order to configure your database settings for"
-			eerror "\"production\" environment."
-			die
-		fi
-		if [ ! -r "${CONF_DIR}/gitlab.yml" ]; then
-			eerror "Copy \"${CONF_DIR}/gitlab.yml.example\" to \"${CONF_DIR}/gitlab.yml\""
-			eerror "and edit this file in order to configure your GitLab settings"
-			eerror "for \"production\" environment."
-			die
-		fi
-
-		einfo "Initializing database ..."
-		su -l ${GIT_USER} -s /bin/sh -c "
-			export LANG=en_US.UTF-8; export LC_ALL=en_US.UTF-8
-			cd ${DEST_DIR}
-			${BUNDLE} exec rake gitlab:setup RAILS_ENV=${RAILS_ENV}" \
-				|| die "failed to run rake gitlab:setup"
-	fi
-
-	einfo "Compile assets ..."
-	su -l ${GIT_USER} -s /bin/sh -c "
-		export LANG=en_US.UTF-8; export LC_ALL=en_US.UTF-8
-		cd ${DEST_DIR}
-		yarn add mime-db
-		yarn install --production --pure-lockfile --no-progress
-		${BUNDLE} exec rake gitlab:assets:compile RAILS_ENV=production NODE_ENV=production" \
-		|| die "failed to run yarn install and gitlab:assets:compile"
-
-	## (Re-)Link gitlab-shell-secret into gitlab-shell
-	if test -L "${GITLAB_SHELL}/.gitlab_shell_secret"
-	then
-		rm "${GITLAB_SHELL}/.gitlab_shell_secret"
-		ln -s "${DEST_DIR}/.gitlab_shell_secret" "${GITLAB_SHELL}/.gitlab_shell_secret"
-	fi
-
-	einfo "You might want to run the following in order to check your application status:"
-	einfo "# cd ${DEST_DIR} && sudo -u ${GIT_USER} ${BUNDLE} exec rake gitlab:check RAILS_ENV=production"
-	einfo ""
-	einfo "GitLab is prepared, now you should configure your web server."
-}

diff --git a/www-servers/unicorn/Manifest b/www-servers/unicorn/Manifest
deleted file mode 100644
index 7ca8b16..0000000
--- a/www-servers/unicorn/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST unicorn-5.1.0.gem 211456 SHA256 5b1c6a38d3503ec54d7acb6da89957ac8cba6b00ac787b6de683fb80467a9be5 SHA512 ff6030361af84e8f63d57b6bc6f917e99619217832b3a735389e2becf95dcc972d7c03b5c5818cbd8e2435f8226619dc457e79bae630c3fbda15432354056099 WHIRLPOOL 18495938ddf28256c8bb673c9891cb9009c67b6478711ecd49745e23ed2937009b38ee399d326ee4c3aa39e87bf69e1c187fb8a7a53d1cbcd203618fc67e83f0
-EBUILD unicorn-5.1.0.ebuild 1032 SHA256 08d6ff59c3a809706f7ecf8e0fd20d856fea649b37d6bef6c95ed3f85263360c SHA512 a53e1641337e7d21d22f676df6e37a93e2ca7ce9bea01116e937e2948d9737c6336cf7bb1eee886f1260a0d0e30b4dbee4d5f67606af672b0f1ef3884357545f WHIRLPOOL fb5f7f700cda36d7c7a41d0b44db04fbb661919d9b454f76b2efe17f2619a2560401a3d58de25c0858ff50ecfa298dc021d49cef93f4baf5893488f56f85ac31
-MISC metadata.xml 260 SHA256 6d9817bb849803066b93a8e6aa76081e5a784eed13d01a58fe2384d38bd43813 SHA512 06924e239bce9b23e59390bc843f1b45685cda4a4cf9745ff65259e43a1fb677ae8e1dcc41708afda19333a6fa0364f7975a5b0e4f6676e63be6f21600d09f73 WHIRLPOOL 847b2bd6cc5c54fac54db42938f2d682001d3bdbfaa8c71f08b1dc766bd76752b99d5081b5e1fc4f456964cc38ef7fa4232caa3b776be20939dac3904e5610db

diff --git a/www-servers/unicorn/metadata.xml b/www-servers/unicorn/metadata.xml
deleted file mode 100644
index 84289b7..0000000
--- a/www-servers/unicorn/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="person">
-		<email>samuelbernardo.mail@gmail.com</email>
-		<name>Samuel Bernardo</name>
-	</maintainer>
-</pkgmetadata>

diff --git a/www-servers/unicorn/unicorn-5.1.0.ebuild b/www-servers/unicorn/unicorn-5.1.0.ebuild
deleted file mode 100644
index c8ae606..0000000
--- a/www-servers/unicorn/unicorn-5.1.0.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-USE_RUBY="ruby20 ruby21 ruby22 ruby23"
-
-RUBY_FAKEGEM_TASK_DOC=""
-RUBY_FAKEGEM_EXTRADOC="KNOWN_ISSUES ISSUES HACKING PHILOSOPHY README SIGNALS FAQ DESIGN"
-
-inherit ruby-fakegem
-
-DESCRIPTION="An HTTP server for Rack applications"
-HOMEPAGE="https://rubygems.org/gems/unicorn http://bogomips.org/unicorn.git http://unicorn.bogomips.org/"
-
-LICENSE="GPL-2+ Ruby"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-ruby_add_rdepend ">=dev-ruby/kgio-2.6
-	<dev-ruby/kgio-3
-	dev-ruby/rack
-	>=dev-ruby/raindrops-0.7
-	<dev-ruby/raindrops-1"
-
-ruby_add_bdepend "test? ( >=dev-ruby/test-unit-3.0
-	<dev-ruby/test-unit-4 )"
-
-RESTRICT="test"
-
-each_ruby_configure() {
-	${RUBY} -Cext/unicorn_http extconf.rb || die
-}
-
-each_ruby_compile() {
-	emake V=1 -Cext/unicorn_http
-	cp ext/unicorn_http/unicorn_http$(get_modname) lib/ || die
-}
-
-all_ruby_install() {
-	all_fakegem_install
-}
-
-each_ruby_test() {
-	${RUBY} -Ilib -S testrb test/unit/test_*.rb
-}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-09-13  8:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-13  8:18 [gentoo-commits] repo/user/ssnb:master commit in: www-apps/gitlabhq/, app-emulation/opennebula/, www-servers/unicorn/, Samuel Bernardo

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