Moved {dev-vcs => www-servers}/gitlab-workhorse

This commit is contained in:
Manuel Friedli 2017-05-25 10:47:05 +02:00
parent edac9c536d
commit 3ff1b28b9d
19 changed files with 15 additions and 14 deletions

View file

@ -1,156 +0,0 @@
*gitlab-workhorse-1.2.1-r1 (29 Mar 2017)
*gitlab-workhorse-1.3.0-r1 (29 Mar 2017)
*gitlab-workhorse-1.4.1-r1 (29 Mar 2017)
*gitlab-workhorse-1.4.2 (29 Mar 2017)
29 Mar 2017; Manuel Friedli <manuel@fritteli.ch>
+files/0001-fix-Makefile.patch, +gitlab-workhorse-1.2.1-r1.ebuild,
+gitlab-workhorse-1.3.0-r1.ebuild, +gitlab-workhorse-1.4.1-r1.ebuild,
+gitlab-workhorse-1.4.2.ebuild, -files/fix-Makefile-1.2.1.patch,
-files/fix-Makefile-1.3.0.patch, -files/fix-Makefile-1.4.1.patch,
-gitlab-workhorse-1.2.1.ebuild, -gitlab-workhorse-1.3.0.ebuild,
-gitlab-workhorse-1.4.1.ebuild:
dev-vcs/gitlab-workhorse: Added ebuild for gitlab-workhorse-1.4.2 and finally
cleaned up the fix-makefile-patch mess.
*gitlab-workhorse-1.4.1 (13 Mar 2017)
13 Mar 2017; Manuel Friedli <manuel@fritteli.ch>
+files/fix-Makefile-1.4.1.patch, +gitlab-workhorse-1.4.1.ebuild:
dev-vcs/gitlab-workhorse: added ebuild for gitlab-workhorse-1.4.1
14 Feb 2017; Manuel Friedli <manuel@fritteli.ch>
-files/fix-Makefile-1.1.1.patch, -gitlab-workhorse-1.1.1.ebuild:
dev-vcs/gitlab-workhorse: added new ebuild, removed old one
*gitlab-workhorse-1.1.1 (12 Dec 2016)
12 Dec 2016; Manuel Friedli <manuel@fritteli.ch>
+files/fix-Makefile-1.1.1.patch, +gitlab-workhorse-1.1.1.ebuild,
-files/fix-Makefile-1.1.0.patch, -gitlab-workhorse-1.1.0.ebuild:
dev-vcs/gitlab-workhorse: added ebuild for gitlab-workhorse-1.1.1, a
dependency of gitlab-ce-8.14.4
*gitlab-workhorse-1.0.1 (05 Dec 2016)
*gitlab-workhorse-1.1.0 (05 Dec 2016)
05 Dec 2016; Manuel Friedli <manuel@fritteli.ch>
+files/fix-Makefile-1.0.1.patch, +files/fix-Makefile-1.1.0.patch,
+gitlab-workhorse-1.0.1.ebuild, +gitlab-workhorse-1.1.0.ebuild:
dev-vcs/gitlab-workhorse: added ebuilds for versions 1.0.1 (dependency of
gitlab-ce-8.14.2) and 1.1.0 (probably dependency of future gitlab-ce versions)
23 Nov 2016; Manuel Friedli <manuel@fritteli.ch>
-files/fix-Makefile-0.8.2.patch, -gitlab-workhorse-0.8.2-r1.ebuild:
dev-vcs/gitlab-workhorse: pruned old ebuilds
*gitlab-workhorse-1.0.0 (11 Nov 2016)
11 Nov 2016; Manuel Friedli <manuel@fritteli.ch>
+files/fix-Makefile-1.0.0.patch, +gitlab-workhorse-1.0.0.ebuild:
dev-vcs/gitlab-workhorse: added ebuild for gitlab-workhorse-1.0.0; dependency
of gitlab-ce-8.14
22 Oct 2016; Manuel Friedli <manuel@fritteli.ch>
-files/fix-Makefile-0.7.11.patch, -files/gitlab-workhorse.conf,
-files/gitlab-workhorse.init, -gitlab-workhorse-0.7.11.ebuild,
-gitlab-workhorse-0.8.2.ebuild:
dev-vcs/gitlab-workhorse: purged obsolete ebuilds
*gitlab-workhorse-0.8.5 (22 Oct 2016)
22 Oct 2016; Manuel Friedli <manuel@fritteli.ch>
+files/fix-Makefile-0.8.5.patch, +gitlab-workhorse-0.8.5.ebuild:
dev-vcs/gitlab-workhorse: added ebuild for version 0.8.5 which is a
dependency of gitlab-ce-8.13.0
*gitlab-workhorse-0.8.2-r1 (26 Sep 2016)
26 Sep 2016; Manuel Friedli <manuel@fritteli.ch>
+files/gitlab-workhorse-0.8.2.conf, +files/gitlab-workhorse-0.8.2.init,
+gitlab-workhorse-0.8.2-r1.ebuild:
dev-vcs/gitlab-workhorse: fix pulling over HTTP(S) by fixing the path to
gitlab-workhorse-secret
23 Sep 2016; Manuel Friedli <manuel@fritteli.ch>
-files/fix-Makefile-0.7.8.patch, -gitlab-workhorse-0.7.8.ebuild:
dev-vcs/gitlab-workhorse: removed obsolete version 0.7.8
*gitlab-workhorse-0.8.2 (21 Sep 2016)
21 Sep 2016; Manuel Friedli <manuel@fritteli.ch>
+files/fix-Makefile-0.8.2.patch, +gitlab-workhorse-0.8.2.ebuild,
-files/fix-Makefile-0.8.1.patch, -gitlab-workhorse-0.8.1.ebuild:
dev-vcs/gitlab-workhorse: updated ebuild for 0.8.1 to 0.8.2
16 Sep 2016; Manuel Friedli <manuel@fritteli.ch>
-files/fix-Makefile-0.7.10.patch, -files/fix-Makefile-0.8.0.patch,
-gitlab-workhorse-0.7.10.ebuild, -gitlab-workhorse-0.8.0.ebuild:
dev-vcs/gitlab-workhorse: deleted unneeded ebuilds
*gitlab-workhorse-0.8.0 (11 Sep 2016)
*gitlab-workhorse-0.8.1 (11 Sep 2016)
11 Sep 2016; Manuel Friedli <manuel@fritteli.ch>
+files/fix-Makefile-0.8.0.patch, +files/fix-Makefile-0.8.1.patch,
+gitlab-workhorse-0.8.0.ebuild, +gitlab-workhorse-0.8.1.ebuild:
dev-vcs/gitlab-workhorse: added ebuilds for versions 0.8.0 and 0.8.1, as
required by www-apps/gitlab-ce-8.12.0_rc2
05 Sep 2016; Manuel Friedli <manuel@fritteli.ch>
gitlab-workhorse-0.7.10.ebuild, gitlab-workhorse-0.7.11.ebuild,
gitlab-workhorse-0.7.8.ebuild:
dev-vcs/gitlab-workhorse: fixed ebuilds for gitlab-workhorse for EAPI="6"
01 Sep 2016; Manuel Friedli <manuel@fritteli.ch>
gitlab-workhorse-0.7.10.ebuild, gitlab-workhorse-0.7.11.ebuild,
gitlab-workhorse-0.7.8.ebuild:
dev-vcs/gitlab-workhorse: updated to EAPI="6"
*gitlab-workhorse-0.7.11 (29 Aug 2016)
29 Aug 2016; Manuel Friedli <manuel@fritteli.ch>
+files/fix-Makefile-0.7.11.patch, +gitlab-workhorse-0.7.11.ebuild:
dev-vcs/gitlab-workhorse: added ebuild for gitlab-workhorse-0.7.11
*gitlab-workhorse-0.7.10 (22 Aug 2016)
22 Aug 2016; Manuel Friedli <manuel@fritteli.ch>
+files/fix-Makefile-0.7.10.patch, +gitlab-workhorse-0.7.10.ebuild:
dev-vcs/gitlab-workhorse: added ebuild for gitlab-workhorse-0.7.10. this is a
dependeny of gitlab-ce-9999
22 Aug 2016; Manuel Friedli <manuel@fritteli.ch>
-files/fix-Makefile-0.7.7.patch, -gitlab-workhorse-0.7.7.ebuild:
dev-vcs/gitlab-workhorse: purged all versions <gitlab-workhorse-0.7.8
26 Jul 2016; Manuel Friedli <manuel@fritteli.ch>
-files/fix-Makefile-0.7.1.patch, -files/fix-Makefile-0.7.6.patch,
-gitlab-workhorse-0.7.1.ebuild, -gitlab-workhorse-0.7.6.ebuild:
dev-vcs/gitlab-workhorse: removed all versions <0.7.7, as all available
ebuilds of gitlab-ce require >=gitlab-workhorse-0.7.7
*gitlab-workhorse-0.7.8 (11 Jul 2016)
11 Jul 2016; Manuel Friedli <manuel@fritteli.ch>
+files/fix-Makefile-0.7.8.patch, +gitlab-workhorse-0.7.8.ebuild:
dev-vcs/gitlab-workhorse: added ebuild for version 0.7.8
*gitlab-workhorse-0.7.7 (28 Jun 2016)
28 Jun 2016; Manuel Friedli <manuel@fritteli.ch>
+files/fix-Makefile-0.7.7.patch, +gitlab-workhorse-0.7.7.ebuild:
dev-vcs/gitlab-workhorse: Added version 0.7.7, just a minor update
26 Jun 2016; Manuel Friedli <manuel@fritteli.ch>
-files/fix-Makefile-0.7.4.patch, -gitlab-workhorse-0.7.4.ebuild:
dev-vcs/gitlab-workhorse: Purged unneded version 0.7.4 of dev-vcs/gitlab-
workhorse
*gitlab-workhorse-0.7.6 (18 Jun 2016)
18 Jun 2016; Manuel Friedli <manuel@fritteli.ch> +gitlab-workhorse-0.7.6.ebuild:
Added ebuild for dev-vcs/gitlab-workhorse-0.7.6 and deleted obsolete patch file
07 Jun 2016; Manuel Friedli <manuel@fritteli.ch> +ChangeLog:
Added ChangeLog

View file

@ -1,13 +0,0 @@
AUX 0001-fix-Makefile.patch 360 SHA256 7dfdf28c0124c5054d452a9ff33b7f8f9b818f8aac63f26c8c3b567c919e0930 SHA512 d4a54811aadf330a31a562a78a99e34abaea83b647c8002de72fe27c6b58155879f8238f6382979cdc34370f5a81f979cab6d0f54a8ec8e529ca22a118901d3a WHIRLPOOL 19d77424ff65b51b120e88e9c7bd9f9520213d42cf70aa436e339beb402d528ca5efaf14009ecd2b01e9de1a8bb350b82f52541e885265e5649d869df80a7659
AUX gitlab-workhorse-0.8.2.conf 297 SHA256 8bb99a78197ad22892e4c85496101a39f2c82f6c537f44da8185af54dbb44a38 SHA512 d143489c165ef5e68810bb10d5e97da7ad3be6d53618380231706ec16c3fd8bc3eedbc78a09949479a408646e32aae4cdceaca9b271ba3b816e3449b792c5406 WHIRLPOOL 649d34b60afab816dac559989c9a3b0cb9620c2ac2a7617cfcae8bcc2c421791fa612571f83e6611ec8ab8c26c9c79f9832f4e6a70396497dfc5a40d99bbbef9
AUX gitlab-workhorse-0.8.2.init 681 SHA256 bf3f94853781251629daae935d04294febf317061536624e2c01188dd6688ae7 SHA512 6275abe0910e7327f952dba36827a9083264f76753605767cc11ee7b162fdecef3170783800263bf8acbe891d41e6be9e27b5fcca2a4f035b990c9865aa02647 WHIRLPOOL bc983d0413c0743ef0843a3abb46ee2be78ac6e18b56f96de63b4ea8cb9242f8ef6a96f2d593dbcda33a0a60b7f941f27bd704b7f64a85db7379ef0b42233527
DIST gitlab-workhorse-1.2.1.tar.bz2 381033 SHA256 b9e0bf7c2b3ad1378c59def86d59726e988ee31db94b96d3e907aeae402ce1bd SHA512 de50574b39f84ea980c64cf54e7e0aa5bc94ed933bcb550f5712d07a8d60e4843fcf97993e285bd67361f931dd9a63f5cbde98a96478444b8381f23491635493 WHIRLPOOL 7cea252ada82a4d7281bbdd002fffbc3bebbcffe20748b8e4b8e4e8aa6fcee852bc18076c9ea4761849e24b5291b4552ef3e8ea812f1156ab980f476ded59b7a
DIST gitlab-workhorse-1.3.0.tar.bz2 384385 SHA256 b0acbd61a7ccf37512b569dc50625ff89dec9e181f8d5ed0b6115c81ef611032 SHA512 e2ea0183666e48795d97f19117995ce0191ce6d3a3810ceabb9c365b359839d8603b65608d754fd54b41a50fa2375eb64312203d58988aabfe81026f520d2f8f WHIRLPOOL 35e8eee022fc12e7d281656cdb65f35b23eb45fff739bd6fad05e594be56578043445cd6c5fd0ac3d3b097a4d0215a19cff0cc54c2d0d5dbec6dc5df3398fdaf
DIST gitlab-workhorse-1.4.1.tar.bz2 624717 SHA256 fb15cfd4cc2215b1a1f67f31f091a0d56c61951cf63f99dadcc5dd8c4b50b121 SHA512 2c70e08abff111f9614c0f6b64ac4b189a3b259c429f9e64dacce48bede3ae5241f44361d753787c7b11c6ee0819790843e7db0da2f0680229ee910e5e6d9c55 WHIRLPOOL f4b4a82823a061918bdea2ffac54491c40b4975fbe67dca1581bfe3790a8fbc825a8a2d8900d8aab242be6c8a720af2aea7e82aff3b97f66e7ab792496984955
DIST gitlab-workhorse-1.4.2.tar.bz2 625125 SHA256 4df4d93bc59102c312ad2a642d7f1ca463357c60d440a11fa72cfcbd4363a8e6 SHA512 1fa23991b463136565185982c1d10d17ecccd44f18138dc27cd0ef8ba0c63abc84347475d295fb71de9aaf8ad3de5747bb656c53c87769d3bce5db67571f89e2 WHIRLPOOL 3e5f2d311d96124546492d3b1da0740e70b8418f3a58f2dae2d457fb15a61d3ebdceea0e67c5a474a00ad7ac67575931a9d6ec8a4cc74572bc5549783b76304d
EBUILD gitlab-workhorse-1.2.1-r1.ebuild 1019 SHA256 59a9b9fef8350811a1ebeb8824b8bacdfc2c145b88367841c82fe327729b63a2 SHA512 e708d5bc395b4eb8760ba218559e65059dcb499ebc45b33360da2b4b738f51fbb81ad1a2f6eb909d0d40025b45faf4c3be8fb84c945f231de0c635c2770bdbc2 WHIRLPOOL b536bb41b413beb5af648e406dc285c2e8d8b2dc8fd2803296753734feca0856219f560817c58c538b0207c4392e3c73142a8c701646033af9218023c1ca7471
EBUILD gitlab-workhorse-1.3.0-r1.ebuild 1019 SHA256 c89fb85c3f9be066b78dc3eb7eeff6b2a93e5036e526688fe19bfa7c4242795b SHA512 69db5fd2700f3ff5ee8513c60d3a704b7de82757f2c3e8d8162606873aeec05655a30169ce53ca036d52e71507f4d1e39ca1f7520abba3bd9955c5d2408d8a7f WHIRLPOOL 96890317f566dc9775eeb85d231ed92a65979d12adb8dace28bcd52bd1b0e3d5ff3acb852def13edd0d8e797922e82d0fb20b41112933496216578ab92417f97
EBUILD gitlab-workhorse-1.4.1-r1.ebuild 1019 SHA256 c46bd4235e80fcef8c35ff96638795dcc94cd4398724d94ed362a30f79353035 SHA512 70c9f57d7601abf3b0e9de9970b8aad1c3da9c818781ada3a93cf627f888dec27439cf45a53e87a415eced4c378403b2ee129799775c4cb8b142a2905e2b6e56 WHIRLPOOL 398d56fbc5b47071e68bbf97a6dfee7c0752ea9040d9209435665eaf0167c8d5f7fe4fb2cc8f7826e2961fd5ac4b87388538e4d16d7bce5a87490698f647e2d8
EBUILD gitlab-workhorse-1.4.2.ebuild 1019 SHA256 12e00f04075eb815e41640f4ca906ce1aaa833104e79c43f19c1a34c4454ce2c SHA512 8b430448c28ea695502f08928626f628657d58582439c3458370a56dc134c108c24f266a3fe2353b1ecd5082d2e53b985fa998b8919b60f81836579c884555e3 WHIRLPOOL ff37a454aa77734d4cd15b6bc4181a5dc8f1ead2d03710fdc59a514cbaa0a67202ded330021f2c6f763797763b8de94e2ffe86c90cba2336903479abcdfc3437
MISC ChangeLog 6613 SHA256 cb006b86036d17d1a77bd16ee43b701a4bcb245851299fb73181e92fb10cc787 SHA512 e891fd757198a066c82a2f8843911ae836fc962d661d5d5569b82b00b9ce732f015ff5712f32c7ffe71e6ed2091f376ec621cbdfca21d5d0e7e6f85db3be49d1 WHIRLPOOL a6f6b6d975f2d0f73ff17de76c82166a5f106ab869ea15ebd31f15fd4161121c18dd4a1b216884a66e76a2bcf05083d8d6d3105b4c0dcd7dbc13c631a9c0922d
MISC metadata.xml 248 SHA256 7b43be15755627edf5c12cf1b50c607d781558640bf8375d685d51d7ade99a32 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 WHIRLPOOL 993013c9878ead35469db13d3072f694a341ee654182e0c31d0678f5dd6de4bdc8d59a0b7bb6d685dc41ea6b55dac518cd8034131baea8002170c680e50304d1

