From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Add libmodbus to buildroot.
Date: Thu, 23 Dec 2010 10:26:39 +0100 [thread overview]
Message-ID: <20101223102639.23672613@surf> (raw)
In-Reply-To: <1292937354-20879-1-git-send-email-marek.belisko@open-nandra.com>
Hello Marek,
Thanks for proposing this package! I have a few comments below.
On Tue, 21 Dec 2010 14:15:54 +0100
Marek Belisko <marek.belisko@open-nandra.com> wrote:
> diff --git a/package/Config.in b/package/Config.in
> index 80aca2a..b29113c 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -203,6 +203,7 @@ source "package/usbmount/Config.in"
> source "package/usbutils/Config.in"
> source "package/wipe/Config.in"
> source "package/xfsprogs/Config.in"
> +source "package/libmodbus/Config.in"
> endmenu
libmodbus sounds like a networking library rather than a hardware
handling utility. Therefore, could you move it to "Libraries ->
Networking" ?
Moreover, the entries in each category are alphabetically sorted, so
please put libmodbus at the right location.
> +LIBMODBUS_VERSION:=2.0.3
> +LIBMODBUS_SOURCE:=libmodbus-$(LIBMODBUS_VERSION).tar.gz
> +LIBMODBUS_SITE:=http://github.com/downloads/stephane/libmodbus/$(LIBMODBUS_SOURCE)
Unfortunately, this redirects to a https site, with an invalid
certificate:
ERROR: certificate common name `*.github.com' doesn't match requested
host name `github.com'.
So I had to add --no-check-certificate to wget's command line options.
Not sure what we should do about this :
*) Always use --no-check-certificate for all downloads
*) Add a new <pkg>_WGET_NO_CERTIFICATE=YES option to the package
infrastructure.
*) Something else ?
Moreover, this package being a library, you certainly want:
LIBMODBUS_INSTALL_STAGING=YES
in order to install headers, pkgconfig file and other stuff to the
$(STAGING_DIR).
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
prev parent reply other threads:[~2010-12-23 9:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-21 13:15 [Buildroot] [PATCH] Add libmodbus to buildroot Marek Belisko
2010-12-23 9:26 ` Thomas Petazzoni [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=20101223102639.23672613@surf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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