summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-09-07 23:51:33 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-09-07 23:51:33 +0000
commitef01c42e2bcbddd125c6f81d8e68749a2148468c (patch)
tree5840246c5c94dcf79adfc42a4d9073acea441e28 /net-misc/asterisk-chan_sccp
parentFix lpc10 Makefile, closes (#84939). (see ChangeLog for details). (diff)
downloadgentoo-2-ef01c42e2bcbddd125c6f81d8e68749a2148468c.tar.gz
gentoo-2-ef01c42e2bcbddd125c6f81d8e68749a2148468c.tar.bz2
gentoo-2-ef01c42e2bcbddd125c6f81d8e68749a2148468c.zip
Version bump. Fixes to potential crashes and a one-way audio problem with older cisco phones.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-misc/asterisk-chan_sccp')
-rw-r--r--net-misc/asterisk-chan_sccp/ChangeLog9
-rw-r--r--net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20050906.ebuild54
-rw-r--r--net-misc/asterisk-chan_sccp/files/digest-asterisk-chan_sccp-0.0.200509061
3 files changed, 63 insertions, 1 deletions
diff --git a/net-misc/asterisk-chan_sccp/ChangeLog b/net-misc/asterisk-chan_sccp/ChangeLog
index 40e994a35e5e..0b22b66ffbb9 100644
--- a/net-misc/asterisk-chan_sccp/ChangeLog
+++ b/net-misc/asterisk-chan_sccp/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/asterisk-chan_sccp
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_sccp/ChangeLog,v 1.8 2005/09/02 20:17:18 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_sccp/ChangeLog,v 1.9 2005/09/07 23:51:33 stkn Exp $
+
+*asterisk-chan_sccp-0.0.20050906 (08 Sep 2005)
+
+ 08 Sep 2005; Stefan Knoblich <stkn@gentoo.org>
+ +asterisk-chan_sccp-0.0.20050906.ebuild:
+ Version bump. Fixes two potential crashes and a one-way audio problem with
+ older cisco phones.
02 Sep 2005; Stefan Knoblich <stkn@gentoo.org>
asterisk-chan_sccp-0.0.20050807.ebuild:
diff --git a/net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20050906.ebuild b/net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20050906.ebuild
new file mode 100644
index 000000000000..bf316ba6af31
--- /dev/null
+++ b/net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20050906.ebuild
@@ -0,0 +1,54 @@
+# 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_sccp/asterisk-chan_sccp-0.0.20050906.ebuild,v 1.1 2005/09/07 23:51:33 stkn Exp $
+
+inherit eutils
+
+IUSE="debug"
+
+MY_P="chan_sccp-${PV/0.0./}"
+
+DESCRIPTION="SCCP channel plugin for the Asterisk soft PBX"
+HOMEPAGE="http://chan-sccp.berlios.de/"
+SRC_URI="ftp://ftp.berlios.de/pub/chan-sccp/${MY_P}.tar.bz2"
+
+S="${WORKDIR}/${MY_P}"
+
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+LICENSE="GPL-2"
+
+DEPEND=">=net-misc/asterisk-1.0.5-r2"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/chan_sccp-20050902-gentoo.diff
+
+ if ! use debug; then
+ sed -i -e "s:^\(DEBUG=.*\):#\1:" Makefile
+ fi
+}
+
+src_compile() {
+ emake -j1 || die
+}
+
+src_install() {
+ emake INSTALL_PREFIX=${D} install || die
+
+ dodoc conf/* contrib/*
+
+ # fix permissions
+ if [[ -n "$(egetent group asterisk)" ]]; then
+ einfo "Fixing permissions..."
+ chown -R root:asterisk ${D}etc/asterisk
+ chmod -R u=rwX,g=rX,o= ${D}etc/asterisk
+ fi
+}
+
+pkg_postinst() {
+ ewarn "You have to disable asterisk's chan_skinny to use this module!"
+ einfo "Add \"noload => chan_skinny.so\" to ${ROOT}etc/asterisk/modules.conf"
+}
diff --git a/net-misc/asterisk-chan_sccp/files/digest-asterisk-chan_sccp-0.0.20050906 b/net-misc/asterisk-chan_sccp/files/digest-asterisk-chan_sccp-0.0.20050906
new file mode 100644
index 000000000000..4b03cae55a8f
--- /dev/null
+++ b/net-misc/asterisk-chan_sccp/files/digest-asterisk-chan_sccp-0.0.20050906
@@ -0,0 +1 @@
+MD5 b51aab92a4d2f0b5b871e5cd60849854 chan_sccp-20050906.tar.bz2 58397