sqlmap: bump to the current

This commit is contained in:
blshkv 2015-09-16 00:09:37 +08:00
parent f7b168d646
commit 1b84615458
4 changed files with 6 additions and 101 deletions

View file

@ -1,48 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit python-single-r1 git-2
DESCRIPTION="A tool that automates the process of detecting and exploiting SQL injection flaws"
HOMEPAGE="http://sqlmap.org"
EGIT_REPO_URI="https://github.com/sqlmapproject/sqlmap.git"
EGIT_COMMIT="515ba5fb314476fa216df66f17f9316ef2b570ea"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
QA_PREBUILT="
usr/share/${PN}/udf/mysql/linux/32/lib_mysqludf_sys.so
usr/share/${PN}/udf/mysql/linux/64/lib_mysqludf_sys.so
usr/share/${PN}/udf/postgresql/linux/32/8.2/lib_postgresqludf_sys.so
usr/share/${PN}/udf/postgresql/linux/32/8.3/lib_postgresqludf_sys.so
usr/share/${PN}/udf/postgresql/linux/32/8.4/lib_postgresqludf_sys.so
usr/share/${PN}/udf/postgresql/linux/32/9.0/lib_postgresqludf_sys.so
usr/share/${PN}/udf/postgresql/linux/32/9.1/lib_postgresqludf_sys.so
usr/share/${PN}/udf/postgresql/linux/64/8.2/lib_postgresqludf_sys.so
usr/share/${PN}/udf/postgresql/linux/64/8.3/lib_postgresqludf_sys.so
usr/share/${PN}/udf/postgresql/linux/64/8.4/lib_postgresqludf_sys.so
usr/share/${PN}/udf/postgresql/linux/64/9.0/lib_postgresqludf_sys.so"
src_install () {
# fix broken tarball
find ./ -name .git | xargs rm -rf
# Don't forget to disable the revision check since we removed the SVN files
sed -i -e 's/= getRevisionNumber()/= "Unknown revision"/' lib/core/settings.py
dodoc -r doc/*
rm -rf doc/
dodir /usr/share/${PN}/
cp -R * "${ED}"/usr/share/${PN}/
python_fix_shebang "${ED}"/usr/share/${PN}
dosym /usr/share/${PN}/sqlmap.py /usr/bin/${PN}
}

View file

@ -1,48 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit python-single-r1 git-2
DESCRIPTION="A tool that automates the process of detecting and exploiting SQL injection flaws"
HOMEPAGE="http://sqlmap.org"
EGIT_REPO_URI="https://github.com/sqlmapproject/sqlmap.git"
EGIT_COMMIT="75ed5f767c2484f53833a225171331465391f714"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
QA_PREBUILT="
usr/share/${PN}/udf/mysql/linux/32/lib_mysqludf_sys.so
usr/share/${PN}/udf/mysql/linux/64/lib_mysqludf_sys.so
usr/share/${PN}/udf/postgresql/linux/32/8.2/lib_postgresqludf_sys.so
usr/share/${PN}/udf/postgresql/linux/32/8.3/lib_postgresqludf_sys.so
usr/share/${PN}/udf/postgresql/linux/32/8.4/lib_postgresqludf_sys.so
usr/share/${PN}/udf/postgresql/linux/32/9.0/lib_postgresqludf_sys.so
usr/share/${PN}/udf/postgresql/linux/32/9.1/lib_postgresqludf_sys.so
usr/share/${PN}/udf/postgresql/linux/64/8.2/lib_postgresqludf_sys.so
usr/share/${PN}/udf/postgresql/linux/64/8.3/lib_postgresqludf_sys.so
usr/share/${PN}/udf/postgresql/linux/64/8.4/lib_postgresqludf_sys.so
usr/share/${PN}/udf/postgresql/linux/64/9.0/lib_postgresqludf_sys.so"
src_install () {
# fix broken tarball
find ./ -name .git | xargs rm -rf
# Don't forget to disable the revision check since we removed the SVN files
sed -i -e 's/= getRevisionNumber()/= "Unknown revision"/' lib/core/settings.py
dodoc -r doc/*
rm -rf doc/
dodir /usr/share/${PN}/
cp -R * "${ED}"/usr/share/${PN}/
python_fix_shebang "${ED}"/usr/share/${PN}
dosym /usr/share/${PN}/sqlmap.py /usr/bin/${PN}
}

View file

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# $Id$
EAPI=5
@ -10,7 +10,8 @@ inherit python-single-r1 git-2
DESCRIPTION="A tool that automates the process of detecting and exploiting SQL injection flaws"
HOMEPAGE="http://sqlmap.org"
EGIT_REPO_URI="https://github.com/sqlmapproject/sqlmap.git"
EGIT_COMMIT="6cc092b926eaafb1a8439ebe680960120ce9aca3"
EGIT_COMMIT="c59ead36cee6f792f3fe6b5d2bcc4729eba3dffb"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

View file

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# $Id$
EAPI=5