From: TinfoilSubmarine <TinfoilSubmarine@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: dendrite-0.6.3
Date: Tue, 22 Feb 2022 19:04:02 +0100 [thread overview]
Message-ID: <20220222180402.hR46MxAPBVxMXWu6dEarR28DBT_bJScikqdCDFpgAmY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34358@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1287 bytes --]
There is an updated pull request by TinfoilSubmarine against master on the void-packages repository
https://github.com/TinfoilSubmarine/void-packages dendrite
https://github.com/void-linux/void-packages/pull/34358
New package: dendrite-0.6.3
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
Closes https://github.com/void-linux/void-packages/issues/27818
A patch file from https://github.com/void-linux/void-packages/pull/34358.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-dendrite-34358.patch --]
[-- Type: text/x-diff, Size: 2909 bytes --]
From a42fde59be87ca1eb0b8f7a56647cb41f7cd2c89 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Tue, 22 Feb 2022 13:03:53 -0500
Subject: [PATCH] New package: dendrite-0.6.4
---
.../files/dendrite-monolith-server/log/run | 1 +
.../files/dendrite-monolith-server/run | 6 +++
srcpkgs/dendrite/template | 39 +++++++++++++++++++
3 files changed, 46 insertions(+)
create mode 120000 srcpkgs/dendrite/files/dendrite-monolith-server/log/run
create mode 100755 srcpkgs/dendrite/files/dendrite-monolith-server/run
create mode 100644 srcpkgs/dendrite/template
diff --git a/srcpkgs/dendrite/files/dendrite-monolith-server/log/run b/srcpkgs/dendrite/files/dendrite-monolith-server/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/dendrite/files/dendrite-monolith-server/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/dendrite/files/dendrite-monolith-server/run b/srcpkgs/dendrite/files/dendrite-monolith-server/run
new file mode 100755
index 000000000000..2fab17797c4d
--- /dev/null
+++ b/srcpkgs/dendrite/files/dendrite-monolith-server/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+[ -r ./conf ] && . ./conf
+cd /var/lib/dendrite || exit 1
+exec 2>&1
+exec chpst -u _dendrite:_dendrite dendrite-monolith-server \
+ --config ${CONFIG_FILE:-/etc/dendrite/dendrite.yaml} ${OPTS}
diff --git a/srcpkgs/dendrite/template b/srcpkgs/dendrite/template
new file mode 100644
index 000000000000..5524eb1e5b84
--- /dev/null
+++ b/srcpkgs/dendrite/template
@@ -0,0 +1,39 @@
+# Template file for 'dendrite'
+pkgname=dendrite
+version=0.6.4
+revision=1
+build_style=go
+go_import_path="github.com/matrix-org/dendrite"
+go_package="./cmd/create-account ./cmd/dendrite-monolith-server
+ ./cmd/generate-config ./cmd/generate-keys"
+short_desc="Dendrite is a second-generation Matrix homeserver written in Go"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://matrix.org/docs/projects/server/dendrite"
+changelog="https://raw.githubusercontent.com/matrix-org/dendrite/main/CHANGES.md"
+distfiles="https://github.com/matrix-org/dendrite/archive/v${version}.tar.gz"
+checksum=ec88d98c74393fdfc20586b11839c1d1250dd3083dce31c0a31b1b0d9020b7af
+
+system_accounts="_dendrite"
+_dendrite_homedir="/var/lib/dendrite"
+
+make_dirs="
+ /var/lib/dendrite 0700 _dendrite _dendrite
+ /var/log/dendrite 0755 _dendrite _dendrite
+ /etc/dendrite 0755 _dendrite _dendrite"
+
+pre_configure() {
+ vsed -e 's,\./logs,/var/log/dendrite,' \
+ -e 's,: matrix_key.pem,: /etc/dendrite/matrix_key.pem,' \
+ -i dendrite-config.yaml
+}
+
+post_install() {
+ vsconf dendrite-config.yaml dendrite.yaml
+ vsv dendrite-monolith-server
+
+ cd "${DESTDIR}"/usr/bin
+ mv create-account dendrite-create-account
+ mv generate-config dendrite-generate-config
+ mv generate-keys dendrite-generate-keys
+}
next prev parent reply other threads:[~2022-02-22 18:04 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-02 23:08 [PR PATCH] New package: dendrite-0.5.1 TinfoilSubmarine
2021-12-03 19:12 ` [PR PATCH] [Updated] " TinfoilSubmarine
2021-12-03 19:18 ` TinfoilSubmarine
2022-01-28 14:47 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-01-28 18:40 ` [PR PATCH] [Updated] New package: dendrite-0.6 TinfoilSubmarine
2022-02-04 18:29 ` TinfoilSubmarine
2022-02-04 18:29 ` TinfoilSubmarine
2022-02-10 14:14 ` [PR PATCH] [Updated] New package: dendrite-0.6.2 TinfoilSubmarine
2022-02-12 21:21 ` [PR REVIEW] New package: dendrite-0.6.3 jcgruenhage
2022-02-12 21:21 ` jcgruenhage
2022-02-14 3:12 ` TinfoilSubmarine
2022-02-14 3:22 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-02-14 3:23 ` [PR REVIEW] " TinfoilSubmarine
2022-02-14 9:40 ` jcgruenhage
2022-02-14 13:03 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-02-14 13:03 ` [PR REVIEW] " TinfoilSubmarine
2022-02-14 20:34 ` paper42
2022-02-14 20:34 ` paper42
2022-02-14 20:34 ` paper42
2022-02-15 2:52 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-02-15 2:53 ` TinfoilSubmarine
2022-02-15 2:53 ` [PR REVIEW] " TinfoilSubmarine
2022-02-22 18:04 ` TinfoilSubmarine [this message]
2022-03-03 21:47 ` [PR PATCH] [Merged]: New package: dendrite-0.6.4 paper42
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=20220222180402.hR46MxAPBVxMXWu6dEarR28DBT_bJScikqdCDFpgAmY@z \
--to=tinfoilsubmarine@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).