Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [RFC] libgit2-1.8: switch from libssh2 to openssh
@ 2024-12-11 21:57 tranzystorekk
  2025-01-05 19:33 ` [PR PATCH] [Merged]: " tranzystorekk
  0 siblings, 1 reply; 2+ messages in thread
From: tranzystorekk @ 2024-12-11 21:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 698 bytes --]

There is a new pull request by tranzystorekk against master on the void-packages repository

https://github.com/tranzystorekk/void-packages libgit-openssh
https://github.com/void-linux/void-packages/pull/53477

[RFC] libgit2-1.8: switch from libssh2 to openssh
Switches newest libgit2 to invoke `openssh` from commandline for ssh git remotes etc.

Rationale:

- `git` also uses openssh under the hood
- parses ssh configuration files, making use of all openssh features

Note that since consistency is one of the goals here, I'd consider rebuilding any remaining non-rust packages to 1.8 a priority.

A patch file from https://github.com/void-linux/void-packages/pull/53477.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libgit-openssh-53477.patch --]
[-- Type: text/x-diff, Size: 1187 bytes --]

From c787b50f4e0ca2b6e920acf333c04d1ce940ac26 Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Wed, 11 Dec 2024 22:48:07 +0100
Subject: [PATCH] libgit2-1.8: switch from libssh2 to openssh

---
 srcpkgs/libgit2-1.8/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/libgit2-1.8/template b/srcpkgs/libgit2-1.8/template
index 96f11929368d45..3d3df7854ab461 100644
--- a/srcpkgs/libgit2-1.8/template
+++ b/srcpkgs/libgit2-1.8/template
@@ -1,11 +1,12 @@
 # Template file for 'libgit2-1.8'
 pkgname=libgit2-1.8
 version=1.8.4
-revision=1
+revision=2
 build_style=cmake
-configure_args="-DENABLE_REPRODUCIBLE_BUILDS=ON -DBUILD_CLI=OFF -DUSE_SSH=ON -DUSE_HTTP_PARSER=llhttp"
+configure_args="-DENABLE_REPRODUCIBLE_BUILDS=ON -DBUILD_CLI=OFF -DUSE_SSH=exec -DUSE_HTTP_PARSER=llhttp"
 hostmakedepends="python3 pkg-config"
-makedepends="zlib-devel openssl-devel llhttp-devel libssh2-devel"
+makedepends="zlib-devel openssl-devel llhttp-devel"
+depends=openssh
 short_desc="Git linkable library ${pkgname#libgit2-}"
 maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
 license="GPL-2.0-only WITH GCC-exception-2.0"

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

* Re: [PR PATCH] [Merged]: [RFC] libgit2-1.8: switch from libssh2 to openssh
  2024-12-11 21:57 [PR PATCH] [RFC] libgit2-1.8: switch from libssh2 to openssh tranzystorekk
@ 2025-01-05 19:33 ` tranzystorekk
  0 siblings, 0 replies; 2+ messages in thread
From: tranzystorekk @ 2025-01-05 19:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

There's a merged pull request on the void-packages repository

[RFC] libgit2-1.8: switch from libssh2 to openssh
https://github.com/void-linux/void-packages/pull/53477

Description:
Switches newest libgit2 to invoke `openssh` from commandline for ssh git remotes etc.

Rationale:

- `git` also uses openssh under the hood
- parses ssh configuration files, making use of all openssh features

Note that since consistency is one of the goals here, I'd consider rebuilding any remaining non-rust packages to 1.8 a priority.

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

end of thread, other threads:[~2025-01-05 19:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-11 21:57 [PR PATCH] [RFC] libgit2-1.8: switch from libssh2 to openssh tranzystorekk
2025-01-05 19:33 ` [PR PATCH] [Merged]: " tranzystorekk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).