net-nds/novell-nldapbase: Bump

This commit is contained in:
geos_one 2010-05-08 13:22:18 +00:00
parent c1c9f9f8a5
commit 1917324b97
3 changed files with 120 additions and 2 deletions

View File

@ -1,7 +1,11 @@
# ChangeLog for net-nds/novell-nldapbase
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
08 May 2010; Mario Fetka <mario.fetka@gmail.com>
+novell-nldapbase-8.8.5.3.4.ebuild:
Bump
18 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
novell-nldapbase-8.8.5.2.6.ebuild:
add missing multilib IUSE

View File

@ -1,6 +1,8 @@
DIST edir87310_ftf2.tar.gz 254893129 RMD160 5db2ec018ecf7de9f3eb1e5a8ba8022e99f8cce2 SHA1 9fabfdfd807428c760942fdf49fc35b55a4b4e9a SHA256 36c657623419edb2e43b14943785d24f3d1872b4ecf5d6fc97a35792a8db3ba7
DIST edir8853.tar.gz 306613278 RMD160 2b277ab74dd5c00caf5b1381c63779c3ff56a467 SHA1 70214468bce9e385db2f525a8d02c9bc0509eb74 SHA256 da81b5b120b64f860496318bc3f90331cf7842a37a3df477d5ea0a991b6f3494
DIST edir885_Patch2.tar.gz 306609536 RMD160 4483666615f90ba16c6996e562c4dc182c3f6f6c SHA1 b9b8b9d3659b70738674f356f0691ab7545bc7c2 SHA256 12153f6a17d69bdf3fc968c067db9bcdd284b6910738ebbdde232f5e204c11bc
EBUILD novell-nldapbase-8.7.3.10.56.ebuild 2250 RMD160 a670e59da6f71c08b868672490d208806a5352f6 SHA1 5752e85ac4d6967fa27c15636ad99926004c00f3 SHA256 5c7adcff77e5e3aa17eb733dfdabe18d3af3894172d9c58de2e537ca1b66a1fa
EBUILD novell-nldapbase-8.8.5.2.6.ebuild 3921 RMD160 308492eee092443a07363007d2b48864ec09c545 SHA1 92ded1a9d2641008cd1457ff138947b1644f3c3a SHA256 e54896b1dccc8073ba9c83ec8248ad8feb4c7cf372f1dac81e8e31747db4b695
MISC ChangeLog 2436 RMD160 12b5ea8b2c4c29cafab199b543670c317f5d36c2 SHA1 4c2bbf2275c1c705c377ff1a71d3a5ffa6d1d35d SHA256 28d0485462a767a1a252cb15e427580b000c9a91c07a6a0fca7fefde0383cdb4
EBUILD novell-nldapbase-8.8.5.3.4.ebuild 3909 RMD160 a7692984861b3b12e416808691bed9a62be59b9d SHA1 20b77e78b78a00c6c681d432dc399c0ec530a17f SHA256 90982271c4ca3944ca629a4b16a43d1cb2b8bd040de4856f25e77b20aded3517
MISC ChangeLog 2533 RMD160 dbd0f0bda0be11d5417bef61353bd7c75496695a SHA1 f5ed98909a354a854297702e0623f21bd9a52846 SHA256 ddc38df632c31565e819d2154ce58e86098153ec9fcf5fe8d796d40d4457d881
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,112 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NOVELL_BUILDID32="SGLpwvlw9ig~"
NOVELL_FILE32="patchfiles/edir8853.tar.gz"
NOVELL_BUILDID64="SGLpwvlw9ig~"
NOVELL_FILE64="patchfiles/edir8853.tar.gz"
RESTRICT="mirror strip"
inherit novell eutils rpm multilib versionator
MY_PV=$(replace_version_separator 4 '-')
DESCRIPTION="Novell LDAP Tools and Libraries"
HOMEPAGE="http://www.novell.com"
SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID32}/${NOVELL_FILE32} )
multilib? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID32}/${NOVELL_FILE32} )
amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID64}/${NOVELL_FILE64} )"
LICENSE="Novell-eDir-88"
SLOT="8.8"
KEYWORDS="~x86 ~amd64"
IUSE="linguas_fr linguas_ja multilib"
DEPEND="!net-nds/novell-nldapbase:0
!net-nds/novell-nldapbase:8.7"
RDEPEND="virtual/libc
net-nds/novell-nldapsdk:8.8"
src_unpack() {
cd "${WORKDIR}"
unpack ${A}
if use x86
then
narch=i586
nlib=lib
ndir=Linux
elif use amd64
then
narch=x86_64
nlib=lib64
ndir=Linux64
fi
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
if has_multilib_profile
then
march=i586
mlib=lib
mdir=Linux
rpm_unpack ../work/edir8853/${mdir}/novell-NLDAPbase.${march}.rpm
fi
rpm_unpack ../work/edir8853/${ndir}/novell-NLDAPbase.${narch}.rpm
}
src_compile() { :; }
src_install() {
into /opt/novell/eDirectory
dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/bin/*
dolib "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/*.so*
if has_multilib_profile
then
ABI="x86" dolib "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${mlib}/*.so*
fi
doman "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/man/*/*.*
use linguas_fr && doman -i18n=fr "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/man/fr/*/*.*
use linguas_ja && doman -i18n=ja "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/man/ja/*/*.*
# rename conflicting man pages
cd "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/man/man1
for i in *
do
mv "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/man/man1/${i} \
"${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/man/man1/novell-${i}
mv "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/man/fr/man1/${i} \
"${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/man/fr/man1/novell-${i}
mv "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/man/ja/man1/${i} \
"${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/man/ja/man1/novell-${i}
done
doman "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/man/*/*.*
use linguas_fr && doman -i18n=fr "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/man/fr/*/*.*
use linguas_ja && doman -i18n=ja "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/man/ja/*/*.*
}
pkg_nofetch() {
einfo "This files require you to register at ${HOMEPAGE} (free account)"
einfo "Please download following file(s):"
if use x86
then
einfo " - ${NOVELL_FILE32}"
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID32}"
elif use amd64
then
einfo " - ${NOVELL_FILE64}"
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID64}"
if use multilib
then
einfo " - ${NOVELL_FILE32}"
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID32}"
fi
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"
}