From 2f47d7533345d68ecc33629d4a6a462213d74b3f Mon Sep 17 00:00:00 2001 From: geos_one Date: Thu, 17 Dec 2009 20:43:49 +0000 Subject: [PATCH] add messenger --- .../app-admin/novell-messenger-admin/Manifest | 3 + .../novell-messenger-admin/metadata.xml | 5 ++ ...ell-messenger-admin-2.0.4_p20080930.ebuild | 58 +++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 trunk/novell4gentoo/app-admin/novell-messenger-admin/Manifest create mode 100644 trunk/novell4gentoo/app-admin/novell-messenger-admin/metadata.xml create mode 100644 trunk/novell4gentoo/app-admin/novell-messenger-admin/novell-messenger-admin-2.0.4_p20080930.ebuild diff --git a/trunk/novell4gentoo/app-admin/novell-messenger-admin/Manifest b/trunk/novell4gentoo/app-admin/novell-messenger-admin/Manifest new file mode 100644 index 00000000..97b2acbb --- /dev/null +++ b/trunk/novell4gentoo/app-admin/novell-messenger-admin/Manifest @@ -0,0 +1,3 @@ +DIST gwm204_full_linux_multi.tar.gz 116679394 RMD160 2878ae1175ab0dde916d4de5c24f8130c9b5bae0 SHA1 a185a3a1f59637e96be02f8337ab205b74411f9d SHA256 84c65962eee5c02295ba568e9f15cd78e914e431872edf69f761dc22a3b327e4 +EBUILD novell-messenger-admin-2.0.4_p20080930.ebuild 1796 RMD160 19d6149f8e8298ef8182284714e0f4e60d3f2c5c SHA1 5b9fb121b8fe901bf4c7f4305edd3250d3d98eda SHA256 f0abd26d16a3f4089afd680632c7c0c6fb7424f8b422424d016d2756f60be30a +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/app-admin/novell-messenger-admin/metadata.xml b/trunk/novell4gentoo/app-admin/novell-messenger-admin/metadata.xml new file mode 100644 index 00000000..7e328698 --- /dev/null +++ b/trunk/novell4gentoo/app-admin/novell-messenger-admin/metadata.xml @@ -0,0 +1,5 @@ + + + +maintainer-wanted + diff --git a/trunk/novell4gentoo/app-admin/novell-messenger-admin/novell-messenger-admin-2.0.4_p20080930.ebuild b/trunk/novell4gentoo/app-admin/novell-messenger-admin/novell-messenger-admin-2.0.4_p20080930.ebuild new file mode 100644 index 00000000..bce90876 --- /dev/null +++ b/trunk/novell4gentoo/app-admin/novell-messenger-admin/novell-messenger-admin-2.0.4_p20080930.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +NOVELL_BUILDID="mcBnePt_1eo~" +NOVELL_FILE32="patchfiles/gwm204_full_linux_multi.tar.gz" +RESTRICT="mirror strip" + +inherit novell eutils rpm java-utils-2 + +MY_PV="${PV/_p/-}" + +DESCRIPTION="Novell Messenger Administration 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="" + +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/groupwise_messenger/server/novell-messenger-c1admin-${MY_PV}.i586.rpm +} + +src_compile() { :; } + +src_install() { + has_multilib_profile && ABI="x86" + + java-pkg_jarinto /usr/ConsoleOne/snapins/messenger + java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/messenger/*.jar + 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" +}