1 |
commit: 5dc98070b4ff04e3d47bad475d6032a4bdb41e72 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 25 08:39:37 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 25 08:39:52 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dc98070 |
7 |
|
8 |
net-dns/nsd: Minor bugfix in new init script. Revbump so users get the fix. |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
net-dns/nsd/files/nsd.initd-r1 | 2 +- |
14 |
net-dns/nsd/{nsd-4.1.11.ebuild => nsd-4.1.11-r1.ebuild} | 0 |
15 |
2 files changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/net-dns/nsd/files/nsd.initd-r1 b/net-dns/nsd/files/nsd.initd-r1 |
18 |
index 3f71e76..ef81f9e 100755 |
19 |
--- a/net-dns/nsd/files/nsd.initd-r1 |
20 |
+++ b/net-dns/nsd/files/nsd.initd-r1 |
21 |
@@ -42,8 +42,8 @@ configtest() { |
22 |
|
23 |
start_pre() { |
24 |
checkconfig || return $? |
25 |
- checkpath --directory --owner nsd:nsd $(dirname "${pidfile}") |
26 |
pidfile="$(get_pidfile)" |
27 |
+ checkpath --directory --owner nsd:nsd "${pidfile%/*}" || return 1 |
28 |
} |
29 |
|
30 |
stop_pre() { |
31 |
|
32 |
diff --git a/net-dns/nsd/nsd-4.1.11.ebuild b/net-dns/nsd/nsd-4.1.11-r1.ebuild |
33 |
similarity index 100% |
34 |
rename from net-dns/nsd/nsd-4.1.11.ebuild |
35 |
rename to net-dns/nsd/nsd-4.1.11-r1.ebuild |