summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/asterisk-chan_capi/ChangeLog6
-rw-r--r--net-misc/asterisk-chan_capi/asterisk-chan_capi-0.3.5.ebuild15
-rw-r--r--net-misc/asterisk-chan_capi/files/digest-asterisk-chan_capi-0.3.51
3 files changed, 17 insertions, 5 deletions
diff --git a/net-misc/asterisk-chan_capi/ChangeLog b/net-misc/asterisk-chan_capi/ChangeLog
index c017436817c5..2a5f9b23f669 100644
--- a/net-misc/asterisk-chan_capi/ChangeLog
+++ b/net-misc/asterisk-chan_capi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/asterisk-chan_capi
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi/ChangeLog,v 1.1 2005/02/21 01:32:39 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi/ChangeLog,v 1.2 2005/03/29 15:29:47 stkn Exp $
+
+ 29 Mar 2005; Stefan Knoblich <stkn@gentoo.org>
+ asterisk-chan_capi-0.3.5.ebuild:
+ Added chan_capi fax patch from http://mlkj.net/asterisk/.
*asterisk-chan_capi-0.3.5 (21 Feb 2005)
diff --git a/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.3.5.ebuild b/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.3.5.ebuild
index 476bdc50537e..5dd16b25dfb2 100644
--- a/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.3.5.ebuild
+++ b/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.3.5.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.3.5.ebuild,v 1.1 2005/02/21 01:32:39 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.3.5.ebuild,v 1.2 2005/03/29 15:29:47 stkn Exp $
+
+IUSE="fax"
inherit eutils
@@ -8,14 +10,13 @@ MY_PN="chan_capi"
DESCRIPTION="CAPI2.0 channel module for Asterisk"
HOMEPAGE="http://www.junghanns.net/asterisk/"
-SRC_URI="http://www.junghanns.net/asterisk/downloads/${MY_PN}.${PV}.tar.gz"
+SRC_URI="http://www.junghanns.net/asterisk/downloads/${MY_PN}.${PV}.tar.gz
+ fax? ( http://mlkj.net/asterisk/${MY_PN}-${PV}-patch.tar.bz2 )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
-IUSE=""
-
DEPEND=">=net-misc/asterisk-1.0.5-r1
net-dialup/capi4k-utils"
@@ -26,6 +27,12 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/${MY_PN}-${PV}-gentoo.diff
+
+ if use fax; then
+ einfo "Enabling fax support"
+ epatch ${WORKDIR}/chan_capi.diff
+ cp ${WORKDIR}/app_capiFax.c ${S}
+ fi
}
src_compile() {
diff --git a/net-misc/asterisk-chan_capi/files/digest-asterisk-chan_capi-0.3.5 b/net-misc/asterisk-chan_capi/files/digest-asterisk-chan_capi-0.3.5
index 93626395ab32..0a3b563d3bc5 100644
--- a/net-misc/asterisk-chan_capi/files/digest-asterisk-chan_capi-0.3.5
+++ b/net-misc/asterisk-chan_capi/files/digest-asterisk-chan_capi-0.3.5
@@ -1 +1,2 @@
MD5 516a053b9c49204da8fa625866e9e1c3 chan_capi.0.3.5.tar.gz 40825
+MD5 fb2dcbb4c80e8800fabcafac3b115675 chan_capi-0.3.5-patch.tar.bz2 4263