1 |
commit: ac69fa3d5bd64b6d798b8ffb4869b646bd5bffa1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 10 06:56:30 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 10 06:58:06 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac69fa3d |
7 |
|
8 |
dev-libs/libgit2: Remove vulnerable 0.27.[12] |
9 |
|
10 |
Bug: https://bugs.gentoo.org/660834 |
11 |
|
12 |
dev-libs/libgit2/Manifest | 2 - |
13 |
dev-libs/libgit2/libgit2-0.27.1.ebuild | 80 ---------------------------------- |
14 |
dev-libs/libgit2/libgit2-0.27.2.ebuild | 80 ---------------------------------- |
15 |
3 files changed, 162 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/libgit2/Manifest b/dev-libs/libgit2/Manifest |
18 |
index 046c245c1f2..2ad164151b7 100644 |
19 |
--- a/dev-libs/libgit2/Manifest |
20 |
+++ b/dev-libs/libgit2/Manifest |
21 |
@@ -1,5 +1,3 @@ |
22 |
DIST libgit2-0.26.4.tar.gz 4733342 BLAKE2B 76dfacbf6df9128625e52f4c554814a971f446a44c9706a915200976f5a873a2add1869c0534360ccad821df11246faacfff43765f311162bcb6afca46088a77 SHA512 c65a0ef8e7ef2dc60d07bced36b8cfd26ce9c40f99978058fc67b30e5bbda8d6b15e26aec7b1277bb277123685e763d106bab175540fceb449bb5b50f776473a |
23 |
DIST libgit2-0.26.5.tar.gz 4734075 BLAKE2B cdc34a5792576d97d8bc8a8c998e610e9c2caab4899f55bfd11da382d73d3061277ac068edd20c8e31d7cf5c3b26ca688fd67eb43ca7b9e0b82413fb04d04b3f SHA512 7dd7c567ad776db76b3514e6532f52841a4279b58dc51b44d39ab53b6911220cb60ee8f37b4c6ad6f369edbbd43a2591cf5f46aca354282f56735c8b215d533b |
24 |
-DIST libgit2-0.27.1.tar.gz 4765926 BLAKE2B 2eb34a621d61b1fb3b770081e27b92d662fd235750fc6ea580ddabeac5cfd20e40a70ce830d45144531c333239d173a322d0de343bb98cc02ce9bfb7822432bf SHA512 4cdee4aec0f0c7b36226ee29276b8802d6b59817f95b1357f35225c23a8d6de70242b2dd9a5fb3b765c3242f4ed1848933e20fc24899071d8b443d46c43ce99d |
25 |
-DIST libgit2-0.27.2.tar.gz 4770842 BLAKE2B 8a46589a17c4bbd0e821412ad259099a77755073736c7ba469a593252160bb1e5601c8b91e1e26e17c11ae3fd6e3d2bf87d22b638b1d473371311487e96ca39b SHA512 4fa2b6c1bb340d5dbc3106ababb630a4634cee2415d478be986d315ef9c659d772574a56f0b8fa77d26bd793aea92893fddf64b5f21d7c965069f928b9ce5cff |
26 |
DIST libgit2-0.27.3.tar.gz 4771877 BLAKE2B a15aed24d0391cf8d5c74329f5064d703def5db1cbf132881279d501d1ba31002367e54171e8a341b75862d327eddb1abebdaeeaee6878a14ad1d8abbbc8402d SHA512 e470050b89289908ec64dafaa954ad9bfc8f557ba7dafcab440d9efde474f736c025d8202bfd81a508070d9cf678f3fb1f3687d72a849ce86edd1ee90ad13c3b |
27 |
|
28 |
diff --git a/dev-libs/libgit2/libgit2-0.27.1.ebuild b/dev-libs/libgit2/libgit2-0.27.1.ebuild |
29 |
deleted file mode 100644 |
30 |
index 456ded8f18d..00000000000 |
31 |
--- a/dev-libs/libgit2/libgit2-0.27.1.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,80 +0,0 @@ |
34 |
-# Copyright 1999-2018 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=6 |
38 |
- |
39 |
-inherit cmake-utils |
40 |
- |
41 |
-if [[ ${PV} == "9999" ]] ; then |
42 |
- EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" |
43 |
- inherit git-r3 |
44 |
-else |
45 |
- SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~ppc-macos" |
47 |
-fi |
48 |
- |
49 |
-DESCRIPTION="A linkable library for Git" |
50 |
-HOMEPAGE="https://libgit2.github.com/" |
51 |
- |
52 |
-LICENSE="GPL-2-with-linking-exception" |
53 |
-SLOT="0/27" |
54 |
-IUSE="+curl examples gssapi libressl +ssh test +threads trace" |
55 |
- |
56 |
-RDEPEND=" |
57 |
- !libressl? ( dev-libs/openssl:0= ) |
58 |
- libressl? ( dev-libs/libressl:0= ) |
59 |
- sys-libs/zlib |
60 |
- net-libs/http-parser:= |
61 |
- curl? ( |
62 |
- !libressl? ( net-misc/curl:=[curl_ssl_openssl(-)] ) |
63 |
- libressl? ( net-misc/curl:=[curl_ssl_libressl(-)] ) |
64 |
- ) |
65 |
- gssapi? ( virtual/krb5 ) |
66 |
- ssh? ( net-libs/libssh2 ) |
67 |
-" |
68 |
-DEPEND="${RDEPEND} |
69 |
- virtual/pkgconfig |
70 |
-" |
71 |
- |
72 |
-DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md ) |
73 |
- |
74 |
-src_prepare() { |
75 |
- # skip online tests |
76 |
- sed -i '/libgit2_clar/s/-ionline/-xonline/' tests/CMakeLists.txt || die |
77 |
- |
78 |
- cmake-utils_src_prepare |
79 |
-} |
80 |
- |
81 |
-src_configure() { |
82 |
- local mycmakeargs=( |
83 |
- -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" |
84 |
- -DBUILD_CLAR=$(usex test) |
85 |
- -DENABLE_TRACE=$(usex trace) |
86 |
- -DUSE_GSSAPI=$(usex gssapi) |
87 |
- -DUSE_SSH=$(usex ssh) |
88 |
- -DTHREADSAFE=$(usex threads) |
89 |
- -DCURL=$(usex curl) |
90 |
- ) |
91 |
- cmake-utils_src_configure |
92 |
-} |
93 |
- |
94 |
-src_test() { |
95 |
- if [[ ${EUID} -eq 0 ]] ; then |
96 |
- # repo::iterator::fs_preserves_error fails if run as root |
97 |
- # since root can still access dirs with 0000 perms |
98 |
- ewarn "Skipping tests: non-root privileges are required for all tests to pass" |
99 |
- else |
100 |
- local TEST_VERBOSE=1 |
101 |
- cmake-utils_src_test |
102 |
- fi |
103 |
-} |
104 |
- |
105 |
-src_install() { |
106 |
- cmake-utils_src_install |
107 |
- |
108 |
- if use examples ; then |
109 |
- find examples -name '.gitignore' -delete || die |
110 |
- dodoc -r examples |
111 |
- docompress -x /usr/share/doc/${PF}/examples |
112 |
- fi |
113 |
-} |
114 |
|
115 |
diff --git a/dev-libs/libgit2/libgit2-0.27.2.ebuild b/dev-libs/libgit2/libgit2-0.27.2.ebuild |
116 |
deleted file mode 100644 |
117 |
index 456ded8f18d..00000000000 |
118 |
--- a/dev-libs/libgit2/libgit2-0.27.2.ebuild |
119 |
+++ /dev/null |
120 |
@@ -1,80 +0,0 @@ |
121 |
-# Copyright 1999-2018 Gentoo Foundation |
122 |
-# Distributed under the terms of the GNU General Public License v2 |
123 |
- |
124 |
-EAPI=6 |
125 |
- |
126 |
-inherit cmake-utils |
127 |
- |
128 |
-if [[ ${PV} == "9999" ]] ; then |
129 |
- EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" |
130 |
- inherit git-r3 |
131 |
-else |
132 |
- SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
133 |
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~ppc-macos" |
134 |
-fi |
135 |
- |
136 |
-DESCRIPTION="A linkable library for Git" |
137 |
-HOMEPAGE="https://libgit2.github.com/" |
138 |
- |
139 |
-LICENSE="GPL-2-with-linking-exception" |
140 |
-SLOT="0/27" |
141 |
-IUSE="+curl examples gssapi libressl +ssh test +threads trace" |
142 |
- |
143 |
-RDEPEND=" |
144 |
- !libressl? ( dev-libs/openssl:0= ) |
145 |
- libressl? ( dev-libs/libressl:0= ) |
146 |
- sys-libs/zlib |
147 |
- net-libs/http-parser:= |
148 |
- curl? ( |
149 |
- !libressl? ( net-misc/curl:=[curl_ssl_openssl(-)] ) |
150 |
- libressl? ( net-misc/curl:=[curl_ssl_libressl(-)] ) |
151 |
- ) |
152 |
- gssapi? ( virtual/krb5 ) |
153 |
- ssh? ( net-libs/libssh2 ) |
154 |
-" |
155 |
-DEPEND="${RDEPEND} |
156 |
- virtual/pkgconfig |
157 |
-" |
158 |
- |
159 |
-DOCS=( AUTHORS CONTRIBUTING.md CONVENTIONS.md README.md ) |
160 |
- |
161 |
-src_prepare() { |
162 |
- # skip online tests |
163 |
- sed -i '/libgit2_clar/s/-ionline/-xonline/' tests/CMakeLists.txt || die |
164 |
- |
165 |
- cmake-utils_src_prepare |
166 |
-} |
167 |
- |
168 |
-src_configure() { |
169 |
- local mycmakeargs=( |
170 |
- -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" |
171 |
- -DBUILD_CLAR=$(usex test) |
172 |
- -DENABLE_TRACE=$(usex trace) |
173 |
- -DUSE_GSSAPI=$(usex gssapi) |
174 |
- -DUSE_SSH=$(usex ssh) |
175 |
- -DTHREADSAFE=$(usex threads) |
176 |
- -DCURL=$(usex curl) |
177 |
- ) |
178 |
- cmake-utils_src_configure |
179 |
-} |
180 |
- |
181 |
-src_test() { |
182 |
- if [[ ${EUID} -eq 0 ]] ; then |
183 |
- # repo::iterator::fs_preserves_error fails if run as root |
184 |
- # since root can still access dirs with 0000 perms |
185 |
- ewarn "Skipping tests: non-root privileges are required for all tests to pass" |
186 |
- else |
187 |
- local TEST_VERBOSE=1 |
188 |
- cmake-utils_src_test |
189 |
- fi |
190 |
-} |
191 |
- |
192 |
-src_install() { |
193 |
- cmake-utils_src_install |
194 |
- |
195 |
- if use examples ; then |
196 |
- find examples -name '.gitignore' -delete || die |
197 |
- dodoc -r examples |
198 |
- docompress -x /usr/share/doc/${PF}/examples |
199 |
- fi |
200 |
-} |