From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 00747158095 for ; Mon, 5 Sep 2022 13:11:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D3C9E07A9; Mon, 5 Sep 2022 13:11:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 12928E07A9 for ; Mon, 5 Sep 2022 13:11:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 16753340E8A for ; Mon, 5 Sep 2022 13:11:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 55DE975 for ; Mon, 5 Sep 2022 13:11:33 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1662383276.b98459dc3ee57409b0f159424a6529f306b863b8.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/smartdns/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/smartdns/Manifest net-dns/smartdns/smartdns-37.2.ebuild X-VCS-Directories: net-dns/smartdns/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: b98459dc3ee57409b0f159424a6529f306b863b8 X-VCS-Branch: master Date: Mon, 5 Sep 2022 13:11:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f75bdb94-d0f6-4a17-8777-2fe7a7515ff5 X-Archives-Hash: 43d7a8cb5219fe9f531e386710c44e43 commit: b98459dc3ee57409b0f159424a6529f306b863b8 Author: Yixun Lan gentoo org> AuthorDate: Mon Sep 5 13:05:18 2022 +0000 Commit: Yixun Lan gentoo org> CommitDate: Mon Sep 5 13:07:56 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b98459dc net-dns/smartdns: add 37.2 Signed-off-by: Yixun Lan gentoo.org> net-dns/smartdns/Manifest | 1 + net-dns/smartdns/smartdns-37.2.ebuild | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/net-dns/smartdns/Manifest b/net-dns/smartdns/Manifest index 5ff2c1cde20d..498ecd39dd26 100644 --- a/net-dns/smartdns/Manifest +++ b/net-dns/smartdns/Manifest @@ -1,2 +1,3 @@ DIST smartdns-36.1.tar.gz 499257 BLAKE2B c0bca0b8751afd67d7628d993f1093fb95c0864d153e65ebb31d0f9ccf76c7581f98a7fc16cf503cfa83f4d3e9b05e7c21818f34fa34ce770e9e0f0c3eced921 SHA512 88da539f12351bfef256e93d851a08247699ed2f08724abd5d0cc770a6b0475e0540d2aef6f43524edc48cccd9f58db3ad4c68561b26812bf8863b543748c549 +DIST smartdns-37.2.tar.gz 518486 BLAKE2B 3e7855e91b87b2daa5df3e7f9759ed0778afb7326a3649363da2aac899d8f8ada0b95e5ef6296e2d2295e665ea5ae6bf2a88d4d860f432eb82e5e1aff32bbc8e SHA512 16276cc2d1922e6f8657aa86a7bfe6b05d35cd0663bb6934620b5cc45db614594341cc6fa3acfa7d3d59fdd262b56f3bdc0839d97ffde6540c05c54d5c7a40d8 DIST smartdns-37.tar.gz 517246 BLAKE2B c39e46016eeee4c5ecf6bce35a40588f1680ac07bfc70c8beb035bf1e253764c93aead0aa6673246bd52cf42f34c48ec44ab139d76d4c35069675f689d408efc SHA512 469c0d8ed382dce11abc6ac82cc7cff4f88194bac5d32b51afd6c7be10452f20d00eed0e296aac57073ad6624c6441c24d89bc304b3e3c706b214c1a019b9bd8 diff --git a/net-dns/smartdns/smartdns-37.2.ebuild b/net-dns/smartdns/smartdns-37.2.ebuild new file mode 100644 index 000000000000..b3addca60631 --- /dev/null +++ b/net-dns/smartdns/smartdns-37.2.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 +}