summaryrefslogtreecommitdiff
path: root/sysutils/amanda-common
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>1999-02-25 15:54:00 +0000
committerbouyer <bouyer@pkgsrc.org>1999-02-25 15:54:00 +0000
commita60779479660a86f6b20f7217bf7d5459dfe8e87 (patch)
tree945395c369fe8aed38838daeebb1efd486f8a6f2 /sysutils/amanda-common
parent08649fd6965eea7bbbd5ad1aeee33333cf79be5e (diff)
downloadpkgsrc-a60779479660a86f6b20f7217bf7d5459dfe8e87.tar.gz
Add a new make variable, AMANDA_VAR, to tell the default place of the
status and log files (default to /var/amanda). Change the example amanda.conf to use this path. Add --with-owner=root to CONFIGURE_ARGS so that executables get installed as root, not AMANDA_USER (better for security!).
Diffstat (limited to 'sysutils/amanda-common')
-rw-r--r--sysutils/amanda-common/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/amanda-common/Makefile b/sysutils/amanda-common/Makefile
index 01cc1ef142a..68f32eed3d6 100644
--- a/sysutils/amanda-common/Makefile
+++ b/sysutils/amanda-common/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1999/02/23 17:03:41 bouyer Exp $
+# $NetBSD: Makefile,v 1.2 1999/02/25 15:54:00 bouyer Exp $
# FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp
#
@@ -12,16 +12,21 @@ HOMEPAGE= http://www.amanda.org/
DEPENDS+= addnerd-1.6:../../sysutils/addnerd
+.include "../../mk/bsd.prefs.mk"
AMANDA_USER?= backup
AMANDA_GROUP= operator
+AMANDA_VAR?= /var/amanda
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-user=${AMANDA_USER} \
--with-group=${AMANDA_GROUP} \
+ --with-owner=root \
--with-mmap --with-amandahosts \
--with-includes=${PREFIX}/include \
--with-libraries=${PREFIX}/lib \
+ --localstatedir=${AMANDA_VAR} \
+ --with-gnutar-listdir=${AMANDA_VAR}/gnutar-lists \
--with-dump-honor-nodump \
--without-server --without-restore --without-client