[arch-commits] Commit in cozy-stack/trunk (4 files)
Bruno Pagani
archange at archlinux.org
Tue Oct 22 08:40:32 UTC 2019
Date: Tuesday, October 22, 2019 @ 08:40:32
Author: archange
Revision: 518201
Several fixes
Modified:
cozy-stack/trunk/PKGBUILD
cozy-stack/trunk/cozy-stack.service
cozy-stack/trunk/cozy-stack.tmpfiles
cozy-stack/trunk/cozy.yml
---------------------+
PKGBUILD | 12 +++++-------
cozy-stack.service | 4 ++--
cozy-stack.tmpfiles | 3 +--
cozy.yml | 4 ++++
4 files changed, 12 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-22 06:35:36 UTC (rev 518200)
+++ PKGBUILD 2019-10-22 08:40:32 UTC (rev 518201)
@@ -2,7 +2,7 @@
pkgname=cozy-stack
pkgver=1.4.0
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc="Digital home: brings all your web services in the same private space – Stack component"
arch=(x86_64)
@@ -21,17 +21,15 @@
"${pkgname}.sysusers"
"${pkgname}.tmpfiles")
sha256sums=('0b95dca2b76d67d82365631e1b2fdadad2e37ed9268fd2bf7f012a6f6f5c2d13'
- 'c4ed4b0831308261017fe7d532787ed8aa542ca5ecac65f5770edb29793415ef'
- 'ad9b40170e2b07d5aa5ea6d444ad16c96bb39adb5ff579db5cc39cb4e2ec3f91'
+ 'a6ae871ec726f81d091918dffae4025b993656551185662242dcc2f7de4516c3'
+ 'bfeb24220fb8c6aea8268e1c453f5b05ed9a27844e1aa1c1a54fb463c866689e'
'a6bea52350e85163c3141509a52903223fa0f6e7390b1b1f9336c326a8fff984'
- 'fd333c2fd0de859890204554f52a5c64b953664f6cb262b20bb839aa70ed9ecb')
+ '04043ed0b2bf1c811417eec3b89a049f5353ad16f032497ff5c9a610eafa879d')
build() {
cd ${pkgname}
export GOPATH="${PWD}/vendor"
- go build -v -o ${pkgname} \
- -gcflags "all=-trimpath=${PWD}" \
- -asmflags "all=-trimpath=${PWD}" \
+ go build -v -o ${pkgname} -trimpath \
-ldflags "-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 \
Modified: cozy-stack.service
===================================================================
--- cozy-stack.service 2019-10-22 06:35:36 UTC (rev 518200)
+++ cozy-stack.service 2019-10-22 08:40:32 UTC (rev 518201)
@@ -8,7 +8,6 @@
Group=cozy
PermissionsStartOnly=true
WorkingDirectory=~
-LogsDirectory=cozy
StateDirectory=cozy
ExecStart=/usr/bin/cozy-stack serve
Restart=always
@@ -24,7 +23,8 @@
ProtectKernelTunables=true
ProtectKernelModules=yes
LockPersonality=true
-MemoryDenyWriteExecute=true
+#Not compatible with NodeJS
+#MemoryDenyWriteExecute=true
RestrictRealtime=true
SystemCallArchitectures=native
SystemCallFilter=@system-service
Modified: cozy-stack.tmpfiles
===================================================================
--- cozy-stack.tmpfiles 2019-10-22 06:35:36 UTC (rev 518200)
+++ cozy-stack.tmpfiles 2019-10-22 08:40:32 UTC (rev 518201)
@@ -1,3 +1,2 @@
-d /var/lib/cozy 0755 cozy cozy
-d /var/log/cozy 0755 cozy cozy
+d /var/lib/cozy 0770 cozy cozy
Z /etc/cozy - cozy cozy
Modified: cozy.yml
===================================================================
--- cozy.yml 2019-10-22 06:35:36 UTC (rev 518200)
+++ cozy.yml 2019-10-22 08:40:32 UTC (rev 518201)
@@ -11,6 +11,10 @@
fs:
url: file:///var/lib/cozy
+vault:
+ credentials_encryptor_key: /etc/cozy/vault.enc
+ credentials_decryptor_key: /etc/cozy/vault.dec
+
couchdb:
url: http://localhost:5984/
More information about the arch-commits
mailing list