From patchwork Wed Nov 28 23:54:04 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: 202578 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 26BE82C0081 for ; Thu, 29 Nov 2012 10:55:58 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id BB3A4A021F; Wed, 28 Nov 2012 23:55:56 +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 0bE57iA-K-9x; Wed, 28 Nov 2012 23:55:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 22088A01EF; Wed, 28 Nov 2012 23:55:39 +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 EDF358F74A for ; Wed, 28 Nov 2012 23:55:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C79548AAA2 for ; Wed, 28 Nov 2012 23:55:26 +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 HuAyTDLjC0D0 for ; Wed, 28 Nov 2012 23:55:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1DFF58A9FD for ; Wed, 28 Nov 2012 23:55:14 +0000 (UTC) Received: by mail-wg0-f53.google.com with SMTP id e12so4689621wge.10 for ; Wed, 28 Nov 2012 15:55:13 -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; bh=OhFzC5P1COo2nGOK2HDLBIAOwC6kr8Ha1NkvEQQL6is=; b=yyhdkc4+cbFfySVFGFOP/7tav/wTC/Z4qbZRvfPgxIoLM4+PYd124RWHp3qUwB0hJJ MIBj0XyiBNWipvUCHAan+3PEFioZSX4kBfjo7JPEdyePA0hXTjQqUqbwVkNNWCe5ENZe w5f9Kru1cr5kVppxD2KSRQbS8yscxKw/DE2pSyBfavqxkeuhnFgjwqLM/bWoVKr7WrIM dY6BkLxBcp87j7iAWBFcZ6r2r7KNrsybM4bLvQf9aMqN5Cojtxdm9iuCOj1FlRpqla6o Y9vGNDjvV2QmOeRIXQt4WoMrJrENpNvn260lToQ1oOkspcpT2VAa5OsawoxuIpHHCMI7 7Now== Received: by 10.216.29.138 with SMTP id i10mr6503109wea.36.1354146913419; Wed, 28 Nov 2012 15:55:13 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-141-45.w90-32.abo.wanadoo.fr. [90.32.252.45]) by mx.google.com with ESMTPS id i6sm9076156wix.5.2012.11.28.15.55.12 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Nov 2012 15:55:13 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Thu, 29 Nov 2012 00:54:04 +0100 Message-Id: <1354146890-27380-6-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1354146890-27380-1-git-send-email-yann.morin.1998@free.fr> References: <1354146890-27380-1-git-send-email-yann.morin.1998@free.fr> Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 05/51] 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 658de91..9a7e409 100644 --- a/package/Config.in +++ b/package/Config.in @@ -454,6 +454,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))