contrib/sqlmap/Pkgfile

22 lines
565 B
Plaintext
Raw Normal View History

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
# 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-02-07 00:09:10 +01:00
source=(https://github.com/sqlmapproject/sqlmap/archive/$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
/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
}