Install this version:
emerge -a =app-admin/padd-4.1.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-admin/padd-4.1.0
Or alternatively:
emerge --autounmask-write -a =app-admin/padd-4.1.0
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="PADD provides in-depth information about your Pi-hole."
HOMEPAGE="https://github.com/pi-hole/PADD"
MY_PN="${PN^^}"
SRC_URI="https://github.com/pi-hole/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="EUPL-1.2"
SLOT="0"
KEYWORDS="~amd64 ~ppc64"
RDEPEND="app-shells/bash:0"
src_install() {
newbin "${PN}.sh" "${PN}"
}
pkg_postinst() {
if ! has_version net-dns/pihole; then
ewarn
ewarn "This package will not work without a working Pi-hole"
ewarn "installation locally available."
ewarn
fi
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | padd-4.1.0.tar.gz | 24566 bytes | https://github.com/pi-hole/PADD/archive/refs/tags/v4.1.0.tar.gz |