From 76d2be20bfae0b691f027f2bf87d18a55ac699f1 Mon Sep 17 00:00:00 2001 From: geos_one Date: Thu, 1 Nov 2007 21:47:50 +0000 Subject: [PATCH] app-admin/novell-novlc1: finisch propper c1 start script --- .../app-admin/novell-novlc1/ChangeLog | 4 + .../app-admin/novell-novlc1/Manifest | 24 ++-- .../novell-novlc1/files/ConsoleOne-136-pre | 13 ++ .../files/digest-novell-novlc1-1.3.6_p1-r6 | 3 + .../novell-novlc1-1.3.6_p1-r6.ebuild | 119 ++++++++++++++++++ 5 files changed, 151 insertions(+), 12 deletions(-) create mode 100644 trunk/novell4gentoo/app-admin/novell-novlc1/files/ConsoleOne-136-pre create mode 100644 trunk/novell4gentoo/app-admin/novell-novlc1/files/digest-novell-novlc1-1.3.6_p1-r6 create mode 100644 trunk/novell4gentoo/app-admin/novell-novlc1/novell-novlc1-1.3.6_p1-r6.ebuild diff --git a/trunk/novell4gentoo/app-admin/novell-novlc1/ChangeLog b/trunk/novell4gentoo/app-admin/novell-novlc1/ChangeLog index 8115bfd..d119ad6 100644 --- a/trunk/novell4gentoo/app-admin/novell-novlc1/ChangeLog +++ b/trunk/novell4gentoo/app-admin/novell-novlc1/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 01 Nov 2007; Mario Fetka +files/ConsoleOne-136-pre, + +novell-novlc1-1.3.6_p1-r6.ebuild: + finisch propper c1 start script + 15 Jun 2007; Mario Fetka files/novell-novlc1-1.3.6, novell-novlc1-1.3.6_p1-r4.ebuild, +novell-novlc1-1.3.6_p1-r5.ebuild: Fix bad Java Client not finding jclient,jar diff --git a/trunk/novell4gentoo/app-admin/novell-novlc1/Manifest b/trunk/novell4gentoo/app-admin/novell-novlc1/Manifest index 116954c..8715bed 100644 --- a/trunk/novell4gentoo/app-admin/novell-novlc1/Manifest +++ b/trunk/novell4gentoo/app-admin/novell-novlc1/Manifest @@ -1,7 +1,7 @@ -AUX ConsoleOne-136-pre 446 RMD160 ef55903830325a67305d558c849dee83f3e17c30 SHA1 2a4049bfe65b1514a3b6def9577e64f7263bc207 SHA256 05e7444da7d5d863d8508581e96c77c926d5de896c4b9e1b97ce2363ffe0af45 -MD5 05093555177edf80bfad32324881b483 files/ConsoleOne-136-pre 446 -RMD160 ef55903830325a67305d558c849dee83f3e17c30 files/ConsoleOne-136-pre 446 -SHA256 05e7444da7d5d863d8508581e96c77c926d5de896c4b9e1b97ce2363ffe0af45 files/ConsoleOne-136-pre 446 +AUX ConsoleOne-136-pre 482 RMD160 946c0a081c972ae61150e5b395b714e474901e1f SHA1 f41202a47f0e6924065fc0d2d8bf932c09c103ba SHA256 199f8759e37616d546ee4339a4139762a8b2fbf6d519e4972e1463d767222e62 +MD5 4d23e36f3f8ecb57e4853be4e1c07a9e files/ConsoleOne-136-pre 482 +RMD160 946c0a081c972ae61150e5b395b714e474901e1f files/ConsoleOne-136-pre 482 +SHA256 199f8759e37616d546ee4339a4139762a8b2fbf6d519e4972e1463d767222e62 files/ConsoleOne-136-pre 482 AUX novell-novlc1 136 RMD160 95d10220c79733c18a26e3f9d9ac10ec210c3c7f SHA1 a06edc9a8c5a762d90b0515be3f502fe7166e412 SHA256 c7167438951559c40c7ded0199c7621518b7a4d0e93fedadaafa2f50042aec98 MD5 a016ed9155148e12f1bf3e53ac440911 files/novell-novlc1 136 RMD160 95d10220c79733c18a26e3f9d9ac10ec210c3c7f files/novell-novlc1 136 @@ -20,14 +20,14 @@ EBUILD novell-novlc1-1.3.6_p1-r5.ebuild 4240 RMD160 b1b3ad7c4da714f7675ad52b6dbf MD5 e973c18be3d77a90f9270415eb37ce49 novell-novlc1-1.3.6_p1-r5.ebuild 4240 RMD160 b1b3ad7c4da714f7675ad52b6dbf5390b5a203f6 novell-novlc1-1.3.6_p1-r5.ebuild 4240 SHA256 69209a9e96651d4a06d4de740bb714b95a46e82d633b58496996849ca5e2af3b novell-novlc1-1.3.6_p1-r5.ebuild 4240 -EBUILD novell-novlc1-1.3.6_p1-r6.ebuild 5004 RMD160 18bf47d63a0e3ba177c4d9dd6d0b878ee5fd5834 SHA1 9086156f80e3d15435da462268a962ce465a3463 SHA256 498bfc8393d3c4aaa919caf58a48e49fac755933241f1e62849240ec578cdbee -MD5 b20de7cc604be22624ff54979cb7ed5d novell-novlc1-1.3.6_p1-r6.ebuild 5004 -RMD160 18bf47d63a0e3ba177c4d9dd6d0b878ee5fd5834 novell-novlc1-1.3.6_p1-r6.ebuild 5004 -SHA256 498bfc8393d3c4aaa919caf58a48e49fac755933241f1e62849240ec578cdbee novell-novlc1-1.3.6_p1-r6.ebuild 5004 -MISC ChangeLog 1064 RMD160 a375ee6b3ea90b98acb86eda18b45d1e75f1d86e SHA1 ac138860564325df57995c03673d8319d40ad2bc SHA256 b8700088139978a2b58cda6c6288e0f80629e5c86c463b93791725c9d009af19 -MD5 3f0d3ebee33a314c18400859acf4f776 ChangeLog 1064 -RMD160 a375ee6b3ea90b98acb86eda18b45d1e75f1d86e ChangeLog 1064 -SHA256 b8700088139978a2b58cda6c6288e0f80629e5c86c463b93791725c9d009af19 ChangeLog 1064 +EBUILD novell-novlc1-1.3.6_p1-r6.ebuild 5013 RMD160 41bf50c5922d3afe49c7586eca1ccb2c4f8f1bdc SHA1 eafe6c77223b9104ccfc477cc183f73aa810deeb SHA256 9ecacc5af4ea3ff8a0fa8ef7a1bc6522e98f6b748f618b5f4859e725fff4e95f +MD5 7f17b1813647d37f65e582d7732588b8 novell-novlc1-1.3.6_p1-r6.ebuild 5013 +RMD160 41bf50c5922d3afe49c7586eca1ccb2c4f8f1bdc novell-novlc1-1.3.6_p1-r6.ebuild 5013 +SHA256 9ecacc5af4ea3ff8a0fa8ef7a1bc6522e98f6b748f618b5f4859e725fff4e95f novell-novlc1-1.3.6_p1-r6.ebuild 5013 +MISC ChangeLog 1211 RMD160 9cd17bc596b818b60cab22c0ed5104605c97d81b SHA1 326d6e92e8c536267aee6e096ae13eba5d45e335 SHA256 899b9966048d448b56df69a71f64a4ddf9fa722daa549c76bfb8fb67f5fff749 +MD5 6e1ea8c61470bba5bd718014509190f3 ChangeLog 1211 +RMD160 9cd17bc596b818b60cab22c0ed5104605c97d81b ChangeLog 1211 +SHA256 899b9966048d448b56df69a71f64a4ddf9fa722daa549c76bfb8fb67f5fff749 ChangeLog 1211 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 diff --git a/trunk/novell4gentoo/app-admin/novell-novlc1/files/ConsoleOne-136-pre b/trunk/novell4gentoo/app-admin/novell-novlc1/files/ConsoleOne-136-pre new file mode 100644 index 0000000..de7b8e1 --- /dev/null +++ b/trunk/novell4gentoo/app-admin/novell-novlc1/files/ConsoleOne-136-pre @@ -0,0 +1,13 @@ +# +# Copyright (c) 2007, Mario Fetka +# +# Licensed under the GNU General Public License, v2 + +LD_LIBRARY_PATH="/usr/ConsoleOne/bin:/usr/ConsoleOne/lib:/usr/ConsoleOne/lib32:/usr/lib:/usr/lib32:/opt/novell/lib:/opt/novell/lib32:/opt/novell/eDirectory/lib:/opt/novell/eDirectory/lib32:$LD_LIBRARY_PATH" +export LD_LIBRARY_PATH + +for jar in /usr/ConsoleOne/ConsoleOneExt/*.jar; do + classpath="$classpath:$jar" +done +CLASSPATH="$classpath:$CLASSPATH" +export CLASSPATH diff --git a/trunk/novell4gentoo/app-admin/novell-novlc1/files/digest-novell-novlc1-1.3.6_p1-r6 b/trunk/novell4gentoo/app-admin/novell-novlc1/files/digest-novell-novlc1-1.3.6_p1-r6 new file mode 100644 index 0000000..42f2e87 --- /dev/null +++ b/trunk/novell4gentoo/app-admin/novell-novlc1/files/digest-novell-novlc1-1.3.6_p1-r6 @@ -0,0 +1,3 @@ +MD5 e5abcae2516ffe98cb28aaa91a83294c c1_136h-linux.tar.gz 41771356 +RMD160 0c2b8ac9309962492936a5c988ec519103bad0f2 c1_136h-linux.tar.gz 41771356 +SHA256 481c20119c0d84659a25a5f79e32740b27c7ffa69d4ac1ce810aeebbae211a2b c1_136h-linux.tar.gz 41771356 diff --git a/trunk/novell4gentoo/app-admin/novell-novlc1/novell-novlc1-1.3.6_p1-r6.ebuild b/trunk/novell4gentoo/app-admin/novell-novlc1/novell-novlc1-1.3.6_p1-r6.ebuild new file mode 100644 index 0000000..77fdfe2 --- /dev/null +++ b/trunk/novell4gentoo/app-admin/novell-novlc1/novell-novlc1-1.3.6_p1-r6.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +NOVELL_BUILDID="-a_gSRIUOK0~" +NOVELL_FILE32="c1_136h-linux.tar.gz" +RESTRICT="mirror strip" + +inherit novell eutils rpm java-utils-2 + +MY_PV="${PV/_p/-}" + +DESCRIPTION="Novell ConsoleOne" +HOMEPAGE="http://www.novell.com" +SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32}" + +LICENSE="Novell-eDir-87" +SLOT="0" +KEYWORDS="~x86" +IUSE="linguas_de linguas_es linguas_fr linguas_it linguas_ja linguas_pt linguas_ru linguas_zh_CN linguas_zh_TW" + +DEPEND=">=net-nds/novell-ndsbase-8.7.3.7_p38 + >=net-nds/novell-novlsas-8.7.3_p34 + >=app-crypt/novell-npkiapi-2.7.0_p6" + +RDEPEND="virtual/libc + >=virtual/jdk-1.4 + >=dev-java/java-config-2 + >=net-nds/novell-ndsbase-8.7.3.7_p38 + >=net-nds/novell-ndscommon-8.7.3_p34 + >=net-nds/novell-nldapbase-8.7.3_p34 + >=net-nds/novell-nldapsdk-8.7.3_p34 + >=net-nds/novell-novlice-8.7.3_p34 + >=net-nds/novell-novllmgnt-8.7.3_p34 + >=net-nds/novell-novlsas-8.7.3_p34 + >=net-nds/novell-novlxis-8.7.3_p34 + >=app-crypt/novell-npkit-2.7.0_p6 + >=app-crypt/novell-npkiapi-2.7.0_p6 + >=app-crypt/novell-pkiserver-2.7.0_p6" + +src_unpack() { + unpack ${A} + mkdir -p ${WORKDIR}/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack ${WORKDIR}/Linux/NOVLc1-${MY_PV}.i386.rpm + use linguas_de && rpm_unpack ${WORKDIR}/Linux/NOVLc1_de-${MY_PV}.i386.rpm + use linguas_es && rpm_unpack ${WORKDIR}/Linux/NOVLc1_es-${MY_PV}.i386.rpm + use linguas_fr && rpm_unpack ${WORKDIR}/Linux/NOVLc1_fr-${MY_PV}.i386.rpm + use linguas_it && rpm_unpack ${WORKDIR}/Linux/NOVLc1_it-${MY_PV}.i386.rpm + use linguas_ja && rpm_unpack ${WORKDIR}/Linux/NOVLc1_ja-${MY_PV}.i386.rpm + use linguas_pt && rpm_unpack ${WORKDIR}/Linux/NOVLc1_pt-${MY_PV}.i386.rpm + use linguas_ru && rpm_unpack ${WORKDIR}/Linux/NOVLc1_ru-${MY_PV}.i386.rpm + use linguas_zh_CN && rpm_unpack ${WORKDIR}/Linux/NOVLc1_zh_CN-${MY_PV}.i386.rpm + use linguas_zh_TW && rpm_unpack ${WORKDIR}/Linux/NOVLc1_zh_TW-${MY_PV}.i386.rpm + java-pkg_jar-from novell-ndsbase jclient.jar + java-pkg_jar-from novell-npkiapi npki.jar + java-pkg_jar-from novell-novlsas nssl.jar + java-pkg_jar-from novell-novlsas jssl.jar + java-pkg_addcp /usr/ConsoleOne/ConsoleOneExt + java-pkg_addcp /usr/ConsoleOne/help + java-pkg_addcp /usr/ConsoleOne/lib + java-pkg_addcp /usr/ConsoleOne/bin + java-pkg_addcp /usr/lib + java-pkg_addcp /opt/novell/eDirectory/lib +} + +src_compile() { :; } + +src_install() { + java-pkg_jarinto /usr/ConsoleOne + java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/*.jar + java-pkg_jarinto /usr/ConsoleOne/ConsoleOneExt + java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/ConsoleOneExt/*.jar + java-pkg_jarinto /usr/ConsoleOne/lib/core + java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/lib/core/*.jar + java-pkg_jarinto /usr/ConsoleOne/lib/mach + java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/lib/mach/*.jar + java-pkg_jarinto /usr/ConsoleOne/resources/core + java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/resources/core/*.jar + java-pkg_jarinto /usr/ConsoleOne/resources/mach + java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/resources/mach/*.jar + java-pkg_jarinto /usr/ConsoleOne/resources/widgets + java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/resources/widgets/*.jar + java-pkg_jarinto /usr/ConsoleOne/snapins/core + java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/core/*.jar + java-pkg_jarinto /usr/ConsoleOne/snapins/mach + java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/mach/*.jar + into /usr/ConsoleOne + #dobin ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/bin/* + #dosed 's%$APPHOME/jre%`java-config --jre-home`%' /usr/ConsoleOne/bin/ConsoleOne + insinto /usr/ConsoleOne/help + doins -r ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/help/* + java-pkg_dolauncher ConsoleOne --java_args "-noverify -Dapplication.home=\"/usr/ConsoleOne\" " \ + --main com.novell.application.console.shell.Console \ + --pwd /usr/ConsoleOne/bin \ + -pre ${FILESDIR}/ConsoleOne-136-pre + +# insinto /usr/ConsoleOne/bin + doicon ${WORKDIR}/Linux/ConsoleOneIcon.png + + insinto /usr/share/applications + doins ${WORKDIR}/Linux/consoleone.desktop + dosed 's%/usr/ConsoleOne/bin/ConsoleOneIcon.png%ConsoleOneIcon.png%' /usr/share/applications/consoleone.desktop +} + +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" +} +