diff options
author | dillo <dillo@pkgsrc.org> | 2005-12-27 09:58:56 +0000 |
---|---|---|
committer | dillo <dillo@pkgsrc.org> | 2005-12-27 09:58:56 +0000 |
commit | b80a89ab75b76d52a46466204ca6ee7ac1e490c1 (patch) | |
tree | 20d26a2746f5c5259b4934cae86d2dbb2c064431 /sysutils | |
parent | 494fb1307c1795de8d4c474fdc225dc2ccc472f9 (diff) | |
download | pkgsrc-b80a89ab75b76d52a46466204ca6ee7ac1e490c1.tar.gz |
Fix bug in comparison function used to sort frequencies.
Install rc.d script.
Bump PKGREVISION.
Take maintainership.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/estd/Makefile | 13 | ||||
-rw-r--r-- | sysutils/estd/PLIST | 3 | ||||
-rw-r--r-- | sysutils/estd/distinfo | 5 | ||||
-rw-r--r-- | sysutils/estd/patches/patch-aa | 7 | ||||
-rw-r--r-- | sysutils/estd/patches/patch-ab | 13 |
5 files changed, 33 insertions, 8 deletions
diff --git a/sysutils/estd/Makefile b/sysutils/estd/Makefile index 6258935744f..15c491a52ed 100644 --- a/sysutils/estd/Makefile +++ b/sysutils/estd/Makefile @@ -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 +MAINTAINER= dillo@NetBSD.org HOMEPAGE= http://www.elektro-eel.org/ COMMENT= Dynamically sets the CPU-frequency on SpeedStep-enabled CPUs @@ -13,4 +14,12 @@ ONLY_FOR_PLATFORM= NetBSD-2.99.*-i386 NetBSD-[3-9]*-i386 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 --git a/sysutils/estd/PLIST b/sysutils/estd/PLIST index 6b54c065feb..482bb7bee42 100644 --- a/sysutils/estd/PLIST +++ b/sysutils/estd/PLIST @@ -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 --git a/sysutils/estd/distinfo b/sysutils/estd/distinfo index 7a6394fa895..3e4d1522ab3 100644 --- a/sysutils/estd/distinfo +++ b/sysutils/estd/distinfo @@ -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 --git a/sysutils/estd/patches/patch-aa b/sysutils/estd/patches/patch-aa index 40a8c7ae4d5..5460a548735 100644 --- a/sysutils/estd/patches/patch-aa +++ b/sysutils/estd/patches/patch-aa @@ -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 @@ $NetBSD: patch-aa,v 1.2 2005/10/07 08:52:14 adam 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 ++ install -o root -g wheel -m 0644 estd.sh ${PREFIX}/share/examples/rc.d/estd diff --git a/sysutils/estd/patches/patch-ab b/sysutils/estd/patches/patch-ab new file mode 100644 index 00000000000..796be4c70e8 --- /dev/null +++ b/sysutils/estd/patches/patch-ab @@ -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 */ |