Github messages for voidlinux
 help / color / mirror / Atom feed
From: TinfoilSubmarine <TinfoilSubmarine@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: conduit-0.3.0
Date: Mon, 14 Feb 2022 14:20:51 +0100	[thread overview]
Message-ID: <20220214132051.0xgK_jiSwyMmAzIRhl6MUaubzz6unCxhDN1b3iwBzjg@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34568@inbox.vuxu.org>

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

There is an updated 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.3.0
<!-- 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
-->

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: 2317 bytes --]

From 74609886d23951fcc2656a781b08527cdd917bfb Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Sun, 6 Feb 2022 18:45:45 -0500
Subject: [PATCH] New package: conduit-0.3.0

---
 srcpkgs/conduit/files/conduit/log/run |  1 +
 srcpkgs/conduit/files/conduit/run     |  7 ++++++
 srcpkgs/conduit/template              | 32 +++++++++++++++++++++++++++
 3 files changed, 40 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..fa77dacd7141
--- /dev/null
+++ b/srcpkgs/conduit/files/conduit/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+[ -r ./conf ] && . ./conf
+ulimit -n ${MAX_OPEN_FILES:-8192}
+
+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..c78a5a964a6d
--- /dev/null
+++ b/srcpkgs/conduit/template
@@ -0,0 +1,32 @@
+# Template file for 'conduit'
+pkgname=conduit
+version=0.3.0
+revision=1
+wrksrc="conduit-v${version}"
+build_style=cargo
+build_helper=rust
+hostmakedepends="clang"
+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=1a3281542f578764ee7a3e48138bcd5d9df20f5350c8d3fbd0f5053c493f0028
+
+system_accounts="_conduit"
+_conduit_homedir="/var/lib/conduit"
+
+make_dirs="/var/lib/conduit 0700 _conduit _conduit
+ /etc/conduit 755 _conduit _conduit"
+
+export BINDGEN_EXTRA_CLANG_ARGS="-I${XBPS_CROSS_BASE}/usr/include"
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+	XBPS_CROSS_RUSTFLAGS+=" -latomic"
+fi
+
+post_install() {
+	vsconf conduit-example.toml conduit.toml
+
+	vsv conduit
+}

  parent reply	other threads:[~2022-02-14 13:20 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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=20220214132051.0xgK_jiSwyMmAzIRhl6MUaubzz6unCxhDN1b3iwBzjg@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).