From c0b321da6c75a1711110b845830e59aa6aa9d179 Mon Sep 17 00:00:00 2001 From: geos_one Date: Fri, 9 Nov 2007 10:35:32 +0000 Subject: [PATCH] app-admin/novell-ndssice: correct resourceles install --- .../app-admin/novell-ndssice/ChangeLog | 4 + .../app-admin/novell-ndssice/Manifest | 15 +++- .../files/digest-novell-ndssice-8.7.0_p1-r5 | 3 + .../novell-ndssice-8.7.0_p1-r5.ebuild | 80 +++++++++++++++++++ 4 files changed, 98 insertions(+), 4 deletions(-) create mode 100644 trunk/novell4gentoo/app-admin/novell-ndssice/files/digest-novell-ndssice-8.7.0_p1-r5 create mode 100644 trunk/novell4gentoo/app-admin/novell-ndssice/novell-ndssice-8.7.0_p1-r5.ebuild diff --git a/trunk/novell4gentoo/app-admin/novell-ndssice/ChangeLog b/trunk/novell4gentoo/app-admin/novell-ndssice/ChangeLog index 3b26b791..daac8091 100644 --- a/trunk/novell4gentoo/app-admin/novell-ndssice/ChangeLog +++ b/trunk/novell4gentoo/app-admin/novell-ndssice/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 09 Nov 2007; Mario Fetka + +novell-ndssice-8.7.0_p1-r5.ebuild: + correct resourceles install + 01 Nov 2007; Mario Fetka novell-ndssice-8.7.0_p1-r4.ebuild: correct wrong install of resources diff --git a/trunk/novell4gentoo/app-admin/novell-ndssice/Manifest b/trunk/novell4gentoo/app-admin/novell-ndssice/Manifest index 04e03fd2..6cc28abd 100644 --- a/trunk/novell4gentoo/app-admin/novell-ndssice/Manifest +++ b/trunk/novell4gentoo/app-admin/novell-ndssice/Manifest @@ -8,10 +8,14 @@ EBUILD novell-ndssice-8.7.0_p1-r4.ebuild 3226 RMD160 2a6bc299d3355992dfd3291286d MD5 ddbf42c17ce02a2d719e516a61ad9cc1 novell-ndssice-8.7.0_p1-r4.ebuild 3226 RMD160 2a6bc299d3355992dfd3291286da7b3fe1e5e160 novell-ndssice-8.7.0_p1-r4.ebuild 3226 SHA256 faca20fa8ad9e0977f0a62fe157eb1936f2f0cbc913c7aa71e6896bd66e8d4d5 novell-ndssice-8.7.0_p1-r4.ebuild 3226 -MISC ChangeLog 1204 RMD160 3fb9d3839b00dee51f9458cbe64c76ff78674350 SHA1 06dafa253e42fa6aad096eb31745ee10508bd3eb SHA256 ed3dd66b7bb894be55b265263ca15a7932ca267538f7ce43a1a2d543887e745e -MD5 0383517ec339570339e59d3f9ed78f80 ChangeLog 1204 -RMD160 3fb9d3839b00dee51f9458cbe64c76ff78674350 ChangeLog 1204 -SHA256 ed3dd66b7bb894be55b265263ca15a7932ca267538f7ce43a1a2d543887e745e ChangeLog 1204 +EBUILD novell-ndssice-8.7.0_p1-r5.ebuild 3353 RMD160 fd09c6e1e338cb5b9afb95089bf3ab6619a8342d SHA1 c727cd349e1569a056249a6e768f6a29687b77fc SHA256 a5a458cf366ddaa7ca39869f6e93b28d5ea761c353fb0260ede8181547a04209 +MD5 007e2f31f56877270ecec7fbb48b8264 novell-ndssice-8.7.0_p1-r5.ebuild 3353 +RMD160 fd09c6e1e338cb5b9afb95089bf3ab6619a8342d novell-ndssice-8.7.0_p1-r5.ebuild 3353 +SHA256 a5a458cf366ddaa7ca39869f6e93b28d5ea761c353fb0260ede8181547a04209 novell-ndssice-8.7.0_p1-r5.ebuild 3353 +MISC ChangeLog 1321 RMD160 aa17aaef5aacb5da117e66878cadafc63a35fe25 SHA1 3fd6671e94bbafebaf4860cc18c371de20f2a45a SHA256 70ea15bd2d3d31e848fbe1de3ff27e55dc05fce4679026069ac0b5d78a37f20a +MD5 fcfc04d5ebe26e1f27ab5ab1ebb2f68c ChangeLog 1321 +RMD160 aa17aaef5aacb5da117e66878cadafc63a35fe25 ChangeLog 1321 +SHA256 70ea15bd2d3d31e848fbe1de3ff27e55dc05fce4679026069ac0b5d78a37f20a ChangeLog 1321 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 @@ -22,3 +26,6 @@ SHA256 cbd3ff4d7cff845a6c8d6cc774c759679c678796c839e423f72d19ef5d6830b8 files/di MD5 c37570dc956a0b1e99dde5d817db3c33 files/digest-novell-ndssice-8.7.0_p1-r4 247 RMD160 90967aec29ff52d987a9305efc4c3d4f963d15f6 files/digest-novell-ndssice-8.7.0_p1-r4 247 SHA256 717404e01f7fb0d72d105228f4a05e0980d6b1986c8f48d269176aeb21267ed9 files/digest-novell-ndssice-8.7.0_p1-r4 247 +MD5 c37570dc956a0b1e99dde5d817db3c33 files/digest-novell-ndssice-8.7.0_p1-r5 247 +RMD160 90967aec29ff52d987a9305efc4c3d4f963d15f6 files/digest-novell-ndssice-8.7.0_p1-r5 247 +SHA256 717404e01f7fb0d72d105228f4a05e0980d6b1986c8f48d269176aeb21267ed9 files/digest-novell-ndssice-8.7.0_p1-r5 247 diff --git a/trunk/novell4gentoo/app-admin/novell-ndssice/files/digest-novell-ndssice-8.7.0_p1-r5 b/trunk/novell4gentoo/app-admin/novell-ndssice/files/digest-novell-ndssice-8.7.0_p1-r5 new file mode 100644 index 00000000..42f2e877 --- /dev/null +++ b/trunk/novell4gentoo/app-admin/novell-ndssice/files/digest-novell-ndssice-8.7.0_p1-r5 @@ -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-ndssice/novell-ndssice-8.7.0_p1-r5.ebuild b/trunk/novell4gentoo/app-admin/novell-ndssice/novell-ndssice-8.7.0_p1-r5.ebuild new file mode 100644 index 00000000..1d68838d --- /dev/null +++ b/trunk/novell4gentoo/app-admin/novell-ndssice/novell-ndssice-8.7.0_p1-r5.ebuild @@ -0,0 +1,80 @@ +# 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 NDS ICE ConsoleOne Snapins" +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" + +DEPEND="" + +RDEPEND="virtual/libc + >=virtual/jdk-1.4 + >=net-nds/novell-novlice-8.7.3_p34 + >=app-admin/novell-novlc1-1.3.6_p1 + >=net-nds/novell-ndsbase-8.7.3.7_p38 + >=net-nds/novell-novllmgnt-8.7.3_p34 + >=net-nds/novell-novlxis-8.7.3_p34" + +src_unpack() { + unpack ${A} + mkdir -p ${WORKDIR}/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack ${WORKDIR}/Linux/NDSsice-${MY_PV}.i386.rpm + use linguas_de && rpm_unpack ${WORKDIR}/Linux/NDSsice_de-${MY_PV}.i386.rpm + use linguas_es && rpm_unpack ${WORKDIR}/Linux/NDSsice_es-${MY_PV}.i386.rpm + use linguas_fr && rpm_unpack ${WORKDIR}/Linux/NDSsice_fr-${MY_PV}.i386.rpm + use linguas_it && rpm_unpack ${WORKDIR}/Linux/NDSsice_it-${MY_PV}.i386.rpm + use linguas_pt && rpm_unpack ${WORKDIR}/Linux/NDSsice_pt-${MY_PV}.i386.rpm + use linguas_ru && rpm_unpack ${WORKDIR}/Linux/NDSsice_ru-${MY_PV}.i386.rpm +} + +src_compile() { :; } + +src_install() { + java-pkg_jarinto /usr/ConsoleOne/snapins/ice + java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/ice/icewiz.jar + if use linguas_de || use linguas_es || use linguas_fr || use linguas_it || use linguas_pt || use linguas_ru ; then + java-pkg_jarinto /usr/ConsoleOne/resources/ice + use linguas_de && java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/ice/*_de.jar + use linguas_es && java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/ice/*_es.jar + use linguas_fr && java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/ice/*_fr.jar + use linguas_it && java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/ice/*_it.jar + use linguas_pt && java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/ice/*_pt.jar + use linguas_ru && java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/ice/*_ru.jar + fi + insinto /usr/ConsoleOne/help + doins -r ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/help/* + insinto /usr/ConsoleOne/bin + doins ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/bin/* + into /usr/ConsoleOne + dolib.so ${WORKDIR}/${PN}-${MY_PV}/usr/lib/* +} + +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" +} +