net-nds/novell-novlsnmp: multilib support

This commit is contained in:
geos_one 2009-01-17 04:14:55 +00:00
parent ee98a2888f
commit 7bae28bd11
2 changed files with 66 additions and 0 deletions

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-novlsnmp-8.7.3.10_p53-r1.ebuild 1943 RMD160 f3429ea1921accf3c5fc7723c8f38fcdfdc7a2e3 SHA1 29ca8a21146558d5a93867444674bdb3653e6f71 SHA256 c2f69d41493cb0c3ac810f10fa96c4e5312f86348f0f41082e0ab99fefb01c7f EBUILD novell-novlsnmp-8.7.3.10_p53-r1.ebuild 1943 RMD160 f3429ea1921accf3c5fc7723c8f38fcdfdc7a2e3 SHA1 29ca8a21146558d5a93867444674bdb3653e6f71 SHA256 c2f69d41493cb0c3ac810f10fa96c4e5312f86348f0f41082e0ab99fefb01c7f
EBUILD novell-novlsnmp-8.7.3.10_p53-r2.ebuild 1994 RMD160 2790e4558b134d3c7548a131116668d1efe28a97 SHA1 1e7e23fe7cc7857c54d4c4fa1faedac9fb0993b1 SHA256 65297abdd0dddfdcf93edef8a85b1a7e671e13a5b42cb316917a3b5c5d6bd5bf
EBUILD novell-novlsnmp-8.7.3.10_p53.ebuild 1866 RMD160 81f57fa250f6ac9d2ad070572bd46d589e91b6f5 SHA1 d48da76b6b490c9ceb3fb6b33b97f1c644658aa3 SHA256 2be0e88fb6faa2996d31a5f723bd515f69e08d176571a53903da9a728020d3f0 EBUILD novell-novlsnmp-8.7.3.10_p53.ebuild 1866 RMD160 81f57fa250f6ac9d2ad070572bd46d589e91b6f5 SHA1 d48da76b6b490c9ceb3fb6b33b97f1c644658aa3 SHA256 2be0e88fb6faa2996d31a5f723bd515f69e08d176571a53903da9a728020d3f0
MISC ChangeLog 1366 RMD160 ed99455d4d6242859517952a5f61cb6563d555f0 SHA1 12328cff0305c8ceca0b34a9e097fd55f2925d9a SHA256 f0c61fb93cd8b822687ae22843e9bf03493b2590e19b253bffad82d911b578af MISC ChangeLog 1366 RMD160 ed99455d4d6242859517952a5f61cb6563d555f0 SHA1 12328cff0305c8ceca0b34a9e097fd55f2925d9a SHA256 f0c61fb93cd8b822687ae22843e9bf03493b2590e19b253bffad82d911b578af
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,65 @@
# Copyright 1999-2008 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 Directory User Agent"
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="linguas_fr"
DEPEND="!net-nds/novell-novlsnmp:0
!net-nds/novell-novlsnmp:8.8"
RDEPEND="virtual/libc
>=app-crypt/novell-nici-2.6.4_p005"
src_unpack() {
unpack ${A}
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack "${WORKDIR}"/edir87310_ftf1/Linux/NOVLsnmp.i386.rpm
}
src_compile() { :; }
src_install() {
has_multilib_profile && ABI="x86"
into /usr
dobin "${WORKDIR}"/${PN}-${MY_PV}/usr/bin/*
dosym . /usr/lib/nds-modules/lib
into /usr/lib/nds-modules
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/nds-modules/*
rm "${D}"/usr/lib/nds-modules/lib
insinto /usr/lib/nds-schema
doins "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/nds-schema/*
doman "${WORKDIR}"/${PN}-${MY_PV}/usr/man/*/*.gz
use linguas_fr && doman -i18n=fr "${WORKDIR}"/${PN}-${MY_PV}/usr/man/fr/*/*.gz
}
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"
}