mstpd: Remove recipe
PATCH 1/1 mstpd: Remove recipe
There is a newer version of mstpd availble in meta-openembedded, so remove this older version.
Signed-off-by Ryan Eatmon <[email protected]>
--- .../0001-gcc8-strncpy-werror-workaround.patch | 83 ------------------- .../recipes-support/mstpctl/mstpd_git.bb | 24 ------ 2 files changed, 107 deletions(-) delete mode 100644 meta-arago-test/recipes-support/mstpctl/mstpd/0001-gcc8-strncpy-werror-workaround.patch delete mode 100644 meta-arago-test/recipes-support/mstpctl/mstpd_git.bb
meta-arago-test/recipes-support/mstpctl/mstpd/0001-gcc8-strncpy-werror-workaround.patch deleted +0 -83
@@ -1,83 +0,0 @@ -From 8a24d984988bcf832d7684b2a4e9d23b643a433d Mon Sep 17 00:00:00 2001 -From: Djordje Senicic <[email protected]> -Date: Sun, 14 Apr 2019 05:49:35 -0400 -Subject: [PATCH] gcc8 strncpy werror workaround - -Signed-off-by: Djordje Senicic <[email protected]> - -Upstream-Status: Inappropriate [other] - -HACK to workaround GCC 8 reported error. - ---- - mstp.c | 3 +++ - netif_utils.c | 12 ++++++++++++ - 2 files changed, 15 insertions(+) - -diff --git a/mstp.c b/mstp.c -index aec5cbb..90044fc 100644 ---- a/mstp.c -+++ b/mstp.c -@@ -1591,8 +1591,11 @@ void MSTP_IN_set_mst_config_id(bridge_t *br, __u16 revision, __u8 *name) - assign(br->MstConfigId.s.revision_level, valueRevision); - memset(br->MstConfigId.s.configuration_name, 0, - sizeof(br->MstConfigId.s.configuration_name)); -+#pragma GCC diagnostic push -+#pragma GCC diagnostic ignored "-Wstringop-truncation" - strncpy((char *)br->MstConfigId.s.configuration_name, (char *)name, - sizeof(br->MstConfigId.s.configuration_name)); -+#pragma GCC diagnostic pop - br_state_machines_begin(br); - } - } -diff --git a/netif_utils.c b/netif_utils.c -index 7231750..ce2cfb8 100644 ---- a/netif_utils.c -+++ b/netif_utils.c -@@ -59,7 +59,10 @@ int get_hwaddr(char *ifname, __u8 *hwaddr) - { - struct ifreq ifr; - memset(&ifr, 0, sizeof(ifr)); -+#pragma GCC diagnostic push -+#pragma GCC diagnostic ignored "-Wstringop-truncation" - strncpy(ifr.ifr_name, ifname, IFNAMSIZ); -+#pragma GCC diagnostic pop - if(0 > ioctl(netsock, SIOCGIFHWADDR, &ifr)) - { - ERROR("%s: get hw address failed: %m", ifname); -@@ -73,7 +76,10 @@ int get_flags(char *ifname) - { - struct ifreq ifr; - memset(&ifr, 0, sizeof(ifr)); -+#pragma GCC diagnostic push -+#pragma GCC diagnostic ignored "-Wstringop-truncation" - strncpy(ifr.ifr_name, ifname, IFNAMSIZ); -+#pragma GCC diagnostic pop - if(0 > ioctl(netsock, SIOCGIFFLAGS, &ifr)) - { - ERROR("%s: get interface flags failed: %m", ifname); -@@ -93,7 +99,10 @@ int if_shutdown(char *ifname) - return -1; - } - ifr.ifr_flags &= ~IFF_UP; -+#pragma GCC diagnostic push -+#pragma GCC diagnostic ignored "-Wstringop-truncation" - strncpy(ifr.ifr_name, ifname, IFNAMSIZ); -+#pragma GCC diagnostic pop - if(0 > ioctl(netsock, SIOCSIFFLAGS, &ifr)) - { - ERROR("%s: set if_down flag failed: %m", ifname); -@@ -106,7 +115,10 @@ int ethtool_get_speed_duplex(char *ifname, int *speed, int *duplex) - { - struct ifreq ifr; - memset(&ifr, 0, sizeof(ifr)); -+#pragma GCC diagnostic push -+#pragma GCC diagnostic ignored "-Wstringop-truncation" - strncpy(ifr.ifr_name, ifname, IFNAMSIZ); -+#pragma GCC diagnostic pop - struct ethtool_cmd ecmd; - - ecmd.cmd = ETHTOOL_GSET; --- -2.17.1 -
meta-arago-test/recipes-support/mstpctl/mstpd_git.bb deleted +0 -24
@@ -1,24 +0,0 @@ -SUMMARY = "Multiple Spanning Tree Protocol Daemon" - -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://LICENSE;md5=4325afd396febcb659c36b49533135d4 \ - file://debian/copyright;md5=332234a99007d25da40f41ee96aa388f" - -SRC_URI = "git://github.com/mstpd/mstpd.git;protocol=https;branch=master \ - file://0001-gcc8-strncpy-werror-workaround.patch" - -PV = "0.0.7+git" -SRCREV = "e4f0ba5a48649a3253f8b353c87c965e12aafc50" - -S = "${WORKDIR}/git" - -DEPENDS = "python3" -RDEPENDS:${PN} = "python3-core" - -inherit autotools - -EXTRA_OECONF = "--sbindir=${base_sbindir}" - -do_configure:prepend() { - sed -i -e "s,#!.*python.*,#!${USRBINPATH}/env python3," ${S}/utils/ifquery -}
Signature · 1 line
2.17.1