View file

@ -1,12 +0,0 @@
diff --git a/Makefile b/Makefile
index 3f6ac91..663ffbb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-PREFIX=/usr/local
-VERSION=$(shell git describe)-$(shell date -u +%Y%m%d.%H%M%S)
+PREFIX=${DESTDIR}/usr
+VERSION=v@@VERSION@@-$(shell date -u +%Y%m%d.%H%M%S)
BUILD_DIR = $(shell pwd)
export GOPATH=${BUILD_DIR}/_build
export GO15VENDOREXPERIMENT=1

View file

@ -1,12 +0,0 @@
AUTH_BACKEND=http://localhost:8080
LISTEN_ADDR=localhost:8181
LISTEN_NETWORK=tcp
LISTEN_UMASK=022
PPROF_LISTEN_ADDRESS=
SECRET_PATH=/opt/gitlab/.gitlab_workhorse_secret
GIT_REPO_PATH=/var/lib/git/repositories
RUNAS_USER=git
RUNAS_GROUP=${RUNAS_USER}
LOGFILE=/var/log/gitlab/gitlab-workhorse.log

View file

@ -1,16 +0,0 @@
#!/sbin/openrc-run
start() {
ebegin "Starting gitlab-workhorse"
start-stop-daemon --start --exec /usr/bin/gitlab-workhorse --pidfile /run/gitlab-workhorse.pid \
--make-pidfile --background --user ${RUNAS_USER}:${RUNAS_GROUP} --stdout "${LOGFILE}" --stderr "${LOGFILE}" \
-- -authBackend=${AUTH_BACKEND} -listenAddr=${LISTEN_ADDR} -listenNetwork=${LISTEN_NETWORK} -listenUmask=${LISTEN_UMASK} \
-pprofListenAddr=${PPROF_LISTEN_ADDR} -secretPath=${SECRET_PATH} ${GIT_REPO_PATH}
eend $?
}
stop() {
ebegin "Stopping gitlab-workhorse"
start-stop-daemon --stop --exec /usr/bin/gitlab-workhorse --pidfile /run/gitlab-workhorse.pid --user ${RUNAS_USER}:${RUNAS_GROUP}
eend $?
}

