1 |
commit: 51c45433eede6cf19e6f2cbf8e15f53022171fb1 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 31 18:50:30 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 31 18:52:06 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51c45433 |
7 |
|
8 |
Revert "dev-libs/libgit2: Drop old versions" |
9 |
|
10 |
This reverts commit 5d0f06ce3e364092335d55a21092eb44ae5e5fe6. |
11 |
|
12 |
dev-util/geany-plugins depends on <dev-libs/libgit2-1.4.0. |
13 |
|
14 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
15 |
|
16 |
dev-libs/libgit2/Manifest | 3 ++ |
17 |
dev-libs/libgit2/libgit2-1.3.0.ebuild | 72 ++++++++++++++++++++++++++++++ |
18 |
dev-libs/libgit2/libgit2-1.3.1.ebuild | 76 ++++++++++++++++++++++++++++++++ |
19 |
dev-libs/libgit2/libgit2-1.4.2-r1.ebuild | 71 +++++++++++++++++++++++++++++ |
20 |
dev-libs/libgit2/libgit2-1.4.2.ebuild | 71 +++++++++++++++++++++++++++++ |
21 |
5 files changed, 293 insertions(+) |
22 |
|
23 |
diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest |
24 |
index e41974db83ca..a03940ed6a97 100644 |
25 |
--- a/dev-libs/libgit2/Manifest |
26 |
+++ b/dev-libs/libgit2/Manifest |
27 |
@@ -1 +1,4 @@ |
28 |
+DIST libgit2-1.3.0.tar.gz 5599575 BLAKE2B b701c105bb0a5bdcdd5ed1db180662ad4949c540944664d5d8c2f5d78998f15d15bd3669ae3e3d43bfa1b81207c0a94b7e49fc76e57f4cc8ef791ab26e62fc70 SHA512 842a648a67ff23ba9e6bf14b706ba9081164866e14000ebf3858442b7046925f05e1dbf00a7d740dc4bf32280e260730e23a9492e817094aa90736ae335ee76e |
29 |
+DIST libgit2-1.3.1.tar.gz 5602265 BLAKE2B ecf1fb30fbc40b09edcd3862d0831bc7d4d1da1aa8e738c78cf77bda5a0bd5d9c6a60fe7ce9827e058c04ac88d89a7d6c05c54c01bd77d1a8b0b091495bbf871 SHA512 012ffda7e8b9557923758fdbe68869875977d419bfa60b61f90adadc056600e2b1cc2db1c2a003315ea0e193c0145c1f431054f7bd960c5e6e14fa541e46cba3 |
30 |
+DIST libgit2-1.4.2.tar.gz 5629585 BLAKE2B 61e269fd08beb9579838a13b661b4270f1e8d2d3d1e67f6b8357e92a5ee4aaccbe637644dc87cc8b04d9c181e37808352077b75fed8753a4b2d8868eaf248b62 SHA512 144bec7f8e66d97b20335d87d1eb68d522f5e59064b0c557505c088d3c486d45704f023d701f51de572efa8e2eb111e3136eb5d23c035e29d16698206b5ec277 |
31 |
DIST libgit2-1.4.3.tar.gz 5631981 BLAKE2B 9308100ede912eae9d1fa4011c67f88f225aa11a49adf845389559fcbc213f31b0f91e4a5b496d282d42ac7f843f03c4ef7236f2d200331c615013d1250f6c31 SHA512 3dfa16c1c705b99fbda55e5e86e67703621d6f8fb62a03cfe998c834d242f33f4200fc0b6bc5d32fe5254c8b8e845259688e4bea9c2dbfc2b7df91841c335d28 |
32 |
|
33 |
diff --git a/dev-libs/libgit2/libgit2-1.3.0.ebuild b/dev-libs/libgit2/libgit2-1.3.0.ebuild |
34 |
new file mode 100644 |
35 |
index 000000000000..573a05a4d9b0 |
36 |
--- /dev/null |
37 |
+++ b/dev-libs/libgit2/libgit2-1.3.0.ebuild |
38 |
@@ -0,0 +1,72 @@ |
39 |
+# Copyright 1999-2021 Gentoo Authors |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+ |
42 |
+EAPI=8 |
43 |
+ |
44 |
+PYTHON_COMPAT=( python3_{8..10} ) |
45 |
+inherit cmake python-any-r1 |
46 |
+ |
47 |
+DESCRIPTION="A linkable library for Git" |
48 |
+HOMEPAGE="https://libgit2.org" |
49 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
50 |
+S=${WORKDIR}/${P/_/-} |
51 |
+ |
52 |
+LICENSE="GPL-2-with-linking-exception" |
53 |
+SLOT="0/$(ver_cut 1-2)" |
54 |
+KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86 ~ppc-macos" |
55 |
+IUSE="examples gssapi +ssh test +threads trace" |
56 |
+RESTRICT="!test? ( test )" |
57 |
+ |
58 |
+RDEPEND=" |
59 |
+ dev-libs/libpcre:= |
60 |
+ net-libs/http-parser:= |
61 |
+ sys-libs/zlib |
62 |
+ dev-libs/openssl:0= |
63 |
+ gssapi? ( virtual/krb5 ) |
64 |
+ ssh? ( net-libs/libssh2 ) |
65 |
+" |
66 |
+DEPEND="${RDEPEND}" |
67 |
+BDEPEND=" |
68 |
+ ${PYTHON_DEPS} |
69 |
+ virtual/pkgconfig |
70 |
+" |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ cmake_src_prepare |
74 |
+ # relying on forked http-parser to support some obscure URI form |
75 |
+ sed -i -e '/empty_port/s:test:_&:' tests/network/url/parse.c || die |
76 |
+} |
77 |
+ |
78 |
+src_configure() { |
79 |
+ local mycmakeargs=( |
80 |
+ -DBUILD_CLAR=$(usex test) |
81 |
+ -DENABLE_TRACE=$(usex trace ON OFF) |
82 |
+ -DUSE_GSSAPI=$(usex gssapi ON OFF) |
83 |
+ -DUSE_SSH=$(usex ssh) |
84 |
+ -DTHREADSAFE=$(usex threads) |
85 |
+ -DUSE_HTTP_PARSER=system |
86 |
+ ) |
87 |
+ cmake_src_configure |
88 |
+} |
89 |
+ |
90 |
+src_test() { |
91 |
+ if [[ ${EUID} -eq 0 ]] ; then |
92 |
+ # repo::iterator::fs_preserves_error fails if run as root |
93 |
+ # since root can still access dirs with 0000 perms |
94 |
+ ewarn "Skipping tests: non-root privileges are required for all tests to pass" |
95 |
+ else |
96 |
+ local TEST_VERBOSE=1 |
97 |
+ cmake_src_test -R offline |
98 |
+ fi |
99 |
+} |
100 |
+ |
101 |
+src_install() { |
102 |
+ cmake_src_install |
103 |
+ dodoc docs/*.{md,txt} |
104 |
+ |
105 |
+ if use examples ; then |
106 |
+ find examples -name '.gitignore' -delete || die |
107 |
+ dodoc -r examples |
108 |
+ docompress -x /usr/share/doc/${PF}/examples |
109 |
+ fi |
110 |
+} |
111 |
|
112 |
diff --git a/dev-libs/libgit2/libgit2-1.3.1.ebuild b/dev-libs/libgit2/libgit2-1.3.1.ebuild |
113 |
new file mode 100644 |
114 |
index 000000000000..6dcf108bf85f |
115 |
--- /dev/null |
116 |
+++ b/dev-libs/libgit2/libgit2-1.3.1.ebuild |
117 |
@@ -0,0 +1,76 @@ |
118 |
+# Copyright 1999-2022 Gentoo Authors |
119 |
+# Distributed under the terms of the GNU General Public License v2 |
120 |
+ |
121 |
+EAPI=8 |
122 |
+ |
123 |
+PYTHON_COMPAT=( python3_{8..10} ) |
124 |
+inherit cmake python-any-r1 |
125 |
+ |
126 |
+DESCRIPTION="A linkable library for Git" |
127 |
+HOMEPAGE="https://libgit2.org/" |
128 |
+SRC_URI=" |
129 |
+ https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
130 |
+" |
131 |
+S=${WORKDIR}/${P/_/-} |
132 |
+ |
133 |
+LICENSE="GPL-2-with-linking-exception" |
134 |
+SLOT="0/$(ver_cut 1-2)" |
135 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~ppc-macos" |
136 |
+IUSE="examples gssapi +ssh test +threads trace" |
137 |
+RESTRICT="!test? ( test )" |
138 |
+ |
139 |
+RDEPEND=" |
140 |
+ dev-libs/libpcre:= |
141 |
+ net-libs/http-parser:= |
142 |
+ sys-libs/zlib |
143 |
+ dev-libs/openssl:0= |
144 |
+ gssapi? ( virtual/krb5 ) |
145 |
+ ssh? ( net-libs/libssh2 ) |
146 |
+" |
147 |
+DEPEND=" |
148 |
+ ${RDEPEND} |
149 |
+" |
150 |
+BDEPEND=" |
151 |
+ ${PYTHON_DEPS} |
152 |
+ virtual/pkgconfig |
153 |
+" |
154 |
+ |
155 |
+src_prepare() { |
156 |
+ cmake_src_prepare |
157 |
+ # relying on forked http-parser to support some obscure URI form |
158 |
+ sed -i -e '/empty_port/s:test:_&:' tests/network/url/parse.c || die |
159 |
+} |
160 |
+ |
161 |
+src_configure() { |
162 |
+ local mycmakeargs=( |
163 |
+ -DBUILD_CLAR=$(usex test) |
164 |
+ -DENABLE_TRACE=$(usex trace ON OFF) |
165 |
+ -DUSE_GSSAPI=$(usex gssapi ON OFF) |
166 |
+ -DUSE_SSH=$(usex ssh) |
167 |
+ -DTHREADSAFE=$(usex threads) |
168 |
+ -DUSE_HTTP_PARSER=system |
169 |
+ ) |
170 |
+ cmake_src_configure |
171 |
+} |
172 |
+ |
173 |
+src_test() { |
174 |
+ if [[ ${EUID} -eq 0 ]] ; then |
175 |
+ # repo::iterator::fs_preserves_error fails if run as root |
176 |
+ # since root can still access dirs with 0000 perms |
177 |
+ ewarn "Skipping tests: non-root privileges are required for all tests to pass" |
178 |
+ else |
179 |
+ local TEST_VERBOSE=1 |
180 |
+ cmake_src_test -R offline |
181 |
+ fi |
182 |
+} |
183 |
+ |
184 |
+src_install() { |
185 |
+ cmake_src_install |
186 |
+ dodoc docs/*.{md,txt} |
187 |
+ |
188 |
+ if use examples ; then |
189 |
+ find examples -name '.gitignore' -delete || die |
190 |
+ dodoc -r examples |
191 |
+ docompress -x /usr/share/doc/${PF}/examples |
192 |
+ fi |
193 |
+} |
194 |
|
195 |
diff --git a/dev-libs/libgit2/libgit2-1.4.2-r1.ebuild b/dev-libs/libgit2/libgit2-1.4.2-r1.ebuild |
196 |
new file mode 100644 |
197 |
index 000000000000..1e4d9b1196a3 |
198 |
--- /dev/null |
199 |
+++ b/dev-libs/libgit2/libgit2-1.4.2-r1.ebuild |
200 |
@@ -0,0 +1,71 @@ |
201 |
+# Copyright 1999-2022 Gentoo Authors |
202 |
+# Distributed under the terms of the GNU General Public License v2 |
203 |
+ |
204 |
+EAPI=8 |
205 |
+ |
206 |
+PYTHON_COMPAT=( python3_{8..10} ) |
207 |
+inherit cmake python-any-r1 |
208 |
+ |
209 |
+DESCRIPTION="A linkable library for Git" |
210 |
+HOMEPAGE="https://libgit2.org" |
211 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
212 |
+S=${WORKDIR}/${P/_/-} |
213 |
+ |
214 |
+LICENSE="GPL-2-with-linking-exception" |
215 |
+SLOT="0/$(ver_cut 1-2)" |
216 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~ppc-macos" |
217 |
+IUSE="examples gssapi +ssh test +threads trace" |
218 |
+RESTRICT="!test? ( test )" |
219 |
+ |
220 |
+RDEPEND=" |
221 |
+ dev-libs/libpcre2:= |
222 |
+ net-libs/http-parser:= |
223 |
+ sys-libs/zlib |
224 |
+ dev-libs/openssl:0= |
225 |
+ gssapi? ( virtual/krb5 ) |
226 |
+ ssh? ( net-libs/libssh2 ) |
227 |
+" |
228 |
+DEPEND="${RDEPEND}" |
229 |
+BDEPEND=" |
230 |
+ ${PYTHON_DEPS} |
231 |
+ virtual/pkgconfig |
232 |
+" |
233 |
+ |
234 |
+src_prepare() { |
235 |
+ cmake_src_prepare |
236 |
+ # relying on forked http-parser to support some obscure URI form |
237 |
+ sed -i -e '/empty_port/s:test:_&:' tests/network/url/parse.c || die |
238 |
+} |
239 |
+ |
240 |
+src_configure() { |
241 |
+ local mycmakeargs=( |
242 |
+ -DBUILD_TESTS=$(usex test) |
243 |
+ -DUSE_SSH=$(usex ssh) |
244 |
+ -DUSE_GSSAPI=$(usex gssapi ON OFF) |
245 |
+ -DUSE_HTTP_PARSER=system |
246 |
+ -DREGEX_BACKEND=pcre2 |
247 |
+ ) |
248 |
+ cmake_src_configure |
249 |
+} |
250 |
+ |
251 |
+src_test() { |
252 |
+ if [[ ${EUID} -eq 0 ]] ; then |
253 |
+ # repo::iterator::fs_preserves_error fails if run as root |
254 |
+ # since root can still access dirs with 0000 perms |
255 |
+ ewarn "Skipping tests: non-root privileges are required for all tests to pass" |
256 |
+ else |
257 |
+ local TEST_VERBOSE=1 |
258 |
+ cmake_src_test -R offline |
259 |
+ fi |
260 |
+} |
261 |
+ |
262 |
+src_install() { |
263 |
+ cmake_src_install |
264 |
+ dodoc docs/*.{md,txt} |
265 |
+ |
266 |
+ if use examples ; then |
267 |
+ find examples -name '.gitignore' -delete || die |
268 |
+ dodoc -r examples |
269 |
+ docompress -x /usr/share/doc/${PF}/examples |
270 |
+ fi |
271 |
+} |
272 |
|
273 |
diff --git a/dev-libs/libgit2/libgit2-1.4.2.ebuild b/dev-libs/libgit2/libgit2-1.4.2.ebuild |
274 |
new file mode 100644 |
275 |
index 000000000000..c607c9e82f59 |
276 |
--- /dev/null |
277 |
+++ b/dev-libs/libgit2/libgit2-1.4.2.ebuild |
278 |
@@ -0,0 +1,71 @@ |
279 |
+# Copyright 1999-2022 Gentoo Authors |
280 |
+# Distributed under the terms of the GNU General Public License v2 |
281 |
+ |
282 |
+EAPI=8 |
283 |
+ |
284 |
+PYTHON_COMPAT=( python3_{8..10} ) |
285 |
+inherit cmake python-any-r1 |
286 |
+ |
287 |
+DESCRIPTION="A linkable library for Git" |
288 |
+HOMEPAGE="https://libgit2.org" |
289 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
290 |
+S=${WORKDIR}/${P/_/-} |
291 |
+ |
292 |
+LICENSE="GPL-2-with-linking-exception" |
293 |
+SLOT="0/$(ver_cut 1-2)" |
294 |
+KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86 ~ppc-macos" |
295 |
+IUSE="examples gssapi +ssh test +threads trace" |
296 |
+RESTRICT="!test? ( test )" |
297 |
+ |
298 |
+RDEPEND=" |
299 |
+ dev-libs/libpcre:= |
300 |
+ net-libs/http-parser:= |
301 |
+ sys-libs/zlib |
302 |
+ dev-libs/openssl:0= |
303 |
+ gssapi? ( virtual/krb5 ) |
304 |
+ ssh? ( net-libs/libssh2 ) |
305 |
+" |
306 |
+DEPEND="${RDEPEND}" |
307 |
+BDEPEND=" |
308 |
+ ${PYTHON_DEPS} |
309 |
+ virtual/pkgconfig |
310 |
+" |
311 |
+ |
312 |
+src_prepare() { |
313 |
+ cmake_src_prepare |
314 |
+ # relying on forked http-parser to support some obscure URI form |
315 |
+ sed -i -e '/empty_port/s:test:_&:' tests/network/url/parse.c || die |
316 |
+} |
317 |
+ |
318 |
+src_configure() { |
319 |
+ local mycmakeargs=( |
320 |
+ -DBUILD_TESTS=$(usex test) |
321 |
+ -DUSE_SSH=$(usex ssh) |
322 |
+ -DUSE_GSSAPI=$(usex gssapi ON OFF) |
323 |
+ -DUSE_HTTP_PARSER=system |
324 |
+ -DREGEX_BACKEND=pcre |
325 |
+ ) |
326 |
+ cmake_src_configure |
327 |
+} |
328 |
+ |
329 |
+src_test() { |
330 |
+ if [[ ${EUID} -eq 0 ]] ; then |
331 |
+ # repo::iterator::fs_preserves_error fails if run as root |
332 |
+ # since root can still access dirs with 0000 perms |
333 |
+ ewarn "Skipping tests: non-root privileges are required for all tests to pass" |
334 |
+ else |
335 |
+ local TEST_VERBOSE=1 |
336 |
+ cmake_src_test -R offline |
337 |
+ fi |
338 |
+} |
339 |
+ |
340 |
+src_install() { |
341 |
+ cmake_src_install |
342 |
+ dodoc docs/*.{md,txt} |
343 |
+ |
344 |
+ if use examples ; then |
345 |
+ find examples -name '.gitignore' -delete || die |
346 |
+ dodoc -r examples |
347 |
+ docompress -x /usr/share/doc/${PF}/examples |
348 |
+ fi |
349 |
+} |