Return-Path: Received: from mail-pb0-f47.google.com (mail-pb0-f47.google.com [209.85.160.47]) by mail.openembedded.org (Postfix) with ESMTP id 8C35965D63 for ; Mon, 9 Jun 2014 20:26:16 +0000 (UTC) Received: by mail-pb0-f47.google.com with SMTP id rp16so5378965pbb.34 for ; Mon, 09 Jun 2014 13:26:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=GuKjpKVZoGMxnh240anyjHsG1keOpaqNyh5gubBecfM=; b=CgE1XgixULREtE3UMVkjbAYL+/YGDZXJfmIvP7laNghHxEaWvTCvKh4tlKcsOLNEgR NKm+WBCMFbFujV/IINu5HVVBLEhAfLRGHnF0DjnvYklx0UZeivLxFs5PL/xXI58PT9aQ pXcxRxTxy/VzBX1B9ni11+G9YAbYvIoHFIfd7Ur5nKOZOKap1wtwfuXEWPLUZz8JT121 966vSn7hpxJ1t42FzvUzcyKyUMy6ULqQKonFqhpkJVHBcXbeiY5+JTB5Jgd3OoO3R3bS kED5L/+6knVAVIdrgmEDDbBs8Nid+cFrqLgR6z/lUqAZLK3ACAEh/8HKm00au2Gx3ScA iiSg== X-Gm-Message-State: ALoCoQkjRgZOacRWYJyxuiKfG3f3aOJ3rDmKRY6j6NhbTQqHmWBQCQiwH4BHBxKzIzYI+ojMIpAN X-Received: by 10.68.233.37 with SMTP id tt5mr6101760pbc.154.1402345577402; Mon, 09 Jun 2014 13:26:17 -0700 (PDT) Received: from Pahoa2.mvista.com (c-98-239-95-55.hsd1.ca.comcast.net. [98.239.95.55]) by mx.google.com with ESMTPSA id bc4sm65595158pbb.2.2014.06.09.13.26.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Jun 2014 13:26:16 -0700 (PDT) From: Armin Kuster To: openembedded-core@lists.openembedded.org Date: Mon, 9 Jun 2014 13:26:11 -0700 Message-Id: <1402345571-28475-1-git-send-email-akuster@mvista.com> X-Mailer: git-send-email 1.9.1 Subject: [PATCH] v2 cups: Shouldn't link against libgcrypt without using gcrypt functions X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2014 20:26:20 -0000 backported patch from cups.org to address the cryto dependency issue I am seeing. http://www.cups.org/str.php?L4399 Signed-off-by: Armin Kuster --- meta/recipes-extended/cups/cups.inc | 1 + .../cups/cups/cups-no-gcrypt.patch | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 meta/recipes-extended/cups/cups/cups-no-gcrypt.patch diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc index fd88552..3b8027b 100644 --- a/meta/recipes-extended/cups/cups.inc +++ b/meta/recipes-extended/cups/cups.inc @@ -8,6 +8,7 @@ SRC_URI = "http://www.cups.org/software/${PV}/${BP}-source.tar.bz2 \ file://use_echo_only_in_init.patch \ file://0001-don-t-try-to-run-generated-binaries.patch \ file://cups_serverbin.patch \ + file://cups-no-gcrypt.patch \ " LEAD_SONAME = "libcupsdriver.so" diff --git a/meta/recipes-extended/cups/cups/cups-no-gcrypt.patch b/meta/recipes-extended/cups/cups/cups-no-gcrypt.patch new file mode 100644 index 0000000..465d353 --- /dev/null +++ b/meta/recipes-extended/cups/cups/cups-no-gcrypt.patch @@ -0,0 +1,40 @@ +Description: Don't build-depend on libgcrypt, as nothing is used from it +Author: Didier Raboud +Bug-Debian: https://bugs.debian.org/638416 +Bug: http://www.cups.org/str.php?L???? +Last-Update: 2014-04-07 +--- a/config-scripts/cups-ssl.m4 ++++ b/config-scripts/cups-ssl.m4 +@@ -66,7 +66,6 @@ + dnl Then look for GNU TLS... + if test $have_ssl = 0 -a "x$enable_gnutls" != "xno" -a "x$PKGCONFIG" != x; then + AC_PATH_PROG(LIBGNUTLSCONFIG,libgnutls-config) +- AC_PATH_PROG(LIBGCRYPTCONFIG,libgcrypt-config) + if $PKGCONFIG --exists gnutls; then + have_ssl=1 + SSLLIBS=`$PKGCONFIG --libs gnutls` +@@ -84,14 +83,6 @@ + if test $have_ssl = 1; then + CUPS_SERVERCERT="ssl/server.crt" + CUPS_SERVERKEY="ssl/server.key" +- +- if $PKGCONFIG --exists gcrypt; then +- SSLLIBS="$SSLLIBS `$PKGCONFIG --libs gcrypt`" +- SSLFLAGS="$SSLFLAGS `$PKGCONFIG --cflags gcrypt`" +- elif test "x$LIBGCRYPTCONFIG" != x; then +- SSLLIBS="$SSLLIBS `$LIBGCRYPTCONFIG --libs`" +- SSLFLAGS="$SSLFLAGS `$LIBGCRYPTCONFIG --cflags`" +- fi + fi + fi + +--- a/cups/http-private.h ++++ b/cups/http-private.h +@@ -80,7 +80,6 @@ + # elif defined HAVE_GNUTLS + # include + # include +-# include + # elif defined(HAVE_CDSASSL) + # include + # include -- 1.9.1