Browse Source

drop dependencies of pki console - its deprecated

master
Robert Förster 9 months ago
parent
commit
e80b2ba340
  1. 1
      dev-java/idm-console-framework/Manifest
  2. 50
      dev-java/idm-console-framework/idm-console-framework-1.2.0.ebuild
  3. 1
      dev-java/ldapsdk/Manifest
  4. 71
      dev-java/ldapsdk/files/ldapsdk-gentoo.patch
  5. 52
      dev-java/ldapsdk/ldapsdk-4.22.0.ebuild
  6. 14
      dev-java/ldapsdk/metadata.xml

1
dev-java/idm-console-framework/Manifest

@ -1 +0,0 @@
DIST idm-console-framework-1.2.0.tar.gz 950635 BLAKE2B f34e60981e958252dff07b5b4cd14b1f48ca22e3b212dcc5fce28c6d45ae7bcc910cf899ab8618d714ada3b0d17dee5a9e6227da9f570ed87734d4ea2df60957 SHA512 99c7937e085c014e83335821c24c8dfb3969f4a3b772b7c95156a4c064f25bdc6d54855657167ab6fe651ed939ff70ae6057e8055ba607302dddf40f65b03567

50
dev-java/idm-console-framework/idm-console-framework-1.2.0.ebuild

@ -1,50 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
JAVA_PKG_IUSE="doc examples source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="A Java Management Console framework used for remote server management"
HOMEPAGE="https://directory.fedoraproject.org/"
SRC_URI="https://github.com/dogtagpki/idm-console-framework/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="1.1"
KEYWORDS="~amd64 ~x86"
IUSE=""
COMMON_DEPEND="dev-java/jss:4
dev-java/ldapsdk:4.2"
RDEPEND=">=virtual/jre-1.8
${COMMON_DEPEND}"
DEPEND=">=virtual/jdk-1.8
${COMMON_DEPEND}"
src_prepare() {
java-pkg_jar-from ldapsdk-4.1 ldapjdk.jar
java-pkg_jar-from jss-3.4 xpclass.jar jss4.jar
}
src_compile() {
eant -Dbuilt.dir="${S}"/build \
-Dldapjdk.local.location="${S}" \
-Djss.local.location="${S}" ${antflags}
use doc && eant -Dbuilt.dir="${S}"/build \
-Dldapjdk.local.location="${S}" \
-Djss.local.location="${S}" ${antflags} javadoc
}
src_install() {
java-pkg_newjar "${S}"/build/release/jars/idm-console-mcc-${PV}.jar idm-console-mcc.jar
java-pkg_newjar "${S}"/build/release/jars/idm-console-mcc-${PV}_en.jar idm-console-mcc_en.jar
java-pkg_newjar "${S}"/build/release/jars/idm-console-nmclf-${PV}.jar idm-console-nmclf.jar
java-pkg_newjar "${S}"/build/release/jars/idm-console-nmclf-${PV}_en.jar idm-console-nmclf_en.jar
java-pkg_newjar "${S}"/build/release/jars/idm-console-base-${PV}.jar idm-console-base.jar
use doc && java-pkg_dojavadoc build/doc
use examples && java-pkg_doexamples examples
use source && java-pkg_dosrc src/com
}

1
dev-java/ldapsdk/Manifest

@ -1 +0,0 @@
DIST ldapsdk-4.22.0.tar.gz 2964492 BLAKE2B 69b74df500a96747d6677e4381a473d739498d2cb28bb2f71892a864d8d4dbfe8275d59bddcf2d0510acb92014c9614477bb2ac2b513258644f5acb2744b4fb2 SHA512 5f8d2a2c0042f281e054cfd3dc1604a5038a77b175268b415cd708031940064b62ec41043bc49d25fdd860aaaaa2a2de95a0c92c409951bfac21770c2d4ff1be

71
dev-java/ldapsdk/files/ldapsdk-gentoo.patch

