community/gitlab to 8.15.0-1

This commit is contained in:
Kevin Mihelich 2016-12-24 00:05:24 +00:00
parent 4fe84f0383
commit 220dcc9c69

View file

@ -10,7 +10,7 @@
# - build unf_ext with -fsigned-char
pkgname=gitlab
pkgver=8.14.5
pkgver=8.15.0
pkgrel=1
pkgdesc="Project management and code hosting application"
arch=('i686' 'x86_64')
@ -27,7 +27,7 @@ backup=("etc/webapps/${pkgname}/application.rb"
"etc/webapps/${pkgname}/resque.yml"
"etc/webapps/${pkgname}/unicorn.rb"
"etc/logrotate.d/${pkgname}")
source=("$pkgname-$pkgver.tar.gz::https://github.com/gitlabhq/gitlabhq/archive/v${pkgver}.tar.gz"
source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/gitlab-org/gitlab-ce/repository/archive.tar.bz2?ref=v${pkgver}"
gitlab-unicorn.service
gitlab-sidekiq.service
gitlab-backup.service
@ -44,31 +44,31 @@ source=("$pkgname-$pkgver.tar.gz::https://github.com/gitlabhq/gitlabhq/archive/v
nginx-ssl.conf.example
lighttpd.conf.example)
install='gitlab.install'
sha256sums=('7dadf9d48929499de94fb4332240ce0e79515b4102847742276e70625be70b24'
'0dabb9c10f6ba49404c13d6be2d0d6cf1bf7e5a0b95f0dea566e33c356997307'
'3f64de78d1221a0ddf75baed19d1706c625c143701d30ad918f15231aeecfb4f'
'e16a68539eeb49d24d2ab4a53ff95e33c67264a674b611c006dc5c8a24f41e0e'
'f3863b2906526ba487cb594f7fdca926e6dd8b8cfe95dccbba0ff9171ef2bb62'
'e2539301fe42869d8fdbaa1b53b30076fb436c4220a37e576ed704458f804852'
'a1ee236a1f3e65cd26d9adb5f636f66fbab68777fd60d1c796cb26036bd0903f'
'84614a2bfbd734f09c2c91531dd3c13e795186b50c0780a120c8e5bc2a892607'
'7b3137b8175db06e97c7577fb1df3d9095ff0797e6428c12d9c633ddd9121ad5'
'87fa65bc2d8f382d22fe77a6958bac9058e99021b230e2922a5b7e7afff39dcc'
'5e8c0e5d66ae5039620bd5d92076112bd47d9894a9cfbf06242dad412618f01a'
'b4b10b401de60a714ebb38b0e17c9efe123967565d9b73297503fbaea4bcf03d'
'8944a5eb8972a63f962dc34ed1c2843e019b2b521d8f045a2552ddc2f2e28ec3'
'481427bec661c8bebc652a3349e10dd8c9435f51a0dcbb7b2e6833309ce90a1b'
'822d0b80f1974c8418a9f4d66fbefb7679313b6de9a49c137c83c0bfe622460f'
'ea5a5f0b4c0ffd26d977efaf564800ee7fa88579a9e4f0556143a591a7ff198c')
sha512sums=('8b9306864f6b0040081d5bc031117d5cda82bf9b12a0b65d99d4266b4ecbdf5bff69a278ec14c03d59063ddf00038c3b4bdf3189c7b0b5fad18abbd2f3fa8209'
'1464ca9399b627bb8bd286608b4ad93feca6bc54c7e63c98180744e710295508a89a1a34c412b82e3eaad9308a82b2ea2483ae0f0b1e1149c24b17ab0d126f69'
'9844b8e42e8d50e6eac54711fb8c9745d506560676e0b8d5f1c42fb5177b9b4bac5c0d3c6a673d9e54f4b5e21056627db1d434c5c76d4f3ede8cc15a109f3cb6'
'e74f54224e7fd5f24c3459f34649ce5fddc70886faf7eb8520513d8715b3c17452aab62676b779c136ba576193a09ae3a5471abe51013d7ecd8b37d6e0acd393'
'97b566751405ad46204f9d42e835a20aa330436929674913acfb35a2a1fdce06975f15db4f83708ec5d1ab4509b6d34f1bc23e43f0db1bf28073c4bd865cb007'
'c11d2c59da8325551a465227096e8d39b0e4bcd5b1db21565cf3439e431838c04bc00aa6f07f4d493f3f47fd6b4e25aeb0fe0fc1a05756064706bf5708c960ec'
'c519a51d31300074ea12594fbcc8e9610d991ef04b1dac94d93a2b201df3465999cc7c6ac7f3896e02b117c2366d61dea1ef2f6b9cd7b18998385a7f26e5700f'
'abacbff0d7be918337a17b56481c84e6bf3eddd9551efe78ba9fb74337179e95c9b60f41c49f275e05074a4074a616be36fa208a48fc12d5b940f0554fbd89c3'
'20b93eab504e82cc4401685b59e6311b4d2c0285bc594d47ce4106d3f418a3e2ba92c4f49732748c0ba913aa3e3299126166e37d2a2d5b4d327d66bae4b8abda'
'441585489fb992d5e893f14bf0770df04ada95ffdbfcc80bb98a44eda7db520d12c985f600d003d80a196562654d2231598f8481ff9bf664bb5889f564e897e7'
'99f31439d348e21f764875b6207db8663b47f3224ad6a9f35b89c8a2ed29a9e831a974aa6b9429a3882fb74c1c9d42ed5c38b2d16ae122b5d55d5873a0c57cd3'
'624eb1f13e0265522290faa8c22b4150e6081ca2580391c9dfd871f1ee1b9c1c745c95d3d8f7fdbf85038990060141b844c3d8097c577ab68e5506bfa2d2dddb'
'248d47b44fa5ed65e2a940f2b60d0482c481b3a438357ca510848221370367ffbc0d83ce046d688bebbbc75d4e321b140f6a5ce1a9d7ec0b034fafcf92dee107'
'53a9d6d6f87874b29e48a8fb2e207094ebc1a80af478562ec4b591926d59e135a3166c20966704aa948ca7063ba63c1ec4ac290a343832fa18025ec3d85081ba'
'6d3006da591acefcc534c6e3f1da8e812d0b3b21fc416bfaa8678b8e2d922be6b17d1c92b0d7164de3b8ad864139253707107ca082f78e823d23f3b65fcb5914'
'c78b6f46abcf603d8db6e38cf50868e14145928422ddfe17c88e2f006b5b910dddf456ec5d6d724b250994530643963809688a98f7e12ebd5b5dabf7f96f0e06')
_datadir="/usr/share/webapps/${pkgname}"
_etcdir="/etc/webapps/${pkgname}"
_homedir="/var/lib/${pkgname}"
_logdir="/var/log/${pkgname}"
_srcdir="gitlabhq-${pkgver}"
_srcdir="gitlab-ce-v${pkgver}"
prepare() {
cd "${srcdir}/${_srcdir}"
cd "${srcdir}/${_srcdir}"*
export SKIP_STORAGE_VALIDATION='true'
@ -110,7 +110,7 @@ prepare() {
}
build() {
cd "${srcdir}/${_srcdir}"
cd "${srcdir}/${_srcdir}"*
msg "Fetching bundled gems..."
# Gems will be installed into vendor/bundle
@ -132,12 +132,12 @@ build() {
}
package() {
cd "${srcdir}/${_srcdir}"
cd "${srcdir}/${_srcdir}"*
depends+=('gitlab-shell>=4.0.0')
install -d "${pkgdir}/usr/share/webapps"
cp -r "${srcdir}/${_srcdir}" "${pkgdir}${_datadir}"
cp -r "${srcdir}/${_srcdir}"* "${pkgdir}${_datadir}"
chown -R root:root "${pkgdir}${_datadir}"
chmod 755 "${pkgdir}${_datadir}"