pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/acpica-utils LICENSE= gnu-gpl-v2 # OR ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e92d430e87ea
branches:  trunk
changeset: 395834:e92d430e87ea
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Jul 14 18:13:48 2009 +0000

description:
LICENSE=        gnu-gpl-v2 # OR intel-acpica-license

While here de-lint the package and update to version 20090625.

20090625:
ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
operation region keyword. ACPICA BZ 771, 772. Lin Ming.
ACPI 4.0: iASL - implemented compile-time validation support for all new
predefined names and control methods (31 total). ACPICA BZ 769.

20090521:
Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some problems
with sub-table disassembly and handling invalid sub-tables. Attempt recovery
after an invalid sub-table ID.

20090422:
iASL: Fixed a generation warning from Bison 2.3 and fixed several warnings on
the 64-bit build.
iASL: Fixed a problem where the Unix/Linux versions of the compiler could not
correctly digest Windows/DOS formatted files (with CR/LF).
iASL: Added a new option for "quiet mode" (-va) that produces only the
compilation summary, not individual errors and warnings. Useful for large
batch compilations.
AcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex
timeout that can be used to detect hang conditions during execution of AML
code (includes both internal semaphores and AML-defined mutexes and events.)

20090320:
Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c and
aetables.c

20090220:
Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
various legal performance profiles.

20090123:
Fix build error under Bison-2.4.
Dissasembler: Enhanced FADT support. Added decoding of the Boot Architecture
flags. Now decode all flags, regardless of the FADT version. Flag output
includes the FADT version which first defined each flag.
The iASL -g option now dumps the RSDT to a file (in addition to the FADT and
DSDT). Windows only.

20081204:
iASL: Completed the '-e' option to include additional ACPI tables in order to
aid with disassembly and External statement generation. ACPICA BZ 742. Lin
Ming.
iASL: Removed the "named object in while loop" error. The compiler cannot
determine how many times a loop will execute. ACPICA BZ 730.
Disassembler: Implemented support for FADT revision 2 (MS extension). ACPICA
BZ 743.
Disassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).

20081031:
iASL: Improved disassembly of external method calls. Added the -e option to
allow the inclusion of additional ACPI tables to help with the disassembly of
method invocations and the generation of external declarations during the
disassembly. Certain external method invocations cannot be disassembled
properly without the actual declaration of the method. Use the -e option to
include the table where the external method(s) are actually declared. Most
useful for disassembling SSDTs that make method calls back to the master
DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl -d
-e dsdt.aml ssdt1.aml
iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
problem where the use of an alias within a namepath would result in a not
found error or cause the compiler to fault. Also now allows forward
references from the Alias operator itself. ACPICA BZ 738.

20080829:
Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
defines _SCP with 3 arguments. Previous versions defined it with only 1
argument. iASL now allows both definitions.
iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
length subtables when disassembling ACPI tables. Also fixed a couple of
errors where a full 16-bit table type field was not extracted from the input
properly.
acpisrc: Improve comment counting mechanism for generating source code
statistics. Count first and last lines of multi-line comments as whitespace,
not comment lines. Handle Linux legal header in addition to standard acpica
header.

diffstat:

 sysutils/acpica-utils/Makefile         |    27 +-
 sysutils/acpica-utils/distinfo         |     9 +-
 sysutils/acpica-utils/patches/patch-aa |  1108 --------------------------------
 3 files changed, 22 insertions(+), 1122 deletions(-)

diffs (truncated from 1179 to 300 lines):

diff -r 80ce2c4936f0 -r e92d430e87ea sysutils/acpica-utils/Makefile
--- a/sysutils/acpica-utils/Makefile    Tue Jul 14 18:04:22 2009 +0000
+++ b/sysutils/acpica-utils/Makefile    Tue Jul 14 18:13:48 2009 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2009/05/18 18:18:03 rumble Exp $
+# $NetBSD: Makefile,v 1.4 2009/07/14 18:13:48 tnn Exp $
 #
 
 DISTNAME=      acpica-unix-${ACPICA_UTILS_VERSION}
 PKGNAME=       acpica-utils-${ACPICA_UTILS_VERSION}
-PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  http://www.acpica.org/download/
 
@@ -11,7 +10,7 @@
 HOMEPAGE=      http://www.acpica.org/
 COMMENT=       Intel ACPI CA Unix utilities
 
-ACPICA_UTILS_VERSION=  20080729
+ACPICA_UTILS_VERSION=  20090625
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 PKG_DESTDIR_SUPPORT=   user-destdir
@@ -20,13 +19,23 @@
 
 USE_TOOLS+=    bison flex gm4 gmake
 
+LICENSE=       gnu-gpl-v2 # OR intel-acpica-license
+# According to http://www.acpica.org/documentation/faq.php:
+#   "Under what licensing is the ACPICA source released?
+#      ACPICA can be licensed under the GNU General Public License or via a
+#      separate license that may be more favorable to commercial OSVs. Please
+#      see the source code license header for specifics.
+
+# Don't have sem_timedwait()
+CFLAGS.NetBSD+=        -DACPI_USE_ALTERNATE_TIMEOUT
+
 do-build:
-       @cd ${WRKSRC}/tools/acpiexec && ${MAKE_PROGRAM}
-       @cp -f ${WRKSRC}/tools/acpiexec/acpiexec ${WRKSRC}
-       @cd ${WRKSRC}/tools/acpiexec && ${MAKE_PROGRAM} clean
-       @cd ${WRKSRC}/compiler && ${MAKE_PROGRAM}
-       @cd ${WRKSRC}/tools/acpisrc && ${MAKE_PROGRAM}
-       @cd ${WRKSRC}/tools/acpixtract && ${MAKE_PROGRAM}
+       cd ${WRKSRC}/tools/acpiexec && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
+       cp -f ${WRKSRC}/tools/acpiexec/acpiexec ${WRKSRC}
+       cd ${WRKSRC}/tools/acpiexec && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} clean
+       cd ${WRKSRC}/compiler && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
+       cd ${WRKSRC}/tools/acpisrc && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
+       cd ${WRKSRC}/tools/acpixtract && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/compiler/iasl \
diff -r 80ce2c4936f0 -r e92d430e87ea sysutils/acpica-utils/distinfo
--- a/sysutils/acpica-utils/distinfo    Tue Jul 14 18:04:22 2009 +0000
+++ b/sysutils/acpica-utils/distinfo    Tue Jul 14 18:13:48 2009 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.5 2009/05/18 18:26:16 rumble Exp $
+$NetBSD: distinfo,v 1.6 2009/07/14 18:13:48 tnn Exp $
 
