* [PR PATCH] synapse: install example config files into examples dir
@ 2021-12-22 18:47 Chocimier
2021-12-22 21:41 ` [PR PATCH] [Merged]: " Chocimier
0 siblings, 1 reply; 2+ messages in thread
From: Chocimier @ 2021-12-22 18:47 UTC (permalink / raw)
To: ml
[-- 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
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: synapse: install example config files into examples dir
2021-12-22 18:47 [PR PATCH] synapse: install example config files into examples dir Chocimier
@ 2021-12-22 21:41 ` Chocimier
0 siblings, 0 replies; 2+ messages in thread
From: Chocimier @ 2021-12-22 21:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 479 bytes --]
There's a merged pull request on the void-packages repository
synapse: install example config files into examples dir
https://github.com/void-linux/void-packages/pull/34665
Description:
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-22 21:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-22 18:47 [PR PATCH] synapse: install example config files into examples dir Chocimier
2021-12-22 21:41 ` [PR PATCH] [Merged]: " Chocimier
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).