summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-07-03 07:25:59 +0000
committerPeter Volkov <pva@gentoo.org>2008-07-03 07:25:59 +0000
commit2d45567c80197ec220f18cbbea2abc2569730c72 (patch)
treee6068645d5ceaafa38e4b4aee4b442cdf60e4f92 /net-im
parentReally fix bug #230443. (diff)
downloadhistorical-2d45567c80197ec220f18cbbea2abc2569730c72.tar.gz
historical-2d45567c80197ec220f18cbbea2abc2569730c72.tar.bz2
historical-2d45567c80197ec220f18cbbea2abc2569730c72.zip
Fixed "ICQ client outdated" problem.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.22-ovz005 i686
Diffstat (limited to 'net-im')
-rw-r--r--net-im/sim/ChangeLog8
-rw-r--r--net-im/sim/Manifest4
-rw-r--r--net-im/sim/files/sim-0.9.4.3-old-protocol.patch36
-rw-r--r--net-im/sim/sim-0.9.4.3-r3.ebuild102
4 files changed, 148 insertions, 2 deletions
diff --git a/net-im/sim/ChangeLog b/net-im/sim/ChangeLog
index 8ab43cbc89e1..7a993b0f2bb9 100644
--- a/net-im/sim/ChangeLog
+++ b/net-im/sim/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-im/sim
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/sim/ChangeLog,v 1.89 2008/05/30 07:33:53 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/sim/ChangeLog,v 1.90 2008/07/03 07:25:58 pva Exp $
+
+*sim-0.9.4.3-r3 (03 Jul 2008)
+
+ 03 Jul 2008; Peter Volkov <pva@gentoo.org>
+ +files/sim-0.9.4.3-old-protocol.patch, +sim-0.9.4.3-r3.ebuild:
+ Fixed "ICQ client outdated" problem.
*sim-0.9.4.3-r2 (30 May 2008)
diff --git a/net-im/sim/Manifest b/net-im/sim/Manifest
index 89eda444176b..020d973b4238 100644
--- a/net-im/sim/Manifest
+++ b/net-im/sim/Manifest
@@ -1,9 +1,11 @@
AUX sim-0.9.4.3-double-message-fix.patch 882 RMD160 adf7304d31d6cb90b4c64098b5ec993355d050fc SHA1 43d1dc1d32cc8a229b1ff6759f1e5bc6f6bdc627 SHA256 997d40dd9a23b55e02c8dc0a5c9bcf81de93b0dd0c2bea673961e1e31d76cc41
+AUX sim-0.9.4.3-old-protocol.patch 1731 RMD160 b4d1edd03bb5e0bc4c09f086aeebfcb191961a63 SHA1 4212939e384c412a62ddeec97f3f8c56b1d4bca7 SHA256 b22dc52ce2b03ae421cbf737f3898367c69e678ddffd274002cdf3557dd2346b
AUX sim-0.9.4.3-sslv23.patch 336 RMD160 21dd720d0fb3594b452c931143fd9f206ed70a5a SHA1 1581ff9f660bd9ec5f56f97f7edeeec000a717a6 SHA256 c79e982824a1b8cd7da1dc06a180cfb8a51a4a5a863dcaa4deb749c1390848f3
DIST sim-0.9.4.3-r1919_1924.patch.bz2 53044 RMD160 9982bc984fb8befe0680cae7115fdad575936458 SHA1 e8e7cc8da756f5e7686e416afe79a42cb76442d9 SHA256 80717eac7096c6a4b72edcf88c90926e0cd1e8760dd101f5a3986e6d3f16e17f
DIST sim-0.9.4.3.tar.bz2 3251965 RMD160 2a1ced43d1e25e7b4fc95a88b7356c9991252d3c SHA1 6d181b4cb6b8470dd874a409578c02504f157b3e SHA256 305ee38897f11b2e68471d0f771f5487ac08e77f5ca2d47e2c350894ffc1a1b9
EBUILD sim-0.9.4.3-r1.ebuild 2771 RMD160 35bfac8eb62057c7f2dc06080107ce843e4d2fe5 SHA1 0a4ebc264e4435bd095ddf840daee31691842978 SHA256 84ff1d146b83f5dec9573abe54cf0685cc9fd53868b4451fdd72a3740b85cced
EBUILD sim-0.9.4.3-r2.ebuild 2814 RMD160 8ce2edb9fcf05bc52477a12df7cb744587cff55b SHA1 cf9fc11a3c653f02f2f0ddb11f4dcb8ae0d72b35 SHA256 245d85a9171890e255c8cad996ed92c26cdbe1621578cee2b30cdafbe1d9dced
+EBUILD sim-0.9.4.3-r3.ebuild 2860 RMD160 b11b6171f1e95dc0cfa1cb9c73e5167359278913 SHA1 e7d34050f400aecb912b7520f11866ebedc4ade6 SHA256 9ec14e5ca1aee8860f034d5ab6a640b3bab2b7f7b46cdff25b1d3dd79400e591
EBUILD sim-9999.ebuild 3119 RMD160 b3d2f3eb4762c90f35d9ac023ec8d9ac00b26588 SHA1 01fc65e74a9abb12730cc9dbe017bb42bac97bcc SHA256 007eb4e96904f72bd8d8f022ff3ebea9d970494e9fa14ac4de9b1795127d37da
-MISC ChangeLog 13238 RMD160 e57e94ff29454f1a137ee4cdf73129310466be35 SHA1 82145b4abfdb52a7d250b5da91261bb65a78ff81 SHA256 76f0295200f7bd78aebe4a6b4a5091ad5f5c3d62b8bd5153052cb507b9d50ca9
+MISC ChangeLog 13419 RMD160 29ea602bb4a7061b36029e4db6577aac19c9a8fb SHA1 d803e72668800f5d255ad6f06434342157187267 SHA256 2ea0af9334879caf6b0a32742afe435e28df489986ba3f5a8365ff9138c68b53
MISC metadata.xml 507 RMD160 7ff8ac8164276338a780a1e8441ca14b7f41a7e4 SHA1 b1b15267602a354ad1124c9eccf281b5b5960d2f SHA256 260177f2cc2f6010a6d29dccb4190b8d7480f5af803fb73bdf0ac151a685b92f
diff --git a/net-im/sim/files/sim-0.9.4.3-old-protocol.patch b/net-im/sim/files/sim-0.9.4.3-old-protocol.patch
new file mode 100644
index 000000000000..4309be1bca8e
--- /dev/null
+++ b/net-im/sim/files/sim-0.9.4.3-old-protocol.patch
@@ -0,0 +1,36 @@
+r2233 | noragen | 2008-07-02 02:14:02 +0400 (Срд, 02 Июл 2008) | 2 lines
+
+* Fix/Application of bug/patch #14117
+Big thanx to sf_studio and reklov!
+
+Backported by pva@gentoo.org.
+
+--- plugins/icq/icqlogin.cpp 2008-07-02 16:30:39 +0000
++++ plugins/icq/icqlogin.cpp 2008-07-02 16:34:41 +0000
+@@ -110,9 +110,9 @@
+ m_socket->writeBuffer.tlv(0x0025, md.c_str(), md.length());
+ if (data.owner.Uin.value){
+ m_socket->writeBuffer.tlv(0x0003, "ICQ Inc. - Product of ICQ (TM).2003b.5.56.1.3916.85");
+- m_socket->writeBuffer.tlv(0x0016, 0x010A);
+- m_socket->writeBuffer.tlv(0x0017, 0x0002);
+- m_socket->writeBuffer.tlv(0x0018, 0x0038);
++ m_socket->writeBuffer.tlv(0x0016, 0x014A); // ID Number
++ m_socket->writeBuffer.tlv(0x0017, 0x0024); // major
++ m_socket->writeBuffer.tlv(0x0018, 0x003D); // minor
+ m_socket->writeBuffer.tlv(0x0019, 0x0001);
+ m_socket->writeBuffer.tlv(0x001A, 0x0F4C);
+ m_socket->writeBuffer.tlv(0x0014, 0x00000055L);
+@@ -205,9 +205,9 @@
+ m_socket->writeBuffer.tlv(0x0001, uin);
+ m_socket->writeBuffer.tlv(0x0002, pswd.c_str(), pswd.length());
+ m_socket->writeBuffer.tlv(0x0003, "ICQ Inc. - Product of ICQ (TM).2003b.5.56.1.3916.85");
+- m_socket->writeBuffer.tlv(0x0016, 0x010A);
+- m_socket->writeBuffer.tlv(0x0017, 0x0002);
+- m_socket->writeBuffer.tlv(0x0018, 0x0038);
++ m_socket->writeBuffer.tlv(0x0016, 0x014A); // ID Number
++ m_socket->writeBuffer.tlv(0x0017, 0x0024); // major
++ m_socket->writeBuffer.tlv(0x0018, 0x003D); // minor
+ m_socket->writeBuffer.tlv(0x0019, 0x0001);
+ m_socket->writeBuffer.tlv(0x001A, 0x0F4C);
+ m_socket->writeBuffer.tlv(0x0014, 0x00000055L);
+
diff --git a/net-im/sim/sim-0.9.4.3-r3.ebuild b/net-im/sim/sim-0.9.4.3-r3.ebuild
new file mode 100644
index 000000000000..ff893eb6f517
--- /dev/null
+++ b/net-im/sim/sim-0.9.4.3-r3.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/sim/sim-0.9.4.3-r3.ebuild,v 1.1 2008/07/03 07:25:58 pva Exp $
+
+inherit kde-functions eutils flag-o-matic
+
+DESCRIPTION="Simple Instant Messenger (with KDE support). ICQ/AIM/Jabber/MSN/Yahoo."
+HOMEPAGE="http://sim-im.org/"
+SRC_URI="mirror://berlios/sim-im/${P}.tar.bz2
+ http://dev.gentoo.org/~pva/${P}-r1919_1924.patch.bz2"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug kde spell ssl"
+
+RESTRICT="fetch"
+
+# kdebase-data provides the icon "licq.png"
+RDEPEND="kde? ( =kde-base/kdelibs-3.5*
+ || ( =kde-base/kdebase-data-3.5* =kde-base/kdebase-3.5* ) )
+ !kde? ( $(qt_min_version 3)
+ spell? ( app-text/aspell ) )
+ ssl? ( dev-libs/openssl )
+ dev-libs/libxml2
+ dev-libs/libxslt
+ sys-libs/zlib
+ x11-libs/libXScrnSaver"
+
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ app-arch/zip
+ x11-proto/scrnsaverproto"
+
+pkg_nofetch() {
+ einfo "${CATEGORY}/${P} contains icons and sounds with unclear licensing and thus"
+ einfo "you have to download and it put into '${DISTDIR}' by yourself."
+ einfo "Download location:"
+ echo
+ einfo "${SRC_URI}"
+ echo
+ einfo "See http://archives.gentoo.org/gentoo-dev/msg_144003.xml for further"
+ einfo "information."
+}
+
+pkg_setup() {
+ if use kde; then
+ if use spell; then
+ if ! built_with_use "=kde-base/kdelibs-3.5*" spell; then
+ ewarn "kde-base/kdelibs were merged without spell in USE."
+ ewarn "Thus spelling will not work in sim. Please, either"
+ ewarn "reemerge kde-base/kdelibs with spell in USE or emerge"
+ ewarn 'sim with USE="-spell" to avoid this message.'
+ ebeep
+ fi
+ else
+ if built_with_use "=kde-base/kdelibs-3.5*" spell; then
+ ewarn 'kde-base/kdelibs were merged with spell in USE.'
+ ewarn 'Thus spelling will work in sim. Please, either'
+ ewarn 'reemerge kde-base/kdelibs without spell in USE or emerge'
+ ewarn 'sim with USE="spell" to avoid this message.'
+ ebeep
+ fi
+ fi
+ if ! built_with_use "=kde-base/kdelibs-3.5*" arts; then
+ myconf="--without-arts"
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-double-message-fix.patch
+ epatch "${FILESDIR}"/${P}-sslv23.patch
+ epatch ../${P}-r1919_1924.patch
+ epatch "${FILESDIR}"/${P}-old-protocol.patch
+ if use kde; then
+ set-kdedir 3
+ fi
+}
+
+src_compile() {
+ filter-flags -fstack-protector -fstack-protector-all
+
+ # Workaround for bug #119906
+ append-flags -fno-stack-protector
+
+ use kde || use spell || export DO_NOT_COMPILE="$DO_NOT_COMPILE plugins/spell"
+
+ econf ${myconf} $(use_enable kde) \
+ $(use_with ssl) \
+ $(use_enable debug) || die "econf failed"
+
+ emake -j1 || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed."
+ dodoc TODO README AUTHORS.sim jisp-resources.txt ChangeLog
+}