[arch-commits] Commit in matrix-synapse/repos/community-any (6 files)

Johannes Löthberg demize at archlinux.org
Sun May 13 10:18:39 UTC 2018


    Date: Sunday, May 13, 2018 @ 10:18:38
  Author: demize
Revision: 321590

archrelease: copy trunk to community-any

Added:
  matrix-synapse/repos/community-any/PKGBUILD
    (from rev 321589, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-any/synapse.install
    (from rev 321589, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-any/sysusers-synapse.conf
    (from rev 321589, matrix-synapse/trunk/sysusers-synapse.conf)
Deleted:
  matrix-synapse/repos/community-any/PKGBUILD
  matrix-synapse/repos/community-any/synapse.install
  matrix-synapse/repos/community-any/sysusers-synapse.conf

-----------------------+
 PKGBUILD              |  120 ++++++++++++++++++++++++------------------------
 synapse.install       |   50 ++++++++++----------
 sysusers-synapse.conf |    2 
 3 files changed, 86 insertions(+), 86 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-13 10:18:33 UTC (rev 321589)
+++ PKGBUILD	2018-05-13 10:18:38 UTC (rev 321590)
@@ -1,60 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
-
-pkgname=matrix-synapse
-pkgver=0.27.4
-pkgrel=1
-
-pkgdesc="Matrix reference homeserver"
-url="https://github.com/matrix-org/synapse"
-arch=('any')
-license=('Apache')
-
-depends=('python2-jsonschema' 'python2-twisted' 'python2-service-identity'
-         'python2-pyopenssl' 'python2-yaml' 'python2-pyasn1' 'python2-pynacl'
-         'python2-daemonize' 'python2-bcrypt' 'python2-frozendict'
-         'python2-pillow' 'python2-pydenticon' 'python2-ujson' 'python2-blist'
-         'python2-pysaml2' 'python2-setuptools'
-         'python2-systemd' 'python2-unpaddedbase64' 'python2-canonicaljson'
-         'python2-signedjson' 'python2-pymacaroons-pynacl'
-         'python2-service-identity' 'python2-msgpack'
-         'python2-phonenumbers'
-         'systemd')
-makedepends=('python2-mock')
-checkdepends=('python2-lxml')
-optdepends=('python2-psycopg2: PostgreSQL support'
-            'python2-netaddr: URL previewing'
-            'python2-lxml: URL previewing'
-            'python2-jinja: e-mail notifications'
-            'python2-bleach: e-mail notifications'
-            'python2-psutil: metrics'
-            'python2-matrix-angular-sdk: built-in web client')
-
-source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz"
-        'sysusers-synapse.conf')
-
-md5sums=('59312cb59e34562a367b34ad5d65c651'
-         'ecd9f66fb57fe1a2e1e2df07a460a35b')
-
-backup=('etc/synapse/log_config.yaml')
-install=synapse.install
-
-build() {
-	cd synapse-$pkgver
-	python2 setup.py build
-}
-
-check() {
-	cd synapse-$pkgver
-	PYTHONPATH=. trial tests
-}
-
-package() {
-	cd synapse-$pkgver
-	python2 setup.py install --root "$pkgdir" --optimize=1 --skip-build
-
-	install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
-	install -Dm644 contrib/systemd/log_config.yaml "$pkgdir"/etc/synapse/log_config.yaml
-	install -Dm644 contrib/systemd/synapse.service "$pkgdir"/usr/lib/systemd/system/synapse.service
-	install -Dm644 "$srcdir"/sysusers-synapse.conf "$pkgdir"/usr/lib/sysusers.d/synapse.conf
-}

Copied: matrix-synapse/repos/community-any/PKGBUILD (from rev 321589, matrix-synapse/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-13 10:18:38 UTC (rev 321590)
@@ -0,0 +1,60 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
+
+pkgname=matrix-synapse
+pkgver=0.28.1
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse"
+arch=('any')
+license=('Apache')
+
+depends=('python2-jsonschema' 'python2-twisted' 'python2-service-identity'
+         'python2-pyopenssl' 'python2-yaml' 'python2-pyasn1' 'python2-pynacl'
+         'python2-daemonize' 'python2-bcrypt' 'python2-frozendict'
+         'python2-pillow' 'python2-pydenticon' 'python2-ujson' 'python2-blist'
+         'python2-pysaml2' 'python2-setuptools'
+         'python2-systemd' 'python2-unpaddedbase64' 'python2-canonicaljson'
+         'python2-signedjson' 'python2-pymacaroons-pynacl'
+         'python2-service-identity' 'python2-msgpack'
+         'python2-phonenumbers'
+         'systemd')
+makedepends=('python2-mock')
+checkdepends=('python2-lxml')
+optdepends=('python2-psycopg2: PostgreSQL support'
+            'python2-netaddr: URL previewing'
+            'python2-lxml: URL previewing'
+            'python2-jinja: e-mail notifications'
+            'python2-bleach: e-mail notifications'
+            'python2-psutil: metrics'
+            'python2-matrix-angular-sdk: built-in web client')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz"
+        'sysusers-synapse.conf')
+
+md5sums=('46a12ccd4ecdf51e6b30481f806c9f50'
+         'ecd9f66fb57fe1a2e1e2df07a460a35b')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+	cd synapse-$pkgver
+	python2 setup.py build
+}
+
+check() {
+	cd synapse-$pkgver
+	PYTHONPATH=. trial tests
+}
+
+package() {
+	cd synapse-$pkgver
+	python2 setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+	install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+	install -Dm644 contrib/systemd/log_config.yaml "$pkgdir"/etc/synapse/log_config.yaml
+	install -Dm644 contrib/systemd/synapse.service "$pkgdir"/usr/lib/systemd/system/synapse.service
+	install -Dm644 "$srcdir"/sysusers-synapse.conf "$pkgdir"/usr/lib/sysusers.d/synapse.conf
+}

