From nobody@FreeBSD.org  Thu Sep  4 20:43:42 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 323D8106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  4 Sep 2008 20:43:42 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 2058F8FC18
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  4 Sep 2008 20:43:42 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m84KhfK6097817
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 4 Sep 2008 20:43:41 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m84KhfME097816;
	Thu, 4 Sep 2008 20:43:41 GMT
	(envelope-from nobody)
Message-Id: <200809042043.m84KhfME097816@www.freebsd.org>
Date: Thu, 4 Sep 2008 20:43:41 GMT
From: Sherbacov Dmitriy <sherbacov@bsys.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] proftpd - src netio.c -  wrong telnet filter
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         127096
>Category:       ports
>Synopsis:       [patch] ftp/proftpd - src netio.c -  wrong telnet filter
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    beech
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 04 20:50:00 UTC 2008
>Closed-Date:    Wed Sep 17 05:12:09 UTC 2008
>Last-Modified:  Wed Sep 17 05:20:01 UTC 2008
>Originator:     Sherbacov Dmitriy
>Release:        6.3
>Organization:
>Environment:
FreeBSD sun.bsys-net.ru 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0:  i386
>Description:
Problem:

Proftpd has telnet filter input data, but Russian's Symbols will be deleted.



>How-To-Repeat:
1. Install Proftpd
2. Create folder at FTP Server in cp1251 (Example "&#1053;&#1086;&#1074;&#1072;&#1103; &#1087;&#1072;&#1087;&#1082;&#1072;")
Folder name will be fixed to "&#1053;&#1086;&#1074;&#1072; &#1087;&#1072;&#1087;&#1082;&#1072;"
Symbol "&#1103;" will be deleted.
>Fix:
Commit patch and save "ftp://archive.bsys-net.ru/pub/software/unix/proftpd-patch/files/extra-patch-src-netio.c" to folder "files".



Patch attached with submission follows:

diff -Naur /usr/ports/ftp/proftpd.orig/Makefile /usr/ports/ftp/proftpd/Makefile
--- /usr/ports/ftp/proftpd.orig/Makefile	2008-08-20 04:56:42.000000000 +0400
+++ /usr/ports/ftp/proftpd/Makefile	2008-09-04 19:34:43.000000000 +0400
@@ -87,8 +87,8 @@
 		CLAMAV "Include mod_clamav" off \
 		DIGEST "Include mod_digest" off \
 		COMB "Include mod_comb (multistream upload)" off \
-		CODECONV "Use charset conversion (possibly broken)" off
-
+		CODECONV "Use charset conversion (possibly broken)" off \
+		RUSSIANCHAR "Disable telnet filterning (Fix Russian)" off 
 MODULES?=
 LIBDIRS?=
 INCLUDEDIRS?=
@@ -265,6 +265,11 @@
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-mod-codeconv
 .endif
 
+.if defined(WITH_RUSSIANCHAR)
+EXTRA_PATCHES+=	${FILESDIR}/extra-patch-src-netio.c
+.endif
+
+
 # mod_ifsession should be the last item in the modules list
 .if !defined(WITHOUT_IFSESSION)
 MODULES:=${MODULES}:mod_ifsession


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->beech 
Responsible-Changed-By: beech 
Responsible-Changed-When: Thu Sep 4 21:03:20 UTC 2008 
Responsible-Changed-Why:  
Mine 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127096 
State-Changed-From-To: open->closed 
State-Changed-By: beech 
State-Changed-When: Wed Sep 17 05:11:56 UTC 2008 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127096 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/127096: commit references a PR
Date: Wed, 17 Sep 2008 05:11:29 +0000 (UTC)

 beech       2008-09-17 05:11:19 UTC
 
   FreeBSD ports repository
 
   Modified files:
     ftp/proftpd          Makefile 
   Added files:
     ftp/proftpd/files    extra-patch-src-netio.c 
   Log:
   - Patch src netio.c - wrong telnet filter
   - Telnet filters input data, but Russian symbols deleted
   
   PR:             ports/127096
   Submitted by:   Sherbacov Dmitriy <sherbacov@bsys.ru>
   Approved by:    portmgr (linimon)
   
   Revision  Changes    Path
   1.139     +7 -2      ports/ftp/proftpd/Makefile
   1.1       +51 -0     ports/ftp/proftpd/files/extra-patch-src-netio.c (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
