summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2010-02-14 11:01:31 +0000
committerPeter Volkov <pva@gentoo.org>2010-02-14 11:01:31 +0000
commit45d15ccd11474e8aa47278898bfc9db00cb457b5 (patch)
treee9ca6356d6bd41d1abfd0bd7c062ade946a5eb5a
parentAdded upstream link for patch. (diff)
downloadgentoo-2-45d15ccd11474e8aa47278898bfc9db00cb457b5.tar.gz
gentoo-2-45d15ccd11474e8aa47278898bfc9db00cb457b5.tar.bz2
gentoo-2-45d15ccd11474e8aa47278898bfc9db00cb457b5.zip
Version bump, bug #304611.
(Portage version: 2.1.7.17/cvs/Linux x86_64)
-rw-r--r--net-libs/libeXosip/ChangeLog10
-rw-r--r--net-libs/libeXosip/files/libeXosip-3.3.0-automagic-openssl.patch22
-rw-r--r--net-libs/libeXosip/libeXosip-3.3.0.ebuild41
-rw-r--r--net-libs/libeXosip/metadata.xml3
4 files changed, 74 insertions, 2 deletions
diff --git a/net-libs/libeXosip/ChangeLog b/net-libs/libeXosip/ChangeLog
index df3a0edda14c..53fc0f308c0a 100644
--- a/net-libs/libeXosip/ChangeLog
+++ b/net-libs/libeXosip/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/libeXosip
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libeXosip/ChangeLog,v 1.11 2008/12/12 04:38:23 vapier Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libeXosip/ChangeLog,v 1.12 2010/02/14 11:01:31 pva Exp $
+
+*libeXosip-3.3.0 (14 Feb 2010)
+
+ 14 Feb 2010; Peter Volkov <pva@gentoo.org> +libeXosip-3.3.0.ebuild,
+ +files/libeXosip-3.3.0-automagic-openssl.patch:
+ Version bump, bug #304611.
*libeXosip-3.2.0 (12 Dec 2008)
diff --git a/net-libs/libeXosip/files/libeXosip-3.3.0-automagic-openssl.patch b/net-libs/libeXosip/files/libeXosip-3.3.0-automagic-openssl.patch
new file mode 100644
index 000000000000..862d2187b601
--- /dev/null
+++ b/net-libs/libeXosip/files/libeXosip-3.3.0-automagic-openssl.patch
@@ -0,0 +1,22 @@
+https://savannah.nongnu.org/patch/index.php?7090
+
+--- configure.in 2010-02-11 18:29:40 +0000
++++ configure.in 2010-02-11 18:30:26 +0000
+@@ -192,8 +192,6 @@
+ AC_CHECK_LIB(socket,sendto,[EXOSIP_LIB="$EXOSIP_LIB -lsocket"])
+ AC_CHECK_LIB(rt,clock_gettime,[EXOSIP_LIB="$EXOSIP_LIB -lrt"])
+
+-AC_CHECK_LIB(ssl,SSL_CTX_new,[EXOSIP_LIB="$EXOSIP_LIB -lssl"])
+-
+ case $OS in
+ openbsd*)
+ ;;
+@@ -363,6 +361,7 @@
+
+ if test "$enable_openssl" = "yes" ; then
+ AC_CHECK_HEADERS(openssl/ssl.h)
++ AC_CHECK_LIB(ssl,SSL_CTX_new,[EXOSIP_LIB="$EXOSIP_LIB -lssl"])
+ fi
+
+ AC_ARG_ENABLE(srvrec,
+
diff --git a/net-libs/libeXosip/libeXosip-3.3.0.ebuild b/net-libs/libeXosip/libeXosip-3.3.0.ebuild
new file mode 100644
index 000000000000..cdd333ed6698
--- /dev/null
+++ b/net-libs/libeXosip/libeXosip-3.3.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libeXosip/libeXosip-3.3.0.ebuild,v 1.1 2010/02/14 11:01:31 pva Exp $
+
+EAPI="2"
+
+inherit eutils autotools
+
+MY_PV=${PV%.?}-${PV##*.}
+MY_PV=${PV}
+MY_P=${PN}2-${MY_PV}
+DESCRIPTION="library that hides the complexity of using the SIP protocol for multimedia session establishement"
+HOMEPAGE="http://savannah.nongnu.org/projects/exosip/"
+SRC_URI="http://download.savannah.nongnu.org/releases/exosip/${MY_P}.tar.gz"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="+srv ssl"
+
+DEPEND=">=net-libs/libosip-3.2.0
+ ssl? ( dev-libs/openssl )"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-automagic-openssl.patch"
+ AT_M4DIR="scripts" eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-mt \
+ $(use_enable ssl openssl) \
+ $(use_enable srv srvrec)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+}
diff --git a/net-libs/libeXosip/metadata.xml b/net-libs/libeXosip/metadata.xml
index 2b0b9c26e9c7..322777ecddcb 100644
--- a/net-libs/libeXosip/metadata.xml
+++ b/net-libs/libeXosip/metadata.xml
@@ -6,4 +6,7 @@
<email>dragonheart@gentoo.org</email>
<name>Daniel Black</name>
</maintainer>
+<use>
+ <flag name='srv'>enable support for SRV records DNS queries</flag>
+</use>
</pkgmetadata>