-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Created by: [email protected] | ||
# $FreeBSD$ | ||
|
||
PORTNAME= python-evtx | ||
DISTVERSION= 0.1 | ||
CATEGORIES= security devel python | ||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||
|
||
MAINTAINER= [email protected] | ||
COMMENT= Pure Python parser for recent Windows event log files | ||
|
||
LICENSE= AL2 | ||
|
||
USE_GITHUB= yes | ||
GH_ACCOUNT= williballenthin | ||
GH_TAGNAME= v${DISTVERSION} | ||
GH_COMMIT= 43980e8 | ||
|
||
USE_PYTHON= yes | ||
USE_PYDISTUTILS=easy_install | ||
PYDISTUTILS_PKGNAME=Evtx | ||
|
||
OPTIONS_DEFINE= DOCS EXAMPLES | ||
|
||
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} | ||
PORTDOCS= README.md p65-schuster.pdf | ||
PORTEXAMPLES= * | ||
|
||
post-patch: | ||
${REINPLACE_CMD} -e 's|]|], zip_safe=False|' ${WRKSRC}/setup.py | ||
${REINPLACE_CMD} -i '' -e 's|/bin/python|${PYTHON_CMD}|' ${WRKSRC}/scripts/* | ||
|
||
.include <bsd.port.options.mk> | ||
|
||
post-install: | ||
.if ${PORT_OPTIONS:MDOCS} | ||
@${MKDIR} ${DOCSDIR} | ||
${INSTALL_DATA} ${WRKSRC}/README.md ${WRKSRC}/documentation/p65-schuster.pdf ${DOCSDIR} | ||
.endif | ||
.if ${PORT_OPTIONS:MEXAMPLES} | ||
@${MKDIR} ${EXAMPLESDIR} | ||
${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${EXAMPLESDIR} | ||
.endif | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SHA256 (python-evtx-0.1.tar.gz) = ee4982f087c7f8d9b5f50f2cdd32c6c0124e9db0e9d780c4894bf94e0d820f64 | ||
SIZE (python-evtx-0.1.tar.gz) = 433581 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
python-evtx is a pure Python parser for recent Windows Event Log files | ||
(those with the file extension ".evtx"). The module provides programmatic | ||
access to the File and Chunk headers, record templates, and event entries. | ||
For example, you can use python-evtx to review the event logs of Windows 7 | ||
systems from a Mac or Linux workstation. The structure definitions and parsing | ||
strategies were heavily inspired by the work of Andreas Schuster and his Perl | ||
implementation Parse-Evtx. | ||
|
||
WWW: http://www.williballenthin.com/evtx/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO | ||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt | ||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt | ||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe | ||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt | ||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/Evtx/BinaryParser.py | ||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/Evtx/BinaryParser.pyc | ||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/Evtx/BinaryParser.pyo | ||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/Evtx/Evtx.py | ||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/Evtx/Evtx.pyc | ||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/Evtx/Evtx.pyo | ||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/Evtx/Nodes.py | ||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/Evtx/Nodes.pyc | ||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/Evtx/Nodes.pyo | ||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/Evtx/__init__.py | ||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/Evtx/__init__.pyc | ||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/Evtx/__init__.pyo | ||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/Evtx | ||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO | ||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |