Skip to content

Commit 8b862d4

Browse files
authored
Merge pull request #126 from jairbubbles/update-libgit2-to-v1-2-0
Update libgit2 to v1.2.0
2 parents 84713e3 + a5b460d commit 8b862d4

File tree

8 files changed

+120
-17
lines changed

8 files changed

+120
-17
lines changed

build.libgit2.ps1

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,6 @@ function Assert-Consistent-Naming($expected, $path) {
100100
try {
101101
Push-Location $libgit2Directory
102102

103-
# Patch CMakeLists.txt to fix LIBGIT2_FILENAME not being used when compiling the .rc file
104-
# To remove when https://github.com/libgit2/libgit2/pull/5994 is included
105-
$libgit2CMakeLists = Join-Path $libgit2Directory "src\CMakeLists.txt"
106-
(Get-Content $libgit2CMakeLists).Replace('target_compile_definitions(git2internal PRIVATE LIBGIT2_FILENAME', 'target_compile_definitions(git2 PRIVATE LIBGIT2_FILENAME') | Set-Content $libgit2CMakeLists
107-
108103
$cmake = Find-CMake
109104
$ctest = Join-Path (Split-Path -Parent $cmake) "ctest.exe"
110105

build.libgit2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ PACKAGEPATH="nuget.package/runtimes"
1111
if [[ $OS == "Darwin" ]]; then
1212
USEHTTPS="ON"
1313
else
14-
USEHTTPS="OFF"
14+
USEHTTPS="OpenSSL-Dynamic"
1515
fi
1616

1717
rm -rf libgit2/build

libgit2

Submodule libgit2 updated 934 files
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<PropertyGroup>
33
<libgit2_propsfile>$(MSBuildThisFileFullPath)</libgit2_propsfile>
4-
<libgit2_hash>8a0dc6783c340e61a44c179c48f832165ad2053c</libgit2_hash>
5-
<libgit2_filename>git2-8a0dc67</libgit2_filename>
4+
<libgit2_hash>4fd32be01c79a5c003bb47674ac1d76d948518b7</libgit2_hash>
5+
<libgit2_filename>git2-4fd32be</libgit2_filename>
66
</PropertyGroup>
77
</Project>

nuget.package/build/net46/LibGit2Sharp.NativeBinaries.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project>
22
<PropertyGroup>
33
<libgit2_propsfile>$(MSBuildThisFileFullPath)</libgit2_propsfile>
4-
<libgit2_hash>8a0dc6783c340e61a44c179c48f832165ad2053c</libgit2_hash>
5-
<libgit2_filename>git2-8a0dc67</libgit2_filename>
4+
<libgit2_hash>4fd32be01c79a5c003bb47674ac1d76d948518b7</libgit2_hash>
5+
<libgit2_filename>git2-4fd32be</libgit2_filename>
66
</PropertyGroup>
77
<ItemGroup>
88
<ContentWithTargetPath Include="$(MSBuildThisFileDirectory)\..\..\runtimes\win-x86\native\*" TargetPath="lib\win32\x86\%(Filename)%(Extension)" CopyToOutputDirectory="PreserveNewest" />
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<configuration>
2-
<dllmap os="linux" cpu="x86-64" wordsize="64" dll="git2-8a0dc67" target="lib/linux-x64/libgit2-8a0dc67.so" />
3-
<dllmap os="linux" cpu="arm" wordsize="32" dll="git2-8a0dc67" target="lib/linux-arm/libgit2-8a0dc67.so" />
4-
<dllmap os="linux" cpu="armv8" wordsize="64" dll="git2-8a0dc67" target="lib/linux-arm64/libgit2-8a0dc67.so" />
5-
<dllmap os="osx" cpu="x86-64" wordsize="64" dll="git2-8a0dc67" target="lib/osx-x64/libgit2-8a0dc67.dylib" />
2+
<dllmap os="linux" cpu="x86-64" wordsize="64" dll="git2-4fd32be" target="lib/linux-x64/libgit2-4fd32be.so" />
3+
<dllmap os="linux" cpu="arm" wordsize="32" dll="git2-4fd32be" target="lib/linux-arm/libgit2-4fd32be.so" />
4+
<dllmap os="linux" cpu="armv8" wordsize="64" dll="git2-4fd32be" target="lib/linux-arm64/libgit2-4fd32be.so" />
5+
<dllmap os="osx" cpu="x86-64" wordsize="64" dll="git2-4fd32be" target="lib/osx-x64/libgit2-4fd32be.dylib" />
66
</configuration>

nuget.package/libgit2/libgit2.license.txt

Lines changed: 109 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ The GNU C Library is free software; you can redistribute it and/or
420420
modify it under the terms of the GNU Lesser General Public
421421
License as published by the Free Software Foundation; either
422422
version 2.1 of the License, or (at your option) any later version.
423-
423+
424424
The GNU C Library is distributed in the hope that it will be useful,
425425
but WITHOUT ANY WARRANTY; without even the implied warranty of
426426
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
@@ -1019,3 +1019,111 @@ following restrictions are are met:
10191019
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
10201020
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
10211021
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1022+
1023+
----------------------------------------------------------------------
1024+
1025+
Portions of the OpenSSL headers are included under the OpenSSL license:
1026+
1027+
Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
1028+
All rights reserved.
1029+
1030+
This package is an SSL implementation written
1031+
by Eric Young (eay@cryptsoft.com).
1032+
The implementation was written so as to conform with Netscapes SSL.
1033+
1034+
This library is free for commercial and non-commercial use as long as
1035+
the following conditions are aheared to. The following conditions
1036+
apply to all code found in this distribution, be it the RC4, RSA,
1037+
lhash, DES, etc., code; not just the SSL code. The SSL documentation
1038+
included with this distribution is covered by the same copyright terms
1039+
except that the holder is Tim Hudson (tjh@cryptsoft.com).
1040+
1041+
Copyright remains Eric Young's, and as such any Copyright notices in
1042+
the code are not to be removed.
1043+
If this package is used in a product, Eric Young should be given attribution
1044+
as the author of the parts of the library used.
1045+
This can be in the form of a textual message at program startup or
1046+
in documentation (online or textual) provided with the package.
1047+
1048+
Redistribution and use in source and binary forms, with or without
1049+
modification, are permitted provided that the following conditions
1050+
are met:
1051+
1. Redistributions of source code must retain the copyright
1052+
notice, this list of conditions and the following disclaimer.
1053+
2. Redistributions in binary form must reproduce the above copyright
1054+
notice, this list of conditions and the following disclaimer in the
1055+
documentation and/or other materials provided with the distribution.
1056+
3. All advertising materials mentioning features or use of this software
1057+
must display the following acknowledgement:
1058+
"This product includes cryptographic software written by
1059+
Eric Young (eay@cryptsoft.com)"
1060+
The word 'cryptographic' can be left out if the rouines from the library
1061+
being used are not cryptographic related :-).
1062+
4. If you include any Windows specific code (or a derivative thereof) from
1063+
the apps directory (application code) you must include an acknowledgement:
1064+
"This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
1065+
1066+
THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
1067+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1068+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1069+
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1070+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1071+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1072+
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1073+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1074+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1075+
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1076+
SUCH DAMAGE.
1077+
1078+
The licence and distribution terms for any publically available version or
1079+
derivative of this code cannot be changed. i.e. this code cannot simply be
1080+
copied and put under another distribution licence
1081+
[including the GNU Public Licence.]
1082+
1083+
====================================================================
1084+
Copyright (c) 1998-2007 The OpenSSL Project. All rights reserved.
1085+
1086+
Redistribution and use in source and binary forms, with or without
1087+
modification, are permitted provided that the following conditions
1088+
are met:
1089+
1090+
1. Redistributions of source code must retain the above copyright
1091+
notice, this list of conditions and the following disclaimer.
1092+
1093+
2. Redistributions in binary form must reproduce the above copyright
1094+
notice, this list of conditions and the following disclaimer in
1095+
the documentation and/or other materials provided with the
1096+
distribution.
1097+
1098+
3. All advertising materials mentioning features or use of this
1099+
software must display the following acknowledgment:
1100+
"This product includes software developed by the OpenSSL Project
1101+
for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
1102+
1103+
4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
1104+
endorse or promote products derived from this software without
1105+
prior written permission. For written permission, please contact
1106+
openssl-core@openssl.org.
1107+
1108+
5. Products derived from this software may not be called "OpenSSL"
1109+
nor may "OpenSSL" appear in their names without prior written
1110+
permission of the OpenSSL Project.
1111+
1112+
6. Redistributions of any form whatsoever must retain the following
1113+
acknowledgment:
1114+
"This product includes software developed by the OpenSSL Project
1115+
for use in the OpenSSL Toolkit (http://www.openssl.org/)"
1116+
1117+
THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
1118+
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1119+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1120+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
1121+
ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1122+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
1123+
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
1124+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1125+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1126+
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1127+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
1128+
OF THE POSSIBILITY OF SUCH DAMAGE.
1129+
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8a0dc6783c340e61a44c179c48f832165ad2053c
1+
4fd32be01c79a5c003bb47674ac1d76d948518b7

0 commit comments

Comments
 (0)