package/libmicrohttpd: minor fixes and additions
PATCH 1/1 package/libmicrohttpd: minor fixes and additions
From: Carsten Schoenert <[email protected]>
Correcting the indentation inside Config.in. Also adding the missed license information.
Note: libmicrohttpd is partialy dual licensed, if you don't need or want to use the HTTPS option you can choose between LPGLv2.1 and the eCos license (http://ecos.sourceware.org/license-overview.html).
If you use the HTTPS option you have to agree to the LGPLv2.1!
--- package/libmicrohttpd/Config.in | 14 +++++++------- package/libmicrohttpd/libmicrohttpd.mk | 5 ++++- 2 files changed, 11 insertions(+), 8 deletions(-)
package/libmicrohttpd/Config.in +7 -7
@@ -8,13 +8,13 @@ config BR2_PACKAGE_LIBMICROHTTPD http://www.gnu.org/software/libmicrohttpd/ config BR2_PACKAGE_LIBMICROHTTPD_SSL - bool "https support" - depends on BR2_PACKAGE_LIBMICROHTTPD - depends on BR2_USE_WCHAR - select BR2_PACKAGE_GNUTLS - select BR2_PACKAGE_LIBGCRYPT - help - Enable HTTPS (SSL) support. + bool "https support" + depends on BR2_PACKAGE_LIBMICROHTTPD + depends on BR2_USE_WCHAR + select BR2_PACKAGE_GNUTLS + select BR2_PACKAGE_LIBGCRYPT + help + Enable HTTPS (SSL) support. comment "libmicrohttpd needs a toolchain with thread support" depends on !BR2_TOOLCHAIN_HAS_THREADS
package/libmicrohttpd/libmicrohttpd.mk +4 -1
@@ -6,12 +6,15 @@ LIBMICROHTTPD_VERSION = 0.9.27 LIBMICROHTTPD_SITE = $(BR2_GNU_MIRROR)/libmicrohttpd +LIBMICROHTTPD_LICENSE = LGPLv2.1 eCos +LIBMICROHTTPD_LICENSE_FILE = COPYING LIBMICROHTTPD_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_LIBMICROHTTPD_SSL),y) LIBMICROHTTPD_DEPENDENCIES += gnutls libgcrypt LIBMICROHTTPD_CONF_OPT += --enable-https --with-gnutls=$(STAGING_DIR)/usr \ - --with-libgcrypt-prefix=$(STAGING_DIR)/usr + --with-libgcrypt-prefix=$(STAGING_DIR)/usr +LIBMICROHTTPD_LICENSE = LGPLv2.1 else LIBMICROHTTPD_CONF_OPT += --disable-https endif
Signature · 1 line
1.7.10.4
PATCH 1/1 package/libmicrohttpd: minor fixes and additions
Quoted 46 lines · Carsten Schoenert
From: Carsten Schoenert <[email protected]>
Correcting the indentation inside Config.in. Also adding the missed license information.
Note: libmicrohttpd is partialy dual licensed, if you don't need or want to use the HTTPS option you can choose between LPGLv2.1 and the eCos license (http://ecos.sourceware.org/license-overview.html).
If you use the HTTPS option you have to agree to the LGPLv2.1!Signed-off-by Carsten Schoenert <[email protected]>--- package/libmicrohttpd/Config.in | 14 +++++++------- package/libmicrohttpd/libmicrohttpd.mk | 5 ++++- 2 files changed, 11 insertions(+), 8 deletions(-)package/libmicrohttpd/Config.in +7
-7@@ -8,13 +8,13 @@ config BR2_PACKAGE_LIBMICROHTTPD http://www.gnu.org/software/libmicrohttpd/ config BR2_PACKAGE_LIBMICROHTTPD_SSL - bool "https support" - depends on BR2_PACKAGE_LIBMICROHTTPD - depends on BR2_USE_WCHAR - select BR2_PACKAGE_GNUTLS - select BR2_PACKAGE_LIBGCRYPT - help - Enable HTTPS (SSL) support. + bool "https support" + depends on BR2_PACKAGE_LIBMICROHTTPD + depends on BR2_USE_WCHAR + select BR2_PACKAGE_GNUTLS + select BR2_PACKAGE_LIBGCRYPT + help + Enable HTTPS (SSL) support. comment "libmicrohttpd needs a toolchain with thread support" depends on !BR2_TOOLCHAIN_HAS_THREADSpackage/libmicrohttpd/libmicrohttpd.mk +0
-0
package/libmicrohttpd/libmicrohttpd.mk line 9
Quoted 4 lines
package/libmicrohttpd/libmicrohttpd.mk +1
-0@@ -6,12 +6,15 @@ LIBMICROHTTPD_VERSION = 0.9.27 LIBMICROHTTPD_SITE = $(BR2_GNU_MIRROR)/libmicrohttpd +LIBMICROHTTPD_LICENSE = LGPLv2.1 eCos
Quick check tells me it's LGPLv2.1+
I would write "LGPLv2.1+ or eCos license" to make the choice more
explicit, else it looks as if both licenses apply.
package/libmicrohttpd/libmicrohttpd.mk line 17
Quoted 9 lines
package/libmicrohttpd/libmicrohttpd.mk +3
-1+LIBMICROHTTPD_LICENSE_FILE = COPYING LIBMICROHTTPD_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_LIBMICROHTTPD_SSL),y) LIBMICROHTTPD_DEPENDENCIES += gnutls libgcrypt LIBMICROHTTPD_CONF_OPT += --enable-https --with-gnutls=$(STAGING_DIR)/usr \ - --with-libgcrypt-prefix=$(STAGING_DIR)/usr + --with-libgcrypt-prefix=$(STAGING_DIR)/usr +LIBMICROHTTPD_LICENSE = LGPLv2.1
We would typically put the LGPLv2.1 or eCos option in the else branch
of the condition, rather than overwriting it.
Regards,
Arnout
Quoted 4 lines
package/libmicrohttpd/libmicrohttpd.mk +0
-0else LIBMICROHTTPD_CONF_OPT += --disable-https endif
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
PATCH 1/1 package/libmicrohttpd: minor fixes and additions
Hello Arnout,
Am 25.06.2013 23:25, schrieb Arnout Vandecappelle:
Quoted 1 line
Quick check tells me it's LGPLv2.1+
Ah, yes. I just looked into COPYING. Will correct.
Quoted 2 lines
I would write "LGPLv2.1+ or eCos license" to make the choice more
explicit, else it looks as if both licenses apply.
Also true. Agreed.
Quoted 2 lines
We would typically put the LGPLv2.1 or eCos option in the else branch
of the condition, rather than overwriting it.
I was thinking about that, but decided to the kind I made the patch. I prepare a new patch and will resend.
Regards
Carsten
[Buildroot] Update documentation [was] Re: [PATCH] package/libmicrohttpd: minor fixes and additions
In reply to Arnout VandecappelleHello again,
Am 25.06.2013 23:25, schrieb Arnout Vandecappelle:
Quoted 2 lines
I would write "LGPLv2.1+ or eCos license" to make the choice more
explicit, else it looks as if both licenses apply.
I have a take a look into the documenation and this part is missing that kind of info. I have tried to wrote some informative, what do you think?
Quoted 19 lines
docs/manual/adding-packages-generic.txt +11
-0@@ -328,6 +328,24 @@ information is (assuming the package name is +libfoo+) : ambiguous names such as +BSD+ which actually name a family of licenses. This variable is optional. If it is not defined, +unknown+ will appear in the +license+ field of the manifest file for this package. + If the package is licensed with more than one license just write all + licenses into that line and make clear how the usage of the licenses are + interact. + +For example the package could licensed under LGPLv2.1+ or MIT: + +--------------------------------- +LIBFOO_LICENSE = LGPLv2.1+ or MIT +--------------------------------- + +Some packages may need two licenses at the same time, that would be the
docs/manual/adding-packages-generic.txt information is (assuming the package name is +libfoo+) : · line 351
Quoted 10 lines
docs/manual/adding-packages-generic.txt +7
-0+opposite of the above example. Then you have to combine the two licenses +(don't forget to check if there are two, or more, fields in ++LIBFOO_LICENSE_FILES+ needed): + +-------------------------------------- +LIBFOO_LICENSE = Special1 and Special2 +-------------------------------------- * +LIBFOO_LICENSE_FILES+ is a space-separated list of files in the package tarball that contain the license(s) under which the package is released.
Regards
Carsten