summaryrefslogtreecommitdiff
path: root/misc/amanda26-server
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2007-03-25 11:53:31 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2007-03-25 11:53:31 +0000
commitc656eb4500865c23230d17f95277df4c9305654d (patch)
treee0ad3ba999171b9c27eaad1fecc1bea3bac9662f /misc/amanda26-server
parentUpdate to 0.3.9. (diff)
- Fix AMANDA_PORTRANGE knob, and rename it to AMANDA_TCPPORTRANGE.
PR: ports/110687 Submitted by: "Douglas K. Rand" <rand@meridian-enviro.com>
Notes
Notes: svn path=/head/; revision=188273
Diffstat (limited to 'misc/amanda26-server')
-rw-r--r--misc/amanda26-server/Makefile12
1 files changed, 8 insertions, 4 deletions
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."