summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2014-04-28 02:35:33 +0000
committerJason A. Donenfeld <zx2c4@gentoo.org>2014-04-28 02:35:33 +0000
commit7cb1ab6cfe383574de4bc869ee94983b9cf42db8 (patch)
tree1553231aad26916bbfc75e9bf80a315f42e15ed6 /net-voip
parentmore for cinder (diff)
downloadgentoo-2-7cb1ab6cfe383574de4bc869ee94983b9cf42db8.tar.gz
gentoo-2-7cb1ab6cfe383574de4bc869ee94983b9cf42db8.tar.bz2
gentoo-2-7cb1ab6cfe383574de4bc869ee94983b9cf42db8.zip
I'll maintain the live ebuild, but I'm purging old security filled versions.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A5DE03AE)
Diffstat (limited to 'net-voip')
-rw-r--r--net-voip/yate/ChangeLog10
-rw-r--r--net-voip/yate/metadata.xml28
-rw-r--r--net-voip/yate/yate-4.3.0.1.ebuild118
-rw-r--r--net-voip/yate/yate-9999.ebuild72
4 files changed, 100 insertions, 128 deletions
diff --git a/net-voip/yate/ChangeLog b/net-voip/yate/ChangeLog
index c23e7120a9c0..8a3f799a56cf 100644
--- a/net-voip/yate/ChangeLog
+++ b/net-voip/yate/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-voip/yate
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-voip/yate/ChangeLog,v 1.24 2013/12/15 12:32:54 moult Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-voip/yate/ChangeLog,v 1.25 2014/04/28 02:35:33 zx2c4 Exp $
+
+*yate-9999 (28 Apr 2014)
+
+ 28 Apr 2014; Jason A. Donenfeld <zx2c4@gentoo.org> +yate-9999.ebuild,
+ -yate-4.3.0.1.ebuild, metadata.xml:
+ I'll maintain the live ebuild, but I'm purging old security filled versions.
15 Dec 2013; Dion Moult <moult@gentoo.org> -yate-2.0.0.ebuild:
<=net-voip/yate-2.0.0 removal (pending 11 July 2013), see #290062 and #290063
diff --git a/net-voip/yate/metadata.xml b/net-voip/yate/metadata.xml
index d2e34984baa5..a1fcdeea6a4a 100644
--- a/net-voip/yate/metadata.xml
+++ b/net-voip/yate/metadata.xml
@@ -1,14 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer><email>maintainer-needed@gentoo.org</email></maintainer>
+ <herd>radio</herd>
<use>
- <flag name='dahdi'>Enable the DAHDI driver for Digium compatible hardware</flag>
- <flag name='h323'>Build H.323 Channel plugin</flag>
- <flag name='ilbc'>Build ILBC codec plugin</flag>
- <flag name='sctp'>
- Support for Stream Control Transmission Protocol
- </flag>
- <flag name='spandsp'>Enable support for the spandsp codec</flag>
+ <flag name="sctp">Enable SCTP sockets</flag>
+ <flag name="dahdi">Enable Dahdi driver</flag>
+ <flag name="zaptel">Enable Zaptel driver</flag>
+ <flag name="wpcard">Enable Wanpipe card driver</flag>
+ <flag name="tdmcard">Enable TDMV API card driver</flag>
+ <flag name="wanpipe">Enable Wanpipe support</flag>
+ <flag name="ilbc">Enable iLBC codec</flag>
+ <flag name="ilbc-webrtc">Enable iLBC webrtc codec</flag>
+ <flag name="isac-float">Enable iSAC float codec</flag>
+ <flag name="isac-fixed">Enable iSAC fixed codec</flag>
+ <flag name="postgres">use Postgress SQL</flag>
+ <flag name="mysql">use MySQL client library</flag>
+ <flag name="gsm">use GSM codec</flag>
+ <flag name="speex">use Speex codec</flag>
+ <flag name="amrnb">use AMR-NB</flag>
+ <flag name="spandsp">use spandsp library</flag>
+ <flag name="h323">use OpenH323</flag>
+ <flag name="coredumper">use Google coredumper</flag>
</use>
</pkgmetadata>
+
diff --git a/net-voip/yate/yate-4.3.0.1.ebuild b/net-voip/yate/yate-4.3.0.1.ebuild
deleted file mode 100644
index 569ba13e723c..000000000000
--- a/net-voip/yate/yate-4.3.0.1.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-voip/yate/yate-4.3.0.1.ebuild,v 1.5 2013/07/23 14:10:55 kensington Exp $
-
-EAPI=5
-
-inherit autotools eutils multilib versionator
-
-DESCRIPTION="Yet Another Telephony Engine"
-HOMEPAGE="http://yate.null.ro/"
-SRC_URI="http://yate.null.ro/tarballs/yate$(get_major_version)/$(replace_version_separator 4 - ${P}).tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="dahdi debug doc gsm h323 ilbc mysql oss postgres qt4 sctp spandsp speex sse2 ssl"
-
-RDEPEND="
- dahdi? ( net-misc/dahdi )
- h323? ( net-libs/h323plus )
- gsm? ( media-sound/gsm )
- ilbc? ( dev-libs/ilbc-rfc3951 )
- mysql? ( virtual/mysql )
- postgres? ( dev-db/postgresql-base )
- qt4? ( dev-qt/qtcore:4
- || ( ( >=dev-qt/qtgui-4.8.5:4 dev-qt/designer:4 ) <dev-qt/qtgui-4.8.5:4 ) )
- spandsp? ( >=media-libs/spandsp-0.0.3 )
- speex? ( media-libs/speex )
- ssl? ( dev-libs/openssl )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S=${WORKDIR}/${PN}
-
-# NOTES:
-# doc is already built
-
-# TODO:
-# coredumper can't be used because not in the tree, bug 118716
-# wanpipe can't be used because not in the tree (but voip overlay), bug 188939
-# spandsp >= 0.0.6 fails in configure and >=0.0.5 fails in build
-# fix bug 199222 for this version
-
-src_prepare() {
- # fix desktop file, bug #463442
- sed -i \
- -e '/^Encoding/d' \
- -e '/Icon/s/.png//' \
- -e '/Categories/s/Application;//' \
- -e '/Categories/s/$/;/' \
- clients/yate-qt4.desktop || die "sed on clients/yate-qt4.desktop failed"
-
- epatch "${FILESDIR}"/${PN}-4.3.0-ilbc-alsa-oss.patch
-
- eautoreconf
-}
-
-src_configure() {
- # fdsize, inline, rtti: keep default values
- # internalregex: use system
- # coredumper: not in the tree, bug 118716
- # wanpipe, wphwec: not in the tree, bug 188939
- # doxygen, kdoc: no need to rebuild already built doc
- econf \
- --disable-internalregex \
- --without-coredumper \
- --disable-wanpipe \
- --without-wphwec \
- --without-doxygen \
- --without-kdoc \
- --with-archlib=$(get_libdir) \
- --without-amrnb \
- $(use_enable dahdi) \
- $(use_with gsm libgsm) \
- $(use_with h323 openh323) \
- $(use_with h323 pwlib) \
- $(use_enable ilbc) \
- $(use_with mysql mysql /usr) \
- $(use_with postgres libpq /usr) \
- $(use_with qt4 libqt4) \
- $(use_enable sctp) \
- $(use_with spandsp) \
- $(use_with speex libspeex) \
- $(use_with ssl openssl) \
- --disable-zaptel
-}
-
-src_compile() {
- # fails parallel build, bug #312407
- if use debug; then
- emake -j1 ddebug
- else
- emake -j1
- fi
-}
-
-src_test() {
- # there is no real test suite
- # 'make test' tries to execute non-existing ./test
- # do not add RESTRICT="test" because it's not a failing test suite
- :
-}
-
-src_install() {
- emake DESTDIR="${D}" install-noapi
-
- dodoc ChangeLog README
-
- insinto /etc/logrotate.d
- newins packing/${PN}.logrotate ${PN}
-
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
-
- if use doc; then
- emake DESTDIR="${D}" install-api
- fi
-}
diff --git a/net-voip/yate/yate-9999.ebuild b/net-voip/yate/yate-9999.ebuild
new file mode 100644
index 000000000000..2d054e3b2502
--- /dev/null
+++ b/net-voip/yate/yate-9999.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-voip/yate/yate-9999.ebuild,v 1.1 2014/04/28 02:35:33 zx2c4 Exp $
+
+EAPI=5
+
+inherit subversion autotools
+
+DESCRIPTION="The Yate GSM base station"
+HOMEPAGE="http://www.yatebts.com/"
+ESVN_REPO_URI="http://voip.null.ro/svn/yate/trunk"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="sse2 sctp dahdi zaptel wpcard tdmcard wanpipe +ilbc +ilbc-webrtc +isac-float isac-fixed postgres mysql +gsm +speex h323 spandsp +ssl qt4 +zlib amrnb"
+
+RDEPEND="
+ postgres? ( dev-db/postgresql-base )
+ mysql? ( virtual/mysql )
+ gsm? ( media-sound/gsm )
+ speex? ( media-libs/speex )
+ ssl? ( dev-libs/openssl )
+ h323? ( net-libs/h323plus )
+ zlib? ( sys-libs/zlib )
+ qt4? ( dev-qt/qtgui:4 dev-qt/designer:4 )
+ ilbc? ( dev-libs/ilbc-rfc3951 )
+ spandsp? ( >=media-libs/spandsp-0.0.3 )
+ dahdi? ( net-misc/dahdi )
+ virtual/libusb:1"
+DEPEND="app-doc/doxygen virtual/pkgconfig ${RDEPEND}"
+
+src_prepare() {
+ eautoreconf
+ ./yate-config.sh || die
+}
+
+#fdsize, inline, rtti: keep default values
+#internalregex: use system
+#coredumper: not in the tree, bug 118716
+#wanpipe, wphwec: not in the tree, bug 188939
+#amrnb: not in tree!
+#zaptel: ??
+src_configure() {
+ econf \
+ --with-archlib=$(get_libdir) \
+ $(use_enable sse2) \
+ $(use_enable sctp) \
+ $(use_enable dahdi) \
+ $(use_enable zaptel) \
+ $(use_enable wpcard) \
+ $(use_enable tdmcard) \
+ $(use_enable wanpipe) \
+ $(use_enable ilbc) \
+ $(use_enable ilbc-webrtc) \
+ $(use_enable isac-float) \
+ $(use_enable isac-fixed) \
+ $(use_with postgres libpq) \
+ $(use_with mysql) \
+ $(use_with gsm libgsm) \
+ $(use_with speex libspeex) \
+ $(use_with amrnb) \
+ $(use_with spandsp) \
+ $(use_with h323 openh323 /usr) \
+ $(use_with h323 pwlib /usr) \
+ $(use_with ssl openssl) \
+ $(use_with qt4 libqt4)
+}
+
+src_compile() {
+ emake -j1
+}