app-admin/novell-novlc1: cleanup
This commit is contained in:
parent
3f13dc8ba1
commit
ef115b961d
@ -2,6 +2,10 @@
|
|||||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
|
07 Jul 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||||
|
-novell-novlc1-1.3.6.1_p2.ebuild:
|
||||||
|
cleanup
|
||||||
|
|
||||||
08 May 2010; Mario Fetka <mario.fetka@gmail.com>
|
08 May 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||||
novell-novlc1-1.3.6.1_p2-r1.ebuild:
|
novell-novlc1-1.3.6.1_p2-r1.ebuild:
|
||||||
correct help support
|
correct help support
|
||||||
|
@ -2,6 +2,5 @@ AUX ConsoleOne-136-pre 706 RMD160 6b7aa23223d339e6d7064a2d7179cbfaa0a399bd SHA1
|
|||||||
DIST c1_1.3.6h_patch2.zip 797242 RMD160 796a2fcee8a3e0581b2876720110e0e8642e10fa SHA1 836b03278eac210445bbffe4ec55ea6234be8d80 SHA256 163bac905856402cb7ae3dfea73374fc9d0a4f501ba5f4e99e972f7285ba007b
|
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
|
DIST c1_136h-linux.tar.gz 41771356 RMD160 0c2b8ac9309962492936a5c988ec519103bad0f2 SHA1 de6525532a5b89b0872c129a54bb82e8f2e08aec SHA256 481c20119c0d84659a25a5f79e32740b27c7ffa69d4ac1ce810aeebbae211a2b
|
||||||
EBUILD novell-novlc1-1.3.6.1_p2-r1.ebuild 7382 RMD160 06a59e32aa56b06533cc35aca0030ad6338bb981 SHA1 b1e9fd76ed44abb9b4f4358b9aa4140621b64832 SHA256 cb9fe1c368e1b0cf97bdb7a98dd8612f80a82a2cb3b561efea5fa273876af9f0
|
EBUILD novell-novlc1-1.3.6.1_p2-r1.ebuild 7382 RMD160 06a59e32aa56b06533cc35aca0030ad6338bb981 SHA1 b1e9fd76ed44abb9b4f4358b9aa4140621b64832 SHA256 cb9fe1c368e1b0cf97bdb7a98dd8612f80a82a2cb3b561efea5fa273876af9f0
|
||||||
EBUILD novell-novlc1-1.3.6.1_p2.ebuild 5476 RMD160 4853e1599ecd706573030380dc0dff73051af7ee SHA1 7717324cc1ebe045c002366bd2ce736304b4007a SHA256 0f174678fe5a9625e4d48e9bf0916c6e122e363233e7ddcc366cb207df7b7e1e
|
MISC ChangeLog 3428 RMD160 e3b9e2c9f891ab9261ed0bf98bc9e4b372af3adc SHA1 3b24043a4be40fc0c57e5c25c8e8bada81e54177 SHA256 33ef4e0ed31c07701ce86d94cec1c4529a2a12e82b40ba368a1815e20cd2e49d
|
||||||
MISC ChangeLog 3330 RMD160 7b448c8a946ce00700f106d546c4f2ff7ccdb9dd SHA1 6bdc6998f9c5620d2e273dddcc1e7fdcbd5951a5 SHA256 257f5183f5c6ec7d7ef76c8701450de42daa293bcd119b871396c863aba52d77
|
|
||||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||||
|
@ -1,132 +0,0 @@
|
|||||||
# 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 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.7
|
|
||||||
net-nds/novell-novlsas:8.7
|
|
||||||
app-crypt/novell-npkiapi:8.7"
|
|
||||||
|
|
||||||
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.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 ../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
|
|
||||||
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