From patchwork Fri Jan 10 21:14:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergio Prado X-Patchwork-Id: 1221444 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=e-labworks.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=e-labworks-com.20150623.gappssmtp.com header.i=@e-labworks-com.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=mDZbV+ig; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47vbXP6zSVz9sR1 for ; Sat, 11 Jan 2020 08:21:57 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6AF6D876D7; Fri, 10 Jan 2020 21:21:55 +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 yPiJfvWUw1We; Fri, 10 Jan 2020 21:21:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 40824876F9; Fri, 10 Jan 2020 21:21:54 +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 B9F411BF616 for ; Fri, 10 Jan 2020 21:21:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B6CA687C89 for ; Fri, 10 Jan 2020 21:21:52 +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 qQGI5j2P8UU1 for ; Fri, 10 Jan 2020 21:21:49 +0000 (UTC) X-Greylist: delayed 00:07:12 by SQLgrey-1.7.6 Received: from mail-qt1-f196.google.com (mail-qt1-f196.google.com [209.85.160.196]) by hemlock.osuosl.org (Postfix) with ESMTPS id 985D987BEE for ; Fri, 10 Jan 2020 21:21:49 +0000 (UTC) Received: by mail-qt1-f196.google.com with SMTP id w47so3265827qtk.4 for ; Fri, 10 Jan 2020 13:21:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=e-labworks-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=N592aOwsOWOTD+EpDATLeXMxAu1VGK8iXKW4I4Esnhg=; b=mDZbV+ignBB67IyQulWAFyDvo1nsssZg11fLKteqFY5DgIpJ030zx8NgRb6Yv5zMQ3 tkZkjYsyS1EWrJsrCytSmPRB9cUBJ4GA2JxTKe7OCUFPuDBU5IBRDmY+iHxvl9G9aj/1 hfzL4H7w69EM+R68PLhnywH4xo0BDpYtcBgkmSB6uD7ElRxuKKzyxEsUWZCLPWCiRpBo eJuYxc8TirrqcT9PBMHBaS0ygMQpeXwJWASm1p1Og/+4gN9Mxixy2YAgX6XOIB5jtpfJ aC1dpaVi1uG9JZB9MLefz3C2O6eTg5zhnZX3cFUmoKy4uGfNLzwmpgUg7nPAweHl7kVK bqlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=N592aOwsOWOTD+EpDATLeXMxAu1VGK8iXKW4I4Esnhg=; b=d2qPdHpbob9vhF424N6OQr8XriWsws2WDVcX+VMtKOo4naefFiZvNoQ9ie9GS1VM7d cVmvlWXs95j8YxfLfBhJFJciv8d05dVxRtAbqMdP3B4NrZZcxeRsJFXqr6OSYrHKQ9Ml lDh8duBpCjDjsx/EKlzyj5Jixw24vaCFUaQzVX9XEB0YBGnFlRzceOCdEDDgAQ1bIJks an75382AWwyfs9uj6yAJVy8lLYLUKk7NTgG+jlhw83/A6pLPwyYobRQPdHiRd3AmyI8w IALl0k+kxUFNkGpWGIHRFdclCESF7zwxwZ8j4a4dyD21b/YFGlXCgoQOGT+JRUaORjkB uxYA== X-Gm-Message-State: APjAAAV6Mm/T2zhic0XTBpYMV8iEFIyCm2o1erV/XU1vG3dV+2eEnMlu OMzrj1I8/t1ZE4GOH+Xuhpc02ibcR+U= X-Google-Smtp-Source: APXvYqy4S5p7UOX/OteWnNgOHopykr2/H7cUC2nkZjuMIc/eqlSCuEhOPRgfEa/5wpWbjqg2muxHMA== X-Received: by 2002:ac8:769a:: with SMTP id g26mr425014qtr.259.1578690876145; Fri, 10 Jan 2020 13:14:36 -0800 (PST) Received: from localhost.localdomain ([179.209.45.161]) by smtp.gmail.com with ESMTPSA id l4sm1424471qkb.37.2020.01.10.13.14.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2020 13:14:35 -0800 (PST) From: Sergio Prado To: buildroot@buildroot.org Date: Fri, 10 Jan 2020 18:14:20 -0300 Message-Id: <20200110211420.7704-1-sergio.prado@e-labworks.com> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH] package/asn1c: new host package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sergio Prado MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The asn1c is a free, open source compiler of ASN.1 specifications into C source code. Signed-off-by: Sergio Prado Reviewed-by: Heiko Thiery --- DEVELOPERS | 1 + package/Config.in.host | 1 + package/asn1c/Config.in.host | 11 +++++++++++ package/asn1c/asn1c.hash | 5 +++++ package/asn1c/asn1c.mk | 12 ++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 package/asn1c/Config.in.host create mode 100644 package/asn1c/asn1c.hash create mode 100644 package/asn1c/asn1c.mk diff --git a/DEVELOPERS b/DEVELOPERS index 80843dd1a113..287e222cdf57 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2241,6 +2241,7 @@ N: Sergio Prado F: board/toradex/apalis-imx6/ F: configs/toradex_apalis_imx6_defconfig F: package/aoetools/ +F: package/asn1c/ F: package/curlpp/ F: package/daq/ F: package/libgdiplus/ diff --git a/package/Config.in.host b/package/Config.in.host index 62e860d7c36c..a012ffaa38e9 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -2,6 +2,7 @@ menu "Host utilities" source "package/aespipe/Config.in.host" source "package/android-tools/Config.in.host" + source "package/asn1c/Config.in.host" source "package/btrfs-progs/Config.in.host" source "package/cargo/Config.in.host" source "package/cbootimage/Config.in.host" diff --git a/package/asn1c/Config.in.host b/package/asn1c/Config.in.host new file mode 100644 index 000000000000..951f5f66915e --- /dev/null +++ b/package/asn1c/Config.in.host @@ -0,0 +1,11 @@ +config BR2_PACKAGE_HOST_ASN1C + bool "host asn1c" + help + ASN.1 stands for Abstract Syntax Notation One and allows + to describe complex data structures independently of any + particular programming language. + + The asn1c is a free, open source compiler of ASN.1 + specifications into C source code. + + http://lionet.info/asn1c diff --git a/package/asn1c/asn1c.hash b/package/asn1c/asn1c.hash new file mode 100644 index 000000000000..a4fd3beffa53 --- /dev/null +++ b/package/asn1c/asn1c.hash @@ -0,0 +1,5 @@ +# Locally computed: +sha256 8007440b647ef2dd9fb73d931c33ac11764e6afb2437dbe638bb4e5fc82386b9 asn1c-0.9.28.tar.gz + +# Hash for license files: +sha256 bcc636802a52ace2255212be15fb707084af87061b5cfd37eb84dcf6a02cc48b LICENSE diff --git a/package/asn1c/asn1c.mk b/package/asn1c/asn1c.mk new file mode 100644 index 000000000000..314462a92bf9 --- /dev/null +++ b/package/asn1c/asn1c.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# asn1c +# +################################################################################ + +ASN1C_VERSION = 0.9.28 +ASN1C_SITE = https://github.com/vlm/asn1c/releases/download/v$(ASN1C_VERSION) +ASN1C_LICENSE = BSD-2-Clause +ASN1C_LICENSE_FILES = LICENSE + +$(eval $(host-autotools-package))