www-servers/gitlab-gitaly:
Add ebuild for version 0.35.0; dependency of gitlab-ce-9.5.3. Package-Manager: Portage-2.3.6, Repoman-2.3.1
This commit is contained in:
parent
886c095250
commit
fb9f566582
4 changed files with 84 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
*gitlab-gitaly-0.35.0 (05 Sep 2017)
|
||||
|
||||
05 Sep 2017; Manuel Friedli <manuel@fritteli.ch>
|
||||
+files/0002-gitlab-gitaly-0.35.0-fix-config.toml.example.patch,
|
||||
+gitlab-gitaly-0.35.0.ebuild:
|
||||
www-servers/gitlab-gitaly: Add ebuild for version 0.35.0; dependency of
|
||||
gitlab-ce-9.5.3.
|
||||
|
||||
*gitlab-gitaly-0.21.2 (25 Jul 2017)
|
||||
*gitlab-gitaly-0.23.0 (25 Jul 2017)
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ AUX 0001-gitlab-gitaly-0.10.0-fix-Makefile.patch 248 SHA256 03b4315da76b4409e990
|
|||
AUX 0001-gitlab-gitaly-0.23.0-fix-Makefile.patch 253 SHA256 e1a3d0ea2d10145dd9d9b10848fb1731758eb16426ae203fa5a0abab65633380 SHA512 485178891a9589e29f0735bfbb8f1557355881f50498b46185ea6e658214454beed7350aab412699318ee801d8899824177d7d20568e91eb4ddf7562e9e8b9a2 WHIRLPOOL b2088784e30eaf8bb46832cb8454e5a8d2f2eeab00b41ffd021d257b6f19ffc53a420ed7123b1c9b9a83fd8a87184c178a3334d391bc4d85b78b8893245dfc03
|
||||
AUX 0002-gitlab-gitaly-0.10.0-fix-config.toml.example.patch 692 SHA256 5f9eda6f748a7622671a41632614e035267520388af90b9c9bddefa2731652f6 SHA512 942c2e012d013d5eca80a679a1ecaf035c1d6b93251c827cf75b31edc5c9e211edf78d41a1148b84142338ae3f19fdd5673b207f18659acfc78982a0a6d4f253 WHIRLPOOL ff414bbfcb1fb6eaae5bc8e5d41cc27e0e93a1b216842d47570f8725988b594ad236c2d33ed8075ecd24f2939c46a2bdb5f77744ed26ab5bd2afcd0a9a93201d
|
||||
AUX 0002-gitlab-gitaly-0.11.2-fix-config.toml.example.patch 700 SHA256 7f5c3f840581c2c2e98741ad6fcb9b486948dbcd80f52f4c45538b9fe9009087 SHA512 e89636c4e38697fad62553e8b07677fdc0fef5b83249ce79f748e1da7300c28514cdbf7a182232ced95222c9578cc9028de5e039b82f31175c22d840c83c0286 WHIRLPOOL 2b9c2b2b96da648b5f71a4ee8940c2a0a148e9005178e012afc73dd7709a5c407e04240adfb96a4ea3d2384248a23682a8d5727c967ddd5368f0d2d3b38d24e5
|
||||
AUX 0002-gitlab-gitaly-0.35.0-fix-config.toml.example.patch 1013 SHA256 bb59d3d3b848d78a2d5ebee9b1c67deddf12967701caec4b9c79a851539229e3 SHA512 624e6e62b2e0e64fc42f880ec0db7aa317a5d40b9dba5a7f8b27be85359772e608d2d49893157a76ba84bfb1146d1793354c8ec835a657c3cc6c3a7e1ce6f907 WHIRLPOOL 95db2ad6690b704d199f3a105ac6a07f0341a9c22e101fe819c210fd98ea92e68f76c341ad535472d4c91b33552eb35a3b31b9a3377e76bc7f7841b1152320fa
|
||||
AUX gitlab-gitaly-0.10.0.conf 281 SHA256 54a309ecd95a0c907951a36db5542678f9e68c7e354dcc3278882512a82c5a99 SHA512 23875632a1c523eea855c10b03dab4a2aa38cc8de6be070df4ba8c85360edf8c5c2a636601f05004f62792c9e4304822c679841180b9a23c963de76a7c770873 WHIRLPOOL fac7949ddc161d2df6d4f0168029c405a0b68f64fee9cedf167bdab9ea55de1e52735476402e878f67339f969e40bd341cd21f31c99dd86d997df08a3ce8f217
|
||||
AUX gitlab-gitaly-0.10.0.init 592 SHA256 31889dd48b19bd84aaeb64f943ea9ff173b7a2291b3f0dd465c08256d2aee9ee SHA512 81db4434946691a714945e2fab06e302c0994805b4b285e916363461160b30c919e9373d10e293eb2163dc46f132d1c6f4a5c9ab50cad3933827833d48a2832b WHIRLPOOL 1d7287c5dd41a8c63070467640bcf6f5c5fd66a03e7a75ddc000ab67860dd1f76098a78edc36af64ebd34deda103f2284bebcb153906a79310ac9808cfe75a76
|
||||
AUX gitlab-gitaly-0.11.2.conf 289 SHA256 da2640e0ac6a3f356d68f2825c78a1965703df292cd6631b2e884e1a9c7ecc87 SHA512 86f2b4dd283de117c3a371a98a1472d248a21a2c931be6644bec2406249e000fe2e55d031b523d6e64fa2eaa3addad27704f338f65cad6b559680c5c327b9614 WHIRLPOOL 18cb38b35c9a79c6eaaa15ed9bbbeb6dc502a0291f3bff2bf1f59a950556c4c3fd3742a4097ab784c1e9a12d2209b336f2bf688b0888e13bb1b7f78219bb6d87
|
||||
|
@ -17,6 +18,7 @@ EBUILD gitlab-gitaly-0.16.0.ebuild 925 SHA256 5a12499e0abada1e9351fcc25cf2dc882f
|
|||
EBUILD gitlab-gitaly-0.21.2.ebuild 925 SHA256 5a12499e0abada1e9351fcc25cf2dc882f577d9a0cdcd63a7f1819001664faeb SHA512 9752b120d754e95d96a432315171503329c9562448aad498d3aac091be12fcfbf2c617d74430f6578dbcea613981608d8369acc388f0238a4d29ab7c978c2a28 WHIRLPOOL af91a99bd879fac0fe1c29e5d9fb7a93ca8939bfb0bbf51ea9ddd43dd46867e8e918d1598176d3c85b53e6b9b27d07ff325d5856a3106e2402071870e886c059
|
||||
EBUILD gitlab-gitaly-0.23.0.ebuild 925 SHA256 7294cc955fc5eedf9bcadfef76572dc1d972165e67de09273bc4159b699e4e4c SHA512 d624de4a9f2f63625669df32ffc0a16e63c356d7f3b0da6be68fe2f0f3c58399ccd8f1c0d1897c1e20fd7e67508133381f4f9e099bd8b929e64042131816e228 WHIRLPOOL f0e4093efa0372249bdc54ee8f4cdb4318f0fd85296964c2412f5b4ca0933677566733b68f64e53b68480d3246126e2e030fac99e962d510a1010907b2d5dac9
|
||||
EBUILD gitlab-gitaly-0.3.0.ebuild 1611 SHA256 d4a80bcc6b9f1f6de0308e02fce0927e10c83620bc546ccc5b2ac8166b7cd5f0 SHA512 28ddef1dd80ce57a978e81048e7f07598dd83c83e0fdf4b6dbf01ff543d4abb4de437e658b07b3d60757163ed30e970327403ffd057e1d737d3dd8e23a534d38 WHIRLPOOL 3f42b071f5acaff80072a5708e50fcd8b4a397a6f2e5772f7234fbba3f606c89664433328495f59a84f5f5468503c11961b2d455878e2f445142778c7645397d
|
||||
EBUILD gitlab-gitaly-0.35.0.ebuild 1108 SHA256 c041a2e7f8f29485a0a9ec56615fbcd75e5b0a7ca0afcff1ffad0b095efc0101 SHA512 868f9fb01ce5b78bd906e2ae8fa0093ae41931856bce25602c3cc2d109779afb7e643e0032d650bfa03a2424f8edb89dbcc680e7daa5a93d69545cd0c8c69263 WHIRLPOOL 2584b50d63e3aed372062b97d4c5093f520940fed0ade166c71d03ec7a50b6679da9544d9bcb7c6ba720f07de9ec54e6dca1f0bc3baf705828e41c642d4aa14a
|
||||
EBUILD gitlab-gitaly-0.6.0.ebuild 1611 SHA256 dc246485ca030c1e9700a8e7707f5e1fafebffd88f7ab12399c12076ee67632a SHA512 ed5e46fa20bfeb81da16f8fb0b702b7d8f71ca5d35f81456fd2ee31eec781cae75e14081b2eeaae3959d6b5db7eb5ed84398c90c6f687b0a3dbf9e602b7cb8f6 WHIRLPOOL 7c6cbdd81e2da6f659482db204433430e2bb947175a56b85addd688dc511cae7dea45a99796c14c6cb2d352fb868752bafc14af34f100d538b5b40bebe2a0846
|
||||
MISC ChangeLog 2029 SHA256 e52fb4a4b518779e916108052d4f07d54e12ec2486b6636406cd630df4af6b46 SHA512 ee127a7ca48f842cdd6c35bb7322656f28b37a7e62e1859f70b3ee2a58adca8ed4409f2227c460ee558fb0be468ad7806cf7a80e8310a163ecb5ce15b9d0e430 WHIRLPOOL 11a51918a29738a4ff9c5f4f3489133fad2b58b9837503046cf30a29985df8313f1cdf2451472cef7579f11841d46b31c221781e9da862f78305b64bf28b5839
|
||||
MISC ChangeLog 2310 SHA256 c469c1c5b7b7f2cf0893e29a276ecbd009173da7ce222727a7038d91710efddb SHA512 94b19036973cbe245ff60dad5f98091c5e00cdc5efd3c3cd7b735c331b9f674a7f3a5445e3c3892dc239caf277e611e68d3269deeb0f82923397f2e066fbe404 WHIRLPOOL 6f3cdffff151ec264200cb68c639a8fc0ea2d237dd7bd287422f77b697a26bc47c25702d68d32435491f445c297c0a4332e845cd8088bbf0b2e5275b53580b57
|
||||
MISC metadata.xml 248 SHA256 7b43be15755627edf5c12cf1b50c607d781558640bf8375d685d51d7ade99a32 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 WHIRLPOOL 993013c9878ead35469db13d3072f694a341ee654182e0c31d0678f5dd6de4bdc8d59a0b7bb6d685dc41ea6b55dac518cd8034131baea8002170c680e50304d1
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
diff --git a/config.toml.example b/config.toml.example
|
||||
index 5fe3942..dd78c46 100644
|
||||
--- a/config.toml.example
|
||||
+++ b/config.toml.example
|
||||
@@ -1,6 +1,6 @@
|
||||
# Example Gitaly configuration file
|
||||
|
||||
-socket_path = "/home/git/gitlab/tmp/sockets/private/gitaly.socket"
|
||||
+socket_path = "/run/gitlab/sockets/gitaly.socket"
|
||||
|
||||
# # Optional: listen on a TCP socket. This is insecure (no authentication)
|
||||
# listen_addr = "localhost:9999"
|
||||
@@ -16,7 +16,7 @@ socket_path = "/home/git/gitlab/tmp/sockets/private/gitaly.socket"
|
||||
|
||||
[[storage]]
|
||||
name = "default"
|
||||
-path = "/home/git/repositories"
|
||||
+path = "/var/lib/git/repositories"
|
||||
|
||||
# # You can optionally configure more storages for this Gitaly instance to serve up
|
||||
#
|
||||
@@ -37,8 +37,8 @@ path = "/home/git/repositories"
|
||||
|
||||
[gitaly-ruby]
|
||||
# The directory where gitaly-ruby is installed
|
||||
-dir = "/home/git/gitaly/ruby"
|
||||
+dir = "/var/lib/gitlab-gitaly/ruby"
|
||||
|
||||
[gitlab-shell]
|
||||
# The directory where gitlab-shell is installed
|
||||
-dir = "/home/git/gitlab-shell"
|
||||
+dir = "/var/lib/gitlab-shell"
|
41
www-servers/gitlab-gitaly/gitlab-gitaly-0.35.0.ebuild
Normal file
41
www-servers/gitlab-gitaly/gitlab-gitaly-0.35.0.ebuild
Normal file
|
@ -0,0 +1,41 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
EGIT_REPO_URI="https://gitlab.com/gitlab-org/gitaly.git"
|
||||
EGIT_COMMIT="v${PV}"
|
||||
|
||||
inherit eutils git-2 user
|
||||
|
||||
DESCRIPTION="Gitaly is a Git RPC service for handling all the git calls made by GitLab."
|
||||
HOMEPAGE="https://gitlab.com/gitlab-org/gitaly"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~arm"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.8.3"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/0001-${PN}-0.23.0-fix-Makefile.patch"
|
||||
epatch "${FILESDIR}/0002-${PN}-0.35.0-fix-config.toml.example.patch"
|
||||
|
||||
# see https://gitlab.com/gitlab-org/gitaly/issues/493
|
||||
sed -s 's#LDFLAGS#GO_LDFLAGS#g' -i Makefile || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# TODO fowners, fperms on config.toml.example
|
||||
insinto "/etc/gitlab"
|
||||
newins "config.toml.example" "gitaly-config.toml"
|
||||
newconfd "${FILESDIR}/${PN}-0.11.2.conf" "gitlab-gitaly"
|
||||
newinitd "${FILESDIR}/${PN}-0.11.2.init" "gitlab-gitaly"
|
||||
into "/usr"
|
||||
newbin "gitaly" "gitlab-gitaly"
|
||||
|
||||
# install gitaly-ruby
|
||||
insinto "/var/lib/gitlab-gitaly"
|
||||
doins -r "ruby"
|
||||
}
|
Loading…
Reference in a new issue