mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-dns/pdns-recursor: Revision bump
Package-Manager: portage-2.2.28 Signed-off-by: Sven Wegener <swegener@gentoo.org>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit toolchain-funcs flag-o-matic eutils
|
||||
inherit toolchain-funcs flag-o-matic eutils versionator
|
||||
|
||||
DESCRIPTION="The PowerDNS Recursor"
|
||||
HOMEPAGE="http://www.powerdns.com/"
|
||||
@@ -61,3 +61,15 @@ src_install() {
|
||||
dodir /var/lib/powerdns/var/lib
|
||||
dosym ../.. /var/lib/powerdns/var/lib/powerdns
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local old
|
||||
|
||||
for old in ${REPLACING_VERSIONS}; do
|
||||
version_compare ${old} 4.0.0-r1
|
||||
[[ $? -eq 1 ]] || continue
|
||||
ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor"
|
||||
ewarn "to pdns-recursor, please update your runlevels accordingly."
|
||||
break
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user