diff options
author | agc <agc> | 1998-05-07 17:04:05 +0000 |
---|---|---|
committer | agc <agc> | 1998-05-07 17:04:05 +0000 |
commit | 36df27485bd733a3fb7da50a97f6891ccf4d406d (patch) | |
tree | d3b9881b42acc8e325b4b91a7bb9a10edf6ab3b0 /sysutils | |
parent | d56fba3c8f64e1fd10e353bb4ef8ea79a5ae9e61 (diff) | |
download | pkgsrc-36df27485bd733a3fb7da50a97f6891ccf4d406d.tar.gz |
The best way to fix PR 4895 is to upgrade Amanda to version 2.4.0, and close
some security holes in the process.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/amanda/Makefile | 41 | ||||
-rw-r--r-- | sysutils/amanda/files/md5 | 2 |
2 files changed, 25 insertions, 18 deletions
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 |