pkgsrc-Bugs archive

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

pkg/28799: mail/qpopper (and others) always assumes IPv6 support



>Number:         28799
>Category:       pkg
>Synopsis:       mail/qpopper (and others) always assumes IPv6 support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 28 19:27:00 +0000 2004
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
mail/qpopper/options.mk sets PKG_DEFAULT_OPTIONS+=   inet6 ssl without regard 
of USE_INET6.
This is the same problem as in pkg/28708.

The same issue also seems to apply to:
chat/xchat2/options.mk
mail/fetchmail/options.mk
mail/msmtp/options.mk


>How-To-Repeat:


>Fix:
--- options.mk.orig     2004-12-28 20:06:31.000000000 +0100
+++ options.mk  2004-12-28 20:08:43.000000000 +0100
@@ -4,7 +4,10 @@
 PKG_SUPPORTED_OPTIONS= inet6 ssl
 
 .if !defined(PKG_OPTIONS.qpopper)
-PKG_DEFAULT_OPTIONS+=  inet6 ssl
+.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
+PKG_DEFAULT_OPTIONS+=  inet6
+.endif
+PKG_DEFAULT_OPTIONS+=  ssl
 .endif
 
 .include "../../mk/bsd.options.mk"




Home | Main Index | Thread Index | Old Index