Deleted: synapse.install
===================================================================
--- synapse.install	2018-05-13 10:18:33 UTC (rev 321589)
+++ synapse.install	2018-05-13 10:18:38 UTC (rev 321590)
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-# arg 1:  the new package version
-post_install() {
-	if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
-		cat <<-EOF
-		==> A synapse configuration file needs to be generated before you can
-		    start synapse, and you should make sure that it's readable by the
-		    synapse user.
-
-		    cd /var/lib/synapse
-		    sudo -u synapse python2 -m synapse.app.homeserver \\
-		      --server-name my.domain.name \\
-		      --config-path /etc/synapse/homeserver.yaml \\
-		      --generate-config \\
-		      --report-stats=yes
-
-		    N.B.: The default synapse config enables the webclient feature.
-		    Unless you have python2-matrix-angular-sdk installed this will make
-		    synapse fail to start.  Either disable it, or install
-		    python2-matrix-angular-sdk.
-		EOF
-		install -dm700 -o 198 -g 198 /var/lib/synapse
-	fi
-}

Copied: matrix-synapse/repos/community-any/synapse.install (from rev 321589, matrix-synapse/trunk/synapse.install)
===================================================================
--- synapse.install	                        (rev 0)
+++ synapse.install	2018-05-13 10:18:38 UTC (rev 321590)
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+	if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+		cat <<-EOF
+		==> A synapse configuration file needs to be generated before you can
+		    start synapse, and you should make sure that it's readable by the
+		    synapse user.
+
+		    cd /var/lib/synapse
+		    sudo -u synapse python2 -m synapse.app.homeserver \\
+		      --server-name my.domain.name \\
+		      --config-path /etc/synapse/homeserver.yaml \\
+		      --generate-config \\
+		      --report-stats=yes
+
+		    N.B.: The default synapse config enables the webclient feature.
+		    Unless you have python2-matrix-angular-sdk installed this will make
+		    synapse fail to start.  Either disable it, or install
+		    python2-matrix-angular-sdk.
+		EOF
+		install -dm700 -o 198 -g 198 /var/lib/synapse
+	fi
+}

Deleted: sysusers-synapse.conf
===================================================================
--- sysusers-synapse.conf	2018-05-13 10:18:33 UTC (rev 321589)
+++ sysusers-synapse.conf	2018-05-13 10:18:38 UTC (rev 321590)
@@ -1 +0,0 @@
-u synapse 198 "Matrix Synapse user" /var/lib/synapse

Copied: matrix-synapse/repos/community-any/sysusers-synapse.conf (from rev 321589, matrix-synapse/trunk/sysusers-synapse.conf)
===================================================================
--- sysusers-synapse.conf	                        (rev 0)
+++ sysusers-synapse.conf	2018-05-13 10:18:38 UTC (rev 321590)
@@ -0,0 +1 @@
+u synapse 198 "Matrix Synapse user" /var/lib/synapse



More information about the arch-commits mailing list