ports/57445: [PATCH] Update net/libyahoo2 to version 0.7.2

Seth Kingsley sethk at meowfishies.com
Wed Oct 1 04:50:15 UTC 2003


>Number:         57445
>Category:       ports
>Synopsis:       [PATCH] Update net/libyahoo2 to version 0.7.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 30 21:50:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Seth Kingsley
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
FreeBSD 5.1-CURRENT #15: Wed Sep 24 23:06:59 PDT 2003
sethk at neko.home.meowfishies.com:/usr/src/sys/i386/compile/NEKO

>Description:
	Update the net/libyahoo2 port to version 0.7.2.  This release
	includes important changes to the authentication mechanism
	allowing clients to connect after Yahoo! changed their protocol
	on 27 September.

>How-To-Repeat:
	Try to login to Yahoo! Messenger using a client linked against
	libyahoo2.

>Fix:

Index: Makefile
===================================================================
RCS file: /stor/ncvs/ports/net/libyahoo2/Makefile,v
retrieving revision 1.5
diff -u -d -p -r1.5 Makefile
--- Makefile	25 Sep 2003 11:32:55 -0000	1.5
+++ Makefile	1 Oct 2003 04:25:06 -0000
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	libyahoo2
-PORTVERSION=	0.7.1
+PORTVERSION=	0.7.2
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
Index: distinfo
===================================================================
RCS file: /stor/ncvs/ports/net/libyahoo2/distinfo,v
retrieving revision 1.3
diff -u -d -p -r1.3 distinfo
--- distinfo	25 Sep 2003 11:32:55 -0000	1.3
+++ distinfo	1 Oct 2003 04:25:25 -0000
@@ -1 +1 @@
-MD5 (libyahoo2-0.7.1.tar.bz2) = abd4397db5bfc9c7db732434aafa4c6c
+MD5 (libyahoo2-0.7.2.tar.bz2) = 095fe136bd6a2b737a37e238124aaf91
Index: pkg-plist
===================================================================
RCS file: /stor/ncvs/ports/net/libyahoo2/pkg-plist,v
retrieving revision 1.3
diff -u -d -p -r1.3 pkg-plist
--- pkg-plist	10 Jun 2003 16:24:30 -0000	1.3
+++ pkg-plist	1 Oct 2003 04:34:32 -0000
@@ -6,6 +6,6 @@ include/libyahoo2/yahoo_httplib.h
 include/libyahoo2/yahoo_list.h
 lib/libyahoo2.a
 lib/libyahoo2.so
-lib/libyahoo2.so.4
+lib/libyahoo2.so.5
 libdata/pkgconfig/libyahoo2.pc
 @dirrm include/libyahoo2
Index: files/patch-sample_client.c
===================================================================
RCS file: /stor/ncvs/ports/net/libyahoo2/files/patch-sample_client.c,v
retrieving revision 1.2
diff -u -d -p -r1.2 patch-sample_client.c
--- files/patch-sample_client.c	10 Jun 2003 16:24:30 -0000	1.2
+++ files/patch-sample_client.c	1 Oct 2003 04:36:15 -0000
@@ -1,5 +1,5 @@
---- src/sample_client.c.orig	Sat May 17 03:33:06 2003
-+++ src/sample_client.c	Wed May 21 08:38:45 2003
+--- src/sample_client.c.orig	Sun Sep 28 10:40:03 2003
++++ src/sample_client.c	Tue Sep 30 21:35:55 2003
 @@ -52,7 +52,6 @@
  #include <yahoo2_callbacks.h>
  #include "yahoo_util.h"
@@ -8,7 +8,7 @@
  
  
  #define MAX_PREF_LEN 255
-@@ -186,7 +185,6 @@
+@@ -177,7 +176,6 @@
  
  FILE *popen(const char *command, const char *type);
  int pclose(FILE *stream);
@@ -16,3 +16,21 @@
  
  static char * get_local_addresses()
  {
+@@ -577,7 +575,7 @@
+ 	if(tm) {
+ 		char timestr[255];
+ 
+-		strncpy(timestr, ctime(&tm), sizeof(timestr));
++		strncpy(timestr, ctime((time_t *)&tm), sizeof(timestr));
+ 		timestr[strlen(timestr) - 1] = '\0';
+ 
+ 		print_message(("[Offline message at %s from %s]: %s", 
+@@ -654,7 +652,7 @@
+ }
+ 
+ void ext_yahoo_got_webcam_image(int id, const char *who,
+-		unsigned char *image, unsigned int image_size, unsigned int real_size,
++		const unsigned char *image, unsigned int image_size, unsigned int real_size,
+ 		unsigned int timestamp)
+ {
+ 	static unsigned char *cur_image = NULL;


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list