summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRambaldi <rambaldi@xs4all.nl>2008-10-15 07:09:53 +0000
committerRambaldi <rambaldi@xs4all.nl>2008-10-15 07:09:53 +0000
commit39aa6d93ec508d9454178174a846c7a854dc2b79 (patch)
tree146de2638dd164d7b3e4f0f4907553bff0d8400a
parentnet-misc/asterisk-1.6.0: changed dahdi dependency to dahdi-tools (diff)
downloadvoip-39aa6d93ec508d9454178174a846c7a854dc2b79.tar.gz
voip-39aa6d93ec508d9454178174a846c7a854dc2b79.tar.bz2
voip-39aa6d93ec508d9454178174a846c7a854dc2b79.zip
net-misc/asterisk-1.4.22: added dahdi support
svn path=/trunk/; revision=731
-rw-r--r--net-misc/asterisk/ChangeLog3
-rw-r--r--net-misc/asterisk/Manifest4
-rw-r--r--net-misc/asterisk/asterisk-1.4.22-r1.ebuild (renamed from net-misc/asterisk/asterisk-1.4.22.ebuild)22
3 files changed, 24 insertions, 5 deletions
diff --git a/net-misc/asterisk/ChangeLog b/net-misc/asterisk/ChangeLog
index 804aaf3..4b1afb4 100644
--- a/net-misc/asterisk/ChangeLog
+++ b/net-misc/asterisk/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/skel.ChangeLog,v 1.2 2006/02/22 02:08:04 hd_brummy Exp $
+ 15 Oct 2008; Rambaldi <rambaldi@xs4all.nl> ++, -asterisk-1.4.22.ebuild:
+ net-misc/asterisk-1.4.22: added dahdi support
+
11 Oct 2008; Rambaldi <rambaldi@xs4all.nl> asterisk-1.6.0.ebuild:
net-misc/asterisk-1.6.0: changed dahdi dependency to dahdi-tools
diff --git a/net-misc/asterisk/Manifest b/net-misc/asterisk/Manifest
index a434c9a..c641f2a 100644
--- a/net-misc/asterisk/Manifest
+++ b/net-misc/asterisk/Manifest
@@ -15,7 +15,7 @@ DIST asterisk-1.4.21.2.tar.gz 11528693 RMD160 938c618d17aeef45a17d2fbe5293fbc13c
DIST asterisk-1.4.22.tar.gz 11598693 RMD160 4699c6963089fd196836f7f86f9827edc13c4397 SHA1 598d7fdf075a4e6154bc8910d3ed3995f39c9f23 SHA256 7a6d80ed8de3a1bfd7f2c3442ec5eb1da3eeaff6ace1a3c04578848181eee79a
DIST asterisk-1.6.0.tar.gz 13199481 RMD160 891bb54751965333e6a87de925e33d4c6da76095 SHA1 c96717d8cbb70b538b7b9183a76fd69c39543acc SHA256 742e91f3e69a7686c7c3c31b368d5e1c0b64a73afd5415e6753a7a02aa79ff93
EBUILD asterisk-1.4.21.2.ebuild 11269 RMD160 151426a64bfc64315f89ccd8d8617d86b6a7b254 SHA1 a549e825fb0b2a540c4228994539b9f981445844 SHA256 c648f2557d7a90dcfbb0b97bfbc23808f10f41a7450566b1ae7fc161b0a01eee
-EBUILD asterisk-1.4.22.ebuild 11269 RMD160 151426a64bfc64315f89ccd8d8617d86b6a7b254 SHA1 a549e825fb0b2a540c4228994539b9f981445844 SHA256 c648f2557d7a90dcfbb0b97bfbc23808f10f41a7450566b1ae7fc161b0a01eee
+EBUILD asterisk-1.4.22-r1.ebuild 11747 RMD160 81921f9c9d1149024c0393e3fa940867c84c6176 SHA1 94550298aa862f77cc8ea969d2094082f2cc154a SHA256 c91658e9a49b247d65c75322a47dc7440f937daaec112c73715b7fc5ae174f5c
EBUILD asterisk-1.6.0.ebuild 11057 RMD160 b352f8077b0a947d1065fc691592413582b5ef60 SHA1 8a92bef75ad981315166d016f72fbfff4f7650a6 SHA256 d973def41e8e4031388f68887c51af3d385d06a7da1b0155f11a07b82cf25777
-MISC ChangeLog 5556 RMD160 3a7d8d0a4b396f99c286f1cfac3042cd9076dba0 SHA1 1f9250bd274616284f1ad32de06e2de7fcc53b59 SHA256 a07e41fbed0dbf94091caa7878afc7d38387106e70465cdd08d344f48573e874
+MISC ChangeLog 5679 RMD160 9bf88a97588aa69e08a46bc9438330c9ceeb0608 SHA1 c9b081eebfbb7c328cd1831ee8ac5d9d4bc7fb86 SHA256 dc6ddf0442b21af02e85aab1c556b0f26a14d13ec8471d534c4ef2320e79ebec
MISC metadata.xml 139 RMD160 c84b2b78f85074cc5c7d26cb757d91c8384fa16a SHA1 00e3ae2ead875413d94aeafa5279646740c2c21d SHA256 5cdc1888ebc8807b9a37b1d33429c61cabe7415a4f240e21a4c2ff8eca7a34ed
diff --git a/net-misc/asterisk/asterisk-1.4.22.ebuild b/net-misc/asterisk/asterisk-1.4.22-r1.ebuild
index 1721a08..0ac6205 100644
--- a/net-misc/asterisk/asterisk-1.4.22.ebuild
+++ b/net-misc/asterisk/asterisk-1.4.22-r1.ebuild
@@ -14,7 +14,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="alsa +caps curl debug freetds h323 imap jabber kde keepsrc misdn mmx mysql newt nosamples odbc oss pic postgres qt3 radius snmp speex ssl sqlite static vorbis zaptel"
+IUSE="alsa +caps curl dahdi debug freetds h323 imap jabber kde keepsrc misdn mmx mysql newt nosamples odbc oss pic postgres qt3 radius snmp speex ssl sqlite static vorbis zaptel"
RDEPEND="virtual/libc
sys-libs/ncurses
@@ -40,12 +40,12 @@ RDEPEND="virtual/libc
vorbis? ( media-libs/libvorbis )
zaptel? ( >=net-libs/libpri-1.4.0
>=net-misc/zaptel-1.4.1 )
+ dahdi? ( >=net-libs/libpri-1.4.0
+ net-misc/dahdi-tools )
freetds? ( dev-db/freetds )
postgres? ( virtual/postgresql-base )"
DEPEND="${RDEPEND}"
-# sys-devel/flex
-# sys-devel/bison"
S="${WORKDIR}/${MY_P}"
@@ -89,6 +89,19 @@ get_available_modules() {
pkg_setup() {
local checkfailed=0 waitaftermsg=0
+ if use zaptel && use dahdi; then
+ eerror
+ eerror "Both zaptel and dahdi are requested, which are mutually exclusive."
+ eerror
+ die "Please remove the zaptel use flag."
+ fi
+
+ if use zaptel; then
+ ewarn "This is the last asterisk version with zaptel support."
+ ewarn "Zaptel is being replaced by dahdi. Please consider migrating to dahdi."
+ waitaftermsg=1
+ fi
+
if is_ast10update || is_ast12update; then
ewarn " Asterisk UPGRADE Warning"
ewarn ""
@@ -251,6 +264,9 @@ src_compile() {
$(use_with zaptel) \
$(use_with zaptel pri) \
$(use_with zaptel tonezone) \
+ $(use_with dahdi) \
+ $(use_with dahdi pri) \
+ $(use_with dahdi tonezone) \
$(use_with freetds tds) \
$(use_with postgres) || die "econf failed"