From cc27c2175f2efa07617967038f5a77a6eeb48ca6 Mon Sep 17 00:00:00 2001 From: kuriyama Date: Sun, 25 Mar 2007 11:53:31 +0000 Subject: - Fix AMANDA_PORTRANGE knob, and rename it to AMANDA_TCPPORTRANGE. PR: ports/110687 Submitted by: "Douglas K. Rand" --- misc/amanda26-server/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'misc/amanda26-server') diff --git a/misc/amanda26-server/Makefile b/misc/amanda26-server/Makefile index 104ccd6dff3f..89520ce8f8d8 100644 --- a/misc/amanda26-server/Makefile +++ b/misc/amanda26-server/Makefile @@ -7,7 +7,7 @@ PORTNAME= amanda PORTVERSION= 2.5.1p3 -PORTREVISION?= 1 +PORTREVISION?= 2 PKGNAMESUFFIX?= -server PORTEPOCH= 1 CATEGORIES= misc @@ -56,8 +56,12 @@ CONFIGURE_ARGS+= --with-config=${AMANDA_CONFIG} CONFIGURE_ARGS+= --with-udpportrange=${AMANDA_UDPPORTRANGE} .endif +# AMANDA_PORTRANGE is obsoleted. Use AMANDA_TCPPORTRANGE instead. .if defined (AMANDA_PORTRANGE) -CONFIGURE_ARGS+= --with-portrange=${AMANDA_PORTRANGE} +AMANDA_TCPPORTRANGE= ${AMANDA_PORTRANGE} +.endif +.if defined (AMANDA_TCPPORTRANGE) +CONFIGURE_ARGS+= --with-tcpportrange=${AMANDA_TCPPORTRANGE} .endif .if !defined(WITHOUT_GNUTAR) @@ -84,7 +88,7 @@ pre-fetch: @${ECHO} " The default is operator" @${ECHO} " AMANDA_GROUP=group to specify the default group" @${ECHO} " The default is operator" - @${ECHO} " AMANDA_PORTRANGE=low,high to restrict Amanda to TCP ports" + @${ECHO} " AMANDA_TCPPORTRANGE=low,high to restrict Amanda to TCP ports" @${ECHO} " between low and high when connecting from the server" @${ECHO} " to the client for data, messages, and indexing." @${ECHO} " The default is no restriction on TCP ports." @@ -170,7 +174,7 @@ pre-fetch: @${ECHO} " The default is operator" @${ECHO} " AMANDA_GROUP=group to specify the default group" @${ECHO} " The default is operator" - @${ECHO} " AMANDA_PORTRANGE=low,high to restrict Amanda to TCP ports" + @${ECHO} " AMANDA_TCPPORTRANGE=low,high to restrict Amanda to TCP ports" @${ECHO} " between low and high when connecting from the server" @${ECHO} " to the client for data, messages, and indexing." @${ECHO} " The default is no restriction on TCP ports." -- cgit