[arch-commits] Commit in cozy-stack/repos/community-x86_64 (10 files)

Bruno Pagani archange at gemini.archlinux.org
Thu Dec 2 21:02:17 UTC 2021


    Date: Thursday, December 2, 2021 @ 21:02:17
  Author: archange
Revision: 1062565

archrelease: copy trunk to community-x86_64

Added:
  cozy-stack/repos/community-x86_64/PKGBUILD
    (from rev 1062564, cozy-stack/trunk/PKGBUILD)
  cozy-stack/repos/community-x86_64/cozy-stack.service
    (from rev 1062564, cozy-stack/trunk/cozy-stack.service)
  cozy-stack/repos/community-x86_64/cozy-stack.sysusers
    (from rev 1062564, cozy-stack/trunk/cozy-stack.sysusers)
  cozy-stack/repos/community-x86_64/cozy-stack.tmpfiles
    (from rev 1062564, cozy-stack/trunk/cozy-stack.tmpfiles)
  cozy-stack/repos/community-x86_64/cozy.yml
    (from rev 1062564, cozy-stack/trunk/cozy.yml)
Deleted:
  cozy-stack/repos/community-x86_64/PKGBUILD
  cozy-stack/repos/community-x86_64/cozy-stack.service
  cozy-stack/repos/community-x86_64/cozy-stack.sysusers
  cozy-stack/repos/community-x86_64/cozy-stack.tmpfiles
  cozy-stack/repos/community-x86_64/cozy.yml

---------------------+
 PKGBUILD            |  118 +++++++++++++++++++++++++-------------------------
 cozy-stack.service  |   84 +++++++++++++++++------------------
 cozy-stack.sysusers |    2 
 cozy-stack.tmpfiles |    4 -
 cozy.yml            |   66 +++++++++++++--------------
 5 files changed, 137 insertions(+), 137 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 21:01:35 UTC (rev 1062564)
