Subject: pkg/19251: chat/ysm MAINTAINER UPDATE
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dawszy@arhea.net>
List: netbsd-bugs
Date: 12/03/2002 10:13:46
>Number:         19251
>Category:       pkg
>Synopsis:       2.7.1 -> 2.8.1 ysm update
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 03 01:15:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6
>Organization:


Cytat:
"Środki nie mogą determinować celu" - J.S. Bruner

-- 
Dawid Szymański

W tej wiadomości wyraziłem swoje prywatne poglądy, które nie mają
nic wspólnego z moimi byłymi, obecnymi i przyszłymi pracodawcami.
>Environment:
	
	
System: NetBSD foo.arhea.net 1.6 NetBSD 1.6 (FOO) #0: Thu Nov 28 20:44:46 CET 2002 dawszy@foo.arhea.net:/usr/src/sys/arch/i386/compile/FOO i386
Architecture: i386
Machine: i386
>Description:
	
	We are moving ysm 2.7.1 -> ysm 2.8.1
	Some of changes:
+ Removed the WARNING while saving slaves to the icq servers.
+ Fixed some Network handling variables for better network perfomance.
+ IMPORTANT ::
Added support for threads. If your system lacks of pthreads support, or you have
any problems at all, comment out the line which says "YSM_WITH_THREADS" in the
file "YSM.h".
+ Fixed the Version Checking function!
+ New code structure (you can find src/ and src/man directories now), and new configuration scripts and makefiles :) cool huh :).
+ Updated the manual page (Thanks tx!)

Read more on: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ysmv7/ysmv7/ChangeLog?rev=HEAD&content-type=text/vnd.viewcvs-markup

>How-To-Repeat:
	
	Aplly following patch, and create patches/patch-aa from pasted file
>Fix:
	

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/chat/ysm/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	2002/06/13 08:34:01	1.3
+++ Makefile	2002/12/03 09:05:50
@@ -1,8 +1,8 @@
 # $NetBSD: Makefile,v 1.3 2002/06/13 08:34:01 martti Exp $
 #
 
-DISTNAME=	ysmv7_2_7_1
-PKGNAME=	ysm-2.7.1
+DISTNAME=	ysmv7_2_8_1
+PKGNAME=	ysm-2.8.1
 CATEGORIES=	chat
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=ysmv7/}
 EXTRACT_SUFX=	.tgz
@@ -11,10 +11,8 @@
 HOMEPAGE=	http://ysmv7.sourceforge.net/
 COMMENT=	The 'You Sick Me' terminal based ICQ client
 
-MAKEFILE=	BSDmakefile
+GNU_CONFIGURE=	YES
+USE_BUILDLINK2=   YES
 
-do-install:
-	${CP} ${WRKSRC}/ysm ${PREFIX}/bin/ysm
-	${CP} ${WRKSRC}/docs/ysm.1 ${PREFIX}/man/man1/
-
+.include "../../devel/pth/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/chat/ysm/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- PLIST	2002/06/13 08:34:01	1.2
+++ PLIST	2002/12/03 09:05:50
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.2 2002/06/13 08:34:01 martti Exp $
+@comment $NetBSD$
 bin/ysm
 man/man1/ysm.1
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/chat/ysm/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	2002/06/13 08:34:01	1.3
+++ distinfo	2002/12/03 09:05:50
@@ -1,4 +1,5 @@
 $NetBSD: distinfo,v 1.3 2002/06/13 08:34:01 martti Exp $
 
-SHA1 (ysmv7_2_7_1.tgz) = 7e06aceed66ce0432fab277e61bf02d55197780d
-Size (ysmv7_2_7_1.tgz) = 85896 bytes
+SHA1 (ysmv7_2_8_1.tgz) = 10c31ffcda73874b79d69b3fca56fcf3ede1e369
+Size (ysmv7_2_8_1.tgz) = 192755 bytes
+SHA1 (patch-aa) = 49fcf44c66ec8bac25ce71085f5e2ae73f7e98d9


patches/patch-aa:


$NetBSD$

--- src/Makefile.in.orig	Mon Oct 28 16:51:29 2002
+++ src/Makefile.in
@@ -7,7 +7,7 @@
 CC=		@CC@
 CFLAGS=		@CFLAGS@
 CPPFLAGS=	-I. -Irijndael
-LIBS=		@LIBS@
+LIBS=		-Wl,-R${PREFIX}/lib -L${PREFIX}/lib @LIBS@
 
 INSTALL=	@INSTALL@
 prefix=		@prefix@
>Release-Note:
>Audit-Trail:
>Unformatted: