diff options
-rw-r--r-- | security/nessus-plugins/Makefile | 19 | ||||
-rw-r--r-- | security/nessus-plugins/distinfo | 6 |
2 files changed, 20 insertions, 5 deletions
diff --git a/security/nessus-plugins/Makefile b/security/nessus-plugins/Makefile index d13387032c3..8aa5327ea92 100644 --- a/security/nessus-plugins/Makefile +++ b/security/nessus-plugins/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.15 2004/10/03 00:18:11 tv Exp $ +# $NetBSD: Makefile,v 1.16 2004/11/02 00:04:03 adrianp Exp $ DISTNAME= nessus-plugins-${VERS} -PKGREVISION= 1 .include "../nessus/Makefile.common" COMMENT= Plugins for the Nessus Network Security Scanner @@ -12,6 +11,22 @@ WRKSRC= ${WRKDIR}/nessus-plugins USE_BUILDLINK3= yes GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --localstatedir=${VARBASE} + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" +CONFIGURE_ARGS+= --with-fetchcmd=/usr/bin/ftp +.else +CONFIGURE_ARGS+= --with-fetchcmd=${PREFIX}/bin/ftp +.endif + +SUBST_CLASSES+= fetch +SUBST_STAGE.fetch= post-configure +SUBST_FILES.fetch= nessus-update-plugins +SUBST_SED.fetch= -e "s|fetch_args=\"\"|fetch_args=\"-o -\"|g" +SUBST_MESSAGE.fetch= "Fixing fetch parameters." + PLIST_SRC= ${WRKDIR}/PLIST PLIST # auto-generate PLIST of plug-ins diff --git a/security/nessus-plugins/distinfo b/security/nessus-plugins/distinfo index fda26b81fbd..33338c95356 100644 --- a/security/nessus-plugins/distinfo +++ b/security/nessus-plugins/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.14 2004/07/22 15:01:17 adam Exp $ +$NetBSD: distinfo,v 1.15 2004/11/02 00:04:03 adrianp Exp $ -SHA1 (nessus-plugins-2.0.12.tar.gz) = d3e214968397c866659a3d5826b54eb6b0184385 -Size (nessus-plugins-2.0.12.tar.gz) = 1767376 bytes +SHA1 (nessus-plugins-2.2.0.tar.gz) = 2cae8c2edd0fccf4f890cd9bf5973d62b3d0c290 +Size (nessus-plugins-2.2.0.tar.gz) = 2541121 bytes |