summaryrefslogtreecommitdiff
path: root/net-dns/https_dns_proxy
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns/https_dns_proxy')
-rw-r--r--net-dns/https_dns_proxy/Manifest1
-rw-r--r--net-dns/https_dns_proxy/files/https_dns_proxy-0_pre20200925-cmake4.patch20
-rw-r--r--net-dns/https_dns_proxy/https_dns_proxy-0_pre20200925.ebuild43
-rw-r--r--net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild41
-rw-r--r--net-dns/https_dns_proxy/metadata.xml5
5 files changed, 110 insertions, 0 deletions
diff --git a/net-dns/https_dns_proxy/Manifest b/net-dns/https_dns_proxy/Manifest
new file mode 100644
index 000000000000..50bc3e35b54d
--- /dev/null
+++ b/net-dns/https_dns_proxy/Manifest
@@ -0,0 +1 @@
+DIST https_dns_proxy-0_pre20200925.tar.gz 16270 BLAKE2B 2677f63662d030fa1b6955f819eb6cbab6916356aa06ede13c4942824ea5c9c88f93d5c53fe725989ec668b3152c8242755279752abb1ed9941b57b83d137191 SHA512 8d0bc083447eaf5973a3ed3efbd7946c62fcabca7286266d2ac445aa522a11bff41201f54e1acb49483957a7f488578cfbb7053cd0cc83ca42c4146eab4e44ca
diff --git a/net-dns/https_dns_proxy/files/https_dns_proxy-0_pre20200925-cmake4.patch b/net-dns/https_dns_proxy/files/https_dns_proxy-0_pre20200925-cmake4.patch
new file mode 100644
index 000000000000..d4c4f7c23fd8
--- /dev/null
+++ b/net-dns/https_dns_proxy/files/https_dns_proxy-0_pre20200925-cmake4.patch
@@ -0,0 +1,20 @@
+From 04db5de69c6f030b432f44fc2a17cd9a28f91e61 Mon Sep 17 00:00:00 2001
+From: baranyaib90 <5031516+baranyaib90@users.noreply.github.com>
+Date: Wed, 28 Jul 2021 20:18:56 +0200
+Subject: [PATCH] Warning fixes
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index ad116df..a5c0a28 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -0,5 +0,5 @@
++cmake_minimum_required(VERSION 3.7)
+ project(HttpsDnsProxy)
+-cmake_minimum_required(VERSION 2.8)
+
+ set(CMAKE_BUILD_TYPE "Debug")
+ #set(CMAKE_BUILD_TYPE "Release")
diff --git a/net-dns/https_dns_proxy/https_dns_proxy-0_pre20200925.ebuild b/net-dns/https_dns_proxy/https_dns_proxy-0_pre20200925.ebuild
new file mode 100644
index 000000000000..8af7751fbb9e
--- /dev/null
+++ b/net-dns/https_dns_proxy/https_dns_proxy-0_pre20200925.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+if [[ ${PV} == *9999* ]] ; then
+ EGIT_REPO_URI="https://github.com/aarond10/https_dns_proxy.git"
+ inherit git-r3
+else
+ COMMIT="2d9285e2b94bce21c588c8160f8fac660806987a"
+ SRC_URI="https://github.com/aarond10/https_dns_proxy/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${PN}-${COMMIT}"
+fi
+
+DESCRIPTION="Lightweight DNS-over-HTTPS proxy"
+HOMEPAGE="https://github.com/aarond10/https_dns_proxy"
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="
+ dev-libs/libev
+ net-dns/c-ares
+ net-misc/curl[http2,ssl]"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-cmake4.patch" ) # git master
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_DISABLE_FIND_PACKAGE_GTest=ON
+ -DCLANG_TIDY_EXE=OFF
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ dobin "${BUILD_DIR}"/https_dns_proxy
+}
diff --git a/net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild b/net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild
new file mode 100644
index 000000000000..57ad56c18cc7
--- /dev/null
+++ b/net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+if [[ ${PV} == *9999* ]] ; then
+ EGIT_REPO_URI="https://github.com/aarond10/https_dns_proxy.git"
+ inherit git-r3
+else
+ COMMIT="2d9285e2b94bce21c588c8160f8fac660806987a"
+ SRC_URI="https://github.com/aarond10/https_dns_proxy/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${PN}-${COMMIT}"
+fi
+
+DESCRIPTION="Lightweight DNS-over-HTTPS proxy"
+HOMEPAGE="https://github.com/aarond10/https_dns_proxy"
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="
+ dev-libs/libev
+ net-dns/c-ares
+ net-misc/curl[http2,ssl]"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_DISABLE_FIND_PACKAGE_GTest=ON
+ -DCLANG_TIDY_EXE=OFF
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ dobin "${BUILD_DIR}"/https_dns_proxy
+}
diff --git a/net-dns/https_dns_proxy/metadata.xml b/net-dns/https_dns_proxy/metadata.xml
new file mode 100644
index 000000000000..5f33304011d5
--- /dev/null
+++ b/net-dns/https_dns_proxy/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>