Skip to content
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

tshark: init at version 2.4.0 #29557

Merged
merged 1 commit into from Sep 19, 2017
Merged

tshark: init at version 2.4.0 #29557

merged 1 commit into from Sep 19, 2017

Conversation

teto
Copy link
Member

@teto teto commented Sep 19, 2017

Motivation for this change

I am used to the name "tshark" for the cli usage of wireshark. I was able to find out "wireshark-cli" but tshark is the true name.
Also when I install wireshark-cli, I don't want to recompile Qt + wireshark Qt UI but just the cli binary.

Things done
  • alias tshark to wireshark-cli

  • when using wireshark-cli, build only the cli component (aka "tshark") and not the Qt interface

  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)

  • Built on platform(s)

    • NixOS
    • macOS
    • Linux
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)

  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"

  • Tested execution of all binary files (usually in ./result/bin/)

  • Fits CONTRIBUTING.md.


@7c6f434c
Copy link
Member

Hm. So you want to say that when you build wireshark-cli on master branch, GUI gets compiled even though neither Qt nor GTK is actually in buildInputs?

@bjornfor
Copy link
Contributor

Please split in two commits, one for the build improvement and another for adding tshark alias.

as an alias to wireshark-cli
@teto
Copy link
Member Author

teto commented Sep 19, 2017

Hm. So you want to say that when you build wireshark-cli on master branch, GUI gets compiled even though neither Qt nor GTK is actually in buildInputs?
Right. my mistake, I must have been confused by a leftover package :s I just kept the aliasing diff.

@Mic92 Mic92 merged commit bed076c into NixOS:master Sep 19, 2017
@teto teto deleted the tshark branch February 9, 2018 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants