diff --git a/trunk/novell4gentoo/net-mail/novell-groupwise-client/ChangeLog b/trunk/novell4gentoo/net-mail/novell-groupwise-client/ChangeLog index 7672ef15..71ec1d48 100644 --- a/trunk/novell4gentoo/net-mail/novell-groupwise-client/ChangeLog +++ b/trunk/novell4gentoo/net-mail/novell-groupwise-client/ChangeLog @@ -1,7 +1,17 @@ -# ChangeLog for net-mail/novell-groupwise-gwclient -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# ChangeLog for net-mail/novell-groupwise-client +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 07 Jul 2010; Mario Fetka + -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 +novell-groupwise-gwclient-7.0.3_p20090911.ebuild: Bump ebuild as only 7.0.3HP3 is available for download now. diff --git a/trunk/novell4gentoo/net-mail/novell-groupwise-client/Manifest b/trunk/novell4gentoo/net-mail/novell-groupwise-client/Manifest index 472473a9..091fa592 100644 --- a/trunk/novell4gentoo/net-mail/novell-groupwise-client/Manifest +++ b/trunk/novell4gentoo/net-mail/novell-groupwise-client/Manifest @@ -1,12 +1,8 @@ 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 DIST gw802_beta1_client_linux_multi.tar.gz 209354575 RMD160 dc8a37a14b84affa4d8a1ec434a6c3c2f3da295a SHA1 09a36eb14a08884615a63c7cfbca0e8a70226725 SHA256 ce9313cd17c1a4a6d7663c56b980a36e6d2327df1d3a0c7ace58a5f9da7bcc0d -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 -EBUILD novell-groupwise-gwclient-7.0.3_p20090911.ebuild 3019 RMD160 ff8b2dd29a390ed3de917d76dc2e4d2e28c382d2 SHA1 0823edcd9a7809e853c060b7bedc07c918ef10f8 SHA256 5ced5e61ccf1976c85c9eff7d2e8b7bd96b159f41da9d272cfdc223d094bd22d -EBUILD novell-groupwise-gwclient-8.0.2.90388.ebuild 3164 RMD160 9b8646bcb5f112cc6ab9f30caeeb28ad989bcc84 SHA1 6bb360e4edb4997adcc1c62f4194124b54a32ede SHA256 2ba1a30e6e4d015cff45dc4f84af3c7a83db3ca9fcfb76c2a96f2b3018312df2 -MISC ChangeLog 4795 RMD160 079836c7d51ba296fe94632f11c66d418651c8a8 SHA1 eb95c43609f8fb36c8935d5e614a145f0a86d796 SHA256 582e63deedb13c2ab740906ff9df4fd31f81f4b80ba3401768791ab43d3be4cc +EBUILD novell-groupwise-client-6.5.7.0522.ebuild 2683 RMD160 8155609c074271b30e67b2e02c3507032b7a66d0 SHA1 3cb1eca2f38ed78bb60f22085b21e0627b134e49 SHA256 f8e209bce9080ac714405c23ede5bd1d5d18ac33fb3f262e11ae5ddac7b50141 +EBUILD novell-groupwise-client-7.0.3.20090911.ebuild 3163 RMD160 c653bf17900242cbe3fb8df6e4798dc7c4a561d7 SHA1 eb593bd74f9e715eb4bd21f7d8952596bd683b23 SHA256 7c785acb137bebe0dc47996b4ea7e714d091bad3ceefd63600770daaa8e16df9 +EBUILD novell-groupwise-client-8.0.2.90388.ebuild 3206 RMD160 492ab48a277c16cefbfccbf215a35bbbd3253ec7 SHA1 865a5ce2ff792bf4cf4ad0c6cdec5bea44a4064d SHA256 0b5943ab9b64c1d3de557e5ab72905e0f28d82ad6067d65f7a17548c429a93d6 +MISC ChangeLog 5223 RMD160 35899143d40fa99567dd2621377a60dc263ec97a SHA1 fa072784682e74646d398d3c4f73848177890261 SHA256 f54eb70047fec787c858e4f1eb6e60a39dc9b847af1da9ae5c222324bbb2c61c MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-gwclient-6.5.7_p0522.ebuild b/trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-client-6.5.7.0522.ebuild similarity index 77% rename from trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-gwclient-6.5.7_p0522.ebuild rename to trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-client-6.5.7.0522.ebuild index 4dc47ebf..74d95a82 100644 --- a/trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-gwclient-6.5.7_p0522.ebuild +++ b/trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-client-6.5.7.0522.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ @@ -6,9 +6,10 @@ NOVELL_BUILDID="25dBd35JnqA~" NOVELL_FILE32="patchfiles/gw656up2clnxmulti.tar.gz" RESTRICT="mirror strip" -inherit novell eutils rpm multilib +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}" @@ -30,15 +31,15 @@ RDEPEND="sys-libs/glibc src_unpack() { unpack ${A} - mkdir -p "${WORKDIR}"/${MY_P} - cd ${MY_P} - rpm_unpack "${WORKDIR}"/${MY_P}.i386.rpm + mkdir -p "${WORKDIR}"/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack "${WORKDIR}"/novell-groupwise-gwclient-${MY_PV}.i386.rpm } src_compile() { :; } src_install() { - JRE_DIR="${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/jre; + 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 @@ -48,14 +49,14 @@ src_install() { $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 + 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}"/${MY_P}/opt/novell/groupwise/client/gwclient.desktop + doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/groupwise/client/gwclient.desktop - mv "${WORKDIR}"/${MY_P}/opt "${D}"/ || die "mv opt" + mv "${WORKDIR}"/${PN}-${MY_PV}/opt "${D}"/ || die "mv opt" dodir /opt/bin dosym /opt/novell/groupwise/client/bin/groupwise /opt/bin/groupwise diff --git a/trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-gwclient-7.0.3_p20090911.ebuild b/trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-client-7.0.3.20090911.ebuild similarity index 76% rename from trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-gwclient-7.0.3_p20090911.ebuild rename to trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-client-7.0.3.20090911.ebuild index b1ca1a34..7ddf27e0 100644 --- a/trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-gwclient-7.0.3_p20090911.ebuild +++ b/trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-client-7.0.3.20090911.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ @@ -6,9 +6,11 @@ NOVELL_BUILDID="gfBsQLMmHeg~" NOVELL_FILE32="patchfiles/gw7.0.3HP_client_linux_multi.tar.gz" RESTRICT="mirror strip" -inherit novell eutils rpm multilib +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}" @@ -32,15 +34,15 @@ RDEPEND="sys-libs/glibc src_unpack() { unpack ${A} - mkdir -p "${WORKDIR}"/${MY_P} - cd ${MY_P} - rpm_unpack ../work/groupwise/${MY_P}.i586.rpm + mkdir -p "${WORKDIR}"/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack ../work/groupwise/novell-groupwise-gwclient-${MY_PV}.i586.rpm } src_compile() { :; } src_install() { - JRE_DIR="${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/jre; + 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 @@ -51,18 +53,18 @@ src_install() { 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 + 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}"/${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 + 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}"/${MY_P}/opt/novell/groupwise/client/gwclient.desktop + doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/groupwise/client/gwclient.desktop - mv "${WORKDIR}"/${MY_P}/opt "${D}"/ || die "mv opt" + mv "${WORKDIR}"/${PN}-${MY_PV}/opt "${D}"/ || die "mv opt" dodir /opt/bin dosym /opt/novell/groupwise/client/bin/groupwise /opt/bin/groupwise diff --git a/trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-gwclient-7.0.3_p20080609.ebuild b/trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-client-8.0.2.90388.ebuild similarity index 50% rename from trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-gwclient-7.0.3_p20080609.ebuild rename to trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-client-8.0.2.90388.ebuild index c07eb545..6973594e 100644 --- a/trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-gwclient-7.0.3_p20080609.ebuild +++ b/trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-client-8.0.2.90388.ebuild @@ -1,17 +1,20 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # 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="jmcxvBI-b7I~" +NOVELL_FILE32="gw802_beta1_client_linux_multi.tar.gz" RESTRICT="mirror strip" -inherit novell eutils rpm multilib +inherit novell eutils rpm5 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" @@ -21,42 +24,48 @@ RDEPEND="sys-libs/glibc sys-libs/libstdc++-v3 sys-devel/gcc !novell-jre? ( - || ( virtual/jdk - virtual/jre ) - multilib? ( + || ( virtual/jdk + virtual/jre ) + multilib? ( amd64? ( app-emulation/emul-linux-x86-java ) ) ) multilib? ( - amd64? ( app-emulation/emul-linux-x86-compat - www-client/seamonkey-bin ) )" + amd64? ( app-emulation/emul-linux-x86-compat + www-client/seamonkey-bin ) ) + !net-mail/novell-groupwise-gwclient" src_unpack() { unpack ${A} - mkdir -p "${WORKDIR}"/${MY_P} - cd ${MY_P} - rpm_unpack "${WORKDIR}"/groupwise/${MY_P}.i386.rpm + mkdir -p "${WORKDIR}"/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm5_unpack "${WORKDIR}"/gw8.0.2-90388_client_linux_multi/${PN}-${MY_PV}.i586.rpm } src_compile() { :; } src_install() { - JRE_DIR="${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/jre; + 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 + # 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; + 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 + 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}"/${MY_P}/opt/novell/groupwise/client/gwclient.desktop + doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/groupwise/client/gwclient.desktop - mv "${WORKDIR}"/${MY_P}/opt "${D}"/ || die "mv opt" + mv "${WORKDIR}"/${PN}-${MY_PV}/opt "${D}"/ || die "mv opt" dodir /opt/bin dosym /opt/novell/groupwise/client/bin/groupwise /opt/bin/groupwise diff --git a/trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-gwclient-7.0.3_p20090121.ebuild b/trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-gwclient-7.0.3_p20090121.ebuild deleted file mode 100644 index 9e3e60c0..00000000 --- a/trunk/novell4gentoo/net-mail/novell-groupwise-client/novell-groupwise-gwclient-7.0.3_p20090121.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# 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" -}