diff options
Diffstat (limited to 'net-dns/smartdns')
-rw-r--r-- | net-dns/smartdns/Manifest | 2 | ||||
-rw-r--r-- | net-dns/smartdns/smartdns-45.ebuild | 32 |
2 files changed, 34 insertions, 0 deletions
diff --git a/net-dns/smartdns/Manifest b/net-dns/smartdns/Manifest index 6f267c40372f..112d119c07e0 100644 --- a/net-dns/smartdns/Manifest +++ b/net-dns/smartdns/Manifest @@ -1,5 +1,7 @@ AUX smartdns.confd 148 BLAKE2B 4ea7db4def275650a2321b42ad22ab95f316fb6371cb814792ba5b47091e472a69d9a13c6a77202dc005116c3e723dbf07d4515a43d69239e71e2ea0cffd85fb SHA512 57a69fe8cb1b1f96a9c1e9c06d1908e4764c0bf4010fcfdd8515dfbbc358ff38b85d28416c7b11a8715623528ff22b3982d287dbf266f6c7ae104e745c5cb068 AUX smartdns.initd 480 BLAKE2B f27c77b95ea13d65eb45d75de831fc2622d7e37cbf517b466e56d38506ad10e283c9a75d74446d3d1329600f3b3b1178ca6169fd7c611e3f8d9aa8bc5b2e8a79 SHA512 66d8b43b01419029162817685c569731eb45dc44128224644e628191bb57cc830d3fdbb9df80d61a52333bba5a763dbefdef7b3be5c164e0bc66cd425ba89e94 DIST smartdns-43.tar.gz 572029 BLAKE2B 8f4ec3b1b1a804a6624107ed3d97e8015690db9c405fc52d1e34ac9bda280ef0785b7d9648dfd41809a1f729679b6241f36b3c7a4dc88a60e77b2d0ca463ca69 SHA512 ab4ce7ac5fe05173a660f8dce61e7cc0ec8375ff7d64d08e854f73e5cfd78fec702220f076b75efe9518334a384b9689898d5c2856cc506d294b5325733bb9c6 +DIST smartdns-45.tar.gz 631756 BLAKE2B 3bc187b5513b4d02f546b285c5196cdcb3a6851ba679645a4e8bb24d3b338502a2cedc8d21c8397a5370a0330c3e083b7fc880dd972f5c5bc6c72501545d76d4 SHA512 351b2d9591a6c17349ffcd199cb7b387c8b7ec692a0ee16d163d6118dabfdbc4bf67cedc1695c73b2d20b2ee6b4b99fc81a9e26e1eda5e02c477208b140d7cb6 EBUILD smartdns-43.ebuild 781 BLAKE2B 4bbdae59b3e8644a75adcadb541d4c807786ab4c1d16949ef71d42b792dd4a6da178c4b155d49ab967ba6555798231b70dea57900aca2cc98ce6dfef3c428977 SHA512 ea099a502725e4962300815a695769e7b9b651a32fea3312d866088a323d44d6b4579d6087747c7645f4e20125c0fff686d4d99ffa1989aeb216b001b588aa59 +EBUILD smartdns-45.ebuild 781 BLAKE2B 9f0083423cca9c15839e8593c714cc446666465bb725443363a0cc7ab75c6558701b5300980b952e4303d37094cb14c33a274ac06f231def94f728b1b0ddb417 SHA512 e700789c17481f76d72a5108522f4213ac717dbad51db47c8057da4cbd188d11287d288a20c242ed5960388cd532e46757800b1f48c0a8749e12ab2a0ec44ef3 MISC metadata.xml 384 BLAKE2B 19b47f366fc3f3fe2bcb6df3a06f76452e5ee4d9249a88b02fe3cd08dccd692a8b0130879edbb4070537050746fa60fb3d06f269aba41657e57f359ba0084408 SHA512 924bb86fe0837f58ed9c2da49b28d8531a56e3c97a4331c06fd6697152290c130a55463fea275a7e3d9d8c131bc4ed62d4fe659a935aa9c1a670f3b16805f253 diff --git a/net-dns/smartdns/smartdns-45.ebuild b/net-dns/smartdns/smartdns-45.ebuild new file mode 100644 index 000000000000..9d01b7f6763a --- /dev/null +++ b/net-dns/smartdns/smartdns-45.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022-2024 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}" + +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 +} |