New port: security/py-bro-pkg: Bro NSM package manager

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/

PR:		231739
Submitted by:	Shirkdog <mshirk@daemon-security.com>
Reviewed by:	Nathan <ndowens@yahoo.com>
Approved by:	krion (mentor)
Differential Revision:	https://reviews.freebsd.org/D17358
This commit is contained in:
Mateusz Piotrowski 2018-10-09 13:51:40 +00:00
parent dd8ab9b32d
commit d8251c38c3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=481633
5 changed files with 58 additions and 0 deletions

View File

@ -914,6 +914,7 @@
SUBDIR += py-backports.ssl_match_hostname SUBDIR += py-backports.ssl_match_hostname
SUBDIR += py-bcrypt SUBDIR += py-bcrypt
SUBDIR += py-borg.localrole SUBDIR += py-borg.localrole
SUBDIR += py-bro-pkg
SUBDIR += py-btchip-python SUBDIR += py-btchip-python
SUBDIR += py-cerealizer SUBDIR += py-cerealizer
SUBDIR += py-certbot SUBDIR += py-certbot

View File

@ -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 <bsd.port.mk>

View File

@ -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

View File

@ -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/

View File

@ -0,0 +1,7 @@
======================================================================
Run the following to configure bro-pkg:
bro-pkg autoconfig
======================================================================