All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-networking][PATCH] unbound: create recipe for version 1.9.2
@ 2019-07-16 17:12 Beniamin Sandu
  2019-07-17  4:46 ` Khem Raj
  0 siblings, 1 reply; 9+ messages in thread
From: Beniamin Sandu @ 2019-07-16 17:12 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Beniamin Sandu

Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
---
 ...add-yocto-compatible-startup-scripts.patch | 78 +++++++++++++++++++
 .../recipes-support/unbound/unbound_1.9.2.bb  | 43 ++++++++++
 2 files changed, 121 insertions(+)
 create mode 100644 meta-networking/recipes-support/unbound/unbound/0001-contrib-add-yocto-compatible-startup-scripts.patch
 create mode 100644 meta-networking/recipes-support/unbound/unbound_1.9.2.bb

diff --git a/meta-networking/recipes-support/unbound/unbound/0001-contrib-add-yocto-compatible-startup-scripts.patch b/meta-networking/recipes-support/unbound/unbound/0001-contrib-add-yocto-compatible-startup-scripts.patch
new file mode 100644
index 000000000..46f6a7b3f
--- /dev/null
+++ b/meta-networking/recipes-support/unbound/unbound/0001-contrib-add-yocto-compatible-startup-scripts.patch
@@ -0,0 +1,78 @@
+From 186ac39de8eb9aedcf3d87cdbe389d10cde03d66 Mon Sep 17 00:00:00 2001
+From: Beniamin Sandu <beniaminsandu@gmail.com>
+Date: Tue, 16 Jul 2019 19:59:23 +0300
+Subject: [PATCH] contrib: add yocto compatible startup scripts
+
+Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
+---
+ contrib/unbound.init       | 10 +++++-----
+ contrib/unbound.service.in |  4 ++--
+ 2 files changed, 7 insertions(+), 7 deletions(-)
+ mode change 100644 => 100755 contrib/unbound.init
+
+diff --git a/contrib/unbound.init b/contrib/unbound.init
+old mode 100644
+new mode 100755
+index cccadecc..4eba752b
+--- a/contrib/unbound.init
++++ b/contrib/unbound.init
+@@ -19,11 +19,11 @@
+ ### END INIT INFO
+ 
+ # Source function library.
+-. /etc/rc.d/init.d/functions
++. /etc/init.d/functions
+ 
+ exec="/usr/sbin/unbound"
+ prog="unbound"
+-config="/var/unbound/unbound.conf"
++config="/etc/unbound/unbound.conf"
+ pidfile="/var/unbound/unbound.pid"
+ rootdir="/var/unbound"
+ 
+@@ -61,7 +61,7 @@ start() {
+     fi;
+ 
+     # if not running, start it up here
+-    daemon $exec
++    daemonize $exec
+     retval=$?
+     echo
+     [ $retval -eq 0 ] && touch $lockfile
+@@ -71,7 +71,7 @@ start() {
+ stop() {
+     echo -n $"Stopping $prog: "
+     # stop it here, often "killproc $prog"
+-    killproc -p $pidfile $prog
++    killproc $prog
+     retval=$?
+     echo
+     [ $retval -eq 0 ] && rm -f $lockfile
+@@ -99,7 +99,7 @@ force_reload() {
+ 
+ rh_status() {
+     # run checks to determine if the service is running or use generic status
+-    status -p $pidfile $prog
++    status $prog
+ }
+ 
+ rh_status_q() {
+diff --git a/contrib/unbound.service.in b/contrib/unbound.service.in
+index 95976dd9..0e7f79a9 100644
+--- a/contrib/unbound.service.in
++++ b/contrib/unbound.service.in
+@@ -10,9 +10,9 @@ WantedBy=multi-user.target
+ 
+ [Service]
+ ExecReload=/bin/kill -HUP $MAINPID
+-ExecStart=@UNBOUND_SBIN_DIR@/unbound
++ExecStart=@UNBOUND_SBIN_DIR@/unbound -d
+ NotifyAccess=main
+-Type=notify
++Type=simple
+ CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_SYS_RESOURCE
+ MemoryDenyWriteExecute=true
+ NoNewPrivileges=true
+-- 
+2.17.1
+
diff --git a/meta-networking/recipes-support/unbound/unbound_1.9.2.bb b/meta-networking/recipes-support/unbound/unbound_1.9.2.bb
new file mode 100644
index 000000000..5f9bacc31
--- /dev/null
+++ b/meta-networking/recipes-support/unbound/unbound_1.9.2.bb
@@ -0,0 +1,43 @@
+SUMMARY = "Unbound is a validating, recursive, and caching DNS resolver"
+DESCRIPTION = "Unbound's design is a set of modular components which incorporate \
+	features including enhanced security (DNSSEC) validation, Internet Protocol \
+	Version 6 (IPv6), and a client resolver library API as an integral part of the \
+	architecture"
+
+HOMEPAGE = "https://www.unbound.net/"
+SECTION = "net"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5308494bc0590c0cb036afd781d78f06"
+
+SRC_URI = "git://github.com/NLnetLabs/unbound.git;protocol=http;branch=master \
+	file://0001-contrib-add-yocto-compatible-startup-scripts.patch \
+"
+SRCREV="ee06aaaad99dc4d6b73f915d98f05c506885b98a"
+
+inherit autotools pkgconfig systemd update-rc.d
+
+DEPENDS = "openssl libevent libtool-native bison-native expat"
+RDEPENDS_${PN} = "bash openssl-bin daemonize"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OECONF = "libtool=${TARGET_PREFIX}libtool \
+		--with-ssl=${STAGING_EXECPREFIXDIR}"
+
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'largefile systemd', d)}"
+PACKAGECONFIG[dnscrypt] = "--enable-dnscrypt, --disable-dnscrypt, libsodium"
+PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,,"
+PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
+
+do_install_append() {
+	install -d ${D}${systemd_unitdir}/system
+	install -m 0644 ${B}/contrib/unbound.service ${D}${systemd_unitdir}/system
+
+	install -d ${D}${sysconfdir}/init.d
+	install -m 0755 ${S}/contrib/unbound.init ${D}${sysconfdir}/init.d/unbound
+}
+
+SYSTEMD_SERVICE_${PN} = "${BPN}.service"
+
+INITSCRIPT_NAME = "unbound"
+INITSCRIPT_PARAMS = "defaults"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [meta-networking][PATCH] unbound: create recipe for version 1.9.2
  2019-07-16 17:12 [meta-networking][PATCH] unbound: create recipe for version 1.9.2 Beniamin Sandu
@ 2019-07-17  4:46 ` Khem Raj
  2019-07-17  6:56   ` Ben
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2019-07-17  4:46 UTC (permalink / raw)
  To: Beniamin Sandu; +Cc: openembeded-devel

fails to build on mips

https://errors.yoctoproject.org/Errors/Details/252371/

On Tue, Jul 16, 2019 at 10:12 AM Beniamin Sandu <beniaminsandu@gmail.com> wrote:
>
> Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
> ---
>  ...add-yocto-compatible-startup-scripts.patch | 78 +++++++++++++++++++
>  .../recipes-support/unbound/unbound_1.9.2.bb  | 43 ++++++++++
>  2 files changed, 121 insertions(+)
>  create mode 100644 meta-networking/recipes-support/unbound/unbound/0001-contrib-add-yocto-compatible-startup-scripts.patch
>  create mode 100644 meta-networking/recipes-support/unbound/unbound_1.9.2.bb
>
> diff --git a/meta-networking/recipes-support/unbound/unbound/0001-contrib-add-yocto-compatible-startup-scripts.patch b/meta-networking/recipes-support/unbound/unbound/0001-contrib-add-yocto-compatible-startup-scripts.patch
> new file mode 100644
> index 000000000..46f6a7b3f
> --- /dev/null
> +++ b/meta-networking/recipes-support/unbound/unbound/0001-contrib-add-yocto-compatible-startup-scripts.patch
> @@ -0,0 +1,78 @@
> +From 186ac39de8eb9aedcf3d87cdbe389d10cde03d66 Mon Sep 17 00:00:00 2001
> +From: Beniamin Sandu <beniaminsandu@gmail.com>
> +Date: Tue, 16 Jul 2019 19:59:23 +0300
> +Subject: [PATCH] contrib: add yocto compatible startup scripts
> +
> +Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
> +---
> + contrib/unbound.init       | 10 +++++-----
> + contrib/unbound.service.in |  4 ++--
> + 2 files changed, 7 insertions(+), 7 deletions(-)
> + mode change 100644 => 100755 contrib/unbound.init
> +
> +diff --git a/contrib/unbound.init b/contrib/unbound.init
> +old mode 100644
> +new mode 100755
> +index cccadecc..4eba752b
> +--- a/contrib/unbound.init
> ++++ b/contrib/unbound.init
> +@@ -19,11 +19,11 @@
> + ### END INIT INFO
> +
> + # Source function library.
> +-. /etc/rc.d/init.d/functions
> ++. /etc/init.d/functions
> +
> + exec="/usr/sbin/unbound"
> + prog="unbound"
> +-config="/var/unbound/unbound.conf"
> ++config="/etc/unbound/unbound.conf"
> + pidfile="/var/unbound/unbound.pid"
> + rootdir="/var/unbound"
> +
> +@@ -61,7 +61,7 @@ start() {
> +     fi;
> +
> +     # if not running, start it up here
> +-    daemon $exec
> ++    daemonize $exec
> +     retval=$?
> +     echo
> +     [ $retval -eq 0 ] && touch $lockfile
> +@@ -71,7 +71,7 @@ start() {
> + stop() {
> +     echo -n $"Stopping $prog: "
> +     # stop it here, often "killproc $prog"
> +-    killproc -p $pidfile $prog
> ++    killproc $prog
> +     retval=$?
> +     echo
> +     [ $retval -eq 0 ] && rm -f $lockfile
> +@@ -99,7 +99,7 @@ force_reload() {
> +
> + rh_status() {
> +     # run checks to determine if the service is running or use generic status
> +-    status -p $pidfile $prog
> ++    status $prog
> + }
> +
> + rh_status_q() {
> +diff --git a/contrib/unbound.service.in b/contrib/unbound.service.in
> +index 95976dd9..0e7f79a9 100644
> +--- a/contrib/unbound.service.in
> ++++ b/contrib/unbound.service.in
> +@@ -10,9 +10,9 @@ WantedBy=multi-user.target
> +
> + [Service]
> + ExecReload=/bin/kill -HUP $MAINPID
> +-ExecStart=@UNBOUND_SBIN_DIR@/unbound
> ++ExecStart=@UNBOUND_SBIN_DIR@/unbound -d
> + NotifyAccess=main
> +-Type=notify
> ++Type=simple
> + CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_SYS_RESOURCE
> + MemoryDenyWriteExecute=true
> + NoNewPrivileges=true
> +--
> +2.17.1
> +
> diff --git a/meta-networking/recipes-support/unbound/unbound_1.9.2.bb b/meta-networking/recipes-support/unbound/unbound_1.9.2.bb
> new file mode 100644
> index 000000000..5f9bacc31
> --- /dev/null
> +++ b/meta-networking/recipes-support/unbound/unbound_1.9.2.bb
> @@ -0,0 +1,43 @@
> +SUMMARY = "Unbound is a validating, recursive, and caching DNS resolver"
> +DESCRIPTION = "Unbound's design is a set of modular components which incorporate \
> +       features including enhanced security (DNSSEC) validation, Internet Protocol \
> +       Version 6 (IPv6), and a client resolver library API as an integral part of the \
> +       architecture"
> +
> +HOMEPAGE = "https://www.unbound.net/"
> +SECTION = "net"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=5308494bc0590c0cb036afd781d78f06"
> +
> +SRC_URI = "git://github.com/NLnetLabs/unbound.git;protocol=http;branch=master \
> +       file://0001-contrib-add-yocto-compatible-startup-scripts.patch \
> +"
> +SRCREV="ee06aaaad99dc4d6b73f915d98f05c506885b98a"
> +
> +inherit autotools pkgconfig systemd update-rc.d
> +
> +DEPENDS = "openssl libevent libtool-native bison-native expat"
> +RDEPENDS_${PN} = "bash openssl-bin daemonize"
> +
> +S = "${WORKDIR}/git"
> +
> +EXTRA_OECONF = "libtool=${TARGET_PREFIX}libtool \
> +               --with-ssl=${STAGING_EXECPREFIXDIR}"
> +
> +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'largefile systemd', d)}"
> +PACKAGECONFIG[dnscrypt] = "--enable-dnscrypt, --disable-dnscrypt, libsodium"
> +PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,,"
> +PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
> +
> +do_install_append() {
> +       install -d ${D}${systemd_unitdir}/system
> +       install -m 0644 ${B}/contrib/unbound.service ${D}${systemd_unitdir}/system
> +
> +       install -d ${D}${sysconfdir}/init.d
> +       install -m 0755 ${S}/contrib/unbound.init ${D}${sysconfdir}/init.d/unbound
> +}
> +
> +SYSTEMD_SERVICE_${PN} = "${BPN}.service"
> +
> +INITSCRIPT_NAME = "unbound"
> +INITSCRIPT_PARAMS = "defaults"
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-networking][PATCH] unbound: create recipe for version 1.9.2
  2019-07-17  4:46 ` Khem Raj
