aboutsummaryrefslogtreecommitdiffstats
path: root/misc/amanda32-server
diff options
context:
space:
mode:
authorjeh <jeh@FreeBSD.org>2004-11-16 23:27:57 +0800
committerjeh <jeh@FreeBSD.org>2004-11-16 23:27:57 +0800
commit6cbd9a6d159f8d6883ef3953473a3b5d398dac62 (patch)
tree93341b8381622194636c8f603b5fa7533781df30 /misc/amanda32-server
parente29782cd8def5418e22eb39c381fcec029090944 (diff)
downloadfreebsd-ports-gnome-6cbd9a6d159f8d6883ef3953473a3b5d398dac62.tar.gz
freebsd-ports-gnome-6cbd9a6d159f8d6883ef3953473a3b5d398dac62.tar.zst
freebsd-ports-gnome-6cbd9a6d159f8d6883ef3953473a3b5d398dac62.zip
GNUTAR_LISTDIR was partialaly a variable and partially hardcoded
PR: 73956 Submitted By: Phil Homewood <pdh@bne.snapgear.com>
Diffstat (limited to 'misc/amanda32-server')
-rw-r--r--misc/amanda32-server/Makefile22
1 files changed, 10 insertions, 12 deletions
diff --git a/misc/amanda32-server/Makefile b/misc/amanda32-server/Makefile
index effa72195e98..834141e1e2b7 100644
--- a/misc/amanda32-server/Makefile
+++ b/misc/amanda32-server/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= ${MASTERPORTNAME}
PORTVERSION= 2.4.4p4
-PORTREVISION?= 1
+PORTREVISION?= 2
PORTEPOCH= 1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -34,8 +34,9 @@ PATCH_STRIP=
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-AMANDA_USER?= operator
-AMANDA_GROUP?= operator
+AMANDA_USER?= operator
+AMANDA_GROUP?= operator
+AMANDA_GNUTAR_LISTDIR?= ${PREFIX}/var/amanda/gnutar-lists
# amanda-server part
.if !defined(CLIENT_ONLY)
@@ -76,7 +77,8 @@ CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/amanda \
--with-amandahosts --with-fqdn \
--with-dump-honor-nodump --with-buffered-dump \
--without-client --disable-libtool --prefix=${PREFIX} \
- --with-user=${AMANDA_USER} --with-group=${AMANDA_GROUP}
+ --with-user=${AMANDA_USER} --with-group=${AMANDA_GROUP} \
+ --with-gnutar-listdir=${AMANDA_GNUTAR_LISTDIR}
MAN8= amadmin.8 amcheck.8 amcheckdb.8 amcleanup.8 amdd.8 \
amdump.8 amflush.8 amgetconf.8 amlabel.8 ammt.8 \
@@ -172,8 +174,8 @@ CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/amanda \
--with-amandahosts --with-fqdn \
--with-dump-honor-nodump --with-buffered-dump \
--without-server --disable-libtool --prefix=${PREFIX} \
- --with-user=${AMANDA_USER} --with-group=${AMANDA_GROUP}
-
+ --with-user=${AMANDA_USER} --with-group=${AMANDA_GROUP} \
+ --with-gnutar-listdir=${AMANDA_GNUTAR_LISTDIR}
MAN8= amanda.8 amrecover.8 amrestore.8
@@ -184,8 +186,8 @@ post-install:
${WRKSRC}/example/chg-scsi.conf \
${WRKSRC}/example/disklist \
${PREFIX}/share/examples/amanda
- ${MKDIR} ${PREFIX}/var/amanda/gnutar-lists
- ${CHOWN} ${AMANDA_USER}:${AMANDA_GROUP} ${PREFIX}/var/amanda/gnutar-lists
+ ${MKDIR} ${AMANDA_GNUTAR_LISTDIR}
+ ${CHOWN} ${AMANDA_USER}:${AMANDA_GROUP} ${AMANDA_GNUTAR_LISTDIR}
${TOUCH} /etc/amandates
${CHOWN} ${AMANDA_USER}:${AMANDA_GROUP} /etc/amandates
@@ -198,10 +200,6 @@ CONFIGURE_ARGS+= --with-tape-server=${AMANDA_SERVER}
CONFIGURE_ARGS+= --with-config=${AMANDA_CONFIG}
.endif
-.if defined (AMANDA_GNUTAR_LISTDIR)
-CONFIGURE_ARGS+= --with-gnutar-listdir=${AMANDA_GNUTAR_LISTDIR}
-.endif
-
.if defined (AMANDA_UDPPORTRANGE)
CONFIGURE_ARGS+= --with-udpportrange=${AMANDA_UDPPORTRANGE}
.endif