diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2005-08-06 12:43:00 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2005-08-06 12:43:00 +0000 |
commit | bc83dfdfe08026f1bc7b3c6f41792c5f3eb75476 (patch) | |
tree | 633193cac3d3fcf33c0d93bb67405c58a4f1ebc9 /net-misc/capiisdnmon | |
parent | Changed dependency according to bug #98672 comment #4. (diff) | |
download | gentoo-2-bc83dfdfe08026f1bc7b3c6f41792c5f3eb75476.tar.gz gentoo-2-bc83dfdfe08026f1bc7b3c6f41792c5f3eb75476.tar.bz2 gentoo-2-bc83dfdfe08026f1bc7b3c6f41792c5f3eb75476.zip |
initial commit.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-misc/capiisdnmon')
-rw-r--r-- | net-misc/capiisdnmon/ChangeLog | 11 | ||||
-rw-r--r-- | net-misc/capiisdnmon/Manifest | 5 | ||||
-rw-r--r-- | net-misc/capiisdnmon/capiisdnmon-0.42.ebuild | 36 | ||||
-rw-r--r-- | net-misc/capiisdnmon/files/capiisdnmon-0.42-capiv3.patch | 11 | ||||
-rw-r--r-- | net-misc/capiisdnmon/files/digest-capiisdnmon-0.42 | 1 | ||||
-rw-r--r-- | net-misc/capiisdnmon/metadata.xml | 6 |
6 files changed, 70 insertions, 0 deletions
diff --git a/net-misc/capiisdnmon/ChangeLog b/net-misc/capiisdnmon/ChangeLog new file mode 100644 index 000000000000..44a386cb9c79 --- /dev/null +++ b/net-misc/capiisdnmon/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-misc/capiisdnmon +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/capiisdnmon/ChangeLog,v 1.1 2005/08/06 12:43:00 sbriesen Exp $ + +*capiisdnmon-0.42 (06 Aug 2005) + + 06 Aug 2005; Stefan Briesenick <sbriesen@gentoo.org> + +files/capiisdnmon-0.42-capiv3.patch, +metadata.xml, + +capiisdnmon-0.42.ebuild: + initial commit. + diff --git a/net-misc/capiisdnmon/Manifest b/net-misc/capiisdnmon/Manifest new file mode 100644 index 000000000000..24e9a8359f1f --- /dev/null +++ b/net-misc/capiisdnmon/Manifest @@ -0,0 +1,5 @@ +MD5 13d82239c3450df175562e62309c1974 capiisdnmon-0.42.ebuild 786 +MD5 bb20de00b2c8719b5307b437104d121e ChangeLog 311 +MD5 7a29ec1d2a322b4000a4576ab44f94ee metadata.xml 252 +MD5 b8b732a1363522e6bc85adc6cda09066 files/capiisdnmon-0.42-capiv3.patch 776 +MD5 324b3abc4eb33f3854006ea47554c115 files/digest-capiisdnmon-0.42 67 diff --git a/net-misc/capiisdnmon/capiisdnmon-0.42.ebuild b/net-misc/capiisdnmon/capiisdnmon-0.42.ebuild new file mode 100644 index 000000000000..c0829c71e780 --- /dev/null +++ b/net-misc/capiisdnmon/capiisdnmon-0.42.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/capiisdnmon/capiisdnmon-0.42.ebuild,v 1.1 2005/08/06 12:43:00 sbriesen Exp $ + +inherit eutils + +DESCRIPTION="A Capi 2.0 Isdn CallMonitor with ldap name resolution" +HOMEPAGE="http://capiisdnmon.sourceforge.net/" +SRC_URI="mirror://sourceforge/capiisdnmon/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" +DEPEND="net-dialup/capi4k-utils + net-nds/openldap + x11-libs/xosd + >=x11-libs/gtk+-2*" + +src_unpack() { + unpack ${A} + cd ${S} + + # apply CAPI V3 patch conditionally + grep 2>/dev/null -q CAPI_LIBRARY_V2 /usr/include/capiutils.h \ + && epatch ${FILESDIR}/${P}-capiv3.patch +} + +src_compile() { + econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" +} diff --git a/net-misc/capiisdnmon/files/capiisdnmon-0.42-capiv3.patch b/net-misc/capiisdnmon/files/capiisdnmon-0.42-capiv3.patch new file mode 100644 index 000000000000..e7d22b254ff5 --- /dev/null +++ b/net-misc/capiisdnmon/files/capiisdnmon-0.42-capiv3.patch @@ -0,0 +1,11 @@ +--- capiinfo.cpp.orig 2005-08-06 14:13:17.763338743 +0200 ++++ capiinfo.cpp 2005-08-06 14:16:33.362368161 +0200 +@@ -100,7 +100,7 @@ + std::cout << "incomming call from :" << cmsg.CallingPartyNumber << std::endl; + #endif + std::string callingPartyNumber((char *) cmsg.CallingPartyNumber); +- CONNECT_RESP(&cmsg, m_wApplId, m_wIntNr++, cmsg.adr.adrController, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0); ++ CONNECT_RESP(&cmsg, m_wApplId, m_wIntNr++, cmsg.adr.adrController, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0); + if (CAPI_PUT_CMSG(&cmsg) != CapiNoError) + throw capiError("CONNECT_RESP failed..."); + //cut header from number (2 chars) if there is a number - leading 0 ist missing diff --git a/net-misc/capiisdnmon/files/digest-capiisdnmon-0.42 b/net-misc/capiisdnmon/files/digest-capiisdnmon-0.42 new file mode 100644 index 000000000000..97a8e47c034d --- /dev/null +++ b/net-misc/capiisdnmon/files/digest-capiisdnmon-0.42 @@ -0,0 +1 @@ +MD5 306ce1e14dee0079788581ae1dfb9fbf capiisdnmon-0.42.tar.gz 79945 diff --git a/net-misc/capiisdnmon/metadata.xml b/net-misc/capiisdnmon/metadata.xml new file mode 100644 index 000000000000..ffd82e320fbe --- /dev/null +++ b/net-misc/capiisdnmon/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-dialup</herd> +<longdescription>A Capi 2.0 Isdn CallMonitor with ldap name resolution</longdescription> +</pkgmetadata> |