-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
frr: merge frr-libfrr and frr-vtysh to frr #24083
frr: merge frr-libfrr and frr-vtysh to frr #24083
Conversation
@robimarko |
@trippleflux |
1e5b320
to
639c4a5
Compare
I'm not sure how important /etc/init.d/frr start
cannot start staticd: daemon binary not installed
Started watchfrr Affects both diff --git a/net/frr/Makefile b/net/frr/Makefile
index 6fb17a313..bb50fca6b 100644
--- a/net/frr/Makefile
+++ b/net/frr/Makefile
@@ -129,6 +129,7 @@ define BuildDaemon
$$(call Package/frr/Default)
TITLE:= $(1) routing engine
DEPENDS+=$(2)
+ DEFAULT:=$(3)
endef
# if [ "$(1)" == "bfdd" ]; then \
# export HAVE_BFDD == 1 ; fi
@@ -237,5 +238,5 @@ $(eval $(call BuildDaemon,pbrd,))
$(eval $(call BuildDaemon,pimd,))
$(eval $(call BuildDaemon,ripd,))
$(eval $(call BuildDaemon,ripngd,@IPV6))
-$(eval $(call BuildDaemon,staticd,))
+$(eval $(call BuildDaemon,staticd,,y))
$(eval $(call BuildDaemon,vrrpd,)) |
@httpstorm [EDIT] It compile and run on x86_64, functionalities wise haven't tested as mentioned above. |
639c4a5
to
a6cad81
Compare
@lucize @robimarko @neheb @PolynomialDivision @1715173329 @trippleflux Edit: dropped the upgrade to |
@httpstorm thanks for the commit, but please keep the versioning as before, the ideea is that frr is releasing major versions very slowly and that's why I used the stable branch based on date (hash of the specific date) so I can merge stable commits at somewhat regular intervals. |
Fixes: grep: warning: stray \ before - Signed-off-by: Georgi Valkov <[email protected]>
Fixes [1] lib/vty.c: In function 'vty_mgmt_resume_response': lib/vty.c:195:27: error: 'VTYSH_READ' undeclared (first use in this function); did you mean 'VTY_READ'? 195 | vty_event(VTYSH_READ, vty); | ^~~~~~~~~~ | VTY_READ The error is a bug in frr: not all use cases of the VTYSH_* enums are guarded by #ifdef VTYSH. These enums are enabled by the VTYSH macro, which is defined if sub package frr-vtysh is enabled in menuconfig. According to support ticket [2], building without frr-vtysh is no longer supported. [1] openwrt#24063 [2] FRRouting/frr#15752 (comment) Signed-off-by: Georgi Valkov <[email protected]>
frr-libfrr and frr-vtysh are required components, which makes their menuconfig entries obsolete. Merge them in the frr package. Signed-off-by: Georgi Valkov <[email protected]>
a6cad81
to
ca93483
Compare
@lucize Notes for future upgrades to
There is a build error in
[1] CESNET/libyang@7a26677#diff-67a354ecb35f341abf57f84bd0d714b05280fddb1063b90a31f0d3ef67675bd7 |
LGTM |
Maintainer: @lucize
Compile tested: (x86_64, OpenWrt main)
Host tested: macOS 14.4.1
frr-libfrr
andfrr-vtysh
are required components, which makes their menuconfig entries obsolete.Merge them in the
frr
package.Fixes: grep warning in frrcommon.sh
grep: warning: stray \ before -
Fixes: [1]
The error is a bug in
frr
: not all use cases of theVTYSH_*
enums are guarded by#ifdef VTYSH
. These enums are enabled by theVTYSH
macro, which is defined if sub packagefrr-vtysh
is enabled in menuconfig. According to support ticket [2], building withoutfrr-vtysh
is no longer supported.[1] #24063
[2] FRRouting/frr#15752 (comment)
Edit: I was asked to drop the update to
frr-10
from this PR.@robimarko @neheb @trippleflux