forked from ports/contrib
22 lines
565 B
Plaintext
22 lines
565 B
Plaintext
# Description: automate the process of exploiting SQL injection flaws
|
|
# URL: http://sqlmap.org
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
# Depends on: python
|
|
|
|
name=sqlmap
|
|
version=1.3
|
|
release=1
|
|
source=(https://github.com/sqlmapproject/sqlmap/archive/$version.tar.gz)
|
|
|
|
build() {
|
|
|
|
find $name-$version -name README\* -delete
|
|
|
|
install -d $PKG/usr/share $PKG/usr/bin
|
|
cp -r $name-$version $PKG/usr/share/sqlmap
|
|
ln -s /usr/share/sqlmap/sqlmap.py $PKG/usr/bin/sqlmap
|
|
/usr/bin/python -mcompileall $PKG
|
|
|
|
rm -r $PKG/usr/share/sqlmap/doc
|
|
}
|