2014-05-09 07:38:41 +00:00
|
|
|
# $NetBSD: Makefile,v 1.3 2014/05/09 07:38:44 thomasklausner Exp $
|
Import py27-Netzob-0.4.1 as wip/py-Netzob.
Netzob is an open source tool for reverse engineering, traffic
generation and fuzzing of communication protocols. It allows to
infer the message format and the state machine of a protocol through
passive and active processes. The model can afterward be used to
simulate realistic and controllable traffic.
TODO:
Does not find the modules, so no loader plugins are found, then
nothing really works.
Error output:
[MainThread]2014-01-02 22:20:17,491 - NetzobPlugin - ERROR - Impossible to load plugin declared in entrypoint DelimiterSeparatedImporter = DelimiterSeparatedImporter.DelimiterSeparatedImporterPlugin:DelimiterSeparatedImporterPlugin : bitarray>=0.4
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/site-packages/netzob/Common/Plugins/NetzobPlugin.py", line 178, in loadPlugins
plugin_class = entrypoint.load()
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2107, in load
if require: self.require(env, installer)
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2120, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 576, in resolve
raise DistributionNotFound(req)
DistributionNotFound: bitarray>=0.4
[MainThread]2014-01-02 22:20:17,508 - NetzobPlugin - ERROR - Impossible to load plugin declared in entrypoint IpcCapturer = IpcCapturer.IpcCapturerPlugin:IpcCapturerPlugin : python-ptrace
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/site-packages/netzob/Common/Plugins/NetzobPlugin.py", line 178, in loadPlugins
plugin_class = entrypoint.load()
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2107, in load
if require: self.require(env, installer)
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2120, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 576, in resolve
raise DistributionNotFound(req)
DistributionNotFound: python-ptrace
[MainThread]2014-01-02 22:20:17,523 - NetzobPlugin - ERROR - Impossible to load plugin declared in entrypoint NetworkCapturer = NetworkCapturer.NetworkCapturerPlugin:NetworkCapturerPlugin : pcapy
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/site-packages/netzob/Common/Plugins/NetzobPlugin.py", line 178, in loadPlugins
plugin_class = entrypoint.load()
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2107, in load
if require: self.require(env, installer)
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2120, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 576, in resolve
raise DistributionNotFound(req)
DistributionNotFound: pcapy
[MainThread]2014-01-02 22:20:17,539 - NetzobPlugin - ERROR - Impossible to load plugin declared in entrypoint OSpyImporter = OSpyImporter.OSpyImporterPlugin:OSpyImporterPlugin : bitarray>=0.4
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/site-packages/netzob/Common/Plugins/NetzobPlugin.py", line 178, in loadPlugins
plugin_class = entrypoint.load()
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2107, in load
if require: self.require(env, installer)
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2120, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 576, in resolve
raise DistributionNotFound(req)
DistributionNotFound: bitarray>=0.4
[MainThread]2014-01-02 22:20:17,554 - NetzobPlugin - ERROR - Impossible to load plugin declared in entrypoint PCAPImporter = PCAPImporter.PCAPImporterPlugin:PCAPImporterPlugin : pcapy
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/site-packages/netzob/Common/Plugins/NetzobPlugin.py", line 178, in loadPlugins
plugin_class = entrypoint.load()
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2107, in load
if require: self.require(env, installer)
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2120, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 576, in resolve
raise DistributionNotFound(req)
DistributionNotFound: pcapy
[MainThread]2014-01-02 22:20:17,569 - NetzobPlugin - ERROR - Impossible to load plugin declared in entrypoint PeachExporter = PeachExporter.PeachExporterPlugin:PeachExporterPlugin : bitarray>=0.4
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/site-packages/netzob/Common/Plugins/NetzobPlugin.py", line 178, in loadPlugins
plugin_class = entrypoint.load()
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2107, in load
if require: self.require(env, installer)
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2120, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 576, in resolve
raise DistributionNotFound(req)
DistributionNotFound: bitarray>=0.4
[MainThread]2014-01-02 22:20:17,579 - NetzobPlugin - ERROR - Impossible to load plugin declared in entrypoint WiresharkExporter = WiresharkExporter.WiresharkExporterPlugin:WiresharkExporterPlugin : bitarray>=0.4
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/site-packages/netzob/Common/Plugins/NetzobPlugin.py", line 178, in loadPlugins
plugin_class = entrypoint.load()
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2107, in load
if require: self.require(env, installer)
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2120, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 576, in resolve
raise DistributionNotFound(req)
DistributionNotFound: bitarray>=0.4
[MainThread]2014-01-02 22:20:17,588 - NetzobPlugin - ERROR - Impossible to load plugin declared in entrypoint XMLImporter = XMLImporter.XMLImporterPlugin:XMLImporterPlugin : bitarray>=0.4
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/site-packages/netzob/Common/Plugins/NetzobPlugin.py", line 178, in loadPlugins
plugin_class = entrypoint.load()
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2107, in load
if require: self.require(env, installer)
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2120, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 576, in resolve
raise DistributionNotFound(req)
DistributionNotFound: bitarray>=0.4
2014-01-02 21:23:02 +00:00
|
|
|
|
|
|
|
DISTNAME= Netzob-0.4.1
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.netzob.org/repository/0.4.1/
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.netzob.org/
|
|
|
|
COMMENT= Tool for reverse engineering communication protocols
|
|
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-gobject-[0-9]*:../../devel/py-gobject
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-bitarray>=0.4:../../wip/py-bitarray
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-impacket-[0-9]*:../../wip/py-impacket
|
|
|
|
# only available for FreeBSD
|
|
|
|
#DEPENDS+= ${PYPKGPREFIX}-ptrace-[0-9]*:../../wip/py-ptrace
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-pcapy-[0-9]*:../../wip/py-pcapy
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-httplib2-[0-9]*:../../www/py-httplib2
|
|
|
|
DEPENDS+= graphviz-[0-9]*:../../graphics/graphviz
|
|
|
|
|
|
|
|
# python-impacket
|
|
|
|
|
|
|
|
REPLACE_PYTHON= src/netzob/ExternalLibs/xdot.py
|
|
|
|
|
2019-09-02 13:00:26 +00:00
|
|
|
PYTHON_VERSIONS_ACCEPTED= 27 # py-gobject
|
2014-01-26 15:49:50 +00:00
|
|
|
|
Import py27-Netzob-0.4.1 as wip/py-Netzob.
Netzob is an open source tool for reverse engineering, traffic
generation and fuzzing of communication protocols. It allows to
infer the message format and the state machine of a protocol through
passive and active processes. The model can afterward be used to
simulate realistic and controllable traffic.
TODO:
Does not find the modules, so no loader plugins are found, then
nothing really works.
Error output:
[MainThread]2014-01-02 22:20:17,491 - NetzobPlugin - ERROR - Impossible to load plugin declared in entrypoint DelimiterSeparatedImporter = DelimiterSeparatedImporter.DelimiterSeparatedImporterPlugin:DelimiterSeparatedImporterPlugin : bitarray>=0.4
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/site-packages/netzob/Common/Plugins/NetzobPlugin.py", line 178, in loadPlugins
plugin_class = entrypoint.load()
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2107, in load
if require: self.require(env, installer)
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2120, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 576, in resolve
raise DistributionNotFound(req)
DistributionNotFound: bitarray>=0.4
[MainThread]2014-01-02 22:20:17,508 - NetzobPlugin - ERROR - Impossible to load plugin declared in entrypoint IpcCapturer = IpcCapturer.IpcCapturerPlugin:IpcCapturerPlugin : python-ptrace
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/site-packages/netzob/Common/Plugins/NetzobPlugin.py", line 178, in loadPlugins
plugin_class = entrypoint.load()
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2107, in load
if require: self.require(env, installer)
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2120, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 576, in resolve
raise DistributionNotFound(req)
DistributionNotFound: python-ptrace
[MainThread]2014-01-02 22:20:17,523 - NetzobPlugin - ERROR - Impossible to load plugin declared in entrypoint NetworkCapturer = NetworkCapturer.NetworkCapturerPlugin:NetworkCapturerPlugin : pcapy
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/site-packages/netzob/Common/Plugins/NetzobPlugin.py", line 178, in loadPlugins
plugin_class = entrypoint.load()
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2107, in load
if require: self.require(env, installer)
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2120, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 576, in resolve
raise DistributionNotFound(req)
DistributionNotFound: pcapy
[MainThread]2014-01-02 22:20:17,539 - NetzobPlugin - ERROR - Impossible to load plugin declared in entrypoint OSpyImporter = OSpyImporter.OSpyImporterPlugin:OSpyImporterPlugin : bitarray>=0.4
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/site-packages/netzob/Common/Plugins/NetzobPlugin.py", line 178, in loadPlugins
plugin_class = entrypoint.load()
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2107, in load
if require: self.require(env, installer)
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2120, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 576, in resolve
raise DistributionNotFound(req)
DistributionNotFound: bitarray>=0.4
[MainThread]2014-01-02 22:20:17,554 - NetzobPlugin - ERROR - Impossible to load plugin declared in entrypoint PCAPImporter = PCAPImporter.PCAPImporterPlugin:PCAPImporterPlugin : pcapy
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/site-packages/netzob/Common/Plugins/NetzobPlugin.py", line 178, in loadPlugins
plugin_class = entrypoint.load()
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2107, in load
if require: self.require(env, installer)
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2120, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 576, in resolve
raise DistributionNotFound(req)
DistributionNotFound: pcapy
[MainThread]2014-01-02 22:20:17,569 - NetzobPlugin - ERROR - Impossible to load plugin declared in entrypoint PeachExporter = PeachExporter.PeachExporterPlugin:PeachExporterPlugin : bitarray>=0.4
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/site-packages/netzob/Common/Plugins/NetzobPlugin.py", line 178, in loadPlugins
plugin_class = entrypoint.load()
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2107, in load
if require: self.require(env, installer)
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2120, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 576, in resolve
raise DistributionNotFound(req)
DistributionNotFound: bitarray>=0.4
[MainThread]2014-01-02 22:20:17,579 - NetzobPlugin - ERROR - Impossible to load plugin declared in entrypoint WiresharkExporter = WiresharkExporter.WiresharkExporterPlugin:WiresharkExporterPlugin : bitarray>=0.4
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/site-packages/netzob/Common/Plugins/NetzobPlugin.py", line 178, in loadPlugins
plugin_class = entrypoint.load()
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2107, in load
if require: self.require(env, installer)
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2120, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 576, in resolve
raise DistributionNotFound(req)
DistributionNotFound: bitarray>=0.4
[MainThread]2014-01-02 22:20:17,588 - NetzobPlugin - ERROR - Impossible to load plugin declared in entrypoint XMLImporter = XMLImporter.XMLImporterPlugin:XMLImporterPlugin : bitarray>=0.4
Traceback (most recent call last):
File "/usr/pkg/lib/python2.7/site-packages/netzob/Common/Plugins/NetzobPlugin.py", line 178, in loadPlugins
plugin_class = entrypoint.load()
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2107, in load
if require: self.require(env, installer)
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 2120, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "/usr/pkg/lib/python2.7/site-packages/pkg_resources.py", line 576, in resolve
raise DistributionNotFound(req)
DistributionNotFound: bitarray>=0.4
2014-01-02 21:23:02 +00:00
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
.include "../../x11/gtk3/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxslt/buildlink3.mk"
|
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|