security/zeek: Update PATH the crash-diag so it can locate gdb
Previously the script was not finding gdb.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
PORTNAME= zeek
|
||||
DISTVERSION= 8.0.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= https://download.zeek.org/
|
||||
|
||||
@@ -160,6 +161,11 @@ STRIP=
|
||||
USE_RC_SUBR= zeek
|
||||
.endif
|
||||
|
||||
# Let crash-diag find gdb (when installed)
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e "2s,^\#,export PATH=${LOCALBASE}/bin"':$${PATH}', \
|
||||
${WRKSRC}/auxil/zeekctl/bin/crash-diag
|
||||
|
||||
post-install:
|
||||
${MV} ${STAGEDIR}${DATADIR}/site/local.zeek \
|
||||
${STAGEDIR}${DATADIR}/site/local.zeek.sample
|
||||
|
||||
Reference in New Issue
Block a user