Merge branch 'master' into 126-gitlab-10-4
This commit is contained in:
commit
751521c024
59 changed files with 61 additions and 5580 deletions
|
@ -1,3 +1,11 @@
|
|||
08 Mar 2018; Manuel Friedli <manuel@fritteli.ch>
|
||||
-files/0001-gitlab-gitaly-0.10.0-fix-Makefile.patch,
|
||||
-files/0002-gitlab-gitaly-0.11.2-fix-config.toml.example.patch,
|
||||
-gitlab-gitaly-0.10.0.ebuild, -gitlab-gitaly-0.11.2-r1.ebuild,
|
||||
-gitlab-gitaly-0.21.2.ebuild, -gitlab-gitaly-0.3.0.ebuild,
|
||||
-gitlab-gitaly-0.6.0.ebuild:
|
||||
www-servers/gitlab-gitaly: Purge obsolete versions of gitlab-gitaly
|
||||
|
||||
*gitlab-gitaly-0.66.0 (19 Feb 2018)
|
||||
|
||||
19 Feb 2018; Manuel Friedli <manuel@fritteli.ch>
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
AUX 0001-gitlab-gitaly-0.10.0-fix-Makefile.patch 248 SHA256 03b4315da76b4409e990a53edce0cb21828a4c505f11266ca3f77e70e7c9857e SHA512 7aa509cf79a538398e9dc09cf92e34d6a8877da13ad1184e37f5e7ba4c24eb88251f692ebefddd07e3bf157a143d93dffb72ccbdfdd5ab4d52bbcd111e6e9380 WHIRLPOOL a03702f7d744239869249f53c49cfb3f62cbb58f75bc624079aced8219fa3d818d6eee9233953483c48a2138399442b7a89ca4ef1d93b96767e8d471dc5db00e
|
||||
AUX 0001-gitlab-gitaly-0.23.0-fix-Makefile.patch 253 SHA256 e1a3d0ea2d10145dd9d9b10848fb1731758eb16426ae203fa5a0abab65633380 SHA512 485178891a9589e29f0735bfbb8f1557355881f50498b46185ea6e658214454beed7350aab412699318ee801d8899824177d7d20568e91eb4ddf7562e9e8b9a2 WHIRLPOOL b2088784e30eaf8bb46832cb8454e5a8d2f2eeab00b41ffd021d257b6f19ffc53a420ed7123b1c9b9a83fd8a87184c178a3334d391bc4d85b78b8893245dfc03
|
||||
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 1015 SHA256 44cd87bb35224634ef9832f2d1e79de2ab27580101665a049eaf20f5ffae590d SHA512 9110e6f42babac04c98227ecfff3a961ec35fe6c487559e5a638676f409dbf6b0b133524b092322085cb7c7c41c5fc729c7b6be80bae10931efd5785172f01b2 WHIRLPOOL 8b0f1aa8c8c9c2ea4a8a5dbfd1e5a00603d587209b0967be82a9d78d0eabe4d350ac44fce80bfc9dac77ea2c0ff5d0f954e8cb4fb50ee778fb636599b1d8456f
|
||||
AUX 0002-gitlab-gitaly-0.43.1-fix-config.toml.example.patch 1095 SHA256 3e9558a127675bca052a9219265572504729380087665f2cd681c44d5545f101 SHA512 1ee6b6a127a6f7e82970c2e4270b42427a88bfbca5ba9d979d6667381d2a6cf934c77cc6e2f47af24a2810e0427285565bc42a0d26c36649a9177b917ac5a424 WHIRLPOOL f96a7dd2952d5a8d7652d5e6966c4e2d85c3a9785e824108068fab158f5871cd1a0ca0f88f563478c4f937ba2d9e3df489611d07c092ff0c4c9b6668f0abb5fb
|
||||
AUX 0002-gitlab-gitaly-0.59.2-fix-config.toml.example.patch 1183 SHA256 edd4dc6f1d1b56bfc902d79c0abb2d3b85b69cfe3b90e4250b804fafe00f49c3 SHA512 4a9bf3222e442fcd76cf62921a7f184e67784532c2c4706f3f7d3d1b7a13c874520dba6ef629d93aa1514ce3483827d1a11cf7a04ae530fb4ed67844be1e9353 WHIRLPOOL a93af879b93415470e41449390388f908dba17dc1ea5f4e47e5bbe80fcac11f85c64ce18899aa2ee084438598e24e2ddc72076c0d63bd8fc61de4f2ee8ee2cc0
|
||||
|
@ -9,19 +7,11 @@ AUX gitlab-gitaly-0.11.2.conf 289 SHA256 da2640e0ac6a3f356d68f2825c78a1965703df2
|
|||
AUX gitlab-gitaly-0.11.2.init 631 SHA256 32257b9e72c2ee201e5104f6eafc134920237f0f5465110edda4778dd92c17a2 SHA512 a0bf57f392a75b1a2875837ec1ad47b61317c6ae530d12e60ae3f62f69b0fb8ef48499b31751fab788df1a6ab842926a73443795a5888258f62e473e2953299a WHIRLPOOL 8185d1927c021be4b3de7c4e0228c68cba558b35c0894c6b17de7f24ebc42dd771593b2d9169f27c5a1ada90e14b2fdb651521ddf39660a77dece586c7f1d348
|
||||
AUX gitlab-gitaly-0.66.0.conf 319 SHA256 a5c264800874973e62abd163e5e9144ab698192fc5aaf62aa06488e4727bc54b SHA512 5c0548ba52cfac02388d45f1b88c7bd43df1fef103ba8be1000c0e48438fbe6c1c4cfd6e6c26c1afe0f9ccbfe05b10e2dd4f13c9615ecde32cd23b496a9bb8ca WHIRLPOOL 5eb849c3b24e1e4ec0b7eba8366143f36f4ba3243f02c17102bda15bde05dc8d77ba97768b9cd0dfe9bec18d5b0eaae948622e071c30b590207ce7dac2e026df
|
||||
AUX gitlab-gitaly-0.66.0.init 692 SHA256 bb5e4bc7b2e1a8ac16aa0d2a548ce924d12f5eb8e0a6cc1bc7cff331d1ca8737 SHA512 5a760d58c4f96db585d2008964e3407393ce6547ded05d92d0ffa4ea62c691caf1c261543f3004bb45c14288603858768fcae9a817a4293e0454d2319e303975 WHIRLPOOL d87fef85569ba648d6713104f259276b2a377cb5657c7350c96fbb83f63d0ccc5d94c4a5a41cab4e0c01702fec9b9e52aae420d7a22abbb63c090072e603a518
|
||||
DIST gitlab-gitaly-0.10.0.tar.bz2 693273 SHA256 44a4a68beb75b464b35fd003cf47a9bc483bb6bbcc8ab4bd4ef87a75329a3747 SHA512 1d7b2d38d68ceaacde03d0ba2cbec19f730527af6a0d56fd92c03f41a4d11c4e5db5c5cc2bd363a8ccfc0f5bf3fb678aec4b17e5996ccc7f1898a78e4598cc1a WHIRLPOOL 737ff05c6992e90eab9ba38a721cf699d87ea1ef84005dbaa16d37ef3c33cec9607571b0421412bba3efd2bf88267ff7d624e57ac92cc08b14c3b8801779c455
|
||||
DIST gitlab-gitaly-0.3.0.tar.bz2 621097 SHA256 60404ae78b6551e7258a30fa615d7d8c200b84f161ecf904e034db3839391766 SHA512 ad50d15f4a97bf5dd2cc64830840041d8537bd251176eb8964cda3fdb6ef6e1bf3c8b7773516c6e1d51005cc0a718a1bc3ca95fc9ee5d0826c3f9690e1235bb6 WHIRLPOOL 364cdc3407d5fef6ac48a67f8bdd477b75300069be2cbf2567aa73ea7406256ea3c15a27c7a13f92d17c6b63f5923d4e737437bdd3a1e8b808de1832cc9c1af8
|
||||
DIST gitlab-gitaly-0.6.0.tar.bz2 687192 SHA256 ead87c0da129c075011a55e5b2138febf11fd5146dd62763fc9d4b5d8725840d SHA512 f1e8e337192af02b42087604eb90fab3af73ef3753a07af368b1784462a0c1f8b1d166952b8d4e9c25c93228625195be42b4d3dfad0a70bea0520956acf2522f WHIRLPOOL 283899fb6c3fed332731d06ea42cf76ee5de433849b0784eb78b76391d15ca5feeb36fa9d28f3a90962f378c1c485eb0653a62090dbb6aae8bc87965d534da34
|
||||
EBUILD gitlab-gitaly-0.10.0.ebuild 769 SHA256 601ca500d12250325bf6f924d53b28cb120cc75da9b9e1d83cd4c9317aa1ee91 SHA512 1263c919fb3c126a0ba5dda2b9da45b0a16b6bb703ec4260b11b40463fcfedd1249389272ab638d25ced351a63c0812c0cbc7ea035f9c2250d2eb79786424c2d WHIRLPOOL 261dfdd551dad839d687b2092027de33e95142e1ed7336fd6513742044ff219353743988aefad8e5da6850a8e1c8d5b44baf08c6702960a829673cfc5580e152
|
||||
EBUILD gitlab-gitaly-0.11.2-r1.ebuild 913 SHA256 1c6a2f37b5abbe2cb0c74cf4d93551f6606d5be165914e63f4988f6f4dede49c SHA512 aa1e241273aaf489645359710413b6aee16433a70110a2579153c5cbaec7330462d5014e4912c2e1db620d5eea9c5aabede1ebe449b187f44b90c0dc92e861de WHIRLPOOL e896a1081c2f1e347fc36b829a5cd940c3458f2ce6522d1850583dba3a3a30458a3e209f8c762da06ba5d865784cafde3732e5e60f6a3bf8f6ed99ea3c77d4bd
|
||||
EBUILD gitlab-gitaly-0.21.2.ebuild 913 SHA256 1c6a2f37b5abbe2cb0c74cf4d93551f6606d5be165914e63f4988f6f4dede49c SHA512 aa1e241273aaf489645359710413b6aee16433a70110a2579153c5cbaec7330462d5014e4912c2e1db620d5eea9c5aabede1ebe449b187f44b90c0dc92e861de WHIRLPOOL e896a1081c2f1e347fc36b829a5cd940c3458f2ce6522d1850583dba3a3a30458a3e209f8c762da06ba5d865784cafde3732e5e60f6a3bf8f6ed99ea3c77d4bd
|
||||
EBUILD gitlab-gitaly-0.3.0.ebuild 769 SHA256 1d57371bbc733d91a09d10fce9dc9a65f2ed568b65b4f5030a9260e79a576612 SHA512 99d12861b25d061178c93cc7b3db880062bc1b56bf66425b923ddd42a463e004269551e708862bac51a081fe274e6fc48c72cbcabf3c4f77970d0d8c660aa452 WHIRLPOOL 522aa5490ec96a3c992d7ade05471b838ecfc5417950046ee9d9689f9fc30c33ab878fedd50fba02b89df18188dfec8d6c3bc7de3bfcbea316248746d066f804
|
||||
EBUILD gitlab-gitaly-0.35.0-r2.ebuild 1143 SHA256 f27758444fefb15b9ea55cc9be68e8b47fdf5c6794b9ed32cadc95690b2dfd62 SHA512 5b7117c6a5c91e0168c495a18c08c815ae423dcebce644264d9161692ede29469c6585acfde682b0d60ccab6efa601a0259d2b44ceb5cc15a26096a2bfc318a8 WHIRLPOOL 8911c39960635981e0baa62cdf3425acc9f7167df940f4c43c52dbe020b208ad3192a01bf5f198ae0777cf5af27cc8e643455b30c1e0be3326a56aab1c3c8e10
|
||||
EBUILD gitlab-gitaly-0.38.0-r1.ebuild 1035 SHA256 c667625968e0cb0530679184353724687bc193c0a8166fea0d9f8a516ce6db40 SHA512 e585a18c64a2e8aca2796c45066e1b1113cba9320a47f9af638fce171ac362060edac4216e7259628433e5b5facaebbf876bf807dd99f80ebd8c88e7cb726992 WHIRLPOOL 7f329f60fce603e61ebf90cc2aa0182d58574d449f096f3cf59c4751f1db9d5eb856d1fa0ee67c565d392261e45c784e25a3b4014f9a44857c31ca04af8cb70f
|
||||
EBUILD gitlab-gitaly-0.43.1.ebuild 1073 SHA256 594e68b869e53fe6fbdcf8fdade3889f55883b8b4ab17a2b064b3fd12a1ef739 SHA512 e3e7f045aa0565267bb516f685685c704841b5186dcca1282274ddd9392b734ac7808cb99d587ced3c87a357dc5af02bca99056386f0db0f9ecd07bba9e6e18e WHIRLPOOL 1329e9b461fe5c7386aa127a815602c655f8411a030537de9a247ea033723cfd60eb00a38e39cb775c985607b90b0e30fe55a9ef6856b49204a2ddc8427afa1c
|
||||
EBUILD gitlab-gitaly-0.52.1.ebuild 1073 SHA256 594e68b869e53fe6fbdcf8fdade3889f55883b8b4ab17a2b064b3fd12a1ef739 SHA512 e3e7f045aa0565267bb516f685685c704841b5186dcca1282274ddd9392b734ac7808cb99d587ced3c87a357dc5af02bca99056386f0db0f9ecd07bba9e6e18e WHIRLPOOL 1329e9b461fe5c7386aa127a815602c655f8411a030537de9a247ea033723cfd60eb00a38e39cb775c985607b90b0e30fe55a9ef6856b49204a2ddc8427afa1c
|
||||
EBUILD gitlab-gitaly-0.59.2.ebuild 1073 SHA256 a9899ddb752550e82510d101a93286cb6b872b8faa53d008e55af3ddc2d2e685 SHA512 da7ba77fe0a9234c5e4f5994a3c7fa9c11a93cdd6f9cff3ab5a658f6a9385a0bea8f00cee878a43c9580632c9837c305b293e8609f3e284b958f7b514ef10c81 WHIRLPOOL e4b12a160c2cfc08da4fd36fcbde8dcd1f383acbd5211c50dfcea1610e4e5105ca9720f9f8c34a7ab41fe2c33a77d3129ae527fd94f3b8d0259e9c2e4ec9a027
|
||||
EBUILD gitlab-gitaly-0.6.0.ebuild 769 SHA256 601ca500d12250325bf6f924d53b28cb120cc75da9b9e1d83cd4c9317aa1ee91 SHA512 1263c919fb3c126a0ba5dda2b9da45b0a16b6bb703ec4260b11b40463fcfedd1249389272ab638d25ced351a63c0812c0cbc7ea035f9c2250d2eb79786424c2d WHIRLPOOL 261dfdd551dad839d687b2092027de33e95142e1ed7336fd6513742044ff219353743988aefad8e5da6850a8e1c8d5b44baf08c6702960a829673cfc5580e152
|
||||
EBUILD gitlab-gitaly-0.66.0.ebuild 1086 SHA256 bd5b1734d6354c2e7bbf6e815700b38c81f7325bf1d222b9c74576852529dcd3 SHA512 4fe2be263fbf16ab7f9f24f06f82d1a60b3b30322f3f72fc6ddd5a13763f137da3ce122b81d747bb8b4c733e0bb6fa7e53a51f5ce186f1690ae256b8712c41a6 WHIRLPOOL c3e34cda3ef250cefeb761e8b1b1c53fea6e22d7f21269000081f18a7858b8153256c770e01f5df1dfd43ba219172d4f74992f6244fef8ca166fb35fa6a21fc5
|
||||
MISC ChangeLog 5337 SHA256 3d8fe1b846d569b7c302b225182694bb49ac10b51f7799075232a0736c5b50d7 SHA512 6eb14e233c9064948f3ed80b0d5e4b683e27f3e5d393691c06cf581224751da19f180af253055eb6c1a2248142a165609e3230e257625d715af7818b164cf2c7 WHIRLPOOL 6862a5df874bd897d95f55b606cafaa6ea7d3ae6bf1483ea71af8e245b14e5b6740a9fa814a99b6a021e2a3feec1dfd057d4fb001cc33a47513642ec878db902
|
||||
MISC ChangeLog 5738 SHA256 e5fcf5e7943167e8a4c9b429d5dbaf032b718694f4412324c1bd9f7c2b75d6f1 SHA512 bf8b90a7911aa4437658608cc25d42bdfcb96fe225e65f79ec99fcaaea20e421d3cd2a26d441bf20cfd1b70650a51026dcb3c8e8838f50de13f6e24344c2d4bc WHIRLPOOL cfa2f4bf573d5699f00fb93348c08a79ad25de98cc52b64f2ce0302a07100ed25cc93938e70a33ebc801eeeb03709b8a4ca1b5b6f158272639c90977e83225e7
|
||||
MISC metadata.xml 248 SHA256 7b43be15755627edf5c12cf1b50c607d781558640bf8375d685d51d7ade99a32 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 WHIRLPOOL 993013c9878ead35469db13d3072f694a341ee654182e0c31d0678f5dd6de4bdc8d59a0b7bb6d685dc41ea6b55dac518cd8034131baea8002170c680e50304d1
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
diff --git a/Makefile b/Makefile
|
||||
index c822059..342da88 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,4 +1,4 @@
|
||||
-PREFIX=/usr/local
|
||||
+PREFIX=${DESTDIR}/usr
|
||||
PKG=gitlab.com/gitlab-org/gitaly
|
||||
BUILD_DIR=$(shell pwd)
|
||||
BIN_BUILD_DIR=${BUILD_DIR}/_build/bin
|
|
@ -1,21 +0,0 @@
|
|||
diff --git a/config.toml.example b/config.toml.example
|
||||
index 3a987f9..801d192 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"
|
||||
@@ -12,7 +12,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
|
||||
#
|
|
@ -1,28 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit eutils golang-build golang-vcs-snapshot user
|
||||
|
||||
EGO_PN="gitlab.com/gitlab-org/gitlab-pages/..."
|
||||
|
||||
MY_PN="gitaly"
|
||||
MY_PV="v${PV/_/-}"
|
||||
MY_GIT_HASH="661135a"
|
||||
|
||||
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/${MY_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"
|
||||
|
||||
pkg_setup() {
|
||||
eerror "This ebuild is but a dummy placeholder. Gitaly is not yet supported."
|
||||
die "Gitaly is not yet supported."
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
EGIT_REPO_URI="https://gitlab.com/gitlab-org/gitaly.git"
|
||||
EGIT_COMMIT="v${PV}"
|
||||
|
||||
inherit eutils git-r3 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.10.0-fix-Makefile.patch"
|
||||
epatch "${FILESDIR}/0002-${PN}-0.11.2-fix-config.toml.example.patch"
|
||||
}
|
||||
|
||||
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"
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
EGIT_REPO_URI="https://gitlab.com/gitlab-org/gitaly.git"
|
||||
EGIT_COMMIT="v${PV}"
|
||||
|
||||
inherit eutils git-r3 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.10.0-fix-Makefile.patch"
|
||||
epatch "${FILESDIR}/0002-${PN}-0.11.2-fix-config.toml.example.patch"
|
||||
}
|
||||
|
||||
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"
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit eutils golang-build golang-vcs-snapshot user
|
||||
|
||||
EGO_PN="gitlab.com/gitlab-org/gitlab-pages/..."
|
||||
|
||||
MY_PN="gitaly"
|
||||
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/${MY_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"
|
||||
|
||||
pkg_setup() {
|
||||
eerror "This ebuild is but a dummy placeholder. Gitaly is not yet supported."
|
||||
die "Gitaly is not yet supported."
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit eutils golang-build golang-vcs-snapshot user
|
||||
|
||||
EGO_PN="gitlab.com/gitlab-org/gitlab-pages/..."
|
||||
|
||||
MY_PN="gitaly"
|
||||
MY_PV="v${PV/_/-}"
|
||||
MY_GIT_HASH="661135a"
|
||||
|
||||
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/${MY_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"
|
||||
|
||||
pkg_setup() {
|
||||
eerror "This ebuild is but a dummy placeholder. Gitaly is not yet supported."
|
||||
die "Gitaly is not yet supported."
|
||||
}
|
|
@ -1,3 +1,9 @@
|
|||
08 Mar 2018; Manuel Friedli <manuel@fritteli.ch>
|
||||
-files/0001-fix-Makefile-0.4.0.patch, -gitlab-pages-0.4.0.ebuild,
|
||||
-gitlab-pages-0.4.1.ebuild, -gitlab-pages-0.4.2-r1.ebuild,
|
||||
-gitlab-pages-0.4.4.ebuild:
|
||||
www-servers/gitlab-pages: Purge obsolete versions of gitlab-pages
|
||||
|
||||
09 Feb 2018; Manuel Friedli <manuel@fritteli.ch>
|
||||
-files/0001-fix-Makefile-0.6.0.patch, -gitlab-pages-0.6.0.ebuild.bak,
|
||||
gitlab-pages-0.4.0.ebuild, gitlab-pages-0.4.1.ebuild,
|
||||
|
|
|
@ -1,18 +1,9 @@
|
|||
AUX 0001-fix-Makefile-0.3.2.patch 744 SHA256 7efe9ee3cdf0e7e324155d05651f535b39f151adfd8f8bc2ea36eea64e40f1e1 SHA512 2c50e6bb214be622546d9c07f4f39b83d116976dbc9c040a0dd74c70dc8deadf5f6870468fda957b3a4d3df8eda982c3d86612cb8dd7865650cd3fe9202f7b11 WHIRLPOOL a1babc1249f3b48f376163a9ab63a8ca3563da544cf15d04a79fcbb38dcb61679da8304e3eb2afd8a0f1d662be8f3cc144b9cd0928504b197d11b250670d40d3
|
||||
AUX 0001-fix-Makefile-0.4.0.patch 744 SHA256 7efe9ee3cdf0e7e324155d05651f535b39f151adfd8f8bc2ea36eea64e40f1e1 SHA512 2c50e6bb214be622546d9c07f4f39b83d116976dbc9c040a0dd74c70dc8deadf5f6870468fda957b3a4d3df8eda982c3d86612cb8dd7865650cd3fe9202f7b11 WHIRLPOOL a1babc1249f3b48f376163a9ab63a8ca3563da544cf15d04a79fcbb38dcb61679da8304e3eb2afd8a0f1d662be8f3cc144b9cd0928504b197d11b250670d40d3
|
||||
AUX gitlab-pages-0.3.2.conf 148 SHA256 2b1d40d38d729a4e705455a2fbe745618c573cdc7159683ebf42f3a28d41a473 SHA512 57ff7ef4f3c5f221e39f8cfd29ab58ccb126d672260ee983d6f1221bfe2cfe5553b4f0187ce384f05fc6694ad31c2f7ae02155d0c21247eccd1d7dbf1632ffba WHIRLPOOL 1cb70bb5a9e6876a58e7cf78a68e9a08a0ae947237a537f7cf93b727cdb69482114cd2c1ccd17e27b80590be11e9904bae81e06afab83066c0d10926d22dd301
|
||||
AUX gitlab-pages-0.3.2.init 698 SHA256 6751226148f5c8b53bdf3422053115ed6bb6ac3d7795b605617a7733a2b84437 SHA512 10e299febee0a66f03e8debe3f20ad635b52b5238a2ad23f585d30f14d5c0f591825bd892119f564f427e93a539184e39424c8cdc78200b2dbb5d0f588738176 WHIRLPOOL 7142b6a056a0d0a90bb18d1fdc5995c07156e05216b9e5779548427ad6f7aed4cf8eb090acfcbd0a7cc07826c0b6dfc5276ca176a80783d40405d2011a253fe0
|
||||
DIST gitlab-pages-0.4.0.tar.bz2 205924 SHA256 b26a00050d3558e793c070cda2fe50dc1bd76ea305902e4885746280755c3ea0 SHA512 9ff1d51655c0af93eca0b3a7e5cf250ce9a6787b3bc5eabcb59207ca3af13b6972bbebbc9c4a05bc1056cd12d6ad4c4bc30700efb656a2b9cfedf71ef57666e2 WHIRLPOOL 064625dfbfd428da5ecbf7ceb0532ff16e61ef9fbdbe1f4f72824e06ca21a93266a3d5eeec730f6423cb9d5d26d99fc6dbb568f30a79c4a691a0fdb08301c1cf
|
||||
DIST gitlab-pages-0.4.1.tar.bz2 206039 SHA256 ed856e1d549597b5f1b7aa5d006538aa4def240206b4756728aaeeefa49734c7 SHA512 e6dc7c73ec0601ebe53c54aa8d0978954c24450e488776bef1bb2483efd2db14d23188ee10660f6833f44bbbb50f462f8b9568a77cd4ff970300c604856319a0 WHIRLPOOL c8abfaf677f935b752be24c7ce703c49dcc23061a24f2137ea18df33a96d42233e7e00de120a812df58b84bf3db0739e97a1e37fc04367d370ef2558986d73fa
|
||||
DIST gitlab-pages-0.4.2.tar.bz2 209079 SHA256 391301c4f5cc288ed1a6a451e5273899518b83529c787c0a5f724161005ca786 SHA512 74e4cd810712d1506b927f75b63dc4fca09802097579d456cfada94f06c59b05f5e11309dc6fbd0f4c701243933688afa89ef8c1cf921f15536f505c7dec99f4 WHIRLPOOL 0f352db3977565b7c41609dcbed9161fcc99398fc56aa535255a69d12169b75b985410964a9adce60ed9eb8b88a68128dac9a9528f85ec62bae468fb8907e182
|
||||
DIST gitlab-pages-0.4.4.tar.bz2 209229 SHA256 e3024edf56a61e8705f4fb5db2141087f16db1fe550d116e950137b92b201720 SHA512 5618e659ddd91a3398cd7eb00e38292e3bc88b31af91c02815dfe810a5a478d7eb2314430478e4e2971f36a44ac37a2c9ed01bd357d1f8737a8a63fc697821e7 WHIRLPOOL 52cec732705285e2270ad1fda43088ce0c6e0dbf652f7cc29e77dd68cb23ebe913c0c71af0337a59f77f351b207e79469bdbcf5531f6ee6714695af0d08c3497
|
||||
DIST gitlab-pages-0.5.1.tar.bz2 224270 SHA256 b61ed9c12baf197dfd466342301ccb3160fbfe8fe61270a31a72e5503504f50b SHA512 973615efb54290c0d6b41455d91bf6343d8b09687565b8ad5e72cd69faea99cc3819c3aabea9e7cb94414a61835104e052affb1072ed62b1e2f343517eb94184 WHIRLPOOL 421500d5f0cee352a95dd59e9b799a9b3fd6b7639c656bd54fa601e061ddaa5062fa0b6a567bfce2543dcf9755b824a81362171c779db2f3f238faf760a6c472
|
||||
DIST gitlab-pages-0.6.0.tar.bz2 237765 SHA256 2bd99b5c4a1ad05ac02f17f5b450c308d1ef5936ff2e44be706705df8376c41b SHA512 935572062268c8a8429634377e02060f55feb2dfbd6b16e4487c1c4043dff435c304798dd2097f381f1c2e175c21d840e2dee76851dc9e03eeaa49d2b003900d WHIRLPOOL 01541d143a9511911cdd7c0c97d63cc48c682b19392c96ae429d98eeba6aba220e811d4da6826da2d417439202a33fc7a0deb16a9dda8a5a65f0e6b0fa9adf54
|
||||
EBUILD gitlab-pages-0.4.0.ebuild 1937 SHA256 a6252e17b9a61dc39dce932e58c0c8071ade36127c38935346feeb9c3ec3a453 SHA512 bc6fbec72653225b22b1a9b559872f6df801629f87fce39aba26e096b30a995c844b2443cabffc157e89f0b961b150ff5c48c628bc7d7c448b763003d6eec9bc WHIRLPOOL 0b2a0e2de2d4719efd5d32cb7252402f46d6957c1166a8b8515a45a2e4cc3d209bc1079d6fbacb07dd17f7cf90359e71612bfe8c4eb7c4a3f1d3d9f3beb7a556
|
||||
EBUILD gitlab-pages-0.4.1.ebuild 1937 SHA256 5013b00300c4a3f0e3cdf00aee18409cbd0f18e413fe0ecf8c343402ccc9015c SHA512 fdb22d842d465abca85aa9860be1d2072ef023f15a604d5e3a16fcf3e5941a6f87f8783899e38b0e118347246a8d285f62ff1f19fa57200d1cc5551b3aa932f4 WHIRLPOOL f5733133d13d01652f36c32489ca1a688fb56d83aa50f65bcd4691389c337f827f2003555cac0a4d71ffd2f2c10746dd5d57953278d688ca19041c9f34c6c2fc
|
||||
EBUILD gitlab-pages-0.4.2-r1.ebuild 1427 SHA256 70a53b600d498736734ff44c51fd468113bcdcc6f76fad58e49482f7c2b7acbb SHA512 b9954da56a2ed1e95cfeb9cf3554377a08e44f3b069c77f85bfe11d10203957aa4ca29a87e19fd3dabd372c6f5900db68f4ff146ca160eecbabdb82f1be3ff83 WHIRLPOOL 958d5775fb2fc0df06adbcf51af950587235202f3fc2e80cad2102c17d0709da03212010a5907343cf112fe49fd669eec02066a1613d2600095c69e40634ed0a
|
||||
EBUILD gitlab-pages-0.4.4.ebuild 1429 SHA256 7cb07e955aa0b73c88258c0c33125346e37e66f273fbede3e637cda08cadb1c2 SHA512 5d7ad52cfa4be4c1998b67ec59b7fbd727f477163fc1766806e5a2d0fec7131ae8cb5eb7c30161cdae1a88207098d526d5a84532dd1d2cdcd55e639950e6f169 WHIRLPOOL 1ae33c7f518e2cd3800e3b817aba46786df8ede9690b1dcd7c7710bd882795ffa3fc2cb1c0eb01a0da1ee65e074d020885e9ea8a1a74a4696ec09709f4bb5432
|
||||
EBUILD gitlab-pages-0.5.1.ebuild 1429 SHA256 be42145727bdc839161d6ac74bde5f59f7b69d2c204988e328d6ad2f02ee8704 SHA512 a585ab78624455480bd11ae599bc299a27e99b905b5fd686d71c0c06c157b937e63a46235fdbca758e47a938612b202d1887ef8749c5bd7c3abcf2fa5f48dfee WHIRLPOOL 57d1ace304dc994b27eb1d550885de5356cb2ce07e1d80c7a3c4f1c425115e59bce9220470e8ad9808b1f38d7bcd028ddd43dd04424f8556355417c81ec78a00
|
||||
EBUILD gitlab-pages-0.6.0.ebuild 1800 SHA256 7522d58e9b03a923f2e39cd6607c978485fcf3bd5d031f22c5c1831ffa81bb4f SHA512 487381485e2a9cecd8c7dc7a553ab5d107a49db9c77cd0c3d77c97c8e65f43207e6e5fe853959fed2df085a9047ee55b0ea332b8e507338b6ab44004bc7173db WHIRLPOOL efb8a378df194d37b6e59663b488aaa1608b7650489b160d59e98eada7e9f5328287f99843db7e2ebbfeaceaf2ebffc0863ffae915cc8c8f5b7e0a6a66a7206c
|
||||
MISC ChangeLog 2598 SHA256 a002afebd0b3184390ad83a94408116069396ad3902cfbcb1ac97bb31656f6ae SHA512 eb3a66abf26896211f5ae048c07ac015e7cb6e907585568ddb01c4e01f239f8234bdcf2f171f8fb368a5ee21ae95f8a301ab599c6eda42f3eff2ef5520e707a6 WHIRLPOOL 9f6bf0edbda91a3ad2b58722f9bd7d7e0a962892dd2f2263ecf13dd515b1397a08948f0d695d65e78b545d97950072b7ae79d646908e69a920cb8b27be0b2c32
|
||||
MISC ChangeLog 2878 SHA256 a9702b37131976df434b05fb34317450259bda7176c6cc2ab0ed9b8636b9e02d SHA512 fb41ca3d459f99a750095158cc6c3ee4f4209dd153c0febc35b7b2be860b5add62226d541a9d87f9b1adb834f5f5c1d70e14256fcdbcf2c1cb67d81c072360da WHIRLPOOL a00b2eacfcb4aa3ed20a84b29d62d7b4dd83aa5d5a879f30c0a5cc4a8dfea556e4b8e33a9ccd8aad3efa9d00bc68dc12fd03aafe7fe5993c2ef6646739f04666
|
||||
MISC metadata.xml 248 SHA256 7b43be15755627edf5c12cf1b50c607d781558640bf8375d685d51d7ade99a32 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 WHIRLPOOL 993013c9878ead35469db13d3072f694a341ee654182e0c31d0678f5dd6de4bdc8d59a0b7bb6d685dc41ea6b55dac518cd8034131baea8002170c680e50304d1
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
diff --git a/src/gitlab.com/gitlab-org/gitlab-pages/Makefile b/src/gitlab.com/gitlab-org/gitlab-pages/Makefile
|
||||
index 2c1b8e1..4c6feb0 100644
|
||||
--- a/src/gitlab.com/gitlab-org/gitlab-pages/Makefile
|
||||
+++ b/src/gitlab.com/gitlab-org/gitlab-pages/Makefile
|
||||
@@ -1,12 +1,6 @@
|
||||
-REVISION := $(shell git rev-parse --short HEAD || echo unknown)
|
||||
-LAST_TAG := $(shell git describe --tags --abbrev=0)
|
||||
-COMMITS := $(shell echo `git log --oneline $(LAST_TAG)..HEAD | wc -l`)
|
||||
+REVISION := @@REVISION@@
|
||||
VERSION := $(shell cat VERSION)
|
||||
|
||||
-ifneq (v$(VERSION),$(LAST_TAG))
|
||||
- VERSION := $(shell echo $(VERSION)~beta.$(COMMITS).g$(REVISION))
|
||||
-endif
|
||||
-
|
||||
GO_LDFLAGS ?= -X main.VERSION=$(VERSION) -X main.REVISION=$(REVISION)
|
||||
GO_FILES ?= $(shell find . -name '*.go')
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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="Simple HTTP server written in Go made to serve GitLab Pages with CNAMEs and SNI"
|
||||
HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-pages"
|
||||
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() {
|
||||
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}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "If this is a fresh install of GitLab CI Multi Runner, please configure it"
|
||||
elog "with the following command:"
|
||||
elog " emerge --config \"=${CATEGORY}/${PF}\""
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
einfo "You need to register the runner with your GitLab CI instance. Please"
|
||||
einfo "Follow the instructions at"
|
||||
einfo
|
||||
einfo "https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/docs/install/linux-manually.md"
|
||||
einfo
|
||||
einfo "Perhaps I'll improve the ebuild later ... kthxbye."
|
||||
}
|
|
@ -1,77 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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="043be6d"
|
||||
|
||||
DESCRIPTION="Simple HTTP server written in Go made to serve GitLab Pages with CNAMEs and SNI"
|
||||
HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-pages"
|
||||
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() {
|
||||
enewgroup ${MY_USER}
|
||||
enewuser ${MY_USER} -1 -1 -1 ${MY_USER}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/0001-fix-Makefile-0.3.2.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}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "If this is a fresh install of GitLab CI Multi Runner, please configure it"
|
||||
elog "with the following command:"
|
||||
elog " emerge --config \"=${CATEGORY}/${PF}\""
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
einfo "You need to register the runner with your GitLab CI instance. Please"
|
||||
einfo "Follow the instructions at"
|
||||
einfo
|
||||
einfo "https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/docs/install/linux-manually.md"
|
||||
einfo
|
||||
einfo "Perhaps I'll improve the ebuild later ... kthxbye."
|
||||
}
|
|
@ -1,61 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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="dccd0f2"
|
||||
|
||||
DESCRIPTION="Simple HTTP server written in Go made to serve GitLab Pages with CNAMEs and SNI"
|
||||
HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-pages"
|
||||
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() {
|
||||
enewgroup ${MY_USER}
|
||||
enewuser ${MY_USER} -1 -1 -1 ${MY_USER}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/0001-fix-Makefile-0.3.2.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}"
|
||||
}
|
|
@ -1,61 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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="36f16fd"
|
||||
|
||||
DESCRIPTION="Simple HTTP server written in Go made to serve GitLab Pages with CNAMEs and SNI"
|
||||
HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-pages"
|
||||
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.8.3"
|
||||
|
||||
RESTRICT="test mirror"
|
||||
|
||||
MY_USER="gitlab_pages"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${MY_USER}
|
||||
enewuser ${MY_USER} -1 -1 -1 ${MY_USER}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/0001-fix-Makefile-0.3.2.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}"
|
||||
}
|
|
@ -1,3 +1,9 @@
|
|||
08 Mar 2018; Manuel Friedli <manuel@fritteli.ch>
|
||||
-gitlab-workhorse-1.4.2.ebuild, -gitlab-workhorse-1.4.3.ebuild,
|
||||
-gitlab-workhorse-2.0.0.ebuild, -gitlab-workhorse-2.1.1.ebuild,
|
||||
-gitlab-workhorse-2.3.0.ebuild:
|
||||
www-servers/gitlab-workhorse: Purge obsolete versions of gitlab-workhorse
|
||||
|
||||
*gitlab-workhorse-3.3.1 (16 Feb 2018)
|
||||
|
||||
16 Feb 2018; Manuel Friedli <manuel@fritteli.ch>
|
||||
|
|
|
@ -1,21 +1,11 @@
|
|||
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.4.2.tar.bz2 625125 SHA256 4df4d93bc59102c312ad2a642d7f1ca463357c60d440a11fa72cfcbd4363a8e6 SHA512 1fa23991b463136565185982c1d10d17ecccd44f18138dc27cd0ef8ba0c63abc84347475d295fb71de9aaf8ad3de5747bb656c53c87769d3bce5db67571f89e2 WHIRLPOOL 3e5f2d311d96124546492d3b1da0740e70b8418f3a58f2dae2d457fb15a61d3ebdceea0e67c5a474a00ad7ac67575931a9d6ec8a4cc74572bc5549783b76304d
|
||||
DIST gitlab-workhorse-1.4.3.tar.bz2 655746 SHA256 5b621887aa8b6c0cb1b5b1aae6edd4d4cc60de77ef70f263a5968e56899da9ca SHA512 bdf62b8d5925fb45d439d2b9caf4cd2c175129bc3fe3bc24b8914dd128c1b6fc8ed700ad20513ee272e24698964c2daa7657e7bae86d58ae53cbe0e7ef44b89f WHIRLPOOL 507ba152b90db9b9459ef3f939780d39e7af17c6f2081a53c9affe621e4c624c46259993a6d94b218b476a2908ee9e3ff882f27c4d8f29e5ebc98f9bc4d878a7
|
||||
DIST gitlab-workhorse-2.0.0.tar.bz2 656360 SHA256 4e9864b7885b1102d9eb18e9c4bd3baf6021b4d3b64adbf5e9ba70b49aea8d8b SHA512 f439affafc54a090f105897de3ee5fcf2864c26dfd5f87299097c6827b9563f5ec0f7ebc9b1abfc90d6f88f864a640620c58b8a004aa230789ea5e27cf3a2e4c WHIRLPOOL a8488fcb95d06f88eef01e7d1f045fcab766c439738e44fb523b5198d29531b230bd8a1ac27e53fc668a0ba034773cf44477fce623489afe268be9b110ad04f3
|
||||
DIST gitlab-workhorse-2.1.1.tar.bz2 658851 SHA256 ab827cfa89f5d3e711357a0317a022b4d5db4d91c01ad0b80b56120e315da899 SHA512 6a316647faff83352c344cc36ef7fbaf327dfab9b8f893c39e22d4cde7e78fe703680d2851663953ee94b3ac9f55a142b5380ed23f26a7600044a3af2fdea08f WHIRLPOOL abded7f69b1a1ddc1aed3f8a8b1ddae89aa19eaa67ac1be1847f3ad6a0f5a23142f60fee545a358ecf27f2b15d4630eb42ea0b68a7076af9e26ee36d9db1243e
|
||||
DIST gitlab-workhorse-2.3.0.tar.bz2 673735 SHA256 61dc7ea978223a56e5f2e4617195e43c9e3179f0057e416545060143ea90ae0e SHA512 290713086d8c30fbbc80d32b6924368ceffceb08fc9330403250b775bab20454d5843bfd7b37c1d88fa60d1bebd5b14d7e8bb6b3557142b56b1d9ab02ce46aee WHIRLPOOL a1507a68c06d7335e5fdae4cbb91b01ddcc9d7c988758fd892676c6a78c9746c6f1fa89fe369efdd2352f85c7dade00554263e1a969ce10dfc87983c3136bf6f
|
||||
DIST gitlab-workhorse-3.0.0.tar.bz2 678497 SHA256 6a72db70a49c4004881b4e5e727ac088e6b976144466b1e7a5362eb720bcb546 SHA512 25be040a20948a2e82e56e531ed030174a7c0dead542b998a70213aeed4a565eebc6e206fed202d52c538781f25715b93c5dd9708171addb222d13be4c49bb55 WHIRLPOOL 07d3d17bf1d7318fce000fbd8da4d4d8f47040b3ac92efe955ae84ccc9636eb0d8a86816b59caf717848340f53b43d0724bb577d143e2a4524a24eea5e48e33a
|
||||
DIST gitlab-workhorse-3.2.0.tar.bz2 700671 SHA256 4a38d307b7b5a61f74078000614b2b3e2730fd637da5477a58d7f7efe9ce7008 SHA512 6f971f17516d6ed7f74779656813959cfe0d588a9a0bd81f925146f5f2d64104c2b0472032a6d7c0dee3ea3f2755fa8127cee80af717dbc9174d8a12d437df5e WHIRLPOOL 3132f046cbf73ebcc648283f6e9eec38326043166ae2bbca19168801304122c45478f3e8aaf94c1b8af25b9a3a379bc10c7a7ef291fbaa07a108e0e6869c3a8e
|
||||
DIST gitlab-workhorse-3.3.1.tar.bz2 762376 SHA256 2ddbd4e0ad3db85fffdc8b932d1745f3066c8e366f6aebf2189f7b8200811207 SHA512 d08c72e400a356092c93abc261f9043cfbb5fce176a1c96410079929109e3f9cb629ad702193575dcae3c6e3cf790e840f6ddcb16cad352081833224f198571e WHIRLPOOL 38f787db574753fa51e506ec6d3fbc432cbeefcf966c89fe3cb884abead0760628641753c8406d0de32958f3a0e70c55b9417c31aa1ba04451ac94c0cc0970f2
|
||||
EBUILD gitlab-workhorse-1.4.2.ebuild 1012 SHA256 c619e29723a64caea3d7e3105c686e4e138bd35318af847440f14ace48fbb8b7 SHA512 7485fc018ea6cadabdeca8c89787d0c1103c46cb635282d8bc48fd801a693450cd50d3e899f68d29ee3043281551405b5fe9777e1b620ca0519e913f68e8a5b8 WHIRLPOOL 15fa160b642d90b8c13b846428c8ea74ba17617c74aac71ccd434fdadbbf5c8049bfdfd08aec034b1c18c8da10d52a41ec4e10f64da680a5d37f8ecdb90b8d81
|
||||
EBUILD gitlab-workhorse-1.4.3.ebuild 1012 SHA256 e82630ed25d51514b4e6638b6f49777ff00cdc2f93a8a7d4d6ab87655b5734d3 SHA512 a760e43573b7e8202f2e5fe6c481fb0376816b3d45ddd93205aa2798f510297632f80341c3e77ad1700f7ddfbac7e591d97834505f71466e7af67a0c5135e527 WHIRLPOOL 8f63a99b538eb4c88e76171bde90ea7bf2ed5b87b9b2e5fe6293fb01b1f6b4f81def5e02307e07896e5f3e0e47b4d550b9d9d28b1991032c608f5bbe0a21eb05
|
||||
EBUILD gitlab-workhorse-2.0.0.ebuild 1012 SHA256 4bf03b159710c22996450e9141b42e846e206433cd1f1d3ac52ada84996d8edd SHA512 5899843cbd910cf293f5d33ed4ffbfd5075d54d547d4d9f14d425b12ff81bd95fac54d258239cbae9845f7898daad796e38966a021414e321bd37a4ecbccbfd0 WHIRLPOOL 2c345b6cb8939cf97721701fedb00574699dd3b87a88d726e532c6c3db46c405e2bff2474a84da235b231295aef6e70924f624d35efb0844130f3b2881ae05a2
|
||||
EBUILD gitlab-workhorse-2.1.1.ebuild 1012 SHA256 166a2cba843736735ab232b3bd0008b6fc1134884d47293f4b97cd4b2d072f5a SHA512 dca4d6765f4abf738c45917294d58237b94555d7851352518277cddc4fa51cb4118ca21bc8ca64b1db57b562c4665da7fc7d9c8c40ccd51ae408d88ec92cd425 WHIRLPOOL efa7829ff8059517c66a374e74bc9e2e27817ecf92d1845da45d44f7d46561ec5e98cf88de9cfa19a3454d11c8622b639cf48b488cc7b57fa0e03d0cd4dcae0c
|
||||
EBUILD gitlab-workhorse-2.3.0.ebuild 1012 SHA256 088c7d911e144a8a55889dfcdfab84126d2ee28df1d5a3e566856a1ceb1f0dfc SHA512 d95868b8033f518b96d9401e07a4dbe81b380114e4c5907c89e73f6ca820440d4b7471dded25407d4cc817dbbbcf348943f72c251bebf06c866aa9bc91f1a3ff WHIRLPOOL c4774879016f5952463ad7c231ca42b8e34999aaa7db60e2358e15b3ae864316e559213b8166fde0aeed6afb0fc8aa3ba89ca0b7a1247e19377ebf52c8f0a39f
|
||||
EBUILD gitlab-workhorse-3.0.0.ebuild 1012 SHA256 cd7d9f593221b3ef2baeea527060ef56178a71332af7a5bdfcd6285c49c9f329 SHA512 7c9d1bf373e2557b6a01f8fecfacf142322fed91cebc462a249f7cb1e02a953d4fd6bce2e8283adb6a9060c9a0cb2e7cb1b99da8a1926210c3d580589643fe0b WHIRLPOOL 61521ad8c87744395ada1300c5d3d237b2b356dd874232f371eb7ed2a6a90b29155cad810953a3f82d872318bbad6fb164fc9ac80a836a9d42326bb651e2a797
|
||||
EBUILD gitlab-workhorse-3.2.0.ebuild 1012 SHA256 4dc3f893683d0fab13d4c0d43090df4bdcd5543dff4ca74940999cb797aa7312 SHA512 199d418e6a1e60b183a16f28f08cc20fa67771395d9f2da741227f102d40d71d91a5c27bb8d9741995a2aa117111dbffe6bea9ef854f3c35bb41ed81045ab88d WHIRLPOOL 07f534716e45600c9bb9912c1f7beca402067df7b572965e08e431f922327de541614952b37ec126bcb7bb6ae8d66fe4084f4183d75d2e686fd6888a4b866ea5
|
||||
EBUILD gitlab-workhorse-3.3.1.ebuild 1012 SHA256 8e4f366570bcb05c2f6ee0d0a10787bea24210325db9b02e19c13188ddb1aded SHA512 0d1342b15450b3220490655e4951230aa168c5ce1bd0d77d4a6a7f25cb507563e9b58d590bc55b74f68bb0ee25c792bf39b90aea3709d2c2bbb42aac473ad5aa WHIRLPOOL 364597c47e6cb0a466b151eab5034eb963123b12d113bc354816521ded1aa48ca66d0d1d8ff310e2af35e3d180f5913dbeefbb757a7a24fe6c795d5bb2d563c8
|
||||
MISC ChangeLog 7920 SHA256 1e88322ceff54e173aac227e4e633350f4bae37ddd59114d842cd94521813315 SHA512 6a1bf827e972a5986e3dab46719001c39c56b04141e35e5080136a5f7f9bbd00fa3811d2f9453b23de491c5e54f507ecad2284bd36b7cb8e5d027509726bd649 WHIRLPOOL 8e36ffdbd4c3e7de5803322a2c3708f9910b1ae4a53397c482258eab0722c3ef70876475dac19f9989a2a3c9a9f7811799b36522b7db491164c811349dcd6519
|
||||
MISC ChangeLog 8215 SHA256 8cc84cf2a47a8c288d859139dee30885f559542e208332ff89a4e7a602d3e0e7 SHA512 c2ad7cead0d80427f6650ecd969742549882d5d3b484aa616601634eef137b355f789e038b7a71104503ab8309dbd47cf4c7cbab0ea625aff2fcc5a5d08937a9 WHIRLPOOL b402dccbedc808b881b0be435a25fa6d74c076660943ace7a206d991bfc6b4cff3fa1d7c97758c43b629f96a05a89d126334e0a7ce4969b16c7b39c58ae84a22
|
||||
MISC metadata.xml 248 SHA256 7b43be15755627edf5c12cf1b50c607d781558640bf8375d685d51d7ade99a32 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 WHIRLPOOL 993013c9878ead35469db13d3072f694a341ee654182e0c31d0678f5dd6de4bdc8d59a0b7bb6d685dc41ea6b55dac518cd8034131baea8002170c680e50304d1
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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}"
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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="97d3583a6b36f8c267680c826bced98a43ba95f7"
|
||||
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}"
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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="eacd5b7aff7cc1b51a2409d8645dfc61904f308c"
|
||||
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}"
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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="e36227d823ff623a60a44281538f139f6864f683"
|
||||
S="${WORKDIR}/${PN}-v${PV}-${MY_GIT_COMMIT}"
|
||||
RESTRICT="mirror"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.8.3"
|
||||
|
||||
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}"
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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="23e62f5114c7427917f9e1ef336ba227f1543192"
|
||||
S="${WORKDIR}/${PN}-v${PV}-${MY_GIT_COMMIT}"
|
||||
RESTRICT="mirror"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.8.3"
|
||||
|
||||
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}"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue