Patchwork [meta-oe] ipsec-tools: use a correct LIC_FILES_CHKSUM

login
register
mail settings
Submitter Christopher Larson
Date Aug. 22, 2012, 3:02 p.m.
Message ID <1345647739-14002-1-git-send-email-kergoth@gmail.com>
Download mbox | patch
Permalink /patch/35137/
State Accepted
Commit 781b19b3bd6785a638505e6d993319691bea7925
Headers show

Comments

Christopher Larson - Aug. 22, 2012, 3:02 p.m.
From: Christopher Larson <chris_larson@mentor.com>

The current LIC_FILES_CHKSUM checks the FSF copyright/license from the
*generated* Makefile.in, which has nothing at all to do with the licensing of
ipsec-tools. This is about as wrong as it's possible for LIC_FILES_CHKSUM to
be. This fixes it to use one of the headers from libipsec instead.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
---
 .../ipsec-tools/ipsec-tools_0.7.2.bb               |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta-oe/recipes-support/ipsec-tools/ipsec-tools_0.7.2.bb b/meta-oe/recipes-support/ipsec-tools/ipsec-tools_0.7.2.bb
index 270d77e..255246e 100644
--- a/meta-oe/recipes-support/ipsec-tools/ipsec-tools_0.7.2.bb
+++ b/meta-oe/recipes-support/ipsec-tools/ipsec-tools_0.7.2.bb
@@ -1,6 +1,6 @@ 
 require ipsec-tools.inc
 
-LIC_FILES_CHKSUM = "file://Makefile.in;endline=14;md5=c73d05590728997bfbab5c671ed38366"
+LIC_FILES_CHKSUM = "file://src/libipsec/pfkey.c;beginline=6;endline=31;md5=bc9b7ff40beff19fe6bc6aef26bd2b24"
 
 SRC_URI += "file://ipsec-tools-install.patch"
 SRC_URI[ipsec-tools-0.7.2.md5sum] = "72861f005746ee27984b2ee715ecc629"