All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Graute <oliver.graute@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-networking] [PATCH] unbound: this patch adds unbound to meta-networking
Date: Wed, 5 Apr 2017 15:40:10 +0200	[thread overview]
Message-ID: <20170405134010.GA18688@graute-opti> (raw)

Unbound is a validating, recursive, and caching DNS resolver

Signed-off-by: Oliver Graute <oliver.graute@neuhaus.de>
---
 .../recipes-support/unbound/unbound_1.6.1.bb       | 57 ++++++++++++++++++++++
 1 file changed, 57 insertions(+)
 create mode 100644 meta-networking/recipes-support/unbound/unbound_1.6.1.bb

diff --git a/meta-networking/recipes-support/unbound/unbound_1.6.1.bb b/meta-networking/recipes-support/unbound/unbound_1.6.1.bb
new file mode 100644
index 0000000..b6e0a42
--- /dev/null
+++ b/meta-networking/recipes-support/unbound/unbound_1.6.1.bb
@@ -0,0 +1,57 @@
+SUMMARY = "Unbound is a validating, recursive, and caching DNS resolver"
+DESCRIPTION = "\ Unbound is designed as a set of modular components, so that \
+                also DNSSEC (secure DNS) validation and stub-resolvers \
+                (that do not run as a server, but are linked into an applica \
+                tion) are easily possible."
+
+HOMEPAGE = "https://www.unbound.net/"
+SECTION = "net"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5308494bc0590c0cb036afd781d78f06"
+DEPENDS = "openssl libtool libevent"
+RDEPENDS_${PN} += "bash"
+inherit autotools pkgconfig
+PR = "r0"
+
+SRC_URI = "https://www.unbound.net/downloads/${BP}.tar.gz"
+SRC_URI[md5sum] = "aa808f33d94a36c9312d1b8ad8805e14"
+SRC_URI[sha256sum] = "42df63f743c0fe8424aeafcf003ad4b880b46c14149d696057313f5c1ef51400"
+
+S = "${WORKDIR}/unbound-${PV}"
+
+EXTRA_OECONF = " \
+        --host=${TARGET_SYS} \
+        --sysconfdir=/etc/ \
+        --localstatedir=/var \
+        --sbindir=/usr/bin \
+        --with-conf-file=/etc/unbound/unbound.conf \
+        --with-pidfile=/run/unbound.pid \
+        --with-rootkey-file=/etc/trusted-key.key \
+"
+
+do_configure () {
+        ${S}/configure ${EXTRA_OECONF}
+}
+
+do_compile () {
+        oe_runmake
+}
+
+do_install () {
+        install -d ${D}${bindir}
+        install -d ${D}${libdir}
+        install -d ${D}${sysconfdir}
+        install -m 644 -D ${S}/libunbound/unbound.h ${D}${includedir}/unbound.h
+        install -m 644 -D ${S}/doc/example.conf.in ${D}${sysconfdir}/unbound/unbound.conf
+        install -m 644 -D ${S}/contrib/unbound.service.in ${D}${libdir}/systemd/unbound.service
+        install -m 755 unbound ${D}${bindir}
+        install -m 755 unbound-anchor ${D}${bindir}
+        install -m 755 unbound-checkconf ${D}${bindir}
+        install -m 755 unbound ${D}${bindir}
+        install -m 755 unbound-control-setup ${D}${bindir}
+        install -m 755 unbound-host ${D}${bindir}
+        install -m 755 ${WORKDIR}/build/.libs/libunbound.so* ${D}${libdir}
+}
+
+FILES_${PN} ="${sysconfdir}/unbound/unbound.conf ${bindir}/unbound* ${libdir}/systemd/unbound.service ${includedir}/unbound.h ${libdir}/libunbound.so*"
+FILES_${PN}-dev = "${includedir}/*"
-- 
1.9.1



             reply	other threads:[~2017-04-05 13:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-05 13:40 Oliver Graute [this message]
2017-04-05 17:27 ` [meta-networking] [PATCH] unbound: this patch adds unbound to meta-networking Khem Raj
2017-04-06 14:17   ` Oliver Graute
2017-04-06 19:09     ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170405134010.GA18688@graute-opti \
    --to=oliver.graute@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.