Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2010 17:40:07 GMT
From:      Ryan Steinmetz <rpsfa@rit.edu>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/148965: [PATCH] net/freeradius2: add option UDPFROMTO
Message-ID:  <201007261740.o6QHe7Cc068889@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/148965; it has been noted by GNATS.

From: Ryan Steinmetz <rpsfa@rit.edu>
To: bug-followup@FreeBSD.org
Cc: edwin@FreeBSD.org
Subject: Re: ports/148965: [PATCH] net/freeradius2: add option UDPFROMTO
Date: Mon, 26 Jul 2010 13:36:32 -0400

 --tKW2IUtsqtDRztdT
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Please apply the attached patch instead.
 
 This option is disabled by default for FR, so I think the port should match that.
 
 From the FreeRADIUS FAQ:
 "If you have a multi-homed server and specify an explicit address to bind to. It may happen that the server does not respond with the right source ip address. Thus the client will likely ignore the server's response. On Linux and FreeBSD you can solve this by specifying ./configure --with-udpfromto  during compilation. Then the server will always respond with the correct address."
 
 -r
 
 --tKW2IUtsqtDRztdT
 Content-Type: text/x-diff; charset=us-ascii
 Content-Disposition: attachment; filename="freeradius2.udpfromto.diff"
 
 diff -urN net/freeradius2/Makefile /tmp/freeradius2/Makefile
 --- net/freeradius2/Makefile	2010-05-29 17:18:02.000000000 -0400
 +++ /tmp/freeradius2/Makefile	2010-07-26 13:30:49.000000000 -0400
 @@ -55,7 +55,8 @@
  		OCI8		"With Oracle support (currently experimental)" off \
  		RUBY		"With Ruby support (EXPERIMENTAL)" off \
  		DHCP		"With DHCP support (EXPERIMENTAL)" off \
 -		EXPERIMENTAL	"Build experimental modules" off
 +		EXPERIMENTAL	"Build experimental modules" off \
 +		UDPFROMTO	"Compile in UDPFROMTO support" off
  
  .include <bsd.port.options.mk>
  
 @@ -238,6 +239,11 @@
  CFLAGS!=	${ECHO} ${CFLAGS} | ${SED} -Ee 's:-O[0-9]?[[:space:]]*::g'
  .endif
  
 +# Compile in UDPFROMTO support
 +.ifdef(WITH_UDPFROMTO)
 +CONFIGURE_ARGS+=--with-udpfromto
 +.endif
 +
  .include <bsd.port.pre.mk>
  
  .if ${ARCH} == "sparc64" && ${OSVERSION} < 700000
 
 --tKW2IUtsqtDRztdT--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007261740.o6QHe7Cc068889>