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 70D3015806E for ; Wed, 17 May 2023 12:27:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98899E0876; Wed, 17 May 2023 12:27:39 +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 7204CE0876 for ; Wed, 17 May 2023 12:27:39 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 30925335DAE for ; Wed, 17 May 2023 12:27:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BCE1AA67 for ; Wed, 17 May 2023 12:27:36 +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: <1684326429.64897376100bbf32cf4df37140440515b6bcd466.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-42.ebuild X-VCS-Directories: net-dns/smartdns/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 64897376100bbf32cf4df37140440515b6bcd466 X-VCS-Branch: master Date: Wed, 17 May 2023 12:27:36 +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: c5f3a1c6-5375-47b2-939c-68d0eea77aed X-Archives-Hash: 0ed6c32e062de459057bac3aed8b55db commit: 64897376100bbf32cf4df37140440515b6bcd466 Author: Yixun Lan gentoo org> AuthorDate: Wed May 17 12:25:43 2023 +0000 Commit: Yixun Lan gentoo org> CommitDate: Wed May 17 12:27:09 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64897376 net-dns/smartdns: add 42 Signed-off-by: Yixun Lan gentoo.org> net-dns/smartdns/Manifest | 1 + net-dns/smartdns/smartdns-42.ebuild | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/net-dns/smartdns/Manifest b/net-dns/smartdns/Manifest index 1ce0d8ebdb4c..4809f4425740 100644 --- a/net-dns/smartdns/Manifest +++ b/net-dns/smartdns/Manifest @@ -1,2 +1,3 @@ DIST smartdns-40.tar.gz 542046 BLAKE2B 33612f46168c4a562880a6ee4099a11f5259bbca1fa4055d3479577e6115934282ccc4d05a90af709da46171934a1ac999b8e3f3d92a1de8a1ce0b9b5b564742 SHA512 d792879b48d05edd016df5ee46eb105dcb21520b08a7d26e28ec1ad890c6a82e21468c717c3bc2fc13b38af12e8883e0007d93488a1549355941f190b175248b DIST smartdns-41.tar.gz 562057 BLAKE2B 7e30fa02f4e743a9de42d69c7ce12d8d2ce39363507d56279d6843305b88decddc561bfa3cc16d83d937a881dc87e2cd0000ef2945eb3ca3e0b42832e363d810 SHA512 85d8523f62f80533bdbdcaf3fd50e4b36cfb4898f8af6221cd06cae69fe9509d0a6a6f8ef4effee86c36caa5090f97d11b4fed4dabed66ad5d9b665f71247315 +DIST smartdns-42.tar.gz 567079 BLAKE2B a42724f4aa540bf5f07ddebe46e75f16cd69098461b0f9a009a53a9570ff1bdc9ad605dfad79f94d5901ec21bdd3f91848dedce29cef3bf8a563ba94f4a76bb8 SHA512 7ad4ffbad056e84894dd23a18396afe6174a1137fa3edee4e12bf1487dd40d91158c89fd9e3c894603a51f639826acccdfdf1ddb8a25e77158dfe5bd54eb6f20 diff --git a/net-dns/smartdns/smartdns-42.ebuild b/net-dns/smartdns/smartdns-42.ebuild new file mode 100644 index 000000000000..96243a40fbf5 --- /dev/null +++ b/net-dns/smartdns/smartdns-42.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022-2023 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 +}