Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2005 17:56:01 +0200 (CEST)
From:      Martijn Lina <martijn@pacno.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/79795: [maintainer-update] net/imcom 1.33 -> 1.33p1
Message-ID:  <20050411155601.562BA41C7@home.pacno.net>
Resent-Message-ID: <200504111600.j3BG0fOW026967@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         79795
>Category:       ports
>Synopsis:       [maintainer-update] net/imcom 1.33 -> 1.33p1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 11 16:00:40 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Martijn Lina
>Release:        FreeBSD 5.4-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD 5.4-PRERELEASE i386

>Description:

Thanks to Vsevolod Stakhov, here's a patch to the latest version of net/imcom.
Notes from his email:

I have an update for your net/imcom port to 1.33p1.
I have also made patch for removing bad presence messages, that does not
confirm to JEP.

Among changes are:
* From Guillaume Emont a patch to support cleartext passwords; set the
  clearpass profile attribute to true to enable it. The account
  creator and initial setup scripts will also ask if your server needs
  it.
* From Benjamin GIGON; a patch to support tab completing nick names
  with spaces (the most often reported bug I might add)

>How-To-Repeat:

>Fix:

Please apply the following patch:


diff -ruNd net/imcom.orig/Makefile net/imcom/Makefile
--- net/imcom.orig/Makefile	Sun Jul 18 15:41:25 2004
+++ net/imcom/Makefile	Mon Apr 11 17:41:56 2005
@@ -5,7 +5,7 @@
 # $FreeBSD: ports/net/imcom/Makefile,v 1.8 2004/07/17 11:41:50 krion Exp $
 
 PORTNAME=	imcom
-PORTVERSION=	1.33
+PORTVERSION=	1.33p1
 CATEGORIES=	net
 MASTER_SITES=	http://nafai.dyndns.org/files/ \
 		http://imcom.floobin.cx/files/
diff -ruNd net/imcom.orig/distinfo net/imcom/distinfo
--- net/imcom.orig/distinfo	Sun Jul 18 15:41:26 2004
+++ net/imcom/distinfo	Mon Apr 11 17:41:56 2005
@@ -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
diff -ruNd net/imcom.orig/files/patch-IMCom.py net/imcom/files/patch-IMCom.py
--- net/imcom.orig/files/patch-IMCom.py	Thu Jan  1 01:00:00 1970
+++ net/imcom/files/patch-IMCom.py	Mon Apr 11 17:41:56 2005
@@ -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>"
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050411155601.562BA41C7>