add the nfs nis snapin

This commit is contained in:
geos_one 2009-12-17 08:09:19 +00:00
parent feafe8873e
commit b80f40602b
3 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST nfs30sp7.exe 1416961 RMD160 8f0cd6c36d12ac2b3d7295af638030270b86b2cc SHA1 ff6527d19c43a66ee2401266f6b7411bf374ab15 SHA256 7adcb2d1a26edc5bb9005061ec9f4acf476c5c08c194e6deecd3208d400a8a88
EBUILD novell-consoleone-nisnfs-snapin-2.0.1.ebuild 1899 RMD160 33d659bdf6c797ae10aa8b3e50e2d4776e2bfd18 SHA1 6579eebf24edbcb81238f8c34dd7a20f3bd269d1 SHA256 8b95a617974d67a4d3ba9fc87771b129e3336fa525a5bd88b13c98a65fd417d3
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,57 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NOVELL_BUILDID="ECsStzUZ094~"
NOVELL_FILE32="patchfiles/nfs30sp7.exe"
RESTRICT="mirror strip"
inherit novell eutils java-utils-2
DESCRIPTION="Novell NDS Import/Export Assistent 85.00.00 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}"
7z x "${DISTDIR}"/nfs30sp7.exe
unpack ../work/nfs30sp7/Nfs30.zip
}
src_compile() { :; }
src_install() {
java-pkg_jarinto /usr/ConsoleOne/lib/nisnfs
java-pkg_dojar "${WORKDIR}"/public/mgmt/consoleone/1.2/lib/nisnfs/*.jar
java-pkg_jarinto /usr/ConsoleOne/resources/nisnfs
java-pkg_dojar "${WORKDIR}"/public/mgmt/consoleone/1.2/resources/nisnfs/*.jar
java-pkg_jarinto /usr/ConsoleOne/snapins/nisnfs
java-pkg_dojar "${WORKDIR}"/public/mgmt/consoleone/1.2/snapins/nisnfs/*.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"
}