git: 7c9b2f40c5f2 - main - security/zeek: Add @sample for local.zeek

Craig Leres leres at FreeBSD.org
Mon Jul 19 17:08:55 UTC 2021


The branch main has been updated by leres:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7c9b2f40c5f2557d87cc1d2ce7d968377b13d6b3

commit 7c9b2f40c5f2557d87cc1d2ce7d968377b13d6b3
Author:     Craig Leres <leres at FreeBSD.org>
AuthorDate: 2021-07-19 17:02:34 +0000
Commit:     Craig Leres <leres at FreeBSD.org>
CommitDate: 2021-07-19 17:08:37 +0000

    security/zeek: Add @sample for local.zeek
    
    This github issue:
    
        https://github.com/zeek/zeekctl/issues/35
    
    complained about the lack of a local.zeek file on a fresh install;
    adding @sample for local.zeek solves this.
    
    Reported by:    shadonet
---
 security/zeek/Makefile  | 1 +
 security/zeek/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/security/zeek/Makefile b/security/zeek/Makefile
index 9169eaa7bd1a..255b2b412181 100644
--- a/security/zeek/Makefile
+++ b/security/zeek/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	zeek
 PORTVERSION=	4.0.3
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	https://download.zeek.org/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
diff --git a/security/zeek/pkg-plist b/security/zeek/pkg-plist
index bd1f88c9bc0c..159b68ff176e 100644
--- a/security/zeek/pkg-plist
+++ b/security/zeek/pkg-plist
@@ -1942,7 +1942,7 @@ man/man8/zeek.8.gz
 %%DATADIR%%/policy/tuning/defaults/warnings.zeek
 %%DATADIR%%/policy/tuning/json-logs.zeek
 %%DATADIR%%/policy/tuning/track-all-assets.zeek
-%%DATADIR%%/site/local.zeek.sample
+ at sample %%DATADIR%%/site/local.zeek.sample
 %%ZEEKCTL%%%%DATADIR%%/test-all-policy.zeek
 %%ZEEKCTL%%share/zeek/zeekctl/__load__.zeek
 %%ZEEKCTL%%share/zeek/zeekctl/auto.zeek


More information about the dev-commits-ports-main mailing list