Github messages for voidlinux
 help / color / mirror / Atom feed
From: AnInternetTroll <AnInternetTroll@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: matterbridge-1.26.0.
Date: Thu, 08 Feb 2024 20:14:25 +0100	[thread overview]
Message-ID: <20240208191425.5175E2B71B@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48019@inbox.vuxu.org>

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

There is an updated pull request by AnInternetTroll against master on the void-packages repository

https://github.com/AnInternetTroll/void-packages user/luca/matterbridge
https://github.com/void-linux/void-packages/pull/48019

New package: matterbridge-1.26.0.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl (crossbuilt)

Tested on aarch64-musl by making a bridge between matrix and an API
gateway.


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-user/luca/matterbridge-48019.patch --]
[-- Type: text/x-diff, Size: 1822 bytes --]

From 562548c5fd238a81791fd352399b606776fc570f Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <luca@lucamatei.com>
Date: Mon, 1 Jan 2024 17:38:27 +0100
Subject: [PATCH] New package: matterbridge-1.26.0.

---
 srcpkgs/matterbridge/files/matterbridge/run |  7 +++++++
 srcpkgs/matterbridge/template               | 19 +++++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 srcpkgs/matterbridge/files/matterbridge/run
 create mode 100644 srcpkgs/matterbridge/template

diff --git a/srcpkgs/matterbridge/files/matterbridge/run b/srcpkgs/matterbridge/files/matterbridge/run
new file mode 100644
index 0000000000000..3e15ebb86f948
--- /dev/null
+++ b/srcpkgs/matterbridge/files/matterbridge/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+ulimit -n ${MAX_OPEN_FILES:-8192}
+export MATTERBRIDGE_CONFIG=${MATTERBRIDGE_CONFIG:-/etc/matterbridge.toml}
+
+exec matterbridge -conf "${MATTERBRIDGE_CONFIG}"
diff --git a/srcpkgs/matterbridge/template b/srcpkgs/matterbridge/template
new file mode 100644
index 0000000000000..46221dedf878a
--- /dev/null
+++ b/srcpkgs/matterbridge/template
@@ -0,0 +1,19 @@
+# Template file for 'matterbridge'
+pkgname=matterbridge
+version=1.26.0
+revision=1
+build_style=go
+go_import_path="github.com/42wim/matterbridge"
+conf_files="/etc/matterbridge.toml"
+short_desc="Bridge between various chatting services"
+maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
+license="Apache-2.0"
+homepage="https://github.com/42wim/matterbridge/"
+changelog="https://github.com/42wim/matterbridge/releases/"
+distfiles="https://github.com/42wim/matterbridge/archive/refs/tags/v$version.tar.gz"
+checksum=00e1bbfe3b32f2feccf9a7f13a6f12b1ce28a5eb04cc7b922b344e3493497425
+
+post_install() {
+	vconf matterbridge.toml.sample matterbridge.toml
+	vsv matterbridge
+}

  reply	other threads:[~2024-02-08 19:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-01 18:09 [PR PATCH] " AnInternetTroll
2024-02-08 19:14 ` AnInternetTroll [this message]
2024-05-09  1:46 ` github-actions
2024-05-09  8:01 ` [PR PATCH] [Updated] " AnInternetTroll

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=20240208191425.5175E2B71B@inbox.vuxu.org \
    --to=aninternettroll@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).