Redigest
This commit is contained in:
159
net-mail/netiq-groupwise-client/ChangeLog
Normal file
159
net-mail/netiq-groupwise-client/ChangeLog
Normal file
@@ -0,0 +1,159 @@
|
||||
# ChangeLog for net-mail/novell-groupwise-client
|
||||
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
*novell-groupwise-client-8.0.2.96933 (26 Oct 2011)
|
||||
|
||||
26 Oct 2011; Mario Fetka <mario.fetka@gmail.com>
|
||||
+novell-groupwise-client-8.0.2.96933.ebuild:
|
||||
bump
|
||||
|
||||
*novell-groupwise-client-8.0.2.91941 (10 Nov 2010)
|
||||
|
||||
10 Nov 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
novell-groupwise-client-6.5.7.0522.ebuild,
|
||||
novell-groupwise-client-7.0.3.20090911.ebuild,
|
||||
novell-groupwise-client-7.0.4.20100313.ebuild,
|
||||
novell-groupwise-client-7.0.4.20100714.ebuild,
|
||||
novell-groupwise-client-8.0.2.90840.ebuild,
|
||||
+novell-groupwise-client-8.0.2.91941.ebuild, metadata.xml:
|
||||
bump to 8.0 sp2 hp1
|
||||
|
||||
24 Aug 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
+novell-groupwise-client-7.0.4.20100714.ebuild,
|
||||
-novell-groupwise-client-8.0.2.90388.ebuild,
|
||||
+novell-groupwise-client-8.0.2.90840.ebuild:
|
||||
Bump
|
||||
|
||||
22 Aug 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
+novell-groupwise-client-7.0.4.20100313.ebuild:
|
||||
Bump gw7
|
||||
|
||||
07 Jul 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
-novell-groupwise-gwclient-6.5.7_p0522.ebuild,
|
||||
+novell-groupwise-client-6.5.7.0522.ebuild,
|
||||
-novell-groupwise-gwclient-7.0.3_p20080609.ebuild,
|
||||
-novell-groupwise-gwclient-7.0.3_p20090121.ebuild,
|
||||
-novell-groupwise-gwclient-7.0.3_p20090911.ebuild,
|
||||
+novell-groupwise-client-7.0.3.20090911.ebuild,
|
||||
+novell-groupwise-client-8.0.2.90388.ebuild:
|
||||
finisch move to new name
|
||||
|
||||
09 Nov 2009; Michael Dwyer <mdwyer@tamu.edu>
|
||||
+novell-groupwise-gwclient-7.0.3_p20090911.ebuild:
|
||||
Bump ebuild as only 7.0.3HP3 is available for download now.
|
||||
Corrected QA warning by change path passed to rpm_unpack to
|
||||
relative path.
|
||||
|
||||
23 Feb 2009; Mario Fetka <mario.fetka@gmail.com> +gw.patch,
|
||||
+novell-groupwise-gwclient-7.0.3_p20090121.ebuild:
|
||||
Bump Ebuild and apply patch from
|
||||
http://forums.gentoo.org/viewtopic-p-5504246.html#5504246
|
||||
|
||||
20 Dec 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||
novell-groupwise-gwclient-7.0.3_p20080609.ebuild:
|
||||
correct deep
|
||||
|
||||
20 Dec 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||
novell-groupwise-gwclient-7.0.3_p20080609.ebuild:
|
||||
Bump
|
||||
|
||||
26 Aug 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||
novell-groupwise-gwclient-6.5.7_p0522.ebuild,
|
||||
-novell-groupwise-gwclient-7.0.2_p20070524.ebuild,
|
||||
-novell-groupwise-gwclient-7.0.2_p20070606.ebuild,
|
||||
-novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild,
|
||||
-novell-groupwise-gwclient-7.0.2_p20070606-r4.ebuild,
|
||||
-novell-groupwise-gwclient-7.0.3_p20080309.ebuild,
|
||||
+novell-groupwise-gwclient-7.0.3_p20080609.ebuild:
|
||||
Repoman cleanup
|
||||
|
||||
29 Mar 2008; Mario Fetka <mario-fetka@gmx.at>
|
||||
+novell-groupwise-gwclient-7.0.3_p20080309.ebuild:
|
||||
Bump
|
||||
|
||||
03 Nov 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
novell-groupwise-gwclient-7.0.2_p20070606.ebuild:
|
||||
add new download system
|
||||
|
||||
19 Sep 2007; Michael Dwyer <mdwyer@tamu.edu>
|
||||
+novell-groupwise-gwclient-7.0.2_p20070606-r4.ebuild:
|
||||
The novell-jre flag was not actually triggering the installation of
|
||||
the Novell JRE, fixed. Also made the Novell JRE mandatory for amd64
|
||||
installs for the time being as it seems to be broken, even with
|
||||
emul-linux-x86-java-1.5 installed and set to default.
|
||||
|
||||
03 Sep 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild:
|
||||
sed gwclient.desktop to correct icon path
|
||||
|
||||
30 Aug 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild:
|
||||
add missing depend (libgnome)
|
||||
|
||||
30 Aug 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild:
|
||||
correct wrong depend entry
|
||||
|
||||
29 Aug 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild:
|
||||
add missing depend for amd64
|
||||
|
||||
29 Aug 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild:
|
||||
add depend for requred mozilla browser (seamonkey) have not found a way to
|
||||
do it right in amd64 (i cant await bonsai
|
||||
|
||||
29 Aug 2007; Mario Fetka <mario-fetka@gmx.at> ++:
|
||||
install package as nonroot
|
||||
|
||||
29 Aug 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
novell-groupwise-gwclient-7.0.2_p20070606.ebuild:
|
||||
add space after every entry in the ebuild to geth the paladius package
|
||||
manager to work thx Nick C (gentoo forum)
|
||||
|
||||
23 Jul 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
+novell-groupwise-gwclient-6.5.7_p0522.ebuild:
|
||||
Add Groupwise 6.5 Client to the tree
|
||||
|
||||
09 Jun 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
-novell-groupwise-gwclient-7.0.1_p20060613-r1.ebuild,
|
||||
+novell-groupwise-gwclient-7.0.2_p20070606.ebuild:
|
||||
Update GW Client to 2.0.7 HP1a & drop old Ebuild
|
||||
|
||||
04 Jun 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
+novell-groupwise-gwclient-7.0.2_p20070524.ebuild:
|
||||
Bump Version to 7.0.2 HP1
|
||||
|
||||
04 Apr 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
-novell-groupwise-gwclient-7.0.1_p20060613.ebuild:
|
||||
Drop old buggy ebuild
|
||||
|
||||
14 Mar 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
-novell-groupwise-gwclient-7.0.1_p20061107.ebuild:
|
||||
Remove beta ebuild
|
||||
|
||||
*novell-groupwise-gwclient-7.0.1_p20060613-r1 (06 Mar 2007)
|
||||
|
||||
06 Mar 2007; Michael Dwyer <mdwyer@tamu.edu>
|
||||
+novell-groupwise-gwclient-7.0.1_p20060613-r1.ebuild : Added new ebuild for
|
||||
current stable version of the Groupwise client. This is based off of the
|
||||
existing ebuilds, however the download URL has been corrected and the JRE
|
||||
that comes with the download is used by default. The original behavior of
|
||||
removing the Novell JRE and using the system JRE is available via the
|
||||
system-jre USE flag. I personally get better performance with the Novell-
|
||||
tuned JRE, YMMV. Dependecies have been changed to reflect the new option as
|
||||
well as checking for any JRE (not just the Sun JDK). Finally, $JAVA_HOME has
|
||||
been replaced with `java-config --jre-home`.
|
||||
|
||||
17 Nov 2006; Mario Fetka <mario-fetka@gmx.at>
|
||||
+novell-groupwise-gwclient-7.0.1_p20061107.ebuild:
|
||||
Bump Client to 7.0.1 ir1
|
||||
|
||||
13 Aug 2006; Mario Fetka <mario-fetka@gmx.at>
|
||||
novell-groupwise-gwclient-7.0.1_p20060613.ebuild, +metadata.xml:
|
||||
Correct Typo
|
||||
|
||||
13 Aug 2006; Mario Fetka <mario-fetka@gmx.at> ChangeLog:
|
||||
Initial groupwise-gwclient ChangeLog
|
||||
|
||||
8
net-mail/netiq-groupwise-client/Manifest
Normal file
8
net-mail/netiq-groupwise-client/Manifest
Normal file
@@ -0,0 +1,8 @@
|
||||
DIST gw656up2clnxmulti.tar.gz 34924107 SHA256 6c242b71756908076614f07f837bdcc3260a1bc423d8f4dd164778d7b7e65cb7
|
||||
DIST gw704ftf_full_linux_multi.tar.gz 512837739 SHA256 938a514aa26491f5480a12fcd516ca228efba9775aac6e734d31c9344e73431a
|
||||
DIST gw802_hp3_full_linux_multi.tar.gz 530427012 SHA256 c1dff9358bdf75050269076a499af69df1c00b64d3ff0a7bd88684a8c1148979
|
||||
EBUILD netiq-groupwise-client-6.5.7.0522.ebuild 2668 SHA256 117619ce1a495a934805a8f63abdb0c46aa2100680c496642565ecac39228d47 SHA512 17576b58077ff0b803ff92bef988050b77176ebdeccc20b6e253934e0b1a3fdb77647532e38f1532cbca6e775d2d7bd4887dafadf777fec543d752d9355a06e2 WHIRLPOOL 2b42ef4570288ae656892a02eb589a1bff78f39d2fe679543ffde983cd9015eb02e47184fd7701c7c66700acca374fd392a1931c509dc8673dc1bf52ce6bbf70
|
||||
EBUILD netiq-groupwise-client-7.0.4.20100714.ebuild 3158 SHA256 e22afa22eef5ed973f03797e75455b30bc5b4d5c091495c7c461151c12f08e81 SHA512 887d8be90dd59bef31b8a82670de4c6e27bfd73c057a3918e4636fc2714eff871343e8c6d33029ac111f39d97dd32e41327fe393fe467a0b496de1fd0f555f3c WHIRLPOOL 50733f35f8d1461affa3c3d3bab5770766aae8f84b829a30276a43d8ca706323f05c9da81a99ec93e2f72e99279273d6a43d6d35aa19cfe567a56eede87af9ef
|
||||
EBUILD netiq-groupwise-client-8.0.2.96933.ebuild 3142 SHA256 6f7f4fede04cfce24825f3fa4385e47230e09c34c4d980d1c6a67ac5f2d126b9 SHA512 305fbd044ee1b83f036fce0f763fd03f95fecea6e5c56f30dd10bdbd5c22f5cef2aa9c3ed6849a89e76574727bc80f1484907f132399cfe6f5aba09690f5408f WHIRLPOOL e2d4cfb217af215ab94e74d8817ae18c12979f3679b3d53503b4bc8040c07697170662d5d11e8a8f050758c4a39a233267cb32fac03e101c13c9a0abfb439891
|
||||
MISC ChangeLog 6122 SHA256 d17bc2b9ae7cc4fcd76d8194ea8ae5e684bf1a4a4a577ee4bfdb055258dce209 SHA512 6e10a7b3c911fb5a75cbcf619ad7d93618b793291c47c5a0cbf06ca8abae0099b55afd9a2dca75e93badbad51f318ea78a114e8337ed0e7a8fbd1ebcf983c6de WHIRLPOOL 1ecb68cef10e036e44ffba3b54d811785cadc58e90eea7ec515c3d7a9227b5e5ca91e964dcec9d92e5d644570934fbc85604e1b7cc7f531c62ed8ef5b7d2828e
|
||||
MISC metadata.xml 383 SHA256 626826424fc5c82158f3de6217b52d9d87462b5c65e71b8cd9d25cba9b7f6eaf SHA512 f530f819ba0840adeb29dcfe51064d1a22146725c05c951198cc2de7bed984b49c9eae634d2f1acebb80b53dfa88bb61c5330d61fae0d6e4ef2caf9a8715384c WHIRLPOOL 2d877a9c768a0e36982ba33ab70eb105f7ff2b585dc05a1ffad5a5b6a7062eb6031a9a6093caad35f5e703e5786ba2c645f5f7fddb9de48f401d41686bf25ec3
|
||||
10
net-mail/netiq-groupwise-client/metadata.xml
Normal file
10
net-mail/netiq-groupwise-client/metadata.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>no-herd</herd>
|
||||
<maintainer><email>mario.fetka@gmail.com</email></maintainer>
|
||||
<use>
|
||||
<flag name='multilib'>pull in the required packages on amd64 systems</flag>
|
||||
<flag name='novell-jre'>Use the from novell provided jre</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
NOVELL_BUILDID="25dBd35JnqA~"
|
||||
NOVELL_FILE32="patchfiles/gw656up2clnxmulti.tar.gz"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
inherit novell eutils rpm multilib versionator
|
||||
|
||||
MY_PV=$(replace_version_separator 3 '-')
|
||||
|
||||
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/${NOVELL_BUILDID}/${NOVELL_FILE32}"
|
||||
LICENSE="Novell-GW-7"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="novell-jre multilib"
|
||||
DEPEND=""
|
||||
RDEPEND="sys-libs/glibc
|
||||
sys-libs/libstdc++-v3
|
||||
sys-devel/gcc
|
||||
!novell-jre? (
|
||||
|| ( virtual/jdk
|
||||
virtual/jre )
|
||||
multilib? (
|
||||
amd64? ( app-emulation/emul-linux-x86-java ) ) )
|
||||
multilib? (
|
||||
amd64? ( app-emulation/emul-linux-x86-compat ) )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
|
||||
cd ${PN}-${MY_PV}
|
||||
rpm_unpack ../novell-groupwise-gwclient-${MY_PV}.i386.rpm
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
JRE_DIR="${WORKDIR}"/${PN}-${MY_PV}/opt/novell/groupwise/client/jre;
|
||||
|
||||
if use novell-jre; then
|
||||
# Undo Sun's 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}"/${PN}-${MY_PV}/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}"/${PN}-${MY_PV}/opt/novell/groupwise/client/bin/groupwise
|
||||
fi
|
||||
|
||||
insinto /usr/share/applications
|
||||
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/groupwise/client/gwclient.desktop
|
||||
|
||||
mv "${WORKDIR}"/${PN}-${MY_PV}/opt "${D}"/ || die "mv opt"
|
||||
|
||||
dodir /opt/bin
|
||||
dosym /opt/novell/groupwise/client/bin/groupwise /opt/bin/groupwise
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "This files require you to register at ${HOMEPAGE} (free account)"
|
||||
einfo "Please download following file:"
|
||||
einfo " - ${NOVELL_FILE32}"
|
||||
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID}"
|
||||
einfo "and place it 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"
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
NOVELL_BUILDID="hJh0x5bhIIQ~"
|
||||
NOVELL_FILE32="patchfiles/gw704ftf_full_linux_multi.tar.gz"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
inherit novell eutils rpm multilib versionator
|
||||
|
||||
MY_PV=$(replace_version_separator 3 '-')
|
||||
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/${NOVELL_BUILDID}/${NOVELL_FILE32}"
|
||||
|
||||
LICENSE="Novell-GW-7"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="novell-jre multilib"
|
||||
DEPEND=""
|
||||
RDEPEND="sys-libs/glibc
|
||||
sys-libs/libstdc++-v3
|
||||
sys-devel/gcc
|
||||
!novell-jre? (
|
||||
|| ( virtual/jdk
|
||||
virtual/jre )
|
||||
multilib? (
|
||||
amd64? ( app-emulation/emul-linux-x86-java ) ) )
|
||||
multilib? (
|
||||
amd64? ( app-emulation/emul-linux-x86-compat
|
||||
www-client/seamonkey-bin ) )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
|
||||
cd ${PN}-${MY_PV}
|
||||
rpm_unpack ../work/client/linux/novell-groupwise-gwclient-${MY_PV}.i586.rpm
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
JRE_DIR="${WORKDIR}"/${PN}-${MY_PV}/opt/novell/groupwise/client/jre;
|
||||
|
||||
if use novell-jre; then
|
||||
# Undo Sun's 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
|
||||
if use multilib; then
|
||||
rm -rf "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/groupwise/client/jre
|
||||
sed -i 's%/opt/novell/groupwise/client/jre/lib/i386%`java-config --select-vm=emul-linux-x86-java --jre-home`/lib/i386/client:`java-config --select-vm=emul-linux-x86-java --jre-home`/lib/i386/server:`java-config --select-vm=emul-linux-x86-java --jre-home`/lib/i386%' "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/groupwise/client/bin/groupwise
|
||||
else
|
||||
rm -rf "${WORKDIR}"/${PN}-${MY_PV}/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}"/${PN}-${MY_PV}/opt/novell/groupwise/client/bin/groupwise
|
||||
fi
|
||||
fi
|
||||
|
||||
insinto /usr/share/applications
|
||||
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/groupwise/client/gwclient.desktop
|
||||
|
||||
mv "${WORKDIR}"/${PN}-${MY_PV}/opt "${D}"/ || die "mv opt"
|
||||
|
||||
dodir /opt/bin
|
||||
dosym /opt/novell/groupwise/client/bin/groupwise /opt/bin/groupwise
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "This files require you to register at ${HOMEPAGE} (free account)"
|
||||
einfo "Please download following file:"
|
||||
einfo " - ${NOVELL_FILE32}"
|
||||
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID}"
|
||||
einfo "and place it 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"
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
NOVELL_BUILDID="_XAeStjRFu8~"
|
||||
NOVELL_FILE32="patchfiles/gw802_hp3_full_linux_multi.tar.gz"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
inherit novell eutils rpm5 multilib versionator
|
||||
|
||||
MY_PV=$(replace_version_separator 3 '-')
|
||||
MY_P="${P/_p/-}"
|
||||
|
||||
DESCRIPTION="Novell Groupwise 8 Client for Linux"
|
||||
HOMEPAGE="http://www.novell.com/en/gropwise/"
|
||||
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32}"
|
||||
|
||||
LICENSE="Novell-GW-8"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="novell-jre multilib"
|
||||
DEPEND=""
|
||||
RDEPEND="sys-libs/glibc
|
||||
sys-libs/libstdc++-v3
|
||||
sys-devel/gcc
|
||||
!novell-jre? (
|
||||
|| ( virtual/jdk
|
||||
virtual/jre )
|
||||
multilib? (
|
||||
amd64? ( app-emulation/emul-linux-x86-java ) ) )
|
||||
multilib? (
|
||||
amd64? ( app-emulation/emul-linux-x86-compat ) )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
|
||||
cd ${PN}-${MY_PV}
|
||||
rpm5_unpack ./../gw${MY_PV}_full_linux_multi/client/linux/${PN}-${MY_PV}.i586.rpm
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
JRE_DIR="${WORKDIR}"/${PN}-${MY_PV}/opt/novell/groupwise/client/java;
|
||||
|
||||
if use novell-jre; then
|
||||
# Undo Sun's 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
|
||||
if use multilib; then
|
||||
rm -rf "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/groupwise/client/java
|
||||
sed -i 's%/opt/novell/groupwise/client/java/lib/i386%`java-config --select-vm=emul-linux-x86-java --jre-home`/lib/i386/client:`java-config --select-vm=emul-linux-x86-java --jre-home`/lib/i386/server:`java-config --select-vm=emul-linux-x86-java --jre-home`/lib/i386%' "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/groupwise/client/bin/groupwise
|
||||
else
|
||||
rm -rf "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/groupwise/client/java
|
||||
sed -i 's%/opt/novell/groupwise/client/java/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}"/${PN}-${MY_PV}/opt/novell/groupwise/client/bin/groupwise
|
||||
fi
|
||||
fi
|
||||
|
||||
insinto /usr/share/applications
|
||||
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/groupwise/client/gwclient.desktop
|
||||
|
||||
mv "${WORKDIR}"/${PN}-${MY_PV}/opt "${D}"/ || die "mv opt"
|
||||
|
||||
dodir /opt/bin
|
||||
dosym /opt/novell/groupwise/client/bin/groupwise /opt/bin/groupwise
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "This files require you to register at ${HOMEPAGE} (free account)"
|
||||
einfo "Please download following file:"
|
||||
einfo " - ${NOVELL_FILE32}"
|
||||
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID}"
|
||||
einfo "and place it 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"
|
||||
}
|
||||
Reference in New Issue
Block a user