drop dependencies of pki console - its deprecated

This commit is contained in:
Robert Förster 2021-10-11 16:51:15 +02:00
parent 95ca75b93e
commit e80b2ba340
6 changed files with 0 additions and 189 deletions

View File

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

View File

@ -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
}

View File

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

View File

@ -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>

View File

@ -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
}

View File

@ -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>