Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] mdnsd: add runit service
@ 2023-04-26 10:25 lemmi
  2023-04-26 12:27 ` [PR PATCH] [Merged]: " Duncaen
  0 siblings, 1 reply; 2+ messages in thread
From: lemmi @ 2023-04-26 10:25 UTC (permalink / raw)
  To: ml

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

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

https://github.com/lemmi/void-packages mdnsd
https://github.com/void-linux/void-packages/pull/43633

mdnsd: add runit service
#### Testing the changes
- I tested the changes in this PR: **briefly**



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

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

From c27fd5dc57a828c7f35f63a6a84f3e90e1b9bd8c Mon Sep 17 00:00:00 2001
From: lemmi <lemmi@nerd2nerd.org>
Date: Wed, 26 Apr 2023 12:24:05 +0200
Subject: [PATCH] mdnsd: add runit service

---
 srcpkgs/mdnsd/files/mdnsd/run | 7 +++++++
 srcpkgs/mdnsd/template        | 3 ++-
 2 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100755 srcpkgs/mdnsd/files/mdnsd/run

diff --git a/srcpkgs/mdnsd/files/mdnsd/run b/srcpkgs/mdnsd/files/mdnsd/run
new file mode 100755
index 000000000000..1267cb963190
--- /dev/null
+++ b/srcpkgs/mdnsd/files/mdnsd/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+exec 2>&1
+
+[ -r ./conf ] && . ./conf
+
+exec chpst -u nobody:nogroup mdnsd -n ${OPTS}
diff --git a/srcpkgs/mdnsd/template b/srcpkgs/mdnsd/template
index 9af711b512e0..254281ca02d9 100644
--- a/srcpkgs/mdnsd/template
+++ b/srcpkgs/mdnsd/template
@@ -1,7 +1,7 @@
 # Template file for 'mdnsd'
 pkgname=mdnsd
 version=0.12
-revision=1
+revision=2
 build_style=gnu-configure
 hostmakedepends="autoconf automake pkg-config libtool"
 short_desc="Embeddable Multicast DNS Daemon"
@@ -22,6 +22,7 @@ pre_configure() {
 
 post_install() {
 	rm ${DESTDIR}/usr/share/doc/mdnsd/LICENSE
+	vsv mdnsd
 	vlicense LICENSE
 }
 

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

* Re: [PR PATCH] [Merged]: mdnsd: add runit service
  2023-04-26 10:25 [PR PATCH] mdnsd: add runit service lemmi
@ 2023-04-26 12:27 ` Duncaen
  0 siblings, 0 replies; 2+ messages in thread
From: Duncaen @ 2023-04-26 12:27 UTC (permalink / raw)
  To: ml

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

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

mdnsd: add runit service
https://github.com/void-linux/void-packages/pull/43633

Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**



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

end of thread, other threads:[~2023-04-26 12:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-26 10:25 [PR PATCH] mdnsd: add runit service lemmi
2023-04-26 12:27 ` [PR PATCH] [Merged]: " Duncaen

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