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