Bug 150699 - archivers/unzip: Add patch to convert filename encoding to current locale.
Summary: archivers/unzip: Add patch to convert filename encoding to current locale.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Andrey A. Chernov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-18 11:10 UTC by KOMATSU Shinichiro
Modified: 2010-09-20 07:20 UTC (History)
0 users

See Also:


Attachments
file.diff (1.58 KB, patch)
2010-09-18 11:10 UTC, KOMATSU Shinichiro
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description KOMATSU Shinichiro 2010-09-18 11:10:06 UTC
Zip files created on Japanese Windows XP contains filenames encoded in Shift-JIS,
and filenames are garbled when extracted by unzip.

I found the patch to fix this problem at the following location:

https://bugs.archlinux.org/task/15256

This patch adds options "-O" and "-I" to specify encoding of filenames in zip files,
and convert it to current locale using iconv.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer 2010-09-18 11:10:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ache

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2010-09-20 07:14:30 UTC
ache        2010-09-20 06:14:25 UTC

  FreeBSD ports repository

  Modified files:
    archivers/unzip      Makefile distinfo 
  Log:
  Add optional (WITH_ICONV) patch to convert between local and OEM charsets.
  
  PR:             150699
  Submitted by:   KOMATSU Shinichiro <koma2@lovepeers.org>
  
  Revision  Changes    Path
  1.68      +10 -0     ports/archivers/unzip/Makefile
  1.18      +3 -0      ports/archivers/unzip/distinfo
_______________________________________________
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"
Comment 3 Andrey A. Chernov freebsd_committer 2010-09-20 07:14:53 UTC
State Changed
From-To: open->closed

Committed