summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/estd/Makefile11
-rw-r--r--sysutils/estd/PLIST4
-rw-r--r--sysutils/estd/distinfo12
-rw-r--r--sysutils/estd/patches/patch-aa12
-rw-r--r--sysutils/estd/patches/patch-ab19
5 files changed, 24 insertions, 34 deletions
diff --git a/sysutils/estd/Makefile b/sysutils/estd/Makefile
index b29e0174265..c484c1cffa5 100644
--- a/sysutils/estd/Makefile
+++ b/sysutils/estd/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2005/12/29 06:22:17 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2006/07/24 08:11:38 adam Exp $
-DISTNAME= estd-netbsd-r4
-PKGNAME= estd-0.4
-PKGREVISION= 1
+DISTNAME= estd-r5
+PKGNAME= estd-0.5
CATEGORIES= sysutils
MASTER_SITES= http://www.elektro-eel.org/
@@ -10,9 +9,7 @@ MAINTAINER= dillo@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-r4
+ONLY_FOR_PLATFORM= NetBSD-2.99.*-i386 NetBSD-[3-9]*-i386 DragonFly-*-i386
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= do-configure
diff --git a/sysutils/estd/PLIST b/sysutils/estd/PLIST
index 482bb7bee42..128d94fecfc 100644
--- a/sysutils/estd/PLIST
+++ b/sysutils/estd/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2005/12/27 09:58:56 dillo Exp $
+@comment $NetBSD: PLIST,v 1.3 2006/07/24 08:11:38 adam Exp $
+man/man1/estd.1
sbin/estd
share/examples/rc.d/estd
-man/man1/estd.1
diff --git a/sysutils/estd/distinfo b/sysutils/estd/distinfo
index 3e4d1522ab3..8450acebe59 100644
--- a/sysutils/estd/distinfo
+++ b/sysutils/estd/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2005/12/27 09:58:56 dillo Exp $
+$NetBSD: distinfo,v 1.6 2006/07/24 08:11:38 adam Exp $
-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) = ad1165906b90dbd5b51fba1ba3b003fac2a8a9d8
-SHA1 (patch-ab) = 4bccff3c93aee1a29e6d29ddc21703b26e8cf433
+SHA1 (estd-r5.tar.gz) = c73037df5ccc038f96924f9cf5c0f2c6692b6307
+RMD160 (estd-r5.tar.gz) = 657fda2908a44edbc9ac0d8714ac13462ce7bc0c
+Size (estd-r5.tar.gz) = 7035 bytes
+SHA1 (patch-aa) = 7a6ed9c722d8243173f448b6521dd009b8ca6dba
+SHA1 (patch-ab) = 6b4bd0af932f0aedc7eebcc13f02ebb08294513a
diff --git a/sysutils/estd/patches/patch-aa b/sysutils/estd/patches/patch-aa
index 5460a548735..eebf66b68e6 100644
--- a/sysutils/estd/patches/patch-aa
+++ b/sysutils/estd/patches/patch-aa
@@ -1,14 +1,8 @@
-$NetBSD: patch-aa,v 1.3 2005/12/27 09:58:56 dillo Exp $
+$NetBSD: patch-aa,v 1.4 2006/07/24 08:11:38 adam Exp $
---- Makefile.orig 2005-01-30 23:20:52.000000000 +0100
+--- Makefile.orig 2006-07-02 11:29:29.000000000 +0200
+++ Makefile
-@@ -6,12 +6,13 @@ clean:
- rm -f *~
-
- estd: estd.c
-- gcc -O2 -lutil -o estd estd.c
-+ gcc ${CFLAGS} -lutil -o estd estd.c
-
+@@ -19,7 +19,8 @@ estd: estd.c
all: estd
install: all
diff --git a/sysutils/estd/patches/patch-ab b/sysutils/estd/patches/patch-ab
index 796be4c70e8..808e61bcfa0 100644
--- a/sysutils/estd/patches/patch-ab
+++ b/sysutils/estd/patches/patch-ab
@@ -1,13 +1,12 @@
-$NetBSD: patch-ab,v 1.3 2005/12/27 09:58:56 dillo Exp $
+$NetBSD: patch-ab,v 1.4 2006/07/24 08:11:38 adam Exp $
---- estd.c.orig 2005-01-30 23:15:13.000000000 +0100
+--- estd.c.orig 2006-07-24 10:04:46.000000000 +0200
+++ estd.c
-@@ -141,7 +141,7 @@ set_freq(int freq)
- int
- freqcmp(const void *x, const void *y)
- {
-- return *((int *) x) > *((int *) y);
-+ return *((int *) x) - *((int *) y);
- }
+@@ -27,6 +27,7 @@
- /* clean up the pidfile on exit */
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+ #include <unistd.h>
+ #include <time.h>
+ #include <sys/param.h>