1 |
caster 09/10/04 13:59:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gnu-classpath-inetlib-1.1-r3.ebuild |
5 |
gnu-classpath-inetlib-1.0-r3.ebuild |
6 |
Log: |
7 |
Revbump to remove jessie dependency, since it's not needed with 1.4+ JDKs. |
8 |
(Portage version: 2.2_rc42/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.24 dev-java/gnu-classpath-inetlib/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/gnu-classpath-inetlib/ChangeLog?rev=1.24&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/gnu-classpath-inetlib/ChangeLog?rev=1.24&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/gnu-classpath-inetlib/ChangeLog?r1=1.23&r2=1.24 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath-inetlib/ChangeLog,v |
20 |
retrieving revision 1.23 |
21 |
retrieving revision 1.24 |
22 |
diff -u -r1.23 -r1.24 |
23 |
--- ChangeLog 26 May 2007 22:45:41 -0000 1.23 |
24 |
+++ ChangeLog 4 Oct 2009 13:59:12 -0000 1.24 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for dev-java/gnu-classpath-inetlib |
27 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath-inetlib/ChangeLog,v 1.23 2007/05/26 22:45:41 betelgeuse Exp $ |
29 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath-inetlib/ChangeLog,v 1.24 2009/10/04 13:59:12 caster Exp $ |
31 |
+ |
32 |
+*gnu-classpath-inetlib-1.1-r3 (04 Oct 2009) |
33 |
+*gnu-classpath-inetlib-1.0-r3 (04 Oct 2009) |
34 |
+ |
35 |
+ 04 Oct 2009; Vlastimil Babka <caster@g.o> |
36 |
+ +gnu-classpath-inetlib-1.0-r3.ebuild, |
37 |
+ +gnu-classpath-inetlib-1.1-r3.ebuild: |
38 |
+ Revbump to remove jessie dependency, since it's not needed with 1.4+ JDKs. |
39 |
|
40 |
26 May 2007; Petteri Räty <betelgeuse@g.o> |
41 |
gnu-classpath-inetlib-1.0-r2.ebuild, gnu-classpath-inetlib-1.1-r2.ebuild: |
42 |
|
43 |
|
44 |
|
45 |
1.1 dev-java/gnu-classpath-inetlib/gnu-classpath-inetlib-1.1-r3.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/gnu-classpath-inetlib/gnu-classpath-inetlib-1.1-r3.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/gnu-classpath-inetlib/gnu-classpath-inetlib-1.1-r3.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: gnu-classpath-inetlib-1.1-r3.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2009 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath-inetlib/gnu-classpath-inetlib-1.1-r3.ebuild,v 1.1 2009/10/04 13:59:12 caster Exp $ |
55 |
|
56 |
inherit java-pkg-2 java-ant-2 |
57 |
|
58 |
MY_PN="inetlib" |
59 |
MY_P="${MY_PN}-${PV}" |
60 |
DESCRIPTION="Network extensions library for GNU classpath and classpathx" |
61 |
HOMEPAGE="http://www.gnu.org/software/classpath/" |
62 |
SRC_URI="mirror://gnu/classpath/${MY_P}.tar.gz" |
63 |
LICENSE="GPL-2-with-linking-exception" |
64 |
SLOT="1.1" |
65 |
KEYWORDS="~amd64 ~ppc ~x86" |
66 |
IUSE="doc" |
67 |
RDEPEND=">=virtual/jre-1.3 |
68 |
>=dev-java/gnu-crypto-2.0.1" |
69 |
DEPEND=">=virtual/jdk-1.3 |
70 |
${RDEPEND}" |
71 |
S="${WORKDIR}/${MY_PN}" |
72 |
|
73 |
src_unpack() { |
74 |
unpack ${A} |
75 |
cd "${S}" |
76 |
|
77 |
epatch "${FILESDIR}/${P}-jdk15.patch" |
78 |
|
79 |
mkdir ext && cd ext |
80 |
java-pkg_jar-from gnu-crypto |
81 |
# fake jar to shut build system up, jsse is part of JDK's classpath already |
82 |
ln -s javax-security.jar jsse.jar |
83 |
} |
84 |
|
85 |
src_compile() { |
86 |
econf \ |
87 |
--enable-smtp \ |
88 |
--enable-imap \ |
89 |
--enable-pop3 \ |
90 |
--enable-nntp \ |
91 |
--enable-ftp \ |
92 |
--enable-gopher \ |
93 |
--with-jsse-jar=${S}/ext \ |
94 |
--with-javax-security-jar=${S}/ext \ |
95 |
|| die |
96 |
# https://bugs.gentoo.org/show_bug.cgi?id=179897 |
97 |
emake JAVACFLAGS="${JAVACFLAGS}" -j1 || die |
98 |
if use doc ; then |
99 |
emake -j1 javadoc || die |
100 |
fi |
101 |
} |
102 |
|
103 |
src_install() { |
104 |
einstall || die |
105 |
rm -rf ${D}/usr/share/java |
106 |
java-pkg_dojar inetlib.jar |
107 |
use doc && java-pkg_dojavadoc docs |
108 |
dodoc AUTHORS NEWS README || die |
109 |
} |
110 |
|
111 |
|
112 |
|
113 |
1.1 dev-java/gnu-classpath-inetlib/gnu-classpath-inetlib-1.0-r3.ebuild |
114 |
|
115 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/gnu-classpath-inetlib/gnu-classpath-inetlib-1.0-r3.ebuild?rev=1.1&view=markup |
116 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/gnu-classpath-inetlib/gnu-classpath-inetlib-1.0-r3.ebuild?rev=1.1&content-type=text/plain |
117 |
|
118 |
Index: gnu-classpath-inetlib-1.0-r3.ebuild |
119 |
=================================================================== |
120 |
# Copyright 1999-2009 Gentoo Foundation |
121 |
# Distributed under the terms of the GNU General Public License v2 |
122 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath-inetlib/gnu-classpath-inetlib-1.0-r3.ebuild,v 1.1 2009/10/04 13:59:12 caster Exp $ |
123 |
|
124 |
inherit java-pkg-2 |
125 |
|
126 |
MY_PN="inetlib" |
127 |
MY_P="${MY_PN}-${PV}" |
128 |
DESCRIPTION="Network extensions library for GNU classpath and classpathx" |
129 |
HOMEPAGE="http://www.gnu.org/software/classpath/" |
130 |
SRC_URI="mirror://gnu/classpath/${MY_P}.tar.gz" |
131 |
LICENSE="GPL-2-with-linking-exception" |
132 |
SLOT="1.0" |
133 |
KEYWORDS="~amd64 ~ppc ~x86" |
134 |
IUSE="doc" |
135 |
RDEPEND=">=virtual/jre-1.3 |
136 |
>=dev-java/gnu-crypto-2.0.1" |
137 |
DEPEND=">=virtual/jdk-1.3 |
138 |
${RDEPEND}" |
139 |
S="${WORKDIR}/${MY_P}" |
140 |
|
141 |
# TODO we could give configure the lib dir on the live filesystem |
142 |
# instead of populating ${S}/ext with the jars we need -nichoj |
143 |
# TODO fix jikes support. Related to bug #89711 |
144 |
|
145 |
src_unpack() { |
146 |
unpack ${A} |
147 |
cd "${S}" |
148 |
|
149 |
epatch "${FILESDIR}/${P}-jdk15.patch" |
150 |
|
151 |
mkdir ext && cd ext |
152 |
java-pkg_jar-from gnu-crypto javax-security.jar javax-security-auth-callback.jar |
153 |
java-pkg_jar-from gnu-crypto javax-security.jar javax-security-sasl.jar |
154 |
# fake jar to shut build system up, jsse is part of JDK's classpath already |
155 |
ln -s javax-security-sasl.jar jsse.jar |
156 |
} |
157 |
|
158 |
src_compile() { |
159 |
econf \ |
160 |
--enable-smtp \ |
161 |
--enable-imap \ |
162 |
--enable-pop3 \ |
163 |
--enable-nntp \ |
164 |
--enable-ftp \ |
165 |
--enable-gopher \ |
166 |
--with-jsse-jar=${S}/ext \ |
167 |
--with-javax-security-auth-callback-jar=${S}/ext \ |
168 |
--with-javax-security-sasl-jar=${S}/ext \ |
169 |
|| die "econf failed" |
170 |
# https://bugs.gentoo.org/show_bug.cgi?id=179897 |
171 |
emake JAVACFLAGS="${JAVACFLAGS}" -j1 || die "emake failed" |
172 |
if use doc ; then |
173 |
emake -j1 javadoc || die "emake javadoc failed" |
174 |
fi |
175 |
} |
176 |
|
177 |
src_install() { |
178 |
einstall || die |
179 |
rm -rf ${D}/usr/share/java |
180 |
java-pkg_dojar ${MY_PN}.jar |
181 |
use doc && java-pkg_dojavadoc docs |
182 |
dodoc AUTHORS NEWS README || die |
183 |
} |