[Buildroot] [PATCH v3] package/easyframes: new package

Asaf Kahlon asafka7 at gmail.com
Fri Aug 28 18:44:42 UTC 2020


Hello,

On Thu, Aug 20, 2020 at 9:44 AM Horatiu Vultur via buildroot
<buildroot at busybox.net> wrote:
>
> Signed-off-by: Horatiu Vultur <horatiu.vultur at microchip.com>
>
> ---
> Changes v2 -> v3:
>   - add missing changelog
>
> Changes v1 -> v2:
>   - add missing comment in easyframes.hash
>   - add sha256 for COPYING
>   - remove zlib dependency
>   - change from using sha to use tag
> ---
>  DEVELOPERS                         |  3 +++
>  package/Config.in                  |  1 +
>  package/easyframes/Config.in       | 10 ++++++++++
>  package/easyframes/easyframes.hash |  3 +++
>  package/easyframes/easyframes.mk   | 15 +++++++++++++++
>  5 files changed, 32 insertions(+)
>  create mode 100644 package/easyframes/Config.in
>  create mode 100644 package/easyframes/easyframes.hash
>  create mode 100644 package/easyframes/easyframes.mk
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 35840ec9a8..dd1ec8903c 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -1109,6 +1109,9 @@ F:        package/gauche/
>  F:     package/gmrender-resurrect/
>  F:     package/squeezelite/
>
> +N:     Horatiu Vultur <horatiu.vultur at microchip.com>
> +F:     package/easyframes/
> +
>  N:     Ian Haylock <haylocki at yahoo.co.uk>
>  F:     package/python-rpi-gpio/
>
> diff --git a/package/Config.in b/package/Config.in
> index d7e79f4795..3965d523c6 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -2039,6 +2039,7 @@ menu "Networking applications"
>         source "package/dnsmasq/Config.in"
>         source "package/drbd-utils/Config.in"
>         source "package/dropbear/Config.in"
> +       source "package/easyframes/Config.in"
>         source "package/ebtables/Config.in"
>         source "package/ejabberd/Config.in"
>         source "package/ethtool/Config.in"
> diff --git a/package/easyframes/Config.in b/package/easyframes/Config.in
> new file mode 100644
> index 0000000000..eca9ff3a60
> --- /dev/null
> +++ b/package/easyframes/Config.in
> @@ -0,0 +1,10 @@
> +config BR2_PACKAGE_EASYFRAMES
> +       bool "easyframes"
> +       depends on BR2_INSTALL_LIBSTDCPP
In case the user doesn't have a toolchain with C++, you should add a
comment describing that need.
Something like:
comment "easyframes needs a toolchain w/ C++"
        depends on !BR2_INSTALL_LIBSTDCPP

In addition, I opened a PR for you in order to make the package fully
C++ independent, so if you want you can create a new tag with this
change and remove the BR2_INSTALL_LIBSTDCPP dependency at all.

> +       select BR2_PACKAGE_LIBPCAP
> +       help
> +         This is a small and simple command-line tool for network testing.
> +         The tool makes it simple to compose a frame, inject and express what
> +         and where frames are expected to be received.
> +
> +         https://github.com/microchip-ung/easyframes
> diff --git a/package/easyframes/easyframes.hash b/package/easyframes/easyframes.hash
> new file mode 100644
> index 0000000000..07c516fb6d
> --- /dev/null
> +++ b/package/easyframes/easyframes.hash
> @@ -0,0 +1,3 @@
> +# locally calculated
> +sha256 bd26de2de60e55ea092053c66cf4482f15ed6353961b175ddb376c46b536e86b easyframes-v0.2.tar.gz
> +sha256 24f37598e822a1411fb7164ce7eb3ef120aea8279016399abc282c2381ce3f57 COPYING
> diff --git a/package/easyframes/easyframes.mk b/package/easyframes/easyframes.mk
> new file mode 100644
> index 0000000000..218fe3b238
> --- /dev/null
> +++ b/package/easyframes/easyframes.mk
> @@ -0,0 +1,15 @@
> +################################################################################
> +#
> +# easyframes
> +#
> +################################################################################
> +
> +EASYFRAMES_VERSION = v0.2
> +EASYFRAMES_SITE = $(call github,microchip-ung,easyframes,$(EASYFRAMES_VERSION))
> +EASYFRAMES_INSTALL_STAGING = YES
> +EASYFRAMES_DEPENDENCIES = libpcap
> +
> +EASYFRAMES_LICENSE = MIT
> +EASYFRAMES_LICENSE_FILES = COPYING
> +
> +$(eval $(cmake-package))
> --
> 2.27.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
Regards,
Asaf.



More information about the buildroot mailing list