From 835891aa7520b5e64afbf262ab07e77fac66f119 Mon Sep 17 00:00:00 2001 From: geos_one Date: Wed, 29 Aug 2007 20:16:42 +0000 Subject: [PATCH] net-mail/novell-groupwise-gwclient: install package as nonroot --- .../novell-groupwise-gwclient/ChangeLog | 3 + .../novell-groupwise-gwclient/Manifest | 15 +++- ...vell-groupwise-gwclient-7.0.2_p20070606-r3 | 3 + ...oupwise-gwclient-7.0.2_p20070606-r3.ebuild | 86 +++++++++++++++++++ 4 files changed, 103 insertions(+), 4 deletions(-) create mode 100644 trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r3 create mode 100644 trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild diff --git a/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/ChangeLog b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/ChangeLog index 4c9555f..ed3b428 100644 --- a/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/ChangeLog +++ b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 29 Aug 2007; Mario Fetka ++: + install package as nonroot + 29 Aug 2007; Mario Fetka novell-groupwise-gwclient-7.0.2_p20070606.ebuild: add space after every entry in the ebuild to geth the paladius package diff --git a/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/Manifest b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/Manifest index 330ac6b..f288792 100644 --- a/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/Manifest +++ b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/Manifest @@ -9,14 +9,18 @@ EBUILD novell-groupwise-gwclient-7.0.2_p20070524.ebuild 1718 RMD160 d7623cc949fa MD5 2f958d8ff6aa74f9ef98190dd2aa2e2d novell-groupwise-gwclient-7.0.2_p20070524.ebuild 1718 RMD160 d7623cc949fa2481ad6b9e074f3676c1706d122b novell-groupwise-gwclient-7.0.2_p20070524.ebuild 1718 SHA256 38a0b408d3fd5f35575c5baaa32dfcfba6a76dcf42504e1dc14f451c2dac5190 novell-groupwise-gwclient-7.0.2_p20070524.ebuild 1718 +EBUILD novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild 3702 RMD160 20dcd4053a259e01a53602ced8c8b67d93cef5be SHA1 b84265d2b23b8260d8916d6b8e8b3a44768463e2 SHA256 af43a88466a7cf3a01317c66c11e4ab91a886a389f55de43a36525005d7df03c +MD5 e033e6efe24adae67fe916432b303512 novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild 3702 +RMD160 20dcd4053a259e01a53602ced8c8b67d93cef5be novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild 3702 +SHA256 af43a88466a7cf3a01317c66c11e4ab91a886a389f55de43a36525005d7df03c novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild 3702 EBUILD novell-groupwise-gwclient-7.0.2_p20070606.ebuild 1719 RMD160 bd30fc3b947d99c5d6201316d1afc3ae8afc27a5 SHA1 ab5f1726283606550a2c42184d2a0bc8126aa327 SHA256 220f539ca1f2556842cecee1231c1b93895e39a42a59c88ca80e183f341b9482 MD5 92b6d741052f5f45808e36daab3107cb novell-groupwise-gwclient-7.0.2_p20070606.ebuild 1719 RMD160 bd30fc3b947d99c5d6201316d1afc3ae8afc27a5 novell-groupwise-gwclient-7.0.2_p20070606.ebuild 1719 SHA256 220f539ca1f2556842cecee1231c1b93895e39a42a59c88ca80e183f341b9482 novell-groupwise-gwclient-7.0.2_p20070606.ebuild 1719 -MISC ChangeLog 2208 RMD160 f012175a8dc7c3606c0993a846d8c855fcc88d5a SHA1 f67805ff2a809d24474001638d8c7ac903873abd SHA256 93ca8a32e8e197e132f780a3df7e4ed9e0d6c473dcd14b9ada3e4091c5fe5d5b -MD5 4a6810495623ab90fa01ff41bfd76211 ChangeLog 2208 -RMD160 f012175a8dc7c3606c0993a846d8c855fcc88d5a ChangeLog 2208 -SHA256 93ca8a32e8e197e132f780a3df7e4ed9e0d6c473dcd14b9ada3e4091c5fe5d5b ChangeLog 2208 +MISC ChangeLog 2290 RMD160 864ea9a3b13dcdd8bf30d02a42ef62e070638fd4 SHA1 a759759ef65df0b4ed611d4589fe4b1400b6ce66 SHA256 7fc1bd01581aa32a750219c462f3ef9bb33b051783540c974e867506f3be14b0 +MD5 8f36aeefca7b5fc80a612c88013b5752 ChangeLog 2290 +RMD160 864ea9a3b13dcdd8bf30d02a42ef62e070638fd4 ChangeLog 2290 +SHA256 7fc1bd01581aa32a750219c462f3ef9bb33b051783540c974e867506f3be14b0 ChangeLog 2290 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 @@ -30,3 +34,6 @@ SHA256 d38bdb9b0f2babcca58fd21ee44b15fcc9344d5a362d3b5e54b0a75885b2816a files/di MD5 763e6c662c179e602fefa3064096d5b4 files/digest-novell-groupwise-gwclient-7.0.2_p20070606 265 RMD160 d5df0f3ebb6c5326c8ca158f668a3aac043dff76 files/digest-novell-groupwise-gwclient-7.0.2_p20070606 265 SHA256 9d916e6b25b3ea464a4611c16ebe4945f0dbef9fcd5289e16736c261278d1f36 files/digest-novell-groupwise-gwclient-7.0.2_p20070606 265 +MD5 763e6c662c179e602fefa3064096d5b4 files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r3 265 +RMD160 d5df0f3ebb6c5326c8ca158f668a3aac043dff76 files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r3 265 +SHA256 9d916e6b25b3ea464a4611c16ebe4945f0dbef9fcd5289e16736c261278d1f36 files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r3 265 diff --git a/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r3 b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r3 new file mode 100644 index 0000000..dd65647 --- /dev/null +++ b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r3 @@ -0,0 +1,3 @@ +MD5 cbdd32e300e130d6f9969aaa5b0aecfa gw702HP1aclnxmulti.tar.gz 136232170 +RMD160 4d9665e7507b628a919d8a779490dff5e2d2cc10 gw702HP1aclnxmulti.tar.gz 136232170 +SHA256 4fb44d16a5dbbe47037fc46a8124a35175324cebb7f1c6c6cc11de375d15b5c9 gw702HP1aclnxmulti.tar.gz 136232170 diff --git a/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild new file mode 100644 index 0000000..7f40ed4 --- /dev/null +++ b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils rpm + +MY_P="${P/_p/-}" +DESCRIPTION="Novell Groupwise 7 Client for Linux" +HOMEPAGE="http://www.novell.com/en/gropwise/" +SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/goosJME9mYI~/patchfiles/gw702HP1aclnxmulti.tar.gz" +LICENSE="Novell-GW-7" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="java novell-jre" +DEPEND="!net-misc/novell-groupwise-gwclient" +RDEPEND="sys-libs/glibc + sys-libs/libstdc++-v3 + sys-devel/gcc + system-jre? ( + || ( virtual/jdk + virtual/jre ) + amd64? ( app-emulation/emul-linux-x86-java ) + ) + amd64? ( app-emulation/emul-linux-x86-compat )" + +RESTRICT="strip mirror" + +src_unpack() { + unpack ${A} + mkdir -p ${WORKDIR}/${MY_P} + cd ${MY_P} + rpm_unpack ${WORKDIR}/${MY_P}.i386.rpm +} + +src_compile() { :; } + +src_install() { + JRE_DIR="${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/jre; + + if use novell-jre; then +# Undo Novell funny-business with packed .jar's + for i in $JRE_DIR/lib/*.pack; do + i_b=`echo $i | sed 's/\.pack$//'`; + einfo "Unpacking `basename $i` -> `basename $i_b.jar`"; + $JRE_DIR/bin/unpack200 $i $i_b.jar || die "Unpack failed"; + done; + else + rm -rf "${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/jre + + sed -i 's%/opt/novell/groupwise/client/jre/lib/i386%`java-config --jre-home`/jre/lib/i386/client:`java-config --jre-home`/jre/lib/i386/server:`java-config --jre-home`/jre/lib/i386%' "${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/bin/groupwise + fi + + insinto /usr/share/applications + doins "${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/gwclient.desktop + + exeinto /opt/novell/groupwise/client/lib + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/gwclhlp*.jar + insinto /opt/novell/groupwise/client/lib + doins ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/gwenlx*.fil + insinto /opt/novell/groupwise/client/lib/dicts + doins ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/dicts/*.dar + exeinto /opt/novell/groupwise/client/lib + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/activation.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/azcheck.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/corecomponents-linux.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/gwapi.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/gwclient.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/iText.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/jai_codec.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/jai_core.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/jhall.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/log4j-1.2.7.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/mail.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/mlibwrapper_jai.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/webrenderer-linux.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/webrenderer.jar + into /opt/novell/groupwise/client + dolib.so ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/*.so* + dobin ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/bin/* + insinto /opt/novell/groupwise/client/lib + doins ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/*.dc + doicon ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/gwclient.png + + dodir /usr/bin + dosym /opt/novell/groupwise/client/bin/groupwise /usr/bin/groupwise +}