Import of pkgsrc-2015Q1

This commit is contained in:
2016-01-21 23:40:00 +01:00
committed by sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870539 additions and 795424 deletions
+6 -4
View File
@@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.21 2012/12/12 10:44:11 wiz Exp $
# $NetBSD: Makefile,v 1.28 2015/03/06 18:08:38 khorben Exp $
DISTNAME= estd-r7
PKGNAME= estd-0.7
DISTNAME= estd-r11
PKGNAME= estd-0.11
PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.ecademix.com/JohannesHofmann/
@@ -15,7 +16,8 @@ INSTALLATION_DIRS= share/examples/rc.d
ONLY_FOR_PLATFORM= NetBSD-2.99.*-i386 NetBSD-[3-9]*-i386 \
NetBSD-[4-9]*-x86_64 DragonFly-*-i386 \
NetBSD-5.99.*-powerpc \
NetBSD-5.99.*-mips64el
NetBSD-5.99.*-mips64el \
NetBSD-[7-9]*-earm* NetBSD-[7-9]*-arm*
RCD_SCRIPTS= estd
RCD_SCRIPT_SRC.estd= ${WRKSRC}/estd.sh
+6 -6
View File
@@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.14 2011/12/14 21:44:32 macallan Exp $
$NetBSD: distinfo,v 1.21 2015/03/06 18:08:38 khorben Exp $
SHA1 (estd-r7.tar.gz) = 41186b82fe2a71a4436e01805522b60d100f84d4
RMD160 (estd-r7.tar.gz) = c91dad3c74ef099d54e546ac0cdf7a4a29c4a4f3
Size (estd-r7.tar.gz) = 8712 bytes
SHA1 (patch-aa) = 539b1bdcfab5815edec76277ee1be9fa9c762323
SHA1 (patch-ab) = f0df22cee99f5750875cbbd2e050cc0302ac0348
SHA1 (estd-r11.tar.gz) = 6c1148d66ff93b2e45af0411f1234fcccd1a2407
RMD160 (estd-r11.tar.gz) = 261a6a79e54f2502a50aad79e336259604376f3c
Size (estd-r11.tar.gz) = 9361 bytes
SHA1 (patch-aa) = d377a38dacee5e93feaf67747d5bf2a7a32c036b
SHA1 (patch-estd.c) = e813e795a18fa16ced0070fe7485dff3f3de61ac
+5 -2
View File
@@ -1,6 +1,9 @@
$NetBSD: patch-aa,v 1.7 2011/03/16 05:09:16 macallan Exp $
$NetBSD: patch-aa,v 1.10 2015/03/06 18:08:38 khorben Exp $
--- Makefile.orig 2007-12-15 15:51:02.000000000 +0000
Use BSD_INSTALL_* instead of directly invoking install(1), add DESTDIR
support and install all the files in the proper locations.
--- Makefile.orig 2015-02-18 21:38:03.000000000 +0000
+++ Makefile
@@ -19,7 +19,8 @@ estd: estd.c
all: estd
-62
View File
@@ -1,62 +0,0 @@
$NetBSD: patch-ab,v 1.8 2011/12/14 21:44:32 macallan Exp $
--- estd.c.orig 2009-10-20 16:18:28.000000000 +0000
+++ estd.c
@@ -55,7 +55,9 @@
#define TECH_EST 1
#define TECH_POWERNOW 2
#define TECH_ACPI 3
-#define TECH_MAX 3
+#define TECH_INTREPID 4
+#define TECH_LOONGSON 5
+#define TECH_MAX 5
/* this is ugly, but... <shrug> */
#define MAX_FREQS 32
@@ -116,20 +118,26 @@ int ndomains;
static size_t cp_time_size = sizeof(cp_time[0]) * CPUSTATES;
#endif
-static char *techdesc[4] = {"Unknown",
+static char *techdesc[6] = {"Unknown",
"Enhanced SpeedStep",
"PowerNow",
- "ACPI P-States"
+ "ACPI P-States",
+ "Intrepid",
+ "Loongson"
};
-static char *freqctl[4] = { "",
+static char *freqctl[6] = { "",
"machdep.est.frequency.available",
"machdep.powernow.frequency.available",
- "hw.acpi.cpu.px_dom0.available"
+ "hw.acpi.cpu.px_dom0.available",
+ "machdep.intrepid.frequency.available",
+ "machdep.loongson.frequency.available"
};
-static char *setctl[4] = { "",
+static char *setctl[6] = { "",
"machdep.est.frequency.target",
"machdep.powernow.frequency.target",
- "hw.acpi.cpu.px_dom0.select"
+ "hw.acpi.cpu.px_dom0.select",
+ "machdep.intrepid.frequency.target",
+ "machdep.loongson.frequency.target"
};
void
@@ -400,6 +408,13 @@ main(int argc, char *argv[])
break;
case 'P':
tech = TECH_POWERNOW;
+ break;
+ case 'I':
+ tech = TECH_INTREPID;
+ break;
+ case 'L':
+ tech = TECH_LOONGSON;
+ break;
case 'a':
strategy = AGGRESSIVE;
break;
+14
View File
@@ -0,0 +1,14 @@
$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 {