diff options
author | adam <adam@pkgsrc.org> | 2005-10-07 08:52:14 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2005-10-07 08:52:14 +0000 |
commit | 84a57872d81fe173372d5539f4c6fae7a4a2e0ac (patch) | |
tree | 2e9d30206afc414d049b26352ae8aac58514f960 /sysutils | |
parent | 2074e7793d8ae1feb723162d9a01a2ef4cbf943f (diff) | |
download | pkgsrc-84a57872d81fe173372d5539f4c6fae7a4a2e0ac.tar.gz |
Changes 0.4:
* Support for PowerNow
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/estd/Makefile | 18 | ||||
-rw-r--r-- | sysutils/estd/distinfo | 11 | ||||
-rw-r--r-- | sysutils/estd/patches/patch-aa | 16 | ||||
-rw-r--r-- | sysutils/estd/patches/patch-ab | 26 |
4 files changed, 24 insertions, 47 deletions
diff --git a/sysutils/estd/Makefile b/sysutils/estd/Makefile index 0aff4f001c0..6258935744f 100644 --- a/sysutils/estd/Makefile +++ b/sysutils/estd/Makefile @@ -1,16 +1,16 @@ -# $NetBSD: Makefile,v 1.1.1.1 2005/01/24 10:50:53 agc Exp $ +# $NetBSD: Makefile,v 1.2 2005/10/07 08:52:14 adam Exp $ -DISTNAME= estd-netbsd-r3 -PKGNAME= estd-0.3 -CATEGORIES= sysutils -MASTER_SITES= http://www.elektro-eel.org/ +DISTNAME= estd-netbsd-r4 +PKGNAME= estd-0.4 +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 +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 +WRKSRC= ${WRKDIR}/estd-r4 .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/estd/distinfo b/sysutils/estd/distinfo index a94b3b81fd0..7a6394fa895 100644 --- a/sysutils/estd/distinfo +++ b/sysutils/estd/distinfo @@ -1,7 +1,6 @@ -$NetBSD: distinfo,v 1.3 2005/02/24 13:40:52 agc Exp $ +$NetBSD: distinfo,v 1.4 2005/10/07 08:52:14 adam Exp $ -SHA1 (estd-netbsd-r3.tar.gz) = f46b7d0f7f3a4ab898139b515ee92433dd39fbaf -RMD160 (estd-netbsd-r3.tar.gz) = 2e85b54c3064cfedd2af3c3605182a516f618109 -Size (estd-netbsd-r3.tar.gz) = 5675 bytes -SHA1 (patch-aa) = 974aa3749c4ab2fa969f14f241285b2326f4fb35 -SHA1 (patch-ab) = f18f4c3f7ec5ce8c87b186ffa1e3a8ae9636698d +SHA1 (estd-netbsd-r4.tar.gz) = 253a26c1ea8ac155e83a7c4eb7e2fa9075ff950d +RMD160 (estd-netbsd-r4.tar.gz) = f08dbcc5f83e0895e9716f8c90650f5a3163d71e +Size (estd-netbsd-r4.tar.gz) = 6402 bytes +SHA1 (patch-aa) = ce7d3c0f46a574db302f4ae7b36462bcfa6d288f diff --git a/sysutils/estd/patches/patch-aa b/sysutils/estd/patches/patch-aa index e9728a029b6..40a8c7ae4d5 100644 --- a/sysutils/estd/patches/patch-aa +++ b/sysutils/estd/patches/patch-aa @@ -1,8 +1,14 @@ -$NetBSD: patch-aa,v 1.1.1.1 2005/01/24 10:50:53 agc Exp $ +$NetBSD: patch-aa,v 1.2 2005/10/07 08:52:14 adam Exp $ ---- Makefile 2005/01/24 10:40:24 1.1 -+++ Makefile 2005/01/24 10:40:56 -@@ -11,9 +11,9 @@ +--- Makefile.orig 2005-01-30 22:20:52.000000000 +0000 ++++ Makefile +@@ -6,12 +6,12 @@ clean: + rm -f *~ + + estd: estd.c +- gcc -O2 -lutil -o estd estd.c ++ gcc ${CFLAGS} -lutil -o estd estd.c + all: estd install: all @@ -14,5 +20,3 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/01/24 10:50:53 agc Exp $ + 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 - - diff --git a/sysutils/estd/patches/patch-ab b/sysutils/estd/patches/patch-ab deleted file mode 100644 index dfdd5070f08..00000000000 --- a/sysutils/estd/patches/patch-ab +++ /dev/null @@ -1,26 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2005/01/24 10:56:03 agc Exp $ - ---- estd.c.orig 2004-07-22 16:03:58.000000000 +0200 -+++ estd.c 2005-01-16 15:07:56.000000000 +0100 -@@ -110,7 +110,9 @@ - { - if ((!daemonize) && (verbose)) - printf("%i MHz\n", freq); -- if (sysctlbyname("machdep.est.frequency.target", NULL, NULL, &freq, sizeof(freq)) < 0) { -+ if ((sysctlbyname("machdep.est.frequency.target", NULL, NULL, &freq, sizeof(freq)) < 0) -+ && (sysctlbyname("machdep.powernow.frequency.target", NULL, NULL, &freq, sizeof(freq)) < 0)) -+ { - printf("estd: Cannot set CPU frequency (maybe you aren't root?)\n"); - exit(1); - } -@@ -191,7 +193,9 @@ - } - - /* get supported frequencies... */ -- if (sysctlbyname("machdep.est.frequency.available", &frequencies, &freqsize, NULL, 0) < 0) { -+ if ((sysctlbyname("machdep.est.frequency.available", &frequencies, &freqsize, NULL, 0) < 0) -+ && (sysctlbyname("machdep.powernow.frequency.available", &frequencies, &freqsize, NULL, 0) < 0)) -+ { - printf("estd: Cannot get supported frequencies (maybe SpeedStep is not included in your kernel-config?)\n"); - exit(1); - } |