summaryrefslogtreecommitdiff
path: root/sysutils/amanda
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-06-08 10:45:17 +0000
committeragc <agc@pkgsrc.org>1998-06-08 10:45:17 +0000
commitca69982c259ba506ff3ede01271679f922a91a36 (patch)
treea35a133e2d8d4a07bc51331f24d8e10d13d3eb15 /sysutils/amanda
parent468084b962e142d0734672d66d01396bd63f9cdd (diff)
downloadpkgsrc-ca69982c259ba506ff3ede01271679f922a91a36.tar.gz
DEPEND on addnerd-1.5.
Add an AMANDA_GROUP definition, and set it to operator (necessary for write access to certain files). Invoke addnerd with -g ${AMANDA_GROUP}
Diffstat (limited to 'sysutils/amanda')
-rw-r--r--sysutils/amanda/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/sysutils/amanda/Makefile b/sysutils/amanda/Makefile
index b53b23ca0da..5163cefbbd1 100644
--- a/sysutils/amanda/Makefile
+++ b/sysutils/amanda/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 1998/06/05 14:07:22 agc Exp $
+# $NetBSD: Makefile,v 1.11 1998/06/08 10:45:17 agc Exp $
# FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp
#
@@ -9,14 +9,15 @@ MASTER_SITES= ftp://ftp.cs.umd.edu/pub/amanda/
MAINTAINER= packages@netbsd.org
DEPENDS+= readline-2.2:../../devel/readline
-DEPENDS+= addnerd-1.4:../../sysutils/addnerd
+DEPENDS+= addnerd-1.5:../../sysutils/addnerd
RUN_DEPENDS+= gnuplot:../../graphics/gnuplot
RUN_DEPENDS+= gtar:../../archivers/gtar
AMANDA_USER?= backup
+AMANDA_GROUP= operator
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-user=${AMANDA_USER} --with-group=${AMANDA_USER}
+CONFIGURE_ARGS+= --with-user=${AMANDA_USER} --with-group=${AMANDA_GROUP}
CONFIGURE_ARGS+= --with-mmap
MAKE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
CONFIGURE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
@@ -27,7 +28,7 @@ MAN8= amadmin.8 amcheck.8 amdump.8 amflush.8 amlabel.8 \
amrmtape.8 amverify.8
pre-install:
- @${SETENV} ${MAKE_ENV} addnerd ${AMANDA_USER}
+ @${SETENV} ${MAKE_ENV} addnerd ${AMANDA_USER} -g ${AMANDA_GROUP}
post-install:
${LDCONFIG} || ${TRUE}