-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bro: 2.5.5 -> 2.6.2 #62695
bro: 2.5.5 -> 2.6.2 #62695
Conversation
Security fix release mentioned at top of notes, FWIW: https://raw.githubusercontent.com/zeek/zeek/bb979702cf9a2fa67b8d1a1c7f88d0b56c6af104/NEWS
Initial Feedback:
|
Oh, and you need to add |
BTW this builds on darwin if you enable the platform. Tested on macos 10.13. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tested this PR and it worked fine for me.
However, the project changed its name from Bro to Zeek and perhaps we should adopt this amendment. An alias for bro
could be added for compatibility reasons.
@@ -2,16 +2,20 @@ | |||
, geoip, gperftools, python, swig }: | |||
|
|||
stdenv.mkDerivation rec { | |||
name = "bro-2.5.5"; | |||
name = "bro-2.6.2"; | |||
|
|||
src = fetchurl { | |||
url = "https://www.bro.org/downloads/${name}.tar.gz"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the renaming of the project, this address now forwards to the new domain. So perhaps the domain should already be updated.
url = "https://www.zeek.org/downloads/${name}.tar.gz";
}; | ||
|
||
nativeBuildInputs = [ cmake flex bison file ]; | ||
buildInputs = [ openssl libpcap perl zlib curl geoip gperftools python swig ]; | ||
|
||
# Indicate where to install the python bits, since it can't put them in the "usual" | ||
# locations as those paths are read-only. | ||
cmakeFlags = [ "-DPY_MOD_INSTALL_DIR=${placeholder "out"}/${python.sitePackages}" ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most Zeek/Bro installation come with the auxiliary tools, like bro-cut
. Thus, the "-DINSTALL_AUX_TOOLS:BOOL=true"
cmake flag should be added.
The renaming from |
Motivation for this change
Security fix release mentioned at top of notes, FWIW:
https://raw.githubusercontent.com/zeek/zeek/bb979702cf9a2fa67b8d1a1c7f88d0b56c6af104/NEWS
Seems reasonable but if anyone actually familiar can test or otherwise
review that'd be appreciated!
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)