public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/ngircd/, net-irc/ngircd/files/
Date: Sun, 13 Mar 2022 17:03:36 +0000 (UTC)	[thread overview]
Message-ID: <1647190925.20c644c4564ed2edef8a10ac3a1437394e824bfb.sam@gentoo> (raw)

commit:     20c644c4564ed2edef8a10ac3a1437394e824bfb
Author:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Mar 13 16:10:00 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 13 17:02:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20c644c4

net-irc/ngircd: add missing tmpfiles.d file

OpenRC service was broken because /run/ngircd didn't exist.

Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in>
Closes: https://github.com/gentoo/gentoo/pull/24538
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-irc/ngircd/files/ngircd.conf                                | 1 +
 net-irc/ngircd/{ngircd-26.1-r3.ebuild => ngircd-26.1-r4.ebuild} | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/net-irc/ngircd/files/ngircd.conf b/net-irc/ngircd/files/ngircd.conf
new file mode 100644
index 000000000000..e9993a3430ef
--- /dev/null
+++ b/net-irc/ngircd/files/ngircd.conf
@@ -0,0 +1 @@
+d /run/ngircd 0755 ngircd ngircd -

diff --git a/net-irc/ngircd/ngircd-26.1-r3.ebuild b/net-irc/ngircd/ngircd-26.1-r4.ebuild
similarity index 96%
rename from net-irc/ngircd/ngircd-26.1-r3.ebuild
rename to net-irc/ngircd/ngircd-26.1-r4.ebuild
index 579814e2b0e5..a5474e5b57a6 100644
--- a/net-irc/ngircd/ngircd-26.1-r3.ebuild
+++ b/net-irc/ngircd/ngircd-26.1-r4.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/alexbarton.asc"
-inherit verify-sig
+inherit tmpfiles verify-sig
 
 DESCRIPTION="An IRC server written from scratch"
 HOMEPAGE="https://ngircd.barton.de/"
@@ -101,6 +101,7 @@ src_install() {
 	fowners ngircd:ngircd /etc/ngircd/ngircd.conf
 	newinitd "${FILESDIR}"/ngircd.init-r2.d ngircd
 	newconfd "${FILESDIR}"/ngircd.conf.d ngircd
+	dotmpfiles "${FILESDIR}"/ngircd.conf
 }
 
 pkg_postinst() {
@@ -108,4 +109,6 @@ pkg_postinst() {
 		elog "ngircd will use PAMIsOptionalPAM by default, please change this option."
 		elog "You may not be able to login until you change this."
 	fi
+
+	tmpfiles_process ngircd.conf
 }


             reply	other threads:[~2022-03-13 17:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-13 17:03 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-06  4:23 [gentoo-commits] repo/gentoo:master commit in: net-irc/ngircd/, net-irc/ngircd/files/ Sam James
2022-06-15 22:44 Sam James
2022-04-29 10:21 Sam James
2020-04-26 13:37 Joonas Niilola
2016-01-15  6:30 Ian Delaney

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=1647190925.20c644c4564ed2edef8a10ac3a1437394e824bfb.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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