Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2018 13:51:40 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r481633 - in head/security: . py-bro-pkg
Message-ID:  <201810091351.w99Dpe3Q096191@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Tue Oct  9 13:51:40 2018
New Revision: 481633
URL: https://svnweb.freebsd.org/changeset/ports/481633

Log:
  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

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

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Tue Oct  9 13:40:12 2018	(r481632)
+++ head/security/Makefile	Tue Oct  9 13:51:40 2018	(r481633)
@@ -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

Added: head/security/py-bro-pkg/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-bro-pkg/Makefile	Tue Oct  9 13:51:40 2018	(r481633)
@@ -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>

Added: head/security/py-bro-pkg/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-bro-pkg/distinfo	Tue Oct  9 13:51:40 2018	(r481633)
@@ -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

Added: head/security/py-bro-pkg/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-bro-pkg/pkg-descr	Tue Oct  9 13:51:40 2018	(r481633)
@@ -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/

Added: head/security/py-bro-pkg/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-bro-pkg/pkg-message	Tue Oct  9 13:51:40 2018	(r481633)
@@ -0,0 +1,7 @@
+======================================================================
+
+Run the following to configure bro-pkg:
+
+bro-pkg autoconfig
+
+======================================================================



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