Patchwork [meta-oe] libnfnetlink: use a correct LIC_FILES_CHKSUM

login
register
mail settings
Submitter Zhenhua Luo
Date Sept. 13, 2012, 3:07 a.m.
Message ID <1347505627-17550-1-git-send-email-b19537@freescale.com>
Download mbox | patch
Permalink /patch/36447/
State Accepted
Commit e4080183ba9827e2e33f9286be062a4fab3c4f80
Headers show

Comments

Zhenhua Luo - Sept. 13, 2012, 3:07 a.m.
From: Zhenhua Luo <b19537@freescale.com>

    The current LIC_FILES_CHKSUM checks the copyright/license from the
    generated Makefile.in, this is not correct.
    Since there is no seperated license/copying file, this fixes it to 
    use license content in src/libnfnetlink.c instead.

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
---
 .../libnfnetlink/libnfnetlink_1.0.0.bb             |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

diff --git a/meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink_1.0.0.bb b/meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink_1.0.0.bb
index 1ce5912..f4a65f0 100644
--- a/meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink_1.0.0.bb
+++ b/meta-oe/recipes-connectivity/libnfnetlink/libnfnetlink_1.0.0.bb
@@ -7,7 +7,9 @@  HOMEPAGE = "http://www.netfilter.org/projects/libnfnetlink/index.html"
 SECTION = "devel/libs"
 LICENSE = "GPLv2+"
 
-LIC_FILES_CHKSUM = "file://Makefile.in;endline=13;md5=a44bb8f4c22793d55c5e879eec256702"
+PR = "r1"
+
+LIC_FILES_CHKSUM = "file://src/libnfnetlink.c;beginline=3;endline=11;md5=28bd3bf7f60a78101491eef6b9bb9eba"
 
 SRC_URI = "http://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-${PV}.tar.bz2;name=libnfnetlink-${PV}"
 SRC_URI[libnfnetlink-1.0.0.md5sum] = "016fdec8389242615024c529acc1adb8"