app-admin/novell-ndsspki: correct rpm_unpack warning

This commit is contained in:
geos_one 2009-12-17 17:14:36 +00:00
parent 51e072686b
commit 20203895dc
3 changed files with 73 additions and 1 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
17 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-ndsspki-8.7.0.1.ebuild:
correct rpm_unpack warning
17 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
novell-ndsspki-8.7.0_p1-r5.ebuild:
pki plugin is only 32bit

View File

@ -1,4 +1,5 @@
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
MISC ChangeLog 1691 RMD160 9b25a79c54dca9900d952bc7a0e138230dfb6d83 SHA1 c8160e9847ff3ca0f698706a3ff67a4f01605254 SHA256 b6b1611f948a9a950ad1584d68f13c3b29775feab92a7c24667c3f114c8e7fee
MISC ChangeLog 1806 RMD160 bb0455b404be1cf210ebc52db862498e4abd8c94 SHA1 17d49460002ced5a74725decfbc787196d4eaad2 SHA256 adce715c9910421cc3f7dc955c2cea1ca52b6c3390181725709d17d867d854fb
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,67 @@
# 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=$(replace_version_separator 3 '-')
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 ../work/Linux/NDSspki-${MY_PV}.i386.rpm
use linguas_fr && rpm_unpack ../work/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"
}