net-nds/novell-nldapbase: first round of edir 8.8 ebuild mods
This commit is contained in:
parent
d00bab59ea
commit
a603624210
@ -2,6 +2,10 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
12 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
+novell-nldapbase-8.8.5.2.6.ebuild:
|
||||
first round of edir 8.8 ebuild mods
|
||||
|
||||
12 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
-novell-nldapbase-8.7.3.10_p56-r1.ebuild,
|
||||
-novell-nldapbase-8.7.3.10_p56-r2.ebuild,
|
||||
|
@ -1,4 +1,6 @@
|
||||
DIST edir87310_ftf2.tar.gz 254893129 RMD160 5db2ec018ecf7de9f3eb1e5a8ba8022e99f8cce2 SHA1 9fabfdfd807428c760942fdf49fc35b55a4b4e9a SHA256 36c657623419edb2e43b14943785d24f3d1872b4ecf5d6fc97a35792a8db3ba7
|
||||
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
|
||||
MISC ChangeLog 2079 RMD160 0b412dc51b62211bee27395e562a53350600291a SHA1 c7693b9c4a167674d4f705f2cc4c37955a7a2e5c SHA256 778c62a596b24a259eae23c75935dc3e29e8247b5928a27d97379ec0256793dc
|
||||
EBUILD novell-nldapbase-8.8.5.2.6.ebuild 3428 RMD160 cd49c3884d9ea567cedffb3cd1604b06a64cb25e SHA1 7bab16770321c39fbccbb2f783b004f56fb63d6d SHA256 3af7f35f755f44b43d8031e1bcd82b787ed29805e6f5eadc9c511c32e9ce701d
|
||||
MISC ChangeLog 2207 RMD160 8283eb4d8e7bb4f1e6210e41c24cc12c837a08f5 SHA1 d42098d8a92dad60ac2a6807455bea0b173368e1 SHA256 6669b6de52fc1b02278a705d1beffc3db11580e2c6f286293937d5e16096d200
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
|
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
NOVELL_BUILDID="T2wcCZC5kh4~"
|
||||
NOVELL_FILE32="patchfiles/edir885_Patch2.tar.gz"
|
||||
NOVELL_FILE64="patchfiles/edir885_Patch2.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_BUILDID}/${NOVELL_FILE32} )
|
||||
amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE64} )"
|
||||
|
||||
LICENSE="Novell-eDir-88"
|
||||
SLOT="8.8"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="linguas_fr linguas_ja"
|
||||
|
||||
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}
|
||||
rpm_unpack ../work/edir8852/${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*
|
||||
doman "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/man/*/*.*
|
||||
use linguas_fr && doman -i18n=fr "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/man/fr/*/*.*
|
||||
use linguas_fr && 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_fr && 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:"
|
||||
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"
|
||||
}
|
Loading…
Reference in New Issue
Block a user