From 86586c62c402b1f46bc3457d290ca1460f12b5a9 Mon Sep 17 00:00:00 2001 From: geos_one Date: Thu, 17 Dec 2009 17:16:51 +0000 Subject: [PATCH] app-admin/novell-ndsswan: correct rpm_unpack warning --- .../app-admin/novell-ndsswan/ChangeLog | 4 ++ .../app-admin/novell-ndsswan/Manifest | 3 +- .../novell-ndsswan-8.7.0.1.ebuild | 68 +++++++++++++++++++ 3 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 trunk/novell4gentoo/app-admin/novell-ndsswan/novell-ndsswan-8.7.0.1.ebuild diff --git a/trunk/novell4gentoo/app-admin/novell-ndsswan/ChangeLog b/trunk/novell4gentoo/app-admin/novell-ndsswan/ChangeLog index 9e2b19b..572a118 100644 --- a/trunk/novell4gentoo/app-admin/novell-ndsswan/ChangeLog +++ b/trunk/novell4gentoo/app-admin/novell-ndsswan/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 17 Dec 2009; Mario Fetka + +novell-ndsswan-8.7.0.1.ebuild: + correct rpm_unpack warning + 04 May 2009; Mario Fetka novell-ndsswan-8.7.0_p1-r5.ebuild: add amd64 diff --git a/trunk/novell4gentoo/app-admin/novell-ndsswan/Manifest b/trunk/novell4gentoo/app-admin/novell-ndsswan/Manifest index 614377b..f092774 100644 --- a/trunk/novell4gentoo/app-admin/novell-ndsswan/Manifest +++ b/trunk/novell4gentoo/app-admin/novell-ndsswan/Manifest @@ -1,4 +1,5 @@ DIST c1_136h-linux.tar.gz 41771356 RMD160 0c2b8ac9309962492936a5c988ec519103bad0f2 SHA1 de6525532a5b89b0872c129a54bb82e8f2e08aec SHA256 481c20119c0d84659a25a5f79e32740b27c7ffa69d4ac1ce810aeebbae211a2b +EBUILD novell-ndsswan-8.7.0.1.ebuild 2586 RMD160 a7dcefa871c9de9bce086837359309c2ba01622c SHA1 f896ec96e4593164d1c25fe2b8b928527e25b830 SHA256 2e2d5622d796b21b8d5093d35613c49fd1d87c5425e5e5df07daffa74a9aec71 EBUILD novell-ndsswan-8.7.0_p1-r5.ebuild 2587 RMD160 002c5a127396b698cf208427ea519be624040419 SHA1 f9a319aae4e3788dfd183768d1f6bb05deb20e45 SHA256 074e1dc43f737162358d48da8135ee9f370dc9556179162e721d735e6300c594 -MISC ChangeLog 1462 RMD160 dfbb569208495a14521f8ef41355b0294b4a6a77 SHA1 21c56b896de39f73c10c1adf4e2179d70a83f1ef SHA256 58285cc320933ae628c420ba7984e27d03b491b7a36a08e3d03aa80c5abfac95 +MISC ChangeLog 1577 RMD160 a22ac0316b027516ba1de6c76a36d8a8b9ceda1b SHA1 d29ae72d1503b8ff26a0e9bc35e2d15beb9b5ad4 SHA256 12f7882d3773d22287ef52cf76df4c10e78c74658d8bf344d826d23f34738006 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/app-admin/novell-ndsswan/novell-ndsswan-8.7.0.1.ebuild b/trunk/novell4gentoo/app-admin/novell-ndsswan/novell-ndsswan-8.7.0.1.ebuild new file mode 100644 index 0000000..8d39d0b --- /dev/null +++ b/trunk/novell4gentoo/app-admin/novell-ndsswan/novell-ndsswan-8.7.0.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2009 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 versionator + +MY_PV=$(replace_version_separator 3 '-') + +DESCRIPTION="Novell NDS Wanman 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 ~amd64" +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 ../work/Linux/NDSswan-${MY_PV}.i386.rpm + use linguas_de && rpm_unpack ../work/Linux/NDSswan_de-${MY_PV}.i386.rpm + use linguas_es && rpm_unpack ../work/Linux/NDSswan_es-${MY_PV}.i386.rpm + use linguas_fr && rpm_unpack ../work/Linux/NDSswan_fr-${MY_PV}.i386.rpm + use linguas_it && rpm_unpack ../work/Linux/NDSswan_it-${MY_PV}.i386.rpm + use linguas_pt && rpm_unpack ../work/Linux/NDSswan_pt-${MY_PV}.i386.rpm + use linguas_ru && rpm_unpack ../work/Linux/NDSswan_ru-${MY_PV}.i386.rpm +} + +src_compile() { :; } + +src_install() { + java-pkg_jarinto /usr/ConsoleOne/lib/wanman + java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/lib/wanman/*.jar + java-pkg_jarinto /usr/ConsoleOne/snapins/wanman + java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/wanman/*.jar + java-pkg_jarinto /usr/ConsoleOne/resources/wanman + java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/resources/wanman/*.jar + insinto /usr/ConsoleOne/lib/wanman + doins "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/lib/wanman/*.wmg + 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" +}