View file

@ -1,43 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
inherit eutils user
DESCRIPTION="This is the new backend for Git-over-HTTP communication needed for GitLab >= 8.4"
HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-workhorse"
SRC_URI="https://gitlab.com/gitlab-org/${PN}/repository/archive.tar.bz2?ref=v${PV} -> ${P}.tar.bz2"
MY_GIT_COMMIT="0fe5a09e85de07cae1210627f1ecbaeb38e8372b"
S="${WORKDIR}/${PN}-v${PV}-${MY_GIT_COMMIT}"
RESTRICT="mirror"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
DEPEND=">=dev-lang/go-1.5.1"
src_prepare() {
epatch "${FILESDIR}/0001-fix-Makefile.patch"
sed -i -e "s/@@VERSION@@/${PV}/" Makefile
eapply_user
}
src_install() {
local dest=/usr/bin
diropts -m755
dodir ${dest}
exeinto ${dest}
for f in "${PN}" gitlab-zip-cat gitlab-zip-metadata ; do
doexe "${S}/${f}"
done
## RC script ##
newinitd "${FILESDIR}/${PN}-0.8.2.init" "${PN}"
newconfd "${FILESDIR}/${PN}-0.8.2.conf" "${PN}"
}

View file

@ -1,43 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
inherit eutils user
DESCRIPTION="This is the new backend for Git-over-HTTP communication needed for GitLab >= 8.4"
HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-workhorse"
SRC_URI="https://gitlab.com/gitlab-org/${PN}/repository/archive.tar.bz2?ref=v${PV} -> ${P}.tar.bz2"
MY_GIT_COMMIT="b30cda2218572674082636d9851086eeee9a971f"
S="${WORKDIR}/${PN}-v${PV}-${MY_GIT_COMMIT}"
RESTRICT="mirror"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
DEPEND=">=dev-lang/go-1.5.1"
src_prepare() {
epatch "${FILESDIR}/0001-fix-Makefile.patch"
sed -i -e "s/@@VERSION@@/${PV}/" Makefile
eapply_user
}
src_install() {
local dest=/usr/bin
diropts -m755
dodir ${dest}
exeinto ${dest}
for f in "${PN}" gitlab-zip-cat gitlab-zip-metadata ; do
doexe "${S}/${f}"
done
## RC script ##
newinitd "${FILESDIR}/${PN}-0.8.2.init" "${PN}"
newconfd "${FILESDIR}/${PN}-0.8.2.conf" "${PN}"
}

