- Update to 1.33p1

PR:		ports/79795
Submitted by:	Martijn Lina <martijn@pacno.net> (maintainer)
This commit is contained in:
Pav Lucistnik 2005-04-11 21:22:51 +00:00
parent d964895873
commit 500e33efb9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133093
6 changed files with 58 additions and 6 deletions

View File

@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= imcom
PORTVERSION= 1.33
DISTVERSION= 1.33p1
CATEGORIES= net
MASTER_SITES= http://nafai.dyndns.org/files/ \
http://imcom.floobin.cx/files/

View File

@ -1,2 +1,2 @@
MD5 (imcom-1.33.tar.gz) = 37258996233ba8a3a3bdcbab179adf70
SIZE (imcom-1.33.tar.gz) = 281661
MD5 (imcom-1.33p1.tar.gz) = 0397703023c86326961341a2394c1b34
SIZE (imcom-1.33p1.tar.gz) = 282253

View File

@ -0,0 +1,26 @@
--- IMCom.py.orig Sat Mar 26 00:34:55 2005
+++ IMCom.py Sat Mar 26 00:36:17 2005
@@ -618,7 +618,7 @@
def sendPriority(self, priority):
self.priority = priority
- tosend = "<presence type='available'>"\
+ tosend = "<presence>"\
"<show>"+self.currentStatus+"</show>"\
"<priority>"+str(priority)+"</priority>"
if(self.currentStatusReason != None or self.currentStatusReason != ""):
@@ -640,12 +640,12 @@
self.currentStatus = "online"
self.currentStatusReason = reason
if(reason == None):
- tosend = "<presence type='available'>"\
+ tosend = "<presence>"\
"<show>online</show>"\
"<priority>"+priority+"</priority>"\
"</presence>"
else:
- tosend = "<presence type='available'>"\
+ tosend = "<presence>"\
"<show>online</show><status>"+self.normalize(reason)+"</status>"\
"<priority>"+priority+"</priority>"\
"</presence>"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= imcom
PORTVERSION= 1.33
DISTVERSION= 1.33p1
CATEGORIES= net
MASTER_SITES= http://nafai.dyndns.org/files/ \
http://imcom.floobin.cx/files/

View File

@ -1,2 +1,2 @@
MD5 (imcom-1.33.tar.gz) = 37258996233ba8a3a3bdcbab179adf70
SIZE (imcom-1.33.tar.gz) = 281661
MD5 (imcom-1.33p1.tar.gz) = 0397703023c86326961341a2394c1b34
SIZE (imcom-1.33p1.tar.gz) = 282253

View File

@ -0,0 +1,26 @@
--- IMCom.py.orig Sat Mar 26 00:34:55 2005
+++ IMCom.py Sat Mar 26 00:36:17 2005
@@ -618,7 +618,7 @@
def sendPriority(self, priority):
self.priority = priority
- tosend = "<presence type='available'>"\
+ tosend = "<presence>"\
"<show>"+self.currentStatus+"</show>"\
"<priority>"+str(priority)+"</priority>"
if(self.currentStatusReason != None or self.currentStatusReason != ""):
@@ -640,12 +640,12 @@
self.currentStatus = "online"
self.currentStatusReason = reason
if(reason == None):
- tosend = "<presence type='available'>"\
+ tosend = "<presence>"\
"<show>online</show>"\
"<priority>"+priority+"</priority>"\
"</presence>"
else:
- tosend = "<presence type='available'>"\
+ tosend = "<presence>"\
"<show>online</show><status>"+self.normalize(reason)+"</status>"\
"<priority>"+priority+"</priority>"\
"</presence>"