aboutsummaryrefslogtreecommitdiffstats
path: root/misc/amanda-server
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2007-03-25 19:53:31 +0800
committerkuriyama <kuriyama@FreeBSD.org>2007-03-25 19:53:31 +0800
commitcc27c2175f2efa07617967038f5a77a6eeb48ca6 (patch)
treeacf0dbc11fae05f708ee2479d5b561e0701d4a6f /misc/amanda-server
parentf53e6f530c8784723d4d160b73aef478fa1c6cb5 (diff)
downloadfreebsd-ports-gnome-cc27c2175f2efa07617967038f5a77a6eeb48ca6.tar.gz
freebsd-ports-gnome-cc27c2175f2efa07617967038f5a77a6eeb48ca6.tar.zst
freebsd-ports-gnome-cc27c2175f2efa07617967038f5a77a6eeb48ca6.zip
- Fix AMANDA_PORTRANGE knob, and rename it to AMANDA_TCPPORTRANGE.
PR: ports/110687 Submitted by: "Douglas K. Rand" <rand@meridian-enviro.com>
Diffstat (limited to 'misc/amanda-server')
-rw-r--r--misc/amanda-server/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/misc/amanda-server/Makefile b/misc/amanda-server/Makefile
index 104ccd6dff3f..89520ce8f8d8 100644
--- a/misc/amanda-server/Makefile
+++ b/misc/amanda-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."