net-nds/novell-xtier-core: correct wrong dependency

This commit is contained in:
geos_one 2008-11-11 22:53:22 +00:00
parent e76bed3abd
commit 0afab15f67
3 changed files with 83 additions and 1 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
11 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
+novell-xtier-core-3.1.6.8-r2.ebuild:
correct wrong dependency
08 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
novell-xtier-core-3.1.6.8-r1.ebuild:
correct depend

View File

@ -7,6 +7,7 @@ DIST novell-client-2.0-sle10sp1-x86_64.iso 11649024 RMD160 4f3a08e9cfea2b78072ba
EBUILD novell-xtier-core-3.1.5_p46.ebuild 2188 RMD160 ed5f4edaa63c410ec7391d59ae938a8ae241b68e SHA1 e7eedc120e412adc33194134fc54743c6af51a33 SHA256 e8b65046bd6afd794aee9974a481b90ca412c9f396bff6620095d364d9131d16
EBUILD novell-xtier-core-3.1.6.0.8.ebuild 2254 RMD160 e9a67a4288da456e0f3b202811628eaf52cc3454 SHA1 2e92080e6addac37aed88150a3e414b490029d9d SHA256 d1c4077d9b99ac4e17e88d0f44e06a9a62f3fb0b00edc1898e92c14e79f0e7e9
EBUILD novell-xtier-core-3.1.6.8-r1.ebuild 2257 RMD160 73a005d2ab661440665ecda1d801c487da9daf81 SHA1 f3dd9bec5f61a25b01cf9255714aec460fd825d7 SHA256 f394b2fbf8b23276a2d2df4f2dd310c46821364abc5c9fa6f8a4c3e77d609471
EBUILD novell-xtier-core-3.1.6.8-r2.ebuild 2257 RMD160 73a005d2ab661440665ecda1d801c487da9daf81 SHA1 f3dd9bec5f61a25b01cf9255714aec460fd825d7 SHA256 f394b2fbf8b23276a2d2df4f2dd310c46821364abc5c9fa6f8a4c3e77d609471
EBUILD novell-xtier-core-3.1.6.8.ebuild 2256 RMD160 736cd47fc173e8384fbcc9c9683ee9449138c780 SHA1 3208ca561f3c07418df1607468b8fb081a0d7681 SHA256 8f4e8073d07c948538ae3e63692f87926fe22433abc784a7d684daf23b7efea5
MISC ChangeLog 1682 RMD160 8df00774db2aee8274cf4acbb7a6616d76b9bb69 SHA1 d33b4dd2e8fd60068aebefd7cf08f862c8c5a311 SHA256 7a389a2d234b480a96b908fb83b91aa0cab94841550eeecf0848db81ac1a14b8
MISC ChangeLog 1801 RMD160 33358ddab1d5d7354ab5abaaf8a9a34456763b62 SHA1 97d6909b027c9d9d6b2e05e59cd243ba6deec74d SHA256 2468a249862fb50534242634ae37eade9515b4d7a17a791f79b2e6e24378fef6
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,77 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NOVELL_BUILDID="N848u3D7BjQ~"
NOVELL_FILE32="Novell_Client_11.0-i386-20081003-CD1.iso"
NOVELL_FILE64="Novell_Client_11.0-x86_64-20081003-CD1.iso"
RESTRICT="mirror strip"
inherit novell eutils rpm versionator
MY_PVV=$(replace_version_separator 3 '-')
MY_PV="${MY_PVV/_p/-}"
DESCRIPTION="Novell Client for Linux file system deamon"
HOMEPAGE="http://www.novell.com"
SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32} )
amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE64} )"
LICENSE="Novell-NCL"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=">=app-arch/p7zip-4.15"
RDEPEND="virtual/libc
net-nds/novell-xtier-env
>=sys-auth/novell-nmasclient-3.4.0_p17
>=net-nds/novell-xtier-base-${PV}
>=sys-devel/gcc-4.1"
src_unpack() {
cd "${WORKDIR}"
if use x86
then
narch=i586
nlib=lib
7z x "${DISTDIR}"/${NOVELL_FILE32}
elif use amd64
then
narch=x86_64
nlib=lib64
7z x "${DISTDIR}"/${NOVELL_FILE64}
fi
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack "${WORKDIR}"/suse/${narch}/${PN}-${MY_PV}.${narch}.rpm
}
src_compile() { :; }
src_install() {
into /opt/novell/xtier/
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/xtier/${nlib}/*
dodoc "${WORKDIR}"/${PN}-${MY_PV}/usr/share/doc/packages/${PN}/*
}
pkg_nofetch() {
einfo "This files require you to register at ${HOMEPAGE} (free account)"
einfo "Please download following file:"
if use x86
then
einfo " - ${NOVELL_FILE32}"
elif use amd64
then
einfo " - ${NOVELL_FILE64}"
fi
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"
}