Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130690 - pure-ftpd enable "--with-rfc2640" with USE="unicode"
Summary: pure-ftpd enable "--with-rfc2640" with USE="unicode"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Luca Longinotti (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-20 23:00 UTC by pigfoot
Modified: 2006-09-23 21:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pigfoot 2006-04-20 23:00:31 UTC
--with-rfc2640 can enable support for charset conversion. It adds a dependency
over the iconv library and it requires a little more CPU time.

In FreeBSD, we can trun it on by define WITH_UTF8 when use ports. Will pure-ftpd on gentoo support this option in the future?

Thanks in advanced.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-20 23:54:50 UTC
(In reply to comment #0)
> --with-rfc2640 can enable support for charset conversion. It adds a dependency
> over the iconv library and it requires a little more CPU time.

Uhm, you mean virtual/libiconv or dev-libs/libiconv? If you mean the latter, then it's definitely not an option, it blocks glibc.
Comment 2 pigfoot 2006-04-21 00:09:21 UTC
I mean why should pure-ftpd in portage turns on configuration option of '--with-rfc2640' depends upon USE flag 'utf8' or 'unicode'.

Sorry for the inconvenience.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-04-21 00:20:09 UTC
You didn't answer my question about the dependency at all...
Comment 4 pigfoot 2006-04-21 04:07:19 UTC
Sorry, I miss your point.

According to "Gentoo/ALT Technotes Guide", I think it doesn't need to link
with iconv because glibc has provided this.

Then would it be possible to add: IUSE utf8 and "use utf8 && myconf="${myconf} --with-rfc2640"?
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-04-21 04:10:52 UTC
(In reply to comment #4)
> Sorry, I miss your point.
> 
> According to "Gentoo/ALT Technotes Guide", I think it doesn't need to link
> with iconv because glibc has provided this.

Yeah - I was asking whether it works w/ iconv provided by glibc...
Comment 6 Peng Zhang 2006-09-19 19:36:50 UTC
It worked well for me with glibc-2.4-r3.
I have tested pure-ftpd with "--fscharset=utf8 --clientcharset=gbk".

14c14
< IUSE="pam mysql postgres ldap ssl caps vchroot selinux"
---
> IUSE="pam mysql postgres ldap ssl caps vchroot selinux unicode"
46a47
>       use unicode && myconf="${myconf} --with-rfc2640"


(In reply to comment #5)
> (In reply to comment #4)
> > Sorry, I miss your point.
> > 
> > According to "Gentoo/ALT Technotes Guide", I think it doesn't need to link
> > with iconv because glibc has provided this.
> 
> Yeah - I was asking whether it works w/ iconv provided by glibc...
> 
Comment 7 Luca Longinotti (RETIRED) gentoo-dev 2006-09-23 16:17:46 UTC
Added as USE flag "charconv" to 1.0.21-r1.
It depends on virtual/libiconv.
Best regards, CHTEKK.
Comment 8 pigfoot 2006-09-23 21:56:26 UTC
(In reply to comment #7)
> Added as USE flag "charconv" to 1.0.21-r1.
> It depends on virtual/libiconv.
> Best regards, CHTEKK.

Wow! Thanks! ;-)