add cluster services

This commit is contained in:
geos_one 2009-12-17 09:17:00 +00:00
parent a4880843eb
commit fcf4f3de24
3 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST NWCS_CS1_Snapins.zip 358478 RMD160 658ba35ff71a4e7405c6f3810a48761d89d3349d SHA1 b82b310bb6a2726ee5bcb2c7686c7ab902203c2c SHA256 b7185a96d6f159cd60001f3080355ed6dea4859902471d2234f3a325410b1c4f
EBUILD novell-consoleone-ncs-snapin-1.7.ebuild 1811 RMD160 68e5cc894074d97445405d2292bf9c330bb32b41 SHA1 4ef8a7597d5302ef82c3a8f2fa8f285d2b676da6 SHA256 560f263e07e1a9859d0ea938e004caf32fe7f70426e508bb8adc4c694dfc03a9
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,56 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NOVELL_BUILDID="0-JAQDFM8Eo~"
NOVELL_FILE32="NWCS_CS1_Snapins.zip"
RESTRICT="mirror strip"
inherit novell eutils java-utils-2
DESCRIPTION="Novell Cluster Services 1.7 Snap-in"
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=">=app-arch/p7zip-4.15"
RDEPEND="virtual/libc
>=virtual/jdk-1.4
>=app-admin/novell-novlc1-1.3.6_p1"
src_unpack() {
cd "${WORKDIR}"
unpack ${A}
}
src_compile() { :; }
src_install() {
# java-pkg_jarinto /usr/ConsoleOne/lib/ncs
# java-pkg_dojar "${WORKDIR}"/public/mgmt/consoleone/1.2/lib/ncs/*.jar
java-pkg_jarinto /usr/ConsoleOne/resources/ncs
java-pkg_dojar "${WORKDIR}"/public/mgmt/ConsoleOne/1.2/resources/ncs/*.jar
java-pkg_jarinto /usr/ConsoleOne/snapins/ncs
java-pkg_dojar "${WORKDIR}"/public/mgmt/ConsoleOne/1.2/snapins/ncs/*.jar
insinto /usr/ConsoleOne/help
doins -r "${WORKDIR}"/public/mgmt/ConsoleOne/1.2/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"
}