diff options
Diffstat (limited to 'unmaintained/ncrack/APKBUILD')
-rw-r--r-- | unmaintained/ncrack/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/unmaintained/ncrack/APKBUILD b/unmaintained/ncrack/APKBUILD new file mode 100644 index 0000000000..29c519d3a0 --- /dev/null +++ b/unmaintained/ncrack/APKBUILD @@ -0,0 +1,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" |