Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/xml-security-c/, dev-libs/xml-security-c/files/
Date: Thu, 18 Apr 2019 13:38:28
Message-Id: 1555594182.ce43db5a7e009685ac3fa8fe7558586a8a5ddb5b.mgorny@gentoo
1 commit: ce43db5a7e009685ac3fa8fe7558586a8a5ddb5b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 18 12:56:44 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 18 13:29:42 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce43db5a
7
8 dev-libs/xml-security-c: Drop old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-libs/xml-security-c/Manifest | 1 -
13 .../xml-security-c-1.6.1-nss-compilation-fix.patch | 13 -------
14 .../files/xml-security-c-1.7.3-fix-c++14.patch | 36 -----------------
15 .../xml-security-c/xml-security-c-1.7.3.ebuild | 45 ----------------------
16 .../xml-security-c/xml-security-c-2.0.2.ebuild | 40 -------------------
17 5 files changed, 135 deletions(-)
18
19 diff --git a/dev-libs/xml-security-c/Manifest b/dev-libs/xml-security-c/Manifest
20 index 0d008450a47..bbb89a08ea1 100644
21 --- a/dev-libs/xml-security-c/Manifest
22 +++ b/dev-libs/xml-security-c/Manifest
23 @@ -1,2 +1 @@
24 -DIST xml-security-c-1.7.3.tar.gz 909320 BLAKE2B 5fa9f3ae53b93104c191b76f8ae4f9dad69c690d409ae3f13864cf011bbbca740c5378c0718abb496811c9814b5a7f237042af22e697bfa2e5044668ff3fbd2d SHA512 ea46709d6706edf345e19132d9998774e50dc7b5947a7b4a55e3627998f5ac66f976fdff0a5015ef3cee73c03c04f3c4cf993efd397082491c2000c6548b89d2
25 DIST xml-security-c-2.0.2.tar.gz 904933 BLAKE2B 8e336dd7539778411755a8d45398daa530a2f602a0d57faa29301d1f0b29ab0a61c3f47ead42b740337ea75a28e03f471ae6735d5cd66d31f56d3d5fe3405b1b SHA512 bebadee2daf27181f5bcc955a909397976e8fd2e67f5e546f5adbede0ca790647cbec9181b0b609da59d525ff3baa9f899af2a3d815bc7a2f3a57bd8b30c011b
26
27 diff --git a/dev-libs/xml-security-c/files/xml-security-c-1.6.1-nss-compilation-fix.patch b/dev-libs/xml-security-c/files/xml-security-c-1.6.1-nss-compilation-fix.patch
28 deleted file mode 100644
29 index 1635d6b8033..00000000000
30 --- a/dev-libs/xml-security-c/files/xml-security-c-1.6.1-nss-compilation-fix.patch
31 +++ /dev/null
32 @@ -1,13 +0,0 @@
33 -diff --git a/xsec/tools/xtest/xtest.cpp b/xsec/tools/xtest/xtest.cpp
34 -index ec40cb2..9cd389e 100644
35 ---- a/xsec/tools/xtest/xtest.cpp
36 -+++ b/xsec/tools/xtest/xtest.cpp
37 -@@ -2566,7 +2566,7 @@ int main(int argc, char **argv) {
38 - }
39 - #endif
40 - #if defined(XSEC_HAVE_NSS)
41 -- else if (stricmp(argv[paramCount], "--nss") == 0 || stricmp(argv[paramCount], "-n") == 0) {
42 -+ else if (_stricmp(argv[paramCount], "--nss") == 0 || _stricmp(argv[paramCount], "-n") == 0) {
43 - g_useNSS = true;
44 - paramCount++;
45 - }
46
47 diff --git a/dev-libs/xml-security-c/files/xml-security-c-1.7.3-fix-c++14.patch b/dev-libs/xml-security-c/files/xml-security-c-1.7.3-fix-c++14.patch
48 deleted file mode 100644
49 index 40783bf21b2..00000000000
50 --- a/dev-libs/xml-security-c/files/xml-security-c-1.7.3-fix-c++14.patch
51 +++ /dev/null
52 @@ -1,36 +0,0 @@
53 -Fix building with C++14, which errors out due to bool -> T* conversions
54 -See also: https://bugs.gentoo.org/show_bug.cgi?id=594234
55 -
56 ---- a/xsec/enc/OpenSSL/OpenSSLCryptoSymmetricKey.hpp
57 -+++ b/xsec/enc/OpenSSL/OpenSSLCryptoSymmetricKey.hpp
58 -@@ -151,7 +151,7 @@
59 - SymmetricKeyMode mode = MODE_CBC,
60 - const unsigned char * iv = NULL,
61 - const unsigned char* tag = NULL,
62 -- unsigned int taglen = NULL);
63 -+ unsigned int taglen = 0);
64 -
65 - /**
66 - * \brief Continue an decrypt operation using this key.
67 ---- a/xsec/enc/XSECCryptoSymmetricKey.hpp
68 -+++ b/xsec/enc/XSECCryptoSymmetricKey.hpp
69 -@@ -185,7 +185,7 @@
70 - SymmetricKeyMode mode = MODE_CBC,
71 - const unsigned char* iv = NULL,
72 - const unsigned char* tag = NULL,
73 -- unsigned int taglen = NULL) = 0;
74 -+ unsigned int taglen = 0) = 0;
75 -
76 - /**
77 - * \brief Continue a decrypt operation using this key.
78 ---- a/xsec/tools/checksig/InteropResolver.cpp
79 -+++ b/xsec/tools/checksig/InteropResolver.cpp
80 -@@ -645,7 +645,7 @@
81 -
82 - }
83 -
84 -- return false;
85 -+ return NULL;
86 -
87 - }
88 -
89
90 diff --git a/dev-libs/xml-security-c/xml-security-c-1.7.3.ebuild b/dev-libs/xml-security-c/xml-security-c-1.7.3.ebuild
91 deleted file mode 100644
92 index 19b14771f99..00000000000
93 --- a/dev-libs/xml-security-c/xml-security-c-1.7.3.ebuild
94 +++ /dev/null
95 @@ -1,45 +0,0 @@
96 -# Copyright 1999-2016 Gentoo Foundation
97 -# Distributed under the terms of the GNU General Public License v2
98 -
99 -EAPI=6
100 -
101 -DESCRIPTION="Apache C++ XML security libraries"
102 -HOMEPAGE="http://santuario.apache.org/"
103 -SRC_URI="mirror://apache/santuario/c-library/${P}.tar.gz"
104 -
105 -LICENSE="Apache-2.0"
106 -SLOT="0"
107 -KEYWORDS="~amd64 ~x86"
108 -
109 -IUSE="debug examples libressl nss static-libs xalan"
110 -
111 -RDEPEND=">=dev-libs/xerces-c-3.1
112 - !libressl? ( dev-libs/openssl:0= )
113 - libressl? ( dev-libs/libressl:0= )
114 - nss? ( dev-libs/nss )
115 - xalan? ( dev-libs/xalan-c )"
116 -DEPEND="${RDEPEND}
117 - virtual/pkgconfig"
118 -
119 -DOCS=( CHANGELOG.txt NOTICE.txt )
120 -PATCHES=(
121 - "${FILESDIR}/${PN}-1.6.1-nss-compilation-fix.patch"
122 - "${FILESDIR}/${PN}-1.7.3-fix-c++14.patch"
123 -)
124 -
125 -src_configure() {
126 - econf \
127 - --with-openssl \
128 - $(use_enable static-libs static) \
129 - $(use_enable debug) \
130 - $(use_with xalan) \
131 - $(use_with nss)
132 -}
133 -
134 -src_install() {
135 - default
136 - if use examples ; then
137 - docinto examples
138 - dodoc xsec/samples/*.cpp
139 - fi
140 -}
141
142 diff --git a/dev-libs/xml-security-c/xml-security-c-2.0.2.ebuild b/dev-libs/xml-security-c/xml-security-c-2.0.2.ebuild
143 deleted file mode 100644
144 index ea768c10d66..00000000000
145 --- a/dev-libs/xml-security-c/xml-security-c-2.0.2.ebuild
146 +++ /dev/null
147 @@ -1,40 +0,0 @@
148 -# Copyright 1999-2018 Gentoo Authors
149 -# Distributed under the terms of the GNU General Public License v2
150 -
151 -EAPI=7
152 -
153 -DESCRIPTION="Apache C++ XML security libraries"
154 -HOMEPAGE="http://santuario.apache.org/"
155 -SRC_URI="mirror://apache/santuario/c-library/${P}.tar.gz"
156 -
157 -LICENSE="Apache-2.0"
158 -SLOT="0"
159 -KEYWORDS="~amd64 ~x86"
160 -IUSE="debug examples libressl nss static-libs xalan"
161 -
162 -RDEPEND=">=dev-libs/xerces-c-3.2
163 - !libressl? ( dev-libs/openssl:0= )
164 - libressl? ( dev-libs/libressl:0= )
165 - nss? ( dev-libs/nss )
166 - xalan? ( dev-libs/xalan-c )"
167 -DEPEND="${RDEPEND}"
168 -BDEPEND="virtual/pkgconfig"
169 -
170 -DOCS=( CHANGELOG.txt NOTICE.txt )
171 -
172 -src_configure() {
173 - econf \
174 - --with-openssl \
175 - $(use_enable static-libs static) \
176 - $(use_enable debug) \
177 - $(use_with xalan) \
178 - $(use_with nss)
179 -}
180 -
181 -src_install() {
182 - default
183 - if use examples ; then
184 - docinto examples
185 - dodoc xsec/samples/*.cpp
186 - fi
187 -}