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

Johannes Löthberg demize at archlinux.org
Sat Aug 4 02:56:24 UTC 2018


    Date: Saturday, August 4, 2018 @ 02:56:24
  Author: demize
Revision: 367752

archrelease: copy trunk to community-any

Added:
  matrix-synapse/repos/community-any/PKGBUILD
    (from rev 367750, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-any/synapse.install
    (from rev 367750, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-any/sysusers-synapse.conf
    (from rev 367750, 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-08-04 02:56:23 UTC (rev 367751)
+++ PKGBUILD	2018-08-04 02:56:24 UTC (rev 367752)
@@ -1,60 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
-
-pkgname=matrix-synapse
-pkgver=0.33.0
-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-pysaml2' 'python2-setuptools'
-         'python2-systemd' 'python2-unpaddedbase64' 'python2-canonicaljson'
-         'python2-signedjson' 'python2-pymacaroons-pynacl'
-         'python2-service-identity' 'python2-msgpack'
-         'python2-phonenumbers' 'python2-prometheus_client'
-         'python2-attrs' 'python2-netaddr' 'python2-sortedcontainers'
-         'systemd')
-makedepends=('python2-mock')
-checkdepends=('python2-lxml')
-optdepends=('python2-psycopg2: PostgreSQL support'
-            '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=('7ad545904cc56d36390aec835ed53330'
-         '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 367750, matrix-synapse/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-04 02:56:24 UTC (rev 367752)
@@ -0,0 +1,60 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
+
+pkgname=matrix-synapse
+pkgver=0.33.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-pysaml2' 'python2-setuptools'
+         'python2-systemd' 'python2-unpaddedbase64' 'python2-canonicaljson'
+         'python2-signedjson' 'python2-pymacaroons-pynacl'
+         'python2-service-identity' 'python2-msgpack'
+         'python2-phonenumbers' 'python2-prometheus_client'
+         'python2-attrs' 'python2-netaddr' 'python2-sortedcontainers'
+         'systemd')
+makedepends=('python2-mock')
+checkdepends=('python2-lxml')
+optdepends=('python2-psycopg2: PostgreSQL support'
+            '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=('bcdeadc2dff34e4f3b5461d410208386'
+         '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-08-04 02:56:23 UTC (rev 367751)
+++ synapse.install	2018-08-04 02:56:24 UTC (rev 367752)
@@ -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 367750, matrix-synapse/trunk/synapse.install)
===================================================================
--- synapse.install	                        (rev 0)
+++ synapse.install	2018-08-04 02:56:24 UTC (rev 367752)
@@ -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-08-04 02:56:23 UTC (rev 367751)
+++ sysusers-synapse.conf	2018-08-04 02:56:24 UTC (rev 367752)
@@ -1 +0,0 @@
-u synapse 198 "Matrix Synapse user" /var/lib/synapse

Copied: matrix-synapse/repos/community-any/sysusers-synapse.conf (from rev 367750, matrix-synapse/trunk/sysusers-synapse.conf)
===================================================================
--- sysusers-synapse.conf	                        (rev 0)
+++ sysusers-synapse.conf	2018-08-04 02:56:24 UTC (rev 367752)
@@ -0,0 +1 @@
+u synapse 198 "Matrix Synapse user" /var/lib/synapse



More information about the arch-commits mailing list