net-nds/novell-xtier-base: cleanup

This commit is contained in:
geos_one 2010-07-09 07:23:57 +00:00
parent b685b1aec4
commit 717d416cf6
6 changed files with 7 additions and 481 deletions

View File

@ -2,6 +2,12 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
09 Jul 2010; Mario Fetka <mario.fetka@gmail.com>
-novell-xtier-base-3.1.6.10-r1.ebuild, -novell-xtier-base-3.1.6.12.ebuild,
-novell-xtier-base-3.1.6.12-r1.ebuild,
-novell-xtier-base-3.1.6.12-r2.ebuild:
cleanup
09 Jul 2010; Mario Fetka <mario.fetka@gmail.com> ChangeLog:
Bump

View File

@ -1,21 +1,9 @@
AUX 10_base.sh 131 RMD160 26f3bd184d6db31542b96622cdf6712d9b3be782 SHA1 998371426235583474cc6dcdbf288b60af5f5e25 SHA256 8b2bd1f78c1d51ab5ecefcda7e598d333d93a727e752dbb0196cefc1cfe02cf4
AUX novell-xregd20.initd 1141 RMD160 b190671d5c8961c1d6528de852feb25b55e9e47c SHA1 0cee72fc211fc25c86899400fc6b5c76251980b1 SHA256 a1a52c3002e734ea1da4eaa9d981884797547c4dc753f8289110aab19a699698
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 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-patch2-sle11-i586.iso 7997440 RMD160 e65eb47b944800d92ca4e37f3397e325f97034ab SHA1 10388020720829678b39fa73ce113d1edb16fd5b SHA256 3df7fd33504543cbbd0cef9a1917c3b9979c70f0ad27643d80daba7e28523021
DIST novell-client-2.0-sp2-patch2-sle11-x86_64.iso 7976960 RMD160 f81ab1c343291b428a05230e33e306679825a027 SHA1 9d13af47bf0dd34576ecaa8ff16f7e34bc5bf485 SHA256 7e985f980a3cc197fb9dc0017d4c72e4be61709b894080825315cf0c84b705be
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
DIST novell-client-3.0-sled11-i586-CD1.iso 7987200 RMD160 b98b4cb79ddfbd7fe6dc3442288ef71fac6baef3 SHA1 a15b18e570d32e3c0b3ae8f7cdb51c233214ee45 SHA256 59dba7ed244811c645b52c4b8476c725b771064e1ff43c33f37001f01c7584ed
DIST novell-client-3.0-sled11-x86_64-CD1.iso 7968768 RMD160 9262874512d6c2ac7ae63b2ed108d097194741b5 SHA1 ef1987e0f71f4775d2e3b5d342fdeacd4f9ca3db SHA256 3223dc757e1788222d95c1b3353b9b156072d1b3a027b6fa4b71007b6aae4a05
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 3347 RMD160 b7148bb432c07f9aaccc5bd6976d06c2682b1749 SHA1 4fe65054ee8e402d49d6b9289b8bde840873d7f7 SHA256 cdff3afbe2405578017acedc2910d8e79e9810aa5c525711dfb1d4eeb7339052
EBUILD novell-xtier-base-3.1.6.12-r2.ebuild 3349 RMD160 39574b7bf5c19f162abb90a8edce1dbb30f772e9 SHA1 2113f6d75e20837bd599dac98a234fa144173e0f SHA256 4db16ac98aa91569cb1b5e0ee89534c20bfe83a662094ec42566e45239dab0cb
EBUILD novell-xtier-base-3.1.6.12-r3.ebuild 3383 RMD160 8877402f748ddff854c202c73de6e672a408bec7 SHA1 7bd9f59088dcf35f33181e9a6c836ee32a9b7b76 SHA256 fa74f4498387651623791b405768a0072e2e1934f7b63604b03a79c17cad49e2
EBUILD novell-xtier-base-3.1.6.12.ebuild 3349 RMD160 c745dd1d6f1a0094045f34e3e3bd352334626c05 SHA1 2fd325efa8a06c50ed84ba401018c6b91ea8fb1f SHA256 f1cb534b52cc72f07a5ddf5794bcac063f3b6e09d3ea1ced26a895dd036f8886
MISC ChangeLog 4181 RMD160 e3e5cbd9c0405b27c7288aeb777840e331e7b397 SHA1 4e07217ec0a358d03311dcae7ba1c4a3af1ed5f4 SHA256 8a2718a9089e4f88c2b71f875cc960e2c23de841635a0b800c91323a05b8508c
MISC ChangeLog 4402 RMD160 b2b8d4f00c07257a541a081be7787ca58fd173c8 SHA1 4a0499d6b5b0be3edb422cc40c91a0716b61c630 SHA256 1f339b9f320edf1dfbd50974153909bdbf7cea3e6d12e0fb3a51e08b7716deef
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -1,117 +0,0 @@
# 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"
SUSE_FILE32="http://download.opensuse.org/distribution/11.1/repo/oss/suse/i586/binutils-2.19-7.9.i586.rpm"
SUSE_FILE64="http://download.opensuse.org/distribution/11.1/repo/oss/suse/x86_64/binutils-2.19-7.14.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
}

View File

@ -1,117 +0,0 @@
# 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=9.3
7z x "${DISTDIR}"/${NOVELL_FILE32}
elif use amd64
then
narch=x86_64
nlib=lib64
brel=9.3
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
}

View File

@ -1,117 +0,0 @@
# 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"
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=9.3
7z x "${DISTDIR}"/${NOVELL_FILE32}
elif use amd64
then
narch=x86_64
nlib=lib64
brel=9.3
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
}

View File

@ -1,117 +0,0 @@
# 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-7.9.i586.rpm"
SUSE_FILE64="http://download.opensuse.org/distribution/11.1/repo/oss/suse/x86_64/binutils-2.19-7.14.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
}