[-- 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 +}
[-- Attachment #1: Type: text/plain, Size: 194 bytes --] New comment by steinex on void-packages repository https://github.com/void-linux/void-packages/pull/34568#issuecomment-1023332259 Comment: Running this on my server and it works fine. LGTM
[-- Attachment #1: Type: text/plain, Size: 250 bytes --] New comment by TinfoilSubmarine on void-packages repository https://github.com/void-linux/void-packages/pull/34568#issuecomment-1023369987 Comment: I've also been testing this more intensively and it has been working with no issues for me as well.
[-- Attachment #1: Type: text/plain, Size: 157 bytes --] New comment by steinex on void-packages repository https://github.com/void-linux/void-packages/pull/34568#issuecomment-1030234986 Comment: 0.3.0 is out :)
[-- 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.2.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: 2081 bytes --] From e318a4bea7fb1353ee069bede155363b6a11705c 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.3.0 --- srcpkgs/conduit/files/conduit/log/run | 1 + srcpkgs/conduit/files/conduit/run | 5 +++++ srcpkgs/conduit/template | 26 ++++++++++++++++++++++++++ 3 files changed, 32 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..23bcf2f5537c --- /dev/null +++ b/srcpkgs/conduit/template @@ -0,0 +1,26 @@ +# Template file for 'conduit' +pkgname=conduit +version=0.3.0 +revision=1 +wrksrc="conduit-v${version}" +build_style=cargo +makedepends="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 +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 +}
[-- Attachment #1: Type: text/plain, Size: 257 bytes --] New comment by TinfoilSubmarine on void-packages repository https://github.com/void-linux/void-packages/pull/34568#issuecomment-1030275415 Comment: > 0.3.0 is out :) Beat me to it, haha! Wow, both dendrite and conduit releasing on same day, what a day
[-- 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: 2156 bytes --] From c111fc385410ea9f25c0e817790f776c77811f3f 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.3.0 --- srcpkgs/conduit/files/conduit/log/run | 1 + srcpkgs/conduit/files/conduit/run | 5 +++++ srcpkgs/conduit/template | 28 +++++++++++++++++++++++++++ 3 files changed, 34 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..fd2faa44be4f --- /dev/null +++ b/srcpkgs/conduit/template @@ -0,0 +1,28 @@ +# Template file for 'conduit' +pkgname=conduit +version=0.3.0 +revision=1 +wrksrc="conduit-v${version}" +build_style=cargo +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 +conf_files="/etc/conduit/conduit.toml" + +system_accounts="_conduit" +_conduit_homedir="/var/lib/conduit" + +make_dirs="/var/lib/conduit 0700 _conduit _conduit" + +export BINDGEN_EXTRA_CLANG_ARGS="-I${XBPS_CROSS_BASE}/usr/include" + +post_install() { + vmkdir etc/conduit + vcopy conduit-example.toml etc/conduit/conduit.toml + + vsv conduit +}
[-- Attachment #1: Type: text/plain, Size: 378 bytes --] New comment by steinex on void-packages repository https://github.com/void-linux/void-packages/pull/34568#issuecomment-1030629873 Comment: We need to raise the ulimit for openfiles. I've run into the 1024 limit today (joined to some big rooms including HQ + running a bridge). Can you add this to run? ``` [ -r ./conf ] && . ./conf ulimit -n ${MAX_OPEN_FILES:-8192} ```
[-- Attachment #1: Type: text/plain, Size: 239 bytes --] New comment by TinfoilSubmarine on void-packages repository https://github.com/void-linux/void-packages/pull/34568#issuecomment-1030630957 Comment: Sure, I'll add it and force push again once I figure out how to fix that armv6l problem.
[-- 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: 2352 bytes --] From 4c6e2f63f82861eb9b8603fbfe7775e74584c7b6 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 | 33 +++++++++++++++++++++++++++ 3 files changed, 41 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..993dbe690b39 --- /dev/null +++ b/srcpkgs/conduit/template @@ -0,0 +1,33 @@ +# 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 +conf_files="/etc/conduit/conduit.toml" + +system_accounts="_conduit" +_conduit_homedir="/var/lib/conduit" + +make_dirs="/var/lib/conduit 0700 _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() { + vmkdir etc/conduit + vcopy conduit-example.toml etc/conduit/conduit.toml + + vsv conduit +}
[-- Attachment #1: Type: text/plain, Size: 456 bytes --] New review comment by jcgruenhage on void-packages repository https://github.com/void-linux/void-packages/pull/34568#discussion_r805204427 Comment: Sample config files should be installed using `vsconf`. That would put it into `/usr/share/examples/conduit`, which would be more appropriate anyway, IMO, as it makes it less probable that someone just installs conduit and enables it with the example config without adjusting stuff like the server domain.
[-- 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: 2341 bytes --] From 478a6c5ffad138f2e6894f43350e2af719266655 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 | 33 +++++++++++++++++++++++++++ 3 files changed, 41 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..7b6824ff39c6 --- /dev/null +++ b/srcpkgs/conduit/template @@ -0,0 +1,33 @@ +# 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 +conf_files="/etc/conduit/conduit.toml" + +system_accounts="_conduit" +_conduit_homedir="/var/lib/conduit" + +make_dirs="/var/lib/conduit 0700 _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() { + vmkdir etc/conduit + vsconf conduit-example.toml conduit.toml + + vsv conduit +}
[-- 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 +}
[-- 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: 2315 bytes --] From dd4dabd62040b8b174b25a0faf43d5a296873ba1 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 | 31 +++++++++++++++++++++++++++ 3 files changed, 39 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..4b1d793c2c1e --- /dev/null +++ b/srcpkgs/conduit/template @@ -0,0 +1,31 @@ +# 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 +}
[-- Attachment #1: Type: text/plain, Size: 230 bytes --] New review comment by jcgruenhage on void-packages repository https://github.com/void-linux/void-packages/pull/34568#discussion_r805912424 Comment: why is the build_helper included here? The cargo build_style already does that.
[-- Attachment #1: Type: text/plain, Size: 274 bytes --] New review comment by TinfoilSubmarine on void-packages repository https://github.com/void-linux/void-packages/pull/34568#discussion_r805966138 Comment: Oops, that was leftover from when I was experimenting with how the `cargo` build_style and `rust` build_helper worked.
[-- 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: 2297 bytes --] From a640d4921d834c028774eb1373e1034d099ac3cf 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 | 30 +++++++++++++++++++++++++++ 3 files changed, 38 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..4a5a69d9893c --- /dev/null +++ b/srcpkgs/conduit/template @@ -0,0 +1,30 @@ +# Template file for 'conduit' +pkgname=conduit +version=0.3.0 +revision=1 +wrksrc="conduit-v${version}" +build_style=cargo +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 +}
[-- 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: 2313 bytes --] From cde0925c3b54d3c860fc564abfe8c0be218df99d 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 | 6 ++++++ srcpkgs/conduit/template | 30 +++++++++++++++++++++++++++ 3 files changed, 37 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..a3a42e323623 --- /dev/null +++ b/srcpkgs/conduit/files/conduit/run @@ -0,0 +1,6 @@ +#!/bin/sh +[ -r ./conf ] && . ./conf +ulimit -n ${MAX_OPEN_FILES:-8192} +export CONDUIT_CONFIG=${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..4a5a69d9893c --- /dev/null +++ b/srcpkgs/conduit/template @@ -0,0 +1,30 @@ +# Template file for 'conduit' +pkgname=conduit +version=0.3.0 +revision=1 +wrksrc="conduit-v${version}" +build_style=cargo +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 +}
[-- 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: 2313 bytes --] From 4d1d0457b083f22f1fba09297d285f5f4c8bcef2 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 | 6 ++++++ srcpkgs/conduit/template | 30 +++++++++++++++++++++++++++ 3 files changed, 37 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..a3a42e323623 --- /dev/null +++ b/srcpkgs/conduit/files/conduit/run @@ -0,0 +1,6 @@ +#!/bin/sh +[ -r ./conf ] && . ./conf +ulimit -n ${MAX_OPEN_FILES:-8192} +export CONDUIT_CONFIG=${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..4a5a69d9893c --- /dev/null +++ b/srcpkgs/conduit/template @@ -0,0 +1,30 @@ +# Template file for 'conduit' +pkgname=conduit +version=0.3.0 +revision=1 +wrksrc="conduit-v${version}" +build_style=cargo +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 +}
[-- 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: 2244 bytes --] From 60e97020c2caa8f0a27680c36007d2cac3a009f5 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 | 6 ++++++ srcpkgs/conduit/template | 29 +++++++++++++++++++++++++++ 3 files changed, 36 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..a3a42e323623 --- /dev/null +++ b/srcpkgs/conduit/files/conduit/run @@ -0,0 +1,6 @@ +#!/bin/sh +[ -r ./conf ] && . ./conf +ulimit -n ${MAX_OPEN_FILES:-8192} +export CONDUIT_CONFIG=${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..c2e423e79891 --- /dev/null +++ b/srcpkgs/conduit/template @@ -0,0 +1,29 @@ +# Template file for 'conduit' +pkgname=conduit +version=0.3.0 +revision=1 +wrksrc="conduit-v${version}" +build_style=cargo +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.gz" +checksum=9e750ed2b8d0e986b1cdc02278124b39c11fa785f2763914836978a5a79863e3 + +system_accounts="_conduit" +_conduit_homedir="/var/lib/conduit" + +make_dirs="/var/lib/conduit 0700 _conduit _conduit + /etc/conduit 755 _conduit _conduit" + +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" + XBPS_CROSS_RUSTFLAGS+=" -latomic" +fi + +post_install() { + vsconf conduit-example.toml conduit.toml + vsv conduit +}
[-- Attachment #1: Type: text/plain, Size: 343 bytes --] New comment by TinfoilSubmarine on void-packages repository https://github.com/void-linux/void-packages/pull/34568#issuecomment-1072422939 Comment: I dropped the BINDGEN_EXTRA_CLANG_ARGS export since it's been added since this was originally opened. I think there are no other issues with this currently, so this should be ready for review.
[-- Attachment #1: Type: text/plain, Size: 376 bytes --] New comment by TinfoilSubmarine on void-packages repository https://github.com/void-linux/void-packages/pull/34568#issuecomment-1072422939 Comment: I dropped the BINDGEN_EXTRA_CLANG_ARGS export since it's been added to `common/build-helper/rust.sh` since this was originally opened. I think there are no other issues with this currently, so this should be ready for review.
[-- Attachment #1: Type: text/plain, Size: 1462 bytes --] There's a merged pull request on the void-packages repository New package: conduit-0.3.0 https://github.com/void-linux/void-packages/pull/34568 Description: <!-- 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...~~ Working just fine for several months now.