fixed some bugs in the ebuild

This commit is contained in:
Manuel Friedli 2014-09-23 21:56:30 +02:00
parent f21993fbea
commit 8e1cfd593d
2 changed files with 5 additions and 6 deletions

View File

@ -1,2 +1,2 @@
DIST gitlab-ci-5.0.1.tar.gz 610120 SHA256 16e0b543ce475cc3bbef8247d4ad0f81e37cb55b4b8f763a249944f22eb029b9 SHA512 a83968a2eca5710b951a5c809abc33148c9ee76500772159d9a2dfc5843e04968944301d322b591851410d0a7669146dc9b1f97de2cafba752492d961fdb54d2 WHIRLPOOL ef54a54df557fa9e397753c6781127d7900b45461c1c4a94351c5c3bd4c869c16ec29145004340356607c16d60ce318ac29b153f0488756aa675d16a7ac4f384
EBUILD gitlab-ci-5.0.1.ebuild 8899 SHA256 919d2b0b742e798aa01c9a3510c39a1cc781b79732c44393b127565a41c4055e SHA512 73d1ff1d174af7f8d83280f03dbbe3ddafc589aedcf1901932ff3178b6ee2d5241e427ce21da876e97bdb96b126cec5517a339f090286f5aa00c7a8c7f410204 WHIRLPOOL d66f50a39cd4a983e5afcd171702179baaa2079d4f9d5e15ccaac2bfa0758a7d503a463c3df44ebd40686f08f5574180dd38ac8d7e94f1a021f64203a5aca9b4
DIST gitlab-ci-5.0.1.tar.gz 610139 SHA256 5ed7d6de964a05641e14ae6a7bd63e6f32fec345d8f2ea42e6882c67c2228bc1 SHA512 a10f4341001f12f9796594ba2bf1008cbead8ab3f5d98f9de2b56a3f2fc84322841b5bb3cbd596e46bba3ce0285e438ca7597c9f57b84d6231742f8aa64df736 WHIRLPOOL 7b62af01e1202542a3a3c5d947444ebbcee986d2c0c87ebf4191ef2c6e283d261cba675eb405343febd2cdabf028096dc62d7ab0eafa500d05d2033faeadf102
EBUILD gitlab-ci-5.0.1.ebuild 8881 SHA256 17d3454e7d3ce9360e88c8044bc00e613e5c864319c1a0ed20331865405a42bd SHA512 5f0ecbf6af458d2d1a580b880ebf696d5d1e51759802c3e24766cadc923c4d99972646c254054ab112c14a0982fac939cf69e7cf7f0f03c248a7c51f666591b9 WHIRLPOOL c9f062fd8238b9fd384dd81f5ed3e7077ab27dace8d3bd84f01b52552b3c1411d9765c6de4059bde77d8646e81da1f65e14f16c8cf4a30e730375b64d2fb9812

View File

@ -18,7 +18,7 @@ inherit eutils python ruby-ng user
DESCRIPTION="GitLab CI is a continuous integration server that is tightly integrated with GitLab"
HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-ci"
SRC_URI="https://gitlab.com/gitlab-org/gitlab-ci/repository/archive.tar.gz?ref=v${PV} -> ${P}.tar.gz"
SRC_URI="https://github.com/gitlabhq/gitlab-ci/archive/v${PV}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror"
@ -83,11 +83,10 @@ all_ruby_prepare() {
config/resque.yml.example || die "failed to filter resque.yml.example"
local run_path=/run/${MY_NAME}
sed -i -E \
-e "s|/home/gitlab_ci/gitlab-ci/tmp/(pids|sockets)|${run_path}|" \
-e "s|/home/gitlab_ci/gitlab-ci/log/|${LOGS_DIR}|" \
-e "s|/home/gitlab_ci/gitlab-ci/tmp/(pids\|sockets)|${run_path}|" \
-e "s|/home/gitlab_ci/gitlab-ci/log|${LOGS_DIR}|" \
-e "s|/home/gitlab_ci/gitlab-ci|${DEST_DIR}|" \
config/unicorn.rb.example || die "failed to filter unicorn.rb.example"
sed -i \
-e "s|/home/gitlab_ci/gitlab-ci/tmp/sockets|${run_path}|" \