mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
sqlmap: Fix exception due to missing svn files.
This commit is contained in:
parent
5b161982a9
commit
1650486ab3
2 changed files with 57 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
DIST sqlmap-0.8.tar.gz 3811238 RMD160 c6240bf1bebc506e7a92ad115d7c540f2efc6604 SHA1 bf19e6a035b52d6d709be1a82d5c2411fe58e665 SHA256 7e815be1c57fe444aa3aa1d74c19fa2f05fe4a28a56ab7185596070d893e360f
|
||||
DIST sqlmap-0.9.tar.gz 6216924 RMD160 5a6a737157cda4ffe9c6fd326d9fa39f0a0bfe59 SHA1 bea4b2bc2ad23cdd444fa7842becdee974ac3fb7 SHA256 9c76666d0555620329d949aca87571825adb8fcda9cd564e6410e1d2b6228c55
|
||||
EBUILD sqlmap-0.8.ebuild 788 RMD160 048129d0841dbfe1a8694a665d98f3e86110044c SHA1 fcfba38e4a86a62ad06d1d7c5712b1dc6d6d4e78 SHA256 7a943b0b0c49f61d78f8f20c03005aa5d7b91cc94c52cb3ef9fbcb516f2244a8
|
||||
EBUILD sqlmap-0.9-r1.ebuild 1824 RMD160 b533bbcf8029225e84ccc798d9106d697339bf75 SHA1 b2b89d1da8db3dbfd739e26533b17e36b45db97e SHA256 17b4e7022eb4b97ab8bba34b6ad884785e0adcfac5d5ae5430aa1775ab70c444
|
||||
EBUILD sqlmap-0.9.ebuild 1666 RMD160 4a7258e2854692621334dcf28846d07f15e087a6 SHA1 ce174511e7a16422eee0aeeaa962cf9eb42304d0 SHA256 b89ab2a86ec5b32ba10e67d97ad57888167628c02544eb490fdc230ff81b56ea
|
||||
|
|
|
|||
56
dev-db/sqlmap/sqlmap-0.9-r1.ebuild
Normal file
56
dev-db/sqlmap/sqlmap-0.9-r1.ebuild
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /root/portage/net-analyzer/sqlinject/sqlinject-1.1.ebuild,v 1.1.1.1 2006/03/21 14:30:26 grimmlin Exp $
|
||||
|
||||
EAPI=3
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="Python based fuzzer for multi protocols, and faultinject"
|
||||
HOMEPAGE="http://sqlmap.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
/usr/lib/${PN}/lib/contrib/upx/linux/upx
|
||||
/usr/lib/${PN}/udf/mysql/linux/32/lib_mysqludf_sys.so
|
||||
/usr/lib/${PN}/udf/mysql/linux/64/lib_mysqludf_sys.so
|
||||
/usr/lib/${PN}/udf/postgresql/linux/32/8.3/lib_postgresqludf_sys.so
|
||||
/usr/lib/${PN}/udf/postgresql/linux/32/8.4/lib_postgresqludf_sys.so
|
||||
/usr/lib/${PN}/udf/postgresql/linux/32/8.2/lib_postgresqludf_sys.so
|
||||
/usr/lib/${PN}/udf/postgresql/linux/64/8.3/lib_postgresqludf_sys.so
|
||||
/usr/lib/${PN}/udf/postgresql/linux/64/8.4/lib_postgresqludf_sys.so
|
||||
/usr/lib/${PN}/udf/postgresql/linux/64/8.2/lib_postgresqludf_sys.so"
|
||||
|
||||
QA_TEXTRELS="
|
||||
usr/lib/${PN}/udf/mysql/linux/32/lib_mysqludf_sys.so
|
||||
usr/lib/${PN}/udf/postgresql/linux/32/8.3/lib_postgresqludf_sys.so
|
||||
usr/lib/${PN}/udf/postgresql/linux/32/8.4/lib_postgresqludf_sys.so
|
||||
usr/lib/${PN}/udf/postgresql/linux/32/8.2/lib_postgresqludf_sys.so"
|
||||
|
||||
S="${WORKDIR}"/$PN
|
||||
|
||||
src_compile () {
|
||||
einfo "Nothing to compile"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# fix broken tarball
|
||||
find . -name .svn |xargs rm -r
|
||||
# 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 doc/* || die "failed to add docs"
|
||||
rm -rf doc
|
||||
dodir /usr/lib/"${PN}"/
|
||||
cp -R * "${D}"/usr/lib/"${PN}"/
|
||||
dosym /usr/lib/"${PN}"/sqlmap.py /usr/sbin/sqlmap
|
||||
}
|
||||
Loading…
Reference in a new issue