Date: Mon, 26 Jul 2010 14:54:12 GMT From: Alexander Kriventsov <avk@vl.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/148965: [PATCH] net/freeradius2: add option UDPFROMTO Message-ID: <201007261454.o6QEsCd6075955@www.freebsd.org> Resent-Message-ID: <201007261500.o6QF0HRD012293@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 148965 >Category: ports >Synopsis: [PATCH] net/freeradius2: add option UDPFROMTO >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Jul 26 15:00:16 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Alexander Kriventsov >Release: 8.0-RELEASE FreeBSD >Organization: Hosting Community >Environment: FreeBSD sshgate.akriventsov.infra.hc.ru 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: add option UDPFROMTO. This will make FreeRADIUS to respond from the IP the initial request was received to. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -urN net/freeradius2.orig/Makefile net/freeradius2/Makefile --- net/freeradius2.orig/Makefile 2010-05-29 21:18:02.000000000 +0000 +++ net/freeradius2/Makefile 2010-07-26 13:37:10.000000000 +0000 @@ -9,6 +9,7 @@ PORTNAME= freeradius DISTVERSION= 2.1.9 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ftp://ftp.freeradius.org/pub/freeradius/%SUBDIR%/ \ ftp://ftp.ntua.gr/pub/net/radius/freeradius/%SUBDIR%/ \ @@ -55,7 +56,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 "Responce from incoming ip" on .include <bsd.port.options.mk> @@ -238,6 +240,10 @@ CFLAGS!= ${ECHO} ${CFLAGS} | ${SED} -Ee 's:-O[0-9]?[[:space:]]*::g' .endif +.ifdef(WITH_UDPFROMTO) +CONFIGURE_ARGS+=--with-udpfromto +.endif + .include <bsd.port.pre.mk> .if ${ARCH} == "sparc64" && ${OSVERSION} < 700000 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007261454.o6QEsCd6075955>