@ 2019-07-17  6:56   ` Ben
  0 siblings, 0 replies; 9+ messages in thread
From: Ben @ 2019-07-17  6:56 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

Thanks, will send a v2.

On 7/17/19 7:46 AM, Khem Raj wrote:
> fails to build on mips
>
> https://errors.yoctoproject.org/Errors/Details/252371/
>
> On Tue, Jul 16, 2019 at 10:12 AM Beniamin Sandu <beniaminsandu@gmail.com> wrote:
>> Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
>> ---
>>   ...add-yocto-compatible-startup-scripts.patch | 78 +++++++++++++++++++
>>   .../recipes-support/unbound/unbound_1.9.2.bb  | 43 ++++++++++
>>   2 files changed, 121 insertions(+)
>>   create mode 100644 meta-networking/recipes-support/unbound/unbound/0001-contrib-add-yocto-compatible-startup-scripts.patch
>>   create mode 100644 meta-networking/recipes-support/unbound/unbound_1.9.2.bb
>>
>> diff --git a/meta-networking/recipes-support/unbound/unbound/0001-contrib-add-yocto-compatible-startup-scripts.patch b/meta-networking/recipes-support/unbound/unbound/0001-contrib-add-yocto-compatible-startup-scripts.patch
>> new file mode 100644
>> index 000000000..46f6a7b3f
>> --- /dev/null
>> +++ b/meta-networking/recipes-support/unbound/unbound/0001-contrib-add-yocto-compatible-startup-scripts.patch
>> @@ -0,0 +1,78 @@
>> +From 186ac39de8eb9aedcf3d87cdbe389d10cde03d66 Mon Sep 17 00:00:00 2001
>> +From: Beniamin Sandu <beniaminsandu@gmail.com>
>> +Date: Tue, 16 Jul 2019 19:59:23 +0300
>> +Subject: [PATCH] contrib: add yocto compatible startup scripts
>> +
>> +Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
>> +---
>> + contrib/unbound.init       | 10 +++++-----
>> + contrib/unbound.service.in |  4 ++--
>> + 2 files changed, 7 insertions(+), 7 deletions(-)
>> + mode change 100644 => 100755 contrib/unbound.init
>> +
>> +diff --git a/contrib/unbound.init b/contrib/unbound.init
>> +old mode 100644
>> +new mode 100755
>> +index cccadecc..4eba752b
>> +--- a/contrib/unbound.init
>> ++++ b/contrib/unbound.init
>> +@@ -19,11 +19,11 @@
>> + ### END INIT INFO
>> +
>> + # Source function library.
>> +-. /etc/rc.d/init.d/functions
>> ++. /etc/init.d/functions
>> +
>> + exec="/usr/sbin/unbound"
>> + prog="unbound"
>> +-config="/var/unbound/unbound.conf"
>> ++config="/etc/unbound/unbound.conf"
>> + pidfile="/var/unbound/unbound.pid"
>> + rootdir="/var/unbound"
>> +
>> +@@ -61,7 +61,7 @@ start() {
>> +     fi;
>> +
>> +     # if not running, start it up here
>> +-    daemon $exec
>> ++    daemonize $exec
>> +     retval=$?
>> +     echo
>> +     [ $retval -eq 0 ] && touch $lockfile
>> +@@ -71,7 +71,7 @@ start() {
>> + stop() {
>> +     echo -n $"Stopping $prog: "
>> +     # stop it here, often "killproc $prog"
>> +-    killproc -p $pidfile $prog
>> ++    killproc $prog
>> +     retval=$?
>> +     echo
>> +     [ $retval -eq 0 ] && rm -f $lockfile
>> +@@ -99,7 +99,7 @@ force_reload() {
>> +
>> + rh_status() {
>> +     # run checks to determine if the service is running or use generic status
>> +-    status -p $pidfile $prog
>> ++    status $prog
>> + }
>> +
>> + rh_status_q() {
>> +diff --git a/contrib/unbound.service.in b/contrib/unbound.service.in
>> +index 95976dd9..0e7f79a9 100644
>> +--- a/contrib/unbound.service.in
>> ++++ b/contrib/unbound.service.in
>> +@@ -10,9 +10,9 @@ WantedBy=multi-user.target
>> +
>> + [Service]
>> + ExecReload=/bin/kill -HUP $MAINPID
>> +-ExecStart=@UNBOUND_SBIN_DIR@/unbound
>> ++ExecStart=@UNBOUND_SBIN_DIR@/unbound -d
>> + NotifyAccess=main
>> +-Type=notify
>> ++Type=simple
>> + CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_SYS_RESOURCE
>> + MemoryDenyWriteExecute=true
>> + NoNewPrivileges=true
>> +--
>> +2.17.1
>> +
>> diff --git a/meta-networking/recipes-support/unbound/unbound_1.9.2.bb b/meta-networking/recipes-support/unbound/unbound_1.9.2.bb
>> new file mode 100644
>> index 000000000..5f9bacc31
>> --- /dev/null
>> +++ b/meta-networking/recipes-support/unbound/unbound_1.9.2.bb
>> @@ -0,0 +1,43 @@
>> +SUMMARY = "Unbound is a validating, recursive, and caching DNS resolver"
>> +DESCRIPTION = "Unbound's design is a set of modular components which incorporate \
>> +       features including enhanced security (DNSSEC) validation, Internet Protocol \
>> +       Version 6 (IPv6), and a client resolver library API as an integral part of the \
>> +       architecture"
>> +
>> +HOMEPAGE = "https://www.unbound.net/"
>> +SECTION = "net"
>> +LICENSE = "BSD-3-Clause"
>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=5308494bc0590c0cb036afd781d78f06"
>> +
>> +SRC_URI = "git://github.com/NLnetLabs/unbound.git;protocol=http;branch=master \
>> +       file://0001-contrib-add-yocto-compatible-startup-scripts.patch \
>> +"
>> +SRCREV="ee06aaaad99dc4d6b73f915d98f05c506885b98a"
>> +
>> +inherit autotools pkgconfig systemd update-rc.d
>> +
>> +DEPENDS = "openssl libevent libtool-native bison-native expat"
>> +RDEPENDS_${PN} = "bash openssl-bin daemonize"
>> +
>> +S = "${WORKDIR}/git"
>> +
>> +EXTRA_OECONF = "libtool=${TARGET_PREFIX}libtool \
>> +               --with-ssl=${STAGING_EXECPREFIXDIR}"
>> +
>> +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'largefile systemd', d)}"
>> +PACKAGECONFIG[dnscrypt] = "--enable-dnscrypt, --disable-dnscrypt, libsodium"
>> +PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,,"
>> +PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
>> +
>> +do_install_append() {
>> +       install -d ${D}${systemd_unitdir}/system
>> +       install -m 0644 ${B}/contrib/unbound.service ${D}${systemd_unitdir}/system
>> +
>> +       install -d ${D}${sysconfdir}/init.d
>> +       install -m 0755 ${S}/contrib/unbound.init ${D}${sysconfdir}/init.d/unbound
>> +}
>> +
>> +SYSTEMD_SERVICE_${PN} = "${BPN}.service"
>> +
>> +INITSCRIPT_NAME = "unbound"
>> +INITSCRIPT_PARAMS = "defaults"
>> --
>> 2.17.1
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-networking][PATCH] unbound: create recipe for version 1.9.2
  2019-04-27 18:26 ` Adrian Bunk
