forked from ports/contrib
21 lines
506 B
Plaintext
21 lines
506 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.1
|
|
release=1
|
|
source=(https://crux.nu/~tek/sqlmap-1.1.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
|
|
|
|
}
|