Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: conduit-0.2.0
@ 2021-12-16 14:43 TinfoilSubmarine
  2022-01-27 15:26 ` steinex
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: TinfoilSubmarine @ 2021-12-16 14:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1589 bytes --]

There is a new pull request by TinfoilSubmarine against master on the void-packages repository

https://github.com/TinfoilSubmarine/void-packages conduit
https://github.com/void-linux/void-packages/pull/34568

New package: conduit-0.2.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### 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
-->

Haven't played with this a lot, but it builds and runs without errors, so I figured I would put this up for PR in case anyone else is interested. I'm toying with a playground for Matrix test servers, and having all of the different implementations that are in at least Beta packaged is helpful, so I'll probably make one for Construct as well if I can get it building...


A patch file from https://github.com/void-linux/void-packages/pull/34568.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-conduit-34568.patch --]
[-- Type: text/x-diff, Size: 2059 bytes --]

From a19e8067c3ca1637c1fecdbd9bda8184a19d668d Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Tue, 7 Dec 2021 08:40:39 -0500
Subject: [PATCH] New package: conduit-0.2.0

---
 srcpkgs/conduit/files/conduit/log/run |  1 +
 srcpkgs/conduit/files/conduit/run     |  5 +++++
 srcpkgs/conduit/template              | 25 +++++++++++++++++++++++++
 3 files changed, 31 insertions(+)
 create mode 120000 srcpkgs/conduit/files/conduit/log/run
 create mode 100644 srcpkgs/conduit/files/conduit/run
 create mode 100644 srcpkgs/conduit/template

diff --git a/srcpkgs/conduit/files/conduit/log/run b/srcpkgs/conduit/files/conduit/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/conduit/files/conduit/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/conduit/files/conduit/run b/srcpkgs/conduit/files/conduit/run
new file mode 100644
index 000000000000..da6b50a7d1e3
--- /dev/null
+++ b/srcpkgs/conduit/files/conduit/run
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+export CONDUIT_CONFIG=/etc/conduit/conduit.toml
+
+exec chpst -u _conduit:_conduit conduit
diff --git a/srcpkgs/conduit/template b/srcpkgs/conduit/template
new file mode 100644
index 000000000000..451616d12ad9
--- /dev/null
+++ b/srcpkgs/conduit/template
@@ -0,0 +1,25 @@
+# Template file for 'conduit'
+pkgname=conduit
+version=0.2.0
+revision=1
+wrksrc="conduit-v${version}"
+build_style=cargo
+short_desc="Simple, fast and reliable chat server powered by Matrix"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://conduit.rs/"
+distfiles="https://gitlab.com/famedly/conduit/-/archive/v${version}/conduit-v${version}.tar.bz2"
+checksum=dd5042bbef6d821b24c60363fda8a7d87d946b05567b6870422b389c7061641d
+conf_files="/etc/conduit/conduit.toml"
+
+system_accounts="_conduit"
+_conduit_homedir="/var/lib/conduit"
+
+make_dirs="/var/lib/conduit 0700 _conduit _conduit"
+
+post_install() {
+	vmkdir etc/conduit
+	vcopy conduit-example.toml etc/conduit/conduit.toml
+
+	vsv conduit
+}

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2022-03-25 22:12 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-16 14:43 [PR PATCH] New package: conduit-0.2.0 TinfoilSubmarine
2022-01-27 15:26 ` steinex
2022-01-27 16:02 ` TinfoilSubmarine
2022-02-04 18:16 ` steinex
2022-02-04 19:12 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-02-04 19:13 ` New package: conduit-0.3.0 TinfoilSubmarine
2022-02-04 23:04 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-02-05 13:57 ` steinex
2022-02-05 14:04 ` TinfoilSubmarine
2022-02-06 23:48 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-02-12 21:07 ` [PR REVIEW] " jcgruenhage
2022-02-14  3:09 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-02-14 13:20 ` TinfoilSubmarine
2022-02-14 13:21 ` TinfoilSubmarine
2022-02-14 14:42 ` [PR REVIEW] " jcgruenhage
2022-02-14 15:34 ` TinfoilSubmarine
2022-02-14 15:34 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-02-15  3:20 ` TinfoilSubmarine
2022-03-18 13:40 ` TinfoilSubmarine
2022-03-18 13:40 ` TinfoilSubmarine
2022-03-18 13:41 ` TinfoilSubmarine
2022-03-18 13:45 ` TinfoilSubmarine
2022-03-25 22:12 ` [PR PATCH] [Merged]: " paper42

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).