Github messages for voidlinux
 help / color / mirror / Atom feed
From: lemmi <lemmi@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] mdnsd: add runit service
Date: Wed, 26 Apr 2023 12:25:52 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43633@inbox.vuxu.org> (raw)

[-- 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
 }
 

             reply	other threads:[~2023-04-26 10:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-26 10:25 lemmi [this message]
2023-04-26 12:27 ` [PR PATCH] [Merged]: " Duncaen

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43633@inbox.vuxu.org \
    --to=lemmi@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).