Index: head/security/Makefile =================================================================== --- head/security/Makefile +++ head/security/Makefile @@ -914,6 +914,7 @@ SUBDIR += py-backports.ssl_match_hostname SUBDIR += py-bcrypt SUBDIR += py-borg.localrole + SUBDIR += py-bro-pkg SUBDIR += py-btchip-python SUBDIR += py-cerealizer SUBDIR += py-certbot Index: head/security/py-bro-pkg/Makefile =================================================================== --- head/security/py-bro-pkg/Makefile +++ head/security/py-bro-pkg/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= bro-pkg +DISTVERSIONPREFIX= v +DISTVERSION= 1.4.2 +CATEGORIES= security python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= mshirk@daemon-security.com +COMMENT= Bro NSM package manager + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}GitPython>=2.1.8:devel/py-gitpython@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}btest>=0:devel/py-btest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}configparser>=0:devel/py-configparser@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}semantic_version>=0:devel/py-semantic_version@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist concurrent + +USE_GITHUB= yes +GH_ACCOUNT= bro +GH_PROJECT= package-manager + +NO_ARCH= yes + +.include Index: head/security/py-bro-pkg/distinfo =================================================================== --- head/security/py-bro-pkg/distinfo +++ head/security/py-bro-pkg/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1538253976 +SHA256 (bro-package-manager-v1.4.2_GH0.tar.gz) = 25e9ed42066cece276023dbbde65eff02fd7e879127883b02a4ae3a6350b0d1d +SIZE (bro-package-manager-v1.4.2_GH0.tar.gz) = 87843 Index: head/security/py-bro-pkg/pkg-descr =================================================================== --- head/security/py-bro-pkg/pkg-descr +++ head/security/py-bro-pkg/pkg-descr @@ -0,0 +1,18 @@ +The Bro Package Manager makes it easy for Bro users to install +and manage third party scripts as well as plugins for Bro and +BroControl. The command-line tool is preconfigured scripts as +well as plugins for Bro and BroControl. The command-line tool +is preconfigured to download packages from the Bro package source, +a GitHub repository that has been setup such that any developer +can request their Bro package be included. See the README file +of that repository for information regarding the package submission +process. NOTE: It's left up to users to decide for themselves +via code review, GitHub comments/stars, or other metrics whether +any given package is trustworthy as there is no implied guarantees +that it's secure just because it's been accepted into the default +package source. See the package manager documentation for further +usage information, how-to guides, and walkthroughs. For offline +reading, it's also available in the doc/ directory of the +source code distribution. + +WWW: https://github.com/bro/package-manager/ Index: head/security/py-bro-pkg/pkg-message =================================================================== --- head/security/py-bro-pkg/pkg-message +++ head/security/py-bro-pkg/pkg-message @@ -0,0 +1,7 @@ +====================================================================== + +Run the following to configure bro-pkg: + +bro-pkg autoconfig + +======================================================================