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

arpoison: init at 0.7 #35109

Merged
merged 3 commits into from Feb 23, 2018
Merged

arpoison: init at 0.7 #35109

merged 3 commits into from Feb 23, 2018

Conversation

michalrus
Copy link
Member

Motivation for this change

Useful for pentesting.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • 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.

@joachifm
Copy link
Contributor

@GrahamcOfBorg build arpoison

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/srq5sh0avpwq4ah3w68mp6ra2mw64sdw-arpoison-0.7
shrinking /nix/store/srq5sh0avpwq4ah3w68mp6ra2mw64sdw-arpoison-0.7/bin/arpoison
gzipping man pages under /nix/store/srq5sh0avpwq4ah3w68mp6ra2mw64sdw-arpoison-0.7/share/man/
strip is /nix/store/skd6ix5ipkyhxzq7naylj4digawakl4j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/srq5sh0avpwq4ah3w68mp6ra2mw64sdw-arpoison-0.7/bin
patching script interpreter paths in /nix/store/srq5sh0avpwq4ah3w68mp6ra2mw64sdw-arpoison-0.7
checking for references to /build in /nix/store/srq5sh0avpwq4ah3w68mp6ra2mw64sdw-arpoison-0.7...
/nix/store/srq5sh0avpwq4ah3w68mp6ra2mw64sdw-arpoison-0.7

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

patching sources
configuring
no configure script, doing nothing
building
build flags: SHELL=/nix/store/19cc89zq5n68ibr53izy4zgcr5qg2rza-bash-4.4-p12/bin/bash
gcc -lnet -o arpoison `libnet-config --defines` -I/opt/local/include -L/opt/local/lib arpoison.c
/nix/store/19cc89zq5n68ibr53izy4zgcr5qg2rza-bash-4.4-p12/bin/bash: gcc: command not found
make: *** [Makefile:5: arpoison] Error 127
builder for '/nix/store/fg4fx41nw94ni4mps4w08vwam23sz8ix-arpoison-0.7.drv' failed with exit code 2
error: build of '/nix/store/fg4fx41nw94ni4mps4w08vwam23sz8ix-arpoison-0.7.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/5rx532g8508smklbhh0d2qb3zdglpb70-arpoison-0.7
shrinking /nix/store/5rx532g8508smklbhh0d2qb3zdglpb70-arpoison-0.7/bin/arpoison
gzipping man pages under /nix/store/5rx532g8508smklbhh0d2qb3zdglpb70-arpoison-0.7/share/man/
strip is /nix/store/adidfx4pa7vmvby0gjqqmiwg2x49yr27-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/5rx532g8508smklbhh0d2qb3zdglpb70-arpoison-0.7/bin
patching script interpreter paths in /nix/store/5rx532g8508smklbhh0d2qb3zdglpb70-arpoison-0.7
checking for references to /build in /nix/store/5rx532g8508smklbhh0d2qb3zdglpb70-arpoison-0.7...
/nix/store/5rx532g8508smklbhh0d2qb3zdglpb70-arpoison-0.7

@Mic92
Copy link
Member

Mic92 commented Feb 21, 2018

try makeFlags = ["CC=cc"]; to fix darwin build

@fpletz
Copy link
Member

fpletz commented Feb 23, 2018

@GrahamcOfBorg build arpoison

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

