frr: add UPSTREAM_CHECK_GITTAGREGEX
PATCH 1/2 frr: add UPSTREAM_CHECK_GITTAGREGEX
Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest stable verison.
Before the patch:
$ devtool latest-version frr INFO: Current version: 8.4.2 INFO: Latest version: 9.0 INFO: Latest version's commit: 16c38045b1a84f899da473398779cc593d82d2bd
Version 9.0 is a development tag[1].
After the patch:
$ devtool latest-version frr INFO: Current version: 8.4.2 INFO: Latest version: 8.4.2 INFO: Latest version's commit: 9e25d07412e92bdcd1f69c4755dc7564b23023c0
[1] https://github.com/FRRouting/frr/tags
--- meta-networking/recipes-protocols/frr/frr_8.4.2.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-protocols/frr/frr_8.4.2.bb +2 -0
@@ -16,6 +16,8 @@ SRC_URI = "git://github.com/FRRouting/frr.git;protocol=https;branch=stable/8.4 \ SRCREV = "62ac43de9f3bc470586cf4f51fadf013bf542b32" +UPSTREAM_CHECK_GITTAGREGEX = "frr-(?P<pver>\d+(\.\d+)+)$" + S = "${WORKDIR}/git" # Due to libyang not supported on these arches:
Signature · 1 line
2.25.1
PATCH 2/2 quagga: drop recipe
Quagga is no longer maintained since 2018[1]. Its official repository is not even available[2].
As an alternative, users can use FRRouting[3] which has been added to meta-networking[4].
[1] https://github.com/Quagga/quagga
[2] https://git.savannah.gnu.org/cgit/quagga.git
[3] https://frrouting.org
[4] https://git.openembedded.org/meta-openembedded/tree/meta-networking/recipes-protocols/frr
--- .../packagegroup-meta-networking.bb | 1 - ...for-readline-instead-of-main-in-libr.patch | 32 --- .../quagga/files/bgpd.service | 15 -- .../quagga/files/isisd.service | 14 - .../quagga/files/ospf6d.service | 15 -- .../quagga/files/ospfd.service | 15 -- .../quagga/files/quagga.default | 12 - .../quagga/files/quagga.init | 200 -------------- .../recipes-protocols/quagga/files/quagga.pam | 13 - .../quagga/files/ripd.service | 15 -- .../quagga/files/ripngd.service | 15 -- .../quagga/files/volatiles.03_quagga | 3 - .../quagga/files/watchquagga.default | 12 - .../quagga/files/watchquagga.init | 64 ----- .../quagga/files/zebra.service | 16 -- .../recipes-protocols/quagga/quagga.inc | 243 ------------------ .../recipes-protocols/quagga/quagga_1.2.4.bb | 10 - 17 files changed, 695 deletions(-) delete mode 100644 meta-networking/recipes-protocols/quagga/files/0001-configure-Check-for-readline-instead-of-main-in-libr.patch delete mode 100644 meta-networking/recipes-protocols/quagga/files/bgpd.service delete mode 100644 meta-networking/recipes-protocols/quagga/files/isisd.service delete mode 100644 meta-networking/recipes-protocols/quagga/files/ospf6d.service delete mode 100644 meta-networking/recipes-protocols/quagga/files/ospfd.service delete mode 100644 meta-networking/recipes-protocols/quagga/files/quagga.default delete mode 100644 meta-networking/recipes-protocols/quagga/files/quagga.init delete mode 100644 meta-networking/recipes-protocols/quagga/files/quagga.pam delete mode 100644 meta-networking/recipes-protocols/quagga/files/ripd.service delete mode 100644 meta-networking/recipes-protocols/quagga/files/ripngd.service delete mode 100644 meta-networking/recipes-protocols/quagga/files/volatiles.03_quagga delete mode 100644 meta-networking/recipes-protocols/quagga/files/watchquagga.default delete mode 100644 meta-networking/recipes-protocols/quagga/files/watchquagga.init delete mode 100644 meta-networking/recipes-protocols/quagga/files/zebra.service delete mode 100644 meta-networking/recipes-protocols/quagga/quagga.inc delete mode 100644 meta-networking/recipes-protocols/quagga/quagga_1.2.4.bb
meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb +0 -1
@@ -158,7 +158,6 @@ RDEPENDS:packagegroup-meta-networking-protocols = "\ openl2tp \ mdns \ nopoll \ - quagga \ radiusclient-ng \ tsocks \ openlldp \
meta-networking/recipes-protocols/quagga/files/0001-configure-Check-for-readline-instead-of-main-in-libr.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From 675b35b7ed416c837267e493b157167319e8f5fa Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Thu, 1 Sep 2022 11:01:53 -0700 -Subject: [PATCH] configure: Check for readline() instead of main() in - libreadline - -while checking for presense of libreadline, poke for a function which is -provided by libreadline, main is not provided by it, so modern compiler -toolchains may complain about it. - -Upstream-Status: Submitted [https://github.com/Quagga/quagga/pull/9] -Signed-off-by: Khem Raj <[email protected]> ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index ed279f48..d444ab4a 100755 ---- a/configure.ac -+++ b/configure.ac -@@ -754,7 +754,7 @@ dnl [TODO] on Linux, and in [TODO] on Solaris. - )] - )] - ) -- AC_CHECK_LIB(readline, main, LIBREADLINE="-lreadline $LIBREADLINE",, -+ AC_CHECK_LIB(readline, readline, LIBREADLINE="-lreadline $LIBREADLINE",, - "$LIBREADLINE") - if test $ac_cv_lib_readline_main = no; then - AC_MSG_ERROR([vtysh needs libreadline but was not found and usable on your system.]) --- -2.37.3 -
meta-networking/recipes-protocols/quagga/files/bgpd.service deleted +0 -15
@@ -1,15 +0,0 @@ -[Unit] -Description=BGP routing daemon -BindTo=zebra.service -After=zebra.service -ConditionPathExists=@SYSCONFDIR@/quagga/bgpd.conf - -[Service] -Type=forking -EnvironmentFile=-@SYSCONFDIR@/default/quagga -ExecStart=@SBINDIR@/bgpd -d $bgpd_options -f @SYSCONFDIR@/quagga/bgpd.conf -ExecStopPost=@base_bindir@/rm -rf /run/quagga/bgpd.pid -Restart=on-abort - -[Install] -WantedBy=multi-user.target
meta-networking/recipes-protocols/quagga/files/isisd.service deleted +0 -14
@@ -1,14 +0,0 @@ -[Unit] -Description=IS-IS routing daemon -BindTo=zebra.service -After=zebra.service -ConditionPathExists=@SYSCONFDIR@/quagga/isisd.conf - -[Service] -Type=forking -EnvironmentFile=-@SYSCONFDIR@/default/quagga -ExecStart=@SBINDIR@/isisd -d $isisd_options -f /etc/quagga/isisd.conf -Restart=on-abort - -[Install] -WantedBy=multi-user.target
meta-networking/recipes-protocols/quagga/files/ospf6d.service deleted +0 -15
@@ -1,15 +0,0 @@ -[Unit] -Description=OSPF routing daemon for IPv6 -BindTo=zebra.service -After=zebra.service -ConditionPathExists=@SYSCONFDIR@/quagga/ospf6d.conf - -[Service] -Type=forking -EnvironmentFile=-@SYSCONFDIR@/default/quagga -ExecStart=@SBINDIR@/ospf6d -d $ospf6d_options -f @SYSCONFDIR@/quagga/ospf6d.conf -ExecStopPost=@base_bindir@/rm -rf /run/quagga/ospf6d.pid -Restart=on-abort - -[Install] -WantedBy=multi-user.target
meta-networking/recipes-protocols/quagga/files/ospfd.service deleted +0 -15
@@ -1,15 +0,0 @@ -[Unit] -Description=OSPF routing daemon -BindTo=zebra.service -After=zebra.service -ConditionPathExists=@SYSCONFDIR@/quagga/ospfd.conf - -[Service] -Type=forking -EnvironmentFile=-@SYSCONFDIR@/default/quagga -ExecStart=@SBINDIR@/ospfd -d $ospfd_options -f @SYSCONFDIR@/quagga/ospfd.conf -ExecStopPost=@base_bindir@/rm -rf /run/quagga/ospfd.pid -Restart=on-abort - -[Install] -WantedBy=multi-user.target
meta-networking/recipes-protocols/quagga/files/quagga.default deleted +0 -12
@@ -1,12 +0,0 @@ -# If this option is set the /etc/init.d/quagga script automatically loads -# the config via "vtysh -b" when the servers are started. -vtysh_enable=yes - -# Bind all daemons to loopback only by default -zebra_options=" --daemon -A 127.0.0.1" -bgpd_options=" --daemon -A 127.0.0.1" -ospfd_options=" --daemon -A 127.0.0.1" -ospf6d_options="--daemon -A ::1" -ripd_options=" --daemon -A 127.0.0.1" -ripngd_options="--daemon -A ::1" -isisd_options=" --daemon -A 127.0.0.1"
meta-networking/recipes-protocols/quagga/files/quagga.init deleted +0 -200
200 lines not on this page · raw message
meta-networking/recipes-protocols/quagga/files/quagga.pam deleted +0 -13
@@ -1,13 +0,0 @@ -# -# The PAM configuration file for the quagga `vtysh' service -# - -# This allows root to change user infomation without being -# prompted for a password -auth sufficient pam_rootok.so - -# The standard Unix authentication modules, used with -# NIS (man nsswitch) as well as normal /etc/passwd and -# /etc/shadow entries. -auth include common-auth -
meta-networking/recipes-protocols/quagga/files/ripd.service deleted +0 -15
@@ -1,15 +0,0 @@ -[Unit] -Description=RIP routing daemon -BindTo=zebra.service -After=zebra.service -ConditionPathExists=@SYSCONFDIR@/quagga/ripd.conf - -[Service] -Type=forking -EnvironmentFile=-@SYSCONFDIR@/default/quagga -ExecStart=@SBINDIR@/ripd -d $ripd_options -f @SYSCONFDIR@/quagga/ripd.conf -ExecStopPost=@base_bindir@/rm -rf /run/quagga/ripd.pid -Restart=on-abort - -[Install] -WantedBy=multi-user.target
meta-networking/recipes-protocols/quagga/files/ripngd.service deleted +0 -15
@@ -1,15 +0,0 @@ -[Unit] -Description=RIP routing daemon for IPv6 -BindTo=zebra.service -After=zebra.service -ConditionPathExists=@SYSCONFDIR@/quagga/ripngd.conf - -[Service] -Type=forking -EnvironmentFile=-@SYSCONFDIR@/default/quagga -ExecStart=@SBINDIR@/ripngd -d $ripngd_options -f @SYSCONFDIR@/quagga/ripngd.conf -ExecStopPost=@base_bindir@/rm -rf /run/quagga/ripngd.pid -Restart=on-abort - -[Install] -WantedBy=multi-user.target
meta-networking/recipes-protocols/quagga/files/volatiles.03_quagga deleted +0 -3
@@ -1,3 +0,0 @@ -# <type> <owner> <group> <mode> <path> <linksource> -d quagga quagga 0755 /var/run/quagga none -d quagga quagga 0755 /var/log/quagga none
meta-networking/recipes-protocols/quagga/files/watchquagga.default deleted +0 -12
@@ -1,12 +0,0 @@ -# Watchquagga configuration -#watch_daemons="zebra bgpd ospfd ospf6d ripd ripngd" -watch_daemons="zebra" - -# To enable restarts when multiple daemons are being used, uncomment this line (but first be sure to edit -# the WATCH_DAEMONS line to reflect the daemons you are actually using): -#watch_options="-Az -b_ -r/etc/init.d/quagga_restart_%s -s/etc/init.d/quagga_start_%s -k/etc/init.d/quagga_stop_%s" - -# Since we are using one quagga daemon for now, use the following line. If using -# multiple daemons, comment the line below and uncoment the line mentioned -# above. -watch_options="-z -b_ -r/etc/init.d/quagga_restart_%s"
meta-networking/recipes-protocols/quagga/files/watchquagga.init deleted +0 -64
64 lines not on this page · raw message
meta-networking/recipes-protocols/quagga/files/zebra.service deleted +0 -16
@@ -1,16 +0,0 @@ -[Unit] -Description=GNU Zebra routing manager -Wants=network.target -Before=network.target -ConditionPathExists=@SYSCONFDIR@/quagga/zebra.conf - -[Service] -Type=forking -EnvironmentFile=-@SYSCONFDIR@/default/quagga -ExecStartPre=@BASE_SBINDIR@/ip route flush proto zebra -ExecStart=@SBINDIR@/zebra -d $zebra_options -f @SYSCONFDIR@/quagga/zebra.conf -ExecStopPost=@base_bindir@/rm -rf /run/quagga/zebra.pid -Restart=on-abort - -[Install] -WantedBy=multi-user.target
meta-networking/recipes-protocols/quagga/quagga.inc deleted +0 -243
243 lines not on this page · raw message
meta-networking/recipes-protocols/quagga/quagga_1.2.4.bb deleted +0 -10
@@ -1,10 +0,0 @@ -require quagga.inc - -SRC_URI += "file://0001-configure-Check-for-readline-instead-of-main-in-libr.patch" - -SRC_URI[md5sum] = "eced21b054d71c9e1b7c6ac43286a166" -SRC_URI[sha256sum] = "e364c082c3309910e1eb7b068bf39ee298e2f2f3f31a6431a5c115193bd653d3" - -CVE_CHECK_IGNORE += "\ - CVE-2016-4049 \ -"
Signature · 1 line
2.25.1