Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2002 13:14:23 +0700 (OMSST)
From:      El Vampiro <vampiro@rootshell.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/38650: New port: ysm - console ICQ client with ICQ2000 and recoding support
Message-ID:  <20020528061423.6931853DE@vampiro.rootshell.ru>

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

>Number:         38650
>Category:       ports
>Synopsis:       New port: ysm - console ICQ client with ICQ2000 and recoding support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 27 23:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     El Vampiro
>Release:        FreeBSD 4.6-PRERELEASE i386
>Organization:
vampiro.rootshell.ru
>Environment:
System: FreeBSD vampiro.rsb.local 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #1: Wed May 15 16:47:43 OMSST 2002 root@vampiro.rsb.local:/usr/obj/usr/src/sys/VAMPIRO i386

>Description:
	You Sick Me - command line ICQ client with ICQ2000 and recoding support
	YSM (You Sick Me) v7 is an ICQ console client. It was originally meant 
	to run in Linux, but it has been successfully tested in FreeBSD, Win32,
	BeOS, and QNX.  YSM is based on the last ICQ protocol version, v7/8.

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ysm
#	ysm/files
#	ysm/files/patch-Makefile
#	ysm/files/patch-network
#	ysm/files/patch-setup
#	ysm/files/patch-iconv
#	ysm/Makefile
#	ysm/distinfo
#	ysm/pkg-plist
#	ysm/pkg-comment
#	ysm/pkg-descr
#
echo c - ysm
mkdir -p ysm > /dev/null 2>&1
echo c - ysm/files
mkdir -p ysm/files > /dev/null 2>&1
echo x - ysm/files/patch-Makefile
sed 's/^X//' >ysm/files/patch-Makefile << 'END-of-ysm/files/patch-Makefile'
X--- Makefile.orig	Thu Jan  1 06:00:00 1970
X+++ Makefile	Tue May 28 12:06:00 2002
X@@ -0,0 +1,10 @@
X+PROG=		ysm
X+CFLAGS+= 	-Wall -ansi -I/usr/local/include -DYSM_USE_ICONV
X+LDADD+= 	-L/usr/local/lib -liconv
X+PREFIX?=	/usr/local
X+BINDIR?=	${PREFIX}/bin
X+SRCS=		YSM_Main.c YSM_Network.c YSM_Prompt.c YSM_Setup.c \
X+		YSM_ToolBox.c YSM_Slaves.c YSM_Help.c YSM_Win32.c
X+MAN=		docs/ysm.1
X+MANDIR=	/usr/local/man/man
X+.include <bsd.prog.mk>
END-of-ysm/files/patch-Makefile
echo x - ysm/files/patch-network
sed 's/^X//' >ysm/files/patch-network << 'END-of-ysm/files/patch-network'
X--- YSM_Network.c.orig	Fri Apr 12 11:07:38 2002
X+++ YSM_Network.c	Tue May 28 11:18:47 2002
X@@ -1547,8 +1547,8 @@
X 	int log_len = 0;
X 
X #ifdef YSM_USE_ICONV
X-	if( YSM_Iconv(	YSM_SETTING_CHARSET_TRANS,
X-			YSM_SETTING_CHARSET_LOCAL,
X+	if( YSM_Iconv(	YSM_SETTING_CHARSET_LOCAL,
X+			YSM_SETTING_CHARSET_TRANS,
X 			data,
X 			&data_conv,
X 			YSM_ICONV_MAXLEN) < 0 )
END-of-ysm/files/patch-network
echo x - ysm/files/patch-setup
sed 's/^X//' >ysm/files/patch-setup << 'END-of-ysm/files/patch-setup'
X--- YSM_Setup.c.orig	Fri Apr 12 11:07:38 2002
X+++ YSM_Setup.c	Tue May 28 11:21:08 2002
X@@ -441,7 +441,7 @@
X 
X 		fprintf(YSM_CFGFD,"\n# TRANS_CHARSET is charset for transfering/receiving of messages");
X 		fprintf(YSM_CFGFD,"\n# LOCAL_CHARSET is charset for displaying/inputting of messages");
X-		fprintf(YSM_CFGFD,"\n# Russian Generic are TRANS: CP1251 LOCAL: KOI8R\n");
X+		fprintf(YSM_CFGFD,"\n# Russian Generic are TRANS: CP1251 LOCAL: KOI8-R\n");
X 		fprintf(YSM_CFGFD,"\nCHARSET_TRANS>0");
X 		fprintf(YSM_CFGFD,"\nCHARSET_LOCAL>0");
X #endif
END-of-ysm/files/patch-setup
echo x - ysm/files/patch-iconv
sed 's/^X//' >ysm/files/patch-iconv << 'END-of-ysm/files/patch-iconv'
X--- YSM_ToolBox.c.orig	Fri Apr 12 11:07:38 2002
X+++ YSM_ToolBox.c	Tue May 28 11:19:33 2002
X@@ -45,6 +45,7 @@
X #include "YSM.h"
X /* International Languages Charset Convertion! */
X #include "YSM_Iconv.h"
X+#include <iconv.h>
X 
X 
X static struct timeval tv;
X@@ -428,9 +429,12 @@
X        bytes_in  = strlen(buf_from) + 1;
X        bytes_out = maxlen - 1;
X        conv_d    = iconv_open(charset_to, charset_from);
X-       bytes_res = iconv(conv_d, &inptr, &bytes_in, &outptr, &bytes_out);
X+       if ( conv_d == (iconv_t)( -1)) { perror("iconv_open:"); return -1; }
X+       else {
X+       bytes_res = iconv(conv_d, (const char **)&inptr, &bytes_in, &outptr, &bytes_out);
X        iconv_close(conv_d);
X        return 0;
X+       }
X }
X 
X #endif
END-of-ysm/files/patch-iconv
echo x - ysm/Makefile
sed 's/^X//' >ysm/Makefile << 'END-of-ysm/Makefile'
X# New ports collection makefile for:	ysm
X# Date created:			May 28, 2002
X# Whom:				vampiro
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ysm
XPORTVERSION=	7.2.7.1
XCATEGORIES=	net
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
X		ftp://vampiro.rootshell.ru/pub/warez
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	ysmv7_2_7_1
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	vampiro@rootshell.ru
X
XLIB_DEPENDS=	iconv.3:${PORTSDIR}/converters/libiconv
X
XMAN1=		ysm.1
X
X.include <bsd.port.mk>
END-of-ysm/Makefile
echo x - ysm/distinfo
sed 's/^X//' >ysm/distinfo << 'END-of-ysm/distinfo'
XMD5 (ysmv7_2_7_1.tgz) = 75cca9a9c9b48374fdfbbc8469ef54af
END-of-ysm/distinfo
echo x - ysm/pkg-plist
sed 's/^X//' >ysm/pkg-plist << 'END-of-ysm/pkg-plist'
Xbin/ysm
END-of-ysm/pkg-plist
echo x - ysm/pkg-comment
sed 's/^X//' >ysm/pkg-comment << 'END-of-ysm/pkg-comment'
XCommand line ICQ client with ICQ2000 and recoding support
END-of-ysm/pkg-comment
echo x - ysm/pkg-descr
sed 's/^X//' >ysm/pkg-descr << 'END-of-ysm/pkg-descr'
XYou Sick Me - command line ICQ client with ICQ2000 and recoding support
X
XYSM (You Sick Me) v7 is an ICQ console client. It was originally meant to
Xrun in Linux, but it has been successfully tested in FreeBSD, Win32, BeOS,
Xand QNX. YSM is based on the last ICQ protocol version, v7/8. 
X
XWWW: http://ysmv7.sourceforge.net/
END-of-ysm/pkg-descr
exit



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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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