This commit is contained in:
geos_one 2011-10-29 04:50:21 +00:00
parent 80dda91c04
commit 411a244fbd
8 changed files with 101 additions and 359 deletions

View File

@ -0,0 +1,94 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
NOVELL_BUILDID="CRebpCxNTRQ~"
NOVELL_FILE="patchfiles/nm221_full_linux_multi.tar.gz"
RESTRICT="mirror strip"
inherit novell rpm java-pkg-2 eutils versionator
MY_PV=$(replace_version_separator 3 '-')
MY_PV="${MY_PV/_p/-}"
DESCRIPTION="Novell Groupwise Messenger"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE}"
LICENSE="Novell-Messenger-22"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="linguas_en linguas_hu linguas_ar
linguas_cs linguas_da linguas_de linguas_es linguas_fi
linguas_fr linguas_he linguas_it linguas_ja linguas_ko
linguas_nl linguas_no linguas_pl linguas_pt linguas_ru
linguas_sv linguas_zh_CN linguas_zh_TW"
DEPEND=">=virtual/jre-1.4
media-libs/jpeg:62
amd64? ( >=virtual/jdk-1.4
=app-emulation/emul-linux-x86-java-1.6* )"
S=${WORKDIR}/nmclient
src_unpack() {
unpack ${A} || die
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ../work/nm221_full_linux_multi/client/xplat/linux/RPMS/${PN}-${MY_PV}.i586.rpm || die "rpm unpack failed"
}
src_compile() { :; }
src_install() {
has_multilib_profile && ABI="x86"
for x in en hu ar cs da de es fi fr he it ja ko nl no pl pt ru sv zh_CN zh_TW ; do
if use linguas_${x}
then
[[ ${x} == "zh_CN" ]] && x="zhcn"
[[ ${x} == "zh_TW" ]] && x="zhtw"
docinto ${x}
dodoc ${WORKDIR}/${PN}-${MY_PV}/opt/novell/messenger/client/docs/${x}/*.htm
fi
done
java-pkg_jarinto /opt/novell/messenger/client/$(get_libdir)
for x in jh.jar nmclhlp.jar nmclient.jar; do
java-pkg_dojar ${WORKDIR}/${PN}-${MY_PV}/opt/novell/messenger/client/${x}
done
java-pkg_sointo /opt/novell/messenger/client/$(get_libdir)
for x in libeggtray.so libidlex.so; do
java-pkg_doso ${WORKDIR}/${PN}-${MY_PV}/opt/novell/messenger/client/${x}
done
insinto ${JAVA_PKG_JARDEST}
doins ${WORKDIR}/${PN}-${MY_PV}/opt/novell/messenger/client/*.wav
insinto ${JAVA_PKG_JARDEST}/icons
doins ${WORKDIR}/${PN}-${MY_PV}/opt/novell/messenger/client/icons/*
doicon ${WORKDIR}/${PN}-${MY_PV}/opt/novell/messenger/client/nmclient.png
# insinto ${JAVA_PKG_JARDEST}/docs
into /opt/novell/messenger/client
java-pkg_dolauncher nmclient --main com.novell.messenger.client.Messenger \
-pre ${FILESDIR}/nmclient-2.0-pre \
--java_args "-Xms5M -Dawt.toolkit=sun.awt.motif.MToolkit"
make_desktop_entry /opt/novell/messenger/client/bin/nmclient "GroupWise Messenger" nmclient.png Network
dosym /opt/novell/messenger/client/bin/nmclient /opt/bin/nmclient
}
pkg_nofetch() {
einfo "This files require you to register at ${HOMEPAGE} (free account)"
einfo "Please download following file:"
einfo " - ${NOVELL_FILE}"
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 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"
}

View File

@ -1,16 +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 gw704_client_linux_multi.tar.gz 137150919 RMD160 a52fbf3fcf977fb4eaf881cb8183d412e18b886f SHA1 648f21f8f87be9afbf92c4b12a128fdafd422198 SHA256 be089af0d67fbc1b56de509edb3f170fb9de3fb7c1d235de31684f241d4da54e
DIST gw704ftf_full_linux_multi.tar.gz 512837739 RMD160 ce255ce345903b8ac35d42fafd3b2e0457feb8eb SHA1 163d1b7c9de7f6b514e70566a2d03ba9e58e0217 SHA256 938a514aa26491f5480a12fcd516ca228efba9775aac6e734d31c9344e73431a
DIST gw802_full_linux_multi.tar.gz 529531724 RMD160 c816ad2f619a07b30946ceeebc279c61b53af12b SHA1 634a52021602cc395cf0b4d0a56f2d874e51af13 SHA256 8dee70c92b5f2ee80100201c7f8d288bd9af19a100b41d1d5511e2e0a95b8fc5
DIST gw802_hp3_full_linux_multi.tar.gz 530427012 RMD160 4ad0dfab8520823978bb92b145697b19a9fc3c7a SHA1 100e6c223a599f307f2f837f1b1f41d26eb1c65a SHA256 c1dff9358bdf75050269076a499af69df1c00b64d3ff0a7bd88684a8c1148979
DIST gw802hp1_full_linux_multi.tar.gz 530344434 RMD160 98dc84da9fa6b9df467caf4808451a920a5a9bc7 SHA1 532ffe25f87d2050492806dd3b372ea2015e34e5 SHA256 a8616e44f9aa55fe556f91a1472607bb9f4c7db81907934b3b4fda543b21d9be
EBUILD novell-groupwise-client-6.5.7.0522.ebuild 2668 RMD160 01f539f49b0ff3d1740bb8b8dcf737c4448592bb SHA1 4bba5292df0794607a6e9718b94ac6a5a2233e35 SHA256 117619ce1a495a934805a8f63abdb0c46aa2100680c496642565ecac39228d47
EBUILD novell-groupwise-client-7.0.3.20090911.ebuild 3158 RMD160 9d3ca01c456cacea8d3c50bd135df2b21b1bd1cd SHA1 57bbae3a0d6e950adab1bc513ac2670371cbc953 SHA256 71555f953f91befc7bf2fccf491ddbc9a72e42e060a0895654bf80c107c867f7
EBUILD novell-groupwise-client-7.0.4.20100313.ebuild 3154 RMD160 deb9481aa59ede876785cd274682c38aa0c9d8b8 SHA1 b2d87f6469a7d7b2ca5068c6aaa257333dc170b1 SHA256 f0a6ab28b712388977648ec6e0670d28dc151bbe56411c1964ec5d83f90ecac3
EBUILD novell-groupwise-client-7.0.4.20100714.ebuild 3158 RMD160 9a129052305a9a9c152516bee2546b6064aab280 SHA1 7a7aed8e4bed9de97c4cd3a17685218979110862 SHA256 e22afa22eef5ed973f03797e75455b30bc5b4d5c091495c7c461151c12f08e81
EBUILD novell-groupwise-client-8.0.2.90840.ebuild 3204 RMD160 675bebec93aee9850dfab3704291ef76c32333e4 SHA1 5e6157dfa62207b3046f287c28a1bd689cff683d SHA256 3cc0376087cbf1c5568c5d3904e93c40395fbc5e2787498ed7c8e316cfa6e051
EBUILD novell-groupwise-client-8.0.2.91941.ebuild 3207 RMD160 4d9c88840ac525faa571f62b001a39f0a10756b5 SHA1 0b7be2b88947a71201fd884f0c040b219e276eaf SHA256 09cff2bed3b2d2ed22da3a00484242d91d3f979dc880ec43f64436143bc5096a
EBUILD novell-groupwise-client-8.0.2.96933.ebuild 3208 RMD160 e64a05efbfb2b04a045d698cffa18f1a515b9a75 SHA1 f4dd91b2e19a868b9d4d110b0f0a9d8475436533 SHA256 09bc82596cf017ef30fb4fe2913a3cc499b949c1d0c0a8432bd09d8b63170326
MISC ChangeLog 6122 RMD160 b23db07311540a5132eba3b1e6516031505471e9 SHA1 278a04a7c359afb4f3dcc16197b4b8ebbc788904 SHA256 d17bc2b9ae7cc4fcd76d8194ea8ae5e684bf1a4a4a577ee4bfdb055258dce209
MISC metadata.xml 383 RMD160 02bbf1ae1b3b026473445776ef62ee4973330b86 SHA1 5fdb4c80b6d4bd49f3039c0ecc76572134fc6ea0 SHA256 626826424fc5c82158f3de6217b52d9d87462b5c65e71b8cd9d25cba9b7f6eaf

View File

@ -1,85 +0,0 @@
# Copyright 1999-2010 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 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/groupwise/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"
}

View File

@ -1,85 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NOVELL_BUILDID="kG8WjnOwUMQ~"
NOVELL_FILE32="patchfiles/gw704_client_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/groupwise/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"
}

View File

@ -1,86 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NOVELL_BUILDID="3_WhOdRa0uQ~"
NOVELL_FILE32="patchfiles/gw802_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
www-client/seamonkey-bin ) )
!net-mail/novell-groupwise-gwclient"
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"
}

View File

@ -1,86 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NOVELL_BUILDID="04oMMaiI9nI~"
NOVELL_FILE32="patchfiles/gw802hp1_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
www-client/seamonkey-bin ) )
!net-mail/novell-groupwise-gwclient"
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"
}

View File

@ -2,7 +2,7 @@ AUX 80novell-iprint 176 RMD160 e6190bfcde19e2da265b790012582d4200c20668 SHA1 8d9
AUX 80novell-iprint64 180 RMD160 3a485dd8c9ad50168afa25bb6c643d65a666c810 SHA1 530a627efc418438f0e4ddd7a56d1be3242466a6 SHA256 dd2b575b9016fbd911ba65fcbfc04a5205618d63267021e632b88878b982e96e
AUX post-high 1982 RMD160 6bc0f5f30af9456b74312d5155e9fe1d95d5494b SHA1 462b945db78d7be1180be672db49aebfba7960c1 SHA256 05da68dbade35edc43b695dd2c83a4e3ee7eb8bac16e4025020866a6152c50b9
AUX post-low 1915 RMD160 d99e230e53fb9fc61fa2c29903f06d41c4b24f95 SHA1 822a3cedcd3e6efb4e97c30181bf79f273bc9d9f SHA256 5a7aa0c41c63676f53d284b5bdc50a50a58dd6ef550945dce9014b175b40da2d
DIST iprntlinuxclient500.tar.gz.tar.gz 2077867 RMD160 998e9dca727cb176d460c80f20a6004c8267b6da SHA1 93994a5a02257094e0baaca46edd3608be35ba60 SHA256 8ae471de06fba07586ad1d7b9545670c4ffb9b042432a9d4de35bc05001b98e0
EBUILD novell-iprint-xclient-6.502.20090929_p1.ebuild 3834 RMD160 51754ba95c57d127e75492815c93ed417cfccb12 SHA1 fe5a05ae5869e4e1973a138d9372c586bf16e980 SHA256 5471b1f52434328b146f464e7c6f0d6301ece8d92eb8abbba8bb1de79bbe1680
DIST iprntlinuxclient504.tar.gz 1189756 RMD160 ae577bb8790f99ec5a9a2b0eefbdbd6bf15bd2ee SHA1 7cbd7cf9b458d336dfc2b05898cb4b928585daf8 SHA256 f0e1eca760794e23beda9ab6125967a76c14db94b38cad082a2d8c8d11f317ec
EBUILD novell-iprint-xclient-6.503.20111013.22.1.ebuild 3788 RMD160 4eac4781a0fd6469e48fbc83246ccaa12f647eea SHA1 01338c02b5b9b01e374954272411c2abdc0fc3f6 SHA256 fb040a7c5cf2787ca4ded23a5a6e7ed6257c23957975be71c02cdc7449a63f90
MISC ChangeLog 1142 RMD160 485636aa521f94c84cdd6d0689dccc74c18a18ea SHA1 b234a211a86a06849ef44b1fb7967420f848899a SHA256 7630fbc6394f26939bd2a2c7833d6329e6d1000e34c055f84d5ff2d7e9f3ce7a
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -2,13 +2,13 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NOVELL_BUILDID="tZdGahk3mvg~"
NOVELL_FILE32="iprntlinuxclient500.tar.gz.tar.gz"
NOVELL_BUILDID="APl_7DgzXGA~"
NOVELL_FILE32="iprntlinuxclient504.tar.gz"
RESTRICT="mirror strip"
inherit novell eutils rpm5 nsplugins
inherit novell eutils rpm5 nsplugins versionator
MY_PV="${PV/_p/-}"
MY_PV=$(replace_version_separator 3 '-')
DESCRIPTION="Novell iPrint Client for Linux Low Security"
HOMEPAGE="http://www.novell.com"
@ -27,11 +27,9 @@ RDEPEND="virtual/libc
dev-libs/glib
media-libs/fontconfig
media-libs/freetype
media-libs/glitz
media-libs/libpng
>=net-print/cups-1.2
sys-libs/zlib
www-client/mozilla-firefox
x11-libs/gtk+
x11-libs/pango
x11-libs/cairo
@ -56,7 +54,7 @@ src_unpack() {
narch=x86_64
nlib=lib64
fi
rpm5_unpack "${WORKDIR}"/iprntlinuxclient500.tar.gz/linux-sled11/${ndir}/novell-iprint-xclient-sl-${MY_PV}.${narch}.rpm
rpm5_unpack "${WORKDIR}"/linux-sled11/${ndir}/novell-iprint-xclient-sl-${MY_PV}.${narch}.rpm
}
src_compile() {