net-nds/novell-xtier-base: correct location of binutils
This commit is contained in:
parent
6e89371d1a
commit
847e01211c
@ -2,6 +2,12 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
*novell-xtier-base-3.1.6.12-r1 (03 Sep 2009)
|
||||
|
||||
03 Sep 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
+novell-xtier-base-3.1.6.12-r1.ebuild:
|
||||
correct location of binutils
|
||||
|
||||
10 Apr 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
novell-xtier-base-3.1.6.10-r1.ebuild, novell-xtier-base-3.1.6.12.ebuild:
|
||||
repoman cleanup
|
||||
|
@ -4,9 +4,12 @@ DIST Novell_Client_SLE11-i586-20081218-CD1.iso 8058880 RMD160 4a2a4146e82f0bb6f3
|
||||
DIST Novell_Client_SLE11-x86_64-20081218-CD1.iso 8388608 RMD160 749d45b32a1317a8e48f5c4346ea235078bab721 SHA1 7bb062942005e1316539e8b97e961c8cbb0a0c2e SHA256 cc0be51b5f3c61bd071751c26c65fd3fc0a5cea495622bbce2e811973fa70d59
|
||||
DIST binutils-2.19-7.14.x86_64.rpm 3026300 RMD160 3b70545ee4975034d4eda126cd72574e3d0010c5 SHA1 76691435a7c1e3555774261a80d2d81fdf1b69a9 SHA256 3e82e20ee069ed6409386f0621c152e8a857ed737c4df9ef3e7593e83307d2f7
|
||||
DIST binutils-2.19-7.9.i586.rpm 3047967 RMD160 1ce70d7f11bd78480eaa4fd35545afa50860219a SHA1 170a3754bef6b347911622d5f1b3e07f33e906f6 SHA256 436841a36c16c0fe1ff53d0b6c1f1eb05bb40413c97f4378dd4599312447cd09
|
||||
DIST binutils-2.19-9.3.i586.rpm 3047972 RMD160 a5ecc5f65b58dde11ae551a01a04e18692c61f70 SHA1 18148549e83756e02e8e8179eb56643cbc711a8f SHA256 7c6a9d1a3ff5f392348262189fb9c7ab830b2ab679081df5a23e0e92409e4137
|
||||
DIST binutils-2.19-9.3.x86_64.rpm 3026372 RMD160 d86aa8decc0b60a7e5ecbc44484421559e795d91 SHA1 6c756b54648e58a6426f18464825d5ba9d3e409a SHA256 b30fe58809f73a8203216a6c7b6f08a5106e4f59ca9708115eec4eaed6559048
|
||||
DIST novell-client-2.0-sp2-sle11-i586.iso 8083456 RMD160 2cbd4ff77d1c4894621efed58a92c728ee9adfe1 SHA1 4e61f5421b369a44966c848671c6db20aa478d1d SHA256 9aa9f5cc4cd415476bcfaae278c38947c5809802c36ae40855252d9167189a1f
|
||||
DIST novell-client-2.0-sp2-sle11-x86_64.iso 8400896 RMD160 92fe3ecfdb89e28cc3b417d1305e2ea8d79970f5 SHA1 b8241956f966ce55a24572aee25aa4747826f760 SHA256 cfb27415884042ecde16be9f671dc8910d578fb850b57aeb57bc96d26329dee9
|
||||
EBUILD novell-xtier-base-3.1.6.10-r1.ebuild 3359 RMD160 34a4e961652b624df5b939a57dea9f99ab2dd7c4 SHA1 c7b62ba09a23ade3c3c485d3aa94db98f4e369fc SHA256 f8569a82685da1297e26500b546a766f623047445622b4bc3ed7ab2ec36ac2b9
|
||||
EBUILD novell-xtier-base-3.1.6.12-r1.ebuild 3348 RMD160 4ffc82739ffe817ab5dd248d223d62448d63569b SHA1 33294d53349266d962bcb741b1c3dac36d990610 SHA256 e8585b6f4ec4dbb035d34e186f595ac314d7ba0c5a56744b8a1cc51b86151705
|
||||
EBUILD novell-xtier-base-3.1.6.12.ebuild 3349 RMD160 c745dd1d6f1a0094045f34e3e3bd352334626c05 SHA1 2fd325efa8a06c50ed84ba401018c6b91ea8fb1f SHA256 f1cb534b52cc72f07a5ddf5794bcac063f3b6e09d3ea1ced26a895dd036f8886
|
||||
MISC ChangeLog 3624 RMD160 bcfcc8b31935ef4134c1348077185903ebd9a228 SHA1 22426538c5a47901d17fc12f3200e371a925312d SHA256 cfba9e327c4de1dc17835733248eff3695537ea59e70264d18d4425eb6e48c06
|
||||
MISC ChangeLog 3794 RMD160 59c5450ef1c9f3df26704cda6d96b9c18a32284e SHA1 02555df78a8c22f31c12c394e5ce57c55b647928 SHA256 40e5a81c01c17a1d0f2425df23e11e121d8e1cf5351e95007cd3b42a43fce7ef
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
|
@ -0,0 +1,117 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
NOVELL_BUILDID="_xf1ppPR2xA~"
|
||||
NOVELL_FILE32="novell-client-2.0-sp2-sle11-i586.iso"
|
||||
NOVELL_FILE64="novell-client-2.0-sp2-sle11-x86_64.iso"
|
||||
SUSE_FILE32="http://download.opensuse.org/distribution/11.1/repo/oss/suse/i586/binutils-2.19-9.3.i586.rpm"
|
||||
SUSE_FILE64="http://download.opensuse.org/distribution/11.1/repo/oss/suse/x86_64/binutils-2.19-9.3.x86_64.rpm"
|
||||
RESTRICT="mirror strip"
|
||||
USE_RPMOFFSET_ONLY="1"
|
||||
|
||||
inherit novell eutils rpm5 versionator
|
||||
|
||||
MY_PVV=$(replace_version_separator 3 '-')
|
||||
MY_PV="${MY_PVV/_p/-}"
|
||||
|
||||
DESCRIPTION="Novell Xtier Base"
|
||||
HOMEPAGE="http://www.novell.com"
|
||||
SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32}
|
||||
${SUSE_FILE32} )
|
||||
amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE64}
|
||||
${SUSE_FILE64} )"
|
||||
|
||||
LICENSE="Novell-NCL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=app-arch/p7zip-4.15"
|
||||
|
||||
RDEPEND="virtual/libc
|
||||
net-nds/novell-xtier-env
|
||||
>=dev-libs/expat-2.0.0
|
||||
>=net-nds/novell-xtier-core-${PV}
|
||||
>=sys-libs/ncurses-5.5
|
||||
>=sys-devel/gcc-4.1"
|
||||
|
||||
src_unpack() {
|
||||
cd "${WORKDIR}"
|
||||
if use x86
|
||||
then
|
||||
narch=i586
|
||||
nlib=lib
|
||||
brel=7.9
|
||||
7z x "${DISTDIR}"/${NOVELL_FILE32}
|
||||
elif use amd64
|
||||
then
|
||||
narch=x86_64
|
||||
nlib=lib64
|
||||
brel=7.14
|
||||
7z x "${DISTDIR}"/${NOVELL_FILE64}
|
||||
fi
|
||||
rpm5_unpack "${DISTDIR}"/binutils-2.19-${brel}.${narch}.rpm
|
||||
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
|
||||
cd ${PN}-${MY_PV}
|
||||
rpm5_unpack "${WORKDIR}"/suse/${narch}/${PN}-${MY_PV}.${narch}.rpm
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
into /opt/novell/xtier
|
||||
# still a hack
|
||||
dolib.so "${WORKDIR}"/usr/${nlib}/libbfd-*.so
|
||||
dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/xtier/bin/*
|
||||
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/xtier/${nlib}/*
|
||||
dodoc "${WORKDIR}"/${PN}-${MY_PV}/usr/share/doc/packages/${PN}/*
|
||||
dodir /var/opt/novell/xtier/xregd/db
|
||||
keepdir /var/opt/novell/xtier/xregd/db
|
||||
dodir /etc/opt/novell/xtier/xregd
|
||||
keepdir /etc/opt/novell/xtier/xregd
|
||||
insinto /etc/opt/novell/xtier/
|
||||
doins "${WORKDIR}"/${PN}-${MY_PV}/etc/opt/novell/xtier/*
|
||||
exeinto /etc/opt/novell/xtier/xregd/init/
|
||||
doexe "${FILESDIR}"/*.sh
|
||||
|
||||
newinitd "${FILESDIR}"/novell-xregd20.initd novell-xregd
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
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 get the following files from SuSE"
|
||||
if use x86
|
||||
then
|
||||
einfo " - ${SUSE_FILE32}"
|
||||
elif use amd64
|
||||
then
|
||||
einfo " - ${SUSE_FILE64}"
|
||||
fi
|
||||
einfo "and place them 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"
|
||||
}
|
||||
|
||||
pkg_preinst(){
|
||||
enewgroup novlxtier
|
||||
enewuser novlxregd -1 -1 /var/opt/novell/xtier/xregd novlxtier
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user