net-nds/novell-nldapsdk: first round of edir 8.8 ebuild mods
This commit is contained in:
parent
18e38e05d1
commit
d00bab59ea
@ -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-nldapsdk-8.8.5.2.6.ebuild:
|
||||
first round of edir 8.8 ebuild mods
|
||||
|
||||
12 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
-novell-nldapsdk-8.7.3.10_p53.ebuild, -files/80novell-edir,
|
||||
-novell-nldapsdk-8.7.3.10_p53-r1.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-nldapsdk-8.7.3.10.53.ebuild 1605 RMD160 17b96bf8c1e83919949f26e631d2d0b6361b87c2 SHA1 223eebcd3ebdb5c9a2a520709c62dd6c7eb61ee7 SHA256 28c2318cb6756e446fa57dcd0bef1769016612391804de7749ea3b84c5f47231
|
||||
MISC ChangeLog 1760 RMD160 eb9e8f6725b667337670c4f848a0f829ce62205c SHA1 60f9a8196a4005b7960d56a10eecc3c15a71e1ef SHA256 1c8c3e1edf8096c2e5d91b7242ddb4919d6d78ddf58c0cc91c0381ba7ce4d002
|
||||
EBUILD novell-nldapsdk-8.8.5.2.6.ebuild 2226 RMD160 99f00e78470cf4573c3816c5b84208587801435c SHA1 3dacb4e886fcfa3764fca22207186bc8dfccec90 SHA256 ea85f90682a545906993fe8e1af7f8990ff20f06682140a6e13df7da151fbbbd
|
||||
MISC ChangeLog 1887 RMD160 746e844c53827e201a1806d01bdbb58ef45dcbed SHA1 697194a1517fe44f5a47126455631bb3e35be055 SHA256 3815cafd44948e9245a80dbb80607eaadb6067b20bcff5b2c3ac74457208dff5
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
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 SDK 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-87"
|
||||
SLOT="8.8"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="!net-nds/novell-nldapsdk:0
|
||||
!net-nds/novell-nldapsdk:8.7"
|
||||
|
||||
RDEPEND="virtual/libc"
|
||||
|
||||
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-NLDAPsdk.${narch}.rpm
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
into /opt/novell/eDirectory
|
||||
dolib "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/*.so*
|
||||
}
|
||||
|
||||
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