net-dns/smartdns - 48.2 (gentoo)

Search

Install

Install this version:

emerge -a =net-dns/smartdns-48.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-dns/smartdns-48.2

Or alternatively:

emerge --autounmask-write -a =net-dns/smartdns-48.2

Package Information

Description:
A local DNS server returns the fastest access results
Homepage:
https://github.com/pymumu/smartdns
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
48.2 8 ~amd64 0
View Raw Ebuild
# Copyright 2022-2026 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=
	virtual/zlib
	"
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
}

Inherited Eclasses

Dependencies

DEPEND

dev-libs/openssl:0=
	virtual/zlib
	

RDEPEND

dev-libs/openssl:0=
	virtual/zlib
	

Manifest for 48.2

Type File Size Source URLs
DIST smartdns-48.2.tar.gz 894714 bytes https://github.com/pymumu/smartdns/archive/refs/tags/Release48.2.tar.gz