2013-04-28 02:26:34 +02:00
|
|
|
# Description: automate the process of exploiting SQL injection flaws
|
|
|
|
# URL: http://sqlmap.org
|
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2017-04-13 22:58:53 +10:00
|
|
|
# Depends on: python
|
2013-04-28 02:26:34 +02:00
|
|
|
|
|
|
|
name=sqlmap
|
2019-02-07 00:09:10 +01:00
|
|
|
version=1.3
|
2013-04-28 02:26:34 +02:00
|
|
|
release=1
|
2019-04-10 01:48:52 +02:00
|
|
|
source=(https://github.com/sqlmapproject/sqlmap/archive/$version/$name-$version.tar.gz)
|
2013-04-28 02:26:34 +02:00
|
|
|
|
|
|
|
build() {
|
2017-05-08 02:23:53 +02:00
|
|
|
|
|
|
|
find $name-$version -name README\* -delete
|
2013-04-28 02:26:34 +02:00
|
|
|
|
2017-05-08 02:23:53 +02:00
|
|
|
install -d $PKG/usr/share $PKG/usr/bin
|
|
|
|
cp -r $name-$version $PKG/usr/share/sqlmap
|
2013-04-28 02:26:34 +02:00
|
|
|
ln -s /usr/share/sqlmap/sqlmap.py $PKG/usr/bin/sqlmap
|
2017-04-13 22:58:53 +10:00
|
|
|
/usr/bin/python -mcompileall $PKG
|
2013-04-28 02:26:34 +02:00
|
|
|
|
2019-02-07 00:09:10 +01:00
|
|
|
rm -r $PKG/usr/share/sqlmap/doc
|
2013-04-28 02:26:34 +02:00
|
|
|
}
|