From dc576b6685c0c82b944cfa00d842b61069cf2ee9 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 17 Jan 2009 05:41:55 +0000 Subject: [PATCH] net-nds/novell-novlsubag: multilib support --- .../net-nds/novell-novlsubag/ChangeLog | 6 +- .../net-nds/novell-novlsubag/Manifest | 3 +- .../novell-novlsubag-8.7.3.10_p52-r2.ebuild | 69 +++++++++++++++++++ 3 files changed, 76 insertions(+), 2 deletions(-) create mode 100644 trunk/novell4gentoo/net-nds/novell-novlsubag/novell-novlsubag-8.7.3.10_p52-r2.ebuild diff --git a/trunk/novell4gentoo/net-nds/novell-novlsubag/ChangeLog b/trunk/novell4gentoo/net-nds/novell-novlsubag/ChangeLog index 84f8a64b..18c4dcd1 100644 --- a/trunk/novell4gentoo/net-nds/novell-novlsubag/ChangeLog +++ b/trunk/novell4gentoo/net-nds/novell-novlsubag/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for net-nds/novell-novlsubag -# 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 + +novell-novlsubag-8.7.3.10_p52-r2.ebuild: + multilib support + 03 Nov 2008; Mario Fetka novell-novlsubag-8.7.3.10_p52-r1.ebuild: correct blocking slot's diff --git a/trunk/novell4gentoo/net-nds/novell-novlsubag/Manifest b/trunk/novell4gentoo/net-nds/novell-novlsubag/Manifest index cd327a0e..b06feb04 100644 --- a/trunk/novell4gentoo/net-nds/novell-novlsubag/Manifest +++ b/trunk/novell4gentoo/net-nds/novell-novlsubag/Manifest @@ -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-novlsubag-8.7.3.10_p52-r1.ebuild 2061 RMD160 19a5fec572e6fd65b1c6331744604f7bc9076ca8 SHA1 765c57dd0dae85c4ab611b7449517605daa7001b SHA256 4726aa000e343bccb765635fb6a2663471f533dd30ea150bc6340a0635491d24 +EBUILD novell-novlsubag-8.7.3.10_p52-r2.ebuild 2113 RMD160 af61d138f4b48a90e69be8ff6b88a3c1c62ed130 SHA1 3391428abe64e2d279f6e73a24d4a0a8384e0efc SHA256 f45d75fd7e7e1b5974b598b9cb62d6aaaf89a6abc3e7478871c30951b2921c87 EBUILD novell-novlsubag-8.7.3.10_p52.ebuild 2015 RMD160 842e4ffd3b3fca4e4adb33c0360230596ad0b4aa SHA1 14d9c220c9dcfea58f2cba6ac61a5bd2d54ae7a9 SHA256 cd93109c6e29f1de6c56974e7814dc8e8ea4cf238dcd29c016ba2738fbca1b03 -MISC ChangeLog 1380 RMD160 6b3a67c3bce76ab6d6288adb408866a0d50bd06f SHA1 7c19a79ed70dafc3cf91ff08bcf995d54ff54a89 SHA256 5674368eb1478af19c23a801c9357c1198a064ddb268a8ca20ffd732cbda79d4 +MISC ChangeLog 1495 RMD160 738f41d736fc0ba8a57b737ecc395118510bd041 SHA1 a6f99b234b24ef5e1bb38bda8b8dae0769e8380c SHA256 3461a6858e05e509edd615ce6d810247993e6df7944525f827ad782b8ce37954 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/net-nds/novell-novlsubag/novell-novlsubag-8.7.3.10_p52-r2.ebuild b/trunk/novell4gentoo/net-nds/novell-novlsubag/novell-novlsubag-8.7.3.10_p52-r2.ebuild new file mode 100644 index 00000000..22c9e3b5 --- /dev/null +++ b/trunk/novell4gentoo/net-nds/novell-novlsubag/novell-novlsubag-8.7.3.10_p52-r2.ebuild @@ -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="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 linguas_ja" + +DEPEND="!net-nds/novell-novlsubag:0 + !net-nds/novell-novlsubag:8.8" + +RDEPEND="virtual/libc + >=app-crypt/novell-nici-2.6.4_p005 + net-nds/novell-ndsbase:8.7 + net-nds/novell-nldapbase:8.7 + net-nds/novell-nldapsdk:8.7" + +src_unpack() { + unpack ${A} + mkdir -p "${WORKDIR}"/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack "${WORKDIR}"/edir87310_ftf1/Linux/NOVLsubag.i386.rpm +} + +src_compile() { :; } + +src_install() { + has_multilib_profile && ABI="x86" + + into /usr + dobin "${WORKDIR}"/${PN}-${MY_PV}/usr/bin/* + dolib.so "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/* + doman "${WORKDIR}"/${PN}-${MY_PV}/usr/man/*/*.gz + use linguas_fr && doman -i18n=fr "${WORKDIR}"/${PN}-${MY_PV}/usr/man/fr/*/*.gz + use linguas_ja && doman -i18n=ja "${WORKDIR}"/${PN}-${MY_PV}/usr/man/ja/*/*.gz + + insinto /etc/ndssnmp + doins "${WORKDIR}"/${PN}-${MY_PV}/etc/ndssnmp/* + doinitd "${WORKDIR}"/${PN}-${MY_PV}/etc/init.d/ndssnmpsa +} + +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" +}