From b2f9b24c005f008dfb14e4463a59f5255147cda8 Mon Sep 17 00:00:00 2001 From: geos_one Date: Fri, 9 Nov 2007 10:29:22 +0000 Subject: [PATCH] app-admin/novell-ndssfrep: correct resourceles install --- .../app-admin/novell-ndssfrep/ChangeLog | 4 ++ .../app-admin/novell-ndssfrep/Manifest | 15 ++-- .../files/digest-novell-ndssfrep-8.7.0_p1-r5 | 3 + .../novell-ndssfrep-8.7.0_p1-r5.ebuild | 71 +++++++++++++++++++ 4 files changed, 89 insertions(+), 4 deletions(-) create mode 100644 trunk/novell4gentoo/app-admin/novell-ndssfrep/files/digest-novell-ndssfrep-8.7.0_p1-r5 create mode 100644 trunk/novell4gentoo/app-admin/novell-ndssfrep/novell-ndssfrep-8.7.0_p1-r5.ebuild diff --git a/trunk/novell4gentoo/app-admin/novell-ndssfrep/ChangeLog b/trunk/novell4gentoo/app-admin/novell-ndssfrep/ChangeLog index f9b2033..6d40b57 100644 --- a/trunk/novell4gentoo/app-admin/novell-ndssfrep/ChangeLog +++ b/trunk/novell4gentoo/app-admin/novell-ndssfrep/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 09 Nov 2007; Mario Fetka + +novell-ndssfrep-8.7.0_p1-r5.ebuild: + correct resourceles install + 01 Nov 2007; Mario Fetka novell-ndssfrep-8.7.0_p1-r4.ebuild: correct typo diff --git a/trunk/novell4gentoo/app-admin/novell-ndssfrep/Manifest b/trunk/novell4gentoo/app-admin/novell-ndssfrep/Manifest index e80be4e..2b4e3cf 100644 --- a/trunk/novell4gentoo/app-admin/novell-ndssfrep/Manifest +++ b/trunk/novell4gentoo/app-admin/novell-ndssfrep/Manifest @@ -8,10 +8,14 @@ EBUILD novell-ndssfrep-8.7.0_p1-r4.ebuild 3174 RMD160 0fd08750d66cc2716a01595b6e MD5 e9650036d25aeb33c606abcc19f73376 novell-ndssfrep-8.7.0_p1-r4.ebuild 3174 RMD160 0fd08750d66cc2716a01595b6efdc95254c33376 novell-ndssfrep-8.7.0_p1-r4.ebuild 3174 SHA256 99d55cc92fe9f33f382553c7a57b4edfd47d346c4ac35452029aecdf8de8627a novell-ndssfrep-8.7.0_p1-r4.ebuild 3174 -MISC ChangeLog 1305 RMD160 4a8ce4eadedb107cd31faee94a73a0a115189893 SHA1 124cca2606b24512bd897925befe0fc2fef5a43c SHA256 1524aeb8373545dbbc9c12163045510c82e382b4359640cf74ef1a2b0c3306df -MD5 b70c9c9f1cbfc8673734fdfd078d8242 ChangeLog 1305 -RMD160 4a8ce4eadedb107cd31faee94a73a0a115189893 ChangeLog 1305 -SHA256 1524aeb8373545dbbc9c12163045510c82e382b4359640cf74ef1a2b0c3306df ChangeLog 1305 +EBUILD novell-ndssfrep-8.7.0_p1-r5.ebuild 3322 RMD160 3971b81308b2536b8c0033d42dee96c8da86ffc2 SHA1 e8710a9ac4ae2df255e2397571341cb150f578bd SHA256 6b7608468e977b87bbf17c062e4c1370b12cb4abfc1395bf0847daa4d713b056 +MD5 9353da0918ddba8eff136cc8802fa620 novell-ndssfrep-8.7.0_p1-r5.ebuild 3322 +RMD160 3971b81308b2536b8c0033d42dee96c8da86ffc2 novell-ndssfrep-8.7.0_p1-r5.ebuild 3322 +SHA256 6b7608468e977b87bbf17c062e4c1370b12cb4abfc1395bf0847daa4d713b056 novell-ndssfrep-8.7.0_p1-r5.ebuild 3322 +MISC ChangeLog 1423 RMD160 ca7aba35ffe7e366e5962bba38faf4cf9c746081 SHA1 55438fb8a3a0090d6fda295af01a52469e9195bb SHA256 76ac29aedabaffdff7b4f18b5d816fd60875b298393e18b69ebc67f074160cd2 +MD5 d386b4a1fb541f5063d6251ab039d580 ChangeLog 1423 +RMD160 ca7aba35ffe7e366e5962bba38faf4cf9c746081 ChangeLog 1423 +SHA256 76ac29aedabaffdff7b4f18b5d816fd60875b298393e18b69ebc67f074160cd2 ChangeLog 1423 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-ndssfrep-8.7.0_p1-r4 247 RMD160 90967aec29ff52d987a9305efc4c3d4f963d15f6 files/digest-novell-ndssfrep-8.7.0_p1-r4 247 SHA256 717404e01f7fb0d72d105228f4a05e0980d6b1986c8f48d269176aeb21267ed9 files/digest-novell-ndssfrep-8.7.0_p1-r4 247 +MD5 c37570dc956a0b1e99dde5d817db3c33 files/digest-novell-ndssfrep-8.7.0_p1-r5 247 +RMD160 90967aec29ff52d987a9305efc4c3d4f963d15f6 files/digest-novell-ndssfrep-8.7.0_p1-r5 247 +SHA256 717404e01f7fb0d72d105228f4a05e0980d6b1986c8f48d269176aeb21267ed9 files/digest-novell-ndssfrep-8.7.0_p1-r5 247 diff --git a/trunk/novell4gentoo/app-admin/novell-ndssfrep/files/digest-novell-ndssfrep-8.7.0_p1-r5 b/trunk/novell4gentoo/app-admin/novell-ndssfrep/files/digest-novell-ndssfrep-8.7.0_p1-r5 new file mode 100644 index 0000000..42f2e87 --- /dev/null +++ b/trunk/novell4gentoo/app-admin/novell-ndssfrep/files/digest-novell-ndssfrep-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-ndssfrep/novell-ndssfrep-8.7.0_p1-r5.ebuild b/trunk/novell4gentoo/app-admin/novell-ndssfrep/novell-ndssfrep-8.7.0_p1-r5.ebuild new file mode 100644 index 0000000..936b256 --- /dev/null +++ b/trunk/novell4gentoo/app-admin/novell-ndssfrep/novell-ndssfrep-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 Filterd Replica 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/NDSsfrep-${MY_PV}.i386.rpm + use linguas_de && rpm_unpack ${WORKDIR}/Linux/NDSsfrep_de-${MY_PV}.i386.rpm + use linguas_es && rpm_unpack ${WORKDIR}/Linux/NDSsfrep_es-${MY_PV}.i386.rpm + use linguas_fr && rpm_unpack ${WORKDIR}/Linux/NDSsfrep_fr-${MY_PV}.i386.rpm + use linguas_it && rpm_unpack ${WORKDIR}/Linux/NDSsfrep_it-${MY_PV}.i386.rpm + use linguas_pt && rpm_unpack ${WORKDIR}/Linux/NDSsfrep_pt-${MY_PV}.i386.rpm + use linguas_ru && rpm_unpack ${WORKDIR}/Linux/NDSsfrep_ru-${MY_PV}.i386.rpm +} + +src_compile() { :; } + +src_install() { + java-pkg_jarinto /usr/ConsoleOne/lib/dirxml + java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/lib/dirxml/*.jar + java-pkg_jarinto /usr/ConsoleOne/snapins/dirxml + java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/dirxml/FilteredReplica.jar + java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/dirxml/rwiz.jar + if use linguas_de || use linguas_es || use linguas_fr || use linguas_it || use linguas_ja || use linguas_pt || use linguas_ru ; then + java-pkg_jarinto /usr/ConsoleOne/resources/dirxml + use linguas_de && java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/dirxml/*_de.jar + use linguas_es && java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/dirxml/*_es.jar + use linguas_fr && java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/dirxml/*_fr.jar + use linguas_it && java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/dirxml/*_it.jar + use linguas_pt && java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/dirxml/*_pt.jar + use linguas_ru && java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/usr/ConsoleOne/snapins/dirxml/*_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" +}