summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-10-02 12:37:53 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-10-02 12:37:53 +0000
commit3b6e692957752b883ea5c66743322ae0b2304f1d (patch)
treeb04a2fb353197849fad6e01d9250d7e3302accbf /net-misc/tipcutils
parentVersion bump. (diff)
downloadgentoo-2-3b6e692957752b883ea5c66743322ae0b2304f1d.tar.gz
gentoo-2-3b6e692957752b883ea5c66743322ae0b2304f1d.tar.bz2
gentoo-2-3b6e692957752b883ea5c66743322ae0b2304f1d.zip
Version bump wrt #383807 by Diego Elio Pettenò
(Portage version: 2.2.0_alpha59/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/tipcutils')
-rw-r--r--net-misc/tipcutils/ChangeLog10
-rw-r--r--net-misc/tipcutils/files/tipcutils-2.0.0-rename_configuration_message_field.patch13
-rw-r--r--net-misc/tipcutils/tipcutils-2.0.0.ebuild34
3 files changed, 55 insertions, 2 deletions
diff --git a/net-misc/tipcutils/ChangeLog b/net-misc/tipcutils/ChangeLog
index ccf616a449d0..9c3b14fadb2f 100644
--- a/net-misc/tipcutils/ChangeLog
+++ b/net-misc/tipcutils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/tipcutils
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tipcutils/ChangeLog,v 1.4 2010/03/02 19:40:15 hwoarang Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tipcutils/ChangeLog,v 1.5 2011/10/02 12:37:53 ssuominen Exp $
+
+*tipcutils-2.0.0 (02 Oct 2011)
+
+ 02 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> +tipcutils-2.0.0.ebuild,
+ +files/tipcutils-2.0.0-rename_configuration_message_field.patch:
+ Version bump wrt #383807 by Diego Elio Pettenò
02 Mar 2010; Markos Chandras <hwoarang@gentoo.org> tipcutils-1.0.4.ebuild,
files/tipcutils-1.0.4-cflags.patch:
diff --git a/net-misc/tipcutils/files/tipcutils-2.0.0-rename_configuration_message_field.patch b/net-misc/tipcutils/files/tipcutils-2.0.0-rename_configuration_message_field.patch
new file mode 100644
index 000000000000..fae608ac64c9
--- /dev/null
+++ b/net-misc/tipcutils/files/tipcutils-2.0.0-rename_configuration_message_field.patch
@@ -0,0 +1,13 @@
+http://tipc.git.sourceforge.net/git/gitweb.cgi?p=tipc/tipcutils;a=commit;h=44efb87cb453c16a31ceef27164b0f0394ae4433
+
+--- tipc-config.c
++++ tipc-config.c
+@@ -1150,7 +1150,7 @@ static void enable_bearer(char *args)
+ a, for_dest(), addr2str(domain), pri);
+
+ req_tlv.priority = htonl(pri);
+- req_tlv.detect_scope = htonl(domain);
++ req_tlv.disc_domain = htonl(domain);
+ strncpy(req_tlv.name, a, TIPC_MAX_BEARER_NAME - 1);
+ req_tlv.name[TIPC_MAX_BEARER_NAME - 1] = '\0';
+
diff --git a/net-misc/tipcutils/tipcutils-2.0.0.ebuild b/net-misc/tipcutils/tipcutils-2.0.0.ebuild
new file mode 100644
index 000000000000..4ab41e0ff508
--- /dev/null
+++ b/net-misc/tipcutils/tipcutils-2.0.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tipcutils/tipcutils-2.0.0.ebuild,v 1.1 2011/10/02 12:37:53 ssuominen Exp $
+
+EAPI=4
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Utilities for TIPC (Transparent Inter-Process Communication)"
+HOMEPAGE="http://tipc.sourceforge.net"
+SRC_URI="mirror://sourceforge/tipc/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND=">=sys-kernel/linux-headers-2.6.39"
+
+S=${WORKDIR}/${P}/tipc-config
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-rename_configuration_message_field.patch
+ sed -i -e '/OFLAGS/s:-O2::' Makefile || die
+}
+
+src_compile() {
+ tc-export CC
+ emake EXTRAS="${CFLAGS}"
+}
+
+src_install() {
+ dosbin tipc-config
+}