Subject: pkg/26056: pgksrc/apache/subversion packages lack dependency on libiconv
To: None <>
From: None <>
List: pkgsrc-bugs
Date: 06/25/2004 10:40:51
>Number:         26056
>Category:       pkg
>Synopsis:       pgksrc/apache/subversion packages lack dependency on libiconv
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 25 13:58:00 UTC 2004
>Originator:     Manfred Hunkel
>Release:        1.6.2/i386
T-Systems International
NetBSD w9e01497 1.6.2 NetBSD 1.6.2 (GENERIC) #0: Tue Feb 10 21:53:10 UTC 2004 i386
Installed Apache/SVN from pkgsrc.  Build & install work ok, but libiconv ought to be included among the dependencies somewhere (see below). Otherwise, there'll be no locale support for SVN clients run server-side, i.e. those clients will be unable to obey LC_CTYPE locale definitions and thus unable to deal with e.g. filenames with accented characters.
1) Build and install Apache/SVN combo

2) Create SVN repository

3) On a Windows box (i.e. _not_ server-side), use TortoiseSVN or similar client to add/commit a new file to the repository that has at least one accented character (German umlauts , French accented chars ...) in its name.

4) Server side: Export appropriate LC_CTYPE setting and call 'svnlook tree' on repository created in step 2).

5) Look at error message in httpd's error log, e.g.
   subversion/libsvn_subr/utf.c:211: (apr_err=22)
   svn: Safe data:
   "[... actual filename prefix deleted by author]"
   ... was followed by non-ascii byte 195.

   Non-ascii character detected (see above), and unable to convert to/from UTF-8
Make at least apr-util package dependent on a suitable version of libiconv. Not sure where to best introduce that dependency (i.e. apr-util, httpd, or subversion).