From owner-freebsd-ports Wed Jan 8 4:40: 5 2003 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6621B37B401 for ; Wed, 8 Jan 2003 04:40:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9354743EE6 for ; Wed, 8 Jan 2003 04:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h08Ce2NS025978 for ; Wed, 8 Jan 2003 04:40:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h08Ce2jl025977; Wed, 8 Jan 2003 04:40:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D247437B401 for ; Wed, 8 Jan 2003 04:34:11 -0800 (PST) Received: from road.demos.su (road.demos.su [194.87.2.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2C4643EE1 for ; Wed, 8 Jan 2003 04:34:10 -0800 (PST) (envelope-from gvs@road.demos.su) Received: from road.demos.su (localhost [127.0.0.1]) by road.demos.su (8.12.6/8.12.6) with ESMTP id h08CXwYI060889 for ; Wed, 8 Jan 2003 15:33:58 +0300 (MSK) (envelope-from gvs@road.demos.su) Received: (from root@localhost) by road.demos.su (8.12.6/8.12.6/Submit) id h08CXvfq060888; Wed, 8 Jan 2003 15:33:57 +0300 (MSK) Message-Id: <200301081233.h08CXvfq060888@road.demos.su> Date: Wed, 8 Jan 2003 15:33:57 +0300 (MSK) From: Seva Gluschenko To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/46863: tin newsreader improperly deals with charsets Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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