net-misc/novell-client-config: bump and use rpm5.eclass

This commit is contained in:
geos_one 2009-01-16 18:35:34 +00:00
parent e22e8f8683
commit 483e646ffd
3 changed files with 96 additions and 2 deletions

View File

@ -1,7 +1,11 @@
# ChangeLog for net-misc/novell-client-config
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
16 Jan 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-client-config-2.0.0_p21.ebuild:
bump and use rpm5.eclass
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
+novell-client-config-2.0.0_p17.ebuild,
+novell-client-config-2.0.0_p19.ebuild:

View File

@ -5,6 +5,8 @@ AUX protocol.conf 130 RMD160 1d8c50f5d51e1e4891165668861ce65b766e5877 SHA1 c63c8
AUX tray_app.conf 402 RMD160 785eea3a5e234f6a45de7dbce22c9849f5332adb SHA1 52b7b667da4be0946b16f8c507647475d6664b73 SHA256 c1c338fef2dfabb62d0d7ac4bae3acd94c42ae339e1dbfecc3ea30bb0655f9d8
DIST Novell_Client_11.0-i386-20081003-CD1.iso 10033152 RMD160 fadcd5ad983fd7c7dc103c16dcfe9830cf0cd574 SHA1 358e219ad0bda13bbd4835342f24c1b01c5f1775 SHA256 cc84aab8c954037479ed2fa3616b76de17047341d25a2aa6210ac050023e3c00
DIST Novell_Client_11.0-x86_64-20081003-CD1.iso 10487808 RMD160 8965da596c4e339ff2b5b8d240f91a478f9ca2d5 SHA1 acb2ef899c9c593e6f16b1226ed68f54e12f7214 SHA256 81c3153f9fa435ab7251694873c9b4083b126ebae544bd30527fb8183e690789
DIST Novell_Client_SLE11-i586-20081218-CD1.iso 8058880 RMD160 4a2a4146e82f0bb6f3f64e47f992fafcd20ce2e4 SHA1 e688c2571d90d5726928ff325e8da274f863d89f SHA256 7c3a6487879ae7846f3859e906e52811321b049667cbb04cb48fac079e6aee2e
DIST Novell_Client_SLE11-x86_64-20081218-CD1.iso 8388608 RMD160 749d45b32a1317a8e48f5c4346ea235078bab721 SHA1 7bb062942005e1316539e8b97e961c8cbb0a0c2e SHA256 cc0be51b5f3c61bd071751c26c65fd3fc0a5cea495622bbce2e811973fa70d59
DIST novell-client-2.0-SP1-sle10sp2-i386.iso 10100736 RMD160 dc9313c69a22359c9cdbb2f9105543d11a912381 SHA1 da0cfa59099a4de7d4bdc2a6390d8993c48ee00c SHA256 9c7edfcb67c6ea3a7c67c48568139b8c6dc369b106781320cf117cbda468ae70
DIST novell-client-2.0-SP1-sle10sp2-x86_64.iso 10971136 RMD160 2cf2b3c0b73b827ab4be0d74f87a9764c807c76b SHA1 91318ad4e643d2f43d47fd9fb234050d9ad62194 SHA256 789dc3bb04d8e7a7714001bce6af6ba8aba769ed32251e9cad53274322261028
DIST novell-client-2.0-sle10sp1-i386.iso 10866688 RMD160 b478e97de576987b0a3b801965dbddb4fc8d8ce0 SHA1 49d70ed6e7007b7e18468ec0b42bed6ac6b8702f SHA256 a6609aee78e90a5375fd698b571a015b3696d10ff2f11d085e4abf5b404a35d6
@ -12,5 +14,6 @@ DIST novell-client-2.0-sle10sp1-x86_64.iso 11649024 RMD160 4f3a08e9cfea2b78072ba
EBUILD novell-client-config-2.0.0_p14.ebuild 2575 RMD160 8df07b4eb02e7c5712f5abf1fab6c20aa0b78fd3 SHA1 5c6b98ced67f36038a86396fe66925a73825141d SHA256 07345c70738ae2707f7b1ef0d1289fc9c91ad4c68b3c2817fb9f951f1309f7e3
EBUILD novell-client-config-2.0.0_p17.ebuild 2583 RMD160 e9305f99755b64c6585fcefec2b0a63e37827922 SHA1 b869518f2504e9a64b2c81946b53bc943e3d25d3 SHA256 0909cdf404604ab7ce3fed1c4cdea548930a30290034518f9cfef1caaab1f7fc
EBUILD novell-client-config-2.0.0_p19.ebuild 2585 RMD160 ac0cb58eec24f68749184cdfacad82738fc41ee9 SHA1 03b82c964c6de2fa03452a0e14157c9b860c36db SHA256 144d7d7df03c3509b4ac4a607daf9a2bebf6dc98e273ac7a395ddeff923e4134
MISC ChangeLog 1384 RMD160 405f831b262c525b3e64652baab57b8c9a60a3b3 SHA1 b0ac2c9ed1592287a8c5f1e2b1c7be65d77c940e SHA256 534a8faf5aef76aebcb3f186416bc6a12d39eadcc3ba1278a5f0d64a56a61522
EBUILD novell-client-config-2.0.0_p21.ebuild 2588 RMD160 f1566437a45ae79a9387d8b298381f37fef011b0 SHA1 9af6cb9ffaf3fe1211a8c22641ae4e550d008778 SHA256 b74436d7ba94658a7e726c3799021ea1231e5afbc6e6528eee38852c60195c4f
MISC ChangeLog 1505 RMD160 548a49c5adddeae102b96f7c2e175757823098f6 SHA1 fb14899f356847ba1306b03642960e3c2712dcdc SHA256 74b919d80df2391aa351ba5e685c2ebcee4a97b92775cc14304168f9b015faaa
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="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
MY_PV="${PV/_p/-}"
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}
rpm_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"
}