ports/127096: [patch] proftpd - src netio.c - wrong telnet filter
Sherbacov Dmitriy
sherbacov at bsys.ru
Thu Sep 4 20:50:01 UTC 2008
>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:
More information about the freebsd-ports-bugs
mailing list