diff --git a/trunk/novell4gentoo/net-nds/novell-xtier-base/ChangeLog b/trunk/novell4gentoo/net-nds/novell-xtier-base/ChangeLog index 93361926..63f42f43 100644 --- a/trunk/novell4gentoo/net-nds/novell-xtier-base/ChangeLog +++ b/trunk/novell4gentoo/net-nds/novell-xtier-base/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 20 Jan 2009; Mario Fetka + +novell-xtier-base-3.1.6.10-r1.ebuild: + new config system + 20 Jan 2009; Mario Fetka +files/10_base.sh, files/novell-xregd20.initd, novell-xtier-base-3.1.6.10.ebuild: new config system diff --git a/trunk/novell4gentoo/net-nds/novell-xtier-base/Manifest b/trunk/novell4gentoo/net-nds/novell-xtier-base/Manifest index 2c043a79..0e7f6d0d 100644 --- a/trunk/novell4gentoo/net-nds/novell-xtier-base/Manifest +++ b/trunk/novell4gentoo/net-nds/novell-xtier-base/Manifest @@ -16,9 +16,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-base-3.1.5_p46.ebuild 7574 RMD160 1bcb33ddee3a12fc84e74947bbfbeb80265713f4 SHA1 05b63e4bb82acebeb185426c0ab1c3d8bb296288 SHA256 289f05b14c587d110675ba34a228f6a3839db6c65b3391e400b1a969051a5365 EBUILD novell-xtier-base-3.1.6.0.8.ebuild 7640 RMD160 822529a90d48cbe36055b01ab3470497cd4078bb SHA1 0a6ad7b0be0d85559bc3ac71cb15a62132920acc SHA256 46bc360afa53e3d1696c47bb71229e0947d355cff90eb5592dcf98a167071191 +EBUILD novell-xtier-base-3.1.6.10-r1.ebuild 3363 RMD160 ed6c4504c5e024a9b4fedbe68c1e604e0be76bd3 SHA1 96db9430c331d9b7d0652c09f1babf8cbe5b9a51 SHA256 e3124cf491a90396f5b726c61975a5a732d509da13f477c38258b7de88273ac2 EBUILD novell-xtier-base-3.1.6.10.ebuild 3363 RMD160 ed6c4504c5e024a9b4fedbe68c1e604e0be76bd3 SHA1 96db9430c331d9b7d0652c09f1babf8cbe5b9a51 SHA256 e3124cf491a90396f5b726c61975a5a732d509da13f477c38258b7de88273ac2 EBUILD novell-xtier-base-3.1.6.8-r1.ebuild 12131 RMD160 909d3e3b181cfea4a9c5d25fbac1b622a614b6e6 SHA1 7d18db6cf904b43058a0f75332996b08c6e5df77 SHA256 eae19b84f31748706fe836d1726a4c301f3da058fe0c01e98dfec864bca9412f EBUILD novell-xtier-base-3.1.6.8-r2.ebuild 12198 RMD160 19c1b5f5cc04d6124a42280ff71cb77cce0154ca SHA1 c33542049c5d1c8fa7b2ca460600fa1a23d85336 SHA256 8532c0a8ba372e8f3c5c5438c5be51f193bfefe08f3346d62d4a3e9f49dc22e6 EBUILD novell-xtier-base-3.1.6.8.ebuild 7666 RMD160 cc1b7516c3dc1acf69062b6c044c18742383f8a9 SHA1 e07459c18ca4b1714b5687aa51a7d6843ba85097 SHA256 a9eb238c359b089fae50a88be2918c9e706f441821c813d6b869db87e155e5e7 -MISC ChangeLog 2865 RMD160 a6efe5c16f2050a236fd8a09cace837b2c1fdd6e SHA1 e8c7cd9f1df4f6847aee5e89df503eaa7b84612c SHA256 ee76ffb10a4a10d4d47ebe79d96ac1b67b9adf28ac96b1ffc18387b3c0553749 +MISC ChangeLog 2978 RMD160 4f73bca2a0916ad15a64b18bba4563d38928fab2 SHA1 da3fb187333e3886fe9912c330f64e229237709c SHA256 12a04fbf76c6b295988915d5449ec152416eb03ccde752b0669babb33d3c02f4 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/net-nds/novell-xtier-base/novell-xtier-base-3.1.6.10-r1.ebuild b/trunk/novell4gentoo/net-nds/novell-xtier-base/novell-xtier-base-3.1.6.10-r1.ebuild new file mode 100644 index 00000000..9288f3f8 --- /dev/null +++ b/trunk/novell4gentoo/net-nds/novell-xtier-base/novell-xtier-base-3.1.6.10-r1.ebuild @@ -0,0 +1,117 @@ +# 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 + rpm_unpack "${DISTDIR}"/binutils-2.19-${brel}.${narch}.rpm + 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 + # 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 +} +