summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2006-05-06 15:23:38 +0000
committerStefan Knoblich <stkn@gentoo.org>2006-05-06 15:23:38 +0000
commit27c7c90a0cfe4e125cc2e5bed573fe46e4744cc0 (patch)
tree136b418e59cae541697ffd0eee699c8210fef6a8 /net-misc
parentVersion bump, 0.6.4 is asterisk-1.2.x only, 0.6.5 verified to compile with 1.... (diff)
downloadhistorical-27c7c90a0cfe4e125cc2e5bed573fe46e4744cc0.tar.gz
historical-27c7c90a0cfe4e125cc2e5bed573fe46e4744cc0.tar.bz2
historical-27c7c90a0cfe4e125cc2e5bed573fe46e4744cc0.zip
Version bump, 20060120 verified to compile with asterisk-1.2.x, block unsupported versions in DEPEND.
Package-Manager: portage-2.1_pre10
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/asterisk-app_conference/ChangeLog13
-rw-r--r--net-misc/asterisk-app_conference/asterisk-app_conference-0.0.1_pre20050506.ebuild6
-rw-r--r--net-misc/asterisk-app_conference/asterisk-app_conference-0.0.1_pre20060210.ebuild43
-rw-r--r--net-misc/asterisk-app_conference/files/app_conference-20060210-astcfg.diff83
-rw-r--r--net-misc/asterisk-app_conference/files/digest-asterisk-app_conference-0.0.1_pre200505062
-rw-r--r--net-misc/asterisk-app_conference/files/digest-asterisk-app_conference-0.0.1_pre200602103
-rw-r--r--net-misc/asterisk-app_event/ChangeLog11
-rw-r--r--net-misc/asterisk-app_event/asterisk-app_event-20050627.ebuild7
-rw-r--r--net-misc/asterisk-app_event/asterisk-app_event-20060120.ebuild38
-rw-r--r--net-misc/asterisk-app_event/files/digest-asterisk-app_event-200506272
-rw-r--r--net-misc/asterisk-app_event/files/digest-asterisk-app_event-200601203
-rw-r--r--net-misc/asterisk-app_intercept/ChangeLog13
-rw-r--r--net-misc/asterisk-app_intercept/asterisk-app_intercept-20050623.ebuild7
-rw-r--r--net-misc/asterisk-app_intercept/asterisk-app_intercept-20050828.ebuild7
-rw-r--r--net-misc/asterisk-app_intercept/asterisk-app_intercept-20060120.ebuild38
-rw-r--r--net-misc/asterisk-app_intercept/files/digest-asterisk-app_intercept-200506232
-rw-r--r--net-misc/asterisk-app_intercept/files/digest-asterisk-app_intercept-200508282
-rw-r--r--net-misc/asterisk-app_intercept/files/digest-asterisk-app_intercept-200601203
-rw-r--r--net-misc/asterisk-cdr_shell/ChangeLog11
-rw-r--r--net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild7
-rw-r--r--net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20060120.ebuild49
-rw-r--r--net-misc/asterisk-cdr_shell/files/digest-asterisk-cdr_shell-200506262
-rw-r--r--net-misc/asterisk-cdr_shell/files/digest-asterisk-cdr_shell-200601203
23 files changed, 332 insertions, 23 deletions
diff --git a/net-misc/asterisk-app_conference/ChangeLog b/net-misc/asterisk-app_conference/ChangeLog
index 61c5c89a0cdf..82493af382bf 100644
--- a/net-misc/asterisk-app_conference/ChangeLog
+++ b/net-misc/asterisk-app_conference/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for net-misc/asterisk-app_conference
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_conference/ChangeLog,v 1.4 2005/09/19 18:36:20 stkn Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_conference/ChangeLog,v 1.5 2006/05/06 15:18:49 stkn Exp $
+
+*asterisk-app_conference-0.0.1_pre20060210 (06 May 2006)
+
+ 06 May 2006; Stefan Knoblich <stkn@gentoo.org>
+ +files/app_conference-20060210-astcfg.diff,
+ asterisk-app_conference-0.0.1_pre20050506.ebuild,
+ +asterisk-app_conference-0.0.1_pre20060210.ebuild:
+ Version bump, 20060120 verified to compile with asterisk-1.2.x, block
+ unsupported versions in DEPEND.
19 Sep 2005; Stefan Knoblich <stkn@gentoo.org>
asterisk-app_conference-0.0.1_pre20050506.ebuild:
diff --git a/net-misc/asterisk-app_conference/asterisk-app_conference-0.0.1_pre20050506.ebuild b/net-misc/asterisk-app_conference/asterisk-app_conference-0.0.1_pre20050506.ebuild
index d8029cc17f9b..4b9debe34d76 100644
--- a/net-misc/asterisk-app_conference/asterisk-app_conference-0.0.1_pre20050506.ebuild
+++ b/net-misc/asterisk-app_conference/asterisk-app_conference-0.0.1_pre20050506.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_conference/asterisk-app_conference-0.0.1_pre20050506.ebuild,v 1.4 2005/09/19 18:36:20 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_conference/asterisk-app_conference-0.0.1_pre20050506.ebuild,v 1.5 2006/05/06 15:18:49 stkn Exp $
inherit eutils
@@ -20,7 +20,7 @@ IUSE=""
# depends on glibc's iconv support
DEPEND="sys-libs/glibc
>=net-misc/asterisk-1.0.5-r1
- !>=net-misc/asterisk-1.1.0"
+ !>=net-misc/asterisk-1.2.0"
S=${WORKDIR}/${MY_PN}
diff --git a/net-misc/asterisk-app_conference/asterisk-app_conference-0.0.1_pre20060210.ebuild b/net-misc/asterisk-app_conference/asterisk-app_conference-0.0.1_pre20060210.ebuild
new file mode 100644
index 000000000000..10bd5e9d0e51
--- /dev/null
+++ b/net-misc/asterisk-app_conference/asterisk-app_conference-0.0.1_pre20060210.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_conference/asterisk-app_conference-0.0.1_pre20060210.ebuild,v 1.1 2006/05/06 15:18:49 stkn Exp $
+
+inherit eutils
+
+MY_PN="app_conference"
+MY_P="${MY_PN}-${PV/0.0.1_pre/}"
+
+DESCRIPTION="Asterisk application plugin for conferences"
+HOMEPAGE="http://iaxclient.sourceforge.net/"
+SRC_URI="http://www.netdomination.org/pub/asterisk/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE=""
+
+# depends on glibc's iconv support
+DEPEND="sys-libs/glibc
+ >=net-misc/asterisk-1.2.0
+ !=net-misc/asterisk-1.0*"
+
+S=${WORKDIR}/${MY_PN}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ # use asterisk-config...
+ epatch ${FILESDIR}/${MY_PN}-20060210-astcfg.diff
+}
+
+src_compile() {
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ dodoc README LICENSE
+}
diff --git a/net-misc/asterisk-app_conference/files/app_conference-20060210-astcfg.diff b/net-misc/asterisk-app_conference/files/app_conference-20060210-astcfg.diff
new file mode 100644
index 000000000000..f2f2af69ad13
--- /dev/null
+++ b/net-misc/asterisk-app_conference/files/app_conference-20060210-astcfg.diff
@@ -0,0 +1,83 @@
+--- app_conference/Makefile.orig 2005-10-27 19:53:35.000000000 +0200
++++ app_conference/Makefile 2006-02-11 00:07:01.000000000 +0100
+@@ -17,10 +17,11 @@
+ # app_conference defines which can be passed on the command-line
+ #
+
+-INSTALL_PREFIX := /opt/horizon
+-INSTALL_MODULES_DIR := $(INSTALL_PREFIX)/lib/asterisk/modules
++DESTDIR :=
++INSTALL_MODULES_DIR := $(shell /usr/bin/asterisk-config --modulesdir)
++INSTALL_CONFIG_DIR := $(shell /usr/bin/asterisk-config --sysconfdir)
+
+-ASTERISK_INCLUDE_DIR := $(HOME)/local/asterisk/asterisk/include
++ASTERISK_INCLUDE_DIR := $(shell /usr/bin/asterisk-config --includedir)
+
+ # turn app_conference debugging on or off ( 0 == OFF, 1 == ON )
+ APP_CONFERENCE_DEBUG := 1
+@@ -43,28 +44,16 @@
+ INSTALL = install
+ CC = gcc
+
+-INCLUDE = -I$(ASTERISK_INCLUDE_DIR)
++# skip asterisk includes if they are in /usr/include/asterisk
++ifneq ($(shell dirname $(ASTERISK_INCLUDE_DIR)), /usr/include)
++INCLUDE = -I$(ASTERISK_INCLUDE_DIR)
++endif
++
+ LIBS = -ldl -lpthread -lm
+ DEBUG := -g
+
+-CFLAGS = -pipe -Wall -Wmissing-prototypes -Wmissing-declarations $(DEBUG) $(INCLUDE) -D_REENTRANT -D_GNU_SOURCE
+-#CFLAGS += -O2
+-#CFLAGS += -O3 -march=pentium3 -msse -mfpmath=sse,387 -ffast-math
+-# PERF: below is 10% faster than -O2 or -O3 alone.
+-#CFLAGS += -O3 -ffast-math -funroll-loops
+-# below is another 5% faster or so.
+-CFLAGS += -O3 -ffast-math -funroll-all-loops -fprefetch-loop-arrays -fsingle-precision-constant
+-
+-# this is fun for PPC
+-#CFLAGS += -mcpu=7450 -faltivec -mabi=altivec -mdynamic-no-pic
+-
+-# this is fun for x86
+-CFLAGS += -march=pentium3 -msse -mfpmath=sse,387
+-
+-
+-# adding -msse -mfpmath=sse has little effect.
+-#CFLAGS += -O3 -msse -mfpmath=sse
+-#CFLAGS += $(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi)
++CFLAGS += -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations $(DEBUG) $(INCLUDE) -D_REENTRANT -D_GNU_SOURCE
++
+ CFLAGS += $(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi)
+ CFLAGS += -DCRYPTO
+
+@@ -102,16 +91,22 @@
+ rm -f *.so *.o $(OBJS)
+
+ app_conference.so : $(OBJS)
+- $(CC) -pg -shared -Xlinker -x -o $@ $(OBJS)
++ $(CC) -shared -Xlinker -x -o $@ $(OBJS)
+
+ vad_test: vad_test.o libspeex/preprocess.o libspeex/misc.o libspeex/smallft.o
+ $(CC) $(PROFILE) -o $@ $^ -lm
+
+ install: all
+- for x in $(SHAREDOS); do $(INSTALL) -m 755 $$x $(INSTALL_MODULES_DIR) ; done
+- /var/horizon/mojo/lib/horizoncmd restart asterisk
+-
+-# config: all
+-# cp conf.conf /etc/asterisk/
+-
++ if [ ! -d ${DESTDIR}${INSTALL_MODULES_DIR} ]; then \
++ $(INSTALL) -m 755 -d ${DESTDIR}${INSTALL_MODULES_DIR} ; \
++ fi
++ for x in $(SHAREDOS); do \
++ $(INSTALL) -m 755 $$x ${DESTDIR}$(INSTALL_MODULES_DIR) ; \
++ done
++
++#config: all
++# if [ ! -d ${DESTDIR}${INSTALL_CONFIG_DIR} ]; then \
++# $(INSTALL) -m 755 -d ${DESTDIR}${INSTALL_CONFIG_DIR} ; \
++# fi
++# $(INSTALL) -m 640 conf.conf ${DESTDIR}${INSTALL_CONFIG_DIR}
+
diff --git a/net-misc/asterisk-app_conference/files/digest-asterisk-app_conference-0.0.1_pre20050506 b/net-misc/asterisk-app_conference/files/digest-asterisk-app_conference-0.0.1_pre20050506
index 668da5b45814..35e928d54516 100644
--- a/net-misc/asterisk-app_conference/files/digest-asterisk-app_conference-0.0.1_pre20050506
+++ b/net-misc/asterisk-app_conference/files/digest-asterisk-app_conference-0.0.1_pre20050506
@@ -1 +1,3 @@
MD5 c03c84806fca2827d8aaf17f8d26a11d app_conference-0.0.1_pre20050506.tar.bz2 45738
+RMD160 21b8db200398e88f0660063b43ec083976280575 app_conference-0.0.1_pre20050506.tar.bz2 45738
+SHA256 f83d6d48342fa1a0c2305dc1194ad283093f29fa7a9a442c19faa35691e7eccd app_conference-0.0.1_pre20050506.tar.bz2 45738
diff --git a/net-misc/asterisk-app_conference/files/digest-asterisk-app_conference-0.0.1_pre20060210 b/net-misc/asterisk-app_conference/files/digest-asterisk-app_conference-0.0.1_pre20060210
new file mode 100644
index 000000000000..4651675a8120
--- /dev/null
+++ b/net-misc/asterisk-app_conference/files/digest-asterisk-app_conference-0.0.1_pre20060210
@@ -0,0 +1,3 @@
+MD5 800e66d6e1e188ce36fb4a73b8417a04 app_conference-20060210.tar.bz2 47454
+RMD160 1bb11d0baf6ab58fb7e60da40879012c7c7044d1 app_conference-20060210.tar.bz2 47454
+SHA256 e7f99eb6786baf70ed416e3f1a7c2ed7c916971bc5c85367a08fdbc590f24b82 app_conference-20060210.tar.bz2 47454
diff --git a/net-misc/asterisk-app_event/ChangeLog b/net-misc/asterisk-app_event/ChangeLog
index bb4f71533e67..eb96f699f149 100644
--- a/net-misc/asterisk-app_event/ChangeLog
+++ b/net-misc/asterisk-app_event/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/asterisk-app_event
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_event/ChangeLog,v 1.3 2005/09/19 18:34:53 stkn Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_event/ChangeLog,v 1.4 2006/05/06 15:21:32 stkn Exp $
+
+*asterisk-app_event-20060120 (06 May 2006)
+
+ 06 May 2006; Stefan Knoblich <stkn@gentoo.org>
+ asterisk-app_event-20050627.ebuild, +asterisk-app_event-20060120.ebuild:
+ Version bump, 20060120 verified to compile with asterisk-1.2.x, block
+ unsupported versions in DEPEND.
19 Sep 2005; Stefan Knoblich <stkn@gentoo.org>
asterisk-app_event-20050627.ebuild:
diff --git a/net-misc/asterisk-app_event/asterisk-app_event-20050627.ebuild b/net-misc/asterisk-app_event/asterisk-app_event-20050627.ebuild
index 933c09cc89c4..1ef9b926412d 100644
--- a/net-misc/asterisk-app_event/asterisk-app_event-20050627.ebuild
+++ b/net-misc/asterisk-app_event/asterisk-app_event-20050627.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_event/asterisk-app_event-20050627.ebuild,v 1.3 2005/09/19 18:34:53 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_event/asterisk-app_event-20050627.ebuild,v 1.4 2006/05/06 15:21:32 stkn Exp $
inherit eutils
@@ -14,7 +14,8 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc x86"
-DEPEND=">=net-misc/asterisk-1.0.7-r1"
+DEPEND=">=net-misc/asterisk-1.0.7-r1
+ !>=net-misc/asterisk-1.2.0"
S=${WORKDIR}/${MY_PN}
diff --git a/net-misc/asterisk-app_event/asterisk-app_event-20060120.ebuild b/net-misc/asterisk-app_event/asterisk-app_event-20060120.ebuild
new file mode 100644
index 000000000000..ac99a02db9d5
--- /dev/null
+++ b/net-misc/asterisk-app_event/asterisk-app_event-20060120.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_event/asterisk-app_event-20060120.ebuild,v 1.1 2006/05/06 15:21:32 stkn Exp $
+
+inherit eutils
+
+MY_PN="app_event"
+
+DESCRIPTION="Asterisk plugin to generate a manger event from the dialplan"
+HOMEPAGE="http://www.pbxfreeware.org/"
+SRC_URI="http://www.netdomination.org/pub/asterisk/${P}.tar.bz2
+ mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+
+DEPEND=">=net-misc/asterisk-1.2.0
+ !=net-misc/asterisk-1.0*"
+
+S=${WORKDIR}/${MY_PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # use asterisk-config
+ epatch ${FILESDIR}/${MY_PN}-20050627-astcfg.diff
+}
+
+src_compile() {
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ insinto /usr/$(get_libdir)/asterisk/modules
+ doins app_event.so
+}
diff --git a/net-misc/asterisk-app_event/files/digest-asterisk-app_event-20050627 b/net-misc/asterisk-app_event/files/digest-asterisk-app_event-20050627
index 18d1814b0075..3d01022ba214 100644
--- a/net-misc/asterisk-app_event/files/digest-asterisk-app_event-20050627
+++ b/net-misc/asterisk-app_event/files/digest-asterisk-app_event-20050627
@@ -1 +1,3 @@
MD5 eb35a22b63e341d22d7a89e78c6fe7b3 asterisk-app_event-20050627.tar.bz2 1471
+RMD160 d87027e4bbce4fed9d7d029f549bbe2ed9aa012a asterisk-app_event-20050627.tar.bz2 1471
+SHA256 ed38bac5b34865b0c6d63eb096fb9a1c5024d377f1516f11d96cbfab2dc4032f asterisk-app_event-20050627.tar.bz2 1471
diff --git a/net-misc/asterisk-app_event/files/digest-asterisk-app_event-20060120 b/net-misc/asterisk-app_event/files/digest-asterisk-app_event-20060120
new file mode 100644
index 000000000000..4b0f051dc8f5
--- /dev/null
+++ b/net-misc/asterisk-app_event/files/digest-asterisk-app_event-20060120
@@ -0,0 +1,3 @@
+MD5 f2e965a62364f7294ef4f2b648a6d1e8 asterisk-app_event-20060120.tar.bz2 1480
+RMD160 b5df0b3c16bd89f14c79509a03937f55b19527ab asterisk-app_event-20060120.tar.bz2 1480
+SHA256 2eaf30e7fa782c869c8c79489c2d9ffbc74e72c7dd2ccd02199acd23fb9b3e70 asterisk-app_event-20060120.tar.bz2 1480
diff --git a/net-misc/asterisk-app_intercept/ChangeLog b/net-misc/asterisk-app_intercept/ChangeLog
index 98369fb6d27a..df727cfcc290 100644
--- a/net-misc/asterisk-app_intercept/ChangeLog
+++ b/net-misc/asterisk-app_intercept/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for net-misc/asterisk-app_intercept
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_intercept/ChangeLog,v 1.3 2005/08/29 02:31:35 stkn Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_intercept/ChangeLog,v 1.4 2006/05/06 15:23:37 stkn Exp $
+
+*asterisk-app_intercept-20060120 (06 May 2006)
+
+ 06 May 2006; Stefan Knoblich <stkn@gentoo.org>
+ asterisk-app_intercept-20050623.ebuild,
+ asterisk-app_intercept-20050828.ebuild,
+ +asterisk-app_intercept-20060120.ebuild:
+ Version bump, 20060120 verified to compile with asterisk-1.2.x, block
+ unsupported versions in DEPEND.
*asterisk-app_intercept-20050828 (29 Aug 2005)
diff --git a/net-misc/asterisk-app_intercept/asterisk-app_intercept-20050623.ebuild b/net-misc/asterisk-app_intercept/asterisk-app_intercept-20050623.ebuild
index a88d6a9e19d9..7e80323204a8 100644
--- a/net-misc/asterisk-app_intercept/asterisk-app_intercept-20050623.ebuild
+++ b/net-misc/asterisk-app_intercept/asterisk-app_intercept-20050623.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_intercept/asterisk-app_intercept-20050623.ebuild,v 1.2 2005/07/02 09:34:14 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_intercept/asterisk-app_intercept-20050623.ebuild,v 1.3 2006/05/06 15:23:37 stkn Exp $
inherit eutils
@@ -14,7 +14,8 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"
-DEPEND=">=net-misc/asterisk-1.0.7-r1"
+DEPEND=">=net-misc/asterisk-1.0.7-r1
+ !>=net-misc/asterisk-1.2.0"
S=${WORKDIR}/${MY_PN}
diff --git a/net-misc/asterisk-app_intercept/asterisk-app_intercept-20050828.ebuild b/net-misc/asterisk-app_intercept/asterisk-app_intercept-20050828.ebuild
index 98b15aae59f4..21f660c40f9f 100644
--- a/net-misc/asterisk-app_intercept/asterisk-app_intercept-20050828.ebuild
+++ b/net-misc/asterisk-app_intercept/asterisk-app_intercept-20050828.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_intercept/asterisk-app_intercept-20050828.ebuild,v 1.1 2005/08/29 02:31:35 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_intercept/asterisk-app_intercept-20050828.ebuild,v 1.2 2006/05/06 15:23:37 stkn Exp $
inherit eutils
@@ -15,7 +15,8 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"
-DEPEND=">=net-misc/asterisk-1.0.7-r1"
+DEPEND=">=net-misc/asterisk-1.0.7-r1
+ !>=net-misc/asterisk-1.2.0"
S=${WORKDIR}/${MY_PN}
diff --git a/net-misc/asterisk-app_intercept/asterisk-app_intercept-20060120.ebuild b/net-misc/asterisk-app_intercept/asterisk-app_intercept-20060120.ebuild
new file mode 100644
index 000000000000..6d6b2169a6b7
--- /dev/null
+++ b/net-misc/asterisk-app_intercept/asterisk-app_intercept-20060120.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_intercept/asterisk-app_intercept-20060120.ebuild,v 1.1 2006/05/06 15:23:37 stkn Exp $
+
+inherit eutils
+
+MY_PN="app_intercept"
+
+DESCRIPTION="Asterisk plugin to intercept an unanswered call"
+HOMEPAGE="http://www.pbxfreeware.org/"
+SRC_URI="http://www.netdomination.org/pub/asterisk/${P}.tar.bz2
+ mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+
+DEPEND=">=net-misc/asterisk-1.2.0
+ !=net-misc/asterisk-1.0*"
+
+S=${WORKDIR}/${MY_PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # use asterisk-config
+ epatch ${FILESDIR}/${MY_PN}-20050623-astcfg.diff
+}
+
+src_compile() {
+ emake -j1 || die "make failed"
+}
+
+src_install() {
+ insinto /usr/$(get_libdir)/asterisk/modules
+ doins app_intercept.so
+}
diff --git a/net-misc/asterisk-app_intercept/files/digest-asterisk-app_intercept-20050623 b/net-misc/asterisk-app_intercept/files/digest-asterisk-app_intercept-20050623
index 21274c893232..44189e529f3d 100644
--- a/net-misc/asterisk-app_intercept/files/digest-asterisk-app_intercept-20050623
+++ b/net-misc/asterisk-app_intercept/files/digest-asterisk-app_intercept-20050623
@@ -1 +1,3 @@
MD5 0c7ba8cbd6b2991edd5dfb8f5630fe25 asterisk-app_intercept-20050623.tar.bz2 1737
+RMD160 c18c652465646a002b660bbc8b823dc7d038d88e asterisk-app_intercept-20050623.tar.bz2 1737
+SHA256 4657ae84c6ac27502c18048dcc0e5c85429fcb6b11847b882827d6918238d4c7 asterisk-app_intercept-20050623.tar.bz2 1737
diff --git a/net-misc/asterisk-app_intercept/files/digest-asterisk-app_intercept-20050828 b/net-misc/asterisk-app_intercept/files/digest-asterisk-app_intercept-20050828
index ac652269c1cf..e0a02dfbaa3e 100644
--- a/net-misc/asterisk-app_intercept/files/digest-asterisk-app_intercept-20050828
+++ b/net-misc/asterisk-app_intercept/files/digest-asterisk-app_intercept-20050828
@@ -1 +1,3 @@
MD5 9b0f28aaa59195f5c071771495783f40 asterisk-app_intercept-20050828.tar.bz2 1802
+RMD160 3c91ace1945340a57bd57b69a27dd778cc00232e asterisk-app_intercept-20050828.tar.bz2 1802
+SHA256 91141c62bc93a570ec5bc26d0cebcd1796aa2603c3613486ced1632986d102d5 asterisk-app_intercept-20050828.tar.bz2 1802
diff --git a/net-misc/asterisk-app_intercept/files/digest-asterisk-app_intercept-20060120 b/net-misc/asterisk-app_intercept/files/digest-asterisk-app_intercept-20060120
new file mode 100644
index 000000000000..a4d343ca214c
--- /dev/null
+++ b/net-misc/asterisk-app_intercept/files/digest-asterisk-app_intercept-20060120
@@ -0,0 +1,3 @@
+MD5 91b46e122fe958ed8b08e8066eb4aa94 asterisk-app_intercept-20060120.tar.bz2 1842
+RMD160 04d4a58294e5b2f416eb839962646aacad7ec599 asterisk-app_intercept-20060120.tar.bz2 1842
+SHA256 04e71a13061ff2210ff23c6e9835a102313529c7b8435df7d4bb16bb08fd3902 asterisk-app_intercept-20060120.tar.bz2 1842
diff --git a/net-misc/asterisk-cdr_shell/ChangeLog b/net-misc/asterisk-cdr_shell/ChangeLog
index 9670d085b5b6..500760103442 100644
--- a/net-misc/asterisk-cdr_shell/ChangeLog
+++ b/net-misc/asterisk-cdr_shell/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/asterisk-cdr_shell
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-cdr_shell/ChangeLog,v 1.3 2005/08/16 16:45:07 stkn Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-cdr_shell/ChangeLog,v 1.4 2006/05/06 15:16:25 stkn Exp $
+
+*asterisk-cdr_shell-20060120 (06 May 2006)
+
+ 06 May 2006; Stefan Knoblich <stkn@gentoo.org>
+ asterisk-cdr_shell-20050626.ebuild, +asterisk-cdr_shell-20060120.ebuild:
+ Version bump, 20060120 verified to compile with asterisk-1.2.x, block
+ unsupported versions in DEPEND.
16 Aug 2005; Stefan Knoblich <stkn@gentoo.org>
+files/cdr_shell-20050626-ast1.2.diff, asterisk-cdr_shell-20050626.ebuild:
diff --git a/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild b/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild
index 54c6bb591712..2a479417a18a 100644
--- a/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild
+++ b/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild,v 1.3 2005/08/16 16:45:07 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild,v 1.4 2006/05/06 15:16:25 stkn Exp $
inherit eutils
@@ -14,7 +14,8 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"
-DEPEND=">=net-misc/asterisk-1.0.7-r1"
+DEPEND=">=net-misc/asterisk-1.0.7-r1
+ !>=net-misc/asterisk-1.2.0"
S=${WORKDIR}/${MY_PN}
diff --git a/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20060120.ebuild b/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20060120.ebuild
new file mode 100644
index 000000000000..6b49755209b0
--- /dev/null
+++ b/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20060120.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20060120.ebuild,v 1.1 2006/05/06 15:16:25 stkn Exp $
+
+inherit eutils toolchain-funcs
+
+MY_PN="cdr_shell"
+
+DESCRIPTION="Asterisk plugin to use an external shell script for cdr handling"
+HOMEPAGE="http://www.pbxfreeware.org/"
+SRC_URI="http://www.netdomination.org/pub/asterisk/${P}.tar.bz2
+ mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+
+DEPEND=">=net-misc/asterisk-1.2.0
+ !=net-misc/asterisk-1.0*"
+
+S=${WORKDIR}/${MY_PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # use asterisk-config
+ epatch ${FILESDIR}/${MY_PN}-20050626-astcfg.diff
+
+ # <asterisk.h> -> <asterisk/asterisk.h>
+ sed -i -e "s:<asterisk\.h>:<asterisk/asterisk.h>:" \
+ cdr_shell.c
+}
+
+src_compile() {
+ emake -j1 || die "make failed"
+}
+
+src_install() {
+ insinto /usr/$(get_libdir)/asterisk/modules
+ doins cdr_shell.so
+
+ insinto /etc/asterisk
+ doins ${FILESDIR}/cdr.conf
+
+ # fix permissions
+ chown -R root:asterisk ${D}etc/asterisk
+ chmod -R u=rwX,g=rX,o= ${D}etc/asterisk
+}
diff --git a/net-misc/asterisk-cdr_shell/files/digest-asterisk-cdr_shell-20050626 b/net-misc/asterisk-cdr_shell/files/digest-asterisk-cdr_shell-20050626
index 39c48e71ac38..4eaeb2a49ae3 100644
--- a/net-misc/asterisk-cdr_shell/files/digest-asterisk-cdr_shell-20050626
+++ b/net-misc/asterisk-cdr_shell/files/digest-asterisk-cdr_shell-20050626
@@ -1 +1,3 @@
MD5 98a327d774b60f49b7c823279206dcc1 asterisk-cdr_shell-20050626.tar.bz2 2505
+RMD160 e87c243c1b3220b5a2cf218c71d808e7747cf8b9 asterisk-cdr_shell-20050626.tar.bz2 2505
+SHA256 693cc7a50706770d4fcb218b17529aab0f204ea9287af62099a49e3913220c51 asterisk-cdr_shell-20050626.tar.bz2 2505
diff --git a/net-misc/asterisk-cdr_shell/files/digest-asterisk-cdr_shell-20060120 b/net-misc/asterisk-cdr_shell/files/digest-asterisk-cdr_shell-20060120
new file mode 100644
index 000000000000..d5ac00bf9bca
--- /dev/null
+++ b/net-misc/asterisk-cdr_shell/files/digest-asterisk-cdr_shell-20060120
@@ -0,0 +1,3 @@
+MD5 b5e028001e504a8460a82bbae614434d asterisk-cdr_shell-20060120.tar.bz2 2499
+RMD160 11a7563952868305a052702ad51a306fbfef0c07 asterisk-cdr_shell-20060120.tar.bz2 2499
+SHA256 cbfdd1f54dcc4eb5c4d23a90bbad82dad5e74e1f75a291155f0105c4544f783c asterisk-cdr_shell-20060120.tar.bz2 2499