From 847e685a7e9cb8c042c0c3534baf47178cf4c006 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 17 Jan 2009 13:29:58 +0000 Subject: [PATCH] net-nds/novell-ndsserv: multilib support --- .../net-nds/novell-ndsserv/ChangeLog | 6 +- .../net-nds/novell-ndsserv/Manifest | 3 +- .../novell-ndsserv-8.7.3.10_p88-r1.ebuild | 95 +++++++++++++++++++ 3 files changed, 102 insertions(+), 2 deletions(-) create mode 100644 trunk/novell4gentoo/net-nds/novell-ndsserv/novell-ndsserv-8.7.3.10_p88-r1.ebuild diff --git a/trunk/novell4gentoo/net-nds/novell-ndsserv/ChangeLog b/trunk/novell4gentoo/net-nds/novell-ndsserv/ChangeLog index a3ba5a6f..a626ed1c 100644 --- a/trunk/novell4gentoo/net-nds/novell-ndsserv/ChangeLog +++ b/trunk/novell4gentoo/net-nds/novell-ndsserv/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for net-nds/novell-ndsserv -# 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-ndsserv-8.7.3.10_p88-r1.ebuild: + multilib support + 03 Nov 2008; Mario Fetka novell-ndsserv-8.7.3.10_p88.ebuild: correct blocking slot's diff --git a/trunk/novell4gentoo/net-nds/novell-ndsserv/Manifest b/trunk/novell4gentoo/net-nds/novell-ndsserv/Manifest index 94e8aa81..0d66d1f2 100644 --- a/trunk/novell4gentoo/net-nds/novell-ndsserv/Manifest +++ b/trunk/novell4gentoo/net-nds/novell-ndsserv/Manifest @@ -9,6 +9,7 @@ AUX nldap88.initd 3263 RMD160 9d8fe9efb8d6b637a0392b586314c4df82df521e SHA1 3d64 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-ndsserv-8.7.3.10_p78.ebuild 2897 RMD160 bfcdedd76097c937ae15c92fb6c365a0499ccae7 SHA1 fc5d84507273f4b60958284734fc082bfafa09e2 SHA256 ac36e89082aae1d1354525bf6c8fd19a952adf3127c84cef2e1b928218d9a613 +EBUILD novell-ndsserv-8.7.3.10_p88-r1.ebuild 3178 RMD160 4342227f6cc13aa6271edcc6f53f99dda66eca3e SHA1 2687515408fd5129bab61365b3361685cc68f7f5 SHA256 7a383463bc5a738b5d59744ba8b18ab6d029d4e210740ed434942f1f657521dd EBUILD novell-ndsserv-8.7.3.10_p88.ebuild 2896 RMD160 bd866a9f534419fe40ec999412d71ef257481663 SHA1 57ffaa5f49cbdf88255e5d63f960dc504aeea17c SHA256 fe54af1d8099790b94d062a845371291f97904dd878f2f0b8bb3953f46ee1e98 -MISC ChangeLog 1797 RMD160 6a5f78f3a2d156c77717e93aea92670b89a1b34e SHA1 e0adfa8878f44e9c58e49ba90e36cf8248637234 SHA256 9f55590b1a1dd61c840d761dcac78e42f02842f37751a2248d00f138b133e0cf +MISC ChangeLog 1910 RMD160 a4abbba3ec911d60f925673c4781370c3f577e6c SHA1 01560077133bbf701cfc5856638656da9a1ae5a0 SHA256 84f8f2bfb1eb2330791dd2f80962805cb4da7070bffe1cf3036b00db085f572d MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/net-nds/novell-ndsserv/novell-ndsserv-8.7.3.10_p88-r1.ebuild b/trunk/novell4gentoo/net-nds/novell-ndsserv/novell-ndsserv-8.7.3.10_p88-r1.ebuild new file mode 100644 index 00000000..d5fb62f2 --- /dev/null +++ b/trunk/novell4gentoo/net-nds/novell-ndsserv/novell-ndsserv-8.7.3.10_p88-r1.ebuild @@ -0,0 +1,95 @@ +# 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 Server and DS Utilities" +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 linguas_ja" + +DEPEND="!net-nds/novell-ndsserv:0 + !net-nds/novell-ndsserv:8.8" + +RDEPEND="virtual/libc + net-misc/novell-ncp:8.7 + net-nds/novell-ndsbase:8.7 + net-nds/novell-ndscommon:8.7 + net-nds/novell-ndsmasv:8.7 + net-nds/novell-nldapsdk:8.7 + app-crypt/novell-npkiapi:8.7 + app-crypt/novell-npkit:8.7 + sys-auth/novell-nmas:8.7" + +src_unpack() { + unpack ${A} + mkdir -p "${WORKDIR}"/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack "${WORKDIR}"/edir87310_ftf1/Linux/NDSserv.i386.rpm +} + +src_compile() { :; } + +src_install() { + has_multilib_profile && ABI="x86" + + into /usr + dobin "${WORKDIR}"/${PN}-${MY_PV}/usr/bin/* + dosbin "${WORKDIR}"/${PN}-${MY_PV}/usr/sbin/ndsd + dosbin "${WORKDIR}"/${PN}-${MY_PV}/usr/sbin/nldap + dolib.so "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/* + 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) + insinto /usr/lib/nds-schema + doins "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/nds-schema/* + keepdir /usr/lib/nds-install + insinto /usr/lib/nds/nds-http/iconsole + doins "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/nds/nds-http/iconsole/*.css + insinto /usr/lib/nds/nds-http/iconsole/images + doins "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/nds/nds-http/iconsole/images/*.gif + doman "${WORKDIR}"/${PN}-${MY_PV}/usr/man/*/*.gz + use linguas_fr && doman -i18n=fr "${WORKDIR}"/${PN}-${MY_PV}/usr/man/fr/*/*.gz + use linguas_ja && doman -i18n=ja "${WORKDIR}"/${PN}-${MY_PV}/usr/man/ja/*/*.gz + + newconfd "${FILESDIR}"/ndsd87.confd ndsd + newinitd "${FILESDIR}"/ndsd87.initd ndsd + newinitd "${FILESDIR}"/nldap87.initd nldapd + # add fake nldap bash script for compatibility + newinitd "${FILESDIR}"/nldap.initd nldap + echo "n4u.server.libdir=/usr/$(get_libdir)/nds-modules" > "${D}"/etc/nds.conf + dodir /etc/env.d + echo "LDPATH=/usr/$(get_libdir)/nds-modules" > "${D}"/etc/env.d/80novell-edir-8.7 +} + +pkg_postinst(){ + /usr/bin/ether +} + +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" +}