From 2fd7a4d43dc918e232f141b9c782b2199ec912da Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 17 Jan 2009 12:30:49 +0000 Subject: [PATCH] sys-auth/novell-nmas: multilib support --- .../sys-auth/novell-nmas/ChangeLog | 6 +- .../sys-auth/novell-nmas/Manifest | 3 +- .../novell-nmas-3.2.1.0_p20080620-r2.ebuild | 65 +++++++++++++++++++ 3 files changed, 72 insertions(+), 2 deletions(-) create mode 100644 trunk/novell4gentoo/sys-auth/novell-nmas/novell-nmas-3.2.1.0_p20080620-r2.ebuild diff --git a/trunk/novell4gentoo/sys-auth/novell-nmas/ChangeLog b/trunk/novell4gentoo/sys-auth/novell-nmas/ChangeLog index 58c0c86..1aa7a9a 100644 --- a/trunk/novell4gentoo/sys-auth/novell-nmas/ChangeLog +++ b/trunk/novell4gentoo/sys-auth/novell-nmas/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for sys-auth/novell-nmas -# 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-nmas-3.2.1.0_p20080620-r2.ebuild: + multilib support + 03 Nov 2008; Mario Fetka novell-nmas-3.2.1.0_p20080620-r1.ebuild: correct blocking slot's diff --git a/trunk/novell4gentoo/sys-auth/novell-nmas/Manifest b/trunk/novell4gentoo/sys-auth/novell-nmas/Manifest index 0b60aa1..6a1ac97 100644 --- a/trunk/novell4gentoo/sys-auth/novell-nmas/Manifest +++ b/trunk/novell4gentoo/sys-auth/novell-nmas/Manifest @@ -1,6 +1,7 @@ AUX 80novell-edir 268 RMD160 d67c5b1235cc2833cb5d13e9083e0cc312e1b55e SHA1 5402e607959e0c9ed9da3f9756ba709c780f8dc8 SHA256 6951e52fddfa7973a8ea99acfecfd758a9104de25f5a81b0b3efb439c9eab619 DIST ss206_SLAH.tgz 31143941 RMD160 6dbfa508a374c2b5139cc45214e9ad1a17919791 SHA1 98916a96c7e5232a8deb3c2a9919e645f4bb1fdc SHA256 513faf240d85b189a64a1e88f9fdb08ee273c1f44e2bf0b51d9611fc9e4f3838 EBUILD novell-nmas-3.2.1.0_p20080620-r1.ebuild 1953 RMD160 c71d2b180ada67cb05a154013f44549f5ab1373b SHA1 264af40863b1890f98ac25f188eb9b1bf1e0f099 SHA256 e3cc2fdfa120a0c93cefd505bfc5d7cbc10f95b61ea644dca0119782e8f1ca61 +EBUILD novell-nmas-3.2.1.0_p20080620-r2.ebuild 2055 RMD160 62d2da722dfb3702ce28fc64f7c8494bb43385bd SHA1 a655113281a0059183bb6268804ba05130171086 SHA256 46a2b1a7260d70b034b99818aa9155fd6fe3d50632ff04ba15db333f50802e49 EBUILD novell-nmas-3.2.1.0_p20080620.ebuild 1889 RMD160 90a2f0b98819f3cc20b8b4711e7790b85c2b1d99 SHA1 d7867666b42dd3c804302564531e861bf02c5ce8 SHA256 bdf34ee99bcfc55fdd617e7a4ef27ce42731225255a64f76e970c8d1d8c30bb0 -MISC ChangeLog 1672 RMD160 153a15afd640ab5267774761cedbffd3f3a53261 SHA1 0090472fac3313d43eddd750ff259b372ff20f00 SHA256 64383ce9c6a7518ee80199c36b28df5f8ccce76d56b5e926ba6c2d5b41ba5096 +MISC ChangeLog 1787 RMD160 096b1833c15bf99ffed202e72e649016c5216555 SHA1 2d25e569b2ed67591833e3b50ddf8b0c89e305c5 SHA256 a42dd60cc319fd90a2b8e1cb459de90a1acfe522af69c1deb933406843bc1944 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/sys-auth/novell-nmas/novell-nmas-3.2.1.0_p20080620-r2.ebuild b/trunk/novell4gentoo/sys-auth/novell-nmas/novell-nmas-3.2.1.0_p20080620-r2.ebuild new file mode 100644 index 0000000..894481c --- /dev/null +++ b/trunk/novell4gentoo/sys-auth/novell-nmas/novell-nmas-3.2.1.0_p20080620-r2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="1" + +NOVELL_BUILDID="LYlbZMAom6k~" +NOVELL_FILE32="patchfiles/ss206_SLAH.tgz" +RESTRICT="mirror strip" + +inherit novell eutils rpm multilib + +MY_PV="${PV/_p/-}" +DESCRIPTION="Novell modular Authetication Services" +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="!sys-auth/novell-nmas:0 + !sys-auth/novell-nmas:8.8" + +RDEPEND="virtual/libc + >=app-crypt/novell-nici-2.7.3_p001" + +src_unpack() { + unpack ${A} + mkdir -p "${WORKDIR}"/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack "${WORKDIR}"/Linux/eDir87x/NOVLnmas-${MY_PV}.i386.rpm +} + +src_compile() { :; } + +src_install() { + has_multilib_profile && ABI="x86" + + into /usr + dobin "${WORKDIR}"/${PN}-${MY_PV}/usr/bin/* + 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/* + doman "${WORKDIR}"/${PN}-${MY_PV}/usr/share/man/*/*.gz + use linguas_fr && doman -i18n=fr "${WORKDIR}"/${PN}-${MY_PV}/usr/share/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" +} +