Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] dendrite: update to 0.7.0.
@ 2022-03-25 15:18 TinfoilSubmarine
  2022-03-25 21:54 ` [PR PATCH] [Merged]: " paper42
  0 siblings, 1 reply; 2+ messages in thread
From: TinfoilSubmarine @ 2022-03-25 15:18 UTC (permalink / raw)
  To: ml

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

There is a new 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/36332

dendrite: update to 0.7.0.
add MAX_OPEN_FILES variable with default set to value recommended by
upstream (65535).

<!-- 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**|**NO**
-->

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


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

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

From e71b35d02b9a1b2fb52237e8b0c354c47657bd1a Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Fri, 25 Mar 2022 11:15:28 -0400
Subject: [PATCH] dendrite: update to 0.7.0.

add MAX_OPEN_FILES variable with default set to value recommended by
upstream (65535).
---
 srcpkgs/dendrite/files/dendrite-monolith-server/run | 1 +
 srcpkgs/dendrite/template                           | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/dendrite/files/dendrite-monolith-server/run b/srcpkgs/dendrite/files/dendrite-monolith-server/run
index 2fab17797c4d..66400fe89c54 100755
--- a/srcpkgs/dendrite/files/dendrite-monolith-server/run
+++ b/srcpkgs/dendrite/files/dendrite-monolith-server/run
@@ -1,5 +1,6 @@
 #!/bin/sh
 [ -r ./conf ] && . ./conf
+ulimit -n ${MAX_OPEN_FILES:-65535}
 cd /var/lib/dendrite || exit 1
 exec 2>&1
 exec chpst -u _dendrite:_dendrite dendrite-monolith-server \
diff --git a/srcpkgs/dendrite/template b/srcpkgs/dendrite/template
index 7589a7944cec..1bef12b95642 100644
--- a/srcpkgs/dendrite/template
+++ b/srcpkgs/dendrite/template
@@ -1,6 +1,6 @@
 # Template file for 'dendrite'
 pkgname=dendrite
-version=0.6.5
+version=0.7.0
 revision=1
 build_style=go
 go_import_path="github.com/matrix-org/dendrite"
@@ -12,7 +12,7 @@ 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=b74170bd3f81e2f22ff4673bc632e37afeef1121fa90acb03ed2eed17a387133
+checksum=26c378bff1738b0e8422c7bd425be4763f22225f422ae1854c78644e4ca8bc42
 
 system_accounts="_dendrite"
 _dendrite_homedir="/var/lib/dendrite"

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

* Re: [PR PATCH] [Merged]: dendrite: update to 0.7.0.
  2022-03-25 15:18 [PR PATCH] dendrite: update to 0.7.0 TinfoilSubmarine
@ 2022-03-25 21:54 ` paper42
  0 siblings, 0 replies; 2+ messages in thread
From: paper42 @ 2022-03-25 21:54 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

dendrite: update to 0.7.0.
https://github.com/void-linux/void-packages/pull/36332

Description:
add MAX_OPEN_FILES variable with default set to value recommended by
upstream (65535).

<!-- 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**|**NO**
-->

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


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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-25 15:18 [PR PATCH] dendrite: update to 0.7.0 TinfoilSubmarine
2022-03-25 21:54 ` [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).