Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] elfutils: clarify licensing info
@ 2016-10-04 10:44 gustavo.zacarias at free-electrons.com
  2016-10-04 13:01 ` Rahul Bedarkar
  0 siblings, 1 reply; 4+ messages in thread
From: gustavo.zacarias at free-electrons.com @ 2016-10-04 10:44 UTC (permalink / raw)
  To: buildroot

From: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>

elfutils libraries are GPLv2 or LGPLv3+, standalone programs are GPLv3+
(see the NEWS file).
Make the GPLv3+ license tag/file dependant on the programs being
enabled, and make the GPLv2/LGPLv3+ tag more descriptive.

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
---
 package/elfutils/elfutils.mk | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/package/elfutils/elfutils.mk b/package/elfutils/elfutils.mk
index 6af1223..5026474 100644
--- a/package/elfutils/elfutils.mk
+++ b/package/elfutils/elfutils.mk
@@ -8,10 +8,16 @@ ELFUTILS_VERSION = 0.166
 ELFUTILS_SOURCE = elfutils-$(ELFUTILS_VERSION).tar.bz2
 ELFUTILS_SITE = https://fedorahosted.org/releases/e/l/elfutils/$(ELFUTILS_VERSION)
 ELFUTILS_INSTALL_STAGING = YES
-ELFUTILS_LICENSE = GPLv3, GPLv2, LGPLv3
-ELFUTILS_LICENSE_FILES = COPYING COPYING-GPLV2 COPYING-LGPLV3
+ELFUTILS_LICENSE = GPLv2 or LGPLv3+ (library)
+ELFUTILS_LICENSE_FILES = COPYING-GPLV2 COPYING-LGPLV3
 ELFUTILS_DEPENDENCIES = zlib
 
+# Programs are GPLv3+ so add it when they're enabled
+ifeq ($(BR2_PACKAGE_ELFUTILS_PROGS),y)
+ELFUTILS_LICENSE += GPLv3+ (programs)
+ELFUTILS_LICENSE_FILES += COPYING
+endif
+
 # We patch configure.ac
 ELFUTILS_AUTORECONF = YES
 
-- 
2.7.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-05  6:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-04 10:44 [Buildroot] [PATCH] elfutils: clarify licensing info gustavo.zacarias at free-electrons.com
2016-10-04 13:01 ` Rahul Bedarkar
2016-10-04 23:06   ` Gustavo Zacarias
2016-10-05  6:46     ` Rahul Bedarkar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox