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
zmap: init at 2.1.1 #61048
zmap: init at 2.1.1 #61048
Conversation
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.
Built locally and it seems to work :-)
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.
See above comments. Also darwin
build is failing and should be fixed.
Reviewed points
Possible improvementsComments |
e31964f
to
589f8ff
Compare
@worldofpeace as far as I see I addressed all of the review comments except the one with the config file in |
@Ma27 You've addressed all the comments except #61048 (comment) #61048 (comment) I'm think platforms should represent what's supported upstream, And for the config file situation, it depends on how it's intended to be used in NixOS. |
Also doing diff --git a/pkgs/development/tools/parsing/byacc/default.nix b/pkgs/development/tools/parsing/byacc/default.nix
index ba1b8f27e7c..fe8b903180e 100644
--- a/pkgs/development/tools/parsing/byacc/default.nix
+++ b/pkgs/development/tools/parsing/byacc/default.nix
@@ -14,6 +14,10 @@ stdenv.mkDerivation rec {
doCheck = true;
+ configureFlags = [
+ "--program-transform-name='s,^,b,'"
+ ];
+
meta = with stdenv.lib; {
description = "Berkeley YACC";
homepage = https://invisible-island.net/byacc/byacc.html;
diff --git a/pkgs/tools/security/zmap/default.nix b/pkgs/tools/security/zmap/default.nix
index 9e509ed3d0e..03395cb492a 100644
--- a/pkgs/tools/security/zmap/default.nix
+++ b/pkgs/tools/security/zmap/default.nix
@@ -13,11 +13,6 @@ stdenv.mkDerivation rec {
sha256 = "0yaahaiawkjk020hvsb8pndbrk8k10wxkfba1irp12a4sj6rywcs";
};
- postPatch = ''
- substituteInPlace src/CMakeLists.txt \
- --replace "byacc" "yacc"
- '';
-
cmakeFlags = [ "-DRESPECT_INSTALL_PREFIX_CONFIG=ON" ];
dontUseCmakeBuildDir = true;
fixed the issue with not sure if there should be symlinks for backwards compat |
zmap[1] is a fast network scanner for the IPv4 address space. This is the main package of the ZMap projects, there are further one that will be packaged soon. [1] https://zmap.io/
Yeah I've pushed the
Ahh, I'm afraid I misunderstood the idea behind
👍 |
The module installs `zmap` globally and links the config files to `/etc/zmap`, the default location of config files for zmap. The package provides pretty much a sensitive default, custom configs can be created like this: ``` { lib, ... }: { environment.etc."zmap/blacklist.conf" = lib.mkForce { text = '' # custom zmap blacklist 0.0.0.0/0 ''; }; } ```
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 think It's perfect @Ma27 😄
I am really happy to see this merged. |
Motivation for this change
zmap1 is a fast network scanner for the IPv4 address space. This is
the main package of the ZMap projects, there are further one that will
be packaged soon.
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)