Files
guru/net-proxy/dnss/dnss-0.1.1.ebuild
Theron York 9fe592caa9 net-proxy/dnss: fix pkgcheck warnings, drop init service files
- Remove unknown openrc USE flag and unused RDEPEND/DEPEND.
- Drop conditional install of systemd and openrc service files.
- Reorder SRC_URI before IUSE, add final newline.
- Keep example config install (when present).

Signed-off-by: Theron York <theron.york@cloudnuke.org>
2026-06-15 23:35:25 -05:00

33 lines
682 B
Bash

# 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"
LICENSE="Unlicense"
SLOT="0"
KEYWORDS="~amd64"
S="${WORKDIR}/dnss"
src_compile() {
ezig build --release=fast
}
src_install() {
zig_src_install
# Example config
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
}