From nobody@FreeBSD.ORG Tue Dec  7 14:48:07 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 558FC14FD2; Tue,  7 Dec 1999 14:48:07 -0800 (PST)
Message-Id: <19991207224807.558FC14FD2@hub.freebsd.org>
Date: Tue,  7 Dec 1999 14:48:07 -0800 (PST)
From: paxvel@iname.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: Port update: net/icqlib
X-Send-Pr-Version: www-1.0

>Number:         15343
>Category:       ports
>Synopsis:       Port update: net/icqlib
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec  7 14:50:01 PST 1999
>Closed-Date:    Thu Dec 23 10:10:05 PST 1999
>Last-Modified:  Thu Dec 23 10:12:11 PST 1999
>Originator:     Pavel Andreev
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
Expert&Partner engineering
>Environment:
>Description:

>How-To-Repeat:

>Fix:
diff -urN icqlib.orig/Makefile icqlib/Makefile
--- icqlib.orig/Makefile        Mon Aug 30 16:22:59 1999
+++ icqlib/Makefile     Tue Dec  7 22:43:08 1999
@@ -8,7 +8,7 @@
 
 DISTNAME=      icqlib-0.1.3
 CATEGORIES=    net
-MASTER_SITES=  http://www.cn.ua/~denis/kde/
+MASTER_SITES=  http://download.sourceforge.net/icqlib/
 
 MAINTAINER=    paxvel@iname.com
 
diff -urN icqlib.orig/patches/patch-ac icqlib/patches/patch-ac
--- icqlib.orig/patches/patch-ac        Thu Jan  1 01:00:00 1970
+++ icqlib/patches/patch-ac     Tue Dec  7 22:51:08 1999
@@ -0,0 +1,18 @@
+*** icqlib/icqlib.c.0  Tue Dec  8 17:04:12 1998
+--- icqlib/icqlib.c    Tue Dec  7 22:48:51 1999
+***************
+*** 810,815 ****
+--- 810,822 ----
+        (*icq_Log)(time(0L), ICQ_LOG_FATAL, "Socket creation failed\n");
+      return -1;
+    }
++ #ifdef IP_PORTRANGE
++   {
++     int i=IP_PORTRANGE_HIGH;
++     if (setsockopt(icq_Sok, IPPROTO_IP, IP_PORTRANGE, &i, sizeof(i))<0)
++       return -1;
++   }
++ #endif
+    if(icq_Log && icq_LogLevel>=ICQ_LOG_MESSAGE)
+      (*icq_Log)(time(0L), ICQ_LOG_MESSAGE, "Socket created attempting to conne
ct\n");
+    sin.sin_addr.s_addr = INADDR_ANY;


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Thu Dec 23 10:10:05 PST 1999 
State-Changed-Why:  
Committed, thanks! 
>Unformatted:
