Fix install path of CHANGES.txt when using nikto -update and bump PORTREVISION.
PR: ports/117379 Submitted by: Naram Qashat
This commit is contained in:
parent
2b1a45c49b
commit
3175f99138
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201754
1 changed files with 3 additions and 2 deletions
|
@ -9,6 +9,7 @@
|
|||
|
||||
PORTNAME= nikto
|
||||
PORTVERSION= 1.36
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security www
|
||||
MASTER_SITES= http://www.cirt.net/${PORTNAME}/ \
|
||||
http://www.mirrors.wiretapped.net/security/vulnerability-assessment/${PORTNAME}/ \
|
||||
|
@ -45,8 +46,8 @@ post-patch:
|
|||
-e "s|# (PLUGINDIR=)/usr/local/nikto/plugins|\1${DATADIR}|g" \
|
||||
${WRKSRC}/config.txt
|
||||
@${REINPLACE_CMD} "s/config.txt/nikto.conf/g" ${WRKSRC}/plugins/* ${WRKSRC}/docs/*
|
||||
@${REINPLACE_CMD} -e 's:\$NIKTO{plugindir}/../docs/CHANGES.txt:\$NIKTO{plugindir}/../docs/nikto/CHANGES.txt:' \
|
||||
-e 's:\$NIKTO{plugindir}/../CHANGES.txt:\$NIKTO{plugindir}/../docs/nikto/CHANGES.txt:' \
|
||||
@${REINPLACE_CMD} -e 's:\$NIKTO{plugindir}/../docs/CHANGES.txt:\$NIKTO{plugindir}/../doc/nikto/CHANGES.txt:' \
|
||||
-e 's:\$NIKTO{plugindir}/../CHANGES.txt:\$NIKTO{plugindir}/../doc/nikto/CHANGES.txt:' \
|
||||
${WRKSRC}/plugins/nikto_core.plugin
|
||||
@${MV} ${WRKSRC}/docs/${PORTNAME}-${PORTVERSION}.man ${WRKSRC}/docs/${PORTNAME}.1
|
||||
|
||||
|
|
Loading…
Reference in a new issue