net-misc/novell-client-config: redigest

This commit is contained in:
geos_one 2009-12-14 12:17:53 +00:00
parent cec28361a5
commit 8817a884f2
3 changed files with 92 additions and 1 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
14 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-client-config-3.0.0.2.ebuild:
redigest
15 Apr 2009; Mario Fetka <mario.fetka@gmail.com>
-novell-client-config-2.0.0_p14.ebuild,
-novell-client-config-2.0.0_p17.ebuild,

View File

@ -12,5 +12,5 @@ DIST novell-client-3.0-sled11-x86_64-CD1.iso 7968768 RMD160 9262874512d6c2ac7ae6
EBUILD novell-client-config-2.0.0_p21.ebuild 2589 RMD160 a96fa452208219374c6be82e24858ac5a3c73971 SHA1 e3c7989fb08faf24196e440e0e5ba7af2b5dbcc2 SHA256 372ccbd0b9f06c07e138d1a12d2659fc0f0f28cf31d5a30d05e86ba063039c9f
EBUILD novell-client-config-2.0.0_p22.ebuild 2579 RMD160 68f1de3f147373250ad8ca2ed1d3d0832820b04f SHA1 12016fcdae61f433c13da53b4b98c2826f0ab13a SHA256 9ee0f855ef44802736f41f2a8e2b3277a59d8fb94cf01330a8bbe134e2763551
EBUILD novell-client-config-3.0.0.2.ebuild 2615 RMD160 c452f462be2dd1117b42f51402e4fd9ff167846e SHA1 773eaeb7b7c6b8108bac24bc983b74b87e0120c3 SHA256 9bef6d8464d7419e4138c497e85b83d3fa51766953df003b704aff91eaf83968
MISC ChangeLog 1857 RMD160 31d5c98d20f402a8307826198c02b2b1f8da4c0e SHA1 f3e495bd3a896d801bf17ee194e9c22f07b52aea SHA256 f4cd9081deac8cdf85fceec71e3d44566cee7ff7edd1236bdb19f9ad51f498ab
MISC ChangeLog 1960 RMD160 e0816484800b611b5d2aa0b15e9d1693861028f3 SHA1 dabd64e68274de818e77b5354207e6ae47dc326a SHA256 b38eda407b3260573bd9bbabfb5215a67b06ac66ec00591cb79ac16fcb5b66ec
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,87 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NOVELL_BUILDID="_xf1ppPR2xA~"
NOVELL_FILE32="novell-client-3.0-sled11-i586-CD1.iso"
NOVELL_FILE64="novell-client-3.0-sled11-x86_64-CD1.iso"
RESTRICT="mirror strip"
inherit novell eutils rpm5 versionator
MY_PV=$(replace_version_separator 3 '-')
DESCRIPTION="Novell Client for Linux Configuration"
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-misc/novell-client-env
>=app-crypt/novell-nici-2.7.3_p12
>=net-misc/novell-client-script-2.0.0_p24
>=net-nds/novell-xtier-base-3.1.5_p46"
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}
rpm5_unpack "${WORKDIR}"/suse/${narch}/yast2-novell-client-${MY_PV}.${narch}.rpm
}
src_compile() { :; }
src_install() {
insinto /etc/opt/novell/ncl
doins "${FILESDIR}"/*.conf
into /opt/novell/ncl
dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/ncl/bin/ncl_conf_xtier
insinto /usr/share
doins -r "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/ncl/share/*
dodir /var/opt/novell/log/ncl
keepdir /var/opt/novell/log/ncl
}
pkg_postinst(){
/opt/novell/ncl/bin/ncl_conf_xtier rpm
einfo "Please run /opt/novell/ncl/bin/ncl_conf_xtier to import the config defaults"
einfo " from /etc/opt/novell/ncl/*.conf into the xtier registry Server"
}
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"
}