From 8d14563b731766aa89508c912f873ef841b3cfca Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 17 Jan 2009 13:40:26 +0000 Subject: [PATCH] net-nds/novell-ndsrepair: multilib support --- .../net-nds/novell-ndsrepair/ChangeLog | 6 +- .../net-nds/novell-ndsrepair/Manifest | 3 +- .../novell-ndsrepair-8.7.3.10_p90-r1.ebuild | 66 +++++++++++++++++++ 3 files changed, 73 insertions(+), 2 deletions(-) create mode 100644 trunk/novell4gentoo/net-nds/novell-ndsrepair/novell-ndsrepair-8.7.3.10_p90-r1.ebuild diff --git a/trunk/novell4gentoo/net-nds/novell-ndsrepair/ChangeLog b/trunk/novell4gentoo/net-nds/novell-ndsrepair/ChangeLog index fc31d26..7dbee5e 100644 --- a/trunk/novell4gentoo/net-nds/novell-ndsrepair/ChangeLog +++ b/trunk/novell4gentoo/net-nds/novell-ndsrepair/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for net-nds/novell-ndsrepair -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 17 Jan 2009; Mario Fetka + +novell-ndsrepair-8.7.3.10_p90-r1.ebuild: + multilib support + 03 Nov 2008; Mario Fetka novell-ndsrepair-8.7.3.10_p90.ebuild: correct blocking slot's diff --git a/trunk/novell4gentoo/net-nds/novell-ndsrepair/Manifest b/trunk/novell4gentoo/net-nds/novell-ndsrepair/Manifest index 7ae7f8b..764acd6 100644 --- a/trunk/novell4gentoo/net-nds/novell-ndsrepair/Manifest +++ b/trunk/novell4gentoo/net-nds/novell-ndsrepair/Manifest @@ -2,6 +2,7 @@ AUX 80novell-edir 303 RMD160 64062683170df6b99c1a4c42045a6f912ac5b6c6 SHA1 b3771 DIST edir87310_ftf1.tar.gz 254793819 RMD160 7631a2e782207848c8e76facb2d20f34e0477a40 SHA1 0d5109f3b110edf68385abe7d45adb9405566df9 SHA256 81bc6bf3abab9edd4792cf0ab5ea523dfca6f44b2627e20538db2977bb884c14 DIST edir87310b.tar.gz 254792877 RMD160 0b75eb50013f7c87c815a37d45786650d2f42bef SHA1 d976b29d6900a3ee9506e08abe783e4a9bf07b16 SHA256 e01297b4929c666ef2c5969b8a3098182ce96575ddf0a816a27451ece612aba6 EBUILD novell-ndsrepair-8.7.3.10_p76.ebuild 1858 RMD160 14b9ce954ad27b52674fd28f9bc5894d10d8f869 SHA1 506cd13f8a626f44dea6dc4bcda799a107eeefbe SHA256 6753b44ead8d5da833017e31458af2518077eae11ab7da0c4c2e6a4cc11ea74e +EBUILD novell-ndsrepair-8.7.3.10_p90-r1.ebuild 2017 RMD160 f4274eb91e4a33149f635f8aa05530a06c928643 SHA1 9f5f0ce80b3813bd56ee6153a66b40432036d1d1 SHA256 5f4efed5f6788d4f53039fa1d7460827f06f0139bd57ea9b25ce652d9f9f831d EBUILD novell-ndsrepair-8.7.3.10_p90.ebuild 1915 RMD160 f0697a0571cb609b14797fe5655a6f4b2f19fdd0 SHA1 78dbc45e7f8d6dc9d5ca5f5dee3437c8bd1de4c6 SHA256 37c05ecc73fe340366d6b3f4388041c5b7c8f28a29c7988c7e8f9deeced8983b -MISC ChangeLog 1650 RMD160 71db516d2585f76cc179b4db2cf537b8afcb1466 SHA1 8c2056bfa6e7b5db8329bdcc4d14370e1b66bcc5 SHA256 5e75b1e582a948bf0f63a8aed14c4de9ee3f4dfdc1e6910266e4c1d8a138a65b +MISC ChangeLog 1765 RMD160 bf72cee902c085819686a004d12cc82ed70dfde5 SHA1 3ebb6150646ed6dc6a8451b9ab59175406df843c SHA256 d3b1684f7c480ca9803cfe546587e007397475afc7e0619be95ebc7c36ff8bd7 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/net-nds/novell-ndsrepair/novell-ndsrepair-8.7.3.10_p90-r1.ebuild b/trunk/novell4gentoo/net-nds/novell-ndsrepair/novell-ndsrepair-8.7.3.10_p90-r1.ebuild new file mode 100644 index 0000000..399070e --- /dev/null +++ b/trunk/novell4gentoo/net-nds/novell-ndsrepair/novell-ndsrepair-8.7.3.10_p90-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="1" + +NOVELL_BUILDID="vPAcSRN8t6o~" +NOVELL_FILE32="patchfiles/edir87310_ftf1.tar.gz" +RESTRICT="mirror strip" + +inherit novell eutils rpm multilib + +MY_PV="${PV/_p/-}" + +DESCRIPTION="Novell NDS Repair Utility" +HOMEPAGE="http://www.novell.com" +SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32}" + +LICENSE="Novell-eDir-87" +SLOT="8.7" +KEYWORDS="~x86 ~amd64" +IUSE="linguas_fr" + +DEPEND="!net-nds/novell-ndsrepair:0 + !net-nds/novell-ndsrepair:8.8" + +RDEPEND="virtual/libc + >=app-crypt/novell-nici-2.6.4_p005 + net-nds/novell-ndsbase:8.7 + net-nds/novell-ndsserv:8.7" + +src_unpack() { + unpack ${A} + mkdir -p "${WORKDIR}"/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack "${WORKDIR}"/edir87310_ftf1/Linux/NDSrepair.i386.rpm +} + +src_compile() { :; } + +src_install() { + has_multilib_profile && ABI="x86" + + into /usr + dobin "${WORKDIR}"/${PN}-${MY_PV}/usr/bin/* + dosym . /usr/$(get_libdir)/nds-modules/$(get_libdir) + into /usr/$(get_libdir)/nds-modules + dolib.so "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/nds-modules/* + rm "${D}"/usr/$(get_libdir)/nds-modules/$(get_libdir) + doman "${WORKDIR}"/${PN}-${MY_PV}/usr/man/*/*.gz + use linguas_fr && doman -i18n=fr "${WORKDIR}"/${PN}-${MY_PV}/usr/man/fr/*/*.gz +} + +pkg_nofetch() { + einfo "This files require you to register at ${HOMEPAGE} (free account)" + einfo "Please download following file:" + einfo " - ${NOVELL_FILE32}" + 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" +}