@ 2019-04-27 18:32   ` Ben
  0 siblings, 0 replies; 9+ messages in thread
From: Ben @ 2019-04-27 18:32 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: openembedded-devel, Beniamin Sandu


On 27.04.2019 21:26, Adrian Bunk wrote:
> On Thu, Apr 18, 2019 at 06:34:32PM +0300, Beniamin Sandu wrote:
>> ...
>> --- /dev/null
>> +++ b/meta-networking/recipes-support/unbound/unbound_1.9.2.bb
>> ...
>> +SRC_URI = "git://github.com/NLnetLabs/unbound.git;protocol=http;branch=master"
>> +SRCREV="61a28c2ee5e60132f26725583b66c1cf8214bb78"
>> ...
> Has 1.9.2 even been released?
>
> This looks like a random git commit some time after 1.9.1 to me.
You're right, I will create a new one based on the latest released tag, 
which 1.9.1.
>
> cu
> Adrian
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-networking][PATCH] unbound: create recipe for version 1.9.2
  2019-04-18 15:34 Beniamin Sandu
  2019-04-27 17:02 ` Khem Raj
@ 2019-04-27 18:26 ` Adrian Bunk
  2019-04-27 18:32   ` Ben
  1 sibling, 1 reply; 9+ messages in thread
From: Adrian Bunk @ 2019-04-27 18:26 UTC (permalink / raw)
  To: Beniamin Sandu; +Cc: openembedded-devel, Beniamin Sandu

