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
This commit is contained in:
Mateusz Piotrowski 2019-09-06 12:58:25 +00:00
parent 6e86080939
commit fce0f4ebce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=511316
4 changed files with 40 additions and 0 deletions

View File

@ -13,6 +13,7 @@
SUBDIR += base64
SUBDIR += base91
SUBDIR += bibtexconv
SUBDIR += bmfdec
SUBDIR += bsdconv
SUBDIR += btoa
SUBDIR += chmview

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1567766875
SHA256 (pali-bmfdec-g20180113-a9c0d30_GH0.tar.gz) = c24284d7a38c965b03c1e0b24450894280c45847a6c550a358bd7971d3f8d720
SIZE (pali-bmfdec-g20180113-a9c0d30_GH0.tar.gz) = 10629

View File

@ -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/