[arch-commits] Commit in gitlab-workhorse/repos/community-x86_64 (4 files)
Anatol Pomozov
anatolik at archlinux.org
Thu Jun 4 18:33:11 UTC 2020
Date: Thursday, June 4, 2020 @ 18:33:09
Author: anatolik
Revision: 639029
archrelease: copy trunk to community-x86_64
Added:
gitlab-workhorse/repos/community-x86_64/PKGBUILD
(from rev 639028, gitlab-workhorse/trunk/PKGBUILD)
gitlab-workhorse/repos/community-x86_64/gitlab-workhorse.service
(from rev 639028, gitlab-workhorse/trunk/gitlab-workhorse.service)
Deleted:
gitlab-workhorse/repos/community-x86_64/PKGBUILD
gitlab-workhorse/repos/community-x86_64/gitlab-workhorse.service
--------------------------+
PKGBUILD | 78 +++++++++++++++++++++------------------------
gitlab-workhorse.service | 44 ++++++++++++-------------
2 files changed, 60 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-04 18:32:45 UTC (rev 639028)
+++ PKGBUILD 2020-06-04 18:33:09 UTC (rev 639029)
@@ -1,40 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Pavol (Lopo) Hluchy <lopo AT losys DOT eu>
-
-pkgname=gitlab-workhorse
-pkgver=8.33.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' 'perl-image-exiftool')
-makedepends=('go')
-source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-workhorse/repository/archive?sha=v${pkgver}"
- "gitlab-workhorse.service")
-sha512sums=('089502662937d4fe10639abe802d97008691f4db07fa1987bb9acc225e470411e3426d7a5f59ecd57043d1d20085f3fbfc0128a44dee8c24953c6e7aaa33c0a6'
- '893527f270179fc78ff60e33f0b44abd984d1e9859dd5bf59fea77245ddd4c1c252d2c7882719366944d0f9341a90b5e077470b15afcc3df419b0d0a9f2e6d56')
-
-build() {
- cd "${pkgname}-v${pkgver}-"*
-
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
- 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 639028, gitlab-workhorse/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-06-04 18:33:09 UTC (rev 639029)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Pavol (Lopo) Hluchy <lopo AT losys DOT eu>
+
+pkgname=gitlab-workhorse
+pkgver=8.35.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' 'perl-image-exiftool')
+makedepends=('go')
+source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-workhorse/repository/archive?sha=v${pkgver}"
+ "gitlab-workhorse.service")
+sha512sums=('b19d217e52ce50c07db680f30db094b8d4b2d11ea250883b4cb6025448dc53f2b69d9f7b947c213e0a5e646ea7c9c7cb9bf077cfafb39eb0b5d91dd016b81351'
+ '893527f270179fc78ff60e33f0b44abd984d1e9859dd5bf59fea77245ddd4c1c252d2c7882719366944d0f9341a90b5e077470b15afcc3df419b0d0a9f2e6d56')
+
+build() {
+ cd "${pkgname}-v${pkgver}-"*
+
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ 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"
+}
Deleted: gitlab-workhorse.service
===================================================================
--- gitlab-workhorse.service 2020-06-04 18:32:45 UTC (rev 639028)
+++ gitlab-workhorse.service 2020-06-04 18:33:09 UTC (rev 639029)
@@ -1,22 +0,0 @@
-[Unit]
-Description=Gitlab Workhorse
-Requires=gitlab-puma.service
-After=gitlab-puma.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 /run/gitlab/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 639028, gitlab-workhorse/trunk/gitlab-workhorse.service)
===================================================================
--- gitlab-workhorse.service (rev 0)
+++ gitlab-workhorse.service 2020-06-04 18:33:09 UTC (rev 639029)
@@ -0,0 +1,22 @@
+[Unit]
+Description=Gitlab Workhorse
+Requires=gitlab-puma.service
+After=gitlab-puma.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 /run/gitlab/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
More information about the arch-commits
mailing list