rpms/kphone/FC-4 kphone-perms.patch,NONE,1.1 kphone.spec,1.19,1.20
Dennis Gilmore (ausil)
fedora-extras-commits at redhat.com
Fri May 19 04:40:03 UTC 2006
Author: ausil
Update of /cvs/extras/rpms/kphone/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5956
Modified Files:
kphone.spec
Added Files:
kphone-perms.patch
Log Message:
Apply patch for CVE-2006-2442
kphone-perms.patch:
--- NEW FILE kphone-perms.patch ---
--- kphone-orig/kphone/kphone.cpp 2005-06-21 06:14:49.000000000 -0500
+++ kphone/kphone/kphone.cpp 2006-05-18 23:27:09.000000000 -0500
@@ -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" );
Index: kphone.spec
===================================================================
RCS file: /cvs/extras/rpms/kphone/FC-4/kphone.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- kphone.spec 5 Feb 2006 21:36:44 -0000 1.19
+++ kphone.spec 19 May 2006 04:40:03 -0000 1.20
@@ -1,6 +1,6 @@
Name: kphone
Version: 4.2
-Release: 6%{?dist}
+Release: 9%{?dist}
Summary: A SIP (Session Initiation Protocol) user agent for Linux
Group: Applications/Communications
@@ -14,6 +14,7 @@
Patch3: kphone-4.2-callaudio-stun-init.patch
Patch4: kphone-gcc41.patch
Patch5: kphone-4.2-configure.patch
+Patch6: kphone-perms.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: qt-devel alsa-lib-devel desktop-file-utils openssl-devel
@@ -31,11 +32,12 @@
%patch3 -p1 -b .stun
%patch4 -p1 -b .gcc41
%patch5 -p1 -b .configure
+%patch6 -p1 -b .perms
%build
unset QTDIR || : ; . /etc/profile.d/qt.sh
export QTLIB=${QTDIR}/lib QTINC=${QTDIR}/include
-%configure
+%configure
make %{?_smp_mflags}
%install
@@ -64,6 +66,12 @@
%{_datadir}/pixmaps/*.png
%changelog
+* Tue Feb 14 2006 Dennis Gilmore <dennis at ausil.us> 4.2-7
+- disable srtp we dont have the deps was testing
+
+* Tue Feb 14 2006 Dennis Gilmore <dennis at ausil.us> 4.2-7
+- rebuild for fc5
+
* Sun Feb 05 2006 Dennis Gilmore <dennis at ausil.us> 4.2-6
- patch configure so we use standard CFLAGS
- reapply STUN patch
More information about the fedora-extras-commits
mailing list