diff options
-rw-r--r-- | mk/defaults/mk.conf | 7 | ||||
-rw-r--r-- | sysutils/amanda-common/Makefile.common | 7 |
2 files changed, 11 insertions, 3 deletions
diff --git a/mk/defaults/mk.conf b/mk/defaults/mk.conf index aa849691d88..d45250f838e 100644 --- a/mk/defaults/mk.conf +++ b/mk/defaults/mk.conf @@ -1,4 +1,4 @@ -# $NetBSD: mk.conf,v 1.13 2004/11/12 22:34:15 jlam Exp $ +# $NetBSD: mk.conf,v 1.14 2004/11/20 23:09:48 kim Exp $ # # A file providing defaults for pkgsrc and the packages collection. @@ -640,6 +640,11 @@ AMANDA_USER?= backup # Possible: any user name # Default: backup +AMANDA_TMP?= /tmp/amanda +# Specifies the directory in which amanda puts its debug and temporary +# files. +# Default: /tmp/amanda + AMANDA_VAR?= ${VARBASE}/amanda # Specifies the directory in which amanda puts its logs and status # files. diff --git a/sysutils/amanda-common/Makefile.common b/sysutils/amanda-common/Makefile.common index 93b045ad5db..643cfc22f97 100644 --- a/sysutils/amanda-common/Makefile.common +++ b/sysutils/amanda-common/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.13 2004/11/12 12:13:44 mjl Exp $ +# $NetBSD: Makefile.common,v 1.14 2004/11/20 23:10:32 kim Exp $ # # common make file fragment shared by all amanda-* pkgs. # @@ -19,9 +19,11 @@ AMANDA_GROUP?= operator .endif AMANDA_USER?= backup +AMANDA_TMP?= /tmp/amanda AMANDA_VAR?= /var/amanda -BUILD_DEFS+= AMANDA_USER AMANDA_GROUP AMANDA_SMB AMANDA_VAR +BUILD_DEFS+= AMANDA_USER AMANDA_GROUP AMANDA_SMB +BUILD_DEFS+= AMANDA_TMP AMANDA_VAR USE_LIBTOOL= yes LTCONFIG_OVERRIDE= ${WRKSRC}/config/ltconfig @@ -32,6 +34,7 @@ CONFIGURE_ARGS+= --with-group=${AMANDA_GROUP} CONFIGURE_ARGS+= --with-owner=root CONFIGURE_ARGS+= --with-mmap CONFIGURE_ARGS+= --with-amandahosts +CONFIGURE_ARGS+= --with-tmpdir=${AMANDA_TMP} CONFIGURE_ARGS+= --localstatedir=${AMANDA_VAR} CONFIGURE_ARGS+= --with-gnutar-listdir=${AMANDA_VAR}/gnutar-lists CONFIGURE_ARGS+= --with-dump-honor-nodump |