From patchwork Wed Sep 27 16:41:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 819233 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.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3y2Ns20Y37z9tXQ for ; Thu, 28 Sep 2017 02:42:13 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id CBD5C89960; Wed, 27 Sep 2017 16:42:11 +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 HE9Qmkmrrj+j; Wed, 27 Sep 2017 16:42:11 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id EDC5D89951; Wed, 27 Sep 2017 16:42:10 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 256681CEC54 for ; Wed, 27 Sep 2017 16:42:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 1D10889951 for ; Wed, 27 Sep 2017 16:42:08 +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 tWmEicOimzLz for ; Wed, 27 Sep 2017 16:42:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.datacom.ind.br (mx.datacom.ind.br [177.66.5.10]) by hemlock.osuosl.org (Postfix) with ESMTPS id 2FA8689950 for ; Wed, 27 Sep 2017 16:42:05 +0000 (UTC) Received: from mail.datacom.ind.br (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTPS id 2E5881578B6C for ; Wed, 27 Sep 2017 13:41:43 -0300 (BRT) Received: from localhost (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTP id 227EA1578B4D for ; Wed, 27 Sep 2017 13:41:43 -0300 (BRT) Received: from mail.datacom.ind.br ([127.0.0.1]) by localhost (mail.datacom.ind.br [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id RJ0FiFhc7rGe for ; Wed, 27 Sep 2017 13:41:43 -0300 (BRT) Received: from PEDELD011457.datacom.net (unknown [172.31.206.21]) by mail.datacom.ind.br (Postfix) with ESMTPSA id BCB331578B5F for ; Wed, 27 Sep 2017 13:41:42 -0300 (BRT) From: Carlos Santos To: buildroot@buildroot.org Date: Wed, 27 Sep 2017 13:41:53 -0300 Message-Id: <1506530514-27185-1-git-send-email-casantos@datacom.ind.br> X-Mailer: git-send-email 2.7.5 Subject: [Buildroot] [PATCH 1/2] dash: bump to version 0.5.9.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" Use the maintainer's repository, update the package description, based on the official one, and drop an obsolete patch. Change-Id: I2170aa4c1cc57de2a25ef04e89a216b254f2a859 Signed-off-by: Carlos Santos --- package/dash/0002-fix-parallel-build.patch | 40 ------------------------------ package/dash/Config.in | 6 +++-- package/dash/dash.hash | 5 ++-- package/dash/dash.mk | 10 +++----- 4 files changed, 9 insertions(+), 52 deletions(-) delete mode 100644 package/dash/0002-fix-parallel-build.patch diff --git a/package/dash/0002-fix-parallel-build.patch b/package/dash/0002-fix-parallel-build.patch deleted file mode 100644 index ac2be6a..0000000 --- a/package/dash/0002-fix-parallel-build.patch +++ /dev/null @@ -1,40 +0,0 @@ -tokens: fix parallel builds - -Currently, tokens.h and token_vars.h are each generated by a call to -mktokens, which means mktokens is called twice. - -But mktokens generates both in a single run. - -This means that, with a fast-enough machine, the call to mktokens that -generates tokens.h may finish before the call that generates -token_vars.h. Then tokens.h is transiently incomplete (it can even be -empty). By the time it is fully generated in the second run, a compile -job that ends up using token.h may have already started, and the source -file would include an in complete token.h and would be missing some -token definitions. - -We fix that by making token.h a dependency of token_vars.h, with a -dummy recipe (to force it not being PHONY). The actual recipe is for -token_vars.h - -Signed-off-by: "Yann E. MORIN" - -diff -durN dash-0.5.8.orig/src/Makefile.am dash-0.5.8/src/Makefile.am ---- dash-0.5.8.orig/src/Makefile.am 2014-09-28 10:19:32.000000000 +0200 -+++ dash-0.5.8/src/Makefile.am 2017-03-07 09:53:28.579811603 +0100 -@@ -45,7 +45,14 @@ - mktokens mkbuiltins builtins.def.in mkinit.c \ - mknodes.c nodetypes nodes.c.pat mksyntax.c mksignames.c - --token.h token_vars.h: mktokens -+# Both token.h and token_vars.h are generated by a single call -+# to mktokens. However, token.h is the only file that is used -+# as a dependency, so we must ensure token_vars.h is generated -+# first. -+token.h: token_vars.h -+ @: -+ -+token_vars.h: mktokens - sh $^ - - builtins.def: builtins.def.in $(top_builddir)/config.h diff --git a/package/dash/Config.in b/package/dash/Config.in index af8fba4..00cacf8 100644 --- a/package/dash/Config.in +++ b/package/dash/Config.in @@ -3,7 +3,9 @@ config BR2_PACKAGE_DASH depends on BR2_USE_MMU # fork() depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS help - The Debian/Linux port of the NetBSD version of - ash (the Almquist SHell). + DASH is a POSIX-compliant implementation of /bin/sh that aims to be + as small as possible. It does this without sacrificing speed where + possible. In fact, it is significantly faster than bash (the GNU + Bourne-Again SHell) for most tasks. http://gondor.apana.org.au/~herbert/dash diff --git a/package/dash/dash.hash b/package/dash/dash.hash index 0198cd8..b5a37b6 100644 --- a/package/dash/dash.hash +++ b/package/dash/dash.hash @@ -1,3 +1,2 @@ -# From http://ftp.debian.org/debian/pool/main/d/dash/dash_0.5.8-1.dsc -sha256 c6db3a237747b02d20382a761397563d813b306c020ae28ce25a1c3915fac60f dash_0.5.8.orig.tar.gz -sha256 d751769cc1ef8b825a177e782f1cd3e35bde7c268107fa4febf8d235e12c64d9 dash_0.5.8-1.diff.gz +# From http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.9.1.tar.gz.sha256sum +sha256 5ecd5bea72a93ed10eb15a1be9951dd51b52e5da1d4a7ae020efd9826b49e659 dash-0.5.9.1.tar.gz diff --git a/package/dash/dash.mk b/package/dash/dash.mk index 0b58a46..72ef722 100644 --- a/package/dash/dash.mk +++ b/package/dash/dash.mk @@ -4,16 +4,12 @@ # ################################################################################ -DASH_VERSION = 0.5.8 -DASH_SOURCE = dash_$(DASH_VERSION).orig.tar.gz -DASH_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/d/dash -DASH_PATCH = dash_$(DASH_VERSION)-1.diff.gz +DASH_VERSION = 0.5.9.1 +DASH_SOURCE = dash-$(DASH_VERSION).tar.gz +DASH_SITE = http://gondor.apana.org.au/~herbert/dash/files DASH_LICENSE = BSD-3-Clause, GPL-2.0+ (mksignames.c) DASH_LICENSE_FILES = COPYING -# 0002-fix-parallel-build.patch -DASH_AUTORECONF = YES - define DASH_INSTALL_TARGET_CMDS $(INSTALL) -m 0755 $(@D)/src/dash $(TARGET_DIR)/bin/dash endef