From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WUzPR-0004Sp-DK for ptxdist@pengutronix.de; Tue, 01 Apr 2014 16:11:25 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1WUzPR-0002se-C1 for ptxdist@pengutronix.de; Tue, 01 Apr 2014 16:11:25 +0200 Date: Tue, 1 Apr 2014 16:11:25 +0200 From: Michael Olbrich Message-ID: <20140401141125.GD31118@pengutronix.de> References: <1396182952-12919-1-git-send-email-alex.aring@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1396182952-12919-1-git-send-email-alex.aring@gmail.com> Subject: Re: [ptxdist] [PATCH] libcoap: add new package Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de 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 > --- > .../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