ports/115966: [UPDATE] ports/ftp/bsdftpd-ssl: set LANG=C while doing character translations
Sunpoet Po-Chuan Hsieh
sunpoet at sunpoet.net
Fri Aug 31 13:10:02 UTC 2007
>Number: 115966
>Category: ports
>Synopsis: [UPDATE] ports/ftp/bsdftpd-ssl: set LANG=C while doing character translations
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 31 13:10:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Sunpoet Po-Chuan Hsieh
>Release: FreeBSD 6.2-STABLE i386
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD IRIS.sunpoet.net 6.2-STABLE FreeBSD 6.2-STABLE #7: Fri Aug 3 04:37:18 CST 2007 sunpoet at IRIS.sunpoet.net:/usr/obj/usr/src/sys/sunpoet i386
>Description:
bsdftpd-ssl's makelist script uses tr to do character translations.
It may yield unexpected results with some locales (eg en_US.UTF-8).
Use LANG=C explicitly to avoid this build error.
>How-To-Repeat:
# sh
# env LANG=en_US.UTF-8
# cd /usr/ports/ftp/bsdftpd-ssl
# make
>Fix:
# cat /usr/ports/ftp/bsdftpd-ssl/files/patch-contrib-libedit-makelist
--- contrib/libedit/makelist.orig 2001-12-17 07:55:26.000000000 +0800
+++ contrib/libedit/makelist 2007-08-31 20:32:51.000000000 +0800
@@ -128,8 +128,8 @@
printf("#endif /* _h_help_c */\n");
}' /dev/null;;
-fh)
- cat $FILES | $AWK '/el_action_t/ { print $3 }' | \
- sort | tr '[a-z]' '[A-Z]' | $AWK '
+ env LANG=C cat $FILES | $AWK '/el_action_t/ { print $3 }' | \
+ sort | env LANG=C tr '[a-z]' '[A-Z]' | $AWK '
BEGIN {
printf("/* Automatically generated file, do not edit */\n");
printf("#ifndef _h_fcns_c\n#define _h_fcns_c\n");
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list