Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
6c00fcb7
Commit
6c00fcb7
authored
Nov 10, 2021
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: USE_SSH is not on by default
parent
789ab915
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
21 deletions
+21
-21
.github/workflows/main.yml
+7
-7
.github/workflows/nightly.yml
+13
-13
CMakeLists.txt
+1
-1
No files found.
.github/workflows/main.yml
View file @
6c00fcb7
...
...
@@ -91,7 +91,7 @@ jobs:
env
:
CC
:
gcc
CMAKE_GENERATOR
:
Ninja
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL -DREGEX_BACKEND=builtin -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON -DDEBUG_STRICT_ALLOC=ON -DDEBUG_STRICT_OPEN=ON
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL -DREGEX_BACKEND=builtin -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON -D
USE_SSH=ON -D
DEBUG_STRICT_ALLOC=ON -DDEBUG_STRICT_OPEN=ON
os
:
ubuntu-latest
-
# Xenial, GCC, mbedTLS
container
:
...
...
@@ -99,7 +99,7 @@ jobs:
env
:
CC
:
gcc
CMAKE_GENERATOR
:
Ninja
CMAKE_OPTIONS
:
-DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
CMAKE_OPTIONS
:
-DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
-DUSE_SSH=ON
os
:
ubuntu-latest
-
# Xenial, Clang, OpenSSL
container
:
...
...
@@ -107,14 +107,14 @@ jobs:
env
:
CC
:
clang
CMAKE_GENERATOR
:
Ninja
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
-DUSE_SSH=ON
os
:
ubuntu-latest
-
# Xenial, Clang, mbedTLS
container
:
name
:
xenial
env
:
CC
:
clang
CMAKE_OPTIONS
:
-DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DREGEX_BACKEND=pcre -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
CMAKE_OPTIONS
:
-DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DREGEX_BACKEND=pcre -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
-DUSE_SSH=ON
CMAKE_GENERATOR
:
Ninja
os
:
ubuntu-latest
-
# Focal, Clang 10, mbedTLS, MemorySanitizer
...
...
@@ -123,7 +123,7 @@ jobs:
env
:
CC
:
clang-10
CFLAGS
:
-fsanitize=memory -fsanitize-memory-track-origins=2 -fsanitize-blacklist=/home/libgit2/source/script/sanitizers.supp -fno-optimize-sibling-calls -fno-omit-frame-pointer
CMAKE_OPTIONS
:
-DCMAKE_PREFIX_PATH=/usr/local/msan -DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DREGEX_BACKEND=pcre -DDEPRECATE_HARD=ON -DUSE_BUNDLED_ZLIB=ON
CMAKE_OPTIONS
:
-DCMAKE_PREFIX_PATH=/usr/local/msan -DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DREGEX_BACKEND=pcre -DDEPRECATE_HARD=ON -DUSE_BUNDLED_ZLIB=ON
-DUSE_SSH=ON
CMAKE_GENERATOR
:
Ninja
SKIP_SSH_TESTS
:
true
SKIP_NEGOTIATE_TESTS
:
true
...
...
@@ -136,7 +136,7 @@ jobs:
env
:
CC
:
clang-10
CFLAGS
:
-fsanitize=undefined,nullability -fno-sanitize-recover=undefined,nullability -fsanitize-blacklist=/home/libgit2/source/script/sanitizers.supp -fno-optimize-sibling-calls -fno-omit-frame-pointer
CMAKE_OPTIONS
:
-DCMAKE_PREFIX_PATH=/usr/local -DUSE_HTTPS=OpenSSL -DUSE_SHA1=HTTPS -DREGEX_BACKEND=pcre -DDEPRECATE_HARD=ON -DUSE_BUNDLED_ZLIB=ON
CMAKE_OPTIONS
:
-DCMAKE_PREFIX_PATH=/usr/local -DUSE_HTTPS=OpenSSL -DUSE_SHA1=HTTPS -DREGEX_BACKEND=pcre -DDEPRECATE_HARD=ON -DUSE_BUNDLED_ZLIB=ON
-DUSE_SSH=ON
CMAKE_GENERATOR
:
Ninja
SKIP_SSH_TESTS
:
true
SKIP_NEGOTIATE_TESTS
:
true
...
...
@@ -149,7 +149,7 @@ jobs:
env
:
CC
:
clang-10
CFLAGS
:
-fsanitize=thread -fno-optimize-sibling-calls -fno-omit-frame-pointer
CMAKE_OPTIONS
:
-DCMAKE_PREFIX_PATH=/usr/local -DUSE_HTTPS=OpenSSL -DUSE_SHA1=HTTPS -DREGEX_BACKEND=pcre -DDEPRECATE_HARD=ON -DUSE_BUNDLED_ZLIB=ON
CMAKE_OPTIONS
:
-DCMAKE_PREFIX_PATH=/usr/local -DUSE_HTTPS=OpenSSL -DUSE_SHA1=HTTPS -DREGEX_BACKEND=pcre -DDEPRECATE_HARD=ON -DUSE_BUNDLED_ZLIB=ON
-DUSE_SSH=ON
CMAKE_GENERATOR
:
Ninja
SKIP_SSH_TESTS
:
true
SKIP_NEGOTIATE_TESTS
:
true
...
...
.github/workflows/nightly.yml
View file @
6c00fcb7
...
...
@@ -25,7 +25,7 @@ jobs:
env
:
CC
:
gcc
CMAKE_GENERATOR
:
Ninja
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL -DREGEX_BACKEND=builtin -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL -DREGEX_BACKEND=builtin -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
-DUSE_SSH=ON
os
:
ubuntu-latest
-
# Xenial, GCC, mbedTLS
container
:
...
...
@@ -33,7 +33,7 @@ jobs:
env
:
CC
:
gcc
CMAKE_GENERATOR
:
Ninja
CMAKE_OPTIONS
:
-DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
CMAKE_OPTIONS
:
-DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
-DUSE_SSH=ON
os
:
ubuntu-latest
-
# Xenial, Clang, OpenSSL
container
:
...
...
@@ -41,14 +41,14 @@ jobs:
env
:
CC
:
clang
CMAKE_GENERATOR
:
Ninja
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
-DUSE_SSH=ON
os
:
ubuntu-latest
-
# Xenial, Clang, mbedTLS
container
:
name
:
xenial
env
:
CC
:
clang
CMAKE_OPTIONS
:
-DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DREGEX_BACKEND=pcre -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
CMAKE_OPTIONS
:
-DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DREGEX_BACKEND=pcre -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
-DUSE_SSH=ON
CMAKE_GENERATOR
:
Ninja
os
:
ubuntu-latest
-
# Xenial, GCC, thread-free
...
...
@@ -56,7 +56,7 @@ jobs:
name
:
xenial
env
:
CC
:
gcc
CMAKE_OPTIONS
:
-DTHREADSAFE=OFF -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
CMAKE_OPTIONS
:
-DTHREADSAFE=OFF -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
-DUSE_SSH=ON
CMAKE_GENERATOR
:
Ninja
os
:
ubuntu-latest
-
# Xenial, Clang, OpenSSL (dynamically loaded)
...
...
@@ -64,7 +64,7 @@ jobs:
name
:
xenial
env
:
CC
:
clang
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL-Dynamic -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL-Dynamic -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
-DUSE_SSH=ON
CMAKE_GENERATOR
:
Ninja
os
:
ubuntu-latest
-
# Focal, Clang 10, mbedTLS, MemorySanitizer
...
...
@@ -119,7 +119,7 @@ jobs:
container
:
name
:
centos7
env
:
CMAKE_OPTIONS
:
-DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
CMAKE_OPTIONS
:
-DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
-DUSE_SSH=ON
PKG_CONFIG_PATH
:
/usr/local/lib/pkgconfig
SKIP_NEGOTIATE_TESTS
:
true
os
:
ubuntu-latest
...
...
@@ -127,7 +127,7 @@ jobs:
container
:
name
:
centos7
env
:
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL-Dynamic -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL-Dynamic -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
-DUSE_SSH=ON
PKG_CONFIG_PATH
:
/usr/local/lib/pkgconfig
SKIP_NEGOTIATE_TESTS
:
true
os
:
ubuntu-latest
...
...
@@ -212,7 +212,7 @@ jobs:
env
:
CC
:
gcc
CMAKE_GENERATOR
:
Ninja
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL-Dynamic -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL-Dynamic -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
-DUSE_SSH=ON
RUN_INVASIVE_TESTS
:
true
os
:
ubuntu-latest
-
# Bionic, x86, Clang, OpenSSL
...
...
@@ -223,7 +223,7 @@ jobs:
env
:
CC
:
clang
CMAKE_GENERATOR
:
Ninja
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
-DUSE_SSH=ON
RUN_INVASIVE_TESTS
:
true
os
:
ubuntu-latest
-
# Bionic, x86, GCC, OpenSSL
...
...
@@ -233,7 +233,7 @@ jobs:
env
:
CC
:
gcc
CMAKE_GENERATOR
:
Ninja
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
-DUSE_SSH=ON
RUN_INVASIVE_TESTS
:
true
os
:
ubuntu-latest
-
# Bionic, arm32, GCC, OpenSSL
...
...
@@ -244,7 +244,7 @@ jobs:
env
:
CC
:
gcc
CMAKE_GENERATOR
:
Ninja
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_GSSAPI=ON
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_GSSAPI=ON
-DUSE_SSH=ON
RUN_INVASIVE_TESTS
:
true
SKIP_PROXY_TESTS
:
true
os
:
ubuntu-latest
...
...
@@ -256,7 +256,7 @@ jobs:
env
:
CC
:
gcc
CMAKE_GENERATOR
:
Ninja
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_GSSAPI=ON
CMAKE_OPTIONS
:
-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_GSSAPI=ON
-DUSE_SSH=ON
RUN_INVASIVE_TESTS
:
true
SKIP_PROXY_TESTS
:
true
os
:
ubuntu-latest
...
...
CMakeLists.txt
View file @
6c00fcb7
...
...
@@ -40,7 +40,7 @@ option(USE_THREADS "Use threads for parallel processing when possibl
option
(
USE_NSEC
"Support nanosecond precision file mtimes and ctimes"
ON
)
# Backend selection
option
(
USE_SSH
"Link with libssh2 to enable SSH support"
ON
)
option
(
USE_SSH
"Link with libssh2 to enable SSH support"
OFF
)
option
(
USE_HTTPS
"Enable HTTPS support. Can be set to a specific backend"
ON
)
option
(
USE_SHA1
"Enable SHA1. Can be set to CollisionDetection(ON)/HTTPS/Generic"
ON
)
option
(
USE_GSSAPI
"Link with libgssapi for SPNEGO auth"
OFF
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment