Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2019 12:58:25 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r511316 - in head/converters: . bmfdec
Message-ID:  <201909061258.x86CwPt0025643@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Fri Sep  6 12:58:25 2019
New Revision: 511316
URL: https://svnweb.freebsd.org/changeset/ports/511316

Log:
  New port: converters/bmfdec: Decompile binary MOF file (BMF) from WMI buffer
  
  Binary MOF buffer in WMI tools:
  * Decompile binary MOF file (BMF) to UTF-8 plain text MOF file.
  * Decompress binary MOF file (BMF)
  * Parse binary MOF file (BMF)
  
  EXAMPLES:
   sysctl -b dev.acpi_wmi.0.bmof | bmf2mof
  
  SEE ALSO:
   acpi_wmi(4)
  
  WWW: https://github.com/pali/bmfdec/
  
  PR:		240353
  Submitted by:	<nork ninth-nine com> (previous version)
  Reviewed by:	takawata
  Differential Revision:	https://reviews.freebsd.org/D21545

Added:
  head/converters/bmfdec/
  head/converters/bmfdec/Makefile   (contents, props changed)
  head/converters/bmfdec/distinfo   (contents, props changed)
  head/converters/bmfdec/pkg-descr   (contents, props changed)
Modified:
  head/converters/Makefile

Modified: head/converters/Makefile
==============================================================================
--- head/converters/Makefile	Fri Sep  6 12:49:44 2019	(r511315)
+++ head/converters/Makefile	Fri Sep  6 12:58:25 2019	(r511316)
@@ -13,6 +13,7 @@
     SUBDIR += base64
     SUBDIR += base91
     SUBDIR += bibtexconv
+    SUBDIR += bmfdec
     SUBDIR += bsdconv
     SUBDIR += btoa
     SUBDIR += chmview

Added: head/converters/bmfdec/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/converters/bmfdec/Makefile	Fri Sep  6 12:58:25 2019	(r511316)
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME=	bmfdec
+DISTVERSION=	g20180113
+CATEGORIES=	converters devel sysutils
+
+MAINTAINER=	takawata@FreeBSD.org
+COMMENT=	Decompile binary MOF file (BMF) from WMI buffer
+
+LICENSE=	GPLv2
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	pali
+GH_TAGNAME=	a9c0d30
+
+PLIST_FILES=	${BINARIES:S,^,bin/&,}
+
+BINARIES=	bmf2mof bmfdec bmfparse
+
+do-install:
+	(cd ${WRKSRC} && \
+		${INSTALL_PROGRAM} ${BINARIES} ${STAGEDIR}${PREFIX}/bin)
+
+.include <bsd.port.mk>

Added: head/converters/bmfdec/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/converters/bmfdec/distinfo	Fri Sep  6 12:58:25 2019	(r511316)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1567766875
+SHA256 (pali-bmfdec-g20180113-a9c0d30_GH0.tar.gz) = c24284d7a38c965b03c1e0b24450894280c45847a6c550a358bd7971d3f8d720
+SIZE (pali-bmfdec-g20180113-a9c0d30_GH0.tar.gz) = 10629

Added: head/converters/bmfdec/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/converters/bmfdec/pkg-descr	Fri Sep  6 12:58:25 2019	(r511316)
@@ -0,0 +1,12 @@
+Binary MOF buffer in WMI tools:
+* Decompile binary MOF file (BMF) to UTF-8 plain text MOF file.
+* Decompress binary MOF file (BMF)
+* Parse binary MOF file (BMF)
+
+EXAMPLES:
+ sysctl -b dev.acpi_wmi.0.bmof | bmf2mof
+
+SEE ALSO:
+ acpi_wmi(4)
+
+WWW: https://github.com/pali/bmfdec/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909061258.x86CwPt0025643>