[gentoo-commits] repo/proj/guru:master commit in: net-dns/blocky/

2024-01-07 Thread David Roman
commit: 91370a6c3b0473e7cd09c61cf145fac8d58dacd1
Author: Rahil Bhimjiani  rahil  rocks>
AuthorDate: Sun Jan  7 08:57:05 2024 +
Commit: David Roman  gmail  com>
CommitDate: Sun Jan  7 08:57:41 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=91370a6c

net-dns/blocky: add 0.23 and support for arm64

Signed-off-by: Rahil Bhimjiani  rahil.rocks>

 net-dns/blocky/Manifest   | 3 +++
 net-dns/blocky/{blocky-.ebuild => blocky-0.23.ebuild} | 4 ++--
 net-dns/blocky/blocky-.ebuild | 4 ++--
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/net-dns/blocky/Manifest b/net-dns/blocky/Manifest
index cbfdf1469a..6b49aa54ec 100644
--- a/net-dns/blocky/Manifest
+++ b/net-dns/blocky/Manifest
@@ -1,3 +1,6 @@
 DIST blocky-0.22-deps.tar.xz 163869124 BLAKE2B 
e98614feaeb11604866d08003147871096c993cdb90c85bba46ea999a339570ca1500a80bddee202595372ec5d22baa6ec0345d8cf50ffee6d61dd8d6495d49f
 SHA512 
883e5dd66cf974c6d8c73a94c7677d5003ceb7a3ba68001c2d9d36e1e4d1ea64f0818d30240fe77f192ad3f95ede93127bed9adc9647da07a9b9bebc958ffd33
 DIST blocky-0.22-docs.tar.gz 5639822 BLAKE2B 
e177790deb7493f84d8217661e4e4296004a9db7e00ff8d37dbd3c4ed8b7ba0a7cf431067c103f25784e46ca7a8bf80532cdd8f305f3e4ce119890027f0eb186
 SHA512 
3eed0ff726479826fbefb4140c36bb26825124134d1fbbecf74a31b2fbdde993630adc645ea2e582ce8d415736cc85b20f64a835c87da98700b715c03d368e75
 DIST blocky-0.22.tar.gz 712644 BLAKE2B 
d74881026421337a0fc32a6af2cf6bff736e0130ac599cd80714f0cafff1e81864e0327bc773f8377106421642cf545b76407fca94f07425c428ff8512a7113b
 SHA512 
928ba882cb567f80b9b00c1ab74ba2fba0324b9e5fb6439789d50d8fd438a26f84772d36f91ef9c3a2351c798a399c15aa1b69927a2da11795edd576b7bae6a4
+DIST blocky-0.23-deps.tar.xz 191529448 BLAKE2B 
fbad27f70b73832e0862b32267be0e9956c39c570f4e8d16be6a1b7eaa8ea779df52d1da533486d2b0d3e5b163602b62283ac006de4adc0861ec208fd9f50bd8
 SHA512 
89441e8082260b7c8a850b91029540554fc8af4bdba1996adb07ff57781c0e92ee439b915cd1473d16fba9bd31612b6c267c2fe6f96096a4f9ed4fa23d46165d
+DIST blocky-0.23-docs.tar.gz 6773940 BLAKE2B 
8114e49c8c8b7c01a1376dd0ef15b5eee966fc18c84d8645aa91c3524876167de810a17d63f2e287a3fe4c56906076783e135cf0c209886870588f40190e9d78
 SHA512 
aec00c88ea97f7f2d145020e666f77f992b53cd8867d4d4c5bc5a094b06889c35d7019d0e491fe02fb1dd803912613ec7f874f4d7a9f0d06e41c7bb8c609d956
+DIST blocky-0.23.tar.gz 7236537 BLAKE2B 
4dd8b4a9587ed2b768ff2cf8809e14242032d7e8be3d3c422eb5518df33c32c0f767ba8e7490f353e81ede8c150cf3175621ea35ad3aa682f62c7d169c511b63
 SHA512 
22431da4c2f259411b7eb790e8f05a7264d0aa96fe4774722bbe71cf9459a3ed7f434b4b295c95b80f2efc6de55ff645f860443838fe793bc413d74b77e395be

