net-nds/novell-xtier-xplat: new config system

This commit is contained in:
geos_one 2009-01-20 21:33:02 +00:00
parent e4de58f8ec
commit 4c0e2c1139
3 changed files with 83 additions and 1 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
20 Jan 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-xtier-xplat-3.1.6.10-r1.ebuild:
new config system
16 Jan 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-xtier-xplat-3.1.6.10.ebuild:
Bump and use my rpm5 eclass

View File

@ -8,9 +8,10 @@ DIST novell-client-2.0-sle10sp1-i386.iso 10866688 RMD160 b478e97de576987b0a3b801
DIST novell-client-2.0-sle10sp1-x86_64.iso 11649024 RMD160 4f3a08e9cfea2b78072ba9114ecf03b44d8da17a SHA1 f1f5c78851a66c963fef02c69d89e86a3ba12d00 SHA256 3b70e2c81ded3916771a22a5c284c0d5ac7b32b8a47207d01350f9f952fd216f
EBUILD novell-xtier-xplat-3.1.5_p46.ebuild 2162 RMD160 f816d1f6ef2a7c5ae94c7bb26771cf7a7240381b SHA1 2c573005ba41506d4542ccbac55bb19b462b5a2c SHA256 d4bfaa971644012969d1d0b03e4992387a61e5539e275cc2a3c5ae00fc7fef9e
EBUILD novell-xtier-xplat-3.1.6.0.8.ebuild 2228 RMD160 cb4e736c0d5d5283038ee90603edf5c436bdba1e SHA1 562c5a929a935f27c64137d59dba66e65e5572f1 SHA256 52fd66388d36eb2c35a952151d54d6a4d18a4d529b7ad4fe8f557d463c15b91d
EBUILD novell-xtier-xplat-3.1.6.10-r1.ebuild 2234 RMD160 e4d33b174c3581101ce78b06a78b92b67cf4ad24 SHA1 f4cd45bdf86967972dd339b1604f8b3d8bb813e2 SHA256 da01be823f15013ccbb21fee38020b254edc1e074fb8e8a433fb5511b2a32883
EBUILD novell-xtier-xplat-3.1.6.10.ebuild 2234 RMD160 e4d33b174c3581101ce78b06a78b92b67cf4ad24 SHA1 f4cd45bdf86967972dd339b1604f8b3d8bb813e2 SHA256 da01be823f15013ccbb21fee38020b254edc1e074fb8e8a433fb5511b2a32883
EBUILD novell-xtier-xplat-3.1.6.8-r1.ebuild 2231 RMD160 4ff3154834dace992d8db045f3c8af7ebf665b2c SHA1 db62d96084429e03dc5414ebc3b26784f37e1583 SHA256 2b11f8a6528c800bc56309a7db4a0ce08258ff8a0c92eb435bfbdaae504cdba0
EBUILD novell-xtier-xplat-3.1.6.8-r2.ebuild 2231 RMD160 4ff3154834dace992d8db045f3c8af7ebf665b2c SHA1 db62d96084429e03dc5414ebc3b26784f37e1583 SHA256 2b11f8a6528c800bc56309a7db4a0ce08258ff8a0c92eb435bfbdaae504cdba0
EBUILD novell-xtier-xplat-3.1.6.8.ebuild 2230 RMD160 438ab02ee0b0654a478d1b659160cd6148284a35 SHA1 4cc05bec12b916c929848e0549521fc8ebccdfac SHA256 59c62b2eb2a3559a666fc5db619864641fcba8aa628c55ddaa7325e1bf94bdc6
MISC ChangeLog 1196 RMD160 74223b176bad2497cfb5582846e2746ae7015dce SHA1 930353c3a13cd0be6ee1eba7c94acc0e2dd1082f SHA256 29eb3a08a13b67aa97996d4855c66cace2a699bcd5904c8d66f2fa0ffe2695b0
MISC ChangeLog 1310 RMD160 f9a39c74640747a1511980ad3276ceaaf974fc01 SHA1 ec57e991dac2bc6316c4f4825c236f76f76471e6 SHA256 d08d1f013247fc7558389c33e200c94bf64930c7549f671e18b0e80561e635bf
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,77 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NOVELL_BUILDID="CuRXfXSzq7M~"
NOVELL_FILE32="Novell_Client_SLE11-i586-20081218-CD1.iso"
NOVELL_FILE64="Novell_Client_SLE11-x86_64-20081218-CD1.iso"
RESTRICT="mirror strip"
inherit novell eutils rpm5 versionator
MY_PVV=$(replace_version_separator 3 '-')
MY_PV="${MY_PVV/_p/-}"
DESCRIPTION="Novell XTier XPLAT runtime libraries"
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}"
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"
}