pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/25674: pkgsrc/net/vsftpd compiles on IPv6-capable platforms only



>Number:         25674
>Category:       pkg
>Synopsis:       pkgsrc/net/vsftpd compiles on IPv6-capable platforms only
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 22 18:33:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
vsftpd's code assumes that the system has IPv6-capable libraries and header 
files. If this is not the case compiling fails.
>How-To-Repeat:

>Fix:
The best fix would be to fix the soure (maybe by a huge number of #ifdefs) to 
make it work on IPv4 only platforms as well. Until this happens I propose the 
following addition for pkgsrc/net/vsftpd/Makefile, which prevents failing in 
the midst of the ompiling process (after needlessly having fetched the source 
etc.) but rather leads to a graceful bailout just right in the begining. It 
would even be nicer if that code could print out a little message simliar to 
the one in the comment line.

.include "../../mk/bsd.prefs.mk"
.if ${_OPSYS_HAS_INET6} != "yes"
# for the time being, vsftpd requires IPv6-enabled system libraries to compile
NOT_FOR_PLATFORM=       *-*-*
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:



Home | Main Index | Thread Index | Old Index