summaryrefslogtreecommitdiff
path: root/strata/networking-utils
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-12 15:57:03 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-13 16:59:42 +0000
commit25ff496ae5a0988f64dbb4150bd402b2c306338e (patch)
tree1b11cee03b745a6578d4d0877a7a3d84be03ab7e /strata/networking-utils
parentc9cc0c9ad8b78e46933733f9304a490598dec03a (diff)
downloaddefinitions-25ff496ae5a0988f64dbb4150bd402b2c306338e.tar.gz
Add networking-utils stratum
This stratum is created to place all the networking tools. In this commits it adds iproute2 tools like ip and tc and ipset tools. This stratum requires kernel support in order to work.
Diffstat (limited to 'strata/networking-utils')
-rw-r--r--strata/networking-utils/iproute2.morph10
-rw-r--r--strata/networking-utils/ipset.morph6
2 files changed, 16 insertions, 0 deletions
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