+++ PKGBUILD	2021-12-02 21:02:17 UTC (rev 1062565)
@@ -1,59 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=cozy-stack
-pkgver=1.4.42
-pkgrel=1
-epoch=1
-pkgdesc="Digital home: brings all your web services in the same private space – Stack component"
-arch=(x86_64)
-url="https://cozy.io"
-license=(AGPL3)
-backup=(etc/cozy/cozy.yml)
-depends=(couchdb imagemagick git)
-makedepends=(go)
-#optdepends=('cozy-coclyco: X.509 certificates management for instances'
-optdepends=('nodejs: required for konnectors'
-            'nsjail: run konnectors isolated'
-            'smtp-forwarder: to allow sending mail to users')
-source=(https://github.com/cozy/cozy-stack/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
-        cozy.yml
-        ${pkgname}.service
-        ${pkgname}.sysusers
-        ${pkgname}.tmpfiles)
-sha256sums=('aebc7ff4a45669384441f4ca4c17a4c3ba64a494d1f0e051d487d661c3f75597'
-            'a6ae871ec726f81d091918dffae4025b993656551185662242dcc2f7de4516c3'
-            '4ef3e901725167edd970a7f288e60f3729c12ae8a07289b6bb09bc96d6851b42'
-            'a6bea52350e85163c3141509a52903223fa0f6e7390b1b1f9336c326a8fff984'
-            '04043ed0b2bf1c811417eec3b89a049f5353ad16f032497ff5c9a610eafa879d')
-
-prepare() {
-    cd ${pkgname}-${pkgver}
-    go mod vendor
-}
-
-build() {
-    cd ${pkgname}-${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"
-    go build -v \
-        -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}
-}
-
-package() {
-    install -Dm644 cozy.yml -t "${pkgdir}"/etc/cozy/
-    install -Dm644 ${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
-    install -Dm644 ${pkgname}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf
-    install -Dm644 ${pkgname}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf
-    cd ${pkgname}-${pkgver}
-    install -Dm755 ${pkgname} -t "${pkgdir}"/usr/bin/
-    install -Dm644 cozy.example.yaml -t "${pkgdir}"/usr/share/cozy/
-    install -Dm755 scripts/konnector-node-run.sh -t "${pkgdir}"/usr/share/cozy/
-    install -Dm755 scripts/konnector-nsjail-node12-run.sh "${pkgdir}"/usr/share/cozy/konnector-nsjail-run.sh
-}

Copied: cozy-stack/repos/community-x86_64/PKGBUILD (from rev 1062564, cozy-stack/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 21:02:17 UTC (rev 1062565)
@@ -0,0 +1,59 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=cozy-stack
+pkgver=1.5.0
+pkgrel=1
+epoch=1
+pkgdesc="Digital home: brings all your web services in the same private space – Stack component"
+arch=(x86_64)
+url="https://cozy.io"
+license=(AGPL3)
+backup=(etc/cozy/cozy.yml)
+depends=(couchdb imagemagick git)
+makedepends=(go)
+#optdepends=('cozy-coclyco: X.509 certificates management for instances'
+optdepends=('nodejs: required for konnectors'
+            'nsjail: run konnectors isolated'
+            'smtp-forwarder: to allow sending mail to users')
+source=(https://github.com/cozy/cozy-stack/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
+        cozy.yml
+        ${pkgname}.service
+        ${pkgname}.sysusers
+        ${pkgname}.tmpfiles)
+sha256sums=('e55c805f3ea1062fa21fa92f5e20a872a4d543f03341a99bef16d6a4b38fff37'
+            'a6ae871ec726f81d091918dffae4025b993656551185662242dcc2f7de4516c3'
+            '4ef3e901725167edd970a7f288e60f3729c12ae8a07289b6bb09bc96d6851b42'
+            'a6bea52350e85163c3141509a52903223fa0f6e7390b1b1f9336c326a8fff984'
+            '04043ed0b2bf1c811417eec3b89a049f5353ad16f032497ff5c9a610eafa879d')
+
+prepare() {
+    cd ${pkgname}-${pkgver}
+    go mod vendor
+}
+
+build() {
+    cd ${pkgname}-${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"
+    go build -v \
+        -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}
+}
+
+package() {
+    install -Dm644 cozy.yml -t "${pkgdir}"/etc/cozy/
+    install -Dm644 ${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
+    install -Dm644 ${pkgname}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf
+    install -Dm644 ${pkgname}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf
+    cd ${pkgname}-${pkgver}
+    install -Dm755 ${pkgname} -t "${pkgdir}"/usr/bin/
+    install -Dm644 cozy.example.yaml -t "${pkgdir}"/usr/share/cozy/
+    install -Dm755 scripts/konnector-node-run.sh -t "${pkgdir}"/usr/share/cozy/
+    install -Dm755 scripts/konnector-nsjail-node12-run.sh "${pkgdir}"/usr/share/cozy/konnector-nsjail-run.sh
+}

Deleted: cozy-stack.service
===================================================================
--- cozy-stack.service	2021-12-02 21:01:35 UTC (rev 1062564)
+++ cozy-stack.service	2021-12-02 21:02:17 UTC (rev 1062565)
@@ -1,42 +0,0 @@
-[Unit]
-Description=Cozy service
-Wants=couchdb.service
-After=network.target couchdb.service
-
-[Service]
-User=cozy
-Group=cozy
-PermissionsStartOnly=true
-WorkingDirectory=~
-StateDirectory=cozy
-ExecStart=/usr/bin/cozy-stack serve
-Restart=always
-AmbientCapabilities=
-CapabilityBoundingSet=
-LockPersonality=true
-#Not compatible with NodeJS
-#MemoryDenyWriteExecute=true
-NoNewPrivileges=True
-PrivateDevices=true
-PrivateTmp=true
-PrivateUsers=true
-ProtectClock=true
-ProtectControlGroups=true
-ProtectHome=true
-ProtectHostname=true
-ProtectKernelLogs=true
-ProtectKernelModules=true
-ProtectKernelTunables=true
-ProtectProc=invisible
-ProtectSystem=strict
-RestrictAddressFamilies=AF_INET AF_INET6 AF_NETLINK AF_UNIX
-RestrictNamespaces=true
-RestrictRealtime=true
-RestrictSUIDSGID=true
-#SecureBits=noroot-locked
-SystemCallArchitectures=native
-SystemCallFilter=@system-service
-SystemCallErrorNumber=EPERM
-
-[Install]
-WantedBy=multi-user.target

Copied: cozy-stack/repos/community-x86_64/cozy-stack.service (from rev 1062564, cozy-stack/trunk/cozy-stack.service)
===================================================================
--- cozy-stack.service	                        (rev 0)
+++ cozy-stack.service	2021-12-02 21:02:17 UTC (rev 1062565)
@@ -0,0 +1,42 @@
+[Unit]
+Description=Cozy service
+Wants=couchdb.service
+After=network.target couchdb.service
+
+[Service]
+User=cozy
+Group=cozy
+PermissionsStartOnly=true
+WorkingDirectory=~
+StateDirectory=cozy
+ExecStart=/usr/bin/cozy-stack serve
+Restart=always
+AmbientCapabilities=
+CapabilityBoundingSet=
+LockPersonality=true
+#Not compatible with NodeJS
+#MemoryDenyWriteExecute=true
+NoNewPrivileges=True
+PrivateDevices=true
+PrivateTmp=true
+PrivateUsers=true
+ProtectClock=true
+ProtectControlGroups=true
+ProtectHome=true
+ProtectHostname=true
+ProtectKernelLogs=true
+ProtectKernelModules=true
+ProtectKernelTunables=true
+ProtectProc=invisible
+ProtectSystem=strict
+RestrictAddressFamilies=AF_INET AF_INET6 AF_NETLINK AF_UNIX
+RestrictNamespaces=true
+RestrictRealtime=true
+RestrictSUIDSGID=true
+#SecureBits=noroot-locked
+SystemCallArchitectures=native
+SystemCallFilter=@system-service
+SystemCallErrorNumber=EPERM
+
+[Install]
+WantedBy=multi-user.target

Deleted: cozy-stack.sysusers
===================================================================
--- cozy-stack.sysusers	2021-12-02 21:01:35 UTC (rev 1062564)
+++ cozy-stack.sysusers	2021-12-02 21:02:17 UTC (rev 1062565)
@@ -1 +0,0 @@
-u cozy - "Cozy Cloud" /var/lib/cozy

Copied: cozy-stack/repos/community-x86_64/cozy-stack.sysusers (from rev 1062564, cozy-stack/trunk/cozy-stack.sysusers)
===================================================================
--- cozy-stack.sysusers	                        (rev 0)
+++ cozy-stack.sysusers	2021-12-02 21:02:17 UTC (rev 1062565)
@@ -0,0 +1 @@
+u cozy - "Cozy Cloud" /var/lib/cozy

Deleted: cozy-stack.tmpfiles
===================================================================
--- cozy-stack.tmpfiles	2021-12-02 21:01:35 UTC (rev 1062564)
+++ cozy-stack.tmpfiles	2021-12-02 21:02:17 UTC (rev 1062565)
@@ -1,2 +0,0 @@
-d /var/lib/cozy 0770 cozy cozy
-Z /etc/cozy - cozy cozy

Copied: cozy-stack/repos/community-x86_64/cozy-stack.tmpfiles (from rev 1062564, cozy-stack/trunk/cozy-stack.tmpfiles)
===================================================================
--- cozy-stack.tmpfiles	                        (rev 0)
+++ cozy-stack.tmpfiles	2021-12-02 21:02:17 UTC (rev 1062565)
@@ -0,0 +1,2 @@
+d /var/lib/cozy 0770 cozy cozy
+Z /etc/cozy - cozy cozy

Deleted: cozy.yml
===================================================================
--- cozy.yml	2021-12-02 21:01:35 UTC (rev 1062564)
+++ cozy.yml	2021-12-02 21:02:17 UTC (rev 1062565)
@@ -1,33 +0,0 @@
-host: 127.0.0.1
-port: 8080
-
-subdomains: nested
-
-admin:
-  host: 127.0.0.1
-  port: 6060
-  secret_filename: cozy-admin-passphrase
-
-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/
-
-konnectors:
-  cmd: /usr/share/cozy/konnector-node-run.sh
-  #cmd: /usr/share/cozy/konnector-nsjail-run.sh
-
-log:
-  level: info
-  syslog: false
-
-registries:
-  default:
-  - https://apps-registry.cozycloud.cc/selfhosted
-  - https://apps-registry.cozycloud.cc/banks
-  - https://apps-registry.cozycloud.cc/

Copied: cozy-stack/repos/community-x86_64/cozy.yml (from rev 1062564, cozy-stack/trunk/cozy.yml)
===================================================================
--- cozy.yml	                        (rev 0)
+++ cozy.yml	2021-12-02 21:02:17 UTC (rev 1062565)
@@ -0,0 +1,33 @@
+host: 127.0.0.1
+port: 8080
+
+subdomains: nested
+
+admin:
+  host: 127.0.0.1
+  port: 6060
+  secret_filename: cozy-admin-passphrase
+
+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/
+
+konnectors:
+  cmd: /usr/share/cozy/konnector-node-run.sh
+  #cmd: /usr/share/cozy/konnector-nsjail-run.sh
+
+log:
+  level: info
+  syslog: false
+
+registries:
+  default:
+  - https://apps-registry.cozycloud.cc/selfhosted
+  - https://apps-registry.cozycloud.cc/banks
+  - https://apps-registry.cozycloud.cc/



More information about the arch-commits mailing list