Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11215 - pure-ftpd ebuild no lfs
Summary: pure-ftpd ebuild no lfs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 39611 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-25 13:39 UTC by Andreas Westin
Modified: 2004-01-27 18:44 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 Andreas Westin 2002-11-25 13:39:38 UTC
Hi,

the pure-ftpd ebuild lacks support for largefiles which is kind of annoying when 
rebuilding it and noticing that no files show up in it.
Comment 1 SpanKY gentoo-dev 2002-11-25 15:24:24 UTC
i might also point out that the configure option says 'may be slower' when lfs support is 
turned on ... 
 
can you verify/deny this claim ? 
Comment 2 Andreas Westin 2002-11-25 15:39:34 UTC
Yes I'm aware that it says that, but no I haven't noticed any performance decrease. On the other 
hand my server doesn't have a high load. But since it makes the ftp server useless if you like me have 
a lot of files >2gb it would be nice if it was turned on by default.
Comment 4 Maurizio Disimino 2003-01-17 06:12:58 UTC
from http://www.pureftpd.org/README

--with-largefile: support downloading of files larger than 2 gigabytes on
32-bit architectures. Transfering so huge files through FTP is a strange
idea. And your filesystem has to support it. Your kernel and your libc as
well. And of course, the FTP client has to be safe against large files, too.
And when this feature is enabled, downloads can be a bit slower (or more
cpu-intensive) than without it, due to a limitation of actual Linux kernels.
To summarize: don't enable this for fun, just if you are really planning to
download files over 2 gigabytes.

We should offer a *common* set of feature per ebuild .. IMO, adding the
--largefile option is not the right way. Users with different needs could 
always use EXTRA_ECONF since the ebuild uses econf(). That EXTRA_ECONF stuff
has been though for this purpose.

`EXTRA_ECONF="--with-largefile" emerge pure-ftpd` should work just fine.
I'm updating the pure-ftpd ebuild to 1.0.13a and I'm going to change that
--largefile option

Maurizio
Comment 5 SpanKY gentoo-dev 2004-01-27 18:44:00 UTC
*** Bug 39611 has been marked as a duplicate of this bug. ***