1 |
commit: f4dfb5e18f9a60719c293881ae9d851fa6112b29 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 3 22:16:10 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 3 22:19:22 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4dfb5e1 |
7 |
|
8 |
dev-java/gnu-classpath-inetlib: Remove last-rited pkg |
9 |
|
10 |
Closes: https://bugs.gentoo.org/553186 |
11 |
|
12 |
dev-java/gnu-classpath-inetlib/Manifest | 2 - |
13 |
.../files/gnu-classpath-inetlib-1.0-jdk15.patch | 64 ---------------- |
14 |
.../files/gnu-classpath-inetlib-1.1-jdk15.patch | 87 ---------------------- |
15 |
.../gnu-classpath-inetlib-1.0-r3.ebuild | 63 ---------------- |
16 |
.../gnu-classpath-inetlib-1.1-r3.ebuild | 57 -------------- |
17 |
dev-java/gnu-classpath-inetlib/metadata.xml | 15 ---- |
18 |
profiles/package.mask | 1 - |
19 |
7 files changed, 289 deletions(-) |
20 |
|
21 |
diff --git a/dev-java/gnu-classpath-inetlib/Manifest b/dev-java/gnu-classpath-inetlib/Manifest |
22 |
deleted file mode 100644 |
23 |
index 8f66244d852..00000000000 |
24 |
--- a/dev-java/gnu-classpath-inetlib/Manifest |
25 |
+++ /dev/null |
26 |
@@ -1,2 +0,0 @@ |
27 |
-DIST inetlib-1.0.tar.gz 151002 SHA256 f59a46051b01dd01f04d0cc677d95a6c02b3389787d59a63b0f74bef20f887f8 SHA512 f3efa679d4f09d65025b3a903bb94eeced6470fff4414a1a1dc00985f644855bef9aaf5015c24c4321a6088e5ca48ced2177548f11dc84c07b4e5281b9709ede WHIRLPOOL 8f79486a4c11926ab9063a25efe411c39adebe377c93a8bc2484fc09907ed97455f231778d462aaae5fb8830da1d39d9a00cdbdc50e83905df4e9bc1491399d8 |
28 |
-DIST inetlib-1.1.tar.gz 177251 SHA256 2b30cad60f3136b04f9ae4a906da8ac964654dacd3281097ec3558e67c9a51a0 SHA512 0ebc112bc8758ca8da23797d71d91d386896be6105cc1a40448445e59a6cdc43dc5dcd84f8b69332d7b7eaf11efd474588cadcb68f7356f2aa40657aaf62147b WHIRLPOOL 48bc55ac1b102c81f3de0d1e943ff51731e963b5cd9ac080a91a99f3da7ed48966deb034f4c863d722aef0461ff96f153dccb62c1edced5ac7c8c1897bb0b5d6 |
29 |
|
30 |
diff --git a/dev-java/gnu-classpath-inetlib/files/gnu-classpath-inetlib-1.0-jdk15.patch b/dev-java/gnu-classpath-inetlib/files/gnu-classpath-inetlib-1.0-jdk15.patch |
31 |
deleted file mode 100644 |
32 |
index c6db3e2f695..00000000000 |
33 |
--- a/dev-java/gnu-classpath-inetlib/files/gnu-classpath-inetlib-1.0-jdk15.patch |
34 |
+++ /dev/null |
35 |
@@ -1,64 +0,0 @@ |
36 |
-diff -uNr inetlib-1.0.orig/source/gnu/inet/imap/IMAPConnection.java inetlib-1.0/source/gnu/inet/imap/IMAPConnection.java |
37 |
---- inetlib-1.0.orig/source/gnu/inet/imap/IMAPConnection.java 2006-09-19 13:18:21.512067374 +0200 |
38 |
-+++ inetlib-1.0/source/gnu/inet/imap/IMAPConnection.java 2006-09-19 13:19:07.024373510 +0200 |
39 |
-@@ -45,7 +45,6 @@ |
40 |
- import java.util.Iterator; |
41 |
- import java.util.List; |
42 |
- import java.util.Map; |
43 |
--import java.util.Properties; |
44 |
- |
45 |
- import javax.net.ssl.SSLContext; |
46 |
- import javax.net.ssl.SSLSocket; |
47 |
-@@ -555,7 +554,7 @@ |
48 |
- String[] m = new String[] { mechanism }; |
49 |
- CallbackHandler ch = new SaslCallbackHandler(username, password); |
50 |
- // Avoid lengthy callback procedure for GNU Crypto |
51 |
-- Properties p = new Properties(); |
52 |
-+ HashMap p = new HashMap(); |
53 |
- p.put("gnu.crypto.sasl.username", username); |
54 |
- p.put("gnu.crypto.sasl.password", password); |
55 |
- SaslClient sasl = Sasl.createSaslClient(m, null, "smtp", |
56 |
-diff -uNr inetlib-1.0.orig/source/gnu/inet/pop3/POP3Connection.java inetlib-1.0/source/gnu/inet/pop3/POP3Connection.java |
57 |
---- inetlib-1.0.orig/source/gnu/inet/pop3/POP3Connection.java 2006-09-19 13:18:21.531064997 +0200 |
58 |
-+++ inetlib-1.0/source/gnu/inet/pop3/POP3Connection.java 2006-09-19 13:20:28.841137790 +0200 |
59 |
-@@ -39,8 +39,8 @@ |
60 |
- import java.security.MessageDigest; |
61 |
- import java.security.NoSuchAlgorithmException; |
62 |
- import java.util.ArrayList; |
63 |
-+import java.util.HashMap; |
64 |
- import java.util.List; |
65 |
--import java.util.Properties; |
66 |
- |
67 |
- import javax.net.ssl.SSLContext; |
68 |
- import javax.net.ssl.SSLSocket; |
69 |
-@@ -220,7 +220,7 @@ |
70 |
- String[] m = new String[] { mechanism }; |
71 |
- CallbackHandler ch = new SaslCallbackHandler (username, password); |
72 |
- // Avoid lengthy callback procedure for GNU Crypto |
73 |
-- Properties p = new Properties (); |
74 |
-+ HashMap p = new HashMap(); |
75 |
- p.put ("gnu.crypto.sasl.username", username); |
76 |
- p.put ("gnu.crypto.sasl.password", password); |
77 |
- SaslClient sasl = |
78 |
-diff -uNr inetlib-1.0.orig/source/gnu/inet/smtp/SMTPConnection.java inetlib-1.0/source/gnu/inet/smtp/SMTPConnection.java |
79 |
---- inetlib-1.0.orig/source/gnu/inet/smtp/SMTPConnection.java 2006-09-19 13:18:21.533064747 +0200 |
80 |
-+++ inetlib-1.0/source/gnu/inet/smtp/SMTPConnection.java 2006-09-19 13:21:16.996113371 +0200 |
81 |
-@@ -37,8 +37,8 @@ |
82 |
- import java.security.GeneralSecurityException; |
83 |
- import java.util.ArrayList; |
84 |
- import java.util.Collections; |
85 |
-+import java.util.HashMap; |
86 |
- import java.util.List; |
87 |
--import java.util.Properties; |
88 |
- |
89 |
- import javax.net.ssl.SSLContext; |
90 |
- import javax.net.ssl.SSLSocket; |
91 |
-@@ -567,7 +567,7 @@ |
92 |
- String[] m = new String[] { mechanism }; |
93 |
- CallbackHandler ch = new SaslCallbackHandler (username, password); |
94 |
- // Avoid lengthy callback procedure for GNU Crypto |
95 |
-- Properties p = new Properties (); |
96 |
-+ HashMap p = new HashMap(); |
97 |
- p.put ("gnu.crypto.sasl.username", username); |
98 |
- p.put ("gnu.crypto.sasl.password", password); |
99 |
- SaslClient sasl = |
100 |
|
101 |
diff --git a/dev-java/gnu-classpath-inetlib/files/gnu-classpath-inetlib-1.1-jdk15.patch b/dev-java/gnu-classpath-inetlib/files/gnu-classpath-inetlib-1.1-jdk15.patch |
102 |
deleted file mode 100644 |
103 |
index e717fd4e52c..00000000000 |
104 |
--- a/dev-java/gnu-classpath-inetlib/files/gnu-classpath-inetlib-1.1-jdk15.patch |
105 |
+++ /dev/null |
106 |
@@ -1,87 +0,0 @@ |
107 |
-diff -uNr inetlib.orig/source/gnu/inet/imap/IMAPConnection.java inetlib/source/gnu/inet/imap/IMAPConnection.java |
108 |
---- inetlib.orig/source/gnu/inet/imap/IMAPConnection.java 2006-09-19 10:25:48.402313856 +0200 |
109 |
-+++ inetlib/source/gnu/inet/imap/IMAPConnection.java 2006-09-19 10:27:02.775026067 +0200 |
110 |
-@@ -46,7 +46,6 @@ |
111 |
- import java.util.Iterator; |
112 |
- import java.util.List; |
113 |
- import java.util.Map; |
114 |
--import java.util.Properties; |
115 |
- |
116 |
- import javax.net.ssl.SSLContext; |
117 |
- import javax.net.ssl.SSLSocket; |
118 |
-@@ -653,7 +652,7 @@ |
119 |
- String[] m = new String[] { mechanism }; |
120 |
- CallbackHandler ch = new SaslCallbackHandler (username, password); |
121 |
- // Avoid lengthy callback procedure for GNU Crypto |
122 |
-- Properties p = new Properties (); |
123 |
-+ HashMap p = new HashMap(); |
124 |
- p.put ("gnu.crypto.sasl.username", username); |
125 |
- p.put ("gnu.crypto.sasl.password", password); |
126 |
- SaslClient sasl = Sasl.createSaslClient (m, null, "smtp", |
127 |
-diff -uNr inetlib.orig/source/gnu/inet/nntp/NNTPConnection.java inetlib/source/gnu/inet/nntp/NNTPConnection.java |
128 |
---- inetlib.orig/source/gnu/inet/nntp/NNTPConnection.java 2006-09-19 10:25:48.420311609 +0200 |
129 |
-+++ inetlib/source/gnu/inet/nntp/NNTPConnection.java 2006-09-19 10:29:02.781039000 +0200 |
130 |
-@@ -42,7 +42,7 @@ |
131 |
- import java.util.Calendar; |
132 |
- import java.util.Date; |
133 |
- import java.util.GregorianCalendar; |
134 |
--import java.util.Properties; |
135 |
-+import java.util.HashMap; |
136 |
- import java.util.TimeZone; |
137 |
- |
138 |
- import javax.security.auth.callback.CallbackHandler; |
139 |
-@@ -1140,7 +1140,7 @@ |
140 |
- String[] m = new String[] { mechanism }; |
141 |
- CallbackHandler ch = new SaslCallbackHandler (username, password); |
142 |
- // Avoid lengthy callback procedure for GNU Crypto |
143 |
-- Properties p = new Properties (); |
144 |
-+ HashMap p = new HashMap(); |
145 |
- p.put ("gnu.crypto.sasl.username", username); |
146 |
- p.put ("gnu.crypto.sasl.password", password); |
147 |
- SaslClient sasl = |
148 |
-diff -uNr inetlib.orig/source/gnu/inet/pop3/POP3Connection.java inetlib/source/gnu/inet/pop3/POP3Connection.java |
149 |
---- inetlib.orig/source/gnu/inet/pop3/POP3Connection.java 2006-09-19 10:25:48.426310859 +0200 |
150 |
-+++ inetlib/source/gnu/inet/pop3/POP3Connection.java 2006-09-19 10:27:59.374957608 +0200 |
151 |
-@@ -41,10 +41,10 @@ |
152 |
- import java.security.NoSuchAlgorithmException; |
153 |
- import java.util.ArrayList; |
154 |
- import java.util.Collections; |
155 |
-+import java.util.HashMap; |
156 |
- import java.util.LinkedHashMap; |
157 |
- import java.util.List; |
158 |
- import java.util.Map; |
159 |
--import java.util.Properties; |
160 |
- |
161 |
- import javax.net.ssl.SSLContext; |
162 |
- import javax.net.ssl.SSLSocket; |
163 |
-@@ -232,7 +232,7 @@ |
164 |
- String[] m = new String[] { mechanism }; |
165 |
- CallbackHandler ch = new SaslCallbackHandler (username, password); |
166 |
- // Avoid lengthy callback procedure for GNU Crypto |
167 |
-- Properties p = new Properties (); |
168 |
-+ HashMap p = new HashMap(); |
169 |
- p.put ("gnu.crypto.sasl.username", username); |
170 |
- p.put ("gnu.crypto.sasl.password", password); |
171 |
- SaslClient sasl = |
172 |
-diff -uNr inetlib.orig/source/gnu/inet/smtp/SMTPConnection.java inetlib/source/gnu/inet/smtp/SMTPConnection.java |
173 |
---- inetlib.orig/source/gnu/inet/smtp/SMTPConnection.java 2006-09-19 10:25:48.428310610 +0200 |
174 |
-+++ inetlib/source/gnu/inet/smtp/SMTPConnection.java 2006-09-19 10:26:34.107606132 +0200 |
175 |
-@@ -38,8 +38,8 @@ |
176 |
- import java.security.GeneralSecurityException; |
177 |
- import java.util.ArrayList; |
178 |
- import java.util.Collections; |
179 |
-+import java.util.HashMap; |
180 |
- import java.util.List; |
181 |
--import java.util.Properties; |
182 |
- |
183 |
- import javax.net.ssl.SSLContext; |
184 |
- import javax.net.ssl.SSLSocket; |
185 |
-@@ -598,7 +598,7 @@ |
186 |
- String[] m = new String[] { mechanism }; |
187 |
- CallbackHandler ch = new SaslCallbackHandler (username, password); |
188 |
- // Avoid lengthy callback procedure for GNU Crypto |
189 |
-- Properties p = new Properties (); |
190 |
-+ HashMap p = new HashMap(); |
191 |
- p.put ("gnu.crypto.sasl.username", username); |
192 |
- p.put ("gnu.crypto.sasl.password", password); |
193 |
- SaslClient sasl = |
194 |
|
195 |
diff --git a/dev-java/gnu-classpath-inetlib/gnu-classpath-inetlib-1.0-r3.ebuild b/dev-java/gnu-classpath-inetlib/gnu-classpath-inetlib-1.0-r3.ebuild |
196 |
deleted file mode 100644 |
197 |
index 9406f606ba3..00000000000 |
198 |
--- a/dev-java/gnu-classpath-inetlib/gnu-classpath-inetlib-1.0-r3.ebuild |
199 |
+++ /dev/null |
200 |
@@ -1,63 +0,0 @@ |
201 |
-# Copyright 1999-2016 Gentoo Foundation |
202 |
-# Distributed under the terms of the GNU General Public License v2 |
203 |
- |
204 |
-inherit java-pkg-2 |
205 |
- |
206 |
-MY_PN="inetlib" |
207 |
-MY_P="${MY_PN}-${PV}" |
208 |
-DESCRIPTION="Network extensions library for GNU classpath and classpathx" |
209 |
-HOMEPAGE="https://www.gnu.org/software/classpath/" |
210 |
-SRC_URI="mirror://gnu/classpath/${MY_P}.tar.gz" |
211 |
-LICENSE="GPL-2-with-linking-exception" |
212 |
-SLOT="1.0" |
213 |
-KEYWORDS="amd64 x86" |
214 |
-IUSE="doc" |
215 |
-RDEPEND=">=virtual/jre-1.3 |
216 |
- >=dev-java/gnu-crypto-2.0.1" |
217 |
-DEPEND=">=virtual/jdk-1.3 |
218 |
- ${RDEPEND}" |
219 |
-S="${WORKDIR}/${MY_P}" |
220 |
- |
221 |
-# TODO we could give configure the lib dir on the live filesystem |
222 |
-# instead of populating ${S}/ext with the jars we need -nichoj |
223 |
-# TODO fix jikes support. Related to bug #89711 |
224 |
- |
225 |
-src_unpack() { |
226 |
- unpack ${A} |
227 |
- cd "${S}" |
228 |
- |
229 |
- epatch "${FILESDIR}/${P}-jdk15.patch" |
230 |
- |
231 |
- mkdir ext && cd ext |
232 |
- java-pkg_jar-from gnu-crypto javax-security.jar javax-security-auth-callback.jar |
233 |
- java-pkg_jar-from gnu-crypto javax-security.jar javax-security-sasl.jar |
234 |
- # fake jar to shut build system up, jsse is part of JDK's classpath already |
235 |
- ln -s javax-security-sasl.jar jsse.jar |
236 |
-} |
237 |
- |
238 |
-src_compile() { |
239 |
- econf \ |
240 |
- --enable-smtp \ |
241 |
- --enable-imap \ |
242 |
- --enable-pop3 \ |
243 |
- --enable-nntp \ |
244 |
- --enable-ftp \ |
245 |
- --enable-gopher \ |
246 |
- --with-jsse-jar="${S}"/ext \ |
247 |
- --with-javax-security-auth-callback-jar="${S}"/ext \ |
248 |
- --with-javax-security-sasl-jar="${S}"/ext \ |
249 |
- || die "econf failed" |
250 |
- # https://bugs.gentoo.org/show_bug.cgi?id=179897 |
251 |
- emake JAVACFLAGS="${JAVACFLAGS}" -j1 || die "emake failed" |
252 |
- if use doc ; then |
253 |
- emake -j1 javadoc || die "emake javadoc failed" |
254 |
- fi |
255 |
-} |
256 |
- |
257 |
-src_install() { |
258 |
- einstall || die |
259 |
- rm -rf "${D}"/usr/share/java |
260 |
- java-pkg_dojar ${MY_PN}.jar |
261 |
- use doc && java-pkg_dojavadoc docs |
262 |
- dodoc AUTHORS NEWS README || die |
263 |
-} |
264 |
|
265 |
diff --git a/dev-java/gnu-classpath-inetlib/gnu-classpath-inetlib-1.1-r3.ebuild b/dev-java/gnu-classpath-inetlib/gnu-classpath-inetlib-1.1-r3.ebuild |
266 |
deleted file mode 100644 |
267 |
index 3110cb5125f..00000000000 |
268 |
--- a/dev-java/gnu-classpath-inetlib/gnu-classpath-inetlib-1.1-r3.ebuild |
269 |
+++ /dev/null |
270 |
@@ -1,57 +0,0 @@ |
271 |
-# Copyright 1999-2016 Gentoo Foundation |
272 |
-# Distributed under the terms of the GNU General Public License v2 |
273 |
- |
274 |
-inherit java-pkg-2 java-ant-2 |
275 |
- |
276 |
-MY_PN="inetlib" |
277 |
-MY_P="${MY_PN}-${PV}" |
278 |
-DESCRIPTION="Network extensions library for GNU classpath and classpathx" |
279 |
-HOMEPAGE="https://www.gnu.org/software/classpath/" |
280 |
-SRC_URI="mirror://gnu/classpath/${MY_P}.tar.gz" |
281 |
-LICENSE="GPL-2-with-linking-exception" |
282 |
-SLOT="1.1" |
283 |
-KEYWORDS="amd64 x86" |
284 |
-IUSE="doc" |
285 |
-RDEPEND=">=virtual/jre-1.3 |
286 |
- >=dev-java/gnu-crypto-2.0.1" |
287 |
-DEPEND=">=virtual/jdk-1.3 |
288 |
- ${RDEPEND}" |
289 |
-S="${WORKDIR}/${MY_PN}" |
290 |
- |
291 |
-src_unpack() { |
292 |
- unpack ${A} |
293 |
- cd "${S}" |
294 |
- |
295 |
- epatch "${FILESDIR}/${P}-jdk15.patch" |
296 |
- |
297 |
- mkdir ext && cd ext |
298 |
- java-pkg_jar-from gnu-crypto |
299 |
- # fake jar to shut build system up, jsse is part of JDK's classpath already |
300 |
- ln -s javax-security.jar jsse.jar |
301 |
-} |
302 |
- |
303 |
-src_compile() { |
304 |
- econf \ |
305 |
- --enable-smtp \ |
306 |
- --enable-imap \ |
307 |
- --enable-pop3 \ |
308 |
- --enable-nntp \ |
309 |
- --enable-ftp \ |
310 |
- --enable-gopher \ |
311 |
- --with-jsse-jar="${S}"/ext \ |
312 |
- --with-javax-security-jar="${S}"/ext \ |
313 |
- || die |
314 |
- # https://bugs.gentoo.org/show_bug.cgi?id=179897 |
315 |
- emake JAVACFLAGS="${JAVACFLAGS}" -j1 || die |
316 |
- if use doc ; then |
317 |
- emake -j1 javadoc || die |
318 |
- fi |
319 |
-} |
320 |
- |
321 |
-src_install() { |
322 |
- einstall || die |
323 |
- rm -rf "${D}"/usr/share/java |
324 |
- java-pkg_dojar inetlib.jar |
325 |
- use doc && java-pkg_dojavadoc docs |
326 |
- dodoc AUTHORS NEWS README || die |
327 |
-} |
328 |
|
329 |
diff --git a/dev-java/gnu-classpath-inetlib/metadata.xml b/dev-java/gnu-classpath-inetlib/metadata.xml |
330 |
deleted file mode 100644 |
331 |
index eda7f5994ec..00000000000 |
332 |
--- a/dev-java/gnu-classpath-inetlib/metadata.xml |
333 |
+++ /dev/null |
334 |
@@ -1,15 +0,0 @@ |
335 |
-<?xml version="1.0" encoding="UTF-8"?> |
336 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
337 |
-<pkgmetadata> |
338 |
-<maintainer type="project"> |
339 |
- <email>java@g.o</email> |
340 |
- <name>Java</name> |
341 |
-</maintainer> |
342 |
- |
343 |
-<longdescription> |
344 |
-GNU Classpath inetlib is an extension library to provide extra network |
345 |
-protocol support for GNU Classpath and ClasspathX project, but it can |
346 |
-also used standalone to make adding http, imap, pop3 and smtp client |
347 |
-support to applictions. |
348 |
-</longdescription> |
349 |
-</pkgmetadata> |
350 |
|
351 |
diff --git a/profiles/package.mask b/profiles/package.mask |
352 |
index 5f55b5e7fd0..e3b3c23aad4 100644 |
353 |
--- a/profiles/package.mask |
354 |
+++ b/profiles/package.mask |
355 |
@@ -240,7 +240,6 @@ net-analyzer/ntop |
356 |
# James Le Cuirot <chewi@g.o> (29 Aug 2017) |
357 |
# The FOSS-friendly oracle-javamail has rendered other implementations |
358 |
# and the virtual obsolete. Removal in 30 days. See bug #553186. |
359 |
-dev-java/gnu-classpath-inetlib |
360 |
java-virtuals/javamail |
361 |
|
362 |
# Anthony G. Basile <blueness@g.o> (27 Aug 2017) |