From df0762a3a2ac9fb85bb38de0f2d7af24eff71990 Mon Sep 17 00:00:00 2001
From: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
Date: Wed, 27 Jul 2016 11:05:18 -0400
Subject: [PATCH] packaging: add missing libupnp

Missing in debian control and fedora .spec file as well as in the
debian docker images.

Change-Id: Ic09447bda4b695c93cd984c2c8f472c58aceb5eb
Reviewed-by: Alexandre Viau <alexandre.viau@savoirfairelinux.com>
---
 debian/control                  | 2 +-
 docker/debian_8/Dockerfile      | 2 +-
 docker/debian_8_i386/Dockerfile | 2 +-
 docker/debian_9/Dockerfile      | 2 +-
 docker/debian_9_i386/Dockerfile | 2 +-
 ring-daemon.spec                | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index 0fa041324f..1e16a502e5 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Build-Depends: debhelper (>= 9),
  libdbus-c++-dev, libsndfile1-dev, libxext-dev,
  libxfixes-dev, yasm, autopoint, unbound-anchor, git-core, libspeex-dev,
  libspeexdsp-dev, autotools-dev, chrpath, check, astyle,
- uuid-dev, libudev-dev, libjsoncpp-dev, libnatpmp-dev, cmake
+ uuid-dev, libudev-dev, libjsoncpp-dev, libnatpmp-dev, cmake, libupnp-dev
 
 Package: ring-daemon
 Architecture: any
diff --git a/docker/debian_8/Dockerfile b/docker/debian_8/Dockerfile
index 1c1255e3e0..36fe3054bc 100644
--- a/docker/debian_8/Dockerfile
+++ b/docker/debian_8/Dockerfile
@@ -6,5 +6,5 @@ RUN apt-get install -y devscripts debianutils debhelper build-essential tar \
  libdbus-1-dev libasound2-dev libexpat1-dev libpcre3-dev libyaml-cpp-dev \
  libboost-dev libdbus-c++-dev libsndfile1-dev libxext-dev libnatpmp-dev \
  libxfixes-dev yasm autopoint unbound-anchor git-core libspeex-dev \
- libspeexdsp-dev autotools-dev chrpath check astyle \
+ libspeexdsp-dev autotools-dev chrpath check astyle libupnp-dev \
  uuid-dev libudev-dev cmake libjsoncpp-dev --fix-missing
diff --git a/docker/debian_8_i386/Dockerfile b/docker/debian_8_i386/Dockerfile
index 03a3cf97de..099232f55c 100644
--- a/docker/debian_8_i386/Dockerfile
+++ b/docker/debian_8_i386/Dockerfile
@@ -6,5 +6,5 @@ RUN apt-get install -y devscripts debianutils debhelper build-essential tar \
  libdbus-1-dev libasound2-dev libexpat1-dev libpcre3-dev libyaml-cpp-dev \
  libboost-dev libdbus-c++-dev libsndfile1-dev libxext-dev libnatpmp-dev \
  libxfixes-dev yasm autopoint unbound-anchor git-core libspeex-dev \
- libspeexdsp-dev autotools-dev chrpath check astyle \
+ libspeexdsp-dev autotools-dev chrpath check astyle libupnp-dev \
  uuid-dev libudev-dev cmake libjsoncpp-dev --fix-missing
diff --git a/docker/debian_9/Dockerfile b/docker/debian_9/Dockerfile
index 33998f9a86..8c7e8d67bc 100644
--- a/docker/debian_9/Dockerfile
+++ b/docker/debian_9/Dockerfile
@@ -6,5 +6,5 @@ RUN apt-get install -y devscripts debianutils debhelper build-essential tar \
  libdbus-1-dev libasound2-dev libexpat1-dev libpcre3-dev libyaml-cpp-dev \
  libboost-dev libdbus-c++-dev libsndfile1-dev libxext-dev libnatpmp-dev \
  libxfixes-dev yasm autopoint unbound-anchor git-core libspeex-dev \
- libspeexdsp-dev autotools-dev chrpath check astyle \
+ libspeexdsp-dev autotools-dev chrpath check astyle libupnp-dev \
  uuid-dev libudev-dev cmake libjsoncpp-dev --fix-missing
diff --git a/docker/debian_9_i386/Dockerfile b/docker/debian_9_i386/Dockerfile
index c4dc6f54ef..c5a1b2a889 100644
--- a/docker/debian_9_i386/Dockerfile
+++ b/docker/debian_9_i386/Dockerfile
@@ -6,5 +6,5 @@ RUN apt-get install -y devscripts debianutils debhelper build-essential tar \
  libdbus-1-dev libasound2-dev libexpat1-dev libpcre3-dev libyaml-cpp-dev \
  libboost-dev libdbus-c++-dev libsndfile1-dev libxext-dev libnatpmp-dev \
  libxfixes-dev yasm autopoint unbound-anchor git-core libspeex-dev \
- libspeexdsp-dev autotools-dev chrpath check astyle \
+ libspeexdsp-dev autotools-dev chrpath check astyle libupnp-dev \
  uuid-dev libudev-dev cmake libjsoncpp-dev --fix-missing
diff --git a/ring-daemon.spec b/ring-daemon.spec
index 11f8466d4f..6b4dd19ab4 100644
--- a/ring-daemon.spec
+++ b/ring-daemon.spec
@@ -18,7 +18,7 @@ BuildRequires:      dbus-devel libsndfile-devel libXext-devel libXfixes-devel
 BuildRequires:      yasm git speex-devel chrpath check astyle uuid-c++-devel
 BuildRequires:      gettext-devel gcc-c++ which alsa-lib-devel systemd-devel
 BuildRequires:      libuuid-devel uuid-devel gnutls-devel nettle-devel
-BuildRequires:      opus-devel jsoncpp-devel libnatpmp-devel
+BuildRequires:      opus-devel jsoncpp-devel libnatpmp-devel libupnp-dev
 
 %description
 Ring is free software for distributed and secured communication.
-- 
GitLab