app-admin/novell-novlc1: add edir 8.8 support
This commit is contained in:
parent
99d3c3af99
commit
3a325b5462
@ -2,6 +2,10 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
19 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
+novell-novlc1-1.3.6.1_p2-r1.ebuild:
|
||||
add edir 8.8 support
|
||||
|
||||
17 Dec 2009; Mario Fetka <mario.fetka@gmail.com> files/ConsoleOne-136-pre:
|
||||
correct typo in pre script
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
AUX ConsoleOne-136-pre 706 RMD160 6b7aa23223d339e6d7064a2d7179cbfaa0a399bd SHA1 cd3996bb1f8e64017bfa96da7221f078f6a56f2d SHA256 5718aeb42d753e1191329f646c7740cb5ca97a9f8274b2d190b48a96362f40fa
|
||||
DIST c1_1.3.6h_patch2.zip 797242 RMD160 796a2fcee8a3e0581b2876720110e0e8642e10fa SHA1 836b03278eac210445bbffe4ec55ea6234be8d80 SHA256 163bac905856402cb7ae3dfea73374fc9d0a4f501ba5f4e99e972f7285ba007b
|
||||
DIST c1_136h-linux.tar.gz 41771356 RMD160 0c2b8ac9309962492936a5c988ec519103bad0f2 SHA1 de6525532a5b89b0872c129a54bb82e8f2e08aec SHA256 481c20119c0d84659a25a5f79e32740b27c7ffa69d4ac1ce810aeebbae211a2b
|
||||
EBUILD novell-novlc1-1.3.6.1_p2-r1.ebuild 6179 RMD160 e89895c913f6276e9c5f6e364c33ab88d3a8f50f SHA1 5933698f3876dbcc28784c4713a2521e8c828058 SHA256 b7253719af9cefc7d8b4016981d719fc3ee70aa1818aab43d81021c1e07d1eff
|
||||
EBUILD novell-novlc1-1.3.6.1_p2.ebuild 5476 RMD160 4853e1599ecd706573030380dc0dff73051af7ee SHA1 7717324cc1ebe045c002366bd2ce736304b4007a SHA256 0f174678fe5a9625e4d48e9bf0916c6e122e363233e7ddcc366cb207df7b7e1e
|
||||
MISC ChangeLog 2878 RMD160 c96b2d7a920c7b7725bba44a55dcdafe5918ffcb SHA1 70ffb060772cfc30c21e5d9a2a160650d14320a8 SHA256 d64157433f4895a2fdce7d1a1e6880307ace1e212e35aeac4a93d7af45587b1a
|
||||
MISC ChangeLog 2992 RMD160 ef0be37561db7cb5b75f1eb514ff24a4b34daaeb SHA1 e98ea03a3cb1ffe85fcc3d0e257e4cc8171fb86e SHA256 3aea7b517c589c4d4c5fbf3d6863b2c54e4ace77b1bc3c6d3c14f971f930b4ca
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
|
@ -0,0 +1,138 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
NOVELL_BUILDID="-a_gSRIUOK0~"
|
||||
NOVELL_FILE32="c1_136h-linux.tar.gz"
|
||||
NOVELL_BUILDID_1="F_dlFjRMNUk~"
|
||||
NOVELL_FILE32_1="patchfiles/c1_1.3.6h_patch2.zip"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
inherit novell eutils rpm java-utils-2 multilib versionator
|
||||
|
||||
MY_PVV=$(replace_version_separator 3 '-')
|
||||
MY_PV="${MY_PVV/_p*/}"
|
||||
|
||||
DESCRIPTION="Novell ConsoleOne"
|
||||
HOMEPAGE="http://www.novell.com"
|
||||
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32}
|
||||
http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID_1}/${NOVELL_FILE32_1}"
|
||||
|
||||
LICENSE="Novell-eDir-87"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="linguas_de linguas_es linguas_fr linguas_it linguas_ja linguas_pt linguas_ru linguas_zh_CN linguas_zh_TW"
|
||||
|
||||
DEPEND="net-nds/novell-ndsbase:8.8
|
||||
net-nds/novell-novlsas:8.8
|
||||
app-crypt/novell-npkiapi:8.8"
|
||||
|
||||
RDEPEND="virtual/libc
|
||||
x86? ( >=virtual/jdk-1.4 )
|
||||
amd64? ( >=virtual/jdk-1.4
|
||||
=app-emulation/emul-linux-x86-java-1.6* )
|
||||
>=dev-java/java-config-2
|
||||
|| ( net-nds/novell-ndsbase:8.8[multilib] net-nds/novell-ndsbase:8.7 )
|
||||
|| ( net-nds/novell-ndscommon:8.8[multilib] net-nds/novell-ndscommon:8.7 )
|
||||
|| ( net-nds/novell-nldapbase:8.8[multilib] net-nds/novell-nldapbase:8.7 )
|
||||
|| ( net-nds/novell-nldapsdk:8.8[multilib] net-nds/novell-nldapsdk:8.7 )
|
||||
|| ( net-nds/novell-novlice:8.8[multilib] net-nds/novell-novlice:8.7 )
|
||||
|| ( net-nds/novell-novllmgnt:8.8[multilib] net-nds/novell-novllmgnt:8.7 )
|
||||
|| ( net-nds/novell-novlsas:8.8[multilib] net-nds/novell-novlsas:8.7 )
|
||||
|| ( net-nds/novell-novlxis:8.8[multilib] net-nds/novell-novlxis:8.7 )
|
||||
|| ( app-crypt/novell-npkit:8.8[multilib] app-crypt/novell-npkit:8.7 )
|
||||
|| ( app-crypt/novell-npkiapi:8.8[multilib] app-crypt/novell-npkiapi:8.7 )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
|
||||
cd ${PN}-${MY_PV}
|
||||
rpm_unpack ../work/Linux/NOVLc1-${MY_PV}.i386.rpm
|
||||
use linguas_de && rpm_unpack ../work/Linux/NOVLc1_de-${MY_PV}.i386.rpm
|
||||
use linguas_es && rpm_unpack ../work/Linux/NOVLc1_es-${MY_PV}.i386.rpm
|
||||
use linguas_fr && rpm_unpack ../work/Linux/NOVLc1_fr-${MY_PV}.i386.rpm
|
||||
use linguas_it && rpm_unpack ../work/Linux/NOVLc1_it-${MY_PV}.i386.rpm
|
||||
use linguas_ja && rpm_unpack ../work/Linux/NOVLc1_ja-${MY_PV}.i386.rpm
|
||||
use linguas_pt && rpm_unpack ../work/Linux/NOVLc1_pt-${MY_PV}.i386.rpm
|
||||
use linguas_ru && rpm_unpack ../work/Linux/NOVLc1_ru-${MY_PV}.i386.rpm
|
||||
use linguas_zh_CN && rpm_unpack ../work/Linux/NOVLc1_zh_CN-${MY_PV}.i386.rpm
|
||||
use linguas_zh_TW && rpm_unpack ../work/Linux/NOVLc1_zh_TW-${MY_PV}.i386.rpm
|
||||
if has_version ">=net-nds/novell-ndsbase-8.8"; then
|
||||
java-pkg_jar-from novell-ndsbase-8.8 jclient.jar
|
||||
java-pkg_jar-from novell-npkiapi-8.8 npki.jar
|
||||
java-pkg_jar-from novell-novlsas-8.8 nssl.jar
|
||||
java-pkg_jar-from novell-novlsas-8.8 jssl.jar
|
||||
else
|
||||
java-pkg_jar-from novell-ndsbase-8.7 jclient.jar
|
||||
java-pkg_jar-from novell-npkiapi-8.7 npki.jar
|
||||
java-pkg_jar-from novell-novlsas-8.7 nssl.jar
|
||||
java-pkg_jar-from novell-novlsas-8.7 jssl.jar
|
||||
fi
|
||||
java-pkg_addcp /usr/ConsoleOne/ConsoleOneExt
|
||||
java-pkg_addcp /usr/ConsoleOne/help
|
||||
java-pkg_addcp /usr/ConsoleOne/lib
|
||||
java-pkg_addcp /usr/ConsoleOne/bin
|
||||
java-pkg_addcp /usr/lib
|
||||
java-pkg_addcp /opt/novell/eDirectory/lib
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
has_multilib_profile && ABI="x86"
|
||||
|
||||
java-pkg_jarinto /usr/ConsoleOne
|
||||
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/*.jar
|
||||
java-pkg_jarinto /usr/ConsoleOne/ConsoleOneExt
|
||||
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/ConsoleOneExt/*.jar
|
||||
java-pkg_jarinto /usr/ConsoleOne/lib/core
|
||||
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/lib/core/*.jar
|
||||
java-pkg_jarinto /usr/ConsoleOne/lib/mach
|
||||
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/lib/mach/*.jar
|
||||
java-pkg_jarinto /usr/ConsoleOne/resources/core
|
||||
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/resources/core/*.jar
|
||||
java-pkg_jarinto /usr/ConsoleOne/resources/mach
|
||||
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/resources/mach/*.jar
|
||||
java-pkg_jarinto /usr/ConsoleOne/resources/widgets
|
||||
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/resources/widgets/*.jar
|
||||
java-pkg_jarinto /usr/ConsoleOne/snapins/core
|
||||
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/core/*.jar
|
||||
java-pkg_jarinto /usr/ConsoleOne/snapins/mach
|
||||
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/mach/*.jar
|
||||
java-pkg_dojar "${WORKDIR}"/ConsoleOne_1.3.6h_Patch2/Unix/snapins/mach/*.jar
|
||||
into /usr/ConsoleOne
|
||||
#dobin "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/bin/*
|
||||
#dosed 's%$APPHOME/jre%`java-config --jre-home`%' /usr/ConsoleOne/bin/ConsoleOne
|
||||
insinto /usr/ConsoleOne/help
|
||||
doins -r "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/help/*
|
||||
java-pkg_dolauncher ConsoleOne --java_args "-noverify -Dapplication.home=\"/usr/ConsoleOne\" " \
|
||||
--main com.novell.application.console.shell.Console \
|
||||
--pwd /usr/ConsoleOne/bin \
|
||||
-pre "${FILESDIR}"/ConsoleOne-136-pre
|
||||
|
||||
# insinto /usr/ConsoleOne/bin
|
||||
doicon "${WORKDIR}"/Linux/ConsoleOneIcon.png
|
||||
|
||||
insinto /usr/share/applications
|
||||
doins "${WORKDIR}"/Linux/consoleone.desktop
|
||||
dosed 's%/usr/ConsoleOne/bin/ConsoleOneIcon.png%ConsoleOneIcon.png%' /usr/share/applications/consoleone.desktop
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "This files require you to register at ${HOMEPAGE} (free account)"
|
||||
einfo "Please download following file:"
|
||||
einfo " - ${NOVELL_FILE32}"
|
||||
einfo " - ${NOVELL_FILE32_1}"
|
||||
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID}"
|
||||
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID_1}"
|
||||
einfo "and place them 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