net-mail/novell-groupwise-gwclient: Bump Ebuild and apply patch from http://forums.gentoo.org/viewtopic-p-5504246.html#5504246
This commit is contained in:
parent
1729d987c1
commit
484b6508f1
@ -1,7 +1,12 @@
|
||||
# ChangeLog for net-mail/novell-groupwise-gwclient
|
||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
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
|
||||
|
@ -1,6 +1,9 @@
|
||||
DIST gw656up2clnxmulti.tar.gz 34924107 RMD160 b4a4ef06a1fce7a928dc15aa910cefe241a9b2f3 SHA1 8810f9bbb1c1ea7a3fb6385b3c6507838817629c SHA256 6c242b71756908076614f07f837bdcc3260a1bc423d8f4dd164778d7b7e65cb7
|
||||
DIST gw703HP1_client_lnx_multi.tar.gz 137135661 RMD160 42bed01a4d122b107f4223657811848b1abb380a SHA1 7e6806e955c8d6289363354238ffa5cc59d7fd1b SHA256 250e8abd75594d3c3e7fcebacd7d37f5827e0acf9474913ead0fcf82166acf36
|
||||
DIST gw703hp2_client_linux_multi.tar.gz 137148203 RMD160 6c5ba680a55344fc4a386a812a535b6d5dd8e0e6 SHA1 a13a68431fc64b2f9fcf4ff9a60477a04ed39628 SHA256 558c682a92d16739662f7835d9c940574de3019ca033a9cd823dcbff215aa614
|
||||
EBUILD novell-groupwise-gwclient-6.5.7_p0522.ebuild 2570 RMD160 734aa1e0af01d923f9e765f1795853856a391c47 SHA1 b963e6ba01b6066025f57d38f4b21e4b41d2b715 SHA256 103392cb0c2168e6d51de2c5f86ffe337ba87eaf3136f4b55eecb91ba950fe60
|
||||
EBUILD novell-groupwise-gwclient-7.0.3_p20080609.ebuild 2622 RMD160 0d80d76b8ef0f0f38a57720a981edfabba01d525 SHA1 ce5e7963e762480a2590bf96a16a3ee7109bafbf SHA256 00dd0d9610b98107b40ed22b17d88b044d7155306bea22d85676bb19f783a660
|
||||
MISC ChangeLog 4344 RMD160 937d7384505bb52eaee8e9582e469186ef4c52cd SHA1 fec9f78d36e79fc61c1e6392c1a19579f7b92113 SHA256 25e025ca290276bbfb7a919661852a20d8bb44caeb3577aea78a3e1af9fe586f
|
||||
EBUILD novell-groupwise-gwclient-7.0.3_p20090121.ebuild 3057 RMD160 c4d701b9a9115a8ca1627d860bea3a15e68f83ea SHA1 dcacd54da8a3056ebe7f32fe98ac651905364096 SHA256 8175c46534830fa948f37c58ae91891f52eca6b7362d2f54440ee30e70a22738
|
||||
MISC ChangeLog 4555 RMD160 9deb86d9ce10b7dfb630d23b5cd9e000f46e8377 SHA1 3dcbd3e8a7a664f6efaeb4286976c62aaa7a5c09 SHA256 faeb6019b5c88e33e4d49595897f5a7460b6ec3bbfec961e1edd89689a87ab8e
|
||||
MISC gw.patch 1856 RMD160 b875bca38971f4fc4468e1ad8f392ee5cd1b60c9 SHA1 ff8042aaf3a4155fd9eed14129cef469f0f50ca9 SHA256 6ada665dbbe8e126dd47c34b722f7d8db41b45bae657d08b64268d8ef36600c3
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
|
@ -0,0 +1,37 @@
|
||||
--- ../../../layman/n4g/net-mail/novell-groupwise-gwclient/novell-groupwise-gwclient-7.0.3_p20080609.ebuild 2009-02-23 13:02:52.000000000 +0100
|
||||
+++ novell-groupwise-gwclient-7.0.3_p20090121.ebuild 2009-02-23 19:28:39.000000000 +0100
|
||||
@@ -2,8 +2,8 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
-NOVELL_BUILDID="PC6uZsNk3MY~"
|
||||
-NOVELL_FILE32="patchfiles/gw703HP1_client_lnx_multi.tar.gz"
|
||||
+NOVELL_BUILDID="Hq18eBi_hGQ~"
|
||||
+NOVELL_FILE32="patchfiles/gw703hp2_client_linux_multi.tar.gz"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
inherit novell eutils rpm multilib
|
||||
@@ -33,7 +33,7 @@
|
||||
unpack ${A}
|
||||
mkdir -p "${WORKDIR}"/${MY_P}
|
||||
cd ${MY_P}
|
||||
- rpm_unpack "${WORKDIR}"/groupwise/${MY_P}.i386.rpm
|
||||
+ rpm_unpack "${WORKDIR}"/groupwise/${MY_P}.i586.rpm
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
@@ -49,8 +49,13 @@
|
||||
$JRE_DIR/bin/unpack200 $i $i_b.jar || die "Unpack failed";
|
||||
done;
|
||||
else
|
||||
+ if use multilib; then
|
||||
+ rm -rf "${WORKDIR}"/${MY_P}/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}"/${MY_P}/opt/novell/groupwise/client/bin/groupwise
|
||||
+ 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
|
||||
fi
|
||||
|
||||
insinto /usr/share/applications
|
||||
|
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
NOVELL_BUILDID="Hq18eBi_hGQ~"
|
||||
NOVELL_FILE32="patchfiles/gw703hp2_client_linux_multi.tar.gz"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
inherit novell eutils rpm multilib
|
||||
|
||||
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="java 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}"/${MY_P}
|
||||
cd ${MY_P}
|
||||
rpm_unpack "${WORKDIR}"/groupwise/${MY_P}.i586.rpm
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
JRE_DIR="${WORKDIR}"/${MY_P}/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}"/${MY_P}/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}"/${MY_P}/opt/novell/groupwise/client/bin/groupwise
|
||||
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
|
||||
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 /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"
|
||||
}
|
Loading…
Reference in New Issue
Block a user