From patchwork Thu Aug 6 12:50:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Sparks X-Patchwork-Id: 504687 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 120451402BD for ; Thu, 6 Aug 2015 22:56:53 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=yahoo.com.au header.i=@yahoo.com.au header.b=N+4ukMyc; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1848492263; Thu, 6 Aug 2015 12:56:52 +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 FBLHRbNYuizg; Thu, 6 Aug 2015 12:56:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 2A7FF92267; Thu, 6 Aug 2015 12:56:50 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 28EC91BFDBE for ; Thu, 6 Aug 2015 12:56:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 235EE32123 for ; Thu, 6 Aug 2015 12:56:49 +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 rY4JTjVb6r1N for ; Thu, 6 Aug 2015 12:56:48 +0000 (UTC) X-Greylist: delayed 00:05:38 by SQLgrey-1.7.6 Received: from nm40-vm6.bullet.mail.bf1.yahoo.com (nm40-vm6.bullet.mail.bf1.yahoo.com [72.30.239.214]) by silver.osuosl.org (Postfix) with ESMTPS id CE7773092A for ; Thu, 6 Aug 2015 12:56:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.au; s=s2048; t=1438865469; bh=7sWBB4BJCT7EV3UXjjgZVgQrnt+I+5m9mG3i4OdnhR8=; h=From:To:Cc:Subject:Date:From:Subject; b=N+4ukMyc84hXBFDESLUi0+tPbsMOoyIGvlDQO3Bpy5sCUPmspZb244HxrXYDDg36ebQfPBHMqLVU07rPUIXVGKv+sQ3YQm5lZne1BuLOdQut1arkZGcf3x7t9zcZWjpjF0yYs8bOq5wB3FuufvRhqM2URZuWmd0FNCvCxDkWBoCxBwm0WHAfOd8J2BjJ5Szg4OcUUZNmNFDPgYuckROxlTI0CPR9OfiJwBU3U/yKJ4AbTbi37b6eUtzekafZXaB3+mDzaIQhszp7y8hvoCGsQujUgEzbvXiQJjpSq0JFEij82WsH3nPGAHbqEXDmZ72xKnGFzvYyUuH8dlxtxy+L5g== Received: from [98.139.215.140] by nm40.bullet.mail.bf1.yahoo.com with NNFMP; 06 Aug 2015 12:51:09 -0000 Received: from [98.139.213.8] by tm11.bullet.mail.bf1.yahoo.com with NNFMP; 06 Aug 2015 12:51:08 -0000 Received: from [127.0.0.1] by smtp108.mail.bf1.yahoo.com with NNFMP; 06 Aug 2015 12:51:08 -0000 X-Yahoo-Newman-Id: 846268.10212.bm@smtp108.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: aoczXvAVM1mNyrIDRqLOZsRKpKIJmrIL.Bxmtm4q03bWnJB D0.I2Fjb4nzIFMzTWjS3qcY1_aOhOv7oDx7Mr2yRuNAJxZIQW5HLJibkHcx0 yGGC2dHstekTe3xg9ZmAj5eyMcaN04rdrf33LMfDMEX2kCqqFc4cLKTrl8Y0 WXUT6y86FbLEnkgzjOY8EY4zVXkTe5e32hiWdU_grVUQYIPLBu5nL1sywICw 0owBGLmN3sEGyYRALRTZxEYxxKvxedqsthzUHmNCK69VXe5mQ4nWWn.iTZLj Pbp2tKSZsipbBMUfacoukxBqA9_Jpov7.tY.MtUI__n4u_VJVPyrAFdiK0Yc UVNfccrjyiUvk5eEzCkcE8Qca7yTyYUy3Qt4tRRP.p2yBtK2Hmap6QjIfY2p iEOtaZZV0AI7u.FsFsHpqoREeJ16vuSHHxJlj0U64nmq9PTlS.oofX49QOgH 5MwvIJ93nMOems0RnN5DHv9v_3xK1_XmXKAvKhN4z925eXejgsM9p283xb7s hljjoi1PgISv_GMUpzG9Bm6tnzvnXjLGI2FIxDnOY X-Yahoo-SMTP: S00h05GswBB_h64Fr6bh2QCSUZucg9K1hA-- From: Tom Sparks To: buildroot@buildroot.org Date: Thu, 6 Aug 2015 22:50:24 +1000 Message-Id: <1438865424-5000-1-git-send-email-tom_a_sparks@yahoo.com.au> X-Mailer: git-send-email 1.9.1 Cc: Tom Sparks Subject: [Buildroot] [PATCH 1/1] ibrdtn 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Tom Sparks --- package/ibrcommon/Config.in | 13 +++++++++++++ package/ibrcommon/ibrcommon.mk | 32 ++++++++++++++++++++++++++++++++ package/ibrdtn/Config.in | 13 +++++++++++++ package/ibrdtn/ibrdtn.mk | 32 ++++++++++++++++++++++++++++++++ package/ibrdtnd/Config.in | 23 +++++++++++++++++++++++ package/ibrdtnd/ibrdtnd.mk | 32 ++++++++++++++++++++++++++++++++ 6 files changed, 145 insertions(+) create mode 100644 package/ibrcommon/Config.in create mode 100644 package/ibrcommon/ibrcommon.mk create mode 100644 package/ibrdtn/Config.in create mode 100644 package/ibrdtn/ibrdtn.mk create mode 100644 package/ibrdtnd/Config.in create mode 100644 package/ibrdtnd/ibrdtnd.mk diff --git a/package/ibrcommon/Config.in b/package/ibrcommon/Config.in new file mode 100644 index 0000000..c1d400b --- /dev/null +++ b/package/ibrcommon/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_IBRCOMMON + bool "ibrcommon" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBNL + select BR2_PACKAGE_LIBXML2 + help + IBR-DTN is a small dtn application that supports: + Bundle Protocol RFC 5050 + Bundle Security Protocol RFC 6257 + + http://trac.ibr.cs.tu-bs.de/project-cm-2012-ibrdtn diff --git a/package/ibrcommon/ibrcommon.mk b/package/ibrcommon/ibrcommon.mk new file mode 100644 index 0000000..3a67307 --- /dev/null +++ b/package/ibrcommon/ibrcommon.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# ibrcommon +# +################################################################################ + +IBRCOMMON_VERSION = 1.0.1 +IBRCOMMON_SOURCE = ibrcommon-$(IBRCOMMON_VERSION).tar.gz +IBRCOMMON_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases/ +IBRCOMMON_INSTALL_STAGING = YES +IBRCOMMON_LICENSE = Apache-2.0 +IBRCOMMON_LICENSE_FILES = COPYING +IBRCOMMON_CONF_OPTS = --with-openssl --with-lowpan --with-xml +IBRCOMMON_DEPENDENCIES = openssl libnl libxml2 + +# While the configuration system uses autoconf, the Makefiles are +# hand-written and do not use automake. Therefore, we have to hack +# around their deficiencies by passing installation paths. +IBRCOMMON_INSTALL_STAGING_OPTS = \ + prefix=$(STAGING_DIR)/usr \ + exec_prefix=$(STAGING_DIR)/usr \ + PKG_DEVLIB_DIR=$(STAGING_DIR)/usr/lib \ + install + +IBRCOMMON_INSTALL_TARGET_OPTS = \ + prefix=$(TARGET_DIR)/usr \ + exec_prefix=$(TARGET_DIR)/usr \ + install + + + +$(eval $(autotools-package)) diff --git a/package/ibrdtn/Config.in b/package/ibrdtn/Config.in new file mode 100644 index 0000000..9da2b54 --- /dev/null +++ b/package/ibrdtn/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_IBRDTN + bool "ibrdtn" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_IBRCOMMON + help + IBR-DTN is a small dtn application that supports: + Bundle Protocol RFC 5050 + Bundle Security Protocol RFC 6257 + + http://trac.ibr.cs.tu-bs.de/project-cm-2012-ibrdtn + + diff --git a/package/ibrdtn/ibrdtn.mk b/package/ibrdtn/ibrdtn.mk new file mode 100644 index 0000000..744bd2f --- /dev/null +++ b/package/ibrdtn/ibrdtn.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# ibrdtn +# +################################################################################ + +IBRDTN_VERSION = 1.0.1 +IBRDTN_SOURCE = ibrdtn-$(IBRDTN_VERSION).tar.gz +IBRDTN_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases/ +IBRDTN_INSTALL_STAGING = YES +IBRDTN_LICENSE = Apache-2.0 +IBRDTN_LICENSE_FILES = COPYING +IBRDTN_CONF_OPTS = --with-compression +IBRDTN_DEPENDENCIES = ibrcommon + +# While the configuration system uses autoconf, the Makefiles are +# hand-written and do not use automake. Therefore, we have to hack +# around their deficiencies by passing installation paths. +IBRDTN_INSTALL_STAGING_OPTS = \ + prefix=$(STAGING_DIR)/usr \ + exec_prefix=$(STAGING_DIR)/usr \ + PKG_DEVLIB_DIR=$(STAGING_DIR)/usr/lib \ + install + +IBRDTN_INSTALL_TARGET_OPTS = \ + prefix=$(TARGET_DIR)/usr \ + exec_prefix=$(TARGET_DIR)/usr \ + install + + + +$(eval $(autotools-package)) diff --git a/package/ibrdtnd/Config.in b/package/ibrdtnd/Config.in new file mode 100644 index 0000000..ffc6e09 --- /dev/null +++ b/package/ibrdtnd/Config.in @@ -0,0 +1,23 @@ +config BR2_PACKAGE_IBRDTND + bool "ibrdtnd" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_IBRDTN + select BR2_PACKAGE_LIBDAEMON + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_SQLITE + select BR2_PACKAGE_OPENSSL + + help + IBR-DTN is a small dtn application that supports: + Bundle Protocol RFC 5050 + Bundle Security Protocol RFC 6257 + + http://trac.ibr.cs.tu-bs.de/project-cm-2012-ibrdtn + +if BR2_PACKAGE_IBRDTND + +source "package/ibrcommon/Config.in" +source "package/ibrdtn/Config.in" + +endif diff --git a/package/ibrdtnd/ibrdtnd.mk b/package/ibrdtnd/ibrdtnd.mk new file mode 100644 index 0000000..d201787 --- /dev/null +++ b/package/ibrdtnd/ibrdtnd.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# ibrdtnd +# +################################################################################ + +IBRDTND_VERSION = 1.0.1 +IBRDTND_SOURCE = ibrdtnd-$(IBRDTND_VERSION).tar.gz +IBRDTND_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases/ +IBRDTND_INSTALL_STAGING = YES +IBRDTND_LICENSE = Apache-2.0 +IBRDTND_LICENSE_FILES = COPYING +IBRDTND_CONF_OPTS = --with-curl --with-sqlite --with-tls +IBRDTND_DEPENDENCIES = ibrdtn libdaemon libcurl sqlite openssl + +# While the configuration system uses autoconf, the Makefiles are +# hand-written and do not use automake. Therefore, we have to hack +# around their deficiencies by passing installation paths. +IBRDTND_INSTALL_STAGING_OPTS = \ + prefix=$(STAGING_DIR)/usr \ + exec_prefix=$(STAGING_DIR)/usr \ + PKG_DEVLIB_DIR=$(STAGING_DIR)/usr/lib \ + install + +IBRDTND_INSTALL_TARGET_OPTS = \ + prefix=$(TARGET_DIR)/usr \ + exec_prefix=$(TARGET_DIR)/usr \ + install + + + +$(eval $(autotools-package))