On Thu, Apr 18, 2019 at 06:34:32PM +0300, Beniamin Sandu wrote:
>...
> --- /dev/null
> +++ b/meta-networking/recipes-support/unbound/unbound_1.9.2.bb
>...
> +SRC_URI = "git://github.com/NLnetLabs/unbound.git;protocol=http;branch=master"
> +SRCREV="61a28c2ee5e60132f26725583b66c1cf8214bb78"
>...

Has 1.9.2 even been released?

This looks like a random git commit some time after 1.9.1 to me.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-networking][PATCH] unbound: create recipe for version 1.9.2
  2019-04-27 17:12   ` Khem Raj
@ 2019-04-27 18:15     ` Ben
  0 siblings, 0 replies; 9+ messages in thread
From: Ben @ 2019-04-27 18:15 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel, Beniamin Sandu

On 27.04.2019 20:12, Khem Raj wrote:
> On Sat, Apr 27, 2019 at 10:02 AM Khem Raj <raj.khem@gmail.com> wrote:
>> it fails to package the systemd files so please build with systemd in
>> DISTRO_FEATURES
>>
>> see https://errors.yoctoproject.org/Errors/Details/238577/
>>
> right link to error is
>
> https://errors.yoctoproject.org/Errors/Details/238573/

Hmm, in this error log it looks like it doesn't find the openssl 
libraries in do_configure, not sure it has something to do with systemd.

