summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2005-01-15 02:24:42 +0000
committerDan Armak <danarmak@gentoo.org>2005-01-15 02:24:42 +0000
commita991c64f8c843d16a7f43b8cb8a15e7206c2b78f (patch)
treead1c8a59a418f4d87e54ca58e306bf33d3596cda /kde-base/klaptopdaemon/files
parent (Manifest recommit) (diff)
downloadgentoo-2-a991c64f8c843d16a7f43b8cb8a15e7206c2b78f.tar.gz
gentoo-2-a991c64f8c843d16a7f43b8cb8a15e7206c2b78f.tar.bz2
gentoo-2-a991c64f8c843d16a7f43b8cb8a15e7206c2b78f.zip
kde 3.4 split ebuilds, all masked
Diffstat (limited to 'kde-base/klaptopdaemon/files')
-rw-r--r--kde-base/klaptopdaemon/files/acpi_helper.diff53
-rw-r--r--kde-base/klaptopdaemon/files/digest-klaptopdaemon-3.4.0_beta13
2 files changed, 56 insertions, 0 deletions
diff --git a/kde-base/klaptopdaemon/files/acpi_helper.diff b/kde-base/klaptopdaemon/files/acpi_helper.diff
new file mode 100644
index 000000000000..e826c047e5b6
--- /dev/null
+++ b/kde-base/klaptopdaemon/files/acpi_helper.diff
@@ -0,0 +1,53 @@
+cvs -f log -N -r1.13 acpi_helper.cpp
+
+RCS file: /home/kde/kdeutils/klaptopdaemon/acpi_helper.cpp,v
+Working file: acpi_helper.cpp
+head: 1.13
+branch:
+locks: strict
+access list:
+keyword substitution: kv
+total revisions: 14; selected revisions: 1
+description:
+----------------------------
+revision 1.13
+date: 2005/01/09 18:47:02; author: mueller; state: Exp; lines: +3 -3
+do not allow to overwrite files outside /proc
+CCBUG: 96644
+=============================================================================
+cvs -f diff -bp -u -r1.12 -r1.13 acpi_helper.cpp
+Index: acpi_helper.cpp
+===================================================================
+RCS file: /home/kde/kdeutils/klaptopdaemon/acpi_helper.cpp,v
+retrieving revision 1.12
+retrieving revision 1.13
+diff -b -p -u -r1.12 -r1.13
+--- klaptopdaemon/acpi_helper.cpp 19 Aug 2003 21:16:36 -0000 1.12
++++ klaptopdaemon/acpi_helper.cpp 9 Jan 2005 18:47:02 -0000 1.13
+@@ -123,7 +123,7 @@ main(int argc, char **argv)
+ i++;
+ if (i >= argc)
+ break;
+- if (strlen(argv[i]) > 50)
++ if (strlen(argv[i]) > 50 || strchr(argv[i], '/'))
+ break;
+ snprintf(tmp, sizeof(tmp), "/proc/acpi/processor/%s/throttling", argv[i]);
+ tmp[sizeof(tmp)-1] = 0;
+@@ -151,7 +151,7 @@ main(int argc, char **argv)
+ i++;
+ if (i >= argc)
+ break;
+- if (strlen(argv[i]) > 50)
++ if (strlen(argv[i]) > 50 || strchr(argv[i], '/'))
+ break;
+ snprintf(tmp, sizeof(tmp), "/proc/acpi/processor/%s/performance", argv[i]);
+ tmp[sizeof(tmp)-1] = 0;
+@@ -206,7 +206,7 @@ main(int argc, char **argv)
+ if (strncmp(argv[i], "--cpufreq", 9) == 0 || strncmp(argv[i], "-cpufreq", 8) == 0) {
+ if ((i+1) >= argc)
+ break;
+- if (strlen(argv[i+1]) > 50)
++ if (strlen(argv[i+1]) > 50 || strchr(argv[i+1], '/'))
+ break;
+ int val;
+ char tmp[256];
diff --git a/kde-base/klaptopdaemon/files/digest-klaptopdaemon-3.4.0_beta1 b/kde-base/klaptopdaemon/files/digest-klaptopdaemon-3.4.0_beta1
new file mode 100644
index 000000000000..96e70bb1d6be
--- /dev/null
+++ b/kde-base/klaptopdaemon/files/digest-klaptopdaemon-3.4.0_beta1
@@ -0,0 +1,3 @@
+MD5 1f0de14c68448585786888bee0c68c6e kdeutils-3.3.90.tar.bz2 2230830
+MD5 17a34ff90084417c7526b512eca98704 kdeutils-3.3.90-3.3.91.tar.xdelta 248499
+MD5 89ad0a4e21011b76b8d5b0181bfa1386 kdeutils-3.3.91.tar.bz2 2269233