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 :)
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/
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.
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
tested the stealer.net-ebuild 0.12.3 - works fine over here ... x86/i686 (no cflags), apache 2.0.44, ipv6 ...
Created attachment 31376 [details] mod_ftpd-0.12.3.ebuild
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.
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.
i've updated the ebuild with a patch, could you guys test it please.
Works for me so I added it.
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.