mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- Move post-install message to pkg-message
- Allow installation as non-root
This commit is contained in:
parent
00ece54f31
commit
3228e1393f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361260
@ -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 <bsd.port.pre.mk>
|
||||
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 <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
3
security/nessus-plugins/pkg-message
Normal file
3
security/nessus-plugins/pkg-message
Normal file
@ -0,0 +1,3 @@
|
||||
=============================================================================
|
||||
Run nessus-update-plugins to update your plugin collection.
|
||||
=============================================================================
|
Loading…
Reference in New Issue
Block a user