From patchwork Thu Dec 13 21:47:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 206242 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id D92A32C00A4 for ; Fri, 14 Dec 2012 08:52:33 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C2E6D8C865; Thu, 13 Dec 2012 21:52:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mGwXv92f3I7l; Thu, 13 Dec 2012 21:52:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id DFDFB8CEB9; Thu, 13 Dec 2012 21:49:29 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id B06528F74B for ; Thu, 13 Dec 2012 21:48:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 43D8F8CF05 for ; Thu, 13 Dec 2012 21:48:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tTvxvarFktcE for ; Thu, 13 Dec 2012 21:48:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by whitealder.osuosl.org (Postfix) with ESMTPS id 402518C944 for ; Thu, 13 Dec 2012 21:47:45 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id hm2so31169wib.10 for ; Thu, 13 Dec 2012 13:47:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references; bh=rOmZDUICdpFsurTjfZZQ8s6CDEkJ7x/GH4cnzgLfYOE=; b=YvTLWyQHVhJg1ZFHSOpmrKlmkSAEgNKFr8o0aWmmSiWJkv6/W1O6Rg452262JxY2t2 heJyucORVW3str4JWjOyKSOSv0nF9q9pSm0wxn9zEHBbY/izy0/Vriaw+S72UGF58Iho b/yiRiQFyd76kI1CXHyAFfSOdoKTb3l6YntBB2mOt47R9CrfSvlIX18W+h/QWESG/Z2Y XwWYXe+aSlPq0+dVQvrPq3Yaf/01UCMH3IcWNq3y481j5L/a4LEONaxcKPIWzangZZ5T mi8f0f7zDfzUp8JWCARs1wdZ48Wo8F6afyGxIfYZp/DGTsaKE1qY9WPMuPvIhoQUqgVW 1tGQ== Received: by 10.180.78.1 with SMTP id x1mr31389574wiw.17.1355435263651; Thu, 13 Dec 2012 13:47:43 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-41-119.w90-32.abo.wanadoo.fr. [90.32.24.119]) by mx.google.com with ESMTPS id h19sm9673341wiv.7.2012.12.13.13.47.42 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 13 Dec 2012 13:47:43 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Thu, 13 Dec 2012 22:47:16 +0100 Message-Id: <07d8440a97f7e6484d59fba2b6e244759a3e16ff.1355435224.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCH 16/20] package/libbsd: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni --- package/Config.in | 1 + package/libbsd/Config.in | 10 ++++++++++ package/libbsd/libbsd.mk | 21 +++++++++++++++++++++ 3 files changed, 32 insertions(+), 0 deletions(-) create mode 100644 package/libbsd/Config.in create mode 100644 package/libbsd/libbsd.mk diff --git a/package/Config.in b/package/Config.in index c90fcd8..e016378 100644 --- a/package/Config.in +++ b/package/Config.in @@ -508,6 +508,7 @@ source "package/libargtable2/Config.in" source "package/argp-standalone/Config.in" source "package/boost/Config.in" source "package/libatomic_ops/Config.in" +source "package/libbsd/Config.in" source "package/libcap/Config.in" source "package/libcap-ng/Config.in" source "package/libdaemon/Config.in" diff --git a/package/libbsd/Config.in b/package/libbsd/Config.in new file mode 100644 index 0000000..7f2b55a --- /dev/null +++ b/package/libbsd/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_LIBBSD + bool "libbsd" + help + This library provides useful functions commonly found on BSD + systems, and lacking on others like GNU systems, thus making + it easier to port projects with strong BSD origins, without + needing to embed the same code over and over again on each + project. + + http://libbsd.freedesktop.org/ diff --git a/package/libbsd/libbsd.mk b/package/libbsd/libbsd.mk new file mode 100644 index 0000000..3af1002 --- /dev/null +++ b/package/libbsd/libbsd.mk @@ -0,0 +1,21 @@ +############################################################# +# +# libbsd +# +############################################################# + +LIBBSD_VERSION = 0.4.2 +LIBBSD_SOURCE = libbsd-$(LIBBSD_VERSION).tar.gz +LIBBSD_SITE = http://libbsd.freedesktop.org/releases +LIBBSD_LICENSE = BSD-3c MIT +LIBBSD_LICENSE_FILES = LICENSE + +# man-pages are BSD-4c, so that license only matters +# if doc is kept in the target rootfs +ifeq ($(BR2_HAVE_DOCUMENTATION),y) +LIBBSD_LICENSE += (libraries), BSD-4c (documentation) +endif + +LIBBSD_INSTALL_STAGING = YES + +$(eval $(autotools-package))