diff --git a/net-dns/blocky/blocky-.ebuild 
b/net-dns/blocky/blocky-0.23.ebuild
similarity index 96%
copy from net-dns/blocky/blocky-.ebuild
copy to net-dns/blocky/blocky-0.23.ebuild
index 3f5b49b9fc..0852ebf831 100644
--- a/net-dns/blocky/blocky-.ebuild
+++ b/net-dns/blocky/blocky-0.23.ebuild
@@ -8,7 +8,7 @@ inherit fcaps go-module systemd shell-completion
 DESCRIPTION="Fast and lightweight DNS proxy as ad-blocker with many features 
written in Go"
 HOMEPAGE="https://github.com/0xERR0R/blocky/;
 
-DOCUMENTATION_COMMIT=9c6a86eb163e758686c5d6d4d5259deb086a8aa9
+DOCUMENTATION_COMMIT=e9d4e51690f700d20b2cd478eef5987653bd4cc0
 
 if [[ ${PV} == * ]]; then
inherit git-r3
@@ -19,7 +19,7 @@ else

https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz
 -> ${P}-deps.tar.xz
doc? ( 
https://github.com/0xERR0R/blocky/archive/${DOCUMENTATION_COMMIT}.tar.gz -> 
${P}-docs.tar.gz )
 "
-   KEYWORDS="~amd64"
+   KEYWORDS="~amd64 ~arm64"
 fi
 
 # main

diff --git a/net-dns/blocky/blocky-.ebuild 
b/net-dns/blocky/blocky-.ebuild
index 3f5b49b9fc..0852ebf831 100644
--- a/net-dns/blocky/blocky-.ebuild
+++ b/net-dns/blocky/blocky-.ebuild
@@ -8,7 +8,7 @@ inherit fcaps go-module systemd shell-completion
 DESCRIPTION="Fast and lightweight DNS proxy as ad-blocker with many features 
written in Go"
 HOMEPAGE="https://github.com/0xERR0R/blocky/;
 
-DOCUMENTATION_COMMIT=9c6a86eb163e758686c5d6d4d5259deb086a8aa9
+DOCUMENTATION_COMMIT=e9d4e51690f700d20b2cd478eef5987653bd4cc0
 
 if [[ ${PV} == * ]]; then
inherit git-r3
@@ -19,7 +19,7 @@ else

https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz
 -> ${P}-deps.tar.xz
doc? ( 
https://github.com/0xERR0R/blocky/archive/${DOCUMENTATION_COMMIT}.tar.gz -> 
${P}-docs.tar.gz )
 "
-   KEYWORDS="~amd64"
+   KEYWORDS="~amd64 ~arm64"
 fi
 
 # main



[gentoo-commits] repo/proj/guru:master commit in: net-dns/blocky/, acct-user/blocky/, acct-group/blocky/, net-dns/blocky/files/

2024-01-01 Thread Florian Schmaus
commit: 26fd689d608e7cb99a173c645851cc22e66af2e3
Author: Rahil Bhimjiani  rahil  rocks>
AuthorDate: Mon Jan  1 05:53:54 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Jan  1 05:53:54 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=26fd689d

net-dns/blocky: Fast and lightweight DNS proxy as ad-blocker

Supports DoH, DoT and prometheus+grafana integration with very versatile
cli and configuration options

Signed-off-by: Rahil Bhimjiani  rahil.rocks>

 acct-group/blocky/blocky-0.ebuild  |   10 +
 acct-group/blocky/metadata.xml |8 +
 acct-user/blocky/blocky-0.ebuild   |   13 +
 acct-user/blocky/metadata.xml  |8 +
 net-dns/blocky/Manifest|3 +
 net-dns/blocky/blocky-0.22.ebuild  |  104 +
 net-dns/blocky/blocky-.ebuild  |  104 +
 net-dns/blocky/files/blocky-0.22.service   |   16 +
 .../blocky/files/disable-failed-tests-0.22.patch   | 2272 
 net-dns/blocky/metadata.xml|   16 +
 10 files changed, 2554 insertions(+)

diff --git a/acct-group/blocky/blocky-0.ebuild 
b/acct-group/blocky/blocky-0.ebuild
new file mode 100644
index 00..a85e41314e
--- /dev/null
+++ b/acct-group/blocky/blocky-0.ebuild
@@ -0,0 +1,10 @@
+# Copyright 2019-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit acct-group
+
+DESCRIPTION="A group for net-dns/blocky"
+
+ACCT_GROUP_ID="69"

diff --git a/acct-group/blocky/metadata.xml b/acct-group/blocky/metadata.xml
new file mode 100644
index 00..3e6b5d8ad4
--- /dev/null
+++ b/acct-group/blocky/metadata.xml
@@ -0,0 +1,8 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   me@rahil.rocks
+   Rahil Bhimjiani
+   
+

diff --git a/acct-user/blocky/blocky-0.ebuild b/acct-user/blocky/blocky-0.ebuild
new file mode 100644
index 00..f941ee07e2
--- /dev/null
+++ b/acct-user/blocky/blocky-0.ebuild
@@ -0,0 +1,13 @@
+# Copyright 2019-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit acct-user
+
+DESCRIPTION="A user for net-dns/blocky"
+
+ACCT_USER_ID="100"
+ACCT_USER_GROUPS=( "blocky" )
+
+acct-user_add_deps

diff --git a/acct-user/blocky/metadata.xml b/acct-user/blocky/metadata.xml
new file mode 100644
index 00..3e6b5d8ad4
--- /dev/null
+++ b/acct-user/blocky/metadata.xml
@@ -0,0 +1,8 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   me@rahil.rocks
+   Rahil Bhimjiani
+   
+

diff --git a/net-dns/blocky/Manifest b/net-dns/blocky/Manifest
new file mode 100644
index 00..cbfdf1469a
--- /dev/null
+++ b/net-dns/blocky/Manifest
@@ -0,0 +1,3 @@
+DIST blocky-0.22-deps.tar.xz 163869124 BLAKE2B 
e98614feaeb11604866d08003147871096c993cdb90c85bba46ea999a339570ca1500a80bddee202595372ec5d22baa6ec0345d8cf50ffee6d61dd8d6495d49f
 SHA512 
883e5dd66cf974c6d8c73a94c7677d5003ceb7a3ba68001c2d9d36e1e4d1ea64f0818d30240fe77f192ad3f95ede93127bed9adc9647da07a9b9bebc958ffd33
+DIST blocky-0.22-docs.tar.gz 5639822 BLAKE2B 
e177790deb7493f84d8217661e4e4296004a9db7e00ff8d37dbd3c4ed8b7ba0a7cf431067c103f25784e46ca7a8bf80532cdd8f305f3e4ce119890027f0eb186
 SHA512 
3eed0ff726479826fbefb4140c36bb26825124134d1fbbecf74a31b2fbdde993630adc645ea2e582ce8d415736cc85b20f64a835c87da98700b715c03d368e75
+DIST blocky-0.22.tar.gz 712644 BLAKE2B 
d74881026421337a0fc32a6af2cf6bff736e0130ac599cd80714f0cafff1e81864e0327bc773f8377106421642cf545b76407fca94f07425c428ff8512a7113b
 SHA512 
928ba882cb567f80b9b00c1ab74ba2fba0324b9e5fb6439789d50d8fd438a26f84772d36f91ef9c3a2351c798a399c15aa1b69927a2da11795edd576b7bae6a4

diff --git a/net-dns/blocky/blocky-0.22.ebuild 
b/net-dns/blocky/blocky-0.22.ebuild
new file mode 100644
index 00..5b601c8825
--- /dev/null
+++ b/net-dns/blocky/blocky-0.22.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fcaps go-module systemd shell-completion
+
+DESCRIPTION="Fast and lightweight DNS proxy as ad-blocker with many features 
written in Go"
+HOMEPAGE="https://github.com/0xERR0R/blocky/;
+
+DOCUMENTATION_COMMIT=9c6a86eb163e758686c5d6d4d5259deb086a8aa9
+
+if [[ ${PV} == * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/0xERR0R/blocky.git;
+else
+   SRC_URI="
+   https://github.com/0xERR0R/blocky/archive/v${PV}.tar.gz -> ${P}.tar.gz
+   
https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz
 -> ${P}-deps.tar.xz
+   doc? ( 
https://github.com/0xERR0R/blocky/archive/${DOCUMENTATION_COMMIT}.tar.gz -> 
${P}-docs.tar.gz )
+"
+   KEYWORDS="~amd64"
+fi
+
+# main
+LICENSE="Apache-2.0"
+# deps
+LICENSE+=" AGPL-3 BSD-2 BSD ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="doc"
+
+# RESTRICT="test"