diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2006-03-02 00:31:33 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2006-03-02 00:31:33 +0000 |
commit | 86e243f2f16b40229b3b663b8fd2c2f810bad62f (patch) | |
tree | 177eeec1517339f7bb7af1415e3604e60f8a39b4 | |
parent | correcting bug #118123 (diff) | |
download | historical-86e243f2f16b40229b3b663b8fd2c2f810bad62f.tar.gz historical-86e243f2f16b40229b3b663b8fd2c2f810bad62f.tar.bz2 historical-86e243f2f16b40229b3b663b8fd2c2f810bad62f.zip |
Version bump, copied from gentoo-voip overlay.
Package-Manager: portage-2.0.53
11 files changed, 286 insertions, 5 deletions
diff --git a/net-misc/asterisk-app_rtxfax/ChangeLog b/net-misc/asterisk-app_rtxfax/ChangeLog index b9ab02e610dd..d240c23ccc77 100644 --- a/net-misc/asterisk-app_rtxfax/ChangeLog +++ b/net-misc/asterisk-app_rtxfax/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-misc/asterisk-app_rtxfax -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_rtxfax/ChangeLog,v 1.5 2005/09/08 00:41:30 stkn Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_rtxfax/ChangeLog,v 1.6 2006/03/02 00:24:07 stkn Exp $ + +*asterisk-app_rtxfax-0.0.2_pre25 (02 Mar 2006) + + 02 Mar 2006; Stefan Knoblich <stkn@gentoo.org> + +files/app_rtxfax-0.0.2_pre25-gentoo.diff, + +asterisk-app_rtxfax-0.0.2_pre25.ebuild: + Version bump. *asterisk-app_rtxfax-0.0.2_pre20 (08 Sep 2005) diff --git a/net-misc/asterisk-app_rtxfax/asterisk-app_rtxfax-0.0.2_pre25.ebuild b/net-misc/asterisk-app_rtxfax/asterisk-app_rtxfax-0.0.2_pre25.ebuild new file mode 100644 index 000000000000..b597d0f01c27 --- /dev/null +++ b/net-misc/asterisk-app_rtxfax/asterisk-app_rtxfax-0.0.2_pre25.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_rtxfax/asterisk-app_rtxfax-0.0.2_pre25.ebuild,v 1.1 2006/03/02 00:24:07 stkn Exp $ + +IUSE="" + +inherit eutils + +MY_PN="app_rtxfax" + +DESCRIPTION="Asterisk applications for sending and receiving faxes" +HOMEPAGE="http://www.soft-switch.org/" +#SRC_URI="mirror://gentoo/${P}.tar.bz2" +SRC_URI="http://www.netdomination.org/pub/asterisk/${P}.tar.bz2" + +RESTRICT="nomirror" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +DEPEND=">=media-libs/spandsp-0.0.2_pre20 + >=net-misc/asterisk-1.0.5-r1" + +S=${WORKDIR}/${MY_PN}-${PV} + +src_unpack() { + unpack ${A} + + cd ${S} + # use asterisk-config... + epatch ${FILESDIR}/${MY_PN}-0.0.2_pre25-gentoo.diff +} + +src_compile() { + emake -j1 || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc README +} diff --git a/net-misc/asterisk-app_rtxfax/files/app_rtxfax-0.0.2_pre25-gentoo.diff b/net-misc/asterisk-app_rtxfax/files/app_rtxfax-0.0.2_pre25-gentoo.diff new file mode 100644 index 000000000000..6d681e334977 --- /dev/null +++ b/net-misc/asterisk-app_rtxfax/files/app_rtxfax-0.0.2_pre25-gentoo.diff @@ -0,0 +1,78 @@ +--- /dev/null 1970-01-01 01:00:00.000000000 +0100 ++++ Makefile 2005-09-05 23:59:22.000000000 +0200 +@@ -0,0 +1,27 @@ ++.EXPORT_ALL_VARIABLES: ++ ++CC=cc ++INSTALL=install ++AST_CFG=/usr/bin/asterisk-config ++ ++AST_INCLUDE_DIR=/usr/include/asterisk ++AST_CONFIG_DIR=/etc/asterisk ++AST_MODULES_DIR=/usr/lib/asterisk/modules ++ ++TARGETS:=app_rxfax.so app_txfax.so ++ ++CFLAGS=$(shell $(AST_CFG) --cflags) ++SOLINK=$(shell $(AST_CFG) --solink) ++LIBS=-lspandsp -ltiff ++ ++SUBDIR=$(shell [ -f $(AST_INCLUDE_DIR)/channel_pvt.h ] && echo "asterisk-1.0.x" || echo "asterisk-1.2.x") ++ ++.PHONY: all install $(SUBDIR) ++ ++all: $(SUBDIR) ++ ++$(SUBDIR): ++ $(MAKE) -C $(SUBDIR) all ++ ++install: ++ $(MAKE) -C $(SUBDIR) install +--- /dev/null 1970-01-01 01:00:00.000000000 +0100 ++++ asterisk-1.0.x/Makefile 2005-09-06 00:00:05.000000000 +0200 +@@ -0,0 +1,10 @@ ++all: $(TARGETS) ++ ++$(TARGETS): $(patsubst %.so,%.c,$(TARGETS)) ++ $(CC) $(CFLAGS) $(SOLINK) -fPIC -o app_rxfax.so app_rxfax.c $(LIBS) ++ $(CC) $(CFLAGS) $(SOLINK) -fPIC -o app_txfax.so app_txfax.c $(LIBS) ++ ++install: ++ for x in $(TARGETS); do \ ++ $(INSTALL) -D -m 755 $$x $(DESTDIR)$(AST_MODULES_DIR)/$$x; \ ++ done +--- /dev/null 1970-01-01 01:00:00.000000000 +0100 ++++ asterisk-1.2.x/Makefile 2005-09-06 00:00:37.000000000 +0200 +@@ -0,0 +1,10 @@ ++all: $(TARGETS) ++ ++$(TARGETS): $(patsubst %.so,%.c,$(TARGETS)) ++ $(CC) $(CFLAGS) $(SOLINK) -fPIC -o app_rxfax.so app_rxfax.c $(LIBS) ++ $(CC) $(CFLAGS) $(SOLINK) -fPIC -o app_txfax.so app_txfax.c $(LIBS) ++ ++install: ++ for x in $(TARGETS); do \ ++ $(INSTALL) -D -m 755 $$x $(DESTDIR)$(AST_MODULES_DIR)/$$x; \ ++ done +--- asterisk-1.2.x/app_rxfax.c.orig 2006-01-15 16:45:53.000000000 +0100 ++++ asterisk-1.2.x/app_rxfax.c 2006-01-15 16:49:56.000000000 +0100 +@@ -21,7 +21,7 @@ + + #include <spandsp.h> + +-#include "asterisk.h" ++#include "asterisk/asterisk.h" + + ASTERISK_FILE_VERSION(__FILE__, "$Revision: 1.1 $") + +--- asterisk-1.2.x/app_txfax.c.orig 2006-01-15 16:45:59.000000000 +0100 ++++ asterisk-1.2.x/app_txfax.c 2006-01-15 16:50:04.000000000 +0100 +@@ -21,7 +21,7 @@ + + #include <spandsp.h> + +-#include "asterisk.h" ++#include "asterisk/asterisk.h" + + ASTERISK_FILE_VERSION(__FILE__, "$Revision: 1.1 $") + diff --git a/net-misc/asterisk-app_rtxfax/files/digest-asterisk-app_rtxfax-0.0.2_pre25 b/net-misc/asterisk-app_rtxfax/files/digest-asterisk-app_rtxfax-0.0.2_pre25 new file mode 100644 index 000000000000..f8f240b365bf --- /dev/null +++ b/net-misc/asterisk-app_rtxfax/files/digest-asterisk-app_rtxfax-0.0.2_pre25 @@ -0,0 +1,3 @@ +MD5 20afc89b75ad6d8eabadbe5ae5464e5d asterisk-app_rtxfax-0.0.2_pre25.tar.bz2 6532 +RMD160 fa8934079372b525ff285d11ebf95498cb08878e asterisk-app_rtxfax-0.0.2_pre25.tar.bz2 6532 +SHA256 6307197cd45bec6caf4785918285a47c372fddd08cb94888512f100108404729 asterisk-app_rtxfax-0.0.2_pre25.tar.bz2 6532 diff --git a/net-misc/asterisk-chan_capi-cm/ChangeLog b/net-misc/asterisk-chan_capi-cm/ChangeLog index 887b94e81bd1..a7c23ace5e6a 100644 --- a/net-misc/asterisk-chan_capi-cm/ChangeLog +++ b/net-misc/asterisk-chan_capi-cm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/asterisk-chan_capi-cm # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi-cm/ChangeLog,v 1.15 2006/01/09 00:04:14 stkn Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi-cm/ChangeLog,v 1.16 2006/03/02 00:31:33 stkn Exp $ + +*asterisk-chan_capi-cm-0.6.4 (02 Mar 2006) + + 02 Mar 2006; Stefan Knoblich <stkn@gentoo.org> + +files/chan_capi-0.6.3-gentoo.diff, +asterisk-chan_capi-cm-0.6.4.ebuild: + Version bump. 09 Jan 2006; Stefan Knoblich <stkn@gentoo.org> files/chan_capi-0.6.1-gentoo.diff: diff --git a/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.6.4.ebuild b/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.6.4.ebuild new file mode 100644 index 000000000000..8f5335d22314 --- /dev/null +++ b/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.6.4.ebuild @@ -0,0 +1,57 @@ +# 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_capi-cm/asterisk-chan_capi-cm-0.6.4.ebuild,v 1.1 2006/03/02 00:31:33 stkn Exp $ + +IUSE="" + +inherit eutils + +MY_P="chan_capi-cm-${PV}" + +DESCRIPTION="Alternative CAPI2.0 channel module for Asterisk" +HOMEPAGE="http://sourceforge.net/projects/chan-capi" +SRC_URI="mirror://sourceforge/chan-capi/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" + +DEPEND="!net-misc/asterisk-chan_capi + >=net-misc/asterisk-1.0.5-r2 + net-dialup/capi4k-utils" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/chan_capi-0.6.3-gentoo.diff +} + +src_compile() { + emake OPTIMIZE="${CFLAGS}" || die "emake failed" +} + +src_install() { + make INSTALL_PREFIX=${D} install install_config || die "make install failed" + + dodoc INSTALL LICENSE README capi.conf + + # fix permissions + if [[ -n "$(egetent group asterisk)" ]]; then + chown -R root:asterisk ${D}/etc/asterisk/capi.conf + chmod -R u=rwX,g=rX,o= ${D}/etc/asterisk/capi.conf + fi +} + +pkg_postinst() { + einfo "Please don't forget to enable chan_capi in your /etc/asterisk/modules.conf:" + einfo "" + einfo "load => chan_capi.so" + einfo "" + einfo "and in the [global] section:" + einfo "chan_capi.so=yes" + einfo "" + einfo "(see /usr/share/doc/${PF} for more information)" +} diff --git a/net-misc/asterisk-chan_capi-cm/files/chan_capi-0.6.3-gentoo.diff b/net-misc/asterisk-chan_capi-cm/files/chan_capi-0.6.3-gentoo.diff new file mode 100644 index 000000000000..affa394fc8eb --- /dev/null +++ b/net-misc/asterisk-chan_capi-cm/files/chan_capi-0.6.3-gentoo.diff @@ -0,0 +1,21 @@ +--- chan_capi-cm-0.6.3/Makefile.orig 2005-12-27 20:48:51.000000000 +0100 ++++ chan_capi-cm-0.6.3/Makefile 2006-01-21 17:15:00.000000000 +0100 +@@ -24,7 +24,9 @@ + + INSTALL_PREFIX= + ++ifneq ($(ASTERISK_HEADER_DIR),/usr/include) + ASTERISK_HEADER_DIR=$(INSTALL_PREFIX)/usr/include ++endif + + ifeq (${OSNAME},FreeBSD) + ASTERISK_HEADER_DIR=$(INSTALL_PREFIX)/usr/local/include +@@ -60,8 +62,6 @@ + endif + CFLAGS=-pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations $(DEBUG) $(INCLUDE) -D_REENTRANT -D_GNU_SOURCE + CFLAGS+=$(OPTIMIZE) +-CFLAGS+=-O6 +-CFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi) + CFLAGS+=$(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi) + + CFLAGS+=-DASTERISKVERSION=\"$(ASTERISKVERSION)\" diff --git a/net-misc/asterisk-chan_capi-cm/files/digest-asterisk-chan_capi-cm-0.6.4 b/net-misc/asterisk-chan_capi-cm/files/digest-asterisk-chan_capi-cm-0.6.4 new file mode 100644 index 000000000000..5fdf3d06825c --- /dev/null +++ b/net-misc/asterisk-chan_capi-cm/files/digest-asterisk-chan_capi-cm-0.6.4 @@ -0,0 +1,3 @@ +MD5 4d0d4005f7e1604cd5e8f3388b2da072 chan_capi-cm-0.6.4.tar.gz 61117 +RMD160 3954aee89aef31e5fba4d7e3948470b7ba9b7118 chan_capi-cm-0.6.4.tar.gz 61117 +SHA256 b243edb7dad543461108d5992185bada1789f8c986939351fd1c9be4dde96b11 chan_capi-cm-0.6.4.tar.gz 61117 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 |