From d0f3552fbd50b12de9ed98937325ef4dc3b58599 Mon Sep 17 00:00:00 2001 From: geos_one Date: Fri, 9 Nov 2007 10:37:02 +0000 Subject: [PATCH] app-admin/novell-ndssimgr: correct resourceles install --- .../app-admin/novell-ndssimgr/ChangeLog | 4 ++ .../app-admin/novell-ndssimgr/Manifest | 15 ++-- .../files/digest-novell-ndssimgr-8.7.0_p1-r5 | 3 + .../novell-ndssimgr-8.7.0_p1-r5.ebuild | 71 +++++++++++++++++++ 4 files changed, 89 insertions(+), 4 deletions(-) create mode 100644 trunk/novell4gentoo/app-admin/novell-ndssimgr/files/digest-novell-ndssimgr-8.7.0_p1-r5 create mode 100644 trunk/novell4gentoo/app-admin/novell-ndssimgr/novell-ndssimgr-8.7.0_p1-r5.ebuild diff --git a/trunk/novell4gentoo/app-admin/novell-ndssimgr/ChangeLog b/trunk/novell4gentoo/app-admin/novell-ndssimgr/ChangeLog index 73a8ce31..0a60b5ae 100644 --- a/trunk/novell4gentoo/app-admin/novell-ndssimgr/ChangeLog +++ b/trunk/novell4gentoo/app-admin/novell-ndssimgr/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 09 Nov 2007; Mario Fetka + +novell-ndssimgr-8.7.0_p1-r5.ebuild: + correct resourceles install + 01 Nov 2007; Mario Fetka novell-ndssimgr-8.7.0_p1-r4.ebuild: correct wrong install of resources diff --git a/trunk/novell4gentoo/app-admin/novell-ndssimgr/Manifest b/trunk/novell4gentoo/app-admin/novell-ndssimgr/Manifest index 89520b15..c06decf3 100644 --- a/trunk/novell4gentoo/app-admin/novell-ndssimgr/Manifest +++ b/trunk/novell4gentoo/app-admin/novell-ndssimgr/Manifest @@ -8,10 +8,14 @@ EBUILD novell-ndssimgr-8.7.0_p1-r4.ebuild 2977 RMD160 b41e1d76e81bfe2dca9e7bf358 MD5 881806913f3970e6d7b4d6f1531bdd1a novell-ndssimgr-8.7.0_p1-r4.ebuild 2977 RMD160 b41e1d76e81bfe2dca9e7bf358c2e902352d6f09 novell-ndssimgr-8.7.0_p1-r4.ebuild 2977 SHA256 27e6d82d562755ab5faba87039ad58759e191f71c11fc208225e0b3588387706 novell-ndssimgr-8.7.0_p1-r4.ebuild 2977 -MISC ChangeLog 1105 RMD160 904451306eeda14e2ad713d47606dacde47af17c SHA1 acf290c2ceee3655d25b935f9ed56bcaf60ac885 SHA256 e7682524f5a6984c4987ebfdb66b1c0df277a5ca4e400d558b6dcf47287a1e10 -MD5 f0dc569c9d95ab60ea66efa0ec38ef87 ChangeLog 1105 -RMD160 904451306eeda14e2ad713d47606dacde47af17c ChangeLog 1105 -SHA256 e7682524f5a6984c4987ebfdb66b1c0df277a5ca4e400d558b6dcf47287a1e10 ChangeLog 1105 +EBUILD novell-ndssimgr-8.7.0_p1-r5.ebuild 3104 RMD160 aa617c2179c369220162d3e0fd426ab6541ba6a0 SHA1 8457bb2c1826814d73bfbea24c4526c9403b4403 SHA256 493eb9ddec9c1ee9bb8cc62dbaf66a6869bde42c86670c2eb843f697c85cad3a +MD5 d4cc393d45d4ee0bac9b7fec5997097a novell-ndssimgr-8.7.0_p1-r5.ebuild 3104 +RMD160 aa617c2179c369220162d3e0fd426ab6541ba6a0 novell-ndssimgr-8.7.0_p1-r5.ebuild 3104 +SHA256 493eb9ddec9c1ee9bb8cc62dbaf66a6869bde42c86670c2eb843f697c85cad3a novell-ndssimgr-8.7.0_p1-r5.ebuild 3104 +MISC ChangeLog 1223 RMD160 364a7ab9b7f35e0eb8e1db0fb27655acfb1807df SHA1 da38ec9f8caaf84377ffd284fd74abd1d12318fb SHA256 b4ffb1421fd961a28fb1ba89c1fdc4e913b90222759d445af5f52ae9001998a9 +MD5 1a35aaf5f75d59be8ddc1fe6e651ae44 ChangeLog 1223 +RMD160 364a7ab9b7f35e0eb8e1db0fb27655acfb1807df ChangeLog 1223 +SHA256 b4ffb1421fd961a28fb1ba89c1fdc4e913b90222759d445af5f52ae9001998a9 ChangeLog 1223 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-ndssimgr-8.7.0_p1-r4 247 RMD160 90967aec29ff52d987a9305efc4c3d4f963d15f6 files/digest-novell-ndssimgr-8.7.0_p1-r4 247 SHA256 717404e01f7fb0d72d105228f4a05e0980d6b1986c8f48d269176aeb21267ed9 files/digest-novell-ndssimgr-8.7.0_p1-r4 247 +MD5 c37570dc956a0b1e99dde5d817db3c33 files/digest-novell-ndssimgr-8.7.0_p1-r5 247 +RMD160 90967aec29ff52d987a9305efc4c3d4f963d15f6 files/digest-novell-ndssimgr-8.7.0_p1-r5 247 +SHA256 717404e01f7fb0d72d105228f4a05e0980d6b1986c8f48d269176aeb21267ed9 files/digest-novell-ndssimgr-8.7.0_p1-r5 247 diff --git a/trunk/novell4gentoo/app-admin/novell-ndssimgr/files/digest-novell-ndssimgr-8.7.0_p1-r5 b/trunk/novell4gentoo/app-admin/novell-ndssimgr/files/digest-novell-ndssimgr-8.7.0_p1-r5 new file mode 100644 index 00000000..42f2e877 --- /dev/null +++ b/trunk/novell4gentoo/app-admin/novell-ndssimgr/files/digest-novell-ndssimgr-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-ndssimgr/novell-ndssimgr-8.7.0_p1-r5.ebuild b/trunk/novell4gentoo/app-admin/novell-ndssimgr/novell-ndssimgr-8.7.0_p1-r5.ebuild new file mode 100644 index 00000000..e2bb5ec6 --- /dev/null +++ b/trunk/novell4gentoo/app-admin/novell-ndssimgr/novell-ndssimgr-8.7.0_p1-r5.ebuild @@ -0,0 +1,71 @@ +# 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 IndexManager 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 + >=app-admin/novell-novlc1-1.3.6_p1" + +src_unpack() { + unpack ${A} + mkdir -p ${WORKDIR}/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack ${WORKDIR}/Linux/NDSsimgr-${MY_PV}.i386.rpm + use linguas_de && rpm_unpack ${WORKDIR}/Linux/NDSsimgr_de-${MY_PV}.i386.rpm + use linguas_es && rpm_unpack ${WORKDIR}/Linux/NDSsimgr_es-${MY_PV}.i386.rpm + use linguas_fr && rpm_unpack ${WORKDIR}/Linux/NDSsimgr_fr-${MY_PV}.i386.rpm + use linguas_it && rpm_unpack ${WORKDIR}/Linux/NDSsimgr_it-${MY_PV}.i386.rpm + use linguas_pt && rpm_unpack ${WORKDIR}/Linux/NDSsimgr_pt-${MY_PV}.i386.rpm + use linguas_ru && rpm_unpack ${WORKDIR}/Linux/NDSsimgr_ru-${MY_PV}.i386.rpm +} + +src_compile() { :; } + +src_install() { + java-pkg_jarinto /usr/ConsoleOne/snapins/indxmgr + java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/indxmgr/indexmanager.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/indxmgr + use linguas_de && java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/indxmgr/*_de.jar + use linguas_es && java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/indxmgr/*_es.jar + use linguas_fr && java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/indxmgr/*_fr.jar + use linguas_it && java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/indxmgr/*_it.jar + use linguas_pt && java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/indxmgr/*_pt.jar + use linguas_ru && java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/indxmgr/*_ru.jar + fi + insinto /usr/ConsoleOne/help + doins -r ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/help/* +} + +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" +}