From patchwork Fri Jun 26 15:01:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nimai Mahajan X-Patchwork-Id: 488872 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 629A6140295 for ; Sat, 27 Jun 2015 01:04:00 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=Br6pGrXw; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 6788295F3B; Fri, 26 Jun 2015 15:03:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DE9fXm3bvzXy; Fri, 26 Jun 2015 15:03:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 5C35D95F24; Fri, 26 Jun 2015 15:03:56 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id E5B231C22DE for ; Fri, 26 Jun 2015 15:03:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D7E9432DD0 for ; Fri, 26 Jun 2015 15:03:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2CPdqsk6F1ca for ; Fri, 26 Jun 2015 15:03:53 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qc0-f179.google.com (mail-qc0-f179.google.com [209.85.216.179]) by silver.osuosl.org (Postfix) with ESMTPS id 8AFFD21134 for ; Fri, 26 Jun 2015 15:03:53 +0000 (UTC) Received: by qcji3 with SMTP id i3so30141274qcj.1 for ; Fri, 26 Jun 2015 08:03:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=RZMdJI/QtHFnEw/1wWPfWj5UnVAPe5GejkT3UGHRUJQ=; b=Br6pGrXwXbTDLl18/jTTyMMCRep+VXkUxQaVhxPpa+NFadFbLggXuQDMFp4ZCzrZk1 q4U2FeZM5d4UQ5sNyG7Hcv5uwR/WT9J/Rh8NAPLegOdyIV9rODRGeIID4FNzqIPwVL/3 1XH+TjgYpxrUg1vKjO+qWexericqjcgohAdYEOuSqzHhlBVgbzP5l9qxRbZoqw52Ah2j pptkfIQb5Eybs9mIqHkdeM3d3Eg+JmsgWKHsUTrA71QGKrwHIDY8oLktv4DP2elxm8H2 kVVszfBLUJFXhUCen8YLg4QaJIL0h43mo1DS942zEYhUB3cIvpSIL1W0ghVBhrIUZHd3 tHDw== X-Received: by 10.55.21.77 with SMTP id f74mr4826677qkh.56.1435331032638; Fri, 26 Jun 2015 08:03:52 -0700 (PDT) Received: from localhost.localdomain (ool-44c3807b.dyn.optonline.net. [68.195.128.123]) by mx.google.com with ESMTPSA id h133sm6917854qhc.46.2015.06.26.08.03.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 Jun 2015 08:03:51 -0700 (PDT) From: Nimai Mahajan X-Google-Original-From: Nimai Mahajan To: buildroot@buildroot.org Date: Fri, 26 Jun 2015 11:01:58 -0400 Message-Id: <1435330918-25695-1-git-send-email-nimaim@gmail.com> X-Mailer: git-send-email 1.9.1 Cc: Nimai Mahajan Subject: [Buildroot] [PATCH 1/1] libarchive: add hash and enable lzma support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Nimai Mahajan Add libarchive hash. Enable lzma support. Both xz and lzma support are provided by the xz library. This maintains consistency with how the other CONF_OPTS are defined. Signed-off-by: Nimai Mahajan --- package/libarchive/libarchive.hash | 2 ++ package/libarchive/libarchive.mk | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 package/libarchive/libarchive.hash diff --git a/package/libarchive/libarchive.hash b/package/libarchive/libarchive.hash new file mode 100644 index 0000000..5f96211 --- /dev/null +++ b/package/libarchive/libarchive.hash @@ -0,0 +1,2 @@ +# Locally computed: +sha256 eb87eacd8fe49e8d90c8fdc189813023ccc319c5e752b01fb6ad0cc7b2c53d5e libarchive-3.1.2.tar.gz diff --git a/package/libarchive/libarchive.mk b/package/libarchive/libarchive.mk index 61528d9..18fa8b7 100644 --- a/package/libarchive/libarchive.mk +++ b/package/libarchive/libarchive.mk @@ -9,7 +9,6 @@ LIBARCHIVE_SITE = http://www.libarchive.org/downloads LIBARCHIVE_INSTALL_STAGING = YES LIBARCHIVE_LICENSE = BSD-2c, BSD-3c LIBARCHIVE_LICENSE_FILES = COPYING -LIBARCHIVE_CONF_OPTS = --without-lzma ifeq ($(BR2_PACKAGE_LIBARCHIVE_BSDTAR),y) ifeq ($(BR2_STATIC_LIBS),y) @@ -86,4 +85,10 @@ else LIBARCHIVE_CONF_OPTS += --without-zlib endif +ifeq ($(BR2_PACKAGE_XZ),y) +LIBARCHIVE_DEPENDENCIES += xz +else +LIBARCHIVE_CONF_OPTS += --without-lzma +endif + $(eval $(autotools-package))