app-admin/novell-novlc1: Bump

This commit is contained in:
geos_one 2008-11-03 16:09:44 +00:00
parent ac283e40e9
commit 277aad3e94
4 changed files with 149 additions and 16 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
novell-novlc1-1.3.6_p2.ebuild, +novell-novlc1-1.3.6_p2-r1.ebuild:
Bump
26 Aug 2008; Mario Fetka <mario.fetka@gmail.com> ChangeLog:
Redigest

View File

@ -1,6 +1,7 @@
AUX ConsoleOne-136-pre 482 RMD160 946c0a081c972ae61150e5b395b714e474901e1f SHA1 f41202a47f0e6924065fc0d2d8bf932c09c103ba SHA256 199f8759e37616d546ee4339a4139762a8b2fbf6d519e4972e1463d767222e62
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.ebuild 5443 RMD160 2bfea03b9092590e028f4888841b3a96e72222c2 SHA1 d277cf86470f62446e826136148ca4e1efd277fe SHA256 0793f18cab69be1e8426c4f91cccc10e1cd63b8f7cdd45dc460d7f14b099f424
MISC ChangeLog 1675 RMD160 3487acd27984366591469d5c868920911bacd5e5 SHA1 9ec5f50aad5196b8a3cde9e90b0bd51c2b70d150 SHA256 e9b6058fcc981a8efeb4790f99ee7baa871e179af056f0b5a956d58b681d674c
EBUILD novell-novlc1-1.3.6_p2-r1.ebuild 5443 RMD160 2bfea03b9092590e028f4888841b3a96e72222c2 SHA1 d277cf86470f62446e826136148ca4e1efd277fe SHA256 0793f18cab69be1e8426c4f91cccc10e1cd63b8f7cdd45dc460d7f14b099f424
EBUILD novell-novlc1-1.3.6_p2.ebuild 5341 RMD160 c280f5151f480e72ef7efa803cc751b605779a06 SHA1 aa38c680ed0a505bbf41dca880b54f017a7dd2c2 SHA256 31254777a1e050f7f2b67d0801c00f0e49c982262dcf123ec18351b7ee7d9aac
MISC ChangeLog 1802 RMD160 50b9baf49d80d0485e15b1be9e861177586a5fec SHA1 d189102e01cff5276fc5e58eccd33da1c7723127 SHA256 4489a4f759d085158abdac21199e57fe2db7ca9fff1cb1e66d49ed2eb71abea9
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,126 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
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
#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"
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.3.7_p38
>=net-nds/novell-novlsas-8.7.3_p34
>=app-crypt/novell-npkiapi-2.7.0_p6"
RDEPEND="virtual/libc
>=virtual/jdk-1.4
>=dev-java/java-config-2
>=net-nds/novell-ndsbase-8.7.3.7_p38
>=net-nds/novell-ndscommon-8.7.3_p34
>=net-nds/novell-nldapbase-8.7.3_p34
>=net-nds/novell-nldapsdk-8.7.3_p34
>=net-nds/novell-novlice-8.7.3_p34
>=net-nds/novell-novllmgnt-8.7.3_p34
>=net-nds/novell-novlsas-8.7.3_p34
>=net-nds/novell-novlxis-8.7.3_p34
>=app-crypt/novell-npkit-2.7.0_p6
>=app-crypt/novell-npkiapi-2.7.0_p6
>=app-crypt/novell-pkiserver-2.7.0_p6"
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 jclient.jar
java-pkg_jar-from novell-npkiapi npki.jar
java-pkg_jar-from novell-novlsas nssl.jar
java-pkg_jar-from novell-novlsas 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() {
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"
}

View File

@ -2,6 +2,8 @@
# 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~"
@ -23,24 +25,24 @@ SLOT="0"
KEYWORDS="~x86"
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.3.7_p38
>=net-nds/novell-novlsas-8.7.3_p34
>=app-crypt/novell-npkiapi-2.7.0_p6"
DEPEND="net-nds/novell-ndsbase:8.7
net-nds/novell-novlsas:8.7
app-crypt/novell-npkiapi:8.7"
RDEPEND="virtual/libc
>=virtual/jdk-1.4
>=dev-java/java-config-2
>=net-nds/novell-ndsbase-8.7.3.7_p38
>=net-nds/novell-ndscommon-8.7.3_p34
>=net-nds/novell-nldapbase-8.7.3_p34
>=net-nds/novell-nldapsdk-8.7.3_p34
>=net-nds/novell-novlice-8.7.3_p34
>=net-nds/novell-novllmgnt-8.7.3_p34
>=net-nds/novell-novlsas-8.7.3_p34
>=net-nds/novell-novlxis-8.7.3_p34
>=app-crypt/novell-npkit-2.7.0_p6
>=app-crypt/novell-npkiapi-2.7.0_p6
>=app-crypt/novell-pkiserver-2.7.0_p6"
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}