Anyway, I will check it out and test with systemd too, thanks.

>
>> On Thu, Apr 18, 2019 at 8:35 AM Beniamin Sandu <beniaminsandu@gmail.com> wrote:
>>> Signed-off-by: Beniamin Sandu <beniamin.sandu@gmail.com>
>>> ---
>>>   .../recipes-support/unbound/unbound_1.9.2.bb  | 22 +++++++++++++++++++
>>>   1 file changed, 22 insertions(+)
>>>   create mode 100644 meta-networking/recipes-support/unbound/unbound_1.9.2.bb
>>>
>>> diff --git a/meta-networking/recipes-support/unbound/unbound_1.9.2.bb b/meta-networking/recipes-support/unbound/unbound_1.9.2.bb
>>> new file mode 100644
>>> index 000000000..9e0a24187
>>> --- /dev/null
>>> +++ b/meta-networking/recipes-support/unbound/unbound_1.9.2.bb
>>> @@ -0,0 +1,22 @@
>>> +SUMMARY = "Unbound is a validating, recursive, and caching DNS resolver"
>>> +DESCRIPTION = "Unbound's design is a set of modular components which incorporate \
>>> +       features including enhanced security (DNSSEC) validation, Internet Protocol \
>>> +       Version 6 (IPv6), and a client resolver library API as an integral part of the \
>>> +       architecture"
>>> +
>>> +HOMEPAGE = "https://www.unbound.net/"
>>> +SECTION = "net"
>>> +LICENSE = "BSD-3-Clause"
>>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=5308494bc0590c0cb036afd781d78f06"
>>> +
>>> +SRC_URI = "git://github.com/NLnetLabs/unbound.git;protocol=http;branch=master"
>>> +SRCREV="61a28c2ee5e60132f26725583b66c1cf8214bb78"
>>> +
>>> +inherit autotools pkgconfig
>>> +
>>> +DEPENDS = "openssl libevent libtool-native bison-native expat"
>>> +RDEPENDS_${PN} = "bash openssl-bin"
>>> +
>>> +S = "${WORKDIR}/git"
>>> +
>>> +EXTRA_OECONF = "libtool=${TARGET_PREFIX}libtool"
>>> --
>>> 2.17.1
>>>
>>> --
>>> _______________________________________________
>>> Openembedded-devel mailing list
>>> Openembedded-devel@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-networking][PATCH] unbound: create recipe for version 1.9.2
  2019-04-27 17:02 ` Khem Raj
@ 2019-04-27 17:12   ` Khem Raj
  2019-04-27 18:15     ` Ben
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2019-04-27 17:12 UTC (permalink / raw)
  To: Beniamin Sandu; +Cc: openembeded-devel, Beniamin Sandu

On Sat, Apr 27, 2019 at 10:02 AM Khem Raj <raj.khem@gmail.com> wrote:
>
> it fails to package the systemd files so please build with systemd in
> DISTRO_FEATURES
>
> see https://errors.yoctoproject.org/Errors/Details/238577/
>

right link to error is

https://errors.yoctoproject.org/Errors/Details/238573/

> On Thu, Apr 18, 2019 at 8:35 AM Beniamin Sandu <beniaminsandu@gmail.com> wrote:
> >
> > Signed-off-by: Beniamin Sandu <beniamin.sandu@gmail.com>
> > ---
> >  .../recipes-support/unbound/unbound_1.9.2.bb  | 22 +++++++++++++++++++
> >  1 file changed, 22 insertions(+)
> >  create mode 100644 meta-networking/recipes-support/unbound/unbound_1.9.2.bb
> >
> > diff --git a/meta-networking/recipes-support/unbound/unbound_1.9.2.bb b/meta-networking/recipes-support/unbound/unbound_1.9.2.bb
> > new file mode 100644
> > index 000000000..9e0a24187
> > --- /dev/null
> > +++ b/meta-networking/recipes-support/unbound/unbound_1.9.2.bb
> > @@ -0,0 +1,22 @@
> > +SUMMARY = "Unbound is a validating, recursive, and caching DNS resolver"
> > +DESCRIPTION = "Unbound's design is a set of modular components which incorporate \
> > +       features including enhanced security (DNSSEC) validation, Internet Protocol \
> > +       Version 6 (IPv6), and a client resolver library API as an integral part of the \
> > +       architecture"
> > +
> > +HOMEPAGE = "https://www.unbound.net/"
> > +SECTION = "net"
> > +LICENSE = "BSD-3-Clause"
> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=5308494bc0590c0cb036afd781d78f06"
> > +
> > +SRC_URI = "git://github.com/NLnetLabs/unbound.git;protocol=http;branch=master"
> > +SRCREV="61a28c2ee5e60132f26725583b66c1cf8214bb78"
> > +
> > +inherit autotools pkgconfig
> > +
> > +DEPENDS = "openssl libevent libtool-native bison-native expat"
> > +RDEPENDS_${PN} = "bash openssl-bin"
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +EXTRA_OECONF = "libtool=${TARGET_PREFIX}libtool"
> > --
> > 2.17.1
> >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-networking][PATCH] unbound: create recipe for version 1.9.2
  2019-04-18 15:34 Beniamin Sandu
@ 2019-04-27 17:02 ` Khem Raj
  2019-04-27 17:12   ` Khem Raj
  2019-04-27 18:26 ` Adrian Bunk
  1 sibling, 1 reply; 9+ messages in thread
