1 |
commit: ba35e814dd2915a18ca593ea6d9c6421f6259820 |
2 |
Author: Yixun Lan <dlan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 20 14:01:29 2023 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 20 14:03:17 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba35e814 |
7 |
|
8 |
net-dns/smartdns: add 41 |
9 |
|
10 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
11 |
|
12 |
net-dns/smartdns/Manifest | 1 + |
13 |
net-dns/smartdns/smartdns-41.ebuild | 33 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/net-dns/smartdns/Manifest b/net-dns/smartdns/Manifest |
17 |
index 45538514e0c2..98894388afd1 100644 |
18 |
--- a/net-dns/smartdns/Manifest |
19 |
+++ b/net-dns/smartdns/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST smartdns-38.1.tar.gz 522130 BLAKE2B d6e28ece8545d6dc948670ff2bf3e4e842ccec7cf82f2f7ff2a197d5dfd6c244dfdef98c9ee38ffc4016b36f1b54ddc2fc8239e5838269055ed58473712e7462 SHA512 345010a9d4e43403e2ad068a8c6a0b871de8d4c524856c062909db61ac36b20988ae17b15be2f330589f93a7b7d521e885384c93987b81715e42a49798dec598 |
22 |
DIST smartdns-40.tar.gz 542046 BLAKE2B 33612f46168c4a562880a6ee4099a11f5259bbca1fa4055d3479577e6115934282ccc4d05a90af709da46171934a1ac999b8e3f3d92a1de8a1ce0b9b5b564742 SHA512 d792879b48d05edd016df5ee46eb105dcb21520b08a7d26e28ec1ad890c6a82e21468c717c3bc2fc13b38af12e8883e0007d93488a1549355941f190b175248b |
23 |
+DIST smartdns-41.tar.gz 562057 BLAKE2B 7e30fa02f4e743a9de42d69c7ce12d8d2ce39363507d56279d6843305b88decddc561bfa3cc16d83d937a881dc87e2cd0000ef2945eb3ca3e0b42832e363d810 SHA512 85d8523f62f80533bdbdcaf3fd50e4b36cfb4898f8af6221cd06cae69fe9509d0a6a6f8ef4effee86c36caa5090f97d11b4fed4dabed66ad5d9b665f71247315 |
24 |
|
25 |
diff --git a/net-dns/smartdns/smartdns-41.ebuild b/net-dns/smartdns/smartdns-41.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..96243a40fbf5 |
28 |
--- /dev/null |
29 |
+++ b/net-dns/smartdns/smartdns-41.ebuild |
30 |
@@ -0,0 +1,33 @@ |
31 |
+# Copyright 2022-2023 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit systemd |
37 |
+DESCRIPTION="A local DNS server returns the fastest access results" |
38 |
+HOMEPAGE="https://github.com/pymumu/smartdns" |
39 |
+SRC_URI="https://github.com/pymumu/smartdns/archive/refs/tags/Release${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="GPL-3" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64" |
44 |
+ |
45 |
+DEPEND="dev-libs/openssl:0=" |
46 |
+RDEPEND="${DEPEND}" |
47 |
+BDEPEND="" |
48 |
+ |
49 |
+S="${WORKDIR}/${PN}-Release${PV}" |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ default |
53 |
+ sed -i -e "/install .*default /d" \ |
54 |
+ -e "/install .*init.d /d" Makefile || die |
55 |
+} |
56 |
+ |
57 |
+src_install() { |
58 |
+ emake DESTDIR="${D}" \ |
59 |
+ SYSTEMDSYSTEMUNITDIR="$(systemd_get_systemunitdir)" install |
60 |
+ |
61 |
+ newconfd "${FILESDIR}"/smartdns.confd smartdns |
62 |
+ newinitd "${FILESDIR}"/smartdns.initd smartdns |
63 |
+} |