diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2005-12-21 22:21:41 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2005-12-21 22:21:41 +0000 |
commit | 9ee6ae4acf04637e60a911ca3e04c2d72bfe0281 (patch) | |
tree | a6db09e359222dc3a1aea3e8cb2b4aaabf521fb6 /net-misc/asterisk-chan_capi-cm | |
parent | Added dependency on newer baselayout so people will quit filing bugs over and... (diff) | |
download | historical-9ee6ae4acf04637e60a911ca3e04c2d72bfe0281.tar.gz historical-9ee6ae4acf04637e60a911ca3e04c2d72bfe0281.tar.bz2 historical-9ee6ae4acf04637e60a911ca3e04c2d72bfe0281.zip |
Hmm... 0.6.1 should really use the right tarball... (thanks jaervosz :)
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'net-misc/asterisk-chan_capi-cm')
6 files changed, 47 insertions, 18 deletions
diff --git a/net-misc/asterisk-chan_capi-cm/ChangeLog b/net-misc/asterisk-chan_capi-cm/ChangeLog index 66e988f8d038..112338d2e3fc 100644 --- a/net-misc/asterisk-chan_capi-cm/ChangeLog +++ b/net-misc/asterisk-chan_capi-cm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/asterisk-chan_capi-cm # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi-cm/ChangeLog,v 1.12 2005/12/21 21:09:00 stkn Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi-cm/ChangeLog,v 1.13 2005/12/21 22:21:41 stkn Exp $ + + 22 Dec 2005; Stefan Knoblich <stkn@gentoo.org> + files/chan_capi-cm-0.6.1-asterisk-1.2.diff, + +files/chan_capi-0.6.1-gentoo.diff, asterisk-chan_capi-cm-0.6.1.ebuild: + Hmm... 0.6.1 should really use the right tarball... (thanks jaervosz :) 21 Dec 2005; Stefan Knoblich <stkn@gentoo.org> +files/chan_capi-cm-0.6.1-asterisk-1.2.diff, diff --git a/net-misc/asterisk-chan_capi-cm/Manifest b/net-misc/asterisk-chan_capi-cm/Manifest index 75a6c0b69c62..6be152c55bc4 100644 --- a/net-misc/asterisk-chan_capi-cm/Manifest +++ b/net-misc/asterisk-chan_capi-cm/Manifest @@ -2,12 +2,13 @@ MD5 2e6cf8e8dab2c81acaf0565db6f12118 asterisk-chan_capi-cm-0.6.0.ebuild 1579 MD5 0280c5431b2bc4f09e3d249d25b1010e asterisk-chan_capi-cm-0.5.4.ebuild 1594 MD5 56c38e32af5d204847de2d9a87b72351 asterisk-chan_capi-cm-0.5.3.ebuild 1588 MD5 de41c503f05f5f99a8635b0e333729a5 metadata.xml 217 -MD5 b27bf9edb111cc142947b45a06676f9f ChangeLog 2018 -MD5 0bdb3d355952d52e9108703cbe89c1cf asterisk-chan_capi-cm-0.6.1.ebuild 1579 +MD5 350ca88f1178bd7720b8468455c65de6 ChangeLog 2262 +MD5 d9a3e1125a6c821c5f7347b1fb2a8a58 asterisk-chan_capi-cm-0.6.1.ebuild 1576 MD5 20866dceae16bdac07ffa8b6f8aa2986 files/chan_capi-0.3.5-gentoo.diff 1113 MD5 e38626bf14b300bea371ed7dbe17003a files/digest-asterisk-chan_capi-cm-0.6.0 67 MD5 26ad4e3f1d9f576c0cdb02f80881d678 files/digest-asterisk-chan_capi-cm-0.5.4 69 -MD5 e38626bf14b300bea371ed7dbe17003a files/digest-asterisk-chan_capi-cm-0.6.1 67 +MD5 85b3f23fd4bce0fec0aa993cf72ab2f7 files/chan_capi-0.6.1-gentoo.diff 1136 +MD5 b6cdcca8eb6385e9b89fd26ee3da46b8 files/digest-asterisk-chan_capi-cm-0.6.1 69 MD5 7e64c5311ef2ac1051df45fb82b2aed6 files/digest-asterisk-chan_capi-cm-0.5.3 69 MD5 49f69b06231dd6ef79fe070882426dab files/chan_capi-0.6.0-gentoo.diff 1296 -MD5 f638c698d5aacae0f9263923c1cde20d files/chan_capi-cm-0.6.1-asterisk-1.2.diff 1152 +MD5 64c14671ea1e3ec12d9b448934fd4ff4 files/chan_capi-cm-0.6.1-asterisk-1.2.diff 865 diff --git a/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.6.1.ebuild b/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.6.1.ebuild index 60a1cd21a9bf..c63f7d418852 100644 --- a/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.6.1.ebuild +++ b/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.6.1.ebuild @@ -1,12 +1,12 @@ # 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_capi-cm/asterisk-chan_capi-cm-0.6.1.ebuild,v 1.2 2005/12/21 21:09:00 stkn Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.6.1.ebuild,v 1.3 2005/12/21 22:21:41 stkn Exp $ IUSE="" inherit eutils -MY_P="chan_capi-cm-${PV%.*}" +MY_P="chan_capi-cm-${PV}" DESCRIPTION="Alternative CAPI2.0 channel module for Asterisk" HOMEPAGE="http://sourceforge.net/projects/chan-capi" @@ -26,7 +26,7 @@ src_unpack() { unpack ${A} cd ${S} - epatch ${FILESDIR}/chan_capi-0.6.0-gentoo.diff + epatch ${FILESDIR}/chan_capi-0.6.1-gentoo.diff # put system includes before asterisk ones, use ast_mutex_init instead # of ast_pthread_mutex_init diff --git a/net-misc/asterisk-chan_capi-cm/files/chan_capi-0.6.1-gentoo.diff b/net-misc/asterisk-chan_capi-cm/files/chan_capi-0.6.1-gentoo.diff new file mode 100644 index 000000000000..9297edd28b9e --- /dev/null +++ b/net-misc/asterisk-chan_capi-cm/files/chan_capi-0.6.1-gentoo.diff @@ -0,0 +1,32 @@ +--- chan_capi-cm-0.6.1/Makefile.orig 2005-10-01 13:32:58 +0000 ++++ chan_capi-cm-0.6.1/Makefile 2005-12-22 00:16:56 +0000 +@@ -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 +@@ -59,7 +61,6 @@ + echo -n -I/usr/include/i4b/include) + endif + CFLAGS=-pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations $(DEBUG) $(INCLUDE) -D_REENTRANT -D_GNU_SOURCE +-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) + +@@ -90,9 +91,11 @@ + $(CC) -shared -Xlinker -x -o $@ $^ -lcapi20 + + install: all ++ if [ ! -d $(MODULES_DIR) ]; then mkdir -p $(MODULES_DIR); fi + for x in $(SHAREDOS); do $(INSTALL) -m 755 $$x $(MODULES_DIR) ; done + + config: all ++ if [ ! -d $(INSTALL_PREFIX)/etc/asterisk ]; then mkdir -p $(INSTALL_PREFIX)/etc/asterisk; fi + cp capi.conf $(INSTALL_PREFIX)/etc/asterisk/ + + samples: config diff --git a/net-misc/asterisk-chan_capi-cm/files/chan_capi-cm-0.6.1-asterisk-1.2.diff b/net-misc/asterisk-chan_capi-cm/files/chan_capi-cm-0.6.1-asterisk-1.2.diff index 3a44d3b34319..9ed0de437504 100644 --- a/net-misc/asterisk-chan_capi-cm/files/chan_capi-cm-0.6.1-asterisk-1.2.diff +++ b/net-misc/asterisk-chan_capi-cm/files/chan_capi-cm-0.6.1-asterisk-1.2.diff @@ -35,12 +35,3 @@ #include <asterisk/dsp.h> #include "xlaw.h" #include "chan_capi20.h" -@@ -4011,7 +4012,7 @@ - } - memset(tmp, 0, sizeof(struct ast_capi_pvt)); - -- ast_pthread_mutex_init(&(tmp->lock),NULL); -+ ast_mutex_init(&(tmp->lock)); - - strncpy(tmp->name, conf->name, sizeof(tmp->name) - 1); - strncpy(tmp->context, conf->context, sizeof(tmp->context) - 1); diff --git a/net-misc/asterisk-chan_capi-cm/files/digest-asterisk-chan_capi-cm-0.6.1 b/net-misc/asterisk-chan_capi-cm/files/digest-asterisk-chan_capi-cm-0.6.1 index 1f33edbd65c2..dc03044ae4dc 100644 --- a/net-misc/asterisk-chan_capi-cm/files/digest-asterisk-chan_capi-cm-0.6.1 +++ b/net-misc/asterisk-chan_capi-cm/files/digest-asterisk-chan_capi-cm-0.6.1 @@ -1 +1 @@ -MD5 0eca2fbd0c6779b72ea9e4f4bfa0b93a chan_capi-cm-0.6.tar.gz 57333 +MD5 f6a49e4f3ec46c217ab359a6ecf30f97 chan_capi-cm-0.6.1.tar.gz 59025 |