diff --git a/trunk/novell4gentoo/app-admin/novell-consoleone-rconsolej/novell-consoleone-rconsolej-6.6.00-r1.ebuild b/trunk/novell4gentoo/app-admin/novell-consoleone-rconsolej/novell-consoleone-rconsolej-6.6.00-r1.ebuild new file mode 100644 index 0000000..51f4cb3 --- /dev/null +++ b/trunk/novell4gentoo/app-admin/novell-consoleone-rconsolej/novell-consoleone-rconsolej-6.6.00-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +NOVELL_BUILDID="vAIyb4R70b4~" +NOVELL_FILE32="patchfiles/NW65SP7.zip" +RESTRICT="mirror strip" + +inherit novell eutils java-utils-2 + +DESCRIPTION="Novell Secure RemoteConsole Snap-in" +HOMEPAGE="http://www.novell.com" +SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32} + http://forge.novell.com/modules/xfcontent/private.php/jldap/builds/unix/novell-jldap-devel-2006.06.22-1unix.zip + http://www.novell.com/coolsolutions/tools/downloads/icons.tar.gz" + +LICENSE="Novell-eDir-87" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="app-arch/unzip + >=app-admin/novell-novlc1-1.3.6_p1" + +RDEPEND="virtual/libc + >=virtual/jdk-1.4 + >=app-admin/novell-novlc1-1.3.6_p1" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + cd "${S}" + unzip -o ${WORKDIR}/NW65SP7/SYS/SYSZIP/RCONJ.ZIP || die "unpacking" + java-pkg_addcp /usr/ConsoleOne/ConsoleOneExt + java-pkg_addcp /usr/ConsoleOne/help +} + +src_compile() { :; } + +src_install() { + java-pkg_jarinto /usr/ConsoleOne/lib/rconsolej + java-pkg_dojar ${WORKDIR}/public/mgmt/ConsoleOne/1.2/lib/*.* + java-pkg_dojar ${WORKDIR}/novell-jldap-devel-2006.06.22-1unix/lib/*.jar + java-pkg_jarinto /usr/ConsoleOne/resources/rconsolej + java-pkg_dojar ${WORKDIR}/public/mgmt/ConsoleOne/1.2/resources/*.jar + java-pkg_jarinto /usr/ConsoleOne/snapins/rconsolej + java-pkg_dojar ${WORKDIR}/public/mgmt/ConsoleOne/1.2/snapins/*.jar + insinto /usr/ConsoleOne/help + doins -r ${WORKDIR}/public/mgmt/ConsoleOne/1.2/Help/* + into /usr/ConsoleOne + java-pkg_dolauncher rconj --main com.novell.application.securerconsolej.RConsoleJApplication + + doicon ${WORKDIR}/icon/rconj.png + make_desktop_entry /usr/ConsoleOne/bin/rconj "Secure RemoteConsole" rconj.png Network +} + +pkg_nofetch() { + einfo "This files require you to register at ${HOMEPAGE} (free account)" + einfo "Please download following file:" + einfo " - ${NOVELL_FILE32}" + einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID}" + einfo "and place it in ${DISTDIR}" + einfo "" + einfo "To get rid of downloading files from ${HOMEPAGE}" + einfo "you can create a file /etc/portage/novell.acc" + einfo "containing the novell account infos with following commands" + einfo "# echo \"NOVELL_ACCOUNT_USERNAME=\\\"balduin\\\"\" >> /etc/portage/novell.acc" + einfo "# echo \"NOVELL_ACCOUNT_PASSWORD=\\\"derfisch\\\"\" >> /etc/portage/novell.acc" +} +