From 041e4ef362921db606840c6de936a89975c818be Mon Sep 17 00:00:00 2001 From: Bogdan Marinescu Date: Wed, 16 May 2012 15:07:37 +0300 Subject: gnutls: update to 2.12.19 Tested with curl in qemux86/core-image-lsb. Signed-off-by: Bogdan Marinescu --- meta/recipes-support/gnutls/gnutls_2.12.19.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta/recipes-support/gnutls/gnutls_2.12.19.bb (limited to 'meta/recipes-support/gnutls/gnutls_2.12.19.bb') diff --git a/meta/recipes-support/gnutls/gnutls_2.12.19.bb b/meta/recipes-support/gnutls/gnutls_2.12.19.bb new file mode 100644 index 000000000..7d765105e --- /dev/null +++ b/meta/recipes-support/gnutls/gnutls_2.12.19.bb @@ -0,0 +1,19 @@ +require gnutls.inc + +PR = "${INC_PR}.0" + +SRC_URI += "file://gnutls-openssl.patch \ + file://correct_rpl_gettimeofday_signature.patch \ + file://configure-fix.patch \ + " + +SRC_URI[md5sum] = "14228b34e3d8ed176a617df40693b441" +SRC_URI[sha256sum] = "8f167b39de4e2fddd83f7e29c98ce2e7fc76f4d79ccf4d3d66d1379b971160ec" + +python() { + if not ((d.getVar("INCOMPATIBLE_LICENSE", True) or "").find("GPLv3") != -1): + # if GPLv3 add patch + src_uri = (d.getVar("SRC_URI", False) or "").split() + src_uri.append("file://fix-gettext-version.patch") + d.setVar("SRC_URI", " ".join(src_uri)) +} -- cgit v1.2.3