[Re: [oe] [meta-networking][PATCH] bird: initial import] On 18.08.15 (Wed 20:29) akuster808 wrote:
> > > On 08/15/2018 07:42 PM, Joe MacDonald wrote: > > Initial integration of the two stable BIRD releases, 1.6.4 and 2.0.2. > > > > Signed-off-by: Joe MacDonald <[email protected]> > > --- > > > > This set of recipes came my way quite a while back from Stefan Bosak. I've > > updated the recipes a bit, made them compile with MUSL and verified basic > > functionality on x86_64 and qemuarm. > > > > .../recipes-protocols/bird/bird.inc | 32 + > > .../recipes-protocols/bird/bird_1.6.4.bb | 9 + > > .../recipes-protocols/bird/bird_2.0.2.bb | 9 + > > ...-extend-config.sub-to-recognize-musl.patch | 4428 +++++++++++++++++ > > .../recipes-protocols/bird/files/bird.init | 2 + > > 5 files changed, 4480 insertions(+) > > create mode 100644 meta-networking/recipes-protocols/bird/bird.inc > > create mode 100644 meta-networking/recipes-protocols/bird/bird_1.6.4.bb > > create mode 100644 meta-networking/recipes-protocols/bird/bird_2.0.2.bb > > create mode 100644 > > meta-networking/recipes-protocols/bird/files/0001-musl-extend-config.sub-to-recognize-musl.patch > > create mode 100755 meta-networking/recipes-protocols/bird/files/bird.init > > > > diff --git a/meta-networking/recipes-protocols/bird/bird.inc > > b/meta-networking/recipes-protocols/bird/bird.inc > > new file mode 100644 > > index 000000000..33d17dcb7 > > --- /dev/null > > +++ b/meta-networking/recipes-protocols/bird/bird.inc > > @@ -0,0 +1,32 @@ > > +SUMMARY = "BIRD Internet Routing Daemon" > > +DESCRIPTION = "\ > > +BIRD is dynamic routing daemon supporting IPv4 and IPv6 versions of > > routing \ > > +protocols BGP, RIP and OSPF." > > +HOMEPAGE = "http://bird.network.cz" > > +SECTION = "console/network" > > +LICENSE = "GPLv2" > > +LIC_FILES_CHKSUM = > > "file://README;beginline=87;endline=103;md5=0efecc23f039022580d0bac9a52f6117" > > +DEPENDS = "flex bison ncurses readline" > > + > > +inherit autotools > > + > > +EXTRA_OECONF += "\ > > +--enable-pthreads \ > > +" > > + > > +do_configure() { > > + oe_runconf ${EXTRA_OECONF} > > +} > > + > > +do_install_append() { > > + install -m 0755 -d ${D}${sysconfdir}/init.d > > + install -m 0755 ${WORKDIR}/bird.init ${D}${sysconfdir}/init.d/bird > > + rm -rf ${D}/run ${D}/var/run > > +} > > + > > +PACKAGES += " bird-client" > > + > > +FILES_${PN} += "/run /var/run" > > +FILES_${PN}-client = "/usr/sbin/birdc*" > > + > > +RUNIT_SERVICES = "bird" > > diff --git a/meta-networking/recipes-protocols/bird/bird_1.6.4.bb > > b/meta-networking/recipes-protocols/bird/bird_1.6.4.bb > > new file mode 100644 > > index 000000000..27c62aeee > > --- /dev/null > > +++ b/meta-networking/recipes-protocols/bird/bird_1.6.4.bb > > @@ -0,0 +1,9 @@ > > +require bird.inc > > + > > +SRC_URI = "\ > > + ftp://bird.network.cz/pub/${PN}/${PN}-${PV}.tar.gz \ > > + file://bird.init \ > > + file://0001-musl-extend-config.sub-to-recognize-musl.patch \ > > + " > > +SRC_URI[md5sum] = "d62ec2547338e8d3dfb934b4c7b2faa4" > > +SRC_URI[sha256sum] = > > "c26b8caae988dba81a9dbbee93502463d4326d1b749d728d62aa5529c605afc0" > > diff --git a/meta-networking/recipes-protocols/bird/bird_2.0.2.bb > > b/meta-networking/recipes-protocols/bird/bird_2.0.2.bb > > new file mode 100644 > > index 000000000..92d858869 > > --- /dev/null > > +++ b/meta-networking/recipes-protocols/bird/bird_2.0.2.bb > > @@ -0,0 +1,9 @@ > > +require bird.inc > > + > > +SRC_URI = "\ > > + ftp://bird.network.cz/pub/${PN}/${PN}-${PV}.tar.gz \ > > + file://bird.init \ > > + file://0001-musl-extend-config.sub-to-recognize-musl.patch \ > > + " > > +SRC_URI[md5sum] = "de17645b045fa13912409aea59420132" > > +SRC_URI[sha256sum] = > > "035f91d6f568f8ed438a0814235ac4c5c79147cd2acf201322c307732883480f" > > diff --git > > a/meta-networking/recipes-protocols/bird/files/0001-musl-extend-config.sub-to-recognize-musl.patch > > > > b/meta-networking/recipes-protocols/bird/files/0001-musl-extend-config.sub-to-recognize-musl.patch > > new file mode 100644 > > index 000000000..4feb7f786 > > --- /dev/null > > +++ > > b/meta-networking/recipes-protocols/bird/files/0001-musl-extend-config.sub-to-recognize-musl.patch > > @@ -0,0 +1,4428 @@ > > +From 21baaa6870edb68f0a417ea3b4de5c75e5cf5a0d Mon Sep 17 00:00:00 2001 > > +From: Joe MacDonald <[email protected]> > > +Date: Thu, 16 Aug 2018 01:56:05 +0000 > > +Subject: [PATCH] musl: update config.guess and config.sub > > + > > +Just bringing config.guess and config.sub up to date is enough to enable > > +musl to build BIRD. > Think "Upstream-Status:" is missing Oop, you're right. I should've caught that since I intend to send this upstream, too. -J.
signature.asc
Description: PGP signature
-- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
