Commit 43b95b11 authored by root's avatar root

Version bump

parent 4c127c0b
AUX config.toml 1039 BLAKE2B a630d7fea1b88c69892141db4ebb94e5abde36f5816060f96d16b7dcaf54f889ab7e970ecae7ae04f6afef11cf17d5dba0aa0a7855735e74672bb969927b3230 SHA512 1cfdf3e7ee725cea7f680babf038e3a4bdd7b1d6a8ca2088b5a5bf5b9594e52c5f90d52ae98eeea83d73b5f6f4f8adbb4355b885840f42dd920669d16401ef48
EBUILD gitlab-gitaly-1.53.0.ebuild 2578 BLAKE2B b49a92d6f6acffae0d6c1d4e090cc46bfe193c16fbbcd90fe9e954bef81d689178e159bdbfb2e9d424d7204baad750bd36c54d48842fdf1f064e4ca1292bd697 SHA512 b2a9c45f05070e70153e79ab88a460a690db3ee50ae3dbcbee7a6bbfd9b04610aa4605cf1bbbf86084025818f0b6aea4be94d3609123f8fadb4b7c080cbe4162
EBUILD gitlab-gitaly-1.59.2.ebuild 2595 BLAKE2B 3038a8c69d1cd237d0fde500e8227852afcec7233bd9f6e569cb41b480e0b4694896cbfadab774f05bb3339410bc8cef4614081841ed7ca6355415571ee97cfc SHA512 008e4a5319e4b73706cd0ce8eebc4a19a6c215116a77a13aa6d385f2759d67aa07a672d3f9ca0331f5d07c03529b3c3c51ae741ca372b2461297aa4baa7252ba
EBUILD gitlab-gitaly-1.65.0.ebuild 2641 BLAKE2B 8d0158fae3fe524489cc02c92ae7258fe99ee7c80ec58a1b3cd82b57e4ebc5853da08f339f63cd880d6b38d6dc4974d42b3216b178872d10e665b43acc3c7762 SHA512 068f3c446ff6ce9a769b1e45eee3ca2b5e7b148f660606425f2b4b089eb90cff6d97861e98bd102828916f476537d6391a7c1e09a1144d25a7d3e2204b2186ac
EBUILD gitlab-gitaly-1.67.0.ebuild 2641 BLAKE2B 8d0158fae3fe524489cc02c92ae7258fe99ee7c80ec58a1b3cd82b57e4ebc5853da08f339f63cd880d6b38d6dc4974d42b3216b178872d10e665b43acc3c7762 SHA512 068f3c446ff6ce9a769b1e45eee3ca2b5e7b148f660606425f2b4b089eb90cff6d97861e98bd102828916f476537d6391a7c1e09a1144d25a7d3e2204b2186ac
# Copyright 1999-2015 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"
RESTRICT="network-sandbox"
DEPEND=">=dev-lang/go-1.10.0
dev-libs/icu
dev-ruby/bundler"
RDEPEND="${DEPEND}"
src_prepare()
{
sed -s 's#^socket_path = .*#socket_path = "/opt/gitlabhq/tmp/sockets/gitaly.socket"#' -i "config.toml.example" || die
sed -s 's#^path = .*#path = "/var/lib/git/repositories"#' -i "config.toml.example" || die
sed -s 's#^dir = "/home/git/gitaly/ruby"#dir = "/var/lib/gitlab-gitaly/ruby"#' -i "config.toml.example" || die
sed -s 's#^dir = "/home/git/gitlab-shell"#dir = "/var/lib/gitlab-shell"#' -i "config.toml.example" || die
sed -s 's#^bin_dir = "/home/git/gitaly"#bin_dir = "/usr/bin"#' -i "config.toml.example" || die
# See https://gitlab.com/gitlab-org/gitaly/issues/493
sed -s 's#LDFLAGS#GO_LDFLAGS#g' -i Makefile || die
# Fix compiling of nokogumbo, see
# https://github.com/rubys/nokogumbo/issues/40#issuecomment-182667202
pushd ruby
bundle config build.nokogumbo --with-ldflags='-Wl,--undefined'
popd
}
find_files()
{
for f in $(find ${ED}${1} -type f) ; do
echo $f | sed "s#${ED}##"
done
}
src_install()
{
# Cleanup unneeded temp/object/source files
find ruby/vendor -name '*.[choa]' -delete
find ruby/vendor -name '*.[ch]pp' -delete
find ruby/vendor -iname 'Makefile' -delete
# Other cleanup candidates: a.out *.bin
into "/usr" # This will install the binary to /usr/bin. Don't specify the "bin" folder!
newbin "gitaly" "gitlab-gitaly"
dobin "gitaly-ssh"
insinto "/var/lib/gitlab-gitaly"
doins -r "ruby"
fperms 0755 /var/lib/gitlab-gitaly/ruby/git-hooks/gitlab-shell-hook
# If we are using wildcards, the shell fills them without prefixing ${ED}. Thus
# we would target a file list from the real system instead from the sandbox which
# results in errors if the system has other files than the sandbox.
for bin in $(find_files /var/lib/gitlab-gitaly/ruby/bin) ; do
fperms 0755 $bin
done
for hook in $(find_files /var/lib/gitlab-gitaly/ruby/gitlab-shell/hooks) ; do
fperms 0755 $hook
done
for bin in $(find_files "/var/lib/gitlab-gitaly/ruby/vendor/bundle/ruby/*/bin") ; do
fperms 0755 $bin
done
insinto "/etc/gitaly"
newins "config.toml.example" "config.toml"
}
EBUILD gitlab-shell-10.0.0.ebuild 3121 BLAKE2B 1d8211339c615932226215a159cec393d5a4a15719f8a3ddb1ca97ab3c0cbb8f8ce0a48b03344f55e5bd3d716bb36de91e279edfbae01a6ede5ae9e5726a9ffe SHA512 1332f668e824355c30278f75011c3e35cb4aa9a6149cb95174eba98203ce97cf55f67d0c3eaf4263cc2d55013e7226550eb4326426bef65207669abe0c976a1b
EBUILD gitlab-shell-10.2.0.ebuild 3121 BLAKE2B 1d8211339c615932226215a159cec393d5a4a15719f8a3ddb1ca97ab3c0cbb8f8ce0a48b03344f55e5bd3d716bb36de91e279edfbae01a6ede5ae9e5726a9ffe SHA512 1332f668e824355c30278f75011c3e35cb4aa9a6149cb95174eba98203ce97cf55f67d0c3eaf4263cc2d55013e7226550eb4326426bef65207669abe0c976a1b
EBUILD gitlab-shell-9.3.0.ebuild 2634 BLAKE2B fcd9c068293c430199674551ba82c0b6434378f6ee8529de71b3ce420a537e220e5552e748c65cdf47694c21843d7e3fc0d37346bef6d9b223abbf56bd532a88 SHA512 1c20e2754a3dca1550400288e4a7fb67793c6fd4e90bbc0be0876effe2bc50c752a79e6b7e16fa1ab984f92bd85b40791a6fd9504497d82700e67022abdf34e7
This diff is collapsed.
d /var/tmp/gitlabhq-12.1/pids 0755 git git
d /var/tmp/gitlabhq-12.4/pids 0755 git git
#!/sbin/openrc-run
name="GitLab"
description="GitLab 12.1 on Unicorns"
description="GitLab 12.4 on Unicorns"
: ${rails_env:=production}
: ${gitlab_user:=git}
: ${gitlab_group:=git}
: ${gitlab_home:="/opt/gitlabhq-12.1"}
: ${gitlab_log:="/var/log/gitlabhq-12.1"}
: ${gitlab_home:="/opt/gitlabhq-12.4"}
: ${gitlab_log:="/var/log/gitlabhq-12.4"}
: ${gitlab_env:=""}
: ${unicorn_pidfile:="${gitlab_home}/tmp/pids/unicorn.pid"}
......@@ -54,7 +54,7 @@ start() {
checkpath -d -o "${gitlab_user}:${gitlab_group}" -m750 "$(dirname "${unicorn_pidfile}")"
checkpath -d -o "${gitlab_user}:${gitlab_group}" -m750 "$(dirname "${sidekiq_pidfile}")"
ebegin "Starting GitLab 12.1 Unicorn servers"
ebegin "Starting GitLab 12.4 Unicorn servers"
start-stop-daemon --start \
$(for env in $gitlab_env ; do echo "--env $env" ; done) \
--env GITLAB_UNICORN_MEMORY_MIN="${unicorn_mem_min}" \
......@@ -65,7 +65,7 @@ start() {
--exec ${unicorn_command} -- ${unicorn_command_args}
eend $?
ebegin "Starting GitLab 12.1 Sidekiq"
ebegin "Starting GitLab 12.4 Sidekiq"
start-stop-daemon --start \
$(for env in $gitlab_env ; do echo "--env $env" ; done) \
--chdir "${gitlab_home}" \
......@@ -74,7 +74,7 @@ start() {
--exec ${sidekiq_command} -- ${sidekiq_start_command_args}
eend $?
ebegin "Starting GitLab 12.1 Workhorse"
ebegin "Starting GitLab 12.4 Workhorse"
start-stop-daemon --start \
$(for env in $gitlab_env ; do echo "--env $env" ; done) \
--chdir "${gitlab_home}" \
......@@ -85,7 +85,7 @@ start() {
--exec ${workhorse_command} -- ${workhorse_command_args}
eend $?
ebegin "Starting GitLab 12.1 Gitaly"
ebegin "Starting GitLab 12.4 Gitaly"
start-stop-daemon --start \
$(for env in $gitlab_env ; do echo "--env $env" ; done) \
--chdir "${gitlab_home}" \
......@@ -99,21 +99,21 @@ start() {
}
stop() {
ebegin "Stopping GitLab 12.1 Gitaly"
ebegin "Stopping GitLab 12.4 Gitaly"
start-stop-daemon --stop \
--chdir "${gitlab_home}" \
--user="${gitlab_user}:${gitlab_group}" \
--pidfile="${gitaly_pidfile}"
eend $?
ebegin "Stopping GitLab 12.1 Workhorse"
ebegin "Stopping GitLab 12.4 Workhorse"
start-stop-daemon --stop \
--chdir "${gitlab_home}" \
--user="${gitlab_user}:${gitlab_group}" \
--pidfile="${workhorse_pidfile}"
eend $?
ebegin "Stopping GitLab 12.1 Sidekiq"
ebegin "Stopping GitLab 12.4 Sidekiq"
start-stop-daemon --stop \
--chdir "${gitlab_home}" \
--user="${gitlab_user}:${gitlab_group}" \
......@@ -121,7 +121,7 @@ stop() {
--exec ${sidekiq_command} -- ${sidekiq_stop_command_args}
eend $?
ebegin "Stopping GitLab 12.1 Unicorn servers"
ebegin "Stopping GitLab 12.4 Unicorn servers"
start-stop-daemon --stop \
--chdir "${gitlab_home}" \
--user="${gitlab_user}:${gitlab_group}" \
......@@ -131,7 +131,7 @@ stop() {
do_status()
{
name="Gitlab 12.1 $1"
name="Gitlab 12.4 $1"
msg=$(pidfile=$2 default_status 2>&1 | awk -F': ' '{print $2}')
pidfile=$2 default_status &>/dev/null
status=$?
......
File mode changed from 100644 to 100755
This diff is collapsed.
EBUILD gitlab-workhorse-8.10.0.ebuild 593 BLAKE2B 9e75932e63ea2970bd01b6afb9415581e388027fb8722a899f1705c04ccdea897dc5414b0e6d13965d4693abf1c7556cff529faef8661e64f1bf651db92ce03a SHA512 456e711be1f7ec4ef24b7ff25645cb102770b454dd85bd05f6b7271c8aed55b349d3ddea187715d45d19c3438eb42fa6923e908201cb4dff2b2b360b4beb6756
EBUILD gitlab-workhorse-8.7.0.ebuild 566 BLAKE2B 5ffccf52e1eb112f49e5649df80ff75413b0aa64c3ced30ccf403762703df494ce73123d1d9d079154168a4cdef72a7d4bb4e991dd49b4df5f1f558414a8b555 SHA512 35847e2f99e9df6144b9bc4885f30aa1969b365d44878c65f5a86fd1347da5ccb5e9c53364fecb06e6acd74a232ad7ec47e6d49846c20908100ee93746baa55a
EBUILD gitlab-workhorse-8.14.0.ebuild 593 BLAKE2B 9e75932e63ea2970bd01b6afb9415581e388027fb8722a899f1705c04ccdea897dc5414b0e6d13965d4693abf1c7556cff529faef8661e64f1bf651db92ce03a SHA512 456e711be1f7ec4ef24b7ff25645cb102770b454dd85bd05f6b7271c8aed55b349d3ddea187715d45d19c3438eb42fa6923e908201cb4dff2b2b360b4beb6756
EBUILD gitlab-workhorse-8.8.1.ebuild 566 BLAKE2B 5ffccf52e1eb112f49e5649df80ff75413b0aa64c3ced30ccf403762703df494ce73123d1d9d079154168a4cdef72a7d4bb4e991dd49b4df5f1f558414a8b555 SHA512 35847e2f99e9df6144b9bc4885f30aa1969b365d44878c65f5a86fd1347da5ccb5e9c53364fecb06e6acd74a232ad7ec47e6d49846c20908100ee93746baa55a
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
EGIT_REPO_URI="https://gitlab.com/gitlab-org/gitlab-workhorse.git"
EGIT_COMMIT="v${PV}"
inherit eutils git-2 user
DESCRIPTION="Handles slow HTTP requests for GitLab"
HOMEPAGE="https://about.gitlab.com/gitlab-workhorse/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~arm"
DEPEND=">=dev-lang/go-1.10.0"
RDEPEND="${DEPEND}"
src_install()
{
into "/usr"
dobin "gitlab-workhorse"
dobin "gitlab-zip-cat"
dobin "gitlab-zip-metadata"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment