diff options
author | Yixun Lan <dlan@gentoo.org> | 2022-10-08 10:06:24 +0800 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2022-10-08 10:07:34 +0800 |
commit | 9cff391fa7f60878e2513a2347d17b12db83e423 (patch) | |
tree | f3586787797c4fbb4e5b4dda6a76de9cf0465486 /net-dns/smartdns | |
parent | sci-mathematics/gmp-ecm: new revision to drop USE=cuda support. (diff) | |
download | gentoo-9cff391fa7f60878e2513a2347d17b12db83e423.tar.gz gentoo-9cff391fa7f60878e2513a2347d17b12db83e423.tar.bz2 gentoo-9cff391fa7f60878e2513a2347d17b12db83e423.zip |
net-dns/smartdns: add 38
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'net-dns/smartdns')
-rw-r--r-- | net-dns/smartdns/Manifest | 1 | ||||
-rw-r--r-- | net-dns/smartdns/smartdns-38.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/net-dns/smartdns/Manifest b/net-dns/smartdns/Manifest index 50dda240411e..35491d38d74e 100644 --- a/net-dns/smartdns/Manifest +++ b/net-dns/smartdns/Manifest @@ -1 +1,2 @@ DIST smartdns-37.2.tar.gz 518486 BLAKE2B 3e7855e91b87b2daa5df3e7f9759ed0778afb7326a3649363da2aac899d8f8ada0b95e5ef6296e2d2295e665ea5ae6bf2a88d4d860f432eb82e5e1aff32bbc8e SHA512 16276cc2d1922e6f8657aa86a7bfe6b05d35cd0663bb6934620b5cc45db614594341cc6fa3acfa7d3d59fdd262b56f3bdc0839d97ffde6540c05c54d5c7a40d8 +DIST smartdns-38.tar.gz 520679 BLAKE2B bab92c56377ebef8f8ccab664a8b289844aebdeef55f8f183db62353ca4f2debf157bdf4098dd2bc3b2fa4ad97364b48bb2e410c9ba7dc2f08a040c5e13cb8ac SHA512 d3421a6b22a22a11316289cfb5102c224b81decf89fd802a6281d7686f72e7ee3fffb5de569d4e09a01b8e9d8f6a5114afc709b90965847fa24fd4579316a80b diff --git a/net-dns/smartdns/smartdns-38.ebuild b/net-dns/smartdns/smartdns-38.ebuild new file mode 100644 index 000000000000..b3addca60631 --- /dev/null +++ b/net-dns/smartdns/smartdns-38.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022 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" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-libs/openssl:0=" +RDEPEND="${DEPEND}" +BDEPEND="" + +S="${WORKDIR}/${PN}-Release${PV}" + +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 +} |