From: Khem Raj @ 2019-04-27 17:02 UTC (permalink / raw)
  To: Beniamin Sandu; +Cc: openembeded-devel, Beniamin Sandu

it fails to package the systemd files so please build with systemd in
DISTRO_FEATURES

see https://errors.yoctoproject.org/Errors/Details/238577/

On Thu, Apr 18, 2019 at 8:35 AM Beniamin Sandu <beniaminsandu@gmail.com> wrote:
>
> Signed-off-by: Beniamin Sandu <beniamin.sandu@gmail.com>
> ---
>  .../recipes-support/unbound/unbound_1.9.2.bb  | 22 +++++++++++++++++++
>  1 file changed, 22 insertions(+)
>  create mode 100644 meta-networking/recipes-support/unbound/unbound_1.9.2.bb
>
> diff --git a/meta-networking/recipes-support/unbound/unbound_1.9.2.bb b/meta-networking/recipes-support/unbound/unbound_1.9.2.bb
> new file mode 100644
> index 000000000..9e0a24187
> --- /dev/null
> +++ b/meta-networking/recipes-support/unbound/unbound_1.9.2.bb
> @@ -0,0 +1,22 @@
> +SUMMARY = "Unbound is a validating, recursive, and caching DNS resolver"
> +DESCRIPTION = "Unbound's design is a set of modular components which incorporate \
> +       features including enhanced security (DNSSEC) validation, Internet Protocol \
> +       Version 6 (IPv6), and a client resolver library API as an integral part of the \
> +       architecture"
> +
> +HOMEPAGE = "https://www.unbound.net/"
> +SECTION = "net"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=5308494bc0590c0cb036afd781d78f06"
> +
> +SRC_URI = "git://github.com/NLnetLabs/unbound.git;protocol=http;branch=master"
> +SRCREV="61a28c2ee5e60132f26725583b66c1cf8214bb78"
> +
> +inherit autotools pkgconfig
> +
> +DEPENDS = "openssl libevent libtool-native bison-native expat"
> +RDEPENDS_${PN} = "bash openssl-bin"
> +
> +S = "${WORKDIR}/git"
> +
> +EXTRA_OECONF = "libtool=${TARGET_PREFIX}libtool"
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [meta-networking][PATCH] unbound: create recipe for version 1.9.2
@ 2019-04-18 15:34 Beniamin Sandu
  2019-04-27 17:02 ` Khem Raj
  2019-04-27 18:26 ` Adrian Bunk
  0 siblings, 2 replies; 9+ messages in thread
