net-nds/novell-novlembox: multilib support

This commit is contained in:
geos_one 2009-01-17 13:45:25 +00:00
parent 8d14563b73
commit e0cfce5e2d
3 changed files with 97 additions and 2 deletions

View File

@ -1,7 +1,11 @@
# ChangeLog for net-nds/novell-novlembox # ChangeLog for net-nds/novell-novlembox
# 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-novlembox-8.7.3.10_p34-r1.ebuild:
multilib support
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com> 03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
novell-novlembox-8.7.3.10_p34.ebuild: novell-novlembox-8.7.3.10_p34.ebuild:
correct blocking slot's correct blocking slot's

View File

@ -2,6 +2,7 @@ AUX 80novell-edir 303 RMD160 64062683170df6b99c1a4c42045a6f912ac5b6c6 SHA1 b3771
DIST edir87310_ftf1.tar.gz 254793819 RMD160 7631a2e782207848c8e76facb2d20f34e0477a40 SHA1 0d5109f3b110edf68385abe7d45adb9405566df9 SHA256 81bc6bf3abab9edd4792cf0ab5ea523dfca6f44b2627e20538db2977bb884c14 DIST edir87310_ftf1.tar.gz 254793819 RMD160 7631a2e782207848c8e76facb2d20f34e0477a40 SHA1 0d5109f3b110edf68385abe7d45adb9405566df9 SHA256 81bc6bf3abab9edd4792cf0ab5ea523dfca6f44b2627e20538db2977bb884c14
DIST edir87310b.tar.gz 254792877 RMD160 0b75eb50013f7c87c815a37d45786650d2f42bef SHA1 d976b29d6900a3ee9506e08abe783e4a9bf07b16 SHA256 e01297b4929c666ef2c5969b8a3098182ce96575ddf0a816a27451ece612aba6 DIST edir87310b.tar.gz 254792877 RMD160 0b75eb50013f7c87c815a37d45786650d2f42bef SHA1 d976b29d6900a3ee9506e08abe783e4a9bf07b16 SHA256 e01297b4929c666ef2c5969b8a3098182ce96575ddf0a816a27451ece612aba6
EBUILD novell-novlembox-8.7.3.10_p23.ebuild 2800 RMD160 1bd73ac33cf28ddd0cf6d59e4ee2ea727d7d258f SHA1 463471d1f328ea6cdce8b794e91e5bf77cc145e4 SHA256 cf99e618df2599903829e2fc2d362002391ec05c0573223dd81234f0d5d99bb9 EBUILD novell-novlembox-8.7.3.10_p23.ebuild 2800 RMD160 1bd73ac33cf28ddd0cf6d59e4ee2ea727d7d258f SHA1 463471d1f328ea6cdce8b794e91e5bf77cc145e4 SHA256 cf99e618df2599903829e2fc2d362002391ec05c0573223dd81234f0d5d99bb9
EBUILD novell-novlembox-8.7.3.10_p34-r1.ebuild 3070 RMD160 b8a51234344a8daea65c88908094ca63f8dc9834 SHA1 4ee321943a830b1d1e09cf57ed256bdde193b958 SHA256 09086ff2f87fba019b6b02c7af50cac361e8a2f694dae83a1247e7e71e273b9d
EBUILD novell-novlembox-8.7.3.10_p34.ebuild 2838 RMD160 3f01b36dfb0843a7b4c555cfd732c163feb68d5d SHA1 faf07cc9062672d1a80b06a362c5ac19e6708758 SHA256 ee4b8b41d3e95a611a2b409e5a68281244c2a630d1f361e73f4cbef2ff04db59 EBUILD novell-novlembox-8.7.3.10_p34.ebuild 2838 RMD160 3f01b36dfb0843a7b4c555cfd732c163feb68d5d SHA1 faf07cc9062672d1a80b06a362c5ac19e6708758 SHA256 ee4b8b41d3e95a611a2b409e5a68281244c2a630d1f361e73f4cbef2ff04db59
MISC ChangeLog 1644 RMD160 ef311bd382025786b8859a91f04d1c3e422cd7a8 SHA1 6d5d517c5661f318e736f573c75f93459d5684f5 SHA256 fd00b2bbe85109a5e094b493bc99c59daa3031d06ee8ee9387dac78f7b1ec9ef MISC ChangeLog 1759 RMD160 24a281889a5cd198fa364e9d243b04f5806c7cfd SHA1 782e8ed18a0644f8fe2e4f57a4243a248dc81445 SHA256 4ec721b21702407f855a8f1295e140a5665a5b2892f40f820544061fe70cbd7c
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,90 @@
# 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 java-utils-2 multilib
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell eDirectory Management Toolbox"
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=""
DEPEND="!net-nds/novell-novlembox:0
!net-nds/novell-novlembox:8.8"
RDEPEND="virtual/libc
>=virtual/jdk-1.4
net-nds/novell-ndsbase:8.7
net-nds/novell-ndsserv:8.7
net-nds/novell-novllmgnt:8.7
net-nds/novell-novlxis:8.7"
src_unpack() {
unpack ${A}
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack "${WORKDIR}"/edir87310_ftf1/Linux/NOVLembox.i386.rpm
}
src_compile() { :; }
src_install() {
has_multilib_profile && ABI="x86"
into /usr
dobin "${WORKDIR}"/${PN}-${MY_PV}/usr/bin/*
dosed 's%/usr/lib/nds-modules/embox%`java-config --jre-home`%' /usr/bin/edirutil
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/*
java-pkg_jarinto /usr/$(get_libdir)/nds-modules/embox
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}//usr/lib/nds-modules/embox/*.jar
dosym . /usr/$(get_libdir)/nds-modules/embox/emtools/$(get_libdir)
into /usr/$(get_libdir)/nds-modules/embox/emtools
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/nds-modules/embox/emtools/*.so*
rm "${D}"/usr/$(get_libdir)/nds-modules/embox/emtools/$(get_libdir)
dosym . /usr/$(get_libdir)/nds-modules/embox/$(get_libdir)
into /usr/$(get_libdir)/nds-modules/embox
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/nds-modules/embox/*.so*
rm "${D}"/usr/$(get_libdir)/nds-modules/embox/$(get_libdir)
insinto /usr/$(get_libdir)/nds-modules/embox/config
doins "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/nds-modules/embox/config/*.xml
insinto /usr/$(get_libdir)/nds-modules/embox/res
doins "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/nds-modules/embox/res/*.xlf
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 /var/nds/embox/log
}
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"
}