summaryrefslogtreecommitdiffstats
path: root/testing/sipcrack/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/sipcrack/APKBUILD')
-rw-r--r--testing/sipcrack/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/sipcrack/APKBUILD b/testing/sipcrack/APKBUILD
new file mode 100644
index 000000000..b8e7e5efb
--- /dev/null
+++ b/testing/sipcrack/APKBUILD
@@ -0,0 +1,30 @@
+# 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"