Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] runit: fix default service path in manpages
@ 2022-06-22  8:24 subnut
  2022-06-22  8:25 ` subnut
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: subnut @ 2022-06-22  8:24 UTC (permalink / raw)
  To: ml

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

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

https://github.com/subnut/void-packages runit
https://github.com/void-linux/void-packages/pull/37639

runit: fix default service path in manpages
<!-- 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**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
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/37639.patch is attached

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

From 9b613138d7b743ea5acc1d9e2811a732fb2320ac Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Wed, 22 Jun 2022 11:40:31 +0530
Subject: [PATCH] runit: fix default service path in manpages

---
 srcpkgs/runit/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/runit/template b/srcpkgs/runit/template
index 68b400c1ef5c..015f9c430365 100644
--- a/srcpkgs/runit/template
+++ b/srcpkgs/runit/template
@@ -27,6 +27,7 @@ pre_build() {
 	echo "$CC $LDFLAGS -Wl,-z -Wl,noexecstack" >conf-ld
 	# set default service path to /var/service
 	sed -i -e 's:^char \*varservice ="/service/";$:char \*varservice ="/var/service/";:' sv.c
+	(cd ../man; sed -i -e s:/service:/var/service:g *;)
 	# change type short to gid_t for getgroups(2) and setgroups(2)
 	sed -i -e 's:short x\[4\];$:gid_t x[4];:' chkshsgr.c
 }

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

end of thread, other threads:[~2022-10-18 12:42 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-22  8:24 [PR PATCH] runit: fix default service path in manpages subnut
2022-06-22  8:25 ` subnut
2022-06-22  8:58 ` classabbyamp
2022-06-22  8:58 ` classabbyamp
2022-06-22 10:15 ` [PR PATCH] [Updated] " subnut
2022-06-22 10:15 ` subnut
2022-06-22 10:16 ` subnut
2022-06-22 10:18 ` [PR PATCH] [Updated] " subnut
2022-06-22 10:19 ` subnut
2022-09-21  2:15 ` github-actions
2022-09-24 16:15 ` [PR PATCH] [Updated] " subnut
2022-09-24 16:18 ` subnut
2022-10-02 13:45 ` leahneukirchen
2022-10-18 10:17 ` [PR PATCH] [Updated] " subnut
2022-10-18 12:42 ` [PR PATCH] [Merged]: " leahneukirchen

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