1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

New port: security/py-maec

A Python library for parsing, manipulating, and generating MAEC content

WWW: https://github.com/MAECProject/python-maec
This commit is contained in:
Antoine Brodin 2016-10-23 09:21:53 +00:00
parent 0f5fe930cf
commit 6eca441447
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=424505
4 changed files with 48 additions and 1 deletions

View File

@ -268,6 +268,7 @@
SUBDIR += jbrofuzz
SUBDIR += john
SUBDIR += kc
SUBDIR += kdbx-viewer
SUBDIR += kedpm
SUBDIR += keepass
SUBDIR += keepassx
@ -277,7 +278,6 @@
SUBDIR += keychain
SUBDIR += keynote
SUBDIR += keyprint
SUBDIR += kdbx-viewer
SUBDIR += kgpg-kde4
SUBDIR += knock
SUBDIR += knocker
@ -868,6 +868,7 @@
SUBDIR += py-keystone
SUBDIR += py-libnacl
SUBDIR += py-m2crypto
SUBDIR += py-maec
SUBDIR += py-mcrypt
SUBDIR += py-mhash
SUBDIR += py-oauth2client

40
security/py-maec/Makefile Normal file
View File

@ -0,0 +1,40 @@
# Created by: Antoine Brodin <antoine@FreeBSD.org>
# $FreeBSD$
PORTNAME= maec
PORTVERSION= 4.1.0.12
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= antoine@FreeBSD.org
COMMENT= Python library for parsing, manipulating, and generating MAEC content
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=2.2.3:devel/py-lxml \
${PYTHON_PKGNAMEPREFIX}cybox>=2.1.0.11:security/py-cybox
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose
NO_ARCH= yes
USES= python:2.7
USE_PYTHON= distutils autoplist
PORTDOCS= README.rst
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
do-test:
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER})
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1476607811
SHA256 (maec-4.1.0.12.tar.gz) = be46cfd50b7b14701e90c52ceac0e62c0d3e83c3929736b51fba1c5c0bf6d1ac
SIZE (maec-4.1.0.12.tar.gz) = 153351

View File

@ -0,0 +1,3 @@
A Python library for parsing, manipulating, and generating MAEC content
WWW: https://github.com/MAECProject/python-maec