diff mbox series

[ovs-dev] Debian: Update package dependency

Message ID 1505925050-113310-1-git-send-email-yihung.wei@gmail.com
State Accepted
Headers show
Series [ovs-dev] Debian: Update package dependency | expand

Commit Message

Yi-Hung Wei Sept. 20, 2017, 4:30 p.m. UTC
Given that it is libopenvswitch-dev not libopenvswitch that depends on
libssl-dev, this patch updates debian/control file to reflect that
libopenvswitch-dev depends on libssl-dev, and libopenvswitch depends
on openssl.

Tested on Ubuntu 16.04 and 14.04.

VMWare-BZ: #1953215
CC: Ben Warren <ben@skyportsystems.com>
Fixes: c33e9122dbc3 ("Debian: Rework libopenvswitch packages")
Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
---
 debian/control | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Li,Rongqing via dev Sept. 20, 2017, 4:42 p.m. UTC | #1
Thanks for doing this.

> On Sep 20, 2017, at 9:30 AM, Yi-Hung Wei <yihung.wei@gmail.com> wrote:
> 
> Given that it is libopenvswitch-dev not libopenvswitch that depends on
> libssl-dev, this patch updates debian/control file to reflect that
> libopenvswitch-dev depends on libssl-dev, and libopenvswitch depends
> on openssl.
> 
> Tested on Ubuntu 16.04 and 14.04.
> 
> VMWare-BZ: #1953215
> CC: Ben Warren <ben@skyportsystems.com>
> Fixes: c33e9122dbc3 ("Debian: Rework libopenvswitch packages")
> Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
Acked-by: Ben Warren <ben@skyportsystems.com>
> ---
> debian/control | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/debian/control b/debian/control
> index 2173735692f8..a4c031d85f1b 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -57,8 +57,7 @@ Description: Open vSwitch datapath module source - DKMS version
> Package: openvswitch-common
> Architecture: linux-any
> Multi-Arch: foreign
> -Depends: openssl,
> -         python (>= 2.7),
> +Depends: python (>= 2.7),
>          python-six,
>          libopenvswitch (= ${binary:Version}),
>          ${misc:Depends},
> @@ -81,7 +80,7 @@ Description: Open vSwitch common components
> Package: libopenvswitch
> Architecture: linux-any
> Multi-Arch: same
> -Depends: libssl-dev,
> +Depends: openssl,
>          ${misc:Depends},
>          ${shlibs:Depends}
> Description: Open vSwitch common components
> @@ -307,6 +306,7 @@ Architecture: linux-any
> Multi-Arch: same
> Depends:
>  libopenvswitch (>= ${binary:Version}),
> + libssl-dev,
>  ${misc:Depends}
> Conflicts: openvswitch-dev
> Replaces: openvswitch-dev
> -- 
> 2.7.4
>
Gurucharan Shetty Sept. 25, 2017, 4:59 p.m. UTC | #2
On 20 September 2017 at 09:30, Yi-Hung Wei <yihung.wei@gmail.com> wrote:

> Given that it is libopenvswitch-dev not libopenvswitch that depends on
> libssl-dev, this patch updates debian/control file to reflect that
> libopenvswitch-dev depends on libssl-dev, and libopenvswitch depends
> on openssl.
>
> Tested on Ubuntu 16.04 and 14.04.
>
> VMWare-BZ: #1953215
> CC: Ben Warren <ben@skyportsystems.com>
> Fixes: c33e9122dbc3 ("Debian: Rework libopenvswitch packages")
> Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
>
I applied this to master and 2.8


> ---
>  debian/control | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/debian/control b/debian/control
> index 2173735692f8..a4c031d85f1b 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -57,8 +57,7 @@ Description: Open vSwitch datapath module source - DKMS
> version
>  Package: openvswitch-common
>  Architecture: linux-any
>  Multi-Arch: foreign
> -Depends: openssl,
> -         python (>= 2.7),
> +Depends: python (>= 2.7),
>           python-six,
>           libopenvswitch (= ${binary:Version}),
>           ${misc:Depends},
> @@ -81,7 +80,7 @@ Description: Open vSwitch common components
>  Package: libopenvswitch
>  Architecture: linux-any
>  Multi-Arch: same
> -Depends: libssl-dev,
> +Depends: openssl,
>           ${misc:Depends},
>           ${shlibs:Depends}
>  Description: Open vSwitch common components
> @@ -307,6 +306,7 @@ Architecture: linux-any
>  Multi-Arch: same
>  Depends:
>   libopenvswitch (>= ${binary:Version}),
> + libssl-dev,
>   ${misc:Depends}
>  Conflicts: openvswitch-dev
>  Replaces: openvswitch-dev
> --
> 2.7.4
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
diff mbox series

Patch

diff --git a/debian/control b/debian/control
index 2173735692f8..a4c031d85f1b 100644
--- a/debian/control
+++ b/debian/control
@@ -57,8 +57,7 @@  Description: Open vSwitch datapath module source - DKMS version
 Package: openvswitch-common
 Architecture: linux-any
 Multi-Arch: foreign
-Depends: openssl,
-         python (>= 2.7),
+Depends: python (>= 2.7),
          python-six,
          libopenvswitch (= ${binary:Version}),
          ${misc:Depends},
@@ -81,7 +80,7 @@  Description: Open vSwitch common components
 Package: libopenvswitch
 Architecture: linux-any
 Multi-Arch: same
-Depends: libssl-dev,
+Depends: openssl,
          ${misc:Depends},
          ${shlibs:Depends}
 Description: Open vSwitch common components
@@ -307,6 +306,7 @@  Architecture: linux-any
 Multi-Arch: same
 Depends:
  libopenvswitch (>= ${binary:Version}),
+ libssl-dev,
  ${misc:Depends}
 Conflicts: openvswitch-dev
 Replaces: openvswitch-dev