app-admin/novell-novlc1: change depend on java32 an amd64
This commit is contained in:
parent
a71ad7e6f6
commit
bd0a414fb4
@ -1,7 +1,13 @@
|
||||
# ChangeLog for net-nds/novell-novlc1
|
||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||
# ChangeLog for app-admin/novell-novlc1
|
||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
*novell-novlc1-1.3.6_p2-r2 (04 May 2009)
|
||||
|
||||
04 May 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
+novell-novlc1-1.3.6_p2-r2.ebuild:
|
||||
change depend on java32 an amd64
|
||||
|
||||
16 Nov 2008; Mario Fetka <mario.fetka@gmail.com> files/ConsoleOne-136-pre:
|
||||
start primenici if key not exist
|
||||
|
||||
|
@ -2,7 +2,7 @@ AUX ConsoleOne-136-pre 568 RMD160 d1fe940d9acd0cb2ce74cf56c1c34495eeb8c60b SHA1
|
||||
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_p2-r1.ebuild 5357 RMD160 48b7c407b35f2ad62d0c8b668c5bfded2d95dd04 SHA1 012e97f5d633eab5c2e9deeb41a01d2042d882e1 SHA256 128e7a449098a6c89bbd1a19a7e0f9a13771a5c281ff8ecd66797c8a0a70197f
|
||||
EBUILD novell-novlc1-1.3.6_p2-r2.ebuild 5470 RMD160 c55660626ca6ccb55225ac695c72007be899d393 SHA1 e83f5e2babbf48c91aef8689a678ebfed29b39d9 SHA256 238be1ff3919b9f08d1ecd946b7a46aac8e36949019444b566c9715ecec5d0cf
|
||||
EBUILD novell-novlc1-1.3.6_p2-r2.ebuild 5450 RMD160 cde658034b8fac8d0573b9f05fd5b3f31695976e SHA1 cb3ebeed9a0c11ddfdb05c44f08530a160c5e9ec SHA256 56fbd29a2617e56063ceaa3dd0f0273c4c3b0002123426d8dc28eda8a8103c2a
|
||||
EBUILD novell-novlc1-1.3.6_p2.ebuild 5443 RMD160 2bfea03b9092590e028f4888841b3a96e72222c2 SHA1 d277cf86470f62446e826136148ca4e1efd277fe SHA256 0793f18cab69be1e8426c4f91cccc10e1cd63b8f7cdd45dc460d7f14b099f424
|
||||
MISC ChangeLog 2149 RMD160 002b0d67e6a616e6c750727165327333d1c2d819 SHA1 da1bbef3db34f75d9efae060aef6ce00045871e6 SHA256 6b7256055a61dd3dcbf058033cebfff5799e943314ce9e6c74859be8a3804b9e
|
||||
MISC ChangeLog 2317 RMD160 e4a3c30efcd0145202631809232107b7446c67f1 SHA1 58a27c24a3ff80fef9fc6e3cebde5c0b2a0101da SHA256 5e92967f6000b4fcd30561d5bfdfbb7d968e0fc08dbf0ae272215fd64e066cb8
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
|
@ -0,0 +1,131 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
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
|
||||
|
||||
#MY_PV="${PV/_p/-}"
|
||||
MY_PV="${PV/_p*/-1}"
|
||||
|
||||
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.7
|
||||
net-nds/novell-novlsas:8.7
|
||||
app-crypt/novell-npkiapi:8.7"
|
||||
|
||||
RDEPEND="virtual/libc
|
||||
x86? ( >=virtual/jdk-1.4 )
|
||||
amd64? ( >=virtual/jre32-1.4 )
|
||||
>=dev-java/java-config-2
|
||||
net-nds/novell-ndsbase:8.7
|
||||
net-nds/novell-ndscommon:8.7
|
||||
net-nds/novell-nldapbase:8.7
|
||||
net-nds/novell-nldapsdk:8.7
|
||||
net-nds/novell-novlice:8.7
|
||||
net-nds/novell-novllmgnt:8.7
|
||||
net-nds/novell-novlsas:8.7
|
||||
net-nds/novell-novlxis:8.7
|
||||
app-crypt/novell-npkit:8.7
|
||||
app-crypt/novell-npkiapi:8.7
|
||||
app-crypt/novell-pkiserver:8.7"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
|
||||
cd ${PN}-${MY_PV}
|
||||
rpm_unpack "${WORKDIR}"/Linux/NOVLc1-${MY_PV}.i386.rpm
|
||||
use linguas_de && rpm_unpack "${WORKDIR}"/Linux/NOVLc1_de-${MY_PV}.i386.rpm
|
||||
use linguas_es && rpm_unpack "${WORKDIR}"/Linux/NOVLc1_es-${MY_PV}.i386.rpm
|
||||
use linguas_fr && rpm_unpack "${WORKDIR}"/Linux/NOVLc1_fr-${MY_PV}.i386.rpm
|
||||
use linguas_it && rpm_unpack "${WORKDIR}"/Linux/NOVLc1_it-${MY_PV}.i386.rpm
|
||||
use linguas_ja && rpm_unpack "${WORKDIR}"/Linux/NOVLc1_ja-${MY_PV}.i386.rpm
|
||||
use linguas_pt && rpm_unpack "${WORKDIR}"/Linux/NOVLc1_pt-${MY_PV}.i386.rpm
|
||||
use linguas_ru && rpm_unpack "${WORKDIR}"/Linux/NOVLc1_ru-${MY_PV}.i386.rpm
|
||||
use linguas_zh_CN && rpm_unpack "${WORKDIR}"/Linux/NOVLc1_zh_CN-${MY_PV}.i386.rpm
|
||||
use linguas_zh_TW && rpm_unpack "${WORKDIR}"/Linux/NOVLc1_zh_TW-${MY_PV}.i386.rpm
|
||||
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
|
||||
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