1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Library providing Git core methods
8 HOMEPAGE= https://libgit2.github.com/
9 CONTACT= John_Marino[draco@marino.st]
12 SITES[main]= GITHUB/libgit2:libgit2:v1.3.0
13 DISTFILE[1]= generated:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 BUILDRUN_DEPENDS= libssh2:single:standard
23 USES= cpe cmake pkgconfig python:build ssl zlib
26 LICENSE= CUSTOM1:single
27 LICENSE_NAME= CUSTOM1:"libgit2 License - GPLv2 with linking exception"
28 LICENSE_FILE= CUSTOM1:{{WRKSRC}}/COPYING
31 FPC_EQUIVALENT= devel/libgit2
32 SOL_FUNCTIONS= mkdtemp:tests/clar/sandbox.h
34 PLIST_SUB= SOVERSION=1.3.0
37 CMAKE_ARGS= -DUSE_SSH=ON
42 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgit2.${LIBEXT}
44 [FILE:615:descriptions/desc.single]
45 libgit2 is a portable, pure C implementation of the Git core methods
46 provided as a re-entrant linkable library with a solid API, allowing you
47 to write native speed custom Git applications in any language which
51 Linux, BSD, Mac OS X, iOS, Amiga, MinGW and fully native Windows.
54 Builds out of the box with no dependencies. Works in embedded devices
58 Written with portability in mind. Builds in GCC, Clang and MSVC.
61 GPLv2 with Linking Exception. Link with open and proprietary software,
66 192eeff84596ff09efb6b01835a066f2df7cd7985e0991c79595688e6b36444e 5599575 libgit2-libgit2-1.3.0.tar.gz
69 [FILE:1099:manifests/plist.single]
165 libgit2.so.%%SOMAJOR%%
166 libgit2.so.%%SOVERSION%%
167 lib/pkgconfig/libgit2.pc
170 [FILE:446:patches/patch-CMakeLists.txt]
171 --- CMakeLists.txt.orig 2021-09-27 20:09:50 UTC
173 @@ -204,7 +204,7 @@ ELSE ()
174 ENABLE_WARNINGS(extra)
176 IF (CMAKE_SYSTEM_NAME MATCHES "(Solaris|SunOS)")
177 - SET(CMAKE_C_FLAGS "-D_POSIX_C_SOURCE=200112L -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS ${CMAKE_C_FLAGS}")
178 + SET(CMAKE_C_FLAGS "-D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS ${CMAKE_C_FLAGS}")
181 SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG -O0")
184 [FILE:422:patches/patch-deps_ntlmclient_crypt__openssl.c]
185 --- deps/ntlmclient/crypt_openssl.c.orig 2021-09-27 20:09:50 UTC
186 +++ deps/ntlmclient/crypt_openssl.c
187 @@ -44,7 +44,7 @@ static inline void HMAC_CTX_free(HMAC_CT
191 -#if OPENSSL_VERSION_NUMBER >= 0x10100000L || defined(CRYPT_OPENSSL_DYNAMIC)
192 +#if !defined(LIBRESSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER >= 0x10100000L || defined(CRYPT_OPENSSL_DYNAMIC))
194 static inline void HMAC_CTX_cleanup(HMAC_CTX *ctx)
198 [FILE:364:patches/patch-src_unix_posix.h]
199 --- src/unix/posix.h.orig 2021-09-27 20:09:50 UTC
201 @@ -97,6 +97,11 @@ GIT_INLINE(int) p_futimes(int f, const s
202 s[1].tv_nsec = t[1].tv_usec * 1000;
203 return futimens(f, s);
205 +#elif defined __sun__
206 +GIT_INLINE(int) p_futimes(int f, const struct p_timeval t[2])
208 + return futimesat(f, NULL, t);
211 # define p_futimes futimes