# ChangeLog for dev-java/ldapsdk
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ldapsdk/ChangeLog,v 1.8 2006/10/05 18:03:26 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ldapsdk/ChangeLog,v 1.9 2006/12/21 10:54:31 betelgeuse Exp $
+
+*ldapsdk-4.1.7-r2 (21 Dec 2006)
+
+ 21 Dec 2006; Petteri Räty <betelgeuse@gentoo.org>
+ +ldapsdk-4.1.7-r2.ebuild:
+ Revision bump using generation 2. Added the source use flag.
05 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org>
ldapsdk-4.1.7-r1.ebuild:
MD5 fe737a838d4214efd4bc3e2b05730df6 files/ldapsdk-gentoo.patch 5569
RMD160 d28902f99f0b9348b103ac73433c8bf77e8f6188 files/ldapsdk-gentoo.patch 5569
SHA256 842cf79d529757a851301b881fa95d973a10cc45de112282a5eb1f10943187c7 files/ldapsdk-gentoo.patch 5569
-DIST ldapsdk_java_20020819.tar.gz 1068301
+DIST ldapsdk_java_20020819.tar.gz 1068301 RMD160 eaee0c3882297fa7d0fd54d96ccaa0278a23da17 SHA1 dfbdd934f4377b3bffb7e85fe279e21b5ce4960f SHA256 2f9599a2c5afcb0364c095728a909b73c59308a6ebf1849f6e8c3090be455df9
EBUILD ldapsdk-4.1.7-r1.ebuild 1273 RMD160 9dd4f5005a9b9ac90d985c08a28a105d66f75239 SHA1 a88999ee88be584788b8ca0cd18e1885808621e6 SHA256 6e55614689993d241518692b1d92fb3130ead7651e024e1fd0afa3b280c20ec2
MD5 71c7de7a0744eb4852d17abc32c6d501 ldapsdk-4.1.7-r1.ebuild 1273
RMD160 9dd4f5005a9b9ac90d985c08a28a105d66f75239 ldapsdk-4.1.7-r1.ebuild 1273
SHA256 6e55614689993d241518692b1d92fb3130ead7651e024e1fd0afa3b280c20ec2 ldapsdk-4.1.7-r1.ebuild 1273
-MISC ChangeLog 1293 RMD160 31c62fe0ccc1939fc3742b23427d36a1a76a9052 SHA1 9ef3441a6d19da1dd8f52a66773b0014b60366c7 SHA256 6f045340a60b1425c0a4b81d0450f1e1ceb9bc0c8d5b9fd275ee6e2db4b89768
-MD5 2ec0fddc1624e10757205eee42e99c39 ChangeLog 1293
-RMD160 31c62fe0ccc1939fc3742b23427d36a1a76a9052 ChangeLog 1293
-SHA256 6f045340a60b1425c0a4b81d0450f1e1ceb9bc0c8d5b9fd275ee6e2db4b89768 ChangeLog 1293
+EBUILD ldapsdk-4.1.7-r2.ebuild 1320 RMD160 420ec903e5a9abe257f540ac37cbc52236e06842 SHA1 66355a376638f5ad7fba9e3c813aeee6fd96681a SHA256 cb108484afcddbe2a5de39398579a11bc11e1ebbe8d509db964ef194973cdf40
+MD5 f534fd01d396c0fea7dc0471119b01b4 ldapsdk-4.1.7-r2.ebuild 1320
+RMD160 420ec903e5a9abe257f540ac37cbc52236e06842 ldapsdk-4.1.7-r2.ebuild 1320
+SHA256 cb108484afcddbe2a5de39398579a11bc11e1ebbe8d509db964ef194973cdf40 ldapsdk-4.1.7-r2.ebuild 1320
+MISC ChangeLog 1473 RMD160 6c327d9f8725b6bde7e2f04dc92325f57bd30d03 SHA1 d1a105c6594e25dd0777cef20d1bd28a0fd2caa1 SHA256 1e34d35ecf1cbe08eca828e7ad36e961dc1d41a6addef309bbc49fa70ec877e8
+MD5 77bd1493c058bad1a1a99212ee332d24 ChangeLog 1473
+RMD160 6c327d9f8725b6bde7e2f04dc92325f57bd30d03 ChangeLog 1473
+SHA256 1e34d35ecf1cbe08eca828e7ad36e961dc1d41a6addef309bbc49fa70ec877e8 ChangeLog 1473
MISC metadata.xml 239 RMD160 3de2bfdb819187ea042346bb76acbcbd28dfa077 SHA1 ca31c4dd53450592cb7439b8085f0f15ed507fb3 SHA256 6255a4e8ae54c0f76e118525bddd75e0175a7c2db7becc46e107c529a42f30ca
MD5 6fb27bdccb1134d8c941a57f72aa0b59 metadata.xml 239
RMD160 3de2bfdb819187ea042346bb76acbcbd28dfa077 metadata.xml 239
SHA256 6255a4e8ae54c0f76e118525bddd75e0175a7c2db7becc46e107c529a42f30ca metadata.xml 239
-MD5 82c8d76c3b282427a86a22b74777081a files/digest-ldapsdk-4.1.7-r1 74
-RMD160 2c5c8bde35e08f75818435dfe25a1267db3e2b51 files/digest-ldapsdk-4.1.7-r1 74
-SHA256 05afbee38a69f9ef307263b035c163e4e74fac298fa8e4351dae256757aa15d2 files/digest-ldapsdk-4.1.7-r1 74
+MD5 89ac2c657e443c9cad1ace07488f8daf files/digest-ldapsdk-4.1.7-r1 268
+RMD160 316e92f8d9033ce00afc1ec1cd5c14029610fb8d files/digest-ldapsdk-4.1.7-r1 268
+SHA256 9793a95263274f75b06a3a40242ae03f4f3947ec0d9e123fd53cd1e051d49383 files/digest-ldapsdk-4.1.7-r1 268
+MD5 89ac2c657e443c9cad1ace07488f8daf files/digest-ldapsdk-4.1.7-r2 268
+RMD160 316e92f8d9033ce00afc1ec1cd5c14029610fb8d files/digest-ldapsdk-4.1.7-r2 268
+SHA256 9793a95263274f75b06a3a40242ae03f4f3947ec0d9e123fd53cd1e051d49383 files/digest-ldapsdk-4.1.7-r2 268
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux)
+Version: GnuPG v1.4.6 (GNU/Linux)
-iD8DBQFFJUj7KRy60XGEcJIRAt7+AKCKnkU1GrEHUI8cpsPDNS93ydpzEgCdFxRX
-WQRVDXp7Xu2H71KwdEs90CU=
-=Yn4K
+iD8DBQFFimfxcxLzpIGCsLQRAlmZAJ9me5Ks//+5yctjEsxgwdxWAQtrpACfXJP3
+m0lKMKJD8vpsiVJh0IKKJNw=
+=0lu+
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ldapsdk/ldapsdk-4.1.7-r2.ebuild,v 1.1 2006/12/21 10:54:31 betelgeuse Exp $
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netscape Directory SDK for Java"
+HOMEPAGE="http://www.mozilla.org/directory/javasdk.html"
+SRC_URI="http://www.mozilla.org/directory/${PN}_java_20020819.tar.gz"
+
+LICENSE="MPL-1.1"
+SLOT="4.1"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc source"
+
+RDEPEND=">=virtual/jre-1.4
+ =dev-java/jss-3.4*
+ =dev-java/jakarta-oro-2.0*"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}
+ >=dev-java/ant-core-1.6.2"
+
+S=${WORKDIR}/mozilla/directory/java-sdk
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${WORKDIR}/mozilla
+ epatch ${FILESDIR}/ldapsdk-gentoo.patch
+
+ cd ${S}
+ echo "ororegexp.jar=$(java-pkg_getjars jakarta-oro-2.0)" > build.properties
+ echo "jss.jar=$(java-pkg_getjars jss-3.4)" >> build.properties
+
+ cd ${S}/ldapjdk/lib
+ rm -f *.jar
+ java-pkg_jar-from jss-3.4
+
+ cd ${S}/ldapsp/lib
+ rm *.jar
+}
+
+src_compile() {
+ eant dist-jdk dist-filter dist-beans dist-jndi $(use_doc build-docs)
+}
+
+src_install() {
+ java-pkg_dojar dist/packages/*.jar
+
+ use doc && java-pkg_dojavadoc dist/doc/ldapsp
+ use source && \
+ java-pkg_dosrc {ldapsp,ldapjdk}/com {ldapjdk,ldapbeans,ldapfilter}/netscape
+}