aboutsummaryrefslogtreecommitdiff
path: root/misc/amanda-server
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2003-02-12 17:49:27 +0000
committerJames E. Housley <jeh@FreeBSD.org>2003-02-12 17:49:27 +0000
commita0cb89f355265c54ed61cb674e2bc7b814385258 (patch)
tree92cadf8d972c93c307a787c1e75eca781cf48ef5 /misc/amanda-server
parent5d12a3bc25d03c4b24ecfd55510668a44befecc4 (diff)
downloadports-a0cb89f355265c54ed61cb674e2bc7b814385258.tar.gz
ports-a0cb89f355265c54ed61cb674e2bc7b814385258.zip
Notes
Diffstat (limited to 'misc/amanda-server')
-rw-r--r--misc/amanda-server/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/misc/amanda-server/Makefile b/misc/amanda-server/Makefile
index 4b508511a65b..9286fc0b823f 100644
--- a/misc/amanda-server/Makefile
+++ b/misc/amanda-server/Makefile
@@ -48,6 +48,14 @@ 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} " 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."
+ @${ECHO} " AMANDA_UDPPORTRANGE=low,high to restrict Amanda to UDP ports"
+ @${ECHO} " between low and high when connecting from the client"
+ @${ECHO} " to the server. Use ports below 1024."
+ @${ECHO} " The default is no restriction on UDP ports."
@${ECHO} ""
USE_PERL5= yes
@@ -116,6 +124,14 @@ CONFIGURE_ARGS+= --with-group=${AMANDA_GROUP}
CONFIGURE_ARGS+= --with-group=operator
.endif
+.if defined (AMANDA_UDPPORTRANGE)
+CONFIGURE_ARGS+= --with-udpportrange=${AMANDA_UDPPORTRANGE}
+.endif
+
+.if defined (AMANDA_PORTRANGE)
+CONFIGURE_ARGS+= --with-portrange=${AMANDA_PORTRANGE}
+.endif
+
#
# Before 4.0, pre-CAM scsiio.h existed
.if ${OSVERSION} < 400000
@@ -144,6 +160,14 @@ 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} " 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."
+ @${ECHO} " AMANDA_UDPPORTRANGE=low,high to restrict Amanda to UDP ports"
+ @${ECHO} " between low and high when connecting from the client"
+ @${ECHO} " to the server. Use ports below 1024."
+ @${ECHO} " The default is no restriction on UDP ports."
@${ECHO} ""
CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/amanda \
@@ -192,6 +216,14 @@ CONFIGURE_ARGS+= --with-group=${AMANDA_GROUP}
CONFIGURE_ARGS+= --with-group=operator
.endif
+.if defined (AMANDA_UDPPORTRANGE)
+CONFIGURE_ARGS+= --with-udpportrange=${AMANDA_UDPPORTRANGE}
+.endif
+
+.if defined (AMANDA_PORTRANGE)
+CONFIGURE_ARGS+= --with-portrange=${AMANDA_PORTRANGE}
+.endif
+
.endif
.include <bsd.port.post.mk>