pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/estd Fix bug in comparison function used to s...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b1e8f4b64417
branches: trunk
changeset: 504855:b1e8f4b64417
user: dillo <dillo%pkgsrc.org@localhost>
date: Tue Dec 27 09:58:56 2005 +0000
description:
Fix bug in comparison function used to sort frequencies.
Install rc.d script.
Bump PKGREVISION.
Take maintainership.
diffstat:
sysutils/estd/Makefile | 13 +++++++++++--
sysutils/estd/PLIST | 3 ++-
sysutils/estd/distinfo | 5 +++--
sysutils/estd/patches/patch-aa | 7 ++++---
sysutils/estd/patches/patch-ab | 13 +++++++++++++
5 files changed, 33 insertions(+), 8 deletions(-)
diffs (90 lines):
diff -r f751e78e2a6a -r b1e8f4b64417 sysutils/estd/Makefile
--- a/sysutils/estd/Makefile Tue Dec 27 09:28:19 2005 +0000
+++ b/sysutils/estd/Makefile Tue Dec 27 09:58:56 2005 +0000
@@ -1,11 +1,12 @@
-# $NetBSD: Makefile,v 1.2 2005/10/07 08:52:14 adam Exp $
+# $NetBSD: Makefile,v 1.3 2005/12/27 09:58:56 dillo Exp $
DISTNAME= estd-netbsd-r4
PKGNAME= estd-0.4
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.elektro-eel.org/
-MAINTAINER= tech-pkg%NetBSD.org@localhost
+MAINTAINER= dillo%NetBSD.org@localhost
HOMEPAGE= http://www.elektro-eel.org/
COMMENT= Dynamically sets the CPU-frequency on SpeedStep-enabled CPUs
@@ -13,4 +14,12 @@
WRKSRC= ${WRKDIR}/estd-r4
+SUBST_CLASSES+= prefix
+SUBST_STAGE.prefix= do-configure
+SUBST_MESSAGE.prefix= Substituting PREFIX.
+SUBST_FILES.prefix= *.sh
+SUBST_SED.prefix= -e 's|@PREFIX@|${PREFIX}|'
+USE_PKGINSTALL= yes
+RCD_SCRIPTS= estd
+
.include "../../mk/bsd.pkg.mk"
diff -r f751e78e2a6a -r b1e8f4b64417 sysutils/estd/PLIST
--- a/sysutils/estd/PLIST Tue Dec 27 09:28:19 2005 +0000
+++ b/sysutils/estd/PLIST Tue Dec 27 09:58:56 2005 +0000
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/24 10:50:53 agc Exp $
+@comment $NetBSD: PLIST,v 1.2 2005/12/27 09:58:56 dillo Exp $
sbin/estd
+share/examples/rc.d/estd
man/man1/estd.1
diff -r f751e78e2a6a -r b1e8f4b64417 sysutils/estd/distinfo
--- a/sysutils/estd/distinfo Tue Dec 27 09:28:19 2005 +0000
+++ b/sysutils/estd/distinfo Tue Dec 27 09:58:56 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/10/07 08:52:14 adam Exp $
+$NetBSD: distinfo,v 1.5 2005/12/27 09:58:56 dillo 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) = ce7d3c0f46a574db302f4ae7b36462bcfa6d288f
+SHA1 (patch-aa) = ad1165906b90dbd5b51fba1ba3b003fac2a8a9d8
+SHA1 (patch-ab) = 4bccff3c93aee1a29e6d29ddc21703b26e8cf433
diff -r f751e78e2a6a -r b1e8f4b64417 sysutils/estd/patches/patch-aa
--- a/sysutils/estd/patches/patch-aa Tue Dec 27 09:28:19 2005 +0000
+++ b/sysutils/estd/patches/patch-aa Tue Dec 27 09:58:56 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2005/10/07 08:52:14 adam Exp $
+$NetBSD: patch-aa,v 1.3 2005/12/27 09:58:56 dillo Exp $
---- Makefile.orig 2005-01-30 22:20:52.000000000 +0000
+--- Makefile.orig 2005-01-30 23:20:52.000000000 +0100
+++ Makefile
-@@ -6,12 +6,12 @@ clean:
+@@ -6,12 +6,13 @@ clean:
rm -f *~
estd: estd.c
@@ -20,3 +20,4 @@
+ 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
++ install -o root -g wheel -m 0644 estd.sh ${PREFIX}/share/examples/rc.d/estd
diff -r f751e78e2a6a -r b1e8f4b64417 sysutils/estd/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/estd/patches/patch-ab Tue Dec 27 09:58:56 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.3 2005/12/27 09:58:56 dillo Exp $
+
+--- estd.c.orig 2005-01-30 23:15:13.000000000 +0100
++++ 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);
+ }
+
+ /* clean up the pidfile on exit */
Home |
Main Index |
Thread Index |
Old Index