From fa7472289021fd16e65fa13f7f7b8b5a1335a78b Mon Sep 17 00:00:00 2001
From: Ruben Rodriguez <ruben@trisquel.info>
Date: Mon, 8 Oct 2018 22:59:29 -0400
Subject: [PATCH] Add libupnp to ring dependencies

---
 helpers/make-libupnp | 28 ++++++++++++++++++++++++++++
 helpers/make-ring    |  2 +-
 2 files changed, 29 insertions(+), 1 deletion(-)
 create mode 100644 helpers/make-libupnp

diff --git a/helpers/make-libupnp b/helpers/make-libupnp
new file mode 100644
index 00000000..a93800e9
--- /dev/null
+++ b/helpers/make-libupnp
@@ -0,0 +1,28 @@
+#!/bin/sh
+#
+#    Copyright (C) 2018 Ruben Rodriguez <ruben@trisquel.info>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+#
+
+VERSION=1
+EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu bionic main universe'
+REPOKEY=7638D0442B90D010
+
+. ./config
+
+changelog "Backported from bionic"
+
+compile
diff --git a/helpers/make-ring b/helpers/make-ring
index 065dca65..4efa1088 100644
--- a/helpers/make-ring
+++ b/helpers/make-ring
@@ -20,7 +20,7 @@
 # build-dep tree:
 #
 # ring
-#  restbed libsecp256k1
+#  restbed libsecp256k1 libupnp
 #  ffmpeg
 #   libmysofa libopenmpt
 #  opendht
-- 
GitLab