Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50300 - net-www/mod_ftpd-0.12.3 ebuild request
Summary: net-www/mod_ftpd-0.12.3 ebuild request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-06 18:19 UTC by Daniel Webert
Modified: 2004-05-15 11:57 UTC (History)
2 users (show)

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


Attachments
mod_ftpd-0.12.3.ebuild (mod_ftpd-0.12.3.ebuild,1.09 KB, text/plain)
2004-05-13 16:39 UTC, Daniel Webert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Webert 2004-05-06 18:19:33 UTC
net-www/mod_ftpd-0.12.3 ebuild request

homepage:
http://www.outoforder.cc/projects/apache/mod_ftpd/

desc:
mod_ftpd is a protocol module that allows Apache 2.0 to accept FTP connections. This allows the FTP component to take advantage of Apache's authentication system, filters and module support to easily extend the FTP server.

btw:
it is from the same author who makes mod_log_mysql :)
Comment 1 Sven Wegener gentoo-dev 2004-05-07 00:00:04 UTC
I created one for version 0.12.2 but it had issues (segfaults) for me.
So I left it alone. I just bumped mine and commited it to my PORTDIR_OVERLAY.
It still segfaults for me, maybe you have more luck.

http://gentoo.mirror.at.stealer.net/portage_overlay/net-www/mod_ftpd/
Comment 2 Minati jean michel 2004-05-10 06:55:03 UTC
I just tested the ebuild from http://gentoo.mirror.at.stealer.net/portage_overlay/net-www/mod_ftpd/

it seems to works fine here.I had no segfault,or any troubles.
Comment 3 Chuck Short (RETIRED) gentoo-dev 2004-05-11 17:22:24 UTC
It fails to compile here. I have ipv6 enabled.

/usr/lib/apache2/build/libtool --silent --mode=compile gcc -prefer-pic -march=pentium2 -O3 -pipe -fomit-frame-pointer -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -I/usr/include/apache2  -I/usr/include/apache2   -I/usr/include/apache2  -Wall -Werror -fno-strict-aliasing -DHAVE_CONFIG_H  -c -o ftp_core.lo ftp_core.c && touch ftp_core.slo
/usr/lib/apache2/build/libtool --silent --mode=compile gcc -prefer-pic -march=pentium2 -O3 -pipe -fomit-frame-pointer -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -I/usr/include/apache2  -I/usr/include/apache2   -I/usr/include/apache2  -Wall -Werror -fno-strict-aliasing -DHAVE_CONFIG_H  -c -o ftp_protocol.lo ftp_protocol.c && touch ftp_protocol.slo
ftp_protocol.c: In function `ftpd_handler_port':
ftp_protocol.c:876: error: `APR_INET6' undeclared (first use in this function)
ftp_protocol.c:876: error: (Each undeclared identifier is reported only once
ftp_protocol.c:876: error: for each function it appears in.)
apxs:Error: Command failed with rc=65536
Comment 4 Daniel Webert 2004-05-13 16:37:52 UTC
tested the stealer.net-ebuild 0.12.3 - works fine over here ...

x86/i686 (no cflags), apache 2.0.44, ipv6 ...
Comment 5 Daniel Webert 2004-05-13 16:39:22 UTC
Created attachment 31376 [details]
mod_ftpd-0.12.3.ebuild
Comment 6 Sven Wegener gentoo-dev 2004-05-14 02:52:43 UTC
chuck, please try re-emerging apache with ipv6 in USE.
APR_INET6 is a #define which depends on #define'd APR_HAVE_IPV6 and that's
defined when merging apache with ipv6 enabled.
Comment 7 Sven Wegener gentoo-dev 2004-05-14 03:14:18 UTC
just some additonal info:
/usr/include/apache2/apr.h must have APR_HAVE_IPV6 defined to 1 to have APR_INET6
defined in /usr/include/apache2/apr_network_io.h. APR_HAVE_IPV6 depends on apache
merged with ipv6 in USE. so, to use mod_ftpd at the moment the user needs to have
USE=ipv6 for apache. i'll send edward rudd an email about this. maybe we can get
that fixed upstream so that mod_ftpd checks if we have support for ipv6 in apache.
Comment 8 Sven Wegener gentoo-dev 2004-05-14 06:01:50 UTC
i've updated the ebuild with a patch, could you guys test it please.
Comment 9 Chuck Short (RETIRED) gentoo-dev 2004-05-14 10:02:07 UTC
Works for me so I added it.
Comment 10 Sven Wegener gentoo-dev 2004-05-15 11:57:30 UTC
edward rudd already fixed that ipv6 stuff some weeks ago but hasn't rolled out
a new release yet. so next version should need no patching from our side.