NetBSD Problem Report #49679

From iamleot@gmail.com  Wed Feb 18 23:00:22 2015
Return-Path: <iamleot@gmail.com>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 0527BA57FE
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 18 Feb 2015 23:00:22 +0000 (UTC)
Message-Id: <54e51856.0868b40a.6bc9.ffff8747@mx.google.com>
Date: Wed, 18 Feb 2015 14:55:18 -0800 (PST)
From: Leonardo Taccari <iamleot@gmail.com>
Reply-To: Leonardo Taccari <iamleot@gmail.com>
To: gnats-bugs@NetBSD.org
Subject: Update sysutils/estd to -r11
X-Send-Pr-Version: 3.95

>Number:         49679
>Category:       pkg
>Synopsis:       Update sysutils/estd to -r11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 18 23:05:00 +0000 2015
>Closed-Date:    Thu Feb 19 00:08:33 +0000 2015
>Last-Modified:  Thu Feb 19 00:10:01 +0000 2015
>Originator:     Leonardo Taccari
>Release:        NetBSD 7.99.5
>Organization:
Università Politecnica delle Marche
>Environment:


System: NetBSD boh 7.99.5 NetBSD 7.99.5 (GENERIC) #1: Wed Feb 18 02:06:11 CET 2015 leot@boh:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	sysutils/estd in pkgsrc (-r10) is not the latest stable version (-r11).
>How-To-Repeat:
	$ cd pkgsrc/sysutils/estd
	$ make show-var VARNAME=DISTNAME
>Fix:
	Please apply the attached trivial patches. There are not any functional
	changes but with it we get rid of patches/patch-ab that is now upstream.
	A possible commit message is also attached (from the hg log).

------------------------8<--------------------------8<------------------------
Update sysutils/estd to estd-r11.

Changes:
 * fix incorrect static array initialization
------------------------8<--------------------------8<------------------------

------------------------8<--------------------------8<------------------------
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/estd/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- Makefile	18 Feb 2015 10:34:57 -0000	1.26
+++ Makefile	18 Feb 2015 22:48:19 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.26 2015/02/18 10:34:57 wiz Exp $

-DISTNAME=	estd-r10
-PKGNAME=	estd-0.10
+DISTNAME=	estd-r11
+PKGNAME=	estd-0.11
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.ecademix.com/JohannesHofmann/

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/estd/distinfo,v
retrieving revision 1.19
diff -u -r1.19 distinfo
--- distinfo	18 Feb 2015 10:34:57 -0000	1.19
+++ distinfo	18 Feb 2015 22:48:19 -0000
@@ -1,7 +1,6 @@
 $NetBSD: distinfo,v 1.19 2015/02/18 10:34:57 wiz Exp $

-SHA1 (estd-r10.tar.gz) = dea14ac478aad798c37d555ff7ee0597cc13f786
-RMD160 (estd-r10.tar.gz) = 1e30c05bff5efc77dbfa521ac62e1e4e7d236012
-Size (estd-r10.tar.gz) = 9329 bytes
+SHA1 (estd-r11.tar.gz) = 6c1148d66ff93b2e45af0411f1234fcccd1a2407
+RMD160 (estd-r11.tar.gz) = 261a6a79e54f2502a50aad79e336259604376f3c
+Size (estd-r11.tar.gz) = 9361 bytes
 SHA1 (patch-aa) = 0d263f929c700bc14f16a968e330b103cdeea07e
-SHA1 (patch-ab) = 1f9d29a5ffb61d6fa1cf5b685d645f81d73f698f
Index: patches/patch-ab
===================================================================
RCS file: patches/patch-ab
diff -N patches/patch-ab
--- patches/patch-ab	18 Feb 2015 10:34:57 -0000	1.13
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,42 +0,0 @@
-$NetBSD: patch-ab,v 1.13 2015/02/18 10:34:57 wiz Exp $
-
-Add a missing comma that resulted in a smaller freqctl[] and setctl[] (and so
-with a potential off-by-one error).
-Explicitly use TECH_MAX in sizes of freqlist and related arrays.
-
---- estd.c.orig	2015-02-15 21:12:10.000000000 +0000
-+++ estd.c
-@@ -121,7 +121,7 @@ int             ndomains;
-  static const size_t cp_time_max_size = sizeof(cp_time[0]) * MAX_CPUS;
- #endif
- 
--static char	*techdesc[8] = {"Unknown",
-+static char	*techdesc[TECH_MAX + 1] = {"Unknown",
- 				"Enhanced SpeedStep",
- 				"PowerNow",
- 				"ACPI P-States",
-@@ -130,20 +130,20 @@ static char	*techdesc[8] = {"Unknown",
- 				"Rockchip",
- 				"Generic"
- 				};
--static char	*freqctl[8] = {	"",	
-+static char	*freqctl[TECH_MAX + 1] = {	"",	
- 				"machdep.est.frequency.available",
- 				"machdep.powernow.frequency.available",
- 				"hw.acpi.cpu.px_dom0.available",
--				"machdep.intrepid.frequency.available"
-+				"machdep.intrepid.frequency.available",
- 				"machdep.loongson.frequency.available",
- 				"machdep.cpu.frequency.available",
- 				"machdep.frequency.available"
- 				};
--static char	*setctl[8] = {	"",
-+static char	*setctl[TECH_MAX + 1] = {	"",
- 				"machdep.est.frequency.target",
- 				"machdep.powernow.frequency.target",
- 				"hw.acpi.cpu.px_dom0.select",
--				"machdep.intrepid.frequency.target"
-+				"machdep.intrepid.frequency.target",
- 				"machdep.loongson.frequency.target",
- 				"machdep.cpu.frequency.target",
- 				"machdep.frequency.current"

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Thu, 19 Feb 2015 00:08:33 +0000
State-Changed-Why:
Committed, thanks.


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49679 CVS commit: pkgsrc/sysutils/estd
Date: Thu, 19 Feb 2015 00:08:15 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Thu Feb 19 00:08:15 UTC 2015

 Modified Files:
 	pkgsrc/sysutils/estd: Makefile distinfo
 Removed Files:
 	pkgsrc/sysutils/estd/patches: patch-ab

 Log Message:
 Update to r11. From Leonardo Taccari in PR 49679.

 Changes:
  * fix incorrect static array initialization


 To generate a diff of this commit:
 cvs rdiff -u -r1.26 -r1.27 pkgsrc/sysutils/estd/Makefile
 cvs rdiff -u -r1.19 -r1.20 pkgsrc/sysutils/estd/distinfo
 cvs rdiff -u -r1.13 -r0 pkgsrc/sysutils/estd/patches/patch-ab

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.