From martijn@pacno.net  Mon Apr 11 15:56:09 2005
Return-Path: <martijn@pacno.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 33AA316A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 11 Apr 2005 15:56:09 +0000 (GMT)
Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 230B343D39
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 11 Apr 2005 15:56:04 +0000 (GMT)
	(envelope-from martijn@pacno.net)
Received: from home.pacno.net (213-84-173-121.adsl.xs4all.nl [213.84.173.121])
	by smtp-vbr4.xs4all.nl (8.12.11/8.12.11) with ESMTP id j3BFu215037576
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 11 Apr 2005 17:56:03 +0200 (CEST)
	(envelope-from martijn@pacno.net)
Received: by home.pacno.net (Postfix, from userid 1001)
	id 562BA41C7; Mon, 11 Apr 2005 17:56:01 +0200 (CEST)
Message-Id: <20050411155601.562BA41C7@home.pacno.net>
Date: Mon, 11 Apr 2005 17:56:01 +0200 (CEST)
From: Martijn Lina <martijn@pacno.net>
Reply-To: Martijn Lina <martijn@pacno.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [maintainer-update] net/imcom 1.33 -> 1.33p1
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 11 16:00:40 GMT 2005
>Closed-Date:    Mon Apr 11 21:23:13 GMT 2005
>Last-Modified:  Mon Apr 11 21:23:13 GMT 2005
>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:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Mon Apr 11 21:22:57 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79795 
>Unformatted:
