+novell-groupwise-gwclient-7.0.2_p20070606-r2.ebuild: Testing ebuild. The goal

is to have amd64 integrated as much as possible.  Am starting from old (no
java-utils) style just to get a good baseline.  I will then start adding the
java-utils code back in bit by bit, isolating the cases that break amd64.
This commit is contained in:
mike 2007-07-31 16:48:39 +00:00
parent fd353c170f
commit fdcefde695
4 changed files with 87 additions and 4 deletions

View File

@ -2,6 +2,15 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
31 Jul 2007; Michael Dwyer <mdwyer@tamu.edu>
+novell-groupwise-gwclient-7.0.2_p20070606-r2.ebuild: Testing
ebuild. The goal is to have amd64 integrated as much as possible.
Am starting from old (no java-utils) style just to get a good
baseline. I will then start adding the java-utils code back in
bit by bit, isolating the cases that break amd64.
*novell-groupwise-gwclient-7.0.2_p20070606 (23 Jul 2007)
23 Jul 2007; Mario Fetka <mario-fetka@gmx.at>
+novell-groupwise-gwclient-7.0.2_p20070524-r1.ebuild,
+novell-groupwise-gwclient-7.0.2_p20070606-r1.ebuild:

View File

@ -13,14 +13,22 @@ EBUILD novell-groupwise-gwclient-7.0.2_p20070606-r1.ebuild 4433 RMD160 11295e546
MD5 32a984de9ac0217e2ef501717a7eaea4 novell-groupwise-gwclient-7.0.2_p20070606-r1.ebuild 4433
RMD160 11295e546a1ea5184cc3e19927a895ae14db0d50 novell-groupwise-gwclient-7.0.2_p20070606-r1.ebuild 4433
SHA256 006c0baa68c633c19598db5afadb879558185480bb5fbca6c3fa524204fd8820 novell-groupwise-gwclient-7.0.2_p20070606-r1.ebuild 4433
MISC ChangeLog 1932 RMD160 9cc5319fa0d98c5c9eb98adb9f30eb107b0259c1 SHA1 49bee87922c1327840bc6186d92a1b69d90effbe SHA256 1a5938a517d70bfa0c153c67eaec0f6bdfa38c11439e9698ad62c79f2c03f1b0
MD5 bb68cd18698b83c2d6900c2c4a9cc751 ChangeLog 1932
RMD160 9cc5319fa0d98c5c9eb98adb9f30eb107b0259c1 ChangeLog 1932
SHA256 1a5938a517d70bfa0c153c67eaec0f6bdfa38c11439e9698ad62c79f2c03f1b0 ChangeLog 1932
EBUILD novell-groupwise-gwclient-7.0.2_p20070606-r2.ebuild 1828 RMD160 613e39bb54bad039cf1a304b1e3910f00be75a01 SHA1 bda1f3b49c610851557595ddc15d7113f7cbcd90 SHA256 a5edfae814f4df8392ab415d890b2a2fedaac5ae91d78fb2535b3562dfd4eaf8
MD5 a3927624bae3eea163000e4c1b2553ff novell-groupwise-gwclient-7.0.2_p20070606-r2.ebuild 1828
RMD160 613e39bb54bad039cf1a304b1e3910f00be75a01 novell-groupwise-gwclient-7.0.2_p20070606-r2.ebuild 1828
SHA256 a5edfae814f4df8392ab415d890b2a2fedaac5ae91d78fb2535b3562dfd4eaf8 novell-groupwise-gwclient-7.0.2_p20070606-r2.ebuild 1828
MISC ChangeLog 2354 RMD160 b12c0ae976a261baafa1fe9204d3b195d93fdfa9 SHA1 74c45bebb1283b9787e9cec79199361ac3bb83ec SHA256 d186e6c38112fe9b634c35c4a843a9204df81397f98e6b8a665bad5143e4853e
MD5 27c3ae853b94b9757dd7094c283ae43c ChangeLog 2354
RMD160 b12c0ae976a261baafa1fe9204d3b195d93fdfa9 ChangeLog 2354
SHA256 d186e6c38112fe9b634c35c4a843a9204df81397f98e6b8a665bad5143e4853e ChangeLog 2354
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
MISC novell-groupwise-gwclient-7.0.2_p20070606-r2.ebuild~ 1718 RMD160 ec7267a0bf3d096b1dc0777d392cd18e322d70a2 SHA1 b0221b4dbefa3b6ce7694ea65be31b03d8d30878 SHA256 d8c7d3333f7eaf4e6e2d2be1c0540ae58456b8f0fefca05d1e6052dd132227b8
MD5 c1d65cae3be5908f395174c056d805f7 novell-groupwise-gwclient-7.0.2_p20070606-r2.ebuild~ 1718
RMD160 ec7267a0bf3d096b1dc0777d392cd18e322d70a2 novell-groupwise-gwclient-7.0.2_p20070606-r2.ebuild~ 1718
SHA256 d8c7d3333f7eaf4e6e2d2be1c0540ae58456b8f0fefca05d1e6052dd132227b8 novell-groupwise-gwclient-7.0.2_p20070606-r2.ebuild~ 1718
MD5 72d0995967de4cd991e0a7f0a016996b files/digest-novell-groupwise-gwclient-7.0.2_p20070228 250
RMD160 6c1d623fa9ce0618d59ec9a8487c6a4b996b7a8f files/digest-novell-groupwise-gwclient-7.0.2_p20070228 250
SHA256 fe30848fa2b84323c88ffeb324ba24a41451e2cd054c1e07fc11c33d6cecefef files/digest-novell-groupwise-gwclient-7.0.2_p20070228 250
@ -30,3 +38,6 @@ SHA256 d38bdb9b0f2babcca58fd21ee44b15fcc9344d5a362d3b5e54b0a75885b2816a files/di
MD5 763e6c662c179e602fefa3064096d5b4 files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r1 265
RMD160 d5df0f3ebb6c5326c8ca158f668a3aac043dff76 files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r1 265
SHA256 9d916e6b25b3ea464a4611c16ebe4945f0dbef9fcd5289e16736c261278d1f36 files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r1 265
MD5 763e6c662c179e602fefa3064096d5b4 files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r2 265
RMD160 d5df0f3ebb6c5326c8ca158f668a3aac043dff76 files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r2 265
SHA256 9d916e6b25b3ea464a4611c16ebe4945f0dbef9fcd5289e16736c261278d1f36 files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r2 265

View File

@ -0,0 +1,3 @@
MD5 cbdd32e300e130d6f9969aaa5b0aecfa gw702HP1aclnxmulti.tar.gz 136232170
RMD160 4d9665e7507b628a919d8a779490dff5e2d2cc10 gw702HP1aclnxmulti.tar.gz 136232170
SHA256 4fb44d16a5dbbe47037fc46a8124a35175324cebb7f1c6c6cc11de375d15b5c9 gw702HP1aclnxmulti.tar.gz 136232170

View File

@ -0,0 +1,60 @@
# 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="nostrip nomirror"
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
mv "${WORKDIR}"/${MY_P}/opt "${D}"/ || die "mv opt"
dodir /usr/bin
dosym /opt/novell/groupwise/client/bin/groupwise /usr/bin/groupwise
}