summaryrefslogtreecommitdiff
path: root/strata/networking-utils
diff options
context:
space:
mode:
Diffstat (limited to 'strata/networking-utils')
-rw-r--r--strata/networking-utils/arping.morph3
-rw-r--r--strata/networking-utils/iproute2.morph10
-rw-r--r--strata/networking-utils/ipset.morph6
-rw-r--r--strata/networking-utils/libnet.morph15
-rw-r--r--strata/networking-utils/libpcap.morph3
-rw-r--r--strata/networking-utils/tcpdump.morph3
6 files changed, 40 insertions, 0 deletions
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/iproute2.morph b/strata/networking-utils/iproute2.morph
new file mode 100644
index 00000000..7ba04db6
--- /dev/null
+++ b/strata/networking-utils/iproute2.morph
@@ -0,0 +1,10 @@
+name: iproute2
+kind: chunk
+build-commands:
+# arpd binary is dependent on Berkeley DB, which is licensed by Oracle
+# as arpd is not needed for Openstack systems, arpd will not be compiled
+# or installed.
+- sed -i '/^TARGETS/s@arpd@@g' misc/Makefile
+- make
+install-commands:
+- DESTDIR="$DESTDIR" PREFIX="$PREFIX" make install
diff --git a/strata/networking-utils/ipset.morph b/strata/networking-utils/ipset.morph
new file mode 100644
index 00000000..7fe8c6dc
--- /dev/null
+++ b/strata/networking-utils/ipset.morph
@@ -0,0 +1,6 @@
+name: ipset
+kind: chunk
+build-system: autotools
+configure-commands:
+- ./autogen.sh
+- ./configure --prefix="$PREFIX" --enable-static=no --with-kmod=no
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/networking-utils/libpcap.morph b/strata/networking-utils/libpcap.morph
new file mode 100644
index 00000000..7c5ee932
--- /dev/null
+++ b/strata/networking-utils/libpcap.morph
@@ -0,0 +1,3 @@
+name: libpcap
+kind: chunk
+build-system: autotools
diff --git a/strata/networking-utils/tcpdump.morph b/strata/networking-utils/tcpdump.morph
new file mode 100644
index 00000000..7a974dab
--- /dev/null
+++ b/strata/networking-utils/tcpdump.morph
@@ -0,0 +1,3 @@
+name: tcpdump
+kind: chunk
+build-system: autotools