aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorCraig Leres <leres@FreeBSD.org>2020-12-16 01:05:01 +0000
committerCraig Leres <leres@FreeBSD.org>2020-12-16 01:05:01 +0000
commitc026fd3b20e059689b8745bd4c1b1037983d3de2 (patch)
tree1595466b1a13d6553c57c4fd32d7e0f0c966483e /security
parent1a3443eb2713f9fad13ef258ca36bad5dfce6e68 (diff)
Notes
Diffstat (limited to 'security')
-rw-r--r--security/zeek/Makefile1
-rw-r--r--security/zeek/files/pkg-message.in17
-rw-r--r--security/zeek/pkg-plist1
3 files changed, 12 insertions, 7 deletions
diff --git a/security/zeek/Makefile b/security/zeek/Makefile
index 59eda8979b29..36dd2378b02e 100644
--- a/security/zeek/Makefile
+++ b/security/zeek/Makefile
@@ -3,6 +3,7 @@
PORTNAME= zeek
PORTVERSION= 3.0.12
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://old.zeek.org/downloads/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/security/zeek/files/pkg-message.in b/security/zeek/files/pkg-message.in
index f7c2e7c301a3..5b311b6cda33 100644
--- a/security/zeek/files/pkg-message.in
+++ b/security/zeek/files/pkg-message.in
@@ -1,12 +1,6 @@
[
{ type: install
message: <<EOM
-During deinstall of this package, the cfg files for broctl are not
-deleted if you have edited them. Instead the software will create
-a .sample file instead and the edited files will remain in place
-when you upgrade. If you want to delete them, you have to remove
-the %%PREFIX%%/etc directory manually.
-
The rc.d script now honors the zeek_user rc.d variable. To run as
a user other than root (the default) you need to make a few changes.
For example to run as the user zeek, add this to /etc/rc.conf:
@@ -36,4 +30,15 @@ hardware) you will want to set ignore_checksums in site/local.zeek:
redef ignore_checksums = T;
EOM
}
+{ type: remove
+ message: <<EOM
+During deinstall of this package, the cfg files for zeekctl are not
+deleted if you have edited them. Instead the software will create
+a .sample file and the edited files will remain in place when you
+upgrade. If you want to delete them, you have to remove the
+%%PREFIX%%/etc directory manually.
+
+You may also need to manually remove %%PREFIX%%/spool/state.db
+EOM
+}
]
diff --git a/security/zeek/pkg-plist b/security/zeek/pkg-plist
index 2a8a5949eada..0d8c821fedb1 100644
--- a/security/zeek/pkg-plist
+++ b/security/zeek/pkg-plist
@@ -1759,7 +1759,6 @@ man/man8/zeek.8.gz
%%ZEEKCTL%%@preunexec rm -f %D/spool/installed-scripts-do-not-touch/site/local-proxy.bro
%%ZEEKCTL%%@preunexec rm -f %D/spool/installed-scripts-do-not-touch/site/local-worker.bro
%%ZEEKCTL%%@preunexec rm -f %D/spool/installed-scripts-do-not-touch/site/local.bro
-%%ZEEKCTL%%@preunexec rm -f %D/spool/state.db
%%ZEEKCTL%%@dir spool/tmp
%%ZEEKCTL%%@dir spool/installed-scripts-do-not-touch/site
%%ZEEKCTL%%@dir spool/installed-scripts-do-not-touch/auto