aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/sipcrack/APKBUILD
blob: 293772c6449b5dd5366fb19930af38f308ad7822 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=sipcrack
pkgver=0.2
pkgrel=0
pkgdesc="A SIP protocol login cracker"
url="http://packages.debian.org/lenny/sipcrack"
arch="all"
license="Custom"
depends=""
depends_dev=""
makedepends="libpcap-dev openssl-dev"
install=""
subpackages=""
source="http://ftp.de.debian.org/debian/pool/main/s/$pkgname/"$pkgname"_"$pkgver".orig.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	for file in sipcrack sipdump; do
		install -Dm 0755 $file "$pkgdir"/usr/bin/$file || return 1
	done
}

md5sums="b9096c8d537fc231c7d74b759831a4c7  sipcrack_0.2.orig.tar.gz"
sha256sums="5f356dbce7d09c009005af1a49c55e05ae66c8db4e44de862c5191898c49ae6e  sipcrack_0.2.orig.tar.gz"
sha512sums="406c0f0ac4f23529e2d58f131c571492fd655d27bb466a5b972cef2c7b8ca5d550d6055ad405a4180b711a5f29027a8d47b43a912b4859ef9fccdb85069a1c45  sipcrack_0.2.orig.tar.gz"