Compare commits
No commits in common. "c8" and "imports/c8/libgit2-0.26.6-3.el8" have entirely different histories.
c8
...
imports/c8
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/libgit2-0.26.8.tar.gz
|
SOURCES/libgit2-0.26.6.tar.gz
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
ec4242317439239e53c5a137f918fcee9d21bcef SOURCES/libgit2-0.26.8.tar.gz
|
b663c12fadaa886781334d745b914dc3a1afd16d SOURCES/libgit2-0.26.6.tar.gz
|
||||||
|
|||||||
@ -1,31 +0,0 @@
|
|||||||
From 25567536469c9cbe75445bb9875c7f10ff7f9ba2 Mon Sep 17 00:00:00 2001
|
|
||||||
From: "Brian C. Lane" <bcl@brianlane.com>
|
|
||||||
Date: Wed, 15 May 2019 12:05:34 -0700
|
|
||||||
Subject: [PATCH] Disable online tests
|
|
||||||
|
|
||||||
We do not support online tests during build, and with ssh disabled that
|
|
||||||
one also doesn't apply.
|
|
||||||
|
|
||||||
Related: rhbz#1638880
|
|
||||||
---
|
|
||||||
CMakeLists.txt | 4 ----
|
|
||||||
1 file changed, 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
||||||
index eabc524..5a23d01 100644
|
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -705,10 +705,6 @@ IF (BUILD_CLAR)
|
|
||||||
ENABLE_TESTING()
|
|
||||||
|
|
||||||
ADD_TEST(offline libgit2_clar -v -xonline)
|
|
||||||
- ADD_TEST(online libgit2_clar -v -sonline)
|
|
||||||
- ADD_TEST(gitdaemon libgit2_clar -v -sonline::push)
|
|
||||||
- ADD_TEST(ssh libgit2_clar -v -sonline::push -sonline::clone::ssh_cert -sonline::clone::ssh_with_paths)
|
|
||||||
- ADD_TEST(proxy libgit2_clar -v -sonline::clone::proxy_credentials_in_url -sonline::clone::proxy_credentials_request)
|
|
||||||
ENDIF ()
|
|
||||||
|
|
||||||
IF (TAGS)
|
|
||||||
--
|
|
||||||
2.20.1
|
|
||||||
|
|
||||||
@ -1,28 +0,0 @@
|
|||||||
From 53686ab27d6fa7f78274e6ec7efd846626e1eb65 Mon Sep 17 00:00:00 2001
|
|
||||||
From: "Brian C. Lane" <bcl@redhat.com>
|
|
||||||
Date: Wed, 31 Oct 2018 12:13:01 -0700
|
|
||||||
Subject: [PATCH] tests: Increase TOOBIG value used on i686
|
|
||||||
|
|
||||||
0x0fffffff isn't big enough.
|
|
||||||
|
|
||||||
Related: rhbz#1638880
|
|
||||||
---
|
|
||||||
tests/buf/oom.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/tests/buf/oom.c b/tests/buf/oom.c
|
|
||||||
index 16a03cc1a..c01e87895 100644
|
|
||||||
--- a/tests/buf/oom.c
|
|
||||||
+++ b/tests/buf/oom.c
|
|
||||||
@@ -12,7 +12,7 @@
|
|
||||||
#if defined(GIT_ARCH_64) && defined(__linux__)
|
|
||||||
# define TOOBIG 0x0fffffffffffffff
|
|
||||||
#elif defined(__linux__)
|
|
||||||
-# define TOOBIG 0x0fffffff
|
|
||||||
+# define TOOBIG 0xffffff00
|
|
||||||
#elif defined(GIT_ARCH_64)
|
|
||||||
# define TOOBIG 0xffffffffffffff00
|
|
||||||
#else
|
|
||||||
--
|
|
||||||
2.20.1
|
|
||||||
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
From 04916e405fb34f98497536ee5cec5b48c137dac1 Mon Sep 17 00:00:00 2001
|
|
||||||
From: "Brian C. Lane" <bcl@redhat.com>
|
|
||||||
Date: Tue, 2 Jun 2020 10:39:45 -0700
|
|
||||||
Subject: [PATCH] openssl: Use the system profile ciphers
|
|
||||||
|
|
||||||
On Fedora and RHEL we let the system decide which ciphers to use instead
|
|
||||||
of setting them explicitly.
|
|
||||||
|
|
||||||
Resolves: rhbz#1842814
|
|
||||||
---
|
|
||||||
src/openssl_stream.c | 3 ++-
|
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/openssl_stream.c b/src/openssl_stream.c
|
|
||||||
index 6bab6b54a..fbf3bd578 100644
|
|
||||||
--- a/src/openssl_stream.c
|
|
||||||
+++ b/src/openssl_stream.c
|
|
||||||
@@ -35,7 +35,8 @@
|
|
||||||
|
|
||||||
SSL_CTX *git__ssl_ctx;
|
|
||||||
|
|
||||||
-#define GIT_SSL_DEFAULT_CIPHERS "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-DSS-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA:DHE-DSS-AES128-SHA256:DHE-DSS-AES256-SHA256:DHE-DSS-AES128-SHA:DHE-DSS-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA"
|
|
||||||
+/* rhbz#1842814 use the system defined ciphers. Override with GIT_OPT_SET_SSL_CIPHERS */
|
|
||||||
+#define GIT_SSL_DEFAULT_CIPHERS "PROFILE=SYSTEM"
|
|
||||||
|
|
||||||
#if defined(GIT_THREADS) && OPENSSL_VERSION_NUMBER < 0x10100000L
|
|
||||||
|
|
||||||
--
|
|
||||||
2.26.2
|
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: libgit2
|
Name: libgit2
|
||||||
Version: 0.26.8
|
Version: 0.26.6
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: C implementation of the Git core methods as a library with a solid API
|
Summary: C implementation of the Git core methods as a library with a solid API
|
||||||
License: GPLv2 with exceptions
|
License: GPLv2 with exceptions
|
||||||
URL: http://libgit2.github.com/
|
URL: http://libgit2.github.com/
|
||||||
@ -9,9 +9,6 @@ Source1: README.rhel8
|
|||||||
|
|
||||||
Patch0001: 0001-Revert-cmake-disable-optimization-on-debug-builds.patch
|
Patch0001: 0001-Revert-cmake-disable-optimization-on-debug-builds.patch
|
||||||
Patch0002: 0002-CMakeLists-increase-strict-aliasing-level-to-3.patch
|
Patch0002: 0002-CMakeLists-increase-strict-aliasing-level-to-3.patch
|
||||||
Patch0003: 0003-Disable-online-tests.patch
|
|
||||||
Patch0004: 0004-tests-Increase-TOOBIG-value-used-on-i686.patch
|
|
||||||
Patch0005: 0005-openssl-Use-the-system-profile-ciphers.patch
|
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
@ -45,6 +42,9 @@ find examples -name ".gitignore" -delete -print
|
|||||||
# Fix pkgconfig generation
|
# Fix pkgconfig generation
|
||||||
sed -i 's|@CMAKE_INSTALL_PREFIX@/||' libgit2.pc.in
|
sed -i 's|@CMAKE_INSTALL_PREFIX@/||' libgit2.pc.in
|
||||||
|
|
||||||
|
# Don't test network
|
||||||
|
sed -i 's/ionline/xonline/' CMakeLists.txt
|
||||||
|
|
||||||
# Remove bundled libraries
|
# Remove bundled libraries
|
||||||
rm -frv deps
|
rm -frv deps
|
||||||
|
|
||||||
@ -80,18 +80,6 @@ popd
|
|||||||
%{_includedir}/git2/
|
%{_includedir}/git2/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Jun 02 2020 Brian C. Lane <bcl@redhat.com> - 0.26.8-2
|
|
||||||
- openssl: Use the system profile ciphers
|
|
||||||
Resolves: rhbz#1842814
|
|
||||||
|
|
||||||
* Wed May 15 2019 Brian C. Lane <bcl@redhat.com> - 0.26.8-1
|
|
||||||
- Update to 0.26.8
|
|
||||||
Resolves: rhbz#1638880
|
|
||||||
- Disable upstream online tests
|
|
||||||
Related: rhbz#1638880
|
|
||||||
- tests: Increase TOOBIG value used on i686
|
|
||||||
Related: rhbz#1638880
|
|
||||||
|
|
||||||
* Fri Sep 07 2018 Brian C. Lane <bcl@redhat.com> - 0.26.6-3
|
* Fri Sep 07 2018 Brian C. Lane <bcl@redhat.com> - 0.26.6-3
|
||||||
- CMakeLists increase strict aliasing level to 3
|
- CMakeLists increase strict aliasing level to 3
|
||||||
Related: rhbz#1624129
|
Related: rhbz#1624129
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user