@ -1,71 +0,0 @@
diff --git a/java-sdk/build.xml b/java-sdk/build.xml
index e310c73..9557c7b 100644
--- a/build.xml
+++ b/build.xml
@@ -68,8 +68,7 @@
<!-- the following is to setup the correct info for sun jsse which
is jdk dependent -->
- <property name="ssllibs14" value="${basedir}/ldapjdk/lib/jss4.jar"/>
- <property name="ssllibs13" value="${basedir}/ldapjdk/lib/jaas.jar:${basedir}/ldapjdk/lib/jnet.jar:${basedir}/ldapjdk/lib/jsse.jar:${basedir}/ldapjdk/lib/jss4.jar"/>
+ <property name="ssllibs14" value="${jss.lib}"/>
<!-- we do not use the users existing classpath and instead build our own
comment the following line out if this is not desired -->
@@ -187,14 +186,20 @@
<javac srcdir="${basedir}/ldapjdk/com" destdir="${jdk.dist}"
excludes="cvs/**"
classpath="${jsselibs}:${slf4j.lib}"
+ source="1.8"
+ target="1.8"
/>
<javac srcdir="${basedir}/ldapjdk/netscape" destdir="${jdk.dist}"
excludes="cvs/**"
classpath="${jsselibs}:${slf4j.lib}"
+ source="1.8"
+ target="1.8"
/>
<javac srcdir="${basedir}/tools" destdir="${jdk.dist}"
excludes="cvs/**"
classpath="${jsselibs}:${slf4j.lib}"
+ source="1.8"
+ target="1.8"
/>
</target>
@@ -202,6 +207,8 @@
<javac srcdir="${basedir}/ldapfilter" destdir="${filter.dist}"
excludes="cvs/**"
classpath="${jdk.dist}:${jsselibs}:${slf4j.lib}"
+ source="1.8"
+ target="1.8"
/>
</target>
@@ -210,6 +217,8 @@
<javac srcdir="${basedir}/ldapbeans" destdir="${jdk.dist}"
excludes="cvs/**"
classpath="${jsselibs}:${slf4j.lib}"
+ source="1.8"
+ target="1.8"
/>
</target>
@@ -218,6 +227,8 @@
<javac srcdir="${basedir}/ldapsp" destdir="${jndi.dist}"
excludes="cvs/**"
classpath="${jsselibs}:${basedir}/ldapsp/lib/jndi.jar:${slf4j.lib}"
+ source="1.8"
+ target="1.8"
/>
</target>
@@ -232,7 +243,7 @@
author="true"
version="true"
use="true"
- classpath="${basedir}/ldapjdk:${jss.lib}:${basedir}/ldapjdk/lib/jss32_stub.jar:${basedir}/ldapbeans:${slf4j.lib}"
+ classpath="${basedir}/ldapjdk:${jss.lib}:${basedir}/ldapbeans:${slf4j.lib}"
additionalparam="-Xdoclint:none">
</javadoc>

52
dev-java/ldapsdk/ldapsdk-4.22.0.ebuild

@ -1,52 +0,0 @@
# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Netscape Directory SDK for Java"
HOMEPAGE="http://www.mozilla.org/directory/javasdk.html"
SRC_URI="https://github.com/dogtagpki/ldap-sdk/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MPL-1.1"
SLOT="4.22"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND=">=virtual/jre-1.8
dev-java/slf4j-api
>=dev-java/jss-4.6.0"
DEPEND=">=virtual/jdk-1.8
${RDEPEND}"
S=${WORKDIR}/ldap-sdk-${PV}/java-sdk
src_prepare() {
eapply "${FILESDIR}"/ldapsdk-gentoo.patch
echo "jss.lib=$(java-pkg_getjars jss-4.7)" >> "${S}"/build.properties || die
echo "slf4j.lib=$(java-pkg_getjars slf4j-api)" >> "${S}"/build.properties || die
cd "${S}"/ldapjdk/lib || die
rm -f *.jar || die
java-pkg_jar-from jss-4.7
cd "${S}"/ldapsp/lib || die
rm *.jar || die
default
}
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
}

14
dev-java/ldapsdk/metadata.xml

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
<longdescription>
The Mozilla Directory (LDAP) SDK Project
</longdescription>
</pkgmetadata>
Loading…
Cancel
Save