net-nds/novell-ndsmasv: multilib support

This commit is contained in:
geos_one 2009-01-17 13:30:31 +00:00
parent 847e685a7e
commit 4dd142332e
3 changed files with 70 additions and 2 deletions

View File

@ -1,7 +1,11 @@
# ChangeLog for net-nds/novell-ndsmasv
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
17 Jan 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-ndsmasv-8.7.3.10_p2-r2.ebuild:
multilib support
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
novell-ndsmasv-8.7.3.10_p2-r1.ebuild:
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 edir87310b.tar.gz 254792877 RMD160 0b75eb50013f7c87c815a37d45786650d2f42bef SHA1 d976b29d6900a3ee9506e08abe783e4a9bf07b16 SHA256 e01297b4929c666ef2c5969b8a3098182ce96575ddf0a816a27451ece612aba6
EBUILD novell-ndsmasv-8.7.3.10_p2-r1.ebuild 1751 RMD160 71d666c7aa4dd790c6a438e5d805c875787d289a SHA1 68879d2d28af4b287ae36ca6d70e406f73ebd76a SHA256 3a3f2390e9699583fd5f3c268fac62056e80320e1441b1eac15da593ebf05e24
EBUILD novell-ndsmasv-8.7.3.10_p2-r2.ebuild 1853 RMD160 9af38182daf597881ddd7cc1e48e8a10fe0e589b SHA1 08e359ff011ee9ee1c87646134cca254bf20e810 SHA256 1d5e6c374b911e5ab8cf4479bd56fefe534f8f2e0048abef649fb763ed893a81
EBUILD novell-ndsmasv-8.7.3.10_p2.ebuild 1687 RMD160 133dae9bd06a733fdfd13de5a8c0bfeafcb65245 SHA1 83d6183f61c9d22f8fe020159cfc0d1ccf332266 SHA256 41ac2fc9197d71fb6e6d4eeb4d0ec581830014d39b4041f2f309c7106a876887
MISC ChangeLog 1416 RMD160 84f812f4b87f5e2aab4a82144462934e65707aca SHA1 504409d03ecab236eab331ba7f3ac285b0c36fe6 SHA256 08b0aa164f200288a809ba3e8fccafcd806c5bf155bbe2a0e2560b1a223ecb73
MISC ChangeLog 1528 RMD160 e5149fa9bec66af8ae50164f65776fe2c7d0aa87 SHA1 3c8555fff57c26e0102e61f4894e615641d813fe SHA256 56657e31c55897c0aacc1e3fd11402a1b92059e0ea9aac4c73907255b7bcda42
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,63 @@
# 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 multilib
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Mandatory Access Service"
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-ndsmasv:0
!net-nds/novell-ndsmasv:8.8"
RDEPEND="virtual/libc
net-nds/novell-ndsserv:8.7"
src_unpack() {
unpack ${A}
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack "${WORKDIR}"/edir87310_ftf1/Linux/NDSmasv.i386.rpm
}
src_compile() { :; }
src_install() {
has_multilib_profile && ABI="x86"
into /usr
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/*
}
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"
}