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 E226515800F for ; Wed, 4 Jan 2023 01:05:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EDCC9E0826; Wed, 4 Jan 2023 01:05:31 +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 D36B4E0826 for ; Wed, 4 Jan 2023 01:05:31 +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 5FF34335DBE for ; Wed, 4 Jan 2023 01:05:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 934E47FC for ; Wed, 4 Jan 2023 01:05:28 +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: <1672794309.5135ef00b26cbdb841c2d37b1f963b5c489ba5d6.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-40.ebuild X-VCS-Directories: net-dns/smartdns/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 5135ef00b26cbdb841c2d37b1f963b5c489ba5d6 X-VCS-Branch: master Date: Wed, 4 Jan 2023 01:05:28 +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: b13bcaf3-2a57-405f-83a7-5918b18cfb1b X-Archives-Hash: 4be8c5db62883d6441902c821109f107 commit: 5135ef00b26cbdb841c2d37b1f963b5c489ba5d6 Author: Yixun Lan gentoo org> AuthorDate: Wed Jan 4 00:56:19 2023 +0000 Commit: Yixun Lan gentoo org> CommitDate: Wed Jan 4 01:05:09 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5135ef00 net-dns/smartdns: add 40 Signed-off-by: Yixun Lan gentoo.org> net-dns/smartdns/Manifest | 1 + net-dns/smartdns/smartdns-40.ebuild | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/net-dns/smartdns/Manifest b/net-dns/smartdns/Manifest index 870243fa3df4..5129bfa387ac 100644 --- a/net-dns/smartdns/Manifest +++ b/net-dns/smartdns/Manifest @@ -1,2 +1,3 @@ DIST smartdns-38.1.tar.gz 522130 BLAKE2B d6e28ece8545d6dc948670ff2bf3e4e842ccec7cf82f2f7ff2a197d5dfd6c244dfdef98c9ee38ffc4016b36f1b54ddc2fc8239e5838269055ed58473712e7462 SHA512 345010a9d4e43403e2ad068a8c6a0b871de8d4c524856c062909db61ac36b20988ae17b15be2f330589f93a7b7d521e885384c93987b81715e42a49798dec598 DIST smartdns-38.tar.gz 520679 BLAKE2B bab92c56377ebef8f8ccab664a8b289844aebdeef55f8f183db62353ca4f2debf157bdf4098dd2bc3b2fa4ad97364b48bb2e410c9ba7dc2f08a040c5e13cb8ac SHA512 d3421a6b22a22a11316289cfb5102c224b81decf89fd802a6281d7686f72e7ee3fffb5de569d4e09a01b8e9d8f6a5114afc709b90965847fa24fd4579316a80b +DIST smartdns-40.tar.gz 542046 BLAKE2B 33612f46168c4a562880a6ee4099a11f5259bbca1fa4055d3479577e6115934282ccc4d05a90af709da46171934a1ac999b8e3f3d92a1de8a1ce0b9b5b564742 SHA512 d792879b48d05edd016df5ee46eb105dcb21520b08a7d26e28ec1ad890c6a82e21468c717c3bc2fc13b38af12e8883e0007d93488a1549355941f190b175248b diff --git a/net-dns/smartdns/smartdns-40.ebuild b/net-dns/smartdns/smartdns-40.ebuild new file mode 100644 index 000000000000..96243a40fbf5 --- /dev/null +++ b/net-dns/smartdns/smartdns-40.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 +}