Date: Thu, 4 Sep 2008 20:43:41 GMT From: Sherbacov Dmitriy <sherbacov@bsys.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/127096: [patch] proftpd - src netio.c - wrong telnet filter Message-ID: <200809042043.m84KhfME097816@www.freebsd.org> Resent-Message-ID: <200809042050.m84Ko0xU052447@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 127096 >Category: ports >Synopsis: [patch] proftpd - src netio.c - wrong telnet filter >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 04 20:50:00 UTC 2008 >Closed-Date: >Last-Modified: >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 "Новая папка") Folder name will be fixed to "Нова папка" Symbol "я" 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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809042043.m84KhfME097816>