commit:     a5c9ffb742242bf6ac5e8959dc1b9734fb82d06b
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Sun Sep  1 21:39:21 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep  2 08:29:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5c9ffb7

net-dns/bind: 9.18.29-r1 add upgrade info

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-dns/bind/bind-9.18.29-r1.ebuild | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/net-dns/bind/bind-9.18.29-r1.ebuild 
b/net-dns/bind/bind-9.18.29-r1.ebuild
index 022aba37b7a8..268786e54053 100644
--- a/net-dns/bind/bind-9.18.29-r1.ebuild
+++ b/net-dns/bind/bind-9.18.29-r1.ebuild
@@ -185,6 +185,19 @@ pkg_postinst() {
                elog "/var/bind because bind will now mount the needed 
directories into"
                elog "the chroot dir."
        fi
+
+       # show only when upgrading to 9.18
+       if [[ -n "${REPLACING_VERSIONS}" ]] && ver_test "${REPLACING_VERSIONS}" 
-lt 9.18; then
+               elog "As this is a major bind version upgrade, please read:"
+               elog "   
https://kb.isc.org/docs/changes-to-be-aware-of-when-moving-from-bind-916-to-918";
+               elog "for differences in functionality."
+               elog ""
+               ewarn "In particular, please note that bind-9.18 does not need 
a root hints file anymore"
+               ewarn "and we only ship with one as a stop-gap. If your current 
configuration specifies a"
+               ewarn "root hints file - usually called named.cache - bind will 
not start as it will not be able"
+               ewarn "to find the specified file. Best practice is to delete 
the offending lines that"
+               ewarn "reference named.cache file from your configuration."
+       fi
 }
 
 pkg_config() {

Reply via email to