From f2affe4d5061558778908f893f052d5dd8d97e04 Mon Sep 17 00:00:00 2001 From: Stefan Briesenick Date: Fri, 29 Jul 2005 21:00:59 +0000 Subject: initial commit. Includes CAPI 2.0 V3 patches. (Portage version: 2.0.51.22-r2) --- net-dialup/itund/ChangeLog | 10 +++++ net-dialup/itund/Manifest | 4 ++ net-dialup/itund/files/digest-itund-0.3 | 1 + net-dialup/itund/files/itund-0.3-capiv3.patch | 61 +++++++++++++++++++++++++++ net-dialup/itund/itund-0.3.ebuild | 37 ++++++++++++++++ net-dialup/itund/metadata.xml | 6 +++ 6 files changed, 119 insertions(+) create mode 100644 net-dialup/itund/ChangeLog create mode 100644 net-dialup/itund/Manifest create mode 100644 net-dialup/itund/files/digest-itund-0.3 create mode 100644 net-dialup/itund/files/itund-0.3-capiv3.patch create mode 100644 net-dialup/itund/itund-0.3.ebuild create mode 100644 net-dialup/itund/metadata.xml (limited to 'net-dialup/itund') diff --git a/net-dialup/itund/ChangeLog b/net-dialup/itund/ChangeLog new file mode 100644 index 000000000000..f44df5eb3ba6 --- /dev/null +++ b/net-dialup/itund/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-dialup/itund +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/itund/ChangeLog,v 1.1 2005/07/29 21:00:59 sbriesen Exp $ + +*itund-0.3 (29 Jul 2005) + + 29 Jul 2005; Stefan Briesenick + +files/itund-0.3-capiv3.patch, +metadata.xml, +itund-0.3.ebuild: + initial commit. Includes CAPI 2.0 V3 patches. + diff --git a/net-dialup/itund/Manifest b/net-dialup/itund/Manifest new file mode 100644 index 000000000000..703fa360557a --- /dev/null +++ b/net-dialup/itund/Manifest @@ -0,0 +1,4 @@ +MD5 4145be1bb3ca15eb01247fcfb95447e1 itund-0.3.ebuild 816 +MD5 f0359f4cee37501579a6ad65921f7095 metadata.xml 350 +MD5 134cfe8976845dd8bcb8dad44981f818 files/itund-0.3-capiv3.patch 1818 +MD5 ea6c40d7634b16af3ba62caf8ae04082 files/digest-itund-0.3 57 diff --git a/net-dialup/itund/files/digest-itund-0.3 b/net-dialup/itund/files/digest-itund-0.3 new file mode 100644 index 000000000000..c6e27e242748 --- /dev/null +++ b/net-dialup/itund/files/digest-itund-0.3 @@ -0,0 +1 @@ +MD5 56e514c87f867ed8abb6c7fefad2c3a5 itund-0.3.tgz 34882 diff --git a/net-dialup/itund/files/itund-0.3-capiv3.patch b/net-dialup/itund/files/itund-0.3-capiv3.patch new file mode 100644 index 000000000000..6ecc148c47e6 --- /dev/null +++ b/net-dialup/itund/files/itund-0.3-capiv3.patch @@ -0,0 +1,61 @@ +--- capiconn.c.orig 2005-06-03 08:54:36.000000000 +0200 ++++ capiconn.c 2005-07-29 21:58:08.765758893 +0200 +@@ -919,7 +919,8 @@ + 0, /* BChannelinformation */ + 0, /* Keypadfacility */ + 0, /* Useruserdata */ +- 0 /* Facilitydataarray */ ++ 0, /* Facilitydataarray */ ++ 0 /* SendingComplete */ + ); + plcip->msgid = cmsg.Messagenumber; + send_message(card, &cmsg); +@@ -971,6 +972,7 @@ + 0, + 0, + 0, ++ 0, /* Globalconfiguration */ + 0, /* ConnectedNumber */ + 0, /* ConnectedSubaddress */ + 0, /* LLC */ +@@ -1513,13 +1515,15 @@ + plcip->conninfo.b1config, + plcip->conninfo.b2config, + plcip->conninfo.b3config, ++ 0, /* Globalconfiguration */ + 0, /* BC */ + 0, /* LLC */ + 0, /* HLC */ + plcip->conninfo.bchaninfo, /* BChannelinformation */ + 0, /* Keypadfacility */ + 0, /* Useruserdata */ +- 0 /* Facilitydataarray */ ++ 0, /* Facilitydataarray */ ++ 0 /* SendingComplete */ + ); + + plcip->msgid = cmdcmsg.Messagenumber; +@@ -1571,6 +1575,7 @@ + plcip->conninfo.b1config, + plcip->conninfo.b2config, + plcip->conninfo.b3config, ++ 0, /* Globalconfiguration */ + 0, /* ConnectedNumber */ + 0, /* ConnectedSubaddress */ + 0, /* LLC */ +@@ -1604,6 +1609,7 @@ + 0, + 0, + 0, ++ 0, /* Globalconfiguration */ + 0, /* ConnectedNumber */ + 0, /* ConnectedSubaddress */ + 0, /* LLC */ +@@ -1637,6 +1643,7 @@ + 0, + 0, + 0, ++ 0, /* Globalconfiguration */ + 0, /* ConnectedNumber */ + 0, /* ConnectedSubaddress */ + 0, /* LLC */ diff --git a/net-dialup/itund/itund-0.3.ebuild b/net-dialup/itund/itund-0.3.ebuild new file mode 100644 index 000000000000..7c0c3933b816 --- /dev/null +++ b/net-dialup/itund/itund-0.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/itund/itund-0.3.ebuild,v 1.1 2005/07/29 21:00:59 sbriesen Exp $ + +inherit eutils + +DESCRIPTION="ItunD (ISDN tunnel Daemon) provides a network tunnel over ISDN lines using CAPI" +HOMEPAGE="http://sourceforge.net/projects/itund/" +SRC_URI="mirror://sourceforge/itund/${P}.tgz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" +DEPEND="sys-libs/zlib + net-dialup/capi4k-utils" + +src_unpack() { + unpack ${A} + cd ${S} + + # patch Makefile to use our CFLAGS + sed -i -e "s:^\(CFLAGS=.*\) -O2 :\1 ${CFLAGS} :g" Makefile + + # apply CAPI V3 patch conditionally + grep 2>/dev/null -q CAPI_LIBRARY_V2 /usr/include/capiutils.h \ + && epatch ${FILESDIR}/${P}-capiv3.patch +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + dosbin itund + dodoc CHANGES README +} diff --git a/net-dialup/itund/metadata.xml b/net-dialup/itund/metadata.xml new file mode 100644 index 000000000000..a795cc89b223 --- /dev/null +++ b/net-dialup/itund/metadata.xml @@ -0,0 +1,6 @@ + + + + net-dialup + ItunD (ISDN tunnel Daemon) provides a network tunnel over ISDN lines using the CAPI interface. The ISDN4Linux isdn-net (rawIP) devices are supported. + -- cgit v1.2.3-65-gdbad