Ravenports generated: 22 Apr 2020 16:05
[ravenports.git] / bucket_11 / libgit2
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               libgit2
4 VERSION=                1.0.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.0.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=                   cmake pkgconfig python:build ssl zlib solaris-funcs
24
25 LICENSE=                CUSTOM1:single
26 LICENSE_NAME=           CUSTOM1:"libgit2 License - GPLv2 with linking exception"
27 LICENSE_FILE=           CUSTOM1:{{WRKSRC}}/COPYING
28 LICENSE_SCHEME=         solo
29
30 FPC_EQUIVALENT=         devel/libgit2
31 SOL_FUNCTIONS=          mkdtemp:tests/clar/sandbox.h
32
33 PLIST_SUB=              SOVERSION=1.0.0
34                         SOMAJOR=1.0
35
36 CMAKE_ARGS=             -DUSE_SSH=ON
37                         -DTHREADSAFE=ON
38                         -DCURL=ON
39
40 post-install:
41         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgit2.${LIBEXT}
42
43 [FILE:615:descriptions/desc.single]
44 libgit2 is a portable, pure C implementation of the Git core methods 
45 provided as a re-entrant linkable library with a solid API, allowing you 
46 to write native speed custom Git applications in any language which 
47 supports C bindings.
48
49 100% Cross-Platform
50   Linux, BSD, Mac OS X, iOS, Amiga, MinGW and fully native Windows.
51
52 Zero Dependencies
53   Builds out of the box with no dependencies. Works in embedded devices
54   and iOS.
55
56 C89
57   Written with portability in mind. Builds in GCC, Clang and MSVC.
58
59 Permissive Licensing
60   GPLv2 with Linking Exception. Link with open and proprietary software,
61   no strings attached.
62
63
64 [FILE:107:distinfo]
65 6a1fa16a7f6335ce8b2630fbdbb5e57c4027929ebc56fcd1ac55edb141b409b4      5312324 libgit2-libgit2-1.0.0.tar.gz
66
67
68 [FILE:1057:manifests/plist.single]
69 include/git2.h
70 include/git2/
71  annotated_commit.h
72  apply.h
73  attr.h
74  blame.h
75  blob.h
76  branch.h
77  buffer.h
78  cert.h
79  checkout.h
80  cherrypick.h
81  clone.h
82  commit.h
83  common.h
84  config.h
85  cred_helpers.h
86  credential.h
87  credential_helpers.h
88  deprecated.h
89  describe.h
90  diff.h
91  errors.h
92  filter.h
93  global.h
94  graph.h
95  ignore.h
96  index.h
97  indexer.h
98  mailmap.h
99  merge.h
100  message.h
101  net.h
102  notes.h
103  object.h
104  odb.h
105  odb_backend.h
106  oid.h
107  oidarray.h
108  pack.h
109  patch.h
110  pathspec.h
111  proxy.h
112  rebase.h
113  refdb.h
114  reflog.h
115  refs.h
116  refspec.h
117  remote.h
118  repository.h
119  reset.h
120  revert.h
121  revparse.h
122  revwalk.h
123  signature.h
124  stash.h
125  status.h
126  stdint.h
127  strarray.h
128  submodule.h
129  tag.h
130  trace.h
131  transaction.h
132  transport.h
133  tree.h
134  types.h
135  version.h
136  worktree.h
137 include/git2/sys/
138  alloc.h
139  commit.h
140  config.h
141  cred.h
142  credential.h
143  diff.h
144  filter.h
145  hashsig.h
146  index.h
147  mempack.h
148  merge.h
149  odb_backend.h
150  openssl.h
151  path.h
152  refdb_backend.h
153  reflog.h
154  refs.h
155  repository.h
156  stream.h
157  transport.h
158 lib/
159  libgit2.so
160  libgit2.so.%%SOMAJOR%%
161  libgit2.so.%%SOVERSION%%
162 lib/pkgconfig/libgit2.pc
163
164
165 [FILE:446:patches/patch-CMakeLists.txt]
166 --- CMakeLists.txt.orig 2020-04-01 13:49:12 UTC
167 +++ CMakeLists.txt
168 @@ -212,7 +212,7 @@ ELSE ()
169         ENABLE_WARNINGS(extra)
170  
171         IF (CMAKE_SYSTEM_NAME MATCHES "(Solaris|SunOS)")
172 -               SET(CMAKE_C_FLAGS "-D_POSIX_C_SOURCE=200112L -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS ${CMAKE_C_FLAGS}")
173 +               SET(CMAKE_C_FLAGS "-D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS ${CMAKE_C_FLAGS}")
174         ENDIF()
175  
176         SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG -O0")
177
178
179 [FILE:347:patches/patch-deps_ntlmclient_compat.h]
180 --- deps/ntlmclient/compat.h.orig       2020-04-01 13:49:12 UTC
181 +++ deps/ntlmclient/compat.h
182 @@ -29,7 +29,7 @@
183  /* See man page htobe64(3) */
184  # include <endian.h>
185  # define htonll htobe64
186 -#elif defined(__FreeBSD__)
187 +#elif defined(__FreeBSD__) || defined(__DragonFly__)
188  /* See man page bwaps64(9) */
189  # include <sys/endian.h>
190  # define htonll htobe64
191
192
193 [FILE:364:patches/patch-src_unix_posix.h]
194 --- src/unix/posix.h.orig       2020-04-01 13:49:12 UTC
195 +++ src/unix/posix.h
196 @@ -85,6 +85,11 @@ GIT_INLINE(int) p_futimes(int f, const s
197         s[1].tv_nsec = t[1].tv_usec * 1000;
198         return futimens(f, s);
199  }
200 +#elif defined __sun__
201 +GIT_INLINE(int) p_futimes(int f, const struct p_timeval t[2])
202 +{
203 +       return futimesat(f, NULL, t);
204 +}
205  #else
206  # define p_futimes futimes
207  #endif
208