net-nds/novell-nldapbase: multilib support

This commit is contained in:
geos_one 2009-01-17 03:59:35 +00:00
parent 935cefb5e8
commit a942d47aa6
3 changed files with 77 additions and 2 deletions

View File

@ -1,7 +1,11 @@
# ChangeLog for net-nds/novell-nldapbase # ChangeLog for net-nds/novell-nldapbase
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
17 Jan 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-nldapbase-8.7.3.10_p56-r3.ebuild:
multilib support
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com> 03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
novell-nldapbase-8.7.3.10_p56-r2.ebuild: novell-nldapbase-8.7.3.10_p56-r2.ebuild:
correct blocking slot's correct blocking slot's

View File

@ -3,5 +3,6 @@ DIST edir87310_ftf1.tar.gz 254793819 RMD160 7631a2e782207848c8e76facb2d20f34e047
DIST edir87310b.tar.gz 254792877 RMD160 0b75eb50013f7c87c815a37d45786650d2f42bef SHA1 d976b29d6900a3ee9506e08abe783e4a9bf07b16 SHA256 e01297b4929c666ef2c5969b8a3098182ce96575ddf0a816a27451ece612aba6 DIST edir87310b.tar.gz 254792877 RMD160 0b75eb50013f7c87c815a37d45786650d2f42bef SHA1 d976b29d6900a3ee9506e08abe783e4a9bf07b16 SHA256 e01297b4929c666ef2c5969b8a3098182ce96575ddf0a816a27451ece612aba6
EBUILD novell-nldapbase-8.7.3.10_p56-r1.ebuild 2111 RMD160 c54494935b4bab2e2eb9b067d4485cdec74427f2 SHA1 ae5d55d4e846d4b91034f21a13265f3e408968c2 SHA256 7caf92f421f83ace5745c14cdbba82124780a3ea28157dfeb29d3fb7df8571bd EBUILD novell-nldapbase-8.7.3.10_p56-r1.ebuild 2111 RMD160 c54494935b4bab2e2eb9b067d4485cdec74427f2 SHA1 ae5d55d4e846d4b91034f21a13265f3e408968c2 SHA256 7caf92f421f83ace5745c14cdbba82124780a3ea28157dfeb29d3fb7df8571bd
EBUILD novell-nldapbase-8.7.3.10_p56-r2.ebuild 2169 RMD160 0a5ac3042dd9feaabdfe9e70b5c1cef02f5f6d9f SHA1 3be8a8dfab09a60c572e4c384669c6d172fb804d SHA256 f2d4d05875e12513cd32361f5dba208ded809afe952cbdd05184988e96456f14 EBUILD novell-nldapbase-8.7.3.10_p56-r2.ebuild 2169 RMD160 0a5ac3042dd9feaabdfe9e70b5c1cef02f5f6d9f SHA1 3be8a8dfab09a60c572e4c384669c6d172fb804d SHA256 f2d4d05875e12513cd32361f5dba208ded809afe952cbdd05184988e96456f14
MISC ChangeLog 1644 RMD160 55d1c8d7a7c52f8b986c3cd32025db1612f47bb5 SHA1 3b82ababa5302bf4dde2cb5200e74711d82f4c37 SHA256 85e1fbc610eaa6252d350b07dd5538d7b56ad62eee792a95d15940f618ed9f48 EBUILD novell-nldapbase-8.7.3.10_p56-r3.ebuild 2221 RMD160 7acf0ad259020cc691e788543680f1abd9bc847b SHA1 aeac8fa87bac5ec903f5342b87c8e270f4a33b87 SHA256 d77a1eccfc759c6b7a532e358690b0d29037e60dd5a1ef85b7e9d8fbc4ed2f2d
MISC ChangeLog 1759 RMD160 0e27fcc45858b0f49a38ac9ebc0b138a7be112ed SHA1 209bd590dbf168d414f3cda34ca649b295a493d0 SHA256 882e8e3e7736d865fb2dcccf56ad7d03f521a9f68d656b79c9ea7832dd033c7d
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,70 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NOVELL_BUILDID="vPAcSRN8t6o~"
NOVELL_FILE32="patchfiles/edir87310_ftf1.tar.gz"
RESTRICT="mirror strip"
inherit novell eutils rpm multilib
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell LDAP Tools and Libraries"
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-nldapbase:0
!net-nds/novell-nldapbase:8.8"
RDEPEND="virtual/libc
net-nds/novell-nldapsdk:8.7"
src_unpack() {
unpack ${A}
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack "${WORKDIR}"/edir87310_ftf1/Linux/NLDAPbase.i386.rpm
}
src_compile() { :; }
src_install() {
has_multilib_profile && ABI="x86"
into /usr
dolib "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/*
into /usr/ldaptools
dobin "${WORKDIR}"/${PN}-${MY_PV}/usr/ldaptools/bin/*
# renae conflicting man pages
cd "${WORKDIR}"/${PN}-${MY_PV}/usr/ldaptools/man/man1
for i in *
do
mv "${WORKDIR}"/${PN}-${MY_PV}/usr/ldaptools/man/man1/${i} \
"${WORKDIR}"/${PN}-${MY_PV}/usr/ldaptools/man/man1/novell-${i}
mv "${WORKDIR}"/${PN}-${MY_PV}/usr/ldaptools/man/fr/man1/${i} \
"${WORKDIR}"/${PN}-${MY_PV}/usr/ldaptools/man/fr/man1/novell-${i}
done
doman "${WORKDIR}"/${PN}-${MY_PV}/usr/ldaptools/man/*/*.*
use linguas_fr && doman -i18n=fr "${WORKDIR}"/${PN}-${MY_PV}/usr/ldaptools/man/fr/*/*.*
}
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"
}