summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2008-10-26 22:42:29 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2008-10-26 22:42:29 +0000
commitae7e01ecdd1a823aad39193439ab95ace397d7ea (patch)
treef10e0a0f0f3347e8dde98614bab6b4336cc24382 /net-misc/asterisk-chan_capi
parentBump to 1.14.10. Fix some coverity issues and bug fixes. (diff)
downloadhistorical-ae7e01ecdd1a823aad39193439ab95ace397d7ea.tar.gz
historical-ae7e01ecdd1a823aad39193439ab95ace397d7ea.tar.bz2
historical-ae7e01ecdd1a823aad39193439ab95ace397d7ea.zip
version bump, removing old versions.
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.26-gentoo-r1 i686
Diffstat (limited to 'net-misc/asterisk-chan_capi')
-rw-r--r--net-misc/asterisk-chan_capi/ChangeLog11
-rw-r--r--net-misc/asterisk-chan_capi/Manifest23
-rw-r--r--net-misc/asterisk-chan_capi/asterisk-chan_capi-0.3.5.ebuild58
-rw-r--r--net-misc/asterisk-chan_capi/asterisk-chan_capi-0.4.0_pre1.ebuild63
-rw-r--r--net-misc/asterisk-chan_capi/asterisk-chan_capi-1.1.1.ebuild65
-rw-r--r--net-misc/asterisk-chan_capi/files/chan_capi-0.3.5-gentoo.diff24
-rw-r--r--net-misc/asterisk-chan_capi/files/chan_capi-0.4.0_pre1-fixstable.diff19
-rw-r--r--net-misc/asterisk-chan_capi/metadata.xml3
8 files changed, 79 insertions, 187 deletions
diff --git a/net-misc/asterisk-chan_capi/ChangeLog b/net-misc/asterisk-chan_capi/ChangeLog
index 753063b1131e..74c6f346ec72 100644
--- a/net-misc/asterisk-chan_capi/ChangeLog
+++ b/net-misc/asterisk-chan_capi/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for net-misc/asterisk-chan_capi
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi/ChangeLog,v 1.9 2008/08/16 16:19:04 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi/ChangeLog,v 1.10 2008/10/26 22:42:29 sbriesen Exp $
+
+*asterisk-chan_capi-1.1.1 (26 Oct 2008)
+
+ 26 Oct 2008; Stefan Briesenick <sbriesen@gentoo.org>
+ -files/chan_capi-0.3.5-gentoo.diff,
+ -files/chan_capi-0.4.0_pre1-fixstable.diff, metadata.xml,
+ -asterisk-chan_capi-0.3.5.ebuild, -asterisk-chan_capi-0.4.0_pre1.ebuild,
+ +asterisk-chan_capi-1.1.1.ebuild:
+ version bump, removing old versions.
16 Aug 2008; Torsten Veller <tove@gentoo.org> metadata.xml:
Remove stkn from metadata.xml (#27693)
diff --git a/net-misc/asterisk-chan_capi/Manifest b/net-misc/asterisk-chan_capi/Manifest
index 58d0ee856115..156e22c46a2f 100644
--- a/net-misc/asterisk-chan_capi/Manifest
+++ b/net-misc/asterisk-chan_capi/Manifest
@@ -1,21 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX chan_capi-0.3.5-gentoo.diff 1113 RMD160 aaae0451b28835cb8091813b8faccb3f9b16fa3c SHA1 130bbcd9c01beacca557f403098ac697b5c29185 SHA256 39a1debc3abddb12ec3d266d70cdaf71acc7721fb7c60f16b40fcb68e356243d
-AUX chan_capi-0.4.0_pre1-fixstable.diff 500 RMD160 9e784a206c6fd1282204a8272f18047472dc2645 SHA1 5f0680672a24a0562ef53b9f2a0dbab9065ec60f SHA256 322a7964fabee08cd42b4a05488d6cddb9a7b3cb174d73bf4d745c217b1944ae
-DIST chan_capi-0.3.5-patch.tar.bz2 4263 RMD160 89a6219fca50be26716a2abcd1524183d208ac25 SHA1 675465766e2e8ffccc8bcd109ace642a2ad7594e SHA256 58c011dc1f44da9e3435dce1e4c9529816d15d860720afef4d85f6e1ff4559f5
-DIST chan_capi-0.4.0-PRE1.tar.gz 42647 RMD160 31fd93fed1ca865c7409abb11663f88c7b5bf2ad SHA1 cd5df75e5e467712d4e154ae40d02e005d4cda3d SHA256 155c4a6d05a967f565ea8054e1177df3df499cca22330b4e641a14670ebabcfe
DIST chan_capi-0.7.1.tar.gz 258576 RMD160 ba6c5e97aec5d82e84f9dee2167f7debd7bbdc1d SHA1 6bf566671bf0df8472a508d4bf6abd30d65fbdf3 SHA256 3656e449b1d81024f3484b5980209cbc1acd12afe326957b14e241baeba8de60
-DIST chan_capi.0.3.5.tar.gz 40825 RMD160 8247f343405f871862487b33f3a1a3b50f73da4c SHA1 d186f38ba592ce9f084176a229ef8e8b42d92b25 SHA256 2a812cb0a8824127f84e0292384ecdb4d540d658c3e5647f7b47dfdef030140a
-EBUILD asterisk-chan_capi-0.3.5.ebuild 1360 RMD160 2e9f93246f57b5db260813c89b5d58549d0eadb7 SHA1 7e1ebc57f7ca282edb155fc0abab2d663d998394 SHA256 56d82740a51f5f6d16a72e58563b873aa900d58d56fe5cca88a3103060b2b6df
-EBUILD asterisk-chan_capi-0.4.0_pre1.ebuild 1511 RMD160 7fbed13835bd3eda6cca3127f0dc36c9aae85cf0 SHA1 ab25e1661499bc95ede863e1dbc76c859fb7ead9 SHA256 a75710e857cdd82be5a1b69840e41a27088e0ed056f178ad3748f6758f118e27
+DIST chan_capi-1.1.1.tar.gz 138075 RMD160 98e85238b42f2b6f07e6a060cab8a731bfa71051 SHA1 e5c18782c62a21e800def73eb27bed5aad722b45 SHA256 4e190e5a38fe56c60c980fafba80d57c9e6993fae25030928cf77cad9cbd3dfc
EBUILD asterisk-chan_capi-0.7.1.ebuild 1705 RMD160 bfdb7933dbcc73e532d727460d0ba00cbf41a85f SHA1 e23054d6778f4df386d3c3776a943704ffa53fa6 SHA256 062ee6f5d4697f13a894dde2bfbb37ccc7026cdce1e0f29012cc266c658a8f8a
-MISC ChangeLog 1806 RMD160 71fea288c5ff220cf988fe17c874fb6251309185 SHA1 4b86fb42510068770e7cc89ef66a4306bdbc3d76 SHA256 8c1a4eca554cb51bbb63e8952df1b62825b1855e0326032531d1261c1a2be962
-MISC metadata.xml 237 RMD160 e817dc0a3ee80c2cdfe0f6a151cb7448bbdc5758 SHA1 12aac3399657579d0f6c095509cfbd8932d55ec7 SHA256 d35df57d4c02ab0868977b18343f6ee062e00733f92b1bc3a903cc6d9ee1e54f
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkim/ewACgkQV3J2n04EauzjggCfUKB5SP9a0zZwzvjbg/LNEVSW
-MtwAoLR+JEwHOmmobOIybJ02L6o2xXKv
-=WIKk
------END PGP SIGNATURE-----
+EBUILD asterisk-chan_capi-1.1.1.ebuild 1680 RMD160 a329c33ca5d74142889283814cd064f1d6909135 SHA1 8f4a0f4de9f4c95624f8cb3dbc68c8af1b9e9ca7 SHA256 3d141919f07e4ddf76e40427a73e038d09ddf9d5b34765e5d80e5b2a6e2e3a5b
+MISC ChangeLog 2156 RMD160 156945810b34b9169a8685692e5002018d2d9619 SHA1 a69a07bc20083c448b1366a666f01849b8437feb SHA256 a6b5c13457f016f2b9f31eca5563a23d168301f83ad487cbb5e1ae2a817f5fac
+MISC metadata.xml 159 RMD160 1cb780cd4240aaeb1b22a09a786b8ed4b0803823 SHA1 c96c65dcb37a559953bf3446b6719b0cac3585a8 SHA256 6831e631b05a25ddae6c3e148d49b98877ee1dd318185a0c95f3cad8a89bf34d
diff --git a/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.3.5.ebuild b/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.3.5.ebuild
deleted file mode 100644
index 3c4e767039c6..000000000000
--- a/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.3.5.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.3.5.ebuild,v 1.4 2007/01/06 16:50:51 drizzt Exp $
-
-IUSE="fax"
-
-inherit eutils
-
-MY_PN="chan_capi"
-
-DESCRIPTION="CAPI2.0 channel module for Asterisk"
-HOMEPAGE="http://www.junghanns.net/asterisk/"
-SRC_URI="http://www.junghanns.net/asterisk/downloads/${MY_PN}.${PV}.tar.gz
- fax? ( http://mlkj.net/asterisk/${MY_PN}-${PV}-patch.tar.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-
-DEPEND=">=net-misc/asterisk-1.0.5-r1
- !>=net-misc/asterisk-1.1.0
- net-dialup/capi4k-utils"
-
-S="${WORKDIR}"/${MY_PN}-${PV}
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
- epatch "${FILESDIR}"/${MY_PN}-${PV}-gentoo.diff
-
- if use fax; then
- einfo "Enabling fax support"
- epatch "${WORKDIR}"/chan_capi.diff
- cp "${WORKDIR}"/app_capiFax.c "${S}"
- fi
-}
-
-src_compile() {
- emake || die "emake failed"
-}
-
-src_install() {
- make INSTALL_PREFIX="${D}" install config || die "make install failed"
-
- dodoc INSTALL LICENSE README capi.conf
-}
-
-pkg_postinst() {
- elog "Please don't forget to enable chan_capi in your /etc/asterisk/modules.conf:"
- echo
- elog "load => chan_capi.so"
- echo
- elog "and in the global section:"
- elog "chan_capi.so=yes"
- echo
- elog "(see /usr/share/doc/${PF} for more information)"
-}
diff --git a/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.4.0_pre1.ebuild b/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.4.0_pre1.ebuild
deleted file mode 100644
index f5cf96797a85..000000000000
--- a/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.4.0_pre1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi/asterisk-chan_capi-0.4.0_pre1.ebuild,v 1.5 2007/01/06 16:50:51 drizzt Exp $
-
-IUSE=""
-
-inherit eutils
-
-MY_P="chan_capi-${PV/_pre/-PRE}"
-
-DESCRIPTION="CAPI2.0 channel module for Asterisk"
-HOMEPAGE="http://www.junghanns.net/asterisk/"
-SRC_URI="http://www.junghanns.net/asterisk/downloads/${MY_P}.tar.gz"
-# fax? ( http://mlkj.net/asterisk/${MY_P}-patch.tar.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc"
-
-DEPEND=">=net-misc/asterisk-1.0.5-r1
- !>=net-misc/asterisk-1.1.0
- net-dialup/capi4k-utils"
-
-S="${WORKDIR}"/${MY_P}
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
- epatch "${FILESDIR}"/chan_capi-0.3.5-gentoo.diff
- epatch "${FILESDIR}"/chan_capi-${PV}-fixstable.diff
-
- # compile for asterisk-stable
- sed -i -e "s:^\(CFLAGS+=-DCVS_HEAD\):#\1:" \
- Makefile
-
-# if use fax; then
-# einfo "Enabling fax support"
-# epatch "${WORKDIR}"/chan_capi.diff
-# cp "${WORKDIR}"/app_capiFax.c "${S}"
-# fi
-}
-
-src_compile() {
- emake || die "emake failed"
-}
-
-src_install() {
- make INSTALL_PREFIX="${D}" install config || die "make install failed"
-
- dodoc INSTALL LICENSE README capi.conf
-}
-
-pkg_postinst() {
- elog "Please don't forget to enable chan_capi in your /etc/asterisk/modules.conf:"
- echo
- elog "load => chan_capi.so"
- echo
- elog "and in the global section:"
- elog "chan_capi.so=yes"
- echo
- elog "(see /usr/share/doc/${PF} for more information)"
-}
diff --git a/net-misc/asterisk-chan_capi/asterisk-chan_capi-1.1.1.ebuild b/net-misc/asterisk-chan_capi/asterisk-chan_capi-1.1.1.ebuild
new file mode 100644
index 000000000000..4d979a32f9f9
--- /dev/null
+++ b/net-misc/asterisk-chan_capi/asterisk-chan_capi-1.1.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi/asterisk-chan_capi-1.1.1.ebuild,v 1.1 2008/10/26 22:42:29 sbriesen Exp $
+
+inherit eutils
+
+DESCRIPTION="CAPI 2.0 channel module for Asterisk"
+HOMEPAGE="http://www.melware.org/ChanCapi"
+SRC_URI="ftp://ftp.chan-capi.org/chan-capi/${P/asterisk-}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND=">=net-misc/asterisk-1.2.0
+ net-dialup/capi4k-utils"
+
+DEPEND="${RDEPEND}
+ sys-apps/sed"
+
+S="${WORKDIR}/${P/asterisk-}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # patch locations and compile flags
+ sed -i \
+ -e "s:^\(CFLAGS.*-O6.*\):# \1:g" \
+ -e "s:^\(CFLAGS.*-march=.*\):# \1:g" \
+ -e "s:/usr/lib/:/usr/$(get_libdir)/:g" \
+ -e "s:\(-shared\):\$(LDFLAGS) \1:g" Makefile
+}
+
+src_compile() {
+ emake V="1" CC="$(tc-getCC)" OPTIMIZE="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ emake AVERSION="" INSTALL_PREFIX="${D}" install install_config || die "emake install failed"
+ newdoc libcapi20/README README.capi20
+ dodoc CHANGES 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() {
+ elog
+ elog "Please don't forget to enable chan_capi in"
+ elog "your /etc/asterisk/modules.conf:"
+ elog
+ elog " load => chan_capi.so"
+ elog
+ elog "and in the [global] section:"
+ elog
+ elog " chan_capi.so=yes"
+ elog
+ elog "Don't forget a trailing newline at the end of modules.conf!"
+ elog "See /usr/share/doc/${PF} for more information."
+ elog
+}
diff --git a/net-misc/asterisk-chan_capi/files/chan_capi-0.3.5-gentoo.diff b/net-misc/asterisk-chan_capi/files/chan_capi-0.3.5-gentoo.diff
deleted file mode 100644
index 397d447099d6..000000000000
--- a/net-misc/asterisk-chan_capi/files/chan_capi-0.3.5-gentoo.diff
+++ /dev/null
@@ -1,24 +0,0 @@
---- chan_capi-0.3.5/Makefile.orig 2005-01-30 00:02:33.258038984 +0000
-+++ chan_capi-0.3.5/Makefile 2005-01-30 00:08:34.078185984 +0000
-@@ -24,9 +24,7 @@
-
- DEBUG=-g #-pg
- INCLUDE=-I$(ASTERISK_HEADER_DIR)
--CFLAGS=-pipe -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+=-fPIC -DPIC -pipe -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)
-
- # uncomment the following line if you really never ever want early b3 connects,
-@@ -78,8 +76,10 @@
- $(CC) -shared -Xlinker -x -o $@ chan_capi.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/
-
diff --git a/net-misc/asterisk-chan_capi/files/chan_capi-0.4.0_pre1-fixstable.diff b/net-misc/asterisk-chan_capi/files/chan_capi-0.4.0_pre1-fixstable.diff
deleted file mode 100644
index e658d19a9462..000000000000
--- a/net-misc/asterisk-chan_capi/files/chan_capi-0.4.0_pre1-fixstable.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- chan_capi-0.4.0-PRE1/chan_capi.c.orig 2005-05-07 19:55:01.000000000 +0200
-+++ chan_capi-0.4.0-PRE1/chan_capi.c 2005-05-07 19:55:28.000000000 +0200
-@@ -2643,6 +2643,7 @@ static int change_callingpres(struct ast
- return 0;
- }
-
-+#ifdef CVS_HEAD
- static const struct ast_channel_tech capi_tech = {
- .type = type,
- .description = tdesc,
-@@ -2665,7 +2666,7 @@ static const struct ast_channel_tech cap
- .fixup = capi_fixup,
- .setoption = NULL,
- };
--
-+#endif
-
- int load_module(void)
- {
diff --git a/net-misc/asterisk-chan_capi/metadata.xml b/net-misc/asterisk-chan_capi/metadata.xml
index 4235b01e2042..8d1e4dd4a5b8 100644
--- a/net-misc/asterisk-chan_capi/metadata.xml
+++ b/net-misc/asterisk-chan_capi/metadata.xml
@@ -2,7 +2,4 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>voip</herd>
- <use>
- <flag name="fax">Build chan_capi with fax support</flag>
- </use>
</pkgmetadata>