From 6f7d4f82416786f7e4667279c40d3c7f9402df75 Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Mon, 19 Mar 2012 17:10:28 +0000 Subject: [PATCH] removed this version, as the one in the tree seems to work. --- net-im/pymsn-t/Manifest | 8 -- .../files/pymsn-t-0.11.3-delete-reactor.patch | 10 -- .../files/pymsn-t-0.11.3-hashlib.patch | 111 ------------------ net-im/pymsn-t/files/pymsn-t-0.11.3-initd | 23 ---- .../pymsn-t-0.11.3-protocol-version.patch | 12 -- .../files/pymsn-t-0.11.3-remove-pid.patch | 41 ------- .../files/pymsn-t-0.11.3-unexpected-xfr.patch | 44 ------- net-im/pymsn-t/pymsn-t-0.11.3-r4.ebuild | 73 ------------ 8 files changed, 322 deletions(-) delete mode 100644 net-im/pymsn-t/Manifest delete mode 100644 net-im/pymsn-t/files/pymsn-t-0.11.3-delete-reactor.patch delete mode 100644 net-im/pymsn-t/files/pymsn-t-0.11.3-hashlib.patch delete mode 100644 net-im/pymsn-t/files/pymsn-t-0.11.3-initd delete mode 100644 net-im/pymsn-t/files/pymsn-t-0.11.3-protocol-version.patch delete mode 100644 net-im/pymsn-t/files/pymsn-t-0.11.3-remove-pid.patch delete mode 100644 net-im/pymsn-t/files/pymsn-t-0.11.3-unexpected-xfr.patch delete mode 100644 net-im/pymsn-t/pymsn-t-0.11.3-r4.ebuild diff --git a/net-im/pymsn-t/Manifest b/net-im/pymsn-t/Manifest deleted file mode 100644 index b187152..0000000 --- a/net-im/pymsn-t/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX pymsn-t-0.11.3-delete-reactor.patch 361 RMD160 ef4d492ea177658d7f7e867ef11bab3dde273164 SHA1 4a01f2fc80c287da13422532b2c75ccafa012ae0 SHA256 d989d06d9e94f1a2786dfa51e1cf715e4dc0db95583b08ce606b555aef017bae -AUX pymsn-t-0.11.3-hashlib.patch 3904 RMD160 cca534a03990025de5bf6574fad8bf3bd370c7d8 SHA1 8d2ee0012dc45f6e68499fdc70be77ff0009000d SHA256 f82767a942d9b57823883b6920c4b320bc717441bd15e63ec4438bece29de81b -AUX pymsn-t-0.11.3-initd 683 RMD160 7dfd35f2d31800e04ffd764efc1b65845311d32f SHA1 878d12e1d722d97eca2a9ba001e2dcc8797b4ceb SHA256 df24c7a7f4e8eb394daea3a5b79b0a861f72a2b56ec5c52871fb514d731231b2 -AUX pymsn-t-0.11.3-protocol-version.patch 609 RMD160 f7cc7e2f6829861f11016db35a98396d5a0cd7c8 SHA1 7144ebaac17a61767aee92ef1b4e972c86eb5325 SHA256 008aedc95f1c2020a156d941c74784ca1385f12426342885fa7ff8474365b5a3 -AUX pymsn-t-0.11.3-remove-pid.patch 1173 RMD160 53c9e2cfc63cd86fd5680059e47caa268802cfc0 SHA1 a6dac3945731183f4821e7f09852f17de3aa850a SHA256 b4a09f2af01f752a2703d14204cb954a0641afedb1be391f1b9f6f980b234845 -AUX pymsn-t-0.11.3-unexpected-xfr.patch 1984 RMD160 b4439b435857a4bd4eb0ff4a7b75572ef4413f7b SHA1 abccc3a11a7571e6f17de91c001f8f07e300c20e SHA256 0407e9e69684275b11d404e77e9b70e694e461d4c9891ee3c7d79717999a84e9 -DIST pymsnt-0.11.3.tar.gz 162549 RMD160 59e2af9eee9aa1d5b7a408b05fd520f0355556e1 SHA1 093ce984446f9edeec9d9d35a07a3958f5f656b1 SHA256 777195feb6a70b683d691c54269099d319747fad7195cca36d86df366360ce2c -EBUILD pymsn-t-0.11.3-r4.ebuild 2071 RMD160 3180b606a2e037ff1a01fae8546cf4ddb928b312 SHA1 ecc13da767ee7be4e45639368d9028e872dac134 SHA256 aa7c38c4f9130fd9961ad9f335bbf7e83749214651e25b828a97b3db64d88348 diff --git a/net-im/pymsn-t/files/pymsn-t-0.11.3-delete-reactor.patch b/net-im/pymsn-t/files/pymsn-t-0.11.3-delete-reactor.patch deleted file mode 100644 index 19ad24f..0000000 --- a/net-im/pymsn-t/files/pymsn-t-0.11.3-delete-reactor.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- pymsn-t/src/main.py 2008-09-19 10:53:30.000000000 +0200 -+++ pymsn-t/src/main.py 2008-09-19 10:55:55.000000000 +0200 -@@ -72,7 +72,6 @@ - - if config.reactor: - # They picked their own reactor. Lets install it. -- del sys.modules["twisted.internet.reactor"] - if config.reactor == "epoll": - from twisted.internet import epollreactor - epollreactor.install() diff --git a/net-im/pymsn-t/files/pymsn-t-0.11.3-hashlib.patch b/net-im/pymsn-t/files/pymsn-t-0.11.3-hashlib.patch deleted file mode 100644 index dfb5ee7..0000000 --- a/net-im/pymsn-t/files/pymsn-t-0.11.3-hashlib.patch +++ /dev/null @@ -1,111 +0,0 @@ -diff -ru pymsnt-0.11.3-vanilla/src/avatar.py pymsnt-0.11.3/src/avatar.py ---- pymsnt-0.11.3-vanilla/src/avatar.py 2008-02-08 14:55:07.000000000 +0100 -+++ pymsnt-0.11.3/src/avatar.py 2010-08-15 22:17:32.000000000 +0200 -@@ -5,8 +5,8 @@ - - from twisted.internet import reactor - from twisted.words.xish.domish import Element -- --import sha, base64, os, os.path -+from hashlib import sha1 -+import base64, os, os.path - - import utils - import config -@@ -34,7 +34,7 @@ - class Avatar: - """ Represents an Avatar. Does not store the image in memory. """ - def __init__(self, imageData, avatarCache): -- self.__imageHash = sha.sha(imageData).hexdigest() -+ self.__imageHash = sha1(imageData).hexdigest() - self.__avatarCache = avatarCache - - def getImageHash(self): -diff -ru pymsnt-0.11.3-vanilla/src/legacy/msn/msn.py pymsnt-0.11.3/src/legacy/msn/msn.py ---- pymsnt-0.11.3-vanilla/src/legacy/msn/msn.py 2008-02-08 14:55:07.000000000 +0100 -+++ pymsnt-0.11.3/src/legacy/msn/msn.py 2010-08-15 22:22:18.000000000 +0200 -@@ -106,7 +106,8 @@ - - - # System imports --import types, operator, os, sys, base64, random, struct, random, sha, base64, StringIO, array, codecs, binascii -+import types, operator, os, sys, base64, random, struct, random, base64, StringIO, array, codecs, binascii -+from hashlib import sha1 - from urllib import quote, unquote - - -@@ -490,7 +491,7 @@ - self.type = 3 - self.location = "TMP" + str(random.randint(1000,9999)) - self.friendly = "AAA=" -- self.sha1d = b64enc(sha.sha(imageData).digest()) -+ self.sha1d = b64enc(sha1(imageData).digest()) - self.makeText() - - def setNull(self): -@@ -518,7 +519,7 @@ - h.append(self.friendly) - h.append("SHA1D") - h.append(self.sha1d) -- sha1c = b64enc(sha.sha("".join(h)).digest()) -+ sha1c = b64enc(sha1("".join(h)).digest()) - self.text = '' % (self.creator, str(self.size), str(self.type), self.location, self.friendly, self.sha1d, sha1c) - - def parse(self, s): -diff -ru pymsnt-0.11.3-vanilla/src/legacy/msn/msnp11chl.py pymsnt-0.11.3/src/legacy/msn/msnp11chl.py ---- pymsnt-0.11.3-vanilla/src/legacy/msn/msnp11chl.py 2008-02-08 14:55:07.000000000 +0100 -+++ pymsnt-0.11.3/src/legacy/msn/msnp11chl.py 2010-08-15 22:34:02.000000000 +0200 -@@ -1,7 +1,7 @@ - # Copyright 2005 James Bunton - # Licensed for distribution under the GPL version 2, check COPYING for details - --import md5 -+from hashlib import md5 - import struct - - MSNP11_PRODUCT_ID = "PROD0090YUAUV{2B" -@@ -10,7 +10,7 @@ - - - def doChallenge(chlData): -- md5digest = md5.md5(chlData + MSNP11_PRODUCT_KEY).digest() -+ md5digest = md5(chlData + MSNP11_PRODUCT_KEY).digest() - - # Make array of md5 string ints - md5Ints = struct.unpack("[^\<]* -->:/var/spool/jabber:" \ - /etc/jabber/${PN}.xml - dosed \ - "s:[^\<]*:/var/run/jabber/${PN}.pid:" \ - /etc/jabber/${PN}.xml - dosed \ - "s:[^\<]*:example.org:" \ - /etc/jabber/${PN}.xml - dosed \ - "s:msn:msn.example.org:" \ - /etc/jabber/${PN}.xml - - newinitd "${FILESDIR}/${P}-initd" ${PN} - dosed "s:INSPATH:${inspath}:" /etc/init.d/${PN} -} - -pkg_postinst() { - python_mod_optimize $(python_get_sitedir)/${PN} - - elog "A sample configuration file has been installed in /etc/jabber/${PN}.xml." - elog "Please edit it and the configuration of your Jabber server to match." -} - -pkg_postrm() { - python_mod_cleanup $(python_get_sitedir)/${PN} -}