Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2016 09:21:53 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424505 - in head/security: . py-maec
Message-ID:  <201610230921.u9N9Lr2w098391@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Oct 23 09:21:53 2016
New Revision: 424505
URL: https://svnweb.freebsd.org/changeset/ports/424505

Log:
  New port: security/py-maec
  
  A Python library for parsing, manipulating, and generating MAEC content
  
  WWW: https://github.com/MAECProject/python-maec

Added:
  head/security/py-maec/
  head/security/py-maec/Makefile   (contents, props changed)
  head/security/py-maec/distinfo   (contents, props changed)
  head/security/py-maec/pkg-descr   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Sun Oct 23 09:21:08 2016	(r424504)
+++ head/security/Makefile	Sun Oct 23 09:21:53 2016	(r424505)
@@ -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

Added: head/security/py-maec/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-maec/Makefile	Sun Oct 23 09:21:53 2016	(r424505)
@@ -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>

Added: head/security/py-maec/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-maec/distinfo	Sun Oct 23 09:21:53 2016	(r424505)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1476607811
+SHA256 (maec-4.1.0.12.tar.gz) = be46cfd50b7b14701e90c52ceac0e62c0d3e83c3929736b51fba1c5c0bf6d1ac
+SIZE (maec-4.1.0.12.tar.gz) = 153351

Added: head/security/py-maec/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-maec/pkg-descr	Sun Oct 23 09:21:53 2016	(r424505)
@@ -0,0 +1,3 @@
+A Python library for parsing, manipulating, and generating MAEC content
+
+WWW: https://github.com/MAECProject/python-maec



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610230921.u9N9Lr2w098391>