diff options
author | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2015-05-22 14:04:28 +0000 |
---|---|---|
committer | Baserock Gerrit <gerrit@baserock.org> | 2015-05-26 13:44:02 +0000 |
commit | fdbea24797f7559ec8edc0c34f71a8dc5e0a94dc (patch) | |
tree | 1acd7c1450c1f868c91a6f76118419a932502c7d | |
parent | 74fac2adda7467f1eb55dca293057cbe81b0a13b (diff) | |
download | definitions-fdbea24797f7559ec8edc0c34f71a8dc5e0a94dc.tar.gz |
Add `arping` to networking-utils
Because `arping` requires the libpcap library, move tcpdump and libpcap
to networking-utils.
Add also `arping`'s libnet dependency.
Change-Id: Ie459e5295bc2770856e06cb005845ee3f172e68e
-rw-r--r-- | strata/networking-utils.morph | 25 | ||||
-rw-r--r-- | strata/networking-utils/arping.morph | 3 | ||||
-rw-r--r-- | strata/networking-utils/libnet.morph | 15 | ||||
-rw-r--r-- | strata/networking-utils/libpcap.morph (renamed from strata/tools/libpcap.morph) | 0 | ||||
-rw-r--r-- | strata/networking-utils/tcpdump.morph (renamed from strata/tools/tcpdump.morph) | 0 | ||||
-rw-r--r-- | strata/tools.morph | 12 |
6 files changed, 43 insertions, 12 deletions
diff --git a/strata/networking-utils.morph b/strata/networking-utils.morph index 689bec87..951e2d29 100644 --- a/strata/networking-utils.morph +++ b/strata/networking-utils.morph @@ -25,3 +25,28 @@ chunks: unpetrify-ref: v6.24 build-depends: - libmnl +- name: libpcap + morph: strata/networking-utils/libpcap.morph + repo: upstream:libpcap + ref: 098a643f817e8a9929c70dfba157e4d399398375 + unpetrify-ref: libpcap-1.7 +- name: tcpdump + morph: strata/networking-utils/tcpdump.morph + repo: upstream:tcpdump + ref: 8aa5edea1b8846740514dee4158b6c707d38fc13 + unpetrify-ref: tcpdump-4.7 + build-depends: + - libpcap +- name: libnet + morph: strata/networking-utils/libnet.morph + repo: upstream:libnet + ref: 05df365769597e1d64d02af931d6127762ff2658 + unpetrify-ref: libnet-1.2 +- name: arping + morph: strata/networking-utils/arping.morph + repo: upstream:arping + ref: a416764b03f4d5960b61372e27d84606899bfe2c + unpetrify-ref: arping-2.15 + build-depends: + - libpcap + - libnet diff --git a/strata/networking-utils/arping.morph b/strata/networking-utils/arping.morph new file mode 100644 index 00000000..d9f5bd30 --- /dev/null +++ b/strata/networking-utils/arping.morph @@ -0,0 +1,3 @@ +name: arping +kind: chunk +build-system: autotools diff --git a/strata/networking-utils/libnet.morph b/strata/networking-utils/libnet.morph new file mode 100644 index 00000000..c4f2b213 --- /dev/null +++ b/strata/networking-utils/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 diff --git a/strata/tools/libpcap.morph b/strata/networking-utils/libpcap.morph index 7c5ee932..7c5ee932 100644 --- a/strata/tools/libpcap.morph +++ b/strata/networking-utils/libpcap.morph diff --git a/strata/tools/tcpdump.morph b/strata/networking-utils/tcpdump.morph index 7a974dab..7a974dab 100644 --- a/strata/tools/tcpdump.morph +++ b/strata/networking-utils/tcpdump.morph diff --git a/strata/tools.morph b/strata/tools.morph index eff3a886..4d2fa2ad 100644 --- a/strata/tools.morph +++ b/strata/tools.morph @@ -73,18 +73,6 @@ chunks: unpetrify-ref: IPMITOOL_1_8_14 build-depends: - file -- name: libpcap - morph: strata/tools/libpcap.morph - repo: upstream:libpcap - ref: 098a643f817e8a9929c70dfba157e4d399398375 - unpetrify-ref: libpcap-1.7 -- name: tcpdump - morph: strata/tools/tcpdump.morph - repo: upstream:tcpdump - ref: 8aa5edea1b8846740514dee4158b6c707d38fc13 - unpetrify-ref: tcpdump-4.7 - build-depends: - - libpcap - name: parted morph: strata/tools/parted.morph repo: upstream:parted |