From 54a4a994f91104758d797a81b4ea91d20cc781bc Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 14 Jul 2017 18:55:39 -0700 Subject: pimd: Upgrade to 2.3.2 Signed-off-by: Khem Raj Signed-off-by: Martin Jansa Signed-off-by: Joe MacDonald --- ...ure-Dont-use-uname-to-determine-target-OS.patch | 28 ++++++++++++++++++++++ meta-networking/recipes-support/pimd/pimd_2.1.8.bb | 19 --------------- meta-networking/recipes-support/pimd/pimd_2.3.2.bb | 20 ++++++++++++++++ 3 files changed, 48 insertions(+), 19 deletions(-) create mode 100644 meta-networking/recipes-support/pimd/pimd/0001-configure-Dont-use-uname-to-determine-target-OS.patch delete mode 100644 meta-networking/recipes-support/pimd/pimd_2.1.8.bb create mode 100644 meta-networking/recipes-support/pimd/pimd_2.3.2.bb diff --git a/meta-networking/recipes-support/pimd/pimd/0001-configure-Dont-use-uname-to-determine-target-OS.patch b/meta-networking/recipes-support/pimd/pimd/0001-configure-Dont-use-uname-to-determine-target-OS.patch new file mode 100644 index 0000000000..eb549ded9d --- /dev/null +++ b/meta-networking/recipes-support/pimd/pimd/0001-configure-Dont-use-uname-to-determine-target-OS.patch @@ -0,0 +1,28 @@ +From f3e04281bad361249a8dad0cde150a801d720f67 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 14 Jul 2017 18:46:52 -0700 +Subject: [PATCH] configure: Dont use uname to determine target OS + +Helps with cross-compiling + +Signed-off-by: Khem Raj +--- + configure | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure b/configure +index 6c35a72..f9714e2 100755 +--- a/configure ++++ b/configure +@@ -31,7 +31,7 @@ + #DEFS += -DSCOPED_ACL + # + +-OS=`uname` ++OS="Linux" + CFG=config.mk + TMP=`mktemp /tmp/XXXXXX` + BUGREPORT_URL="https://github.com/troglobit/pimd/issues" +-- +2.13.3 + diff --git a/meta-networking/recipes-support/pimd/pimd_2.1.8.bb b/meta-networking/recipes-support/pimd/pimd_2.1.8.bb deleted file mode 100644 index 7edb6422d4..0000000000 --- a/meta-networking/recipes-support/pimd/pimd_2.1.8.bb +++ /dev/null @@ -1,19 +0,0 @@ -SUMMARY = "pimd is a lightweight stand-alone PIM-SM v2 multicast routing daemon." -HOMEPAGE = "http://troglobit.com/pimd.html" -SECTION = "net" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=94f108f91fab720d62425770b70dd790" - -SRC_URI = "ftp://ftp.troglobit.com/pimd/${BP}.tar.bz2" -SRC_URI[md5sum] = "a12448bc7c9bfcebf51a13ebf1ffa962" -SRC_URI[sha256sum] = "01016940543a0a6131d4e6c91b595d47e187012c59a298eec14c3dbc38564b3a" - -EXTRA_OEMAKE = "-e MAKEFLAGS=" -CFLAGS += "-I ${S}/include " - -do_install() { - unset datadir - unset mandir - oe_runmake 'DESTDIR=${D}' install -} - diff --git a/meta-networking/recipes-support/pimd/pimd_2.3.2.bb b/meta-networking/recipes-support/pimd/pimd_2.3.2.bb new file mode 100644 index 0000000000..2faa7cb1ce --- /dev/null +++ b/meta-networking/recipes-support/pimd/pimd_2.3.2.bb @@ -0,0 +1,20 @@ +SUMMARY = "pimd is a lightweight stand-alone PIM-SM v2 multicast routing daemon." +HOMEPAGE = "http://troglobit.com/pimd.html" +SECTION = "net" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=94f108f91fab720d62425770b70dd790" + +SRC_URI = "ftp://ftp.troglobit.com/pimd/${BP}.tar.gz \ + file://0001-configure-Dont-use-uname-to-determine-target-OS.patch \ + " +SRC_URI[md5sum] = "a3c03e40540980b2c06e265a17988e60" +SRC_URI[sha256sum] = "c77a9812751f114490a28a6839b16aac8b020c8d9fd6aa22bf3880c054e19f1d" + +EXTRA_OECONF_append_libc-musl = " --embedded-libc" + +inherit autotools-brokensep + +do_configure() { + oe_runconf +} + -- cgit v1.2.3-54-g00ecf