Skip to content
Permalink
Browse files

nosqlmap: bump

  • Loading branch information...
blshkv committed Aug 14, 2019
1 parent 7ff1c8a commit c0f4e7c819ca22c9acfee733c42363ee01c25964
@@ -1 +1 @@
DIST nosqlmap-0.5_p20190530.tar.gz 124815 BLAKE2B bd2ccc5d2ca461bbf04cd3f84c3c9319804558b4e23893c2841dc2c2e3349b29c7caa78aedcd6b06c1a78721df380193afd11ca7560f140f1391e46fbd0b7b15 SHA512 234117dc3cb458b4874f5479179524fb19869224065cf085e663ca69084305ba1e1ed2c626d8d0a7e607ed263dea899683e6867beef0935f0269ac1aafa2dfee
DIST nosqlmap-0.5_p20190812.tar.gz 125085 BLAKE2B 5556cce61684a8be42a8dab285c3e570942971b9b3755ec3e4c8caa31f887918f85ee386e15a8f174ffb7f4ffddbb8f8648f086c7fb3676ebf5b22a3611fb5d4 SHA512 45b94eaa17f130b38b54e2e49c90305cf47842b963b26c4216975e3796aa819df5270ec9df3e67540ee10880a9656a81f9c5fd9de8df43e30ede516f3f9390cf
@@ -10,23 +10,22 @@ inherit distutils-r1 eutils
DESCRIPTION="A tool to automate injection attacks and exploit weaknesses in NoSQL"
HOMEPAGE="https://github.com/codingo/NoSQLMap"

HASH_COMMIT="0a281b34070b69abcdc18057c4cd3952c9735086" # snapshot: 20190530
HASH_COMMIT="2387f6bed1f6c010593f10abcaddf977893c1c61"
SRC_URI="https://github.com/codingo/NoSQLMap/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT=0
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="
dev-python/couchdb-python[${PYTHON_USEDEP}]
dev-python/httplib2[${PYTHON_USEDEP}]
dev-python/ipcalc[${PYTHON_USEDEP}]
dev-python/pbkdf2[${PYTHON_USEDEP}]
dev-python/pymongo[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"

RDEPEND="${DEPEND}"
RDEPEND=">=dev-python/couchdb-python-1.0[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.9[${PYTHON_USEDEP}]
>=dev-python/ipcalc-1.1.3[${PYTHON_USEDEP}]
>=dev-python/pbkdf2-1.3[${PYTHON_USEDEP}]
>=dev-python/pymongo-2.7.2[${PYTHON_USEDEP}]
>=dev-python/requests-2.20.0[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"

S="${WORKDIR}/NoSQLMap-${HASH_COMMIT}"

@@ -35,8 +34,10 @@ pkg_setup() {
}

src_prepare() {
#https://github.com/codingo/NoSQLMap/pull/89
sed -e "/coding: utf-8/d" -i nosqlmap.py || die "sed filed!"
sed -i "s|\"NoSQLMap==0.7\", ||g" setup.py || die "sed filed!"

#relax deps
sed -i "s|==|>=|g" setup.py || die "sed filed!"

python_fix_shebang "${S}"
default

0 comments on commit c0f4e7c

Please sign in to comment.
You can’t perform that action at this time.