From patchwork Wed Oct 24 21:25:30 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: 193954 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id B36182C008F for ; Thu, 25 Oct 2012 08:26:49 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 48AB831049; Wed, 24 Oct 2012 21:26:48 +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 Szcnr5UpxCpG; Wed, 24 Oct 2012 21:26:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 16D9D3101B; Wed, 24 Oct 2012 21:26:38 +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 96C9E8F74A for ; Wed, 24 Oct 2012 21:26:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 39A3D8C8E4 for ; Wed, 24 Oct 2012 21:26:32 +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 fehqWYa7-ez0 for ; Wed, 24 Oct 2012 21:26:26 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by whitealder.osuosl.org (Postfix) with ESMTPS id D754F8C865 for ; Wed, 24 Oct 2012 21:26:25 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id hq12so757054wib.10 for ; Wed, 24 Oct 2012 14:26:24 -0700 (PDT) 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; bh=9L92u6aipf1KPCLbYfoAlFEaVJ5X5zL7TTZPuVCu+Uc=; b=reXT2aI92Q9QNROjhIToRhfKUkH7XcWqE9PsESM9clo/1TjrIoQAvC+k6Bo3L4t1cz g7uWExDwmeKxo+GIjsNHG/S63/gQUIMmJFKOuAmIRK+kz6bwyLpqkufIOzST/Wa9KGfL EFAuh0EYgNOHP9+F79vYPneFGsNVa99I+6TKfIgNLFGgBzR4kzHOOQ9sQX7dJTjT/6eY AZ/S2Gw9vCMD4QRa1aixa5YOn4HVWE2BGobIrbyFmdMR3OExkIx3JjF4pkgUlOeb7K3C +1UPtLjV1sE0ZaTl2Vxr1WqOAnsgiBzGrd6nhJeSMXTN+YTa0W4m+7B1YvAqAgQ+bZBp iTHA== Received: by 10.180.105.168 with SMTP id gn8mr8714350wib.10.1351113984077; Wed, 24 Oct 2012 14:26:24 -0700 (PDT) Received: from localhost.localdomain (ARennes-256-1-66-54.w90-32.abo.wanadoo.fr. [90.32.145.54]) by mx.google.com with ESMTPS id hb6sm6371161wib.7.2012.10.24.14.26.23 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Oct 2012 14:26:23 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Wed, 24 Oct 2012 23:25:30 +0200 Message-Id: <1351113973-17237-5-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1351113973-17237-1-git-send-email-yann.morin.1998@free.fr> References: <1351113973-17237-1-git-send-email-yann.morin.1998@free.fr> Cc: bjornar.ness@gmail.com, "Yann E. MORIN" Subject: [Buildroot] [PATCH 04/47] package/libiscsi: 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" --- package/Config.in | 1 + package/libiscsi/Config.in | 12 ++++++++++++ package/libiscsi/libiscsi.mk | 22 ++++++++++++++++++++++ 3 files changed, 35 insertions(+), 0 deletions(-) create mode 100644 package/libiscsi/Config.in create mode 100644 package/libiscsi/libiscsi.mk diff --git a/package/Config.in b/package/Config.in index c64a54a..2c5ad8c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -440,6 +440,7 @@ source "package/libesmtp/Config.in" source "package/libeXosip2/Config.in" source "package/libfcgi/Config.in" source "package/libidn/Config.in" +source "package/libiscsi/Config.in" source "package/liboauth/Config.in" source "package/libmicrohttpd/Config.in" source "package/neon/Config.in" diff --git a/package/libiscsi/Config.in b/package/libiscsi/Config.in new file mode 100644 index 0000000..f3fc29e --- /dev/null +++ b/package/libiscsi/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_LIBISCSI + bool "libiscsi" + select BR2_PACKAGE_POPT + help + Libiscsi is a client-side library to implement the iSCSI protocol + that can be used to access resource of an iSCSI Target. + + The library is fully async with regards to iscsi commands and scsi + tasks, but a sync layer is also provided for ease of use for simpler + applications. + + https://github.com/sahlberg/libiscsi (no proper homepage) diff --git a/package/libiscsi/libiscsi.mk b/package/libiscsi/libiscsi.mk new file mode 100644 index 0000000..319b5b6 --- /dev/null +++ b/package/libiscsi/libiscsi.mk @@ -0,0 +1,22 @@ +############################################################# +# +# libiscsi +# +############################################################# + +LIBISCSI_VERSION = 1.6.0 +LIBISCSI_SOURCE = libiscsi-$(LIBISCSI_VERSION).tar.gz +LIBISCSI_SITE = https://github.com/downloads/sahlberg/libiscsi +LIBISCSI_LICENSE = GPLv2+ LGPLv2.1+ +LIBISCSI_LICENSE_FILES = COPYING LICENCE-GPL-2.txt LICENCE-LGPL-2.1.txt +LIBISCSI_INSTALL_STAGING = YES +LIBISCSI_DEPENDENCIES = popt + +LIBISCSI_AUTORECONF = YES +# Having a m4/ directory is mandatory for autoreconf to work +define LIBISCSI_CREATE_M4_DIR + mkdir -p $(@D)/m4 +endef +LIBISCSI_PRE_CONFIGURE_HOOKS += LIBISCSI_CREATE_M4_DIR + +$(eval $(autotools-package))