sys-auth/novell-nmas: first round of edir 8.8 ebuild mods

This commit is contained in:
geos_one 2009-12-13 09:19:21 +00:00
parent b9b4df18e3
commit 67b0c6ae49
3 changed files with 88 additions and 1 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
13 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-nmas-3.3.2.0.20090408.ebuild:
first round of edir 8.8 ebuild mods
17 Jan 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-nmas-3.2.1.0_p20080620-r2.ebuild:
multilib support

View File

@ -1,7 +1,10 @@
AUX 80novell-edir 268 RMD160 d67c5b1235cc2833cb5d13e9083e0cc312e1b55e SHA1 5402e607959e0c9ed9da3f9756ba709c780f8dc8 SHA256 6951e52fddfa7973a8ea99acfecfd758a9104de25f5a81b0b3efb439c9eab619
DIST eDirectory_88SP5_Linux_i586.tar.gz 92524434 RMD160 8c3cb42aabb13eab2c13c4596faf0034eef3a0ed SHA1 51b6f8c6390b0a9f92d86d9af7bab6054bc8f268 SHA256 891447378202d3822b8de1599086994fee9e186c58e06d561ca4a0c855c4b4ea
DIST eDirectory_88SP5_Linux_x86_64.tar.gz 96059884 RMD160 dac9cc0631b5206eb289d417c602d43f0b74f0b0 SHA1 6c9ece98af9510ac3c284bc72695d771e155bb37 SHA256 7f4d46594909b46f11dc3a5e62a283e8fb8da9bb93e9fbcb02420ca004098092
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 1787 RMD160 096b1833c15bf99ffed202e72e649016c5216555 SHA1 2d25e569b2ed67591833e3b50ddf8b0c89e305c5 SHA256 a42dd60cc319fd90a2b8e1cb459de90a1acfe522af69c1deb933406843bc1944
EBUILD novell-nmas-3.3.2.0.20090408.ebuild 2801 RMD160 f45a86ca27b485154fea889489d81c1c5e642c14 SHA1 8493637f8ddd2f4f6f895a34f8cd31af9476e9cf SHA256 1a7ef845230bb749bf602030583a1cc7904acd4357bf90d9364ee71419c20f19
MISC ChangeLog 1917 RMD160 661b9102715c9408b7a651fed45cb744f0ef7b05 SHA1 49c718b15f8730c9f0d4ac03c5ddbe642d0a073a SHA256 95abd0f19e11dc5aeba9faac680a4ba4c50a1df21be23d8fc9ffe004c1730d36
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,80 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="1"
NOVELL_BUILDID32="63eV_vS9dv4~"
NOVELL_FILE32="eDirectory_88SP5_Linux_i586.tar.gz"
NOVELL_BUILDID64="ffdH4AJgrFs~"
NOVELL_FILE64="eDirectory_88SP5_Linux_x86_64.tar.gz"
RESTRICT="mirror strip"
inherit novell eutils rpm multilib versionator
MY_PV=$(replace_version_separator 4 '-')
DESCRIPTION="Novell modular Authetication Services"
HOMEPAGE="http://www.novell.com"
SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID32}/${NOVELL_FILE32} )
amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID64}/${NOVELL_FILE64} )"
LICENSE="Novell-eDir-87"
SLOT="8.8"
KEYWORDS="~x86 ~amd64"
IUSE="linguas_fr"
DEPEND="!sys-auth/novell-nmas:0
!sys-auth/novell-nmas:8.7"
RDEPEND="virtual/libc
>=app-crypt/novell-nici-2.7.3_p001"
src_unpack() {
cd "${WORKDIR}"
unpack ${A}
if use x86
then
narch=i586
nlib=lib
ndir=Linux
elif use amd64
then
narch=x86_64
nlib=lib64
ndir=Linux64
fi
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ../work/eDirectory/setup/${PN}-${MY_PV}.${narch}.rpm
}
src_compile() { :; }
src_install() {
into /opt/novell/eDirectory
dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/bin/*
dosym . /opt/novell/eDirectory/$(get_libdir)/nds-modules/$(get_libdir)
into /opt/novell/eDirectory/$(get_libdir)/nds-modules
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/*
rm "${D}"/opt/novell/eDirectory/$(get_libdir)/nds-modules/$(get_libdir)
insinto /opt/novell/eDirectory/$(get_libdir)/nds-schema
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-schema/*
doman "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/man/*/*.*
use linguas_fr && doman -i18n=fr "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/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"
}