View file

@ -1,43 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
inherit eutils user
DESCRIPTION="This is the new backend for Git-over-HTTP communication needed for GitLab >= 8.4"
HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-workhorse"
SRC_URI="https://gitlab.com/gitlab-org/${PN}/repository/archive.tar.bz2?ref=v${PV} -> ${P}.tar.bz2"
MY_GIT_COMMIT="01d2f4b246adc68c7fa7236ffbd17ae812af4b56"
S="${WORKDIR}/${PN}-v${PV}-${MY_GIT_COMMIT}"
RESTRICT="mirror"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
DEPEND=">=dev-lang/go-1.5.1"
src_prepare() {
epatch "${FILESDIR}/0001-fix-Makefile.patch"
sed -i -e "s/@@VERSION@@/${PV}/" Makefile
eapply_user
}
src_install() {
local dest=/usr/bin
diropts -m755
dodir ${dest}
exeinto ${dest}
for f in "${PN}" gitlab-zip-cat gitlab-zip-metadata ; do
doexe "${S}/${f}"
done
## RC script ##
newinitd "${FILESDIR}/${PN}-0.8.2.init" "${PN}"
newconfd "${FILESDIR}/${PN}-0.8.2.conf" "${PN}"
}

View file

@ -1,43 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
inherit eutils user
DESCRIPTION="This is the new backend for Git-over-HTTP communication needed for GitLab >= 8.4"
HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-workhorse"
SRC_URI="https://gitlab.com/gitlab-org/${PN}/repository/archive.tar.bz2?ref=v${PV} -> ${P}.tar.bz2"
MY_GIT_COMMIT="a0f050c8fc680faa2c758c11ad2815cfe367db44"
S="${WORKDIR}/${PN}-v${PV}-${MY_GIT_COMMIT}"
RESTRICT="mirror"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
DEPEND=">=dev-lang/go-1.5.1"
src_prepare() {
epatch "${FILESDIR}/0001-fix-Makefile.patch"
sed -i -e "s/@@VERSION@@/${PV}/" Makefile
eapply_user
}
src_install() {
local dest=/usr/bin
diropts -m755
dodir ${dest}
exeinto ${dest}
for f in "${PN}" gitlab-zip-cat gitlab-zip-metadata ; do
doexe "${S}/${f}"
done
## RC script ##
newinitd "${FILESDIR}/${PN}-0.8.2.init" "${PN}"
newconfd "${FILESDIR}/${PN}-0.8.2.conf" "${PN}"
}

View file

@ -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>manuel@fritteli.ch</email>
<name>Manuel Friedli</name>
</maintainer>
</pkgmetadata>