Date: Friday, April 13, 2018 @ 12:08:44 Author: svenstaro Revision: 316174
archrelease: copy trunk to community-x86_64 Added: gitlab-workhorse/repos/community-x86_64/PKGBUILD (from rev 316173, gitlab-workhorse/trunk/PKGBUILD) gitlab-workhorse/repos/community-x86_64/gitlab-workhorse.service (from rev 316173, gitlab-workhorse/trunk/gitlab-workhorse.service) Deleted: gitlab-workhorse/repos/community-x86_64/PKGBUILD gitlab-workhorse/repos/community-x86_64/gitlab-workhorse.service --------------------------+ PKGBUILD | 70 ++++++++++++++++++++++----------------------- gitlab-workhorse.service | 44 ++++++++++++++-------------- 2 files changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-04-13 12:08:36 UTC (rev 316173) +++ PKGBUILD 2018-04-13 12:08:44 UTC (rev 316174) @@ -1,35 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: Caleb Maclennan <ca...@alerque.com> -# Contributor: Pavol (Lopo) Hluchy <lopo AT losys DOT eu> - -pkgname=gitlab-workhorse -pkgver=4.0.0 -pkgrel=1 -pkgdesc="HTTP server to unload Git HTTP traffic from GitLab Rails app (Unicorn)" -arch=('x86_64') -url="https://gitlab.com/gitlab-org/gitlab-workhorse" -license=('MIT') -depends=('glibc') -makedepends=('go-pie') -source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/gitlab-org/gitlab-workhorse/repository/archive.tar.gz?ref=v${pkgver}" - "gitlab-workhorse.service") -sha512sums=('90627bc6e878f388666bb6d1079552ccf324e3dbdfb3406f056ae9196ff11389551c62a2024d6ccdf3634c73703797b642b0f9ad9e8b50dafa88ea2ea3e53b45' - 'c5ce0e47fa186cf9374e9771e99df0346c3652a20dd43257a6d50003b083e78cb2ed65abdbd45cc4062114023f7b112793c25136e2d6b118e1ba30623f16be83') - -build() { - cd "${pkgname}-v${pkgver}-"* - - make -} - -package() { - cd "${pkgname}-v${pkgver}-"* - - install -Dm755 "gitlab-workhorse" "${pkgdir}/usr/bin/gitlab-workhorse" - install -Dm755 "gitlab-zip-cat" "${pkgdir}/usr/bin/gitlab-zip-cat" - install -Dm755 "gitlab-zip-metadata" "${pkgdir}/usr/bin/gitlab-zip-metadata" - install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -Dm0644 "${srcdir}/gitlab-workhorse.service" "${pkgdir}/usr/lib/systemd/system/gitlab-workhorse.service" -} - -# vim:set ts=2 sw=2 et: Copied: gitlab-workhorse/repos/community-x86_64/PKGBUILD (from rev 316173, gitlab-workhorse/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-04-13 12:08:44 UTC (rev 316174) @@ -0,0 +1,35 @@ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Caleb Maclennan <ca...@alerque.com> +# Contributor: Pavol (Lopo) Hluchy <lopo AT losys DOT eu> + +pkgname=gitlab-workhorse +pkgver=4.1.0 +pkgrel=1 +pkgdesc="HTTP server to unload Git HTTP traffic from GitLab Rails app (Unicorn)" +arch=('x86_64') +url="https://gitlab.com/gitlab-org/gitlab-workhorse" +license=('MIT') +depends=('glibc') +makedepends=('go-pie') +source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/gitlab-org/gitlab-workhorse/repository/archive.tar.gz?ref=v${pkgver}" + "gitlab-workhorse.service") +sha512sums=('b8dac99b983781f9f82ba7f7ab07c7014c5c308b920ce6ce792e89879122a76606bde63f5fc26c19b77348cbb7e9c01dba5a0c51a0f45e6cae4e5d676e6b6647' + 'c5ce0e47fa186cf9374e9771e99df0346c3652a20dd43257a6d50003b083e78cb2ed65abdbd45cc4062114023f7b112793c25136e2d6b118e1ba30623f16be83') + +build() { + cd "${pkgname}-v${pkgver}-"* + + make +} + +package() { + cd "${pkgname}-v${pkgver}-"* + + install -Dm755 "gitlab-workhorse" "${pkgdir}/usr/bin/gitlab-workhorse" + install -Dm755 "gitlab-zip-cat" "${pkgdir}/usr/bin/gitlab-zip-cat" + install -Dm755 "gitlab-zip-metadata" "${pkgdir}/usr/bin/gitlab-zip-metadata" + install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm0644 "${srcdir}/gitlab-workhorse.service" "${pkgdir}/usr/lib/systemd/system/gitlab-workhorse.service" +} + +# vim:set ts=2 sw=2 et: Deleted: gitlab-workhorse.service =================================================================== --- gitlab-workhorse.service 2018-04-13 12:08:36 UTC (rev 316173) +++ gitlab-workhorse.service 2018-04-13 12:08:44 UTC (rev 316174) @@ -1,22 +0,0 @@ -[Unit] -Description=Gitlab Workhorse -Requires=gitlab-unicorn.service -After=gitlab-unicorn.service - -[Service] -User=gitlab -Group=gitlab -WorkingDirectory=/usr/share/webapps/gitlab -SyslogIdentifier=gitlab-workhorse -CapabilityBoundingSet= -ProtectSystem=full -ProtectHome=true -NoNewPrivileges=true -ExecStart=/usr/bin/gitlab-workhorse -listenUmask 0 -listenNetwork unix -listenAddr /run/gitlab/gitlab-workhorse.socket -authBackend http://localhost:8080 -authSocket /var/lib/gitlab/sockets/gitlab.socket -documentRoot /usr/share/webapps/gitlab/public -ExecStop=/usr/bin/kill -QUIT $MAINPID -ExecReload=/usr/bin/kill -USR2 $MAINPID -Restart=on-failure -RestartSec=1 - -[Install] -WantedBy=multi-user.target Copied: gitlab-workhorse/repos/community-x86_64/gitlab-workhorse.service (from rev 316173, gitlab-workhorse/trunk/gitlab-workhorse.service) =================================================================== --- gitlab-workhorse.service (rev 0) +++ gitlab-workhorse.service 2018-04-13 12:08:44 UTC (rev 316174) @@ -0,0 +1,22 @@ +[Unit] +Description=Gitlab Workhorse +Requires=gitlab-unicorn.service +After=gitlab-unicorn.service + +[Service] +User=gitlab +Group=gitlab +WorkingDirectory=/usr/share/webapps/gitlab +SyslogIdentifier=gitlab-workhorse +CapabilityBoundingSet= +ProtectSystem=full +ProtectHome=true +NoNewPrivileges=true +ExecStart=/usr/bin/gitlab-workhorse -listenUmask 0 -listenNetwork unix -listenAddr /run/gitlab/gitlab-workhorse.socket -authBackend http://localhost:8080 -authSocket /var/lib/gitlab/sockets/gitlab.socket -documentRoot /usr/share/webapps/gitlab/public +ExecStop=/usr/bin/kill -QUIT $MAINPID +ExecReload=/usr/bin/kill -USR2 $MAINPID +Restart=on-failure +RestartSec=1 + +[Install] +WantedBy=multi-user.target