summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2006-03-02 00:31:33 +0000
committerStefan Knoblich <stkn@gentoo.org>2006-03-02 00:31:33 +0000
commit0463485489a12729362e65604f5308a95a3b30ca (patch)
treefb9617e57d1ac83ff8cc49b703203c08890c2963 /net-misc/asterisk-chan_sccp
parentVersion bump, copied from gentoo-voip overlay. (diff)
downloadgentoo-2-0463485489a12729362e65604f5308a95a3b30ca.tar.gz
gentoo-2-0463485489a12729362e65604f5308a95a3b30ca.tar.bz2
gentoo-2-0463485489a12729362e65604f5308a95a3b30ca.zip
Version bump, copied from gentoo-voip overlay.
(Portage version: 2.0.53)
Diffstat (limited to 'net-misc/asterisk-chan_sccp')
-rw-r--r--net-misc/asterisk-chan_sccp/ChangeLog10
-rw-r--r--net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20060204.ebuild54
-rw-r--r--net-misc/asterisk-chan_sccp/files/digest-asterisk-chan_sccp-0.0.200602043
3 files changed, 65 insertions, 2 deletions
diff --git a/net-misc/asterisk-chan_sccp/ChangeLog b/net-misc/asterisk-chan_sccp/ChangeLog
index 2c83816eee80..ec30332b515a 100644
--- a/net-misc/asterisk-chan_sccp/ChangeLog
+++ b/net-misc/asterisk-chan_sccp/ChangeLog
@@ -1,6 +1,12 @@
# 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.14 2005/12/03 01:03:11 stkn Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_sccp/ChangeLog,v 1.15 2006/03/02 00:29:02 stkn Exp $
+
+*asterisk-chan_sccp-0.0.20060204 (02 Mar 2006)
+
+ 02 Mar 2006; Stefan Knoblich <stkn@gentoo.org>
+ +asterisk-chan_sccp-0.0.20060204.ebuild:
+ Version bump.
*asterisk-chan_sccp-0.0.20051125 (03 Dec 2005)
diff --git a/net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20060204.ebuild b/net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20060204.ebuild
new file mode 100644
index 000000000000..fa266ba387e5
--- /dev/null
+++ b/net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20060204.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 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.20060204.ebuild,v 1.1 2006/03/02 00:29:02 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-20051118-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.20060204 b/net-misc/asterisk-chan_sccp/files/digest-asterisk-chan_sccp-0.0.20060204
new file mode 100644
index 000000000000..1accd707bd93
--- /dev/null
+++ b/net-misc/asterisk-chan_sccp/files/digest-asterisk-chan_sccp-0.0.20060204
@@ -0,0 +1,3 @@
+MD5 583bb6f78223450c616ab7f6fed2a637 chan_sccp-20060204.tar.bz2 68903
+RMD160 b8849f3e037a9e4e2a3e1a178bc08f45954c1bd2 chan_sccp-20060204.tar.bz2 68903
+SHA256 ab6e9ac765cf6020a825f1af7f66652a8bb74a47ea0ad2fed18d9bf4fb732b03 chan_sccp-20060204.tar.bz2 68903