From: Beniamin Sandu @ 2019-04-18 15:34 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Beniamin Sandu

Signed-off-by: Beniamin Sandu <beniamin.sandu@gmail.com>
---
 .../recipes-support/unbound/unbound_1.9.2.bb  | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-networking/recipes-support/unbound/unbound_1.9.2.bb

diff --git a/meta-networking/recipes-support/unbound/unbound_1.9.2.bb b/meta-networking/recipes-support/unbound/unbound_1.9.2.bb
new file mode 100644
index 000000000..9e0a24187
--- /dev/null
+++ b/meta-networking/recipes-support/unbound/unbound_1.9.2.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Unbound is a validating, recursive, and caching DNS resolver"
+DESCRIPTION = "Unbound's design is a set of modular components which incorporate \
+	features including enhanced security (DNSSEC) validation, Internet Protocol \
+	Version 6 (IPv6), and a client resolver library API as an integral part of the \
+	architecture"
+
+HOMEPAGE = "https://www.unbound.net/"
+SECTION = "net"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5308494bc0590c0cb036afd781d78f06"
+
+SRC_URI = "git://github.com/NLnetLabs/unbound.git;protocol=http;branch=master"
+SRCREV="61a28c2ee5e60132f26725583b66c1cf8214bb78"
+
+inherit autotools pkgconfig
+
+DEPENDS = "openssl libevent libtool-native bison-native expat"
+RDEPENDS_${PN} = "bash openssl-bin"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OECONF = "libtool=${TARGET_PREFIX}libtool"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-07-17  6:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-16 17:12 [meta-networking][PATCH] unbound: create recipe for version 1.9.2 Beniamin Sandu
2019-07-17  4:46 ` Khem Raj
2019-07-17  6:56   ` Ben
  -- strict thread matches above, loose matches on Subject: below --
2019-04-18 15:34 Beniamin Sandu
2019-04-27 17:02 ` Khem Raj
2019-04-27 17:12   ` Khem Raj
2019-04-27 18:15     ` Ben
2019-04-27 18:26 ` Adrian Bunk
2019-04-27 18:32   ` Ben

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.