bird: new package
PATCH 1/1 bird: new package
The BIRD project aims to develop a dynamic IP routing daemon with full support of all modern routing protocols, easy to use configuration interface and powerful route filtering language
--- DEVELOPERS | 1 + package/Config.in | 1 + package/bird/Config.in | 12 ++++++++++++ package/bird/bird.hash | 2 ++ package/bird/bird.mk | 14 ++++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 package/bird/Config.in create mode 100644 package/bird/bird.hash create mode 100644 package/bird/bird.mk
DEVELOPERS +1 -0
@@ -72,6 +72,7 @@ F: package/woff2/ N: Adrien Gallou?t <[email protected]> F: package/glorytun/ +F: package/bird/ N: Aleksander Morgado <[email protected]> F: package/libmbim/
package/Config.in +1 -0
@@ -1743,6 +1743,7 @@ menu "Networking applications" source "package/batctl/Config.in" source "package/bcusdk/Config.in" source "package/bind/Config.in" + source "package/bird/Config.in" source "package/bluez-tools/Config.in" source "package/bluez_utils/Config.in" source "package/bluez5_utils/Config.in"
package/bird/Config.in new file +12 -0
@@ -0,0 +1,12 @@ +config BR2_PACKAGE_BIRD + bool "bird" + select BR2_PACKAGE_NCURSES + select BR2_PACKAGE_READLINE + help + BIRD Internet Routing Daemon + + The BIRD project aims to develop a dynamic IP routing daemon with full support + of all modern routing protocols, easy to use configuration interface and + powerful route filtering language + + http://bird.network.cz/
package/bird/bird.hash new file +2 -0
@@ -0,0 +1,2 @@ +sha256 bd42d48fbcc2c0046d544f1183cd98193ff15b792d332ff45f386b0180b09335 v2.0.2.tar.gz +sha256 f018596a97af0108efc446320631e2fddc0c1d1f3ffab3129327ccdb4f0c29ed README
package/bird/bird.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# bird +# +################################################################################ + +BIRD_VERSION = 2.0.2 +BIRD_SOURCE = v$(BIRD_VERSION).tar.gz +BIRD_SITE = https://github.com/BIRD/bird/archive +BIRD_LICENSE = GPL-2.0+ +BIRD_LICENSE_FILES = README +BIRD_AUTORECONF = YES + +$(eval $(autotools-package))
Signature · 1 line
2.19.0
PATCH 1/1 bird: new package
Hi Adrien,
Quoted 6 lines · Adrien Gallou?t
package/bird/bird.mk new file +0
-0
package/bird/bird.mk line 9
Quoted 9 lines
package/bird/bird.mk new file +9
-0@@ -0,0 +1,14 @@ +################################################################################ +# +# bird +# +################################################################################ + +BIRD_VERSION = 2.0.2 +BIRD_SOURCE = v$(BIRD_VERSION).tar.gz +BIRD_SITE = https://github.com/BIRD/bird/archive
Please use the github helper:
BIRD_SITE = $(call github,BIRD,bird,$(BIRD_VERSION))
BIRD_SOURCE should not be needed.
package/bird/bird.mk line 12
Quoted 3 lines
package/bird/bird.mk new file +3
-0+BIRD_LICENSE = GPL-2.0+ +BIRD_LICENSE_FILES = README +BIRD_AUTORECONF = YES
Please mention in a comment that autoreconf is needed since the package is fetched from github so there is no configure script.
package/bird/bird.mk line 14
Quoted 2 lines
package/bird/bird.mk new file +2
-0+ +$(eval $(autotools-package))
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
PATCH v2 1/1 bird: new package
In reply to Adrien GallouëtThe BIRD project aims to develop a dynamic IP routing daemon with full support of all modern routing protocols, easy to use configuration interface and powerful route filtering language
---
Changes v1 -> v2 (after Baruch Siach review)
- Add a comment for the use of autoreconf
- Use github helper
DEVELOPERS +1 -0
@@ -72,6 +72,7 @@ F: package/woff2/ N: Adrien Gallou?t <[email protected]> F: package/glorytun/ +F: package/bird/ N: Aleksander Morgado <[email protected]> F: package/libmbim/
package/Config.in +1 -0
@@ -1743,6 +1743,7 @@ menu "Networking applications" source "package/batctl/Config.in" source "package/bcusdk/Config.in" source "package/bind/Config.in" + source "package/bird/Config.in" source "package/bluez-tools/Config.in" source "package/bluez_utils/Config.in" source "package/bluez5_utils/Config.in"
package/bird/Config.in new file +12 -0
@@ -0,0 +1,12 @@ +config BR2_PACKAGE_BIRD + bool "bird" + select BR2_PACKAGE_NCURSES + select BR2_PACKAGE_READLINE + help + BIRD Internet Routing Daemon + + The BIRD project aims to develop a dynamic IP routing daemon with full support + of all modern routing protocols, easy to use configuration interface and + powerful route filtering language + + http://bird.network.cz/
package/bird/bird.hash new file +2 -0
@@ -0,0 +1,2 @@ +sha256 bd42d48fbcc2c0046d544f1183cd98193ff15b792d332ff45f386b0180b09335 bird-v2.0.2.tar.gz +sha256 f018596a97af0108efc446320631e2fddc0c1d1f3ffab3129327ccdb4f0c29ed README
package/bird/bird.mk new file +15 -0
@@ -0,0 +1,15 @@ +################################################################################ +# +# bird +# +################################################################################ + +BIRD_VERSION = v2.0.2 +BIRD_SITE = $(call github,BIRD,bird,$(BIRD_VERSION)) +BIRD_LICENSE = GPL-2.0+ +BIRD_LICENSE_FILES = README + +# autoreconf is needed since the package is fetched from github +BIRD_AUTORECONF = YES + +$(eval $(autotools-package))
Signature · 1 line
2.19.0
PATCH v2 1/1 bird: new package
Hello Adrien,
Quoted 9 lines · Adrien Gallou?t
The BIRD project aims to develop a dynamic IP routing daemon with full support of all modern routing protocols, easy to use configuration interface and powerful route filtering language
Signed-off-by Adrien Gallou?t <[email protected]>---
Changes v1 -> v2 (after Baruch Siach review)
- Add a comment for the use of autoreconf
- Use github helper
I've applied your patch, after doing a number of changes:
[Thomas:
- Do not make ncurses/readline mandatory dependencies, since they are not. They are only needed when building the BIRD client. Added a Config.in sub-option to enable/disable the client. As part of this, added ncurses/readline to <pkg>_DEPENDENCIES.
- Add a patch to fix the installation when the BIRD client is disabled, the patch has been submitted upstream.
- Added host-flex and host-bison to <pkg>_DEPENDENCIES since flex/bison are used during the build process.
- Add BR2_USE_MMU dependency, the code uses fork()
- Fix alphabetic ordering in DEVELOPERS file.]
Thanks for this contribution!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH v2 1/1 bird: new package
Hi Thomas,
Thanks a lot :)
Quoted 35 lines · Thomas Petazzoni
Hello Adrien,
Quoted 9 lines · Adrien Gallou?t
The BIRD project aims to develop a dynamic IP routing daemon with full support of all modern routing protocols, easy to use configuration interface and powerful route filtering language
Signed-off-by Adrien Gallou?t <[email protected]>---
Changes v1 -> v2 (after Baruch Siach review)
- Add a comment for the use of autoreconf
- Use github helperI've applied your patch, after doing a number of changes:
[Thomas:
- Do not make ncurses/readline mandatory dependencies, since they are not. They are only needed when building the BIRD client. Added a Config.in sub-option to enable/disable the client. As part of this, added ncurses/readline to <pkg>_DEPENDENCIES.
- Add a patch to fix the installation when the BIRD client is disabled, the patch has been submitted upstream.
- Added host-flex and host-bison to <pkg>_DEPENDENCIES since flex/bison are used during the build process.
- AddBR2_USE_MMUdependency, the code usesfork()
- Fix alphabetic ordering in DEVELOPERS file.]Thanks for this contribution!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com