blob: 3bd6e3505df5d541876bb3bf30311f6182d47a31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: GI Jack <GI_Jack@hackermail.com>
# Contributor: Christopher Loen <christopherloen at gmail dot com>
# Contributor: Sirat18 <aur@sirat18.de>
# Contributor: Alex Cartwright (alexc223@googlemail.com)
# Contributor: CRT <crt.011@gmail.com>
pkgname=skipfish
pkgver=2.10b_2kali7
_pkgver=2.10b-2kali7
pkgrel=1
pkgdesc="A fully automated, active web application security reconnaissance tool"
arch=('any')
license=('APACHE')
url='https://gitlab.com/kalilinux/packages/skipfish'
depends=('openssl' 'libidn' 'zlib' 'glibc' 'sh')
source=("https://gitlab.com/kalilinux/packages/skipfish/-/archive/kali/${_pkgver}/skipfish-kali-${_pkgver}.tar.gz"
"skipfish.patch")
sha256sums=('8dca2a041ef0e739920057f27eb3961548b8eabc5ca1739ca2f9ab823178f4c3'
'096e9f7095a499605c8bf29bb9737397e9d5a168ec47888004dc8c2e7ceb0b62')
build() {
cd "${srcdir}/${pkgname}-kali-${_pkgver}"
# Patch fixes application run directory system error
patch -Np0 -i ../skipfish.patch
patch -Np1 -i debian/patches/Fix-for-openssl-1.1.patch
make
}
package() {
cd "${srcdir}/${pkgname}-kali-${_pkgver}"
install -dm755 "${pkgdir}/usr/share/${pkgname}"
install -dm755 "${pkgdir}/usr/share/${pkgname}/dictionaries"
cp -rf dictionaries/* "${pkgdir}/usr/share/${pkgname}/dictionaries/"
install -dm755 "${pkgdir}/usr/share/${pkgname}/assets"
cp -rf assets/* "${pkgdir}/usr/share/${pkgname}/assets/"
install -dm755 "${pkgdir}/usr/share/${pkgname}/signatures/"
cp signatures/* "${pkgdir}/usr/share/${pkgname}/signatures/"
install -dm755 "${pkgdir}/usr/bin"
cp -rf skipfish tools/* "${pkgdir}/usr/bin/"
install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
cp COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
install -dm755 "${pkgdir}/usr/share/man/man1/"
cp doc/skipfish.1 "${pkgdir}/usr/share/man/man1/skipfish.1"
}
|