diff options
author | miwi <miwi@FreeBSD.org> | 2013-02-18 12:45:53 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2013-02-18 12:45:53 +0800 |
commit | 1eb3161a581b14c66c795eb1c68d7094f8985b6d (patch) | |
tree | 24ae38e5f932ea9c6f9bf7f6933462bee2fd345a /security | |
parent | 8d4b81e53f9bc5ca82d9451f01f318ba5cefb0b9 (diff) | |
download | freebsd-ports-gnome-1eb3161a581b14c66c795eb1c68d7094f8985b6d.tar.gz freebsd-ports-gnome-1eb3161a581b14c66c795eb1c68d7094f8985b6d.tar.zst freebsd-ports-gnome-1eb3161a581b14c66c795eb1c68d7094f8985b6d.zip |
Editor for yara rules
WWW: http://code.google.com/p/yara-editor/
PR: ports/175170
Submitted by: antoine@FreeBSD.org
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/py-yara-editor/Makefile | 45 | ||||
-rw-r--r-- | security/py-yara-editor/distinfo | 2 | ||||
-rw-r--r-- | security/py-yara-editor/pkg-descr | 3 | ||||
-rw-r--r-- | security/py-yara-editor/pkg-plist | 39 |
5 files changed, 90 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 5286fb977e12..d3f1a5ba9ec9 100644 --- a/security/Makefile +++ b/security/Makefile @@ -778,6 +778,7 @@ SUBDIR += py-volatility SUBDIR += py-xmlsec SUBDIR += py-yara + SUBDIR += py-yara-editor SUBDIR += py-zope.app.authentication SUBDIR += py-zope.app.localpermission SUBDIR += py-zope.app.principalannotation diff --git a/security/py-yara-editor/Makefile b/security/py-yara-editor/Makefile new file mode 100644 index 000000000000..bf257caf1e0c --- /dev/null +++ b/security/py-yara-editor/Makefile @@ -0,0 +1,45 @@ +# Created by: antoine@FreeBSD.org +# $FreeBSD$ + +PORTNAME= yara-editor +PORTVERSION= 0.1.5 +CATEGORIES= security python +MASTER_SITES= GOOGLE_CODE +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= antoine@FreeBSD.org +COMMENT= Editor for yara rules + +LICENSE= GPLv3 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-core>=0:${PORTSDIR}/devel/py-qt4-core \ + ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-gui \ + ${PYTHON_PKGNAMEPREFIX}yara>=0:${PORTSDIR}/security/py-yara + +USE_PYTHON= yes +USE_PYDISTUTILS=yes + +OPTIONS_DEFINE= DOCS + +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +PORTDOCS= README + +MANLANG= "" fr +MAN8= yara-editor.8 + +post-patch: + ${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \ + ${WRKSRC}/bin/yara-editor + ${REINPLACE_CMD} -e '/config_dir/d' \ + -e '/en\/man8/d' \ + -e "/'man8'/s/fr/en/" ${WRKSRC}/setup.py + +.include <bsd.port.options.mk> + +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/security/py-yara-editor/distinfo b/security/py-yara-editor/distinfo new file mode 100644 index 000000000000..c814c2cd230b --- /dev/null +++ b/security/py-yara-editor/distinfo @@ -0,0 +1,2 @@ +SHA256 (yara-editor-0.1.5.tar.gz) = 24b1ec2e05661db3eee7c27805b0627b1b8aa31e5b1cd75ab5579872fb35ad86 +SIZE (yara-editor-0.1.5.tar.gz) = 103081 diff --git a/security/py-yara-editor/pkg-descr b/security/py-yara-editor/pkg-descr new file mode 100644 index 000000000000..463ceabc282b --- /dev/null +++ b/security/py-yara-editor/pkg-descr @@ -0,0 +1,3 @@ +Editor for yara rules + +WWW: http://code.google.com/p/yara-editor/ diff --git a/security/py-yara-editor/pkg-plist b/security/py-yara-editor/pkg-plist new file mode 100644 index 000000000000..e923d99aef38 --- /dev/null +++ b/security/py-yara-editor/pkg-plist @@ -0,0 +1,39 @@ +bin/yara-editor +%%PYTHON_SITELIBDIR%%/yaraeditor/__init__.py +%%PYTHON_SITELIBDIR%%/yaraeditor/__init__.pyc +%%PYTHON_SITELIBDIR%%/yaraeditor/__init__.pyo +%%PYTHON_SITELIBDIR%%/yaraeditor/constante.py +%%PYTHON_SITELIBDIR%%/yaraeditor/constante.pyc +%%PYTHON_SITELIBDIR%%/yaraeditor/constante.pyo +%%PYTHON_SITELIBDIR%%/yaraeditor/core/__init__.py +%%PYTHON_SITELIBDIR%%/yaraeditor/core/__init__.pyc +%%PYTHON_SITELIBDIR%%/yaraeditor/core/__init__.pyo +%%PYTHON_SITELIBDIR%%/yaraeditor/core/codeeditor.py +%%PYTHON_SITELIBDIR%%/yaraeditor/core/codeeditor.pyc +%%PYTHON_SITELIBDIR%%/yaraeditor/core/codeeditor.pyo +%%PYTHON_SITELIBDIR%%/yaraeditor/core/controlleur.py +%%PYTHON_SITELIBDIR%%/yaraeditor/core/controlleur.pyc +%%PYTHON_SITELIBDIR%%/yaraeditor/core/controlleur.pyo +%%PYTHON_SITELIBDIR%%/yaraeditor/core/highlighter.py +%%PYTHON_SITELIBDIR%%/yaraeditor/core/highlighter.pyc +%%PYTHON_SITELIBDIR%%/yaraeditor/core/highlighter.pyo +%%PYTHON_SITELIBDIR%%/yaraeditor/core/ytreewidget.py +%%PYTHON_SITELIBDIR%%/yaraeditor/core/ytreewidget.pyc +%%PYTHON_SITELIBDIR%%/yaraeditor/core/ytreewidget.pyo +%%PYTHON_SITELIBDIR%%/yaraeditor/ui/__init__.py +%%PYTHON_SITELIBDIR%%/yaraeditor/ui/__init__.pyc +%%PYTHON_SITELIBDIR%%/yaraeditor/ui/__init__.pyo +%%PYTHON_SITELIBDIR%%/yaraeditor/ui/rules_generator.py +%%PYTHON_SITELIBDIR%%/yaraeditor/ui/rules_generator.pyc +%%PYTHON_SITELIBDIR%%/yaraeditor/ui/rules_generator.pyo +%%PYTHON_SITELIBDIR%%/yaraeditor/ui/yaraeditor.py +%%PYTHON_SITELIBDIR%%/yaraeditor/ui/yaraeditor.pyc +%%PYTHON_SITELIBDIR%%/yaraeditor/ui/yaraeditor.pyo +%%PYTHON_SITELIBDIR%%/yaraeditor/ui/yaraeditor_rc.py +%%PYTHON_SITELIBDIR%%/yaraeditor/ui/yaraeditor_rc.pyc +%%PYTHON_SITELIBDIR%%/yaraeditor/ui/yaraeditor_rc.pyo +@dirrmtry man/fr/man8 +@dirrmtry man/fr +@dirrmtry %%PYTHON_SITELIBDIR%%/yaraeditor/ui +@dirrmtry %%PYTHON_SITELIBDIR%%/yaraeditor/core +@dirrmtry %%PYTHON_SITELIBDIR%%/yaraeditor |