summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2009-02-06 14:49:47 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2009-02-06 14:49:47 +0000
commit05edd23275c3a1ff271f6cfaa3a36dfed44bfd60 (patch)
tree2f3285474bc3a642921662a92b03904af84aff80 /net-voip
parentstable amd64/sparc, bug 257691 (diff)
downloadhistorical-05edd23275c3a1ff271f6cfaa3a36dfed44bfd60.tar.gz
historical-05edd23275c3a1ff271f6cfaa3a36dfed44bfd60.tar.bz2
historical-05edd23275c3a1ff271f6cfaa3a36dfed44bfd60.zip
Bug fixed: #197638, #248190, #198254 (added new speex dep)
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'net-voip')
-rw-r--r--net-voip/yate/ChangeLog10
-rw-r--r--net-voip/yate/Manifest11
-rw-r--r--net-voip/yate/files/yate-1.3.0-makefiles.patch447
-rw-r--r--net-voip/yate/yate-1.3.0.ebuild76
4 files changed, 538 insertions, 6 deletions
diff --git a/net-voip/yate/ChangeLog b/net-voip/yate/ChangeLog
index 238ed100ffb5..287545efdc64 100644
--- a/net-voip/yate/ChangeLog
+++ b/net-voip/yate/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-voip/yate
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-voip/yate/ChangeLog,v 1.5 2008/08/22 23:21:51 cardoe Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-voip/yate/ChangeLog,v 1.6 2009/02/06 14:49:47 drizzt Exp $
+
+*yate-1.3.0 (06 Feb 2009)
+
+ 06 Feb 2009; Timothy Redaelli <drizzt@gentoo.org>
+ +files/yate-1.3.0-makefiles.patch, +yate-1.3.0.ebuild:
+ Bug fixed: #197638, #248190, #198254 (added new speex dep)
22 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
add GLEP 56 USE flag desc from use.local.desc
diff --git a/net-voip/yate/Manifest b/net-voip/yate/Manifest
index 12b20f0b4d46..4af8e8b9ed14 100644
--- a/net-voip/yate/Manifest
+++ b/net-voip/yate/Manifest
@@ -2,16 +2,19 @@
Hash: SHA1
AUX yate-0.9.0-gtk2.diff 339 RMD160 c505b49856e7af958146faeb630059ccfc769156 SHA1 c97256bb5dd4686fe8c973c588077d91d2917ded SHA256 68d8b05dd084d2967d548e471208d39abc910a96fcd46b627cc9f1131d3cf5ee
+AUX yate-1.3.0-makefiles.patch 15135 RMD160 d09dea95a1f535e22ef0f4dbee12a9b7efe5145c SHA1 4bda5fa4b769effe5705b6e72c113b34b3e37926 SHA256 44679388fbe812cd156fb6a294ac41026f5d7fbf4e9750d0a23277f48f221d5b
AUX yate.confd 222 RMD160 85401118916877280166bc55bdcd76149b77c674 SHA1 184987b53db21f9ca233f9f6795b4981e2c67972 SHA256 8d203eeff915143502139cc570142a076b10f3fb2d816e8c83e3aa35a1da00f6
AUX yate.rc6 502 RMD160 7fbdf20436e1267f4af6b0ce3e0ccf821304c49b SHA1 aa8845e816dcf4809b0f9d96ce812f10b2b7a042 SHA256 915866c65eeff5f69a8f724e65ccc4ccd17b19c6ab1751f98194c1bb0d6b360a
DIST yate-1.2.0-1.tar.gz 1248848 RMD160 6a3d7f9247282bef89c18bff01efcbe31a73fa8d SHA1 6361b8ff4cd03cf4bf908022b99d3854f9d94a63 SHA256 9e58857408e98b957dc72e164a135c2de7ea9a221d214e6bab3ca4020f656273
+DIST yate-1.3.0-1.tar.gz 1294420 RMD160 d135f5f8bd3378a3e8d2d96b39ccb3aa4c6e77f6 SHA1 cb662e2495a445f91bdf396e6ae76bf3ad0c0995 SHA256 97f6e6011828c98caebf511d9bd9b74b8411add939df6dbe028eda85cf819f77
EBUILD yate-1.2.0.ebuild 1604 RMD160 92421bb116750f3bd2d0e1d61ea1fc4b7e4083e0 SHA1 acd6e217709b0bbbf9f71c12f64a59abe8807274 SHA256 e2ecf924c7ef8378ada7b10828b1ae700dbaa9f08a6831bf302562714f610da0
-MISC ChangeLog 979 RMD160 b7c55653ee44b53c95963c19fb68b8ec2ea4f035 SHA1 cbad8d7a3534516e8e24bf187ebed685c27da528 SHA256 c1593085edf598d297e5f085ef01e2c153aeb156498d1a7147a5313573eb32ee
+EBUILD yate-1.3.0.ebuild 1726 RMD160 23a7035bfbd59232724c3b5b2452c3b38c285daa SHA1 47dd48a462f8087347fe3f909f6111a802774e27 SHA256 2ea182ff722ecd34b19984e53fb5e3439e438301abe9eb5154cc9ff7a7c94bd1
+MISC ChangeLog 1177 RMD160 388c4b4069a32213e11ef50ac5f3146f3a674190 SHA1 8773e88ec641d42618b833a982369b70719ce850 SHA256 69d3ffccded82885989cc81c57b653a790852d55f58502f2c8e8c9371690bafa
MISC metadata.xml 377 RMD160 9afffc528d59eb5b01521d3738c507d037ec3839 SHA1 618baad7d7963e69e5c3f8228f73117784dcf1d0 SHA256 c163a0ccb5a30ad2a834443db1d4e3104e4d7bfe41eaa3b3d27565be04c19295
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkivShwACgkQoeSe8B0zEfzAFACfT6JnXXiiZSCwxli3HOWpRRP3
-DM8Anj7wCsuNUe1Q7lQO+YY4huL9TJAD
-=KIkZ
+iEYEARECAAYFAkmMThUACgkQl4DfQEcjpw3O0ACfY+uAjX3uy0kSZ9IMH4iawhaX
+Z5YAoJrUv74VU73ihY48xLrvUKg4tBKe
+=0d5x
-----END PGP SIGNATURE-----
diff --git a/net-voip/yate/files/yate-1.3.0-makefiles.patch b/net-voip/yate/files/yate-1.3.0-makefiles.patch
new file mode 100644
index 000000000000..05e16f7d9be0
--- /dev/null
+++ b/net-voip/yate/files/yate-1.3.0-makefiles.patch
@@ -0,0 +1,447 @@
+diff -ur --exclude Makefile yate.orig/Makefile.in yate/Makefile.in
+--- yate.orig/Makefile.in 2009-02-06 14:54:30.453027648 +0100
++++ yate/Makefile.in 2009-02-06 15:11:13.733004572 +0100
+@@ -12,8 +12,8 @@
+ DEFS :=
+ LIBTHR:= -lpthread
+ INCLUDES := -I. -I@srcdir@
+-CFLAGS := -O2 @MODULE_CPPFLAGS@ @INLINE_FLAGS@
+-LDFLAGS:=
++CXXFLAGS += @MODULE_CPPFLAGS@ @INLINE_FLAGS@
++LDFLAGS+=
+ LDCONFIG:=true
+
+ MKDEPS := ./config.status
+@@ -28,7 +28,7 @@
+ OBJS := main.o
+
+ CLEANS = $(PROGS) $(SLIBS) $(LIBS) $(OBJS) yatepaths.h core
+-COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CFLAGS)
++COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CXXFLAGS)
+ LINK = $(CXX) $(LDFLAGS)
+
+ DOCGEN_F := $(INCS)
+@@ -296,7 +296,7 @@
+ Makefile: @srcdir@/Makefile.in $(MKDEPS)
+ ./config.status
+
+-yate: libyate.so $(OBJS) $(LIBS)
++yate: $(OBJS) libyate.so $(LIBS)
+ $(LINK) -o $@ $(LIBTHR) $^
+
+ libyate.so: $(YLIB)
+diff -ur --exclude Makefile yate.orig/clients/Makefile.in yate/clients/Makefile.in
+--- yate.orig/clients/Makefile.in 2009-02-06 14:54:30.453027648 +0100
++++ yate/clients/Makefile.in 2009-02-06 15:17:45.373010989 +0100
+@@ -12,8 +12,8 @@
+ DEFS :=
+ LIBTHR:= -lpthread
+ INCLUDES := -I.. -I@top_srcdir@
+-CFLAGS := -O2 @MODULE_CPPFLAGS@ @INLINE_FLAGS@
+-LDFLAGS:= -L.. -lyate
++CXXFLAGS += @MODULE_CPPFLAGS@ @INLINE_FLAGS@
++LDFLAGS+= -L..
+ INCFILES := @top_srcdir@/yatengine.h @top_srcdir@/yatephone.h ../yateversn.h
+
+ SUBDIRS :=
+@@ -32,8 +32,8 @@
+ endif
+
+ LOCALFLAGS =
+-LOCALLIBS =
+-COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CFLAGS)
++LOCALLIBS = -lyate
++COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CXXFLAGS)
+ LINK = $(CXX) $(LDFLAGS)
+
+ prefix = @prefix@
+@@ -116,7 +116,7 @@
+ yate-gtk2: $(GTKCLIENT)
+ yate-gtk2: LDFLAGS := $(GTKCLIENT) $(LDFLAGS)
+ yate-gtk2: LOCALFLAGS = @GTK2_INC@
+-yate-gtk2: LOCALLIBS = @GTK2_LIB@
++yate-gtk2: LOCALLIBS += @GTK2_LIB@
+
+ $(GTKCLIENT):
+ $(MAKE) -C ../contrib/gtk2
+Only in yate: config.log
+Only in yate: config.status
+diff -ur --exclude Makefile yate.orig/contrib/gtk2/Makefile.in yate/contrib/gtk2/Makefile.in
+--- yate.orig/contrib/gtk2/Makefile.in 2009-02-06 14:54:30.457004060 +0100
++++ yate/contrib/gtk2/Makefile.in 2009-02-06 15:17:15.993003394 +0100
+@@ -5,15 +5,16 @@
+ DEBUG :=
+
+ CXX := @CXX@ -Wall
+-AR := ar
++#AR := ar
+ DEFS:=
+
+ INCLUDES:=-I. -I@srcdir@ -I@top_srcdir@ @GTK2_INC@
+-CXXFLAGS:=$(CXXFLAGS) @MODULE_CPPFLAGS@ @INLINE_FLAGS@
+-LDFLAGS:= -L../.. -lyate
++CXXFLAGS+= @MODULE_CPPFLAGS@ @INLINE_FLAGS@
+ INCFILES := @top_srcdir@/yateclass.h @top_srcdir@/yatecbase.h @srcdir@/gtk2client.h
+
++ifeq (@HAVE_GTK2@,yes)
+ PROJECT = libgtk2client.a
++endif
+ SOURCES = gtk2client.cpp
+ OBJECTS = $(SOURCES:.cpp=.o)
+
+Only in yate/contrib/gtk2: Makefile.in.orig
+diff -ur --exclude Makefile yate.orig/contrib/ilbc/Makefile.in yate/contrib/ilbc/Makefile.in
+--- yate.orig/contrib/ilbc/Makefile.in 2009-02-06 14:54:30.457004060 +0100
++++ yate/contrib/ilbc/Makefile.in 2009-02-06 15:08:35.465004588 +0100
+@@ -2,12 +2,12 @@
+ # This file holds the make rules for the libilbc
+
+ CC := @CC@ -Wall
+-AR := ar
++#AR := ar
+ SED := sed
+ DEFS :=
+ INCLUDES := -I@top_srcdir@
+-CFLAGS := -O3 -funroll-loops -fomit-frame-pointer -fsigned-char @MODULE_CFLAGS@
+-LDFLAGS:=
++CFLAGS += -fsigned-char @MODULE_CFLAGS@
++LDFLAGS+=
+
+ PROGS=
+ LIBS = libilbc.a
+diff -ur --exclude Makefile yate.orig/contrib/yiax/Makefile.in yate/contrib/yiax/Makefile.in
+--- yate.orig/contrib/yiax/Makefile.in 2009-02-06 14:54:30.461003242 +0100
++++ yate/contrib/yiax/Makefile.in 2009-02-06 15:12:43.888003886 +0100
+@@ -7,7 +7,7 @@
+ AR := ar
+ DEFS :=
+ INCLUDES := -I@top_srcdir@ -I../.. -I@srcdir@
+-CFLAGS := -O2 @MODULE_CPPFLAGS@ @INLINE_FLAGS@
++CXFLAGS += @MODULE_CPPFLAGS@ @INLINE_FLAGS@
+ LDFLAGS:= -L../.. -lyate
+ INCFILES := @top_srcdir@/yateclass.h @srcdir@/yateiax.h
+
+@@ -17,7 +17,7 @@
+
+ LOCALFLAGS =
+ LOCALLIBS =
+-COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CFLAGS)
++COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CXXFLAGS)
+ LINK = $(CC) $(LDFLAGS)
+
+ prefix = @prefix@
+diff -ur --exclude Makefile yate.orig/contrib/yjingle/Makefile.in yate/contrib/yjingle/Makefile.in
+--- yate.orig/contrib/yjingle/Makefile.in 2009-02-06 14:54:30.465003959 +0100
++++ yate/contrib/yjingle/Makefile.in 2009-02-06 15:13:39.797003144 +0100
+@@ -7,7 +7,7 @@
+ AR := ar
+ DEFS :=
+ INCLUDES := -I@top_srcdir@ -I../.. -I@srcdir@/../yxml -I@srcdir@
+-CFLAGS := -O2 @MODULE_CPPFLAGS@ @INLINE_FLAGS@
++CXXFLAGS += @MODULE_CPPFLAGS@ @INLINE_FLAGS@
+ LDFLAGS:= -L../.. -lyate
+ INCFILES := @top_srcdir@/yateclass.h @srcdir@/../yxml/tinystr.h @srcdir@/../yxml/tinyxml.h @srcdir@/xmlparser.h @srcdir@/xmpputils.h @srcdir@/yatejabber.h @srcdir@/yatejingle.h
+
+@@ -17,7 +17,7 @@
+
+ LOCALFLAGS =
+ LOCALLIBS =
+-COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CFLAGS)
++COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CXXFLAGS)
+ LINK = $(CC) $(LDFLAGS)
+
+ prefix = @prefix@
+diff -ur --exclude Makefile yate.orig/contrib/ypbx/Makefile.in yate/contrib/ypbx/Makefile.in
+--- yate.orig/contrib/ypbx/Makefile.in 2009-02-06 14:54:30.461003242 +0100
++++ yate/contrib/ypbx/Makefile.in 2009-02-06 15:11:39.676003888 +0100
+@@ -7,7 +7,7 @@
+ AR := ar
+ DEFS :=
+ INCLUDES := -I@top_srcdir@ -I../.. -I@srcdir@
+-CFLAGS := -O2 @MODULE_CPPFLAGS@ @INLINE_FLAGS@
++CXXFLAGS += @MODULE_CPPFLAGS@ @INLINE_FLAGS@
+ LDFLAGS:= -L../.. -lyate
+ INCFILES := @top_srcdir@/yateclass.h @srcdir@/yatepbx.h
+
+@@ -17,7 +17,7 @@
+
+ LOCALFLAGS =
+ LOCALLIBS =
+-COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CFLAGS)
++COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CXXFLAGS)
+ LINK = $(CC) $(LDFLAGS)
+
+ prefix = @prefix@
+diff -ur --exclude Makefile yate.orig/contrib/yrtp/Makefile.in yate/contrib/yrtp/Makefile.in
+--- yate.orig/contrib/yrtp/Makefile.in 2009-02-06 14:54:30.461003242 +0100
++++ yate/contrib/yrtp/Makefile.in 2009-02-06 15:12:06.480028423 +0100
+@@ -7,7 +7,7 @@
+ AR := ar
+ DEFS :=
+ INCLUDES := -I@top_srcdir@ -I../.. -I@srcdir@
+-CFLAGS := -O2 @MODULE_CPPFLAGS@ @INLINE_FLAGS@
++CXXFLAGS += @MODULE_CPPFLAGS@ @INLINE_FLAGS@
+ LDFLAGS:= -L../.. -lyate
+ INCFILES := @top_srcdir@/yateclass.h @srcdir@/yatertp.h
+
+@@ -17,7 +17,7 @@
+
+ LOCALFLAGS =
+ LOCALLIBS =
+-COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CFLAGS)
++COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CXXFLAGS)
+ LINK = $(CC) $(LDFLAGS)
+
+ prefix = @prefix@
+diff -ur --exclude Makefile yate.orig/contrib/ysip/Makefile.in yate/contrib/ysip/Makefile.in
+--- yate.orig/contrib/ysip/Makefile.in 2009-02-06 14:54:30.465003959 +0100
++++ yate/contrib/ysip/Makefile.in 2009-02-06 15:12:25.424027736 +0100
+@@ -7,7 +7,7 @@
+ AR := ar
+ DEFS :=
+ INCLUDES := -I@top_srcdir@ -I../.. -I@srcdir@
+-CFLAGS := -O2 @MODULE_CPPFLAGS@ @INLINE_FLAGS@
++CXXFLAGS += @MODULE_CPPFLAGS@ @INLINE_FLAGS@
+ LDFLAGS:= -L../.. -lyate
+ INCFILES := @top_srcdir@/yateclass.h @srcdir@/yatesip.h @srcdir@/util.h
+
+@@ -17,7 +17,7 @@
+
+ LOCALFLAGS =
+ LOCALLIBS =
+-COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CFLAGS)
++COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CXXFLAGS)
+ LINK = $(CC) $(LDFLAGS)
+
+ prefix = @prefix@
+diff -ur --exclude Makefile yate.orig/contrib/yss7/Makefile.in yate/contrib/yss7/Makefile.in
+--- yate.orig/contrib/yss7/Makefile.in 2009-02-06 14:54:30.465003959 +0100
++++ yate/contrib/yss7/Makefile.in 2009-02-06 15:08:18.680029330 +0100
+@@ -8,8 +8,7 @@
+ DEFS :=
+ LIBTHR := -lpthread
+ INCLUDES := -I@top_srcdir@ -I../.. -I@srcdir@
+-CFLAGS := -O2 @MODULE_CPPFLAGS@ @INLINE_FLAGS@
+-LDFLAGS:= -L../.. -lyate
++CFLAGS += @MODULE_CPPFLAGS@ @INLINE_FLAGS@
+ INCFILES := @top_srcdir@/yateclass.h @srcdir@/yatess7.h
+
+ PROGS= yate-ss7test
+diff -ur --exclude Makefile yate.orig/contrib/yxml/Makefile.in yate/contrib/yxml/Makefile.in
+--- yate.orig/contrib/yxml/Makefile.in 2009-02-06 14:54:30.465003959 +0100
++++ yate/contrib/yxml/Makefile.in 2009-02-06 15:13:05.144006036 +0100
+@@ -7,7 +7,7 @@
+ AR := ar
+ DEFS :=
+ INCLUDES := -I@top_srcdir@ -I../.. -I@srcdir@
+-CFLAGS := -O2 @MODULE_CPPFLAGS@ @INLINE_FLAGS@
++CXXFLAGS += @MODULE_CPPFLAGS@ @INLINE_FLAGS@
+ LDFLAGS:= -L../.. -lyate
+ INCFILES := @top_srcdir@/yateclass.h @srcdir@/tinystr.h @srcdir@/tinyxml.h
+
+@@ -17,7 +17,7 @@
+
+ LOCALFLAGS =
+ LOCALLIBS =
+-COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CFLAGS)
++COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CXXFLAGS)
+ LINK = $(CC) $(LDFLAGS)
+
+ prefix = @prefix@
+diff -ur --exclude Makefile yate.orig/engine/Makefile.in yate/engine/Makefile.in
+--- yate.orig/engine/Makefile.in 2009-02-06 14:54:30.485003426 +0100
++++ yate/engine/Makefile.in 2009-02-06 15:09:27.872003878 +0100
+@@ -11,9 +11,9 @@
+ LIBAUX:= @DLOPEN_LIB@
+ LIBTHR:= -lpthread
+ INCLUDES := -I.. -I@top_srcdir@
+-CFLAGS := -O2 @MODULE_CFLAGS@ @INLINE_FLAGS@
+-CPPFLAGS := -O2 @MODULE_CPPFLAGS@ @INLINE_FLAGS@
+-LDFLAGS:=
++CFLAGS += @MODULE_CFLAGS@ @INLINE_FLAGS@
++CXXFLAGS += @MODULE_CPPFLAGS@ @INLINE_FLAGS@
++LDFLAGS+=
+ LDCONFIG:=true
+
+ MKDEPS := ../config.status
+@@ -32,7 +32,7 @@
+ LIBOBJS := $(CLSOBJS) $(ENGOBJS) $(TELOBJS) $(CLIOBJS)
+ CLEANS = $(LIBOBJS) core
+ CCOMPILE = $(CC) $(DEFS) $(DEBUG) $(INCLUDES) $(CFLAGS)
+-COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CPPFLAGS)
++COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CXXFLAGS)
+ LINK = $(CXX) $(LDFLAGS)
+ SCTPOPTS:=
+
+@@ -118,4 +118,4 @@
+ cd .. && ./config.status
+
+ ../$(YLIB): $(LIBOBJS) $(LIBS)
+- $(LINK) -shared -o $@ -Wl,--soname=$(YLIB) $(LIBTHR) $^ $(LIBAUX)
++ $(LINK) -shared -o $@ -Wl,--soname=$(YLIB) $^ $(LIBTHR) $(LIBAUX)
+diff -ur --exclude Makefile yate.orig/modules/Makefile.in yate/modules/Makefile.in
+--- yate.orig/modules/Makefile.in 2009-02-06 14:54:30.485003426 +0100
++++ yate/modules/Makefile.in 2009-02-06 15:15:58.909003551 +0100
+@@ -12,9 +12,9 @@
+ SED := sed
+ DEFS :=
+ INCLUDES := -I.. -I@top_srcdir@
+-CFLAGS := -O2 @MODULE_CFLAGS@ @INLINE_FLAGS@
+-CPPFLAGS := -O2 @MODULE_CPPFLAGS@ @INLINE_FLAGS@
+-LDFLAGS:= -L.. -lyate
++CFLAGS += @MODULE_CFLAGS@ @INLINE_FLAGS@
++CXXFLAGS += @MODULE_CPPFLAGS@ @INLINE_FLAGS@
++LDFLAGS+= -L..
+ MODFLAGS:= @MODULE_LDFLAGS@
+ MODRELAX:= @MODULE_LDRELAX@
+ MODSTRIP:= @MODULE_SYMBOLS@
+@@ -94,9 +94,9 @@
+ endif
+
+ LOCALFLAGS =
+-LOCALLIBS =
++LOCALLIBS = -lyate
+ CCOMPILE = $(CC) $(DEFS) $(DEBUG) $(INCLUDES) $(CFLAGS)
+-COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CPPFLAGS)
++COMPILE = $(CXX) $(DEFS) $(DEBUG) $(INCLUDES) $(CXXFLAGS)
+ LINK = $(CXX) $(LDFLAGS)
+ MODLINK = $(CXX) $(MODFLAGS) $(MODSTRIP) $(LDFLAGS)
+ MODCOMP = $(COMPILE) $(MODFLAGS) $(MODSTRIP) $(LDFLAGS)
+@@ -127,7 +127,7 @@
+
+ .PHONY: clean
+ clean: do-clean
+- @-$(RM) $(PROGS) $(LIBS) *.o core 2>/dev/null
++ @-$(RM) $(LIBS) $(PROGS) *.o core 2>/dev/null
+
+ .PHONY: install
+ install: all do-install
+@@ -169,80 +169,80 @@
+ $(LINK) -shared -o $@ $^
+
+ %.yate: @srcdir@/%.cpp $(MKDEPS) $(INCFILES)
+- $(MODCOMP) -o $@ $(LOCALFLAGS) $< $(LOCALLIBS)
++ $(MODCOMP) -o $@ $(LOCALFLAGS) $< $(LOCALLIBS) $(LIBS)
+
+
+ # Take special care of the modules that depend on optional libs
+
+ zapchan.yate: libypri.o
+ zapchan.yate: LOCALFLAGS = @ZAP_FLAGS@
+-zapchan.yate: LOCALLIBS = libypri.o -lpri
++zapchan.yate: LOCALLIBS += libypri.o -lpri
+
+ wpchan.yate: libypri.o
+ wpchan.yate: LOCALFLAGS = @WANPIPE_HWEC_INC@
+-wpchan.yate: LOCALLIBS = libypri.o -lpri
++wpchan.yate: LOCALLIBS += libypri.o -lpri
+
+ ysigchan.yate wpcard.yate zapcard.yate: ../libyatess7.so
+ ysigchan.yate wpcard.yate zapcard.yate: LOCALFLAGS = -I../contrib/yss7
+-ysigchan.yate wpcard.yate zapcard.yate: LOCALLIBS = -lyatess7
++ysigchan.yate wpcard.yate zapcard.yate: LOCALLIBS += -lyatess7
+
+ h323chan.yate: LOCALFLAGS = -DPHAS_TEMPLATES -D_REENTRANT -DP_HAS_SEMAPHORES @H323_INC@
+-h323chan.yate: LOCALLIBS = @H323_LIB@
++h323chan.yate: LOCALLIBS += @H323_LIB@
+
+ pgsqldb.yate: LOCALFLAGS = @PGSQL_INC@
+-pgsqldb.yate: LOCALLIBS = -lpq
++pgsqldb.yate: LOCALLIBS += -lpq
+
+ mysqldb.yate: LOCALFLAGS = @MYSQL_INC@
+-mysqldb.yate: LOCALLIBS = @MYSQL_LIB@
++mysqldb.yate: LOCALLIBS += @MYSQL_LIB@
+
+-enumroute.yate: LOCALLIBS = -lresolv
++enumroute.yate: LOCALLIBS += -lresolv
+
+-alsachan.yate: LOCALLIBS = -lasound
++alsachan.yate: LOCALLIBS += -lasound
+
+ yiaxchan.yate: ../contrib/yiax/libyateiax.a
+ yiaxchan.yate: LOCALFLAGS = -I@top_srcdir@/contrib/yiax
+-yiaxchan.yate: LOCALLIBS = -L../contrib/yiax -lyateiax
++yiaxchan.yate: LOCALLIBS += -L../contrib/yiax -lyateiax
+
+ yjinglechan.yate: ../contrib/yxml/libyatexml.a ../contrib/yjingle/libyatejingle.a
+ yjinglechan.yate: LOCALFLAGS = -I@top_srcdir@/contrib/yxml -I@top_srcdir@/contrib/yjingle
+-yjinglechan.yate: LOCALLIBS = -L../contrib/yjingle -L../contrib/yxml -lyatejingle -lyatexml
++yjinglechan.yate: LOCALLIBS += -L../contrib/yjingle -L../contrib/yxml -lyatejingle -lyatexml
+
+ dbpbx.yate: ../contrib/ypbx/libyatepbx.a
+ dbpbx.yate: LOCALFLAGS = -I@top_srcdir@/contrib/ypbx
+-dbpbx.yate: LOCALLIBS = ../contrib/ypbx/libyatepbx.a
++dbpbx.yate: LOCALLIBS += ../contrib/ypbx/libyatepbx.a
+
+ pbxassist.yate: ../contrib/ypbx/libyatepbx.a
+ pbxassist.yate: LOCALFLAGS = -I@top_srcdir@/contrib/ypbx
+-pbxassist.yate: LOCALLIBS = ../contrib/ypbx/libyatepbx.a
++pbxassist.yate: LOCALLIBS += ../contrib/ypbx/libyatepbx.a
+
+ ilbccodec.yate: ../contrib/ilbc/libilbc.a
+-ilbccodec.yate: LOCALLIBS = ../contrib/ilbc/libilbc.a
++ilbccodec.yate: LOCALLIBS += ../contrib/ilbc/libilbc.a
+ ilbccodec.yate: LOCALFLAGS = @ILBC_INC@
+
+-gsmcodec.yate: LOCALLIBS = -lgsm
++gsmcodec.yate: LOCALLIBS += -lgsm
+ gsmcodec.yate: LOCALFLAGS = @GSM_INC@
+
+-speexcodec.yate: LOCALLIBS = -lspeex
++speexcodec.yate: LOCALLIBS += -lspeex
+ speexcodec.yate: LOCALFLAGS = @SPEEX_INC@
+
+-faxchan.yate: LOCALLIBS = -lspandsp
++faxchan.yate: LOCALLIBS += -lspandsp
+ faxchan.yate: LOCALFLAGS = @SPANDSP_INC@
+
+ ysipchan.yate: ../contrib/ysip/libyatesip.a
+ ysipchan.yate: LOCALFLAGS = -I@top_srcdir@/contrib/ysip
+-ysipchan.yate: LOCALLIBS = ../contrib/ysip/libyatesip.a
++ysipchan.yate: LOCALLIBS += ../contrib/ysip/libyatesip.a
+
+ yrtpchan.yate: ../contrib/yrtp/libyatertp.a
+ yrtpchan.yate: LOCALFLAGS = -I@top_srcdir@/contrib/yrtp
+-yrtpchan.yate: LOCALLIBS = ../contrib/yrtp/libyatertp.a
++yrtpchan.yate: LOCALLIBS += ../contrib/yrtp/libyatertp.a
+
+ gtk2/gtk2mozilla.yate: @top_srcdir@/contrib/gtk2/gtk2client.h
+ gtk2/gtk2mozilla.yate: LOCALFLAGS = @GTK2_INC@ @GMOZ_INC@ -I@top_srcdir@/contrib/gtk2
+-gtk2/gtk2mozilla.yate: LOCALLIBS = @GMOZ_LIB@
++gtk2/gtk2mozilla.yate: LOCALLIBS += @GMOZ_LIB@
+ gtk2/gtk2mozilla.yate: MODFLAGS = $(MODRELAX)
+
+ rmanager.yate: LOCALFLAGS = $(COREDUMP_INC)
+-rmanager.yate: LOCALLIBS = $(COREDUMP_LIB)
++rmanager.yate: LOCALLIBS += $(COREDUMP_LIB)
+
+ ../libyatess7.so:
+ $(MAKE) -C ../contrib/yss7
+Only in yate: run
+diff -ur --exclude Makefile yate.orig/test/Makefile.in yate/test/Makefile.in
+--- yate.orig/test/Makefile.in 2009-02-06 14:54:30.497003971 +0100
++++ yate/test/Makefile.in 2009-02-06 15:03:14.912003374 +0100
+@@ -5,8 +5,8 @@
+ SED := sed
+ DEFS :=
+ INCLUDES := -I@top_srcdir@
+-CFLAGS := -O0 @MODULE_CPPFLAGS@ @INLINE_FLAGS@
+-LDFLAGS:= -L.. -lyate
++CFLAGS += -O0 @MODULE_CPPFLAGS@ @INLINE_FLAGS@
++LDFLAGS+= -L..
+ MODFLAGS:= @MODULE_LDFLAGS@
+ MODSTRIP:= @MODULE_SYMBOLS@
+
+@@ -16,7 +16,7 @@
+ OBJS =
+
+ LOCALFLAGS =
+-LOCALLIBS =
++LOCALLIBS = -lyate
+ COMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CFLAGS)
+ LINK = $(CXX) $(LDFLAGS)
+ MODLINK = $(CXX) $(MODFLAGS) $(MODSTRIP) $(LDFLAGS)
+Only in yate: yate-config
+Only in yate: yate.pc
+Only in yate: yateversn.h
diff --git a/net-voip/yate/yate-1.3.0.ebuild b/net-voip/yate/yate-1.3.0.ebuild
new file mode 100644
index 000000000000..cae8863b134a
--- /dev/null
+++ b/net-voip/yate/yate-1.3.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-voip/yate/yate-1.3.0.ebuild,v 1.1 2009/02/06 14:49:47 drizzt Exp $
+
+IUSE="doc gsm gtk h323 ilbc postgres zaptel"
+
+inherit eutils
+
+DESCRIPTION="YATE - Yet Another Telephony Engine"
+HOMEPAGE="http://yate.null.ro/"
+SRC_URI="http://yate.null.ro/tarballs/yate1/${P}-1.tar.gz"
+
+S="${WORKDIR}"/${PN}
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+
+DEPEND=">=media-libs/speex-1.2_beta2
+ media-sound/sox
+ zaptel? ( >=net-libs/libpri-1.0.0
+ >=net-misc/zaptel-1.0.0 )
+ h323? ( >=net-libs/openh323-1.15.3 )
+ gtk? ( >=x11-libs/gtk+-2.6.8 )
+ gsm? ( media-sound/gsm )
+ doc? ( >=dev-util/kdoc-2.0_alpha54 )
+ postgres? ( virtual/postgresql-server )"
+
+RDEPEND=$DEPEND
+
+RESTRICT="test" # Test does not lauch unit tests
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # fix makefiles for custom CFLAGS/LDFLAGS
+ epatch "${FILESDIR}"/${P}-makefiles.patch
+}
+
+src_compile() {
+ econf \
+ $(use_with gtk libgtk2) \
+ $(use_with h323 openh323 /usr) \
+ $(use_with h323 pwlib /usr) \
+ $(use_with zaptel libpri) \
+ $(use_with gsm libgsm) \
+ $(use_with postgres libpq /usr) \
+ $(use_enable ilbc) \
+ || die "Configure failed"
+
+ emake all contrib test || die "Building failed"
+
+ if use doc; then
+ emake apidocs || die "Building of API docs failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install-noapi || die "emake install failed"
+
+ newinitd "${FILESDIR}/yate.rc6" yate
+ newconfd "${FILESDIR}/yate.confd" yate
+
+ # install standard docs...
+ dodoc README ChangeLog docs/*.html
+
+ # install api docs
+ if use doc; then
+ docinto api
+ dodoc docs/api/*.html
+ fi
+
+ docinto scripts
+ dodoc scripts/*
+}