app-admin/novell-ndssldap: cleanup tree

This commit is contained in:
geos_one 2009-12-17 17:20:06 +00:00
parent 2e0943296c
commit 9b8821d4ab
3 changed files with 2 additions and 66 deletions

View File

@ -1,5 +1,4 @@
DIST c1_136h-linux.tar.gz 41771356 RMD160 0c2b8ac9309962492936a5c988ec519103bad0f2 SHA1 de6525532a5b89b0872c129a54bb82e8f2e08aec SHA256 481c20119c0d84659a25a5f79e32740b27c7ffa69d4ac1ce810aeebbae211a2b
EBUILD novell-ndssldap-8.7.0.1.ebuild 2486 RMD160 a9b26efd1ba6abf38c59792818359cf692c20f6e SHA1 cd64fa24a3943fad47eb3d4a2d884b9f1d80f5cf SHA256 4364f272d18bba446f29eaee948c3604009fd7f0bac067ea8d143dda27bbb22d
EBUILD novell-ndssldap-8.7.0_p1-r5.ebuild 2499 RMD160 4e8dca0344821a544f7a6f485d8af76156f0da41 SHA1 8f993a75d5ef16c4727e700ae5eb144cf046ec02 SHA256 4a872569a223c977becbd9a460c1c75268d6dd8537df3c6490c70878d47d5f4c
EBUILD novell-ndssldap-8.7.0.1.ebuild 2498 RMD160 615b703ecce2cfb5de4ffe343317796190e91ddb SHA1 8f830b29794ccd299e695188ee7ed10e0e7a1eaa SHA256 1de9c4e3b779be6705934333e9ce88b42fb04f5dacc74c6f46afd921be4f4a3f
MISC ChangeLog 1717 RMD160 fb1a19e0effc1a8bf63a4a3efd8ad04596f1b765 SHA1 776ddd0638aa3f69ea560aaf9fd34133dda40ccb SHA256 d336ae6aa8118f3bc2924c8a8608c40f8c55f00fbed29dbd53a96759e5809af5
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -6,7 +6,7 @@ NOVELL_BUILDID="-a_gSRIUOK0~"
NOVELL_FILE32="c1_136h-linux.tar.gz"
RESTRICT="mirror strip"
inherit novell eutils rpm java-utils-2
inherit novell eutils rpm java-utils-2 versionator
MY_PV=$(replace_version_separator 3 '-')

View File

@ -1,63 +0,0 @@
# 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
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell LDAP 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 "${WORKDIR}"/Linux/NDSsldap-${MY_PV}.i386.rpm
use linguas_de && rpm_unpack "${WORKDIR}"/Linux/NDSsldap_de-${MY_PV}.i386.rpm
use linguas_es && rpm_unpack "${WORKDIR}"/Linux/NDSsldap_es-${MY_PV}.i386.rpm
use linguas_fr && rpm_unpack "${WORKDIR}"/Linux/NDSsldap_fr-${MY_PV}.i386.rpm
use linguas_it && rpm_unpack "${WORKDIR}"/Linux/NDSsldap_it-${MY_PV}.i386.rpm
use linguas_pt && rpm_unpack "${WORKDIR}"/Linux/NDSsldap_pt-${MY_PV}.i386.rpm
use linguas_ru && rpm_unpack "${WORKDIR}"/Linux/NDSsldap_ru-${MY_PV}.i386.rpm
}
src_compile() { :; }
src_install() {
java-pkg_jarinto /usr/ConsoleOne/snapins/ldap
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/ldap/*.jar
if use linguas_de || use linguas_es || use linguas_fr || use linguas_it || use linguas_ja || use linguas_pt || use linguas_ru ; then
java-pkg_jarinto /usr/ConsoleOne/resources/ldap
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/resources/ldap/*.jar
fi
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"
}