commit: 81261a41e50397f9e41517dd63fd0d64e5140698 Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com> AuthorDate: Tue May 28 12:20:59 2024 +0000 Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com> CommitDate: Tue May 28 12:26:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=81261a41
net-analyzer/gping: remove libgit2 dependency Closes: https://bugs.gentoo.org/932853 Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com> .../gping/files/gping-1.16.1-remove-libgit2-dep.patch | 17 +++++++++++++++++ .../{gping-1.16.1.ebuild => gping-1.16.1-r1.ebuild} | 5 +++++ 2 files changed, 22 insertions(+) diff --git a/net-analyzer/gping/files/gping-1.16.1-remove-libgit2-dep.patch b/net-analyzer/gping/files/gping-1.16.1-remove-libgit2-dep.patch new file mode 100644 index 000000000..df554bc42 --- /dev/null +++ b/net-analyzer/gping/files/gping-1.16.1-remove-libgit2-dep.patch @@ -0,0 +1,17 @@ +https://github.com/orf/gping/commit/a3709e7dbad4a88072466e3370d28cce5e115fc4 +https://bugs.gentoo.org/932853 +Removes build dependency on libgit2 +--- a/gping/Cargo.toml ++++ b/gping/Cargo.toml +@@ -17,9 +17,9 @@ anyhow = "1.0.81" + dns-lookup = "2.0.0" + chrono = "0.4.34" + itertools = "0.12.1" +-shadow-rs = "0.26.1" ++shadow-rs = { version = "0.26.1", default_features = false } + const_format = "0.2.32" + clap = { version = "4.5.0", features = ["derive"] } + + [build-dependencies] +-shadow-rs = "0.26.1" ++shadow-rs = { version = "0.26.1", default_features = false } diff --git a/net-analyzer/gping/gping-1.16.1.ebuild b/net-analyzer/gping/gping-1.16.1-r1.ebuild similarity index 98% rename from net-analyzer/gping/gping-1.16.1.ebuild rename to net-analyzer/gping/gping-1.16.1-r1.ebuild index a003d0dcc..1fa79a56a 100644 --- a/net-analyzer/gping/gping-1.16.1.ebuild +++ b/net-analyzer/gping/gping-1.16.1-r1.ebuild @@ -172,6 +172,11 @@ LICENSE+=" Apache-2.0 MIT MIT-0 Unicode-DFS-2016 ZLIB" SLOT="0" KEYWORDS="~amd64" +PATCHES=( + # bug #932853 + "${FILESDIR}/${P}-remove-libgit2-dep.patch" +) + QA_FLAGS_IGNORED="usr/bin/gping" src_install() {