-SHA1 (acpica-unix-20080729.tar.gz) = 34a17148c259c8c798b19f679966ba66d847916a
-RMD160 (acpica-unix-20080729.tar.gz) = 3f85ebf2a10de750e2d755355bc8a7a45d995d28
-Size (acpica-unix-20080729.tar.gz) = 897283 bytes
-SHA1 (patch-aa) = d1f738a7eac1890fd64e76e460894549983dab05
+SHA1 (acpica-unix-20090625.tar.gz) = d5906ce8695173916c1c586111fcc6b40ade60c2
+RMD160 (acpica-unix-20090625.tar.gz) = 5e5299f3d93e0259e16346861f0c66651f6fbfd9
+Size (acpica-unix-20090625.tar.gz) = 933277 bytes
diff -r 80ce2c4936f0 -r e92d430e87ea sysutils/acpica-utils/patches/patch-aa
--- a/sysutils/acpica-utils/patches/patch-aa    Tue Jul 14 18:04:22 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1108 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2009/05/18 18:22:13 rumble Exp $
-
---- compiler/aslcompiler.y.orig        2008-07-29 10:26:13.000000000 -0700
-+++ compiler/aslcompiler.y     2009-04-22 12:39:19.000000000 -0700
-@@ -11,7 +10,7 @@
-  *
-  * 1. Copyright Notice
-  *
-- * Some or all of this work - Copyright (c) 1999 - 2008, Intel Corp.
-+ * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
-  * All rights reserved.
-  *
-  * 2. License
-@@ -188,10 +188,10 @@
- /*! [Begin] no source code translation */
- 
- /*
-- * These shift/reduce conflicts are expected. There should be zer0
-+ * These shift/reduce conflicts are expected. There should be zero
-  * reduce/reduce conflicts.
-  */
--%expect 64
-+%expect 60
- 
- 
- /*
-@@ -794,7 +794,7 @@
-     ;
- 
- DefinitionBlockTerm
--    : PARSEOP_DEFINITIONBLOCK '('     {$$ = TrCreateLeafNode (PARSEOP_DEFINITIONBLOCK);}
-+    : PARSEOP_DEFINITIONBLOCK '('     {$<n>$ = TrCreateLeafNode (PARSEOP_DEFINITIONBLOCK);}
-         String ','
-         String ','
-         ByteConst ','
-@@ -1111,7 +1111,7 @@
-     ;
- 
- IncludeTerm
--    : PARSEOP_INCLUDE '('                     {$$ = TrCreateLeafNode (PARSEOP_INCLUDE);}
-+    : PARSEOP_INCLUDE '('                     {$<n>$ = TrCreateLeafNode (PARSEOP_INCLUDE);}
-         String  ')'                 {TrLinkChildren ($<n>3,1,$4);FlOpenIncludeFile ($4);}
-         TermList
-         IncludeEndTerm              {$$ = TrLinkPeerNodes (3,$<n>3,$7,$8);}
-@@ -1147,7 +1147,7 @@
- 
- 
- BankFieldTerm
--    : PARSEOP_BANKFIELD '('                   {$$ = TrCreateLeafNode (PARSEOP_BANKFIELD);}
-+    : PARSEOP_BANKFIELD '('                   {$<n>$ = TrCreateLeafNode (PARSEOP_BANKFIELD);}
-         NameString
-         NameStringItem
-         TermArgItem
-@@ -1198,7 +1198,7 @@
-     ;
- 
- CreateBitFieldTerm
--    : PARSEOP_CREATEBITFIELD '('      {$$ = TrCreateLeafNode (PARSEOP_CREATEBITFIELD);}
-+    : PARSEOP_CREATEBITFIELD '('      {$<n>$ = TrCreateLeafNode (PARSEOP_CREATEBITFIELD);}
-         TermArg
-         TermArgItem
-         NameStringItem
-@@ -1208,7 +1208,7 @@
-     ;
- 
- CreateByteFieldTerm
--    : PARSEOP_CREATEBYTEFIELD '('     {$$ = TrCreateLeafNode (PARSEOP_CREATEBYTEFIELD);}
-+    : PARSEOP_CREATEBYTEFIELD '('     {$<n>$ = TrCreateLeafNode (PARSEOP_CREATEBYTEFIELD);}
-         TermArg
-         TermArgItem
-         NameStringItem
-@@ -1218,7 +1218,7 @@
-     ;
- 
- CreateDWordFieldTerm
--    : PARSEOP_CREATEDWORDFIELD '('    {$$ = TrCreateLeafNode (PARSEOP_CREATEDWORDFIELD);}
-+    : PARSEOP_CREATEDWORDFIELD '('    {$<n>$ = TrCreateLeafNode (PARSEOP_CREATEDWORDFIELD);}
-         TermArg
-         TermArgItem
-         NameStringItem
-@@ -1228,7 +1228,7 @@
-     ;
- 
- CreateFieldTerm
--    : PARSEOP_CREATEFIELD '('         {$$ = TrCreateLeafNode (PARSEOP_CREATEFIELD);}
-+    : PARSEOP_CREATEFIELD '('         {$<n>$ = TrCreateLeafNode (PARSEOP_CREATEFIELD);}
-         TermArg
-         TermArgItem
-         TermArgItem
-@@ -1239,7 +1239,7 @@
-     ;
- 
- CreateQWordFieldTerm
--    : PARSEOP_CREATEQWORDFIELD '('    {$$ = TrCreateLeafNode (PARSEOP_CREATEQWORDFIELD);}
-+    : PARSEOP_CREATEQWORDFIELD '('    {$<n>$ = TrCreateLeafNode (PARSEOP_CREATEQWORDFIELD);}
-         TermArg
-         TermArgItem
-         NameStringItem
-@@ -1249,7 +1249,7 @@
-     ;
- 
- CreateWordFieldTerm
--    : PARSEOP_CREATEWORDFIELD '('     {$$ = TrCreateLeafNode (PARSEOP_CREATEWORDFIELD);}
-+    : PARSEOP_CREATEWORDFIELD '('     {$<n>$ = TrCreateLeafNode (PARSEOP_CREATEWORDFIELD);}
-         TermArg
-         TermArgItem
-         NameStringItem
-@@ -1259,7 +1259,7 @@
-     ;
- 
- DataRegionTerm
--    : PARSEOP_DATATABLEREGION '('     {$$ = TrCreateLeafNode (PARSEOP_DATATABLEREGION);}
-+    : PARSEOP_DATATABLEREGION '('     {$<n>$ = TrCreateLeafNode (PARSEOP_DATATABLEREGION);}
-         NameString
-         TermArgItem
-         TermArgItem
-@@ -1270,7 +1270,7 @@
-     ;
- 
- DeviceTerm
--    : PARSEOP_DEVICE '('                      {$$ = TrCreateLeafNode (PARSEOP_DEVICE);}
-+    : PARSEOP_DEVICE '('                      {$<n>$ = TrCreateLeafNode (PARSEOP_DEVICE);}
-         NameString
-         ')' '{'
-             ObjectList '}'          {$$ = TrLinkChildren ($<n>3,2,TrSetNodeFlags ($4, NODE_IS_NAME_DECLARATION),$7);}
-@@ -1279,7 +1279,7 @@
-     ;
- 
- EventTerm
--    : PARSEOP_EVENT '('                               {$$ = TrCreateLeafNode (PARSEOP_EVENT);}
-+    : PARSEOP_EVENT '('                               {$<n>$ = TrCreateLeafNode (PARSEOP_EVENT);}
-         NameString
-         ')'                         {$$ = TrLinkChildren ($<n>3,1,TrSetNodeFlags ($4, NODE_IS_NAME_DECLARATION));}
-     | PARSEOP_EVENT '('
-@@ -1287,7 +1287,7 @@
-     ;
- 
- FieldTerm
--    : PARSEOP_FIELD '('                               {$$ = TrCreateLeafNode (PARSEOP_FIELD);}
-+    : PARSEOP_FIELD '('                               {$<n>$ = TrCreateLeafNode (PARSEOP_FIELD);}
-         NameString
-         ',' AccessTypeKeyword
-         ',' LockRuleKeyword
-@@ -1299,7 +1299,7 @@
-     ;
- 
- FunctionTerm
--    : PARSEOP_FUNCTION '('                    {$$ = TrCreateLeafNode (PARSEOP_METHOD);}
-+    : PARSEOP_FUNCTION '('                    {$<n>$ = TrCreateLeafNode (PARSEOP_METHOD);}
-         NameString
-         OptionalParameterTypePackage
-         OptionalParameterTypesPackage
-@@ -1313,7 +1313,7 @@
-     ;
- 
- IndexFieldTerm
--    : PARSEOP_INDEXFIELD '('          {$$ = TrCreateLeafNode (PARSEOP_INDEXFIELD);}
-+    : PARSEOP_INDEXFIELD '('          {$<n>$ = TrCreateLeafNode (PARSEOP_INDEXFIELD);}
-         NameString
-         NameStringItem
-         ',' AccessTypeKeyword
-@@ -1326,7 +1326,7 @@
-     ;
- 
- MethodTerm
--    : PARSEOP_METHOD  '('                     {$$ = TrCreateLeafNode (PARSEOP_METHOD);}
-+    : PARSEOP_METHOD  '('                     {$<n>$ = TrCreateLeafNode (PARSEOP_METHOD);}
-         NameString
-         OptionalByteConstExpr       {UtCheckIntegerRange ($5, 0, 7);}
-         OptionalSerializeRuleKeyword
-@@ -1340,7 +1340,7 @@
-     ;
- 
- MutexTerm
--    : PARSEOP_MUTEX '('                               {$$ = TrCreateLeafNode (PARSEOP_MUTEX);}
-+    : PARSEOP_MUTEX '('                               {$<n>$ = TrCreateLeafNode (PARSEOP_MUTEX);}
-         NameString
-         ',' ByteConstExpr
-         ')'                         {$$ = TrLinkChildren ($<n>3,2,TrSetNodeFlags ($4, NODE_IS_NAME_DECLARATION),$6);}
-@@ -1349,7 +1349,7 @@
-     ;
- 
- OpRegionTerm
--    : PARSEOP_OPERATIONREGION '('     {$$ = TrCreateLeafNode (PARSEOP_OPERATIONREGION);}
-+    : PARSEOP_OPERATIONREGION '('     {$<n>$ = TrCreateLeafNode (PARSEOP_OPERATIONREGION);}
-         NameString
-         ',' OpRegionSpaceIdTerm
-         TermArgItem
-@@ -1365,7 +1365,7 @@
-     ;
- 
- PowerResTerm
--    : PARSEOP_POWERRESOURCE '('               {$$ = TrCreateLeafNode (PARSEOP_POWERRESOURCE);}
-+    : PARSEOP_POWERRESOURCE '('               {$<n>$ = TrCreateLeafNode (PARSEOP_POWERRESOURCE);}
-         NameString
-         ',' ByteConstExpr
-         ',' WordConstExpr
-@@ -1376,7 +1376,7 @@
-     ;
- 
- ProcessorTerm
--    : PARSEOP_PROCESSOR '('                   {$$ = TrCreateLeafNode (PARSEOP_PROCESSOR);}
-+    : PARSEOP_PROCESSOR '('                   {$<n>$ = TrCreateLeafNode (PARSEOP_PROCESSOR);}
-         NameString
-         ',' ByteConstExpr
-         OptionalDWordConstExpr
-@@ -1388,7 +1388,7 @@
-     ;
- 
- ThermalZoneTerm
--    : PARSEOP_THERMALZONE '('         {$$ = TrCreateLeafNode (PARSEOP_THERMALZONE);}
-+    : PARSEOP_THERMALZONE '('         {$<n>$ = TrCreateLeafNode (PARSEOP_THERMALZONE);}
-         NameString
-         ')' '{'
-             ObjectList '}'          {$$ = TrLinkChildren ($<n>3,2,TrSetNodeFlags ($4, NODE_IS_NAME_DECLARATION),$7);}
-@@ -1401,7 +1401,7 @@
- 
- 
- AliasTerm
--    : PARSEOP_ALIAS '('                               {$$ = TrCreateLeafNode (PARSEOP_ALIAS);}
-+    : PARSEOP_ALIAS '('                               {$<n>$ = TrCreateLeafNode (PARSEOP_ALIAS);}
-         NameString
-         NameStringItem
-         ')'                         {$$ = TrLinkChildren ($<n>3,2,$4,TrSetNodeFlags ($5, NODE_IS_NAME_DECLARATION));}
-@@ -1410,7 +1410,7 @@
-     ;
- 
- NameTerm
--    : PARSEOP_NAME '('                                {$$ = TrCreateLeafNode (PARSEOP_NAME);}



Home | Main Index | Thread Index | Old Index