summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/amanda/Makefile41
-rw-r--r--misc/amanda/files/md52
-rw-r--r--sysutils/amanda/Makefile41
-rw-r--r--sysutils/amanda/files/md52
4 files changed, 50 insertions, 36 deletions
diff --git a/misc/amanda/Makefile b/misc/amanda/Makefile
index 7e3445c2890..72fb62f02b6 100644
--- a/misc/amanda/Makefile
+++ b/misc/amanda/Makefile
@@ -1,27 +1,34 @@
-# $NetBSD: Makefile,v 1.7 1998/04/20 11:56:26 frueauf Exp $
+# $NetBSD: Makefile,v 1.8 1998/05/07 17:04:05 agc Exp $
# FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp
#
-DISTNAME= amanda-2.3.0
-CATEGORIES= misc
-MASTER_SITES= ftp://ftp.cs.umd.edu/pub/amanda/
+DISTNAME= amanda-2.4.0
+CATEGORIES= misc
+MASTER_SITES= ftp://ftp.cs.umd.edu/pub/amanda/
-MAINTAINER= packages@netbsd.org
+MAINTAINER= packages@netbsd.org
-PATCH_STRIP=
-SCRIPTS_ENV+= CFLAGS="${CFLAGS}"
-MAN8= amanda.8 amadmin.8 amcheck.8 amcleanup.8 amdump.8 \
- amflush.8 amlabel.8 amrestore.8 amtape.8
+USE_PERL5= yes
+DEPENDS+= readline-2.2:../../devel/readline
+RUN_DEPENDS+= gnuplot:../../graphics/gnuplot
+RUN_DEPENDS+= gtar:../../archivers/gtar
-pre-configure:
- find ${WRKDIR} -type f -print|xargs ${GREP} -l '/usr/local' > ${WRKDIR}/prefix-list
- for f in `cat ${WRKDIR}/prefix-list`; do \
- ${SED} -e 's:/usr/local:'${PREFIX}':g' < $$f > $$f.pdone && ${MV} $$f.pdone $$f; \
- done
- ${RM} ${WRKDIR}/prefix-list
+AMANDA_USER?= backup
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-user=${AMANDA_USER} --with-group=${AMANDA_USER}
+MAKE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+CONFIGURE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+
+MAN8+= amadmin.8 amcheck.8 amdump.8 amflush.8 amlabel.8
+MAN8+= amrestore.8 amtape.8 amanda.8 amcleanup.8 amtoc.8
+MAN8+= amcheckdb.8 amoverview.8 amplot.8 amrecover.8
+MAN8+= amrmtape.8 amverify.8
+
+pre-install:
+ @${SETENV} ${MAKE_ENV} perl ${SCRIPTDIR}/createuser ${AMANDA_USER}
post-install:
- ${MKDIR} ${PREFIX}/share/examples/amanda
- ${CP} -R ${WRKSRC}/example/* ${PREFIX}/share/examples/amanda
+ ${LDCONFIG} || ${TRUE}
.include "../../mk/bsd.pkg.mk"
diff --git a/misc/amanda/files/md5 b/misc/amanda/files/md5
index 5f4ae2326bf..0c8c35d4742 100644
--- a/misc/amanda/files/md5
+++ b/misc/amanda/files/md5
@@ -1 +1 @@
-MD5 (amanda-2.3.0.tar.gz) = fabe173c0b507633d8b7eb081acd8174
+MD5 (amanda-2.4.0.tar.gz) = b0c29c9b1b1fd0c8fcddfdecb2b8b2a8
diff --git a/sysutils/amanda/Makefile b/sysutils/amanda/Makefile
index 7e3445c2890..72fb62f02b6 100644
--- a/sysutils/amanda/Makefile
+++ b/sysutils/amanda/Makefile
@@ -1,27 +1,34 @@
-# $NetBSD: Makefile,v 1.7 1998/04/20 11:56:26 frueauf Exp $
+# $NetBSD: Makefile,v 1.8 1998/05/07 17:04:05 agc Exp $
# FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp
#
-DISTNAME= amanda-2.3.0
-CATEGORIES= misc
-MASTER_SITES= ftp://ftp.cs.umd.edu/pub/amanda/
+DISTNAME= amanda-2.4.0
+CATEGORIES= misc
+MASTER_SITES= ftp://ftp.cs.umd.edu/pub/amanda/
-MAINTAINER= packages@netbsd.org
+MAINTAINER= packages@netbsd.org
-PATCH_STRIP=
-SCRIPTS_ENV+= CFLAGS="${CFLAGS}"
-MAN8= amanda.8 amadmin.8 amcheck.8 amcleanup.8 amdump.8 \
- amflush.8 amlabel.8 amrestore.8 amtape.8
+USE_PERL5= yes
+DEPENDS+= readline-2.2:../../devel/readline
+RUN_DEPENDS+= gnuplot:../../graphics/gnuplot
+RUN_DEPENDS+= gtar:../../archivers/gtar
-pre-configure:
- find ${WRKDIR} -type f -print|xargs ${GREP} -l '/usr/local' > ${WRKDIR}/prefix-list
- for f in `cat ${WRKDIR}/prefix-list`; do \
- ${SED} -e 's:/usr/local:'${PREFIX}':g' < $$f > $$f.pdone && ${MV} $$f.pdone $$f; \
- done
- ${RM} ${WRKDIR}/prefix-list
+AMANDA_USER?= backup
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-user=${AMANDA_USER} --with-group=${AMANDA_USER}
+MAKE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+CONFIGURE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+
+MAN8+= amadmin.8 amcheck.8 amdump.8 amflush.8 amlabel.8
+MAN8+= amrestore.8 amtape.8 amanda.8 amcleanup.8 amtoc.8
+MAN8+= amcheckdb.8 amoverview.8 amplot.8 amrecover.8
+MAN8+= amrmtape.8 amverify.8
+
+pre-install:
+ @${SETENV} ${MAKE_ENV} perl ${SCRIPTDIR}/createuser ${AMANDA_USER}
post-install:
- ${MKDIR} ${PREFIX}/share/examples/amanda
- ${CP} -R ${WRKSRC}/example/* ${PREFIX}/share/examples/amanda
+ ${LDCONFIG} || ${TRUE}
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/amanda/files/md5 b/sysutils/amanda/files/md5
index 5f4ae2326bf..0c8c35d4742 100644
--- a/sysutils/amanda/files/md5
+++ b/sysutils/amanda/files/md5
@@ -1 +1 @@
-MD5 (amanda-2.3.0.tar.gz) = fabe173c0b507633d8b7eb081acd8174
+MD5 (amanda-2.4.0.tar.gz) = b0c29c9b1b1fd0c8fcddfdecb2b8b2a8