summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-09-01 14:18:25 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-09-01 14:18:25 +0300
commit4a1fafb44748a101f4f37a746d92d357a7dc7ce1 (patch)
treecbfdcf2f3cae1f1a3485e6edde325d1fde28c9c2 /net-dns/bind
parentnet-dns/bind: Version bump (v9.14.5) (diff)
downloadgentoo-4a1fafb44748a101f4f37a746d92d357a7dc7ce1.tar.gz
gentoo-4a1fafb44748a101f4f37a746d92d357a7dc7ce1.tar.bz2
gentoo-4a1fafb44748a101f4f37a746d92d357a7dc7ce1.zip
net-dns/bind: use relative paths for symlinks
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'net-dns/bind')
-rw-r--r--net-dns/bind/bind-9.14.4.ebuild22
1 files changed, 11 insertions, 11 deletions
diff --git a/net-dns/bind/bind-9.14.4.ebuild b/net-dns/bind/bind-9.14.4.ebuild
index ad78400c4de9..56b57d6e2972 100644
--- a/net-dns/bind/bind-9.14.4.ebuild
+++ b/net-dns/bind/bind-9.14.4.ebuild
@@ -209,19 +209,19 @@ src_install() {
if use gost; then
sed -e 's/^OPENSSL_LIBGOST=${OPENSSL_LIBGOST:-0}$/OPENSSL_LIBGOST=${OPENSSL_LIBGOST:-1}/' \
- -i "${ED%/}/etc/init.d/named" || die
+ -i "${ED}/etc/init.d/named" || die
else
sed -e 's/^OPENSSL_LIBGOST=${OPENSSL_LIBGOST:-1}$/OPENSSL_LIBGOST=${OPENSSL_LIBGOST:-0}/' \
- -i "${ED%/}/etc/init.d/named" || die
+ -i "${ED}/etc/init.d/named" || die
fi
newenvd "${FILESDIR}"/10bind.env 10bind
# Let's get rid of those tools and their manpages since they're provided by bind-tools
- rm -f "${ED%/}"/usr/share/man/man1/{dig,host,nslookup}.1* || die
- rm -f "${ED%/}"/usr/share/man/man8/nsupdate.8* || die
- rm -f "${ED%/}"/usr/bin/{dig,host,nslookup,nsupdate} || die
- rm -f "${ED%/}"/usr/sbin/{dig,host,nslookup,nsupdate} || die
+ rm -f "${ED}"/usr/share/man/man1/{dig,host,nslookup}.1* || die
+ rm -f "${ED}"/usr/share/man/man8/nsupdate.8* || die
+ rm -f "${ED}"/usr/bin/{dig,host,nslookup,nsupdate} || die
+ rm -f "${ED}"/usr/sbin/{dig,host,nslookup,nsupdate} || die
for tool in dsfromkey importkey keyfromlabel keygen \
revoke settime signzone verify; do
rm -f "${ED%/}"/usr/{,s}bin/dnssec-"${tool}" || die
@@ -242,16 +242,16 @@ src_install() {
}
python_foreach_impl install_python_tools
- python_replicate_script "${ED%/}/usr/sbin/dnssec-checkds"
- python_replicate_script "${ED%/}/usr/sbin/dnssec-coverage"
+ python_replicate_script "${ED}/usr/sbin/dnssec-checkds"
+ python_replicate_script "${ED}/usr/sbin/dnssec-coverage"
fi
# bug 450406
dosym named.cache /var/bind/root.cache
- dosym /var/bind/pri /etc/bind/pri
- dosym /var/bind/sec /etc/bind/sec
- dosym /var/bind/dyn /etc/bind/dyn
+ dosym "${ED}"/var/bind/pri /etc/bind/pri
+ dosym "${ED}"/var/bind/sec /etc/bind/sec
+ dosym "${ED}"/var/bind/dyn /etc/bind/dyn
keepdir /var/bind/{pri,sec,dyn}
dodir /var/log/named