From patchwork Fri Feb 10 11:00:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 726495 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vKX6g2C0Tz9s7D for ; Fri, 10 Feb 2017 22:00:43 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=embedded.rocks header.i=@embedded.rocks header.b="zE4G2PLa"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7E2822F6AE; Fri, 10 Feb 2017 11:00:37 +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 Jx+x0Zt7efX8; Fri, 10 Feb 2017 11:00:31 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id CE90D2A179; Fri, 10 Feb 2017 11:00:30 +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 3A1551C29DC for ; Fri, 10 Feb 2017 11:00:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3B03786333 for ; Fri, 10 Feb 2017 11:00:27 +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 20qjEjcMjOer for ; Fri, 10 Feb 2017 11:00:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.142]) by whitealder.osuosl.org (Postfix) with ESMTPS id BDB2686327 for ; Fri, 10 Feb 2017 11:00:24 +0000 (UTC) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3vKX6F0Mq5z108q for ; Fri, 10 Feb 2017 12:00:20 +0100 (CET) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:x-mailer:message-id:date:date:subject:subject:from :from:received:received; s=default; t=1486724418; x=1487329219; bh=VRlQOSpZCOUaXhNfnZ40WpKOtiGa9JZ9860G4a4pVyg=; b=zE4G2PLamwQp yDTaYAYPuEWWJVa4nIvVA+tQ9Hpapbf8MdSop/ZVqYUkG0yOaEcvoTKkvkg7TCff xK2CN/JN2kOS50hJAI2oi6A8woNJW9Y9Cs3sNrooCnxRVZJzDzXnu3nQ8D5jsfWF 2QKV0sfx5AIrC5fWqxnXPsxVLxXvW/2HSSDweq2fG1B0x+admER1HaK/UclFT8an R6p//mIEb5AatqYcFE70U7x7UqN36Uy195ANeEjBvLAMP1Og5AASjayIhXJKxWTm xs2QmUeU8j8N/XmL8BrWgoiKeLPiZP0xEf6hqm22Yy7S+/3Yk9RgE/HagHvrF//t gT9HvSmolQ== Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id gjLLnAo2zSA4; Fri, 10 Feb 2017 12:00:18 +0100 (CET) Received: from nzxt.fritz.box (xd9ba32a0.dyn.telefonica.de [217.186.50.160]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Fri, 10 Feb 2017 12:00:18 +0100 (CET) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Fri, 10 Feb 2017 12:00:12 +0100 Message-Id: <20170210110013.30448-1-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.11.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/2] augeas: new package 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Augeas is a configuration editing tool. It parses configuration files in their native formats and transforms them into a tree. Configuration changes are made by manipulating this tree and saving it back into native config files. Signed-off-by: Jörg Krause --- package/Config.in | 1 + package/augeas/Config.in | 11 +++++++++++ package/augeas/augeas.hash | 2 ++ package/augeas/augeas.mk | 22 ++++++++++++++++++++++ 4 files changed, 36 insertions(+) create mode 100644 package/augeas/Config.in create mode 100644 package/augeas/augeas.hash create mode 100644 package/augeas/augeas.mk diff --git a/package/Config.in b/package/Config.in index 114a5ad5f..6956a788a 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1409,6 +1409,7 @@ menu "Security" endmenu menu "Text and terminal handling" + source "package/augeas/Config.in" source "package/enchant/Config.in" source "package/icu/Config.in" source "package/libcli/Config.in" diff --git a/package/augeas/Config.in b/package/augeas/Config.in new file mode 100644 index 000000000..efbc19b43 --- /dev/null +++ b/package/augeas/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_AUGEAS + bool "augeas" + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_READLINE + help + Augeas is a configuration editing tool. It parses configuration + files in their native formats and transforms them into a tree. + Configuration changes are made by manipulating this tree and + saving it back into native config files. + + http://augeas.net diff --git a/package/augeas/augeas.hash b/package/augeas/augeas.hash new file mode 100644 index 000000000..9640757eb --- /dev/null +++ b/package/augeas/augeas.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 b9315575d07f7ba28ca2f9f60b4987dfe77b5970c98b59dc6ca7873fc4979763 augeas-1.7.0.tar.gz diff --git a/package/augeas/augeas.mk b/package/augeas/augeas.mk new file mode 100644 index 000000000..7a1f2f8ce --- /dev/null +++ b/package/augeas/augeas.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# augeas +# +################################################################################ + +AUGEAS_VERSION = 1.7.0 +AUGEAS_SITE = http://download.augeas.net +AUGEAS_INSTALL_STAGING = YES +AUGEAS_LICENSE = LGPLv2.1+ +AUGEAS_LICENSE_FILES = COPYING +AUGEAS_DEPENDENCIES = host-pkgconf readline libxml2 + +AUGEAS_CONF_OPTS = --disable-gnulib-tests + +# Remove the test lenses which occupy about 1.4 MB on the target +define AUGEAS_REMOVE_TEST_LENSES + rm -rf $(TARGET_DIR)/usr/share/augeas/lenses/dist/tests +endef +AUGEAS_POST_INSTALL_TARGET_HOOKS += AUGEAS_REMOVE_TEST_LENSES + +$(eval $(autotools-package))