summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Vyalkova <cyber+gentoo@sysrq.in>2022-03-13 21:10:00 +0500
committerSam James <sam@gentoo.org>2022-03-13 17:02:05 +0000
commit20c644c4564ed2edef8a10ac3a1437394e824bfb (patch)
tree88a31c694807c2547f58a7ce1f89f34661c945fd /net-irc/ngircd
parentdev-dotnet/dotnet-sdk-bin: bump to 6.0.201 (diff)
downloadgentoo-20c644c4564ed2edef8a10ac3a1437394e824bfb.tar.gz
gentoo-20c644c4564ed2edef8a10ac3a1437394e824bfb.tar.bz2
gentoo-20c644c4564ed2edef8a10ac3a1437394e824bfb.zip
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@sysrq.in> Closes: https://github.com/gentoo/gentoo/pull/24538 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-irc/ngircd')
-rw-r--r--net-irc/ngircd/files/ngircd.conf1
-rw-r--r--net-irc/ngircd/ngircd-26.1-r4.ebuild (renamed from net-irc/ngircd/ngircd-26.1-r3.ebuild)5
2 files changed, 5 insertions, 1 deletions
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
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
}