Install this version:
emerge -a =net-dns/smartdns-47
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-dns/smartdns-47
Or alternatively:
emerge --autounmask-write -a =net-dns/smartdns-47
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 47 | 8 | ~amd64 | 0 |
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit systemd
DESCRIPTION="A local DNS server returns the fastest access results"
HOMEPAGE="https://github.com/pymumu/smartdns"
SRC_URI="https://github.com/pymumu/smartdns/archive/refs/tags/Release${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-Release${PV}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-libs/openssl:0="
RDEPEND="${DEPEND}"
src_prepare() {
default
sed -i -e "/install .*default /d" \
-e "/install .*init.d /d" Makefile || die
}
src_install() {
emake DESTDIR="${D}" \
SYSTEMDSYSTEMUNITDIR="$(systemd_get_systemunitdir)" install
newconfd "${FILESDIR}"/smartdns.confd smartdns
newinitd "${FILESDIR}"/smartdns.initd smartdns
}
dev-libs/openssl:0=
dev-libs/openssl:0=
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | smartdns-47.tar.gz | 803642 bytes | https://github.com/pymumu/smartdns/archive/refs/tags/Release47.tar.gz |