Skip to contentSkip to conversation

miniupnpd: improve recipe

PATCH New Pascal Bach 1 participant 1 message May 10, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 miniupnpd: improve recipe

- Produce a clean download tarball
- ./genconfig.sh is not necessary as it is called by make if necessary
- Enable the possible to do vendor configuration in the supplied .conf file

---
 meta-multimedia/recipes-connectivity/miniupnpd/miniupnpd_2.0.bb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
meta-multimedia/recipes-connectivity/miniupnpd/miniupnpd_2.0.bb +2 -3
index bb361a1..c6f36e1 100644
@@ -11,7 +11,7 @@ inherit autotools gettext pkgconfig
 
 DEPENDS += "iptables net-tools util-linux libmnl libnetfilter-conntrack"
 
-SRC_URI = "http://miniupnp.tuxfamily.org/files/download.php?file=${P}.tar.gz \
+SRC_URI = "http://miniupnp.tuxfamily.org/files/download.php?file=${P}.tar.gz;downloadfilename=${P}.tar.gz \
 "
 SRC_URI[md5sum] = "1c07a215dd9b362e75a9efc05e2fb3b4"
 SRC_URI[sha256sum] = "d96aa3a00e0f5490826bba3cb97e68cd27479e5839adac4b9bcb66eae786bfb7"
@@ -20,8 +20,7 @@ IPV6 = "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', '--ipv6', '', d)}"
 
 do_compile() {
     cd ${S}
-    CONFIG_OPTIONS="${IPV6} --leasefile" ./genconfig.sh
-    oe_runmake -f Makefile.linux
+    CONFIG_OPTIONS="${IPV6} --leasefile --vendorcfg" oe_runmake -f Makefile.linux
 }
 
 do_install() {
Signature · 1 line
2.1.4