From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] libcoap: add new package
Date: Tue, 1 Apr 2014 16:11:25 +0200 [thread overview]
Message-ID: <20140401141125.GD31118@pengutronix.de> (raw)
In-Reply-To: <1396182952-12919-1-git-send-email-alex.aring@gmail.com>
On Sun, Mar 30, 2014 at 02:35:52PM +0200, Alexander Aring wrote:
> This patch adds the libcoap implementation [0]. The most common use of
> this library is to use it with contiki os. That's one reason why the
> current buildsystem isn't "well". The added patches replace the current
> buildsystem with a better one. The replacement had the goal to made less
> changes to the current libcoap implementation.
>
> The libcoap implementation do a include of autoconf "config.h" header
> file in the API headers. The patches adds a new libcoap_config.h with a
> LIBCOAP_ prefix to all defines and replace the use of these defines in
> the API headers. That's too not well but offers a workaround to make a
> clean install of this library and other autotools software can use it.
>
> I found in the current release some things which are broken like some
> disable features in configure call and others things which are not well.
> I don't fix it in the patches, I will try to send the fixes to the
> maintainer of this project and hopefully it's fixed in the next release.
>
> Libcoap is still the best known C implementation of the coap protocol,
> but also it's a bleeding edge implementation of a draft [1].
>
> [0] http://sourceforge.net/projects/libcoap/
> [1] http://tools.ietf.org/html/draft-ietf-core-coap-18
>
> Signed-off-by: Alexander Aring <alex.aring@gmail.com>
> ---
> .../0001-libcoap-remove-current-buildsystem.patch | 6124 ++++++++++++++++++++
It's not going upstream, so I dropped any files from this patch that are
overwritten later. Can you check that I didn't break anything while doing
that?
Thanks,
Michael
> .../0002-libcoap-add-new-buildsystem.patch | 522 ++
> ...ange-include-config.h-to-libcoap_config.h.patch | 152 +
> ...p-add-LIBCOAP_-prefix-to-HAVE_-in-headers.patch | 136 +
> ...p-add-LIBCOAP-prefix-to-COAP_MAX_PDU_SIZE.patch | 64 +
> ...bcoap-add-LIBCOAP-prefix-to-WITHOUT_ASYNC.patch | 53 +
> ...0007-libcoap-add-LIBCOAP-prefix-to-NDEBUG.patch | 26 +
> .../0008-client-fix-compiler-warning.patch | 26 +
> patches/libcoap-4.1.1/autogen.sh | 1 +
> patches/libcoap-4.1.1/series | 8 +
> rules/libcoap.in | 10 +
> rules/libcoap.make | 66 +
> 12 files changed, 7188 insertions(+)
> create mode 100644 patches/libcoap-4.1.1/0001-libcoap-remove-current-buildsystem.patch
> create mode 100644 patches/libcoap-4.1.1/0002-libcoap-add-new-buildsystem.patch
> create mode 100644 patches/libcoap-4.1.1/0003-libcoap-change-include-config.h-to-libcoap_config.h.patch
> create mode 100644 patches/libcoap-4.1.1/0004-libcoap-add-LIBCOAP_-prefix-to-HAVE_-in-headers.patch
> create mode 100644 patches/libcoap-4.1.1/0005-libcoap-add-LIBCOAP-prefix-to-COAP_MAX_PDU_SIZE.patch
> create mode 100644 patches/libcoap-4.1.1/0006-libcoap-add-LIBCOAP-prefix-to-WITHOUT_ASYNC.patch
> create mode 100644 patches/libcoap-4.1.1/0007-libcoap-add-LIBCOAP-prefix-to-NDEBUG.patch
> create mode 100644 patches/libcoap-4.1.1/0008-client-fix-compiler-warning.patch
> create mode 120000 patches/libcoap-4.1.1/autogen.sh
> create mode 100644 patches/libcoap-4.1.1/series
> create mode 100644 rules/libcoap.in
> create mode 100644 rules/libcoap.make
[...]
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2014-04-01 14:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-30 12:35 Alexander Aring
2014-04-01 14:11 ` Michael Olbrich [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-02-27 18:40 Alexander Aring
2014-03-05 8:48 ` Alexander Aring
2014-03-05 9:48 ` Michael Olbrich
2014-03-05 10:37 ` Alexander Aring
2014-03-05 14:20 ` Marc Kleine-Budde
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=20140401141125.GD31118@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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