[arch-commits] Commit in cozy-stack/trunk (PKGBUILD)

Bruno Pagani archange at archlinux.org
Wed Aug 12 09:36:22 UTC 2020


    Date: Wednesday, August 12, 2020 @ 09:36:22
  Author: archange
Revision: 675717

upgpkg: cozy-stack 1:1.4.15-1

Adjust to go 1.15 internally linking even with pie

Modified:
  cozy-stack/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-12 09:36:21 UTC (rev 675716)
+++ PKGBUILD	2020-08-12 09:36:22 UTC (rev 675717)
@@ -1,8 +1,8 @@
 # Maintainer: Bruno Pagani <archange at archlinux.org>
 
 pkgname=cozy-stack
-pkgver=1.4.14
-pkgrel=2
+pkgver=1.4.15
+pkgrel=1
 epoch=1
 pkgdesc="Digital home: brings all your web services in the same private space – Stack component"
 arch=(x86_64)
@@ -20,7 +20,7 @@
         ${pkgname}.service
         ${pkgname}.sysusers
         ${pkgname}.tmpfiles)
-sha256sums=('1e3f48e8c3762285c3549c3d44f087cba8e454681bc780131d78b62d396c0dc9'
+sha256sums=('9792cae9726d60f494fd9b5d6baee2aaeb7b8570d7e7ab0281124d5db1ac1e73'
             'a6ae871ec726f81d091918dffae4025b993656551185662242dcc2f7de4516c3'
             '6cb30c0a6d45b30827463b26c43fb2e1df9402392e6f23da1622e044ab84b580'
             'a6bea52350e85163c3141509a52903223fa0f6e7390b1b1f9336c326a8fff984'
@@ -39,7 +39,8 @@
     export CGO_LDFLAGS="${LDFLAGS}"
     export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
     go build -v \
-        -ldflags "-X github.com/cozy/cozy-stack/pkg/config.Version=${pkgver} \
+        -ldflags "-linkmode external
+                  -X github.com/cozy/cozy-stack/pkg/config.Version=${pkgver} \
                   -X github.com/cozy/cozy-stack/pkg/config.BuildTime=$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +"%Y-%m-%dT%H:%M:%SZ") \
                   -X github.com/cozy/cozy-stack/pkg/config.BuildMode=production" \
         -o ${pkgname}



More information about the arch-commits mailing list