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

This commit is contained in:
geos_one 2009-01-20 21:32:12 +00:00
parent 65456624fb
commit e4de58f8ec
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-core-3.1.6.10-r1.ebuild:
new config system
16 Jan 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-xtier-core-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-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.10-r1.ebuild 2260 RMD160 bb1df70f3df7f82bb7f3c4c8e13a609a3a99d728 SHA1 b91ff8e189ea7c234e14b6e61c82c5be178fd196 SHA256 bc1e90c7bafd9b6d4472b7f4ac13d78c1a783f48ea276d0262040b54c67db7e4
EBUILD novell-xtier-core-3.1.6.10.ebuild 2260 RMD160 bb1df70f3df7f82bb7f3c4c8e13a609a3a99d728 SHA1 b91ff8e189ea7c234e14b6e61c82c5be178fd196 SHA256 bc1e90c7bafd9b6d4472b7f4ac13d78c1a783f48ea276d0262040b54c67db7e4
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 1921 RMD160 3abb25b7866b645ca6869647a0c1822d204e7d74 SHA1 aa5625600b281e4f628ccef43be9c72ba950fdac SHA256 29cdd6406285a02d91fdf9569b896e096f3e3669591cc71060efbeab3735f9b4
MISC ChangeLog 2034 RMD160 946eb7584d2fa730e754f26ffd0124ba9881ac78 SHA1 61d9f340a8b0acb3825991fab445ea5e04112620 SHA256 1fdda27eb01a08b8508de4fada34ba9ee97d3656ee271e5f1788b4fc66bc8eed
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 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"
}