diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2005-03-10 01:44:19 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2005-03-10 01:44:19 +0000 |
commit | f0c3c2eb6b81409356e19163c179ee6b5517d7f3 (patch) | |
tree | 73b87056b46edb0a31ca10d0ac21081edc70a2d9 | |
parent | Stable ppc-macos (diff) | |
download | historical-f0c3c2eb6b81409356e19163c179ee6b5517d7f3.tar.gz historical-f0c3c2eb6b81409356e19163c179ee6b5517d7f3.tar.bz2 historical-f0c3c2eb6b81409356e19163c179ee6b5517d7f3.zip |
New version
Package-Manager: portage-2.0.51-r15
-rw-r--r-- | net-misc/asterisk-oh323/ChangeLog | 11 | ||||
-rw-r--r-- | net-misc/asterisk-oh323/Manifest | 13 | ||||
-rw-r--r-- | net-misc/asterisk-oh323/asterisk-oh323-0.5.10.ebuild | 4 | ||||
-rw-r--r-- | net-misc/asterisk-oh323/asterisk-oh323-0.5.9.ebuild | 4 | ||||
-rw-r--r-- | net-misc/asterisk-oh323/asterisk-oh323-0.6.5.ebuild | 48 | ||||
-rw-r--r-- | net-misc/asterisk-oh323/files/asterisk-oh323-0.6.5-Makefile.patch | 91 | ||||
-rw-r--r-- | net-misc/asterisk-oh323/files/digest-asterisk-oh323-0.6.5 | 1 |
7 files changed, 161 insertions, 11 deletions
diff --git a/net-misc/asterisk-oh323/ChangeLog b/net-misc/asterisk-oh323/ChangeLog index 94cc7eb3c441..f757fe17658f 100644 --- a/net-misc/asterisk-oh323/ChangeLog +++ b/net-misc/asterisk-oh323/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-misc/asterisk-oh323 -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-oh323/ChangeLog,v 1.3 2004/06/24 23:35:05 agriffis Exp $ +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-oh323/ChangeLog,v 1.4 2005/03/10 01:44:19 stkn Exp $ + +*asterisk-oh323-0.6.5 (10 Mar 2005) + + 10 Mar 2005; Stefan Knoblich <stkn@gentoo.org> + +files/asterisk-oh323-0.6.5-Makefile.patch, +asterisk-oh323-0.6.5.ebuild: + New version. Using openh323 and pwlib headers in /usr/include from now on. + Debug use-flag enables Wraptracing if needed. *asterisk-oh323-0.5.10 (12 Mar 2004) diff --git a/net-misc/asterisk-oh323/Manifest b/net-misc/asterisk-oh323/Manifest index 57fef12a8623..db6ea579b324 100644 --- a/net-misc/asterisk-oh323/Manifest +++ b/net-misc/asterisk-oh323/Manifest @@ -1,10 +1,13 @@ -MD5 40ab8a00b0c23745cd7056c18cf435a4 asterisk-oh323-0.5.10.ebuild 964 -MD5 e497c9526fb016c91519bb3264175ead asterisk-oh323-0.5.9.ebuild 945 -MD5 e69ec6678286cb7b9cdc298877dad3e3 ChangeLog 909 +MD5 3479059f6b0d09d28e3083c30cea98a2 ChangeLog 1193 +MD5 5640cab5679236e722c37c8a3ca42646 asterisk-oh323-0.5.10.ebuild 960 +MD5 f0da89ac74560117aed85298acd9cfaf asterisk-oh323-0.5.9.ebuild 941 MD5 de41c503f05f5f99a8635b0e333729a5 metadata.xml 217 +MD5 ac255934ae66cac7e84c2b3b4642de5b asterisk-oh323-0.6.5.ebuild 1183 +MD5 5f3da3b300fafed1e2639505fb938afb files/asterisk-oh323-0.5.10-Makefile.patch 1649 +MD5 ffa52289baeedd9c24e1a9eb21ab721f files/asterisk-oh323-0.5.10-asterisk-driver-Makefile.patch 323 MD5 d81ba6256f0eadf0479f37fae7451836 files/asterisk-oh323-0.5.9-Makefile.patch 1163 MD5 ffa52289baeedd9c24e1a9eb21ab721f files/asterisk-oh323-0.5.9-asterisk-driver-Makefile.patch 323 -MD5 ffa52289baeedd9c24e1a9eb21ab721f files/asterisk-oh323-0.5.10-asterisk-driver-Makefile.patch 323 -MD5 5f3da3b300fafed1e2639505fb938afb files/asterisk-oh323-0.5.10-Makefile.patch 1649 MD5 2a85703c4ed5f0a0f4a163643ba1809c files/digest-asterisk-oh323-0.5.10 72 MD5 4313406e25f5b3bc750c792e1448ce04 files/digest-asterisk-oh323-0.5.9 71 +MD5 442630149f00b75cebe5b3f876545ba3 files/digest-asterisk-oh323-0.6.5 71 +MD5 c14a16ac3b4367dbe209d5895bee0fbe files/asterisk-oh323-0.6.5-Makefile.patch 2527 diff --git a/net-misc/asterisk-oh323/asterisk-oh323-0.5.10.ebuild b/net-misc/asterisk-oh323/asterisk-oh323-0.5.10.ebuild index dd7ab3b2aa9e..05e77dece31a 100644 --- a/net-misc/asterisk-oh323/asterisk-oh323-0.5.10.ebuild +++ b/net-misc/asterisk-oh323/asterisk-oh323-0.5.10.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-oh323/asterisk-oh323-0.5.10.ebuild,v 1.2 2004/06/24 23:35:05 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-oh323/asterisk-oh323-0.5.10.ebuild,v 1.3 2005/03/10 01:44:19 stkn Exp $ inherit eutils diff --git a/net-misc/asterisk-oh323/asterisk-oh323-0.5.9.ebuild b/net-misc/asterisk-oh323/asterisk-oh323-0.5.9.ebuild index 2a11e332040d..be6bf1eac790 100644 --- a/net-misc/asterisk-oh323/asterisk-oh323-0.5.9.ebuild +++ b/net-misc/asterisk-oh323/asterisk-oh323-0.5.9.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-oh323/asterisk-oh323-0.5.9.ebuild,v 1.3 2004/06/24 23:35:05 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-oh323/asterisk-oh323-0.5.9.ebuild,v 1.4 2005/03/10 01:44:19 stkn Exp $ IUSE="" diff --git a/net-misc/asterisk-oh323/asterisk-oh323-0.6.5.ebuild b/net-misc/asterisk-oh323/asterisk-oh323-0.6.5.ebuild new file mode 100644 index 000000000000..6dd6223c7057 --- /dev/null +++ b/net-misc/asterisk-oh323/asterisk-oh323-0.6.5.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-oh323/asterisk-oh323-0.6.5.ebuild,v 1.1 2005/03/10 01:44:19 stkn Exp $ + +inherit eutils flag-o-matic + +IUSE="debug" + +DESCRIPTION="H.323 Support for the Asterisk soft PBX" +HOMEPAGE="http://www.inaccessnetworks.com/projects/asterisk-oh323/" +SRC_URI="http://www.inaccessnetworks.com/projects/asterisk-oh323/download/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +DEPEND="~dev-libs/pwlib-1.6.6 + ~net-libs/openh323-1.13.5 + >=net-misc/asterisk-1.0.0" + +S="${WORKDIR}/${P}" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-Makefile.patch + + # add -fPIC and use our own flags + append-flags -fPIC + + sed -i -e "s:^\(CPPFLAGS=\)\(.*\):\1 ${CXXFLAGS} \2:" \ + -e "s:^\(CFLAGS=\)\(.*\):\1 ${CFLAGS} \2:" \ + Makefile + + # disable wraptracing if you dont need it + if ! use debug; then + sed -i -e "s:^\(WRAPTRACING\).*:\1=0:" Makefile + fi +} + +src_compile() { + # NOTRACE=1 is set in the Makefile + # emake breaks version detection for pwlib and openh323 + make || die +} + +src_install() { + make DESTDIR=${D} install || die +} diff --git a/net-misc/asterisk-oh323/files/asterisk-oh323-0.6.5-Makefile.patch b/net-misc/asterisk-oh323/files/asterisk-oh323-0.6.5-Makefile.patch new file mode 100644 index 000000000000..0588c14381ed --- /dev/null +++ b/net-misc/asterisk-oh323/files/asterisk-oh323-0.6.5-Makefile.patch @@ -0,0 +1,91 @@ +--- asterisk-oh323-0.6.5/Makefile.orig 2004-11-03 12:52:59.000000000 +0100 ++++ asterisk-oh323-0.6.5/Makefile 2005-03-09 06:26:56.042637240 +0100 +@@ -49,7 +49,7 @@ + # compile asterisk-oh323. Do not use the installed library of your + # distribution. It won't work. + # +-PWLIBDIR=/root/src/oh323/pwlib ++PWLIBDIR=/usr/share/pwlib + + # + # Set OPENH323LIBDIR variable to the directory containing the sources of +@@ -59,13 +59,13 @@ + # compile asterisk-oh323. Do not use the installed library of your + # distribution. It won't work. + # +-OPENH323DIR=/root/src/oh323/openh323 ++OPENH323DIR=/usr/share/openh323 + + # + # Set ASTERISKINCDIR variable to the directory containing the include files of + # Asterisk PBX. + # +-ASTERISKINCDIR=/root/src/asterisk/include ++ASTERISKINCDIR=/usr/include + + # + # Set ASTERISKMODDIR variable to the directory where ASTERISK's modules reside. +@@ -91,7 +91,7 @@ + # + # Note: This directory is created under $DESTDIR. + # +-OH323WRAPLIBDIR=/usr/local/lib ++OH323WRAPLIBDIR=/usr/lib + + # + # Set SSLINCDIR variable to the directory where ssl/crypto +@@ -121,7 +121,7 @@ + # With this flag on the channel driver is huge, in size, but Asterisk boots + # faster! + # +-OH323STAT=1 ++OH323STAT=0 + + # + # Define options that were used during Asterisk compilation +@@ -137,7 +137,7 @@ + #NOVIDEO=1 + #NO_SPEEX=1 + #NOAUDIOCODECS=1 +-#NOTRACE=1 ++NOTRACE=1 + #NO_IPv6=1 + #P_PTHREADS=1 + +@@ -165,13 +165,9 @@ + AR=ar + STRIP=strip + STRIPFLAGS= +-OH323WRAPINCLUDE= \ +- -I$(PWLIBDIR)/include/ptlib/unix \ +- -I$(PWLIBDIR)/include \ +- -I$(OPENH323DIR)/include \ +- -I$(OPENH323DIR)/include/openh323 \ +- -I../asterisk-driver +-# -I$(SSLINCDIR) ++OH323WRAPINCLUDE=-I$(SSLINCDIR) \ ++ -I/usr/include/openh323 \ ++ -I../asterisk-driver + OPENH323USERFLAGS= + ifdef NOVIDEO + OPENH323USERFLAGS += NOVIDEO=1 +@@ -192,7 +189,7 @@ + OPENH323USERFLAGS += P_PTHREADS=1 + endif + OPENH323FLAGS=$(shell make $(OPENH323USERFLAGS) --no-print-directory -s \ +- -C $(OPENH323DIR) \ ++ -C $(OPENH323DIR) -f openh323u.mak \ + PWLIBDIR=$(PWLIBDIR) OPENH323DIR=$(OPENH323DIR) ccflags) + CPPFLAGS=$(OPENH323FLAGS) -Wall -x c++ -Os + ASTERISKINCLUDE=-I$(ASTERISKINCDIR) -I../wrapper +--- asterisk-oh323-0.6.5/asterisk-driver/Makefile.orig 2004-10-04 13:52:09.000000000 +0200 ++++ asterisk-oh323-0.6.5/asterisk-driver/Makefile 2005-03-09 06:28:39.092971208 +0100 +@@ -31,6 +31,8 @@ + TARGET=chan_oh323.so + TARGET_OBJ=chan_oh323.o + ++OPENH323DIR=/usr ++ + ifndef SKIP_SUFFIX + ifeq ($(OH323STAT),1) + LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/libpt*s.a)) diff --git a/net-misc/asterisk-oh323/files/digest-asterisk-oh323-0.6.5 b/net-misc/asterisk-oh323/files/digest-asterisk-oh323-0.6.5 new file mode 100644 index 000000000000..0dcb5ac8f01d --- /dev/null +++ b/net-misc/asterisk-oh323/files/digest-asterisk-oh323-0.6.5 @@ -0,0 +1 @@ +MD5 4cf3ff5362bb5db498f2a2dfb8b24087 asterisk-oh323-0.6.5.tar.gz 87112 |