Ravenports generated: 06 Nov 2021 01:33
[ravenports.git] / bucket_11 / libgit2
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               libgit2
4 VERSION=                1.3.0
5 KEYWORDS=               devel
6 VARIANTS=               standard
7 SDESC[standard]=        Library providing Git core methods
8 HOMEPAGE=               https://libgit2.github.com/
9 CONTACT=                John_Marino[draco@marino.st]
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GITHUB/libgit2:libgit2:v1.3.0
13 DISTFILE[1]=            generated:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 BUILDRUN_DEPENDS=       libssh2:single:standard
21                         curl:primary:standard
22
23 USES=                   cpe cmake pkgconfig python:build ssl zlib
24                         solaris-funcs
25
26 LICENSE=                CUSTOM1:single
27 LICENSE_NAME=           CUSTOM1:"libgit2 License - GPLv2 with linking exception"
28 LICENSE_FILE=           CUSTOM1:{{WRKSRC}}/COPYING
29 LICENSE_SCHEME=         solo
30
31 FPC_EQUIVALENT=         devel/libgit2
32 SOL_FUNCTIONS=          mkdtemp:tests/clar/sandbox.h
33
34 PLIST_SUB=              SOVERSION=1.3.0
35                         SOMAJOR=1.3
36
37 CMAKE_ARGS=             -DUSE_SSH=ON
38                         -DTHREADSAFE=ON
39                         -DCURL=ON
40
41 post-install:
42         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgit2.${LIBEXT}
43
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 
48 supports C bindings.
49
50 100% Cross-Platform
51   Linux, BSD, Mac OS X, iOS, Amiga, MinGW and fully native Windows.
52
53 Zero Dependencies
54   Builds out of the box with no dependencies. Works in embedded devices
55   and iOS.
56
57 C89
58   Written with portability in mind. Builds in GCC, Clang and MSVC.
59
60 Permissive Licensing
61   GPLv2 with Linking Exception. Link with open and proprietary software,
62   no strings attached.
63
64
65 [FILE:107:distinfo]
66 192eeff84596ff09efb6b01835a066f2df7cd7985e0991c79595688e6b36444e      5599575 libgit2-libgit2-1.3.0.tar.gz
67
68
69 [FILE:1099:manifests/plist.single]
70 include/git2.h
71 include/git2/
72  annotated_commit.h
73  apply.h
74  attr.h
75  blame.h
76  blob.h
77  branch.h
78  buffer.h
79  cert.h
80  checkout.h
81  cherrypick.h
82  clone.h
83  commit.h
84  common.h
85  config.h
86  cred_helpers.h
87  credential.h
88  credential_helpers.h
89  deprecated.h
90  describe.h
91  diff.h
92  email.h
93  errors.h
94  filter.h
95  global.h
96  graph.h
97  ignore.h
98  index.h
99  indexer.h
100  mailmap.h
101  merge.h
102  message.h
103  net.h
104  notes.h
105  object.h
106  odb.h
107  odb_backend.h
108  oid.h
109  oidarray.h
110  pack.h
111  patch.h
112  pathspec.h
113  proxy.h
114  rebase.h
115  refdb.h
116  reflog.h
117  refs.h
118  refspec.h
119  remote.h
120  repository.h
121  reset.h
122  revert.h
123  revparse.h
124  revwalk.h
125  signature.h
126  stash.h
127  status.h
128  stdint.h
129  strarray.h
130  submodule.h
131  tag.h
132  trace.h
133  transaction.h
134  transport.h
135  tree.h
136  types.h
137  version.h
138  worktree.h
139 include/git2/sys/
140  alloc.h
141  commit.h
142  commit_graph.h
143  config.h
144  cred.h
145  credential.h
146  diff.h
147  email.h
148  filter.h
149  hashsig.h
150  index.h
151  mempack.h
152  merge.h
153  midx.h
154  odb_backend.h
155  openssl.h
156  path.h
157  refdb_backend.h
158  reflog.h
159  refs.h
160  repository.h
161  stream.h
162  transport.h
163 lib/
164  libgit2.so
165  libgit2.so.%%SOMAJOR%%
166  libgit2.so.%%SOVERSION%%
167 lib/pkgconfig/libgit2.pc
168
169
170 [FILE:446:patches/patch-CMakeLists.txt]
171 --- CMakeLists.txt.orig 2021-09-27 20:09:50 UTC
172 +++ CMakeLists.txt
173 @@ -204,7 +204,7 @@ ELSE ()
174         ENABLE_WARNINGS(extra)
175  
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}")
179         ENDIF()
180  
181         SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG -O0")
182
183
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
188  
189  #endif
190  
191 -#if OPENSSL_VERSION_NUMBER >= 0x10100000L || defined(CRYPT_OPENSSL_DYNAMIC)
192 +#if !defined(LIBRESSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER >= 0x10100000L || defined(CRYPT_OPENSSL_DYNAMIC))
193  
194  static inline void HMAC_CTX_cleanup(HMAC_CTX *ctx)
195  {
196
197
198 [FILE:364:patches/patch-src_unix_posix.h]
199 --- src/unix/posix.h.orig       2021-09-27 20:09:50 UTC
200 +++ src/unix/posix.h
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);
204  }
205 +#elif defined __sun__
206 +GIT_INLINE(int) p_futimes(int f, const struct p_timeval t[2])
207 +{
208 +       return futimesat(f, NULL, t);
209 +}
210  #else
211  # define p_futimes futimes
212  #endif
213