patching sources
configuring
no configure script, doing nothing
building
build flags: SHELL=/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/bash CC=cc
gcc -lnet -o arpoison `libnet-config --defines` -I/opt/local/include -L/opt/local/lib arpoison.c
/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/bash: gcc: command not found
make: *** [Makefile:5: arpoison] Error 127
builder for '/nix/store/xfgdcb6q9ipspxhjalb6vqsk5d6sm5zw-arpoison-0.7.drv' failed with exit code 2
error: build of '/nix/store/xfgdcb6q9ipspxhjalb6vqsk5d6sm5zw-arpoison-0.7.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/82ki4ik1n0jpv3n8d9xvdq2sxkbhp2b0-arpoison-0.7
shrinking /nix/store/82ki4ik1n0jpv3n8d9xvdq2sxkbhp2b0-arpoison-0.7/bin/arpoison
gzipping man pages under /nix/store/82ki4ik1n0jpv3n8d9xvdq2sxkbhp2b0-arpoison-0.7/share/man/
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/82ki4ik1n0jpv3n8d9xvdq2sxkbhp2b0-arpoison-0.7/bin
patching script interpreter paths in /nix/store/82ki4ik1n0jpv3n8d9xvdq2sxkbhp2b0-arpoison-0.7
checking for references to /build in /nix/store/82ki4ik1n0jpv3n8d9xvdq2sxkbhp2b0-arpoison-0.7...
/nix/store/82ki4ik1n0jpv3n8d9xvdq2sxkbhp2b0-arpoison-0.7

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/nphyj3kvlwmqr4w191aldnswcg6q9pp9-arpoison-0.7
shrinking /nix/store/nphyj3kvlwmqr4w191aldnswcg6q9pp9-arpoison-0.7/bin/arpoison
gzipping man pages under /nix/store/nphyj3kvlwmqr4w191aldnswcg6q9pp9-arpoison-0.7/share/man/
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/nphyj3kvlwmqr4w191aldnswcg6q9pp9-arpoison-0.7/bin 
patching script interpreter paths in /nix/store/nphyj3kvlwmqr4w191aldnswcg6q9pp9-arpoison-0.7
checking for references to /tmp/nix-build-arpoison-0.7.drv-0 in /nix/store/nphyj3kvlwmqr4w191aldnswcg6q9pp9-arpoison-0.7...
/nix/store/nphyj3kvlwmqr4w191aldnswcg6q9pp9-arpoison-0.7

@fpletz
Copy link
Member

fpletz commented Feb 23, 2018

@GrahamcOfBorg build arpoison

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/cvlag9pc78bczw50fjlx70hyxfl5j59k-arpoison-0.7
shrinking /nix/store/cvlag9pc78bczw50fjlx70hyxfl5j59k-arpoison-0.7/bin/arpoison
gzipping man pages under /nix/store/cvlag9pc78bczw50fjlx70hyxfl5j59k-arpoison-0.7/share/man/
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/cvlag9pc78bczw50fjlx70hyxfl5j59k-arpoison-0.7/bin
patching script interpreter paths in /nix/store/cvlag9pc78bczw50fjlx70hyxfl5j59k-arpoison-0.7
checking for references to /build in /nix/store/cvlag9pc78bczw50fjlx70hyxfl5j59k-arpoison-0.7...
/nix/store/cvlag9pc78bczw50fjlx70hyxfl5j59k-arpoison-0.7

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Partial log (click to expand)

building
build flags: SHELL=/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/bash
cc -lnet -o arpoison `libnet-config --defines` -I/opt/local/include -L/opt/local/lib arpoison.c
installing
post-installation fixup
gzipping man pages under /nix/store/52hf5svy9c5p1ib3d2jl7345ipn4z5nn-arpoison-0.7/share/man/
strip is /nix/store/4sdh09gmvl15cy0zb6i7mbvxh5syz206-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/52hf5svy9c5p1ib3d2jl7345ipn4z5nn-arpoison-0.7/bin
patching script interpreter paths in /nix/store/52hf5svy9c5p1ib3d2jl7345ipn4z5nn-arpoison-0.7
/nix/store/52hf5svy9c5p1ib3d2jl7345ipn4z5nn-arpoison-0.7

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/r591z6jxs4is5ah8aj3kyda4fjd4a9z0-arpoison-0.7
shrinking /nix/store/r591z6jxs4is5ah8aj3kyda4fjd4a9z0-arpoison-0.7/bin/arpoison
gzipping man pages under /nix/store/r591z6jxs4is5ah8aj3kyda4fjd4a9z0-arpoison-0.7/share/man/
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/r591z6jxs4is5ah8aj3kyda4fjd4a9z0-arpoison-0.7/bin 
patching script interpreter paths in /nix/store/r591z6jxs4is5ah8aj3kyda4fjd4a9z0-arpoison-0.7
checking for references to /tmp/nix-build-arpoison-0.7.drv-0 in /nix/store/r591z6jxs4is5ah8aj3kyda4fjd4a9z0-arpoison-0.7...
/nix/store/r591z6jxs4is5ah8aj3kyda4fjd4a9z0-arpoison-0.7

@fpletz
Copy link
Member

fpletz commented Feb 23, 2018

There we go. 😌

@fpletz fpletz merged commit dbfcf28 into NixOS:master Feb 23, 2018
@michalrus
Copy link
Member Author

Ohhhhh, sorry I lagged behind on this one. =(

@fpletz, thank you very much!!!

@michalrus michalrus deleted the arpoison branch February 23, 2018 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants