app-admin/novell-ndsspki: cleanup tree

This commit is contained in:
geos_one 2009-12-17 17:20:45 +00:00
parent 9b8821d4ab
commit 392d61e0df
3 changed files with 2 additions and 70 deletions

View File

@ -1,5 +1,4 @@
DIST c1_136h-linux.tar.gz 41771356 RMD160 0c2b8ac9309962492936a5c988ec519103bad0f2 SHA1 de6525532a5b89b0872c129a54bb82e8f2e08aec SHA256 481c20119c0d84659a25a5f79e32740b27c7ffa69d4ac1ce810aeebbae211a2b
EBUILD novell-ndsspki-8.7.0.1.ebuild 2228 RMD160 384fb9ce2472fe341661a84831fbb75fec109fe5 SHA1 1e84c60c67153cb137402ea25727fdc728efcef5 SHA256 1bb05923e2a1919737c83829439a121afe8a7f17db79b25cf9514a3a8ab55681
EBUILD novell-ndsspki-8.7.0_p1-r5.ebuild 2216 RMD160 d75867547caa79e5cb3b755b8a11f42bd6c7812b SHA1 6432c3674d6cda7936245d52a0686849e3645368 SHA256 f2668971b7282530531032f59484bac25b6a459c0b5e2aef7882d8ff26a81f50
EBUILD novell-ndsspki-8.7.0.1.ebuild 2240 RMD160 cb146195d4970233799260e30165dd9f77372009 SHA1 03aba74fc7e25e441aa6c0c515cfedfbe684571f SHA256 bf8d080052f4cc6df326c5bc2d0c7902a13d484c7464803e7d01f3ad1c3d2d6c
MISC ChangeLog 1806 RMD160 bb0455b404be1cf210ebc52db862498e4abd8c94 SHA1 17d49460002ced5a74725decfbc787196d4eaad2 SHA256 adce715c9910421cc3f7dc955c2cea1ca52b6c3390181725709d17d867d854fb
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,67 +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 PKI 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_fr"
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/NDSspki-${MY_PV}.i386.rpm
use linguas_fr && rpm_unpack "${WORKDIR}"/Linux/NDSspki_fr-${MY_PV}.i386.rpm
}
src_compile() { :; }
src_install() {
has_multilib_profile && ABI="x86"
java-pkg_jarinto /usr/ConsoleOne/lib/Security
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/lib/Security/*.jar
java-pkg_jarinto /usr/ConsoleOne/snapins/Security
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/Security/*.jar
java-pkg_jarinto /usr/ConsoleOne/resources/Security
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/resources/Security/*.jar
insinto /usr
doins "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/bin/*.txt
insinto /usr/ConsoleOne/help
doins -r "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/help/*
into /usr/ConsoleOne
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/*.so
}
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"
}