diff options
author | Mounir Lamouri <volkmar@gentoo.org> | 2009-04-28 15:54:37 +0000 |
---|---|---|
committer | Mounir Lamouri <volkmar@gentoo.org> | 2009-04-28 15:54:37 +0000 |
commit | 213dc4a107ae171b5cfd1420542793c15efb6320 (patch) | |
tree | ba123d90543520ac2cfcbc726aa5dbf5caea2a90 /net-voip | |
parent | x11-drivers/xf86-input-evdev: prune older versions (diff) | |
download | historical-213dc4a107ae171b5cfd1420542793c15efb6320.tar.gz historical-213dc4a107ae171b5cfd1420542793c15efb6320.tar.bz2 historical-213dc4a107ae171b5cfd1420542793c15efb6320.zip |
moving from net-misc to net-voip, bug 194364
Package-Manager: portage-2.1.6.7/cvs/Linux ppc
RepoMan-Options: --force
Diffstat (limited to 'net-voip')
-rw-r--r-- | net-voip/kphone/ChangeLog | 174 | ||||
-rw-r--r-- | net-voip/kphone/Manifest | 13 | ||||
-rw-r--r-- | net-voip/kphone/files/kphone-4.1.0-Makefiles.patch | 17 | ||||
-rw-r--r-- | net-voip/kphone/files/kphone-4.1.1-gcc34.patch | 13 | ||||
-rw-r--r-- | net-voip/kphone/files/kphone-4.2-CVE-2006-2442.diff | 20 | ||||
-rw-r--r-- | net-voip/kphone/files/kphone-4.2-gcc4.diff | 24 | ||||
-rw-r--r-- | net-voip/kphone/kphone-4.1.0.ebuild | 37 | ||||
-rw-r--r-- | net-voip/kphone/kphone-4.1.1.ebuild | 44 | ||||
-rw-r--r-- | net-voip/kphone/kphone-4.2-r1.ebuild | 44 | ||||
-rw-r--r-- | net-voip/kphone/kphone-4.2.ebuild | 42 | ||||
-rw-r--r-- | net-voip/kphone/metadata.xml | 6 |
11 files changed, 434 insertions, 0 deletions
diff --git a/net-voip/kphone/ChangeLog b/net-voip/kphone/ChangeLog new file mode 100644 index 000000000000..72ab5bf0c5b5 --- /dev/null +++ b/net-voip/kphone/ChangeLog @@ -0,0 +1,174 @@ +# ChangeLog for net-misc/kphone +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-voip/kphone/ChangeLog,v 1.1 2009/04/28 15:54:37 volkmar Exp $ + + 28 Apr 2009; Mounir Lamouri <volkmar@gentoo.org> + +files/kphone-4.1.0-Makefiles.patch, +files/kphone-4.1.1-gcc34.patch, + +files/kphone-4.2-CVE-2006-2442.diff, +files/kphone-4.2-gcc4.diff, + +metadata.xml, +kphone-4.1.0.ebuild, +kphone-4.1.1.ebuild, + +kphone-4.2.ebuild, +kphone-4.2-r1.ebuild: + Moving from net-misc to net-voip. Bug 194364. And making repoman happy. + + 13 Apr 2009; Jeremy Olexa <darkside@gentoo.org> metadata.xml: + move to m-needed, bug 194364 + + 11 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> kphone-4.1.0.ebuild: + Remove virtual/alsa dependency. + + 22 May 2006; Tobias Scherbaum <dertobi123@gentoo.org> + kphone-4.2-r1.ebuild: + ppc stable, bug #133814 + + 22 May 2006; Gustavo Zacarias <gustavoz@gentoo.org> kphone-4.2-r1.ebuild: + Stable on sparc wrt security #133814 + + 21 May 2006; Mark Loeser <halcy0n@gentoo.org> kphone-4.2-r1.ebuild: + Stable on x86; bug #133814 + +*kphone-4.2-r1 (20 May 2006) + + 20 May 2006; Carsten Lohrke <carlo@gentoo.org> + +files/kphone-4.2-CVE-2006-2442.diff, +kphone-4.2-r1.ebuild: + Fix information disclosure (bug 133814), respect CFLAGS, install desktop entry. + + 03 Apr 2006; Gustavo Zacarias <gustavoz@gentoo.org> kphone-4.2.ebuild: + Back to sparc & ppc stable + + 01 Apr 2006; Carsten Lohrke <carlo@gentoo.org> + +files/kphone-4.2-gcc4.diff, kphone-4.2.ebuild: + gcc 4.1 patch, thanks to Robert Marmorstein, bug #128319. + + 24 Sep 2005; Michael Hanselmann <hansmi@gentoo.org> kphone-4.2.ebuild: + Stable on ppc. + + 24 Aug 2005; Gustavo Zacarias <gustavoz@gentoo.org> kphone-4.2.ebuild: + Stable on sparc + + 24 Aug 2005; Gregorio Guidi <greg_g@gentoo.org> kphone-4.1.1.ebuild, + kphone-4.2.ebuild: + Stable on x86. + +*kphone-4.2 (15 Jul 2005) + + 15 Jul 2005; Gregorio Guidi <greg_g@gentoo.org> +kphone-4.2.ebuild: + New version (#99040). + +*kphone-4.1.1 (27 May 2005) + + 27 May 2005; Gregorio Guidi <greg_g@gentoo.org> + +files/kphone-4.1.1-gcc34.patch, metadata.xml, +kphone-4.1.1.ebuild: + New version (#91773). Remove KDE dependency as kphone is a Qt-only application. + + 18 Jan 2005; Gustavo Zacarias <gustavoz@gentoo.org> kphone-4.1.0.ebuild: + Stable on sparc + + 16 Jan 2005; Simone Gotti <motaboy@gentoo.org> -kphone-4.0.4.ebuild, + kphone-4.0.5.ebuild, kphone-4.1.0.ebuild: + Stable on x86. Removing kphone-4.0.4 ebuild to close bug #72940. + +*kphone-4.1.0 (12 Dec 2004) + + 12 Dec 2004; Simone Gotti <motaboy@gentoo.org> + +files/kphone-4.1.0-Makefiles.patch, +kphone-4.1.0.ebuild: + Version bump. Closes bug #74024 + +*kphone-4.0.5 (26 Nov 2004) + + 26 Nov 2004; Simone Gotti <motaboy@gentoo.org> +kphone-4.0.5.ebuild: + Version Bump. Closes bug #72532. + +*kphone-4.0.4 (08 Nov 2004) + + 08 Nov 2004; Simone Gotti <motaboy@gentoo.org> + +files/kphone-4.0.4-makefile.diff, +kphone-4.0.4.ebuild: + Version Bump, closes bug #70339 + + 18 Oct 2004; Gustavo Zacarias <gustavoz@gentoo.org> kphone-4.0.3.ebuild: + Stable on sparc + + 12 Oct 2004; Carsten Lohrke <carlo@gentoo.org> kphone-4.0.3.ebuild: + stable on x86, readded lost archs (?) + + 25 Jul 2004; Carsten Lohrke <carlo@gentoo.org> kphone-4.0.3.ebuild: + missing icons patch, #53648 + +*kphone-4.0.3 (04 Jul 2004) + + 04 Jul 2004; Dominik Stadler <centic@gentoo.org> +kphone-4.0.3.ebuild: + Add new Version 4.0.3, fixes Bug 55641 + + 18 May 2004; Caleb Tennis <caleb@gentoo.org> -kphone-1.0.2.ebuild, + -kphone-2.0.ebuild, -kphone-3.11.ebuild, -kphone-3.14.ebuild: + remove old versions, mark x86 stable + + 16 May 2004; Dominik Stadler <centic@gentoo.org> kphone-1.0.2.ebuild, + kphone-2.0.ebuild, kphone-3.11.ebuild, kphone-3.14.ebuild, + kphone-4.0.1.ebuild: + Add IUSE + + 26 Apr 2004; Aron Griffis <agriffis@gentoo.org> kphone-4.0.1.ebuild, + kphone-4.0.2.ebuild: + Add die following econf for bug 48950 + + 25 Apr 2004; David Holm <dholm@gentoo.org> kphone-4.0.2.ebuild: + Added to ~ppc. + + 24 Apr 2004; Jason Wever <weeve@gentoo.org> kphone-4.0.2.ebuild: + Stable on sparc wrt bug #47480. + +*kphone-4.0.2 (24 Apr 2004) + + 24 Apr 2004; Dominik Stadler <centic@gentoo.org> +metadata.xml, + +kphone-4.0.2.ebuild: + Add Version 4.0.2, see Bug 47480, thanks to Samuel Greenfeld <n2uro@aol.com> + + 25 Mar 2004; Gustavo Zacarias <gustavoz@gentoo.org> kphone-4.0.1.ebuild: + ~sparc baby + + 14 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> kphone-1.0.2.ebuild, + kphone-2.0.ebuild, kphone-3.11.ebuild, kphone-3.14.ebuild, + kphone-4.0.1.ebuild: + inherit kde instead of deprecated kde-base + + 12 Mar 2004; Jason Wever <weeve@gentoo.org> kphone-3.11.ebuild: + Added ~sparc keyword. + +*kphone-4.0.1 (12 Mar 2004) + + 12 Mar 2004; Michael Imhof <tantive@gentoo.org> kphone-4.0.1.ebuild: + Version bumped. Closes #41318, #43818. + +*kphone-3.14 (07 Jan 2004) + + 07 Jan 2004; Daniel Ahlberg <aliz@gentoo.org> kphone-3.14.ebuild: + Version bump. This version runs on amd64, closing #35797. + +*kphone-3.11 (07 Jul 2003) + + 07 Jul 2003; Caleb Tennis <caleb@gentoo.org> kphone-3.11.ebuild: + Version bump + + 12 Jun 2003; <msterret@gentoo.org> kphone-1.0.2.ebuild, kphone-2.0.ebuild: + add Header + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + +*kphone-2.0 (29 Oct 2002) + + 29 Oct 2003; Bart Verwilst <verwilst@gentoo.org> + +*kphone-1.0.2 (12 Sep 2002) + + 13 Sep 2002; Wout Mertens <wmertens@gentoo.org> : + New upstream version, made it compile against KDE 3. + +*kphone-0.9.6 (08 July 2002) + + 08 Jul 2002; phoen][x <phoenix@gentoo.org> ChangeLog : + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. + + Added KEYWORDS. diff --git a/net-voip/kphone/Manifest b/net-voip/kphone/Manifest new file mode 100644 index 000000000000..643d79645dbe --- /dev/null +++ b/net-voip/kphone/Manifest @@ -0,0 +1,13 @@ +AUX kphone-4.1.0-Makefiles.patch 461 RMD160 d14e47db66f656d32f7c3fa7a5164273de1ad28f SHA1 f4c6946379861a3dfdd2e8312c999e4d158e3ba6 SHA256 b53c8a101f3790f11402e73081b1a6ac7a0e38e595ee16bb2c8dcc087d77a42c +AUX kphone-4.1.1-gcc34.patch 456 RMD160 b2b737f28ada8fc3e1e0d22b0a3be855924f62d4 SHA1 16973787dc83dc8299dd78bf05a1878f9176cc34 SHA256 5b2ca8cc817389bdfa9976026a557e3d2eb229b2f53131606b79ea79a2eb7c61 +AUX kphone-4.2-CVE-2006-2442.diff 574 RMD160 4cbcedb7c6f4ac0236009adffb8d5052658dffc9 SHA1 bdd7245ec8c5ace6e85d68a68b47c58854db7854 SHA256 fa017cd527a80aa76c14c2de17d9c48a4375697c14d2a5f8e7b92271b98e3268 +AUX kphone-4.2-gcc4.diff 960 RMD160 901f7a2f364a3a2b7f474182d5e98dad1117be84 SHA1 d825ef1545b71cb4974d3da740c18446901b25a2 SHA256 81104e0d607e73535bc612289cf96ab9b849f97115269854ddb0643c4b68cea6 +DIST kphone-4.1.0.tar.gz 278876 RMD160 6bd9b0a12e895a6f245563ad564e403463aaec2a SHA1 9c480e6d5adec3d39a6921e3712c1e9df44bed1b SHA256 e55ab0ac03e7be5e7b9feb5eb6fa37d3e2cdb5150437c7c500cfc245565ff0f9 +DIST kphone-4.1.1.tar.gz 291907 RMD160 932281a8d9768c244a7b819240740f9ea1ff8da7 SHA1 29fa1d4d333fc34a2f7d7cf36b99407373b4c966 SHA256 5324c0be6aa727598c184c3376af3513c62ae6a78405f99edec382d75a6be51c +DIST kphone-4.2.tar.gz 287320 RMD160 6176a97d19fe05741503f5b81dfd21e6130193e1 SHA1 10c7559b79fb13f42714008cd89a3981f66df2cf SHA256 ed5a3ccf7b941113b85e5895ed0249e7cc68793487e609c26b804ba443a89712 +EBUILD kphone-4.1.0.ebuild 943 RMD160 a2747d2d051d18f4ab5ddc05556f9c69f64d391d SHA1 417cf0124c259ae6e0baab995e8cd85114049a30 SHA256 fd945866cf97a8d971bae44ed9c515234cad0649aa9b25ecc7442017776c59b7 +EBUILD kphone-4.1.1.ebuild 1054 RMD160 9b34c270349b98d468ced48e67b24be83547d1b1 SHA1 080c2820e6b294f1c613ccdfb5e8319df76f0694 SHA256 08498c1bcba9a0694615331777c624525d22f1a526d9cbdc2e6e3b06d5c05491 +EBUILD kphone-4.2-r1.ebuild 1277 RMD160 ba735a10d7b7b0bb10c89f3b8f6d48232111e307 SHA1 015d68f5b338acf79a02d5402d1d8a694f75059c SHA256 10899b03f816833bec4685a47388c96c81be6043aa26c5b87669eb30f560b02a +EBUILD kphone-4.2.ebuild 1063 RMD160 7cd287486f35ab661c81671bdeea49c96f70901b SHA1 b74dbc61172ad3206b03e76f6d41237f4c1e765e SHA256 446034a2c1305c3b636e4c21787cae821f22c1497729e642a81ef8530ef49b12 +MISC ChangeLog 5979 RMD160 9b8a6802619a718ce67c12a93408a8df4772c398 SHA1 70c7e47339bbd47a6158d2e4dfe7d31cec7899eb SHA256 7e5496dc26e9be6e16c302af40f95dbc3a0055a1bb2ba289beca7f7936f6b8ef +MISC metadata.xml 229 RMD160 2a1d308992f662ae8a16143880f5210148796e50 SHA1 4b7828c041f477a8b50c301c257c231d1a44ff96 SHA256 2d73ac7be9836b3d76abf0d1bea66e6e87f91c31e0e600e12a26525737249a7f diff --git a/net-voip/kphone/files/kphone-4.1.0-Makefiles.patch b/net-voip/kphone/files/kphone-4.1.0-Makefiles.patch new file mode 100644 index 000000000000..d111283772a2 --- /dev/null +++ b/net-voip/kphone/files/kphone-4.1.0-Makefiles.patch @@ -0,0 +1,17 @@ +--- po/Makefile.in.orig 2004-12-12 14:30:00.690467152 +0000 ++++ po/Makefile.in 2004-12-12 14:31:02.614053336 +0000 +@@ -4,11 +4,11 @@ + PO_DIR=$(SHAREDIR)/translations/ + + install: +- install --mode=0755 --directory $(PO_DIR) ++ install --mode=0755 --directory $(DESTDIR)/$(PO_DIR) + for T in *.qm; do \ +- install --mode=0644 $$T $(PO_DIR); \ ++ install --mode=0644 $$T $(DESTDIR)/$(PO_DIR); \ + done + + uninstall: +- rm -r $(PO_DIR) ++ rm -r $(DESTDIR)/$(PO_DIR) + diff --git a/net-voip/kphone/files/kphone-4.1.1-gcc34.patch b/net-voip/kphone/files/kphone-4.1.1-gcc34.patch new file mode 100644 index 000000000000..830c6cc30107 --- /dev/null +++ b/net-voip/kphone/files/kphone-4.1.1-gcc34.patch @@ -0,0 +1,13 @@ +diff -Nur kphone.orig/kphone/dspoutalsa.cpp kphone/kphone/dspoutalsa.cpp +--- kphone.orig/kphone/dspoutalsa.cpp 2005-04-22 14:09:34.000000000 +0200 ++++ kphone/kphone/dspoutalsa.cpp 2005-05-27 11:57:48.000000000 +0200 +@@ -189,7 +189,8 @@ + #ifdef ALSADEBUG + fprintf(stderr, "write %d instead of %d frames !\n", rc, (int)count/2); + #endif +- (int8_t*) buf += rc*4; ++ int8_t *buff = (int8_t*) buf; ++ buff += rc*4; + count -= rc*2; + continue; + } diff --git a/net-voip/kphone/files/kphone-4.2-CVE-2006-2442.diff b/net-voip/kphone/files/kphone-4.2-CVE-2006-2442.diff new file mode 100644 index 000000000000..b2f42eaad7f5 --- /dev/null +++ b/net-voip/kphone/files/kphone-4.2-CVE-2006-2442.diff @@ -0,0 +1,20 @@ +--- kphone.cpp.orig 2005-06-21 13:14:49.000000000 +0200 ++++ kphone/kphone/kphone.cpp 2006-02-04 22:49:19.000000000 +0100 +@@ -1,5 +1,8 @@ + #include <stdio.h> + #include <stdlib.h> ++#include <sys/types.h> ++#include <sys/stat.h> ++ + #include <qtimer.h> + #include <qsettings.h> + #include <qmenubar.h> +@@ -32,6 +35,8 @@ + userPrefix = "_" + prefix + "_"; + } + QSettings settings; ++ ++ umask(077); + Sip::setLocalAddress( settings.readEntry( + "/kphone/dissipate_addr", Sip::getLocalAddress() ) ); + QString socketStr = settings.readEntry( "/kphone/General/SocketMode", "UDP" ); diff --git a/net-voip/kphone/files/kphone-4.2-gcc4.diff b/net-voip/kphone/files/kphone-4.2-gcc4.diff new file mode 100644 index 000000000000..cf3b76763dca --- /dev/null +++ b/net-voip/kphone/files/kphone-4.2-gcc4.diff @@ -0,0 +1,24 @@ +diff -Naur kphone.old/kphone/kcallwidget.h kphone/kphone/kcallwidget.h +--- kphone.old/kphone/kcallwidget.h 2006-03-31 20:00:14.000000000 -0500 ++++ kphone/kphone/kcallwidget.h 2006-03-31 20:00:54.000000000 -0500 +@@ -67,7 +67,7 @@ + void clickHangup( void ); + void setHide( void ); + bool isHided( void ) const { return hided; } +- void KCallWidget::setDTMFSender( QString &s ); ++ void setDTMFSender( QString &s ); + + public slots: + void pleaseDial( const SipUri &dialuri ); +diff -Naur kphone.old/kphone/kphoneview.h kphone/kphone/kphoneview.h +--- kphone.old/kphone/kphoneview.h 2006-03-31 20:00:14.000000000 -0500 ++++ kphone/kphone/kphoneview.h 2006-03-31 20:00:43.000000000 -0500 +@@ -54,7 +54,7 @@ + QString getStunSrv( void ); + void kphoneQuit( void ); + bool getState( void ); +- KCallWidget *KPhoneView::DoCall( QString num, SipCall::CallType ctype ); ++ KCallWidget *DoCall( QString num, SipCall::CallType ctype ); + + signals: + void stateChanged( void ); diff --git a/net-voip/kphone/kphone-4.1.0.ebuild b/net-voip/kphone/kphone-4.1.0.ebuild new file mode 100644 index 000000000000..2bf0cbbfb100 --- /dev/null +++ b/net-voip/kphone/kphone-4.1.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-voip/kphone/kphone-4.1.0.ebuild,v 1.1 2009/04/28 15:54:37 volkmar Exp $ + +inherit eutils kde + +DESCRIPTION="A SIP user agent for Linux, with which you can initiate VoIP connections over the Internet." +HOMEPAGE="http://www.wirlab.net/kphone/index.html" +SRC_URI="http://www.wirlab.net/kphone/${P}.tar.gz" + +KEYWORDS="x86 ~amd64 sparc ~ppc" +LICENSE="GPL-2" + +IUSE="alsa jack" +SLOT="0" + +S=${WORKDIR}/kphone + +RDEPEND="alsa? ( media-libs/alsa-lib ) + jack? ( media-sound/jack-audio-connection-kit )" +DEPEND="${RDEPEND}" + +need-kde 3 + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}"/${P}-Makefiles.patch +} + +src_compile(){ + # Fix for our kde location + myconf="$myconf --with-extra-libs=$KDEDIR/lib --prefix=/usr `use_enable alsa` `use_enable jack`" + econf ${myconf} || die "econf failed" + emake +} diff --git a/net-voip/kphone/kphone-4.1.1.ebuild b/net-voip/kphone/kphone-4.1.1.ebuild new file mode 100644 index 000000000000..b053696dd08a --- /dev/null +++ b/net-voip/kphone/kphone-4.1.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-voip/kphone/kphone-4.1.1.ebuild,v 1.1 2009/04/28 15:54:37 volkmar Exp $ + +inherit eutils kde-functions + +DESCRIPTION="A SIP user agent for Linux, with which you can initiate VoIP connections over the Internet." +HOMEPAGE="http://www.wirlab.net/kphone/index.html" +SRC_URI="http://www.wirlab.net/kphone/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc x86" +IUSE="alsa debug jack" + +S=${WORKDIR}/${PN} + +RDEPEND="dev-libs/openssl + alsa? ( media-libs/alsa-lib ) + jack? ( media-sound/jack-audio-connection-kit )" +DEPEND="${RDEPEND}" + +need-qt 3 + +src_unpack() { + unpack ${A} + cd "${S}" + + # Fix compilation with gcc-3.4. Applied in CVS. + epatch "${FILESDIR}/${P}-gcc34.patch" +} + +src_compile() { + local myconf="$(use_enable alsa) $(use_enable jack) + $(use_enable debug)" + + econf ${myconf} || die + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc CHANGES README +} diff --git a/net-voip/kphone/kphone-4.2-r1.ebuild b/net-voip/kphone/kphone-4.2-r1.ebuild new file mode 100644 index 000000000000..2dbe9ee1257c --- /dev/null +++ b/net-voip/kphone/kphone-4.2-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-voip/kphone/kphone-4.2-r1.ebuild,v 1.1 2009/04/28 15:54:37 volkmar Exp $ + +inherit qt3 eutils + +DESCRIPTION="A SIP user agent for Linux, with which you can initiate VoIP connections over the Internet." +HOMEPAGE="http://sourceforge.net/projects/kphone" +SRC_URI="http://www.wirlab.net/kphone/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ppc sparc x86" +IUSE="alsa debug jack" + +S=${WORKDIR}/${PN} + +RDEPEND="=x11-libs/qt-3* + dev-libs/openssl + alsa? ( media-libs/alsa-lib ) + jack? ( media-sound/jack-audio-connection-kit )" +DEPEND="${RDEPEND}" + +# TODO: support for Secure RTP, needs libSRTP in portage + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}"/kphone-4.2-gcc4.diff + epatch "${FILESDIR}"/kphone-4.2-CVE-2006-2442.diff + sed -i -e "s:\$CFLAGS -O3:\$CFLAGS $CFLAGS:" "${S}"/configure +} + +src_compile() { + local myconf="$(use_enable alsa) $(use_enable jack) + $(use_enable debug) --disable-srtp" + econf ${myconf} || die + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc CHANGES README + make_desktop_entry "kphone" KPhone "/usr/share/apps/kphone/icons/large-kphone.png" "Telephony;Qt" +} diff --git a/net-voip/kphone/kphone-4.2.ebuild b/net-voip/kphone/kphone-4.2.ebuild new file mode 100644 index 000000000000..feddfbd4ef90 --- /dev/null +++ b/net-voip/kphone/kphone-4.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-voip/kphone/kphone-4.2.ebuild,v 1.1 2009/04/28 15:54:37 volkmar Exp $ + +inherit qt3 eutils + +DESCRIPTION="A SIP user agent for Linux, with which you can initiate VoIP connections over the Internet." +HOMEPAGE="http://www.wirlab.net/kphone/index.html" +SRC_URI="http://www.wirlab.net/kphone/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ppc sparc ~x86" +IUSE="alsa debug jack" + +S=${WORKDIR}/${PN} + +RDEPEND="=x11-libs/qt-3* + dev-libs/openssl + alsa? ( media-libs/alsa-lib ) + jack? ( media-sound/jack-audio-connection-kit )" +DEPEND="${RDEPEND}" + +# TODO: support for Secure RTP, needs libSRTP in portage + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}"/kphone-4.2-gcc4.diff +} + +src_compile() { + local myconf="$(use_enable alsa) $(use_enable jack) + $(use_enable debug) --disable-srtp" + + econf ${myconf} || die + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc CHANGES README +} diff --git a/net-voip/kphone/metadata.xml b/net-voip/kphone/metadata.xml new file mode 100644 index 000000000000..8cd04ac55b86 --- /dev/null +++ b/net-voip/kphone/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer><email>maintainer-needed@gentoo.org</email></maintainer> +</pkgmetadata> |