Skip to contentSkip to conversation

avahi: add LICENSE for individual packages

PATCH New Matthew 1 participant 1 message Mar 27, 2020

lore
Share & tools
lore

Matthew

author
#0 lore raw

PATCH 1/1 avahi: add LICENSE for individual packages

Fixes [YOCTO #13609]

avahi_0.7.bb defines 9 PACKAGES. However, avahi.inc generically sets LICENSE to "GPLv2+ & LGPLv2.1+". The library specific packages should be LGPLv2.1+ only.

---
 meta/recipes-connectivity/avahi/avahi_0.7.bb | 10 ++++++++++
 1 file changed, 10 insertions(+)
meta/recipes-connectivity/avahi/avahi_0.7.bb +10 -0
index 2e04d304c7..24523c7f81 100644
@@ -10,6 +10,16 @@ inherit update-rc.d systemd useradd
 
 PACKAGES =+ "libavahi-gobject avahi-daemon libavahi-common libavahi-core libavahi-client avahi-dnsconfd libavahi-glib avahi-autoipd avahi-utils"
 
+LICENSE_libavahi-gobject = "LGPLv2.1+"
+LICENSE_avahi-daemon = "LGPLv2.1+"
+LICENSE_libavahi-common = "LGPLv2.1+"
+LICENSE_libavahi-core = "LGPLv2.1+"
+LICENSE_avahi-client = "LGPLv2.1+"
+LICENSE_avahi-dnsconfd = "LGPLv2.1+"
+LICENSE_libavahi-glib = "LGPLv2.1+"
+LICENSE_avahi-autoipd = "LGPLv2.1+"
+LICENSE_avahi-utils = "LGPLv2.1+"
+
 # As avahi doesn't put any files into PN, clear the files list to avoid problems
 # if extra libraries appear.
 FILES_${PN} = ""

--
Mingde (Matthew) Zeng