net-proxy/dnss - 0.1.1 (guru)

Search

Install

Install this version:

emerge -a =net-proxy/dnss-0.1.1

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

autounmask =net-proxy/dnss-0.1.1

Or alternatively:

emerge --autounmask-write -a =net-proxy/dnss-0.1.1

Package Information

Description:
A small, speedy DNS proxy and bad-stuff-blocker
Homepage:
https://codeberg.org/zacoons/dnss
License:
Unlicense

Ebuild Details

Version EAPI Keywords Slot
0.1.1 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
ZIG_SLOT="0.16"

inherit zig

DESCRIPTION="A small, speedy DNS proxy and bad-stuff-blocker"
HOMEPAGE="https://codeberg.org/zacoons/dnss"
SRC_URI="https://codeberg.org/zacoons/dnss/archive/${PV}.tar.gz
	-> ${P}.tar.gz"

S="${WORKDIR}/dnss"
LICENSE="Unlicense"
SLOT="0"
KEYWORDS="~amd64"

src_compile() {
	export ZIG_STRIP=0
	ezig build --release=fast
}

src_install() {
	zig_src_install

	if [[ -f "${S}/example.dnss.conf" ]]; then
		insinto /etc
		newins "${S}/example.dnss.conf" dnss.conf.example
	else
		ewarn "example.dnss.conf not found; skipping config example"
	fi
}

Inherited Eclasses

zig

Manifest for 0.1.1

Type File Size Source URLs
DIST dnss-0.1.1.tar.gz 23600 bytes https://codeberg.org/zacoons/dnss/archive/0.1.1.tar.gz