From 29ab5f6917742b2bc2d179d4d10e8e5c60f3b7f1 Mon Sep 17 00:00:00 2001 From: mike Date: Mon, 9 Nov 2009 21:28:51 +0000 Subject: [PATCH] Added 7.0.3HP3 ebuild. 7.0.3HP2 installation file doesn't seem to be available anymore. Updated Changelog and Manifest. --- .../novell-groupwise-gwclient/ChangeLog | 10 ++- .../novell-groupwise-gwclient/Manifest | 4 +- ...-groupwise-gwclient-7.0.3_p20090911.ebuild | 83 +++++++++++++++++++ 3 files changed, 94 insertions(+), 3 deletions(-) create mode 100644 trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/novell-groupwise-gwclient-7.0.3_p20090911.ebuild diff --git a/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/ChangeLog b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/ChangeLog index 60d43a1..7672ef1 100644 --- a/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/ChangeLog +++ b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 09 Nov 2009; Michael Dwyer + +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 +gw.patch, +novell-groupwise-gwclient-7.0.3_p20090121.ebuild: Bump Ebuild and apply patch from @@ -34,12 +40,12 @@ add new download system 19 Sep 2007; Michael Dwyer - +novell-groupwise-gwclient-7.0.2_p20070606-r4.ebuild: + +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 novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild: sed gwclient.desktop to correct icon path diff --git a/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/Manifest b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/Manifest index bde062f..bbf127e 100644 --- a/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/Manifest +++ b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/Manifest @@ -1,8 +1,10 @@ DIST gw656up2clnxmulti.tar.gz 34924107 RMD160 b4a4ef06a1fce7a928dc15aa910cefe241a9b2f3 SHA1 8810f9bbb1c1ea7a3fb6385b3c6507838817629c SHA256 6c242b71756908076614f07f837bdcc3260a1bc423d8f4dd164778d7b7e65cb7 +DIST gw7.0.3HP_client_linux_multi.tar.gz 137152003 RMD160 d4bccf6fb8f5eccb379db11b1c93a0b01f45feef SHA1 ce78f923ed40a8951c5cd8ba03167866136d93d5 SHA256 d4a4cddafb2d57900c799f50766c6b6a842ebd9d24cf6a6ededde7678893b5a0 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 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 +EBUILD novell-groupwise-gwclient-7.0.3_p20090911.ebuild 3019 RMD160 ff8b2dd29a390ed3de917d76dc2e4d2e28c382d2 SHA1 0823edcd9a7809e853c060b7bedc07c918ef10f8 SHA256 5ced5e61ccf1976c85c9eff7d2e8b7bd96b159f41da9d272cfdc223d094bd22d +MISC ChangeLog 4795 RMD160 079836c7d51ba296fe94632f11c66d418651c8a8 SHA1 eb95c43609f8fb36c8935d5e614a145f0a86d796 SHA256 582e63deedb13c2ab740906ff9df4fd31f81f4b80ba3401768791ab43d3be4cc MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/novell-groupwise-gwclient-7.0.3_p20090911.ebuild b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/novell-groupwise-gwclient-7.0.3_p20090911.ebuild new file mode 100644 index 0000000..b1ca1a3 --- /dev/null +++ b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/novell-groupwise-gwclient-7.0.3_p20090911.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +NOVELL_BUILDID="gfBsQLMmHeg~" +NOVELL_FILE32="patchfiles/gw7.0.3HP_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 ../work/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" +}