Date: Fri, 14 Aug 2009 15:53:48 -0400 (EDT) From: "Richard F. Ostrow Jr." <rich@warfaresdl.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/137976: Add option to disable IPv6 support Message-ID: <200908141953.n7EJrmmd071797@aphrodite.warfaresdl.com> Resent-Message-ID: <200908192020.n7JKK144018216@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908141953.n7EJrmmd071797>