app-admin/novell-novlc1: cleanup tree

This commit is contained in:
geos_one 2009-12-17 17:30:39 +00:00
parent b723f84748
commit d3485f7df1
4 changed files with 14 additions and 270 deletions

View File

@ -1,8 +1,6 @@
AUX ConsoleOne-136-pre 707 RMD160 70fa6af56b14851960085ff7d1c744c72a1a0e70 SHA1 13d6bc998cef33203d29adcbff49d5bb6cf1988a SHA256 4c38b5627282364022d252fa346272746e6b989d851f0b323be3c0990a81aa00
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 5490 RMD160 8454c81c3ec246c74a1915d0296c4265931deed7 SHA1 95aea027af872ae74885164f30be1312c79443ad SHA256 872cc3b9c291ea275e186b44f2e366fdd4cd81d5398b8c95135a001a23d78f70
EBUILD novell-novlc1-1.3.6_p2.ebuild 5443 RMD160 2bfea03b9092590e028f4888841b3a96e72222c2 SHA1 d277cf86470f62446e826136148ca4e1efd277fe SHA256 0793f18cab69be1e8426c4f91cccc10e1cd63b8f7cdd45dc460d7f14b099f424
EBUILD novell-novlc1-1.3.6.1_p2.ebuild 5476 RMD160 4853e1599ecd706573030380dc0dff73051af7ee SHA1 7717324cc1ebe045c002366bd2ce736304b4007a SHA256 0f174678fe5a9625e4d48e9bf0916c6e122e363233e7ddcc366cb207df7b7e1e
MISC ChangeLog 2771 RMD160 7ec2bb069f921c30a32c8f6ea78163093e1c2b44 SHA1 a2cc9d7b6b03a0f77a37839345ced0d5b67f66ed SHA256 3b62637baea84f6dce91549131f8e0adaebe384cb5d11326d062a46271b4e3ea
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -10,10 +10,10 @@ 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
inherit novell eutils rpm java-utils-2 multilib versionator
#MY_PV="${PV/_p/-}"
MY_PV="${PV/_p*/-1}"
MY_PVV=$(replace_version_separator 3 '-')
MY_PV="${MY_PVV/_p*/}"
DESCRIPTION="Novell ConsoleOne"
HOMEPAGE="http://www.novell.com"
@ -50,16 +50,16 @@ 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
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

View File

@ -1,128 +0,0 @@
# Copyright 1999-2008 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
#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
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
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() {
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

@ -1,126 +0,0 @@
# 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"
}