mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 06:10:56 +02:00
gitgraber: new tool (closes: https://github.com/pentoo/pentoo-overlay/pull/572)
This commit is contained in:
parent
9a23f1b5c4
commit
a5bf8e3177
8 changed files with 107 additions and 0 deletions
1
dev-python/python-crontab/Manifest
Normal file
1
dev-python/python-crontab/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST python-crontab-20191023.tar.bz2 39197 BLAKE2B cf354714c2ee20f69c1d336e21555b6924f5d5501f81c6a7ce4d86faa03b0ee32bf8b033a7dedbe9b759a2eb590586315c1804e1222fb5a09ebb6c4162ae597a SHA512 8df8e2c0671b9ca2daf98ed09624242d10760e62e8cd5c7991c4a1730c129c4fa19bee14a3cf7cc1a3fe2cf53b435ad9da31f4db0f1320ee3a57a26b4399d6ab
|
||||
8
dev-python/python-crontab/metadata.xml
Normal file
8
dev-python/python-crontab/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
25
dev-python/python-crontab/python-crontab-20191023.ebuild
Normal file
25
dev-python/python-crontab/python-crontab-20191023.ebuild
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Crontab module for accessing system crontabs"
|
||||
HOMEPAGE="https://gitlab.com/doctormo/python-crontab"
|
||||
|
||||
if [[ ${PV} = *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.com/doctormo/python-crontab.git"
|
||||
else
|
||||
HASH_COMMIT="ba23056ddf1a00ecfd14b0a31c2e0cdad132f8d0"
|
||||
SRC_URI="https://gitlab.com/doctormo/python-crontab/repository/${HASH_COMMIT}/archive.tar.bz2 -> ${P}.tar.bz2"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
S="${WORKDIR}/${PN}-${HASH_COMMIT}-${HASH_COMMIT}"
|
||||
1
net-analyzer/gitgraber/Manifest
Normal file
1
net-analyzer/gitgraber/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST gitgraber-20191002.tar.gz 30289 BLAKE2B 4f6bd0d8725d19c59e55cd8895bd2954bb2822a29c676f5b72c8796c5a99102a198e66c845d2102c5964dc70d03d497a95e2e33fd1ba0c3de76edaa4ff251c8f SHA512 f08050779a5fb3733d104932b3c85b4f5237e70d5a7ecfdbb35bcf58f9bd266fa929d27b97419d80a2faffc0e83f6503057f53257fd484747e52e7a460e8e4db
|
||||
60
net-analyzer/gitgraber/gitgraber-20191002.ebuild
Normal file
60
net-analyzer/gitgraber/gitgraber-20191002.ebuild
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit eutils python-single-r1
|
||||
|
||||
DESCRIPTION="Tool to scan for sensitive information within public GitHub repositories"
|
||||
HOMEPAGE="https://github.com/hisxo/gitGraber"
|
||||
|
||||
if [[ ${PV} = *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/hisxo/gitGraber.git"
|
||||
else
|
||||
HASH_COMMIT="4bef12f17077c3bc328a25d668326c8388e03e14"
|
||||
|
||||
SRC_URI="https://github.com/hisxo/gitGraber/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/argcomplete-1.10.0[${PYTHON_MULTI_USEDEP}]
|
||||
>=dev-python/python-crontab-2.3.9[${PYTHON_MULTI_USEDEP}]
|
||||
>=dev-python/requests-2.18.4[${PYTHON_MULTI_USEDEP}]
|
||||
>=dev-python/termcolor-1.1.0[${PYTHON_MULTI_USEDEP}]
|
||||
')"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
MY_PN="gitGraber"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${HASH_COMMIT}"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang "${S}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN}
|
||||
doins -r *.py wordlists rawGitUrls.txt
|
||||
|
||||
python_optimize "${D}/usr/share/${PN}"
|
||||
|
||||
# s3scanner needs to be run from its installation directory.
|
||||
make_wrapper $PN \
|
||||
"${EPYTHON} /usr/share/${PN}/${MY_PN}.py" \
|
||||
"/usr/share/${PN}"
|
||||
|
||||
dodoc README.md
|
||||
}
|
||||
8
net-analyzer/gitgraber/metadata.xml
Normal file
8
net-analyzer/gitgraber/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
|
@ -510,3 +510,6 @@ dev-python/IP2Location
|
|||
|
||||
# required by net-analyzer/cipherscan
|
||||
~dev-python/tlslite-ng-0.7.5
|
||||
|
||||
# required by net-analyzer/gitgraber
|
||||
~dev-python/python-crontab-20191023
|
||||
|
|
|
|||
|
|
@ -139,3 +139,4 @@ net-analyzer/zmap
|
|||
~net-analyzer/enteletaor-1.1.1
|
||||
~net-analyzer/takeover-20200212
|
||||
~net-analyzer/s3scanner-1.0.0_p20190928
|
||||
~net-analyzer/gitgraber-20191002
|
||||
|
|
|
|||
Loading…
Reference in a new issue