Skip to contentSkip to conversation

pcsc-lite: Seperate GPLV3 portions from BSD

PATCH Superseded Davis, Michael 2 participants 2 messages Aug 10, 2016

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pcsc-lite: Seperate GPLV3 portions from BSD

GPLV3 and BSD portions were originally placed in the same package.
The GPLv3 portion has been seperated into pcsc-lite-spy so the package can be used with GPLv3 blacklisted.

---
 meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.13.bb | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.13.bb +7 -4
index cc72549..e1d405b 100644
@@ -1,6 +1,7 @@
 SUMMARY = "PC/SC Lite smart card framework and applications"
 HOMEPAGE = "http://pcsclite.alioth.debian.org/"
-LICENSE = "BSD & GPLv3+"
+LICENSE = "BSD" 
+LICENSE_${PN}-spy = "GPLv3+"
 LICENSE_${PN}-dev = "GPLv3+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=bcfbd85230ac3c586fb294c8b627cf32"
 DEPENDS = "udev"
@@ -20,14 +21,16 @@ EXTRA_OECONF = " \
 
 S = "${WORKDIR}/pcsc-lite-${PV}"
 
-PACKAGES =+ "${PN}-lib"
+PACKAGES =+ "${PN}-lib ${PN}-spy"
 
 RRECOMMENDS_${PN} = "ccid"
 
-FILES_${PN}-lib = "${libdir}/lib*${SOLIBS}"
+FILES_${PN}-spy += "${bindir}/pcsc-spy \
+                    ${libdir}/libpcscspy*${SOLIBS}"
+FILES_${PN}-lib = "${libdir}/libpcsclite*${SOLIBS}"
 
 RPROVIDES_${PN} += "${PN}-systemd"
 RREPLACES_${PN} += "${PN}-systemd"
 RCONFLICTS_${PN} += "${PN}-systemd"
 SYSTEMD_SERVICE_${PN} = "pcscd.socket"
-RDEPENDS_${PN} +="python"
+RDEPENDS_${PN}-spy +="python"
Signature · 1 line
2.5.5
#1 lore raw

Recent changes in oe-core require LICENSE variable to be union of all package-specific LICENSEs, so you'll need to leave LICENSE as is and just add LICENSE_${PN}.

See the discussion on oe-core ML.

Quoted 51 lines · Michael

GPLV3 and BSD portions were originally placed in the same package. The GPLv3 portion has been seperated into pcsc-lite-spy so the package can be used with GPLv3 blacklisted.

---
 meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.13.bb | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.13.bb +7 -5
index cc72549..e1d405b 100644
@@ -1,6 +1,7 @@
 SUMMARY = "PC/SC Lite smart card framework and applications"
 HOMEPAGE = "http://pcsclite.alioth.debian.org/"
-LICENSE = "BSD & GPLv3+"
+LICENSE = "BSD"
+LICENSE_${PN}-spy = "GPLv3+"
 LICENSE_${PN}-dev = "GPLv3+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=bcfbd85230ac3c586fb294c8b627cf32"
 DEPENDS = "udev"
@@ -20,14 +21,16 @@ EXTRA_OECONF = " \
 
 S = "${WORKDIR}/pcsc-lite-${PV}"
 
-PACKAGES =+ "${PN}-lib"
+PACKAGES =+ "${PN}-lib ${PN}-spy"
 
 RRECOMMENDS_${PN} = "ccid"
 
-FILES_${PN}-lib = "${libdir}/lib*${SOLIBS}"
+FILES_${PN}-spy += "${bindir}/pcsc-spy \
+                    ${libdir}/libpcscspy*${SOLIBS}"
+FILES_${PN}-lib = "${libdir}/libpcsclite*${SOLIBS}"
 
 RPROVIDES_${PN} += "${PN}-systemd"
 RREPLACES_${PN} += "${PN}-systemd"
 RCONFLICTS_${PN} += "${PN}-systemd"
 SYSTEMD_SERVICE_${PN} = "pcscd.socket"
-RDEPENDS_${PN} +="python"
+RDEPENDS_${PN}-spy +="python"
--

2.5.5
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel