summaryrefslogtreecommitdiff
path: root/sysutils/estd
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2005-01-24 10:50:53 +0000
committeragc <agc@pkgsrc.org>2005-01-24 10:50:53 +0000
commitf51f079793191550fbf3e0e8acb8cbaf33334845 (patch)
treecb658253008c6832d204280aa1340801012f06b5 /sysutils/estd
parent56f6f1b712ad9c8ac152ae3be985bde7ae881e6e (diff)
downloadpkgsrc-f51f079793191550fbf3e0e8acb8cbaf33334845.tar.gz
Initial import of estd-0.3 into the packages collection. From an
nudge from Rumi Szabolcs on port-i386. The estd daemon dynamically sets the CPU-frequency on SpeedStep-enabled CPUs depending on current cpu-utilization. It is written for systems running NetBSD. Examples: Maximize battery lifetime by limiting CPU-frequency to 1000 MHz and switching to lower speeds fast: estd -d -b -M 1000 Maximize performance by running at least at 1400MHz and switching to higher speeds real fast: estd -d -a -m 1400
Diffstat (limited to 'sysutils/estd')
-rw-r--r--sysutils/estd/DESCR15
-rw-r--r--sysutils/estd/Makefile16
-rw-r--r--sysutils/estd/PLIST3
-rw-r--r--sysutils/estd/distinfo5
-rw-r--r--sysutils/estd/patches/patch-aa18
5 files changed, 57 insertions, 0 deletions
diff --git a/sysutils/estd/DESCR b/sysutils/estd/DESCR
new file mode 100644
index 00000000000..d9b7c32ee7a
--- /dev/null
+++ b/sysutils/estd/DESCR
@@ -0,0 +1,15 @@
+The estd daemon dynamically sets the CPU-frequency on
+SpeedStep-enabled CPUs depending on current cpu-utilization. It is
+written for systems running NetBSD.
+
+Examples:
+
+Maximize battery lifetime by limiting CPU-frequency to 1000 MHz and
+switching to lower speeds fast:
+
+ estd -d -b -M 1000
+
+Maximize performance by running at least at 1400MHz and switching to
+higher speeds real fast:
+
+ estd -d -a -m 1400
diff --git a/sysutils/estd/Makefile b/sysutils/estd/Makefile
new file mode 100644
index 00000000000..0aff4f001c0
--- /dev/null
+++ b/sysutils/estd/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/24 10:50:53 agc Exp $
+
+DISTNAME= estd-netbsd-r3
+PKGNAME= estd-0.3
+CATEGORIES= sysutils
+MASTER_SITES= http://www.elektro-eel.org/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.elektro-eel.org/
+COMMENT= Dynamically sets the CPU-frequency on SpeedStep-enabled CPUs
+
+ONLY_FOR_PLATFORM= NetBSD-2.99.*-i386 NetBSD-[3-9]*-i386
+
+WRKSRC= ${WRKDIR}/estd-r3
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/estd/PLIST b/sysutils/estd/PLIST
new file mode 100644
index 00000000000..6b54c065feb
--- /dev/null
+++ b/sysutils/estd/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/24 10:50:53 agc Exp $
+sbin/estd
+man/man1/estd.1
diff --git a/sysutils/estd/distinfo b/sysutils/estd/distinfo
new file mode 100644
index 00000000000..58471f89ca3
--- /dev/null
+++ b/sysutils/estd/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/01/24 10:50:53 agc Exp $
+
+SHA1 (estd-netbsd-r3.tar.gz) = f46b7d0f7f3a4ab898139b515ee92433dd39fbaf
+Size (estd-netbsd-r3.tar.gz) = 5675 bytes
+SHA1 (patch-aa) = 974aa3749c4ab2fa969f14f241285b2326f4fb35
diff --git a/sysutils/estd/patches/patch-aa b/sysutils/estd/patches/patch-aa
new file mode 100644
index 00000000000..e9728a029b6
--- /dev/null
+++ b/sysutils/estd/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/01/24 10:50:53 agc Exp $
+
+--- Makefile 2005/01/24 10:40:24 1.1
++++ Makefile 2005/01/24 10:40:56
+@@ -11,9 +11,9 @@
+ all: estd
+
+ install: all
+- install -d -o root -g wheel -m 0755 /usr/local/sbin
+- install -s -o root -g wheel -m 0755 estd /usr/local/sbin/estd
+- install -d -o root -g wheel -m 0755 /usr/local/man/man1
+- install -o root -g wheel -m 0644 estd.1 /usr/local/man/man1/estd.1
++ install -d -o root -g wheel -m 0755 ${PREFIX}/sbin
++ install -s -o root -g wheel -m 0755 estd ${PREFIX}/sbin/estd
++ install -d -o root -g wheel -m 0755 ${PREFIX}/man/man1
++ install -o root -g wheel -m 0644 estd.1 ${PREFIX}/man/man1/estd.1
+
+