pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Add AMANDA_TMP



details:   https://anonhg.NetBSD.org/pkgsrc/rev/14c7ec4fd1b4
branches:  trunk
changeset: 483878:14c7ec4fd1b4
user:      kim <kim%pkgsrc.org@localhost>
date:      Sat Nov 20 23:09:48 2004 +0000

description:
Add AMANDA_TMP

diffstat:

 mk/defaults/mk.conf                    |  7 ++++++-
 sysutils/amanda-common/Makefile.common |  7 +++++--
 2 files changed, 11 insertions(+), 3 deletions(-)

diffs (51 lines):

diff -r 165fb3c99957 -r 14c7ec4fd1b4 mk/defaults/mk.conf
--- a/mk/defaults/mk.conf       Sat Nov 20 22:46:54 2004 +0000
+++ b/mk/defaults/mk.conf       Sat Nov 20 23:09:48 2004 +0000
@@ -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 @@
 # 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 -r 165fb3c99957 -r 14c7ec4fd1b4 sysutils/amanda-common/Makefile.common
--- a/sysutils/amanda-common/Makefile.common    Sat Nov 20 22:46:54 2004 +0000
+++ b/sysutils/amanda-common/Makefile.common    Sat Nov 20 23:09:48 2004 +0000
@@ -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 @@
 .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-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



Home | Main Index | Thread Index | Old Index