summaryrefslogtreecommitdiff
path: root/databases/py-kb
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2021-05-29 10:22:25 +0000
committerleot <leot@pkgsrc.org>2021-05-29 10:22:25 +0000
commit61214908a19bdc7b4934ffac730bb3bc1883aab3 (patch)
tree08bb1b09c85655883ef6573bfee8f424c56328e8 /databases/py-kb
parent90c2f36640b2cfb22dbde47bb13677622873811e (diff)
downloadpkgsrc-61214908a19bdc7b4934ffac730bb3bc1883aab3.tar.gz
py-kb: Import py38-kb-0.1.6 as databases/py-kb
kb is a text-oriented minimalist command line knowledge base manager. kb can be considered a quick note collection and access tool oriented toward software developers, penetration testers, hackers, students or whoever has to collect and organize notes in a clean way. Although kb is mainly targeted on text-based note collection, it supports non-text files as well (e.g., images, pdf, videos and others). The project was born from the frustration of trying to find a good way to quickly access my notes, procedures, cheatsheets and lists (e.g., payloads) but at the same time, keeping them organized. This is particularly useful for any kind of student. I use it in the context of penetration testing to organize pentesting procedures, cheatsheets, payloads, guides and notes. Packaged by Giuseppe Nebbione and shared via PR pkg/56193.
Diffstat (limited to 'databases/py-kb')
-rw-r--r--databases/py-kb/DESCR13
-rw-r--r--databases/py-kb/Makefile27
-rw-r--r--databases/py-kb/PLIST103
-rw-r--r--databases/py-kb/distinfo6
4 files changed, 149 insertions, 0 deletions
diff --git a/databases/py-kb/DESCR b/databases/py-kb/DESCR
new file mode 100644
index 00000000000..ebca8999d35
--- /dev/null
+++ b/databases/py-kb/DESCR
@@ -0,0 +1,13 @@
+kb is a text-oriented minimalist command line knowledge base manager.
+kb can be considered a quick note collection and access tool oriented
+toward software developers, penetration testers, hackers, students
+or whoever has to collect and organize notes in a clean way. Although
+kb is mainly targeted on text-based note collection, it supports
+non-text files as well (e.g., images, pdf, videos and others).
+
+The project was born from the frustration of trying to find a good
+way to quickly access my notes, procedures, cheatsheets and lists
+(e.g., payloads) but at the same time, keeping them organized. This
+is particularly useful for any kind of student. I use it in the
+context of penetration testing to organize pentesting procedures,
+cheatsheets, payloads, guides and notes.
diff --git a/databases/py-kb/Makefile b/databases/py-kb/Makefile
new file mode 100644
index 00000000000..ce373527fca
--- /dev/null
+++ b/databases/py-kb/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2021/05/29 10:22:25 leot Exp $
+
+DISTNAME= kb-manager-0.1.6
+EGGNAME= ${DISTNAME:S/-manager//}
+PKGNAME= ${PYPKGPREFIX}-${EGGNAME}
+CATEGORIES= databases python
+MASTER_SITES= ${MASTER_SITE_PYPI:=k/kb-manager/}
+
+MAINTAINER= nebbionegiuseppe@gmail.com
+HOMEPAGE= https://github.com/gnebbia/kb/
+COMMENT= Minimalist command line knowledge base manager
+LICENSE= gnu-gpl-v3
+
+DEPENDS+= ${PYPKGPREFIX}-attrs-[0-9]*:../../devel/py-attrs
+DEPENDS+= ${PYPKGPREFIX}-colored-[0-9]*:../../textproc/py-colored
+DEPENDS+= ${PYPKGPREFIX}-gitpython-[0-9]*:../../devel/py-gitpython
+DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
+DEPENDS+= ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
+
+# Not for 2.7. 3.6 and 3.7 would need py-attr that is currently not packaged
+PYTHON_VERSIONS_INCOMPATIBLE= 27 36 37
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/py-kb/PLIST b/databases/py-kb/PLIST
new file mode 100644
index 00000000000..c3c1c26f507
--- /dev/null
+++ b/databases/py-kb/PLIST
@@ -0,0 +1,103 @@
+@comment $NetBSD: PLIST,v 1.1 2021/05/29 10:22:25 leot Exp $
+bin/kb
+${PYSITELIB}/kb/.coverage
+${PYSITELIB}/kb/__init__.py
+${PYSITELIB}/kb/__init__.pyc
+${PYSITELIB}/kb/__init__.pyo
+${PYSITELIB}/kb/__main__.py
+${PYSITELIB}/kb/__main__.pyc
+${PYSITELIB}/kb/__main__.pyo
+${PYSITELIB}/kb/cl_parser.py
+${PYSITELIB}/kb/cl_parser.pyc
+${PYSITELIB}/kb/cl_parser.pyo
+${PYSITELIB}/kb/commands/__init__.py
+${PYSITELIB}/kb/commands/__init__.pyc
+${PYSITELIB}/kb/commands/__init__.pyo
+${PYSITELIB}/kb/commands/add.py
+${PYSITELIB}/kb/commands/add.pyc
+${PYSITELIB}/kb/commands/add.pyo
+${PYSITELIB}/kb/commands/delete.py
+${PYSITELIB}/kb/commands/delete.pyc
+${PYSITELIB}/kb/commands/delete.pyo
+${PYSITELIB}/kb/commands/edit.py
+${PYSITELIB}/kb/commands/edit.pyc
+${PYSITELIB}/kb/commands/edit.pyo
+${PYSITELIB}/kb/commands/erase.py
+${PYSITELIB}/kb/commands/erase.pyc
+${PYSITELIB}/kb/commands/erase.pyo
+${PYSITELIB}/kb/commands/export.py
+${PYSITELIB}/kb/commands/export.pyc
+${PYSITELIB}/kb/commands/export.pyo
+${PYSITELIB}/kb/commands/grep.py
+${PYSITELIB}/kb/commands/grep.pyc
+${PYSITELIB}/kb/commands/grep.pyo
+${PYSITELIB}/kb/commands/ingest.py
+${PYSITELIB}/kb/commands/ingest.pyc
+${PYSITELIB}/kb/commands/ingest.pyo
+${PYSITELIB}/kb/commands/search.py
+${PYSITELIB}/kb/commands/search.pyc
+${PYSITELIB}/kb/commands/search.pyo
+${PYSITELIB}/kb/commands/sync.py
+${PYSITELIB}/kb/commands/sync.pyc
+${PYSITELIB}/kb/commands/sync.pyo
+${PYSITELIB}/kb/commands/template.py
+${PYSITELIB}/kb/commands/template.pyc
+${PYSITELIB}/kb/commands/template.pyo
+${PYSITELIB}/kb/commands/update.py
+${PYSITELIB}/kb/commands/update.pyc
+${PYSITELIB}/kb/commands/update.pyo
+${PYSITELIB}/kb/commands/view.py
+${PYSITELIB}/kb/commands/view.pyc
+${PYSITELIB}/kb/commands/view.pyo
+${PYSITELIB}/kb/config.py
+${PYSITELIB}/kb/config.pyc
+${PYSITELIB}/kb/config.pyo
+${PYSITELIB}/kb/db.py
+${PYSITELIB}/kb/db.pyc
+${PYSITELIB}/kb/db.pyo
+${PYSITELIB}/kb/entities/artifact.py
+${PYSITELIB}/kb/entities/artifact.pyc
+${PYSITELIB}/kb/entities/artifact.pyo
+${PYSITELIB}/kb/filesystem.py
+${PYSITELIB}/kb/filesystem.pyc
+${PYSITELIB}/kb/filesystem.pyo
+${PYSITELIB}/kb/history.py
+${PYSITELIB}/kb/history.pyc
+${PYSITELIB}/kb/history.pyo
+${PYSITELIB}/kb/initializer.py
+${PYSITELIB}/kb/initializer.pyc
+${PYSITELIB}/kb/initializer.pyo
+${PYSITELIB}/kb/main.py
+${PYSITELIB}/kb/main.pyc
+${PYSITELIB}/kb/main.pyo
+${PYSITELIB}/kb/opener.py
+${PYSITELIB}/kb/opener.pyc
+${PYSITELIB}/kb/opener.pyo
+${PYSITELIB}/kb/printer/__init__.py
+${PYSITELIB}/kb/printer/__init__.pyc
+${PYSITELIB}/kb/printer/__init__.pyo
+${PYSITELIB}/kb/printer/grep.py
+${PYSITELIB}/kb/printer/grep.pyc
+${PYSITELIB}/kb/printer/grep.pyo
+${PYSITELIB}/kb/printer/search.py
+${PYSITELIB}/kb/printer/search.pyc
+${PYSITELIB}/kb/printer/search.pyo
+${PYSITELIB}/kb/printer/style.py
+${PYSITELIB}/kb/printer/style.pyc
+${PYSITELIB}/kb/printer/style.pyo
+${PYSITELIB}/kb/printer/template.py
+${PYSITELIB}/kb/printer/template.pyc
+${PYSITELIB}/kb/printer/template.pyo
+${PYSITELIB}/kb/styler.py
+${PYSITELIB}/kb/styler.pyc
+${PYSITELIB}/kb/styler.pyo
+${PYSITELIB}/kb/viewer.py
+${PYSITELIB}/kb/viewer.pyc
+${PYSITELIB}/kb/viewer.pyo
+${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}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff --git a/databases/py-kb/distinfo b/databases/py-kb/distinfo
new file mode 100644
index 00000000000..b6834786ac3
--- /dev/null
+++ b/databases/py-kb/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/05/29 10:22:25 leot Exp $
+
+SHA1 (kb-manager-0.1.6.tar.gz) = 79bbec6549cee0bb735e786169a646f725052cd2
+RMD160 (kb-manager-0.1.6.tar.gz) = 307ae755993ca08007d08aa4f71d99d77b9fe081
+SHA512 (kb-manager-0.1.6.tar.gz) = 543d1377675f0bb170b3bc4a95b10dd2edb74301215f9be38100449d833ad97cb867ff8c82991d07bfafc977113b70ee1c1ec3ac34fe8fdf0f2e8261862d2098
+Size (kb-manager-0.1.6.tar.gz) = 86846 bytes