# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit shell-completion systemd DESCRIPTION="Network-wide ad blocking (core, v6 with built-in webserver)" HOMEPAGE="https://pi-hole.net/" SRC_URI="https://github.com/pi-hole/pi-hole/archive/v${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/pi-hole-${PV}" LICENSE="EUPL-1.2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="cron" FTL_VERSION="6.6.2" WEB_VERSION="6.5" DEPEND="acct-user/${PN} acct-group/${PN}" RDEPEND="${DEPEND} >=net-dns/${PN}-ftl-${FTL_VERSION} >=net-dns/${PN}-web-${WEB_VERSION} app-admin/sudo net-misc/curl sys-apps/iproute2 !:80/admin/." elog "Override the listen port in /etc/pihole/pihole.toml under [webserver]." elog elog "Configuration moved from /etc/pihole/setupVars.conf (key=value) to" elog "/etc/pihole/pihole.toml. pihole-FTL auto-creates pihole.toml on first" elog "run; if you are migrating from v5 back up setupVars.conf first." fi }