summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2019-10-19 23:09:06 +0800
committerBenda Xu <heroxbd@gentoo.org>2019-10-19 23:10:44 +0800
commit699081af806fcc93219c28a23f899ae28df4c12f (patch)
tree3307b961d4b0454427db269858e5ebcd1a2842fa /net-proxy
parentpackage.mask: Last rite dev-libs/wnn7sdk and revdeps (diff)
downloadgentoo-699081af806fcc93219c28a23f899ae28df4c12f.tar.gz
gentoo-699081af806fcc93219c28a23f899ae28df4c12f.tar.bz2
gentoo-699081af806fcc93219c28a23f899ae28df4c12f.zip
net-proxy/tayga: fix conf.d and init.d insertions.
Closes: https://bugs.gentoo.org/688364 Package-Manager: Portage-2.3.73, Repoman-2.3.17 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/tayga/files/tayga.initd2
-rw-r--r--net-proxy/tayga/tayga-0.9.2-r3.ebuild5
2 files changed, 4 insertions, 3 deletions
diff --git a/net-proxy/tayga/files/tayga.initd b/net-proxy/tayga/files/tayga.initd
index a0ad1dd30151..f184a29b336c 100644
--- a/net-proxy/tayga/files/tayga.initd
+++ b/net-proxy/tayga/files/tayga.initd
@@ -4,7 +4,7 @@
#
description='tayga NAT64 gateway'
-pidfile=${pidfile:=/var/run/tayga.pid}
+pidfile=${pidfile:=/run/tayga.pid}
user=${user:=nobody}
group=${group:=nogroup}
datadir=${datadir:=/var/db/tayga}
diff --git a/net-proxy/tayga/tayga-0.9.2-r3.ebuild b/net-proxy/tayga/tayga-0.9.2-r3.ebuild
index 4d84b05240f6..f4c824c4e7b0 100644
--- a/net-proxy/tayga/tayga-0.9.2-r3.ebuild
+++ b/net-proxy/tayga/tayga-0.9.2-r3.ebuild
@@ -31,6 +31,7 @@ src_prepare() {
}
src_install() {
- newconfd "${FILESDIR}"/tayga.confd
- newinitd "${FILESDIR}"/tayga.initd
+ default
+ newconfd "${FILESDIR}"/tayga.confd ${PN}
+ newinitd "${FILESDIR}"/tayga.initd ${PN}
}