pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

+py-bandit in pkgsrc-wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Fri Nov 27 23:50:33 2015 +0100
Changeset:	d8c5e28c0b1f868ea977d883a8fc8c6dae4e012e

Added Files:
	py-bandit/DESCR
	py-bandit/Makefile
	py-bandit/PLIST
	py-bandit/distinfo

Log Message:
+py-bandit in pkgsrc-wip

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d8c5e28c0b1f868ea977d883a8fc8c6dae4e012e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-bandit/DESCR    |   4 ++
 py-bandit/Makefile |  29 +++++++++++
 py-bandit/PLIST    | 145 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 py-bandit/distinfo |   6 +++
 4 files changed, 184 insertions(+)

diffs:
diff --git a/py-bandit/DESCR b/py-bandit/DESCR
new file mode 100644
index 0000000..5e5aa83
--- /dev/null
+++ b/py-bandit/DESCR
@@ -0,0 +1,4 @@
+Bandit is a tool designed to find common security issues in Python code.
+To do this Bandit processes each file, builds an AST from it, and runs
+appropriate plugins against the AST nodes. Once Bandit has finished
+scanning all the files it generates a report
diff --git a/py-bandit/Makefile b/py-bandit/Makefile
new file mode 100644
index 0000000..a6dac18
--- /dev/null
+++ b/py-bandit/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD$
+
+DISTNAME=	bandit-0.16.0
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	security python
+MASTER_SITES=	${MASTER_SITE_PYPI:=b/bandit/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://wiki.openstack.org/wiki/Security/Projects/Bandit
+COMMENT=	Security oriented static analyser for python code
+LICENSE=	apache-2.0
+
+DEPENDS+=       ${PYPKGPREFIX}-pbr>=1.3.0:../../devel/py-pbr
+DEPENDS+=       ${PYPKGPREFIX}-six>=1.10.0:../../lang/py-six
+DEPENDS+=       ${PYPKGPREFIX}-yaml>=3.1.0:../../textproc/py-yaml
+DEPENDS+=       ${PYPKGPREFIX}-appdirs>=1.4.0:../../wip/py-appdirs
+DEPENDS+=       ${PYPKGPREFIX}-stevedore>=1.7.0:../../wip/py-stevedore
+
+WRKSRC=		${WRKDIR}/bandit-0.16.0
+
+USE_LANGUAGES=	# none
+
+USE_LANGUAGES=	c
+
+#EGDIR=			${PREFIX}/share/bandit/wordlist
+#CONF_FILES=		${PKG_SYSCONFDIR}/bandit.yaml
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-bandit/PLIST b/py-bandit/PLIST
new file mode 100644
index 0000000..83271b5
--- /dev/null
+++ b/py-bandit/PLIST
@@ -0,0 +1,145 @@
+@comment $NetBSD$
+bin/bandit
+etc/bandit/bandit.yaml
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/pbr.json
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/bandit/__init__.py
+${PYSITELIB}/bandit/__init__.pyc
+${PYSITELIB}/bandit/__init__.pyo
+${PYSITELIB}/bandit/bandit.py
+${PYSITELIB}/bandit/bandit.pyc
+${PYSITELIB}/bandit/bandit.pyo
+${PYSITELIB}/bandit/config/bandit.yaml
+${PYSITELIB}/bandit/core/__init__.py
+${PYSITELIB}/bandit/core/__init__.pyc
+${PYSITELIB}/bandit/core/__init__.pyo
+${PYSITELIB}/bandit/core/config.py
+${PYSITELIB}/bandit/core/config.pyc
+${PYSITELIB}/bandit/core/config.pyo
+${PYSITELIB}/bandit/core/constants.py
+${PYSITELIB}/bandit/core/constants.pyc
+${PYSITELIB}/bandit/core/constants.pyo
+${PYSITELIB}/bandit/core/context.py
+${PYSITELIB}/bandit/core/context.pyc
+${PYSITELIB}/bandit/core/context.pyo
+${PYSITELIB}/bandit/core/extension_loader.py
+${PYSITELIB}/bandit/core/extension_loader.pyc
+${PYSITELIB}/bandit/core/extension_loader.pyo
+${PYSITELIB}/bandit/core/issue.py
+${PYSITELIB}/bandit/core/issue.pyc
+${PYSITELIB}/bandit/core/issue.pyo
+${PYSITELIB}/bandit/core/manager.py
+${PYSITELIB}/bandit/core/manager.pyc
+${PYSITELIB}/bandit/core/manager.pyo
+${PYSITELIB}/bandit/core/meta_ast.py
+${PYSITELIB}/bandit/core/meta_ast.pyc
+${PYSITELIB}/bandit/core/meta_ast.pyo
+${PYSITELIB}/bandit/core/metrics.py
+${PYSITELIB}/bandit/core/metrics.pyc
+${PYSITELIB}/bandit/core/metrics.pyo
+${PYSITELIB}/bandit/core/node_visitor.py
+${PYSITELIB}/bandit/core/node_visitor.pyc
+${PYSITELIB}/bandit/core/node_visitor.pyo
+${PYSITELIB}/bandit/core/test_properties.py
+${PYSITELIB}/bandit/core/test_properties.pyc
+${PYSITELIB}/bandit/core/test_properties.pyo
+${PYSITELIB}/bandit/core/test_set.py
+${PYSITELIB}/bandit/core/test_set.pyc
+${PYSITELIB}/bandit/core/test_set.pyo
+${PYSITELIB}/bandit/core/tester.py
+${PYSITELIB}/bandit/core/tester.pyc
+${PYSITELIB}/bandit/core/tester.pyo
+${PYSITELIB}/bandit/core/utils.py
+${PYSITELIB}/bandit/core/utils.pyc
+${PYSITELIB}/bandit/core/utils.pyo
+${PYSITELIB}/bandit/formatters/__init__.py
+${PYSITELIB}/bandit/formatters/__init__.pyc
+${PYSITELIB}/bandit/formatters/__init__.pyo
+${PYSITELIB}/bandit/formatters/csv.py
+${PYSITELIB}/bandit/formatters/csv.pyc
+${PYSITELIB}/bandit/formatters/csv.pyo
+${PYSITELIB}/bandit/formatters/html.py
+${PYSITELIB}/bandit/formatters/html.pyc
+${PYSITELIB}/bandit/formatters/html.pyo
+${PYSITELIB}/bandit/formatters/json.py
+${PYSITELIB}/bandit/formatters/json.pyc
+${PYSITELIB}/bandit/formatters/json.pyo
+${PYSITELIB}/bandit/formatters/text.py
+${PYSITELIB}/bandit/formatters/text.pyc
+${PYSITELIB}/bandit/formatters/text.pyo
+${PYSITELIB}/bandit/formatters/xml.py
+${PYSITELIB}/bandit/formatters/xml.pyc
+${PYSITELIB}/bandit/formatters/xml.pyo
+${PYSITELIB}/bandit/plugins/__init__.py
+${PYSITELIB}/bandit/plugins/__init__.pyc
+${PYSITELIB}/bandit/plugins/__init__.pyo
+${PYSITELIB}/bandit/plugins/app_debug.py
+${PYSITELIB}/bandit/plugins/app_debug.pyc
+${PYSITELIB}/bandit/plugins/app_debug.pyo
+${PYSITELIB}/bandit/plugins/asserts.py
+${PYSITELIB}/bandit/plugins/asserts.pyc
+${PYSITELIB}/bandit/plugins/asserts.pyo
+${PYSITELIB}/bandit/plugins/blacklist_calls.py
+${PYSITELIB}/bandit/plugins/blacklist_calls.pyc
+${PYSITELIB}/bandit/plugins/blacklist_calls.pyo
+${PYSITELIB}/bandit/plugins/blacklist_imports.py
+${PYSITELIB}/bandit/plugins/blacklist_imports.pyc
+${PYSITELIB}/bandit/plugins/blacklist_imports.pyo
+${PYSITELIB}/bandit/plugins/crypto_request_no_cert_validation.py
+${PYSITELIB}/bandit/plugins/crypto_request_no_cert_validation.pyc
+${PYSITELIB}/bandit/plugins/crypto_request_no_cert_validation.pyo
+${PYSITELIB}/bandit/plugins/exec.py
+${PYSITELIB}/bandit/plugins/exec.pyc
+${PYSITELIB}/bandit/plugins/exec.pyo
+${PYSITELIB}/bandit/plugins/exec_as_root.py
+${PYSITELIB}/bandit/plugins/exec_as_root.pyc
+${PYSITELIB}/bandit/plugins/exec_as_root.pyo
+${PYSITELIB}/bandit/plugins/general_bad_file_permissions.py
+${PYSITELIB}/bandit/plugins/general_bad_file_permissions.pyc
+${PYSITELIB}/bandit/plugins/general_bad_file_permissions.pyo
+${PYSITELIB}/bandit/plugins/general_bind_all_interfaces.py
+${PYSITELIB}/bandit/plugins/general_bind_all_interfaces.pyc
+${PYSITELIB}/bandit/plugins/general_bind_all_interfaces.pyo
+${PYSITELIB}/bandit/plugins/general_hardcoded_password.py
+${PYSITELIB}/bandit/plugins/general_hardcoded_password.pyc
+${PYSITELIB}/bandit/plugins/general_hardcoded_password.pyo
+${PYSITELIB}/bandit/plugins/general_hardcoded_tmp.py
+${PYSITELIB}/bandit/plugins/general_hardcoded_tmp.pyc
+${PYSITELIB}/bandit/plugins/general_hardcoded_tmp.pyo
+${PYSITELIB}/bandit/plugins/injection_paramiko.py
+${PYSITELIB}/bandit/plugins/injection_paramiko.pyc
+${PYSITELIB}/bandit/plugins/injection_paramiko.pyo
+${PYSITELIB}/bandit/plugins/injection_shell.py
+${PYSITELIB}/bandit/plugins/injection_shell.pyc
+${PYSITELIB}/bandit/plugins/injection_shell.pyo
+${PYSITELIB}/bandit/plugins/injection_sql.py
+${PYSITELIB}/bandit/plugins/injection_sql.pyc
+${PYSITELIB}/bandit/plugins/injection_sql.pyo
+${PYSITELIB}/bandit/plugins/injection_wildcard.py
+${PYSITELIB}/bandit/plugins/injection_wildcard.pyc
+${PYSITELIB}/bandit/plugins/injection_wildcard.pyo
+${PYSITELIB}/bandit/plugins/insecure_ssl_tls.py
+${PYSITELIB}/bandit/plugins/insecure_ssl_tls.pyc
+${PYSITELIB}/bandit/plugins/insecure_ssl_tls.pyo
+${PYSITELIB}/bandit/plugins/jinja2_templates.py
+${PYSITELIB}/bandit/plugins/jinja2_templates.pyc
+${PYSITELIB}/bandit/plugins/jinja2_templates.pyo
+${PYSITELIB}/bandit/plugins/mako_templates.py
+${PYSITELIB}/bandit/plugins/mako_templates.pyc
+${PYSITELIB}/bandit/plugins/mako_templates.pyo
+${PYSITELIB}/bandit/plugins/secret_config_option.py
+${PYSITELIB}/bandit/plugins/secret_config_option.pyc
+${PYSITELIB}/bandit/plugins/secret_config_option.pyo
+${PYSITELIB}/bandit/plugins/try_except_pass.py
+${PYSITELIB}/bandit/plugins/try_except_pass.pyc
+${PYSITELIB}/bandit/plugins/try_except_pass.pyo
+${PYSITELIB}/bandit/plugins/weak_cryptographic_key.py
+${PYSITELIB}/bandit/plugins/weak_cryptographic_key.pyc
+${PYSITELIB}/bandit/plugins/weak_cryptographic_key.pyo
+share/bandit/wordlist/default-passwords
diff --git a/py-bandit/distinfo b/py-bandit/distinfo
new file mode 100644
index 0000000..3a71e62
--- /dev/null
+++ b/py-bandit/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (bandit-0.16.0.tar.gz) = d0c61f2d7abc33698a91ebe7ba1c29d675c1be37
+RMD160 (bandit-0.16.0.tar.gz) = 5528d62744a9e0e6c1c774ac75a82f0119303f1f
+SHA512 (bandit-0.16.0.tar.gz) = 2aa3351c60736a0dcf910af1912380ee31b355d1d9b37f3880a9a9ccc5d4efaa5d0b6ac2f4763953cabce4627c19a60d10f4bf41ebce8d0b75bf543ad00dc4b0
+Size (bandit-0.16.0.tar.gz) = 112290 bytes


Home | Main Index | Thread Index | Old Index