summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas PARLANT <nicolas.parlant@parhuet.fr>2024-12-06 21:56:13 +0000
committerSam James <sam@gentoo.org>2024-12-06 22:08:05 +0000
commit6026b7564d8f8711c859e87416a5dc67cf011ab5 (patch)
tree7c8de539341bde726a47982b5ca729b764513f14
parentprofiles/base: force on llvm_slot_19 for rust-1.83.0 (diff)
downloadgentoo-6026b7564d8f8711c859e87416a5dc67cf011ab5.tar.gz
gentoo-6026b7564d8f8711c859e87416a5dc67cf011ab5.tar.bz2
gentoo-6026b7564d8f8711c859e87416a5dc67cf011ab5.zip
net-dns/knot: fix init script to /usr/sbin
Closes: https://bugs.gentoo.org/945988 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Closes: https://github.com/gentoo/gentoo/pull/39613 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--net-dns/knot/files/knot-3.init (renamed from net-dns/knot/files/knot-2.init)2
-rw-r--r--net-dns/knot/knot-3.4.2-r2.ebuild (renamed from net-dns/knot/knot-3.4.2-r1.ebuild)2
-rw-r--r--net-dns/knot/knot-3.4.3-r1.ebuild (renamed from net-dns/knot/knot-3.4.3.ebuild)2
3 files changed, 3 insertions, 3 deletions
diff --git a/net-dns/knot/files/knot-2.init b/net-dns/knot/files/knot-3.init
index 746681496c53..907c328a58d0 100644
--- a/net-dns/knot/files/knot-2.init
+++ b/net-dns/knot/files/knot-3.init
@@ -21,7 +21,7 @@ extra_started_commands="reload"
capabilities="^cap_net_bind_service,^cap_setpcap"
checkconfig() {
- /usr/bin/knotc conf-check 1>/dev/null || return 1
+ /usr/sbin/knotc conf-check 1>/dev/null || return 1
}
reload() {
diff --git a/net-dns/knot/knot-3.4.2-r1.ebuild b/net-dns/knot/knot-3.4.2-r2.ebuild
index f15285db8abe..3e4f6cadbe37 100644
--- a/net-dns/knot/knot-3.4.2-r1.ebuild
+++ b/net-dns/knot/knot-3.4.2-r2.ebuild
@@ -149,7 +149,7 @@ src_install() {
if use daemon; then
rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
- newinitd "${FILESDIR}"/knot-2.init knot
+ newinitd "${FILESDIR}"/knot-3.init knot
newconfd "${FILESDIR}"/knot.confd knot
newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf
diff --git a/net-dns/knot/knot-3.4.3.ebuild b/net-dns/knot/knot-3.4.3-r1.ebuild
index 4f77abcd9f47..40e3b8bd878c 100644
--- a/net-dns/knot/knot-3.4.3.ebuild
+++ b/net-dns/knot/knot-3.4.3-r1.ebuild
@@ -150,7 +150,7 @@ src_install() {
if use daemon; then
rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
- newinitd "${FILESDIR}"/knot-2.init knot
+ newinitd "${FILESDIR}"/knot-3.init knot
newconfd "${FILESDIR}"/knot.confd knot
newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf