[oe] [meta-multimedia][PATCH] miniupnpd: improve recipe

2017-05-10 Thread Pascal Bach
- 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


Signed-off-by: Pascal Bach 
---
 meta-multimedia/recipes-connectivity/miniupnpd/miniupnpd_2.0.bb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta-multimedia/recipes-connectivity/miniupnpd/miniupnpd_2.0.bb 
b/meta-multimedia/recipes-connectivity/miniupnpd/miniupnpd_2.0.bb
index bb361a1..c6f36e1 100644
--- a/meta-multimedia/recipes-connectivity/miniupnpd/miniupnpd_2.0.bb
+++ b/meta-multimedia/recipes-connectivity/miniupnpd/miniupnpd_2.0.bb
@@ -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() {
-- 
2.1.4

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-qt5] Configure error when enabling SQlite

2017-05-10 Thread Martin Jansa
Hi,

use openembedded-devel ML for generic questions like this.

The error you're seeing isn't even related to SQlite, but caused by the way
how you modify PACKAGECONFIG, read the manual about how the overrides work..

What you wanted to do is:
PACKAGECONFIG_append_pn-qtbase = " sql-sqlite"

You can use bitbake -e qtbase to compare what's the difference in these 2.

Regards,

On Wed, May 10, 2017 at 2:20 PM, Jens Bäckman  wrote:

> Hi!
>
> I'm trying to build a Morty version of qtbase with SQlite support
> enabled, and can't make it past the configure step. SQlite was
> enabled in local.conf like this:
>
> local.conf:
> PACKAGECONFIG_pn-qtbase_append = " sql-sqlite"
>
> Attached the configure log.
> --
> Jens
>
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] libndp: Add mirror sites

2017-05-10 Thread Ilia Lin
The main download location is inaccessible. Adding mirrors.

Signed-off-by: Ilia Lin 
---
 meta-oe/recipes-connectivity/libndp/libndp_1.6.bb | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/meta-oe/recipes-connectivity/libndp/libndp_1.6.bb 
b/meta-oe/recipes-connectivity/libndp/libndp_1.6.bb
index a35dff8..f3011e6 100644
--- a/meta-oe/recipes-connectivity/libndp/libndp_1.6.bb
+++ b/meta-oe/recipes-connectivity/libndp/libndp_1.6.bb
@@ -4,6 +4,13 @@ LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 SRC_URI = "http://libndp.org/files/${BPN}-${PV}.tar.gz;
+
+MIRRORS += "\
+http://libndp.org/files/ 
http://www.go-parts.com/mirrors-usa/blfs/conglomeration/libndp/ \n \
+http://libndp.org/files/ http://ftp.osuosl.org/pub/blfs/conglomeration/libndp/ 
\n \
+http://libndp.org/files/ http://ftp.cc.uoc.gr/mirrors/linux/lfs/LFS/svn/l/ \n \
+http://libndp.org/files/ https://www.jabawok.net/gentoo/distfiles/ \n "
+
 SRC_URI[md5sum] = "1e54d26bcb4a4110bc3f90c5dd04f1a7"
 SRC_URI[sha256sum] = 
"0c7dfa84e013bd5e569ef2c6292a6f72cfaf14f4ff77a77425e52edc33ffac0e"
 
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-webserver][PATCH] nginx: use consistent pid file location accross recipe and init scripts

2017-05-10 Thread Pascal Bach
The recipe and the systemd service file use /run/nginx/nginx.pid,
while the sys v init script used /var/run/nginx/nginx.pid

Signed-off-by: Pascal Bach 
---
 meta-webserver/recipes-httpd/nginx/files/nginx.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 mode change 100755 => 100644 
meta-webserver/recipes-httpd/nginx/files/nginx.init

diff --git a/meta-webserver/recipes-httpd/nginx/files/nginx.init 
b/meta-webserver/recipes-httpd/nginx/files/nginx.init
old mode 100755
new mode 100644
index 0f38b9c..1a2bd7d
--- a/meta-webserver/recipes-httpd/nginx/files/nginx.init
+++ b/meta-webserver/recipes-httpd/nginx/files/nginx.init
@@ -3,7 +3,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin
 DAEMON=/usr/sbin/nginx
 NAME=nginx
 DESC=nginx
-PID=/var/run/nginx/nginx.pid
+PID=/run/nginx/nginx.pid
 
 test -x $DAEMON || exit 0
 
-- 
2.1.4

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel