All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] bird: new package
@ 2018-09-27 20:41 Adrien Gallouët
  2018-09-27 21:01 ` Baruch Siach
  2018-09-27 22:21 ` [Buildroot] [PATCH v2 " Adrien Gallouët
  0 siblings, 2 replies; 5+ messages in thread
From: Adrien Gallouët @ 2018-09-27 20:41 UTC (permalink / raw)
  To: buildroot

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 <adrien@gallouet.fr>
---
 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

diff --git a/DEVELOPERS b/DEVELOPERS
index 0335aef3b1..a256067004 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -72,6 +72,7 @@ F:	package/woff2/
 
 N:	Adrien Gallou?t <adrien@gallouet.fr>
 F:	package/glorytun/
+F:	package/bird/
 
 N:	Aleksander Morgado <aleksander@aleksander.es>
 F:	package/libmbim/
diff --git a/package/Config.in b/package/Config.in
index 52f11c407a..73bb209c66 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/bird/Config.in b/package/bird/Config.in
new file mode 100644
index 0000000000..6e4e43505a
--- /dev/null
+++ b/package/bird/Config.in
@@ -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/
diff --git a/package/bird/bird.hash b/package/bird/bird.hash
new file mode 100644
index 0000000000..88dea503c9
--- /dev/null
+++ b/package/bird/bird.hash
@@ -0,0 +1,2 @@
+sha256 bd42d48fbcc2c0046d544f1183cd98193ff15b792d332ff45f386b0180b09335  v2.0.2.tar.gz
+sha256 f018596a97af0108efc446320631e2fddc0c1d1f3ffab3129327ccdb4f0c29ed  README
diff --git a/package/bird/bird.mk b/package/bird/bird.mk
new file mode 100644
index 0000000000..959021f94f
--- /dev/null
+++ b/package/bird/bird.mk
@@ -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))
-- 
2.19.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/1] bird: new package
  2018-09-27 20:41 [Buildroot] [PATCH 1/1] bird: new package Adrien Gallouët
@ 2018-09-27 21:01 ` Baruch Siach
  2018-09-27 22:21 ` [Buildroot] [PATCH v2 " Adrien Gallouët
  1 sibling, 0 replies; 5+ messages in thread
From: Baruch Siach @ 2018-09-27 21:01 UTC (permalink / raw)
  To: buildroot

Hi Adrien,

Adrien Gallou?t writes:
> diff --git a/package/bird/bird.mk b/package/bird/bird.mk
> new file mode 100644
> index 0000000000..959021f94f
> --- /dev/null
> +++ b/package/bird/bird.mk
> @@ -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.

> +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.

> +
> +$(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 -

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH v2 1/1] bird: new package
  2018-09-27 20:41 [Buildroot] [PATCH 1/1] bird: new package Adrien Gallouët
  2018-09-27 21:01 ` Baruch Siach
@ 2018-09-27 22:21 ` Adrien Gallouët
  2018-10-09 12:47   ` Thomas Petazzoni
  1 sibling, 1 reply; 5+ messages in thread
From: Adrien Gallouët @ 2018-09-27 22:21 UTC (permalink / raw)
  To: buildroot

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 <adrien@gallouet.fr>
---
Changes v1 -> v2 (after Baruch Siach review)
- Add a comment for the use of autoreconf
- Use github helper

diff --git a/DEVELOPERS b/DEVELOPERS
index 0335aef3b1..a256067004 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -72,6 +72,7 @@ F:	package/woff2/
 
 N:	Adrien Gallou?t <adrien@gallouet.fr>
 F:	package/glorytun/
+F:	package/bird/
 
 N:	Aleksander Morgado <aleksander@aleksander.es>
 F:	package/libmbim/
diff --git a/package/Config.in b/package/Config.in
index 52f11c407a..73bb209c66 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/bird/Config.in b/package/bird/Config.in
new file mode 100644
index 0000000000..6e4e43505a
--- /dev/null
+++ b/package/bird/Config.in
@@ -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/
diff --git a/package/bird/bird.hash b/package/bird/bird.hash
new file mode 100644
index 0000000000..449e8afd8d
--- /dev/null
+++ b/package/bird/bird.hash
@@ -0,0 +1,2 @@
+sha256 bd42d48fbcc2c0046d544f1183cd98193ff15b792d332ff45f386b0180b09335  bird-v2.0.2.tar.gz
+sha256 f018596a97af0108efc446320631e2fddc0c1d1f3ffab3129327ccdb4f0c29ed  README
diff --git a/package/bird/bird.mk b/package/bird/bird.mk
new file mode 100644
index 0000000000..f45baadab2
--- /dev/null
+++ b/package/bird/bird.mk
@@ -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))
-- 
2.19.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH v2 1/1] bird: new package
  2018-09-27 22:21 ` [Buildroot] [PATCH v2 " Adrien Gallouët
@ 2018-10-09 12:47   ` Thomas Petazzoni
  2018-10-09 13:30     ` Adrien Gallouët
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2018-10-09 12:47 UTC (permalink / raw)
  To: buildroot

Hello Adrien,

On Thu, 27 Sep 2018 22:21:01 +0000, Adrien Gallou?t wrote:
> 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 <adrien@gallouet.fr>
> ---
> 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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH v2 1/1] bird: new package
  2018-10-09 12:47   ` Thomas Petazzoni
@ 2018-10-09 13:30     ` Adrien Gallouët
  0 siblings, 0 replies; 5+ messages in thread
From: Adrien Gallouët @ 2018-10-09 13:30 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

Thanks a lot :)


On Tue, Oct 9, 2018 at 2:48 PM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> Hello Adrien,
>
> On Thu, 27 Sep 2018 22:21:01 +0000, Adrien Gallou?t wrote:
> > 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 <adrien@gallouet.fr>
> > ---
> > 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
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-10-09 13:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-27 20:41 [Buildroot] [PATCH 1/1] bird: new package Adrien Gallouët
2018-09-27 21:01 ` Baruch Siach
2018-09-27 22:21 ` [Buildroot] [PATCH v2 " Adrien Gallouët
2018-10-09 12:47   ` Thomas Petazzoni
2018-10-09 13:30     ` Adrien Gallouët

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.