svn commit: r383767 - in head/security: . py-stix
Antoine Brodin
antoine at FreeBSD.org
Fri Apr 10 22:25:09 UTC 2015
Author: antoine
Date: Fri Apr 10 22:25:06 2015
New Revision: 383767
URL: https://svnweb.freebsd.org/changeset/ports/383767
Log:
New port: security/py-stix
A Python library for parsing, manipulating, and generating STIX content
WWW: https://github.com/STIXProject/python-stix
Added:
head/security/py-stix/
head/security/py-stix/Makefile (contents, props changed)
head/security/py-stix/distinfo (contents, props changed)
head/security/py-stix/pkg-descr (contents, props changed)
Modified:
head/security/Makefile
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Fri Apr 10 21:14:40 2015 (r383766)
+++ head/security/Makefile Fri Apr 10 22:25:06 2015 (r383767)
@@ -834,6 +834,7 @@
SUBDIR += py-ssh
SUBDIR += py-sslstrip
SUBDIR += py-stem
+ SUBDIR += py-stix
SUBDIR += py-tlslite
SUBDIR += py-trustedpickle
SUBDIR += py-twistedConch
Added: head/security/py-stix/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-stix/Makefile Fri Apr 10 22:25:06 2015 (r383767)
@@ -0,0 +1,34 @@
+# Created by: Antoine Brodin <antoine at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= stix
+PORTVERSION= 1.1.1.4
+CATEGORIES= security python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= antoine at FreeBSD.org
+COMMENT= Python library for parsing, manipulating, and generating STIX content
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:${PORTSDIR}/devel/py-dateutil \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=3.1:${PORTSDIR}/devel/py-lxml \
+ ${PYTHON_PKGNAMEPREFIX}cybox>=2.1.0.9:${PORTSDIR}/security/py-cybox
+
+USES= python:2
+USE_PYTHON= distutils autoplist
+
+PORTDOCS= README.rst
+PORTEXAMPLES= *
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+post-install:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>
Added: head/security/py-stix/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-stix/distinfo Fri Apr 10 22:25:06 2015 (r383767)
@@ -0,0 +1,2 @@
+SHA256 (stix-1.1.1.4.tar.gz) = 62d95748a752db0febcc9f3c39e867d1fb3a9ca1ad93a6ebab4e31f0cde18ae4
+SIZE (stix-1.1.1.4.tar.gz) = 228202
Added: head/security/py-stix/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/py-stix/pkg-descr Fri Apr 10 22:25:06 2015 (r383767)
@@ -0,0 +1,3 @@
+A Python library for parsing, manipulating, and generating STIX content
+
+WWW: https://github.com/STIXProject/python-stix
More information about the svn-ports-all
mailing list