From patchwork Mon Feb 11 12:30:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Lukichev X-Patchwork-Id: 219596 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 35D892C0084 for ; Mon, 11 Feb 2013 23:31:15 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 33A8C88393; Mon, 11 Feb 2013 12:31:13 +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 UUVWImTUnbEE; Mon, 11 Feb 2013 12:31:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 9D9FD87AC9; Mon, 11 Feb 2013 12:31:07 +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 118CB8F75B for ; Mon, 11 Feb 2013 12:31:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id ABD6284C24 for ; Mon, 11 Feb 2013 12:31:05 +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 kRzzcc8HY7pL for ; Mon, 11 Feb 2013 12:31:04 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com [209.85.217.178]) by whitealder.osuosl.org (Postfix) with ESMTPS id B2DBC8168A for ; Mon, 11 Feb 2013 12:31:03 +0000 (UTC) Received: by mail-lb0-f178.google.com with SMTP id n1so4487795lba.23 for ; Mon, 11 Feb 2013 04:31:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=h4Gh25FEQTBnU5HPBCnP23rl61q11EiWXe7aT7v5lhw=; b=GcuAgQh2DJNGdeh6TLTImjQApiw45EEq43WRXXw7mjPGMsWnw/F9xTEKg9oV/vh1sv yzrdYWJfFo/aSdQeqkLl8Mm90FqVBV6fJLaiqI40ceoYLCiXX/6k/+xQbJrdL4M+YiqB +tbJy/LKLKHHcbIOwXL1tXl3hQ4I1bsk5PX6BmfXzemNbefdWl3FXTG4313tEIPDoz8k cuipH63ssEpE5LA2/apTomKITuGCOk8jRYeX83fv/RAIKCOZ+RhvcsvGBbmeEAdUleA+ kyBG9RLWPBdLy2zJuX0nPPgQQEc4aETwl64AzA7LXs5YATyOG+udvy2xNMzoAC/Ill0Z zeKQ== X-Received: by 10.112.88.10 with SMTP id bc10mr5594443lbb.70.1360585861244; Mon, 11 Feb 2013 04:31:01 -0800 (PST) Received: from localhost.localdomain (37-219-50-97.nat.bb.dnainternet.fi. [37.219.50.97]) by mx.google.com with ESMTPS id e9sm13058328lbz.1.2013.02.11.04.30.58 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 11 Feb 2013 04:31:00 -0800 (PST) From: Alexander Lukichev To: buildroot@busybox.net Date: Mon, 11 Feb 2013 14:30:26 +0200 Message-Id: <1360585826-17996-1-git-send-email-alexander.lukichev@gmail.com> X-Mailer: git-send-email 1.8.0.1 Cc: Alexander Lukichev Subject: [Buildroot] [PATCH 1/1] openpgm: 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 From: Alexander Lukichev OpenPGM is an open source implementation of the Pragmatic General Multicast (PGM) specification in RFC 3208 available at www.ietf.org. It may be required for PGM/EPGM support in ZeroMQ library. This adds version 5.1.118-1~dfsg of the package, required by zeromq-2.2.0. It also adds a patch for cross-compilation of more recent 5.2.121~dfsg version. Signed-off-by: Alexander Lukichev --- package/Config.in | 1 + package/openpgm/Config.in | 10 ++++++++++ .../openpgm-5.1.118-1~dfsg-cross-compile.patch | 13 ++++++++++++ .../openpgm-5.2.121~dfsg-cross-compile.patch | 13 ++++++++++++ package/openpgm/openpgm.mk | 23 ++++++++++++++++++++++ 5 files changed, 60 insertions(+) create mode 100644 package/openpgm/Config.in create mode 100644 package/openpgm/openpgm-5.1.118-1~dfsg-cross-compile.patch create mode 100644 package/openpgm/openpgm-5.2.121~dfsg-cross-compile.patch create mode 100644 package/openpgm/openpgm.mk diff --git a/package/Config.in b/package/Config.in index 2fad94d..bfaf944 100644 --- a/package/Config.in +++ b/package/Config.in @@ -524,6 +524,7 @@ source "package/libtorrent/Config.in" source "package/libupnp/Config.in" source "package/libvncserver/Config.in" source "package/nss-mdns/Config.in" +source "package/openpgm/Config.in" source "package/ortp/Config.in" source "package/slirp/Config.in" source "package/usbredir/Config.in" diff --git a/package/openpgm/Config.in b/package/openpgm/Config.in new file mode 100644 index 0000000..e9e5ee6 --- /dev/null +++ b/package/openpgm/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_OPENPGM + bool "OpenPGM" + help + OpenPGM is an open source implementation of the Pragmatic General + Multicast (PGM) specification in RFC 3208 available at www.ietf.org. + PGM is a reliable and scalable multicast protocol that enables + receivers to detect loss, request retransmission of lost data, or + notify an application of unrecoverable loss. + + http://code.google.com/p/openpgm/ diff --git a/package/openpgm/openpgm-5.1.118-1~dfsg-cross-compile.patch b/package/openpgm/openpgm-5.1.118-1~dfsg-cross-compile.patch new file mode 100644 index 0000000..2e16c0d --- /dev/null +++ b/package/openpgm/openpgm-5.1.118-1~dfsg-cross-compile.patch @@ -0,0 +1,13 @@ +diff -uNrp a/configure.ac b/configure.ac +--- a/configure.ac 2012-11-07 14:19:08.835373674 +0200 ++++ b/configure.ac 2012-11-07 14:19:25.481620103 +0200 +@@ -284,7 +284,8 @@ AC_RUN_IFELSE( + [AC_MSG_RESULT([yes]) + pgm_unaligned_pointers=yes], + [AC_MSG_RESULT([no]) +- pgm_unaligned_pointers=no]) ++ pgm_unaligned_pointers=no], ++ pgm_unaligned_pointers=yes) + AC_MSG_CHECKING([for intrinsic atomic ops]) + # AC_PREPROC_IFELSE not always portable + AC_COMPILE_IFELSE( diff --git a/package/openpgm/openpgm-5.2.121~dfsg-cross-compile.patch b/package/openpgm/openpgm-5.2.121~dfsg-cross-compile.patch new file mode 100644 index 0000000..2e16c0d --- /dev/null +++ b/package/openpgm/openpgm-5.2.121~dfsg-cross-compile.patch @@ -0,0 +1,13 @@ +diff -uNrp a/configure.ac b/configure.ac +--- a/configure.ac 2012-11-07 14:19:08.835373674 +0200 ++++ b/configure.ac 2012-11-07 14:19:25.481620103 +0200 +@@ -284,7 +284,8 @@ AC_RUN_IFELSE( + [AC_MSG_RESULT([yes]) + pgm_unaligned_pointers=yes], + [AC_MSG_RESULT([no]) +- pgm_unaligned_pointers=no]) ++ pgm_unaligned_pointers=no], ++ pgm_unaligned_pointers=yes) + AC_MSG_CHECKING([for intrinsic atomic ops]) + # AC_PREPROC_IFELSE not always portable + AC_COMPILE_IFELSE( diff --git a/package/openpgm/openpgm.mk b/package/openpgm/openpgm.mk new file mode 100644 index 0000000..ed9c041 --- /dev/null +++ b/package/openpgm/openpgm.mk @@ -0,0 +1,23 @@ +############################################################# +# +# openpgm +# +############################################################# + +OPENPGM_VERSION = 5.1.118-1~dfsg +OPENPGM_SOURCE = libpgm-$(OPENPGM_VERSION).tar.gz +OPENPGM_SITE = http://openpgm.googlecode.com/files/ +OPENPGM_INSTALL_STAGING = YES +OPENPGM_DEPENDENCIES = +OPENPGM_AUTORECONF = YES +OPENPGM_CONF_ENV = ac_cv_file__proc_cpuinfo=yes ac_cv_file__dev_rtc=no \ + ac_cv_file__dev_hpet=no + +define OPENPGM_EXTRACT_FIX + mv $(@D)/openpgm/pgm/* $(@D) + rm -rf $(@D)/openpgm/pgm/ +endef + +OPENPGM_POST_EXTRACT_HOOKS += OPENPGM_EXTRACT_FIX + +$(eval $(autotools-package))