blob: 29c519d3a0e3bce7eaeeda8f21a87aa3a3132008 (
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
46
47
48
49
50
51
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=ncrack
pkgver=0.4
pkgrel=0.alpha
pkgdesc="A network authentication cracking tool"
url="http://nmap.org/ncrack/"
arch="all"
license="GPL2 with exceptions"
depends=""
depends_dev=""
makedepends="openssl-dev"
install=""
subpackages="$pkgname-doc"
source="http://nmap.org/ncrack/dist/$pkgname-"$pkgver"ALPHA.tar.gz
missing-typesh.patch"
_builddir="$srcdir"/$pkgname-"$pkgver"ALPHA
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--without-zlib-version-check \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="db9be165469c04650ddc7403b29eb472 ncrack-0.4ALPHA.tar.gz
19b5756d27f0f7c271cb9d76bf08c1d3 missing-typesh.patch"
sha256sums="f8bd7e0ef68559490064ec0a5f139b2b9c49aeaf9f6323e080db9ff344c87603 ncrack-0.4ALPHA.tar.gz
05a5d6637e50533f4d33ba381aec3b60a8f66a4e7639c7d3aeff1b4023293192 missing-typesh.patch"
sha512sums="19f547f7f6e809d2bca3c20bbb0be5bc46d2ead8330b847a2fb4cc767548ba1fb8a05badaa9d128f9f5c925c5ed41285de0f12a46061354ec1ae0d29b14a364d ncrack-0.4ALPHA.tar.gz
2fcb3b7b5d622396c733cb350f91cf66d9446d321472c624dc80b975d459754a3d7410539e21c982468b43578b603a66a125c841332d779caa2580dc6c1c8a31 missing-typesh.patch"
|