[arch-commits] Commit in gitlab-workhorse/repos/community-testing-x86_64 (4 files)

Anatol Pomozov anatolik at archlinux.org
Sat May 23 05:13:22 UTC 2020


    Date: Saturday, May 23, 2020 @ 05:13:18
  Author: anatolik
Revision: 631837

archrelease: copy trunk to community-testing-x86_64

Added:
  gitlab-workhorse/repos/community-testing-x86_64/PKGBUILD
    (from rev 631836, gitlab-workhorse/trunk/PKGBUILD)
  gitlab-workhorse/repos/community-testing-x86_64/gitlab-workhorse.service
    (from rev 631836, gitlab-workhorse/trunk/gitlab-workhorse.service)
Deleted:
  gitlab-workhorse/repos/community-testing-x86_64/PKGBUILD
  gitlab-workhorse/repos/community-testing-x86_64/gitlab-workhorse.service

--------------------------+
 PKGBUILD                 |   75 ++++++++++++++++++++++++---------------------
 gitlab-workhorse.service |   44 +++++++++++++-------------
 2 files changed, 62 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-23 05:12:54 UTC (rev 631836)
+++ PKGBUILD	2020-05-23 05:13:18 UTC (rev 631837)
@@ -1,35 +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.32.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-pie')
-source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-workhorse/repository/archive?sha=v${pkgver}"
-        "gitlab-workhorse.service")
-sha512sums=('aa3e6a93beb1060dcabd6dd6b5fa7ad43446be5e1cf26fd281404a2d3a0bec5a63260ea01a97fead871d12a5d9e5ab99c43eed08df7230c7aa73efd800df7e96'
-            '7d1796442375f91b1b3a94945a937ba81aa87dcae07d28ab32526d022a2c7cd5135bc01b68801bed8f7225f31bd4d826b355fceca1af6bd2e8bfbcee316e8560')
-
-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-testing-x86_64/PKGBUILD (from rev 631836, gitlab-workhorse/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-23 05:13:18 UTC (rev 631837)
@@ -0,0 +1,40 @@
+# 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.32.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=('aa3e6a93beb1060dcabd6dd6b5fa7ad43446be5e1cf26fd281404a2d3a0bec5a63260ea01a97fead871d12a5d9e5ab99c43eed08df7230c7aa73efd800df7e96'
+            '7d1796442375f91b1b3a94945a937ba81aa87dcae07d28ab32526d022a2c7cd5135bc01b68801bed8f7225f31bd4d826b355fceca1af6bd2e8bfbcee316e8560')
+
+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:

Deleted: gitlab-workhorse.service
===================================================================
--- gitlab-workhorse.service	2020-05-23 05:12:54 UTC (rev 631836)
+++ gitlab-workhorse.service	2020-05-23 05:13:18 UTC (rev 631837)
@@ -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=/bin/bash -c "source /etc/profile.d/perlbin.sh; exec /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-testing-x86_64/gitlab-workhorse.service (from rev 631836, gitlab-workhorse/trunk/gitlab-workhorse.service)
===================================================================
--- gitlab-workhorse.service	                        (rev 0)
+++ gitlab-workhorse.service	2020-05-23 05:13:18 UTC (rev 631837)
@@ -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=/bin/bash -c "source /etc/profile.d/perlbin.sh; exec /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



More information about the arch-commits mailing list