Removed the "estd: Forked" message It seems useless to me, and it is inconsistent with the rest of the initialization scripts.diff -r1.27 -r1.28 pkgsrc/sysutils/estd/Makefile
(khorben)
@@ -1,17 +1,18 @@ | @@ -1,17 +1,18 @@ | |||
1 | # $NetBSD: Makefile,v 1.27 2015/02/19 00:08:15 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.28 2015/03/06 18:08:38 khorben Exp $ | |
2 | 2 | |||
3 | DISTNAME= estd-r11 | 3 | DISTNAME= estd-r11 | |
4 | PKGNAME= estd-0.11 | 4 | PKGNAME= estd-0.11 | |
5 | PKGREVISION= 1 | |||
5 | CATEGORIES= sysutils | 6 | CATEGORIES= sysutils | |
6 | MASTER_SITES= http://www.ecademix.com/JohannesHofmann/ | 7 | MASTER_SITES= http://www.ecademix.com/JohannesHofmann/ | |
7 | 8 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://www.ecademix.com/JohannesHofmann/estd.html | 10 | HOMEPAGE= http://www.ecademix.com/JohannesHofmann/estd.html | |
10 | COMMENT= Dynamically sets the CPU-frequency on SpeedStep and PowerNow CPUs | 11 | COMMENT= Dynamically sets the CPU-frequency on SpeedStep and PowerNow CPUs | |
11 | LICENSE= 2-clause-bsd | 12 | LICENSE= 2-clause-bsd | |
12 | 13 | |||
13 | INSTALLATION_DIRS= share/examples/rc.d | 14 | INSTALLATION_DIRS= share/examples/rc.d | |
14 | 15 | |||
15 | ONLY_FOR_PLATFORM= NetBSD-2.99.*-i386 NetBSD-[3-9]*-i386 \ | 16 | ONLY_FOR_PLATFORM= NetBSD-2.99.*-i386 NetBSD-[3-9]*-i386 \ | |
16 | NetBSD-[4-9]*-x86_64 DragonFly-*-i386 \ | 17 | NetBSD-[4-9]*-x86_64 DragonFly-*-i386 \ | |
17 | NetBSD-5.99.*-powerpc \ | 18 | NetBSD-5.99.*-powerpc \ |
@@ -1,6 +1,7 @@ | @@ -1,6 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.20 2015/02/19 00:08:15 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.21 2015/03/06 18:08:38 khorben Exp $ | |
2 | 2 | |||
3 | SHA1 (estd-r11.tar.gz) = 6c1148d66ff93b2e45af0411f1234fcccd1a2407 | 3 | SHA1 (estd-r11.tar.gz) = 6c1148d66ff93b2e45af0411f1234fcccd1a2407 | |
4 | RMD160 (estd-r11.tar.gz) = 261a6a79e54f2502a50aad79e336259604376f3c | 4 | RMD160 (estd-r11.tar.gz) = 261a6a79e54f2502a50aad79e336259604376f3c | |
5 | Size (estd-r11.tar.gz) = 9361 bytes | 5 | Size (estd-r11.tar.gz) = 9361 bytes | |
6 | SHA1 (patch-aa) = 0d263f929c700bc14f16a968e330b103cdeea07e | 6 | SHA1 (patch-aa) = d377a38dacee5e93feaf67747d5bf2a7a32c036b | |
7 | SHA1 (patch-estd.c) = e813e795a18fa16ced0070fe7485dff3f3de61ac |
@@ -1,19 +1,19 @@ | @@ -1,19 +1,19 @@ | |||
1 | $NetBSD: patch-aa,v 1.9 2015/02/18 10:34:57 wiz Exp $ | 1 | $NetBSD: patch-aa,v 1.10 2015/03/06 18:08:38 khorben Exp $ | |
2 | 2 | |||
3 | Use BSD_INSTALL_* instead of directly invoking install(1), add DESTDIR | 3 | Use BSD_INSTALL_* instead of directly invoking install(1), add DESTDIR | |
4 | support and install all the files in the proper locations. | 4 | support and install all the files in the proper locations. | |
5 | 5 | |||
6 | --- Makefile.orig 2015-02-15 21:12:10.000000000 +0000 | 6 | --- Makefile.orig 2015-02-18 21:38:03.000000000 +0000 | |
7 | +++ Makefile | 7 | +++ Makefile | |
8 | @@ -19,7 +19,8 @@ estd: estd.c | 8 | @@ -19,7 +19,8 @@ estd: estd.c | |
9 | all: estd | 9 | all: estd | |
10 | 10 | |||
11 | install: all | 11 | install: all | |
12 | - install -d -o root -g wheel -m 0755 /usr/local/sbin | 12 | - install -d -o root -g wheel -m 0755 /usr/local/sbin | |
13 | - install -s -o root -g wheel -m 0755 estd /usr/local/sbin/estd | 13 | - install -s -o root -g wheel -m 0755 estd /usr/local/sbin/estd | |
14 | - install -d -o root -g wheel -m 0755 /usr/local/man/man1 | 14 | - install -d -o root -g wheel -m 0755 /usr/local/man/man1 | |
15 | - install -o root -g wheel -m 0644 estd.1 /usr/local/man/man1/estd.1 | 15 | - install -o root -g wheel -m 0644 estd.1 /usr/local/man/man1/estd.1 | |
16 | + ${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/sbin | 16 | + ${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/sbin | |
17 | + ${BSD_INSTALL_PROGRAM} estd ${DESTDIR}${PREFIX}/sbin/estd | 17 | + ${BSD_INSTALL_PROGRAM} estd ${DESTDIR}${PREFIX}/sbin/estd | |
18 | + ${BSD_INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 | 18 | + ${BSD_INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 | |
19 | + ${BSD_INSTALL_MAN} estd.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/estd.1 | 19 | + ${BSD_INSTALL_MAN} estd.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/estd.1 |
$NetBSD: patch-estd.c,v 1.1 2015/03/06 18:08:38 khorben Exp $
Removed useless "estd: Forked" message
--- estd.c.orig 2015-02-18 21:38:03.000000000 +0000
+++ estd.c
@@ -626,7 +626,6 @@ main(int argc, char *argv[])
/* all ok, here we go */
if (daemonize) {
if (fork()) {
- printf("estd: Forked\n");
exit(0);
}
} else {