From cb859243a571979384c561f663a2a64515e13b29 Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Sun, 1 Jul 2012 19:16:41 -0700 Subject: [PATCH] Added Debian/Ubuntu packaging - thanks to James Page. --- debian/changelog | 6 ++++++ debian/compat | 1 + debian/control | 23 +++++++++++++++++++++++ debian/copyright | 0 debian/rules | 8 ++++++++ debian/source/format | 1 + 6 files changed, 39 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a85ec01 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +mininet (2.0.0d1) precise; urgency=low + + * Initial release + + -- Bob Lantz Sun, 01 Jul 2012 23:19:54 +0000 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..152d22a --- /dev/null +++ b/debian/control @@ -0,0 +1,23 @@ +Source: mininet +Section: net +Priority: extra +Maintainer: Ubuntu Developers +Standards-Version: 3.9.3 +Build-Depends: + debhelper (>= 7), + python-dev, + python-pkg-resources, + python-setuptools + +Package: mininet +Architecture: any +Depends: + openvswitch-switch, + ${misc:Depends}, + ${python:Depends}, + ${shlibs:Depends} +Description: Process-based network emulator + Mininet is a network emulator which uses lightweight + virtualization to create virtual networks for rapid + prototyping of Software-Defined Network (SDN) designs + using OpenFlow. http://openflow.org/mininet diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e69de29 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b587d32 --- /dev/null +++ b/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +%: + dh $@ --buildsystem=python_distutils --with=python2 + +override_dh_auto_build: + make mnexec && cp mnexec bin/ + dh_auto_build diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native)