[oe] [meta-java][PATCH 4/5] jlex: fix the license and add JLEX license file

jackie.huang at windriver.com jackie.huang at windriver.com
Fri Feb 5 02:17:00 UTC 2016


From: Jackie Huang <jackie.huang at windriver.com>

The license statement is in the middle of source file
Main.java, it's not correct to referrence the COREBASE
MIT license in LIC_FILES_CHKSUM.

Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
---
 licenses/JLEX                   | 19 +++++++++++++++++++
 recipes-core/jlex/jlex_1.2.6.bb |  4 +---
 2 files changed, 20 insertions(+), 3 deletions(-)
 create mode 100644 licenses/JLEX

diff --git a/licenses/JLEX b/licenses/JLEX
new file mode 100644
index 0000000..df0648e
--- /dev/null
+++ b/licenses/JLEX
@@ -0,0 +1,19 @@
+       JLEX COPYRIGHT NOTICE, LICENSE, AND DISCLAIMER
+  Copyright 1996-2000 by Elliot Joel Berk and C. Scott Ananian 
+
+  Permission to use, copy, modify, and distribute this software and its
+  documentation for any purpose and without fee is hereby granted,
+  provided that the above copyright notice appear in all copies and that
+  both the copyright notice and this permission notice and warranty
+  disclaimer appear in supporting documentation, and that the name of
+  the authors or their employers not be used in advertising or publicity
+  pertaining to distribution of the software without specific, written
+  prior permission.
+
+  The authors and their employers disclaim all warranties with regard to
+  this software, including all implied warranties of merchantability and
+  fitness. In no event shall the authors or their employers be liable
+  for any special, indirect or consequential damages or any damages
+  whatsoever resulting from loss of use, data or profits, whether in an
+  action of contract, negligence or other tortious action, arising out
+  of or in connection with the use or performance of this software.
diff --git a/recipes-core/jlex/jlex_1.2.6.bb b/recipes-core/jlex/jlex_1.2.6.bb
index 4dbe63e..bb67a46 100644
--- a/recipes-core/jlex/jlex_1.2.6.bb
+++ b/recipes-core/jlex/jlex_1.2.6.bb
@@ -1,9 +1,7 @@
 DESCRIPTION = "Lexical analyzer generator for Java"
 AUTHOR = "Elliot Berk, A. Appel, C. Scott Ananian"
 LICENSE = "JLEX"
-LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
-                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420 \
-                   "
+LIC_FILES_CHKSUM = "file://Main.java;beginline=148;endline=166;md5=9bf4a6a951053991db64f9d7330d648a"
 
 RDEPENDS_${PN} = "java2-runtime"
 RDEPENDS_${PN}_virtclass-native = ""
-- 
1.9.1




More information about the Openembedded-devel mailing list