[arch-commits] Commit in cozy-stack/repos/community-x86_64 (10 files)
Bruno Pagani
archange at archlinux.org
Tue May 28 09:40:45 UTC 2019
Date: Tuesday, May 28, 2019 @ 09:40:45
Author: archange
Revision: 472297
archrelease: copy trunk to community-x86_64
Added:
cozy-stack/repos/community-x86_64/PKGBUILD
(from rev 472296, cozy-stack/trunk/PKGBUILD)
cozy-stack/repos/community-x86_64/cozy-stack.service
(from rev 472296, cozy-stack/trunk/cozy-stack.service)
cozy-stack/repos/community-x86_64/cozy-stack.sysusers
(from rev 472296, cozy-stack/trunk/cozy-stack.sysusers)
cozy-stack/repos/community-x86_64/cozy-stack.tmpfiles
(from rev 472296, cozy-stack/trunk/cozy-stack.tmpfiles)
cozy-stack/repos/community-x86_64/cozy.yml
(from rev 472296, 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 | 100 +++++++++++++++++++++++++-------------------------
cozy-stack.service | 66 ++++++++++++++++-----------------
cozy-stack.sysusers | 2 -
cozy-stack.tmpfiles | 6 +--
cozy.yml | 57 ++++++++++++++--------------
5 files changed, 116 insertions(+), 115 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-28 09:40:36 UTC (rev 472296)
+++ PKGBUILD 2019-05-28 09:40:45 UTC (rev 472297)
@@ -1,50 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=cozy-stack
-pkgver=1.2.6
-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-pie')
-#optdepends=('cozy-coclyco: X.509 certificates management for instances'
-optdepends=('nodejs: konnectors without isolation'
- 'nsjail: isolated konnectors'
- 'smtp-forwarder: to allow sending mail to users')
-source=("https://apt.cozy.io/debian/pool/testing/c/${pkgname}/${pkgname}_${pkgver}.orig.tar.xz"
- "cozy.yml"
- "${pkgname}.service"
- "${pkgname}.sysusers"
- "${pkgname}.tmpfiles")
-sha256sums=('6b97ec77e9e041bd27184d5ec9e3f958a6962acfa45339a0602133a839e9e544'
- 'ecfcdf3e2dfec1bdeae15a843c41c9a77b713fe66a4094e1b95dce9514af31e8'
- 'ad9b40170e2b07d5aa5ea6d444ad16c96bb39adb5ff579db5cc39cb4e2ec3f91'
- 'a6bea52350e85163c3141509a52903223fa0f6e7390b1b1f9336c326a8fff984'
- 'fd333c2fd0de859890204554f52a5c64b953664f6cb262b20bb839aa70ed9ecb')
-
-build() {
- export GOPATH="${srcdir}"/cozy-stack
- cd cozy-stack/src/github.com/cozy/cozy-stack
- go build -v -o "${srcdir}"/bin/cozy-stack \
- -gcflags "all=-trimpath=${GOPATH}" \
- -asmflags "all=-trimpath=${GOPATH}" \
- -ldflags "-X github.com/cozy/cozy-stack/pkg/config.Version=${pkgver} \
- -X github.com/cozy/cozy-stack/pkg/config.BuildTime=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
- -X github.com/cozy/cozy-stack/pkg/config.BuildMode=production \
- -linkmode external -extldflags ${LDFLAGS} -s -w"
-}
-
-package() {
- install -Dm755 bin/cozy-stack -t "${pkgdir}"/usr/bin/
- install -Dm644 cozy.yml -t "${pkgdir}"/etc/cozy/
- install -Dm644 cozy-stack/src/github.com/cozy/cozy-stack/cozy.example.yaml -t "${pkgdir}"/usr/share/cozy/
- install -Dm755 cozy-stack/src/github.com/cozy/cozy-stack/scripts/konnector-node-run.sh -t "${pkgdir}"/usr/share/cozy/
- install -Dm755 cozy-stack/src/github.com/cozy/cozy-stack/scripts/konnector-nsjail-run.sh -t "${pkgdir}"/usr/share/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
-}
Copied: cozy-stack/repos/community-x86_64/PKGBUILD (from rev 472296, cozy-stack/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-28 09:40:45 UTC (rev 472297)
@@ -0,0 +1,50 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=cozy-stack
+pkgver=1.2.7
+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-pie)
+#optdepends=('cozy-coclyco: X.509 certificates management for instances'
+optdepends=('nodejs: konnectors without isolation'
+ 'nsjail: isolated konnectors'
+ 'smtp-forwarder: to allow sending mail to users')
+source=("https://apt.cozy.io/debian/pool/testing/c/${pkgname}/${pkgname}_${pkgver}.orig.tar.xz"
+ "cozy.yml"
+ "${pkgname}.service"
+ "${pkgname}.sysusers"
+ "${pkgname}.tmpfiles")
+sha256sums=('5ac1bcb4d45c0526ac3136dc52e80e69533bdd956f2b8e78f54c5771b564b2af'
+ 'c4ed4b0831308261017fe7d532787ed8aa542ca5ecac65f5770edb29793415ef'
+ 'ad9b40170e2b07d5aa5ea6d444ad16c96bb39adb5ff579db5cc39cb4e2ec3f91'
+ 'a6bea52350e85163c3141509a52903223fa0f6e7390b1b1f9336c326a8fff984'
+ 'fd333c2fd0de859890204554f52a5c64b953664f6cb262b20bb839aa70ed9ecb')
+
+build() {
+ export GOPATH="${srcdir}"/cozy-stack
+ cd cozy-stack/src/github.com/cozy/cozy-stack
+ go build -v -o "${srcdir}"/bin/cozy-stack \
+ -gcflags "all=-trimpath=${GOPATH}" \
+ -asmflags "all=-trimpath=${GOPATH}" \
+ -ldflags "-X github.com/cozy/cozy-stack/pkg/config.Version=${pkgver} \
+ -X github.com/cozy/cozy-stack/pkg/config.BuildTime=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
+ -X github.com/cozy/cozy-stack/pkg/config.BuildMode=production \
+ -linkmode external -extldflags ${LDFLAGS} -s -w"
+}
+
+package() {
+ install -Dm755 bin/cozy-stack -t "${pkgdir}"/usr/bin/
+ install -Dm644 cozy.yml -t "${pkgdir}"/etc/cozy/
+ install -Dm644 cozy-stack/src/github.com/cozy/cozy-stack/cozy.example.yaml -t "${pkgdir}"/usr/share/cozy/
+ install -Dm755 cozy-stack/src/github.com/cozy/cozy-stack/scripts/konnector-node-run.sh -t "${pkgdir}"/usr/share/cozy/
+ install -Dm755 cozy-stack/src/github.com/cozy/cozy-stack/scripts/konnector-nsjail-run.sh -t "${pkgdir}"/usr/share/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
+}
Deleted: cozy-stack.service
===================================================================
--- cozy-stack.service 2019-05-28 09:40:36 UTC (rev 472296)
+++ cozy-stack.service 2019-05-28 09:40:45 UTC (rev 472297)
@@ -1,33 +0,0 @@
-[Unit]
-Description=Cozy service
-Wants=couchdb.service
-After=network.target couchdb.service
-
-[Service]
-User=cozy
-Group=cozy
-PermissionsStartOnly=true
-WorkingDirectory=~
-LogsDirectory=cozy
-StateDirectory=cozy
-ExecStart=/usr/bin/cozy-stack serve
-Restart=always
-CapabilityBoundingSet=
-NoNewPrivileges=True
-#SecureBits=noroot-locked
-PrivateUsers=true
-PrivateDevices=true
-PrivateTmp=true
-ProtectHome=true
-ProtectSystem=strict
-ProtectControlGroups=yes
-ProtectKernelTunables=true
-ProtectKernelModules=yes
-LockPersonality=true
-MemoryDenyWriteExecute=true
-RestrictRealtime=true
-SystemCallArchitectures=native
-SystemCallFilter=@system-service
-
-[Install]
-WantedBy=multi-user.target
Copied: cozy-stack/repos/community-x86_64/cozy-stack.service (from rev 472296, cozy-stack/trunk/cozy-stack.service)
===================================================================
--- cozy-stack.service (rev 0)
+++ cozy-stack.service 2019-05-28 09:40:45 UTC (rev 472297)
@@ -0,0 +1,33 @@
+[Unit]
+Description=Cozy service
+Wants=couchdb.service
+After=network.target couchdb.service
+
+[Service]
+User=cozy
+Group=cozy
+PermissionsStartOnly=true
+WorkingDirectory=~
+LogsDirectory=cozy
+StateDirectory=cozy
+ExecStart=/usr/bin/cozy-stack serve
+Restart=always
+CapabilityBoundingSet=
+NoNewPrivileges=True
+#SecureBits=noroot-locked
+PrivateUsers=true
+PrivateDevices=true
+PrivateTmp=true
+ProtectHome=true
+ProtectSystem=strict
+ProtectControlGroups=yes
+ProtectKernelTunables=true
+ProtectKernelModules=yes
+LockPersonality=true
+MemoryDenyWriteExecute=true
+RestrictRealtime=true
+SystemCallArchitectures=native
+SystemCallFilter=@system-service
+
+[Install]
+WantedBy=multi-user.target
Deleted: cozy-stack.sysusers
===================================================================
--- cozy-stack.sysusers 2019-05-28 09:40:36 UTC (rev 472296)
+++ cozy-stack.sysusers 2019-05-28 09:40:45 UTC (rev 472297)
@@ -1 +0,0 @@
-u cozy - "Cozy Cloud" /var/lib/cozy
Copied: cozy-stack/repos/community-x86_64/cozy-stack.sysusers (from rev 472296, cozy-stack/trunk/cozy-stack.sysusers)
===================================================================
--- cozy-stack.sysusers (rev 0)
+++ cozy-stack.sysusers 2019-05-28 09:40:45 UTC (rev 472297)
@@ -0,0 +1 @@
+u cozy - "Cozy Cloud" /var/lib/cozy
Deleted: cozy-stack.tmpfiles
===================================================================
--- cozy-stack.tmpfiles 2019-05-28 09:40:36 UTC (rev 472296)
+++ cozy-stack.tmpfiles 2019-05-28 09:40:45 UTC (rev 472297)
@@ -1,3 +0,0 @@
-d /var/lib/cozy 0755 cozy cozy
-d /var/log/cozy 0755 cozy cozy
-Z /etc/cozy - cozy cozy
Copied: cozy-stack/repos/community-x86_64/cozy-stack.tmpfiles (from rev 472296, cozy-stack/trunk/cozy-stack.tmpfiles)
===================================================================
--- cozy-stack.tmpfiles (rev 0)
+++ cozy-stack.tmpfiles 2019-05-28 09:40:45 UTC (rev 472297)
@@ -0,0 +1,3 @@
+d /var/lib/cozy 0755 cozy cozy
+d /var/log/cozy 0755 cozy cozy
+Z /etc/cozy - cozy cozy
Deleted: cozy.yml
===================================================================
--- cozy.yml 2019-05-28 09:40:36 UTC (rev 472296)
+++ cozy.yml 2019-05-28 09:40:45 UTC (rev 472297)
@@ -1,28 +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
-
-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/
- - https://apps-registry.cozycloud.cc/banks
Copied: cozy-stack/repos/community-x86_64/cozy.yml (from rev 472296, cozy-stack/trunk/cozy.yml)
===================================================================
--- cozy.yml (rev 0)
+++ cozy.yml 2019-05-28 09:40:45 UTC (rev 472297)
@@ -0,0 +1,29 @@
+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
+
+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