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
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')
-rw-r--r--kde-base/klaptopdaemon/ChangeLog11
-rw-r--r--kde-base/klaptopdaemon/Manifest4
-rw-r--r--kde-base/klaptopdaemon/files/acpi_helper.diff53
-rw-r--r--kde-base/klaptopdaemon/files/digest-klaptopdaemon-3.4.0_beta13
-rw-r--r--kde-base/klaptopdaemon/klaptopdaemon-3.4.0_beta1.ebuild15
-rw-r--r--kde-base/klaptopdaemon/metadata.xml5
6 files changed, 91 insertions, 0 deletions
diff --git a/kde-base/klaptopdaemon/ChangeLog b/kde-base/klaptopdaemon/ChangeLog
new file mode 100644
index 000000000000..a0edcd69cb1e
--- /dev/null
+++ b/kde-base/klaptopdaemon/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for kde-base/klaptopdaemon
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/klaptopdaemon/ChangeLog,v 1.1 2005/01/15 02:24:33 danarmak Exp $
+
+*klaptopdaemon-3.4.0_beta1 (15 Jan 2005)
+
+ 15 Jan 2005; Dan Armak <danarmak@gentoo.org> +metadata.xml,
+ +files/acpi_helper.diff, +klaptopdaemon-3.4.0_beta1.ebuild:
+ Adding the split ebuilds to portage. For KDE 3.4, we've created separate
+ ebuilds for all the KDE apps.
+
diff --git a/kde-base/klaptopdaemon/Manifest b/kde-base/klaptopdaemon/Manifest
new file mode 100644
index 000000000000..43db5095e4e9
--- /dev/null
+++ b/kde-base/klaptopdaemon/Manifest
@@ -0,0 +1,4 @@
+MD5 9fa6257feb86dc831f93637ba35336b2 klaptopdaemon-3.4.0_beta1.ebuild 308
+MD5 9fa6257feb86dc831f93637ba35336b2 klaptopdaemon-3.4.0_alpha1.ebuild 308
+MD5 d329630a6f718e3d3af7fe3acaf81446 files/digest-klaptopdaemon-3.4.0_alpha1 69
+MD5 88e740876cecf9b079bcc6622808dbb1 files/digest-klaptopdaemon-3.4.0_beta1 216
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
diff --git a/kde-base/klaptopdaemon/klaptopdaemon-3.4.0_beta1.ebuild b/kde-base/klaptopdaemon/klaptopdaemon-3.4.0_beta1.ebuild
new file mode 100644
index 000000000000..bc439bdf5374
--- /dev/null
+++ b/kde-base/klaptopdaemon/klaptopdaemon-3.4.0_beta1.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/klaptopdaemon/klaptopdaemon-3.4.0_beta1.ebuild,v 1.1 2005/01/15 02:24:33 danarmak Exp $
+
+KMNAME=kdeutils
+MAXKDEVER=$PV
+KM_DEPRANGE="$PV $MAXKDEVER"
+inherit kde-meta eutils
+
+DESCRIPTION="klaptopdaemon - KDE battery monitoring and management for laptops"
+KEYWORDS="~x86"
+IUSE=""
+
+# From kde cvs, remove after beta1
+PATCHES="$FILESDIR/acpi_helper.diff"
diff --git a/kde-base/klaptopdaemon/metadata.xml b/kde-base/klaptopdaemon/metadata.xml
new file mode 100644
index 000000000000..1a4592f97a10
--- /dev/null
+++ b/kde-base/klaptopdaemon/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde-core</herd>
+</pkgmetadata>