Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: jonringle@gmail.com
Cc: Jon Ringle <jringle@gridpoint.com>,
	Samuel Martin <s.martin49@gmail.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/mbpoll: new package
Date: Fri, 28 Jul 2023 23:35:34 +0200	[thread overview]
Message-ID: <20230728233534.5dca9be4@windsurf> (raw)
In-Reply-To: <20230526184707.53781-1-jonringle@gmail.com>

Hello Jon,

On Fri, 26 May 2023 14:47:07 -0400
jonringle@gmail.com wrote:

> From: Jon Ringle <jringle@gridpoint.com>
> 
> mbpoll is a tool that can be used to test communication
> with modbus slave devices
> 
> Signed-off-by: Jon Ringle <jringle@gridpoint.com>

Sorry for the long delay in providing feedback to your patch. The good
news is that I have applied it, with a few changes (see below).

> ---
>  package/Config.in          |  1 +
>  package/mbpoll/Config.in   |  5 +++++
>  package/mbpoll/mbpoll.hash |  3 +++
>  package/mbpoll/mbpoll.mk   | 11 +++++++++++
>  4 files changed, 20 insertions(+)

An entry in the DEVELOPERS file was missing... and I forgot about it
myself, so I fixed that up in a follow-up commit.

> diff --git a/package/mbpoll/Config.in b/package/mbpoll/Config.in
> new file mode 100644
> index 0000000000..b0d7be1c4d
> --- /dev/null
> +++ b/package/mbpoll/Config.in
> @@ -0,0 +1,5 @@
> +config BR2_PACKAGE_MBPOLL
> +	bool "mbpoll"
> +	select BR2_PACKAGE_LIBMODBUS
> +	help
> +	  mbpoll utility to test modbus

I improved this a little bit: slightly extended description taken from
the github homepage, and more importantly, URL of the upstream project,
which is required in Buildroot Config.in help text.

> diff --git a/package/mbpoll/mbpoll.hash b/package/mbpoll/mbpoll.hash
> new file mode 100644
> index 0000000000..d72ebee7b8
> --- /dev/null
> +++ b/package/mbpoll/mbpoll.hash
> @@ -0,0 +1,3 @@
> +# Locally calculated
> +sha256  046fdac2d88eddb71a1091a87d0a4bb23fee39595a929cde50c546dae0fbcd6d  mbpoll-1.5.tar.gz
> +sha256  3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986  COPYING
> diff --git a/package/mbpoll/mbpoll.mk b/package/mbpoll/mbpoll.mk
> new file mode 100644
> index 0000000000..e1a71bed09
> --- /dev/null
> +++ b/package/mbpoll/mbpoll.mk
> @@ -0,0 +1,11 @@
> +################################################################################
> +#
> +# mbpoll
> +#
> +################################################################################
> +
> +MBPOLL_VERSION = 1.5
> +MBPOLL_SITE = $(call github,epsilonrt,mbpoll,v$(MBPOLL_VERSION))
> +MBPOLL_DEPENDENCIES = libmodbus

You forgot host-pkgconf in the dependencies, which is needed for mbpoll
to find libmodbus.

Also, you properly added the hash of COPYING in the hash file, but you
forgot MBPOLL_LICENSE and MBPOLL_LICENSE_FILES.

As said, I fixed up those minor details when applying.

Thanks a lot for your contribution!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2023-07-28 21:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-26 18:47 [Buildroot] [PATCH 1/1] package/mbpoll: new package jonringle
2023-07-28 21:35 ` Thomas Petazzoni via buildroot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230728233534.5dca9be4@windsurf \
    --to=buildroot@buildroot.org \
    --cc=jonringle@gmail.com \
    --cc=jringle@gridpoint.com \
    --cc=s.martin49@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox