From: Adam Williamson <awilliamson@ma...> - 2008-12-10 09:08:59
Hi, folks. I have just finished migrating Mandriva to kphoneSI to
replace kphone. Thanks for maintaining this fork.
I am submitting several patches, most of which come over from our kphone
package, for upstream consideration. They can all be found at:
kphone-4.2.0-fix-compile-po.patch: not suitable for upstream use, I
kphone-pt_BR-trans.patch: a rather improved Brazilian Portuguese
kphonesi-1.2-CVE-2006-2442.patch: a fix for CVE-2006-2442, the file
~/.qt/kpsirc is world-readable, allowing other users to read passwords
which may be stored in it. Please check that this patch is correct, I
believe I added the necessary line in the right place, but IMBW.
kphonesi-1.2-destdir.patch: respect the DESTDIR environment variable
when doing make install; it will be used as a prefix when set. This is
important for distros: we need to be able to build for the system root
but install to a temporary root. This support is pretty standard.
kphonesi-1.2-gcc43.patch: fix build with GCC 4.3 (a single include needs
to be added to a source file).
kphonesi-1.2-mandir.patch: makes the man dir /usr/share/man (usually),
not /usr/man. Not sure if this is appropriate for upstream.
kphonesi-1.2-packed.patch: I don't actually know what this is good for,
maybe you do. =) it's been in our package for a while.
kphonesi-1.2-x86_64.patch: makes the build work if libs are
in /usr/lib64 rather than /usr/lib . As written this may break if the
arch is x86-64 but libs are still in /usr/lib (e.g. Debian-based
distros), I haven't checked this. But the fix should be done.
Hope these are of use! Thanks again.