Merge branch '85-gitlab-workhorse-1-4-1' into 'master'

dev-vcs/gitlab-workhorse:

Closes #85

See merge request !152
This commit is contained in:
Manuel Friedli 2017-03-13 18:21:35 +01:00
commit d6a0669f71
4 changed files with 61 additions and 1 deletions

View file

@ -1,3 +1,9 @@
*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

View file

@ -1,10 +1,13 @@
AUX fix-Makefile-1.2.1.patch 354 SHA256 7cb067ad7465e0e72eb503edb4f56e2b080806cb66826b2890a492add86d41df SHA512 0616061973d6cd9a5871095fe7ec1a7a80054399e6926bea8ac36b1196c1a962459eefffcd18a9a080d9bfa1a195aa504ad50642a117e9bace28fe6cad638e24 WHIRLPOOL 428a0db0e0696ceb8931bd89bcfcf476039e8cd7eb04d7bedf39af41338ce72d495fa572ab050c8747026ff9d28c59b15baf8c6c3ac5b9ca198e20bbd702622e
AUX fix-Makefile-1.3.0.patch 354 SHA256 777616d246eb99b2189f68df3eaac9b538845884fda25f879738268f2ecd3112 SHA512 44052c8b90beef243ffc59cabf5c58d84c7e5482022a036ee59f9b4ef392ac5c5df9e36bf0ee8229943d5139da99367dba860622ac1b0e71e5065bdb1d1759d5 WHIRLPOOL 67e27b31dd279dffca80fc79c409f0696430f75dae7a57433d5b913e4b60b99fbdee50089edc70cae69e0e0d95d4602d03975b9b48fa7678ccdeca3b1d0d9c76
AUX fix-Makefile-1.4.1.patch 354 SHA256 c7b2810895c92a1303a69c719d3b21990c5d4d7111e10cc30914ca619ada0525 SHA512 5b3abe642ca3e9e862d8ea6cf8e3af40c6cc6e89728402bc78760ac709effd0f31c7dfe4e5ff855fa0eb4b9c9d2de5baf000fffa13e4b2c905776a85ebcea442 WHIRLPOOL e089f12164da308887e675a5c08e2fc6faefae199403a972d6508e139ccb0aa6166c1d7dcfbd126876dfb1f674689fd5212e88504af5b7574feddc40658a4562
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
EBUILD gitlab-workhorse-1.2.1.ebuild 950 SHA256 7a3dd2657fb3a3224d57170d4ac416f1d5b74512b9ca84ff0f1d73dc07929994 SHA512 3002655f560b8d15d5cb32e0cf0ba96ae404c160649d9c41deb76e094a21b9e302701a627b26651ef8368374510ddcf416df4079fb034a72c298a0c8ba59317a WHIRLPOOL d75356d647620369083b579d3246f23a97a37490759fc84ea10dfe93636330c77d1a4832151d56d677b05fe8a026dcb9e44686c9c042db66cacf9191c644af2b
EBUILD gitlab-workhorse-1.3.0.ebuild 950 SHA256 3b6ac03d566350a703e5822dab7dcbf8348b355abc9fd093db460ae58a442349 SHA512 065b393b1ad002b69ed5641016f92971fd57dc6ebf5c8619b59fcb9948ab8ea8b6c42eb211a12d1dda4b84a700134d5b582abb72c3450a07effe6e5e735c537e WHIRLPOOL 4d99f80727a225ee8164be6f9df1fbdd80d88ac407d12bd65d0463735f36fec713a1aacfdde14190b3a3510d4bdffad8409467a6b12112f71a26d43c8ab71a52
MISC ChangeLog 5672 SHA256 1a553d519a05437459078a9a14c0089f122954b7182cdfc05fbf0ae58e8b7287 SHA512 4d9107f6598bee4d82c9233aeed35fd0c05c826312626bd6642b62c7e0709ed53673297e7a32c9786b9e7b15944f00b81c8b87c405cc17ad892a649c4fcb46c8 WHIRLPOOL efd980fb357de4f86c19cc8d0f366126ddd1223927656a9309f1dd2f3daab90681dce8e2648b5f4bd764c7c85d02bcb8f4a400532e87b3e8440a04e729094287
EBUILD gitlab-workhorse-1.4.1.ebuild 950 SHA256 04edb77a3bdb3d621c791420bdaec7a86b4a7cabe0f62be5dcae654ddce0c937 SHA512 6c5288f6dc7a40e48ab03e676cb2556cc0e292e151e31a79d1f9383985f6651f0d7a8cef8f27543547aaa1222f927f3ae4d5e37515310ccdef5f08b681fe4173 WHIRLPOOL abe0f660ead583934ee0c10c7ea29e31a2fb9e968148ddfaa95bd89faaf698e9f7e4bee3f81a2098a16b940175a706c203b3340ca1becb81b38f05a791c796cd
MISC ChangeLog 5900 SHA256 49d961a01451aab8f4f957321ea72fc355e21015f1ed33e2187aad0e5bbf03c3 SHA512 5e33d882093a5cefda6b73de1aeb95ceaa834b1a7bd630d6550c67155eae97034bf5c069141c1b06c0ac63327f4cbc880b34d2c7366e5ccf7d8ca3e5e04c75a8 WHIRLPOOL 606ee7ded79b722b72aace9e789f7eeedc3bf2ed7abcc187590c0c97993dd47f868928334ae16b0a9452fc4b489ee9058ff6f3e012bd859987fd9e07e1d2ed65
MISC metadata.xml 248 SHA256 7b43be15755627edf5c12cf1b50c607d781558640bf8375d685d51d7ade99a32 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 WHIRLPOOL 993013c9878ead35469db13d3072f694a341ee654182e0c31d0678f5dd6de4bdc8d59a0b7bb6d685dc41ea6b55dac518cd8034131baea8002170c680e50304d1

View file

@ -0,0 +1,12 @@
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=v1.4.1-$(shell date -u +%Y%m%d.%H%M%S)
BUILD_DIR = $(shell pwd)
export GOPATH=${BUILD_DIR}/_build
export GO15VENDOREXPERIMENT=1

View file

@ -0,0 +1,39 @@
# 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"
PATCHES=( "${FILESDIR}/fix-Makefile-${PV}.patch" )
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}"
}