From: Chocimier <Chocimier@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] synapse: install example config files into examples dir
Date: Wed, 22 Dec 2021 19:47:06 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34665@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 638 bytes --]
There is a new pull request by Chocimier against master on the void-packages repository
https://github.com/Chocimier/void-packages-org synapse
https://github.com/void-linux/void-packages/pull/34665
synapse: install example config files into examples dir
Installing them suddenly in target path triggered xbps bug
destroying previous configurations.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
@paper42 @ericonr @freshprince
A patch file from https://github.com/void-linux/void-packages/pull/34665.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-synapse-34665.patch --]
[-- Type: text/x-diff, Size: 1564 bytes --]
From 4b8ec992eb0f8dc821c904df2d84d8ef830ba167 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Wed, 22 Dec 2021 19:42:23 +0100
Subject: [PATCH] synapse: install example config files into examples dir
Installing them suddenly in target path triggered xbps bug
destroying previous configurations.
---
srcpkgs/synapse/template | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template
index 076294326efb..2452f6a26ca4 100644
--- a/srcpkgs/synapse/template
+++ b/srcpkgs/synapse/template
@@ -1,7 +1,7 @@
# Template file for 'synapse'
pkgname=synapse
version=1.49.0
-revision=1
+revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-jsonschema python3-frozendict python3-canonicaljson
@@ -20,7 +20,6 @@ homepage="https://github.com/matrix-org/synapse"
changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
checksum=3c1b73eb36ec3af00868707b929f9b9d1faae9ccc4022c2c46bdb025ef0ead8e
-conf_files="/etc/synapse/homeserver.yaml /etc/synapse/log.yaml"
system_accounts="synapse"
synapse_homedir="/var/lib/synapse"
@@ -36,6 +35,6 @@ do_check() {
post_install() {
vsv synapse
- vinstall docs/sample_config.yaml 644 etc/synapse homeserver.yaml
- vinstall docs/sample_log_config.yaml 644 etc/synapse log.yaml
+ vsconf docs/sample_config.yaml homeserver.yaml
+ vsconf docs/sample_log_config.yaml log.yaml
}
next reply other threads:[~2021-12-22 18:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-22 18:47 Chocimier [this message]
2021-12-22 21:41 ` [PR PATCH] [Merged]: " Chocimier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34665@inbox.vuxu.org \
--to=chocimier@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).