This repository was archived by the owner on Dec 16, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ STATIC_TEST_TAG := test
55PLATFORMS ?= linux/amd64,linux/arm/v7,linux/arm64
66BUILD_ARGS ?=
77
8- GIT2GO_TAG ?= v32.0.4
8+ GIT2GO_TAG ?= v31.6.1
99
1010.PHONY : build
1111build :
Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ while testing these against the git2go code before releasing the image.
3737- [ ] ` libgit2-1.1 ` depends on ` libmdtls12 ` which [ does not provide support for ED25519 (yet)] [ mbedtls-ed25519 ] .
3838- [ ] In some observations, a mix of mbedTLS and OpenSSL linking seemed to happen, making it harder to determine what
3939 C-dependency was the cause of a malfunction.
40+ - [ ] The ` 1.2 ` release of ` libgit2 ` in combination with ` git2go/v32 ` does not seem to work properly:
41+ - [ ] [ libgit2/git2go #834 ] ( https://github.com/libgit2/git2go/issues/834 )
42+ - [ ] [ libgit2/git2go #836 ] ( https://github.com/libgit2/git2go/issues/836 )
43+ - [ ] [ libgit2/git2go #837 ] ( https://github.com/libgit2/git2go/issues/837 )
4044
4145## Usage
4246
Original file line number Diff line number Diff line change @@ -3,11 +3,13 @@ FLAGS ?=
33
44INSTALL_PREFIX ?= /usr
55INSTALL_LIBDIR ?= $(INSTALL_PREFIX ) /lib
6+ USE_HTTPS ?= OpenSSL
7+ USE_SSH ?= ON
68
7- LIBGIT2_VERSION ?= 1.2.0
9+ LIBGIT2_VERSION ?= 1.1.1
810# Overwritten to a specific version by default for git2go support
911# Ref: https://github.com/libgit2/git2go/issues/834
10- LIBGIT2_REVISION ?= 109b4c887ffb63962c7017a66fc4a1f48becb48e
12+ LIBGIT2_REVISION ?=
1113
1214ifeq ($(LIBGIT2_REVISION ) ,)
1315LIBGIT2_DOWNLOAD_URL ?= https://github.com/libgit2/libgit2/archive/refs/tags/v$(LIBGIT2_VERSION ) .tar.gz
@@ -34,8 +36,8 @@ $(INSTALL_LIBDIR)/libgit2.so.$(LIBGIT2_VERSION):
3436 -DUSE_BUNDLED_ZLIB:BOOL=OFF \
3537 -DUSE_HTTP_PARSER:STRING=builtin \
3638 -DREGEX_BACKEND:STRING=builtin \
37- -DUSE_HTTPS:STRING=OpenSSL \
38- -DUSE_SSH:BOOL=ON \
39+ -DUSE_HTTPS:STRING=$( USE_HTTPS ) \
40+ -DUSE_SSH:BOOL=$( USE_SSH ) \
3941 $(FLAGS ) \
4042 && cmake --build $$ SETUP_LIBGIT2_TMP_DIR/build --target install \
4143 && rm -rf $$ SETUP_LIBGIT2_TMP_DIR
You can’t perform that action at this time.
0 commit comments