gentoo-zh/net-dns/chinadns/chinadns-1.3.2.ebuild
2024-08-16 16:47:48 +08:00

20 lines
470 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Protect yourself against DNS poisoning in China"
HOMEPAGE="https://github.com/clowwindy/ChinaDNS"
SRC_URI="https://github.com/clowwindy/ChinaDNS/releases/download/${PV}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
src_install() {
default
newinitd "${FILESDIR}/${PN}.initd" ${PN}
newconfd "${FILESDIR}/${PN}.confd" ${PN}
}