ports/84607: ftp/proftpd: IPv6 Always Enabled

Max Campos mcampos at bpsw.biz
Sat Aug 6 06:30:20 UTC 2005


>Number:         84607
>Category:       ports
>Synopsis:       ftp/proftpd: IPv6 Always Enabled
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 06 06:30:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Max Campos
>Release:        5.4
>Organization:
>Environment:
FreeBSD zed.bpsw.biz 5.3-RELEASE-p3 FreeBSD 5.3-RELEASE-p3 #0: Thu Jan  6 14:15:36 PST 2005     root at zed.bpsw.biz:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
IPv6 cannot be disabled.  When the port think ipv6 is disabled it calls configure with "--disable-ipv6".  Unfortunately, due to a bug in proftp's configure script, this causes ipv6 to be enabled.

I've reported this to the proftpd folks as bug 2676.
>How-To-Repeat:
Run make without any options (or with WITHOUT_IPV6), then check config.h and see PR_USE_IPV6 is defined.
>Fix:
Add the following patch to the files directory:

--- configure.orig      Fri Aug  5 23:18:35 2005
+++ configure   Fri Aug  5 23:19:29 2005
@@ -19685,11 +19685,11 @@
 if test "${enable_ipv6+set}" = set; then
   enableval="$enable_ipv6"
 
-
+  if test x"$enableval" = xyes ; then
 cat >>confdefs.h <<\_ACEOF
 #define PR_USE_IPV6 1
 _ACEOF
-
+  fi;
 
 fi;
 

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list