From c649d36e7d822d4621a7f9b34801e1d4c29661eb Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Wed, 29 Mar 2017 12:22:36 +0200 Subject: [PATCH] www-servers/gitaly: Added dummy-ebuild for gitaly-0.3.0. This will not build, but instead just show an error message upon installation. It is a mere placeholder for the future. It is needed so that the gitaly USE-flag could be added to the gitlab-ce-9.0.1 ebuild. Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- www-servers/gitaly/ChangeLog | 8 +++ www-servers/gitaly/Manifest | 4 ++ www-servers/gitaly/gitaly-0.3.0.ebuild | 67 ++++++++++++++++++++++++++ www-servers/gitaly/metadata.xml | 8 +++ 4 files changed, 87 insertions(+) create mode 100644 www-servers/gitaly/ChangeLog create mode 100644 www-servers/gitaly/Manifest create mode 100644 www-servers/gitaly/gitaly-0.3.0.ebuild create mode 100644 www-servers/gitaly/metadata.xml diff --git a/www-servers/gitaly/ChangeLog b/www-servers/gitaly/ChangeLog new file mode 100644 index 0000000..8b9ab32 --- /dev/null +++ b/www-servers/gitaly/ChangeLog @@ -0,0 +1,8 @@ +*gitaly-0.3.0 (29 Mar 2017) + + 29 Mar 2017; Manuel Friedli +gitaly-0.3.0.ebuild, + +metadata.xml: + www-servers/gitaly: Added dummy-ebuild for gitaly-0.3.0. This will not build, + but instead just show an error message upon installation. It is a mere + placeholder for the future. It is needed so that the gitaly USE-flag could be + added to the gitlab-ce-9.0.1 ebuild. diff --git a/www-servers/gitaly/Manifest b/www-servers/gitaly/Manifest new file mode 100644 index 0000000..7fd6736 --- /dev/null +++ b/www-servers/gitaly/Manifest @@ -0,0 +1,4 @@ +DIST gitaly-0.3.0.tar.bz2 621097 SHA256 60404ae78b6551e7258a30fa615d7d8c200b84f161ecf904e034db3839391766 SHA512 ad50d15f4a97bf5dd2cc64830840041d8537bd251176eb8964cda3fdb6ef6e1bf3c8b7773516c6e1d51005cc0a718a1bc3ca95fc9ee5d0826c3f9690e1235bb6 WHIRLPOOL 364cdc3407d5fef6ac48a67f8bdd477b75300069be2cbf2567aa73ea7406256ea3c15a27c7a13f92d17c6b63f5923d4e737437bdd3a1e8b808de1832cc9c1af8 +EBUILD gitaly-0.3.0.ebuild 1593 SHA256 f07387ac6ec3c68d2c4aa8894804caf5a456b8e12e15937d82fda4d2ed864185 SHA512 95d19b0e799195fa5e3d8cc2879c1017503f68aa586a074119441fbbcff28d2cd9d538830a3a2b40a542bdbfa99518f9afd09232907ac7e763d500cf00abe32f WHIRLPOOL 1e3c778ac33e385865a610dfef5ee07841e9a7b91800b94a3a88714caf38084584524b2f120553a9f13ee2df57309fbd8e9b1e119cdbfd2f6cc1749e25f14bcf +MISC ChangeLog 392 SHA256 c85d6fb8a93d47762d1a6279f7523138234a5951a71700a0abb5bd6c69405704 SHA512 ff7a8dc6e0457f88e22c93ae062fb7c4da834cf679e0742f276465060164dbb510573b55bab7471ae851e5380cc60fece093ef973d4c0da4413ce0f8f3c99263 WHIRLPOOL d3b4cf6e3182e5be74aa8689b2ea5b3baf53bbf2ff2ad56bc60429d89627aad8d148877c285cc1ed0e8960ad5e02344901c3554e7e78c2e2a3a1fca9c5533825 +MISC metadata.xml 248 SHA256 7b43be15755627edf5c12cf1b50c607d781558640bf8375d685d51d7ade99a32 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 WHIRLPOOL 993013c9878ead35469db13d3072f694a341ee654182e0c31d0678f5dd6de4bdc8d59a0b7bb6d685dc41ea6b55dac518cd8034131baea8002170c680e50304d1 diff --git a/www-servers/gitaly/gitaly-0.3.0.ebuild b/www-servers/gitaly/gitaly-0.3.0.ebuild new file mode 100644 index 0000000..5cce79d --- /dev/null +++ b/www-servers/gitaly/gitaly-0.3.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils golang-build golang-vcs-snapshot user + +EGO_PN="gitlab.com/gitlab-org/gitlab-pages/..." + +MY_PV="v${PV/_/-}" +MY_GIT_HASH="fdcb2c9" + +DESCRIPTION="Stop relying on NFS for horizontal scaling. Speed up Git access using caching." +HOMEPAGE="https://gitlab.com/gitlab-org/gitaly" +SRC_URI="https://gitlab.com/gitlab-org/${PN}/repository/archive.tar.bz2?ref=v${PV} -> ${P}.tar.bz2" + +KEYWORDS="~amd64 ~x86 ~arm ~arm64" +LICENSE="MIT" +SLOT="0/${PVR}" + +DEPEND=">=dev-lang/go-1.5" + +RESTRICT="test mirror" + +#MY_USER="gitlab_pages" + +pkg_setup() { + eerror "This ebuild is but a dummy placeholder. Gitaly is not yet supported." + die "Gitaly is not yet supported." +} + +#pkg_setup() { +# enewgroup ${MY_USER} +# enewuser ${MY_USER} -1 -1 -1 ${MY_USER} +#} + +#src_prepare() { +# epatch "${FILESDIR}/0001-fix-Makefile-${PV}.patch" +# +# sed -i -E \ +# -e "s/@@REVISION@@/${MY_GIT_HASH}/" \ +# src/gitlab.com/gitlab-org/${PN}/Makefile +# +# eapply_user +#} + +#src_compile() { +# emake GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" RELEASE=true -C src/${EGO_PN%/*} all +#} + +#src_install() { +# golang-build_src_install +# dobin bin/* +# dodoc src/${EGO_PN%/*}/README.md src/${EGO_PN%/*}/CHANGELOG +# +# # rc script +# local rcscript="${PN}-0.3.2.init" +# +# cp "${FILESDIR}/${rcscript}" "${T}" || die +# sed -i \ +# -e "s|@USER@|${MY_USER}|g" \ +# "${T}/${rcscript}" \ +# || die "failed to filter ${rcscript}" +# +# newinitd "${T}/${rcscript}" "${PN}" +# newconfd "${FILESDIR}/${PN}-0.3.2.conf" "${PN}" +#} diff --git a/www-servers/gitaly/metadata.xml b/www-servers/gitaly/metadata.xml new file mode 100644 index 0000000..67a771c --- /dev/null +++ b/www-servers/gitaly/metadata.xml @@ -0,0 +1,8 @@ + + + + + manuel@fritteli.ch + Manuel Friedli + +