summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-10-08 14:16:51 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-10-08 14:16:51 +0000
commit32c5e1c638c47c44839b586c5b34536f481e9a68 (patch)
treea7b58db0616a904bba883e8d38bd968176df4411 /net-im/curphoo
parentmoved gyach from net-misc to net-im (diff)
downloadgentoo-2-32c5e1c638c47c44839b586c5b34536f481e9a68.tar.gz
gentoo-2-32c5e1c638c47c44839b586c5b34536f481e9a68.tar.bz2
gentoo-2-32c5e1c638c47c44839b586c5b34536f481e9a68.zip
moved curphoo from net-misc to net-im
Diffstat (limited to 'net-im/curphoo')
-rw-r--r--net-im/curphoo/ChangeLog45
-rw-r--r--net-im/curphoo/Manifest13
-rw-r--r--net-im/curphoo/curphoo-0.03.2.ebuild37
-rw-r--r--net-im/curphoo/curphoo-0.3.5.ebuild36
-rw-r--r--net-im/curphoo/curphoo-0.3.7-r1.ebuild37
-rw-r--r--net-im/curphoo/curphoo-0.3.7.ebuild36
-rw-r--r--net-im/curphoo/curphoo-0.3.9.ebuild36
-rw-r--r--net-im/curphoo/files/curphoo.sh4
-rw-r--r--net-im/curphoo/files/digest-curphoo-0.03.21
-rw-r--r--net-im/curphoo/files/digest-curphoo-0.3.51
-rw-r--r--net-im/curphoo/files/digest-curphoo-0.3.71
-rw-r--r--net-im/curphoo/files/digest-curphoo-0.3.7-r11
-rw-r--r--net-im/curphoo/files/digest-curphoo-0.3.91
-rw-r--r--net-im/curphoo/files/encodep.py-gentoo.patch98
14 files changed, 347 insertions, 0 deletions
diff --git a/net-im/curphoo/ChangeLog b/net-im/curphoo/ChangeLog
new file mode 100644
index 000000000000..cf6402fff5df
--- /dev/null
+++ b/net-im/curphoo/ChangeLog
@@ -0,0 +1,45 @@
+# ChangeLog for net-misc/curphoo
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/curphoo/ChangeLog,v 1.1 2003/10/08 14:16:43 lanius Exp $
+
+*curphoo-0.3.7-r1 (08 Oct 2003)
+
+ 08 Oct 2003; Heinrich Wendel <lanius@gentoo.org> curphoo-0.03.2.ebuild,
+ curphoo-0.3.5.ebuild, curphoo-0.3.7-r1.ebuild, curphoo-0.3.7.ebuild,
+ curphoo-0.3.9.ebuild, files/curphoo.sh, files/encodep.py-gentoo.patch:
+ moved from net-misc to net-im
+
+*curphoo-0.3.9 (28 Sep 2003)
+
+ 28 Sep 2003; Matthew Kennedy <mkennedy@gentoo.org> curphoo-0.3.9.ebuild:
+ new upstream
+
+*curphoo-0.3.7-r1 (25 Sep 2003)
+
+ 25 Sep 2003; Matthew Kennedy <mkennedy@gentoo.org> curphoo-0.3.7-r1.ebuild,
+ files/encodep.py-gentoo.patch:
+ patch for proto change
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*curphoo-0.3.7 (01 Oct 2002)
+
+ 01 Oct 2002; Brad Cowan <bcowan@gentoo.org> curphoo-0.3.7.ebuild,
+ ChangeLog, files/digest-curphoo-0.3.7 :
+
+ Version bump.
+
+*curphoo-0.3.5 (6 Sep 2002)
+
+ 6 Sep 2002; Matthew Kennedy <mkennedy@gentoo.org> ChangeLog,
+ curphoo-0.3.5.ebuild, files/digest-curphoo-0.3.5, files/curphoo.sh :
+
+ Minor version update and fix for terminal setting.
+
+*curphoo-0.03.2 (04 Aug 2002)
+
+ 04 Aug 2002; Matthew Kennedy <mkennedy@gentoo.org> ChangeLog,
+ curphoo-0.03.2.ebuild, files/digest-curphoo-0.03.2, files/curphoo.sh:
+
+ Initial import.
+
diff --git a/net-im/curphoo/Manifest b/net-im/curphoo/Manifest
new file mode 100644
index 000000000000..6ff496d42090
--- /dev/null
+++ b/net-im/curphoo/Manifest
@@ -0,0 +1,13 @@
+MD5 84b7cc09861ce64e0ee3866acc3a60ec curphoo-0.3.5.ebuild 915
+MD5 1d96e54d7c9ce8683bce9ff9e78999db curphoo-0.03.2.ebuild 961
+MD5 a79b9d443c04fb48c958db18e229ec2e curphoo-0.3.7.ebuild 907
+MD5 7441acc9e5c4f60a7962ce0add10ea24 curphoo-0.3.9.ebuild 985
+MD5 488da8bac015f8c1fb31eca6ccf37ad9 curphoo-0.3.7-r1.ebuild 956
+MD5 7f694de29691691169e191b415c910c9 ChangeLog 1438
+MD5 bf702c387489441cb06e3c1239d0ba29 files/encodep.py-gentoo.patch 4290
+MD5 61bb02be86a70981da3d3cf3e61d70db files/digest-curphoo-0.3.5 65
+MD5 7f42d8dc52c330035bee1818bc2b1be7 files/digest-curphoo-0.3.7 65
+MD5 6f0a2c26f1e8249c199f0029a6d1476f files/digest-curphoo-0.3.9 64
+MD5 7f42d8dc52c330035bee1818bc2b1be7 files/digest-curphoo-0.3.7-r1 65
+MD5 3b04b3a217cdf5e53eb3387d8253094c files/digest-curphoo-0.03.2 66
+MD5 764acbdbc75119813fd516d6132eb61f files/curphoo.sh 108
diff --git a/net-im/curphoo/curphoo-0.03.2.ebuild b/net-im/curphoo/curphoo-0.03.2.ebuild
new file mode 100644
index 000000000000..01be4e5f705e
--- /dev/null
+++ b/net-im/curphoo/curphoo-0.03.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/curphoo/curphoo-0.03.2.ebuild,v 1.1 2003/10/08 14:16:43 lanius Exp $
+
+DESCRIPTION="Curphoo is a console Yahoo! Chat client written in Python"
+HOMEPAGE="http://www.waduck.com/~curphoo/"
+SRC_URI="http://www.waduck.com/~curphoo/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 sparc "
+
+RDEPEND="virtual/glibc >=dev-lang/python-2.1 >=sys-libs/ncurses-5.2"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cp ${FILESDIR}/curphoo.sh curphoo.sh.templ
+ sed -e "s#@PHOOPATH@#${P}#" curphoo.sh.templ >curphoo.sh
+}
+
+src_compile() {
+ make || die
+}
+
+src_install () {
+ dodoc BUGS CHANGELOG README gpl.txt TODO floo2phoo
+# dolib.so cursexmodule.so YahooMD5module.so
+ dodir /usr/lib/${P}
+ mv curphoo curphoo.py
+ cp *.py *.so ${D}/usr/lib/${P}
+
+ mv curphoo.sh curphoo
+ dobin curphoo
+}
diff --git a/net-im/curphoo/curphoo-0.3.5.ebuild b/net-im/curphoo/curphoo-0.3.5.ebuild
new file mode 100644
index 000000000000..83b1e6ad9f90
--- /dev/null
+++ b/net-im/curphoo/curphoo-0.3.5.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/curphoo/curphoo-0.3.5.ebuild,v 1.1 2003/10/08 14:16:43 lanius Exp $
+
+DESCRIPTION="Curphoo is a console Yahoo! Chat client written in Python"
+HOMEPAGE="http://www.waduck.com/~curphoo/"
+SRC_URI="http://www.waduck.com/~curphoo/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 sparc "
+
+RDEPEND="virtual/glibc >=dev-lang/python-2.1 >=sys-libs/ncurses-5.2"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cp ${FILESDIR}/curphoo.sh curphoo.sh.templ
+ sed -e "s#@PHOOPATH@#${P}#" curphoo.sh.templ >curphoo.sh
+}
+
+src_compile() {
+ make || die
+}
+
+src_install () {
+ dodoc BUGS CHANGELOG README gpl.txt TODO floo2phoo
+ dodir /usr/lib/${P}
+ mv curphoo curphoo.py
+ cp *.py *.so ${D}/usr/lib/${P}
+
+ mv curphoo.sh curphoo
+ dobin curphoo
+}
diff --git a/net-im/curphoo/curphoo-0.3.7-r1.ebuild b/net-im/curphoo/curphoo-0.3.7-r1.ebuild
new file mode 100644
index 000000000000..9f837a38f303
--- /dev/null
+++ b/net-im/curphoo/curphoo-0.3.7-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/curphoo/curphoo-0.3.7-r1.ebuild,v 1.1 2003/10/08 14:16:43 lanius Exp $
+
+DESCRIPTION="Curphoo is a console Yahoo! Chat client written in Python"
+HOMEPAGE="http://www.waduck.com/~curphoo/"
+SRC_URI="http://www.waduck.com/~curphoo/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 sparc "
+
+RDEPEND="virtual/glibc >=dev-lang/python-2.1 >=sys-libs/ncurses-5.2"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/encodep.py-gentoo.patch
+ cp ${FILESDIR}/curphoo.sh curphoo.sh.templ
+ sed -e "s#@PHOOPATH@#${P}#" curphoo.sh.templ >curphoo.sh
+}
+
+src_compile() {
+ make || die
+}
+
+src_install () {
+ dodoc BUGS CHANGELOG README TODO floo2phoo
+ dodir /usr/lib/${P}
+ mv curphoo curphoo.py
+ cp *.py *.so ${D}/usr/lib/${P}
+
+ mv curphoo.sh curphoo
+ dobin curphoo
+}
diff --git a/net-im/curphoo/curphoo-0.3.7.ebuild b/net-im/curphoo/curphoo-0.3.7.ebuild
new file mode 100644
index 000000000000..c8c0fe14623c
--- /dev/null
+++ b/net-im/curphoo/curphoo-0.3.7.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/curphoo/curphoo-0.3.7.ebuild,v 1.1 2003/10/08 14:16:43 lanius Exp $
+
+DESCRIPTION="Curphoo is a console Yahoo! Chat client written in Python"
+HOMEPAGE="http://www.waduck.com/~curphoo/"
+SRC_URI="http://www.waduck.com/~curphoo/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 sparc "
+
+RDEPEND="virtual/glibc >=dev-lang/python-2.1 >=sys-libs/ncurses-5.2"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cp ${FILESDIR}/curphoo.sh curphoo.sh.templ
+ sed -e "s#@PHOOPATH@#${P}#" curphoo.sh.templ >curphoo.sh
+}
+
+src_compile() {
+ make || die
+}
+
+src_install () {
+ dodoc BUGS CHANGELOG README TODO floo2phoo
+ dodir /usr/lib/${P}
+ mv curphoo curphoo.py
+ cp *.py *.so ${D}/usr/lib/${P}
+
+ mv curphoo.sh curphoo
+ dobin curphoo
+}
diff --git a/net-im/curphoo/curphoo-0.3.9.ebuild b/net-im/curphoo/curphoo-0.3.9.ebuild
new file mode 100644
index 000000000000..10fce9130a22
--- /dev/null
+++ b/net-im/curphoo/curphoo-0.3.9.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/curphoo/curphoo-0.3.9.ebuild,v 1.1 2003/10/08 14:16:43 lanius Exp $
+
+DESCRIPTION="Curphoo is a console Yahoo! Chat client written in Python"
+HOMEPAGE="http://www.waduck.com/~curphoo/
+ https://savannah.nongnu.org/projects/curphoo/"
+SRC_URI="http://savannah.nongnu.org/download/curphoo/curphoo.pkg/${PV}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 sparc "
+
+RDEPEND="virtual/glibc >=dev-lang/python-2.1 >=sys-libs/ncurses-5.2"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cp ${FILESDIR}/curphoo.sh curphoo.sh.templ
+ sed -e "s#@PHOOPATH@#${P}#" curphoo.sh.templ >curphoo.sh
+}
+
+src_compile() {
+ make || die
+}
+
+src_install () {
+ dodoc BUGS CHANGELOG README TODO floo2phoo
+ dodir /usr/lib/${P}
+ mv curphoo curphoo.py
+ cp *.py *.so ${D}/usr/lib/${P}
+ mv curphoo.sh curphoo
+ dobin curphoo
+}
diff --git a/net-im/curphoo/files/curphoo.sh b/net-im/curphoo/files/curphoo.sh
new file mode 100644
index 000000000000..2f6c97ee1340
--- /dev/null
+++ b/net-im/curphoo/files/curphoo.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+export PYTHONPATH=${PYTHONPATH}:@PHOOPATH@
+export TERM=linux
+exec /usr/lib/@PHOOPATH@/curphoo.py
diff --git a/net-im/curphoo/files/digest-curphoo-0.03.2 b/net-im/curphoo/files/digest-curphoo-0.03.2
new file mode 100644
index 000000000000..5cacd35b17e9
--- /dev/null
+++ b/net-im/curphoo/files/digest-curphoo-0.03.2
@@ -0,0 +1 @@
+MD5 cdc097c38f9b2c50c4262dc130255ecb curphoo-0.03.2.tar.bz2 42553
diff --git a/net-im/curphoo/files/digest-curphoo-0.3.5 b/net-im/curphoo/files/digest-curphoo-0.3.5
new file mode 100644
index 000000000000..cddaf025b2a9
--- /dev/null
+++ b/net-im/curphoo/files/digest-curphoo-0.3.5
@@ -0,0 +1 @@
+MD5 6d207f1e043b3df7989630db7b8b1426 curphoo-0.3.5.tar.bz2 53125
diff --git a/net-im/curphoo/files/digest-curphoo-0.3.7 b/net-im/curphoo/files/digest-curphoo-0.3.7
new file mode 100644
index 000000000000..d4111c02e472
--- /dev/null
+++ b/net-im/curphoo/files/digest-curphoo-0.3.7
@@ -0,0 +1 @@
+MD5 011c0aa9fc721ecc94ed8ff48d185c4b curphoo-0.3.7.tar.bz2 53749
diff --git a/net-im/curphoo/files/digest-curphoo-0.3.7-r1 b/net-im/curphoo/files/digest-curphoo-0.3.7-r1
new file mode 100644
index 000000000000..d4111c02e472
--- /dev/null
+++ b/net-im/curphoo/files/digest-curphoo-0.3.7-r1
@@ -0,0 +1 @@
+MD5 011c0aa9fc721ecc94ed8ff48d185c4b curphoo-0.3.7.tar.bz2 53749
diff --git a/net-im/curphoo/files/digest-curphoo-0.3.9 b/net-im/curphoo/files/digest-curphoo-0.3.9
new file mode 100644
index 000000000000..3b75855ce305
--- /dev/null
+++ b/net-im/curphoo/files/digest-curphoo-0.3.9
@@ -0,0 +1 @@
+MD5 5e3bec5b7d0ab4450a9884512879e3fc curphoo-0.3.9.tar.gz 66429
diff --git a/net-im/curphoo/files/encodep.py-gentoo.patch b/net-im/curphoo/files/encodep.py-gentoo.patch
new file mode 100644
index 000000000000..7c6b8b73437f
--- /dev/null
+++ b/net-im/curphoo/files/encodep.py-gentoo.patch
@@ -0,0 +1,98 @@
+--- encodep.py~ 2002-09-28 21:41:47.000000000 -0500
++++ encodep.py 2003-09-25 10:03:44.797532368 -0500
+@@ -31,22 +31,22 @@
+
+ # new stuff (ymsg 9 packets)
+ def verify_server():
+- return struct.pack("!4slhhll", "YMSG", 0x9000000, 0, 0x4c, 0, 0)
++ return struct.pack("!4slhhll", "YMSG", 0x000b0000, 0, 0x4c, 0, 0)
+
+ def request_key(user):
+ data = "1\xC0\x80%s\xC0\x80" % user
+ fmt = "!4slhhll%ss" % len(data)
+- return struct.pack(fmt, "YMSG", 0x9000000, len(data), 0x57, 0, 0, data)
++ return struct.pack(fmt, "YMSG", 0x000b0000, len(data), 0x57, 0, 0, data)
+
+ def m9_login(user, key1, key2):
+ data = "0\xC0\x80%s\xC0\x80%s\xC0\x80%s\xC0\x80%s\xC0\x80%s\xC0\x80%s\xC0\x80%s\xC0\x80%s\xC0\x80%s\xC0\x80" % (user, '6', key1, '96', key2, '2', user, '1', user)
+ fmt = "!4slhhll%ss" % len(data)
+- return struct.pack(fmt, "YMSG", 0x9000000, len(data), 0x54, 0x5a55aa55, 0, data)
++ return struct.pack(fmt, "YMSG", 0x000b0000, len(data), 0x54, 0x5a55aa55, 0, data)
+
+ def m9_ping(user, sessionID):
+ data = "109\xC0\x80%s\xC0\x80" % user
+ fmt = "!4slhhll%ss" % len(data)
+- return struct.pack(fmt, "YMSG", 0x9000000, len(data), 0xa1, 0, sessionID, data)
++ return struct.pack(fmt, "YMSG", 0x000b0000, len(data), 0xa1, 0, sessionID, data)
+
+ def m9_comment(user, room, text, sessionID):
+ data = '1%s%s%s104%s%s%s117%s%s%s124%s%s%s' % (
+@@ -55,7 +55,7 @@
+ '\xC0\x80', text, '\xC0\x80',
+ '\xC0\x80', '1', '\xC0\x80')
+ fmt = "!4slhhll%ss" % len(data)
+- return struct.pack(fmt, "YMSG", 0x9000000, len(data), 0xa8, 0, sessionID, data)
++ return struct.pack(fmt, "YMSG", 0x000b0000, len(data), 0xa8, 0, sessionID, data)
+
+ def m9_emote(user, room, text, sessionID):
+ data = '1%s%s%s104%s%s%s117%s%s%s124%s%s%s' % (
+@@ -64,7 +64,7 @@
+ '\xC0\x80', text, '\xC0\x80',
+ '\xC0\x80', '2', '\xC0\x80')
+ fmt = "!4slhhll%ss" % len(data)
+- return struct.pack(fmt, "YMSG", 0x9000000, len(data), 0xa8, 0, sessionID, data)
++ return struct.pack(fmt, "YMSG", 0x000b0000, len(data), 0xa8, 0, sessionID, data)
+
+ def m9_thought(user, room, text, sessionID):
+ data = '1%s%s%s104%s%s%s117%s. o O ( %s )%s124%s%s%s' % (
+@@ -73,7 +73,7 @@
+ '\xC0\x80', text, '\xC0\x80',
+ '\xC0\x80', '3', '\xC0\x80')
+ fmt = "!4slhhll%ss" % len(data)
+- return struct.pack(fmt, "YMSG", 0x9000000, len(data), 0xa8, 0, sessionID, data)
++ return struct.pack(fmt, "YMSG", 0x000b0000, len(data), 0xa8, 0, sessionID, data)
+
+ def m9_addbuddy(user, friend, sessionID):
+ data = '1%s%s%s7%s%s%s65%s%s%s14%s%s%s' % (
+@@ -91,7 +91,7 @@
+ '\xC0\x80', room, '\xC0\x80',
+ '\xC0\x80', "0", '\xC0\x80')
+ fmt = "!4slhhll%ss" % len(data)
+- return struct.pack(fmt, "YMSG", 0x9000000, len(data), 0x98, 0, sessionID, data)
++ return struct.pack(fmt, "YMSG", 0x000b0000, len(data), 0x98, 0, sessionID, data)
+
+ def m9_online(user, sessionID):
+ data = '109%s%s%s1%s%s%s6%s%s%s' % (
+@@ -99,7 +99,7 @@
+ '\xC0\x80', user, '\xC0\x80',
+ '\xC0\x80', "abcde", '\xC0\x80')
+ fmt = "!4slhhll%ss" % len(data)
+- return struct.pack(fmt, "YMSG", 0x9000000, len(data), 0x96, 0, sessionID, data)
++ return struct.pack(fmt, "YMSG", 0x000b0000, len(data), 0x96, 0, sessionID, data)
+
+ def m9_goAway(text, sessionID):
+ data = '%s\xC0\x80%s\xC0\x80%s\xC0\x80%s\xC0\x80%s\xC0\x80%s' % ("10", "99", "19", text, "47", "0")
+@@ -119,7 +119,7 @@
+ '%s%s%s%s' % ("63", DELIM, ";0", DELIM),
+ '%s%s%s%s' % ("64", DELIM, "0", DELIM)])
+ fmt = "!4slhhll%ss" % len(data)
+- return struct.pack(fmt, "YMSG", 0x9000000, len(data), 0x06, 0x5a55aa55, sessionID, data)
++ return struct.pack(fmt, "YMSG", 0x000b0000, len(data), 0x06, 0x5a55aa55, sessionID, data)
+
+ def m9_goto(user, otheruser, sessionID):
+ data = ''.join([
+@@ -127,12 +127,12 @@
+ '%s%s%s%s' % ("1", DELIM, user, DELIM),
+ '%s%s%s%s' % ("62", DELIM, "2", DELIM)])
+ fmt = "!4slhhll%ss" % len(data)
+- return struct.pack(fmt, "YMSG", 0x9000000, len(data), 0x97, 0, sessionID, data)
++ return struct.pack(fmt, "YMSG", 0x000b0000, len(data), 0x97, 0, sessionID, data)
+
+ def m9_logout(user, sessionID):
+ data = "%s%s%s%s" % ("1", DELIM, user, DELIM)
+ fmt = "!4slhhll%ss" % len(data)
+- return struct.pack(fmt, "YMSG", 0x9000000, len(data), 0xa0, 0, sessionID, data)
++ return struct.pack(fmt, "YMSG", 0x000b0000, len(data), 0xa0, 0, sessionID, data)
+
+ # end of new stuff (ymsg 9 packets)
+ def do(d):