From patchwork Fri Sep 22 04:45:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ismael Luceno X-Patchwork-Id: 817320 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xz1C30Kp6z9sNw for ; Fri, 22 Sep 2017 14:46:06 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 59F83890C4; Fri, 22 Sep 2017 04:46:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bCrkBjWyFHaJ; Fri, 22 Sep 2017 04:46:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id E81D78907E; Fri, 22 Sep 2017 04:46:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id CDC771C2578 for ; Fri, 22 Sep 2017 04:45:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C4F8889DD8 for ; Fri, 22 Sep 2017 04:45:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fcqp2WLSMwAu for ; Fri, 22 Sep 2017 04:45:56 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from iodev.co.uk (iodev.co.uk [82.211.30.53]) by whitealder.osuosl.org (Postfix) with ESMTP id AF9C789D53 for ; Fri, 22 Sep 2017 04:45:56 +0000 (UTC) From: Ismael Luceno To: buildroot@buildroot.org Date: Fri, 22 Sep 2017 01:45:45 -0300 Message-Id: <20170922044545.18813-1-ismael@iodev.co.uk> X-Mailer: git-send-email 2.13.3 Cc: Ismael Luceno Subject: [Buildroot] [PATCH] axel: bump to version 2.14.1 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" Signed-off-by: Ismael Luceno --- package/axel/Config.in | 14 +++++++++++++- package/axel/axel.hash | 3 +-- package/axel/axel.mk | 17 ++++++++--------- 3 files changed, 22 insertions(+), 12 deletions(-) diff --git a/package/axel/Config.in b/package/axel/Config.in index 6e709cfb1351..c7dcbe71c179 100644 --- a/package/axel/Config.in +++ b/package/axel/Config.in @@ -4,7 +4,19 @@ config BR2_PACKAGE_AXEL help HTTP/FTP download accelerator. - http://axel.alioth.debian.org/ + https://github.com/axel-download-accelerator/ + +if BR2_PACKAGE_AXEL + +config BR2_PACKAGE_AXEL_SSL + bool "SSL/TLS support" + default y + depends on BR2_PACKAGE_OPENSSL || BR2_PACKAGE_LIBRESSL + +comment "SSL/TLS support requires openssl or libressl" + depends on !(BR2_PACKAGE_OPENSSL || BR2_PACKAGE_LIBRESSL) + +endif comment "axel needs a toolchain w/ threads" depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/axel/axel.hash b/package/axel/axel.hash index 895767011892..d9b610f7e3c2 100644 --- a/package/axel/axel.hash +++ b/package/axel/axel.hash @@ -1,2 +1 @@ -# Locally calculated -sha256 359a57ab4e354bcb6075430d977c59d33eb3e2f1415a811948fa8ae657ca8036 axel-2.4.tar.gz +sha256 acf6820d98a792faf309fc9acf22f7caf4b8a4b7001072c8f546b3c4fc755e39 axel-2.14.1.tar.gz diff --git a/package/axel/axel.mk b/package/axel/axel.mk index 60bf5e4a61df..50d87d982898 100644 --- a/package/axel/axel.mk +++ b/package/axel/axel.mk @@ -4,23 +4,22 @@ # ################################################################################ -AXEL_VERSION = 2.4 -AXEL_SITE = http://sources.buildroot.net +AXEL_VERSION = 2.14.1 +AXEL_SITE = $(call github,axel-download-accelerator,axel,v$(AXEL_VERSION)) AXEL_LICENSE = GPL-2.0+ AXEL_LICENSE_FILES = COPYING -AXEL_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) +AXEL_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) \ + $(if $(BR2_PACKAGE_AXEL_SSL),\ + $(if $(BR2_PACKAGE_LIBRESSL),libressl,openssl)) AXEL_LDFLAGS = -lpthread $(TARGET_NLS_LIBS) -ifeq ($(BR2_SYSTEM_ENABLE_NLS),) -AXEL_DISABLE_I18N = --i18n=0 -endif - define AXEL_CONFIGURE_CMDS (cd $(@D); \ + ./autogen.sh; \ ./configure \ --prefix=/usr \ - --debug=1 \ - $(AXEL_DISABLE_I18N) \ + $(if $(BR2_PACKAGE_AXEL_SSL),,--without-ssl) \ + $(if $(BR2_SYSTEM_ENABLE_NLS),,--disable-nls) \ ) endef