aboutsummaryrefslogtreecommitdiffstats
path: root/misc/amanda25-server
diff options
context:
space:
mode:
authorjeh <jeh@FreeBSD.org>2003-11-16 00:58:45 +0800
committerjeh <jeh@FreeBSD.org>2003-11-16 00:58:45 +0800
commit77e30945a4c17f363bc6fa9a868421c492bd61e8 (patch)
treefb9652b682a8d862c9c09649ab55420d01a61c07 /misc/amanda25-server
parent7e0383e20e29b27d7f794dd4a08e5c874079d5b0 (diff)
downloadfreebsd-ports-gnome-77e30945a4c17f363bc6fa9a868421c492bd61e8.tar.gz
freebsd-ports-gnome-77e30945a4c17f363bc6fa9a868421c492bd61e8.tar.zst
freebsd-ports-gnome-77e30945a4c17f363bc6fa9a868421c492bd61e8.zip
* Create the directory ${PREFIX}/var/amanda/gnutar-lists and make operator
own it * Crate /etc/amandates and have operator own it. This is hard coded at compile time and can't easily be made ${PREFIX} safe. PR: 59302 Submitted by: Matthias Andree
Diffstat (limited to 'misc/amanda25-server')
-rw-r--r--misc/amanda25-server/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/amanda25-server/Makefile b/misc/amanda25-server/Makefile
index 757e5218cbd3..9fb139bec897 100644
--- a/misc/amanda25-server/Makefile
+++ b/misc/amanda25-server/Makefile
@@ -185,6 +185,10 @@ post-install:
${WRKSRC}/example/chg-scsi.conf \
${WRKSRC}/example/disklist \
${PREFIX}/share/examples/amanda
+ ${MKDIR} ${PREFIX}/var/amanda/gnutar-lists
+ ${CHOWN} operator:operator ${PREFIX}/var/amanda/gnutar-lists
+ ${MKDIR} /etc/amandates
+ ${CHOWN} operator:operator /etc/amandates
.if defined (AMANDA_SERVER)
CONFIGURE_ARGS+= --with-index-server=${AMANDA_SERVER}