net-nds/novell-ndsbase: first round of edir 8.8 ebuild mods
This commit is contained in:
parent
d7bd341c65
commit
314212df95
@ -2,6 +2,10 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
12 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
+novell-ndsbase-8.8.5.2.9.ebuild:
|
||||
first round of edir 8.8 ebuild mods
|
||||
|
||||
12 Dec 2009; Mario Fetka <mario.fetka@gmail.com> -files/80novell-edir,
|
||||
-novell-ndsbase-8.7.3.10_p67.ebuild, -novell-ndsbase-8.7.3.10_p75.ebuild,
|
||||
-novell-ndsbase-8.7.3.10_p75-r1.ebuild:
|
||||
|
@ -1,4 +1,6 @@
|
||||
DIST edir87310_ftf2.tar.gz 254893129 RMD160 5db2ec018ecf7de9f3eb1e5a8ba8022e99f8cce2 SHA1 9fabfdfd807428c760942fdf49fc35b55a4b4e9a SHA256 36c657623419edb2e43b14943785d24f3d1872b4ecf5d6fc97a35792a8db3ba7
|
||||
DIST edir885_Patch2.tar.gz 306609536 RMD160 4483666615f90ba16c6996e562c4dc182c3f6f6c SHA1 b9b8b9d3659b70738674f356f0691ab7545bc7c2 SHA256 12153f6a17d69bdf3fc968c067db9bcdd284b6910738ebbdde232f5e204c11bc
|
||||
EBUILD novell-ndsbase-8.7.3.10.90.ebuild 2565 RMD160 2bd7d23f0d4a3cf088c88e1daab5ba3ce8ff0832 SHA1 8438b9daa3dc85efaf9b5d752af4da9599a77765 SHA256 0de45b48eac99be18caa23424db930fae65b884d493561f1823feb5c262c1ca4
|
||||
MISC ChangeLog 2709 RMD160 eea0e60a1a96985dbc007a6c8acd162a97e6ceaa SHA1 707e7467d67b5a91aecc0ea1b6f30fc38307d1ed SHA256 8534dc777a97309d7cb0d95ce4f27490f5468f6e46bb23f6805703be08a8ffc9
|
||||
EBUILD novell-ndsbase-8.8.5.2.9.ebuild 3108 RMD160 8ea7e01ffdd6b4e57c09feb3dcb248cfb716995f SHA1 e196460cfa4c2854764a769fb5341168d3d94545 SHA256 6dbc1f0884974c65a70bbc3b320998407a2ce9e01b414ee8692ff53826eaabb3
|
||||
MISC ChangeLog 2835 RMD160 8d21285cdfdefc28035c2eca17b2dff76c547e55 SHA1 4378ec01c44ea8c6a9ef4312d7d51f8c0eb3a88b SHA256 7808a0126a76b956d5b7ff52b5f07b0d24c7a24b203349c4c81bd40be8b8a7a2
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
|
@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
NOVELL_BUILDID="T2wcCZC5kh4~"
|
||||
NOVELL_FILE32="patchfiles/edir885_Patch2.tar.gz"
|
||||
NOVELL_FILE64="patchfiles/edir885_Patch2.tar.gz"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
inherit novell eutils rpm java-utils-2 multilib versionator
|
||||
|
||||
MY_PV=$(replace_version_separator 4 '-')
|
||||
|
||||
DESCRIPTION="Novell Directory User Agent"
|
||||
HOMEPAGE="http://www.novell.com"
|
||||
SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32} )
|
||||
amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE64} )"
|
||||
|
||||
LICENSE="Novell-eDir-88"
|
||||
SLOT="8.8"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="linguas_fr linguas_fr_FR linguas_fr_FR linguas_ja linguas_ja_JP unicode multilib"
|
||||
|
||||
DEPEND="!net-nds/novell-ndsbase:0
|
||||
!net-nds/novell-ndsbase:8.7"
|
||||
|
||||
RDEPEND="virtual/libc
|
||||
>=virtual/jdk-1.4
|
||||
>=app-crypt/novell-nici-2.6.4_p005
|
||||
net-nds/novell-edir-env"
|
||||
|
||||
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/edir8852/${ndir}/novell-NDSbase.${narch}.rpm
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
into /opt/novell/eDirectory
|
||||
for x in fr_FR ja_JP
|
||||
do
|
||||
if use linguas_${x}
|
||||
then
|
||||
insinto /opt/novell/eDirectory/share/locale/${x}/LC_MESSAGES/
|
||||
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/share/locale/${x}/LC_MESSAGES/*.mo
|
||||
fi
|
||||
done
|
||||
use unicode && insinto /opt/novell/eDirectory/share/locale/fr_FR.UTF-8/LC_MESSAGES/
|
||||
use unicode && doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/share/locale/fr_FR.UTF-8/LC_MESSAGES/*.mo
|
||||
dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/bin/*
|
||||
dolib "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/*.so*
|
||||
into /usr
|
||||
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/*.jar
|
||||
doman "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/man/*/*.gz
|
||||
use linguas_fr && doman -i18n=fr "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/man/fr/*/*.gz
|
||||
use linguas_ja && doman -i18n=ja "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/man/ja/*/*.gz
|
||||
keepdir /etc/opt/novell/eDirectory/conf
|
||||
}
|
||||
|
||||
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"
|
||||
}
|
Loading…
Reference in New Issue
Block a user