Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2003 15:33:57 +0300 (MSK)
From:      Seva Gluschenko <gvs@rinet.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46863: tin newsreader improperly deals with charsets
Message-ID:  <200301081233.h08CXvfq060888@road.demos.su>

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

>Number:         46863
>Category:       ports
>Synopsis:       tin newsreader improperly deals with charsets
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 08 04:40:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Seva Gluschenko
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
JSC Demos-Internet http://www.demos-internet.ru/
>Environment:
System: FreeBSD road.demos.su 4.7-STABLE FreeBSD 4.7-STABLE #1: Mon Oct 14 18:39:28 MSD 2002 gvs@road.demos.su:/usr/local/obj/usr/local/src/sys/ROAD i386


	
>Description:
	When using tin newsreader from ports collection for reading national
	newsgroups you're finishing soon with messages full of question marks
	because tin was configured for strict MM_CHARSET obeyance.
>How-To-Repeat:
	Just update ports collection, then cd to news/tin and type

	make all install

	After tin package is built and installed. run it and watch results.

>Fix:

	Just add --disable-mime-strict-charset to configure options, as follows:

--- Makefile.orig       Wed Jan  8 15:25:11 2003
+++ Makefile    Wed Jan  8 15:25:27 2003
@@ -32,6 +32,7 @@
                --with-screen=ncurses \
                --enable-break-long-lines \
                --with-libiconv-prefix=${LOCALBASE} \
+               --disable-mime-strict-charset \
                --with-mime-default-charset=US-ASCII
 CONFIGURE_ENV=  CFLAGS='${CFLAGS} -DNNTP_SERVER_FILE="\"${PREFIX}/etc/nntpserver\""' \
                CPPFLAGS='${CPPFLAGS} -I${LOCALBASE}/include' \

	It might be preferable also to change

	--with-mime-default-charset=US-ASCII

	to smth like

	--with-mime-default-charset=${MM_CHARSET:-US-ASCII},

	but the only --disable-mime-strict-charset switch has a principal
	meaning.

	Worth of mentioning, tin has now --with-x and --with-Xaw3d configure
	options which might be added to the user selectable conditional
	includes (consider it the wish list).

	Finally, it's better to display the message like libxml2 port does, to
	let the user choose the desirable options for building tin.

	That's all, thank you in advance.
>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?200301081233.h08CXvfq060888>