public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: net-dns/blocky/
@ 2024-01-07  8:57 Rahil Bhimjiani
  0 siblings, 0 replies; 2+ messages in thread
From: Rahil Bhimjiani @ 2024-01-07  8:57 UTC (permalink / raw
  To: gentoo-commits

commit:     91370a6c3b0473e7cd09c61cf145fac8d58dacd1
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Sun Jan  7 08:57:05 2024 +0000
Commit:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
CommitDate: Sun Jan  7 08:57:41 2024 +0000
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 <me <AT> rahil.rocks>

 net-dns/blocky/Manifest                                   | 3 +++
 net-dns/blocky/{blocky-9999.ebuild => blocky-0.23.ebuild} | 4 ++--
 net-dns/blocky/blocky-9999.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-9999.ebuild b/net-dns/blocky/blocky-0.23.ebuild
similarity index 96%
copy from net-dns/blocky/blocky-9999.ebuild
copy to net-dns/blocky/blocky-0.23.ebuild
index 3f5b49b9fc..0852ebf831 100644
--- a/net-dns/blocky/blocky-9999.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} == 9999* ]]; 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-9999.ebuild b/net-dns/blocky/blocky-9999.ebuild
index 3f5b49b9fc..0852ebf831 100644
--- a/net-dns/blocky/blocky-9999.ebuild
+++ b/net-dns/blocky/blocky-9999.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} == 9999* ]]; 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-dns/blocky/
@ 2024-06-15  6:20 Rahil Bhimjiani
  0 siblings, 0 replies; 2+ messages in thread
From: Rahil Bhimjiani @ 2024-06-15  6:20 UTC (permalink / raw
  To: gentoo-commits

commit:     4feaeefdb5c32f7544405027228cf511d9be94ad
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Sat Jun 15 06:18:35 2024 +0000
Commit:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
CommitDate: Sat Jun 15 06:20:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4feaeefd

net-dns/blocky: update to 0.24

* significantly reduce deps tarball size 183 MiB -> 5.7 MiB by using `go
mod vendor`

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>

 net-dns/blocky/Manifest                                   | 3 +++
 net-dns/blocky/{blocky-9999.ebuild => blocky-0.24.ebuild} | 6 +++---
 net-dns/blocky/blocky-9999.ebuild                         | 6 +++---
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/net-dns/blocky/Manifest b/net-dns/blocky/Manifest
index 6b49aa54e..4cc0315b3 100644
--- a/net-dns/blocky/Manifest
+++ b/net-dns/blocky/Manifest
@@ -4,3 +4,6 @@ DIST blocky-0.22.tar.gz 712644 BLAKE2B d74881026421337a0fc32a6af2cf6bff736e0130a
 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
+DIST blocky-0.24-deps.tar.xz 5931984 BLAKE2B 834f637649051cd84950bfa2cf80e2e41972e746900dc86a5ca933a17eb4e15d75ab3813e3ddc02ec53945b1114a4ac2624535ca80210df479e254e1483122c0 SHA512 ac5b371a037429b5e51ced17434ac168895cb33e41f876ba286a3fd4d0ec779f68355603c0eeaa6f09c55eb552922257f8d27c409e661b5f9ebbe240c7a6ea57
+DIST blocky-0.24-docs.tar.gz 7335085 BLAKE2B 094686354b65b8b95391c5381790c6ee6198475155dc80099d3adcb7e3ee6598d0ec4a191a15d1c3a745d9ac6e4290bc048747ef551c9d07c5cf740dee3a922b SHA512 c4151e1903945d9396c341927178e6cd4e0a82be5899f610be1746a14e1c3b4c315850cc2f6e00ec248e3a8ba2428e2f8ec0e7ddcaf936af177cb064c4edbaf4
+DIST blocky-0.24.tar.gz 7246810 BLAKE2B ec6ddbdab6f77f039e5b79e4092239ae17b003659e02bcf4d81a6371be5e5f3c9f5cc071b3a2b8ad6d0a5cc11834da5ef618445288ba1f3ae8306f8629931cbf SHA512 d89e417157a2f45232f264eed597849bf38e4ad7407d215e5ebe9b2bd84e2b31f1c434b9df915c295272214a3398fb73302814503bca5ca41b748363ecc656e6

diff --git a/net-dns/blocky/blocky-9999.ebuild b/net-dns/blocky/blocky-0.24.ebuild
similarity index 93%
copy from net-dns/blocky/blocky-9999.ebuild
copy to net-dns/blocky/blocky-0.24.ebuild
index 0852ebf83..804021e66 100644
--- a/net-dns/blocky/blocky-9999.ebuild
+++ b/net-dns/blocky/blocky-0.24.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=e9d4e51690f700d20b2cd478eef5987653bd4cc0
+DOCUMENTATION_COMMIT=8c38c181ca6600328847f3c9856df99b0c3ad04b
 
 if [[ ${PV} == 9999* ]]; then
 	inherit git-r3
@@ -54,12 +54,12 @@ src_unpack() {
 			git-r3_src_unpack
 		fi
 	else
-		go-module_src_unpack
+		default
 	fi
 }
 
 src_compile() {
-	[[ ${PV} != 9999* ]] && export VERSION="${PV}"
+	[[ ${PV} != 9999* ]] && { export VERSION="${PV}" && ln -sv ../vendor ./ || die ; }
 
 	# mimicking project's Dockerfile
 	emake GO_SKIP_GENERATE=yes GO_BUILD_FLAGS="-tags static -v " build

diff --git a/net-dns/blocky/blocky-9999.ebuild b/net-dns/blocky/blocky-9999.ebuild
index 0852ebf83..804021e66 100644
--- a/net-dns/blocky/blocky-9999.ebuild
+++ b/net-dns/blocky/blocky-9999.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=e9d4e51690f700d20b2cd478eef5987653bd4cc0
+DOCUMENTATION_COMMIT=8c38c181ca6600328847f3c9856df99b0c3ad04b
 
 if [[ ${PV} == 9999* ]]; then
 	inherit git-r3
@@ -54,12 +54,12 @@ src_unpack() {
 			git-r3_src_unpack
 		fi
 	else
-		go-module_src_unpack
+		default
 	fi
 }
 
 src_compile() {
-	[[ ${PV} != 9999* ]] && export VERSION="${PV}"
+	[[ ${PV} != 9999* ]] && { export VERSION="${PV}" && ln -sv ../vendor ./ || die ; }
 
 	# mimicking project's Dockerfile
 	emake GO_SKIP_GENERATE=yes GO_BUILD_FLAGS="-tags static -v " build


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-15  6:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-07  8:57 [gentoo-commits] repo/proj/guru:dev commit in: net-dns/blocky/ Rahil Bhimjiani
  -- strict thread matches above, loose matches on Subject: below --
2024-06-15  6:20 Rahil Bhimjiani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox