ports/137976: Add option to disable IPv6 support
Richard F. Ostrow Jr.
rich at warfaresdl.com
Wed Aug 19 20:20:02 UTC 2009
>Number: 137976
>Category: ports
>Synopsis: Add option to disable IPv6 support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 19 20:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Richard F. Ostrow Jr.
>Release: FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD aphrodite.warfaresdl.com 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Wed May 27 15:44:07 EDT 2009 root at aphrodite.warfaresdl.com:/usr/obj/usr/src/sys/APHRODITE i386
>Description:
saned does not properly support IPv6. Attempting to connect a network client to saned when compiled with IPv6 causes saned to crash. When compiled without IPv6 support, it works properly.
This patch for the ports Makefile of sane-backends adds an IPv6 option to 'make config', which is disabled by default. This invokes the --disable-ipv6 configure option in the package.
>How-To-Repeat:
make sane-backends with IPv6 support, then connect a network client via inetd, then watch it crash
>Fix:
Apply the attached patch to the ports Makefile, giving the user the choice of using IPv6 or not
--- sane-backends-freebsd-kshots.patch begins here ---
*** Makefile.orig Wed Jul 1 00:07:05 2009
--- Makefile Fri Aug 7 19:07:37 2009
***************
*** 29,35 ****
NLS "NLS support" on \
GPHOTO2 "gPhoto2 support" off \
AVAHI "Avahi support" off \
! IEEE1284 "libieee1284 support" off
USE_GMAKE= yes
GNU_CONFIGURE= yes
--- 29,36 ----
NLS "NLS support" on \
GPHOTO2 "gPhoto2 support" off \
AVAHI "Avahi support" off \
! IEEE1284 "libieee1284 support" off \
! IPV6 "IPV6 support" off
USE_GMAKE= yes
GNU_CONFIGURE= yes
***************
*** 61,66 ****
--- 62,71 ----
PLIST_SUB+= NLS=""
.endif
+ .if defined(WITHOUT_IPV6)
+ CONFIGURE_ARGS+= --disable-ipv6
+ .endif
+
.if defined(WITH_GPHOTO2)
LIB_DEPENDS+= gphoto2.2:${PORTSDIR}/graphics/libgphoto2
MAN5+= sane-gphoto2.5
--- sane-backends-freebsd-kshots.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list