Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 880718 Details for
Bug 920681
net-dns/knot: add USE +daemon flag
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to the installation routine
63c17eea69.patch (text/plain), 1.48 KB, created by
xiaojie+bugzillagentoo
on 2023-12-27 11:39:40 UTC
(
hide
)
Description:
Patch to the installation routine
Filename:
MIME Type:
Creator:
xiaojie+bugzillagentoo
Created:
2023-12-27 11:39:40 UTC
Size:
1.48 KB
patch
obsolete
>From 63c17eea695152e1ab80071a53f24a0b8494c983 Mon Sep 17 00:00:00 2001 >From: Pierre-Yves Bonnetain-Nesterenko <py.bonnetain@ba-consultants.fr> >Date: Wed, 27 Dec 2023 12:28:34 +0100 >Subject: [PATCH] =?UTF-8?q?Correction=20routine=20installation=20si=20pas?= > =?UTF-8?q?=20d=C3=A9mon?= >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >--- > net-dns/knot/knot-3.2.2.ebuild | 6 ++++-- > net-dns/knot/knot-3.2.9.ebuild | 6 ++++-- > 2 files changed, 8 insertions(+), 4 deletions(-) > >diff --git a/net-dns/knot/knot-3.2.2.ebuild b/net-dns/knot/knot-3.2.2.ebuild >index becfc73..4c6ba11 100644 >--- a/net-dns/knot/knot-3.2.2.ebuild >+++ b/net-dns/knot/knot-3.2.2.ebuild >@@ -109,8 +109,10 @@ src_install() { > > default > >- rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die >- >+ if use daemon; then >+ rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die >+ fi >+ > newinitd "${FILESDIR}/knot.init" knot > if use systemd; then > systemd_newunit "${FILESDIR}/knot-1.service" knot.service >diff --git a/net-dns/knot/knot-3.2.9.ebuild b/net-dns/knot/knot-3.2.9.ebuild >index 7b97487..e03eebb 100644 >--- a/net-dns/knot/knot-3.2.9.ebuild >+++ b/net-dns/knot/knot-3.2.9.ebuild >@@ -109,8 +109,10 @@ src_install() { > > default > >- rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die >- >+ if use daemon; then >+ rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die >+ fi >+ > newinitd "${FILESDIR}/knot.init" knot > if use systemd; then > systemd_newunit "${FILESDIR}/knot-1.service" knot.service
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 920681
:
880294
| 880718