From 3228e1393fbd1755fbe54154fb49a230b870d1ac Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Tue, 8 Jul 2014 15:57:05 +0000 Subject: - Move post-install message to pkg-message - Allow installation as non-root --- security/nessus-plugins/Makefile | 13 ++++--------- security/nessus-plugins/pkg-message | 3 +++ 2 files changed, 7 insertions(+), 9 deletions(-) create mode 100644 security/nessus-plugins/pkg-message (limited to 'security') diff --git a/security/nessus-plugins/Makefile b/security/nessus-plugins/Makefile index 49f2c52b52ec..418211d86d9d 100644 --- a/security/nessus-plugins/Makefile +++ b/security/nessus-plugins/Makefile @@ -3,7 +3,7 @@ PORTNAME= nessus-plugins PORTVERSION= 2.2.9 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security MASTER_SITES= ftp://ftp.nessus.org/pub/nessus/nessus-${PORTVERSION}/src/ \ ftp://ftp.gwdg.de/pub/linux/misc/nessus/nessus-${PORTVERSION}/src/ \ @@ -26,12 +26,7 @@ WRKSRC= ${WRKDIR}/nessus-plugins GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-fetchcmd=wget -.include +post-patch: + @${REINPLACE_CMD} 's/-o $$(installuser)//' ${WRKSRC}/Makefile -post-install: - @${ECHO} "================================================================================" - @${ECHO} "Use ${PREFIX}/sbin/nessus-update-plugins to update your plugin" - @${ECHO} "collection." - @${ECHO} "================================================================================" - -.include +.include diff --git a/security/nessus-plugins/pkg-message b/security/nessus-plugins/pkg-message new file mode 100644 index 000000000000..b32ce9879f67 --- /dev/null +++ b/security/nessus-plugins/pkg-message @@ -0,0 +1,3 @@ +============================================================================= +Run nessus-update-plugins to update your plugin collection. +============================================================================= -- cgit v1.2.3