diff options
author | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2015-05-22 14:04:28 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-05-22 23:22:09 +0000 |
commit | 4dcebc9c72ede16dd83f00e73f23eeff13f7ff1d (patch) | |
tree | b1223ce2c741e4b0b36f20c43fdf80837a9a5396 /strata | |
parent | 47ba71644d792b068b0cc70fc0949d6d728e9ba2 (diff) | |
download | definitions-4dcebc9c72ede16dd83f00e73f23eeff13f7ff1d.tar.gz |
WIP Add `arping` to tools
Busybox's arping is not good enough for the OpenStack networking service.
Add it to tools so that everyone can benefit of a better arping command.
Also add its libnet dependency.
Diffstat (limited to 'strata')
-rw-r--r-- | strata/tools.morph | 13 | ||||
-rw-r--r-- | strata/tools/arping.morph | 3 | ||||
-rw-r--r-- | strata/tools/libnet.morph | 15 |
3 files changed, 31 insertions, 0 deletions
diff --git a/strata/tools.morph b/strata/tools.morph index 8c8d782e..3774ff7c 100644 --- a/strata/tools.morph +++ b/strata/tools.morph @@ -95,3 +95,16 @@ chunks: repo: upstream:findutils ref: ee6b25541336f9d74624ca814538ddc8c67f0732 unpetrify-ref: baserock/v4.5.14 +- name: libnet + morph: strata/tools/libnet.morph + repo: https://github.com/sam-github/libnet + ref: 05df365769597e1d64d02af931d6127762ff2658 + unpetrify-ref: libnet-1.2 +- name: arping + morph: strata/tools/arping.morph + repo: https://github.com/ThomasHabets/arping.git + ref: a416764b03f4d5960b61372e27d84606899bfe2c + unpetrify-ref: arping-2.15 + build-depends: + - libpcap + - libnet diff --git a/strata/tools/arping.morph b/strata/tools/arping.morph new file mode 100644 index 00000000..d9f5bd30 --- /dev/null +++ b/strata/tools/arping.morph @@ -0,0 +1,3 @@ +name: arping +kind: chunk +build-system: autotools diff --git a/strata/tools/libnet.morph b/strata/tools/libnet.morph new file mode 100644 index 00000000..c4f2b213 --- /dev/null +++ b/strata/tools/libnet.morph @@ -0,0 +1,15 @@ +name: libnet +kind: chunk +build-system: manual +pre-configure-commands: +# Avoid building the docs as they require doxygen +- sed -i 's@doc @@' libnet/Makefile.am +- sed -i 's@doc/.*Makefile@@' libnet/configure.ac + +- cd libnet && ./autogen.sh +configure-commands: +- cd libnet && ./configure --prefix="$PREFIX" --disable-samples --enable-shared=yes --with-pic +build-commands: +- cd libnet && make +install-commands: +- cd libnet && make DESTDIR="$DESTDIR" install |