diff mbox

[ovs-dev,v2,2/5] debian: Add a package for OVN common components.

Message ID 1450306031-17238-2-git-send-email-guru@ovn.org
State Accepted
Headers show

Commit Message

Gurucharan Shetty Dec. 16, 2015, 10:47 p.m. UTC
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
---
v1-v2:
change name of the package from openvswitch-ovn-common to ovn-common
---
 debian/.gitignore          |    1 +
 debian/automake.mk         |    2 ++
 debian/control             |   14 ++++++++++++++
 debian/ovn-common.install  |    3 +++
 debian/ovn-common.manpages |    4 ++++
 5 files changed, 24 insertions(+)
 create mode 100644 debian/ovn-common.install
 create mode 100644 debian/ovn-common.manpages

Comments

Ben Pfaff Jan. 5, 2016, 4:44 p.m. UTC | #1
On Wed, Dec 16, 2015 at 02:47:08PM -0800, Gurucharan Shetty wrote:
> Signed-off-by: Gurucharan Shetty <guru@ovn.org>
> ---
> v1-v2:
> change name of the package from openvswitch-ovn-common to ovn-common

I still think we'll want to get rid of the dependency on
openvswitch-switch, but we can do that later.

Acked-by: Ben Pfaff <blp@ovn.org>
Gurucharan Shetty Jan. 5, 2016, 5:21 p.m. UTC | #2
>
>
>
> I still think we'll want to get rid of the dependency on
> openvswitch-switch, but we can do that later.
>
> Acked-by: Ben Pfaff <blp@ovn.org>
>

Thanks. I pushed the series. I sent a patch which atleast removes
openswitch-switch dependency from ovn-common
diff mbox

Patch

diff --git a/debian/.gitignore b/debian/.gitignore
index e8d9d31..fdcf9b3 100644
--- a/debian/.gitignore
+++ b/debian/.gitignore
@@ -18,5 +18,6 @@ 
 /openvswitch-test
 /openvswitch-testcontroller
 /openvswitch-vtep
+/ovn-common
 /python-openvswitch
 /tmp
diff --git a/debian/automake.mk b/debian/automake.mk
index c29a560..2b6f098 100644
--- a/debian/automake.mk
+++ b/debian/automake.mk
@@ -50,6 +50,8 @@  EXTRA_DIST += \
 	debian/openvswitch-vtep.init \
 	debian/openvswitch-vtep.install \
 	debian/openvswitch-vtep.manpages \
+	debian/ovn-common.install \
+	debian/ovn-common.manpages \
 	debian/ovs-monitor-ipsec \
 	debian/python-openvswitch.dirs \
 	debian/python-openvswitch.install \
diff --git a/debian/control b/debian/control
index 49d6f5f..57285f1 100644
--- a/debian/control
+++ b/debian/control
@@ -98,6 +98,20 @@  Description: Open vSwitch switch implementations
  openvswitch-switch provides the userspace components and utilities for
  the Open vSwitch kernel-based switch.
 
+Package: ovn-common
+Architecture: linux-any
+Depends: openvswitch-switch (= ${binary:Version}),
+         openvswitch-common (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: OVN common components
+ OVN, the Open Virtual Network, is a system to support virtual network
+ abstraction.  OVN complements the existing capabilities of OVS to add
+ native support for virtual network abstractions, such as virtual L2 and L3
+ overlays and security groups.
+ .
+ ovn-common provides components required by other OVN packages.
+
 Package: openvswitch-ipsec
 Architecture: linux-any
 Depends: ipsec-tools (>=0.8~alpha20101208),
diff --git a/debian/ovn-common.install b/debian/ovn-common.install
new file mode 100644
index 0000000..acb1dc9
--- /dev/null
+++ b/debian/ovn-common.install
@@ -0,0 +1,3 @@ 
+usr/bin/ovn-nbctl
+usr/bin/ovn-sbctl
+usr/share/openvswitch/scripts/ovn-ctl
diff --git a/debian/ovn-common.manpages b/debian/ovn-common.manpages
new file mode 100644
index 0000000..d48d801
--- /dev/null
+++ b/debian/ovn-common.manpages
@@ -0,0 +1,4 @@ 
+ovn/ovn-architecture.7
+ovn/utilities/ovn-ctl.8
+ovn/utilities/ovn-nbctl.8
+ovn/utilities/ovn-sbctl.8