add messenger

This commit is contained in:
geos_one 2009-12-17 20:43:49 +00:00
parent 0ca89fc66d
commit 2f47d75333
3 changed files with 66 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>maintainer-wanted</herd>
</pkgmetadata>

View File

@ -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"
}