Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libressl/, dev-libs/libressl/files/
Date: Fri, 29 Jan 2016 00:27:36
Message-Id: 1454027737.6ace4b68ea5f97705f61941873f504cc3f9ac652.blueness@gentoo
1 commit: 6ace4b68ea5f97705f61941873f504cc3f9ac652
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 29 00:35:37 2016 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 29 00:35:37 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ace4b68
7
8 dev-libs/libressl: remove older unstable versions
9
10 Package-Manager: portage-2.2.26
11
12 dev-libs/libressl/Manifest | 2 -
13 .../libressl/files/libressl-2.2.4-clientcert.patch | 35 ---------------
14 dev-libs/libressl/libressl-2.2.4-r1.ebuild | 50 ----------------------
15 dev-libs/libressl/libressl-2.3.1-r1.ebuild | 50 ----------------------
16 4 files changed, 137 deletions(-)
17
18 diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest
19 index a73912c..314d3a5 100644
20 --- a/dev-libs/libressl/Manifest
21 +++ b/dev-libs/libressl/Manifest
22 @@ -1,5 +1,3 @@
23 -DIST libressl-2.2.4.tar.gz 2966157 SHA256 6b409859be8654afc3862549494e097017e64c8d167f12584383586306ef9a7e SHA512 390fbf4f531976c873a0a1163fd57f33097686c6956ec4d3eb69e8271a4e40abfec76d65172b34ae50af8936dd8b5c3ca5fefee9d8686ca468a5577d432c3fe5 WHIRLPOOL 44d36b582efad0cff8015e507ea7c95befd5a44f2beaf69b534454cee4288681d55390a9d4c41ded8a535f0ad6c210348f365534fe3d82725e6b918a89b99e43
24 DIST libressl-2.2.5.tar.gz 2966527 SHA256 e3caded0469d8dc64f4ca2fe8e499ada4dd014e84d1c5a71818d39e54e6c914b SHA512 501d04cb966260854082d374e60aabde21bcd65a331ff7c76044f2053b22ddab4914710b223b400a3a181873c6af5e2e7da5f04bdd9028fddbf420e259a2863a WHIRLPOOL 47f7d35ceff5004af0c2f79509678c4826eabe05225dbcf5cbe1f9cb358d1657ff288a702e14bfd578fd03e38256d2aa2c79ec724a05c98aa91317e6a9a5f9d4
25 DIST libressl-2.2.6.tar.gz 2965531 SHA256 1ee19994cffd047d40f63ba149115dba18a681b0cc923beec301bf424b58d64f SHA512 41e29431ad9e8b18e2dbc30fe9df1d7be3ca372d5d7757b5b01f8904515bafd5333446957fbc9874f64f384dae56cf6bf29d6808a7c0df1836b55ea64804a4bf WHIRLPOOL 49b6efa211ea4789e51388d3ebfec941dfedad427b806b33d439a7639e09d16e5c9004edc4a4c8e3de63040ebc2fe0a3a3819c68ed674e3bb36bb52b49e75ce5
26 -DIST libressl-2.3.1.tar.gz 3014881 SHA256 410b58db4ebbcab43c3357612e591094f64fb9339269caa2e68728e36f8d589e SHA512 ac70d2f09035d63765bb980422c6c6b55ef07f6af4a93fce54748ff3621cf08ef87acfd438797d562dc21ab9b4862992876792deef9310aafdb927e20e27d453 WHIRLPOOL 52f46016cf07e598b7117de1cc90617982de0ad020b55c4a2b402de317d8b52f8a381c9ebdff787421dccd3e47294305863ceb9f2c1c2a9080818fec16e7e177
27 DIST libressl-2.3.2.tar.gz 3063638 SHA256 80f45fae4859f161b1980cad846d4217417d0c89006ad29c0ea8c88da564a96a SHA512 619acf3e9c670cc5f32aa9e0064e8b72297bfc05c68743c5cb9f7b7332207d05fc43f44ea9652db9b651b301e8ce5dd90777a20a4a25e8145d1f7fa977d782c1 WHIRLPOOL 41a1fb795c05202d03d40d6b7e30831684d659eb970620d410c63d5158320eadec707721b30e29afa6c0c72dbe90d17234f82f34873646f98f83e63baeae093c
28
29 diff --git a/dev-libs/libressl/files/libressl-2.2.4-clientcert.patch b/dev-libs/libressl/files/libressl-2.2.4-clientcert.patch
30 deleted file mode 100644
31 index ac2f88e..0000000
32 --- a/dev-libs/libressl/files/libressl-2.2.4-clientcert.patch
33 +++ /dev/null
34 @@ -1,35 +0,0 @@
35 -untrusted comment: signature from openbsd 5.8 base secret key
36 -RWQNNZXtC/MqP8u13/pPZfTpPeHhU93PG0DBihXvQ7lB0CvONLwoTfHr9f40s515bidPGcGLAH4xu+yz3skT6b3tKETEWZw8BgA=
37 -
38 -OpenBSD 5.8 errata 9, Dec 3, 2015:
39 -
40 -CVE-2015-3194 - NULL pointer dereference in client certificate validation
41 -
42 -Apply by doing:
43 - signify -Vep /etc/signify/openbsd-58-base.pub -x 009_clientcert.patch.sig \
44 - -m - | (cd /usr/src && patch -p0)
45 -
46 -And then rebuild and install libcrypto:
47 - cd /usr/src/lib/libcrypto
48 - make obj
49 - make depend
50 - make
51 - make install
52 -
53 -Index: lib/libssl/src/crypto/rsa/rsa_ameth.c
54 -===================================================================
55 -RCS file: /cvs/src/lib/libssl/src/crypto/rsa/rsa_ameth.c,v
56 -retrieving revision 1.14
57 -retrieving revision 1.14.6.1
58 -diff -u -p -u -p -r1.14 -r1.14.6.1
59 ---- lib/libssl/src/crypto/rsa/rsa_ameth.c 11 Feb 2015 04:05:14 -0000 1.14
60 -+++ lib/libssl/src/crypto/rsa/rsa_ameth.c 4 Dec 2015 04:13:43 -0000 1.14.6.1
61 -@@ -298,7 +298,7 @@ rsa_pss_decode(const X509_ALGOR *alg, X5
62 - if (pss->maskGenAlgorithm) {
63 - ASN1_TYPE *param = pss->maskGenAlgorithm->parameter;
64 - if (OBJ_obj2nid(pss->maskGenAlgorithm->algorithm) == NID_mgf1 &&
65 -- param->type == V_ASN1_SEQUENCE) {
66 -+ param && param->type == V_ASN1_SEQUENCE) {
67 - p = param->value.sequence->data;
68 - plen = param->value.sequence->length;
69 - *pmaskHash = d2i_X509_ALGOR(NULL, &p, plen);
70
71 diff --git a/dev-libs/libressl/libressl-2.2.4-r1.ebuild b/dev-libs/libressl/libressl-2.2.4-r1.ebuild
72 deleted file mode 100644
73 index cbbcb2b..0000000
74 --- a/dev-libs/libressl/libressl-2.2.4-r1.ebuild
75 +++ /dev/null
76 @@ -1,50 +0,0 @@
77 -# Copyright 1999-2015 Gentoo Foundation
78 -# Distributed under the terms of the GNU General Public License v2
79 -# $Id$
80 -
81 -EAPI=5
82 -
83 -inherit eutils multilib-minimal
84 -
85 -DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL"
86 -HOMEPAGE="http://www.libressl.org/"
87 -SRC_URI="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${P}.tar.gz"
88 -
89 -LICENSE="ISC openssl"
90 -SLOT="0/35" # reflects ABI of libcrypto.so and libssl.so
91 -KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
92 -IUSE="+asm static-libs"
93 -
94 -RDEPEND="!dev-libs/openssl:0"
95 -DEPEND="${RDEPEND}"
96 -PDEPEND="app-misc/ca-certificates"
97 -
98 -src_prepare() {
99 - touch crypto/Makefile.in
100 -
101 - epatch "${FILESDIR}"/${P}-clientcert.patch
102 -
103 - sed -i \
104 - -e '/^[ \t]*CFLAGS=/s#-g ##' \
105 - -e '/^[ \t]*CFLAGS=/s#-g"#"#' \
106 - -e '/^[ \t]*CFLAGS=/s#-O2 ##' \
107 - -e '/^[ \t]*CFLAGS=/s#-O2"#"#' \
108 - -e '/^[ \t]*USER_CFLAGS=/s#-O2 ##' \
109 - -e '/^[ \t]*USER_CFLAGS=/s#-O2"#"#' \
110 - configure || die "fixing CFLAGS failed"
111 -}
112 -
113 -multilib_src_configure() {
114 - ECONF_SOURCE="${S}" econf \
115 - $(use_enable asm) \
116 - $(use_enable static-libs static)
117 -}
118 -
119 -multilib_src_test() {
120 - emake check
121 -}
122 -
123 -multilib_src_install_all() {
124 - einstalldocs
125 - prune_libtool_files
126 -}
127
128 diff --git a/dev-libs/libressl/libressl-2.3.1-r1.ebuild b/dev-libs/libressl/libressl-2.3.1-r1.ebuild
129 deleted file mode 100644
130 index 660a329..0000000
131 --- a/dev-libs/libressl/libressl-2.3.1-r1.ebuild
132 +++ /dev/null
133 @@ -1,50 +0,0 @@
134 -# Copyright 1999-2015 Gentoo Foundation
135 -# Distributed under the terms of the GNU General Public License v2
136 -# $Id$
137 -
138 -EAPI=5
139 -
140 -inherit eutils multilib-minimal
141 -
142 -DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL"
143 -HOMEPAGE="http://www.libressl.org/"
144 -SRC_URI="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${P}.tar.gz"
145 -
146 -LICENSE="ISC openssl"
147 -SLOT="0/36" # reflects ABI of libcrypto.so and libssl.so
148 -KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
149 -IUSE="+asm static-libs"
150 -
151 -RDEPEND="!dev-libs/openssl:0"
152 -DEPEND="${RDEPEND}"
153 -PDEPEND="app-misc/ca-certificates"
154 -
155 -src_prepare() {
156 - touch crypto/Makefile.in
157 -
158 - epatch "${FILESDIR}"/${PN}-2.2.4-clientcert.patch
159 -
160 - sed -i \
161 - -e '/^[ \t]*CFLAGS=/s#-g ##' \
162 - -e '/^[ \t]*CFLAGS=/s#-g"#"#' \
163 - -e '/^[ \t]*CFLAGS=/s#-O2 ##' \
164 - -e '/^[ \t]*CFLAGS=/s#-O2"#"#' \
165 - -e '/^[ \t]*USER_CFLAGS=/s#-O2 ##' \
166 - -e '/^[ \t]*USER_CFLAGS=/s#-O2"#"#' \
167 - configure || die "fixing CFLAGS failed"
168 -}
169 -
170 -multilib_src_configure() {
171 - ECONF_SOURCE="${S}" econf \
172 - $(use_enable asm) \
173 - $(use_enable static-libs static)
174 -}
175 -
176 -multilib_src_test() {
177 - emake check
178 -}
179 -
180 -multilib_src_install_all() {
181 - einstalldocs
182 - prune_libtool_files
183 -}